code
stringlengths
3
10M
language
stringclasses
31 values
/Users/petercernak/vapor/TILApp/Build/Intermediates.noindex/TILApp.build/Debug/NIOHTTP1.build/Objects-normal/x86_64/HTTPPipelineSetup.o : /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPPipelineSetup.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPDecoder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPEncoder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPUpgradeHandler.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPServerPipelineHandler.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPServerProtocolErrorHandler.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPResponseCompressor.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPTypes.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/petercernak/vapor/TILApp/Build/Products/Debug/NIO.framework/Modules/NIO.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/NIOConcurrencyHelpers.framework/Modules/NIOConcurrencyHelpers.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOZlib/include/c_nio_zlib.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOAtomics/include/cpp_magic.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIODarwin/include/c_nio_darwin.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOAtomics/include/c-atomics.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOLinux/include/c_nio_linux.h /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIOSHA1/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOSHA1/module.modulemap /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio-zlib-support.git--6538424668019974428/module.modulemap /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIOZlib/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOZlib/module.modulemap /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIODarwin/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIODarwin/module.modulemap /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIOHTTPParser/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOHTTPParser/module.modulemap /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIOAtomics/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOAtomics/module.modulemap /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIOLinux/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOLinux/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Users/petercernak/vapor/TILApp/Build/Intermediates.noindex/TILApp.build/Debug/NIOHTTP1.build/Objects-normal/x86_64/HTTPPipelineSetup~partial.swiftmodule : /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPPipelineSetup.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPDecoder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPEncoder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPUpgradeHandler.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPServerPipelineHandler.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPServerProtocolErrorHandler.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPResponseCompressor.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPTypes.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/petercernak/vapor/TILApp/Build/Products/Debug/NIO.framework/Modules/NIO.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/NIOConcurrencyHelpers.framework/Modules/NIOConcurrencyHelpers.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOZlib/include/c_nio_zlib.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOAtomics/include/cpp_magic.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIODarwin/include/c_nio_darwin.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOAtomics/include/c-atomics.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOLinux/include/c_nio_linux.h /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIOSHA1/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOSHA1/module.modulemap /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio-zlib-support.git--6538424668019974428/module.modulemap /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIOZlib/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOZlib/module.modulemap /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIODarwin/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIODarwin/module.modulemap /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIOHTTPParser/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOHTTPParser/module.modulemap /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIOAtomics/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOAtomics/module.modulemap /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIOLinux/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOLinux/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Users/petercernak/vapor/TILApp/Build/Intermediates.noindex/TILApp.build/Debug/NIOHTTP1.build/Objects-normal/x86_64/HTTPPipelineSetup~partial.swiftdoc : /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPPipelineSetup.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPDecoder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPEncoder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPUpgradeHandler.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPServerPipelineHandler.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPServerProtocolErrorHandler.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPResponseCompressor.swift /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/NIOHTTP1/HTTPTypes.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/petercernak/vapor/TILApp/Build/Products/Debug/NIO.framework/Modules/NIO.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/NIOConcurrencyHelpers.framework/Modules/NIOConcurrencyHelpers.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOZlib/include/c_nio_zlib.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOAtomics/include/cpp_magic.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIODarwin/include/c_nio_darwin.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOAtomics/include/c-atomics.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOLinux/include/c_nio_linux.h /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIOSHA1/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOSHA1/module.modulemap /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio-zlib-support.git--6538424668019974428/module.modulemap /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIOZlib/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOZlib/module.modulemap /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIODarwin/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIODarwin/module.modulemap /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIOHTTPParser/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOHTTPParser/module.modulemap /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIOAtomics/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOAtomics/module.modulemap /Users/petercernak/vapor/ic2/ic2.xcodeproj/GeneratedModuleMap/CNIOLinux/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOLinux/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes
D
/Users/hazuki/Desktop/13/la/lifeistech/TechMon/DerivedData/TechMon/Build/Intermediates.noindex/TechMon.build/Debug-iphonesimulator/TechMon.build/Objects-normal/x86_64/AppDelegate.o : /Users/hazuki/Desktop/13/la/lifeistech/TechMon/TechMon/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/TechMon/TechMon/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/TechMon/TechMon/ViewController.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/hazuki/Desktop/13/la/lifeistech/TechMon/DerivedData/TechMon/Build/Intermediates.noindex/TechMon.build/Debug-iphonesimulator/TechMon.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule : /Users/hazuki/Desktop/13/la/lifeistech/TechMon/TechMon/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/TechMon/TechMon/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/TechMon/TechMon/ViewController.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/hazuki/Desktop/13/la/lifeistech/TechMon/DerivedData/TechMon/Build/Intermediates.noindex/TechMon.build/Debug-iphonesimulator/TechMon.build/Objects-normal/x86_64/AppDelegate~partial.swiftdoc : /Users/hazuki/Desktop/13/la/lifeistech/TechMon/TechMon/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/TechMon/TechMon/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/TechMon/TechMon/ViewController.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/hazuki/Desktop/13/la/lifeistech/TechMon/DerivedData/TechMon/Build/Intermediates.noindex/TechMon.build/Debug-iphonesimulator/TechMon.build/Objects-normal/x86_64/AppDelegate~partial.swiftsourceinfo : /Users/hazuki/Desktop/13/la/lifeistech/TechMon/TechMon/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/TechMon/TechMon/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/TechMon/TechMon/ViewController.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Console.build/Bar/Progress/Console+ProgressBar.swift.o : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Bar/Bar.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Argument.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Command+Print.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Command.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Group.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Option.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Runnable.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Value.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Ask.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Center.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Confirm.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Options.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Print.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Run.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/ConsoleError.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Stream/FileHandle+Stream.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Stream/Pipe+Stream.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Stream/Stream.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Terminal/ConsoleColor+Terminal.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Terminal/ConsoleStyle+Terminal.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Terminal/String+ANSI.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Terminal/Terminal+Command.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Terminal/Terminal.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Utilities/Bool+Polymorphic.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Utilities/String+Trim.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Bar/Loading/Console+LoadingBar.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Bar/Loading/LoadingBar.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Bar/Progress/Console+ProgressBar.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Bar/Progress/ProgressBar.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Clear/ConsoleClear.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Color/ConsoleColor.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Style/Console+ConsoleStyle.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Style/ConsoleStyle.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/libc.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Polymorphic.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Core.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Console.build/Console+ProgressBar~partial.swiftmodule : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Bar/Bar.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Argument.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Command+Print.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Command.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Group.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Option.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Runnable.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Value.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Ask.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Center.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Confirm.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Options.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Print.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Run.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/ConsoleError.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Stream/FileHandle+Stream.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Stream/Pipe+Stream.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Stream/Stream.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Terminal/ConsoleColor+Terminal.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Terminal/ConsoleStyle+Terminal.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Terminal/String+ANSI.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Terminal/Terminal+Command.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Terminal/Terminal.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Utilities/Bool+Polymorphic.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Utilities/String+Trim.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Bar/Loading/Console+LoadingBar.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Bar/Loading/LoadingBar.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Bar/Progress/Console+ProgressBar.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Bar/Progress/ProgressBar.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Clear/ConsoleClear.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Color/ConsoleColor.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Style/Console+ConsoleStyle.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Style/ConsoleStyle.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/libc.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Polymorphic.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Core.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Console.build/Console+ProgressBar~partial.swiftdoc : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Bar/Bar.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Argument.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Command+Print.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Command.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Group.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Option.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Runnable.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Command/Value.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Ask.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Center.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Confirm.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Options.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Print.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console+Run.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Console.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/ConsoleError.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Stream/FileHandle+Stream.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Stream/Pipe+Stream.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Stream/Stream.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Terminal/ConsoleColor+Terminal.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Terminal/ConsoleStyle+Terminal.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Terminal/String+ANSI.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Terminal/Terminal+Command.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Terminal/Terminal.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Utilities/Bool+Polymorphic.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Utilities/String+Trim.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Bar/Loading/Console+LoadingBar.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Bar/Loading/LoadingBar.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Bar/Progress/Console+ProgressBar.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Bar/Progress/ProgressBar.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Clear/ConsoleClear.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Color/ConsoleColor.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Style/Console+ConsoleStyle.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Console-1.0.1/Sources/Console/Console/Style/ConsoleStyle.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/libc.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Polymorphic.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Core.swiftmodule
D
prototype Mst_Default_Wisp(C_Npc) { name[0] = "Блуждающий огонек"; guild = GIL_WISP; aivar[AIV_MM_REAL_ID] = ID_WISP; level = 4; attribute[ATR_STRENGTH] = 20; attribute[ATR_DEXTERITY] = 20; attribute[ATR_HITPOINTS_MAX] = 40; attribute[ATR_HITPOINTS] = 40; attribute[ATR_MANA_MAX] = 100; attribute[ATR_MANA] = 100; protection[PROT_BLUNT] = 30; protection[PROT_EDGE] = 30; protection[PROT_POINT] = 30; protection[PROT_FIRE] = 0; protection[PROT_FLY] = 0; protection[PROT_MAGIC] = 0; // damagetype = DAM_EDGE; damagetype = DAM_MAGIC; damage[DAM_INDEX_MAGIC] = 30; fight_tactic = FAI_BLOODFLY; senses = SENSE_HEAR | SENSE_SEE | SENSE_SMELL; senses_range = PERC_DIST_MONSTER_ACTIVE_MAX; // aivar[AIV_MM_ThreatenBeforeAttack] = TRUE; aivar[AIV_MM_FollowTime] = FOLLOWTIME_SHORT; aivar[AIV_MM_FollowInWater] = TRUE; aivar[AIV_MM_Packhunter] = FALSE; start_aistate = ZS_MM_AllScheduler; aivar[AIV_MM_WuselStart] = OnlyRoutine; }; func void B_SetVisuals_Wisp() { Mdl_SetVisual(self,"Irrlicht.mds"); Mdl_SetVisualBody(self,"Irrlicht_Body",DEFAULT,DEFAULT,"",DEFAULT,DEFAULT,-1); }; instance Wisp(Mst_Default_Wisp) { B_SetVisuals_Wisp(); Npc_SetToFistMode(self); }; instance Wisp_Detector(Mst_Default_Wisp) { level = 0; npcType = NPCTYPE_MAIN; B_SetVisuals_Wisp(); damage[DAM_INDEX_MAGIC] = 20; //было 50, но вроде это слишком senses_range = 3000; aivar[AIV_PARTYMEMBER] = TRUE; B_SetAttitude(self,ATT_FRIENDLY); Npc_SetToFistMode(self); aivar[AIV_NoFightParker] = TRUE; start_aistate = ZS_MM_Rtn_Summoned; };
D
module android.java.android.view.textclassifier.ConversationActions; public import android.java.android.view.textclassifier.ConversationActions_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!ConversationActions; import import2 = android.java.java.lang.Class;
D
module lv2.atom.util; import lv2.atom; pure nothrow @nogc: size_t atomPadSize(const size_t size) { return (size + 7) & ( ~ size_t(7) ); } size_t atomTotalSize(const Atom* atom) { return Atom.sizeof + atom.size; } size_t atomIsNull(const Atom* atom) { return !atom || (atom.type == 0 && atom.size == 0); } bool atomEquals(const Atom* a, const Atom* b) { import core.stdc.string : memcmp; return (a is b) || ((a.type == b.type) && (a.size == b.size) && !memcmp(a+1, b+1, a.size)); } const(AtomEvent)* atomSequenceBegin(const(AtomSequenceBody)* data) { return cast(const(AtomEvent)*)(data + 1); } const(AtomEvent)* atomSequenceEnd(const(AtomSequenceBody)* data, const size_t size) { return cast(const(AtomEvent)*) ( cast(const ubyte*)data + atomPadSize(size) ); } bool atomSequenceIsEnd(const(AtomSequenceBody)* data, const size_t size, const(AtomEvent)* ev) { return cast(const ubyte*)ev >= (cast(const ubyte*)data + size); } const(AtomEvent)* atomSequenceNext(const(AtomEvent)* ev) { return cast(const(AtomEvent)*)( cast(const ubyte*)ev + AtomEvent.sizeof + atomPadSize(ev.atom.size) ); } AtomEventRange events(const(AtomSequence)* seq) { return AtomEventRange(&seq.data, seq.size()); } struct AtomEventRange { private const(AtomSequenceBody)* data; private size_t size; private const(AtomEvent)* ev; this(const(AtomSequenceBody)* data, const size_t size) pure nothrow @nogc { this.data = data; this.size = size; this.ev = atomSequenceBegin(data); } @property auto front() nothrow @nogc { return ev; } @property bool empty() nothrow @nogc { return atomSequenceIsEnd(data, size, ev); } @property void popFront() nothrow @nogc { ev = atomSequenceNext(ev); } @property auto save() nothrow @nogc { AtomEventRange range = void; range.data = this.data; range.size = this.size; range.ev = this.ev; return range; } } /+ /** Clear all events from `sequence`. This simply resets the size field, the other fields are left untouched. */ static inline void lv2_atom_sequence_clear(LV2_Atom_Sequence* seq) { seq->atom.size = sizeof(LV2_Atom_Sequence_Body); } /** Append an event at the end of `sequence`. @param seq Sequence to append to. @param capacity Total capacity of the sequence atom (e.g. as set by the host for sequence output ports). @param event Event to write. @return A pointer to the newly written event in `seq`, or NULL on failure (insufficient space). */ static inline LV2_Atom_Event* lv2_atom_sequence_append_event(LV2_Atom_Sequence* seq, uint32_t capacity, const LV2_Atom_Event* event) { const uint32_t total_size = (uint32_t)sizeof(*event) + event->body.size; if (capacity - seq->atom.size < total_size) { return NULL; } LV2_Atom_Event* e = lv2_atom_sequence_end(&seq->body, seq->atom.size); memcpy(e, event, total_size); seq->atom.size += lv2_atom_pad_size(total_size); return e; } /** @} @name Tuple Iterator @{ */ /** Get an iterator pointing to the first element in `tup`. */ static inline LV2_Atom* lv2_atom_tuple_begin(const LV2_Atom_Tuple* tup) { return (LV2_Atom*)(LV2_ATOM_BODY(tup)); } /** Return true iff `i` has reached the end of `body`. */ static inline bool lv2_atom_tuple_is_end(const void* body, uint32_t size, const LV2_Atom* i) { return (const uint8_t*)i >= ((const uint8_t*)body + size); } /** Return an iterator to the element following `i`. */ static inline LV2_Atom* lv2_atom_tuple_next(const LV2_Atom* i) { return (LV2_Atom*)( (const uint8_t*)i + sizeof(LV2_Atom) + lv2_atom_pad_size(i->size)); } /** A macro for iterating over all properties of a Tuple. @param tuple The tuple to iterate over @param iter The name of the iterator This macro is used similarly to a for loop (which it expands to), e.g.: @code LV2_ATOM_TUPLE_FOREACH(tuple, elem) { // Do something with elem (an LV2_Atom*) here... } @endcode */ #define LV2_ATOM_TUPLE_FOREACH(tuple, iter) \ for (LV2_Atom* (iter) = lv2_atom_tuple_begin(tuple); \ !lv2_atom_tuple_is_end(LV2_ATOM_BODY(tuple), (tuple)->atom.size, (iter)); \ (iter) = lv2_atom_tuple_next(iter)) /** Like LV2_ATOM_TUPLE_FOREACH but for a headerless tuple body. */ #define LV2_ATOM_TUPLE_BODY_FOREACH(body, size, iter) \ for (LV2_Atom* (iter) = (LV2_Atom*)body; \ !lv2_atom_tuple_is_end(body, size, (iter)); \ (iter) = lv2_atom_tuple_next(iter)) /** @} @name Object Iterator @{ */ /** Return a pointer to the first property in `body`. */ static inline LV2_Atom_Property_Body* lv2_atom_object_begin(const LV2_Atom_Object_Body* body) { return (LV2_Atom_Property_Body*)(body + 1); } /** Return true iff `i` has reached the end of `obj`. */ static inline bool lv2_atom_object_is_end(const LV2_Atom_Object_Body* body, uint32_t size, const LV2_Atom_Property_Body* i) { return (const uint8_t*)i >= ((const uint8_t*)body + size); } /** Return an iterator to the property following `i`. */ static inline LV2_Atom_Property_Body* lv2_atom_object_next(const LV2_Atom_Property_Body* i) { const LV2_Atom* const value = (const LV2_Atom*)( (const uint8_t*)i + 2 * sizeof(uint32_t)); return (LV2_Atom_Property_Body*)( (const uint8_t*)i + lv2_atom_pad_size( (uint32_t)sizeof(LV2_Atom_Property_Body) + value->size)); } /** A macro for iterating over all properties of an Object. @param obj The object to iterate over @param iter The name of the iterator This macro is used similarly to a for loop (which it expands to), e.g.: @code LV2_ATOM_OBJECT_FOREACH(object, i) { // Do something with prop (an LV2_Atom_Property_Body*) here... } @endcode */ #define LV2_ATOM_OBJECT_FOREACH(obj, iter) \ for (LV2_Atom_Property_Body* (iter) = lv2_atom_object_begin(&(obj)->body); \ !lv2_atom_object_is_end(&(obj)->body, (obj)->atom.size, (iter)); \ (iter) = lv2_atom_object_next(iter)) /** Like LV2_ATOM_OBJECT_FOREACH but for a headerless object body. */ #define LV2_ATOM_OBJECT_BODY_FOREACH(body, size, iter) \ for (LV2_Atom_Property_Body* (iter) = lv2_atom_object_begin(body); \ !lv2_atom_object_is_end(body, size, (iter)); \ (iter) = lv2_atom_object_next(iter)) /** @} @name Object Query @{ */ /** A single entry in an Object query. */ typedef struct { uint32_t key; /**< Key to query (input set by user) */ const LV2_Atom** value; /**< Found value (output set by query function) */ } LV2_Atom_Object_Query; static const LV2_Atom_Object_Query LV2_ATOM_OBJECT_QUERY_END = { 0, NULL }; /** Get an object's values for various keys. The value pointer of each item in `query` will be set to the location of the corresponding value in `object`. Every value pointer in `query` MUST be initialised to NULL. This function reads `object` in a single linear sweep. By allocating `query` on the stack, objects can be "queried" quickly without allocating any memory. This function is realtime safe. This function can only do "flat" queries, it is not smart enough to match variables in nested objects. For example: @code const LV2_Atom* name = NULL; const LV2_Atom* age = NULL; LV2_Atom_Object_Query q[] = { { urids.eg_name, &name }, { urids.eg_age, &age }, LV2_ATOM_OBJECT_QUERY_END }; lv2_atom_object_query(obj, q); // name and age are now set to the appropriate values in obj, or NULL. @endcode */ static inline int lv2_atom_object_query(const LV2_Atom_Object* object, LV2_Atom_Object_Query* query) { int matches = 0; int n_queries = 0; /* Count number of query keys so we can short-circuit when done */ for (LV2_Atom_Object_Query* q = query; q->key; ++q) { ++n_queries; } LV2_ATOM_OBJECT_FOREACH(object, prop) { for (LV2_Atom_Object_Query* q = query; q->key; ++q) { if (q->key == prop->key && !*q->value) { *q->value = &prop->value; if (++matches == n_queries) { return matches; } break; } } } return matches; } /** Body only version of lv2_atom_object_get(). */ static inline int lv2_atom_object_body_get(uint32_t size, const LV2_Atom_Object_Body* body, ...) { int matches = 0; int n_queries = 0; /* Count number of keys so we can short-circuit when done */ va_list args; va_start(args, body); for (n_queries = 0; va_arg(args, uint32_t); ++n_queries) { if (!va_arg(args, const LV2_Atom**)) { return -1; } } va_end(args); LV2_ATOM_OBJECT_BODY_FOREACH(body, size, prop) { va_start(args, body); for (int i = 0; i < n_queries; ++i) { uint32_t qkey = va_arg(args, uint32_t); const LV2_Atom** qval = va_arg(args, const LV2_Atom**); if (qkey == prop->key && !*qval) { *qval = &prop->value; if (++matches == n_queries) { return matches; } break; } } va_end(args); } return matches; } /** Variable argument version of lv2_atom_object_query(). This is nicer-looking in code, but a bit more error-prone since it is not type safe and the argument list must be terminated. The arguments should be a series of uint32_t key and const LV2_Atom** value pairs, terminated by a zero key. The value pointers MUST be initialized to NULL. For example: @code const LV2_Atom* name = NULL; const LV2_Atom* age = NULL; lv2_atom_object_get(obj, uris.name_key, &name, uris.age_key, &age, 0); @endcode */ static inline int lv2_atom_object_get(const LV2_Atom_Object* object, ...) { int matches = 0; int n_queries = 0; /* Count number of keys so we can short-circuit when done */ va_list args; va_start(args, object); for (n_queries = 0; va_arg(args, uint32_t); ++n_queries) { if (!va_arg(args, const LV2_Atom**)) { return -1; } } va_end(args); LV2_ATOM_OBJECT_FOREACH(object, prop) { va_start(args, object); for (int i = 0; i < n_queries; ++i) { uint32_t qkey = va_arg(args, uint32_t); const LV2_Atom** qval = va_arg(args, const LV2_Atom**); if (qkey == prop->key && !*qval) { *qval = &prop->value; if (++matches == n_queries) { return matches; } break; } } va_end(args); } return matches; } /** Variable argument version of lv2_atom_object_query() with types. This is like lv2_atom_object_get(), but each entry has an additional parameter to specify the required type. Only atoms with a matching type will be selected. The arguments should be a series of uint32_t key, const LV2_Atom**, uint32_t type triples, terminated by a zero key. The value pointers MUST be initialized to NULL. For example: @code const LV2_Atom_String* name = NULL; const LV2_Atom_Int* age = NULL; lv2_atom_object_get(obj, uris.name_key, &name, uris.atom_String, uris.age_key, &age, uris.atom_Int 0); @endcode */ static inline int lv2_atom_object_get_typed(const LV2_Atom_Object* object, ...) { int matches = 0; int n_queries = 0; /* Count number of keys so we can short-circuit when done */ va_list args; va_start(args, object); for (n_queries = 0; va_arg(args, uint32_t); ++n_queries) { if (!va_arg(args, const LV2_Atom**) || !va_arg(args, uint32_t)) { return -1; } } va_end(args); LV2_ATOM_OBJECT_FOREACH(object, prop) { va_start(args, object); for (int i = 0; i < n_queries; ++i) { const uint32_t qkey = va_arg(args, uint32_t); const LV2_Atom** qval = va_arg(args, const LV2_Atom**); const uint32_t qtype = va_arg(args, uint32_t); if (!*qval && qkey == prop->key && qtype == prop->value.type) { *qval = &prop->value; if (++matches == n_queries) { return matches; } break; } } va_end(args); } return matches; } +/
D
module gtkD.gtk.Version; public import gtkD.gtkc.gtktypes; private import gtkD.gtkc.gtk; private import gtkD.glib.ConstructionException; private import gtkD.glib.Str; private import gtkD.gtkc.Loader; private import gtkD.gtkc.paths; /** * Description * GTK+ provides version information, primarily useful in configure checks * for builds that have a configure script. Applications will not * typically use the features described here. */ public class Version { /* * The major version number of the GTK+ library. (e.g. in GTK+ version 2.12.4 this is 2.) * This variable is in the library, so represents the GTK+ library you have linked against. */ public static int major(); /* * The minor version number of the GTK+ library. (e.g. in GTK+ version 2.12.4 this is 12.) * This variable is in the library, so represents the GTK+ library you have linked against. */ public static int minor(); /* * The micro version number of the GTK+ library. (e.g. in GTK+ version 2.12.4 this is 4.) * This variable is in the library, so represents the GTK+ library you have linked against. */ public static int micro(); /** */ /** * Checks that the GTK+ library in use is compatible with the * given version. Generally you would pass in the constants * GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION * as the three arguments to this function; that produces * a check that the library in use is compatible with * the version of GTK+ the application or module was compiled * against. * Compatibility is defined by two things: first the version * of the running library is newer than the version * required_major.required_minor.required_micro. Second * the running library must be binary compatible with the * version required_major.required_minor.required_micro * (same major version.) * This function is primarily for GTK+ modules; the module * can call this function to check that it wasn't loaded * into an incompatible version of GTK+. However, such a * a check isn't completely reliable, since the module may be * linked against an old version of GTK+ and calling the * old version of gtk_check_version(), but still get loaded * into an application using a newer version of GTK+. * Params: * requiredMajor = the required major version. * requiredMinor = the required minor version. * requiredMicro = the required micro version. * Returns: NULL if the GTK+ library is compatible with the given version, or a string describing the version mismatch. The returned string is owned by GTK+ and should not be modified or freed. */ public static string checkVersion(uint requiredMajor, uint requiredMinor, uint requiredMicro); }
D
// Copyright 2018 - 2021 Michael D. Parker // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) module bindbc.opengl.bind.gl33; import bindbc.opengl.config; static if(glSupport >= GLSupport.gl33) { import bindbc.loader : SharedLib; import bindbc.opengl.context; import bindbc.opengl.bind.types; enum uint GL_VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE; extern(System) @nogc nothrow alias da_glVertexAttribDivisor = void function(GLuint,GLuint); __gshared da_glVertexAttribDivisor glVertexAttribDivisor; package(bindbc.opengl) @nogc nothrow bool loadGL33(SharedLib lib, GLSupport contextVersion) { import bindbc.opengl.bind.arb : loadARB33; if(contextVersion >= GLSupport.gl33) { lib.bindGLSymbol(cast(void**)&glVertexAttribDivisor, "glVertexAttribDivisor"); if(errorCountGL() == 0 && loadARB33(lib, contextVersion)) return true; } return false; } }
D
// https://issues.dlang.org/show_bug.cgi?id=21997 int nonPureFunc(int i) { return 2 * i; } int mainCtfe() { auto pureFunc = cast(int function(int) pure) &nonPureFunc; assert(pureFunc(2) == 4); auto baseFunc = cast(int function(int)) pureFunc; assert(baseFunc(3) == 6); /* Still missing delegates: https://issues.dlang.org/show_bug.cgi?id=17487 static struct S { int i; int f(int j) { return i * j; } } S s = S(5); auto pureDel = cast(int delegate(int) pure) &s.f; assert(pureDel(3) == 15); auto baseDel = cast(int delegate(int)) pureDel; assert(baseDel(4) == 20); */ return 0; } enum forceCTFE = mainCtfe();
D
//Автор Кристофер Миллер. Переработано для Динрус Виталием Кулич. //Библиотека визуальных конпонентов VIZ (первоначально DFL). module viz.notifyicon; private import viz.x.winapi, viz.base, viz.drawing; private import viz.control, viz.form, viz.app; private import viz.event, viz.x.utf, viz.x.dlib; version(ВИЗ_БЕЗ_МЕНЮ) { } else { private import viz.menu; } class NotifyIcon // docmain { version(ВИЗ_БЕЗ_МЕНЮ) { } else { final проц контекстноеМеню(КонтекстноеМеню меню) // setter { this.cmenu = меню; } final КонтекстноеМеню контекстноеМеню() // getter { return cmenu; } } final проц пиктограмма(Пиктограмма ico) // setter { _icon = ico; nid.hIcon = ico ? ico.указатель : пусто; if(виден) { nid.uFlags = NIF_ICON; Shell_NotifyIconA(NIM_MODIFY, &nid); } } final Пиктограмма пиктограмма() // getter { return _icon; } // Must be less than 64 chars. // To-do: hold reference to setter's string, use that for getter.. ? final проц текст(Ткст txt) // setter { if(txt.length >= nid.szTip.length) throw new ВизИскл("Notify пиктограмма текст too long"); // To-do: support Unicode. txt = небезопАнзи(txt); // ... nid.szTip[txt.length] = 0; nid.szTip[0 .. txt.length] = txt; tipLen = txt.length; if(виден) { nid.uFlags = NIF_TIP; Shell_NotifyIconA(NIM_MODIFY, &nid); } } final Ткст текст() // getter { //return nid.szTip[0 .. tipLen]; // Returning possibly mutated текст! //return nid.szTip[0 .. tipLen].dup; //return nid.szTip[0 .. tipLen].idup; // Needed in D2. Doesn't work in D1. return cast(Ткст)nid.szTip[0 .. tipLen].dup; // Needed in D2. Doesn't work in D1. } final проц виден(бул подтвержд) // setter { if(подтвержд) { if(!nid.uID) { nid.uID = allocNotifyIconID(); assert(nid.uID); allNotifyIcons[nid.uID] = this; } _forceAdd(); } else if(nid.uID) { _forceDelete(); //delete allNotifyIcons[nid.uID]; allNotifyIcons.удали(nid.uID); nid.uID = 0; } } final бул виден() // getter { return nid.uID != 0; } final проц покажи() { виден = да; } final проц скрой() { виден = нет; } //СобОбработчик клик; Событие!(NotifyIcon, АргиСоб) клик; //СобОбработчик двуклик; Событие!(NotifyIcon, АргиСоб) двуклик; //MouseEventHandler мышьВнизу; Событие!(NotifyIcon, АргиСобМыши) мышьВнизу; //MouseEventHandler мышьВверху; Событие!(NotifyIcon, АргиСобМыши) мышьВверху; //MouseEventHandler мышьДвижется; Событие!(NotifyIcon, АргиСобМыши) мышьДвижется; this() { if(!ctrlNotifyIcon) _init(); nid.cbSize = nid.sizeof; nid.уок = ctrlNotifyIcon.указатель; nid.uID = 0; nid.uCallbackMessage = WM_NOTIFYICON; nid.hIcon = пусто; nid.szTip[0] = '\0'; } ~this() { if(nid.uID) { _forceDelete(); //delete allNotifyIcons[nid.uID]; allNotifyIcons.удали(nid.uID); } //delete allNotifyIcons[nid.uID]; //allNotifyIcons.удали(nid.uID); /+ if(!allNotifyIcons.length) { delete ctrlNotifyIcon; ctrlNotifyIcon = пусто; } +/ } // Extra. проц minimize(ИОкно win) { LONG стиль; УОК уок; уок = win.указатель; стиль = GetWindowLongA(cast(HWND) уок, GWL_STYLE); if(стиль & WS_VISIBLE) { ShowOwnedPopups(cast(HWND) уок, FALSE); if(!(стиль & WS_MINIMIZE) && _animation()) { RECT myRect, areaRect; GetWindowRect(cast(HWND) уок, &myRect); _area(areaRect); DrawAnimatedRects(уок, 3, &myRect, &areaRect); } ShowWindow(cast(HWND) уок, SW_HIDE); } } // Extra. проц restore(ИОкно win) { LONG стиль; УОК уок; уок = win.указатель; стиль = GetWindowLongA(cast(HWND) уок, GWL_STYLE); if(!(стиль & WS_VISIBLE)) { if(стиль & WS_MINIMIZE) { ShowWindow(cast(HWND) уок, SW_RESTORE); } else { if(_animation()) { RECT myRect, areaRect; GetWindowRect(cast(HWND) уок, &myRect); _area(areaRect); DrawAnimatedRects(cast(HWND) уок, 3, &areaRect, &myRect); } ShowWindow(cast(HWND) уок, SW_SHOW); ShowOwnedPopups(cast(HWND) уок, TRUE); } } else { if(стиль & WS_MINIMIZE) ShowWindow(cast(HWND) уок, SW_RESTORE); } SetForegroundWindow(уок); } private: NOTIFYICONDATA nid; цел tipLen = 0; version(ВИЗ_БЕЗ_МЕНЮ) { } else { КонтекстноеМеню cmenu; } Пиктограмма _icon; package final проц _forceAdd() { nid.uFlags = NIF_MESSAGE | NIF_ICON | NIF_TIP; Shell_NotifyIconA(NIM_ADD, &nid); } package final проц _forceDelete() { Shell_NotifyIconA(NIM_DELETE, &nid); } // Returns да if min/restore animation is on. static бул _animation() { ANIMATIONINFO ai; ai.cbSize = ai.sizeof; SystemParametersInfoA(SPI_GETANIMATION, ai.sizeof, &ai, 0); return ai.iMinAnimate ? да : нет; } // Gets the tray area. static проц _area(out RECT rect) { УОК hwTaskbar, hw; hwTaskbar = FindWindowExA(пусто, пусто, "Shell_TrayWnd", пусто); if(hwTaskbar) { hw = FindWindowExA(hwTaskbar, пусто, "TrayNotifyWnd", пусто); if(hw) { GetWindowRect(hw, &rect); return; } } APPBARDATA abd; abd.cbSize = abd.sizeof; if(SHAppBarMessage(ABM_GETTASKBARPOS, &abd)) { switch(abd.uEdge) { case ABE_LEFT: case ABE_RIGHT: rect.верх = abd.rc.низ - 100; rect.низ = abd.rc.низ - 16; rect.лево = abd.rc.лево; rect.право = abd.rc.право; break; case ABE_TOP: case ABE_BOTTOM: rect.верх = abd.rc.верх; rect.низ = abd.rc.низ; rect.лево = abd.rc.право - 100; rect.право = abd.rc.право - 16; break; default: ; } } else if(hwTaskbar) { GetWindowRect(hwTaskbar, &rect); if(rect.право - rect.лево > 150) rect.лево = rect.право - 150; if(rect.низ - rect.верх > 30) rect.верх = rect.низ - 30; } else { SystemParametersInfoA(SPI_GETWORKAREA, 0, &rect, 0); rect.лево = rect.право - 150; rect.верх = rect.низ - 30; } } } package: const UINT WM_NOTIFYICON = WM_USER + 34; // -wparam- is id, -lparam- is the mouse сообщение such as WM_LBUTTONDBLCLK. UINT wmTaskbarCreated; NotifyIcon[UINT] allNotifyIcons; // Indexed by ID. UINT lastId = 1; NotifyIconControl ctrlNotifyIcon; class NotifyIconControl: УпрЭлт { override проц создайУказатель() { //if(создан) if(созданУказатель_ли) return; if(удаляется) { create_err: throw new ВизИскл("Notify пиктограмма initialization failure"); } Приложение.созданиеУпрЭлта(this); уок = CreateWindowExA(окДопСтиль, CONTROL_CLASSNAME.ptr, "NotifyIcon", 0, 0, 0, 0, 0, пусто, пусто, cast(HINSTANCE) Приложение.дайЭкз(), пусто); if(!уок) goto create_err; } protected override проц окПроц(inout Сообщение сооб) { if(сооб.сооб == WM_NOTIFYICON) { if(cast(UINT)сооб.парам1 in allNotifyIcons) { NotifyIcon ni; Точка тчк; ni = allNotifyIcons[cast(UINT)сооб.парам1]; switch(cast(UINT)сооб.парам2) // сооб. { case WM_MOUSEMOVE: тчк = Курсор.положение; ni.мышьДвижется(ni, new АргиСобМыши(УпрЭлт.кнопкиМыши(), 0, тчк.ш, тчк.в, 0)); break; case WM_LBUTTONUP: тчк = Курсор.положение; ni.мышьВверху(ni, new АргиСобМыши(ПКнопкиМыши.ЛЕВ, 1, тчк.ш, тчк.в, 0)); ni.клик(ni, АргиСоб.пуст); break; case WM_RBUTTONUP: тчк = Курсор.положение; ni.мышьВверху(ni, new АргиСобМыши(ПКнопкиМыши.ПРАВ, 1, тчк.ш, тчк.в, 0)); version(ВИЗ_БЕЗ_МЕНЮ) { } else { if(ni.cmenu) ni.cmenu.покажи(ctrlNotifyIcon, тчк); } break; case WM_LBUTTONDOWN: тчк = Курсор.положение; ni.мышьВнизу(ni, new АргиСобМыши(ПКнопкиМыши.ЛЕВ, 0, тчк.ш, тчк.в, 0)); break; case WM_RBUTTONDOWN: тчк = Курсор.положение; ni.мышьВнизу(ni, new АргиСобМыши(ПКнопкиМыши.ПРАВ, 0, тчк.ш, тчк.в, 0)); break; case WM_LBUTTONDBLCLK: ni.двуклик(ni, АргиСоб.пуст); break; default: ; } } } else if(сооб.сооб == wmTaskbarCreated) { // покажи все виден NotifyIcon's. foreach(NotifyIcon ni; allNotifyIcons) { if(ni.виден) ni._forceAdd(); } } super.окПроц(сооб); } } static ~this() { // Due to все элты not being destructed at program выход, // удали все виден notify icons because the OS won't. foreach(NotifyIcon ni; allNotifyIcons) { if(ni.виден) ni._forceDelete(); } allNotifyIcons = пусто; } UINT allocNotifyIconID() { UINT prev; prev = lastId; for(;;) { lastId++; if(lastId == ushort.max) lastId = 1; if(lastId == prev) throw new ВизИскл("Too many notify icons"); if(!(lastId in allNotifyIcons)) break; } return lastId; } проц _init() { wmTaskbarCreated = RegisterWindowMessageA("TaskbarCreated"); ctrlNotifyIcon = new NotifyIconControl; ctrlNotifyIcon.виден = нет; }
D
[sendmail*] user root env.mspqueue /var/spool/clientmqueue
D
/********************************************************* Copyright: (C) 2008 by Steven Schveighoffer. All rights reserved License: $(LICENSE) **********************************************************/ module col.Hash; private import col.Link; private import col.model.Iterator; private import col.DefaultAllocator; struct ДефолтыХэш { const плав факторЗагрузки = .75; const бцел размерТаблицы = 31; } /** * Default Хэш implementation. This is используется in the Хэш* containers by * default. * * The implementation consists of a таблица of linked списки. The таблица index * that an элемент goes in is based on the хэш код. */ struct Хэш(V, alias хэшФункц, alias обновлФункц, плав факторЗагрузки=ДефолтыХэш.факторЗагрузки, бцел исходнРазмерТаблицы=ДефолтыХэш.размерТаблицы, alias Разместитель=ДефолтныйРазместитель, бул допускатьДубликаты=false, бул обновить_ли=true) { /** * alias for Узел */ alias Связка!(V).Узел узел; /** * alias for the Разместитель */ alias Разместитель!(Связка!(V)) разместитель; /** * The Разместитель for the хэш */ разместитель разм; /** * the таблица of корзины */ узел[] таблица; /** * счёт of элементы in the таблица */ бцел счёт; /** * This is like a pointer, используется to point to a given элемент in the хэш. */ struct позиция { Хэш *владелец; узел укз; alias укз ptr; цел инд; /** * Returns the позиция that comes after p. */ позиция следщ() { позиция p = *this; auto таблица = владелец.таблица; if(p.ptr !is пусто) { if(p.ptr.следщ is таблица[p.инд]) // // special case, at the конец of a bucket, go to the следщ // bucket. // p.ptr = пусто; else { // // still in the bucket // p.ptr = p.ptr.следщ; return p; } } // // iterated past the bucket, go to the следщ действителен bucket // while(p.инд < cast(цел)таблица.length && p.ptr is пусто) { if(++p.инд < таблица.length) p.ptr = таблица[p.инд]; else p.ptr = пусто; } return p; } /** * Returns the позиция that comes перед p. */ позиция предш() { позиция p = *this; auto таблица = владелец.таблица; if(p.ptr !is пусто) { if(p.ptr is таблица[p.инд]) p.ptr = пусто; else { p.ptr = p.ptr.предш; return p; } } while(p.инд > 0 && p.ptr is пусто) p.ptr = таблица[--p.инд]; if(p.ptr) // // go to the конец of the new bucket // p.ptr = p.ptr.предш; return p; } } /** * Add a значение to the хэш. Returns true if the значение was not present, * false if обх was updated. */ бул добавь(V v) { if(таблица is пусто) перемерьПод(исходнРазмерТаблицы); auto h = хэшФункц(v) % таблица.length; узел хвост = таблица[h]; if(хвост is пусто) { // // no узел yet, добавь the new узел here // хвост = таблица[h] = размести(v); узел.крепи(хвост, хвост); счёт++; return true; } else { static if(!допускатьДубликаты) { узел элт = findInBucket(хвост, v, хвост); if(элт is пусто) { счёт++; хвост.приставь(размести(v)); // not single элемент, need to проверь загрузи factor проверьФакторЗагрузки(); return true; } else { // // found the узел, установи the значение instead // static if(обновить_ли) обновлФункц(элт.значение, v); return false; } } else { // // always добавь, even if the узел already exists. // счёт++; хвост.приставь(размести(v)); // not single элемент, need to проверь загрузи factor проверьФакторЗагрузки(); return true; } } } /** * Resize the хэш таблица to the given ёмкость. Normally only called * privately. */ проц перемерьПод(бцел ёмкость) { if(ёмкость > таблица.length) { auto новТабл = new узел[ёмкость]; foreach(голова; таблица) { if(голова) { // // make the последн узел point to пусто, to метка the конец of // the bucket // узел.крепи(голова.предш, пусто); for(узел тек = голова, следщ = голова.следщ; тек !is пусто; тек = следщ) { следщ = тек.следщ; auto h = хэшФункц(тек.значение) % новТабл.length; узел новГолова = новТабл[h]; if(новГолова is пусто) { новТабл[h] = тек; узел.крепи(тек, тек); } else новГолова.приставь(тек); } } } delete таблица; таблица = новТабл; } } /** * Check to see whether the загрузи factor dictates a перемерьПод is in order. */ проц проверьФакторЗагрузки() { if(таблица !is пусто) { плав fc = cast(плав) счёт; плав ft = таблица.length; if(fc / ft > факторЗагрузки) перемерьПод(2 * cast(бцел)(fc / факторЗагрузки) + 1); } } /** * Returns a позиция that points to the первый элемент in the хэш. */ позиция начало() { if(счёт == 0) return конец; позиция рез; рез.ptr = пусто; рез.владелец = this; рез.инд = -1; // // this finds the первый действителен узел // return рез.следщ; } /** * Returns a позиция that points past the последн элемент of the хэш. */ позиция конец() { позиция рез; рез.инд = таблица.length; рез.владелец = this; return рез; } // private function используется to implement common pieces private узел findInBucket(узел bucket, V v, узел начатьС) in { assert(bucket !is пусто); } body { if(начатьС.значение == v) return начатьС; узел n; for(n = начатьС.следщ; n !is bucket && n.значение != v; n = n.следщ) { } return (n is bucket ? пусто : n); } /** * Find the первый instance of a значение */ позиция найди(V v) { if(счёт == 0) return конец; auto h = хэшФункц(v) % таблица.length; // if bucket is empty, or doesn't contain v, return конец узел укз; if(таблица[h] is пусто || (укз = findInBucket(таблица[h], v, таблица[h])) is пусто) return конец; позиция p; p.владелец = this; p.инд = h; p.ptr = укз; return p; } /** * Remove a given позиция from the хэш. */ позиция удали(позиция поз) { позиция возврзнач = поз.следщ; if(поз.ptr is таблица[поз.инд]) { if(поз.ptr.следщ is поз.ptr) таблица[поз.инд] = пусто; else таблица[поз.инд] = поз.ptr.следщ; } поз.ptr.открепи; static if(разместитель.нужноСвоб) разм.освободи(поз.ptr); счёт--; return возврзнач; } /** * Remove all значения from the хэш */ проц очисти() { static if(разместитель.нужноСвоб) разм.освободиВсе(); delete таблица; таблица = пусто; счёт = 0; } /** * keep only элементы that appear in поднабор * * returns the number of элементы removed */ бцел накладка(Обходчик!(V) поднабор) { if(счёт == 0) return 0; // // старт out removing all узелs, then filter out ones that are in the // установи. // бцел рез = счёт; auto врм = new узел[таблица.length]; foreach(ref v; поднабор) { позиция p = найди(v); if(p.инд != таблица.length) { // // found the узел in the текущ таблица, добавь обх to the new // таблица. // узел голова = врм[p.инд]; // // need to update the таблица pointer if this is the голова узел in that ячейка // if(p.ptr is таблица[p.инд]) { if(p.ptr.следщ is p.ptr) таблица[p.инд] = пусто; else таблица[p.инд] = p.ptr.следщ; } if(голова is пусто) { врм[p.инд] = p.ptr.открепи; узел.крепи(p.ptr, p.ptr); } else голова.приставь(p.ptr.открепи); рез--; } } static if(разместитель.нужноСвоб) { // // now, we must освободи all the неиспользовано узелs // foreach(голова; таблица) { if(голова !is пусто) { // // since we will освободи голова, метка the конец of the list with // a пусто pointer // узел.крепи(голова.предш, пусто); while(голова !is пусто) { auto newhead = голова.следщ; разм.освободи(голова); голова = newhead; } } } } таблица = врм; счёт -= рез; return рез; } static if(допускатьДубликаты) { // private function to do the dirty work of считайВсе и удалиВсе private бцел _applyAll(V v, бул удали) { позиция p = найди(v); бцел рез = 0; if(p.инд != таблица.length) { auto bucket = таблица[p.инд]; do { if(p.ptr.значение == v) { рез++; if(удали) { auto исх = p.ptr; p.ptr = p.ptr.следщ; исх.открепи(); static if(разместитель.нужноСвоб) { разм.освободи(исх); } continue; } } p.ptr = p.ptr.следщ; } while(p.ptr !is bucket) } return рез; } /** * счёт the number of times a given значение appears in the хэш */ бцел считайВсе(V v) { return _applyAll(v, false); } /** * удали all the экземпляры of v that appear in the хэш */ бцел удалиВсе(V v) { return _applyAll(v, true); } /** * Find a given значение in the хэш, starting from the given позиция. * If the позиция is beyond the последн instance of v (which can be * determined if the позиция's bucket is beyond the bucket where v * should go). */ позиция найди(V v, позиция начатьС) { if(счёт == 0) return конец; auto h = хэшФункц(v) % таблица.length; if(начатьС.инд < h) { // if bucket is empty, return конец if(таблица[h] is пусто) return конец; // старт from the bucket that the значение would live in начатьС.инд = h; начатьС.ptr = таблица[h]; } else if(начатьС.инд > h) // beyond the bucket, return конец return конец; if((начатьС.ptr = findInBucket(таблица[h], v, начатьС.ptr)) !is пусто) return начатьС; return конец; } } /** * копируй all the элементы from this хэш to цель. */ проц копируйВ(ref Хэш цель) { // // копируй all local значения // цель = *this; // // reset разместитель // цель.разм = цель.разм.init; // // reallocate all the узелs in the таблица // цель.таблица = new узел[таблица.length]; foreach(i, n; таблица) { if(n !is пусто) цель.таблица[i] = n.dup(&цель.размести); } } узел размести() { return разм.размести(); } узел размести(V v) { auto рез = размести(); рез.значение = v; return рез; } /** * Perform any установка necessary (none for this хэш impl) */ проц установка() { } } /** * используется to define a Хэш that does not perform updates */ template ХэшБезОбновлений(V, alias хэшФункц, плав факторЗагрузки=ДефолтыХэш.факторЗагрузки, бцел исходнРазмерТаблицы=ДефолтыХэш.размерТаблицы, alias Разместитель=ДефолтныйРазместитель) { // note the второй хэшФункц isn't используется because обновлять_ли is false alias Хэш!(V, хэшФункц, хэшФункц, факторЗагрузки, исходнРазмерТаблицы, Разместитель, false, false) ХэшБезОбновлений; } /** * используется to define a Хэш that takes duplicates */ template ХэшДуб(V, alias хэшФункц, плав факторЗагрузки=ДефолтыХэш.факторЗагрузки, бцел исходнРазмерТаблицы=ДефолтыХэш.размерТаблицы, alias Разместитель=ДефолтныйРазместитель) { // note the второй хэшФункц isn't используется because обновлять_ли is false alias Хэш!(V, хэшФункц, хэшФункц, факторЗагрузки, исходнРазмерТаблицы, Разместитель, true, false) ХэшДуб; }
D
var int SLD_753_Baloro_SC_choice; var int SLD_753_Baloro_SC_wills_wissen; var int SLD_753_Baloro_SC_besorgt_den_Kram; instance DIA_SLD_753_Baloro(C_Info) { npc = SLD_753_Baloro; condition = DIA_SLD_753_Baloro_Condition; information = DIA_SLD_753_Baloro_Intro_Info; important = 1; permanent = 0; }; func int DIA_SLD_753_Baloro_Condition() { return 1; }; func void DIA_SLD_753_Baloro_Intro_Info() { AI_Output(self,other,"DIA_SLD_753_Baloro_Intro_08_01"); //Hej, ty! Co się dzieje? }; instance DIA_SLD_753_Baloro_Wasmeinstdu(C_Info) { npc = SLD_753_Baloro; condition = DIA_SLD_753_Baloro_Wasmeinstdu_Condition; information = DIA_SLD_753_Baloro_Wasmeinstdu_Info; important = 0; permanent = 0; description = "Cześć!"; }; func int DIA_SLD_753_Baloro_Wasmeinstdu_Condition() { return 1; }; func void DIA_SLD_753_Baloro_Wasmeinstdu_Info() { AI_Output(other,self,"DIA_SLD_753_Baloro_Wasmeinstdu_Info_15_01"); //Cześć! AI_Output(self,other,"DIA_SLD_753_Baloro_Wasmeinstdu_Info_08_02"); //Kręcisz się tutaj, jakbyś czegoś szukał! AI_Output(other,self,"DIA_SLD_753_Baloro_Wasmeinstdu_Info_15_03"); //Czyżby? Mmh, może masz rację. A dlaczego? AI_Output(self,other,"DIA_SLD_753_Baloro_Wasmeinstdu_Info_08_04"); //Świetnie! Zapytaj MNIE! Może mogę ci jakoś pomóc! }; instance DIA_SLD_753_Baloro_Worumgehts(C_Info) { npc = SLD_753_Baloro; condition = DIA_SLD_753_Baloro_Worumgehts_Condition; information = DIA_SLD_753_Baloro_Worumgehts_Info; important = 0; permanent = 0; description = "Co masz na myśli?"; }; func int DIA_SLD_753_Baloro_Worumgehts_Condition() { if(Npc_KnowsInfo(hero,DIA_SLD_753_Baloro_Wasmeinstdu) && (SLD_753_Baloro_SC_choice == 0)) { return 1; }; }; func void DIA_SLD_753_Baloro_Worumgehts_Info() { AI_Output(other,self,"DIA_SLD_753_Baloro_Worumgehts_Info_15_01"); //Co masz na myśli? AI_Output(self,other,"DIA_SLD_753_Baloro_Worumgehts_Info_08_01"); //A czego potrzebujesz? AI_Output(other,self,"DIA_SLD_753_Baloro_Worumgehts_Info_15_02"); //Na początek wystarczy dobry miecz, gruby pancerz i wstęp do kopalni. AI_Output(self,other,"DIA_SLD_753_Baloro_Worumgehts_Info_08_02"); //Phi! To małe piwo! AI_Output(self,other,"DIA_SLD_753_Baloro_Worumgehts_Info_08_03"); //Mam tu coś takiego, że oczy ci wyjdą na wierzch. Mogę ci dać broń, którą pokonasz każdego wroga! AI_Output(self,other,"DIA_SLD_753_Baloro_Worumgehts_Info_08_04"); //W zamian, wystarczy, że wyświadczysz mi drobną przysługę. To wszystko! Co ty na to? Info_ClearChoices(DIA_SLD_753_Baloro_Worumgehts); Info_AddChoice(DIA_SLD_753_Baloro_Worumgehts,"Muszę to mieć.",DIA_SLD_753_Baloro_Worumgehts_ja); Info_AddChoice(DIA_SLD_753_Baloro_Worumgehts,"Nie wierzę mu ani trochę.",DIA_SLD_753_Baloro_Exit_Info); }; func void DIA_SLD_753_Baloro_Worumgehts_ja() { AI_Output(other,self,"DIA_SLD_753_Baloro_Worumgehts_ja_15_05"); //Co miałbym dla ciebie zrobić? AI_Output(self,other,"DIA_SLD_753_Baloro_Worumgehts_ja_08_03"); //To proste! AI_Output(self,other,"DIA_SLD_753_Baloro_Worumgehts_ja_08_04"); //Przynieś mi 5 jabłek, 2 butelki ryżówki, 5 butelek piwa, 3 bochenki chleba, 2 kawałki sera i 2 kiście winogron. AI_Output(self,other,"DIA_SLD_753_Baloro_Worumgehts_ja_08_05"); //Możesz mi wierzyć: nie pożałujesz! Jak już mówiłem - tą bronią pokonasz każdego wroga! Info_ClearChoices(DIA_SLD_753_Baloro_Worumgehts); Info_AddChoice(DIA_SLD_753_Baloro_Worumgehts,"Muszę to mieć.",DIA_SLD_753_Baloro_Worumgehts_jaklar); Info_AddChoice(DIA_SLD_753_Baloro_Worumgehts,"Gość próbuje zrobić mnie w konia.",DIA_SLD_753_Baloro_Exit_Info); }; func void DIA_SLD_753_Baloro_Worumgehts_jaklar() { AI_Output(other,self,"DIA_SLD_753_Baloro_Worumgehts_ja_15_06"); //Dobrze! Zobaczę co się da zrobić! AI_Output(self,other,"DIA_SLD_753_Baloro_Worumgehts_ja_08_06"); //To świetnie! Tylko się pospiesz. AI_Output(self,other,"DIA_SLD_753_Baloro_Worumgehts_ja_08_07"); //Tylko nie zapomnij: 5 jabłek, 2 butelki ryżówki, 5 butelek piwa, 3 bochenki chleba, 2 kawałki sera i 2 kiście winogron! Jasne? AI_Output(other,self,"DIA_SLD_753_Baloro_Worumgehts_ja_15_07"); //Jak słońce. SLD_753_Baloro_SC_besorgt_den_Kram = LOG_RUNNING; Log_CreateTopic(Baloros_Waffe,LOG_MISSION); Log_SetTopicStatus(Baloros_Waffe,LOG_RUNNING); B_LogEntry(Baloros_Waffe,"Baloro obiecał mi sprzedać niezwykle potężną broń, jeśli przyniosę mu 5 jabłek, 2 butelki ryżówki, 5 butelek piwa, 3 bochenki chleba, 2 kawałki sera i 2 kiście winogron."); AI_StopProcessInfos(self); }; instance DIA_SLD_753_Baloro_habsnichtdabei(C_Info) { npc = SLD_753_Baloro; condition = DIA_SLD_753_Baloro_habsnichtdabei_Condition; information = DIA_SLD_753_Baloro_habsnichtdabei_Info; important = 0; permanent = 1; description = "Nie udało mi się jeszcze zebrać wszystkich potrzebnych ci rzeczy."; }; func int DIA_SLD_753_Baloro_habsnichtdabei_Condition() { if(SLD_753_Baloro_SC_besorgt_den_Kram == LOG_RUNNING) { return 1; }; }; func void DIA_SLD_753_Baloro_habsnichtdabei_Info() { AI_Output(other,self,"DIA_SLD_753_Baloro_habsnichtdabei_Info_15_01"); //Nie udało mi się jeszcze zebrać wszystkich potrzebnych ci rzeczy. Mógłbyś mi przypomnieć, co to miało być? AI_Output(self,other,"DIA_SLD_753_Baloro_habsnichtdabei_Info_08_01"); //Jasne. Słuchaj uważnie. Chcę, żebyś mi przyniósł... AI_Output(self,other,"DIA_SLD_753_Baloro_habsnichtdabei_Info_08_02"); //5 jabłek, 2 butelki ryżówki, 5 butelek piwa, 3 bochenki chleba, 2 kawałki sera i 2 kiście winogron! Zapamiętasz tym razem? AI_Output(other,self,"DIA_SLD_753_Baloro_habsnichtdabei_Info_15_02"); //Oczywiście! Niedługo wrócę! AI_StopProcessInfos(self); }; instance DIA_SLD_753_Baloro_habsdabei(C_Info) { npc = SLD_753_Baloro; condition = DIA_SLD_753_Baloro_habsdabei_Condition; information = DIA_SLD_753_Baloro_habsdabei_Info; important = 0; permanent = 0; description = "Mam już wszystko!"; }; func int DIA_SLD_753_Baloro_habsdabei_Condition() { if((SLD_753_Baloro_SC_besorgt_den_Kram == LOG_RUNNING) && Npc_KnowsInfo(hero,DIA_SLD_753_Baloro_Worumgehts) && (SLD_753_Baloro_SC_choice == 0) && (Npc_HasItems(other,ItFoApple) >= 5) && (Npc_HasItems(other,ItFoBooze) >= 2) && (Npc_HasItems(other,ItFoBeer) >= 5) && (Npc_HasItems(other,ItFoLoaf) >= 3) && (Npc_HasItems(other,ItFoCheese) >= 2) && (Npc_HasItems(other,ItFo_wineberrys_01) >= 2)) { return 1; }; }; func void DIA_SLD_753_Baloro_habsdabei_Info() { AI_Output(other,self,"DIA_SLD_753_Baloro_habsdabei_Info_15_01"); //Mam już wszystko! teraz porozmawiajmy o tej niesamowitej broni, tak? AI_Output(self,other,"DIA_SLD_753_Baloro_habsdabei_Info_08_01"); //Najpierw pokaż mi, co dla mnie masz. CreateInvItems(other,ItFoApple,14); B_GiveInvItems(other,self,ItFoApple,19); Npc_RemoveInvItems(other,ItFoBooze,2); Npc_RemoveInvItems(other,ItFoBeer,5); Npc_RemoveInvItems(other,ItFoLoaf,3); Npc_RemoveInvItems(other,ItFoCheese,2); Npc_RemoveInvItems(other,ItFo_wineberrys_01,2); Npc_RemoveInvItems(self,ItFoApple,14); CreateInvItems(self,ItFoBooze,2); CreateInvItems(self,ItFoBeer,5); CreateInvItems(self,ItFoLoaf,3); CreateInvItems(self,ItFoCheese,2); CreateInvItems(self,ItFo_wineberrys_01,2); AI_Output(other,self,"DIA_SLD_753_Baloro_habsdabei_Info_15_02"); //Proszę bardzo! AI_Output(self,other,"DIA_SLD_753_Baloro_habsdabei_Info_08_02"); //Nooo... W porządku! AI_Output(other,self,"DIA_SLD_753_Baloro_habsdabei_Info_15_03"); //A teraz broń! AI_Output(self,other,"DIA_SLD_753_Baloro_habsdabei_Info_08_03"); //Zapomnij o tym! AI_Output(other,self,"DIA_SLD_753_Baloro_habsdabei_Info_15_04"); //Co?! AI_Output(self,other,"DIA_SLD_753_Baloro_habsdabei_Info_08_04"); //Naprawdę myślałeś, że dostaniesz coś w zamian? Jeśli rzeczywiście jesteś taki głupi, to aż ci współczuję! AI_Output(self,other,"DIA_SLD_753_Baloro_habsdabei_Info_08_05"); //Dziwię się, że przeżyłeś tak długo! Jeśli będziesz wierzył we wszystko co ci powiedzą tutejsi ludzie, nie pociągniesz długo! AI_Output(self,other,"DIA_SLD_753_Baloro_habsdabei_Info_08_06"); //A zresztą - nieważne! Teraz mamy dość jedzenia na małą ucztę. Wielkie dzięki! Może się jeszcze spotkamy! He he he! SLD_753_Baloro_SC_besorgt_den_Kram = LOG_SUCCESS; B_GiveXP(300); B_LogEntry(Baloros_Waffe,"Byłem głupcem, że zaufałem temu łgarzowi! Cóż, dostałem nauczkę..."); Log_SetTopicStatus(Baloros_Waffe,LOG_SUCCESS); AI_StopProcessInfos(self); }; instance DIA_SLD_753_Baloro_letztes_Wort(C_Info) { npc = SLD_753_Baloro; condition = DIA_SLD_753_Baloro_letztes_Wort_Condition; information = DIA_SLD_753_Baloro_letztes_Wort_Info; important = 0; permanent = 0; description = "Hej! Nie dam się robić w konia!"; }; func int DIA_SLD_753_Baloro_letztes_Wort_Condition() { if(SLD_753_Baloro_SC_besorgt_den_Kram == LOG_SUCCESS) { return 1; }; }; func void DIA_SLD_753_Baloro_letztes_Wort_Info() { AI_Output(other,self,"DIA_SLD_753_Baloro_letztes_Wort_Info_15_01"); //Hej! Nie dam się robić w konia! AI_Output(self,other,"DIA_SLD_753_Baloro_letztes_Wort_Info_08_01"); //Czego znowu chcesz! Uciekaj stąd! Powkurzaj sobie kogoś innego, co? No już - spadaj! SLD_753_Baloro_SC_wills_wissen = 1; AI_StopProcessInfos(self); }; instance DIA_SLD_753_Baloro_SC_wills_wissen(C_Info) { npc = SLD_753_Baloro; condition = DIA_SLD_753_Baloro_SC_wills_wissen_Condition; information = DIA_SLD_753_Baloro_SC_wills_wissen_Info; important = 0; permanent = 0; description = "Widzę, że będę ci musiał dać nauczkę."; }; func int DIA_SLD_753_Baloro_SC_wills_wissen_Condition() { if(SLD_753_Baloro_SC_wills_wissen == 1) { return 1; }; }; func void DIA_SLD_753_Baloro_Attack() { AI_StopProcessInfos(self); Npc_SetTarget(self,hero); AI_StartState(self,ZS_Attack,1,""); }; func void DIA_SLD_753_Baloro_SC_wills_wissen_Info() { AI_Output(other,self,"DIA_SLD_753_Baloro_SC_wills_wissen_Info_15_01"); //Widzę, że będę ci musiał dać nauczkę. AI_Output(self,other,"DIA_SLD_753_Baloro_SC_wills_wissen_Info_08_01"); //No już - pośmialiśmy się trochę, a teraz spadaj stąd! Sio! AI_Output(other,self,"DIA_SLD_753_Baloro_SC_wills_wissen_Info_15_02"); //Chyba mnie nie zrozumiałeś! AI_Output(self,other,"DIA_SLD_753_Baloro_SC_wills_wissen_Info_08_02"); //No dobra! Sam się o to prosiłeś! Ostrzegałem cię! DIA_SLD_753_Baloro_Attack(); }; instance DIA_SLD_753_Baloro_Exit(C_Info) { npc = SLD_753_Baloro; nr = 999; condition = DIA_SLD_753_Baloro_Exit_Condition; information = DIA_SLD_753_Baloro_Exit_Info; important = 0; permanent = 1; description = "Muszę już iść."; }; func int DIA_SLD_753_Baloro_Exit_Condition() { if((SLD_753_Baloro_SC_wills_wissen == 0) && (SLD_753_Baloro_SC_besorgt_den_Kram == 0)) { return 1; }; }; func void DIA_SLD_753_Baloro_Exit_Info() { if(Npc_KnowsInfo(hero,DIA_SLD_753_Baloro_Wasmeinstdu) && (SLD_753_Baloro_SC_choice == 0)) { AI_Output(other,self,"DIA_SLD_753_Baloro_Exit_Info_15_01"); //Nie, nie! Nieważne! Nie jestem zainteresowany! AI_Output(self,other,"DIA_SLD_753_Baloro_Exit_Info_08_02"); //Cóż, jak sobie życzysz! Marnujesz niepowtarzalną okazję! SLD_753_Baloro_SC_choice = 1; } else { AI_Output(other,self,"DIA_SLD_753_Baloro_Exit_Info_15_03"); //Przykro mi, ale nie mam czasu na pogawędki! AI_Output(self,other,"DIA_SLD_753_Baloro_Exit_Info_08_04"); //Och, jesteś zajęty! Porozmawiamy innym razem! }; AI_StopProcessInfos(self); }; instance DIA_SLD_753_Baloro_Angebotdochannehmen(C_Info) { npc = SLD_753_Baloro; condition = DIA_SLD_753_Baloro_Angebotdochannehmen_Condition; information = DIA_SLD_753_Baloro_Angebotdochannehmen_Info; important = 0; permanent = 0; description = "Zmieniłem zdanie. Porozmawiajmy jeszcze raz o twojej propozycji."; }; func int DIA_SLD_753_Baloro_Angebotdochannehmen_Condition() { if(SLD_753_Baloro_SC_choice == 1) { return 1; }; }; func void DIA_SLD_753_Baloro_Angebotdochannehmen_Info() { AI_Output(other,self,"DIA_SLD_753_Baloro_Angebotdochannehmen_Info_15_01"); //Zmieniłem zdanie. Porozmawiajmy jeszcze raz o twojej propozycji. AI_Output(self,other,"DIA_SLD_753_Baloro_Angebotdochannehmen_Info_08_01"); //Teraz jest już za późno. Miałeś swoją szansę! AI_StopProcessInfos(self); };
D
/Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/Objects-normal/x86_64/CategoriesLocalDataManager.o : /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Wireframe/CategoryListWireFrame.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/CoreDataStore.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/AppDelegate.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/Heady+CoreDataModel.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/Util.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/View/CategoryTableViewCell.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Protocols/CategoryListProtocol.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Remote/CategoryListRemoteDataManager.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Local/CategoriesLocalDataManager.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/ViewController.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Presenter/CategoryListPresenter.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/PersistanceError.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Interactor/CategoryListInteractor.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/ProductCategory+CoreDataProperties.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/ProductCategory+CoreDataClass.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/Constants.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/Product.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/Variant.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/View/CategoryListView.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/ProductCategory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Modules/PKHUD.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD-umbrella.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD-Swift.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/Objects-normal/x86_64/CategoriesLocalDataManager~partial.swiftmodule : /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Wireframe/CategoryListWireFrame.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/CoreDataStore.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/AppDelegate.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/Heady+CoreDataModel.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/Util.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/View/CategoryTableViewCell.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Protocols/CategoryListProtocol.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Remote/CategoryListRemoteDataManager.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Local/CategoriesLocalDataManager.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/ViewController.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Presenter/CategoryListPresenter.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/PersistanceError.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Interactor/CategoryListInteractor.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/ProductCategory+CoreDataProperties.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/ProductCategory+CoreDataClass.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/Constants.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/Product.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/Variant.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/View/CategoryListView.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/ProductCategory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Modules/PKHUD.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD-umbrella.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD-Swift.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/Objects-normal/x86_64/CategoriesLocalDataManager~partial.swiftdoc : /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Wireframe/CategoryListWireFrame.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/CoreDataStore.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/AppDelegate.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/Heady+CoreDataModel.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/Util.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/View/CategoryTableViewCell.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Protocols/CategoryListProtocol.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Remote/CategoryListRemoteDataManager.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Local/CategoriesLocalDataManager.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/ViewController.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Presenter/CategoryListPresenter.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/PersistanceError.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Interactor/CategoryListInteractor.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/ProductCategory+CoreDataProperties.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/ProductCategory+CoreDataClass.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/Constants.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/Product.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/Variant.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/View/CategoryListView.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/ProductCategory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Modules/PKHUD.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD-umbrella.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD-Swift.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
module android.java.android.net.nsd.NsdManager_RegistrationListener; public import android.java.android.net.nsd.NsdManager_RegistrationListener_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!NsdManager_RegistrationListener; import import1 = android.java.java.lang.Class;
D
/* * hunt-time: A time library for D programming language. * * Copyright (C) 2015-2018 HuntLabs * * Website: https://www.huntlabs.net/ * * Licensed under the Apache-2.0 License. * */ module hunt.time.Month; import hunt.time.temporal.ChronoField; import hunt.time.temporal.ChronoUnit; import hunt.time.chrono.Chronology; import hunt.time.chrono.IsoChronology; // import hunt.time.format.DateTimeFormatterBuilder; import hunt.time.format.TextStyle; import hunt.time.temporal.ChronoField; import hunt.time.temporal.Temporal; import hunt.time.temporal.TemporalAccessor; import hunt.time.temporal.TemporalAdjuster; import hunt.time.temporal.TemporalField; import hunt.time.temporal.TemporalQueries; import hunt.time.temporal.TemporalQuery; import hunt.time.Exceptions; import hunt.time.temporal.ValueRange; import hunt.time.Exceptions; import hunt.time.LocalDate; import hunt.time.util.Common; import hunt.Enum; import hunt.util.Locale; import std.conv; import std.concurrency : initOnce; /** * A month-of-year, such as 'July'. * !(p) * {@code Month} is an enum representing the 12 months of the year - * January, February, March, April, May, June, July, August, September, October, * November and December. * !(p) * In addition to the textual enum name, each month-of-year has an {@code int} value. * The {@code int} value follows normal usage and the ISO-8601 standard, * from 1 (January) to 12 (December). It is recommended that applications use the enum * rather than the {@code int} value to ensure code clarity. * !(p) * !(b)Do not use {@code ordinal()} to obtain the numeric representation of {@code Month}. * Use {@code getValue()} instead.</b> * !(p) * This enum represents a common concept that is found _in many calendar systems. * As such, this enum may be used by any calendar system that has the month-of-year * concept defined exactly equivalent to the ISO-8601 calendar system. * * @implSpec * This is an immutable and thread-safe enum. * * @since 1.8 */ class Month : AbstractEnum!Month, TemporalAccessor, TemporalAdjuster { /** * The singleton instance for the month of January with 31 days. * This has the numeric value of {@code 1}. */ static Month JANUARY() { __gshared Month m; return initOnce!(m)(new Month(0, "JANUARY")); } /** * The singleton instance for the month of February with 28 days, or 29 _in a leap year. * This has the numeric value of {@code 2}. */ static Month FEBRUARY() { __gshared Month m; return initOnce!(m)(new Month(1, "FEBRUARY")); } /** * The singleton instance for the month of March with 31 days. * This has the numeric value of {@code 3}. */ static Month MARCH() { __gshared Month m; return initOnce!(m)(new Month(2, "MARCH")); } /** * The singleton instance for the month of April with 30 days. * This has the numeric value of {@code 4}. */ static Month APRIL() { __gshared Month m; return initOnce!(m)(new Month(3, "APRIL")); } /** * The singleton instance for the month of May with 31 days. * This has the numeric value of {@code 5}. */ static Month MAY() { __gshared Month m; return initOnce!(m)(new Month(5, "MAY")); } /** * The singleton instance for the month of June with 30 days. * This has the numeric value of {@code 6}. */ static Month JUNE() { __gshared Month m; return initOnce!(m)(new Month(5, "JUNE")); } /** * The singleton instance for the month of July with 31 days. * This has the numeric value of {@code 7}. */ static Month JULY() { __gshared Month m; return initOnce!(m)(new Month(6, "JULY")); } /** * The singleton instance for the month of August with 31 days. * This has the numeric value of {@code 8}. */ static Month AUGUST() { __gshared Month m; return initOnce!(m)(new Month(7, "AUGUST")); } /** * The singleton instance for the month of September with 30 days. * This has the numeric value of {@code 9}. */ static Month SEPTEMBER() { __gshared Month m; return initOnce!(m)(new Month(8, "SEPTEMBER")); } /** * The singleton instance for the month of October with 31 days. * This has the numeric value of {@code 10}. */ static Month OCTOBER() { __gshared Month m; return initOnce!(m)(new Month(9, "OCTOBER")); } /** * The singleton instance for the month of November with 30 days. * This has the numeric value of {@code 11}. */ static Month NOVEMBER() { __gshared Month m; return initOnce!(m)(new Month(10, "NOVEMBER")); } /** * The singleton instance for the month of December with 31 days. * This has the numeric value of {@code 12}. */ static Month DECEMBER() { __gshared Month m; return initOnce!(m)(new Month(11, "DECEMBER")); } this(int ordinal, string name) { super(name, ordinal); } alias ENUMS = values; /** * Private cache of all the constants. */ static Month[] values() { __gshared Month[] _e; return initOnce!(_e)({ Month[] _ENUMS; if(_ENUMS.length == 0) { /** * The singleton instance for the month of January with 31 days. * This has the numeric value of {@code 1}. */ _ENUMS ~= JANUARY; /** * The singleton instance for the month of February with 28 days, or 29 _in a leap year. * This has the numeric value of {@code 2}. */ _ENUMS ~= FEBRUARY; /** * The singleton instance for the month of March with 31 days. * This has the numeric value of {@code 3}. */ _ENUMS ~= MARCH; /** * The singleton instance for the month of April with 30 days. * This has the numeric value of {@code 4}. */ _ENUMS ~= APRIL; /** * The singleton instance for the month of May with 31 days. * This has the numeric value of {@code 5}. */ _ENUMS ~= MAY; /** * The singleton instance for the month of June with 30 days. * This has the numeric value of {@code 6}. */ _ENUMS ~= JUNE; /** * The singleton instance for the month of July with 31 days. * This has the numeric value of {@code 7}. */ _ENUMS ~= JULY; /** * The singleton instance for the month of August with 31 days. * This has the numeric value of {@code 8}. */ _ENUMS ~= AUGUST; /** * The singleton instance for the month of September with 30 days. * This has the numeric value of {@code 9}. */ _ENUMS ~= SEPTEMBER; /** * The singleton instance for the month of October with 31 days. * This has the numeric value of {@code 10}. */ _ENUMS ~= OCTOBER; /** * The singleton instance for the month of November with 30 days. * This has the numeric value of {@code 11}. */ _ENUMS ~= NOVEMBER; /** * The singleton instance for the month of December with 31 days. * This has the numeric value of {@code 12}. */ _ENUMS ~= DECEMBER; } return _ENUMS; }()); } //----------------------------------------------------------------------- /** * Obtains an instance of {@code Month} from an {@code int} value. * !(p) * {@code Month} is an enum representing the 12 months of the year. * This factory allows the enum to be obtained from the {@code int} value. * The {@code int} value follows the ISO-8601 standard, from 1 (January) to 12 (December). * * @param month the month-of-year to represent, from 1 (January) to 12 (December) * @return the month-of-year, not null * @throws DateTimeException if the month-of-year is invalid */ static Month of(int month) { if (month < 1 || month > 12) { throw new DateTimeException("Invalid value for MonthOfYear: " ~ month.to!string); } return ENUMS[month - 1]; } //----------------------------------------------------------------------- /** * Obtains an instance of {@code Month} from a temporal object. * !(p) * This obtains a month based on the specified temporal. * A {@code TemporalAccessor} represents an arbitrary set of date and time information, * which this factory converts to an instance of {@code Month}. * !(p) * The conversion extracts the {@link ChronoField#MONTH_OF_YEAR MONTH_OF_YEAR} field. * The extraction is only permitted if the temporal object has an ISO * chronology, or can be converted to a {@code LocalDate}. * !(p) * This method matches the signature of the functional interface {@link TemporalQuery} * allowing it to be used as a query via method reference, {@code Month::from}. * * @param temporal the temporal object to convert, not null * @return the month-of-year, not null * @throws DateTimeException if unable to convert to a {@code Month} */ static Month from(TemporalAccessor temporal) { if (cast(Month)(temporal) !is null) { return cast(Month) temporal; } try { if ((IsoChronology.INSTANCE == Chronology.from(temporal)) == false) { temporal = LocalDate.from(temporal); } return of(temporal.get(ChronoField.MONTH_OF_YEAR)); } catch (DateTimeException ex) { throw new DateTimeException("Unable to obtain Month from TemporalAccessor: " ~ typeid(temporal) .name ~ " of type " ~ typeid(temporal).stringof, ex); } } //----------------------------------------------------------------------- /** * Gets the month-of-year {@code int} value. * !(p) * The values are numbered following the ISO-8601 standard, * from 1 (January) to 12 (December). * * @return the month-of-year, from 1 (January) to 12 (December) */ int getValue() { return ordinal() + 1; } //----------------------------------------------------------------------- /** * Gets the textual representation, such as 'Jan' or 'December'. * !(p) * This returns the textual name used to identify the month-of-year, * suitable for presentation to the user. * The parameters control the style of the returned text and the locale. * !(p) * If no textual mapping is found then the {@link #getValue() numeric value} is returned. * * @param style the length of the text required, not null * @param locale the locale to use, not null * @return the text value of the month-of-year, not null */ // string getDisplayName(TextStyle style, Locale locale) // { // return new DateTimeFormatterBuilder().appendText(ChronoField.MONTH_OF_YEAR, // style).toFormatter(locale).format(this); // } //----------------------------------------------------------------------- /** * Checks if the specified field is supported. * !(p) * This checks if this month-of-year can be queried for the specified field. * If false, then calling the {@link #range(TemporalField) range} and * {@link #get(TemporalField) get} methods will throw an exception. * !(p) * If the field is {@link ChronoField#MONTH_OF_YEAR MONTH_OF_YEAR} then * this method returns true. * All other {@code ChronoField} instances will return false. * !(p) * If the field is not a {@code ChronoField}, then the result of this method * is obtained by invoking {@code TemporalField.isSupportedBy(TemporalAccessor)} * passing {@code this} as the argument. * Whether the field is supported is determined by the field. * * @param field the field to check, null returns false * @return true if the field is supported on this month-of-year, false if not */ override bool isSupported(TemporalField field) { if (cast(ChronoField)(field) !is null) { return field == ChronoField.MONTH_OF_YEAR; } return field !is null && field.isSupportedBy(this); } /** * Gets the range of valid values for the specified field. * !(p) * The range object expresses the minimum and maximum valid values for a field. * This month is used to enhance the accuracy of the returned range. * If it is not possible to return the range, because the field is not supported * or for some other reason, an exception is thrown. * !(p) * If the field is {@link ChronoField#MONTH_OF_YEAR MONTH_OF_YEAR} then the * range of the month-of-year, from 1 to 12, will be returned. * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}. * !(p) * If the field is not a {@code ChronoField}, then the result of this method * is obtained by invoking {@code TemporalField.rangeRefinedBy(TemporalAccessor)} * passing {@code this} as the argument. * Whether the range can be obtained is determined by the field. * * @param field the field to query the range for, not null * @return the range of valid values for the field, not null * @throws DateTimeException if the range for the field cannot be obtained * @throws UnsupportedTemporalTypeException if the field is not supported */ override ValueRange range(TemporalField field) { if (field == ChronoField.MONTH_OF_YEAR) { return field.range(); } return /* TemporalAccessor. super.*/ super_range(field); } ValueRange super_range(TemporalField field) { if (cast(ChronoField)(field) !is null) { if (isSupported(field)) { return field.range(); } throw new UnsupportedTemporalTypeException("Unsupported field: " ~ typeid(field).name); } assert(field, "field"); return field.rangeRefinedBy(this); } /** * Gets the value of the specified field from this month-of-year as an {@code int}. * !(p) * This queries this month for the value of the specified field. * The returned value will always be within the valid range of values for the field. * If it is not possible to return the value, because the field is not supported * or for some other reason, an exception is thrown. * !(p) * If the field is {@link ChronoField#MONTH_OF_YEAR MONTH_OF_YEAR} then the * value of the month-of-year, from 1 to 12, will be returned. * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}. * !(p) * If the field is not a {@code ChronoField}, then the result of this method * is obtained by invoking {@code TemporalField.getFrom(TemporalAccessor)} * passing {@code this} as the argument. Whether the value can be obtained, * and what the value represents, is determined by the field. * * @param field the field to get, not null * @return the value for the field, within the valid range of values * @throws DateTimeException if a value for the field cannot be obtained or * the value is outside the range of valid values for the field * @throws UnsupportedTemporalTypeException if the field is not supported or * the range of values exceeds an {@code int} * @throws ArithmeticException if numeric overflow occurs */ override int get(TemporalField field) { if (field == ChronoField.MONTH_OF_YEAR) { return getValue(); } return /* TemporalAccessor. super.*/ super_get(field); } int super_get(TemporalField field) { ValueRange range = range(field); if (range.isIntValue() == false) { throw new UnsupportedTemporalTypeException("Invalid field " ~ typeid(field) .name ~ " for get() method, use getLong() instead"); } long value = getLong(field); if (range.isValidValue(value) == false) { throw new DateTimeException("Invalid value for " ~ typeid(field) .name ~ " (valid values " ~ range.toString ~ "): " ~ value.to!string); } return cast(int) value; } /** * Gets the value of the specified field from this month-of-year as a {@code long}. * !(p) * This queries this month for the value of the specified field. * If it is not possible to return the value, because the field is not supported * or for some other reason, an exception is thrown. * !(p) * If the field is {@link ChronoField#MONTH_OF_YEAR MONTH_OF_YEAR} then the * value of the month-of-year, from 1 to 12, will be returned. * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}. * !(p) * If the field is not a {@code ChronoField}, then the result of this method * is obtained by invoking {@code TemporalField.getFrom(TemporalAccessor)} * passing {@code this} as the argument. Whether the value can be obtained, * and what the value represents, is determined by the field. * * @param field the field to get, not null * @return the value for the field * @throws DateTimeException if a value for the field cannot be obtained * @throws UnsupportedTemporalTypeException if the field is not supported * @throws ArithmeticException if numeric overflow occurs */ override long getLong(TemporalField field) { if (field == ChronoField.MONTH_OF_YEAR) { return getValue(); } else if (cast(ChronoField)(field) !is null) { throw new UnsupportedTemporalTypeException("Unsupported field: " ~ typeid(field).name); } return field.getFrom(this); } //----------------------------------------------------------------------- /** * Returns the month-of-year that is the specified number of months after this one. * !(p) * The calculation rolls around the end of the year from December to January. * The specified period may be negative. * !(p) * This instance is immutable and unaffected by this method call. * * @param months the months to add, positive or negative * @return the resulting month, not null */ Month plus(long months) { int amount = cast(int)(months % 12); return ENUMS[(ordinal() + (amount + 12)) % 12]; } /** * Returns the month-of-year that is the specified number of months before this one. * !(p) * The calculation rolls around the start of the year from January to December. * The specified period may be negative. * !(p) * This instance is immutable and unaffected by this method call. * * @param months the months to subtract, positive or negative * @return the resulting month, not null */ Month minus(long months) { return plus(-(months % 12)); } //----------------------------------------------------------------------- /** * Gets the length of this month _in days. * !(p) * This takes a flag to determine whether to return the length for a leap year or not. * !(p) * February has 28 days _in a standard year and 29 days _in a leap year. * April, June, September and November have 30 days. * All other months have 31 days. * * @param leapYear true if the length is required for a leap year * @return the length of this month _in days, from 28 to 31 */ int length(bool leapYear) { switch (_ordinal) { case 1: return (leapYear ? 29 : 28); case 3: case 5: case 8: case 10: return 30; default: return 31; } } /** * Gets the minimum length of this month _in days. * !(p) * February has a minimum length of 28 days. * April, June, September and November have 30 days. * All other months have 31 days. * * @return the minimum length of this month _in days, from 28 to 31 */ int minLength() { switch (_ordinal) { case 1: return 28; case 3: case 5: case 8: case 10: return 30; default: return 31; } } /** * Gets the maximum length of this month _in days. * !(p) * February has a maximum length of 29 days. * April, June, September and November have 30 days. * All other months have 31 days. * * @return the maximum length of this month _in days, from 29 to 31 */ int maxLength() { switch (_ordinal) { case 1: return 29; case 3: case 5: case 8: case 10: return 30; default: return 31; } } //----------------------------------------------------------------------- /** * Gets the day-of-year corresponding to the first day of this month. * !(p) * This returns the day-of-year that this month begins on, using the leap * year flag to determine the length of February. * * @param leapYear true if the length is required for a leap year * @return the day of year corresponding to the first day of this month, from 1 to 336 */ int firstDayOfYear(bool leapYear) { int leap = leapYear ? 1 : 0; switch (_name) { case "JANUARY": return 1; case "FEBRUARY": return 32; case "MARCH": return 60 + leap; case "APRIL": return 91 + leap; case "MAY": return 121 + leap; case "JUNE": return 152 + leap; case "JULY": return 182 + leap; case "AUGUST": return 213 + leap; case "SEPTEMBER": return 244 + leap; case "OCTOBER": return 274 + leap; case "NOVEMBER": return 305 + leap; case "DECEMBER": default: return 335 + leap; } } /** * Gets the month corresponding to the first month of this quarter. * !(p) * The year can be divided into four quarters. * This method returns the first month of the quarter for the base month. * January, February and March return January. * April, May and June return April. * July, August and September return July. * October, November and December return October. * * @return the first month of the quarter corresponding to this month, not null */ Month firstMonthOfQuarter() { return ENUMS[(ordinal() / 3) * 3]; } //----------------------------------------------------------------------- /** * Queries this month-of-year using the specified query. * !(p) * This queries this month-of-year using the specified query strategy object. * The {@code TemporalQuery} object defines the logic to be used to * obtain the result. Read the documentation of the query to understand * what the result of this method will be. * !(p) * The result of this method is obtained by invoking the * {@link TemporalQuery#queryFrom(TemporalAccessor)} method on the * specified query passing {@code this} as the argument. * * @param !(R) the type of the result * @param query the query to invoke, not null * @return the query result, null may be returned (defined by the query) * @throws DateTimeException if unable to query (defined by the query) * @throws ArithmeticException if numeric overflow occurs (defined by the query) */ /*@SuppressWarnings("unchecked")*/ // override R query(R)(TemporalQuery!(R) query) { if (query == TemporalQueries.chronology()) { return cast(R) IsoChronology.INSTANCE; } else if (query == TemporalQueries.precision()) { return cast(R)(ChronoUnit.MONTHS); } return /* TemporalAccessor. */ super_query(query); } R super_query(R)(TemporalQuery!(R) query) { if (query == TemporalQueries.zoneId() || query == TemporalQueries.chronology() || query == TemporalQueries.precision()) { return null; } return query.queryFrom(this); } /** * Adjusts the specified temporal object to have this month-of-year. * !(p) * This returns a temporal object of the same observable type as the input * with the month-of-year changed to be the same as this. * !(p) * The adjustment is equivalent to using {@link Temporal#_with(TemporalField, long)} * passing {@link ChronoField#MONTH_OF_YEAR} as the field. * If the specified temporal object does not use the ISO calendar system then * a {@code DateTimeException} is thrown. * !(p) * In most cases, it is clearer to reverse the calling pattern by using * {@link Temporal#_with(TemporalAdjuster)}: * !(pre) * // these two lines are equivalent, but the second approach is recommended * temporal = thisMonth.adjustInto(temporal); * temporal = temporal._with(thisMonth); * </pre> * !(p) * For example, given a date _in May, the following are output: * !(pre) * dateInMay._with(JANUARY); // four months earlier * dateInMay._with(APRIL); // one months earlier * dateInMay._with(MAY); // same date * dateInMay._with(JUNE); // one month later * dateInMay._with(DECEMBER); // seven months later * </pre> * !(p) * This instance is immutable and unaffected by this method call. * * @param temporal the target object to be adjusted, not null * @return the adjusted object, not null * @throws DateTimeException if unable to make the adjustment * @throws ArithmeticException if numeric overflow occurs */ override Temporal adjustInto(Temporal temporal) { if ((Chronology.from(temporal) == IsoChronology.INSTANCE) == false) { throw new DateTimeException("Adjustment only supported on ISO date-time"); } return temporal._with(ChronoField.MONTH_OF_YEAR, getValue()); } override string toString() { return this._name; } }
D
; Copyright (C) 2008 The Android Open Source Project ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writing, software ; distributed under the License is distributed on an "AS IS" BASIS, ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ; See the License for the specific language governing permissions and ; limitations under the License. .source T_add_long_2.java .class public dot.junit.opcodes.add_long.d.T_add_long_2 .super java/lang/Object .method public <init>()V .limit regs 1 invoke-direct {v0}, java/lang/Object/<init>()V return-void .end method .method public run(JJ)J .limit regs 7 add-long v0, v3, v7 return-wide v0 .end method
D
/Users/safiqulislam/Desktop/SDK/AQDEMO/DerivedData/AQDEMO/Build/Intermediates.noindex/AQDEMO.build/Debug-iphonesimulator/AQDEMO.build/Objects-normal/x86_64/SocketParsable.o : /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEngineSpec.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Manager/SocketManagerSpec.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketIOClientSpec.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/AQTextField.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/Model/AQMessage.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEnginePollable.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Parse/SocketParsable.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEngine.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEnginePacketType.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Starscream/SSLClientCertificate.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketManager/KeyboardManagerDelegate.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/Model/SocketModel.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQChat/AQChatImageMessageCell.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQChat/AQChatTextMessageCell.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQDynamicForm.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/Extension.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Starscream/Compression.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketIOClientConfiguration.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketIOClientOption.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Util/SocketStringReader.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/AQImageLoader.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketManager/KeyboardManager.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Ack/SocketAckManager.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Manager/SocketManager.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketManager/AQSocketManager.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Util/SocketLogger.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketEventHandler.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQChat/AQChatViewController.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/Model/AQUser.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Ack/SocketAckEmitter.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Util/SocketTypes.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Util/SocketExtensions.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/AQConstants.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketIOStatus.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Parse/SocketPacket.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Starscream/WebSocket.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEngineWebsocket.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketIOClient.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEngineClient.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketAnyEvent.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQThreadList.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/AQPickerView.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/AQTextView.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketRawView.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Util/SSLSecurity.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Starscream/StarscreamSSLSecurity.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQDEMO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/alloca.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/clonefile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libgen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttydefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Target.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Users/safiqulislam/Desktop/SDK/AQDEMO/DerivedData/AQDEMO/Build/Intermediates.noindex/AQDEMO.build/Debug-iphonesimulator/AQDEMO.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/safiqulislam/Desktop/SDK/AQDEMO/DerivedData/AQDEMO/Build/Intermediates.noindex/AQDEMO.build/Debug-iphonesimulator/AQDEMO.build/Objects-normal/x86_64/SocketParsable~partial.swiftmodule : /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEngineSpec.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Manager/SocketManagerSpec.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketIOClientSpec.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/AQTextField.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/Model/AQMessage.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEnginePollable.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Parse/SocketParsable.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEngine.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEnginePacketType.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Starscream/SSLClientCertificate.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketManager/KeyboardManagerDelegate.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/Model/SocketModel.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQChat/AQChatImageMessageCell.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQChat/AQChatTextMessageCell.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQDynamicForm.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/Extension.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Starscream/Compression.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketIOClientConfiguration.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketIOClientOption.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Util/SocketStringReader.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/AQImageLoader.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketManager/KeyboardManager.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Ack/SocketAckManager.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Manager/SocketManager.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketManager/AQSocketManager.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Util/SocketLogger.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketEventHandler.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQChat/AQChatViewController.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/Model/AQUser.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Ack/SocketAckEmitter.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Util/SocketTypes.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Util/SocketExtensions.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/AQConstants.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketIOStatus.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Parse/SocketPacket.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Starscream/WebSocket.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEngineWebsocket.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketIOClient.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEngineClient.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketAnyEvent.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQThreadList.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/AQPickerView.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/AQTextView.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketRawView.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Util/SSLSecurity.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Starscream/StarscreamSSLSecurity.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQDEMO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/alloca.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/clonefile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libgen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttydefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Target.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Users/safiqulislam/Desktop/SDK/AQDEMO/DerivedData/AQDEMO/Build/Intermediates.noindex/AQDEMO.build/Debug-iphonesimulator/AQDEMO.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/safiqulislam/Desktop/SDK/AQDEMO/DerivedData/AQDEMO/Build/Intermediates.noindex/AQDEMO.build/Debug-iphonesimulator/AQDEMO.build/Objects-normal/x86_64/SocketParsable~partial.swiftdoc : /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEngineSpec.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Manager/SocketManagerSpec.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketIOClientSpec.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/AQTextField.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/Model/AQMessage.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEnginePollable.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Parse/SocketParsable.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEngine.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEnginePacketType.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Starscream/SSLClientCertificate.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketManager/KeyboardManagerDelegate.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/Model/SocketModel.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQChat/AQChatImageMessageCell.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQChat/AQChatTextMessageCell.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQDynamicForm.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/Extension.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Starscream/Compression.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketIOClientConfiguration.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketIOClientOption.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Util/SocketStringReader.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/AQImageLoader.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketManager/KeyboardManager.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Ack/SocketAckManager.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Manager/SocketManager.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketManager/AQSocketManager.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Util/SocketLogger.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketEventHandler.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQChat/AQChatViewController.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/Model/AQUser.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Ack/SocketAckEmitter.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Util/SocketTypes.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Util/SocketExtensions.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/AQConstants.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketIOStatus.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Parse/SocketPacket.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Starscream/WebSocket.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEngineWebsocket.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketIOClient.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Engine/SocketEngineClient.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketAnyEvent.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQThreadList.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/AQPickerView.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQHelperUtility/AQTextView.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Client/SocketRawView.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Util/SSLSecurity.swift /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/SocketIO/Starscream/StarscreamSSLSecurity.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Users/safiqulislam/Desktop/SDK/AQDEMO/AQDEMO/AQDEMO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/alloca.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/clonefile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libgen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttydefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Target.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Users/safiqulislam/Desktop/SDK/AQDEMO/DerivedData/AQDEMO/Build/Intermediates.noindex/AQDEMO.build/Debug-iphonesimulator/AQDEMO.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/**************************************************************************** ** ** Copyright (C) 2012 Intel Corporation. ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance with the commercial license agreement provided with the ** Software or, alternatively, in accordance with the terms contained in ** a written agreement between you and Digia. For licensing terms and ** conditions see http://qt.digia.com/licensing. For further information ** use the contact form at http://qt.digia.com/contact-us. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 or version 3 as published by the Free ** Software Foundation and appearing in the file LICENSE.LGPLv21 and ** LICENSE.LGPLv3 included in the packaging of this file. Please review the ** following information to ensure the GNU Lesser General Public License ** requirements will be met: https://www.gnu.org/licenses/lgpl.html and ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Digia gives you certain additional ** rights. These rights are described in the Digia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** $QT_END_LICENSE$ ** ****************************************************************************/ public import QtCore.qpair; public import QtCore.qshareddata; public import QtCore.qurl; #if QT_DEPRECATED_SINCE(5,0) public import QtCore.qstringlist; #endif extern(C++) class QUrlQueryPrivate; extern(C++) class export QUrlQuery { public: QUrlQuery(); explicit QUrlQuery(ref const(QUrl) url); explicit QUrlQuery(ref const(QString) queryString); QUrlQuery(ref const(QUrlQuery) other); QUrlQuery &operator=(ref const(QUrlQuery) other); #ifdef Q_COMPILER_RVALUE_REFS QUrlQuery &operator=(QUrlQuery &&other) { qSwap(d, other.d); return *this; } #endif ~QUrlQuery(); bool operator==(ref const(QUrlQuery) other) const; bool operator!=(ref const(QUrlQuery) other) const { return !(*this == other); } void swap(QUrlQuery &other) { qSwap(d, other.d); } bool isEmpty() const; bool isDetached() const; void clear(); QString query(QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; void setQuery(ref const(QString) queryString); QString toString(QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const { return query(encoding); } void setQueryDelimiters(QChar valueDelimiter, QChar pairDelimiter); QChar queryValueDelimiter() const; QChar queryPairDelimiter() const; void setQueryItems(const QList<QPair<QString, QString> > &query); QList<QPair<QString, QString> > queryItems(QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; bool hasQueryItem(ref const(QString) key) const; void addQueryItem(ref const(QString) key, ref const(QString) value); void removeQueryItem(ref const(QString) key); QString queryItemValue(ref const(QString) key, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; QStringList allQueryItemValues(ref const(QString) key, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; void removeAllQueryItems(ref const(QString) key); static QChar defaultQueryValueDelimiter() { return QChar(ushort('=')); } static QChar defaultQueryPairDelimiter() { return QChar(ushort('&')); } private: friend extern(C++) class QUrl; QSharedDataPointer<QUrlQueryPrivate> d; public: typedef QSharedDataPointer<QUrlQueryPrivate> DataPtr; /+inline+/ DataPtr &data_ptr() { return d; } } Q_DECLARE_SHARED(QUrlQuery) #if QT_DEPRECATED_SINCE(5,0) /+inline+/ void QUrl::setQueryItems(const QList<QPair<QString, QString> > &qry) { QUrlQuery q(*this); q.setQueryItems(qry); setQuery(q); } /+inline+/ void QUrl::addQueryItem(ref const(QString) key, ref const(QString) value) { QUrlQuery q(*this); q.addQueryItem(key, value); setQuery(q); } /+inline+/ QList<QPair<QString, QString> > QUrl::queryItems() const { return QUrlQuery(*this).queryItems(); } /+inline+/ bool QUrl::hasQueryItem(ref const(QString) key) const { return QUrlQuery(*this).hasQueryItem(key); } /+inline+/ QString QUrl::queryItemValue(ref const(QString) key) const { return QUrlQuery(*this).queryItemValue(key); } /+inline+/ QStringList QUrl::allQueryItemValues(ref const(QString) key) const { return QUrlQuery(*this).allQueryItemValues(key); } /+inline+/ void QUrl::removeQueryItem(ref const(QString) key) { QUrlQuery q(*this); q.removeQueryItem(key); setQuery(q); } /+inline+/ void QUrl::removeAllQueryItems(ref const(QString) key) { QUrlQuery q(*this); q.removeAllQueryItems(key); } /+inline+/ void QUrl::addEncodedQueryItem(ref const(QByteArray) key, ref const(QByteArray) value) { QUrlQuery q(*this); q.addQueryItem(fromEncodedComponent_helper(key), fromEncodedComponent_helper(value)); setQuery(q); } /+inline+/ bool QUrl::hasEncodedQueryItem(ref const(QByteArray) key) const { return QUrlQuery(*this).hasQueryItem(fromEncodedComponent_helper(key)); } /+inline+/ QByteArray QUrl::encodedQueryItemValue(ref const(QByteArray) key) const { return QUrlQuery(*this).queryItemValue(fromEncodedComponent_helper(key), QUrl::FullyEncoded).toLatin1(); } /+inline+/ void QUrl::removeEncodedQueryItem(ref const(QByteArray) key) { QUrlQuery q(*this); q.removeQueryItem(fromEncodedComponent_helper(key)); setQuery(q); } /+inline+/ void QUrl::removeAllEncodedQueryItems(ref const(QByteArray) key) { QUrlQuery q(*this); q.removeAllQueryItems(fromEncodedComponent_helper(key)); } /+inline+/ void QUrl::setEncodedQueryItems(const QList<QPair<QByteArray, QByteArray> > &qry) { QUrlQuery q; QList<QPair<QByteArray, QByteArray> >::ConstIterator it = qry.constBegin(); for ( ; it != qry.constEnd(); ++it) q.addQueryItem(fromEncodedComponent_helper(it->first), fromEncodedComponent_helper(it->second)); setQuery(q); } /+inline+/ QList<QPair<QByteArray, QByteArray> > QUrl::encodedQueryItems() const { QList<QPair<QString, QString> > items = QUrlQuery(*this).queryItems(QUrl::FullyEncoded); QList<QPair<QString, QString> >::ConstIterator it = items.constBegin(); QList<QPair<QByteArray, QByteArray> > result; result.reserve(items.size()); for ( ; it != items.constEnd(); ++it) result << qMakePair(it->first.toLatin1(), it->second.toLatin1()); return result; } /+inline+/ QList<QByteArray> QUrl::allEncodedQueryItemValues(ref const(QByteArray) key) const { QStringList items = QUrlQuery(*this).allQueryItemValues(fromEncodedComponent_helper(key), QUrl::FullyEncoded); QList<QByteArray> result; result.reserve(items.size()); Q_FOREACH (ref const(QString) item, items) result << item.toLatin1(); return result; } #endif #endif // QURLQUERY_H
D
module gtkD.gtk.TreeModelSort; public import gtkD.gtkc.gtktypes; private import gtkD.gtkc.gtk; private import gtkD.glib.ConstructionException; private import gtkD.glib.Str; private import gtkD.gtk.TreeModel; private import gtkD.gtk.TreeModelIF; private import gtkD.gtk.TreePath; private import gtkD.gtk.TreeIter; private import gtkD.gtk.TreeModelT; private import gtkD.gtk.TreeDragSourceT; private import gtkD.gtk.TreeDragSourceIF; private import gtkD.gtk.TreeSortableT; private import gtkD.gtk.TreeSortableIF; private import gtkD.gobject.ObjectG; /** * Description * The GtkTreeModelSort is a model which implements the GtkTreeSortable * interface. It does not hold any data itself, but rather is created with * a child model and proxies its data. It has identical column types to * this child model, and the changes in the child are propagated. The * primary purpose of this model is to provide a way to sort a different * model without modifying it. Note that the sort function used by * GtkTreeModelSort is not guaranteed to be stable. * The use of this is best demonstrated through an example. In the * following sample code we create two GtkTreeView widgets each with a * view of the same data. As the model is wrapped here by a * GtkTreeModelSort, the two GtkTreeViews can each sort their * view of the data without affecting the other. By contrast, if we * simply put the same model in each widget, then sorting the first would * sort the second. * Example 23. Using a GtkTreeModelSort * { * GtkTreeView *tree_view1; * GtkTreeView *tree_view2; * GtkTreeModel *sort_model1; * GtkTreeModel *sort_model2; * GtkTreeModel *child_model; * /+* get the child model +/ * child_model = get_my_model (); * /+* Create the first tree +/ * sort_model1 = gtk_tree_model_sort_new_with_model (child_model); * tree_view1 = gtk_tree_view_new_with_model (sort_model1); * /+* Create the second tree +/ * sort_model2 = gtk_tree_model_sort_new_with_model (child_model); * tree_view2 = gtk_tree_view_new_with_model (sort_model2); * /+* Now we can sort the two models independently +/ * gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (sort_model1), * COLUMN_1, GTK_SORT_ASCENDING); * gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (sort_model2), * COLUMN_1, GTK_SORT_DESCENDING); * } * To demonstrate how to access the underlying child model from the sort * model, the next example will be a callback for the GtkTreeSelection * "changed" signal. In this callback, we get a string from COLUMN_1 of * the model. We then modify the string, find the same selected row on the * child model, and change the row there. * Example 24. Accessing the child model of in a selection changed callback * void * selection_changed (GtkTreeSelection *selection, gpointer data) * { * GtkTreeModel *sort_model = NULL; * GtkTreeModel *child_model; * GtkTreeIter sort_iter; * GtkTreeIter child_iter; * char *some_data = NULL; * char *modified_data; * /+* Get the current selected row and the model. +/ * if (! gtk_tree_selection_get_selected (selection, * sort_model, * sort_iter)) * return; * /+* Look up the current value on the selected row and get a new value * * to change it to. * +/ * gtk_tree_model_get (GTK_TREE_MODEL (sort_model), sort_iter, * COLUMN_1, some_data, * -1); * modified_data = change_the_data (some_data); * g_free (some_data); * /+* Get an iterator on the child model, instead of the sort model. +/ * gtk_tree_model_sort_convert_iter_to_child_iter (GTK_TREE_MODEL_SORT (sort_model), * child_iter, * sort_iter); * /+* Get the child model and change the value of the row. In this * * example, the child model is a GtkListStore. It could be any other * * type of model, though. * +/ * child_model = gtk_tree_model_sort_get_model (GTK_TREE_MODEL_SORT (sort_model)); * gtk_list_store_set (GTK_LIST_STORE (child_model), child_iter, * COLUMN_1, modified_data, * -1); * g_free (modified_data); * } */ public class TreeModelSort : ObjectG, TreeModelIF, TreeDragSourceIF, TreeSortableIF { /** the main Gtk struct */ protected GtkTreeModelSort* gtkTreeModelSort; public GtkTreeModelSort* getTreeModelSortStruct(); /** the main Gtk struct as a void* */ protected override void* getStruct(); /** * Sets our main struct and passes it to the parent class */ public this (GtkTreeModelSort* gtkTreeModelSort); // add the TreeModel capabilities mixin TreeModelT!(GtkTreeModelSort); // add the TreeDragSource capabilities mixin TreeDragSourceT!(GtkTreeModelSort); // add the TreeSortable capabilities mixin TreeSortableT!(GtkTreeModelSort); /** */ /** * Creates a new GtkTreeModel, with child_model as the child model. * Params: * childModel = A GtkTreeModel * Returns: A new GtkTreeModel. */ public static TreeModelIF newWithModel(TreeModelIF childModel); /** * Returns the model the GtkTreeModelSort is sorting. * Returns: the "child model" being sorted */ public TreeModelIF getModel(); /** * Converts child_path to a path relative to tree_model_sort. That is, * child_path points to a path in the child model. The returned path will * point to the same row in the sorted model. If child_path isn't a valid * path on the child model, then NULL is returned. * Params: * childPath = A GtkTreePath to convert * Returns: A newly allocated GtkTreePath, or NULL */ public TreePath convertChildPathToPath(TreePath childPath); /** * Sets sort_iter to point to the row in tree_model_sort that corresponds to * the row pointed at by child_iter. If sort_iter was not set, FALSE * is returned. Note: a boolean is only returned since 2.14. * Params: * sortIter = An uninitialized GtkTreeIter. * childIter = A valid GtkTreeIter pointing to a row on the child model * Returns: TRUE, if sort_iter was set, i.e. if sort_iter is avalid iterator pointer to a visible row in the child model. */ public int convertChildIterToIter(TreeIter sortIter, TreeIter childIter); /** * Converts sorted_path to a path on the child model of tree_model_sort. * That is, sorted_path points to a location in tree_model_sort. The * returned path will point to the same location in the model not being * sorted. If sorted_path does not point to a location in the child model, * NULL is returned. * Params: * sortedPath = A GtkTreePath to convert * Returns: A newly allocated GtkTreePath, or NULL */ public TreePath convertPathToChildPath(TreePath sortedPath); /** * Sets child_iter to point to the row pointed to by sorted_iter. * Params: * childIter = An uninitialized GtkTreeIter * sortedIter = A valid GtkTreeIter pointing to a row on tree_model_sort. */ public void convertIterToChildIter(TreeIter childIter, TreeIter sortedIter); /** * This resets the default sort function to be in the 'unsorted' state. That * is, it is in the same order as the child model. It will re-sort the model * to be in the same order as the child model only if the GtkTreeModelSort * is in 'unsorted' state. */ public void resetDefaultSortFunc(); /** * This function should almost never be called. It clears the tree_model_sort * of any cached iterators that haven't been reffed with * gtk_tree_model_ref_node(). This might be useful if the child model being * sorted is static (and doesn't change often) and there has been a lot of * unreffed access to nodes. As a side effect of this function, all unreffed * iters will be invalid. */ public void clearCache(); /** * Warning * This function is slow. Only use it for debugging and/or testing purposes. * Checks if the given iter is a valid iter for this GtkTreeModelSort. * Since 2.2 * Params: * iter = A GtkTreeIter. * Returns: TRUE if the iter is valid, FALSE if the iter is invalid. */ public int iterIsValid(TreeIter iter); }
D
/home/adan/Projects/Rust/departments/target/rls/debug/deps/departments-73e60b71f396b3d0.rmeta: src/main.rs /home/adan/Projects/Rust/departments/target/rls/debug/deps/departments-73e60b71f396b3d0.d: src/main.rs src/main.rs:
D
import std.algorithm; import std.array; import std.conv; import std.stdio; const targetSum = 2020; int part1(int[] input) { for (int i = 0; i < input.length; i++) { for (int j = i + 1; j < input.length; j++) { if (input[i] + input[j] == targetSum) { return input[i] * input[j]; } } } return -1; } int part2(int[] input) { for (int i = 0; i < input.length; i++) { for (int j = i + 1; j < input.length; j++) { for (int k = j + 1; k < input.length; k++) { if (input[i] + input[j] + input[k] == targetSum) { return input[i] * input[j] * input[k]; } } } } return -1; } void main() { auto input = File("2020/01/input.txt").byLine().map!(line => line.to!int).array(); writeln("part 1: ", part1(input)); writeln("part 2: ", part2(input)); }
D
module fdb.tuple.segmented; union Segmented(V, S = ubyte, A = V) if (V.sizeof == A.sizeof) { enum count(V, S) = (V.sizeof + (S.sizeof - 1)) / S.sizeof; V value; A alt; S[count!(V, S)] segments; }
D
.hd vt$cel "send a clear to end-of-line sequence" 10/30/84 integer function vt$cel (dummy) integer dummy .sp Library: vswtlb (standard Subsystem library) .fs 'Vt$cel' is used to clear the line from where the cursor is currently positioned to the end of the line. The return value is OK if the line was cleared, and ERR otherwise. .im The VTH common block is checked for the existence of a clear to eol sequence. If one exists, it is written out and the function return is OK. If there is no sequence, the function return is ERR. .bu Not meant to be called by the normal user. .sa other vt?* routines (2) and (6)
D
; Copyright (C) 2008 The Android Open Source Project ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writing, software ; distributed under the License is distributed on an "AS IS" BASIS, ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ; See the License for the specific language governing permissions and ; limitations under the License. .source T_sget_boolean_8.java .class public dot.junit.opcodes.sget_boolean.d.T_sget_boolean_8 .super java/lang/Object .method public <init>()V .limit regs 1 invoke-direct {v0}, java/lang/Object/<init>()V return-void .end method .method public run()Z .limit regs 3 sget-boolean v1, dot.junit.opcodes.sget_boolean.d.T_sget_boolean_8.i1N Z return v1 .end method
D
import std.experimental.logger; class Spi { enum SlaveIndex { LEDStripe = 18, Lamps = 22, Switches = 23, Display = 24, Solenoids = 25 }; this() { warningf("Using MOCK SPI!"); } void select_only(SlaveIndex slave) { // TODO log } void deselect_all() { // TODO log } void send(ubyte[] mosi) { // TODO log } @nogc const(void[]) transfer_and_check(SlaveIndex slave, void[] input) { // TODO log buffer[0 .. input.length] = 0xff; //cast(ubyte[])input; return buffer[0 .. input.length]; } private: ubyte[40 * 8 * 16] buffer; }
D
# FIXED timer.obj: C:/Users/Contovasilis/Desktop/CPE329/utils/timer.c timer.obj: C:/Users/Contovasilis/Desktop/CPE329/utils/timer.h timer.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.7.LTS/include/stdint.h timer.obj: C:/ti/ccsv7/ccs_base/arm/include/msp.h timer.obj: C:/ti/ccsv7/ccs_base/arm/include/msp432p401r.h timer.obj: C:/ti/ccsv7/ccs_base/arm/include/msp_compatibility.h timer.obj: C:/ti/ccsv7/ccs_base/arm/include/CMSIS/cmsis_ccs.h timer.obj: C:/ti/ccsv7/ccs_base/arm/include/msp432p401r_classic.h timer.obj: C:/ti/ccsv7/ccs_base/arm/include/CMSIS/core_cm4.h timer.obj: C:/ti/ccsv7/ccs_base/arm/include/CMSIS/cmsis_compiler.h timer.obj: C:/ti/ccsv7/ccs_base/arm/include/system_msp432p401r.h C:/Users/Contovasilis/Desktop/CPE329/utils/timer.c: C:/Users/Contovasilis/Desktop/CPE329/utils/timer.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.7.LTS/include/stdint.h: C:/ti/ccsv7/ccs_base/arm/include/msp.h: C:/ti/ccsv7/ccs_base/arm/include/msp432p401r.h: C:/ti/ccsv7/ccs_base/arm/include/msp_compatibility.h: C:/ti/ccsv7/ccs_base/arm/include/CMSIS/cmsis_ccs.h: C:/ti/ccsv7/ccs_base/arm/include/msp432p401r_classic.h: C:/ti/ccsv7/ccs_base/arm/include/CMSIS/core_cm4.h: C:/ti/ccsv7/ccs_base/arm/include/CMSIS/cmsis_compiler.h: C:/ti/ccsv7/ccs_base/arm/include/system_msp432p401r.h:
D
/* Copyright (c) 2019-2020 Timur Gafarov Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ module dagon.game.presentrenderer; import dlib.core.memory; import dlib.core.ownership; import dagon.core.event; import dagon.core.time; import dagon.resource.scene; import dagon.render.pass; import dagon.render.deferred; import dagon.render.framebuffer; import dagon.postproc.presentpass; import dagon.game.renderer; class PresentRenderer: Renderer { Framebuffer _inputBuffer; PresentPass passPresent; this(EventManager eventManager, Framebuffer inputBuffer, Owner owner) { super(eventManager, owner); this._inputBuffer = inputBuffer; passPresent = New!PresentPass(pipeline); passPresent.view = view; passPresent.inputBuffer = inputBuffer; } void inputBuffer(Framebuffer b) { _inputBuffer = b; passPresent.inputBuffer = b; } Framebuffer inputBuffer() { return _inputBuffer; } }
D
module EncoShared.Core.EncoContext; import std.json; import std.datetime; import std.typecons; import EncoShared; enum DynamicLibrary { Assimp, SDL2, SDL2Image, SDL2TTF, Lua, } struct FileDropEvent { uint timestamp; string file; } class EncoContext { public static EncoContext instance; public string settings; public LuaState lua; public Trigger onClose = new Trigger; public Event!MouseWheelEvent onScroll = new Event!MouseWheelEvent; public Event!FileDropEvent onFileDrop = new Event!FileDropEvent; public Event!KeyDownEvent onKeyDown = new Event!KeyDownEvent; public Event!KeyUpEvent onKeyUp = new Event!KeyUpEvent; public Event!MouseMoveEvent onMouseMove = new Event!MouseMoveEvent; public Event!MouseButtonDownEvent onMouseButtonDown = new Event!MouseButtonDownEvent; public Event!MouseButtonUpEvent onMouseButtonUp = new Event!MouseButtonUpEvent; public Event!ControllerAddedEvent onControllerAdded = new Event!ControllerAddedEvent; public Event!ControllerRemovedEvent onControllerRemoved = new Event!ControllerRemovedEvent; public Event!ControllerAxisEvent onControllerAxis = new Event!ControllerAxisEvent; public Event!ControllerButtonDownEvent onControllerButtonDown = new Event!ControllerButtonDownEvent; public Event!ControllerButtonUpEvent onControllerButtonUp = new Event!ControllerButtonUpEvent; public @property double deltaTime() { return delta.to!("seconds", double); } public @property IRenderer renderer() { return view.renderer; } public @property IView view() { return m_currentView; } private IView[] m_views; private IView m_currentView; public DynamicLibrary[] loaded; private StopWatch sw; private TickDuration delta; public LuaFunction[][string] lua_events; public static void create(const DynamicLibrary[] libs) { assert(instance is null); instance = new EncoContext(libs); } private this(const DynamicLibrary[] libs) { useDynamicLibraries(libs); } public ~this() { } public void useDynamicLibraries(const DynamicLibrary[] libs) { loaded ~= libs; foreach (DynamicLibrary lib; libs) { switch (lib) { case DynamicLibrary.Assimp: DerelictASSIMP3.load(); break; case DynamicLibrary.SDL2: DerelictSDL2.load(); DerelictGL3.load(); SDL_Init(SDL_INIT_EVERYTHING); break; case DynamicLibrary.SDL2TTF: DerelictSDL2ttf.load(); if (TTF_Init() == -1) { Logger.errln("Error Initializing SDL_TTF: ", TTF_GetError()); } break; case DynamicLibrary.SDL2Image: DerelictSDL2Image.load(); break; case DynamicLibrary.Lua: lua = createLuaState(); break; default: break; } } } public void luaOn(string type, LuaFunction func) { type = type.toLower().trim(); if ((type in lua_events) is null) lua_events[type] = []; lua_events[type].length++; lua_events[type][lua_events[type].length - 1] = func; } public void luaEmit(A ...)(string type, A args) { type = type.toLower().trim(); if ((type in lua_events) !is null) foreach (ref LuaFunction func; lua_events[type]) { func(args); } } public void luaEmitSingle(string type) { type = type.toLower().trim(); if ((type in lua_events) !is null) foreach (ref LuaFunction func; lua_events[type]) { func(); } } public static void panic(LuaState lua, in char[] error) { string err = error.idup; LuaLogger.errln("in script ", lua.get!LuaTable("info").get!string("name"), "\n\t", err); } public LuaState createLuaState() { auto lua = new LuaState; lua.openLibs(); lua["print"] = &LuaLogger.writeln!LuaObject; lua["printerr"] = &LuaLogger.errln!LuaObject; lua["printwarn"] = &LuaLogger.warnln!LuaObject; lua["on"] = &luaOn; lua["emit"] = &luaEmit!LuaObject; lua["emite"] = &luaEmitSingle; lua = LuaExt.apply(lua); lua.setPanicHandler(&panic); return lua; } public void importSettings(string jsonStr) { settings = jsonStr; JSONValue json = parseJSON(jsonStr); foreach (ref IView view; m_views) { m_currentView = view; view.renderer.importSettings(json); view.importSettings(json); } } public void start() { foreach (ref IView view; m_views) { m_currentView = view; view.doCreate(); if (view.renderer !is null) view.renderer.postImportSettings(parseJSON(settings)); } } public void stop() { foreach (ref IView view; m_views) view.destroy(); } public void addView(TRenderer : IRenderer)(IView view) { view.renderer = new TRenderer(); m_views ~= view; } public void removeView(IView view) { m_views = remove!(v => v == view)(m_views); if (m_views.length == 0) { SDL_Event evt; evt.type = SDL_QUIT; SDL_PushEvent(&evt); } } public bool update() { sw.start(); foreach (ref IView view; m_views) { m_currentView = view; view.performUpdate(delta.to!("seconds", double)); } luaEmitSingle("update"); Mouse.setOffset(0, 0); SDL_Event event; while (SDL_PollEvent(&event)) { if (event.type == SDL_QUIT) { onClose(this); return false; } else { foreach (ref IView view; m_views) view.handleEvent(event); switch (event.type) { case SDL_DROPFILE: string file = fromStringz(event.drop.file).dup; SDL_free(event.drop.file); FileDropEvent e; e.timestamp = event.drop.timestamp; e.file = file; onFileDrop(this, e); break; case SDL_KEYDOWN: Keyboard.setKey(event.key.keysym.sym, true); KeyDownEvent e; e.timestamp = event.key.timestamp; e.window = event.key.windowID; e.state = event.key.state; e.repeat = event.key.repeat; e.keyID = event.key.keysym.sym; onKeyDown(this, e); break; case SDL_KEYUP: Keyboard.setKey(event.key.keysym.sym, false); KeyUpEvent e; e.timestamp = event.key.timestamp; e.window = event.key.windowID; e.state = event.key.state; e.repeat = event.key.repeat; e.keyID = event.key.keysym.sym; onKeyUp(this, e); break; case SDL_MOUSEWHEEL: MouseWheelEvent e; e.timestamp = event.wheel.timestamp; e.windowID = event.wheel.windowID; e.id = event.wheel.which; e.amount = i32vec2(event.wheel.x, event.wheel.y); e.flipped = event.wheel.direction == SDL_MOUSEWHEEL_FLIPPED; onScroll(this, e); break; case SDL_MOUSEMOTION: Mouse.setPosition(event.motion.x, event.motion.y); Mouse.addOffset(event.motion.xrel, event.motion.yrel); MouseMoveEvent e; e.position = i32vec2(event.motion.x, event.motion.y); e.offset = i32vec2(event.motion.xrel, event.motion.yrel); e.id = event.motion.which; e.windowID = event.motion.windowID; e.timestamp = event.motion.timestamp; onMouseMove(this, e); break; case SDL_MOUSEBUTTONDOWN: case SDL_MOUSEBUTTONUP: Mouse.setPosition(event.button.x, event.button.y); Mouse.setButton(event.button.button, event.button.state == SDL_PRESSED); if (event.button.state == SDL_PRESSED) { MouseButtonDownEvent e; e.buttonID = event.button.button; e.position = i32vec2(event.button.x, event.button.y); e.id = event.button.which; e.windowID = event.button.windowID; e.timestamp = event.button.timestamp; e.state = event.button.state; onMouseButtonDown(this, e); } else { MouseButtonUpEvent e; e.buttonID = event.button.button; e.position = i32vec2(event.button.x, event.button.y); e.id = event.button.which; e.windowID = event.button.windowID; e.timestamp = event.button.timestamp; e.state = event.button.state; onMouseButtonUp(this, e); } break; case SDL_CONTROLLERDEVICEADDED: ControllerAddedEvent e; e.timestamp = event.cdevice.timestamp; e.id = event.cdevice.which; onControllerAdded(this, e); Controller.setConnected(event.cdevice.which, true); SDL_GameControllerOpen(event.cdevice.which); break; case SDL_CONTROLLERDEVICEREMOVED: ControllerRemovedEvent e; e.timestamp = event.cdevice.timestamp; e.id = event.cdevice.which; onControllerRemoved(this, e); Controller.setConnected(event.cdevice.which, false); break; case SDL_CONTROLLERBUTTONDOWN: case SDL_CONTROLLERBUTTONUP: Controller.setKey(event.cbutton.which, event.cbutton.button, event.cbutton.state == SDL_PRESSED); if (event.cbutton.state == SDL_PRESSED) { ControllerButtonDownEvent e; e.timestamp = event.cbutton.timestamp; e.id = event.cbutton.which; e.buttonID = event.cbutton.button; e.state = event.cbutton.state; onControllerButtonDown(this, e); } else { ControllerButtonUpEvent e; e.timestamp = event.cbutton.timestamp; e.id = event.cbutton.which; e.buttonID = event.cbutton.button; e.state = event.cbutton.state; onControllerButtonUp(this, e); } break; case SDL_CONTROLLERAXISMOTION: short value = event.caxis.value; if (value < -32767) value = -32767; if ((event.caxis.axis == 0 || event.caxis.axis == 1) && abs(value) < 7849) { value = 0; } if ((event.caxis.axis == 2 || event.caxis.axis == 3) && abs(value) < 8689) { value = 0; } if ((event.caxis.axis == 4 || event.caxis.axis == 5) && abs(value) < 30) { value = 0; } Controller.setAxis(event.caxis.which, event.caxis.axis, value); ControllerAxisEvent e; e.timestamp = event.caxis.timestamp; e.id = event.caxis.which; e.axisID = event.caxis.axis; e.value = value; onControllerAxis(this, e); break; default: break; } } } return true; } public void draw() { foreach (ref IView view; m_views) { m_currentView = view; view.performDraw(); } } public void endUpdate() { sw.stop(); delta = sw.peek(); sw.reset(); } }
D
; Copyright (C) 2008 The Android Open Source Project ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writing, software ; distributed under the License is distributed on an "AS IS" BASIS, ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ; See the License for the specific language governing permissions and ; limitations under the License. .source T_rem_int_lit8_5.java .class public dot.junit.opcodes.rem_int_lit8.d.T_rem_int_lit8_5 .super java/lang/Object .method public <init>()V .limit regs 1 invoke-direct {v0}, java/lang/Object/<init>()V return-void .end method .method public run(I)I .limit regs 8 rem-int/lit8 v0, v7, -1 return v0 .end method
D
/* Copyright (c) 1996 Blake McBride All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "logfile.h" #include "hdlcache.h" defclass ExternalMenu : Menu; cmeth gLoadStr : LoadStr (char *name) { HMENU h; h = LoadMenu(gInstance(Application), name); if (!h) return NULL; return vNew(super, h); } cmeth gLoadResourceFromFile(char *file, unsigned id) { #ifdef WIN32 HMENU h = ResourceLoadMenu(file, MAKEINTRESOURCE(id)); object obj = NULL; if (h) { obj = vNew(super, h); gSetMenuFileName(obj, file); return obj; } else #endif vError(self, "gLoadResourceFromFile: Can't find resource %u in file %s", id, file); return NULL; } cmeth gLoad(unsigned id) { return LoadStr(self, (char *) MAKEINTRESOURCE(id)); }
D
module api.methods; import godot.d.string; import api.classes, api.enums, api.util; import asdf; import std.range; import std.algorithm.searching, std.algorithm.iteration; import std.path; import std.conv : text; import std.string; class GodotMethod { string name; string return_type; bool is_editor; bool is_noscript; bool is_const; bool is_virtual; bool has_varargs; bool is_from_script; GodotArgument[] arguments; void finalizeDeserialization(Asdf data) { foreach(i, ref a; arguments) { a.index = i; a.parent = this; } } @serializationIgnore: GodotClass parent; bool same(in GodotMethod other) const { return name == other.name && is_const == other.is_const; } string templateArgsString() const { string ret = ""; bool first = true; // track first arg to skip comma foreach(i, ref a; arguments) { if(a.type.acceptImplicit) { if(first) first = false; else ret ~= ", "; ret ~= text(a.type, "Arg", i); } } if(has_varargs) { if(!first) ret ~= ", "; ret ~= "VarArgs..."; } // template parens only if it actually is a template if(ret.length != 0) ret = text("(", ret, ")"); return ret; } string argsString() const { string ret = "("; bool hasDefault = false; foreach(i, ref a; arguments) { if(i != 0) ret ~= ", "; if(a.type.acceptImplicit) ret ~= text(a.type.dCallParamPrefix, a.type, "Arg", i); else ret ~= text(a.type.dCallParamPrefix, a.type.escapeType); ret ~= " " ~ a.name.escapeD; if(a.has_default_value || hasDefault) { ret ~= " = " ~ escapeDefault(a.type, a.default_value); } } if(has_varargs) { if(arguments.length != 0) ret ~= ", "; ret ~= "VarArgs varArgs"; } ret ~= ")"; return ret; } string bindingStructName() const { return "_GODOT_" ~ name.escapeD; } string bindingStruct() const { string ret; ret ~= "\tpackage(godot) static GodotMethod!("~return_type.escapeType; foreach(ai, const a; arguments) { ret ~= ", " ~ a.type.escapeType; } if(has_varargs) ret ~= ", GodotVarArgs"; ret ~= ") " ~ bindingStructName ~ ";\n"; // for accessing it ret ~= "\tpackage(godot) alias _GODOT_methodBindInfo(string name : \"" ~ name ~ "\") = " ~ bindingStructName ~ ";\n"; return ret; } string source() const { string ret; ret ~= "\t"; ret ~= return_type.escapeType~" "; // none of the types (Classes/Core/Primitive) are pointers in D // Classes are reference types; the others are passed by value. ret ~= name.snakeToCamel.escapeD; ret ~= templateArgsString; ret ~= argsString; if(is_const) ret ~= " const"; else if(name == "callv" && parent.name == "Object") ret ~= " const"; /// HACK ret ~= "\n\t{\n"; // implementation if(is_virtual || has_varargs) { ret ~= "\t\tArray _GODOT_args = Array.empty_array;\n"; foreach(const a; arguments) { ret ~= "\t\t_GODOT_args.append("~escapeD(a.name)~");\n"; } if(has_varargs) { ret ~= "\t\tforeach(vai, VA; VarArgs)\n\t\t{\n"; // TODO: check that VA can convert to Variant ret ~= "\t\t\t_GODOT_args.append(varArgs[vai]);\n"; ret ~= "\t\t}\n"; } ret ~= "\t\tString _GODOT_method_name = String(\""~name~"\");\n"; ret ~= "\t\t"; if(return_type != "void") ret ~= "return "; ret ~= "this.callv(_GODOT_method_name, _GODOT_args)"; if(return_type != "void" && return_type != "Variant") ret ~= ".as!("~return_type.escapeType~")"; ret ~= ";\n"; } // end varargs/virtual impl else { ret ~= "\t\t" ~ bindingStructName ~ ".bind(\"" ~ parent.internal_name ~ "\", \"" ~ name ~ "\");\n"; ret ~= "\t\t"; if(return_type != "void") ret ~= "return "; ret ~= "ptrcall!(" ~ return_type.escapeType ~ ")(" ~ bindingStructName ~ ", _godot_object"; foreach(ai, const a; arguments) { ret ~= ", "~a.name.escapeD; } ret ~= ");\n"; } // end normal method impl ret ~= "\t}\n"; return ret; } } struct GodotArgument { string name; string type; bool has_default_value; string default_value; @serializationIgnore: size_t index; GodotMethod parent; }
D
module ast.literal_string; import ast.base, ast.literals, ast.pointer, ast.arrays, ast.static_arrays, ast.stringparse, ast.tuples; class StringExpr : Expr, HasInfo, Dependency, ArrayLiteralExpr { string str; bool generated; this() { } this(string s, bool g = true) { str = s; generated = g; this(); } mixin defaultIterate!(); mixin defaultCollapse!(); string name_used; void selectName(LLVMFile lf) { if (!name_used) { name_used = lf.allocData(qformat("string_constant_", str.length), cast(ubyte[]) str ~ cast(ubyte) 0); } } Expr getPointer() { return reinterpret_cast(Single!(Pointer, Single!(Char)), fastalloc!(LateSymbol)(fastalloc!(Pointer)(fastalloc!(StaticArray)(Single!(Char), str.length + 1)), &emitDependency, &name_used)); } override { string getInfo() { return "'"~toString()[1 .. $-1]~"'"; } StringExpr dup() { return fastalloc!(StringExpr)(str, generated); } int getLength() { return str.length; } string toString() { return '"'~str.replace("\n"[], "\\n"[])~'"'; } // default action: place in string segment, load address on stack void emitLLVM(LLVMFile lf) { scope sa = new StaticArray(Single!(Char), str.length + 1); scope pt = new Pointer(sa); scope ls = new LateSymbol(pt, &emitDependency, &name_used); scope p = reinterpret_cast(Single!(Pointer, Single!(Char)), ls); // auto p = getPointer(); formTuple(lf, "i32", qformat(str.length), typeToLLVM(p.valueType()), save(lf, p)); } void emitDependency(LLVMFile lf) { if (!name_used) selectName(lf); else lf.allocData(name_used, cast(ubyte[]) str~ cast(ubyte) 0, false); // lf.markWeak(name_used); } // IType valueType() { return fastalloc!(StaticArray)(Single!(Char), str.length); } IType valueType() { return Single!(Array, Single!(Char)); } } } static this() { mkString = delegate Expr(string s) { return fastalloc!(StringExpr)(s); }; constantStringsCompare = delegate bool(Expr e1, Expr e2, bool* bp) { auto se1 = fastcast!(StringExpr) (e1), se2 = fastcast!(StringExpr) (e2); if (!se1 || !se2) return false; *bp = se1.str == se2.str; return true; }; } Object gotStringLiteralExpr(ref string text, ParseCb cont, ParseCb rest) { // "" handled in ast.stringex now. string st; if (text.gotString(st, "`"[], true)) { return fastalloc!(StringExpr)(st, false); } else return null; } mixin DefaultParser!(gotStringLiteralExpr, "tree.expr.literal_string"[], "551"[], "`"[]); import ast.casting, ast.fold, ast.math; static this() { implicits ~= delegate Expr(Expr ex) { if (resolveType(ex.valueType()) != Single!(Array, Single!(Char))) return null; ex = collapse(ex); if (fastcast!(StringExpr) (ex)) { return getArrayPtr(ex); } return null; }; implicits ~= delegate Expr(Expr ex) { if (resolveType(ex.valueType()) != Single!(Array, Single!(Char))) return null; if (auto str = fastcast!(StringExpr) (ex)) { if (!str.generated && str.str.length == 1) return reinterpret_cast(Single!(Char), fastalloc!(IntLiteralAsByte)(fastalloc!(IntExpr)(str.str[0]))); } return null; }; implicits ~= delegate Expr(Expr ex) { if (resolveType(ex.valueType()) != Single!(Char)) return null; return reinterpret_cast(Single!(Byte), ex); }; }
D
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/ConnectionPool/DatabaseConnectionPool.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DatabaseKeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DictionaryKeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/MemoryKeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseStringFindable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnectable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseQueryable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/URL+DatabaseName.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Database.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/ConfiguredDatabase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCacheSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/LogSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLog.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/Container+ConnectionPool.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPool.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+CachedConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+NewConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Service/DatabaseKitProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogger.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseIdentifier.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogHandler.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/PrintLogHandler.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/DatabaseKitError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Databases.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/ConnectionPool/DatabaseConnectionPool~partial.swiftmodule : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DatabaseKeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DictionaryKeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/MemoryKeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseStringFindable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnectable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseQueryable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/URL+DatabaseName.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Database.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/ConfiguredDatabase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCacheSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/LogSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLog.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/Container+ConnectionPool.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPool.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+CachedConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+NewConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Service/DatabaseKitProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogger.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseIdentifier.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogHandler.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/PrintLogHandler.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/DatabaseKitError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Databases.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/ConnectionPool/DatabaseConnectionPool~partial.swiftdoc : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DatabaseKeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DictionaryKeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/MemoryKeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseStringFindable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnectable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseQueryable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/URL+DatabaseName.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Database.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/ConfiguredDatabase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCacheSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/LogSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLog.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/Container+ConnectionPool.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPool.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+CachedConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+NewConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Service/DatabaseKitProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogger.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseIdentifier.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogHandler.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/PrintLogHandler.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/DatabaseKitError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Databases.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/ConnectionPool/DatabaseConnectionPool~partial.swiftsourceinfo : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DatabaseKeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DictionaryKeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/MemoryKeyedCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseStringFindable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnectable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseQueryable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/URL+DatabaseName.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Database.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/ConfiguredDatabase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCacheSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/LogSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLog.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/Container+ConnectionPool.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPool.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+CachedConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+NewConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Service/DatabaseKitProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogger.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseIdentifier.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogHandler.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Log/PrintLogHandler.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/DatabaseKitError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Databases.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
instance VLK_4146_Waffenknecht(Npc_Default) { name[0] = NAME_Waffenknecht; guild = GIL_MIL; id = 4146; voice = 6; flags = 0; npcType = NPCTYPE_OCAMBIENT; B_SetAttributesToChapter(self,1); fight_tactic = FAI_HUMAN_COWARD; EquipItem(self,ItMw_1h_Mil_Sword); B_CreateAmbientInv(self); B_SetNpcVisual(self,MALE,"Hum_Head_Bald",Face_N_NormalBart10,BodyTex_N,ITAR_MIL_L); Mdl_SetModelFatness(self,0); Mdl_ApplyOverlayMds(self,"Humans_Relaxed.mds"); B_GiveNpcTalents(self); B_SetFightSkills(self,30); daily_routine = Rtn_Start_4146; }; func void Rtn_Start_4146() { TA_Practice_Sword(8,0,23,0,"OC_TRAIN_04"); TA_Practice_Sword(23,0,8,0,"OC_TRAIN_04"); };
D
module isodi.tools.ui; import glui; import isodi.tools.tabs; import isodi.tools.themes; import isodi.tools.open_file; @safe: /// Create the UI. GluiFrame createUI(ref Tabs tabs) { GluiFrame mainSpace, drawingSpace, statusBar; GluiLabel statusRight; // Prepare the UI auto result = vframe( layout!(1, "fill"), // Tab bar tabs.getUI, // Main space mainSpace = hframe( layout!(1, "fill"), // Left sidebar (placeholder) vframe(), // Drawing space drawingSpace = frameHoverButton( layout!(1, "fill"), // Modal windows (placeholder) vspace(.layout!1), statusBar = hframe( layout!("fill", "end"), tooltipTheme, label(), // (placeholder) statusRight = label( layout!(1, "end"), ), ), () { import std.format : format; // Update the brush tabs.openProject.updateBrush(); const brush = tabs.openProject.brush; // If there isn't one, stop if (brush is null) return; // Update the status bar const position = brush.visualPosition; statusRight.text = format!"(%s, %s, %s)"(position.x, position.y, position.height.top); statusRight.updateSize(); // Glui note: unnecessary traversal of the whole tree, since the parent doesn't shrink }, ), // Right sidebar (placeholder) vframe(), ), ); () @trusted { // Save pointers tabs.frames.palette = cast(GluiFrame*) &mainSpace.children.childRef(0); tabs.frames.objects = cast(GluiFrame*) &mainSpace.children.childRef(2); tabs.frames.status = cast(GluiLabel*) &statusBar.children.childRef(0); tabs.frames.modals = cast(GluiSpace*) &drawingSpace.children.childRef(0); }(); return onionFrame( layout!"fill", emptyTheme, // Main window result, // File pickers // TODO consider removing, tabs.frames.modals should be enough and more extensible tabs.frames.fileOpener = filePicker( theme, "Load a file...", () => tabs.forwardFile(tabs.frames.fileOpener.value), ), // TODO tabs.frames.fileSaver, (placeholder below) vframe(), ); }
D
bool foo() { foreach (x; xs) {} return true; } static assert(foo());
D
/* * This default data file was taken from: * /home/Alex1/Downloads/07.23.1/trick_source/sim_services/include/executive.d * The header file is: * TRICK_HOME/trick_source/sim_services/include/executive.h * The type substitution is: * EXECUTIVE -> sys.exec */ /* $Id: S_source.c auto 2014/04/08 16:43:02 Alex1 */ /******************************************************************************* * * * Trick Simulation Environment Software * * * * Copyright (c) 1996,1997 LinCom Corporation, Houston, TX * * All rights reserved. * * * * Copyrighted by LinCom Corporation and proprietary to it. Any unauthorized * * use of Trick Software including source code, object code or executables is * * strictly prohibited and LinCom assumes no liability for such actions or * * results thereof. * * * * Trick Software has been developed under NASA Government Contracts and * * access to it may be granted for Government work by the following contact: * * * * Contact: Charles Gott, Branch Chief * * Simulation and Graphics Branch * * Automation, Robotics, & Simulation Division * * NASA, Johnson Space Center, Houston, TX * * * *******************************************************************************/ /* PURPOSE: (Trick runtime executive initialization data.) PROGRAMMERS: (((Robert W. Bailey) (LinCom Corp) (September 1990) (v1.0) (Initial Release))) */ EXEC_IN * EI = &sys.exec.in ; EXEC_OUT * EO = &sys.exec.out ; EXEC_WORK * EW = &sys.exec.work ; SIM_COM * ESC = &sys.exec.sim_com ; INPUT_PROCESSOR * EIP = &sys.exec.ip ; sys.exec.monte.in.activate = Off ; sys.exec.monte.in.use_input_data = Yes ; sys.exec.monte.in.input_files = alloc(16) ; sys.exec.monte.in.timeout = 120.0 ; sys.exec.monte.in.max_tries = 3 ; sys.exec.in.enable_var_server = Yes ; sys.exec.in.stripchart_sample_rate = 0.1 ; sys.exec.in.reduced_checkpoint = Yes ; sys.exec.in.safestore_checkpoint = No ; sys.exec.in.safestore_period = 1.0e37 ; sys.exec.in.time_tic = 0.00000000100000000 ;/* Resolution of simulation time */ sys.exec.in.rt_clock = Gettimeofday ; sys.exec.in.rt_clock_ratio = 1.000 ; sys.exec.ip.print_deprecated = Yes ; /* Do not check for realtime overrun / underruns */ sys.exec.in.rt_max_overrun_cnt = 100000000 ; sys.exec.in.rt_max_overrun_time {s} = 1.0e37 ; sys.exec.in.rt_software_frame {s} = 1.0e37 ; sys.exec.in.rt_nap = Yes ; sys.exec.in.rt_itimer_frame {s} = 1.0e37 ; /* Signal trap flags */ sys.exec.in.trap_sigsegv = On ; sys.exec.in.trap_sigbus = On ; sys.exec.in.trap_sigfpe = No ; /* FPE signals are normaly automatically traped and handled (default values substituted) by the OS - e.g. when dividing by 0 */ sys.exec.in.stack_trace = On ; sys.exec.work.rt_software_frame_saved {s} = 1.0 ; sys.exec.work.itimer_frame_cnt = -1 ; /* Must be -1 to account for first sync in itimer */ sys.exec.in.freeze_cycle {s} = 0.9999 ; /* Must be < 1.0 for setitimer() */ sys.exec.in.frame_log_max_samples = 1000 ; /* Sim control panel */ sys.exec.sim_com.panel_size = Panel_Size_Normal; sys.exec.sim_com.panel_x_pos = 0 ; sys.exec.sim_com.panel_y_pos = 0 ; sys.exec.sim_com.timeout = 60.0 ; sys.exec.sim_com.data_rec_status = On; sys.exec.sim_com.send_hs_device.port = 54; sys.exec.sim_com.user_freeze_time {s} = 1.0e20 ; sys.exec.sim_com.monitor_off = Off; /* Simulation time to Real Time ratio displayed on Sim control panel */ sys.exec.work.sim_rt_ratio = 0.0; /* Slave activation/deactivation */ sys.exec.in.activate_slave[0] = Yes, Yes, Yes, Yes, Yes, Yes, Yes, Yes, Yes, Yes, Yes, Yes, Yes, Yes, Yes, Yes; sys.exec.in.remote_shell = TRICK_SSH ; /* Synchronization master/slave control */ sys.exec.in.rt_sync_frame {s} = 1.0e37 ; sys.exec.in.sync_wait_limit {s} = 1.0e37 ; sys.exec.in.ms_sync = No_sync; sys.exec.in.sync_error_terminate = Yes; sys.exec.in.sync_port_offset = 1; sys.exec.work.next_sync_check {s} = 1.0e37; sys.exec.work.slave_sync_at_init = Yes; sys.exec.error_handler.report_level = TRICK_ERROR_SILENT; sys.exec.work.max_var_servers = 64 ; sys.exec.work.var_serve_broadcast = Yes ; sys.exec.work.main_multicast_address = "224.2.71.82" ; sys.exec.work.main_multicast_port = 8182 ; sys.exec.work.dr_cpu_number = -1 ; for ( int sync_cnt = 0 ; sync_cnt < 16 ; sync_cnt++ ) { sys.exec.work.sync[sync_cnt].error_handler = &sys.exec.error_handler ; } sys.exec.work.var_serve_listen_dev.error_handler = &sys.exec.error_handler ; sys.exec.monte.work.sync_listen_dev.error_handler = &sys.exec.error_handler ; sys.exec.monte.work.data_listen_dev.error_handler = &sys.exec.error_handler ; sys.exec.monte.work.sync_conn.error_handler = &sys.exec.error_handler ; sys.exec.monte.work.data_conn.error_handler = &sys.exec.error_handler ; sys.exec.sim_com.send_hs_device.error_handler = alloc(1) ; sys.exec.sim_com.send_hs_device.error_handler->report_level = TRICK_ERROR_SILENT ; sys.exec.work.save_send_hs_buffer = Yes ; sys.exec.work.save_var_server_msgs = Yes ; sys.exec.work.send_hs_buffer_size = 1000000 ; sys.exec.work.send_hs_buffering = DR_Thread_Buffer ; sys.exec.work.xtra_derivative = No; /* Set the default value to off for braodcasting events & malfs being fired */ sys.exec.work.event_malf_broadcast = Off;
D
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ module flow.engine.impl.cmd.AddEditorSourceExtraForModelCmd; import flow.common.interceptor.Command; import flow.common.interceptor.CommandContext; import flow.engine.impl.util.CommandContextUtil; /** * @author Tijs Rademakers */ class AddEditorSourceExtraForModelCmd : Command!Object { protected string modelId; protected byte[] bytes; this(string modelId, byte[] bytes) { this.modelId = modelId; this.bytes = bytes; } public Object execute(CommandContext commandContext) { CommandContextUtil.getModelEntityManager(commandContext).insertEditorSourceExtraForModel(modelId, bytes); return null; } }
D
;var __WASubContextStartTime__ = Date.now();(function(__exportGlobal__){var __clientsubcontext = true;var __safeway__;var Reporter;;var __libVersionInfo__ = {updateTime: '2019.1.18 18:47:21', version: '2.5.1'};var __wxConfig,__wxTest__=!1,wxRunOnDebug=function(e){e()};!function(e){__wxConfig=void 0!==e.__wxConfig?JSON.parse(JSON.stringify(e.__wxConfig)):{};var t,n="undefined"!=typeof __devtoolssubcontext&&__devtoolssubcontext,r="undefined"!=typeof __clientsubcontext&&__clientsubcontext,o=n||r,a=!0===__wxConfig.preload,i=!o&&!a,s=[],c="undefined"!=typeof document,u=function(e){i?void 0!==__wxConfig&&e(__wxConfig):"function"==typeof e&&s.push(e)},l=function(e){return e.onReady=u,e.preload=a,e.isReady=i,e.isSubContext=o,!e.platform&&c&&(0<=window.navigator.userAgent.toLowerCase().indexOf("devtools")?e.platform="devtools":0<=window.navigator.userAgent.toLowerCase().indexOf("android")?e.platform="android":e.platform="ios"),e.platform=(e.platform||"").toLowerCase(),e.platform=["ios","android","devtools"].indexOf(e.platform)<0?"ios":e.platform,e},d=function(){void 0===e.__wxConfig||i||(__wxConfig=JSON.parse(JSON.stringify(e.__wxConfig)),i=!0,(__wxConfig=l(__wxConfig)).onReadyStart=Date.now(),s.forEach(function(e){e(__wxConfig)}),__wxConfig.onReadyEnd=Date.now(),s=[])};!o&&a?(t=function(){WeixinJSBridge.on("onWxConfigReady",d)},"undefined"!=typeof WeixinJSBridge?t():document.addEventListener("WeixinJSBridgeReady",t,!1)):__wxConfig.onReadyStart=Date.now(),__wxConfig=l(__wxConfig),o&&!i&&(__wxConfig.__readyHandler=d)}(this);var wxConsole=function(e){var t=function(t){return function(){var e;console[t].apply(console,(e=arguments,Array.prototype.unshift.call(e,"[system]"),e))}},a={};return{log:t("log"),info:t("info"),warn:t("warn"),error:t("error"),debug:t("debug"),time:t("time"),timeEnd:t("timeEnd"),group:t("group"),groupEnd:t("groupEnd"),perf:function(e){a[e]=Date.now()},perfEnd:function(e,t,n){if(a[e]){n=n||{};var r=Date.now()-a[e],o=null;"warnIf"in n&&r>n.warnIf?o="warn":n.showAll&&(o="info"),o&&console[o]("[system]","[Perf]",t||e,"("+(Date.now()-a[e])+"ms)"),delete a[e]}else console.warn("[system]","[Perf] Unknown tag:",e,a[e])}}}();!function(r,o,Ge){"use strict";!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=104)}([function(e,t,n){var g=n(3),v=n(30),_=n(14),y=n(11),m=n(16),b="prototype",w=function(e,t,n){var r,o,a,i,s=e&w.F,c=e&w.G,u=e&w.S,l=e&w.P,d=e&w.B,f=c?g:u?g[t]||(g[t]={}):(g[t]||{})[b],p=c?v:v[t]||(v[t]={}),h=p[b]||(p[b]={});for(r in c&&(n=t),n)a=((o=!s&&f&&f[r]!==Ge)?f:n)[r],i=d&&o?m(a,g):l&&"function"==typeof a?m(Function.call,a):a,f&&y(f,r,a,e&w.U),p[r]!=a&&_(p,r,i),l&&h[r]!=a&&(h[r]=a)};g.core=v,w.F=1,w.G=2,w.S=4,w.P=8,w.B=16,w.W=32,w.U=64,w.R=128,e.exports=w},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof o&&(o=n)},function(e,t,n){var r=n(2);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var r=n(57)("wks"),o=n(31),a=n(3).Symbol,i="function"==typeof a;(e.exports=function(e){return r[e]||(r[e]=i&&a[e]||(i?a:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(4),o=n(79),a=n(24),i=Object.defineProperty;t.f=n(7)?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),o)try{return i(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(1)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(21),o=Math.min;e.exports=function(e){return 0<e?o(r(e),9007199254740991):0}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(0),o=n(1),i=n(26),s=/"/g,a=function(e,t,n,r){var o=String(i(e)),a="<"+t;return""!==n&&(a+=" "+n+'="'+String(r).replace(s,"&quot;")+'"'),a+">"+o+"</"+t+">"};e.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*o(function(){var e=""[t]('"');return e!==e.toLowerCase()||3<e.split('"').length}),"String",n)}},function(e,t,n){var a=n(3),i=n(14),s=n(9),c=n(31)("src"),r="toString",o=Function[r],u=(""+o).split(r);n(30).inspectSource=function(e){return o.call(e)},(e.exports=function(e,t,n,r){var o="function"==typeof n;o&&(s(n,"name")||i(n,"name",t)),e[t]!==n&&(o&&(s(n,c)||i(n,c,e[t]?""+e[t]:u.join(String(t)))),e===a?e[t]=n:r?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,r,function(){return"function"==typeof this&&this[c]||o.call(this)})},function(e,t,n){var r=n(42),o=n(26);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(26);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(6),o=n(25);e.exports=n(7)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(1);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){var a=n(17);e.exports=function(r,o,e){if(a(r),o===Ge)return r;switch(e){case 1:return function(e){return r.call(o,e)};case 2:return function(e,t){return r.call(o,e,t)};case 3:return function(e,t,n){return r.call(o,e,t,n)}}return function(){return r.apply(o,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var o=n(0),a=n(30),i=n(1);e.exports=function(e,t){var n=(a.Object||{})[e]||Object[e],r={};r[e]=t(n),o(o.S+o.F*i(function(){n(1)}),"Object",r)}},function(e,t,n){var m=n(16),b=n(42),w=n(13),S=n(8),r=n(201);e.exports=function(d,e){var f=1==d,p=2==d,h=3==d,g=4==d,v=6==d,_=5==d||v,y=e||r;return function(e,t,n){for(var r,o,a=w(e),i=b(a),s=m(t,n,3),c=S(i.length),u=0,l=f?y(e,c):p?y(e,0):Ge;u<c;u++)if((_||u in i)&&(o=s(r=i[u],u,a),d))if(f)l[u]=o;else if(o)switch(d){case 3:return!0;case 5:return r;case 6:return u;case 2:l.push(r)}else if(g)return!1;return v?-1:h||g?g:l}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?r:n)(e)}},function(e,t,n){var r=n(47),o=n(25),a=n(12),i=n(24),s=n(9),c=n(79),u=Object.getOwnPropertyDescriptor;t.f=n(7)?u:function(e,t){if(e=a(e),t=i(t,!0),c)try{return u(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){if(n(7)){var _=n(37),y=n(3),m=n(1),b=n(0),w=n(52),r=n(76),f=n(16),S=n(40),o=n(25),C=n(14),a=n(39),i=n(21),T=n(8),k=n(101),s=n(33),c=n(24),u=n(9),x=n(44),I=n(2),p=n(13),h=n(60),E=n(27),P=n(28),A=n(34).f,g=n(61),l=n(31),d=n(5),v=n(19),O=n(55),D=n(77),M=n(97),R=n(35),N=n(49),L=n(38),B=n(74),j=n(96),F=n(6),U=n(22),W=F.f,V=U.f,q=y.RangeError,K=y.TypeError,H=y.Uint8Array,z="ArrayBuffer",G="Shared"+z,Y="BYTES_PER_ELEMENT",J="prototype",X=Array[J],Q=r.ArrayBuffer,$=r.DataView,Z=v(0),ee=v(2),te=v(3),ne=v(4),re=v(5),oe=v(6),ae=O(!0),ie=O(!1),se=M.values,ce=M.keys,ue=M.entries,le=X.lastIndexOf,de=X.reduce,fe=X.reduceRight,pe=X.join,he=X.sort,ge=X.slice,ve=X.toString,_e=X.toLocaleString,ye=d("iterator"),me=d("toStringTag"),be=l("typed_constructor"),we=l("def_constructor"),Se=w.CONSTR,Ce=w.TYPED,Te=w.VIEW,ke="Wrong length!",xe=v(1,function(e,t){return Oe(D(e,e[we]),t)}),Ie=m(function(){return 1===new H(new Uint16Array([1]).buffer)[0]}),Ee=!!H&&!!H[J].set&&m(function(){new H(1).set({})}),Pe=function(e,t){var n=i(e);if(n<0||n%t)throw q("Wrong offset!");return n},Ae=function(e){if(I(e)&&Ce in e)return e;throw K(e+" is not a typed array!")},Oe=function(e,t){if(!(I(e)&&be in e))throw K("It is not a typed array constructor!");return new e(t)},De=function(e,t){return Me(D(e,e[we]),t)},Me=function(e,t){for(var n=0,r=t.length,o=Oe(e,r);n<r;)o[n]=t[n++];return o},Re=function(e,t,n){W(e,t,{get:function(){return this._d[n]}})},Ne=function(e){var t,n,r,o,a,i,s=p(e),c=arguments.length,u=1<c?arguments[1]:Ge,l=u!==Ge,d=g(s);if(d!=Ge&&!h(d)){for(i=d.call(s),r=[],t=0;!(a=i.next()).done;t++)r.push(a.value);s=r}for(l&&2<c&&(u=f(u,arguments[2],2)),t=0,n=T(s.length),o=Oe(this,n);t<n;t++)o[t]=l?u(s[t],t):s[t];return o},Le=function(){for(var e=0,t=arguments.length,n=Oe(this,t);e<t;)n[e]=arguments[e++];return n},Be=!!H&&m(function(){_e.call(new H(1))}),je=function(){return _e.apply(Be?ge.call(Ae(this)):Ae(this),arguments)},Fe={copyWithin:function(e,t){return j.call(Ae(this),e,t,2<arguments.length?arguments[2]:Ge)},every:function(e){return ne(Ae(this),e,1<arguments.length?arguments[1]:Ge)},fill:function(e){return B.apply(Ae(this),arguments)},filter:function(e){return De(this,ee(Ae(this),e,1<arguments.length?arguments[1]:Ge))},find:function(e){return re(Ae(this),e,1<arguments.length?arguments[1]:Ge)},findIndex:function(e){return oe(Ae(this),e,1<arguments.length?arguments[1]:Ge)},forEach:function(e){Z(Ae(this),e,1<arguments.length?arguments[1]:Ge)},indexOf:function(e){return ie(Ae(this),e,1<arguments.length?arguments[1]:Ge)},includes:function(e){return ae(Ae(this),e,1<arguments.length?arguments[1]:Ge)},join:function(e){return pe.apply(Ae(this),arguments)},lastIndexOf:function(e){return le.apply(Ae(this),arguments)},map:function(e){return xe(Ae(this),e,1<arguments.length?arguments[1]:Ge)},reduce:function(e){return de.apply(Ae(this),arguments)},reduceRight:function(e){return fe.apply(Ae(this),arguments)},reverse:function(){for(var e,t=this,n=Ae(t).length,r=Math.floor(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t},some:function(e){return te(Ae(this),e,1<arguments.length?arguments[1]:Ge)},sort:function(e){return he.call(Ae(this),e)},subarray:function(e,t){var n=Ae(this),r=n.length,o=s(e,r);return new(D(n,n[we]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,T((t===Ge?r:s(t,r))-o))}},Ue=function(e,t){return De(this,ge.call(Ae(this),e,t))},We=function(e){Ae(this);var t=Pe(arguments[1],1),n=this.length,r=p(e),o=T(r.length),a=0;if(n<o+t)throw q(ke);for(;a<o;)this[t+a]=r[a++]},Ve={entries:function(){return ue.call(Ae(this))},keys:function(){return ce.call(Ae(this))},values:function(){return se.call(Ae(this))}},qe=function(e,t){return I(e)&&e[Ce]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Ke=function(e,t){return qe(e,t=c(t,!0))?o(2,e[t]):V(e,t)},He=function(e,t,n){return!(qe(e,t=c(t,!0))&&I(n)&&u(n,"value"))||u(n,"get")||u(n,"set")||n.configurable||u(n,"writable")&&!n.writable||u(n,"enumerable")&&!n.enumerable?W(e,t,n):(e[t]=n.value,e)};Se||(U.f=Ke,F.f=He),b(b.S+b.F*!Se,"Object",{getOwnPropertyDescriptor:Ke,defineProperty:He}),m(function(){ve.call({})})&&(ve=_e=function(){return pe.call(this)});var ze=a({},Fe);a(ze,Ve),C(ze,ye,Ve.values),a(ze,{slice:Ue,set:We,constructor:function(){},toString:ve,toLocaleString:je}),Re(ze,"buffer","b"),Re(ze,"byteOffset","o"),Re(ze,"byteLength","l"),Re(ze,"length","e"),W(ze,me,{get:function(){return this[Ce]}}),e.exports=function(e,d,t,a){var f=e+((a=!!a)?"Clamped":"")+"Array",n="get"+e,i="set"+e,p=y[f],s=p||{},r=p&&P(p),o=!p||!w.ABV,c={},u=p&&p[J],h=function(e,o){W(e,o,{get:function(){return e=o,(t=this._d).v[n](e*d+t.o,Ie);var e,t},set:function(e){return t=o,n=e,r=this._d,a&&(n=(n=Math.round(n))<0?0:255<n?255:255&n),void r.v[i](t*d+r.o,n,Ie);var t,n,r},enumerable:!0})};o?(p=t(function(e,t,n,r){S(e,p,f,"_d");var o,a,i,s,c=0,u=0;if(I(t)){if(!(t instanceof Q||(s=x(t))==z||s==G))return Ce in t?Me(p,t):Ne.call(p,t);o=t,u=Pe(n,d);var l=t.byteLength;if(r===Ge){if(l%d)throw q(ke);if((a=l-u)<0)throw q(ke)}else if(l<(a=T(r)*d)+u)throw q(ke);i=a/d}else i=k(t),o=new Q(a=i*d);for(C(e,"_d",{b:o,o:u,l:a,e:i,v:new $(o)});c<i;)h(e,c++)}),u=p[J]=E(ze),C(u,"constructor",p)):m(function(){p(1)})&&m(function(){new p(-1)})&&N(function(e){new p,new p(null),new p(1.5),new p(e)},!0)||(p=t(function(e,t,n,r){var o;return S(e,p,f),I(t)?t instanceof Q||(o=x(t))==z||o==G?r!==Ge?new s(t,Pe(n,d),r):n!==Ge?new s(t,Pe(n,d)):new s(t):Ce in t?Me(p,t):Ne.call(p,t):new s(k(t))}),Z(r!==Function.prototype?A(s).concat(A(r)):A(s),function(e){e in p||C(p,e,s[e])}),p[J]=u,_||(u.constructor=p));var l=u[ye],g=!!l&&("values"==l.name||l.name==Ge),v=Ve.values;C(p,be,!0),C(u,Ce,f),C(u,Te,!0),C(u,we,p),(a?new p(1)[me]==f:me in u)||W(u,me,{get:function(){return f}}),c[f]=p,b(b.G+b.W+b.F*(p!=s),c),b(b.S,f,{BYTES_PER_ELEMENT:d}),b(b.S+b.F*m(function(){s.of.call(p,1)}),f,{from:Ne,of:Le}),Y in u||C(u,Y,d),b(b.P,f,Fe),L(f),b(b.P+b.F*Ee,f,{set:We}),b(b.P+b.F*!g,f,Ve),_||u.toString==ve||(u.toString=ve),b(b.P+b.F*m(function(){new p(1).slice()}),f,{slice:Ue}),b(b.P+b.F*(m(function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()})||!m(function(){u.toLocaleString.call([1,2])})),f,{toLocaleString:je}),R[f]=g?l:v,_||g||C(u,ye,v)}}else e.exports=function(){}},function(e,t,n){var o=n(2);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){if(e==Ge)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var o=r(4),a=r(81),i=r(58),s=r(56)("IE_PROTO"),c=function(){},u="prototype",l=function(){var e,t=r(53)("iframe"),n=i.length;for(t.style.display="none",r(59).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l[u][i[n]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(c[u]=o(e),n=new c,c[u]=null,n[s]=e):n=l(),t===Ge?n:a(n,t)}},function(e,t,n){var r=n(9),o=n(13),a=n(56)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t,n){var r=n(31)("meta"),o=n(2),a=n(9),i=n(6).f,s=0,c=Object.isExtensible||function(){return!0},u=!n(1)(function(){return c(Object.preventExtensions({}))}),l=function(e){i(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!c(e))return"F";if(!t)return"E";l(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!c(e))return!0;if(!t)return!1;l(e)}return e[r].w},onFreeze:function(e){return u&&d.NEED&&c(e)&&!a(e,r)&&l(e),e}}},function(e,t){var n=e.exports={version:"2.5.1"};"number"==typeof r&&(r=n)},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(e===Ge?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(80),o=n(58);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(21),o=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):a(e,t)}},function(e,t,n){var r=n(80),o=n(58).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){e.exports={}},function(e,t,n){var r=n(6).f,o=n(9),a=n(5)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t){e.exports=!1},function(e,t,n){var r=n(3),o=n(6),a=n(7),i=n(5)("species");e.exports=function(e){var t=r[e];a&&t&&!t[i]&&o.f(t,i,{configurable:!0,get:function(){return this}})}},function(e,t,n){var o=n(11);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||r!==Ge&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(2);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var r=n(20);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var f=n(16),p=n(82),h=n(60),g=n(4),v=n(8),_=n(61),y={},m={};(t=e.exports=function(e,t,n,r,o){var a,i,s,c,u=o?function(){return e}:_(e),l=f(n,r,t?2:1),d=0;if("function"!=typeof u)throw TypeError(e+" is not iterable!");if(h(u)){for(a=v(e.length);d<a;d++)if((c=t?l(g(i=e[d])[0],i[1]):l(e[d]))===y||c===m)return c}else for(s=u.call(e);!(i=s.next()).done;)if((c=p(s,l,i.value,t))===y||c===m)return c}).BREAK=y,t.RETURN=m},function(e,t,n){var o=n(20),a=n(5)("toStringTag"),i="Arguments"==o(function(){return arguments}());e.exports=function(e){var t,n,r;return e===Ge?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:i?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r=n(5)("unscopables"),o=Array.prototype;o[r]==Ge&&n(14)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var i=n(0),r=n(26),s=n(1),c=n(66),o="["+c+"]",a=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),l=function(e,t,n){var r={},o=s(function(){return!!c[e]()||"​…"!="​…"[e]()}),a=r[e]=o?t(d):c[e];n&&(r[n]=a),i(i.P+i.F*o,"String",r)},d=l.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(a,"")),2&t&&(e=e.replace(u,"")),e};e.exports=l},function(e,t,n){var a=n(5)("iterator"),i=!1;try{var r=[7][a]();r.return=function(){i=!0},Array.from(r,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var r=[7],o=r[a]();o.next=function(){return{done:n=!0}},r[a]=function(){return o},e(r)}catch(e){}return n}},function(e,t,n){var s=n(14),c=n(11),u=n(1),l=n(26),d=n(5);e.exports=function(t,e,n){var r=d(t),o=n(l,r,""[t]),a=o[0],i=o[1];u(function(){var e={};return e[r]=function(){return 7},7!=""[t](e)})&&(c(String.prototype,t,a),s(RegExp.prototype,r,2==e?function(e,t){return i.call(e,this,t)}:function(e){return i.call(e,this)}))}},function(e,t,n){var _=n(3),y=n(0),m=n(11),b=n(39),w=n(29),S=n(43),C=n(40),T=n(2),k=n(1),x=n(49),I=n(36),E=n(67);e.exports=function(r,e,t,n,o,a){var i=_[r],s=i,c=o?"set":"add",u=s&&s.prototype,l={},d=function(e){var n=u[e];m(u,e,"delete"==e?function(e){return!(a&&!T(e))&&n.call(this,0===e?0:e)}:"has"==e?function(e){return!(a&&!T(e))&&n.call(this,0===e?0:e)}:"get"==e?function(e){return a&&!T(e)?Ge:n.call(this,0===e?0:e)}:"add"==e?function(e){return n.call(this,0===e?0:e),this}:function(e,t){return n.call(this,0===e?0:e,t),this})};if("function"==typeof s&&(a||u.forEach&&!k(function(){(new s).entries().next()}))){var f=new s,p=f[c](a?{}:-0,1)!=f,h=k(function(){f.has(1)}),g=x(function(e){new s(e)}),v=!a&&k(function(){for(var e=new s,t=5;t--;)e[c](t,t);return!e.has(-0)});g||(((s=e(function(e,t){C(e,s,r);var n=E(new i,e,s);return t!=Ge&&S(t,o,n[c],n),n})).prototype=u).constructor=s),(h||v)&&(d("delete"),d("has"),o&&d("get")),(v||p)&&d(c),a&&u.clear&&delete u.clear}else s=n.getConstructor(e,r,o,c),b(s.prototype,t),w.NEED=!0;return I(s,r),l[r]=s,y(y.G+y.W+y.F*(s!=i),l),a||n.setStrong(s,r,o),s}},function(e,t,n){for(var r,o=n(3),a=n(14),i=n(31),s=i("typed_array"),c=i("view"),u=!(!o.ArrayBuffer||!o.DataView),l=u,d=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=o[f[d++]])?(a(r.prototype,s,!0),a(r.prototype,c,!0)):l=!1;e.exports={ABV:u,CONSTR:l,TYPED:s,VIEW:c}},function(e,t,n){var r=n(2),o=n(3).document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,n){var f=n(32),p=n(46),h=n(47),g=n(13),v=n(42),o=Object.assign;e.exports=!o||n(1)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=o({},e)[n]||Object.keys(o({},t)).join("")!=r})?function(e,t){for(var n=g(e),r=arguments.length,o=1,a=p.f,i=h.f;o<r;)for(var s,c=v(arguments[o++]),u=a?f(c).concat(a(c)):f(c),l=u.length,d=0;d<l;)i.call(c,s=u[d++])&&(n[s]=c[s]);return n}:o},function(e,t,n){var c=n(12),u=n(8),l=n(33);e.exports=function(s){return function(e,t,n){var r,o=c(e),a=u(o.length),i=l(n,a);if(s&&t!=t){for(;i<a;)if((r=o[i++])!=r)return!0}else for(;i<a;i++)if((s||i in o)&&o[i]===t)return s||i||0;return!s&&-1}}},function(e,t,n){var r=n(57)("keys"),o=n(31);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(3),o="__core-js_shared__",a=r[o]||(r[o]={});e.exports=function(e){return a[e]||(a[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(3).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(35),o=n(5)("iterator"),a=Array.prototype;e.exports=function(e){return e!==Ge&&(r.Array===e||a[o]===e)}},function(e,t,n){var r=n(44),o=n(5)("iterator"),a=n(35);e.exports=n(30).getIteratorMethod=function(e){if(e!=Ge)return e[o]||e["@@iterator"]||a[r(e)]}},function(e,t,n){var r=n(27),o=n(25),a=n(36),i={};n(14)(i,n(5)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(i,{next:o(1,n)}),a(e,t+" Iterator")}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(20);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,o){var n=o(2),r=o(4),a=function(e,t){if(r(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,n,r){try{(r=o(16)(Function.call,o(22).f(Object.prototype,"__proto__").set,2))(e,[]),n=!(e instanceof Array)}catch(e){n=!0}return function(e,t){return a(e,t),n?e.__proto__=t:r(e,t),e}}({},!1):Ge),check:a}},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){var a=n(2),i=n(65).set;e.exports=function(e,t,n){var r,o=t.constructor;return o!==n&&"function"==typeof o&&(r=o.prototype)!==n.prototype&&a(r)&&i&&i(e,r),e}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||22025.465794806718<n(10)||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:-1e-6<e&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){var m=n(37),b=n(0),w=n(11),S=n(14),C=n(9),T=n(35),k=n(62),x=n(36),I=n(28),E=n(5)("iterator"),P=!([].keys&&"next"in[].keys()),A="values",O=function(){return this};e.exports=function(e,t,n,r,o,a,i){k(n,t,r);var s,c,u,l=function(e){if(!P&&e in h)return h[e];switch(e){case"keys":case A:return function(){return new n(this,e)}}return function(){return new n(this,e)}},d=t+" Iterator",f=o==A,p=!1,h=e.prototype,g=h[E]||h["@@iterator"]||o&&h[o],v=g||l(o),_=o?f?l("entries"):v:Ge,y="Array"==t&&h.entries||g;if(y&&(u=I(y.call(new e)))!==Object.prototype&&u.next&&(x(u,d,!0),m||C(u,E)||S(u,E,O)),f&&g&&g.name!==A&&(p=!0,v=function(){return g.call(this)}),m&&!i||!P&&!p&&h[E]||S(h,E,v),T[t]=v,T[d]=O,o)if(s={values:f?v:l(A),keys:a?v:l("keys"),entries:_},i)for(c in s)c in h||w(h,c,s[c]);else b(b.P+b.F*(P||p),t,s);return s}},function(e,t,n){var r=n(72),o=n(26);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){var r=n(2),o=n(20),a=n(5)("match");e.exports=function(e){var t;return r(e)&&((t=e[a])!==Ge?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(5)("match");e.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r]=!1,!"/./"[t](n)}catch(e){}}return!0}},function(e,t,n){var s=n(13),c=n(33),u=n(8);e.exports=function(e){for(var t=s(this),n=u(t.length),r=arguments.length,o=c(1<r?arguments[1]:Ge,n),a=2<r?arguments[2]:Ge,i=a===Ge?n:c(a,n);o<i;)t[o++]=e;return t}},function(e,t,n){var r=n(4);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var r=n(3),o=n(7),a=n(37),i=n(52),s=n(14),c=n(39),u=n(1),l=n(40),d=n(21),f=n(8),p=n(101),h=n(34).f,g=n(6).f,v=n(74),_=n(36),y="ArrayBuffer",m="DataView",b="prototype",w="Wrong index!",S=r[y],C=r[m],T=r.Math,k=r.RangeError,x=r.Infinity,I=S,E=T.abs,P=T.pow,A=T.floor,O=T.log,D=T.LN2,M="byteLength",R="byteOffset",N=o?"_b":"buffer",L=o?"_l":M,B=o?"_o":R;function j(e,t,n){var r,o,a,i=Array(n),s=8*n-t-1,c=(1<<s)-1,u=c>>1,l=23===t?P(2,-24)-P(2,-77):0,d=0,f=e<0||0===e&&1/e<0?1:0;for((e=E(e))!=e||e===x?(o=e!=e?1:0,r=c):(r=A(O(e)/D),e*(a=P(2,-r))<1&&(r--,a*=2),2<=(e+=1<=r+u?l/a:l*P(2,1-u))*a&&(r++,a/=2),c<=r+u?(o=0,r=c):1<=r+u?(o=(e*a-1)*P(2,t),r+=u):(o=e*P(2,u-1)*P(2,t),r=0));8<=t;i[d++]=255&o,o/=256,t-=8);for(r=r<<t|o,s+=t;0<s;i[d++]=255&r,r/=256,s-=8);return i[--d]|=128*f,i}function F(e,t,n){var r,o=8*n-t-1,a=(1<<o)-1,i=a>>1,s=o-7,c=n-1,u=e[c--],l=127&u;for(u>>=7;0<s;l=256*l+e[c],c--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=t;0<s;r=256*r+e[c],c--,s-=8);if(0===l)l=1-i;else{if(l===a)return r?NaN:u?-x:x;r+=P(2,t),l-=i}return(u?-1:1)*r*P(2,l-t)}function U(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function W(e){return[255&e]}function V(e){return[255&e,e>>8&255]}function q(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function K(e){return j(e,52,8)}function H(e){return j(e,23,4)}function z(e,t,n){g(e[b],t,{get:function(){return this[n]}})}function G(e,t,n,r){var o=p(+n);if(o+t>e[L])throw k(w);var a=e[N]._b,i=o+e[B],s=a.slice(i,i+t);return r?s:s.reverse()}function Y(e,t,n,r,o,a){var i=p(+n);if(i+t>e[L])throw k(w);for(var s=e[N]._b,c=i+e[B],u=r(+o),l=0;l<t;l++)s[c+l]=u[a?l:t-l-1]}if(i.ABV){if(!u(function(){S(1)})||!u(function(){new S(-1)})||u(function(){return new S,new S(1.5),new S(NaN),S.name!=y})){for(var J,X=(S=function(e){return l(this,S),new I(p(e))})[b]=I[b],Q=h(I),$=0;Q.length>$;)(J=Q[$++])in S||s(S,J,I[J]);a||(X.constructor=S)}var Z=new C(new S(2)),ee=C[b].setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||c(C[b],{setInt8:function(e,t){ee.call(this,e,t<<24>>24)},setUint8:function(e,t){ee.call(this,e,t<<24>>24)}},!0)}else S=function(e){l(this,S,y);var t=p(e);this._b=v.call(Array(t),0),this[L]=t},C=function(e,t,n){l(this,C,m),l(e,S,m);var r=e[L],o=d(t);if(o<0||r<o)throw k("Wrong offset!");if(r<o+(n=n===Ge?r-o:f(n)))throw k("Wrong length!");this[N]=e,this[B]=o,this[L]=n},o&&(z(S,M,"_l"),z(C,"buffer","_b"),z(C,M,"_l"),z(C,R,"_o")),c(C[b],{getInt8:function(e){return G(this,1,e)[0]<<24>>24},getUint8:function(e){return G(this,1,e)[0]},getInt16:function(e){var t=G(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=G(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return U(G(this,4,e,arguments[1]))},getUint32:function(e){return U(G(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return F(G(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return F(G(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){Y(this,1,e,W,t)},setUint8:function(e,t){Y(this,1,e,W,t)},setInt16:function(e,t){Y(this,2,e,V,t,arguments[2])},setUint16:function(e,t){Y(this,2,e,V,t,arguments[2])},setInt32:function(e,t){Y(this,4,e,q,t,arguments[2])},setUint32:function(e,t){Y(this,4,e,q,t,arguments[2])},setFloat32:function(e,t){Y(this,4,e,H,t,arguments[2])},setFloat64:function(e,t){Y(this,8,e,K,t,arguments[2])}});_(S,y),_(C,m),s(C[b],i.VIEW,!0),t[y]=S,t[m]=C},function(e,t,n){var o=n(4),a=n(17),i=n(5)("species");e.exports=function(e,t){var n,r=o(e).constructor;return r===Ge||(n=o(r)[i])==Ge?t:a(n)}},function(e,t){var n=!0;try{new Proxy({},{});n=!1}catch(e){}var r=!1;void 0!==__wxConfig&&void 0!==__wxConfig.platform&&"ios"===__wxConfig.platform.toLowerCase()&&(r=!0),"undefined"!=typeof WeixinJSBridge&&WeixinJSBridge.invoke("getSystemInfo",{},function(e){e&&e.platform&&"ios"===e.platform.toLowerCase()&&(r=!0)}),e.exports={needCoreJS:n,isIOS:r}},function(e,t,n){e.exports=!n(7)&&!n(1)(function(){return 7!=Object.defineProperty(n(53)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(9),s=n(12),c=n(55)(!1),u=n(56)("IE_PROTO");e.exports=function(e,t){var n,r=s(e),o=0,a=[];for(n in r)n!=u&&i(r,n)&&a.push(n);for(;t.length>o;)i(r,n=t[o++])&&(~c(a,n)||a.push(n));return a}},function(e,t,n){var i=n(6),s=n(4),c=n(32);e.exports=n(7)?Object.defineProperties:function(e,t){s(e);for(var n,r=c(t),o=r.length,a=0;a<o;)i.f(e,n=r[a++],t[n]);return e}},function(e,t,n){var a=n(4);e.exports=function(t,e,n,r){try{return r?e(a(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw o!==Ge&&a(o.call(t)),e}}},function(e,t,n){t.f=n(5)},function(e,t,n){var r=n(12),o=n(34).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?function(e){try{return o(e)}catch(e){return i.slice()}}(e):o(r(e))}},function(e,t,n){var a=n(17),i=n(2),s=n(86),c=[].slice,u={};e.exports=Function.bind||function(t){var n=a(this),r=c.call(arguments,1),o=function(){var e=r.concat(c.call(arguments));return this instanceof o?function(e,t,n){if(!(t in u)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";u[t]=Function("F,a","return new F("+r.join(",")+")")}return u[t](e,n)}(n,e.length,e):s(n,e,t)};return i(n.prototype)&&(o.prototype=n.prototype),o}},function(e,t){e.exports=function(e,t,n){var r=n===Ge;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(3).parseInt,o=n(48).trim,a=n(66),i=/^[-+]?0[xX]/;e.exports=8!==r(a+"08")||22!==r(a+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(i.test(n)?16:10))}:r},function(e,t,n){var r=n(3).parseFloat,o=n(48).trim;e.exports=1/r(n(66)+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(20);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var o=n(21),a=n(26);e.exports=function(e){var t=String(a(this)),n="",r=o(e);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;0<r;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}},function(e,t,n){var r=n(2),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t){e.exports=Math.log1p||function(e){return-1e-8<(e=+e)&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){var c=n(21),u=n(26);e.exports=function(s){return function(e,t){var n,r,o=String(u(e)),a=c(t),i=o.length;return a<0||i<=a?s?"":Ge:(n=o.charCodeAt(a))<55296||56319<n||a+1===i||(r=o.charCodeAt(a+1))<56320||57343<r?s?o.charAt(a):n:s?o.slice(a,a+2):r-56320+(n-55296<<10)+65536}}},function(e,t,n){var r=n(6),o=n(25);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var l=n(17),d=n(13),f=n(42),p=n(8);e.exports=function(e,t,n,r,o){l(t);var a=d(e),i=f(a),s=p(a.length),c=o?s-1:0,u=o?-1:1;if(n<2)for(;;){if(c in i){r=i[c],c+=u;break}if(c+=u,o?c<0:s<=c)throw TypeError("Reduce of empty array with no initial value")}for(;o?0<=c:c<s;c+=u)c in i&&(r=t(r,i[c],c,a));return r}},function(e,t,n){var u=n(13),l=n(33),d=n(8);e.exports=[].copyWithin||function(e,t){var n=u(this),r=d(n.length),o=l(e,r),a=l(t,r),i=2<arguments.length?arguments[2]:Ge,s=Math.min((i===Ge?r:l(i,r))-a,r-o),c=1;for(a<o&&o<a+s&&(c=-1,a+=s-1,o+=s-1);0<s--;)a in n?n[o]=n[a]:delete n[o],o+=c,a+=c;return n}},function(e,t,n){var r=n(45),o=n(63),a=n(35),i=n(12);e.exports=n(70)(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=Ge,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){n(7)&&"g"!=/./g.flags&&n(6).f(RegExp.prototype,"flags",{configurable:!0,get:n(75)})},function(e,t,n){var i=n(6).f,s=n(27),c=n(39),u=n(16),l=n(40),d=n(43),r=n(70),o=n(63),a=n(38),f=n(7),p=n(29).fastKey,h=n(41),g=f?"_s":"size",v=function(e,t){var n,r=p(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,a,n,r){var o=e(function(e,t){l(e,o,a,"_i"),e._t=a,e._i=s(null),e._f=Ge,e._l=Ge,e[g]=0,t!=Ge&&d(t,n,e[r],e)});return c(o.prototype,{clear:function(){for(var e=h(this,a),t=e._i,n=e._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=Ge),delete t[n.i];e._f=e._l=Ge,e[g]=0},delete:function(e){var t=h(this,a),n=v(t,e);if(n){var r=n.n,o=n.p;delete t._i[n.i],n.r=!0,o&&(o.n=r),r&&(r.p=o),t._f==n&&(t._f=r),t._l==n&&(t._l=o),t[g]--}return!!n},forEach:function(e){h(this,a);for(var t,n=u(e,1<arguments.length?arguments[1]:Ge,3);t=t?t.n:this._f;)for(n(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!v(h(this,a),e)}}),f&&i(o.prototype,"size",{get:function(){return h(this,a)[g]}}),o},def:function(e,t,n){var r,o,a=v(e,t);return a?a.v=n:(e._l=a={i:o=p(t,!0),k:t,v:n,p:r=e._l,n:Ge,r:!1},e._f||(e._f=a),r&&(r.n=a),e[g]++,"F"!==o&&(e._i[o]=a)),e},getEntry:v,setStrong:function(e,n,t){r(e,n,function(e,t){this._t=h(e,n),this._k=t,this._l=Ge},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?o(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(e._t=Ge,o(1))},t?"entries":"values",!t,!0),a(n)}}},function(e,t,n){var i=n(39),s=n(29).getWeak,o=n(4),c=n(2),u=n(40),l=n(43),r=n(19),d=n(9),f=n(41),a=r(5),p=r(6),h=0,g=function(e){return e._l||(e._l=new v)},v=function(){this.a=[]},_=function(e,t){return a(e.a,function(e){return e[0]===t})};v.prototype={get:function(e){var t=_(this,e);if(t)return t[1]},has:function(e){return!!_(this,e)},set:function(e,t){var n=_(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(t){var e=p(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},e.exports={getConstructor:function(e,n,r,o){var a=e(function(e,t){u(e,a,n,"_i"),e._t=n,e._i=h++,t!=(e._l=Ge)&&l(t,r,e[o],e)});return i(a.prototype,{delete:function(e){if(!c(e))return!1;var t=s(e);return!0===t?g(f(this,n)).delete(e):t&&d(t,this._i)&&delete t[this._i]},has:function(e){if(!c(e))return!1;var t=s(e);return!0===t?g(f(this,n)).has(e):t&&d(t,this._i)}}),a},def:function(e,t,n){var r=s(o(t),!0);return!0===r?g(e).set(t,n):r[e._i]=n,e},ufstore:g}},function(e,t,n){var r=n(21),o=n(8);e.exports=function(e){if(e===Ge)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r,o,a,i=n(16),s=n(86),c=n(59),u=n(53),l=n(3),d=l.process,f=l.setImmediate,p=l.clearImmediate,h=l.MessageChannel,g=l.Dispatch,v=0,_={},y="onreadystatechange",m=function(){var e=+this;if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},b=function(e){m.call(e.data)};f&&p||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return _[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete _[e]},"process"==n(20)(d)?r=function(e){d.nextTick(i(m,e,1))}:g&&g.now?r=function(e){g.now(i(m,e,1))}:h?(a=(o=new h).port2,o.port1.onmessage=b,r=i(a.postMessage,a,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(e){l.postMessage(e+"","*")},l.addEventListener("message",b,!1)):r=y in u("script")?function(e){c.appendChild(u("script"))[y]=function(){c.removeChild(this),m.call(e)}}:function(e){setTimeout(i(m,e,1),0)}),e.exports={set:f,clear:p}},function(e,t,n){var o=n(17);function r(e){var n,r;this.promise=new e(function(e,t){if(n!==Ge||r!==Ge)throw TypeError("Bad Promise constructor");n=e,r=t}),this.resolve=o(n),this.reject=o(r)}e.exports.f=function(e){return new r(e)}},function(e,t,n){e.exports=n(105)},function(e,t,n){var r=n(78),o=r.needCoreJS||r.isIOS;o&&"undefined"!=typeof Promise&&(Promise=Ge),n(3),r.needCoreJS&&(n(106),n(109),n(112),n(113),n(114),n(115),n(116),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124),n(125),n(126),n(128),n(129),n(130),n(131),n(132),n(133),n(134),n(135),n(136),n(137),n(138),n(139),n(140),n(141),n(142),n(143),n(144),n(145),n(146),n(147),n(148),n(149),n(150),n(151),n(152),n(153),n(154),n(156),n(157),n(158),n(159),n(160),n(161),n(162),n(163),n(164),n(165),n(166),n(167),n(168),n(169),n(170),n(171),n(172),n(173),n(174),n(175),n(176),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(191),n(192),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(97),n(216),n(217),n(98),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(249),n(250),n(251)),o&&n(252)},function(e,t,n){var f=n(16),r=n(0),o=n(25),a=n(54),i=n(27),s=n(28),u=n(32),c=n(6),l=n(107),d=n(17),p=n(43),h=n(108),g=n(62),v=n(63),_=n(2),y=n(12),m=n(7),b=n(9),w=function(u){var l=1==u,d=4==u;return function(e,t,n){var r,o,a,i=f(t,n,3),s=y(e),c=l||7==u||2==u?new("function"==typeof this?this:k):Ge;for(r in s)if(b(s,r)&&(a=i(o=s[r],r,e),u))if(l)c[r]=a;else if(a)switch(u){case 2:c[r]=o;break;case 3:return!0;case 5:return o;case 6:return r;case 7:c[a[0]]=a[1]}else if(d)return!1;return 3==u||d?d:c}},S=w(6),C=function(t){return function(e){return new T(e,t)}},T=function(e,t){this._t=y(e),this._a=u(e),this._i=0,this._k=t};function k(e){var n=i(null);return e!=Ge&&(h(e)?p(e,!0,function(e,t){n[e]=t}):a(n,e)),n}g(T,"Dict",function(){var e,t=this,n=t._t,r=t._a,o=t._k;do{if(t._i>=r.length)return t._t=Ge,v(1)}while(!b(n,e=r[t._i++]));return v(0,"keys"==o?e:"values"==o?n[e]:[e,n[e]])}),k.prototype=null,r(r.G+r.F,{Dict:k}),r(r.S,"Dict",{keys:C("keys"),values:C("values"),entries:C("entries"),forEach:w(0),map:w(1),filter:w(2),some:w(3),every:w(4),find:w(5),findKey:S,mapPairs:w(7),reduce:function(e,t,n){d(t);var r,o,a=y(e),i=u(a),s=i.length,c=0;if(arguments.length<3){if(!s)throw TypeError("Reduce of empty object with no initial value");r=a[i[c++]]}else r=Object(n);for(;c<s;)b(a,o=i[c++])&&(r=t(r,a[o],o,e));return r},keyOf:l,includes:function(e,t){return(t==t?l(e,t):S(e,function(e){return e!=e}))!==Ge},has:b,get:function(e,t){if(b(e,t))return e[t]},set:function(e,t,n){return m&&t in Object?c.f(e,t,o(0,n)):e[t]=n,e},isDict:function(e){return _(e)&&s(e)===k.prototype}})},function(e,t,n){var s=n(32),c=n(12);e.exports=function(e,t){for(var n,r=c(e),o=s(r),a=o.length,i=0;i<a;)if(r[n=o[i++]]===t)return n}},function(e,t,n){var r=n(44),o=n(5)("iterator"),a=n(35);e.exports=n(30).isIterable=function(e){var t=Object(e);return t[o]!==Ge||"@@iterator"in t||a.hasOwnProperty(r(t))}},function(e,t,n){var r=n(3),i=n(9),o=n(7),a=n(0),s=n(11),c=n(29).KEY,u=n(1),l=n(57),d=n(36),f=n(31),p=n(5),h=n(83),g=n(110),v=n(111),_=n(64),y=n(4),m=n(12),b=n(24),w=n(25),S=n(27),C=n(84),T=n(22),k=n(6),x=n(32),I=T.f,E=k.f,P=C.f,A=r.Symbol,O=r.JSON,D=O&&O.stringify,M="prototype",R=p("_hidden"),N=p("toPrimitive"),L={}.propertyIsEnumerable,B=l("symbol-registry"),j=l("symbols"),F=l("op-symbols"),U=Object[M],W="function"==typeof A,V=r.QObject,q=!V||!V[M]||!V[M].findChild,K=o&&u(function(){return 7!=S(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=I(U,t);r&&delete U[t],E(e,t,n),r&&e!==U&&E(U,t,r)}:E,H=function(e){var t=j[e]=S(A[M]);return t._k=e,t},z=W&&"symbol"==typeof A.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof A},G=function(e,t,n){return e===U&&G(F,t,n),y(e),t=b(t,!0),y(n),i(j,t)?(n.enumerable?(i(e,R)&&e[R][t]&&(e[R][t]=!1),n=S(n,{enumerable:w(0,!1)})):(i(e,R)||E(e,R,w(1,{})),e[R][t]=!0),K(e,t,n)):E(e,t,n)},Y=function(e,t){y(e);for(var n,r=v(t=m(t)),o=0,a=r.length;o<a;)G(e,n=r[o++],t[n]);return e},J=function(e){var t=L.call(this,e=b(e,!0));return!(this===U&&i(j,e)&&!i(F,e))&&(!(t||!i(this,e)||!i(j,e)||i(this,R)&&this[R][e])||t)},X=function(e,t){if(e=m(e),t=b(t,!0),e!==U||!i(j,t)||i(F,t)){var n=I(e,t);return!n||!i(j,t)||i(e,R)&&e[R][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=P(m(e)),r=[],o=0;n.length>o;)i(j,t=n[o++])||t==R||t==c||r.push(t);return r},$=function(e){for(var t,n=e===U,r=P(n?F:m(e)),o=[],a=0;r.length>a;)!i(j,t=r[a++])||n&&!i(U,t)||o.push(j[t]);return o};W||(s((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var t=f(0<arguments.length?arguments[0]:Ge),n=function(e){this===U&&n.call(F,e),i(this,R)&&i(this[R],t)&&(this[R][t]=!1),K(this,t,w(1,e))};return o&&q&&K(U,t,{configurable:!0,set:n}),H(t)})[M],"toString",function(){return this._k}),T.f=X,k.f=G,n(34).f=C.f=Q,n(47).f=J,n(46).f=$,o&&!n(37)&&s(U,"propertyIsEnumerable",J,!0),h.f=function(e){return H(p(e))}),a(a.G+a.W+a.F*!W,{Symbol:A});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Z.length>ee;)p(Z[ee++]);for(var te=x(p.store),ne=0;te.length>ne;)g(te[ne++]);a(a.S+a.F*!W,"Symbol",{for:function(e){return i(B,e+="")?B[e]:B[e]=A(e)},keyFor:function(e){if(!z(e))throw TypeError(e+" is not a symbol!");for(var t in B)if(B[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!W,"Object",{create:function(e,t){return t===Ge?S(e):Y(S(e),t)},defineProperty:G,defineProperties:Y,getOwnPropertyDescriptor:X,getOwnPropertyNames:Q,getOwnPropertySymbols:$}),O&&a(a.S+a.F*(!W||u(function(){var e=A();return"[null]"!=D([e])||"{}"!=D({a:e})||"{}"!=D(Object(e))})),"JSON",{stringify:function(e){if(e!==Ge&&!z(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return"function"==typeof(t=r[1])&&(n=t),!n&&_(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!z(t))return t}),r[1]=t,D.apply(O,r)}}}),A[M][N]||n(14)(A[M],N,A[M].valueOf),d(A,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(3),o=n(30),a=n(37),i=n(83),s=n(6).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=a?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:i.f(e)})}},function(e,t,n){var s=n(32),c=n(46),u=n(47);e.exports=function(e){var t=s(e),n=c.f;if(n)for(var r,o=n(e),a=u.f,i=0;o.length>i;)a.call(e,r=o[i++])&&t.push(r);return t}},function(e,t,n){var r=n(0);r(r.S,"Object",{create:n(27)})},function(e,t,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperty:n(6).f})},function(e,t,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperties:n(81)})},function(e,t,n){var r=n(12),o=n(22).f;n(18)("getOwnPropertyDescriptor",function(){return function(e,t){return o(r(e),t)}})},function(e,t,n){var r=n(13),o=n(28);n(18)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(13),o=n(32);n(18)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){n(18)("getOwnPropertyNames",function(){return n(84).f})},function(e,t,n){var r=n(2),o=n(29).onFreeze;n(18)("freeze",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(e,t,n){var r=n(2),o=n(29).onFreeze;n(18)("seal",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(e,t,n){var r=n(2),o=n(29).onFreeze;n(18)("preventExtensions",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(e,t,n){var r=n(2);n(18)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(e,t,n){var r=n(2);n(18)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(e,t,n){var r=n(2);n(18)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(e,t,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(54)})},function(e,t,n){var r=n(0);r(r.S,"Object",{is:n(127)})},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(65).set})},function(e,t,n){var r=n(44),o={};o[n(5)("toStringTag")]="z",o+""!="[object z]"&&n(11)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(0);r(r.P,"Function",{bind:n(85)})},function(e,t,n){var r=n(6).f,o=Function.prototype,a=/^\s*function ([^ (]*)/;"name"in o||n(7)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},function(e,t,n){var r=n(2),o=n(28),a=n(5)("hasInstance"),i=Function.prototype;a in i||n(6).f(i,a,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(0),o=n(87);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(e,t,n){var r=n(0),o=n(88);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(e,t,n){var r=n(3),o=n(9),a=n(20),i=n(67),l=n(24),s=n(1),c=n(34).f,u=n(22).f,d=n(6).f,f=n(48).trim,p="Number",h=r[p],g=h,v=h.prototype,_=a(n(27)(v))==p,y="trim"in String.prototype,m=function(e){var t=l(e,!1);if("string"==typeof t&&2<t.length){var n,r,o,a=(t=y?t.trim():f(t,3)).charCodeAt(0);if(43===a||45===a){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===a){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var i,s=t.slice(2),c=0,u=s.length;c<u;c++)if((i=s.charCodeAt(c))<48||o<i)return NaN;return parseInt(s,r)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof h&&(_?s(function(){v.valueOf.call(n)}):a(n)!=p)?i(new g(m(t)),n,h):m(t)};for(var b,w=n(7)?c(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;w.length>S;S++)o(g,b=w[S])&&!o(h,b)&&d(h,b,u(g,b));(h.prototype=v).constructor=h,n(11)(r,p,h)}},function(e,t,n){var r=n(0),u=n(21),l=n(89),d=n(90),o=1..toFixed,a=Math.floor,i=[0,0,0,0,0,0],f="Number.toFixed: incorrect invocation!",p=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*i[n],i[n]=r%1e7,r=a(r/1e7)},h=function(e){for(var t=6,n=0;0<=--t;)n+=i[t],i[t]=a(n/e),n=n%e*1e7},g=function(){for(var e=6,t="";0<=--e;)if(""!==t||0===e||0!==i[e]){var n=String(i[e]);t=""===t?n:t+d.call("0",7-n.length)+n}return t},v=function(e,t,n){return 0===t?n:t%2==1?v(e,t-1,n*e):v(e*e,t/2,n)};r(r.P+r.F*(!!o&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(1)(function(){o.call({})})),"Number",{toFixed:function(e){var t,n,r,o,a=l(this,f),i=u(e),s="",c="0";if(i<0||20<i)throw RangeError(f);if(a!=a)return"NaN";if(a<=-1e21||1e21<=a)return String(a);if(a<0&&(s="-",a=-a),1e-21<a)if(n=(t=function(e){for(var t=0,n=e;4096<=n;)t+=12,n/=4096;for(;2<=n;)t+=1,n/=2;return t}(a*v(2,69,1))-69)<0?a*v(2,-t,1):a/v(2,t,1),n*=4503599627370496,0<(t=52-t)){for(p(0,n),r=i;7<=r;)p(1e7,0),r-=7;for(p(v(10,r,1),0),r=t-1;23<=r;)h(1<<23),r-=23;h(1<<r),p(1,1),h(2),c=g()}else p(0,n),p(1<<-t,0),c=g()+d.call("0",i);return c=0<i?s+((o=c.length)<=i?"0."+d.call("0",i-o)+c:c.slice(0,o-i)+"."+c.slice(o-i)):s+c}})},function(e,t,n){var r=n(0),o=n(1),a=n(89),i=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==i.call(1,Ge)})||!o(function(){i.call({})})),"Number",{toPrecision:function(e){var t=a(this,"Number#toPrecision: incorrect invocation!");return e===Ge?i.call(t):i.call(t,e)}})},function(e,t,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(0),o=n(3).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(0);r(r.S,"Number",{isInteger:n(91)})},function(e,t,n){var r=n(0);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(0),o=n(91),a=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return o(e)&&a(e)<=9007199254740991}})},function(e,t,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(0),o=n(88);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(e,t,n){var r=n(0),o=n(87);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(e,t,n){var r=n(0),o=n(92),a=Math.sqrt,i=Math.acosh;r(r.S+r.F*!(i&&710==Math.floor(i(Number.MAX_VALUE))&&i(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:94906265.62425156<e?Math.log(e)+Math.LN2:o(e-1+a(e-1)*a(e+1))}})},function(e,t,n){var r=n(0),o=Math.asinh;r(r.S+r.F*!(o&&0<1/o(0)),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},function(e,t,n){var r=n(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(0),o=n(68);r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(0);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(0),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},function(e,t,n){var r=n(0),o=n(69);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(e,t,n){var r=n(0);r(r.S,"Math",{fround:n(155)})},function(e,t,n){var a=n(68),r=Math.pow,i=r(2,-52),s=r(2,-23),c=r(2,127)*(2-s),u=r(2,-126);e.exports=Math.fround||function(e){var t,n,r=Math.abs(e),o=a(e);return r<u?o*(r/u/s+1/i-1/i)*u*s:c<(n=(t=(1+s/i)*r)-(t-r))||n!=n?o*(1/0):o*n}},function(e,t,n){var r=n(0),c=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,o=0,a=0,i=arguments.length,s=0;a<i;)s<(n=c(arguments[a++]))?(o=o*(r=s/n)*r+1,s=n):o+=0<n?(r=n/s)*r:n;return s===1/0?1/0:s*Math.sqrt(o)}})},function(e,t,n){var r=n(0),o=Math.imul;r(r.S+r.F*n(1)(function(){return-5!=o(4294967295,5)||2!=o.length}),"Math",{imul:function(e,t){var n=65535,r=+e,o=+t,a=n&r,i=n&o;return 0|a*i+((n&r>>>16)*i+a*(n&o>>>16)<<16>>>0)}})},function(e,t,n){var r=n(0);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(0);r(r.S,"Math",{log1p:n(92)})},function(e,t,n){var r=n(0);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(0);r(r.S,"Math",{sign:n(68)})},function(e,t,n){var r=n(0),o=n(69),a=Math.exp;r(r.S+r.F*n(1)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(a(e-1)-a(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(0),o=n(69),a=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(a(e)+a(-e))}})},function(e,t,n){var r=n(0);r(r.S,"Math",{trunc:function(e){return(0<e?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(0),a=n(33),i=String.fromCharCode,o=String.fromCodePoint;r(r.S+r.F*(!!o&&1!=o.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,o=0;o<r;){if(t=+arguments[o++],a(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(0),i=n(12),s=n(8);r(r.S,"String",{raw:function(e){for(var t=i(e.raw),n=s(t.length),r=arguments.length,o=[],a=0;a<n;)o.push(String(t[a++])),a<r&&o.push(String(arguments[a]));return o.join("")}})},function(e,t,n){n(48)("trim",function(e){return function(){return e(this,3)}})},function(e,t,n){var r=n(93)(!0);n(70)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:Ge,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(0),o=n(93)(!1);r(r.P,"String",{codePointAt:function(e){return o(this,e)}})},function(e,t,n){var r=n(0),i=n(8),s=n(71),c="endsWith",u=""[c];r(r.P+r.F*n(73)(c),"String",{endsWith:function(e){var t=s(this,e,c),n=1<arguments.length?arguments[1]:Ge,r=i(t.length),o=n===Ge?r:Math.min(i(n),r),a=String(e);return u?u.call(t,a,o):t.slice(o-a.length,o)===a}})},function(e,t,n){var r=n(0),o=n(71),a="includes";r(r.P+r.F*n(73)(a),"String",{includes:function(e){return!!~o(this,e,a).indexOf(e,1<arguments.length?arguments[1]:Ge)}})},function(e,t,n){var r=n(0);r(r.P,"String",{repeat:n(90)})},function(e,t,n){var r=n(0),o=n(8),a=n(71),i="startsWith",s=""[i];r(r.P+r.F*n(73)(i),"String",{startsWith:function(e){var t=a(this,e,i),n=o(Math.min(1<arguments.length?arguments[1]:Ge,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){n(10)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(e,t,n){n(10)("big",function(e){return function(){return e(this,"big","","")}})},function(e,t,n){n(10)("blink",function(e){return function(){return e(this,"blink","","")}})},function(e,t,n){n(10)("bold",function(e){return function(){return e(this,"b","","")}})},function(e,t,n){n(10)("fixed",function(e){return function(){return e(this,"tt","","")}})},function(e,t,n){n(10)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(e,t,n){n(10)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(e,t,n){n(10)("italics",function(e){return function(){return e(this,"i","","")}})},function(e,t,n){n(10)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(e,t,n){n(10)("small",function(e){return function(){return e(this,"small","","")}})},function(e,t,n){n(10)("strike",function(e){return function(){return e(this,"strike","","")}})},function(e,t,n){n(10)("sub",function(e){return function(){return e(this,"sub","","")}})},function(e,t,n){n(10)("sup",function(e){return function(){return e(this,"sup","","")}})},function(e,t,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){var r=n(0),o=n(13),a=n(24);r(r.P+r.F*n(1)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=o(this),n=a(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(0),o=n(190);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(e,t,n){var r=n(1),o=Date.prototype.getTime,a=Date.prototype.toISOString,i=function(e){return 9<e?e:"0"+e};e.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=a.call(new Date(-5e13-1))})||!r(function(){a.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":9999<t?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+i(e.getUTCMonth()+1)+"-"+i(e.getUTCDate())+"T"+i(e.getUTCHours())+":"+i(e.getUTCMinutes())+":"+i(e.getUTCSeconds())+"."+(99<n?n:"0"+i(n))+"Z"}:a},function(e,t,n){var r=Date.prototype,o="Invalid Date",a="toString",i=r[a],s=r.getTime;new Date(NaN)+""!=o&&n(11)(r,a,function(){var e=s.call(this);return e==e?i.call(this):o})},function(e,t,n){var r=n(5)("toPrimitive"),o=Date.prototype;r in o||n(14)(o,r,n(193))},function(e,t,n){var r=n(4),o=n(24);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!=e)}},function(e,t,n){var r=n(0);r(r.S,"Array",{isArray:n(64)})},function(e,t,n){var f=n(16),r=n(0),p=n(13),h=n(82),g=n(60),v=n(8),_=n(94),y=n(61);r(r.S+r.F*!n(49)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,o,a=p(e),i="function"==typeof this?this:Array,s=arguments.length,c=1<s?arguments[1]:Ge,u=c!==Ge,l=0,d=y(a);if(u&&(c=f(c,2<s?arguments[2]:Ge,2)),d==Ge||i==Array&&g(d))for(n=new i(t=v(a.length));l<t;l++)_(n,l,u?c(a[l],l):a[l]);else for(o=d.call(a),n=new i;!(r=o.next()).done;l++)_(n,l,u?h(o,c,[r.value,l],!0):r.value);return n.length=l,n}})},function(e,t,n){var r=n(0),o=n(94);r(r.S+r.F*n(1)(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);e<t;)o(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){var r=n(0),o=n(12),a=[].join;r(r.P+r.F*(n(42)!=Object||!n(15)(a)),"Array",{join:function(e){return a.call(o(this),e===Ge?",":e)}})},function(e,t,n){var r=n(0),o=n(59),u=n(20),l=n(33),d=n(8),f=[].slice;r(r.P+r.F*n(1)(function(){o&&f.call(o)}),"Array",{slice:function(e,t){var n=d(this.length),r=u(this);if(t=t===Ge?n:t,"Array"==r)return f.call(this,e,t);for(var o=l(e,n),a=l(t,n),i=d(a-o),s=Array(i),c=0;c<i;c++)s[c]="String"==r?this.charAt(o+c):this[o+c];return s}})},function(e,t,n){var r=n(0),o=n(17),a=n(13),i=n(1),s=[].sort,c=[1,2,3];r(r.P+r.F*(i(function(){c.sort(Ge)})||!i(function(){c.sort(null)})||!n(15)(s)),"Array",{sort:function(e){return e===Ge?s.call(a(this)):s.call(a(this),o(e))}})},function(e,t,n){var r=n(0),o=n(19)(0),a=n(15)([].forEach,!0);r(r.P+r.F*!a,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(202);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(2),o=n(64),a=n(5)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=Ge),r(t)&&null===(t=t[a])&&(t=Ge)),t===Ge?Array:t}},function(e,t,n){var r=n(0),o=n(19)(1);r(r.P+r.F*!n(15)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(0),o=n(19)(2);r(r.P+r.F*!n(15)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(0),o=n(19)(3);r(r.P+r.F*!n(15)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(0),o=n(19)(4);r(r.P+r.F*!n(15)([].every,!0),"Array",{every:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(0),o=n(95);r(r.P+r.F*!n(15)([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){var r=n(0),o=n(95);r(r.P+r.F*!n(15)([].reduceRight,!0),"Array",{reduceRight:function(e){return o(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){var r=n(0),o=n(55)(!1),a=[].indexOf,i=!!a&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(i||!n(15)(a)),"Array",{indexOf:function(e){return i?a.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(0),o=n(12),a=n(21),i=n(8),s=[].lastIndexOf,c=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!n(15)(s)),"Array",{lastIndexOf:function(e){if(c)return s.apply(this,arguments)||0;var t=o(this),n=i(t.length),r=n-1;for(1<arguments.length&&(r=Math.min(r,a(arguments[1]))),r<0&&(r=n+r);0<=r;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){var r=n(0);r(r.P,"Array",{copyWithin:n(96)}),n(45)("copyWithin")},function(e,t,n){var r=n(0);r(r.P,"Array",{fill:n(74)}),n(45)("fill")},function(e,t,n){var r=n(0),o=n(19)(5),a="find",i=!0;a in[]&&Array(1)[a](function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(e){return o(this,e,1<arguments.length?arguments[1]:Ge)}}),n(45)(a)},function(e,t,n){var r=n(0),o=n(19)(6),a="findIndex",i=!0;a in[]&&Array(1)[a](function(){i=!1}),r(r.P+r.F*i,"Array",{findIndex:function(e){return o(this,e,1<arguments.length?arguments[1]:Ge)}}),n(45)(a)},function(e,t,n){n(38)("Array")},function(e,t,n){var r=n(3),a=n(67),o=n(6).f,i=n(34).f,s=n(72),c=n(75),u=r.RegExp,l=u,d=u.prototype,f=/a/g,p=/a/g,h=new u(f)!==f;if(n(7)&&(!h||n(1)(function(){return p[n(5)("match")]=!1,u(f)!=f||u(p)==p||"/a/i"!=u(f,"i")}))){u=function(e,t){var n=this instanceof u,r=s(e),o=t===Ge;return!n&&r&&e.constructor===u&&o?e:a(h?new l(r&&!o?e.source:e,t):l((r=e instanceof u)?e.source:e,r&&o?c.call(e):t),n?this:d,u)};for(var g=function(t){t in u||o(u,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},v=i(l),_=0;v.length>_;)g(v[_++]);(d.constructor=u).prototype=d,n(11)(r,"RegExp",u)}n(38)("RegExp")},function(e,t,n){n(98);var r=n(4),o=n(75),a=n(7),i="toString",s=/./[i],c=function(e){n(11)(RegExp.prototype,i,e,!0)};n(1)(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?c(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!a&&e instanceof RegExp?o.call(e):Ge)}):s.name!=i&&c(function(){return s.call(this)})},function(e,t,n){n(50)("match",1,function(r,o,e){return[function(e){var t=r(this),n=e==Ge?Ge:e[o];return n!==Ge?n.call(e,t):new RegExp(e)[o](String(t))},e]})},function(e,t,n){n(50)("replace",2,function(o,a,i){return[function(e,t){var n=o(this),r=e==Ge?Ge:e[a];return r!==Ge?r.call(e,n,t):i.call(String(n),e,t)},i]})},function(e,t,n){n(50)("search",1,function(r,o,e){return[function(e){var t=r(this),n=e==Ge?Ge:e[o];return n!==Ge?n.call(e,t):new RegExp(e)[o](String(t))},e]})},function(e,t,n){n(50)("split",2,function(o,a,i){var p=n(72),h=i,g=[].push,e="split",v="length",_="lastIndex";if("c"=="abbc"[e](/(b)*/)[1]||4!="test"[e](/(?:)/,-1)[v]||2!="ab"[e](/(?:ab)*/)[v]||4!="."[e](/(.?)(.?)/)[v]||1<"."[e](/()()/)[v]||""[e](/.?/)[v]){var y=/()??/.exec("")[1]===Ge;i=function(e,t){var n=String(this);if(e===Ge&&0===t)return[];if(!p(e))return h.call(n,e,t);var r,o,a,i,s,c=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,d=t===Ge?4294967295:t>>>0,f=new RegExp(e.source,u+"g");for(y||(r=new RegExp("^"+f.source+"$(?!\\s)",u));(o=f.exec(n))&&!(l<(a=o.index+o[0][v])&&(c.push(n.slice(l,o.index)),!y&&1<o[v]&&o[0].replace(r,function(){for(s=1;s<arguments[v]-2;s++)arguments[s]===Ge&&(o[s]=Ge)}),1<o[v]&&o.index<n[v]&&g.apply(c,o.slice(1)),i=o[0][v],l=a,c[v]>=d));)f[_]===o.index&&f[_]++;return l===n[v]?!i&&f.test("")||c.push(""):c.push(n.slice(l)),c[v]>d?c.slice(0,d):c}}else"0"[e](Ge,0)[v]&&(i=function(e,t){return e===Ge&&0===t?[]:h.call(this,e,t)});return[function(e,t){var n=o(this),r=e==Ge?Ge:e[a];return r!==Ge?r.call(e,n,t):i.call(String(n),e,t)},i]})},function(e,t,n){var r=n(99),o=n(41);e.exports=n(51)("Map",function(e){return function(){return e(this,0<arguments.length?arguments[0]:Ge)}},{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){var r=n(99),o=n(41);e.exports=n(51)("Set",function(e){return function(){return e(this,0<arguments.length?arguments[0]:Ge)}},{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){var a,r=n(19)(0),i=n(11),o=n(29),s=n(54),c=n(100),u=n(2),l=n(1),d=n(41),f="WeakMap",p=o.getWeak,h=Object.isExtensible,g=c.ufstore,v={};if(!(n(3)[f]!==Ge)){var _=function(e){return function(){return e(this,0<arguments.length?arguments[0]:Ge)}},y={get:function(e){if(u(e)){var t=p(e);return!0===t?g(d(this,f)).get(e):t?t[this._i]:Ge}},set:function(e,t){return c.def(d(this,f),e,t)}},m=e.exports=n(51)(f,_,y,c,!0,!0);l(function(){return 7!=(new m).set((Object.freeze||Object)(v),7).get(v)})&&(s((a=c.getConstructor(_,f)).prototype,y),o.NEED=!0,r(["delete","has","get","set"],function(r){var e=m.prototype,o=e[r];i(e,r,function(e,t){if(!u(e)||h(e))return o.call(this,e,t);this._f||(this._f=new a);var n=this._f[r](e,t);return"set"==r?this:n})}))}},function(e,t,n){var r=n(100),o=n(41),a="WeakSet";n(51)(a,function(e){return function(){return e(this,0<arguments.length?arguments[0]:Ge)}},{add:function(e){return r.def(o(this,a),e,!0)}},r,!1,!0)},function(e,t,n){var r=n(0),o=n(52),a=n(76),u=n(4),l=n(33),d=n(8),i=n(2),s=n(3).ArrayBuffer,f=n(77),p=a.ArrayBuffer,h=a.DataView,c=o.ABV&&s.isView,g=p.prototype.slice,v=o.VIEW,_="ArrayBuffer";r(r.G+r.W+r.F*(s!==p),{ArrayBuffer:p}),r(r.S+r.F*!o.CONSTR,_,{isView:function(e){return c&&c(e)||i(e)&&v in e}}),r(r.P+r.U+r.F*n(1)(function(){return!new p(2).slice(1,Ge).byteLength}),_,{slice:function(e,t){if(g!==Ge&&t===Ge)return g.call(u(this),e);for(var n=u(this).byteLength,r=l(e,n),o=l(t===Ge?n:t,n),a=new(f(this,p))(d(o-r)),i=new h(this),s=new h(a),c=0;r<o;)s.setUint8(c++,i.getUint8(r++));return a}}),n(38)(_)},function(e,t,n){var r=n(0);r(r.G+r.W+r.F*!n(52).ABV,{DataView:n(76).DataView})},function(e,t,n){n(23)("Int8",1,function(r){return function(e,t,n){return r(this,e,t,n)}})},function(e,t,n){n(23)("Uint8",1,function(r){return function(e,t,n){return r(this,e,t,n)}})},function(e,t,n){n(23)("Uint8",1,function(r){return function(e,t,n){return r(this,e,t,n)}},!0)},function(e,t,n){n(23)("Int16",2,function(r){return function(e,t,n){return r(this,e,t,n)}})},function(e,t,n){n(23)("Uint16",2,function(r){return function(e,t,n){return r(this,e,t,n)}})},function(e,t,n){n(23)("Int32",4,function(r){return function(e,t,n){return r(this,e,t,n)}})},function(e,t,n){n(23)("Uint32",4,function(r){return function(e,t,n){return r(this,e,t,n)}})},function(e,t,n){n(23)("Float32",4,function(r){return function(e,t,n){return r(this,e,t,n)}})},function(e,t,n){n(23)("Float64",8,function(r){return function(e,t,n){return r(this,e,t,n)}})},function(e,t,n){var r=n(0),a=n(17),i=n(4),s=(n(3).Reflect||{}).apply,c=Function.apply;r(r.S+r.F*!n(1)(function(){s(function(){})}),"Reflect",{apply:function(e,t,n){var r=a(e),o=i(n);return s?s(r,t,o):c.call(r,t,o)}})},function(e,t,n){var r=n(0),s=n(27),c=n(17),u=n(4),l=n(2),o=n(1),d=n(85),f=(n(3).Reflect||{}).construct,p=o(function(){function e(){}return!(f(function(){},[],e)instanceof e)}),h=!o(function(){f(function(){})});r(r.S+r.F*(p||h),"Reflect",{construct:function(e,t){c(e),u(t);var n=arguments.length<3?e:c(arguments[2]);if(h&&!p)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(d.apply(e,r))}var o=n.prototype,a=s(l(o)?o:Object.prototype),i=Function.apply.call(e,a,t);return l(i)?i:a}})},function(e,t,n){var r=n(6),o=n(0),a=n(4),i=n(24);o(o.S+o.F*n(1)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){a(e),t=i(t,!0),a(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(0),o=n(22).f,a=n(4);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(a(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){var r=n(0),o=n(4),a=function(e){this._t=o(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(62)(a,"Object",function(){var e,t=this._k;do{if(this._i>=t.length)return{value:Ge,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new a(e)}})},function(e,t,n){var i=n(22),s=n(28),c=n(9),r=n(0),u=n(2),l=n(4);r(r.S,"Reflect",{get:function e(t,n){var r,o,a=arguments.length<3?t:arguments[2];return l(t)===a?t[n]:(r=i.f(t,n))?c(r,"value")?r.value:r.get!==Ge?r.get.call(a):Ge:u(o=s(t))?e(o,n,a):void 0}})},function(e,t,n){var r=n(22),o=n(0),a=n(4);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(a(e),t)}})},function(e,t,n){var r=n(0),o=n(28),a=n(4);r(r.S,"Reflect",{getPrototypeOf:function(e){return o(a(e))}})},function(e,t,n){var r=n(0);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(0),o=n(4),a=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!a||a(e)}})},function(e,t,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(248)})},function(e,t,n){var r=n(34),o=n(46),a=n(4),i=n(3).Reflect;e.exports=i&&i.ownKeys||function(e){var t=r.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(0),o=n(4),a=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return a&&a(e),!0}catch(e){return!1}}})},function(e,t,n){var c=n(6),u=n(22),l=n(28),d=n(9),r=n(0),f=n(25),p=n(4),h=n(2);r(r.S,"Reflect",{set:function e(t,n,r){var o,a,i=arguments.length<4?t:arguments[3],s=u.f(p(t),n);if(!s){if(h(a=l(t)))return e(a,n,r,i);s=f(0)}return d(s,"value")?!(!1===s.writable||!h(i)||((o=u.f(i,n)||f(0)).value=r,c.f(i,n,o),0)):s.set!==Ge&&(s.set.call(i,r),!0)}})},function(e,t,n){var r=n(0),o=n(65);o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){var r,o,a,i,s=n(78),c=n(37),u=n(3),l=n(16),d=n(44),f=n(0),p=n(2),h=n(17),g=n(40),v=n(43),_=n(77),y=n(102).set,m=n(253)(),b=n(103),w=n(254),S=n(255),C="Promise",T=u.TypeError,k=u.process,x=u[C],I="process"==d(k),E=function(){},P=o=b.f,A=!!function(){try{var e=x.resolve(1),t=(e.constructor={})[n(5)("species")]=function(e){e(E,E)};return(I||"function"==typeof PromiseRejectionEvent)&&e.then(E)instanceof t}catch(e){}}();s.isIOS&&(A=!1);var O=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},D=function(u,n){if(!u._n){u._n=!0;var r=u._c;m(function(){for(var s=u._v,c=1==u._s,e=0,t=function(e){var t,n,r=c?e.ok:e.fail,o=e.resolve,a=e.reject,i=e.domain;try{r?(c||(2==u._h&&N(u),u._h=1),!0===r?t=s:(i&&i.enter(),t=r(s),i&&i.exit()),t===e.promise?a(T("Promise-chain cycle")):(n=O(t))?n.call(t,o,a):o(t)):a(s)}catch(e){a(e)}};r.length>e;)t(r[e++]);u._c=[],u._n=!1,n&&!u._h&&M(u)})}},M=function(a){y.call(u,function(){var e,t,n,r=a._v,o=R(a);if(o&&(e=w(function(){I?k.emit("unhandledRejection",r,a):(t=u.onunhandledrejection)?t({promise:a,reason:r}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",r)}),a._h=I||R(a)?2:1),a._a=Ge,o&&e.e)throw e.v})},R=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if((t=n[r++]).fail||!R(t.promise))return!1;return!0},N=function(t){y.call(u,function(){var e;I?k.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},L=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),D(t,!0))},B=function(e){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw T("Promise can't be resolved itself");(n=O(e))?m(function(){var t={_w:r,_d:!1};try{n.call(e,l(B,t,1),l(L,t,1))}catch(e){L.call(t,e)}}):(r._v=e,r._s=1,D(r,!1))}catch(e){L.call({_w:r,_d:!1},e)}}};A||(x=function(e){g(this,x,C,"_h"),h(e),r.call(this);try{e(l(B,this,1),l(L,this,1))}catch(e){L.call(this,e)}},(r=function(e){this._c=[],this._a=Ge,this._s=0,this._d=!1,this._v=Ge,this._h=0,this._n=!1}).prototype=n(39)(x.prototype,{then:function(e,t){var n=P(_(this,x));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=I?k.domain:Ge,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(e){return this.then(Ge,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(B,e,1),this.reject=l(L,e,1)},b.f=P=function(e){return e===x||e===i?new a(e):o(e)}),f(f.G+f.W+f.F*!A,{Promise:x}),n(36)(x,C),n(38)(C),i=n(30)[C],f(f.S+f.F*!A,C,{reject:function(e){var t=P(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(c||!A),C,{resolve:function(e){return S(c&&this===i?x:this,e)}}),f(f.S+f.F*!(A&&n(49)(function(e){x.all(e).catch(E)})),C,{all:function(e){var i=this,t=P(i),s=t.resolve,c=t.reject,n=w(function(){var r=[],o=0,a=1;v(e,!1,function(e){var t=o++,n=!1;r.push(Ge),a++,i.resolve(e).then(function(e){n||(n=!0,r[t]=e,--a||s(r))},c)}),--a||s(r)});return n.e&&c(n.v),t.promise},race:function(e){var t=this,n=P(t),r=n.reject,o=w(function(){v(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){var s=n(3),c=n(102).set,u=s.MutationObserver||s.WebKitMutationObserver,l=s.process,d=s.Promise,f="process"==n(20)(l);e.exports=function(){var n,r,o,e=function(){var e,t;for(f&&(e=l.domain)&&e.exit();n;){t=n.fn,n=n.next;try{t()}catch(e){throw n?o():r=Ge,e}}r=Ge,e&&e.enter()};if(f)o=function(){l.nextTick(e)};else if(u){var t=!0,a=document.createTextNode("");new u(e).observe(a,{characterData:!0}),o=function(){a.data=t=!t}}else if(d&&d.resolve){var i=d.resolve();o=function(){i.then(e)}}else o=function(){c.call(s,e)};return function(e){var t={fn:e,next:Ge};r&&(r.next=t),n||(n=t,o()),r=t}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(4),o=n(2),a=n(103);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}}]),"undefined"!=typeof module&&module.exports?module.exports=r:"function"==typeof define&&define.amd?define(function(){return r}):o.core=r}(1,1);var JSContext=function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=5)}([function(e,t,n){"use strict";n.r(t),n.d(t,"ObjDefProp",function(){return s}),n.d(t,"getDataType",function(){return c}),n.d(t,"getAllPropertyDescs",function(){return u});var r=Object.prototype.toString,o=Object.getPrototypeOf,a=Object.getOwnPropertyNames,i=Object.getOwnPropertyDescriptor,s=Object.defineProperty,c=function(e){return r.call(e).split(" ")[1].split("]")[0]},u=function(e){for(var r=[],t=function(n){a(n).forEach(function(e){var t=i(n,e);void 0!==t&&(t.name=e,r.push(t))})},n=e;n;n=o(n))t(n);return r}},function(e,t,n){"use strict";var a=n(0),r=["constructor","__proto__","__defineGetter__","__defineSetter__"],u="undefined"!=typeof WeakMap?new WeakMap:{},o="undefined"!=typeof WeakMap?new WeakMap:{},l=function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=Object(a.getDataType)(e);return"String"===n||"Number"===n||"Boolean"===n?e.valueOf():"Object"===n?new d(e):"Array"===n?function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(l(r))}return t}(e):"Function"===n?function(s){var c=1<arguments.length&&void 0!==arguments[1]&&arguments[1],e=o.get(s);return void 0!==e||(e=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0;r<t.length;r++){var o=t[r];t[r]=l(o)}var a=c?u.get(this):void 0,i=s.call.apply(s,[a].concat(t));return l(i)},o.set(s,e)),e}(e,t):"Undefined"!==n&&"Null"===n?null:void 0},i=function(n){return function(){var e=u.get(this);if(void 0!==e){if(null===e)return null;var t=e[n];return l(t,!0)}}},s=function(n){return function(e){var t=u.get(this);if(void 0!==t)return null===t?null:void(t[n]=l(e))}},c=function(e){for(var t=0;t<r.length;t++){if(r[t]===e)return!0}return!1},d=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),u.set(this,t),function(){for(var e=u.get(this),t=Object(a.getAllPropertyDescs)(e),n=0;n<t.length;n++){var r=t[n],o=r.name;c(o)||o in this||(delete r.value,delete r.writable,Object(a.ObjDefProp)(this,o,Object.assign(r,{get:i(o),set:s(o)})))}}.call(this)};t.default=d},function(e,t,n){"use strict";n.r(t);var s,r,o,a,i,c=n(1),u=n(0),l={},d={},f=[],p=0,h=[],g=function(e,t){if(void 0!==t&&void 0!==e&&e===s)return d[++p]=t,f.push(p),h.forEach(function(e){"function"==typeof e&&e(p)}),p},v=function(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]&&arguments[4];if(void 0!==e&&e===s){var a=function(e){for(var t=f.length,n=0;n<t;n++){var r=f[n];if(d[r]===e)return r}}(t);if(void 0!==a){o||(n=n.valueOf(),r=new c.default(r));var i=l[n];"function"==typeof i&&i(r,a)}}},_={__init__:function(e){void 0===s&&void 0!==e&&((s=e).register=g,s.subscribeHandler=v,r=s.alloc,o=s.create,a=s.destroy,i=s.evaluateScriptFile,delete s.alloc,delete s.create,delete s.destroy,delete s.evaluateScriptFile)},publish:function(n){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},e=2<arguments.length?arguments[2]:void 0,o=3<arguments.length&&void 0!==arguments[3]&&arguments[3],t=Object(u.getDataType)(r);if("Object"!==t&&"Undefined"!==t)throw new Error("params should be an object.");o||(n=n.valueOf(),r=new c.default(r)),e.forEach(function(e){var t=d[e];t&&t.subscribeHandler(s,n,r,o)})},subscribe:function(e,t){l[e]=t},onRegister:function(e){h.push(e)},evaluateScriptFile:function(e,t){return i(e,t)},alloc:function(){return"function"==typeof r?r.call(s):-9999},create:function(e){return"function"==typeof o?o.call(s,e):-9999},destroy:function(e){return"function"==typeof a?a(e):-9999},supportAlloc:function(){return"function"==typeof r}};t.default=_},function(e,t,n){"use strict";n.r(t);var i,s=n(1),c=n(0),a={},u={subscribeHandler:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=3<arguments.length&&void 0!==arguments[3]&&arguments[3];if(void 0!==e&&e===i){r||(t=t.valueOf(),n=new s.default(n));var o=a[t];"function"==typeof o&&o(n)}}},r={__init__:function(e){void 0===i&&void 0!==e&&(i=e).register(e,u)},publish:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=Object(c.getDataType)(t);if("Object"!==r&&"Undefined"!==r)throw new Error("params should be an object.");var o,a=e.valueOf();o=n?t||{}:void 0===t?{}:new s.default(t),i.subscribeHandler(i,u,a,o,n)},subscribe:function(e,t){a[e]=t}};t.default=r},function(e,t,n){"use strict";n.r(t),t.default={alloc:function(){return-9999},create:function(){return-9999},destroy:function(){return-9999},publish:function(){},subscribe:function(){},supportAlloc:function(){}}},function(e,a,i){"use strict";i.r(a),function(e){var t,n=i(2),r=i(3),o=i(4);if(void 0===e)throw new Error("js-context: global is undefined");void 0!==e.WeixinJSContext?(t=Object.getPrototypeOf(e.WeixinJSContext)===Object.prototype?n.default:r.default).__init__(WeixinJSContext):t=o.default;delete t.__init__,e.WeixinJSContext=void 0,a.default=t}.call(this,i(6))},function(x9,y9){var z9;z9=function(){return this}();try{z9=z9||Function("return this")()||eval("this")}catch(e){"object"==typeof window&&(z9=window)}x9.exports=z9}]).default,Protect=function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=4)}([function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.r(t),n.d(t,"default",function(){return o})},function(e,t,r){r.r(t),function(n){r.d(t,"hijack",function(){return e});var s=r(0);function e(){var e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];if("undefined"!=typeof Function){var t=function(){if(0<arguments.length&&"return this"===arguments[arguments.length-1])return function(){return n}};n={},t.prototype=Function.prototype,Function.prototype.constructor=t,Function=t}var o=function(){return this}();if("undefined"!=typeof eval&&(eval=void 0),"undefined"!=typeof setTimeout&&e){var a=setTimeout;setTimeout=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;if("function"!=typeof e)throw new TypeError("setTimeout expects a function as first argument but got "+Object(s.default)(e)+".");var n=Reporter.surroundThirdByTryCatch(e,"at setTimeout callback function"),r=[].slice.call(arguments,2);return a(function(){n.apply(o,r)},t)};var i=setInterval;setInterval=function(e,t){if("function"!=typeof e)throw new TypeError("setInterval expects a function as first argument but got "+Object(s.default)(e)+".");var n=Reporter.surroundThirdByTryCatch(e,"at setInterval callback function"),r=[].slice.call(arguments,2);return i(function(){n.apply(o,r)},t)}}}}.call(this,r(3))},function(e,t){if("undefined"==typeof navigator){try{new Function("const GeneratorFunction = Object.getPrototypeOf(function *() {}).constructor; const f = new GeneratorFunction('', 'console.log(0)'); f().__proto__.__proto__.next = () => {};")()}catch(e){}try{new Function("const AsyncFunctionProto = Object.getPrototypeOf(async function() {}); Object.defineProperty(AsyncFunctionProto, 'constructor', { value: function(){} });")()}catch(e){}}},function(Iaa,Jaa){var Kaa;Kaa=function(){return this}();try{Kaa=Kaa||Function("return this")()||eval("this")}catch(e){"object"==typeof window&&(Kaa=window)}Iaa.exports=Kaa},function(e,t,n){var r=["Array","ArrayBuffer","AsyncFunction","Atomics","Boolean","DataView","Date","Error","EvalError","Float32Array","Float64Array","Function","Generator","GeneratorFunction","Infinity","Int16Array","Int32Array","Int8Array","InternalError","Intl","Intl.Collator","Intl.DateTimeFormat","Intl.NumberFormat","Iterator","JSON","Map","Math","NaN","Number","Object","Promise","Proxy","RangeError","ReferenceError","Reflect","RegExp","Set","SharedArrayBuffer","String","Symbol","SyntaxError","TypeError","TypedArray","URIError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","WeakMap","WeakSet","WebAssembly","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","null","parseFloat","parseInt","undefined","unescape","uneval"],o=function(){return this}(),d=n(0),a=function t(n,r,o,a){if(n&&r&&-1===r.indexOf("constructor")){var i;try{i=n[r]}catch(e){return}if(i){var e=Object.getOwnPropertyDescriptor(n,r);if(a||e||"__proto__"===r){e=e||{enumerable:!!a,configurable:!0};var s=Object(d.default)(i);if(i&&("function"===s||"object"===s)&&(e.configurable&&Object.defineProperty(n,r,{get:function(){return i},set:function(e){if(this!==n)return t(this,r,o,!0),void(this[r]=e);if(i!==e)if(a)try{i=e}catch(e){}else console.error('[non-writable] modification of global variable "'+o+'" is not allowed when using plugins at app.json.'),"object"===("undefined"==typeof Reporter?"undefined":Object(d.default)(Reporter))&&(Reporter.reportKeyValue({key:"GlobalReadOnly",value:o}),Reporter.reportIDKey({key:"global_objs_readonly"}))},enumerable:e.enumerable,configurable:!!a&&e.configurable}),!a&&"__proto__"!==r)){var c=Object.getOwnPropertyNames(i);"object"===Object(d.default)(i)&&t(i,"__proto__",o+".__proto__",!1);for(var u=0;u<c.length;++u){var l=c[u];t(i,l,o+"."+l,!1)}}}}}},i=r.concat(["App","getApp","Page","getCurrentPages","define","require","Reporter","wx","Protect","requirePlugin","definePlugin"]),s=function(){Object.defineProperty(o.Object,"setPrototypeOf",{value:function(e,t){return e.__proto__=t,e},configurable:!0})},c=function(){try{new Date;for(var e=0;e<i.length;++e){var t=i[e];if(o[t]){new Date;a(o,t,t,!1),new Date}}new Date}catch(e){}},u=function(e,t,n){return a(e,t,n,!1)},l=(n(2),n(1));n.d(t,"overwriteSetPrototypeOf",function(){return s}),n.d(t,"doNotWriteGlobalObjs",function(){return c}),n.d(t,"doNotWriteObj",function(){return u}),n.d(t,"globalEsObjs",function(){return r}),n.d(t,"hijack",function(){return l.hijack})}]),__subContextEngine__=function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}var a={name:void 0,secure:!0,runningType:"app",init:function(e){this.name=e.contextName,this.secure=e.contextSecure,this.name.startsWith("game")?this.runningType="game":this.name.startsWith("app")&&(this.runningType="app"),this.remoteObjectProto=e.__proto__}},i=a,s={},c=Object.keys;s.init=function(e){for(var t=c(e),n=0;n<t.length;n++){var r=t[n];void 0===s[r]&&(s[r]=e[r])}};var u=s,l=function(e,t){try{var n;if("game"===i.name)n=u.RunType.GAME;else if("gameopendata"===i.name)n=u.RunType.GAME_SUBCONTEXT;else{if("app"!==i.name)throw new Error("unknown context");n=u.RunType.APP}"function"==typeof __wxSourceMapRetrace__&&(e=__wxSourceMapRetrace__(e)),u.thirdErrorReport({key:n,error:e,extend:t,triggerErrorCallback:!i.secure})}catch(e){console.error("[ErrorHandler] error in Report.thirdErrorReport: ",e.message)}};function d(t,n){return function(){var e;try{"function"==typeof t&&(e=t.apply(t,arguments))}catch(e){l(e,n)}return e}}function f(e,t){return function(){try{return e.apply(e,arguments)}catch(e){if("[object Error]"===Object.prototype.toString.apply(e)){if("AppServiceSdkKnownError"===e.type)throw e;!function(e,t){var n="";if("app"===i.runningType?n="appSubContextSDKScriptError":"game"===i.runningType&&(n="gameSubContextSDKScriptError"),"function"==typeof u.thirdErrorReport)try{u.errorReport({key:n,error:e,extend:t,triggerErrorCallback:!i.secure})}catch(e){console.error("[ErrorHandler] error in Report.thirdErrorReport: ",e.message)}else{var r=n+"\n"+(t?e.message+";"+t:e.message)+"\n"+e.stack;"undefined"!=typeof console&&console.error(r)}}(e,t)}return}}}"undefined"==typeof WeixinJSBridge&&(WeixinJSBridge={subscribeHandler:function(e,t){"onError"===e&&l(t,"")},invokeCallbackHandler:function(){}});var p=function(){return this}(),h=function(e,t){return function(){return"function"==typeof arguments[0]&&(arguments[0]=d(arguments[0],t)),e.apply(e,arguments)}},g=Object.getPrototypeOf,v=Object.getOwnPropertyNames,_=Object.getOwnPropertyDescriptor,y=Object.defineProperty,m=["constructor","__proto__","__defineGetter__","__defineSetter__"],b=new WeakMap,w=new WeakMap,S=new WeakMap,C=new WeakMap,T=new WeakMap,k=new WeakMap,x=function(e){for(var t=0;t<m.length;t++){if(m[t]===e)return!0}return!1},I=function(e){for(var t=T.has(e)?T.get(e):{},n=function(e){for(var t=[],n=e;n;n=g(n))for(var r=v(n),o=0;o<r.length;o++){var a=r[o],i=_(n,a);void 0!==i&&(i.name=a,t.push(i))}return t}(e),r=0;r<n.length;r++){var o=n[r],a=o.name;x(a)||(a in t||(delete o.value,delete o.writable,y(t,a,Object.assign(o,{get:E(a).bind(t),set:P(a).bind(t)}))))}return T.set(e,t),b.set(t,e),t},E=function(t){return function(){var e=b.get(this);if(void 0!==e)return null===e?null:O(e[t])}},P=function(r){return function(e){var t=b.get(this);if(null!=t){if(null!=e){var n=A(e);if(n)return void(t[r]=n)}t[r]=O(e)}}},A=function(e){if(("function"==typeof e||"object"===o(e))&&null!=e)return b.get(e)||w.get(e)||S.get(e)},O=function(e){var t,n=(t=e,Object.prototype.toString.call(t).split(" ")[1].split("]")[0]);return"String"===n||"Number"===n||"Boolean"===n?e.valueOf():"Array"===n?function(e){if(k.has(e))return k.get(e);for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(O(r))}return k.set(e,t),S.set(t,e),t}(e):"Function"===n?function(o){if(C.has(o))return C.get(o);var e=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=O(arguments[t]);var n=A(this)||this,r=o.apply(n,e);return O(r)};return C.set(o,e),w.set(e,o),e}(e):"Object"===n?I(e):"ArrayBuffer"===n?(e.__proto__=ArrayBuffer.prototype,e):"Undefined"===n?void 0:"Null"===n?null:e},D=O;n.d(t,"onInitReady",function(){return L}),n.d(t,"initSubContext",function(){return B}),n.d(t,"surroundByTryCatch",function(){return f}),n.d(t,"surroundThirdByTryCatch",function(){return d}),delete p.WeixinJSCore,delete p.WeixinNativeBuffer,delete p.WeixinWorker;var M=[],R=!1,N=function(){M.forEach(function(e){e()}),M=[]},L=function(e){R?N():M.push(e)};JSContext.subscribe("subContextEnvReady",f(function(e){var t,n,r;if(i.init(e),e.__wxConfig.onReady(function(e){var t=JSON.parse(JSON.stringify(e)),n=__wxConfig.__readyHandler;p.__wxConfig=t,"function"==typeof n&&n()}),t=e,p.setTimeout=h(t.setTimeout,"at setTimeout callback function"),p.clearTimeout=h(t.clearTimeout),p.setInterval=h(t.setInterval,"at setInterval callback function"),p.clearInterval=h(t.clearInterval),"game"===i.runningType&&(p.requestAnimationFrame=h(t.requestAnimationFrame,"at requestAnimationFrame callback function"),p.cancelAnimationFrame=h(t.cancelAnimationFrame)),u.init(e.Reporter),"game"===i.name)!function(e){p.__isAdapterInjected=!1,p.console=e.console,p.sharedCanvas=e.sharedCanvas;var t=e.wx.cloud;delete e.wx.cloud,p.wx=new D(e.wx),p.wx.cloud=t,(p.GameGlobal=p).setGlobalAttribute=e.setGlobalAttribute}(e);else if("gameopendata"===i.name)r=e,__gameOpenDataSDK__.init(r);else{if("app"!==i.name)throw new Error("subContextEnvReady: unknown context name.");n=e,p.console=n.console,__safeway__=n.safeway,Reporter=n.Reporter}})),JSContext.subscribe("subContextDestroy",function(){}),JSContext.publish("subContextReady",{contextGlobal:{get __wxSourceMap(){return p.__wxSourceMap},jsonParse:JSON.parse,jsonStringify:JSON.stringify,arrayBufferProto:ArrayBuffer.prototype}},!0);var B=function(){Protect.hijack(!1),(i.secure&&__wxConfig&&__wxConfig.isIsolateContext||__wxConfig&&__wxConfig.plugins)&&(Protect.overwriteSetPrototypeOf(),Protect.doNotWriteGlobalObjs()),R=!0,N()}}]),__cloudSDK__=function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s="./src/index.ts")}({"./node_modules/process/browser.js":function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var c,u=[],l=!1,d=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):d=-1,u.length&&p())}function p(){if(!l){var e=s(f);l=!0;for(var t=u.length;t;){for(c=u,u=[];++d<t;)c&&c[d].run();d=-1,t=u.length}c=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},"./node_modules/tslib/tslib.es6.js":function(e,t,n){n.r(t),n.d(t,"__extends",function(){return o}),n.d(t,"__assign",function(){return a}),n.d(t,"__rest",function(){return i}),n.d(t,"__decorate",function(){return s}),n.d(t,"__param",function(){return c}),n.d(t,"__metadata",function(){return u}),n.d(t,"__awaiter",function(){return l}),n.d(t,"__generator",function(){return d}),n.d(t,"__exportStar",function(){return f}),n.d(t,"__values",function(){return p}),n.d(t,"__read",function(){return h}),n.d(t,"__spread",function(){return g}),n.d(t,"__await",function(){return v}),n.d(t,"__asyncGenerator",function(){return _}),n.d(t,"__asyncDelegator",function(){return y}),n.d(t,"__asyncValues",function(){return m}),n.d(t,"__makeTemplateObject",function(){return b}),n.d(t,"__importStar",function(){return w}),n.d(t,"__importDefault",function(){return S});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){Object.defineProperty(this,"constructor",{value:e})}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){var o,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(o=e[s])&&(i=(a<3?o(i):3<a?o(t,n,i):o(t,n))||i);return 3<a&&i&&Object.defineProperty(t,n,i),i}function c(n,r){return function(e,t){r(e,t,n)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(a,i,s,c){return new(s||(s=Promise))(function(e,t){function n(e){try{o(c.next(e))}catch(e){t(e)}}function r(e){try{o(c.throw(e))}catch(e){t(e)}}function o(t){t.done?e(t.value):new s(function(e){e(t.value)}).then(n,r)}o((c=c.apply(a,i||[])).next())})}function d(n,r){var o,a,i,e,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,a&&(i=2&t[0]?a.return:t[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,t[1])).done)return i;switch(a=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,a=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(i=0<(i=s.trys).length&&i[i.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!i||t[1]>i[0]&&t[1]<i[3])){s.label=t[1];break}if(6===t[0]&&s.label<i[1]){s.label=i[1],i=t;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(t);break}i[2]&&s.ops.pop(),s.trys.pop();continue}t=r.call(n,s)}catch(e){t=[6,e],a=0}finally{o=i=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}}function f(e,t){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}function p(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function h(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e}function v(e){return this instanceof v?(this.v=e,this):new v(e)}function _(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,a=n.apply(e,t||[]),i=[];return o={},r("next"),r("throw"),r("return"),o[Symbol.asyncIterator]=function(){return this},o;function r(r){a[r]&&(o[r]=function(n){return new Promise(function(e,t){1<i.push([r,n,e,t])||s(r,n)})})}function s(e,t){try{(n=a[e](t)).value instanceof v?Promise.resolve(n.value.v).then(c,u):l(i[0][2],n)}catch(e){l(i[0][3],e)}var n}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function y(r){var e,o;return e={},t("next"),t("throw",function(e){throw e}),t("return"),e[Symbol.iterator]=function(){return this},e;function t(t,n){e[t]=r[t]?function(e){return(o=!o)?{value:v(r[t](e)),done:"return"===t}:n?n(e):e}:n}}function m(c){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=c[Symbol.asyncIterator];return t?t.call(c):(c=p(c),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(s){e[s]=c[s]&&function(i){return new Promise(function(e,t){var n,r,o,a;i=c[s](i),n=e,r=t,o=i.done,a=i.value,Promise.resolve(a).then(function(e){n({value:e,done:o})},r)})}}}function b(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function S(e){return e&&e.__esModule?e:{default:e}}},"./node_modules/webpack/buildin/global.js":function(Pia,Qia){var Ria;Ria=function(){return this}();try{Ria=Ria||Function("return this")()||eval("this")}catch(e){"object"==typeof window&&(Ria=window)}Pia.exports=Ria},"./src/cloud/index.ts":function(e,d,f){(function(n){Object.defineProperty(d,"__esModule",{value:!0});var u=f("./node_modules/tslib/tslib.es6.js"),r=f("./src/services/index.ts"),o=f("./src/utils/error.ts"),a=f("./src/utils/type.ts"),t=f("./src/network/tunnel.ts"),i=f("./src/config/error.config.ts"),s=f("./src/externals/public-lib/appserviceSdk.ts"),l=f("./src/utils/report.ts"),c=f("./src/config/app.config.ts");d.getCloudAPI=function(e){void 0===e&&(e={});var t=e.identifiers,n=e.sdk,r=new(d.getCloudClass())(t);return n&&s.setSDK(r,n),r.exportAPI},d.getCloudClass=function(){return function(){function e(e){var t=this;this.inited=!1,this.services={},this.apiServiceMap={},this.identifiers=e,this.exportAPI={init:this.init.bind(this)},r.registerServices(this),this.meta={session_id:(+new Date).toString()},this.defaultConfig={},this.appConfig=u.__assign({},c.default),this.apiPermissions={};try{n.env.TEST&&(this.exportAPI.getCloudInstance=function(){return t})}catch(e){}}return e.prototype.getMetaData=function(){return this.meta},e.prototype.getDefaultConfig=function(){return this.defaultConfig},e.prototype.getOverriddenConfig=function(e){var t=u.__assign({},this.defaultConfig);return Object.assign(t,e),t},e.prototype.getEnv=function(e,t){if(e.env)switch(a.getType(e.env)){case"string":return e.env;case"object":return e.env[t];default:return}},e.prototype.checkAPIPermission=function(e){return!this.apiPermissions.hasOwnProperty(e)||1===this.apiPermissions[e]},e.prototype.init=function(e){void 0===e&&(e={}),this.inited||(this.inited=!0,this.defaultConfig=e,this.sendInitRequest())},e.prototype.sendInitRequest=function(){var i=this,e=JSON.stringify({trace_user:!1!==this.defaultConfig.traceUser}),s=+new Date,c=s;t.tunnel(t.constructTunnelReq("tcbapi_init",e,{cloud:this})).then(function(e){var t=+new Date,n=e.data;i.appConfig=u.__assign({},i.appConfig,n.config);for(var r=n.tcb_api_list||[],o=0,a=r.length;o<a;o++)i.apiPermissions[r[o].apiname]=r[o].status;l.reportAPISpeed({apiName:"cloud.init",apiEndTime:+new Date,apiStartTime:s,tunnelEndTime:t,tunnelStartTime:c})}).catch(function(e){console.error("cloud init error: ",e)})},e.prototype.registerService=function(e){var t=(this.services[e.name]=e).getAPIs(this.identifiers);for(var n in t)this.apiServiceMap[n]=e.name,this.registerFunction(n,t[n])},e.prototype.registerFunction=function(e,t){var n=this;this.exportAPI[e]=function(){if(!n.inited)throw new o.CloudSDKError({errMsg:"Cloud API isn't enabled, please call wx.cloud.init first\n请先调用 wx.cloud.init() 完成初始化后再调用其他云 API。init 方法可传入一个对象用于设置默认配置,详见文档。"});if(!n.checkAPIPermission(e))throw new o.CloudSDKError({errCode:i.ERR_CODE.SDK_API_PERMISSION_DENIED,errMsg:i.ERR_CODE[i.ERR_CODE.SDK_API_PERMISSION_DENIED]});return t.apply(n,arguments)}},e}()}}).call(this,f("./node_modules/process/browser.js"))},"./src/config/app.config.ts":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={db_doc_size_limit:524288,upload_max_file_size:20971520,get_temp_file_url_max_requests:50,call_function_poll_max_retry:50,call_function_max_req_data_size:5242880,call_function_client_poll_timeout:15e3}},"./src/config/error.config.ts":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ERR_CODE={"-1":"",UNKNOWN_ERROR:-1,"-401001":"api permission denied",SDK_API_PERMISSION_DENIED:-401001,"-401002":"api parameter error",SDK_API_PARAMETER_ERROR:-401002,"-401003":"api parameter type error",SDK_API_PARAMETER_TYPE_ERROR:-401003,"-402001":"circular reference detected",SDK_DATABASE_CIRCULAR_REFERENCE:-402001,"-403001":"max upload file size exceeded",SDK_STORAGE_EXCEED_MAX_UPLOAD_SIZE:-403001,"-403002":"internal server error: empty upload url",SDK_STORAGE_INTERNAL_SERVER_ERROR_EMPTY_UPLOAD_URL:-403002,"-403003":"internal server error: empty download url",SDK_STORAGE_INTERNAL_SERVER_ERROR_EMPTY_DOWNLOAD_URL:-403003,"-404001":"empty call result",SDK_FUNCTIONS_EMPTY_CALL_RESULT:-404001,"-404002":"empty event id",SDK_FUNCTIONS_EMPTY_EVENT_ID:-404002,"-404003":"empty poll url",SDK_FUNCTIONS_EMPTY_POLL_URL:-404003,"-404004":"empty poll result json",SDK_FUNCTIONS_EMPTY_POLL_RESULT_JSON:-404004,"-404005":"exceed max poll retry",SDK_FUNCTIONS_EXCEED_MAX_POLL_RETRY:-404005,"-404006":"empty poll result base resp",SDK_FUNCTIONS_EMPTY_POLL_RESULT_BASE_RESP:-404006,"-404007":"error while waiting for the result",SDK_FUNCTIONS_POLL_RESULT_BASE_RESP_RET_ABNORMAL:-404007,"-404008":"error while waiting for the result",SDK_FUNCTIONS_POLL_RESULT_STATUS_CODE_ERROR:-404008,"-404009":"error while waiting for the result",SDK_FUNCTIONS_POLL_ERROR:-404009,"-404010":"result expired",SDK_FUNCTIONS_POLL_RESULT_EXPIRED:-404010,"-404011":"cloud function execution error",SDK_FUNCTIONS_CLOUD_FUNCTION_EXECUTION_ERROR:-404011,"-404012":"error while waiting for the result",SDK_FUNCTIONS_EXCEED_MAX_TIMEOUT_POLL_RETRY:-404012,"-404013":"error while waiting for the result",SDK_FUNCTIONS_EXCEED_MAX_SYSTEM_ERROR_POLL_RETRY:-404013,"-601001":"system error",WX_SYSTEM_ERROR:-601001,"-601002":"system args error",WX_SYSTEM_ARGS_ERROR:-601002,"-601003":"system network error",WX_SYSTEM_NETWORK_ERROR:-601003,"-601004":"api permission denied",WX_API_PERMISSION_DENIED:-601004,"-501001":"resource system error",TCB_RESOURCE_SYSTEM_ERROR:-501001,"-501002":"resource server timeout",TCB_RESOURCE_SERVER_TIMEOUT:-501002,"-501003":"exceed request limit",TCB_EXCEED_REQUEST_LIMIT:-501003,"-501004":"exceed concurrent request limit",TCB_EXCEED_CONCURRENT_REQUEST_LIMIT:-501004,"-501005":"invalid env",TCB_INVALID_ENV:-501005,"-501006":"invalid common parameters",TCB_INVALID_COMMON_PARAM:-501006,"-501007":"invalid parameters",TCB_INVALID_PARAM:-501007,"-501008":"invalid request source",TCB_INVALID_REQUEST_SOURCE:-501008,"-501009":"resource not initialized",TCB_RESOURCE_NOT_INITIALIZED:-501009,"-502001":"database request fail",TCB_DB_REQUEST_FAIL:-502001,"-502002":"database invalid command",TCB_DB_INVALID_COMMAND:-502002,"-502003":"database permission denied",TCB_DB_PERMISSION_DENIED:-502003,"-502004":"database exceed collection limit",TCB_DB_EXCEED_COLLECTION_LIMIT:-502004,"-502005":"database collection not exists",TCB_DB_COLLECTION_NOT_EXISTS:-502005,"-503001":"storage request fail",TCB_STORAGE_REQUEST_FAIL:-503001,"-503002":"storage permission denied",TCB_STORAGE_PERMISSION_DENIED:-503002,"-503003":"storage file not exists",TCB_STORAGE_FILE_NOT_EXISTS:-503003,"-503004":"storage invalid sign parameter",TCB_STORAGE_INVALID_SIGN_PARAM:-503004,"-504001":"functions request fail",TCB_FUNCTIONS_REQUEST_FAIL:-504001,"-504002":"functions execute fail",TCB_FUNCTIONS_EXEC_FAIL:-504002}},"./src/externals/globals/wxconfig.ts":function(e,r,o){(function(t){Object.defineProperty(r,"__esModule",{value:!0});var n,e=o("./node_modules/tslib/tslib.es6.js");try{__wxConfig.platform,n=e.__assign({},__wxConfig)}catch(e){n={platform:"devtools"},t.__wxConfig=n}r.default=n}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./src/externals/public-lib/appserviceSdk.ts":function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=new WeakMap;t.getSDK=function(e){if(!e)return __appServiceSDK__;var t=n.get(e);return t&&t||__appServiceSDK__},t.setSDK=function(e,t){n.set(e,t)}},"./src/externals/public-lib/reporter.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("./src/utils/fail-safe.ts");try{Reporter.surroundThirdByTryCatch,r=Reporter}catch(e){r={surroundThirdByTryCatch:function(n,r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.tryCatch(function(){try{return n.apply(n,e)}catch(e){throw console.error(JSON.stringify(e)+"; "+r+"\n"+e.stack),console.error(n.toString()),e}},r)}},reportIDKey:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},reportKeyValue:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}}}t.default=r},"./src/hook/invoke.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./src/utils/type.ts"),o=n("./src/utils/fail-safe.ts");function a(e,t,n){t.success&&r.isFunction(t.success)&&o.wrapWithTryCatch(t.success,"at api "+e+" success callback function;")(n)}function i(e,t,n){t.fail&&r.isFunction(t.fail)&&o.wrapWithTryCatch(t.fail,"at api "+e+" fail callback function;")(n)}function s(e,t,n){t.complete&&r.isFunction(t.complete)&&o.wrapWithTryCatch(t.complete,"at api "+e+" complete callback function;")(n)}t.invokeSuccessCallback=a,t.invokeFailCallback=i,t.invokeCompleteCallback=s,t.invokeSuccessCompleteCallbacks=function(e,t,n){a(e,t,n),s(e,t,n)},t.invokeFailCompleteCallbacks=function(e,t,n){i(e,t,n),s(e,t,n)},t.hasAPICallback=function(e){return e&&(e.success||e.fail||e.complete)}},"./src/index.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),n("./node_modules/tslib/tslib.es6.js").__exportStar(n("./src/cloud/index.ts"),t)},"./src/network/tunnel.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var s=n("./node_modules/tslib/tslib.es6.js"),c=n("./src/utils/error.ts"),r=n("./src/externals/public-lib/appserviceSdk.ts");function o(e,i){return void 0===i&&(i={}),new Promise(function(o,a){r.getSDK(e.cloud||i.cloud)._operateWXData({apiName:e.apiName||"qbase_commapi",reqData:e.data,success:function(e){var t=s.__assign({},e,{data:e.rawData});if(e.rawData)try{var n=JSON.parse(e.rawData);if(n.baseresponse&&0!==n.baseresponse.errcode){var r=new c.CloudSDKError({errCode:n.baseresponse.errcode,errMsg:n.baseresponse.errmsg});return void a(r)}t=s.__assign({},e,{data:n})}catch(e){r=new c.CloudSDKError({errMsg:e&&e.toString()});return void a(r)}else if(i&&i.requireDataNotEmpty){r=new c.CloudSDKError({errCode:e.errCode,errMsg:"error empty internal server response, "+e.errMsg});return void a(r)}o(t)},fail:function(e){e&&e.errMsg&&/^operateWXData:fail /.test(e.errMsg)&&("operateWXData:fail invalid scope"===e.errMsg?e.errMsg="invalid scope 没有权限,请先开通云服务":e.errMsg=e.errMsg.replace(/^operateWXData:fail /,"")),a(e)},complete:e.complete})})}t.tunnel=o,t.constructTunnelReq=function(e,t,n){var r=n.cloud,o=r.getOverriddenConfig(n||{});return{apiName:"qbase_commapi",data:{qbase_api_name:e,qbase_req:t,qbase_options:{env:r.getEnv(o,n&&n.serviceName||"")},qbase_meta:r.getMetaData(),cli_req_id:+new Date+"_"+Math.random()},cloud:r}},t.default=o},"./src/services/database/api/api.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./src/services/database/api/database.ts");t.getAPIs=function(e,t){return void 0===t&&(t={}),{database:r.default.bind(null,e,t)}}},"./src/services/database/api/database.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=n("./src/services/database/api/database/command.ts"),a=n("./src/services/database/api/database/collection.ts"),i=n("./src/services/database/api/database/geo.ts"),s=n("./src/services/database/api/database/date.ts"),c=n("./src/services/database/api/database/regexp.ts"),u=n("./src/services/database/internal/grammar/engine.ts"),l=n("./src/utils/assert.ts");function d(e){return e.debug}t.default=function(e,t,n){return new(r(e,t))(n)};var r=function(n,r){return function(){function e(e){var t=this;this.cloud=n,this.identifiers=r,this.config=e||{},e&&e.env&&l.assertType(e.env,"string"),this.command=o.commands,this.Geo=i,this.serverDate=s.serverDate,this.RegExp=c.regExp,this.engine=u.getEngine(),Object.defineProperties(this,{engine:{enumerable:!1,configurable:!1}}),Object.defineProperties(this,{QuerySerializer:{enumerable:!1,configurable:!1,get:function(){return d(e=t)?e.engine.QuerySerializer:void 0;var e},set:function(){}},UpdateSerializer:{enumerable:!1,configurable:!1,get:function(){return d(e=t)?e.engine.UpdateSerializer:void 0;var e},set:function(){}},Decoder:{enumerable:!1,configurable:!1,get:function(){return d(e=t)?e.engine.Decoder:void 0;var e},set:function(){}}})}return e.prototype.collection=function(e){return new a.CollectionReference(e,this)},e}()}},"./src/services/database/api/database/collection.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var c=n("./node_modules/tslib/tslib.es6.js"),r=n("./src/services/database/api/database/query.ts"),o=n("./src/services/database/api/database/document.ts"),u=n("./src/hook/invoke.ts"),l=n("./src/services/database/internal/backend-api/backend-api.ts"),d=n("./src/utils/msg.ts"),f=n("./src/utils/error.ts"),p=n("./src/utils/assert.ts"),h=n("./src/utils/report.ts"),a=function(r){function e(e,t){var n=r.call(this,e,t)||this;return n.collectionName=e,n.database=t,n}return c.__extends(e,r),e.prototype.doc=function(e){return new o.DocumentReference(this,e,this.database)},e.prototype.add=function(a){var e=this,i="collection.add",s={apiStartTime:+new Date},t=u.hasAPICallback(a),n=new Promise(function(r,o){return c.__awaiter(e,void 0,void 0,function(){var t,n;return c.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,3,4]),p.assertType(a,{data:"object"}),[4,l.addDocument({collectionName:this.collectionName,_id:a.data._id,data:this.database.engine.encodeInternalDataType(a.data),config:this.database.config,cloud:this.database.cloud,timing:s})];case 1:return t=e.sent(),r({_id:t._id,errMsg:d.apiSuccessMsg(i)}),[3,4];case 2:return n=e.sent(),o(f.returnAsFinalCloudSDKError(n,i)),[3,4];case 3:return h.reportAPISpeed(c.__assign({},s,{apiEndTime:+new Date,apiName:"cloud.db."+i})),[7];case 4:return[2]}})})});if(!t)return n;n.then(function(e){u.invokeSuccessCompleteCallbacks(i,a,e)}).catch(function(e){u.invokeFailCompleteCallbacks(i,a,e)})},e}(r.Query);t.CollectionReference=a},"./src/services/database/api/database/command.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./src/services/database/api/database/commands/query.ts"),o=n("./src/services/database/api/database/commands/logic.ts"),a=n("./src/services/database/api/database/commands/update.ts"),i=n("./src/utils/type.ts");t.commands={eq:function(e){return new r.QueryCommmand(r.QUERY_COMMANDS_LITERAL.EQ,[e])},neq:function(e){return new r.QueryCommmand(r.QUERY_COMMANDS_LITERAL.NEQ,[e])},lt:function(e){return new r.QueryCommmand(r.QUERY_COMMANDS_LITERAL.LT,[e])},lte:function(e){return new r.QueryCommmand(r.QUERY_COMMANDS_LITERAL.LTE,[e])},gt:function(e){return new r.QueryCommmand(r.QUERY_COMMANDS_LITERAL.GT,[e])},gte:function(e){return new r.QueryCommmand(r.QUERY_COMMANDS_LITERAL.GTE,[e])},in:function(e){return new r.QueryCommmand(r.QUERY_COMMANDS_LITERAL.IN,e)},nin:function(e){return new r.QueryCommmand(r.QUERY_COMMANDS_LITERAL.NIN,e)},and:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=i.isArray(arguments[0])?arguments[0]:Array.from(arguments);return new o.LogicCommmand(o.LOGIC_COMMANDS_LITERAL.AND,n)},or:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=i.isArray(arguments[0])?arguments[0]:Array.from(arguments);return new o.LogicCommmand(o.LOGIC_COMMANDS_LITERAL.OR,n)},set:function(e){return new a.UpdateCommand(a.UPDATE_COMMANDS_LITERAL.SET,[e])},remove:function(){return new a.UpdateCommand(a.UPDATE_COMMANDS_LITERAL.REMOVE,[])},inc:function(e){return new a.UpdateCommand(a.UPDATE_COMMANDS_LITERAL.INC,[e])},mul:function(e){return new a.UpdateCommand(a.UPDATE_COMMANDS_LITERAL.MUL,[e])},push:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=i.isArray(arguments[0])?arguments[0]:Array.from(arguments);return new a.UpdateCommand(a.UPDATE_COMMANDS_LITERAL.PUSH,n)},pop:function(){return new a.UpdateCommand(a.UPDATE_COMMANDS_LITERAL.POP,[])},shift:function(){return new a.UpdateCommand(a.UPDATE_COMMANDS_LITERAL.SHIFT,[])},unshift:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=i.isArray(arguments[0])?arguments[0]:Array.from(arguments);return new a.UpdateCommand(a.UPDATE_COMMANDS_LITERAL.UNSHIFT,n)}},t.default=t.commands},"./src/services/database/api/database/commands/logic.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o,r,i=n("./src/services/database/api/database/helper/symbol.ts"),a=n("./src/utils/assert.ts"),s=n("./src/utils/type.ts"),c=n("./src/services/database/api/database/commands/query.ts");t.AND="and",t.OR="or",t.NOT="not",t.NOR="nor",(r=o=t.LOGIC_COMMANDS_LITERAL||(t.LOGIC_COMMANDS_LITERAL={})).AND="and",r.OR="or",r.NOT="not",r.NOR="nor";var u=function(){function r(e,t,n){this._internalType=i.SYMBOL_LOGIC_COMMAND,Object.defineProperties(this,{_internalType:{enumerable:!1,configurable:!1}}),this.operator=e,this.operands=t;this.fieldName=n||i.SYMBOL_UNSET_FIELD_NAME;if(this.fieldName!==i.SYMBOL_UNSET_FIELD_NAME){t=t.slice();for(var r=0,o=(this.operands=t).length;r<o;r++){var a=t[r];(l(a)||c.isQueryCommand(a))&&(t[r]=a._setFieldName(this.fieldName))}}}return r.prototype._setFieldName=function(t){var e=this.operands.map(function(e){return e instanceof r?e._setFieldName(t):e});return new r(this.operator,e,t)},r.prototype.and=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];a.assertRequiredParam(arguments[0],"expressions","and");var n=s.isArray(arguments[0])?arguments[0]:Array.from(arguments);return n.unshift(this),new r(o.AND,n,this.fieldName)},r.prototype.or=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];a.assertRequiredParam(arguments[0],"expressions","or");var n=s.isArray(arguments[0])?arguments[0]:Array.from(arguments);return n.unshift(this),new r(o.OR,n,this.fieldName)},r}();function l(e){return e&&e instanceof u&&e._internalType===i.SYMBOL_LOGIC_COMMAND}t.LogicCommmand=u,t.isLogicCommand=l,t.isKnownLogicCommand=function(e){return e.operator.toUpperCase()in o},t.default=u},"./src/services/database/api/database/commands/query.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=n("./node_modules/tslib/tslib.es6.js"),i=n("./src/services/database/api/database/commands/logic.ts"),s=n("./src/services/database/api/database/helper/symbol.ts"),c=n("./src/utils/assert.ts");t.EQ="eq",t.NEQ="neq",t.GT="gt",t.GTE="gte",t.LT="lt",t.LTE="lte",t.IN="in",t.NIN="nin",(o=r=t.QUERY_COMMANDS_LITERAL||(t.QUERY_COMMANDS_LITERAL={})).EQ="eq",o.NEQ="neq",o.GT="gt",o.GTE="gte",o.LT="lt",o.LTE="lte",o.IN="in",o.NIN="nin";var u=function(o){function n(e,t,n){var r=o.call(this,e,t,n)||this;return r.operator=e,r._internalType=s.SYMBOL_QUERY_COMMAND,r}return a.__extends(n,o),n.prototype._setFieldName=function(e){return new n(this.operator,this.operands,e)},n.prototype.eq=function(e){var t=new n(r.EQ,[e],this.fieldName);return this.and(t)},n.prototype.neq=function(e){var t=new n(r.NEQ,[e],this.fieldName);return this.and(t)},n.prototype.gt=function(e){var t=new n(r.GT,[e],this.fieldName);return this.and(t)},n.prototype.gte=function(e){var t=new n(r.GTE,[e],this.fieldName);return this.and(t)},n.prototype.lt=function(e){var t=new n(r.LT,[e],this.fieldName);return this.and(t)},n.prototype.lte=function(e){var t=new n(r.LTE,[e],this.fieldName);return this.and(t)},n.prototype.in=function(e){c.assertType(e,"array");var t=new n(r.IN,e,this.fieldName);return this.and(t)},n.prototype.nin=function(e){c.assertType(e,"array");var t=new n(r.NIN,e,this.fieldName);return this.and(t)},n}(i.LogicCommmand);function l(e){return e&&e instanceof u&&e._internalType===s.SYMBOL_QUERY_COMMAND}t.QueryCommmand=u,t.isQueryCommand=l,t.isKnownQueryCommand=function(e){return l(e)&&e.operator.toUpperCase()in r},t.isComparisonCommand=function(e){return l(e)},t.default=u},"./src/services/database/api/database/commands/update.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=n("./src/services/database/api/database/helper/symbol.ts");t.SET="set",t.REMOVE="remove",t.INC="inc",t.MUL="mul",t.PUSH="push",t.POP="pop",t.SHIFT="shift",t.UNSHIFT="unshift",(o=r=t.UPDATE_COMMANDS_LITERAL||(t.UPDATE_COMMANDS_LITERAL={})).SET="set",o.REMOVE="remove",o.INC="inc",o.MUL="mul",o.PUSH="push",o.POP="pop",o.SHIFT="shift",o.UNSHIFT="unshift";var i=function(){function t(e,t,n){this._internalType=a.SYMBOL_UPDATE_COMMAND,Object.defineProperties(this,{_internalType:{enumerable:!1,configurable:!1}}),this.operator=e,this.operands=t,this.fieldName=n||a.SYMBOL_UNSET_FIELD_NAME}return t.prototype._setFieldName=function(e){return new t(this.operator,this.operands,e)},t}();function s(e){return e&&e instanceof i&&e._internalType===a.SYMBOL_UPDATE_COMMAND}t.UpdateCommand=i,t.isUpdateCommand=s,t.isKnownUpdateCommand=function(e){return s(e)&&e.operator.toUpperCase()in r},t.default=i},"./src/services/database/api/database/date.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),n("./node_modules/tslib/tslib.es6.js").__exportStar(n("./src/services/database/api/database/date/serverDate.ts"),t)},"./src/services/database/api/database/date/serverDate.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./src/services/database/api/database/helper/symbol.ts"),o=n("./src/utils/assert.ts");t.serverDate=function(e){return new a(e)};var a=function(){function e(e){void 0===e&&(e={offset:0}),o.assertType(e,"object","serverDate.options"),this.options=e}return Object.defineProperty(e.prototype,"_internalType",{get:function(){return r.SYMBOL_SERVER_DATE},enumerable:!0,configurable:!0}),e}();t.ServerDate=a},"./src/services/database/api/database/document.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var c=n("./node_modules/tslib/tslib.es6.js"),o=n("./src/hook/invoke.ts"),u=n("./src/services/database/internal/backend-api/backend-api.ts"),l=n("./src/utils/msg.ts"),d=n("./src/utils/error.ts"),s=n("./src/services/database/internal/grammar/default/extractor.ts"),f=n("./src/utils/assert.ts"),p=n("./src/utils/report.ts"),h="document.get",g="document.update",v="document.set",_="document.remove",r=function(){function e(e,t,n){this.collection=e,this.database=n,this._id=t,Object.defineProperties(this,{_field:{enumerable:!1,configurable:!1,writable:!0}}),this._field={}}return e.prototype.field=function(e){return f.assertRequiredParam(e,"object","field"),f.assertType(e,"object","field"),this._field=e,this},e.prototype.get=function(t){var e=this,i={apiStartTime:+new Date},n=o.hasAPICallback(t),r=new Promise(function(o,a){return c.__awaiter(e,void 0,void 0,function(){var t,n,r;return c.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,3,4]),t=this._id,[4,u.queryDocument({database:this.database,collectionName:this.collection.collectionName,query:this.database.engine.QuerySerializer.encode({_id:t}),options:{projection:s.getProjectionDefinition(this._field)},config:this.database.config,cloud:this.database.cloud,timing:i})];case 1:return n=e.sent(),o({data:n.list[0],errMsg:l.apiSuccessMsg(h)}),[3,4];case 2:return r=e.sent(),a(d.returnAsFinalCloudSDKError(r,h)),[3,4];case 3:return p.reportAPISpeed(c.__assign({},i,{apiEndTime:+new Date,apiName:"cloud.db."+h})),[7];case 4:return[2]}})})});if(!n)return r;r.then(function(e){o.invokeSuccessCompleteCallbacks(h,t,e)}).catch(function(e){o.invokeFailCompleteCallbacks(h,t,e)})},e.prototype.set=function(i){var e=this,s={apiStartTime:+new Date},t=o.hasAPICallback(i),n=new Promise(function(o,a){return c.__awaiter(e,void 0,void 0,function(){var t,n,r;return c.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,3,4]),f.assertType(i,{data:"object"}),f.assertObjectNotEmpty({name:"options.data",target:i.data}),t=this._id,[4,u.setDocument({collectionName:this.collection.collectionName,_id:t,data:i.data,options:{},config:this.database.config,cloud:this.database.cloud,timing:s})];case 1:return n=e.sent(),o({_id:n._id,errMsg:l.apiSuccessMsg(v),stats:{updated:n.updated,created:n.created}}),[3,4];case 2:return r=e.sent(),a(d.returnAsFinalCloudSDKError(r,v)),[3,4];case 3:return p.reportAPISpeed(c.__assign({},s,{apiEndTime:+new Date,apiName:"cloud.db."+v})),[7];case 4:return[2]}})})});if(!t)return n;n.then(function(e){o.invokeSuccessCompleteCallbacks(v,i,e)}).catch(function(e){o.invokeFailCompleteCallbacks(v,i,e)})},e.prototype.update=function(i){var e=this,s={apiStartTime:+new Date},t=o.hasAPICallback(i),n=new Promise(function(o,a){return c.__awaiter(e,void 0,void 0,function(){var t,n,r;return c.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,3,4]),f.assertType(i,{data:"object"}),f.assertObjectNotEmpty({name:"options.data",target:i.data}),t=this._id,[4,u.updateDocument({collectionName:this.collection.collectionName,query:this.database.engine.QuerySerializer.encode({_id:t}),data:this.database.engine.UpdateSerializer.encode(i.data),options:{multi:!1,merge:!1},config:this.database.config,cloud:this.database.cloud,timing:s})];case 1:return n=e.sent(),o({stats:{updated:n.updated},errMsg:l.apiSuccessMsg(g)}),[3,4];case 2:return r=e.sent(),a(d.returnAsFinalCloudSDKError(r,g)),[3,4];case 3:return p.reportAPISpeed(c.__assign({},s,{apiEndTime:+new Date,apiName:"cloud.db."+g})),[7];case 4:return[2]}})})});if(!t)return n;n.then(function(e){o.invokeSuccessCompleteCallbacks(g,i,e)}).catch(function(e){o.invokeFailCompleteCallbacks(g,i,e)})},e.prototype.remove=function(t){var e=this,i={apiStartTime:+new Date},n=o.hasAPICallback(t),r=new Promise(function(o,a){return c.__awaiter(e,void 0,void 0,function(){var t,n,r;return c.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,3,4]),t=this._id,[4,u.removeDocument({collectionName:this.collection.collectionName,query:this.database.engine.QuerySerializer.encode({_id:t}),options:{},config:this.database.config,cloud:this.database.cloud,timing:i})];case 1:if(0===(n=e.sent()).removed)throw new Error("cannot remove document with _id "+t+", please make sure that the document exists and you have the corresponding Write permission");return o({stats:{removed:n.removed||0},errMsg:l.apiSuccessMsg(_)}),[3,4];case 2:return r=e.sent(),a(d.returnAsFinalCloudSDKError(r,_)),[3,4];case 3:return p.reportAPISpeed(c.__assign({},i,{apiEndTime:+new Date,apiName:"cloud.db."+_})),[7];case 4:return[2]}})})});if(!n)return r;r.then(function(e){o.invokeSuccessCompleteCallbacks(_,t,e)}).catch(function(e){o.invokeFailCompleteCallbacks(_,t,e)})},e}();t.DocumentReference=r},"./src/services/database/api/database/geo.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),n("./node_modules/tslib/tslib.es6.js").__exportStar(n("./src/services/database/api/database/geo/point.ts"),t)},"./src/services/database/api/database/geo/point.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=n("./src/services/database/api/database/helper/symbol.ts"),a=n("./src/utils/assert.ts"),i=n("./src/utils/error.ts");t.Point=function(e,t){return new r(e,t)};var r=function(){function e(e,t){this._internalType=o.SYMBOL_GEO_POINT,Object.defineProperties(this,{_internalType:{enumerable:!1,configurable:!1}});var n=e,r=t;Object.defineProperties(this,{longitude:{enumerable:!0,configurable:!1,get:function(){return n},set:function(e){if(a.assertType(e,"number","longitude"),180<e||e<-180)throw new i.CloudSDKError({errMsg:"longitude should be a number ranges from -180 to 180"})}},latitude:{enumerable:!0,configurable:!1,get:function(){return r},set:function(e){if(a.assertType(e,"number","latitude"),90<e||e<-90)throw new i.CloudSDKError({errMsg:"latitude should be a number ranges from -90 to 90"})}}}),this.longitude=n,this.latitude=r}return e.prototype.toJSON=function(){return{type:"Point",coordinates:[this.longitude,this.latitude]}},e.prototype.toString=function(){return JSON.stringify(this.toJSON())},e}();t.GeoPoint=r},"./src/services/database/api/database/helper/symbol.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./src/utils/symbol.ts");r.__exportStar(n("./src/utils/symbol.ts"),t),t.SYMBOL_UNSET_FIELD_NAME=o.default.for("UNSET_FIELD_NAME"),t.SYMBOL_UPDATE_COMMAND=o.default.for("UPDATE_COMMAND"),t.SYMBOL_QUERY_COMMAND=o.default.for("QUERY_COMMAND"),t.SYMBOL_LOGIC_COMMAND=o.default.for("LOGIC_COMMAND"),t.SYMBOL_GEO_POINT=o.default.for("GEO_POINT"),t.SYMBOL_SERVER_DATE=o.default.for("SERVER_DATE"),t.SYMBOL_REGEXP=o.default.for("REGEXP")},"./src/services/database/api/database/query.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,s=n("./node_modules/tslib/tslib.es6.js"),c=n("./src/utils/msg.ts"),u=n("./src/services/database/internal/grammar/default/extractor.ts"),o=n("./src/utils/assert.ts"),l=n("./src/services/database/internal/backend-api/backend-api.ts"),d=n("./src/hook/invoke.ts"),f=n("./src/utils/error.ts"),p=n("./src/utils/report.ts"),a=n("./src/services/database/api/database/command.ts");(r=t.ORDER_DIRECTION||(t.ORDER_DIRECTION={})).ASC="asc",r.DESC="desc";var i=function(){function n(e,t,n){this.collectionName=e,this.database=t,this._query=new h(n),Object.defineProperties(this,{_field:{enumerable:!1,configurable:!1,writable:!0}}),this._field=n&&n.field||{}}return n.prototype.field=function(e){return o.assertRequiredParam(e,"object","field"),new n(this.collectionName,this.database,s.__assign({},this._query.getProperties(),{field:e}))},n.prototype.where=function(e){return o.assertRequiredParam(e,"condition","where"),this._query.where?new n(this.collectionName,this.database,s.__assign({},this._query.getProperties(),{where:a.commands.and(this._query.where,e)})):new n(this.collectionName,this.database,s.__assign({},this._query.getProperties(),{where:e}))},n.prototype.orderBy=function(e,t){return o.assertRequiredParam(e,"fieldPath","orderBy"),o.assertRequiredParam(t,"order","orderBy"),new n(this.collectionName,this.database,s.__assign({},this._query.getProperties(),{order:s.__spread(this._query.order||[],[{fieldPath:e,order:t}])}))},n.prototype.limit=function(e){return o.assertRequiredParam(e,"max","limit"),new n(this.collectionName,this.database,s.__assign({},this._query.getProperties(),{limit:e}))},n.prototype.skip=function(e){return o.assertRequiredParam(e,"offset","skip"),new n(this.collectionName,this.database,s.__assign({},this._query.getProperties(),{offset:e}))},n.prototype.get=function(t){var e=this,a="collection.get",i={apiStartTime:+new Date},n=d.hasAPICallback(t),r=new Promise(function(r,o){return s.__awaiter(e,void 0,void 0,function(){var t,n;return s.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,3,4]),[4,l.queryDocument({database:this.database,collectionName:this.collectionName,query:this.database.engine.QuerySerializer.encode(this._query.where||{}),options:u.extractQueryOptions(this),config:this.database.config,cloud:this.database.cloud,timing:i})];case 1:return t=e.sent(),r({data:t.list,errMsg:c.apiSuccessMsg(a)}),[3,4];case 2:return n=e.sent(),o(f.returnAsFinalCloudSDKError(n,a)),[3,4];case 3:return p.reportAPISpeed(s.__assign({},i,{apiEndTime:+new Date,apiName:"cloud.db."+a})),[7];case 4:return[2]}})})});if(!n)return r;r.then(function(e){d.invokeSuccessCompleteCallbacks(a,t,e)}).catch(function(e){d.invokeFailCompleteCallbacks(a,t,e)})},n.prototype.count=function(t){var e=this,a="collection.count",i={apiStartTime:+new Date},n=d.hasAPICallback(t),r=new Promise(function(r,o){return s.__awaiter(e,void 0,void 0,function(){var t,n;return s.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,3,4]),[4,l.countDocument({collectionName:this.collectionName,query:this.database.engine.QuerySerializer.encode(this._query.where||{}),config:this.database.config,cloud:this.database.cloud,timing:i})];case 1:return t=e.sent(),r({total:t.total,errMsg:c.apiSuccessMsg(a)}),[3,4];case 2:return n=e.sent(),o(f.returnAsFinalCloudSDKError(n,a)),[3,4];case 3:return p.reportAPISpeed(s.__assign({},i,{apiEndTime:+new Date,apiName:"cloud.db."+a})),[7];case 4:return[2]}})})});if(!n)return r;r.then(function(e){d.invokeSuccessCompleteCallbacks(a,t,e)}).catch(function(e){d.invokeFailCompleteCallbacks(a,t,e)})},n}();t.Query=i;var h=function(){function e(e){this.where=e&&e.where,this.offset=e&&e.offset,this.limit=e&&e.limit,this.order=e&&e.order}return e.prototype.getProperties=function(){return{where:this.where,offset:this.offset,limit:this.limit,order:this.order}},e}();t.InternalQuery=h},"./src/services/database/api/database/regexp.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./src/services/database/api/database/helper/symbol.ts"),o=n("./src/utils/assert.ts");t.regExp=function(e){return new a(e)};var a=function(){function e(e){o.assertType(e,{regexp:"string"},"RegExp options"),e.options&&o.assertType(e.options,"string"),this.regexp=e.regexp,this.options=e.options||""}return Object.defineProperty(e.prototype,"_internalType",{get:function(){return r.SYMBOL_REGEXP},enumerable:!0,configurable:!0}),e}();t.RegExp=a},"./src/services/database/index.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./src/services/database/api/api.ts"),o="database";t.registerService=function(e){var t;e.registerService((t=e,{name:o,getAPIs:r.getAPIs.bind(null,t)}))}},"./src/services/database/internal/backend-api/backend-api.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,g=n("./node_modules/tslib/tslib.es6.js"),v=n("./src/network/tunnel.ts"),h=n("./src/utils/assert.ts");(r=t.ORDER_DIRECTION||(t.ORDER_DIRECTION={}))[r.ASC=0]="ASC",r[r.DESC=1]="DESC",t.addDocument=function(d){return g.__awaiter(this,void 0,void 0,function(){var t,n,r,o,a,i,s,c,u,l;return g.__generator(this,function(e){switch(e.label){case 0:return t=d.collectionName,n=d._id,r=d.data,o=d.config,a=d.cloud,i=d.timing,s=JSON.stringify(r),h.assertStringLength({input:s,max:a.appConfig.db_doc_size_limit,name:"record",maxWording:(a.appConfig.db_doc_size_limit/1024).toFixed(0)+" KB"}),c={collection_name:t,_id:n,data:s},u=JSON.stringify(c),i.tunnelStartTime=+new Date,[4,v.tunnel(v.constructTunnelReq("tcbapi_db_adddocument",u,g.__assign({},o,{serviceName:"database",cloud:a})),{requireDataNotEmpty:!0})];case 1:return l=e.sent(),i.tunnelEndTime=+new Date,[2,{_id:l.data._id}]}})})},t.removeDocument=function(l){return g.__awaiter(this,void 0,void 0,function(){var t,n,r,o,a,i,s,c,u;return g.__generator(this,function(e){switch(e.label){case 0:return t=l.collectionName,n=l.query,r=l.options,o=l.config,a=l.cloud,i=l.timing,s=r&&r.multi,c=JSON.stringify({collection_name:t,query:JSON.stringify(n),multi:s}),i.tunnelStartTime=+new Date,[4,v.tunnel(v.constructTunnelReq("tcbapi_db_deletedocument",c,g.__assign({},o,{serviceName:"database",cloud:a})),{requireDataNotEmpty:!0})];case 1:return u=e.sent(),i.tunnelEndTime=+new Date,[2,{removed:u.data.deleted}]}})})},t.queryDocument=function(h){return g.__awaiter(this,void 0,void 0,function(){var t,n,r,o,a,i,s,c,u,l,d,f,p;return g.__generator(this,function(e){switch(e.label){case 0:return t=h.database,n=h.collectionName,r=h.query,o=h.options,a=void 0===o?{}:o,i=h.config,s=h.cloud,c=h.timing,u={collection_name:n,query:JSON.stringify(r)},a.offset&&(u.offset=a.offset),a.limit&&(u.limit=a.limit),a.order&&(u.order=a.order),a.projection&&(u.projection=JSON.stringify(a.projection)),l=JSON.stringify(u),c.tunnelStartTime=+new Date,[4,v.tunnel(v.constructTunnelReq("tcbapi_db_querydocument",l,g.__assign({},i,{serviceName:"database",cloud:s})),{requireDataNotEmpty:!0})];case 1:return d=e.sent(),c.tunnelEndTime=+new Date,f=d.data,p=f.data_list?JSON.parse(f.data_list):[],[2,{list:p=t.engine.Decoder.decode(p),offset:f.offset,limit:f.limit,total:f.total}]}})})},t.updateDocument=function(p){return g.__awaiter(this,void 0,void 0,function(){var t,n,r,o,a,i,s,c,u,l,d,f;return g.__generator(this,function(e){switch(e.label){case 0:return t=p.collectionName,n=p.query,r=p.data,o=p.options,a=void 0===o?{}:o,i=p.config,s=p.cloud,c=p.timing,u=JSON.stringify(r),h.assertStringLength({input:u,max:s.appConfig.db_doc_size_limit,name:"update expression",maxWording:(s.appConfig.db_doc_size_limit/1024).toFixed(0)+" KB"}),(l={collection_name:t,query:JSON.stringify(n),data:u}).multi=!1!==a.multi,l.merge=!1!==a.merge,a.upsert&&(l.upsert=a.upsert),d=JSON.stringify(l),c.tunnelStartTime=+new Date,[4,v.tunnel(v.constructTunnelReq("tcbapi_db_updatedocument",d,g.__assign({},i,{serviceName:"database",cloud:s})),{requireDataNotEmpty:!0})];case 1:return f=e.sent(),c.tunnelEndTime=+new Date,[2,{updated:f.data.updated}]}})})},t.setDocument=function(f){return g.__awaiter(this,void 0,void 0,function(){var t,n,r,o,a,i,s,c,u,l,d;return g.__generator(this,function(e){switch(e.label){case 0:return t=f.collectionName,n=f._id,r=f.data,f.options,o=f.config,a=f.cloud,i=f.timing,s=JSON.stringify(r),h.assertStringLength({input:s,max:a.appConfig.db_doc_size_limit,name:"record",maxWording:(a.appConfig.db_doc_size_limit/1024).toFixed(0)+" KB"}),c={collection_name:t,_id:n,data:s},u=JSON.stringify(c),i.tunnelStartTime=+new Date,[4,v.tunnel(v.constructTunnelReq("tcbapi_db_setdocument",u,g.__assign({},o,{serviceName:"database",cloud:a})),{requireDataNotEmpty:!0})];case 1:return l=e.sent(),i.tunnelEndTime=+new Date,[2,{_id:(d=l.data)._id||n,updated:d._id?0:1,created:d._id?1:0}]}})})},t.countDocument=function(u){return g.__awaiter(this,void 0,void 0,function(){var t,n,r,o,a,i,s,c;return g.__generator(this,function(e){switch(e.label){case 0:return t=u.collectionName,n=u.query,r=u.config,o=u.cloud,a=u.timing,i={collection_name:t,query:JSON.stringify(n)},s=JSON.stringify(i),a.tunnelStartTime=+new Date,[4,v.tunnel(v.constructTunnelReq("tcbapi_db_countdocument",s,g.__assign({},r,{serviceName:"database",cloud:o})),{requireDataNotEmpty:!0})];case 1:return c=e.sent(),a.tunnelEndTime=+new Date,[2,{total:c.data.total}]}})})}},"./src/services/database/internal/grammar/default/extractor.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./src/services/database/api/database/query.ts"),o=n("./src/services/database/internal/backend-api/backend-api.ts"),a=n("./src/services/database/internal/grammar/default/serializer/common.ts");function i(e){var t=a.flattenObject(e);for(var n in t)!0===t[n]||1===t[n]?t[n]=1:!1===t[n]||0===t[n]?t[n]=0:delete t[n];return t}t.extractQueryOptions=function(e){return{limit:e._query.limit,offset:e._query.offset,order:(e._query.order||[]).map(function(e){return{field:e.fieldPath,direction:e.order===r.ORDER_DIRECTION.DESC?o.ORDER_DIRECTION.DESC:o.ORDER_DIRECTION.ASC}}),projection:i(e._field)}},t.getProjectionDefinition=i},"./src/services/database/internal/grammar/default/index.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/tslib/tslib.es6.js");r.__exportStar(n("./src/services/database/internal/grammar/default/extractor.ts"),t),r.__exportStar(n("./src/services/database/internal/grammar/default/operator-map.ts"),t),r.__exportStar(n("./src/services/database/internal/grammar/default/serializer.ts"),t)},"./src/services/database/internal/grammar/default/operator-map.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./src/services/database/api/database/commands/query.ts"),o=n("./src/services/database/api/database/commands/logic.ts"),a=n("./src/services/database/api/database/commands/update.ts");for(var i in t.OperatorMap={},r.QUERY_COMMANDS_LITERAL)t.OperatorMap[i]="$"+i.toLowerCase();for(var i in o.LOGIC_COMMANDS_LITERAL)t.OperatorMap[i]="$"+i.toLowerCase();for(var i in a.UPDATE_COMMANDS_LITERAL)t.OperatorMap[i]="$"+i.toLowerCase();t.OperatorMap[r.QUERY_COMMANDS_LITERAL.NEQ]="$ne",t.OperatorMap[a.UPDATE_COMMANDS_LITERAL.REMOVE]="$unset",t.OperatorMap[a.UPDATE_COMMANDS_LITERAL.SHIFT]="$pop",t.OperatorMap[a.UPDATE_COMMANDS_LITERAL.UNSHIFT]="$push",t.operatorToString=function(e){return t.OperatorMap[e]||"$"+e.toLowerCase()}},"./src/services/database/internal/grammar/default/serializer.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/tslib/tslib.es6.js");r.__exportStar(n("./src/services/database/internal/grammar/default/serializer/query.ts"),t),r.__exportStar(n("./src/services/database/internal/grammar/default/serializer/update.ts"),t),r.__exportStar(n("./src/services/database/internal/grammar/default/serializer/decoder.ts"),t),r.__exportStar(n("./src/services/database/internal/grammar/default/serializer/common.ts"),t)},"./src/services/database/internal/grammar/default/serializer/common.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var l=n("./node_modules/tslib/tslib.es6.js"),d=n("./src/utils/error.ts"),f=n("./src/config/error.config.ts"),p=n("./src/utils/type.ts"),r=n("./src/services/database/internal/grammar/default/serializer/datatype.ts");function h(e,t,n,r){var o=l.__assign({},e);for(var a in e)if(!/^\$/.test(a)){var i=e[a];if(i&&p.isObject(i)&&!t(i)){if(-1<r.indexOf(i))throw new d.CloudSDKError({errCode:f.ERR_CODE.SDK_DATABASE_CIRCULAR_REFERENCE,errMsg:"Cannot convert circular structure to JSON"});var s=h(i,t,l.__spread(n,[a]),l.__spread(r,[i]));o[a]=s;var c=!1;for(var u in s)/^\$/.test(u)?c=!0:(o[a+"."+u]=s[u],delete o[a][u]);c||delete o[a]}}return o}function o(e){return p.isInternalObject(e)||p.isDate(e)||p.isRegExp(e)}t.flattenQueryObject=function(e){return h(e,o,[],[e])},t.flattenObject=function(e){return h(e,function(e){return!1},[],[e])},t.mergeConditionAfterEncode=function(e,t,n){for(var r in t[n]||delete e[n],t)e[r]?p.isArray(e[r])?e[r].push(t[r]):p.isObject(e[r])?p.isObject(t[r])?Object.assign(e[r],t[r]):(console.warn("unmergable condition, query is object but condition is "+p.getType(t)+", can only overwrite",t,n),e[r]=t[r]):(console.warn("to-merge query is of type "+p.getType(e)+", can only overwrite",e,t,n),e[r]=t[r]):e[r]=t[r]},t.isConversionRequired=o,t.encodeInternalDataType=function(e){return r.serialize(e)},t.decodeInternalDataType=function(e){return r.deserialize(e)}},"./src/services/database/internal/grammar/default/serializer/datatype.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/tslib/tslib.es6.js"),i=n("./src/services/database/api/database/helper/symbol.ts"),s=n("./src/utils/type.ts"),r=n("./src/services/database/api/database/geo.ts"),o=n("./src/services/database/api/database/date.ts"),c=n("./src/utils/error.ts"),u=n("./src/config/error.config.ts");t.serialize=function(e){return function t(e,n){if(!s.isInternalObject(e)){if(s.isDate(e))return{$date:+e};if(s.isRegExp(e))return{$regex:e.source,$options:e.flags};if(s.isArray(e))return e.map(function(e){if(-1<n.indexOf(e))throw new c.CloudSDKError({errCode:u.ERR_CODE.SDK_DATABASE_CIRCULAR_REFERENCE,errMsg:"Cannot convert circular structure to JSON"});return t(e,a.__spread(n,[e]))});if(s.isObject(e)){var r=a.__assign({},e);for(var o in r){if(-1<n.indexOf(r[o]))throw new c.CloudSDKError({errCode:u.ERR_CODE.SDK_DATABASE_CIRCULAR_REFERENCE,errMsg:"Cannot convert circular structure to JSON"});r[o]=t(r[o],a.__spread(n,[r[o]]))}return r}return e}switch(e._internalType){case i.SYMBOL_GEO_POINT:return e.toJSON();case i.SYMBOL_SERVER_DATE:return{$date:e.options};case i.SYMBOL_REGEXP:return{$regex:e.regexp,$options:e.options};default:return e.toJSON?e.toJSON():e}}(e,[e])},t.deserialize=function(e){var t=a.__assign({},e);for(var n in t)switch(n){case"$date":switch(s.getType(t[n])){case"number":return new Date(t[n]);case"object":return o.serverDate(t[n])}break;case"type":switch(t.type){case"Point":if(s.isArray(t.coordinates)&&s.isNumber(t.coordinates[0])&&s.isNumber(t.coordinates[1]))return new r.Point(t.coordinates[0],t.coordinates[1])}}return e}},"./src/services/database/internal/grammar/default/serializer/decoder.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/tslib/tslib.es6.js"),i=n("./src/utils/type.ts"),s=n("./src/services/database/internal/grammar/default/serializer/common.ts"),r=function(){function t(){}return t.decode=function(e){return(new t).decodeData(e)},t.prototype.decodeData=function(e){var n=this;switch(i.getType(e)){case"object":return this.decodeObject(e);case"array":return e.map(function(e){if(i.isObject(e)){var t=s.decodeInternalDataType(e);return t!==e?t:n.decodeObject(e)}return e});default:return e}},t.prototype.decodeObject=function(e){var t=a.__assign({},e);for(var n in t){var r=t[n];switch(i.getType(r)){case"object":var o=s.decodeInternalDataType(r);t[n]=o!==r?o:this.decodeObject(t[n]);break;case"array":(o=this.decodeData(r))!==r&&(t[n]=o);break;default:continue}}return t},t}();t.Decoder=r},"./src/services/database/internal/grammar/default/serializer/query.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var c=n("./src/services/database/api/database/commands/query.ts"),s=n("./src/services/database/api/database/commands/logic.ts"),u=n("./src/services/database/api/database/helper/symbol.ts"),o=n("./src/utils/type.ts"),l=n("./src/utils/error.ts"),d=n("./src/services/database/internal/grammar/default/operator-map.ts"),f=n("./src/services/database/internal/grammar/default/serializer/common.ts"),r=function(){function e(){}return e.encode=function(e){return(new a).encodeQuery(e)},e}();t.QuerySerializer=r;var a=function(){function e(){}return e.prototype.encodeQuery=function(e){return f.isConversionRequired(e)?s.isLogicCommand(e)?this.encodeLogicCommand(e):c.isQueryCommand(e)?this.encodeQueryCommand(e):this.encodeQueryObject(e):o.isObject(e)?this.encodeQueryObject(e):e},e.prototype.encodeLogicCommand=function(e){var t,n,r;switch(e.operator){case s.LOGIC_COMMANDS_LITERAL.AND:case s.LOGIC_COMMANDS_LITERAL.OR:var o=d.operatorToString(e.operator),a=e.operands.map(this.encodeQuery.bind(this));return(t={})[o]=a,t;default:o=d.operatorToString(e.operator);if(1===e.operands.length){var i=this.encodeQuery(e.operands[0]);return(n={})[o]=i,n}a=e.operands.map(this.encodeQuery.bind(this));return(r={})[o]=a,r}},e.prototype.encodeQueryCommand=function(e){return c.isComparisonCommand(e),this.encodeComparisonCommand(e)},e.prototype.encodeComparisonCommand=function(e){var t,n,r,o,a,i;if(e.fieldName===u.SYMBOL_UNSET_FIELD_NAME)throw new l.CloudSDKError({errMsg:"Cannot encode a comparison command with unset field name"});var s=d.operatorToString(e.operator);switch(e.operator){case c.QUERY_COMMANDS_LITERAL.EQ:case c.QUERY_COMMANDS_LITERAL.NEQ:case c.QUERY_COMMANDS_LITERAL.LT:case c.QUERY_COMMANDS_LITERAL.LTE:case c.QUERY_COMMANDS_LITERAL.GT:case c.QUERY_COMMANDS_LITERAL.GTE:return(t={})[e.fieldName]=((n={})[s]=f.encodeInternalDataType(e.operands[0]),n),t;case c.QUERY_COMMANDS_LITERAL.IN:case c.QUERY_COMMANDS_LITERAL.NIN:return(r={})[e.fieldName]=((o={})[s]=f.encodeInternalDataType(e.operands),o),r;default:return(a={})[e.fieldName]=((i={})[s]=f.encodeInternalDataType(e.operands[0]),i),a}},e.prototype.encodeQueryObject=function(e){var t=f.flattenQueryObject(e);for(var n in t){var r=t[n];if(s.isLogicCommand(r)){t[n]=r._setFieldName(n);var o=this.encodeLogicCommand(t[n]);this.mergeConditionAfterEncode(t,o,n)}else if(c.isComparisonCommand(r)){t[n]=r._setFieldName(n);o=this.encodeComparisonCommand(t[n]);this.mergeConditionAfterEncode(t,o,n)}else f.isConversionRequired(r)&&(t[n]=f.encodeInternalDataType(r))}return t},e.prototype.mergeConditionAfterEncode=function(e,t,n){for(var r in t[n]||delete e[n],t)e[r]?o.isArray(e[r])?e[r].push(t[r]):o.isObject(e[r])?o.isObject(t[r])?Object.assign(e,t):(console.warn("unmergable condition, query is object but condition is "+o.getType(t)+", can only overwrite",t,n),e[r]=t[r]):(console.warn("to-merge query is of type "+o.getType(e)+", can only overwrite",e,t,n),e[r]=t[r]):e[r]=t[r]},e}()},"./src/services/database/internal/grammar/default/serializer/update.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var p=n("./src/services/database/api/database/commands/update.ts"),r=n("./src/services/database/api/database/helper/symbol.ts"),o=n("./src/utils/type.ts"),a=n("./src/utils/error.ts"),h=n("./src/services/database/internal/grammar/default/operator-map.ts"),g=n("./src/services/database/internal/grammar/default/serializer/common.ts"),i=function(){function t(){}return t.encode=function(e){return(new t).encodeUpdate(e)},t.prototype.encodeUpdate=function(e){return p.isUpdateCommand(e)?this.encodeUpdateCommand(e):"object"===o.getType(e)?this.encodeUpdateObject(e):e},t.prototype.encodeUpdateCommand=function(e){if(e.fieldName===r.SYMBOL_UNSET_FIELD_NAME)throw new a.CloudSDKError({errMsg:"Cannot encode a comparison command with unset field name"});switch(e.operator){case p.UPDATE_COMMANDS_LITERAL.SET:case p.UPDATE_COMMANDS_LITERAL.REMOVE:case p.UPDATE_COMMANDS_LITERAL.INC:case p.UPDATE_COMMANDS_LITERAL.MUL:return this.encodeFieldUpdateCommand(e);case p.UPDATE_COMMANDS_LITERAL.PUSH:case p.UPDATE_COMMANDS_LITERAL.POP:case p.UPDATE_COMMANDS_LITERAL.SHIFT:case p.UPDATE_COMMANDS_LITERAL.UNSHIFT:return this.encodeArrayUpdateCommand(e);default:return this.encodeFieldUpdateCommand(e)}},t.prototype.encodeFieldUpdateCommand=function(e){var t,n,r,o,a=h.operatorToString(e.operator);switch(e.operator){case p.UPDATE_COMMANDS_LITERAL.REMOVE:return(t={})[a]=((n={})[e.fieldName]="",n),t;case p.UPDATE_COMMANDS_LITERAL.SET:case p.UPDATE_COMMANDS_LITERAL.INC:case p.UPDATE_COMMANDS_LITERAL.MUL:default:return(r={})[a]=((o={})[e.fieldName]=e.operands[0],o),r}},t.prototype.encodeArrayUpdateCommand=function(e){var t,n,r,o,a,i,s,c,u,l,d=h.operatorToString(e.operator);switch(e.operator){case p.UPDATE_COMMANDS_LITERAL.PUSH:var f={$each:e.operands.map(g.encodeInternalDataType)};return(t={})[d]=((n={})[e.fieldName]=f,n),t;case p.UPDATE_COMMANDS_LITERAL.UNSHIFT:f={$each:e.operands.map(g.encodeInternalDataType),$position:0};return(r={})[d]=((o={})[e.fieldName]=f,o),r;case p.UPDATE_COMMANDS_LITERAL.POP:return(a={})[d]=((i={})[e.fieldName]=1,i),a;case p.UPDATE_COMMANDS_LITERAL.SHIFT:return(s={})[d]=((c={})[e.fieldName]=-1,c),s;default:return(u={})[d]=((l={})[e.fieldName]=g.encodeInternalDataType(e.operands),l),u}},t.prototype.encodeUpdateObject=function(e){var t=g.flattenQueryObject(e);for(var n in t)if(!/^\$/.test(n)){var r=t[n];if(p.isUpdateCommand(r)){t[n]=r._setFieldName(n);var o=this.encodeUpdateCommand(t[n]);g.mergeConditionAfterEncode(t,o,n)}else{t[n]=r=g.encodeInternalDataType(r);var a=new p.UpdateCommand(p.UPDATE_COMMANDS_LITERAL.SET,[r],n);o=this.encodeUpdateCommand(a);g.mergeConditionAfterEncode(t,o,n)}}return t},t}();t.UpdateSerializer=i},"./src/services/database/internal/grammar/engine.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=n("./src/services/database/internal/grammar/default/index.ts");(o=r=t.ENGINES||(t.ENGINES={}))[o.DEFAULT=0]="DEFAULT",t.getEngine=function(e){return void 0===e&&(e=r.DEFAULT),a}},"./src/services/functions/api/api.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./src/services/functions/api/callFunction.ts");t.getAPIs=function(e,t){return void 0===t&&(t={}),{callFunction:r.default(e)}}},"./src/services/functions/api/callFunction.ts":function(e,i,t){Object.defineProperty(i,"__esModule",{value:!0});var n,r,s=t("./node_modules/tslib/tslib.es6.js"),c=t("./src/hook/invoke.ts"),u=t("./src/utils/assert.ts"),l=t("./src/utils/error.ts"),d=t("./src/utils/fail-safe.ts"),f=t("./src/utils/fn/clone.ts"),p=t("./src/utils/report.ts"),h=t("./src/externals/globals/wxconfig.ts"),g=t("./src/services/functions/api/callFunction/sync.ts"),v=t("./src/services/functions/api/callFunction/slow.ts"),_=t("./src/services/functions/api/callFunction/slow.v2.ts");(n=i.SlowCallScene||(i.SlowCallScene={}))[n.INITIATE_CALL=1]="INITIATE_CALL",n[n.NORMAL_POLL_RETRY=2]="NORMAL_POLL_RETRY",n[n.SYSTEM_ERROR_RETRY=3]="SYSTEM_ERROR_RETRY",n[n.TIMEOUT_RETRY=4]="TIMEOUT_RETRY",(r=i.ResultStatus||(i.ResultStatus={}))[r.PENDING=0]="PENDING",r[r.DONE=1]="DONE",r[r.TIMEOUT=2]="TIMEOUT",i.API_NAME="cloud.callFunction",i.API_NAME_V2="cloud.callFunctionV2",i.default=function(o){return function(e){var t=+new Date;u.assertType(e,"object");var n,r=f.shallowClone(e);return r.data||(r.data={}),r.context={},r.context.apiStartTime=t,c.hasAPICallback(r)?(n=r,d.wrapParamCallbacksWithTryCatch({apiName:i.API_NAME,param:n}),void a(n).then(function(e){c.invokeSuccessCompleteCallbacks(i.API_NAME,n,e)}).catch(function(e){c.invokeFailCompleteCallbacks(i.API_NAME,n,e)})):a(r)};function a(r){return s.__awaiter(this,void 0,void 0,function(){var n;return s.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,8,9,10]),t=r,u.assertType(t,{name:"string"}),t.data&&u.assertType(t.data,"object"),t.config&&t.config.env&&u.assertType(t.config.env,"string"),[4,v.default(o)(r)];case 1:return[2,e.sent()];case 2:return[4,_.default(o)(r)];case 3:return[2,e.sent()];case 4:return[3,7];case 5:return[4,g.default(o)(r)];case 6:return[2,e.sent()];case 7:return[3,10];case 8:throw n=e.sent(),l.returnAsFinalCloudSDKError(n,i.API_NAME);case 9:return p.reportAPISpeed(s.__assign({},r.context,{apiEndTime:+new Date,apiName:"devtools"!==h.default.platform?i.API_NAME_V2:i.API_NAME})),[7];case 10:return[2]}var t})})}}},"./src/services/functions/api/callFunction/slow.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var f=n("./node_modules/tslib/tslib.es6.js"),p=n("./src/config/error.config.ts"),h=n("./src/externals/public-lib/appserviceSdk.ts"),g=n("./src/network/tunnel.ts"),v=n("./src/utils/assert.ts"),_=n("./src/utils/error.ts"),y=n("./src/utils/msg.ts"),m=n("./src/utils/serializer.ts"),b=n("./src/services/functions/index.ts"),w=n("./src/services/functions/api/callFunction.ts");t.default=function(d){return function(l){return f.__awaiter(this,void 0,void 0,function(){function t(n){return f.__awaiter(this,void 0,void 0,function(){return f.__generator(this,function(e){return[2,new Promise(function(e,t){!function o(a,i,s,c){return f.__awaiter(this,void 0,void 0,function(){return f.__generator(this,function(e){return h.getSDK(d)._requestSkipCheckDomain({url:a,success:function(e){try{if(200!==e.statusCode)return c(_.returnAsFinalCloudSDKError({errCode:p.ERR_CODE.SDK_FUNCTIONS_POLL_RESULT_STATUS_CODE_ERROR,errMsg:"polling status code "+e.statusCode},w.API_NAME));var t=e.data;if(!t)return c(_.returnAsFinalCloudSDKError({errCode:p.ERR_CODE.SDK_FUNCTIONS_EMPTY_POLL_RESULT_JSON,errMsg:p.ERR_CODE[p.ERR_CODE.SDK_FUNCTIONS_EMPTY_POLL_RESULT_JSON]},w.API_NAME));if(t.base_resp&&0===t.base_resp.ret){if(0!==t.status){if(1!==t.status)return c(_.returnAsFinalCloudSDKError({errCode:p.ERR_CODE.SDK_FUNCTIONS_POLL_RESULT_EXPIRED,errMsg:"timeout for result fetching"},w.API_NAME));if(0!==t.service_errcode){var n=_.returnAsFinalCloudSDKError({errCode:p.ERR_CODE.SDK_FUNCTIONS_CLOUD_FUNCTION_EXECUTION_ERROR,errMsg:"requestID "+t.func_req_id+", cloud function service error code "+(t.service_errcode||"unknown")+", error message "+(t.service_errmsg||"unknown")},w.API_NAME);return n.requestID=t.func_req_id,c(n)}var r=t.content;try{r=m.deserialize(r)}catch(e){try{r=JSON.parse(r)}catch(e){}}return s({result:r,requestID:t.func_req_id})}if(!(0<=i))return c(_.returnAsFinalCloudSDKError({errCode:p.ERR_CODE.SDK_FUNCTIONS_EXCEED_MAX_POLL_RETRY,errMsg:p.ERR_CODE[p.ERR_CODE.SDK_FUNCTIONS_EXCEED_MAX_POLL_RETRY]},w.API_NAME));o(a,i-1,s,c)}else{if(!t.base_resp)return c(_.returnAsFinalCloudSDKError({errCode:p.ERR_CODE.SDK_FUNCTIONS_EMPTY_POLL_RESULT_BASE_RESP,errMsg:p.ERR_CODE[p.ERR_CODE.SDK_FUNCTIONS_EMPTY_POLL_RESULT_BASE_RESP]},w.API_NAME));if(0!==t.base_resp.ret)return c(_.returnAsFinalCloudSDKError({errCode:p.ERR_CODE.SDK_FUNCTIONS_POLL_RESULT_BASE_RESP_RET_ABNORMAL,errMsg:"polling base_resp.ret "+t.base_resp.ret},w.API_NAME))}}catch(e){c(_.returnAsFinalCloudSDKError({errCode:p.ERR_CODE.SDK_FUNCTIONS_POLL_ERROR,errMsg:"polling catch error: "+e},w.API_NAME))}},fail:function(e){c(_.returnAsFinalCloudSDKError(e,w.API_NAME))}}),[2]})})}(n,d.appConfig.call_function_poll_max_retry||50,e,t)})]})})}var n,r,o,a,i,s,c,u;return f.__generator(this,function(e){switch(e.label){case 0:return n=m.serialize(l.data),v.assertStringLength({input:n,max:d.appConfig.call_function_max_req_data_size,name:"callFunction data",maxWording:d.appConfig.call_function_max_req_data_size/1024+" KB"}),r={function_name:l.name,data:n},o=m.serialize(r),l.context.tunnelStartTime=+new Date,[4,g.tunnel(g.constructTunnelReq("tcbapi_slowcallfunction",o,f.__assign({},l.config,{serviceName:b.FUNCTIONS_SERVICE_NAME,cloud:d})))];case 1:if(a=e.sent(),l.context.tunnelEndTime=+new Date,!(i=a.data))throw _.returnAsFinalCloudSDKError({errCode:p.ERR_CODE.SDK_FUNCTIONS_EMPTY_CALL_RESULT,errMsg:p.ERR_CODE[p.ERR_CODE.SDK_FUNCTIONS_EMPTY_CALL_RESULT]},w.API_NAME);if(i.event_id,!i.poll_url)throw _.returnAsFinalCloudSDKError({errCode:p.ERR_CODE.SDK_FUNCTIONS_EMPTY_POLL_URL,errMsg:p.ERR_CODE[p.ERR_CODE.SDK_FUNCTIONS_EMPTY_POLL_URL]},w.API_NAME);return-1<i.poll_url.indexOf("?")?i.poll_url+="&devtools_ignore=true&skip_domain_check=true":i.poll_url+="?devtools_ignore=true&skip_domain_check=true",l.context.pollStartTime=+new Date,[4,t(i.poll_url)];case 2:return s=e.sent(),c=s.result,u=s.requestID,l.context.pollEndTime=+new Date,[2,{errMsg:y.apiSuccessMsg(w.API_NAME),result:c,requestID:u}]}})})}}},"./src/services/functions/api/callFunction/slow.v2.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var m=n("./node_modules/tslib/tslib.es6.js"),b=n("./src/config/error.config.ts"),w=n("./src/network/tunnel.ts"),s=n("./src/utils/assert.ts"),S=n("./src/utils/error.ts"),c=n("./src/utils/msg.ts"),C=n("./src/utils/serializer.ts"),T=n("./src/services/functions/index.ts"),k=n("./src/services/functions/api/callFunction.ts");t.default=function(y){return function(_){return m.__awaiter(this,void 0,void 0,function(){function t(n,r,o){return m.__awaiter(this,void 0,void 0,function(){return m.__generator(this,function(e){return[2,new Promise(function(e,t){!function g(v){return m.__awaiter(this,void 0,void 0,function(){function t(e){try{if(p)return;clearTimeout(h);var t=e.data;if(!t)throw S.returnAsFinalCloudSDKError({errCode:b.ERR_CODE.SDK_FUNCTIONS_EMPTY_CALL_RESULT,errMsg:b.ERR_CODE[b.ERR_CODE.SDK_FUNCTIONS_EMPTY_CALL_RESULT]},k.API_NAME);if(!t.baseresponse||0!==t.baseresponse.errcode)return t.baseresponse?0!==t.baseresponse.errcode?l(S.returnAsFinalCloudSDKError({errCode:b.ERR_CODE.SDK_FUNCTIONS_POLL_RESULT_BASE_RESP_RET_ABNORMAL,errMsg:"polling base_resp.errcode "+t.baseresponse.errcode+" errmsg "+t.baseresponse.errmsg},k.API_NAME)):l(S.returnAsFinalCloudSDKError({errCode:b.ERR_CODE.SDK_FUNCTIONS_EMPTY_POLL_RESULT_BASE_RESP,errMsg:"polling base_resp "+JSON.stringify(t.baseresponse)},k.API_NAME)):l(S.returnAsFinalCloudSDKError({errCode:b.ERR_CODE.SDK_FUNCTIONS_EMPTY_POLL_RESULT_BASE_RESP,errMsg:b.ERR_CODE[b.ERR_CODE.SDK_FUNCTIONS_EMPTY_POLL_RESULT_BASE_RESP]},k.API_NAME));if(0!==t.status){if(1!==t.status)return l(S.returnAsFinalCloudSDKError({errCode:b.ERR_CODE.SDK_FUNCTIONS_POLL_RESULT_EXPIRED,errMsg:"timeout for result fetching, result cannot be fetched anymore"},k.API_NAME));if(0!==t.service_errcode){var n=S.returnAsFinalCloudSDKError({errCode:b.ERR_CODE.SDK_FUNCTIONS_CLOUD_FUNCTION_EXECUTION_ERROR,errMsg:"requestID "+t.func_request_id+", cloud function service error code "+(t.service_errcode||"unknown")+", error message "+(t.service_errmsg||"unknown")},k.API_NAME);return n.requestID=t.func_request_id,l(n)}var r=t.data;try{r=C.deserialize(r)}catch(e){try{r=JSON.parse(r)}catch(e){}}return u({result:r,requestID:t.func_request_id})}if(!(0<=i))return l(S.returnAsFinalCloudSDKError({errCode:b.ERR_CODE.SDK_FUNCTIONS_EXCEED_MAX_POLL_RETRY,errMsg:b.ERR_CODE[b.ERR_CODE.SDK_FUNCTIONS_EXCEED_MAX_POLL_RETRY]},k.API_NAME));g(m.__assign({},v,{scene:k.SlowCallScene.NORMAL_POLL_RETRY,tryCount:i-1}))}catch(e){l(S.returnAsFinalCloudSDKError({errCode:b.ERR_CODE.SDK_FUNCTIONS_POLL_ERROR,errMsg:"polling catch error: "+e},k.API_NAME))}}var n,r,o,a,i,s,c,u,l,d,f,p,h;return m.__generator(this,function(e){return n=v.functionName,r=v.data,o=v.callID,a=v.scene,i=v.tryCount,s=v.systemErrorRetry,c=v.timeoutErrorRetry,u=v.resolve,l=v.reject,d={function_name:n,data:a===k.SlowCallScene.INITIATE_CALL?r:void 0,scene:a,call_id:o},f=C.serialize(d),p=!1,h=setTimeout(function(){p=!0,10<v.timeoutErrorRetry?g(m.__assign({},v,{scene:k.SlowCallScene.TIMEOUT_RETRY,tryCount:i-1,timeoutErrorRetry:c-1})):l(S.returnAsFinalCloudSDKError({errCode:b.ERR_CODE.SDK_FUNCTIONS_EXCEED_MAX_TIMEOUT_POLL_RETRY,errMsg:b.ERR_CODE[b.ERR_CODE.SDK_FUNCTIONS_EXCEED_MAX_TIMEOUT_POLL_RETRY]},k.API_NAME))},y.appConfig.call_function_client_poll_timeout||2e4),w.tunnel(w.constructTunnelReq("tcbapi_slowcallfunction_v2",f,m.__assign({},_.config,{serviceName:T.FUNCTIONS_SERVICE_NAME,cloud:y}))).then(t).catch(function(e){p||(clearTimeout(h),e&&/^operateWXData:fail/.test(e.errMsg)&&0<s?g(m.__assign({},v,{scene:k.SlowCallScene.SYSTEM_ERROR_RETRY,tryCount:i-1,systemErrorRetry:s-1})):l(S.returnAsFinalCloudSDKError(e,k.API_NAME)))}),[2]})})}({functionName:n,data:r,callID:o,scene:k.SlowCallScene.INITIATE_CALL,tryCount:y.appConfig.call_function_poll_max_retry||50,systemErrorRetry:2,timeoutErrorRetry:2,resolve:e,reject:t})})]})})}var n,r,o,a,i;return m.__generator(this,function(e){switch(e.label){case 0:return n=C.serialize(_.data),s.assertStringLength({input:n,max:y.appConfig.call_function_max_req_data_size,name:"callFunction data",maxWording:y.appConfig.call_function_max_req_data_size/1024+" KB"}),r=+new Date+"-"+Math.random(),_.context.tunnelStartTime=+new Date,[4,t(_.name,n,r)];case 1:return o=e.sent(),a=o.result,i=o.requestID,_.context.tunnelEndTime=+new Date,[2,{errMsg:c.apiSuccessMsg(k.API_NAME),result:a,requestID:i}]}})})}}},"./src/services/functions/api/callFunction/sync.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var c=n("./node_modules/tslib/tslib.es6.js"),u=n("./src/network/tunnel.ts"),l=n("./src/utils/msg.ts"),d=n("./src/utils/serializer.ts"),f=n("./src/services/functions/index.ts"),p=n("./src/services/functions/api/callFunction.ts");t.default=function(s){return function(i){return c.__awaiter(this,void 0,void 0,function(){var t,n,r,o,a;return c.__generator(this,function(e){switch(e.label){case 0:return t={function_name:i.name,data:d.serialize(i.data)},n=d.serialize(t),[4,u.tunnel(u.constructTunnelReq("tcbapi_callfunction",n,c.__assign({},i.config,{serviceName:f.FUNCTIONS_SERVICE_NAME,cloud:s})))];case 1:if(r=e.sent(),o=r.data,a=o&&o.data)try{a=JSON.parse(a)}catch(e){}return[2,{errMsg:l.apiSuccessMsg(p.API_NAME),result:a}]}})})}}},"./src/services/functions/index.ts":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});var r=t("./src/services/functions/api/api.ts");n.FUNCTIONS_SERVICE_NAME="functions",n.registerService=function(e){var t;e.registerService((t=e,{name:n.FUNCTIONS_SERVICE_NAME,getAPIs:r.getAPIs.bind(null,t)}))}},"./src/services/index.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./src/services/functions/index.ts"),o=n("./src/services/storage/index.ts"),a=n("./src/services/database/index.ts");t.registerServices=function(e){r.registerService(e),o.registerService(e),a.registerService(e)}},"./src/services/storage/api/api.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./src/services/storage/api/uploadFile.ts"),o=n("./src/services/storage/api/downloadFile.ts"),a=n("./src/services/storage/api/getTempFileURL.ts"),i=n("./src/services/storage/api/deleteFile.ts");t.getAPIs=function(e){return{uploadFile:r.default(e),downloadFile:o.default(e),getTempFileURL:a.default(e),deleteFile:i.default(e)}}},"./src/services/storage/api/deleteFile.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var s=n("./node_modules/tslib/tslib.es6.js"),c=n("./src/network/tunnel.ts"),o=n("./src/utils/assert.ts"),a=n("./src/utils/error.ts"),u=n("./src/utils/serializer.ts"),l=n("./src/hook/invoke.ts"),d=n("./src/utils/msg.ts"),f=n("./src/utils/fn/clone.ts"),p=n("./src/utils/report.ts"),h=n("./src/config/error.config.ts"),g=n("./src/services/storage/index.ts"),v="cloud.deleteFile";t.default=function(i){return function(e){var t,n=f.shallowClone(e);return n.timing={apiStartTime:+new Date},l.hasAPICallback(n)?void r(t=n).then(function(e){l.invokeSuccessCompleteCallbacks(v,t,e)}).catch(function(e){l.invokeFailCompleteCallbacks(v,t,e)}):r(n)};function r(n){return s.__awaiter(this,void 0,void 0,function(){var t;return s.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,3,4]),function(e){for(var t in o.assertType(e,{fileList:"array"}),e.config&&e.config.env&&o.assertType(e.config.env,"string"),e.fileList)o.assertType(e.fileList[t],"string","parameter.fileList["+t+"]");if(i.appConfig.get_temp_file_url_max_requests&&e.fileList.length>i.appConfig.get_temp_file_url_max_requests)throw new a.CloudSDKError({errCode:h.ERR_CODE.SDK_API_PARAMETER_ERROR,errMsg:"parameter.fileList exceed max length "+i.appConfig.get_temp_file_url_max_requests})}(n),n.fileList.length?[4,function(a){return s.__awaiter(this,void 0,void 0,function(){var t,n,r,o;return s.__generator(this,function(e){switch(e.label){case 0:return t={fileid_list:a.fileList},n=u.serialize(t),a.timing.tunnelStartTime=+new Date,[4,c.tunnel(c.constructTunnelReq("tcbapi_deletefile",n,s.__assign({},a.config,{serviceName:g.STORAGE_SERVICE_NAME,cloud:i})))];case 1:return r=e.sent(),a.timing.tunnelEndTime=+new Date,o=r.data,[2,{errMsg:d.apiSuccessMsg(v),fileList:o.delete_list.map(function(e){return{fileID:e.fileid,status:e.status,errMsg:e.errmsg}})}]}})})}(n)]:[2,{errMsg:d.apiSuccessMsg(v),fileList:[]}];case 1:return[2,e.sent()];case 2:throw t=e.sent(),a.returnAsFinalCloudSDKError(t,v);case 3:return p.reportAPISpeed(s.__assign({},n.timing,{apiEndTime:+new Date,apiName:v})),[7];case 4:return[2]}})})}}},"./src/services/storage/api/downloadFile.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var u=n("./node_modules/tslib/tslib.es6.js"),l=n("./src/network/tunnel.ts"),d=n("./src/utils/assert.ts"),f=n("./src/utils/type.ts"),p=n("./src/utils/fn/clone.ts"),h=n("./src/utils/error.ts"),g=n("./src/hook/invoke.ts"),v=n("./src/externals/public-lib/appserviceSdk.ts"),_=n("./src/utils/report.ts"),y=n("./src/config/error.config.ts"),m=n("./src/services/storage/index.ts"),b="cloud.downloadFile";t.default=function(s){return function(e){if(e=p.shallowClone(e),g.hasAPICallback(e))return t=e,a=n={aborted:!1},r={onProgressUpdate:function(e){a.onProgressUpdateUserHandler=e},abort:function(){a.abort&&a.abort(),a.aborted=!0}},o={apiStartTime:+new Date},c(u.__assign({},t,{context:n,timing:o,downloadTaskAgent:r})).then(function(e){g.invokeSuccessCompleteCallbacks(b,t,e)}).catch(function(e){g.invokeFailCompleteCallbacks(b,t,e)}),r;var t,n,r,o,a,i={apiStartTime:+new Date};return c(u.__assign({},e,{timing:i}))};function c(i){return u.__awaiter(this,void 0,void 0,function(){var t=this;return u.__generator(this,function(e){return[2,new Promise(function(o,a){return u.__awaiter(t,void 0,void 0,function(){var n,r;return u.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,3,4]),t=i,d.assertType(t,{fileID:"string"}),t.config&&t.config.env&&d.assertType(t.config.env,"string"),i.context&&(i.context.abort=function(){a(h.returnAsFinalCloudSDKError({errMsg:"abort"},b))},i.context.aborted)?[2,a(h.returnAsFinalCloudSDKError({errMsg:"abort"},b))]:[4,function(a){return u.__awaiter(this,void 0,void 0,function(){var r,o;return u.__generator(this,function(e){switch(e.label){case 0:return r=v.getSDK(s),[4,function(a){return u.__awaiter(this,void 0,void 0,function(){var t,n,r,o;return u.__generator(this,function(e){switch(e.label){case 0:return t=JSON.stringify({fileid:a.fileID}),n=+new Date,[4,l.tunnel(l.constructTunnelReq("tcbapi_downloadfile",t,u.__assign({},a.config,{serviceName:m.STORAGE_SERVICE_NAME,cloud:s})))];case 1:if(r=e.sent(),a.timing&&(a.timing.tunnelStartTime=n,a.timing.tunnelEndTime=+new Date),!(o=r.data).download_url)throw new h.CloudSDKError({errCode:y.ERR_CODE.SDK_STORAGE_INTERNAL_SERVER_ERROR_EMPTY_DOWNLOAD_URL,errMsg:y.ERR_CODE[y.ERR_CODE.SDK_STORAGE_INTERNAL_SERVER_ERROR_EMPTY_DOWNLOAD_URL]});return-1<o.download_url.indexOf("?")?o.download_url+="&skip_domain_check=true":o.download_url+="?skip_domain_check=true",[2,o.download_url]}})})}(a)];case 1:return o=e.sent(),[2,new Promise(function(t,n){if(a.context&&a.context.aborted)return n(h.returnAsFinalCloudSDKError({errMsg:"abort"},b));var e=r._downloadFileSkipCheckDomain({url:o,success:function(e){t(e)},fail:function(e){n(e)}});e.onProgressUpdate(function(){a.downloadTaskAgent&&a.context&&a.context.onProgressUpdateUserHandler&&f.isFunction(a.context.onProgressUpdateUserHandler)&&a.context.onProgressUpdateUserHandler.apply(r._downloadFileSkipCheckDomain,arguments)}),a.context&&(a.context.abort=e.abort.bind(e))})]}})})}(i)];case 1:return n=e.sent(),o(n),[3,4];case 2:return r=e.sent(),a(h.returnAsFinalCloudSDKError(r,b)),[3,4];case 3:return _.reportAPISpeed(u.__assign({},i.timing,{apiEndTime:+new Date,apiName:b})),[7];case 4:return[2]}var t})})})]})})}}},"./src/services/storage/api/getTempFileURL.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var s=n("./node_modules/tslib/tslib.es6.js"),c=n("./src/network/tunnel.ts"),o=n("./src/utils/assert.ts"),a=n("./src/utils/error.ts"),u=n("./src/utils/serializer.ts"),l=n("./src/hook/invoke.ts"),d=n("./src/utils/msg.ts"),f=n("./src/utils/fn/clone.ts"),p=n("./src/utils/type.ts"),h=n("./src/utils/report.ts"),g=n("./src/config/error.config.ts"),v=n("./src/services/storage/index.ts"),_="cloud.getTempFileURL";t.default=function(i){return function(e){var t,n=f.shallowClone(e);return n.timing={apiStartTime:+new Date},l.hasAPICallback(n)?void r(t=n).then(function(e){l.invokeSuccessCompleteCallbacks(_,t,e)}).catch(function(e){l.invokeFailCompleteCallbacks(_,t,e)}):r(n)};function r(n){return s.__awaiter(this,void 0,void 0,function(){var t;return s.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,3,4]),function(e){if(o.assertType(e,{fileList:"array"}),e.config&&e.config.env&&o.assertType(e.config.env,"string"),i.appConfig.get_temp_file_url_max_requests&&e.fileList.length>i.appConfig.get_temp_file_url_max_requests)throw new a.CloudSDKError({errCode:g.ERR_CODE.SDK_API_PARAMETER_ERROR,errMsg:"parameter.fileList exceed max length "+i.appConfig.get_temp_file_url_max_requests})}(n),n.fileList.length?[4,function(a){return s.__awaiter(this,void 0,void 0,function(){var t,n,r,o;return s.__generator(this,function(e){switch(e.label){case 0:return t={file_list:a.fileList.map(function(e){return p.isString(e)?{fileid:e}:{fileid:e.fileID,max_age:e.maxAge}})},n=u.serialize(t),a.timing.tunnelStartTime=+new Date,[4,c.tunnel(c.constructTunnelReq("tcbapi_gettempfileurl",n,s.__assign({},a.config,{serviceName:v.STORAGE_SERVICE_NAME,cloud:i})))];case 1:return r=e.sent(),a.timing.tunnelEndTime=+new Date,o=r.data,[2,{errMsg:d.apiSuccessMsg(_),fileList:o.download_list.map(function(e){return{fileID:e.fileid,tempFileURL:e.download_url,maxAge:e.max_age,status:e.status,errMsg:e.errmsg}})}]}})})}(n)]:[2,{errMsg:d.apiSuccessMsg(_),fileList:[]}];case 1:return[2,e.sent()];case 2:throw t=e.sent(),a.returnAsFinalCloudSDKError(t,_);case 3:return h.reportAPISpeed(s.__assign({},n.timing,{apiEndTime:+new Date,apiName:_})),[7];case 4:return[2]}})})}}},"./src/services/storage/api/uploadFile.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var u=n("./node_modules/tslib/tslib.es6.js"),l=n("./src/network/tunnel.ts"),d=n("./src/utils/assert.ts"),f=n("./src/utils/error.ts"),p=n("./src/utils/type.ts"),h=n("./src/utils/fn/clone.ts"),g=n("./src/hook/invoke.ts"),v=n("./src/utils/msg.ts"),_=n("./src/externals/public-lib/appserviceSdk.ts"),y=n("./src/utils/report.ts"),m=n("./src/services/storage/index.ts"),b=n("./src/config/error.config.ts"),w="cloud.uploadFile";t.default=function(s){return function(e){if(e=h.shallowClone(e),g.hasAPICallback(e))return t=e,a=n={aborted:!1},r={onProgressUpdate:function(e){a.onProgressUpdateUserHandler=e},abort:function(){a.abort&&a.abort(),a.aborted=!0}},o={apiStartTime:+new Date},c(u.__assign({},t,{context:n,timing:o,uploadTaskAgent:r})).then(function(e){g.invokeSuccessCompleteCallbacks(w,t,e)}).catch(function(e){g.invokeFailCompleteCallbacks(w,t,e)}),r;var t,n,r,o,a,i={apiStartTime:+new Date};return c(u.__assign({},e,{timing:i}))};function c(i){var e=this;return new Promise(function(o,a){return u.__awaiter(e,void 0,void 0,function(){var n,r;return u.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,3,4]),t=i,d.assertType(t,{cloudPath:"string",filePath:"string"}),t.config&&t.config.env&&d.assertType(t.config.env,"string"),function(r){u.__awaiter(this,void 0,void 0,function(){return u.__generator(this,function(e){return[2,new Promise(function(t,n){wx.getFileInfo?wx.getFileInfo({filePath:r,success:function(e){e.size>s.appConfig.upload_max_file_size?n(new f.CloudSDKError({errCode:b.ERR_CODE.SDK_STORAGE_EXCEED_MAX_UPLOAD_SIZE,errMsg:"exceed max upload file size: "+s.appConfig.upload_max_file_size/1024/1024+" MB"})):t()},fail:function(){t()}}):t()})]})})}(i.filePath),i.context&&(i.context.abort=function(){a(f.returnAsFinalCloudSDKError({errMsg:"abort"},w))},i.context.aborted)?[2,a(f.returnAsFinalCloudSDKError({errMsg:"abort"},w))]:[4,function(r){return u.__awaiter(this,void 0,void 0,function(){var t,n;return u.__generator(this,function(e){switch(e.label){case 0:return t=_.getSDK(s),[4,function(a){return u.__awaiter(this,void 0,void 0,function(){var t,n,r,o;return u.__generator(this,function(e){switch(e.label){case 0:return t=JSON.stringify({path:a.cloudPath}),n=+new Date,[4,l.tunnel(l.constructTunnelReq("tcbapi_uploadfile",t,u.__assign({},a.config,{serviceName:m.STORAGE_SERVICE_NAME,cloud:s})))];case 1:if(r=e.sent(),a.timing&&(a.timing.tunnelStartTime=n,a.timing.tunnelEndTime=+new Date),!(o=r.data).upload_url)throw new f.CloudSDKError({errCode:b.ERR_CODE.SDK_STORAGE_INTERNAL_SERVER_ERROR_EMPTY_UPLOAD_URL,errMsg:b.ERR_CODE[b.ERR_CODE.SDK_STORAGE_INTERNAL_SERVER_ERROR_EMPTY_UPLOAD_URL]});return-1<o.upload_url.indexOf("?")?o.upload_url+="&skip_domain_check=true":o.upload_url+="?skip_domain_check=true",[2,o.upload_url]}})})}(r)];case 1:return n=e.sent(),[2,new Promise(function(o,a){if(r.context&&r.context.aborted)return a(f.returnAsFinalCloudSDKError({errMsg:"abort"},w));var e=t._uploadFileSkipCheckDomain({url:n,filePath:r.filePath,header:r.header,name:"file",success:function(e){try{var t=JSON.parse(e.data);if(t.data&&(t=t.data),t.fileid)o({errMsg:v.apiSuccessMsg(w),fileID:t.fileid,statusCode:e.statusCode});else{var n=new f.CloudSDKError({errMsg:"empty fileid; "+t.message+";"});a(n)}}catch(n){var r=new f.CloudSDKError({errMsg:"Error parsing response data "+e.data+";"});a(r)}},fail:function(e){a(e)}});e.onProgressUpdate(function(){r.uploadTaskAgent&&r.context&&r.context.onProgressUpdateUserHandler&&p.isFunction(r.context.onProgressUpdateUserHandler)&&r.context.onProgressUpdateUserHandler.apply(t._uploadFileSkipCheckDomain,arguments)}),r.context&&(r.context.abort=e.abort.bind(e))})]}})})}(i)];case 1:return n=e.sent(),o(n),[3,4];case 2:return r=e.sent(),a(f.returnAsFinalCloudSDKError(r,w)),[3,4];case 3:return y.reportAPISpeed(u.__assign({},i.timing,{apiEndTime:+new Date,apiName:w})),[7];case 4:return[2]}var t})})})}}},"./src/services/storage/index.ts":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});var r=t("./src/services/storage/api/api.ts");n.STORAGE_SERVICE_NAME="storage",n.registerService=function(e){var t;e.registerService((t=e,{name:n.STORAGE_SERVICE_NAME,getAPIs:r.getAPIs.bind(null,t)}))}},"./src/utils/assert.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var u=n("./src/utils/type.ts"),c=n("./src/utils/error.ts"),l=n("./src/config/error.config.ts");function a(e,t,n){void 0===n&&(n="parameter");var r=function e(t,n,r){var o=u.getType(t),a=u.getType(n);if("string"===a)return o!==n?r+" should be "+n+" instead of "+o+";":"";if(o!==a)return r+" should be "+a+" instead of "+o+"; ";var i="";switch(o){case"object":for(var s in n)i+=e(t[s],n[s],r+"."+s);break;case"array":for(var c=0;c<n.length;c++)i+=e(t[c],n[c],r+"["+c+"]")}return i}(e,t,n);return{passed:!r,reason:r}}t.validType=a,t.assertType=function(e,t,n,r){void 0===n&&(n="parameter"),void 0===r&&(r=c.CloudSDKError);var o=a(e,t,n);if(!o.passed)throw new r({errCode:l.ERR_CODE.SDK_API_PARAMETER_TYPE_ERROR,errMsg:o.reason})},t.assertRequiredParam=function(e,t,n,r){if(void 0===r&&(r=c.CloudSDKError),null==e)throw new r({errCode:l.ERR_CODE.SDK_API_PARAMETER_ERROR,errMsg:"parameter "+t+" of function "+n+" must be provided"})},t.assertStringLength=function(e){var t=e.name,n=e.input,r=e.max,o=e.maxWording,a=void 0===o?"":o,i=e.ErrorClass,s=void 0===i?c.CloudSDKError:i;if(n.length>r)throw new s({errCode:l.ERR_CODE.SDK_API_PARAMETER_ERROR,errMsg:t+" size must be less than "+(a||r)})},t.assertObjectNotEmpty=function(e){var t=e.target,n=e.name,r=e.ErrorClass,o=void 0===r?c.CloudSDKError:r;if(0===Object.keys(t).length)throw new o({errCode:l.ERR_CODE.SDK_API_PARAMETER_ERROR,errMsg:n+" must not be empty"})}},"./src/utils/error.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./src/utils/type.ts"),a=n("./src/utils/msg.ts"),i=n("./src/config/error.config.ts"),s=function(n){function e(e){var t=n.call(this,e.errMsg)||this;return t.errCode=-1,Object.defineProperties(t,{message:{get:function(){return"errCode: "+this.errCode+" "+(i.ERR_CODE[this.errCode]||"")+" | errMsg: "+this.errMsg},set:function(e){this.errMsg=e}}}),t.errCode=e.errCode||-1,t.errMsg=e.errMsg,t}return r.__extends(e,n),Object.defineProperty(e.prototype,"message",{get:function(){return"errCode: "+this.errCode+" | errMsg: "+this.errMsg},set:function(e){this.errMsg=e},enumerable:!0,configurable:!0}),e}(Error);function c(e){return e&&e instanceof Error&&o.isString(e.errMsg)}function u(e,t){if(void 0===t&&(t=""),e){if(c(e))return t&&(e.errMsg+="; "+t),e;var n=e?e.errCode:void 0,r=(e&&e.errMsg||e.toString()||"unknown error")+"; "+t;return new s({errCode:n,errMsg:r})}return new s({errMsg:t})}t.CloudSDKError=s,t.isSDKError=c,t.returnAsCloudSDKError=u,t.returnAsFinalCloudSDKError=function(e,t){if(e&&c(e))return e;var n=u(e,"at "+t+" api; ");return n.errMsg=a.apiFailMsg(t,n.errMsg),n}},"./src/utils/fail-safe.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./src/utils/error.ts"),o=n("./src/utils/type.ts"),a=n("./src/externals/public-lib/reporter.ts");function i(e,t){void 0===t&&(t="");try{return e()}catch(e){if(r.isSDKError(e))return e.errMsg+=t,e;var n=(e?e.toString():"")+t;return new r.CloudSDKError({errMsg:n})}}t.tryCatch=i,t.wrapWithTryCatch=function(n,r){return void 0===r&&(r=""),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(function(){return n.apply(n,e)},r)}},t.wrapParamCallbacksWithTryCatch=function(e){var t=e.param;t&&(t.success&&o.isFunction(t.success)&&(t.success=a.default.surroundThirdByTryCatch(t.success,"at api "+e.apiName+" success callback function")),t.fail&&o.isFunction(t.fail)&&(t.fail=a.default.surroundThirdByTryCatch(t.fail,"at api "+e.apiName+" fail callback function")),t.complete&&o.isFunction(t.complete)&&(t.complete=a.default.surroundThirdByTryCatch(t.complete,"at api "+e.apiName+" complete callback function")))}},"./src/utils/fn/clone.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./src/utils/type.ts");t.shallowClone=function(e,t){if(void 0===t&&(t=!1),t)return function(e){switch(o.getType(e)){case"object":return r.__assign({},e);case"array":return e.slice();case"number":return e instanceof Number?new Number(e):e;case"string":return e instanceof String?new String(e):e;case"boolean":return e instanceof Boolean?new Boolean(e):e;case"date":return new e.constructor(+e);case"map":return new Map(e);case"set":return new Set(e);default:return e}}(e);if(o.isPlainObject(e))return r.__assign({},e);switch(o.getType(e)){case"object":return e;case"array":return e.slice();default:return e}}},"./src/utils/msg.ts":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiSuccessMsg=function(e){return e+":ok"},t.apiCancelMsg=function(e,t){return e+":cancel "+t},t.apiFailMsg=function(e,t){return e+":fail "+t}},"./src/utils/report.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./src/externals/public-lib/reporter.ts");t.reportAPISpeed=function(n){setTimeout(function(){try{if(!((t=n).apiStartTime&&t.apiEndTime&&t.tunnelStartTime&&t.tunnelEndTime&&t.apiEndTime>t.apiStartTime&&t.tunnelEndTime>t.tunnelStartTime))return;var e=[0,n.apiName,n.apiEndTime-n.apiStartTime,n.tunnelEndTime-n.tunnelStartTime,(n.pollStartTime&&n.pollEndTime&&n.pollEndTime>n.pollStartTime?n.pollEndTime-n.pollStartTime:0)||0];r.default.reportKeyValue({key:"CloudReport",value:e.join(","),force:!0})}catch(e){}var t})}},"./src/utils/serializer.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/tslib/tslib.es6.js"),i=n("./src/utils/error.ts"),s=n("./src/config/error.config.ts"),c=n("./src/utils/type.ts");function u(e,n){if(void 0===n&&(n="data"),null!=e){if(!0===e||!1===e)return e;switch(c.getType(e)){case"number":if(isFinite(e))return e;break;case"string":return e;case"array":return e.map(function(e,t){return u(e,n+"["+t+"]")});case"object":var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=u(e[r],n+"."+r));return t;case"arraybuffer":var o=new Uint8Array(e);return{type:"Buffer",data:a.__spread(o)}}if("function"==typeof e)return e;!function(e){throw new i.CloudSDKError({errCode:s.ERR_CODE.SDK_API_PARAMETER_TYPE_ERROR,errMsg:e+" is not JSON-serializable"})}(n)}}function l(e){switch(c.getType(e)){case"object":return function e(t){var n=t;var r=d(n);if(n!==r)return r;for(var o in n){var a=n[o],i=c.getType(a);switch(i){case"object":var s=d(a);n[o]=s!==a?s:e(n[o]);break;case"array":var s=l(a);s!==a&&(n[o]=s);break;default:continue}}return n}(e);case"array":return e.map(l);default:return e}}function d(t){for(var e in t)switch(e){case"type":switch(t.type){case"Buffer":if(c.isArray(t.data)&&c.isNumber(t.data[0]))try{return new Uint8Array(t.data).buffer}catch(e){return t}}}return t}t.serialize=function(e){var t=u(e);return JSON.stringify(t)},t.toJSONSerializable=u,t.deserialize=function(e){return l(JSON.parse(e))}},"./src/utils/symbol.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/tslib/tslib.es6.js"),a=[],i={},o=function(n){function o(e,t){if(t!==i)throw new TypeError("InternalSymbol cannot be constructed with new operator");return n.call(this,e)||this}return r.__extends(o,n),o.for=function(e){for(var t=0,n=a.length;t<n;t++)if(a[t].target===e)return a[t].instance;var r=new o(e,i);return a.push({target:e,instance:r}),r},o}(function(e){Object.defineProperties(this,{target:{enumerable:!1,writable:!1,configurable:!1,value:e}})});t.InternalSymbol=o,t.default=o},"./src/utils/type.ts":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("./src/utils/symbol.ts");t.getType=function(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()},t.isObject=function(e){return"object"===t.getType(e)},t.isString=function(e){return"string"===t.getType(e)},t.isNumber=function(e){return"number"===t.getType(e)},t.isPromise=function(e){return"promise"===t.getType(e)},t.isFunction=function(e){return"function"==typeof e},t.isArray=function(e){return Array.isArray(e)},t.isDate=function(e){return"date"===t.getType(e)},t.isRegExp=function(e){return"regexp"===t.getType(e)},t.isInternalObject=function(e){return e&&e._internalType instanceof r.InternalSymbol},t.isPlainObject=function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}}}),__appServiceSDK__=function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=15)}([function(e,t,n){var M=n(4),R=n(7);function I(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=a,t.resolve=function(e,t){return a(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?a(e,!1,!0).resolveObject(t):t},t.format=function(e){R.isString(e)&&(e=a(e));return e instanceof I?e.format():I.prototype.format.call(e)},t.Url=I;var N=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,L=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),B=["'"].concat(o),j=["%","/","?",";","#"].concat(B),F=["/","?","#"],U=/^[+a-z0-9A-Z_-]{0,63}$/,W=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,V={javascript:!0,"javascript:":!0},q={javascript:!0,"javascript:":!0},K={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},H=n(8);function a(e,t,n){if(e&&R.isObject(e)&&e instanceof I)return e;var r=new I;return r.parse(e,t,n),r}I.prototype.parse=function(e,t,n){if(!R.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),o=-1!==r&&r<e.indexOf("#")?"?":"#",a=e.split(o);a[0]=a[0].replace(/\\/g,"/");var i=e=a.join(o);if(i=i.trim(),!n&&1===e.split("#").length){var s=L.exec(i);if(s)return this.path=i,this.href=i,this.pathname=s[1],s[2]?(this.search=s[2],this.query=t?H.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var c=N.exec(i);if(c){var u=(c=c[0]).toLowerCase();this.protocol=u,i=i.substr(c.length)}if(n||c||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var l="//"===i.substr(0,2);!l||c&&q[c]||(i=i.substr(2),this.slashes=!0)}if(!q[c]&&(l||c&&!K[c])){for(var d,f,p=-1,h=0;h<F.length;h++){-1!==(g=i.indexOf(F[h]))&&(-1===p||g<p)&&(p=g)}-1!==(f=-1===p?i.lastIndexOf("@"):i.lastIndexOf("@",p))&&(d=i.slice(0,f),i=i.slice(f+1),this.auth=decodeURIComponent(d)),p=-1;for(h=0;h<j.length;h++){var g;-1!==(g=i.indexOf(j[h]))&&(-1===p||g<p)&&(p=g)}-1===p&&(p=i.length),this.host=i.slice(0,p),i=i.slice(p),this.parseHost(),this.hostname=this.hostname||"";var v="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!v)for(var _=this.hostname.split(/\./),y=(h=0,_.length);h<y;h++){var m=_[h];if(m&&!m.match(U)){for(var b="",w=0,S=m.length;w<S;w++)127<m.charCodeAt(w)?b+="x":b+=m[w];if(!b.match(U)){var C=_.slice(0,h),T=_.slice(h+1),k=m.match(W);k&&(C.push(k[1]),T.unshift(k[2])),T.length&&(i="/"+T.join(".")+i),this.hostname=C.join(".");break}}}255<this.hostname.length?this.hostname="":this.hostname=this.hostname.toLowerCase(),v||(this.hostname=M.toASCII(this.hostname));var x=this.port?":"+this.port:"",I=this.hostname||"";this.host=I+x,this.href+=this.host,v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==i[0]&&(i="/"+i))}if(!V[u])for(h=0,y=B.length;h<y;h++){var E=B[h];if(-1!==i.indexOf(E)){var P=encodeURIComponent(E);P===E&&(P=escape(E)),i=i.split(E).join(P)}}var A=i.indexOf("#");-1!==A&&(this.hash=i.substr(A),i=i.slice(0,A));var O=i.indexOf("?");if(-1!==O?(this.search=i.substr(O),this.query=i.substr(O+1),t&&(this.query=H.parse(this.query)),i=i.slice(0,O)):t&&(this.search="",this.query={}),i&&(this.pathname=i),K[u]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){x=this.pathname||"";var D=this.search||"";this.path=x+D}return this.href=this.format(),this},I.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&R.isObject(this.query)&&Object.keys(this.query).length&&(a=H.stringify(this.query));var i=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||K[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),i&&"?"!==i.charAt(0)&&(i="?"+i),t+o+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(i=i.replace("#","%23"))+r},I.prototype.resolve=function(e){return this.resolveObject(a(e,!1,!0)).format()},I.prototype.resolveObject=function(e){if(R.isString(e)){var t=new I;t.parse(e,!1,!0),e=t}for(var n=new I,r=Object.keys(this),o=0;o<r.length;o++){var a=r[o];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var i=Object.keys(e),s=0;s<i.length;s++){var c=i[s];"protocol"!==c&&(n[c]=e[c])}return K[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!K[e.protocol]){for(var u=Object.keys(e),l=0;l<u.length;l++){var d=u[l];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||q[e.protocol])n.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),n.pathname=f.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var p=n.pathname||"",h=n.search||"";n.path=p+h}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var g=n.pathname&&"/"===n.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=v||g||n.host&&e.pathname,y=_,m=n.pathname&&n.pathname.split("/")||[],b=(f=e.pathname&&e.pathname.split("/")||[],n.protocol&&!K[n.protocol]);if(b&&(n.hostname="",n.port=null,n.host&&(""===m[0]?m[0]=n.host:m.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),_=_&&(""===f[0]||""===m[0])),v)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,m=f;else if(f.length)m||(m=[]),m.pop(),m=m.concat(f),n.search=e.search,n.query=e.query;else if(!R.isNullOrUndefined(e.search)){if(b)n.hostname=n.host=m.shift(),(k=!!(n.host&&0<n.host.indexOf("@"))&&n.host.split("@"))&&(n.auth=k.shift(),n.host=n.hostname=k.shift());return n.search=e.search,n.query=e.query,R.isNull(n.pathname)&&R.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!m.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var w=m.slice(-1)[0],S=(n.host||e.host||1<m.length)&&("."===w||".."===w)||""===w,C=0,T=m.length;0<=T;T--)"."===(w=m[T])?m.splice(T,1):".."===w?(m.splice(T,1),C++):C&&(m.splice(T,1),C--);if(!_&&!y)for(;C--;C)m.unshift("..");!_||""===m[0]||m[0]&&"/"===m[0].charAt(0)||m.unshift(""),S&&"/"!==m.join("/").substr(-1)&&m.push("");var k,x=""===m[0]||m[0]&&"/"===m[0].charAt(0);b&&(n.hostname=n.host=x?"":m.length?m.shift():"",(k=!!(n.host&&0<n.host.indexOf("@"))&&n.host.split("@"))&&(n.auth=k.shift(),n.host=n.hostname=k.shift()));return(_=_||n.host&&m.length)&&!x&&m.unshift(""),m.length?n.pathname=m.join("/"):(n.pathname=null,n.path=null),R.isNull(n.pathname)&&R.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},I.prototype.parseHost=function(){var e=this.host,t=r.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){var d=n(11)("xml-parser");e.exports=function(a){return a=(a=a.trim()).replace(/<!--[\s\S]*?-->/g,""),{declaration:function(){if(c(/^<\?xml\s*/)){for(var e={attributes:{}};!u()&&!l("?>");){var t=s();if(!t)return e;e.attributes[t.name]=t.value}return c(/\?>\s*/),e}}(),root:function e(){d("tag %j",a);var t=c(/^<([\w-:.]+)\s*/);if(t){for(var n,r={name:t[1],attributes:{},children:[]};!(u()||l(">")||l("?>")||l("/>"));){var o=s();if(!o)return r;r.attributes[o.name]=o.value}if(c(/^\s*\/>\s*/))return r;for(c(/\??>\s*/),r.content=i();n=e();)r.children.push(n);return c(/^<\/[\w-:.]+>\s*/),r}}()};function i(){d("content %j",a);var e=c(/^([^<]*)/);return e?e[1]:""}function s(){d("attribute %j",a);var e,t=c(/([\w:-]+)\s*=\s*("[^"]*"|'[^']*'|\w+)\s*/);if(t)return{name:t[1],value:(e=t[2],e.replace(/^['"]|['"]$/g,""))}}function c(e){var t=a.match(e);if(t)return a=a.slice(t[0].length),t}function u(){return 0==a.length}function l(e){return 0==a.indexOf(e)}}},function(e){e.exports={ad:{"1.9.94":["unit-id"]},audio:{"1.0.0":["id","src","loop","controls","poster","name","author","binderror","bindplay","bindpause","bindtimeupdate","bindended"]},button:{"1.0.0":[{size:["default","mini"]},{type:["primary","default","warn"]},"plain","disabled","loading",{"form-type":["submit","reset"]},"hover-class","hover-start-time","hover-stay-time"],"1.1.0":[{"open-type":["contact"]}],"1.2.0":[{"open-type":["share","getPhoneNumber"]},"bindgetphonenumber"],"1.3.0":[{"open-type":["getUserInfo"]}],"1.9.5":[{"open-type":["launchApp"]},"app-parameter","binderror"],"2.0.7":[{"open-type":["openSetting"]},"bindopensetting"],"2.1.0":[{"open-type":["feedback"]}],"1.5.0":["hover-stop-propagation","send-message-title","send-message-path","send-message-img","show-message-card","bindcontact"],"1.4.0":["session-from"],"2.5.0":["aria-label"]},camera:{"1.6.0":["device-position","flash","bindstop","binderror"],"2.1.0":["mode","scan-area","bindscancode"]},canvas:{"1.0.0":["canvas-id","disable-scroll","bindtouchstart","bindtouchmove","bindtouchend","bindtouchcancel","bindlongtap","binderror"]},"checkbox-group":{"1.0.0":["bindchange"]},checkbox:{"1.0.0":["value","disabled","checked","color"],"2.5.0":["aria-label"]},"contact-button":{"1.0.0":["size",{type:["default-dark","default-light"]},"session-from"]},"cover-view":{"1.4.0":[],"2.1.0":["scroll-top"],"2.5.0":["aria-label","aria-role"]},"cover-image":{"1.4.0":["src"],"2.1.0":["bindload","binderror"],"2.5.0":["aria-label","aria-role"]},form:{"1.0.0":["report-submit","bindsubmit","bindreset"],"1.2.0":["bindautofill"]},icon:{"1.0.0":[{type:["success","success_no_circle","info","warn","waiting","cancel","download","search","clear"]},"size","color"],"2.5.0":["aria-label"]},image:{"1.0.0":["src",{mode:["scaleToFill","aspectFit","aspectFill","widthFix","top","bottom","center","left","right","top left","top right","bottom left","bottom right"]},"binderror","bindload"],"1.5.0":["lazy-load"],"2.5.0":["aria-label"]},input:{"1.0.0":["value",{type:["text","number","idcard","digit"]},"password","placeholder","placeholder-style","placeholder-class","disabled","maxlength","cursor-spacing","auto-focus","focus","bindinput","bindfocus","bindblur","bindconfirm"],"1.1.0":[{"confirm-type":["send","search","next","go","done"]},"confirm-hold"],"1.5.0":["cursor"],"1.9.0":["selection-start","selection-end"],"1.9.90":["adjust-position"],"1.2.0":["auto-fill"],"2.5.0":["aria-label"]},label:{"1.0.0":["for"]},"live-player":{"1.7.0":["src","mode","autoplay","muted","orientation","object-fit","background-mute","min-cache","max-cache","bindstatechange","bindfullscreenchange"],"1.9.0":["bindnetstatus"]},"live-pusher":{"1.7.0":["url","mode","autopush","muted","enable-camera","auto-focus","orientation","beauty","whiteness","aspect","min-bitrate","max-bitrate","waiting-image","waiting-image-hash","background-mute","bindstatechange"],"2.1.0":["zoom"],"2.4.0":["bindbgmstart","bindbgmprogress","bindbgmcomplete"],"1.9.0":["bindnetstatus"],"1.7.4":["binderror"]},map:{"1.0.0":["longitude","latitude","scale",{markers:["id","latitude","longitude","title","iconPath","rotate","alpha","width","height"]},"covers",{polyline:["points","color","width","dottedLine"]},{circles:["latitude","longitude","color","fillColor","radius","strokeWidth"]},{controls:["id","position","iconPath","clickable"]},"include-points","show-location","bindmarkertap","bindcontroltap","bindregionchange","bindtap"],"1.2.0":[{markers:["callout","label","anchor"]},{polyline:["arrowLine","borderColor","borderWidth"]},"bindcallouttap"],"1.6.0":[{polyline:["arrowIconPath"]},"bindupdated"],"2.3.0":[{markers:["zIndex"]},{polygons:["points","strokeWidth","strokeColor","fillColor","zIndex","visible"]},"sub-key","enable-3D","show-compass","enable-overlooking","enable-zoom","enable-scroll","enable-rotate","bindpoitap"],"2.5.0":[{markers:["aria-label","aria-role"]}]},modal:{"1.0.0":[]},"movable-area":{"1.2.0":[],"1.9.90":["scale-area"]},"movable-view":{"1.2.0":["direction","inertia","out-of-bounds","x","y","damping","friction"],"1.9.90":["disabled","scale","scale-min","scale-max","scale-value","bindchange","bindscale"],"2.1.0":["animation"]},navigator:{"1.0.0":["url",{"open-type":["navigate","redirect","switchTab"]},"delta","hover-class","hover-start-time","hover-stay-time"],"2.0.7":["target","app-id","path","extra-data","version"],"2.1.0":[{"open-type":["exit"]}],"1.1.0":[{"open-type":["reLaunch","navigateBack"]}],"1.5.0":["hover-stop-propagation"],"2.5.0":["aria-label"]},"open-data":{"1.4.0":[{type:["groupName"]},"open-gid","lang"],"1.9.90":[{type:["userNickName","userAvatarUrl","userGender","userCity","userProvince","userCountry","userLanguage"]}]},"picker-view":{"1.0.0":["value","indicator-style","bindchange"],"1.1.0":["indicator-class"],"1.5.0":["mask-style","mask-class"],"2.5.0":["aria-label"]},"picker-view-column":{"1.0.0":[]},picker:{"1.0.0":["range","range-key","value","bindchange","disabled","bindcolumnchange","start","end",{fields:["year","month","day"]},{mode:["selector","date","time"]}],"1.9.90":["bindcancel"],"1.2.0":["auto-fill"],"1.4.0":["bindcolumnchange",{mode:["multiSelector","region"]}],"1.5.0":["custom-item"]},progress:{"1.0.0":["percent","show-info","stroke-width","color","activeColor","backgroundColor","active"],"1.7.0":["active-mode"],"2.4.1":["bindactiveend"],"2.5.0":["aria-label"]},"radio-group":{"1.0.0":["bindchange"]},radio:{"1.0.0":["value","checked","disabled","color"],"2.5.0":["aria-label"]},"rich-text":{"1.4.0":[{nodes:["name","attrs","children"]}],"2.4.1":["space"]},"scroll-view":{"1.0.0":["scroll-x","scroll-y","upper-threshold","lower-threshold","scroll-top","scroll-left","scroll-into-view","scroll-with-animation","enable-back-to-top","bindscrolltoupper","bindscrolltolower","bindscroll"],"2.5.0":["aria-label"]},slider:{"1.0.0":["min","max","step","disabled","value","color","selected-color","activeColor","backgroundColor","show-value","bindchange"],"1.9.0":["block-size","block-color"],"1.7.0":["bindchanging"],"2.5.0":["aria-label"]},swiper:{"1.0.0":["indicator-dots","autoplay","current","interval","duration","circular","vertical","bindchange"],"1.1.0":["indicator-color","indicator-active-color"],"1.9.0":["current-item-id","previous-margin","next-margin","display-multiple-items","skip-hidden-item-layout","bindanimationfinish"],"2.4.3":["bindtransition"]},"swiper-item":{"1.0.0":[],"1.9.0":["item-id"]},switch:{"1.0.0":["checked",{type:["switch","checkbox"]},"bindchange","color"],"2.5.0":["aria-label"]},text:{"1.0.0":[],"1.1.0":["selectable"],"1.4.0":[{space:["ensp","emsp","nbsp"]},"decode"]},textarea:{"1.0.0":["value","placeholder","placeholder-style","placeholder-class","disabled","maxlength","auto-focus","focus","auto-height","fixed","cursor-spacing","bindfocus","bindblur","bindlinechange","bindinput","bindconfirm"],"1.5.0":["cursor"],"1.6.0":["show-confirm-bar"],"1.9.0":["selection-start","selection-end"],"1.9.90":["adjust-position"],"1.2.0":["auto-fill"],"2.5.0":["aria-label"]},video:{"1.0.0":["src","controls","danmu-list","danmu-btn","enable-danmu","autoplay","objectFit","poster","bindplay","bindpause","bindended","bindtimeupdate"],"1.6.0":["initial-time","page-gesture"],"1.1.0":["duration"],"1.4.0":["loop","muted","bindfullscreenchange"],"1.7.0":["direction","bindwaiting","binderror"],"1.9.0":["show-progress","show-fullscreen-btn","show-play-btn","show-center-play-btn","enable-progress-gesture"],"2.4.0":["bindprogress"]},view:{"1.0.0":["hover-class","hover-start-time","hover-stay-time"],"1.5.0":["hover-stop-propagation"],"2.5.0":["aria-label","aria-role"]},"web-view":{"1.6.4":["src","bindmessage"]},"functional-page-navigator":{"2.1.0":["version",{name:["loginAndGetUserInfo","requestPayment"]},"args","bindsuccess","bindfail"]},"official-account":{"2.3.0":[]}}},function(e){e.exports={onAccelerometerChange:{"1.0.0":[{callback:["x","y","z"]}]},startAccelerometer:{"1.1.0":[],"2.1.0":[{object:["interval"]}]},stopAccelerometer:{"1.1.0":[]},chooseAddress:{"1.1.0":[{success:["userName","postalCode","provinceName","cityName","countyName","detailInfo","nationalCode","telNumber"]}]},reportAnalytics:{"1.0.0":[]},createAnimation:{"1.0.0":[{object:["duration",{timingFunction:["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end"]},"delay","transformOrigin"]}]},createAudioContext:{"1.0.0":[]},createCameraContext:{"1.6.0":[]},canIUse:{"1.0.0":[]},createLivePlayerContext:{"1.7.0":["play","stop","mute","requestFullScreen","exitFullScreen","null"],"1.9.90":["pause","resume"]},createLivePusherContext:{"1.7.0":["start","stop","pause","resume","switchCamera","null"],"1.9.90":["snapshot"],"2.1.0":["toggleTorch"],"2.4.0":["pauseBGM","playBGM","resumeBGM","setBGMVolume","stopBGM"]},login:{"1.0.0":[{success:["code"]}],"1.9.90":[{object:["timeout"]}]},createMapContext:{"1.0.0":[]},requestPayment:{"1.0.0":[{object:["timeStamp","nonceStr","package","signType","paySign"]}]},showToast:{"1.0.0":[{object:["title","icon","duration","mask"]}],"1.1.0":[{object:["image"]}]},showLoading:{"1.1.0":[{object:["title","mask"]}]},hideToast:{"1.0.0":[]},hideLoading:{"1.1.0":[]},showModal:{"1.0.0":[{object:["title","content","showCancel","cancelText","cancelColor","confirmText","confirmColor"]},{success:["confirm"]}],"1.1.0":[{success:["cancel"]}]},showActionSheet:{"1.0.0":[{object:["itemList","itemColor"]},{success:["tapIndex"]}]},arrayBufferToBase64:{"1.1.0":[]},base64ToArrayBuffer:{"1.1.0":[]},createVideoContext:{"1.0.0":[]},authorize:{"1.2.0":[{object:["scope"]}]},openBluetoothAdapter:{"1.1.0":[]},closeBluetoothAdapter:{"1.1.0":[]},getBluetoothAdapterState:{"1.1.0":[{success:["discovering","available"]}]},onBluetoothAdapterStateChange:{"1.1.0":[{callback:["available","discovering"]}]},startBluetoothDevicesDiscovery:{"1.1.0":[{object:["services","allowDuplicatesKey","interval"]}]},stopBluetoothDevicesDiscovery:{"1.1.0":[]},getBluetoothDevices:{"1.1.0":[{success:["devices"]}]},onBluetoothDeviceFound:{"1.1.0":[{callback:["devices"]}]},getConnectedBluetoothDevices:{"1.1.0":[{object:["services"]},{success:["devices"]}]},createBLEConnection:{"1.1.0":[{object:["deviceId","timeout"]}]},closeBLEConnection:{"1.1.0":[{object:["deviceId"]}]},onBLEConnectionStateChange:{"1.1.1":[{callback:["deviceId","connected"]}]},getBLEDeviceServices:{"1.1.0":[{object:["deviceId"]},{success:["services"]}]},getBLEDeviceCharacteristics:{"1.1.0":[{object:["deviceId","serviceId"]},{success:["characteristics"]}]},readBLECharacteristicValue:{"1.1.0":[{object:["deviceId","serviceId","characteristicId"]},{success:["errCode"]}]},writeBLECharacteristicValue:{"1.1.0":[{object:["deviceId","serviceId","characteristicId","value"]}]},notifyBLECharacteristicValueChange:{"1.1.1":[{object:["deviceId","serviceId","characteristicId","state"]}]},onBLECharacteristicValueChange:{"1.1.0":[{callback:["deviceId","serviceId","characteristicId","value"]}]},addCard:{"1.1.0":[{object:["cardList"]},{success:["cardList"]}]},openCard:{"1.1.0":[{object:["cardList"]}]},checkIsSoterEnrolledInDevice:{"1.6.0":[{object:["checkAuthMode"]},{success:["isEnrolled"]}]},checkIsSupportSoterAuthentication:{"1.5.0":[{success:[{supportMode:["fingerPrint","facial","speech"]}]}]},chooseInvoiceTitle:{"1.5.0":[{success:["type","title","taxNumber","companyAddress","telephone","bankName","bankAccount"]}]},setClipboardData:{"1.1.0":[{object:["data"]}]},getClipboardData:{"1.1.0":[{success:["data"]}]},onCompassChange:{"1.0.0":[{callback:["direction"]}],"2.4.0":[{callback:["accuracy"]}]},startCompass:{"1.1.0":[]},stopCompass:{"1.1.0":[]},createInnerAudioContext:{"1.6.0":[]},createWorker:{"1.9.90":["postMessage","onMessage","terminate","null"]},setStorage:{"1.0.0":[{object:["key","data"]}]},setStorageSync:{"1.0.0":[]},getStorage:{"1.0.0":[{object:["key"]},{success:["data"]}]},getStorageSync:{"1.0.0":[]},getStorageInfo:{"1.0.0":[{success:["keys","currentSize","limitSize"]}]},getBackgroundFetchData:{"1.0.0":[{success:["fetchedData","timeStamp"]}]},removeStorage:{"1.0.0":[{object:["key"]}]},removeStorageSync:{"1.0.0":[]},clearStorage:{"1.0.0":[]},clearStorageSync:{"1.0.0":[]},getOpenDeviceId:{"1.5.0":[{success:["encryptedData","iv"]}]},getNetworkType:{"1.0.0":[{success:["networkType"]}]},onNetworkStatusChange:{"1.1.0":[{callback:["isConnected",{networkType:["wifi","2g","3g","4g","none","unknown"]}]}]},setScreenBrightness:{"1.2.0":[{object:["value"]}]},getScreenBrightness:{"1.2.0":[{success:["value"]}]},vibrateLong:{"1.2.0":[]},vibrateShort:{"1.2.0":[]},getExtConfig:{"1.1.0":[{success:["extConfig"]}]},getExtConfigSync:{"1.1.0":[]},saveFile:{"1.0.0":[{object:["tempFilePath"]},{success:["savedFilePath"]}]},getSavedFileList:{"1.0.0":[{success:["fileList"]}]},getSavedFileInfo:{"1.0.0":[{object:["filePath"]},{success:["size","createTime"]}]},removeSavedFile:{"1.0.0":[{object:["filePath"]}]},openDocument:{"1.0.0":[{object:["filePath"]}],"1.4.0":[{object:["fileType"]}]},getRecorderManager:{"1.6.0":[]},getBackgroundAudioManager:{"1.2.0":[]},getFileInfo:{"1.4.0":[{object:["filePath",{digestAlgorithm:["md5","sha1"]}]},{success:["size","digest"]}]},getLogManager:{"2.1.0":["log","info","warn","debug"]},getUpdateManager:{"1.9.90":["onCheckForUpdate","onUpdateReady","onUpdateFailed","applyUpdate","null"]},startBeaconDiscovery:{"1.2.0":[{object:["uuids"]}]},stopBeaconDiscovery:{"1.2.0":[]},getBeacons:{"1.2.0":[{success:["beacons"]}]},onBeaconUpdate:{"1.2.0":[{callback:["beacons"]}]},onBeaconServiceChange:{"1.2.0":[{callback:["available","discovering"]}]},getLocation:{"1.0.0":[{object:["type"]},{success:["latitude","longitude","speed","accuracy"]}],"1.6.0":[{object:["altitude"]}],"1.2.0":[{success:["altitude","verticalAccuracy","horizontalAccuracy"]}]},chooseLocation:{"1.0.0":[{success:["name","address","latitude","longitude"]}]},openLocation:{"1.0.0":[{object:["latitude","longitude","scale","name","address"]}]},getBackgroundAudioPlayerState:{"1.0.0":[{success:["duration","currentPosition","status","downloadPercent","dataUrl"]}]},playBackgroundAudio:{"1.0.0":[{object:["dataUrl","title","coverImgUrl"]}]},pauseBackgroundAudio:{"1.0.0":[]},seekBackgroundAudio:{"1.0.0":[{object:["position"]}]},stopBackgroundAudio:{"1.0.0":[]},onBackgroundAudioPlay:{"1.0.0":[]},onBackgroundAudioPause:{"1.0.0":[]},onBackgroundAudioStop:{"1.0.0":[]},loadFontFace:{"2.1.0":[{object:["family","source","desc"]}]},chooseImage:{"1.0.0":[{object:["count","sizeType","sourceType"]},{success:["tempFilePaths"]}],"1.2.0":[{success:["tempFiles"]}]},previewImage:{"1.0.0":[{object:["current","urls"]}]},getImageInfo:{"1.0.0":[{object:["src"]},{success:["width","height","path"]}],"1.9.90":[{success:["orientation","type"]}]},saveImageToPhotosAlbum:{"1.2.0":[{object:["filePath"]}]},startRecord:{"1.0.0":[{success:["tempFilePath"]}]},stopRecord:{"1.0.0":[]},chooseVideo:{"1.0.0":[{object:["sourceType","maxDuration"]},{success:["tempFilePath","duration","size","height","width"]}],"1.6.0":[{object:["compressed"]}]},saveVideoToPhotosAlbum:{"1.2.0":[{object:["filePath"]}]},playVoice:{"1.0.0":[{object:["filePath"]}],"1.6.0":[{object:["duration"]}]},pauseVoice:{"1.0.0":[]},stopVoice:{"1.0.0":[]},reportMonitor:{"2.0.1":[]},navigateBackMiniProgram:{"1.3.0":[{object:["extraData"]}]},navigateToMiniProgram:{"1.3.0":[{object:["appId","path","extraData","envVersion"]}]},downloadApp:{"2.1.0":["onCreated","onProgressUpdate","pause","resume","cancel","install","null"]},getAppInstallState:{"2.1.0":[{object:["packageName","packageNameArray"]},{success:["isInstalled","versionName","versionCode","pkgInfos"]}]},queryDownloadAppTask:{"2.1.0":[{object:["downloadId","downloadIdArray","appIdArray"]},{success:["state","progress","result"]}]},cancelDownloadAppTask:{"2.1.0":[{object:["downloadIdArray"]}]},uploadFile:{"1.0.0":[{object:["url","filePath","name","header","formData"]},{success:["data","statusCode"]}]},downloadFile:{"1.0.0":[{object:["url","header"]},{success:["tempFilePath","statusCode"]}]},request:{"1.0.0":[{object:["url","data","header",{method:["OPTIONS","GET","HEAD","POST","PUT","DELETE","TRACE","CONNECT"]},"dataType"]},{success:["data","statusCode"]}],"1.7.0":[{object:["responseType"]}],"1.2.0":[{success:["header"]}]},connectSocket:{"1.0.0":[{object:["url","header",{method:["OPTIONS","GET","HEAD","POST","PUT","DELETE","TRACE","CONNECT"]}]}],"1.4.0":[{object:["protocols"]}]},onSocketOpen:{"1.0.0":[]},onSocketError:{"1.0.0":[]},sendSocketMessage:{"1.0.0":[{object:["data"]}]},onSocketMessage:{"1.0.0":[{callback:["data"]}]},closeSocket:{"1.0.0":[],"1.4.0":[{object:["code","reason"]}]},onSocketClose:{"1.0.0":[]},getHCEState:{"1.7.0":[{success:["errCode"]}]},startHCE:{"1.7.0":[{object:["aid_list"]},{success:["errCode"]}]},stopHCE:{"1.7.0":[{success:["errCode"]}]},onHCEMessage:{"1.7.0":[{callback:["messageType","data","reason"]}]},sendHCEMessage:{"1.7.0":[{object:["data"]},{success:["errCode"]}]},onUserCaptureScreen:{"1.4.0":[]},chooseContact:{"1.0.0":[{success:["phoneNumber","displayName"]}]},getUserInfo:{"1.0.0":[{success:["userInfo","rawData","signature","encryptedData","iv"]}],"1.1.0":[{object:["withCredentials"]}],"1.3.0":[{object:["lang"]}],"1.9.90":[{object:["timeout"]}]},addPhoneContact:{"1.2.0":[{object:["photoFilePath","nickName","lastName","middleName","firstName","remark","mobilePhoneNumber","weChatNumber","addressCountry","addressState","addressCity","addressStreet","addressPostalCode","organization","title","workFaxNumber","workPhoneNumber","hostNumber","email","url","workAddressCountry","workAddressState","workAddressCity","workAddressStreet","workAddressPostalCode","homeFaxNumber","homePhoneNumber","homeAddressCountry","homeAddressState","homeAddressCity","homeAddressStreet","homeAddressPostalCode"]}]},makePhoneCall:{"1.0.0":[{object:["phoneNumber"]}]},startPullDownRefresh:{"1.5.0":[]},stopPullDownRefresh:{"1.0.0":[]},scanCode:{"1.0.0":[{success:["result","scanType","charSet","path","rawData"]}],"1.2.0":[{object:["onlyFromCamera"]}],"1.7.0":[{object:["scanType"]}]},pageScrollTo:{"1.4.0":[{object:["scrollTop","duration"]}]},setEnableDebug:{"1.4.0":[{object:["enableDebug"]}]},setKeepScreenOn:{"1.4.0":[{object:["keepScreenOn"]}]},setNavigationBarColor:{"1.4.0":[{object:["frontColor","backgroundColor","animation","animation.duration",{"animation.timingFunc":["linear","easeIn","easeOut","easeInOut"]}]}]},openSetting:{"1.1.0":[{success:["authSetting"]}]},getSetting:{"1.2.0":[{success:["authSetting"]}]},showShareMenu:{"1.1.0":[{object:["withShareTicket"]}]},hideShareMenu:{"1.1.0":[]},updateShareMenu:{"1.2.0":[{object:["withShareTicket"]}],"1.4.0":[{object:["dynamic","widget"]}],"2.4.0":[{object:["isUpdatableMessage","activityId","templateInfo"]}]},getShareInfo:{"1.1.0":[{object:["shareTicket"]},{callback:["encryptedData","iv"]}],"1.9.90":[{object:["timeout"]}]},checkSession:{"1.0.0":[]},startSoterAuthentication:{"1.5.0":[{object:["requestAuthModes","challenge","authContent"]},{success:["errCode","authMode","resultJSON","resultJSONSignature"]}]},getSystemInfo:{"1.0.0":[{success:["model","pixelRatio","windowWidth","windowHeight","language","version","system","platform"]}],"1.5.0":[{success:["brand","fontSizeSetting"]}],"1.1.0":[{success:["screenWidth","screenHeight","SDKVersion"]}],"1.9.0":[{success:["statusBarHeight"]}]},getSystemInfoSync:{"1.0.0":[{return:["model","pixelRatio","windowWidth","windowHeight","language","version","system","platform"]}],"1.5.0":[{return:["brand","fontSizeSetting"]}],"1.1.0":[{return:["screenWidth","screenHeight","SDKVersion"]}],"1.9.0":[{return:["statusBarHeight"]}]},setBackgroundColor:{"2.1.0":[{object:["backgroundColor","backgroundColorTop","backgroundColorBottom"]}]},setBackgroundTextStyle:{"2.1.0":[{object:["textStyle"]}]},navigateTo:{"1.0.0":[{object:["url"]}]},redirectTo:{"1.0.0":[{object:["url"]}]},reLaunch:{"1.1.0":[{object:["url"]}]},switchTab:{"1.0.0":[{object:["url"]}]},navigateBack:{"1.0.0":[{object:["delta"]}]},setTabBarBadge:{"1.9.0":[{object:["index","text"]}]},removeTabBarBadge:{"1.9.0":[{object:["index"]}]},showTabBarRedDot:{"1.9.0":[{object:["index"]}]},hideTabBarRedDot:{"1.9.0":[{object:["index"]}]},setTabBarStyle:{"1.9.0":[{object:["color","selectedColor","backgroundColor","borderStyle"]}]},setTabBarItem:{"1.9.0":[{object:["index","text","iconPath","selectedIconPath"]}]},showTabBar:{"1.9.0":[{object:["animation"]}]},hideTabBar:{"1.9.0":[{object:["animation"]}]},setTopBarText:{"1.4.3":[{object:["text"]}]},setNavigationBarTitle:{"1.0.0":[{object:["title"]}]},showNavigationBarLoading:{"1.0.0":[]},hideNavigationBarLoading:{"1.0.0":[]},getWeRunData:{"1.2.0":[{success:["encryptedData","iv"]}],"1.9.90":[{object:["timeout"]}]},startWifi:{"1.6.0":[]},stopWifi:{"1.6.0":[]},connectWifi:{"1.6.0":[{object:["SSID","BSSID","password"]}]},getWifiList:{"1.6.0":[]},onGetWifiList:{"1.6.0":[{callback:["wifiList"]}]},setWifiList:{"1.6.0":[{object:["wifiList"]}]},onWifiConnected:{"1.6.0":[{callback:["wifi"]}]},getConnectedWifi:{"1.6.0":[{success:["wifi"]}]},createSelectorQuery:{"1.4.0":[]},makeVoIPCall:{"1.5.0":[{object:["allowBackCamera","showOther","avatarUrl","context"]}]},createCanvasContext:{"1.0.0":[]},canvasGetImageData:{"1.9.0":[{object:["canvasId","x","y","width","height"]},{success:["width","height","data"]}]},canvasPutImageData:{"1.9.0":[{object:["canvasId","data","x","y","width","height"]}]},canvasToTempFilePath:{"1.0.0":[{object:["canvasId"]}],"1.2.0":[{object:["x","y","width","height","destWidth","destHeight"]}],"1.7.0":[{object:["fileType","quality"]}]},canvasContext:{"1.0.0":["addColorStop","arc","beginPath","bezierCurveTo","clearActions","clearRect","closePath","createCircularGradient","createLinearGradient","drawImage","draw","fillRect","fillText","fill","lineTo","moveTo","quadraticCurveTo","rect","rotate","save","scale","setFillStyle","setFontSize","setGlobalAlpha","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setShadow","setStrokeStyle","strokeRect","stroke","translate"],"1.9.90":["arcTo","createPattern","font","globalCompositeOperation","lineDashOffset","measureText","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","setTransform","strokeText","transform"],"1.6.0":["clip","setLineDash"],"1.1.0":["setTextAlign"],"1.4.0":["setTextBaseline"]},animation:{"1.0.0":["opacity","backgroundColor","width","height","top","left","bottom","right","rotate","rotateX","rotateY","rotateZ","rotate3d","scale","scaleX","scaleY","scaleZ","scale3d","translate","translateX","translateY","translateZ","translate3d","skew","skewX","skewY","matrix","matrix3d"]},audioContext:{"1.0.0":["setSrc","play","pause","seek"]},cameraContext:{"1.6.0":["takePhoto","startRecord","stopRecord"]},mapContext:{"1.0.0":["getCenterLocation","moveToLocation"],"1.2.0":["translateMarker","includePoints"],"1.4.0":["getRegion","getScale"]},videoContext:{"1.0.0":["play","pause","seek","sendDanmu"],"1.4.0":["playbackRate","requestFullScreen","exitFullScreen"],"2.1.0":["showStatusBar","hideStatusBar"]},innerAudioContext:{"1.6.0":["play","pause","stop","seek","destroy","onCanplay","onPlay","onPause","onStop","onEnded","onTimeUpdate","onError","onWaiting","onSeeking","onSeeked","src","startTime","autoplay","loop","obeyMuteSwitch","duration","currentTime","paused","buffered"],"1.9.0":["offCanplay","offPlay","offPause","offStop","offEnded","offTimeUpdate","offError","offWaiting","offSeeking","offSeeked"],"1.9.90":[{props:["volume"]},"volume"]},recorderManager:{"1.6.0":["start","pause","resume","stop","onStart","onPause","onStop","onFrameRecorded","onError"]},backgroundAudioManager:{"1.2.0":["play","pause","stop","seek","onCanplay","onPlay","onPause","onStop","onEnded","onTimeUpdate","onPrev","onNext","onError","onWaiting","duration","currentTime","paused","src","startTime","buffered","title","epname","singer","coverImgUrl","webUrl","protocol"]},uploadTask:{"1.4.0":["onProgressUpdate","abort"]},downloadTask:{"1.4.0":["onProgressUpdate","abort"]},requestTask:{"1.4.0":["abort"]},selectorQuery:{"1.4.0":["in","select","selectAll","selectViewport","exec"]},onBLEConnectionStateChanged:{"1.1.0":[{callback:["deviceId","connected"]}]},notifyBLECharacteristicValueChanged:{"1.1.0":[{object:["deviceId","serviceId","characteristicId","state"]}]},sendBizRedPacket:{"1.2.0":[{object:["timeStamp","nonceStr","package","signType","paySign"]}]},captureScreen:{"1.4.0":[{success:["tempFilePath"]}]},getFileSystemManager:{"1.9.9":[]},onMemoryWarning:{"2.0.2":[{callback:["level"]}]},nextTick:{"2.2.3":[]},getAccountInfoSync:{"2.2.2":[]},getAvailableAudioSources:{"2.1.0":[{success:["audioSources"]}]},compressImage:{"2.4.0":[{object:["src","quality"]}]},offLocalServiceDiscoveryStop:{"2.4.0":[]},offLocalServiceFound:{"2.4.0":[]},offLocalServiceLost:{"2.4.0":[]},offLocalServiceResolveFail:{"2.4.0":[]},onLocalServiceDiscoveryStop:{"2.4.0":[]},onLocalServiceFound:{"2.4.0":[]},onLocalServiceLost:{"2.4.0":[]},onLocalServiceResolveFail:{"2.4.0":[]},startLocalServiceDiscovery:{"2.4.0":[]},stopLocalServiceDiscovery:{"2.4.0":[]},shareAppMessageForFakeNative:{"2.4.3":[]},chooseMessageFile:{"2.5.0":[{object:["count","type"]},{success:["tempFiles"]}]}}},function(e,O,D){(function(h,g){var v;!function(e){O&&O.nodeType,h&&h.nodeType;var t="object"==typeof g&&g;t.global!==t&&t.window!==t&&t.self;var n,_=2147483647,y=36,m=1,b=26,o=38,a=700,w=72,S=128,C="-",r=/^xn--/,i=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=y-m,T=Math.floor,k=String.fromCharCode;function x(e){throw RangeError(c[e])}function l(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function d(e,t){var n=e.split("@"),r="";return 1<n.length&&(r=n[0]+"@",e=n[1]),r+l((e=e.replace(s,".")).split("."),t).join(".")}function I(e){for(var t,n,r=[],o=0,a=e.length;o<a;)55296<=(t=e.charCodeAt(o++))&&t<=56319&&o<a?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function E(e){return l(e,function(e){var t="";return 65535<e&&(t+=k((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=k(e)}).join("")}function P(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function A(e,t,n){var r=0;for(e=n?T(e/a):e>>1,e+=T(e/t);u*b>>1<e;r+=y)e=T(e/u);return T(r+(u+1)*e/(e+o))}function f(e){var t,n,r,o,a,i,s,c,u,l,d,f=[],p=e.length,h=0,g=S,v=w;for((n=e.lastIndexOf(C))<0&&(n=0),r=0;r<n;++r)128<=e.charCodeAt(r)&&x("not-basic"),f.push(e.charCodeAt(r));for(o=0<n?n+1:0;o<p;){for(a=h,i=1,s=y;p<=o&&x("invalid-input"),d=e.charCodeAt(o++),(y<=(c=d-48<10?d-22:d-65<26?d-65:d-97<26?d-97:y)||c>T((_-h)/i))&&x("overflow"),h+=c*i,!(c<(u=s<=v?m:v+b<=s?b:s-v));s+=y)i>T(_/(l=y-u))&&x("overflow"),i*=l;v=A(h-a,t=f.length+1,0==a),T(h/t)>_-g&&x("overflow"),g+=T(h/t),h%=t,f.splice(h++,0,g)}return E(f)}function p(e){var t,n,r,o,a,i,s,c,u,l,d,f,p,h,g,v=[];for(f=(e=I(e)).length,t=S,a=w,i=n=0;i<f;++i)(d=e[i])<128&&v.push(k(d));for(r=o=v.length,o&&v.push(C);r<f;){for(s=_,i=0;i<f;++i)t<=(d=e[i])&&d<s&&(s=d);for(s-t>T((_-n)/(p=r+1))&&x("overflow"),n+=(s-t)*p,t=s,i=0;i<f;++i)if((d=e[i])<t&&++n>_&&x("overflow"),d==t){for(c=n,u=y;!(c<(l=u<=a?m:a+b<=u?b:u-a));u+=y)g=c-l,h=y-l,v.push(k(P(l+g%h,0))),c=T(g/h);v.push(k(P(c,0))),a=A(n,p,r==o),n=0,++r}++n,++t}return v.join("")}n={version:"1.3.2",ucs2:{decode:I,encode:E},decode:f,encode:p,toASCII:function(e){return d(e,function(e){return i.test(e)?"xn--"+p(e):e})},toUnicode:function(e){return d(e,function(e){return r.test(e)?f(e.slice(4).toLowerCase()):e})}},void 0===(v=function(){return n}.call(O,D,O,h))||(h.exports=v)}()}).call(this,D(5)(e),D(6))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(JNa,KNa){var LNa;LNa=function(){return this}();try{LNa=LNa||Function("return this")()||eval("this")}catch(e){"object"==typeof window&&(LNa=window)}JNa.exports=LNa},function(e,t,n){e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){t.decode=t.parse=n(9),t.encode=t.stringify=n(10)},function(e,t,n){e.exports=function(e,t,n,r){t=t||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(t);var i=1e3;r&&"number"==typeof r.maxKeys&&(i=r.maxKeys);var s,c,u=e.length;0<i&&i<u&&(u=i);for(var l=0;l<u;++l){var d,f,p,h,g=e[l].replace(a,"%20"),v=g.indexOf(n);f=0<=v?(d=g.substr(0,v),g.substr(v+1)):(d=g,""),p=decodeURIComponent(d),h=decodeURIComponent(f),s=o,c=p,Object.prototype.hasOwnProperty.call(s,c)?_(o[p])?o[p].push(h):o[p]=[o[p],h]:o[p]=h}return o};var _=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){var a=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(n,r,o,e){return r=r||"&",o=o||"=",null===n&&(n=void 0),"object"==typeof n?s(c(n),function(e){var t=encodeURIComponent(a(e))+o;return i(n[e])?s(n[e],function(e){return t+encodeURIComponent(a(e))}).join(r):t+encodeURIComponent(a(n[e]))}).join(r):e?encodeURIComponent(a(e))+o+encodeURIComponent(a(n)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function s(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var c=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(n,a,r){(function(t){function e(){var e;try{e=a.storage.debug}catch(e){}return!e&&void 0!==t&&"env"in t&&(e=t.env.DEBUG),e}(a=n.exports=r(13)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},a.formatArgs=function(e){var t=this.useColors;if(e[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+e[0]+(t?"%c ":" ")+"+"+a.humanize(this.diff),!t)return;var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var r=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))}),e.splice(o,0,n)},a.save=function(e){try{null==e?a.storage.removeItem("debug"):a.storage.debug=e}catch(e){}},a.load=e,a.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&31<=parseInt(RegExp.$1,10)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},a.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),a.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],a.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},a.enable(e())}).call(this,r(12))},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var c,u=[],l=!1,d=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):d=-1,u.length&&p())}function p(){if(!l){var e=s(f);l=!0;for(var t=u.length;t;){for(c=u,u=[];++d<t;)c&&c[d].run();d=-1,t=u.length}c=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,s,t){var c;function n(e){function r(){if(r.enabled){var o=r,e=+new Date,t=e-(c||e);o.diff=t,o.prev=c,o.curr=e,c=e;for(var a=new Array(arguments.length),n=0;n<a.length;n++)a[n]=arguments[n];a[0]=s.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var i=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,function(e,t){if("%%"===e)return e;i++;var n=s.formatters[t];if("function"==typeof n){var r=a[i];e=n.call(o,r),a.splice(i,1),i--}return e}),s.formatArgs.call(o,a),(r.log||s.log||console.log.bind(console)).apply(o,a)}}return r.namespace=e,r.enabled=s.enabled(e),r.useColors=s.useColors(),r.color=function(e){var t,n=0;for(t in e)n=(n<<5)-n+e.charCodeAt(t),n|=0;return s.colors[Math.abs(n)%s.colors.length]}(e),"function"==typeof s.init&&s.init(r),r}(s=e.exports=n.debug=n.default=n).coerce=function(e){return e instanceof Error?e.stack||e.message:e},s.disable=function(){s.enable("")},s.enable=function(e){s.save(e),s.names=[],s.skips=[];for(var t=("string"==typeof e?e:"").split(/[\s,]+/),n=t.length,r=0;r<n;r++)t[r]&&("-"===(e=t[r].replace(/\*/g,".*?"))[0]?s.skips.push(new RegExp("^"+e.substr(1)+"$")):s.names.push(new RegExp("^"+e+"$")))},s.enabled=function(e){var t,n;for(t=0,n=s.skips.length;t<n;t++)if(s.skips[t].test(e))return!1;for(t=0,n=s.names.length;t<n;t++)if(s.names[t].test(e))return!0;return!1},s.humanize=t(14),s.names=[],s.skips=[],s.formatters={}},function(e,t){function o(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,t){t=t||{};var n,r=typeof e;if("string"===r&&0<e.length)return function(e){if(100<(e=String(e)).length)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"days":case"day":case"d":return 864e5*n;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*n;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*n;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(e);if("number"===r&&!1===isNaN(e))return t.long?o(n=e,864e5,"day")||o(n,36e5,"hour")||o(n,6e4,"minute")||o(n,1e3,"second")||n+" ms":function(e){if(864e5<=e)return Math.round(e/864e5)+"d";if(36e5<=e)return Math.round(e/36e5)+"h";if(6e4<=e)return Math.round(e/6e4)+"m";if(1e3<=e)return Math.round(e/1e3)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){var r={};n.r(r),n.d(r,"requestPayment",function(){return nr}),n.d(r,"verifyPaymentPassword",function(){return rr}),n.d(r,"bindPaymentCard",function(){return or}),n.d(r,"requestPaymentToBank",function(){return ar}),n.d(r,"requestVirtualPayment",function(){return ir}),n.d(r,"openOfflinePayView",function(){return sr}),n.d(r,"openWCPayCardList",function(){return cr}),n.d(r,"requestMallPayment",function(){return ur});var o={};n.r(o),n.d(o,"ShareInfoStorage",function(){return mn}),n.d(o,"getShareInfo",function(){return lr}),n.d(o,"showShareMenu",function(){return dr}),n.d(o,"hideShareMenu",function(){return fr}),n.d(o,"updateShareMenu",function(){return pr}),n.d(o,"showUpdatableMessageSubscribeButton",function(){return gr}),n.d(o,"shareAppMessageForFakeNative",function(){return yr});var a={};n.r(a),n.d(a,"getSystemInfo",function(){return jr}),n.d(a,"getSystemInfoSync",function(){return Fr}),n.d(a,"getStaticSystemInfoSync",function(){return Ur});var i={};n.r(i),n.d(i,"addCard",function(){return Eo}),n.d(i,"openCard",function(){return Po});var s={};n.r(s),n.d(s,"checkIsSupportSoterAuthentication",function(){return Ao}),n.d(s,"startSoterAuthentication",function(){return Oo}),n.d(s,"checkIsSoterEnrolledInDevice",function(){return Do});var c={};n.r(c),n.d(c,"openGoldenRedPacketDetail",function(){return Mo}),n.d(c,"sendGoldenRedPacket",function(){return Ro}),n.d(c,"sendBizRedPacket",function(){return No}),n.d(c,"sendRedPacket",function(){return Lo}),n.d(c,"openRedPacket",function(){return Bo});var u={};n.r(u),n.d(u,"startFacialRecognitionVerify",function(){return Uo}),n.d(u,"startCustomFacialRecognitionVerify",function(){return Wo}),n.d(u,"checkIsSupportFacialRecognition",function(){return jo}),n.d(u,"startFacialRecognitionVerifyAndUploadVideo",function(){return Vo}),n.d(u,"startCustomFacialRecognitionVerifyAndUploadVideo",function(){return qo});var l={};n.r(l),n.d(l,"canvas",function(){return Kr}),n.d(l,"canvasInfo",function(){return Vr}),n.d(l,"onCanvasMethodCallbackOnce",function(){return Xr}),n.d(l,"clearOldWebviewCanvas",function(){return $r}),n.d(l,"createContext",function(){return _o}),n.d(l,"drawCanvasImpl",function(){return so}),n.d(l,"drawCanvas",function(){return co}),n.d(l,"canvasToTempFilePath",function(){return ho}),n.d(l,"createCanvasContext",function(){return mo}),n.d(l,"drawCanvas4Plugin",function(){return uo}),n.d(l,"canvasToTempFilePath4Plugin",function(){return go}),n.d(l,"createCanvasContext4Plugin",function(){return bo}),n.d(l,"canvasGetImageData4Plugin",function(){return no}),n.d(l,"canvasPutImageData4Plugin",function(){return ao}),n.d(l,"canvasToDataURL",function(){return vo}),n.d(l,"canvasGetImageData",function(){return to}),n.d(l,"canvasPutImageData",function(){return oo});var d={};n.r(d),n.d(d,"getNetworkType",function(){return _i}),n.d(d,"onNetworkStatusChange",function(){return yi}),n.d(d,"_getCurrentNetworkType",function(){return mi});var f={};n.r(f),n.d(f,"chooseImage",function(){return us}),n.d(f,"previewImage",function(){return ls}),n.d(f,"_getImageInfoWithDownloadFile",function(){return fs}),n.d(f,"getImageInfo",function(){return ds}),n.d(f,"saveImageToPhotosAlbum",function(){return ps}),n.d(f,"compressImage",function(){return hs});var p={};n.r(p),n.d(p,"chooseVideo",function(){return gs}),n.d(p,"saveVideoToPhotosAlbum",function(){return vs});var h={};n.r(h),n.d(h,"loadFontFace",function(){return ms});var g={};n.r(g),n.d(g,"playVoice",function(){return bs}),n.d(g,"pauseVoice",function(){return ws}),n.d(g,"stopVoice",function(){return Ss}),n.d(g,"onVoicePlayEnd",function(){return Cs});var v={};n.r(v),n.d(v,"getRecorderManager",function(){return Ps}),n.d(v,"startRecord",function(){return As}),n.d(v,"stopRecord",function(){return Os});var _={};n.r(_),n.d(_,"getBackgroundAudioManager",function(){return Fs}),n.d(_,"getBackgroundAudioPlayerState",function(){return Us}),n.d(_,"playBackgroundAudio",function(){return Ws}),n.d(_,"pauseBackgroundAudio",function(){return Vs}),n.d(_,"seekBackgroundAudio",function(){return qs}),n.d(_,"stopBackgroundAudio",function(){return Ks}),n.d(_,"onBackgroundAudioPlay",function(){return zs}),n.d(_,"onBackgroundAudioPause",function(){return Gs}),n.d(_,"onBackgroundAudioStop",function(){return Ys});var y={};n.r(y),n.d(y,"createVideoContext",function(){return fi}),n.d(y,"createSQVideoContext",function(){return pi}),n.d(y,"createCameraContext",function(){return ga}),n.d(y,"createMapContext",function(){return pn}),n.d(y,"createSQMapContext",function(){return hn}),n.d(y,"createInnerAudioContext",function(){return mc}),n.d(y,"createLivePlayerContext",function(){return Da}),n.d(y,"createSQLivePlayerContext",function(){return Ma}),n.d(y,"createLivePusherContext",function(){return Ka}),n.d(y,"createAudioContext",function(){return $a});var m={};n.r(m),n.d(m,"navigateBackMiniProgram",function(){return Wc}),n.d(m,"_setWxIsInvokeInTapForNavToMiniProgram",function(){return ea}),n.d(m,"_navigateToMiniProgram",function(){return Qo}),n.d(m,"_checkBeforeNavigateToMiniProgram",function(){return Xo}),n.d(m,"navigateToMiniProgram",function(){return ta}),n.d(m,"navigateToDevMiniProgram",function(){return Vc});var b={};n.r(b),n.d(b,"showToast",function(){return Zc}),n.d(b,"hideToast",function(){return eu}),n.d(b,"showLoading",function(){return nu}),n.d(b,"hideLoading",function(){return ru}),n.d(b,"showModal",function(){return Yc}),n.d(b,"_showSystemModal",function(){return Xc}),n.d(b,"showActionSheet",function(){return ou});var w={};n.r(w),n.d(w,"setNavigationBarTitle",function(){return cu}),n.d(w,"showNavigationBarLoading",function(){return uu}),n.d(w,"hideNavigationBarLoading",function(){return lu}),n.d(w,"_onNavigationBarTitleUpdate",function(){return su}),n.d(w,"setNavigationBarAlpha",function(){return pu}),n.d(w,"setNavigationBarColor",function(){return fu}),n.d(w,"setNavigationBarRightButton",function(){return hu}),n.d(w,"onTapNavigationBarRightButton",function(){return gu});var S={};n.r(S),n.d(S,"setTopBarText",function(){return _u});var C={};n.r(C),n.d(C,"navigateToWithRelatedInfo",function(){return xc}),n.d(C,"navigateTo",function(){return kc}),n.d(C,"redirectTo",function(){return Cc}),n.d(C,"switchTab",function(){return Ic}),n.d(C,"navigateBack",function(){return Ec}),n.d(C,"reLaunch",function(){return Tc}),n.d(C,"onPageReload",function(){return yu}),n.d(C,"_triggerBeforeUnloadPage",function(){return mu}),n.d(C,"_triggerBeforeShareAppMessage",function(){return bu});var T={};n.r(T),n.d(T,"onWebviewEvent",function(){return wu}),n.d(T,"onNativeEvent",function(){return Su});var k={};n.r(k),n.d(k,"setTabBarBadge",function(){return Cu}),n.d(k,"removeTabBarBadge",function(){return Tu}),n.d(k,"showTabBarRedDot",function(){return ku}),n.d(k,"hideTabBarRedDot",function(){return xu}),n.d(k,"showTabBar",function(){return Eu}),n.d(k,"hideTabBar",function(){return Pu}),n.d(k,"setTabBarStyle",function(){return Ou}),n.d(k,"setTabBarItem",function(){return Mu}),n.d(k,"_isTabBar",function(){return Au});var x={};n.r(x),n.d(x,"uploadEncryptedFileToCDN",function(){return Il}),n.d(x,"onUploadEncryptedFileToCDNProgress",function(){return El});var I={};n.r(I),n.d(I,"getBatteryInfo",function(){return Ad}),n.d(I,"getBatteryInfoSync",function(){return Od});var E={};n.r(E),n.d(E,"startAccelerometer",function(){return Rd}),n.d(E,"stopAccelerometer",function(){return Nd}),n.d(E,"onAccelerometerChange",function(){return Ld});var P={};n.r(P),n.d(P,"startCompass",function(){return Fd}),n.d(P,"stopCompass",function(){return Ud}),n.d(P,"onCompassChange",function(){return Wd});var A={};n.r(A),n.d(A,"makePhoneCall",function(){return Vd}),n.d(A,"makeVoIPCall",function(){return qd});var O={};n.r(O),n.d(O,"scanCode",function(){return Kd}),n.d(O,"openQRCode",function(){return Hd});var D={};n.r(D),n.d(D,"getClipboardData",function(){return zd}),n.d(D,"setClipboardData",function(){return Gd});var M={};n.r(M),n.d(M,"startBeaconDiscovery",function(){return Yd}),n.d(M,"stopBeaconDiscovery",function(){return Jd}),n.d(M,"getBeacons",function(){return Xd}),n.d(M,"onBeaconUpdate",function(){return Qd}),n.d(M,"onBeaconServiceChange",function(){return $d});var R={};n.r(R),n.d(R,"captureScreen",function(){return Zd}),n.d(R,"onUserCaptureScreen",function(){return ef}),n.d(R,"getScreenBrightness",function(){return tf}),n.d(R,"setScreenBrightness",function(){return nf}),n.d(R,"setKeepScreenOn",function(){return rf});var N={};n.r(N),n.d(N,"vibrateShort",function(){return of}),n.d(N,"vibrateLong",function(){return af});var L={};n.r(L),n.d(L,"chooseContact",function(){return sf}),n.d(L,"chooseWeChatContact",function(){return cf}),n.d(L,"addPhoneContact",function(){return uf});var B={};n.r(B),n.d(B,"openBluetoothAdapter",function(){return lf}),n.d(B,"closeBluetoothAdapter",function(){return df}),n.d(B,"getBluetoothAdapterState",function(){return ff}),n.d(B,"onBluetoothAdapterStateChange",function(){return pf}),n.d(B,"startBluetoothDevicesDiscovery",function(){return hf}),n.d(B,"stopBluetoothDevicesDiscovery",function(){return gf}),n.d(B,"getBluetoothDevices",function(){return vf}),n.d(B,"getConnectedBluetoothDevices",function(){return _f}),n.d(B,"createBLEConnection",function(){return yf}),n.d(B,"closeBLEConnection",function(){return mf}),n.d(B,"getBLEDeviceServices",function(){return bf}),n.d(B,"getBLEDeviceCharacteristics",function(){return wf}),n.d(B,"notifyBLECharacteristicValueChanged",function(){return Sf}),n.d(B,"notifyBLECharacteristicValueChange",function(){return Cf}),n.d(B,"onBluetoothDeviceFound",function(){return Tf}),n.d(B,"readBLECharacteristicValue",function(){return kf}),n.d(B,"writeBLECharacteristicValue",function(){return xf}),n.d(B,"onBLEConnectionStateChanged",function(){return If}),n.d(B,"onBLEConnectionStateChange",function(){return Ef}),n.d(B,"onBLECharacteristicValueChange",function(){return Pf});var j={};n.r(j),n.d(j,"startWifi",function(){return Af}),n.d(j,"stopWifi",function(){return Of}),n.d(j,"getWifiList",function(){return Df}),n.d(j,"getConnectedWifi",function(){return Mf}),n.d(j,"connectWifi",function(){return Rf}),n.d(j,"presetWifiList",function(){return Nf}),n.d(j,"setWifiList",function(){return Lf}),n.d(j,"onGetWifiList",function(){return Bf}),n.d(j,"onWifiConnected",function(){return jf}),n.d(j,"onEvaluateWifi",function(){return Wf});var F={};n.r(F),n.d(F,"getHCEState",function(){return Vf}),n.d(F,"startHCE",function(){return qf}),n.d(F,"stopHCE",function(){return Kf}),n.d(F,"sendHCEMessage",function(){return Hf}),n.d(F,"onHCEMessage",function(){return zf});var U={};n.r(U),n.d(U,"startLocalServiceDiscovery",function(){return Qf}),n.d(U,"stopLocalServiceDiscovery",function(){return $f}),n.d(U,"onLocalServiceFound",function(){return Zf}),n.d(U,"offLocalServiceFound",function(){return ep}),n.d(U,"onLocalServiceLost",function(){return tp}),n.d(U,"offLocalServiceLost",function(){return np}),n.d(U,"onLocalServiceDiscoveryStop",function(){return rp}),n.d(U,"offLocalServiceDiscoveryStop",function(){return op}),n.d(U,"onLocalServiceResolveFail",function(){return ap}),n.d(U,"offLocalServiceResolveFail",function(){return ip});var W={};n.r(W),n.d(W,"startGyroscope",function(){return cp}),n.d(W,"stopGyroscope",function(){return up}),n.d(W,"onGyroscopeChange",function(){return lp});var V={};n.r(V),n.d(V,"startDeviceMotionListening",function(){return fp}),n.d(V,"stopDeviceMotionListening",function(){return pp}),n.d(V,"onDeviceMotionChange",function(){return hp});var q={};n.r(q),n.d(q,"openDeliveryList",function(){return _p}),n.d(q,"openUrl",function(){return yp}),n.d(q,"sendDataToH5",function(){return wp}),n.d(q,"onH5Data",function(){return Ep});var K={};n.r(K),n.d(K,"getAppConfig",function(){return Jv}),n.d(K,"onAppConfig",function(){return Xv}),n.d(K,"onPullDownRefresh",function(){return Qv}),n.d(K,"onShareAppMessage",function(){return $v}),n.d(K,"onTabItemTap",function(){return Zv}),n.d(K,"publishAnalyticsConfig",function(){return e_}),n.d(K,"reportRealtimeAction",function(){return t_}),n.d(K,"shareAppMessage",function(){return n_}),n.d(K,"shareAppMessageDirectly",function(){return r_}),n.d(K,"subscribeAnalyticsReport",function(){return o_}),n.d(K,"subscribeRecycleStatistics",function(){return a_}),n.d(K,"subscribeSavePageState",function(){return i_}),n.d(K,"subscribeTapShareButton",function(){return s_}),n.d(K,"showUpdatableMessageSubscribeButton",function(){return c_}),n.d(K,"onAppUnhang",function(){return u_}),n.d(K,"onPageNotFound",function(){return l_}),n.d(K,"onAppEnterForeground",function(){return d_}),n.d(K,"onAppEnterBackground",function(){return f_}),n.d(K,"onAppShow",function(){return p_}),n.d(K,"onAppHide",function(){return h_}),n.d(K,"onError",function(){return g_}),n.d(K,"getLaunchOptionsSync",function(){return v_}),n.d(K,"emitIsloatedAppShow",function(){return __}),n.d(K,"emitIsloatedAppHide",function(){return y_}),n.d(K,"onNavigationBarTitleUpdate",function(){return m_}),n.d(K,"showShareMenu",function(){return b_}),n.d(K,"ShareInfoStorage",function(){return w_}),n.d(K,"_getRealRoute",function(){return vr}),n.d(K,"_triggerBeforeUnloadPage",function(){return S_}),n.d(K,"_triggerBeforeShareAppMessage",function(){return C_}),n.d(K,"onAppRoute",function(){return T_}),n.d(K,"onAppRouteDone",function(){return k_}),n.d(K,"onPageReload",function(){return x_}),n.d(K,"onWebviewEvent",function(){return I_}),n.d(K,"createPluginWX",function(){return lv}),n.d(K,"publishFunctionalPage",function(){return E_}),n.d(K,"publishPageScrollTo",function(){return P_}),n.d(K,"publishUpdateAppData",function(){return A_}),n.d(K,"subscribeCheckWebviewAliveOk",function(){return O_}),n.d(K,"publishCheckWebviewAlive",function(){return D_}),n.d(K,"subscribeSubjectInfo",function(){return M_}),n.d(K,"reportPv",function(){return R_}),n.d(K,"invokeWebviewMethod",function(){return Bn}),n.d(K,"getShareCookieString",function(){return Qn}),n.d(K,"checkAPIAvailable",function(){return Wt}),n.d(K,"reportRecycledAPI",function(){return It}),n.d(K,"getLogManager",function(){return Qp}),n.d(K,"getSystemInfoSync",function(){return Fr}),n.d(K,"getNetworkType",function(){return _i}),n.d(K,"isIsolatedSubpackage",function(){return Yv}),n.d(K,"onCallMethodFromWxs",function(){return N_});var H={};n.r(H),n.d(H,"onSubpackageReady",function(){return Q_}),n.d(H,"getSubpackagesConfig",function(){return $_});var z={};function G(e){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Y(e){return(Y="function"==typeof Symbol&&"symbol"===G(Symbol.iterator)?function(e){return G(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":G(e)})(e)}function J(e,t,n){__safeway__.bridge.invoke(e,t,n)}n.r(z),n.d(z,"_operateWXData",function(){return Pe}),n.d(z,"_requestSkipCheckDomain",function(){return Dl}),n.d(z,"_uploadFileSkipCheckDomain",function(){return Ll}),n.d(z,"_downloadFileSkipCheckDomain",function(){return as}),n.d(z,"_socketSkipCheckDomainFactory",function(){return Ql});var X={},Q={},$={},Z=0,ee=function(n,r){return Object.keys(r).map(function(t){return Object.keys(r[t]).map(function(e){return{func:t,result:n,errMsg:e,count:r[t][e]}})})},te=function(){var e=ee(1,X),t=ee(2,Q),n=ee(3,$),r=[].concat(e,t,n);0!==r.length&&Ke("reportRealtimeAction",{actionData:JSON.stringify({business:"mmbizwxajsapi",dataType:1,dataArray:r,appType:Reporter.getAppType()})}),X={},Q={},$={}},ne=function(e,t,n,r,o){var a;(a=t?X:n?Q:$)[e]=a[e]||{},a[e][o]=(a[e][o]||0)+1,6e4<=Date.now()-Z&&(Z=Date.now(),setTimeout(te,6e4))},re=Object.prototype.toString;function oe(e){return re.call(e).slice(8,-1)}var ae=function(e){return"String"===oe(e)},ie=function(e){return"Number"===oe(e)},se=function(e){return!0===e||!1===e||"Boolean"===oe(e)},ce=(Number.isNaN,Number.isFinite||function(e){return ie(e)&&ce(e)}),ue=function(e){return"Object"===oe(e)},le=(Array.isArray,function(e){return"function"==typeof e});function de(t,n){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"parameter",e=oe(n),o=oe(t);if(o!==e)return r+" should be "+e+" instead of "+o+";";var a="";switch(e){case"Object":Object.keys(n).forEach(function(e){a+=de(t[e],n[e],r+"."+e)});break;case"Array":if(t.length<n.length)return r+" should have at least "+n.length+" item;";for(var i=0;i<n.length;++i)a+=de(t[i],n[i],r+"["+i+"]")}return a}function fe(e,t){return function(){try{return e.apply(void 0,arguments)}catch(e){if("[object Error]"===Object.prototype.toString.apply(e)){if("AppServiceSdkKnownError"===e.type)throw e;"ThirdScriptError"===e.type?Reporter.thirdErrorReport({error:e,extend:t}):Reporter.errorReport({key:"appServiceSDKScriptError",error:e,extend:t})}}}}function pe(){}var he=fe(function(e){var t=oe(e);if("Array"===t||"Object"===t)try{e=JSON.stringify(e)}catch(e){throw e.type="AppServiceSdkKnownError",e}else e="String"===t||"Number"===t||"Boolean"===t?e.toString():"Date"===t?e.getTime().toString():"Undefined"===t?"undefined":"Null"===t?"null":"";return{data:e,dataType:t}},"anyTypeToString");var ge=fe(function(e,t){return"String"===t?e:e="Array"===t||"Object"===t?JSON.parse(e):"Number"===t?parseFloat(e):"Boolean"===t?"true"===e:"Date"===t?new Date(parseInt(e,10)):"Undefined"===t?void 0:"Null"===t?null:""},"stringToAnyType");function ve(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var _e=__wxConfig;_e.onReady(function(){Object.assign(_e,__wxConfig)});var ye=_e,me=0,be=1,we=2,Se={lastRoute:"",query:{},runningStatus:"active",navigatorLock:!1,openUrlLock:!1,possessingBackgroundAudioPlayer:!1,webviewEventCallback:null,hanged:!1,appStatus:me,navigationBarTitleMap:{}},Ce=ye.platform,Te="devtools"===ye.platform,ke="android"===ye.platform,xe="ios"===ye.platform;var Ie=function(){var n=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],r=1<arguments.length?arguments[1]:void 0,o=2<arguments.length&&void 0!==arguments[2]&&arguments[2];return function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("operateWXData",e,{apiName:""})){var t={api_name:e.apiName,data:e.reqData||{},operate_directly:n};o&&(t.plugin_appid=e.pluginId),Ke("operateWXData",Object.assign({},{data:t},e),{beforeAll:function(e){void 0!==r&&(e.errMsg=e.errMsg.replace("operateWXData",r))},beforeSuccess:function(e){ke&&(e.data=JSON.parse(e.data)),void 0!==e.data.data&&(e.rawData=e.data.data),e.data.encryptedData&&(e.encryptedData=e.data.encryptedData,e.iv=e.data.iv),e.respData=e.data,delete e.data}})}}},Ee=Ie(!0),Pe=Ie(!1),Ae=Ie(!1,void 0,!0),Oe={OK:0,BLOCK:1,BLOCK_WITH_TOAST:2},De={OK:1,BLOCK:2,NO_BLOCK:3},Me={NAVIGATE_TO:1,SWITCH_TAB:2,REDIRECT_TO:3,API:4,RE_LAUNCH:5},Re="该功能暂时无法使用",Ne=!1,Le=new Set(["shareAppMessage","shareAppMessageDirectly","requestPayment","setClipboardData","getClipboardData","getLocation","getPhoneNumber","navigateToMiniProgram","navigateBackMiniProgram"]),Be=[];function je(t){if(!t)return-1;var e=-1;try{e=Be.findIndex(function(e){return ae(e.path_rule)&&new RegExp(e.path_rule).test(t)})}catch(e){e.message}return e}function Fe(e,t,n){var r=je(t),o=function(t){if(!t)return-1;var e=-1;try{e=Be.findIndex(function(e){return ae(e.title_rule)&&new RegExp(e.title_rule).test(t)})}catch(e){e.message}return e}(n),a=-1;return-1<r&&-1<o?a=Math.min(r,o):-1<r?a=r:-1<o&&(a=o),a}function Ue(e,t,n){var r=Fe(0,t,n);if(-1===r)return We(e,De.OK,Me.API,e),!0;var o=Be[r];return function(e,t){var n,r,o=e.ban_jsapi_list.find(function(e){return e.jsapi_name===t});if(!o)return!0;if(o.state===Oe.OK)n=!1;else if(o.state===Oe.BLOCK)n=!0;else if(o.state===Oe.BLOCK_WITH_TOAST&&(n=!0,1===e.is_valid)){var a=o.toast_wording||Re;He("showToast",{title:a,icon:"none"})}return r=n?e.is_valid?De.BLOCK:De.NO_BLOCK:De.OK,We(t,r,Me.API,t),1!==e.is_valid&&!n}(o,e)}function We(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"";if(Ne){var o=ye.appLaunchInfo,a={session_id:o.sessionid||o.sessionId,cur_path:Se.lastRoute,title:Se.navigationBarTitleMap[Se.lastRoute],check_scene:n,block_status:t,extra_info:r,launch_scene:o.scene,launch_path:o.path};Pe({reqData:a,apiName:"webapi_reportnvgcheckinfo",complete:function(e){e.errMsg}})}}function Ve(e,t,n,r){e.errMsg=e.errMsg||t+":ok";var o,a,i,s,c,u,l,d,f,p,h,g,v=0===e.errMsg.indexOf(t+":ok"),_=0===e.errMsg.indexOf(t+":cancel"),y=0===e.errMsg.indexOf(t+":fail");"function"==typeof r.beforeAll&&r.beforeAll(e),v?(f=n,p=e,g=function(){"function"==typeof f.success&&f.success(p),"function"==typeof h.afterSuccess&&h.afterSuccess(p)},"function"==typeof(h=r).beforeSuccess?2===h.beforeSuccess._argumentsLength?h.beforeSuccess(p,g):(h.beforeSuccess(p),g()):g()):_?(u=t,l=n,d=r,(c=e).errMsg=c.errMsg.replace(u+":cancel",u+":fail cancel"),"function"==typeof l.fail&&l.fail(c),"function"==typeof d.beforeCancel&&d.beforeCancel(c),"function"==typeof l.cancel&&l.cancel(c),"function"==typeof d.afterCancel&&d.afterCancel(c)):y&&(a=t,i=e,s=n,"function"==typeof(o=r).beforeFail&&o.beforeFail(i),"function"==typeof s.fail&&s.fail(i),"function"==typeof o.afterFail&&o.afterFail(i),le(o.checkNeedReportFail)&&!1===o.checkNeedReportFail(i)||Reporter.reportIDKey({key:a+"_fail"})),"function"==typeof n.complete&&n.complete(e),"function"==typeof r.afterAll&&r.afterAll(e),ne(t,v,y,_,e.errMsg)}function qe(f){return function(t){var n,r,o,a,e,i,s,c,u=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},l=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},d=(n=u,r=t,Object.keys(n).reduce(function(e,t){return"function"==typeof n[t]&&(e[t]=Reporter.surroundThirdByTryCatch(n[t],"at api "+r+" "+t+" callback function"),delete n[t]),e},{}));u=Object.assign({},u),o=l,a=t,l=Object.keys(o).reduce(function(e,t){return"function"==typeof o[t]&&(e[t]=fe(o[t],"at api "+a+" "+t+" callback function"),e[t]._argumentsLength=o[t].length),e},{}),Reporter.reportIDKey({key:t}),f||0!==ye.appType||!Le.has(t)||(e=t,i=Object.keys(Se.query).reduce(function(e,t){return[].concat(ve(e),[t+"="+Se.query[t]])},[]).join("&"),s=Se.lastRoute+(i?"?"+i:""),c=Se.navigationBarTitleMap[Se.lastRoute]||"",Ue(e,s,c))?J(t,u,function(e){Ve(e,t,d,l)}):Ve({errMsg:t+":fail API has been banned"},t,d,l)}}ye.onReady(function(){try{var e=ye.appContactInfo.operationInfo.jsonInfo.navigate_ban_info,t=e.do_report,n=e.navigate_ban_rule_list;Be=n,Ne=1===t,Le=new Set(n.reduce(function(e,t){return[].concat(ve(e),ve(t.ban_jsapi_list))},Le))}catch(e){e.message}});var Ke=qe(!1),He=qe(!0);function ze(e,t){var n,r;r=fe(t,"at api "+(n=e)+" callback function"),__safeway__.bridge.on(n,r)}function Ge(e,t,n){var r,o,a,i={data:t,options:{timestamp:Date.now()}};r=e,o=i,a=n,__safeway__.bridge.publish(r,o,a)}function Ye(e,s){var t,n;t=e,n=function(e,t){var n=e.data,r=e.options,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},a=r&&r.timestamp||0,i=Date.now();"function"==typeof s&&s(n,t),Reporter.speedReport({key:"webview2AppService",data:n||{},timeMark:{startTime:a,endTime:i,nativeTime:o.nativeTime||0}})},__safeway__.bridge.subscribe(t,n)}function Je(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",r=3<arguments.length?arguments[3]:void 0,o=e+":fail "+n;console.error(o);var a=Reporter.surroundThirdByTryCatch(t.fail||pe,"at api "+e+" fail callback function"),i=Reporter.surroundThirdByTryCatch(t.complete||pe,"at api "+e+" complete callback function"),s={errMsg:o};"number"==typeof r&&(s.errCode=r),a(s),i(s)}function Xe(e,t,n){var r=de(t,n);return!r||(Je(e,t,"parameter error: "+r),!1)}function Qe(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=!(2<arguments.length&&void 0!==arguments[2])||arguments[2],r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"",o=4<arguments.length?arguments[4]:void 0,a=5<arguments.length&&void 0!==arguments[5]?arguments[5]:{},i=!(6<arguments.length&&void 0!==arguments[6])||arguments[6],s=n?e+":ok":e+":fail "+r;!n&&i&&console.error(s);var c=Reporter.surroundThirdByTryCatch((n?t.success:t.fail)||pe,"at api "+e+" "+(n?"success":"fail")+" callback function"),u=Reporter.surroundThirdByTryCatch(t.complete||pe,"at api "+e+" complete callback function");a.errMsg=s,"number"==typeof o&&(a.errCode=o),c(a),u(a)}function $e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function et(e,t){return!t||"object"!==Y(t)&&"function"!=typeof t?Ze(e):t}function tt(e){return(tt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function nt(e,t){return(nt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nt(e,t)}function ot(e,t,n){return(ot=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&nt(o,n.prototype),o}).apply(null,arguments)}function at(e){var r="function"==typeof Map?new Map:void 0;return(at=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,n)}function n(){return ot(e,arguments,tt(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),nt(n,e)})(e)}function it(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function st(e,t){return function(){try{return e.apply(e,arguments)}catch(e){if("[object Error]"===Object.prototype.toString.apply(e)){if("AppServiceSdkKnownError"===e.type)throw e;"ThirdScriptError"===e.type?Reporter.thirdErrorReport({error:e,extend:t}):Reporter.errorReport({key:"appServiceSDKScriptError",error:e,extend:t})}return}}}function ct(e,t){if((!(2<arguments.length&&void 0!==arguments[2])||arguments[2])&&(t=ht(t)),0===t.indexOf("/"))return t.substr(1);if(0===t.indexOf("./"))return ct(e,t.substr(2),!1);var n,r,o=t.split("/");for(n=0,r=o.length;n<r&&".."===o[n];n++);o.splice(0,n);var a=0<e.length?e.split("/"):[];return a.splice(a.length-n-1,n+1),a.concat(o).join("/")}function ut(e,t){for(var n=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];;){var r=t.match(/^[-+a-zA-Z0-9]+:\/\//);if(!r)break;var o=r[0];if("plugin://"===o){var a=o.length,i=t.indexOf("/",a);if(0<=i){var s=t.slice(a,i),c=ye.plugins&&ye.plugins[s]?ye.plugins[s].provider:s;t=t.slice(0,a)+c+t.slice(i)}var u=t.indexOf("?");u<0&&(u=t.length);var l=t.slice(0,u),d=exparser.Component._list[l];if(!d)throw new vt('Page "'+l+'" is not found');t=d.is+t.slice(u)}else{if("plugin-private://"!==o)throw new vt('Unknown URL protocol "'+o+'"');var f=t.indexOf("?");f<0&&(f=t.length);var p=t.slice(0,f);t="/"+__appServiceEngine__.convertComponentAliasToRoute(p)+t.slice(f)}}return ct(e,t,n)}function lt(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if("object"!==Y(t))return t;var n=[];for(var r in t)if(it(t,r))if(e)try{n.push(encodeURIComponent(r)+"="+encodeURIComponent(t[r]))}catch(e){n.push(r+"="+t[r])}else n.push(r+"="+t[r]);return n.join("&")}function dt(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"http";return"http"===t?/^(http|https):\/\/.*/i.test(e):"websocket"===t?/^(ws|wss):\/\/.*/i.test(e):void 0}function ft(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t){for(var n in t)e[n]=t[n];return e},{})}function pt(e){if("string"!=typeof e)return e;var t=e.split("?"),n=t[0],r=(t[1]||"").split("&").reduce(function(e,t){if("string"==typeof t&&0<t.length){var n=t.split("="),r=n[0],o=n[1];e[r]=o}return e},{}),o=[];for(var a in r)it(r,a)&&o.push(a+"="+encodeURIComponent(r[a]));return 0<o.length?n+"?"+o.join("&"):e}function ht(e){if("string"!=typeof e)return e;var t=e.split("?")[0],n=e.split("?")[1];return t+=".html",void 0!==n?t+"?"+n:t}function gt(e){return"string"==typeof e?-1!==e.indexOf("?")?e.replace(/\.html\?/,"?"):e.replace(/\.html$/,""):e}var vt=function(e){function n(e){var t;return $e(this,n),(t=et(this,tt(n).call(this,"APP-SERVICE-SDK:"+e))).type="AppServiceSdkKnownError",t}return rt(n,at(Error)),n}(),_t=function(e){function n(e){var t;return $e(this,n),(t=et(this,tt(n).call(this,""+e))).type="ThirdScriptError",t}return rt(n,at(Error)),n}();function yt(e,t){for(var n in t)e[n]=t[n];return e}var mt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bt=bt||function(e){for(var t,n,r=String(e),o="",a=0,i=mt;r.charAt(0|a)||(i="=",a%1);o+=i.charAt(63&t>>8-a%1*8)){if(255<(n=r.charCodeAt(a+=.75)))throw new Error('"btoa" failed');t=t<<8|n}return o},wt=wt||function(e){var t=String(e).replace(/=+$/,""),n="";if(t.length%4==1)throw new Error('"atob" failed');for(var r,o,a=0,i=0;o=t.charAt(i++);~o&&(r=a%4?64*r+o:o,a++%4)?n+=String.fromCharCode(255&r>>(-2*a&6)):0)o=mt.indexOf(o);return n};function St(e){for(var t="",n=new Uint8Array(e),r=n.byteLength,o=0;o<r;o++)t+=String.fromCharCode(n[o]);return bt(t)}function Ct(e){for(var t=wt(e),n=t.length,r=new Uint8Array(n),o=0;o<n;o++)r[o]=t.charCodeAt(o);return r.buffer}function Tt(n){return Object.keys(n).reduce(function(e,t){return"string"==typeof n[t]?e[t]=n[t]:"number"==typeof n[t]?e[t]=n[t]+"":e[t]=Object.prototype.toString.apply(n[t]),e},{})}function kt(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}ye.clientVersion;function xt(e,t,n){!1!==ue(e)&&t!==n&&it(e,t)&&(e[n]=e[t],delete e[t])}var It=function(e){var t,n=e.name,r=e.scene,o=e.strategy,a=e.timeDiffToLastTap,i=void 0===a?0:a;void 0!==__appServiceEngine__&&(t=__appServiceEngine__.getCurrentPagesByDomain("").find(function(e){return e.__wxWebviewId__===Se.currentWebviewId})||{});var s=[n,r,Reporter.getAppType(),t?t.route:"",o||0,i].map(encodeURIComponent).join(",");Reporter.reportKeyValue({key:"RecycledAPI",value:s,force:!0})},Et={sample:{invokeWebviewMethod:null,drawCanvas:null,createContext:null,createCanvasContext:null,canvasToTempFilePath:null,canvasGetImageData:null,canvasPutImageData:null,getShareInfo:null,pageScrollTo:null,chooseInvoiceTitle:null,ShareInfoStorage:null,arrayBufferToBase64:null,base64ToArrayBuffer:null,openSetting:null,getExtConfig:null,chooseMedia:null,chooseWeChatContact:null,uploadEncryptedFileToCDN:null,onUploadEncryptedFileToCDNProgress:null,getExtConfigSync:null,showShareMenu:null,hideShareMenu:null,updateShareMenu:null,openUrl:null,setNavigationBarColor:null,setNavigationBarAlpha:null,_getRealRoute:null,vibrateShort:null,vibrateLong:null,getSetting:null,checkIsSupportFacialRecognition:null,startFacialRecognitionVerify:null,startFacialRecognitionVerifyAndUploadVideo:null,sendBizRedPacket:null,sendGoldenRedPacket:null,openGoldenRedPacketDetail:null,addPhoneContact:null,setScreenBrightness:null,getScreenBrightness:null,getWeRunData:null,uploadWeRunData:null,canIUse:null,setPageStyle:null,triggerGettingWidgetData:null,navigateToMiniProgram:null,navigateToDevMiniProgram:null,navigateBackMiniProgram:null,exitMiniProgram:null,setNavigationBarRightButton:null,onTapNavigationBarRightButton:null,setTopBarText:null,setTabBarBadge:null,removeTabBarBadge:null,showTabBarRedDot:null,hideTabBarRedDot:null,showTabBar:null,hideTabBar:null,setTabBarStyle:null,setTabBarItem:null,setEnableDebug:null,captureScreen:null,onUserCaptureScreen:null,setKeepScreenOn:null,checkIsSupportSoterAuthentication:null,startSoterAuthentication:null,checkIsSoterEnrolledInDevice:null,openDeliveryList:null,reportIDKey:null,reportKeyValue:null,setNavigationBarTitle:null,showNavigationBarLoading:null,hideNavigationBarLoading:null,startPullDownRefresh:null,stopPullDownRefresh:null,operateWXData:null,getOpenDeviceId:null,openBluetoothAdapter:null,closeBluetoothAdapter:null,getBluetoothAdapterState:null,onBluetoothAdapterStateChange:null,startBluetoothDevicesDiscovery:null,stopBluetoothDevicesDiscovery:null,getBluetoothDevices:null,getConnectedBluetoothDevices:null,createBLEConnection:null,closeBLEConnection:null,getBLEDeviceServices:null,getBLEDeviceCharacteristics:null,notifyBLECharacteristicValueChanged:null,notifyBLECharacteristicValueChange:null,readBLECharacteristicValue:null,writeBLECharacteristicValue:null,onBluetoothDeviceFound:null,onBLEConnectionStateChanged:null,onBLEConnectionStateChange:null,onBLECharacteristicValueChange:null,startBeaconDiscovery:null,stopBeaconDiscovery:null,getBeacons:null,onBeaconUpdate:null,onBeaconServiceChange:null,startWifi:null,stopWifi:null,getWifiList:null,getConnectedWifi:null,connectWifi:null,presetWifiList:null,setWifiList:null,onGetWifiList:null,onWifiConnected:null,onEvaluateWifi:null,getHCEState:null,startHCE:null,stopHCE:null,sendHCEMessage:null,onHCEMessage:null,startLocalServiceDiscovery:null,stopLocalServiceDiscovery:null,onLocalServiceFound:null,offLocalServiceFound:null,onLocalServiceLost:null,offLocalServiceLost:null,onLocalServiceDiscoveryStop:null,offLocalServiceDiscoveryStop:null,onLocalServiceResolveFail:null,offLocalServiceResolveFail:null,redirectTo:null,reLaunch:null,navigateTo:null,switchTab:null,navigateBack:null,_triggerBeforeUnloadPage:null,_triggerBeforeShareAppMessage:null,navigateBackApplication:null,launchApplication:null,getStorage:null,getStorageSync:null,setStorage:null,setStorageSync:null,removeStorage:null,removeStorageSync:null,clearStorage:null,clearStorageSync:null,getStorageInfo:null,getStorageInfoSync:null,getBackgroundFetchData:null,onBackgroundFetchData:null,request:null,connectSocket:null,closeSocket:null,sendSocketMessage:null,onSocketOpen:null,onSocketClose:null,onSocketMessage:null,onSocketError:null,uploadFile:null,downloadFile:null,addNativeDownloadTask:null,chooseImage:null,previewImage:null,getImageInfo:null,saveImageToPhotosAlbum:null,startRecord:null,stopRecord:null,playVoice:null,pauseVoice:null,stopVoice:null,onVoicePlayEnd:null,chooseVideo:null,saveVideoToPhotosAlbum:null,getLocation:null,openLocation:null,chooseLocation:null,startLocationUpdate:null,stopLocationUpdate:null,onLocationChange:null,getNetworkType:null,onNetworkStatusChange:null,getSystemInfo:null,getSystemInfoSync:null,getBatteryInfo:null,getBatteryInfoSync:null,startAccelerometer:null,stopAccelerometer:null,onAccelerometerChange:null,startCompass:null,stopCompass:null,onCompassChange:null,reportAction:null,getBackgroundAudioManager:null,getRecorderManager:null,getBackgroundAudioPlayerState:null,playBackgroundAudio:null,pauseBackgroundAudio:null,seekBackgroundAudio:null,stopBackgroundAudio:null,onBackgroundAudioPlay:null,onBackgroundAudioPause:null,onBackgroundAudioStop:null,joinVoIPChat:null,exitVoIPChat:null,updateVoIPChatMuteConfig:null,onVoIPChatMembersChanged:null,onVoIPChatSpeakersChanged:null,onVoIPChatInterrupted:null,login:null,checkSession:null,authorize:null,getUserInfo:null,requestPayment:null,verifyPaymentPassword:null,bindPaymentCard:null,requestPaymentToBank:null,requestVirtualPayment:null,openOfflinePayView:null,openWCPayCardList:null,requestMallPayment:null,addCard:null,openCard:null,scanCode:null,openQRCode:null,chooseAddress:null,saveFile:null,openDocument:null,getSavedFileList:null,getSavedFileInfo:null,getFileInfo:null,removeSavedFile:null,getFileSystemManager:null,chooseContact:null,removeUserCloudStorage:null,setUserCloudStorage:null,makePhoneCall:null,makeVoIPCall:null,onAppRoute:null,onAppRouteDone:null,onAppEnterBackground:null,onAppEnterForeground:null,onAppUnhang:null,onPageReload:null,onPageNotFound:null,offPageNotFound:null,onAppShow:null,offAppShow:null,onAppHide:null,offAppHide:null,onError:null,offError:null,getLaunchOptionsSync:null,createAnimation:null,createInnerAudioContext:null,createAudioContext:null,createVideoContext:null,createMapContext:null,createCameraContext:null,createLivePlayerContext:null,createLivePusherContext:null,onWebviewEvent:null,onNativeEvent:null,hideKeyboard:null,getPublicLibVersion:null,showModal:null,showToast:null,hideToast:null,showLoading:null,hideLoading:null,showActionSheet:null,reportAnalytics:null,getClipboardData:null,setClipboardData:null,createSelectorQuery:null,createIntersectionObserver:null,updatePerfData:null,traceEvent:null,onMemoryWarning:null,getUpdateManager:null,createWorker:null,voiceSplitJoint:null,uploadSilkVoice:null,downloadSilkVoice:null,getResPath:null,setResPath:null,env:null,appStatus:null,hanged:null,getLogManager:null,onWindowResize:null,offWindowResize:null,loadFontFace:null,setInnerAudioOption:null,addWeRunData:null,setBackgroundColor:null,setBackgroundTextStyle:null,getMenuButtonBoundingClientRect:null,calRqt:null,getAvailableAudioSources:null,reportMonitor:null,faceVerifyForPay:null,chooseInvoice:null,startDeviceMotionListening:null,stopDeviceMotionListening:null,onDeviceMotionChange:null,startGyroscope:null,stopGyroscope:null,onGyroscopeChange:null,secureTunnel:null,startCustomFacialRecognitionVerify:null,startCustomFacialRecognitionVerifyAndUploadVideo:null,getAccountInfoSync:null,setCookies:null,getCookies:null,nextTick:null,chooseMultiMedia:null,chooseMessageFile:null,getLabInfo:null,setLabInfo:null,compressImage:null,shareAppMessageForFakeNative:null},ui:{invokeWebviewMethod:0,drawCanvas:20,createContext:20,createCanvasContext:20,canvasToTempFilePath:20,canvasGetImageData:20,canvasPutImageData:20,getShareInfo:30,pageScrollTo:30,chooseInvoiceTitle:10,ShareInfoStorage:10,arrayBufferToBase64:10,base64ToArrayBuffer:10,openSetting:30,getExtConfig:0,chooseMedia:20,chooseWeChatContact:20,uploadEncryptedFileToCDN:10,onUploadEncryptedFileToCDNProgress:10,getExtConfigSync:0,showShareMenu:30,hideShareMenu:30,updateShareMenu:30,openUrl:20,setNavigationBarColor:30,setNavigationBarAlpha:30,_getRealRoute:20,vibrateShort:10,vibrateLong:10,getSetting:10,checkIsSupportFacialRecognition:10,startFacialRecognitionVerify:20,startFacialRecognitionVerifyAndUploadVideo:20,sendBizRedPacket:10,sendGoldenRedPacket:10,openGoldenRedPacketDetail:10,addPhoneContact:10,setScreenBrightness:20,getScreenBrightness:20,getWeRunData:10,uploadWeRunData:10,addWeRunData:10,canIUse:0,setPageStyle:30,triggerGettingWidgetData:10,navigateToMiniProgram:30,navigateToDevMiniProgram:30,navigateBackMiniProgram:30,exitMiniProgram:30,setNavigationBarRightButton:30,onTapNavigationBarRightButton:30,setTopBarText:30,setTabBarBadge:30,removeTabBarBadge:30,showTabBarRedDot:30,hideTabBarRedDot:30,showTabBar:30,hideTabBar:30,setTabBarStyle:30,setTabBarItem:30,setEnableDebug:30,captureScreen:30,onUserCaptureScreen:30,setKeepScreenOn:10,checkIsSupportSoterAuthentication:10,startSoterAuthentication:10,checkIsSoterEnrolledInDevice:10,openDeliveryList:20,reportIDKey:0,reportKeyValue:0,setNavigationBarTitle:30,showNavigationBarLoading:30,hideNavigationBarLoading:30,startPullDownRefresh:30,stopPullDownRefresh:30,operateWXData:10,getOpenDeviceId:10,openBluetoothAdapter:10,closeBluetoothAdapter:10,getBluetoothAdapterState:10,onBluetoothAdapterStateChange:10,startBluetoothDevicesDiscovery:10,stopBluetoothDevicesDiscovery:10,getBluetoothDevices:10,getConnectedBluetoothDevices:10,createBLEConnection:10,closeBLEConnection:10,getBLEDeviceServices:10,getBLEDeviceCharacteristics:10,notifyBLECharacteristicValueChanged:10,notifyBLECharacteristicValueChange:10,readBLECharacteristicValue:10,writeBLECharacteristicValue:10,onBluetoothDeviceFound:10,onBLEConnectionStateChanged:10,onBLEConnectionStateChange:10,onBLECharacteristicValueChange:10,startBeaconDiscovery:10,stopBeaconDiscovery:10,getBeacons:10,onBeaconUpdate:10,onBeaconServiceChange:10,startWifi:10,stopWifi:10,getWifiList:10,getConnectedWifi:10,connectWifi:10,presetWifiList:10,setWifiList:10,onGetWifiList:10,onWifiConnected:10,onEvaluateWifi:10,getHCEState:10,startHCE:10,stopHCE:10,sendHCEMessage:10,onHCEMessage:10,startLocalServiceDiscovery:10,stopLocalServiceDiscovery:10,onLocalServiceFound:10,offLocalServiceFound:10,onLocalServiceLost:10,offLocalServiceLost:10,onLocalServiceDiscoveryStop:10,offLocalServiceDiscoveryStop:10,onLocalServiceResolveFail:10,offLocalServiceResolveFail:10,redirectTo:30,reLaunch:30,navigateTo:30,switchTab:30,navigateBack:30,_triggerBeforeUnloadPage:30,_triggerBeforeShareAppMessage:30,navigateBackApplication:30,launchApplication:30,getStorage:10,getStorageSync:10,setStorage:10,setStorageSync:10,removeStorage:10,removeStorageSync:10,clearStorage:10,clearStorageSync:10,getStorageInfo:10,getStorageInfoSync:10,getBackgroundFetchData:10,onBackgroundFetchData:10,request:10,connectSocket:10,closeSocket:10,sendSocketMessage:10,onSocketOpen:10,onSocketClose:10,onSocketMessage:10,onSocketError:10,uploadFile:10,downloadFile:10,addNativeDownloadTask:10,chooseImage:20,previewImage:20,getImageInfo:10,saveImageToPhotosAlbum:10,startRecord:20,stopRecord:20,playVoice:20,pauseVoice:20,stopVoice:20,onVoicePlayEnd:20,chooseVideo:20,saveVideoToPhotosAlbum:10,getLocation:20,openLocation:20,chooseLocation:20,startLocationUpdate:20,stopLocationUpdate:20,onLocationChange:20,getNetworkType:0,onAppRoute:30,onAppRouteDone:30,onAppEnterBackground:30,onAppEnterForeground:30,onAppUnhang:30,onPageReload:30,onPageNotFound:30,offPageNotFound:30,onAppShow:30,offAppShow:30,onAppHide:30,offAppHide:30,onError:30,offError:30,getLaunchOptionsSync:30,createAnimation:0,createInnerAudioContext:20,createAudioContext:20,createVideoContext:20,createMapContext:20,createCameraContext:20,createLivePlayerContext:20,createLivePusherContext:20,onWebviewEvent:20,onNativeEvent:20,hideKeyboard:20,getPublicLibVersion:0,showModal:20,showToast:20,hideToast:20,showLoading:20,hideLoading:20,showActionSheet:20,reportAnalytics:10,getClipboardData:20,setClipboardData:20,createSelectorQuery:0,createIntersectionObserver:0,updatePerfData:10,traceEvent:10,onMemoryWarning:10,getUpdateManager:10,createWorker:10,voiceSplitJoint:10,uploadSilkVoice:10,downloadSilkVoice:10,getResPath:0,setResPath:0,env:0,appStatus:0,hanged:0,getLogManager:0,onWindowResize:20,offWindowResize:20,loadFontFace:20,setInnerAudioOption:0,setBackgroundColor:30,setBackgroundTextStyle:30,getMenuButtonBoundingClientRect:20,calRqt:10,onNetworkStatusChange:10,getSystemInfo:10,getSystemInfoSync:10,getBatteryInfo:10,getBatteryInfoSync:10,startAccelerometer:10,stopAccelerometer:10,onAccelerometerChange:10,startCompass:10,stopCompass:10,onCompassChange:10,reportAction:10,getBackgroundAudioManager:10,getRecorderManager:10,getBackgroundAudioPlayerState:10,playBackgroundAudio:10,pauseBackgroundAudio:10,seekBackgroundAudio:10,stopBackgroundAudio:10,onBackgroundAudioPlay:10,onBackgroundAudioPause:10,onBackgroundAudioStop:10,joinVoIPChat:10,exitVoIPChat:10,updateVoIPChatMuteConfig:10,onVoIPChatMembersChanged:10,onVoIPChatSpeakersChanged:10,onVoIPChatInterrupted:10,login:10,checkSession:10,authorize:20,getUserInfo:20,requestPayment:20,verifyPaymentPassword:20,bindPaymentCard:20,requestPaymentToBank:20,requestVirtualPayment:20,openOfflinePayView:20,openWCPayCardList:20,requestMallPayment:20,addCard:20,openCard:20,scanCode:20,openQRCode:20,chooseAddress:20,saveFile:10,openDocument:20,getSavedFileList:10,getSavedFileInfo:10,getFileInfo:10,removeSavedFile:10,getFileSystemManager:10,chooseContact:20,removeUserCloudStorage:10,setUserCloudStorage:10,makePhoneCall:20,makeVoIPCall:20,getAvailableAudioSources:10,reportMonitor:10,faceVerifyForPay:30,chooseInvoice:20,startDeviceMotionListening:10,stopDeviceMotionListening:10,onDeviceMotionChange:10,startGyroscope:10,stopGyroscope:10,onGyroscopeChange:10,secureTunnel:10,startCustomFacialRecognitionVerify:10,startCustomFacialRecognitionVerifyAndUploadVideo:10,getAccountInfoSync:0,setCookies:10,getCookies:10,nextTick:0,chooseMultiMedia:20,chooseMessageFile:20,getLabInfo:10,setLabInfo:10,compressImage:0,enterContact:20,shareAppMessageForFakeNative:20},log:{invokeWebviewMethod:0,drawCanvas:0,createContext:0,createCanvasContext:2,canvasToTempFilePath:2,canvasGetImageData:2,canvasPutImageData:2,getShareInfo:1,pageScrollTo:1,chooseInvoiceTitle:1,ShareInfoStorage:0,arrayBufferToBase64:0,base64ToArrayBuffer:0,openSetting:1,getExtConfig:1,chooseMedia:0,chooseWeChatContact:0,uploadEncryptedFileToCDN:0,onUploadEncryptedFileToCDNProgress:0,getExtConfigSync:2,showShareMenu:1,hideShareMenu:1,updateShareMenu:1,openUrl:0,setNavigationBarColor:1,setNavigationBarAlpha:0,_getRealRoute:0,vibrateShort:1,vibrateLong:1,getSetting:1,checkIsSupportFacialRecognition:0,startFacialRecognitionVerify:0,startFacialRecognitionVerifyAndUploadVideo:0,sendBizRedPacket:0,sendGoldenRedPacket:0,openGoldenRedPacketDetail:0,addPhoneContact:1,setScreenBrightness:1,getScreenBrightness:1,getWeRunData:1,canIUse:1,setPageStyle:0,triggerGettingWidgetData:0,navigateToMiniProgram:1,navigateToDevMiniProgram:0,navigateBackMiniProgram:1,exitMiniProgram:1,setNavigationBarRightButton:0,onTapNavigationBarRightButton:0,setTopBarText:1,setTabBarBadge:1,removeTabBarBadge:1,showTabBarRedDot:1,hideTabBarRedDot:1,showTabBar:1,hideTabBar:1,setTabBarStyle:1,setTabBarItem:1,setEnableDebug:1,captureScreen:0,onUserCaptureScreen:3,setKeepScreenOn:1,checkIsSupportSoterAuthentication:1,startSoterAuthentication:1,checkIsSoterEnrolledInDevice:1,openDeliveryList:0,reportIDKey:0,reportKeyValue:0,setNavigationBarTitle:1,showNavigationBarLoading:1,hideNavigationBarLoading:1,startPullDownRefresh:1,stopPullDownRefresh:1,operateWXData:0,getOpenDeviceId:0,openBluetoothAdapter:1,closeBluetoothAdapter:1,getBluetoothAdapterState:1,onBluetoothAdapterStateChange:3,startBluetoothDevicesDiscovery:1,stopBluetoothDevicesDiscovery:1,getBluetoothDevices:1,getConnectedBluetoothDevices:1,createBLEConnection:1,closeBLEConnection:1,getBLEDeviceServices:1,getBLEDeviceCharacteristics:1,notifyBLECharacteristicValueChanged:1,notifyBLECharacteristicValueChange:1,readBLECharacteristicValue:1,writeBLECharacteristicValue:1,onBluetoothDeviceFound:3,onBLEConnectionStateChanged:3,onBLEConnectionStateChange:3,onBLECharacteristicValueChange:3,startBeaconDiscovery:1,stopBeaconDiscovery:1,getBeacons:1,onBeaconUpdate:1,onBeaconServiceChange:1,startWifi:1,stopWifi:1,getWifiList:1,getConnectedWifi:1,connectWifi:1,presetWifiList:1,setWifiList:1,onGetWifiList:3,onWifiConnected:3,onEvaluateWifi:3,getHCEState:1,startHCE:1,stopHCE:1,sendHCEMessage:1,onHCEMessage:3,startLocalServiceDiscovery:1,stopLocalServiceDiscovery:1,onLocalServiceFound:3,offLocalServiceFound:0,onLocalServiceLost:3,offLocalServiceLost:0,onLocalServiceDiscoveryStop:3,offLocalServiceDiscoveryStop:0,onLocalServiceResolveFail:3,offLocalServiceResolveFail:0,redirectTo:1,reLaunch:1,navigateTo:1,switchTab:1,navigateBack:1,_triggerBeforeUnloadPage:0,_triggerBeforeShareAppMessage:0,navigateBackApplication:0,launchApplication:0,getStorage:1,getStorageSync:2,setStorage:1,setStorageSync:2,removeStorage:1,removeStorageSync:2,clearStorage:1,clearStorageSync:2,getStorageInfo:1,getStorageInfoSync:2,getBackgroundFetchData:1,onBackgroundFetchData:3,request:1,connectSocket:1,closeSocket:1,sendSocketMessage:1,onSocketOpen:3,onSocketClose:3,onSocketMessage:3,onSocketError:3,uploadFile:1,downloadFile:1,addNativeDownloadTask:0,chooseImage:1,previewImage:1,getImageInfo:1,saveImageToPhotosAlbum:1,startRecord:1,stopRecord:1,playVoice:1,pauseVoice:1,stopVoice:1,onVoicePlayEnd:1,chooseVideo:1,saveVideoToPhotosAlbum:1,getLocation:1,openLocation:1,chooseLocation:1,startLocationUpdate:0,stopLocationUpdate:0,onLocationChange:0,getNetworkType:1,onNetworkStatusChange:3,getSystemInfo:1,getSystemInfoSync:2,getBatteryInfo:1,getBatteryInfoSync:2,startAccelerometer:1,stopAccelerometer:1,onAccelerometerChange:3,startCompass:1,stopCompass:1,onCompassChange:3,reportAction:0,getBackgroundAudioManager:2,getRecorderManager:2,getBackgroundAudioPlayerState:1,playBackgroundAudio:1,pauseBackgroundAudio:1,seekBackgroundAudio:1,stopBackgroundAudio:1,onBackgroundAudioPlay:3,onBackgroundAudioPause:3,onBackgroundAudioStop:3,joinVoIPChat:1,exitVoIPChat:1,updateVoIPChatMuteConfig:1,onVoIPChatMembersChanged:3,onVoIPChatSpeakersChanged:3,onVoIPChatInterrupted:3,login:1,checkSession:1,authorize:1,getUserInfo:1,requestPayment:1,verifyPaymentPassword:0,bindPaymentCard:0,requestPaymentToBank:0,requestVirtualPayment:0,openOfflinePayView:0,openWCPayCardList:0,requestMallPayment:0,addCard:1,openCard:1,scanCode:1,openQRCode:1,chooseAddress:1,saveFile:1,openDocument:1,getSavedFileList:1,getSavedFileInfo:1,getFileInfo:1,removeSavedFile:1,getFileSystemManager:0,chooseContact:0,removeUserCloudStorage:0,setUserCloudStorage:0,makePhoneCall:1,makeVoIPCall:0,onAppRoute:0,onAppRouteDone:0,onAppEnterBackground:0,onAppEnterForeground:0,onAppUnhang:0,onPageReload:0,onPageNotFound:0,createAnimation:2,createInnerAudioContext:2,createAudioContext:0,createVideoContext:2,createMapContext:2,createCameraContext:2,createLivePlayerContext:2,createLivePusherContext:2,onWebviewEvent:0,onNativeEvent:0,hideKeyboard:0,getPublicLibVersion:0,showModal:1,showToast:1,hideToast:1,showLoading:1,hideLoading:1,showActionSheet:1,reportAnalytics:0,getClipboardData:1,setClipboardData:1,createSelectorQuery:1,createIntersectionObserver:1,updatePerfData:0,traceEvent:0,onMemoryWarning:0,getUpdateManager:2,createWorker:2,voiceSplitJoint:0,uploadSilkVoice:0,downloadSilkVoice:0,getResPath:0,setResPath:0,env:0,appStatus:0,hanged:0,getLogManager:0,onWindowResize:3,offWindowResize:3,loadFontFace:1,uploadWeRunData:0,addWeRunData:0,setBackgroundColor:1,setBackgroundTextStyle:1,getMenuButtonBoundingClientRect:1,onAppShow:3,offAppShow:0,onAppHide:3,offAppHide:0,onError:3,offError:0,getLaunchOptionsSync:2,calRqt:0,offPageNotFound:0,getAvailableAudioSources:1,reportMonitor:1,faceVerifyForPay:1,chooseInvoice:1,startDeviceMotionListening:1,stopDeviceMotionListening:1,onDeviceMotionChange:3,startGyroscope:1,stopGyroscope:1,onGyroscopeChange:3,setInnerAudioOption:1,secureTunnel:1,startCustomFacialRecognitionVerify:1,startCustomFacialRecognitionVerifyAndUploadVideo:1,getAccountInfoSync:0,setCookies:1,getCookies:1,nextTick:0,chooseMultiMedia:1,chooseMessageFile:1,getLabInfo:1,setLabInfo:1,compressImage:1,enterContact:1,shareAppMessageForFakeNative:0},tap:{invokeWebviewMethod:0,drawCanvas:0,createContext:0,createCanvasContext:0,canvasToTempFilePath:0,canvasGetImageData:0,canvasPutImageData:0,getShareInfo:0,pageScrollTo:0,chooseInvoiceTitle:0,ShareInfoStorage:0,arrayBufferToBase64:0,base64ToArrayBuffer:0,openSetting:10,getExtConfig:0,chooseMedia:0,chooseWeChatContact:0,uploadEncryptedFileToCDN:0,onUploadEncryptedFileToCDNProgress:0,getExtConfigSync:0,showShareMenu:0,hideShareMenu:0,updateShareMenu:0,openUrl:0,setNavigationBarColor:0,setNavigationBarAlpha:0,_getRealRoute:0,vibrateShort:0,vibrateLong:0,getSetting:20,checkIsSupportFacialRecognition:0,startFacialRecognitionVerify:0,startFacialRecognitionVerifyAndUploadVideo:0,sendBizRedPacket:0,sendGoldenRedPacket:0,openGoldenRedPacketDetail:0,addPhoneContact:0,setScreenBrightness:0,getScreenBrightness:0,getWeRunData:0,uploadWeRunData:0,canIUse:0,setPageStyle:0,triggerGettingWidgetData:0,navigateToMiniProgram:0,navigateToDevMiniProgram:0,navigateBackMiniProgram:0,exitMiniProgram:0,setNavigationBarRightButton:0,onTapNavigationBarRightButton:0,setTopBarText:0,setTabBarBadge:0,removeTabBarBadge:0,showTabBarRedDot:0,hideTabBarRedDot:0,showTabBar:0,hideTabBar:0,setTabBarStyle:0,setTabBarItem:0,setEnableDebug:0,captureScreen:0,onUserCaptureScreen:0,setKeepScreenOn:0,checkIsSupportSoterAuthentication:0,startSoterAuthentication:0,checkIsSoterEnrolledInDevice:0,openDeliveryList:0,reportIDKey:0,reportKeyValue:0,setNavigationBarTitle:0,showNavigationBarLoading:0,hideNavigationBarLoading:0,startPullDownRefresh:0,stopPullDownRefresh:0,operateWXData:0,getOpenDeviceId:0,openBluetoothAdapter:0,closeBluetoothAdapter:0,getBluetoothAdapterState:0,onBluetoothAdapterStateChange:0,startBluetoothDevicesDiscovery:0,stopBluetoothDevicesDiscovery:0,getBluetoothDevices:0,getConnectedBluetoothDevices:0,createBLEConnection:0,closeBLEConnection:0,getBLEDeviceServices:0,getBLEDeviceCharacteristics:0,notifyBLECharacteristicValueChanged:0,notifyBLECharacteristicValueChange:0,readBLECharacteristicValue:0,writeBLECharacteristicValue:0,onBluetoothDeviceFound:0,onBLEConnectionStateChanged:0,onBLEConnectionStateChange:0,onBLECharacteristicValueChange:0,onLocalServiceFound:0,offLocalServiceFound:0,onLocalServiceLost:0,offLocalServiceLost:0,onLocalServiceDiscoveryStop:0,offLocalServiceDiscoveryStop:0,onLocalServiceResolveFail:0,offLocalServiceResolveFail:0,startBeaconDiscovery:0,stopBeaconDiscovery:0,getBeacons:0,onBeaconUpdate:0,onBeaconServiceChange:0,startWifi:0,stopWifi:0,getWifiList:0,getConnectedWifi:0,connectWifi:0,presetWifiList:0,setWifiList:0,onGetWifiList:0,onWifiConnected:0,onEvaluateWifi:0,getHCEState:0,startHCE:0,stopHCE:0,sendHCEMessage:0,onHCEMessage:0,redirectTo:0,reLaunch:0,navigateTo:0,switchTab:0,navigateBack:0,_triggerBeforeUnloadPage:0,_triggerBeforeShareAppMessage:0,navigateBackApplication:0,launchApplication:0,getStorage:0,getStorageSync:0,setStorage:0,setStorageSync:0,removeStorage:0,removeStorageSync:0,clearStorage:0,clearStorageSync:0,getStorageInfo:0,getStorageInfoSync:0,request:20,connectSocket:0,closeSocket:0,sendSocketMessage:0,onSocketOpen:0,onSocketClose:0,onSocketMessage:0,onSocketError:0,uploadFile:0,downloadFile:0,addNativeDownloadTask:0,chooseImage:0,previewImage:0,getImageInfo:0,saveImageToPhotosAlbum:0,startRecord:0,stopRecord:0,playVoice:0,pauseVoice:0,stopVoice:0,onVoicePlayEnd:0,chooseVideo:0,saveVideoToPhotosAlbum:0,getLocation:0,openLocation:0,chooseLocation:0,startLocationUpdate:0,stopLocationUpdate:0,onLocationChange:0,getNetworkType:0,onNetworkStatusChange:0,getSystemInfo:0,getSystemInfoSync:0,getBatteryInfo:0,getBatteryInfoSync:0,startAccelerometer:0,stopAccelerometer:0,onAccelerometerChange:0,startCompass:0,stopCompass:0,onCompassChange:0,reportAction:0,getBackgroundAudioManager:0,getRecorderManager:0,getBackgroundAudioPlayerState:0,playBackgroundAudio:0,pauseBackgroundAudio:0,seekBackgroundAudio:0,stopBackgroundAudio:0,onBackgroundAudioPlay:0,onBackgroundAudioPause:0,onBackgroundAudioStop:0,login:0,checkSession:0,authorize:0,getUserInfo:0,requestPayment:30,verifyPaymentPassword:0,bindPaymentCard:0,requestPaymentToBank:0,requestVirtualPayment:0,openOfflinePayView:0,openWCPayCardList:0,requestMallPayment:0,addCard:0,openCard:0,scanCode:0,openQRCode:0,chooseAddress:0,saveFile:0,openDocument:0,getSavedFileList:0,getSavedFileInfo:0,getFileInfo:0,removeSavedFile:0,getFileSystemManager:0,chooseContact:0,removeUserCloudStorage:0,setUserCloudStorage:0,makePhoneCall:0,makeVoIPCall:0,onAppRoute:0,onAppRouteDone:0,onAppEnterBackground:0,onAppEnterForeground:0,onAppUnhang:0,onPageReload:0,onPageNotFound:0,offPageNotFound:0,onAppShow:0,offAppShow:0,onAppHide:0,offAppHide:0,onError:0,offError:0,getLaunchOptionsSync:0,createAnimation:0,createInnerAudioContext:0,createAudioContext:0,createVideoContext:0,createMapContext:0,createCameraContext:0,createLivePlayerContext:0,createLivePusherContext:0,onWebviewEvent:0,onNativeEvent:0,hideKeyboard:0,getPublicLibVersion:0,showModal:30,showToast:0,hideToast:0,showLoading:0,hideLoading:0,showActionSheet:30,reportAnalytics:0,getClipboardData:0,setClipboardData:0,createSelectorQuery:0,createIntersectionObserver:0,updatePerfData:0,traceEvent:0,onMemoryWarning:0,getUpdateManager:0,createWorker:0,voiceSplitJoint:0,uploadSilkVoice:0,downloadSilkVoice:0,getResPath:0,setResPath:0,env:0,appStatus:0,hanged:0,getLogManager:0,onWindowResize:0,offWindowResize:0,loadFontFace:0,setInnerAudioOption:0,addWeRunData:0,setBackgroundColor:0,setBackgroundTextStyle:0,getMenuButtonBoundingClientRect:0,calRqt:0,getAvailableAudioSources:0,reportMonitor:0,faceVerifyForPay:0,chooseInvoice:0,startDeviceMotionListening:0,stopDeviceMotionListening:0,onDeviceMotionChange:0,startGyroscope:0,stopGyroscope:0,onGyroscopeChange:0,secureTunnel:0,startCustomFacialRecognitionVerify:0,startCustomFacialRecognitionVerifyAndUploadVideo:0,getAccountInfo:0,nextTick:0,setCookies:0,getCookies:0,getAccountInfoSync:0,chooseMultiMedia:0,joinVoIPChat:0,exitVoIPChat:0,updateVoIPChatMuteConfig:0,onVoIPChatMembersChanged:0,onVoIPChatSpeakersChanged:0,onVoIPChatInterrupted:0,getBackgroundFetchData:0,onBackgroundFetchData:0,chooseMessageFile:0,getLabInfo:0,setLabInfo:0,compressImage:0,startLocalServiceDiscovery:0,stopLocalServiceDiscovery:0,enterContact:0,shareAppMessageForFakeNative:0}},Pt=function(e,t){return Et[t][e]};function At(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ot(e,t,n){return t&&At(e.prototype,t),n&&At(e,n),e}var Dt=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},Mt=20;function Rt(){this._events={},this._conf&&Nt.call(this,this._conf)}function Nt(e){e?((this._conf=e).delimiter&&(this.delimiter=e.delimiter),this._maxListeners=void 0!==e.maxListeners?e.maxListeners:Mt,e.newListener&&(this._newListener=e.newListener),e.removeListener&&(this._removeListener=e.removeListener)):this._maxListeners=Mt}function Lt(e){this._events={},this._newListener=!1,this._removeListener=!1,Nt.call(this,e)}Lt.prototype.delimiter=".",Lt.prototype.setMaxListeners=function(e){void 0!==e&&(this._maxListeners=e,this._conf||(this._conf={}),this._conf.maxListeners=e)},Lt.prototype.event="",Lt.prototype.once=function(e,t){return this._once(e,t,!1)},Lt.prototype.prependOnceListener=function(e,t){return this._once(e,t,!0)},Lt.prototype._once=function(e,t,n){return this._many(e,1,t,n),this},Lt.prototype.many=function(e,t,n){return this._many(e,t,n,!1)},Lt.prototype.prependMany=function(e,t,n){return this._many(e,t,n,!0)},Lt.prototype._many=function(e,t,n,r){var o=this;if("function"!=typeof n)throw new Error("many only accepts instances of Function");function a(){return 0==--t&&o.off(e,a),n.apply(this,arguments)}return a._origin=n,this._on(e,a,r),o},Lt.prototype.emit=function(){this._events||Rt.call(this);var e=arguments[0];if("newListener"===e&&!this._newListener&&!this._events.newListener)return!1;var t,n,r,o,a,i=arguments.length;if(this._all&&this._all.length){if(a=this._all.slice(),3<i)for(t=new Array(i),o=0;o<i;o++)t[o]=arguments[o];for(r=0,n=a.length;r<n;r++)switch(this.event=e,i){case 1:a[r].call(this,e);break;case 2:a[r].call(this,e,arguments[1]);break;case 3:a[r].call(this,e,arguments[1],arguments[2]);break;default:a[r].apply(this,t)}}if("function"==typeof(a=this._events[e])){switch(this.event=e,i){case 1:a.call(this);break;case 2:a.call(this,arguments[1]);break;case 3:a.call(this,arguments[1],arguments[2]);break;default:for(t=new Array(i-1),o=1;o<i;o++)t[o-1]=arguments[o];a.apply(this,t)}return!0}if(a&&(a=a.slice()),a&&a.length){if(3<i)for(t=new Array(i-1),o=1;o<i;o++)t[o-1]=arguments[o];for(r=0,n=a.length;r<n;r++)switch(this.event=e,i){case 1:a[r].call(this);break;case 2:a[r].call(this,arguments[1]);break;case 3:a[r].call(this,arguments[1],arguments[2]);break;default:a[r].apply(this,t)}return!0}if(!this._all&&"error"===e)throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");return!!this._all},Lt.prototype.emitAsync=function(){this._events||Rt.call(this);var e=arguments[0];if("newListener"===e&&!this._newListener&&!this._events.newListener)return Promise.resolve([!1]);var t,n,r,o,a,i=[],s=arguments.length;if(this._all){if(3<s)for(t=new Array(s),o=1;o<s;o++)t[o]=arguments[o];for(r=0,n=this._all.length;r<n;r++)switch(this.event=e,s){case 1:i.push(this._all[r].call(this,e));break;case 2:i.push(this._all[r].call(this,e,arguments[1]));break;case 3:i.push(this._all[r].call(this,e,arguments[1],arguments[2]));break;default:i.push(this._all[r].apply(this,t))}}if("function"==typeof(a=this._events[e]))switch(this.event=e,s){case 1:i.push(a.call(this));break;case 2:i.push(a.call(this,arguments[1]));break;case 3:i.push(a.call(this,arguments[1],arguments[2]));break;default:for(t=new Array(s-1),o=1;o<s;o++)t[o-1]=arguments[o];i.push(a.apply(this,t))}else if(a&&a.length){if(a=a.slice(),3<s)for(t=new Array(s-1),o=1;o<s;o++)t[o-1]=arguments[o];for(r=0,n=a.length;r<n;r++)switch(this.event=e,s){case 1:i.push(a[r].call(this));break;case 2:i.push(a[r].call(this,arguments[1]));break;case 3:i.push(a[r].call(this,arguments[1],arguments[2]));break;default:i.push(a[r].apply(this,t))}}else if(!this._all&&"error"===e)return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(i)},Lt.prototype.on=function(e,t){return this._on(e,t,!1)},Lt.prototype.prependListener=function(e,t){return this._on(e,t,!0)},Lt.prototype.onAny=function(e){return this._onAny(e,!1)},Lt.prototype.prependAny=function(e){return this._onAny(e,!0)},Lt.prototype.addListener=Lt.prototype.on,Lt.prototype._onAny=function(e,t){if("function"!=typeof e)throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),t?this._all.unshift(e):this._all.push(e),this},Lt.prototype._on=function(e,t,n){if("function"==typeof e)return this._onAny(e,t),this;if("function"!=typeof t)throw new Error("on only accepts instances of Function");return this._events||Rt.call(this),this._newListener&&this.emit("newListener",e,t),this._events[e]?("function"==typeof this._events[e]&&(this._events[e]=[this._events[e]]),n?this._events[e].unshift(t):this._events[e].push(t),!this._events[e].warned&&0<this._maxListeners&&this._events[e].length>this._maxListeners&&(this._events[e].warned=!0,function(e,t){console.warn("[Event] "+e+" listeners of event "+t+" have been added, possibly causing memory leak.")}.call(this,this._events[e].length,e))):this._events[e]=t,this},Lt.prototype.off=function(e,t){if("function"!=typeof t)throw new Error("removeListener only takes instances of Function");var n,r=[];if(!this._events[e])return this;n=this._events[e],r.push({_listeners:n});for(var o=0;o<r.length;o++){if(n=r[o]._listeners,Dt(n)){for(var a=-1,i=0,s=n.length;i<s;i++)if(n[i]===t||n[i].listener&&n[i].listener===t||n[i]._origin&&n[i]._origin===t){a=i;break}if(a<0)continue;return this._events[e].splice(a,1),0===n.length&&delete this._events[e],this._removeListener&&this.emit("removeListener",e,t),this}(n===t||n.listener&&n.listener===t||n._origin&&n._origin===t)&&(delete this._events[e],this._removeListener&&this.emit("removeListener",e,t))}return function e(t){if(void 0!==t){var n=Object.keys(t);for(var r in n){var o=n[r],a=t[o];a instanceof Function||"object"!==Y(a)||null===a||(0<Object.keys(a).length&&e(t[o]),0===Object.keys(a).length&&delete t[o])}}}(this.listenerTree),this},Lt.prototype.offAny=function(e){var t,n=0,r=0;if(e&&this._all&&0<this._all.length){for(n=0,r=(t=this._all).length;n<r;n++)if(e===t[n])return t.splice(n,1),this._removeListener&&this.emit("removeListenerAny",e),this}else{if(t=this._all,this._removeListener)for(n=0,r=t.length;n<r;n++)this.emit("removeListenerAny",t[n]);this._all=[]}return this},Lt.prototype.removeListener=Lt.prototype.off,Lt.prototype.removeAllListeners=function(e){return void 0===e?!this._events||Rt.call(this):this._events&&(this._events[e]=null),this},Lt.prototype.listeners=function(e){return this._events||Rt.call(this),this._events[e]||(this._events[e]=[]),Dt(this._events[e])||(this._events[e]=[this._events[e]]),this._events[e]},Lt.prototype.eventNames=function(){return Object.keys(this._events)},Lt.prototype.listenerCount=function(e){return this.listeners(e).length},Lt.prototype.listenersAny=function(){return this._all?this._all:[]};var Bt=Lt;function jt(e,t,n){return function(){try{return e.apply(e,arguments)}catch(e){if("[object Error]"===Object.prototype.toString.apply(e)){if("AppServiceSdkKnownError"===e.type)throw e;"ThirdScriptError"===e.type?Reporter.thirdErrorReport({error:e,extend:t}):Reporter.errorReport({key:n,error:e,extend:t})}}}}var Ft=function(){function t(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{maxListeners:2e3};$e(this,t),this.emitter=new Bt(e),this.callbackMap="undefined"!=typeof WeakMap?new WeakMap:{}}return Ot(t,[{key:"emit",value:function(e,t){this.emitter.emit(e,t)}},{key:"on",value:function(e,t){if(t&&"function"==typeof t){var n=Reporter.surroundThirdByTryCatch(t,"at "+e+" callback function");this.callbackMap.set(t,n),this.emitter.on(e,n)}}},{key:"off",value:function(e,t){if(t&&"function"==typeof t){var n=this.callbackMap.get(t);this.emitter.off(e,n)}else this.emitter.removeAllListeners(e)}},{key:"listeners",value:function(e){return this.emitter.listeners(e)}}]),t}();function Ut(e){return"string"==typeof e?e.length:"object"===Y(e)&&"number"==typeof e.byteLength?e.byteLength:0}function Wt(e){var t=!0;if(ye.appContactInfo&&ye.appContactInfo.operationInfo&&ye.appContactInfo.operationInfo.jsonInfo){var n=ye.appContactInfo.operationInfo.jsonInfo.apiAvailable;"number"==typeof n[e]&&(t=1===n[e])}return t}function Vt(){return 4===ye.appType}function qt(t,n){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:function(){},i=5<arguments.length&&void 0!==arguments[5]?arguments[5]:function(){};return function(e){r=a(e),Ke("operateWXData",Object.assign({},e,{data:Object.assign({api_name:n},o,r?{data:r}:void 0)}),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateWXData",t)},beforeSuccess:function(e){if(ke&&(e.data=JSON.parse(e.data)),e.data.data){e.rawData=e.data.data;var t=JSON.parse(e.data.data);e=Object.assign(e,t)}e.data.signature&&(e.signature=e.data.signature),e.data.encryptedData&&(e.encryptedData=e.data.encryptedData,e.iv=e.data.iv),delete e.data,e=i(e)}})}}function Kt(e,t,n){var r=t.replace(/\.html\?.*|\.html$/,"");return!!__appServiceEngine__.hasPageRoute(r)||(Je(e,n,'page "'+gt(t)+'" is not found'),!1)}var Ht=!1;function zt(e){Ht=!!e.state,e.success&&e.success({state:Ht})}function Gt(e,t){var n=Pt(e,"ui");if(0<n&&Ht)return!1;if(20<=n)if(void 0===__appServiceEngine__){if(t)return!1}else{var r=__appServiceEngine__.getCurrentRoute()||"";if(/^\/?__wx__\//.test(r))return!1;var o=r.match(/(?:^|\/)__plugin__\/(.*?)\//);if((o?o[1]:"")!==t&&30<=n)return!1}return!0}var Yt=!1;function Jt(e){Yt="tap"===e}function Xt(){Yt=!1}function Qt(r){var o=this;return function(){Jt("tap");for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.apply(o,t),Xt()}}function $t(c,u){return function(e){var t=this,n=Pt(c,"tap"),r=e;if(10!==n||Yt||(It({name:c,scene:0,strategy:1}),!Te&&Wt(c))){(20===n&&Yt||30===n)&&("function"==typeof e?r=Qt.call(this,e):"object"===Y(e)&&(r=Object.assign({},e),["success","fail","complete"].forEach(function(e){"function"==typeof r[e]&&(r[e]=Qt.call(t,r[e]))})));for(var o=arguments.length,a=new Array(1<o?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];var s=u.apply(this,[r].concat(a));return 4===ye.appType&&Xt(),s}e&&(e.fail||e.complete)&&setTimeout(function(){Je(c,e,"can only be invoked by user TAP gesture.")},0)}}ze("onKeyboardValueChange",function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=e.value;if(Ge("setKeyboardValue",{value:n,cursor:e.cursor,inputId:e.inputId},[t]),e.data&&"function"==typeof Se.webviewEventCallback){var r=JSON.parse(e.data);if(r.bindinput){var o;try{o=Se.webviewEventCallback({data:{type:"input",target:r.target,currentTarget:r.target,timeStamp:Date.now(),touches:[],detail:{value:e.value,cursor:e.cursor,keyCode:e.keyCode}},eventName:r.bindinput,webviewId:t,nodeId:r.nodeId})}catch(e){throw new vt("bind key input error")}if(r.setKeyboardValue)if(null==o||!1===o);else if("Object"===oe(o)){var a={inputId:e.inputId};n!==o.value&&(a.value=o.value+""),Number.isNaN(parseInt(o.cursor,10))||(a.cursor=parseInt(o.cursor,10),void 0===a.value&&(a.value=n),a.cursor>a.value.length&&(a.cursor=-1)),Ke("setKeyboardValue",a)}else n!==o&&Ke("setKeyboardValue",{value:o+"",cursor:-1,inputId:e.inputId})}}});var Zt=new Bt;ze("onPageReload",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;e.webviewId=t,Zt.emit("onPageReload",e)});var en=function(e,t){Zt.once("onBeforeUnloadPage_"+e,function(e){"function"==typeof t&&t(e)})},tn={},nn={},rn=new Lt,on={},an={},sn=["getCenterLocation","getRegion","getScale","includePoints","moveToLocation","translateMarker","setIndoorFloor","getIndoorFloor","getRotate","getSkew","eraseLines"];var cn=0;Ye("mapInsert",function(e,t){var n,r=e.domId,o=e.mapId,a=e.pluginId,i=e.bindregionchange,s=e.bindtap,c=e.showLocation,u=e.bindpoitap,l=e.target,d=e.nodeId,f=e.bindindoorchange,p=t+"_"+a+"_"+r+"_";d&&d!==__virtualDOM__.getRootNodeId(t)&&(p+=d),tn[p]=o,nn[t+"_"+o]={bindregionchange:i,bindtap:s,showLocation:c,bindpoitap:u,bindindoorchange:f,target:l,nodeId:d},rn.emit("mapInsert"),on[n=t]||(on[n]=!0,en(n,function(t){delete on[t],Object.keys(tn).forEach(function(e){new RegExp("^"+t).test(e)&&(delete nn[t+"_"+tn[e]],delete tn[e])}),Object.keys(an).forEach(function(e){new RegExp("^api_"+t).test(e)&&(delete nn[t+"_"+tn[e.substr(4)]],delete an[e])}),Object.keys(an).forEach(function(e){new RegExp("^SQ_"+t).test(e)&&(delete nn[e.substr(3)],delete an[e])})}))}),Ye("mapRemove",function(e,t){var n=e.domId,r=e.mapId,o=e.pluginId,a=e.nodeId,i=t+"_"+o+"_"+n+"_";a&&a!==__virtualDOM__.getRootNodeId(t)&&(i+=a),delete tn[i],delete nn[t+"_"+r];var s="api_"+t+"_"+o+"_"+n+"_";a&&a!==__virtualDOM__.getRootNodeId(t)&&(s+=a);var c="SQ_"+t+"_"+r;delete an[s],delete an[c]});var un=function e(){$e(this,e)},ln=function(){function e(){var n=this;$e(this,e);var t=this.exportContext=new un;sn.forEach(function(e){return t[e]=n[e].bind(n)}),this._lastMarkerPos={},this._lastMarkerDeg={},this._translating={},this._delayTranslate={},this._isGetMarkerPos={},Ye("doMapActionCallback",function(e){var t=e.callbackId;t&&"function"==typeof n[t]&&(n[t](e),delete n[t])})}return Ot(e,[{key:"_invoke",value:function(e,t){var n=nn[this.webviewId+"_"+t.mapId];if("moveToMapLocation"!==e||!n||n.showLocation)if(Te||-1!==["includeMapPoints","getMapMarker"].indexOf(e)){t.method=e;var r="callback"+this.webviewId+"_"+t.mapId+"_"+cn++;this[r]=function(e){delete e.callbackId,delete e.mapId,delete e.method,e.errMsg&&(-1<e.errMsg.indexOf(":ok")?"function"==typeof t.success&&t.success(e):-1<e.errMsg.indexOf(":fail")&&"function"==typeof t.fail&&t.fail(e)),"function"==typeof t.complete&&t.complete(e)},t.callbackId=r,Ge("doMapAction"+t.mapId,t,[this.webviewId])}else Ke(e,t);else console.warn("only show-location set to true can invoke moveToLocation")}},{key:"getCenterLocation",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._invokeMethod("getMapCenterLocation",e)}},{key:"getScale",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._invokeMethod("getMapScale",e)}},{key:"getRegion",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._invokeMethod("getMapRegion",e)}},{key:"moveToLocation",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._invokeMethod("moveToMapLocation",e)}},{key:"translateMarker",value:function(){var t=this,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=n.markerId;if(void 0!==r)if(n.destination)if(this._translating[r])this._delayTranslate[r]?this._delayTranslate[r].push(n):this._delayTranslate[r]=[n];else{var e={markerId:r,keyFrames:[{longitude:n.destination.longitude,latitude:n.destination.latitude,duration:n.duration||1e3}],success:function(e){"function"==typeof n.success&&n.success.call(t,e),"function"==typeof n.animationEnd&&n.animationEnd.call(t)},fail:function(e){t._delayTranslate[r]=[],"function"==typeof n.fail&&n.fail.call(t,e)},complete:function(){t._translating[r]=!1;var e=t._delayTranslate[r];e&&e.length&&t.translateMarker(e.shift())}},o=this._lastMarkerPos[r],a=n.destination;if(n.autoRotate||"number"!=typeof n.rotate){var i,s;if(o){var c=a.latitude-o.latitude,u=a.longitude-o.longitude,l=c/u||0;i=Math.abs((u<0?180:0)-Math.abs(180*Math.atan(l)/Math.PI))*(0<c?-1:1)}else if(!this._isGetMarkerPos[r])return this._translating[r]=!0,this._invokeMethod("getMapMarker",{markerId:r,success:function(e){t._lastMarkerPos[r]=e.pos},complete:function(){t._isGetMarkerPos[r]=!0,t._translating[r]=!1;var e=t._delayTranslate[r];e&&e.length&&t.translateMarker(e.shift())}}),void(this._delayTranslate[r]?this._delayTranslate[r].push(n):this._delayTranslate[r]=[n]);"number"==typeof this._lastMarkerDeg[r]&&(s=i-this._lastMarkerDeg[r],180<Math.abs(s)&&(s=0<s?s-360:s+360),3<Math.abs(s)&&n.autoRotate&&e.keyFrames.unshift({rotate:s,duration:Math.abs(s)<10?100:500})),(3<Math.abs(s)&&n.autoRotate||void 0===this._lastMarkerDeg[r])&&(this._lastMarkerDeg[r]=i)}else{var d=n.rotate-(this._lastMarkerDeg[r]||0);3<Math.abs(d)&&(180<Math.abs(d)&&(d=0<d?d-360:d+360),e.keyFrames.unshift({rotate:d,duration:Math.abs(d)<10?100:500}),this._lastMarkerDeg[r]=n.rotate)}o&&o.latitude===a.latitude&&o.longitude===a.longitude&&(e.keyFrames.pop(),n.autoRotate&&(e.keyFrames=[])),0<e.keyFrames.length?(this._translating[r]=!0,this._invokeMethod("translateMapMarker",e)):setTimeout(function(){e.success(),e.complete()}),this._lastMarkerPos[r]=n.destination}else console.warn("MapContext.translateMarker: require destination");else console.warn("MapContext.translateMarker: require markerId")}},{key:"includePoints",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(e.points&&e.points instanceof Array){e.points.forEach(function(e){e.latitude=Number(e.latitude),e.longitude=Number(e.longitude)});var t=e.padding;e.padding=[0,0,0,0],t&&(e.padding[0]=Number(t[0])||0,e.padding[1]=Number(t[1])||0,e.padding[2]=Number(t[2])||0,e.padding[3]=Number(t[3])||0),this._invokeMethod("includeMapPoints",e)}}},{key:"setIndoorFloor",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};e.buildingId?e.floorName?this._invokeMethod("setMapIndoorFloor",e):console.warn("MapContext.setIndoorFloor: require floorName"):console.warn("MapContext.setIndoorFloor: require buildingId")}},{key:"getIndoorFloor",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._invokeMethod("getMapIndoorFloor",e)}},{key:"getRotate",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._invokeMethod("getMapRotate",e)}},{key:"getSkew",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._invokeMethod("getMapSkew",e)}},{key:"eraseLines",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};e.lines&&e.lines instanceof Array?this._invokeMethod("eraseMapLines",e):console.warn("MapContext.eraseLines: require lines")}}]),e}(),dn=function(e){function a(e,t,n,r){var o;if($e(this,a),o=et(this,tt(a).call(this)),"string"!=typeof e)throw new _t("Parameter 1 should be a string");return o.domId=e,o.pluginId=r,o.webviewId=t,o.nodeId=n,o}return rt(a,ln),Ot(a,[{key:"_invokeMethod",value:function(e,t){var n=this,r=this.webviewId+"_"+this.pluginId+"_"+this.domId+"_"+this.nodeId;"number"==typeof tn[r]||tn[r]?(t.mapId=tn[r],this._invoke(e,t)):rn.on("mapInsert",function(){t.mapId=tn[r],n._invoke(e,t)})}}]),a}(),fn=function(e){function r(e,t){var n;return $e(this,r),(n=et(this,tt(r).call(this))).mapId=e,n.webviewId=t,n}return rt(r,ln),Ot(r,[{key:"_invokeMethod",value:function(e,t){t.mapId=this.mapId,this._invoke(e,t)}}]),r}(),pn=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"",o="api_"+t+"_"+r+"_"+e+"_";if(n&&n!==__virtualDOM__.getRootNodeId(t)&&(o+=n),an[o])return an[o].exportContext;var a=new dn(e,t,n,r);return(an[o]=a).exportContext},hn=function(e,t){var n="SQ_"+t+"_"+e;if(an[n])return an[n].exportContext;var r=new fn(e,t);return(an[n]=r).exportContext};function gn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vn,_n,yn={},mn={lastShareTicket:null,get:function(e){return yn[e]},set:function(e,t){var n=kt();return yn[n]={shareKey:e,shareName:t},n}},bn=new Bt,wn={appLaunchInfo:null,appLaunchShareInfo:null,sceneHistory:[],appId:"",ShareInfoStorage:mn,emitter:bn},Sn=(vn=!1,xe?vn=!0:ke&&637865520<=ye.clientVersion&&(vn=!0),function(){return vn});function Cn(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0;if(e.scene=e.scene?parseInt(e.scene,10):e.scene,e.query=(t?e.query:Se.query)||{},e.path=gt(t?e.path:Se.lastRoute),e.referrerInfo=e.referrerInfo||{},(e.isLaunch=t)||(1044===e.scene?Se.lastShareInfo={shareInfo:e.shareInfo,path:e.path,query:e.query}:Se.lastShareInfo=void 0),wn.sceneHistory.push(e.scene),!e.referrerInfo.appId||1036!==e.scene&&1069!==e.scene||(wn.appId=e.referrerInfo.appId),"object"===Y(e.shareInfo)&&null!==e.shareInfo){var n=e.shareInfo;n.shareKey&&n.shareName&&(Ke("showUpdatableMessageSubscribeButton",{shareKey:n.shareKey}),e.shareTicket=wn.ShareInfoStorage.set(n.shareKey,n.shareName),wn.ShareInfoStorage.lastShareTicket=e.shareTicket),delete e.shareInfo}return e}function Tn(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};0===(e=Object.assign({},e)).scene?e.scene=_n:_n=e.scene;var t=e.scene;return 1103===t?t=1001:1104===t&&(t=1089),{path:e.path,query:e.query,scene:t,shareTicket:e.shareTicket,referrerInfo:e.referrerInfo.appId?{appId:e.referrerInfo.appId,extraData:e.referrerInfo.extraData}:{}}}var kn=new Bt({maxListeners:20,newListener:!1}),xn=new Bt({maxListeners:10,newListener:!1});var In={};function En(o){if(o=o[0].toUpperCase()+o.slice(1),!In[o]){var a=new WeakMap;In[o]={getGlobalListeners:function(){return kn.listeners(o)},getInternalListeners:function(){return xn.listeners(o)},emit:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];xn.emit.apply(xn,[o].concat(t)),kn.emit.apply(kn,[o].concat(t))},emitGlobal:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];kn.emit.apply(kn,[o].concat(t))},emitInternal:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];xn.emit.apply(xn,[o].concat(t))},internalOnMethod:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};"function"==typeof e&&(t.prepend?t.once?xn.prependOnceListener(o,e):xn.prependListener(o,e):t.once?xn.once(o,e):xn.on(o,e))},internalOffMethod:function(e){"function"==typeof e&&xn.off(o,e)},onMethod:function(e){var t,n,r=(t=o,"function"!=typeof(n=e)?(console.error("on"+t+" should accept a function instead of "+Y(n)),null):Reporter.surroundThirdByTryCatch(n,"at api on"+t+" callback function"));r&&(a.set(e,r),kn.on(o,r))},offMethod:function(e){var t,n;if(t=o,!(n=e)||"function"==typeof n||(console.error("off"+t+" should accept a function instead of "+Y(n)),0))if(e){if(a.has(e)){var r=a.get(e);a.delete(e),kn.off(o,r)}}else a=new WeakMap,kn.removeAllListeners(o)}}}return In[o]}var Pn={},An=function(e,t){var n=En("WeixinJSBridge-"+e);Pn[e]||(ze(e,function(){n.emit.apply(n,arguments)}),Pn[e]=!0),n.internalOnMethod(t)},On=En("AppEnterForeground"),Dn=On.internalOnMethod;function Mn(e){Vt()||((e=Cn(e,!1)).__public=Tn(e),e,On.emit(e))}An("onAppEnterForeground",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};!Sn()||1!==e.reLaunch&&!0!==e.reLaunch?Mn(e):wn.emitter.once("onAppRoute",function(){Mn(e)}),Ge("onAppEnterForeground",e)});var Rn,Nn=0,Ln=[],Bn=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length?arguments[2]:void 0,r=3<arguments.length?arguments[3]:void 0,o=Nn++;Ln[o]=r,Ge("invokeWebviewMethod",{name:e,args:t,callbackId:o},void 0===n?[Se.currentWebviewId]:n)};Ye("callbackWebviewMethod",function(e){var t=e.res,n=e.callbackId,r=Ln[n];delete Ln[n],r&&r(t)});var jn=[],Fn=[],Un=["expires","domain","path","busid","indate","receivetime","spread"],Wn=502,Vn=503,qn=(gn(Rn={},Wn,null),gn(Rn,Vn,null),Rn);function Kn(t){Ke("getPermissionBytes",{indexes:[Wn,Vn]},{beforeSuccess:function(e){e.permissionBytes&&(qn[Wn]=!(1!==e.permissionBytes[0]),qn[Vn]=!(1!==e.permissionBytes[1])),t&&t()}})}function Hn(e,t){Te?t(!0):null===qn[e]?Kn(function(){return t(!!qn[e])}):t(!!qn[e])}function zn(t){var e,n;e=function(e){e&&Yn(e,!1,jn),t&&t()},n=ye.accountInfo&&ye.accountInfo.appId||"noAppId",Bn("getCookiesFromGlobalStorage",{appId:n},void 0,e)}function Gn(){var o=Date.now(),a=[];jn.forEach(function(e){var t=e.expires||e.__wxprivate_calc_expires__;if(t&&o<1e3*t){var n=[];for(var r in e)0<=Un.indexOf(r)&&n.push(encodeURIComponent(r)+"="+encodeURIComponent(e[r]));n.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value)),a.push(n.join("; "))}});var e,t,n,r=a.join(";; ");4096<=r.length||(e=r,t=function(){},n=ye.accountInfo&&ye.accountInfo.appId||"noAppId",e&&e.trim()&&Bn("setCookiesToGlobalStorage",{cookies:e,appId:n},void 0,t))}function Yn(e,n,o){if("string"==typeof e){var a=Date.now();e.split(";;").forEach(function(e){var r;if(e.split(";").forEach(function(e){r=r||{};var t=(e=e.split("="))[0].trim(),n=e[1]&&e[1].trim();"expires"!==t&&"indate"!==t||(n=+n,n=Number.isNaN(n)?void 0:n),t&&void 0!==n&&(0<=Un.indexOf(t)?r[decodeURIComponent(t)]=decodeURIComponent(n):(r.name=decodeURIComponent(t),r.value=decodeURIComponent(n)))}),r){n&&(r.receivetime=~~(a/1e3)),void 0===r.expires&&void 0!==r.indate&&r.receivetime&&(r.__wxprivate_calc_expires__=+r.receivetime+ +r.indate);var t=r.expires||r.__wxprivate_calc_expires__;t&&!(a<1e3*t)||function(e,t){for(var n=0,r=t.length;n<r;n++){var o=t[n];if(e.busid===o.busid&&e.name===o.name)return!0}return!1}(r,o)||o.push(r),ye.accountInfo&&ye.accountInfo.appId&&r.spread&&(r.spread="*"===r.spread?"":r.spread+":",r.spread+=ye.accountInfo.appId)}})}}function Jn(e){var t=[];for(var n in e)0<=Un.indexOf(n)&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value)),t.join("; ")}var Xn=function(e){var n=Date.now(),r=[];jn.forEach(function(e){var t=e.expires||e.__wxprivate_calc_expires__;e.domain&&"*"===e.domain&&(!t||n<1e3*t)&&r.push(Jn(e))});var t=r.join(";; ");return e&&e.success&&e.success({cookies:t}),t},Qn=function(){var n=Date.now(),r=[];return Fn.forEach(function(e){var t=e.expires||e.__wxprivate_calc_expires__;(!t||n<1e3*t)&&r.push(Jn(e))}),r.join(";; ")},$n=function(e){var o=Date.now(),t=e.cookies||[],a=e.isTemporary;if(t instanceof Array){var n,r=a?Fn:jn,i=[],s={},c={},u=ye.accountInfo&&ye.accountInfo.appId||"";if(t.forEach(function(n){if(n.key&&"string"==typeof n.key){var e=+n.expires;if(!n.value||e&&1e3*e<o)s[n.key]={name:n.key,busid:n.busid};else{var r={name:n.key,value:n.value};Un.forEach(function(e){var t=n[e];"expires"!==e&&"indate"!==e||(t=+t,t=Number.isNaN(t)?void 0:t),"spread"===e&&t&&!a&&u&&(r.spread="*"===t?"":t+":",r.spread+=u),"receivetime"!==e&&"spread"!==e&&void 0!==t&&(r[e]=t)}),c[n.key]=r,i.push(r)}}}),r.forEach(function(e){var t=s[e.name];if(!t||(t.busid||e.busid)&&t.busid!==e.busid){var n=c[e.name];if(!n||(n.busid||e.busid)&&n.busid!==e.busid){var r=e.expires||e.__wxprivate_calc_expires__;r&&1e3*r<o||i.push(e)}}}),4096<=(n=[],i.forEach(function(e){n.push(Jn(e))}),n.join(";; ")).length)return"setCookies:fail whole cookies storage is out of limit(4KB limit)";a?Fn=i:(jn=i,Gn())}},Zn=function(e){var r=Date.now(),o=e.keys||[],a=e.busid,t=e.isTemporary;if(o instanceof Array){var i=[];return(t?Fn:jn).forEach(function(t){var e=t.expires||t.__wxprivate_calc_expires__;if((!e||r<1e3*e)&&0<=o.indexOf(t.name)&&(!a||a&&a===t.busid)){var n=gn({},t.name,t.value);Object.keys(t).forEach(function(e){0<=Un.indexOf(e)&&(n[e]=t[e]),"indate"!==e&&"expires"!==e||(n[e]=+n[e])}),i.push(n)}}),i}},er=En("AppEnterBackground"),tr=er.internalOnMethod;An("onAppEnterBackground",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};er.emit(e),Ge("onAppEnterBackground",e)});var nr=function(e){if(Xe("requestPayment",e,{timeStamp:"",nonceStr:"",package:"",signType:"",paySign:""})){var n,r,t=(n=Date.now(),r=[],jn.forEach(function(e){var t=e.expires||e.__wxprivate_calc_expires__;(!t||n<1e3*t)&&r.push(Jn(e))}),r.join(";; "));e.passCookies&&"string"==typeof e.passCookies?e.cookie=t?e.passCookies+";; "+t:e.passCookies:t?e.cookie=t:delete e.cookie,delete e.passCookies,Ke("requestPayment",Object.assign({},e,{grantMessageQuota:!0}),{beforeSuccess:function(){ea()}})}},rr=function(e){Ke("verifyPaymentPassword",e)},or=function(e){Ke("bindPaymentCard",e)},ar=function(e){Ke("requestPaymentToBank",e)},ir=function(e){Ke("requestVirtualPayment",e)},sr=function(e){Ke("openOfflinePayView",e)},cr=function(e){Ke("openWCPayCardList",e)},ur=function(e){Ke("requestMallPayment",e)},lr=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=mn.get(e.shareTicket);t?Ke("operateWXData",ft({data:{api_name:"webapi_getshareinfo",data:{share_key:t.shareKey,share_name:t.shareName}}},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateWXData","getShareInfo")},beforeSuccess:function(e){ke&&"string"==typeof e.data&&(e.data=JSON.parse(e.data)),e.data||(e.data={}),void 0!==e.data.data&&(e.rawData=e.data.data);try{var t=JSON.parse(e.data.data);t.roomTopic&&(e.roomTopic=t.roomTopic)}catch(e){}e.iv=e.data.iv,e.encryptedData=e.data.encryptedData,delete e.data}}):Je("getShareInfo",e,"invalid shareTicket")},dr=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};!0===e.withShareTicket?Ke("showShareMenuWithShareTicket",e,{beforeAll:function(e){e.errMsg=e.errMsg.replace("showShareMenuWithShareTicket","showShareMenu")},beforeFail:function(e){e.errMsg+=", with arg withShareTicket: true"}}):Ke("showShareMenu",e,{})},fr=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("hideShareMenu",e,{})},pr=function(){var r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Promise.all([new Promise(function(e,t){"boolean"==typeof r.withShareTicket?Ke("updateShareMenuShareTicket",{withShareTicket:r.withShareTicket,success:e,fail:t},{beforeAll:function(e){e.errMsg=e.errMsg.replace("updateShareMenuShareTicket","updateShareMenu")},beforeFail:function(e){e.errMsg+=', with arg "withShareTicket": true'}}):e({errMsg:"updateShareMenu:ok"})}),new Promise(function(e,t){if("boolean"==typeof r.isUpdatableMessage){var n=JSON.stringify({activity_id:r.activityId,template_id:r.templateInfo.templateId,parameter_list:r.templateInfo.parameterList});Ke("updateShareMenuUpdatable",{updatable:r.isUpdatableMessage,templateId:n,success:e,fail:t})}else e({errMsg:"updateShareMenu:ok"})})]).then(function(e){"function"==typeof r.success&&Reporter.surroundThirdByTryCatch(r.success,"at api updateShareMenu success callback function")(e[0]),"function"==typeof r.complete&&Reporter.surroundThirdByTryCatch(r.complete,"at api updateShareMenu complete callback function")(e[0])}).catch(function(e){"function"==typeof r.fail&&Reporter.surroundThirdByTryCatch(r.fail,"at api updateShareMenu fail callback function")(e),"function"==typeof r.complete&&Reporter.surroundThirdByTryCatch(r.complete,"at api updateShareMenu complete callback function")(e)})},hr=function(e){Reporter.reportKeyValue({key:"DeprecatedAPI",value:e})},gr=function(){hr("showUpdatableMessageSubscribeButton"),console.warn("wx.showUpdatableMessageSubscribeButton 此接口已废弃")},vr=function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];return ct(Se.lastRoute,e,t)},_r=function(e){if("string"!=typeof e)return e;var t=e.split("?")[0],n=e.split("?")[1];return t+=".html",void 0!==n?t+"?"+n:t},yr=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("shareAppMessageForFakeNative",e,{title:"",bizType:0})){var t=Object.assign({useDefaultSnapshot:!0,disableForward:!1},e);if(e.path&&"string"==typeof e.path)t.path=_r(__appServiceEngine__.convertComponentAliasToRoute(e.path));else{var n=Object.keys(Se.query).map(function(e){return e+"="+Se.query[e]}).join("&"),r=Se.lastRoute+"?"+n;t.path=_r(__appServiceEngine__.convertComponentAliasToRoute(r))}e.imageUrl&&"string"==typeof e.imageUrl&&(/^(http|https|wxfile):\/\//.test(e.imageUrl)?t.imageUrl=e.imageUrl:t.imageUrl=vr(e.imageUrl,!1)),Ke("shareAppMessageForFakeNative",t)}},mr=En("AppRouteDone"),br=mr.internalOnMethod;ze("onAppRouteDone",function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n="";Se.navigatorLock=!1,e.path&&(n=e.path,e.path=e.path.substring(0,e.path.length-5)),e.webviewId=void 0!==e.webviewId?e.webviewId:t,Se.lastRoute=e.path,mr.emit(e),Ge("onAppRouteDone",{},[t]),e.path,function(e,t){if(0===ye.appType&&e&&t&&!Se.navigationBarTitleMap[e]){var n="";ye.page[t]&&ye.page[t].window&&ae(ye.page[t].window.navigationBarTitleText)?n=ye.page[t].window.navigationBarTitleText:ye.global&&ye.global.window&&ae(ye.global.window.navigationBarTitleText)&&(n=ye.global.window.navigationBarTitleText),Se.navigationBarTitleMap[e]=n}}(e.path,n)});var wr={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",transparent:"#00000000"};function Sr(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"",o="canvas_"+e+"_"+t+"_"+n+"_";return r&&r!==__virtualDOM__.getRootNodeId(e)&&(o+=r),o}function Cr(e){var n=[],r=1;return Ye(e,function(r){n.forEach(function(e){var t=e[0],n=e[1];t.cid===r.cid&&t.canvasId===r.canvasId&&n(r)}),n=[]}),function(e,t){e.cid=r++,n.push([e,t])}}var Tr,kr={},xr={};function Ir(e){return"number"==typeof e}function Er(e){var t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e)))return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255];if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){var n=t[1].slice(0,1),r=t[1].slice(1,2),o=t[1].slice(2,3);return[n=parseInt(n+n,16),r=parseInt(r+r,16),o=parseInt(o+o,16),255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map(function(e){return Math.min(255,parseInt(e.trim(),10))}).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map(function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim(),10))});var a=e.toLowerCase();if(it(wr,a)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(wr[a]);var i=parseInt(t[1].slice(0,2),16),s=parseInt(t[1].slice(2,4),16),c=parseInt(t[1].slice(4,6),16),u=parseInt(t[1].slice(6,8),16);return[i,s,c,u=0<=u?u:255]}return console.group("非法颜色: "+e),console.error("不支持颜色:"+e),console.groupEnd(),[0,0,0,255]}function Pr(e){if(Array.isArray(e)){var t=[];return e.forEach(function(e){t.push(Pr(e))}),t}if("object"!==Y(e))return e;var n={};for(var r in e)n[r]=Pr(e[r]);return n}function Ar(e,t){if("devtools"!==Tr&&!/wxfile:\/\//.test(t))if(e.pluginId||e.nodeId){var n=e.pluginId.split("/")[0],r=__virtualDOM__.getNodeById(e.nodeId,e.webviewId),o=r&&r.is||"";t=n?__virtualDOM__.getPluginRoutePrefix(n)+ct(o,t,!1).replace(/\.html$/,""):ct(o,t,!1).replace(/\.html$/,"")}else t=ct(Se.lastRoute,t,!1).replace(/.html$/,"");return t}var Or=function(){function n(e,t){$e(this,n),this.type=e,this.data=t,this.colorStop=[]}return Ot(n,[{key:"addColorStop",value:function(e,t){this.colorStop.push([e,Er(t)])}}]),n}(),Dr=function e(t){$e(this,e),this.width=t},Mr=function e(t,n){$e(this,e),this.image=t,this.repetition=n},Rr=function(){function a(e,t,n,r){if($e(this,a),this.actions=[],this.path=[],this.subpath=[],this.webviewId=e,this.canvasId=t,this.pluginId=r,this.useHardwareAccelerate=!0,this.nodeId=n,this._id=Sr(e,t,r,n),this.drawingState=kr[this._id]=kr[this._id]||[],this.state=xr[this._id]=xr[this._id]||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:"ios"===Tr?[]:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"},"devtools"===(Tr=Tr||Ce)){var o=document.createElement("canvas");this._context=o.getContext("2d")}}return Ot(a,[{key:"getActions",value:function(){var e=Pr(this.actions);return this.actions=[],this.path=[],this.subpath=[],e}},{key:"clearActions",value:function(){this.actions=[],this.path=[],this.subpath=[]}},{key:"draw",value:function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0],t=1<arguments.length?arguments[1]:void 0,n=this.canvasId,r=Pr(this.actions),o=this.useHardwareAccelerate;this.actions=[],this.path=[],this.useHardwareAccelerate=!0,this.isWidgetCanvas?so({isWidgetCanvas:!0,actions:r,reserve:e}):so({canvasId:n,actions:r,reserve:e,useHardwareAccelerate:o,complete:t},this.webviewId,this.pluginId,this.nodeId)}},{key:"createLinearGradient",value:function(e,t,n,r){return new Or("linear",[e,t,n,r])}},{key:"createCircularGradient",value:function(e,t,n){return new Or("radial",[e,t,n])}},{key:"createPattern",value:function(e,t){if(void 0!==t){if(-1!==["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t))return e=Ar(this,e),new Mr(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}else console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.")}},{key:"measureText",value:function(e){var t;return"devtools"===Tr?(this._context.font=this.state.font,t=this._context.measureText(e)):Ke("measureText",{text:e,fontSize:this.state.fontSize,fontFamily:this.state.fontFamily,fontWeight:this.state.fontWeight,fontStyle:this.state.fontStyle,complete:function(e){t={width:e.width||0}}}),new Dr(t.width||0)}},{key:"save",value:function(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}},{key:"restore",value:function(){this.actions.push({method:"restore",data:[]}),this.state=xr[this._id]=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:"ios"===Tr?[]:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}},{key:"getLineDash",value:function(){return this.state.lineDash}},{key:"beginPath",value:function(){this.path=[],this.subpath=[]}},{key:"moveTo",value:function(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}},{key:"closePath",value:function(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}},{key:"lineTo",value:function(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[].slice.apply(arguments)}):this.path.push({method:"lineTo",data:[].slice.apply(arguments)}),this.subpath.push([e,t])}},{key:"quadraticCurveTo",value:function(e,t,n,r){this.path.push({method:"quadraticCurveTo",data:[e,t,n,r]}),this.subpath.push([n,r])}},{key:"bezierCurveTo",value:function(e,t,n,r,o,a){this.path.push({method:"bezierCurveTo",data:[e,t,n,r,o,a]}),this.subpath.push([o,a])}},{key:"arc",value:function(e,t,n,r,o){var a=5<arguments.length&&void 0!==arguments[5]&&arguments[5];if("android"!==Tr)return this.path.push({method:"arc",data:[e,t,n,r,o,a]}),void this.subpath.push([e,t]);var i=e+Math.cos(r)*n,s=t+Math.sin(r)*n;if(this.subpath.push([i,s]),a&&r-o>=2*Math.PI||!a&&o-r>=2*Math.PI)this.subpath.push([i,s]);else{var c=e+Math.cos(o)*n,u=t+Math.sin(o)*n;this.subpath.push([c,u])}this.path.push({method:"arc",data:[e,t,n,r,o,a]})}},{key:"rect",value:function(e,t,n,r){this.path.push({method:"rect",data:[e,t,n,r]}),this.subpath=[[e,t]],"android"===Tr&&this.path.push({method:"closePath",data:[]})}},{key:"arcTo",value:function(e,t,n,r,o,a){if("android"!==Tr&&!a)return this.path.push({method:"arcTo",data:[e,t,n,r,o]}),void this.subpath.push([n,r]);var i=this.subpath[this.subpath.length-1],s=i[0],c=i[1];if(s===e&&c===t||e===n&&t===r||0===o)return this.actions.push({method:"lineTo",data:[e,t]}),void this.subpath.push([e,t]);if(s===e&&s===n||c===t&&c===r)return this.actions.push({method:"lineTo",data:[e,t]}),void this.subpath.push([e,t]);var u,l,d,f,p,h,g=Math.sqrt,v=Math.acos,_=Math.sin,y=Math.tan,m=Math.atan,b=Math.PI,w=function(e){return Math.pow(e,2)},S=s-e,C=c-t,T=n-e,k=r-t,x=v((S*T+C*k)/(g(w(S)+w(C))*g(w(T)+w(k))))/2,I=Math.round(o/_(x)*1e6)/1e6,E=Math.round(o/y(x)*1e6)/1e6;if(s-e==0)u=e,l=0<c-t?t+E:t-E;else if(c-t==0)u=0<s-e?e+E:e-E,l=t;else{var P=(c-t)/(s-e),A=c-P*s;l=P*(u=(g(w(S)+w(C))*E+S*e+C*t-A*C)/(S+P*C))+A}if(n-e==0)d=e,f=0<r-t?t+E:t-E;else if(r-t==0)d=0<n-e?e+E:e-E,f=t;else{var O=(r-t)/(n-e),D=r-O*n;f=O*(d=(g(w(T)+w(T))*E+T*e+k*t-D*k)/(T+O*k))+D}var M=(u+d)/2-e,R=(l+f)/2-t;if(0===R)p=e,h=0<R?t+I:t-I;else{var N=R/M,L=t-N*e;h=N*(p=(g(w(M)+w(R))*I+e*M+t*R-L*R)/(M+N*R))+L}p=Math.round(1e6*p)/1e6;var B=l-(h=Math.round(1e6*h)/1e6),j=u-p,F=b-2*x,U=m(B/j);0===B&&j<0&&(U=Math.PI);var W=(u-p)*(f-h)-(l-h)*(d-p);this.path.push({method:"arc",data:[p,h,o,U,0<W?U+F:U-F,W<0]}),this.subpath.push([d,f])}},{key:"clip",value:function(){this.actions.push({method:"clip",data:Pr(this.path)})}},{key:"lineDashOffset",set:function(e){if("devtools"!==Tr){var t=this.state.lineDash||[0,0];this.actions.push({method:"setLineDash",data:[t,e]})}else this.actions.push({method:"setLineDashOffset",data:[e]})}},{key:"globalCompositeOperation",set:function(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}},{key:"shadowBlur",set:function(e){"devtools"!==Tr?(this.actions.push({method:"setShadow",data:[this.state.shadowOffsetX,this.state.shadowOffsetY,e,this.state.shadowColor]}),this.state.shadowBlur=e):this.actions.push({method:"setShadowBlur",data:[e]})}},{key:"shadowColor",set:function(e){var t;"devtools"!==Tr?(t="ios"===Tr&&0===this.state.shadowBlur?[]:Er(e),this.actions.push({method:"setShadow",data:[this.state.shadowOffsetX,this.state.shadowOffsetY,this.state.shadowBlur,t]}),this.state.shadowColor=t):this.actions.push({method:"setShadowColor",data:[e]})}},{key:"shadowOffsetX",set:function(e){"devtools"!==Tr?(this.actions.push({method:"setShadow",data:[e,this.state.shadowOffsetY,this.state.shadowBlur,this.state.shadowColor]}),this.state.shadowOffsetX=e):this.actions.push({method:"setShadowOffsetX",data:[e]})}},{key:"shadowOffsetY",set:function(e){"devtools"!==Tr?(this.actions.push({method:"setShadow",data:[this.state.shadowOffsetX,e,this.state.shadowBlur,this.state.shadowColor]}),this.state.shadowOffsetY=e):this.actions.push({method:"setShadowOffsetY",data:[e]})}},{key:"font",set:function(e){var n=this,t=(this.state.font=e).match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(t){var r=t[1].trim().split(/\s/),o=parseFloat(t[3]),a=t[7],i=[],s="",c=this;if(r.forEach(function(e,t){-1<["italic","oblique","normal"].indexOf(e)?(i.push({method:"setFontStyle",data:[e]}),n.state.fontStyle=e):-1<["bold","normal"].indexOf(e)?(i.push({method:"setFontWeight",data:[e]}),n.state.fontWeight=e):0===t?(i.push({method:"setFontStyle",data:["normal"]}),c.state.fontStyle="normal"):1===t&&u()}),1===r.length&&u(),s=i.map(function(e){return e.data[0]}).join(" "),this.state.fontSize=o,this.state.fontFamily=a,"devtools"===Tr)return s=s+" "+o+"px "+a,void this.actions.push({method:"setFont",data:[s]});this.actions.push.apply(this.actions,i),this.actions.push({method:"setFontSize",data:[o]},{method:"setFontFamily",data:[a]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function u(){i.push({method:"setFontWeight",data:["normal"]}),c.state.fontWeight="normal"}},get:function(){return this.state.font}},{key:"fillStyle",set:function(e){Nr(this,"setFillStyle",e)}},{key:"strokeStyle",set:function(e){Nr(this,"setStrokeStyle",e)}},{key:"globalAlpha",set:function(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}},{key:"textAlign",set:function(e){this.actions.push({method:"setTextAlign",data:[e]})}},{key:"lineCap",set:function(e){this.actions.push({method:"setLineCap",data:[e]})}},{key:"lineJoin",set:function(e){this.actions.push({method:"setLineJoin",data:[e]})}},{key:"lineWidth",set:function(e){this.actions.push({method:"setLineWidth",data:[e]})}},{key:"miterLimit",set:function(e){this.actions.push({method:"setMiterLimit",data:[e]})}},{key:"textBaseline",set:function(e){this.actions.push({method:"setTextBaseline",data:[e]})}}]),a}();function Nr(e,t,n){"string"==typeof n?e.actions.push({method:t,data:["normal",Er(n)]}):"object"===Y(n)&&n instanceof Or?e.actions.push({method:t,data:[n.type,n.data,n.colorStop]}):n instanceof Mr&&e.actions.push({method:t,data:["pattern",n.image,n.repetition]})}[].concat(["scale","rotate","translate","setTransform","transform"],["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"]).forEach(function(l){Rr.prototype[l]="fill"===l||"stroke"===l?function(){this.actions.push({method:l+"Path",data:Pr(this.path)})}:"fillRect"===l?function(e,t,n,r){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,r]}]})}:"strokeRect"===l?function(e,t,n,r){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,r]}]})}:"fillText"===l||"strokeText"===l?function(e,t,n,r){var o=[e.toString(),t,n];"number"==typeof r&&o.push(r),this.actions.push({method:l,data:o})}:"drawImage"===l?function(e,t,n,r,o,a,i,s,c){var u;e=Ar(this,e),void 0===c&&(a=t,i=n,s=r,c=o,o=r=n=t=void 0),u=Ir(t)&&Ir(n)&&Ir(r)&&Ir(o)?[e,a,i,s,c,t,n,r,o]:Ir(s)&&Ir(c)?[e,a,i,s,c]:[e,a,i],this.actions.push({method:l,data:u})}:"clearRect"===l?function(){this.useHardwareAccelerate=!1,this.actions.push({method:l,data:[].slice.apply(arguments)})}:function(){this.actions.push({method:l,data:[].slice.apply(arguments)})}}),["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"].forEach(function(t){"setFillStyle"===t||"setStrokeStyle"===t?Rr.prototype[t]=function(){var e=arguments[0];Nr(this,t,e)}:"setGlobalAlpha"===t?Rr.prototype[t]=function(){var e=[].slice.apply(arguments,[0,1]);e[0]=Math.floor(255*parseFloat(e[0])),this.actions.push({method:t,data:e})}:"setShadow"===t?Rr.prototype[t]=function(){var e=[].slice.apply(arguments,[0,4]);e[3]="ios"===Tr&&0===e[2]?[]:Er(e[3]),this.actions.push({method:t,data:e}),this.state.shadowBlur=e[2],this.state.shadowColor=e[3],this.state.shadowOffsetX=e[0],this.state.shadowOffsetY=e[1]}:"setLineDash"===t?Rr.prototype[t]=function(){var e=[].slice.apply(arguments,[0,2]);e[0]=e[0]||[0,0],e[1]=e[1]||0,this.actions.push({method:t,data:e}),this.state.lineDash=e[0]}:"setFontSize"===t?Rr.prototype.setFontSize=function(e){this.state.font=this.state.font.replace(/\d+\.?\d*px/,e+"px"),this.state.fontSize=e,this.actions.push({method:"setFontSize",data:[e]})}:Rr.prototype[t]=function(){this.actions.push({method:t,data:[].slice.apply(arguments,[0,1])})}});var Lr="undefined"==typeof __libVersionInfo__||"develop"===__libVersionInfo__.version?"9.9.9":__libVersionInfo__.version,Br=null,jr=function(e){ye.isReady||(new Error).stack;var t=Ce;Ke("getSystemInfo",e,{beforeSuccess:function(e){xe&&(e.brand="iPhone"),Te&&"devtools"!==e.brand&&(t="iPhone"===e.brand?"ios":"android"),e.platform=t,e.SDKVersion=Lr,ye.devicePixelRatio&&(e.devicePixelRatio=ye.devicePixelRatio),delete(Br=Object.assign({},e)).errMsg,4!==ye.appType&&delete e.benchmarkLevel}})},Fr=function(){var t={};return jr({success:function(e){delete e.errMsg,t=e,Br=Object.assign({},t)}}),t},Ur=function(){return Br||Fr()},Wr=function(){},Vr={},qr={},Kr={},Hr={},zr=0,Gr=0,Yr=4500,Jr=Date.now,Xr=Cr("onCanvasMethodCallback"),Qr=Cr("onDrawCanvas");function $r(){for(var e in Kr)-1<e.indexOf("canvas_"+Se.currentWebviewId+"_")&&delete Kr[e]}function Zr(e,t,n){var r={errMsg:e+": "+(n||"fail canvas is empty")},o=Reporter.surroundThirdByTryCatch(t.fail||Wr,"at api "+e+" fail callback function"),a=Reporter.surroundThirdByTryCatch(t.complete||Wr,"at api "+e+" complete callback function");o(r),a(r)}function eo(n){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",r=Sr(Se.currentWebviewId,n.canvasId,t,e),o=ft({},n);if("number"==typeof Kr[r]){if(o.canvasId=Kr[r],o.jsInvokedAt=Date.now(),o.x=Number(o.x)||0,o.y=Number(o.y)||0,o.width=Number(o.width)||0,o.height=Number(o.height)||0,0===o.width)return void Zr("canvasGetImageData",n,"the source width is 0");if(0===o.height)return void Zr("canvasGetImageData",n,"the source height is 0");if(Te)o.method="getImageData",Xr(o,function(e){var t={width:e.width,height:e.height,data:function(e){for(var t=window.atob(e),n=t.length,r=new Uint8ClampedArray(n),o=0;o<n;o++)r[o]=t.charCodeAt(o);return r}(e.data)};"function"==typeof n.success&&n.success(t),"function"==typeof n.complete&&n.complete(t)}),Ge("invokeCanvasMethod",o);else{var a=o.success,i=o.fail;o.success=function(e){"[object ArrayBuffer]"===Object.prototype.toString.call(e.data)?(e.width=o.width,e.height=o.height,e.data=new Uint8ClampedArray(e.data),"function"==typeof a&&a(e)):(delete e.data,e.errMsg="canvasGetImageData: fail","function"==typeof i&&i(e))},Ke("canvasGetImageData",o)}}else Zr("canvasGetImageData",n)}function to(e,t){eo(e,t&&t.__wxExparserNodeId__&&t.__wxExparserNodeId__!==__virtualDOM__.getRootNodeId(Se.currentWebviewId)?t.__wxExparserNodeId__:"")}function no(e,t,n){eo(e,n,t)}function ro(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",r=Sr(Se.currentWebviewId,e.canvasId,n,t),o=ft({},e);"number"==typeof o.width?o.data&&"[object Uint8ClampedArray]"===Object.prototype.toString.call(o.data)?"number"==typeof Kr[r]?(o.canvasId=Kr[r],o.jsInvokedAt=Date.now(),o.x=Number(o.x)||0,o.y=Number(o.y)||0,o.height="number"==typeof o.height?o.height:o.data.length/o.width/4|0,Te?(o.data=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return window.__global.btoa(t)}(o.data),o.method="putImageData",Ge("invokeCanvasMethod",o),"function"==typeof e.success&&e.success({errMsg:"canvasPutImageData:ok"}),"function"==typeof e.complete&&e.complete({errMsg:"canvasPutImageData:ok"})):(o.data=o.data.buffer,Ke("canvasPutImageData",o))):Zr("canvasPutImageData",e):Zr("canvasPutImageData",e,"data argument must be an Uint8ClampedArray"):Zr("canvasPutImageData",e,"invalid width argument")}function oo(e,t){ro(e,t&&t.__wxExparserNodeId__&&t.__wxExparserNodeId__!==__virtualDOM__.getRootNodeId(Se.currentWebviewId)?t.__wxExparserNodeId__:"")}function ao(e,t,n){ro(e,n,t)}function io(e,t){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=3<arguments.length?arguments[3]:void 0,o=4<arguments.length?arguments[4]:void 0,a=5<arguments.length?arguments[5]:void 0,i=6<arguments.length?arguments[6]:void 0;if(Te){var s={actions:t,reserve:n,canvasId:e};Qr(s,function(e){"function"==typeof i&&i({errMsg:e.errMsg})}),Ge("canvasActionsChanged",s)}else Ke("drawCanvas",{canvasId:e,reserve:n,useHardwareAccelerate:r,actions:t,success:o,fail:a,complete:i})}function so(e){var t=e.isWidgetCanvas,n=e.canvasId,r=e.actions,o=e.reserve,a=e.useHardwareAccelerate,i=e.success,s=e.fail,c=e.complete,u=1<arguments.length&&void 0!==arguments[1]?arguments[1]:Se.currentWebviewId,l=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"",f=Jr();if(Array.isArray(r)){if(t){if(f-zr<Yr){var p={errMsg:"drawCanvas:fail 调用 draw 过于频繁。"};return 500<(Gr+=1)&&(Gr=0,console.warn(p.errMsg)),void("function"==typeof s&&s(p))}return zr=f,void Ke("drawCanvas",{canvasId:g,reserve:o,actions:r,success:i,fail:s,complete:c})}if(n){var h=Sr(u,n,l,d);if("number"==typeof Kr[h]){var g=Kr[h];io(g,r,o,a,i,s,c)}else Hr[h]=Hr[h]||[],Hr[h]=Hr[h].concat({actions:r,reserve:o,useHardwareAccelerate:a,success:i,fail:s,complete:c})}}}function co(e){so(e)}function uo(e,t,n){so(e,Se.currentWebviewId,t,n)}"undefined"!=typeof __widgetConfig__&&(Yr="number"==typeof __widgetConfig__.drawMinInterval?__widgetConfig__.drawMinInterval:25),Ye("canvasInsert",function(e,t){var n=e.canvasId,r=e.canvasNumber,o=e.pluginId,a=e.data,i=e.position,s=e.nodeId,c=e.compPath,u=Sr(t,n,o,s);Vr[r]={lastTouches:[],data:a,compPath:c},Kr[u]=r,qr[r]=i,Array.isArray(Hr[u])&&(Hr[u].forEach(function(e){io(r,e.actions,e.reserve,e.useHardwareAccelerate,e.success,e.fail,e.complete)}),delete Hr[u])}),Ye("canvasUpdate",function(e){var t=e.canvasNumber,n=e.position;it(qr,t)&&(qr[t]=n)}),Ye("canvasRemove",function(e,t){var n=Sr(t,e.canvasId,e.pluginId,e.nodeId);Kr[n]&&delete Kr[n]});var lo=null,fo=function(e,t){var n=ft({},t);n.success=t.success,n.fail=t.fail,n.complete=t.complete;var r,o,a,i,s,c,u,l,d=300,f=150;it(qr,t.canvasId)&&(d=qr[t.canvasId].width,f=qr[t.canvasId].height),!xe||"6.5.10"!==e.version&&"6.5.11"!==e.version&&"6.5.12"!==e.version?(r=n,o=e.pixelRatio,a=d,i=f,r.x=r.x?r.x:0,r.y=r.y?r.y:0,(r.x<0||r.x>a)&&(r.x=0),(r.y<0||r.y>i)&&(r.y=0),r.width=r.width?Math.min(a-r.x,r.width):a-r.x,r.height=r.height?Math.min(i-r.y,r.height):i-r.y,r.destWidth=r.destWidth?r.destWidth:r.width*o,r.destHeight=r.destHeight?r.destHeight:r.height*o):(s=n,c=e.pixelRatio,u=d,l=f,u*=c,l*=c,s.x=s.x?s.x*c:0,s.y=s.y?s.y*c:0,(s.x<0||s.x>u)&&(s.x=0),(s.y<0||s.y>l)&&(s.y=0),s.width=s.width?Math.min(u-s.x,s.width*c):u-s.x,s.height=s.height?Math.min(l-s.y,s.height*c):l-s.y,s.destWidth=s.destWidth?s.destWidth/c:s.width/c,s.destHeight=s.destHeight?s.destHeight/c:s.height/c),Ke("canvasToTempFilePath",n)};function po(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"";if(e.canvasId){var r,o=Sr(Se.currentWebviewId,e.canvasId,n,t);"number"==typeof Kr[o]?(e.canvasId=Kr[o],(r=e).fileType=-1<["jpg","png"].indexOf(r.fileType)?r.fileType:"png",r.quality="jpg"===r.fileType?r.quality<0||1<r.quality?1:r.quality:1,r.jpgQuality=r.quality,Te?(r.method="toDataURL",Xr(r,function(e){var t=e.dataUrl;Ke("base64ToTempFilePath",ft({base64Data:t},r),{beforeAll:function(e){e.errMsg=e.errMsg.replace("base64ToTempFilePath","canvasToTempFilePath")}})}),Ge("invokeCanvasMethod",r)):(lo||(lo=Ur()),fo(lo,r))):Zr("canvasToTempFilePath",e)}}function ho(e,t){po(e,t&&t.__wxExparserNodeId__&&t.__wxExparserNodeId__!==__virtualDOM__.getRootNodeId(Se.currentWebviewId)?t.__wxExparserNodeId__:"")}function go(e,t,n){po(e,n,t)}function vo(){var n,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=Sr(Se.currentWebviewId,e.canvasId),r=Object.assign({},e),o=r.success,a=r.complete;r.success=function(e){var t="data:image/"+(r.fileType||"png")+";base64,"+e.data;"function"==typeof o&&o({dataURL:t}),"function"==typeof a&&a({dataURL:t})},r.complete=Wr,"number"==typeof Kr[t]?(r.canvasId=Kr[t],n=r,Te?(n.method="toDataURL",Xr(n,function(e){var t=e.dataUrl;n.success({data:t})}),Ge("invokeCanvasMethod",n)):Ke("canvasToData",n)):Zr("canvasToDataURL",e)}var _o=function(){return new Rr},yo=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"";return new Rr(e,t,n,r)},mo=function(e,t){var n=t&&t.__wxExparserNodeId__&&t.__wxExparserNodeId__!==__virtualDOM__.getRootNodeId(Se.currentWebviewId)?t.__wxExparserNodeId__:"";return yo(Se.currentWebviewId,e,n)},bo=function(e,t,n){return yo(Se.currentWebviewId,e,n,t)},wo=En("AppRoute"),So=wo.internalOnMethod,Co=wo.internalOffMethod;ze("onAppRoute",function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;if(e.path=gt(e.path),e.webviewId=void 0!==e.webviewId?e.webviewId:t,Se.lastRoute=e.path,"appLaunch"!==e.openType&&"autoReLaunch"!==e.openType)for(var n in e.query)try{e.query[n]=decodeURIComponent(e.query[n])}catch(e){}Se.query=e.query,"navigateBack"!==e.openType&&"redirectTo"!==e.openType||$r(),Se.currentWebviewId=e.webviewId,Ge("onAppRoute",e,[]),Sn()&&wn.emitter.emit("onAppRoute"),wo.emit(e)});var To=!1,ko=null,xo=null;So(function(){To=!0}),br(function(){To=!1,ko&&(Eo(ko),ko=null),xo&&(Po(xo),xo=null)});var Io,Eo=function(e){Xe("addCard",e,{cardList:[]})&&(To?ko=e:Ke("addCard",e))},Po=function(e){Xe("openCard",e,{cardList:[]})&&(To?xo=e:Ke("openCard",e))},Ao=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("checkIsSupportSoterAuthentication",e,{})},Oo=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("startSoterAuthentication",t,{challenge:""})){var n=t.success;Ke("startSoterAuthentication",Object.assign({},t,{success:function(e){0!==e.errCode?"function"==typeof t.fail&&Reporter.surroundThirdByTryCatch(t.fail,"at api startSoterAuthentication fail callback function")(e):"function"==typeof n&&Reporter.surroundThirdByTryCatch(n,"at api startSoterAuthentication success callback function")(e)}}),{beforeSuccess:function(e){"number"==typeof e.errCode&&0!==e.errCode&&(e.errMsg="startSoterAuthentication:fail")}})}},Do=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("checkIsSoterEnrolledInDevice",e,{checkAuthMode:""})&&Ke("checkIsSoterEnrolledInDevice",e,{})},Mo=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("openGoldenRedPacketDetail",e,{})},Ro=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("sendGoldenRedPacket",e,{})},No=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("sendBizRedPacket",e,{})},Lo=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("sendRedPacket",e,{})},Bo=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("openRedPacket",e,{})},jo=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("checkIsSupportFacialRecognition",e,{})},Fo=function(e){return JSON.stringify({name:e.name,id_card_number:e.idCardNumber,mobile:e.mobile,outer_verify_id:e.outerVerifyId,user_id_key:e.userIdKey})},Uo=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=Fo(e);Ke("startFacialRecognitionVerify",ft(e,{requestVerifyPreInfo:t}),{})},Wo=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=Fo(e);Ke("startCustomFacialRecognitionVerify",ft(e,{requestVerifyPreInfo:t}),{})},Vo=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=Fo(e);Ke("startFacialRecognitionVerifyAndUploadVideo",ft(e,{requestVerifyPreInfo:t}),{})},qo=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=Fo(e);Ke("startCustomFacialRecognitionVerifyAndUploadVideo",ft(e,{requestVerifyPreInfo:t}),{})};var Ko,Ho=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("authorize",e,{scope:""})&&("scope.userInfo"!==e.scope||Wt("getUserInfo")||Wt("authorize")?Ke("authorize",ft(e,{scope:[e.scope]}),{beforeAll:function(e){delete e.body,void 0!==e.err_code&&(e.errCode=e.err_code,delete e.err_code)}}):Qe("authorize",e,!1,"scope unauthorized"))},zo=qt("getOpenDeviceId","webapi_getdeviceinfo"),Go=(qt("checkIsUserAdvisedToRest ","webapi_getplaytimelimit",{},{},function(e){var t=e.todayPlayedTime;return{today_played_seconds:void 0===t?0:t}},function(e){e.result=!e.is_healthy,delete e.is_healthy}),parseInt(Date.now()/1e3,10)),Yo=function(e,t){var n=[e,t].join(",");Reporter.reportKeyValue({key:"NavigateToMiniProgramAlert",value:n})},Jo=(Ko=[],ye.onReady(function(){Array.isArray(ye.navigateToMiniProgramAppIdList)&&(Ko=ye.navigateToMiniProgramAppIdList)}),function(n,r){return new Promise(function(e,t){!Wt("navigateToMiniProgramConfig")||Te?r?e():-1<Ko.indexOf(n)?e({sourcetype:4}):t({errMsg:'appId "'+n+'" is not in navigateToMiniProgramAppIdList'}):e()})}),Xo=function(s){var c="_checkBeforeNavigateToMiniProgram";return new Promise(function(i,r){var e;(e=s,new Promise(function(o,t){Pe({apiName:"webapi_getnavigatewxaappinfo",reqData:{target_appid:e.appId},success:function(e){var t=JSON.parse(e.respData.data),n=t.action_code,r=t.skip_local_check;o({actionCode:n,skipLocalCheck:r,reason:t.reason,wording:t.wording})},fail:function(e){t(e)}})})).then(function(e){var o=e.actionCode,t=e.skipLocalCheck,n=e.reason,a=e.wording;1!==o&&2!==o?(Qe(c,s,!1,n,null,{},!1),r({errMsg:n})):Jo(s.appId,t).then(function(){var e,t,r,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return(e=a,t=o,r=s.appId,1===t?Promise.resolve():new Promise(function(t,n){Ke("showModal",{title:"",content:e,confirmText:"允许",cancelText:"取消",showCancel:!0,confirmColor:"#576B95",cancelColor:"#000000",success:function(e){e.confirm?(Yo(1,r),t()):(Yo(2,r),n({errMsg:"cancel"}))},fail:function(){Yo(3,r),n()}})})).then(function(){Qe(c,s,!0,"",null,{sourcetype:n.sourcetype}),i(n)})}).catch(function(e){var t=e.errMsg;Qe(c,s,!1,t,null,{},!1),r({errMsg:t})})},function(){Qe(c,s,!0),i()})})},Qo=function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("navigateToMiniProgram",n,{appId:""})&&Xo({appId:n.appId}).then(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};!function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};delete e.sourcetype,delete e.preScene,delete e.preSceneNote,7!==ye.appType&&(delete e.scene,delete e.sceneNote);var n=Xn();n?(e.privateExtraData=e.privateExtraData||{},e.privateExtraData.cookies=n):e.privateExtraData&&delete e.privateExtraData.cookies,"string"==typeof e.path&&0<e.path.trim().length?Ke("navigateToMiniProgram",Object.assign({},e,t,{path:ht(e.path).trim()})):Ke("navigateToMiniProgram",Object.assign({},e,t,{path:void 0}))}(n,{sourcetype:e.sourcetype})},function(e){var t=e.errMsg;Qe("navigateToMiniProgram",n,!1,t)})},$o=!1,Zo=0;Ye("tapAnyWhere",function(e){Zo=e.timeStamp,$o=!0}),tr(function(){Zo=0,$o=!1});var ea=function(){Zo=Date.now(),$o=!0},ta=function(e){var t=ye.accountInfo.appId;0===ye.appType&&"wx308bd2aeb83d3345"!==t&&"wxc98889eca359c1e5"!==t?$o?(Qo(e),It({name:"navigateToMiniProgram",scene:0,strategy:0,timeDiffToLastTap:0===Zo?-2:Date.now()-Zo})):Qe("navigateToMiniProgram",e,!1,"can only be invoked by user TAP gesture."):Qo(e)};ze("onMapMarkerClick",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;if(ea(),e.data&&"function"==typeof Se.webviewEventCallback){var n=JSON.parse(e.data);n.bindmarkertap&&Se.webviewEventCallback({data:{type:"markertap",target:n.target,currentTarget:n.target,timeStamp:Date.now(),touches:[],detail:{markerId:n.markerId},markerId:n.markerId},eventName:n.bindmarkertap,webviewId:t,nodeId:n.nodeId})}}),ze("onMapCalloutClick",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;if(ea(),e.data&&"function"==typeof Se.webviewEventCallback){var n=JSON.parse(e.data);n.bindcallouttap&&Se.webviewEventCallback({data:{type:"callouttap",target:n.target,currentTarget:n.target,timeStamp:Date.now(),touches:[],detail:{markerId:n.markerId},markerId:n.markerId},eventName:n.bindcallouttap,webviewId:t,nodeId:n.nodeId})}}),ze("onMapControlClick",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;if(ea(),e.data&&"function"==typeof Se.webviewEventCallback){var n=JSON.parse(e.data);n.bindcontroltap&&Se.webviewEventCallback({data:{type:"controltap",target:n.target,currentTarget:n.target,timeStamp:Date.now(),touches:[],detail:{controlId:n.controlId},controlId:n.controlId},eventName:n.bindcontroltap,webviewId:t,nodeId:n.nodeId})}}),ze("onMapRegionChange",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=nn[t+"_"+e.mapId];n&&n.bindregionchange&&"function"==typeof Se.webviewEventCallback&&Se.webviewEventCallback({data:{target:n.target,currentTarget:n.target,timeStamp:Date.now(),touches:[],detail:{type:e.type,rotate:e.rotate,skew:e.skew},type:e.type,causedBy:e.causedBy||""},eventName:n.bindregionchange,webviewId:t,nodeId:n.nodeId})}),ze("onMapClick",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;ea();var n=nn[t+"_"+e.mapId];n&&n.bindtap&&"function"==typeof Se.webviewEventCallback&&Se.webviewEventCallback({data:{type:"tap",target:n.target,currentTarget:n.target,timeStamp:Date.now(),touches:[],detail:{}},eventName:n.bindtap,webviewId:t,nodeId:n.nodeId})}),ze("onMapPoiClick",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;ea();var n=nn[t+"_"+e.mapId];if(n&&n.bindpoitap&&"function"==typeof Se.webviewEventCallback){var r={name:e.name,longitude:e.longitude,latitude:e.latitude};e.buildingId&&(r.buildingId=e.buildingId),e.floorName&&(r.floorName=e.floorName),Se.webviewEventCallback({data:{target:n.target,currentTarget:n.target,timeStamp:Date.now(),touches:[],detail:r},eventName:n.bindpoitap,webviewId:t,nodeId:n.nodeId})}}),ze("onMapIndoorChange",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=nn[t+"_"+e.mapId];n&&n.bindindoorchange&&"function"==typeof Se.webviewEventCallback&&Se.webviewEventCallback({data:{target:n.target,currentTarget:n.target,timeStamp:Date.now(),touches:[],detail:{},info:{buildingId:e.buildingId,buildingName:e.buildingName,floorIndex:e.floorIndex,floorList:e.floorList}},eventName:n.bindindoorchange,webviewId:t,nodeId:n.nodeId})});var na={onTouchStart:"touchstart",onTouchMove:"touchmove",onTouchEnd:"touchend",onTouchCancel:"touchcancel",onLongPress:"longtap"};ye.onReady(function(){["onTouchStart","onTouchMove","onTouchEnd","onTouchCancel","onLongPress"].forEach(function(u){An(u,function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=JSON.parse(e.data||"{}"),r=n.canvasNumber,o=n.type;if("TextView"!==o&&"ImageView"!==o&&it(Vr,r)){var a=Vr[r].data,i=function(e,t,n){var r=[],o=[];if("onTouchStart"===t){for(var a in e)r.push(e[a]);var i={x:n.touch.x,y:n.touch.y,identifier:n.touch.id};o.push(i),r.push(i)}else if("onTouchMove"===t)for(var s in e){var c=e[s],u=!1;for(var l in n.touches){var d={x:n.touches[l].x,y:n.touches[l].y,identifier:n.touches[l].id};if(d.identifier===c.identifier&&(c.x!==d.x||c.y!==d.y)){r.push(d),o.push(d),u=!0;break}}u||r.push(c)}else if("onTouchEnd"===t){var f={x:n.touch.x,y:n.touch.y,identifier:n.touch.id};for(var p in e){var h=e[p];h.identifier===f.identifier?o.push(f):r.push(h)}}else if("onTouchCancel"===t)for(var g in n.touches){var v={x:n.touches[g].x,y:n.touches[g].y,identifier:n.touches[g].id};o.push(v)}else if("onLongPress"===t){var _={x:n.touch.x,y:n.touch.y,identifier:n.touch.id};for(var y in e)e[y].identifier===_.identifier?r.push(_):r.push(e[y]);o.push(_)}return{touches:r,changedTouches:o}}(a.lastTouches,u,e),s=i.touches,c=i.changedTouches;a.lastTouches=s,a[u]&&"function"==typeof Se.webviewEventCallback&&("onTouchMove"===u&&0===c.length||Se.webviewEventCallback({data:{type:na[u],timeStamp:new Date-a.startTime,target:a.target,touches:s,changedTouches:c},eventName:a[u],webviewId:t,nodeId:n.nodeId}))}})})});var ra=["onVideoPlay","onVideoPause","onVideoEnded","onVideoTimeUpdate","onVideoClickFullScreenBtn","onVideoClickDanmuBtn","onVideoFullScreenChange","onVideoWaiting","onVideoError","onVideoLoadedData","onVideoLoadedMetaData","onVideoLoadStart","onVideoSeeked","onVideoSeeking","onVideoProgress"];ke&&ye.useXWebVideo&&(ra=ra.map(function(e){return e.replace("on","onXWeb")}).concat(ra)),ye.onReady(function(){ra.forEach(function(d){An(d,function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0,n="bind"+d.replace("XWeb","").substring(7).toLowerCase(),r=JSON.parse(e.data),o=r.handlers,a=r.event,i=r.createdTimestamp,s=r.nodeId;if(o&&o){"onVideoFullScreenChange"===d&&Ge("videoFullScreenChange",e,[t]);var c=JSON.parse(e.data);switch(e.videoPlayerId=e.videoPlayerId||c&&c.videoPlayerId||"-1000",d){case"onVideoLoadedMetaData":Ge("onVideoLoadedMetaData"+e.videoPlayerId,{},[t]);break;case"onVideoWaiting":Ge("onVideoWaiting"+e.videoPlayerId,{},[t]);break;case"onVideoError":Ge("onVideoError"+e.videoPlayerId,{errMsg:e.errMsg},[t]);break;case"onVideoPlay":Ge("onVideoPlay"+e.videoPlayerId,{},[t]);break;case"onVideoPause":Ge("onVideoPause"+e.videoPlayerId,{},[t]);break;case"onVideoEnded":Ge("onVideoEnded"+e.videoPlayerId,{},[t]);break;case"onVideoFullScreenChange":Ge("onVideoFullScreenChange"+e.videoPlayerId,{fullScreen:e.fullScreen},[t]);break;case"onVideoProgress":Ge("onVideoProgress"+e.videoPlayerId,{buffered:e.buffered},[t])}if(o[n]&&"function"==typeof Se.webviewEventCallback){var u={type:n.substring(4),target:a.target,currentTarget:a.currentTarget,timeStamp:(e.timeStamp||Date.now())-i,detail:{}};if("bindtimeupdate"===n&&(u.detail={currentTime:e.position,duration:e.duration}),"bindfullscreenchange"===n){var l=e.direction;l=0===l||180===l||"vertical"===l?"vertical":"horizontal",u.detail={fullScreen:e.fullScreen,direction:l}}"binderror"===n?u.detail={errMsg:e.errMsg}:"bindprogress"===n&&(u.detail={buffered:e.buffered}),Se.webviewEventCallback({data:u,eventName:o[n],webviewId:t,nodeId:s})}}})})}),ze("onScrollViewScroll",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;if(e.data&&"function"==typeof Se.webviewEventCallback){var n=JSON.parse(e.data);n.bindscroll&&Se.webviewEventCallback({data:{type:"scroll",target:n.target,currentTarget:n.target,detail:{scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop},timeStamp:Date.now()-n.timeStamp},eventName:n.bindscroll,webviewId:t,nodeId:n.nodeId})}});var oa={},aa={},ia={},sa=[],ca={},ua=new Lt,la=new WeakMap;var da,fa,pa=(da=[],fa=1,Ye("onOperateCameraCallback",function(r){da.forEach(function(e){var t=e[0],n=e[1];t.cid===r.cid&&t.cameraId===r.cameraId&&n(r)}),da=[]}),function(e,t){e.cid=fa++,da.push([e,t])});Ye("cameraInserted",function(e,t){var n=e.cameraId,r=e.pluginId,o=e.bindings;oa[t+"_"+r]=n,aa[t+"_"+n]=o,ua.emit("cameraInsert")}),Ye("cameraUpdated",function(e,t){var n=e.cameraId,r=e.hidden;ia[t+"_"+n]=r}),Ye("cameraRemoved",function(e,t){var n=e.cameraId,r=e.pluginId;delete oa[t+"_"+r],delete aa[t+"_"+n],delete ia[t+"_"+n]}),br(function(){if(void 0!==__appServiceEngine__&&"function"===__appServiceEngine__.getCurrentPagesByDomain){var n=__appServiceEngine__.getCurrentPagesByDomain("").map(function(e){return e.__wxWebviewId__});Object.keys(oa).forEach(function(e){var t=e.split("_").shift();-1===n.indexOf(Number(t))&&(delete aa[t+"_"+oa[e]],delete ia[t+"_"+oa[e]],delete oa[e],ca[t]&&(ca[t].forEach(function(e){clearTimeout(e)}),delete ca[t]))})}}),ze("onCameraVideoTaken",function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;sa.forEach(function(e){e(t,n)})});var ha=function(){function n(e,t){$e(this,n),this.webviewId=e,this.pluginId=t}return Ot(n,[{key:"_invoke",value:function(o,a){a.type=o,Te?(pa(a,function(e){var r=e.imageData,t=e.videoData;function n(t,n){Ke("base64ToTempFilePath",Object.assign({fileType:"jpg",base64Data:r},t),{beforeAll:function(e){"takePhoto"===t.type?e.tempImagePath=e.tempFilePath:e.tempFilePath&&(e.tempThumbPath=e.tempFilePath),n&&(e.tempVideoPath=n),e.errMsg=e.errMsg.replace("base64ToTempFilePath",o),delete e.tempFilePath}})}t?Ke("base64ToTempFilePath",{fileType:"webm",base64Data:t,complete:function(e){n(a,e.tempFilePath)}}):"startRecord"===o?("function"==typeof a.success&&a.success({errMsg:"startRecord:ok"}),"function"==typeof a.complete&&a.complete({errMsg:"startRecord:ok"})):n(a)}),Ge("operateCamera",a,[this.webviewId])):Ke("operateCamera",a)}},{key:"_invokeMethod",value:function(e,t){var n=this,r=this.webviewId+"_"+this.pluginId;if("number"==typeof oa[r]||oa[r]){var o=aa[this.webviewId+"_"+oa[r]];if(o.isCancelAuth)return"function"==typeof t.fail&&t.fail({errMsg:"user cancel auth"}),void("function"==typeof t.complete&&t.complete({errMsg:"user cancel auth"}));if("scanCode"===o.mode&&("takePhoto"===e||"startRecord"===e))return"function"==typeof t.fail&&t.fail({errMsg:"Not allow to invoke takePhoto in 'scanCode' mode."}),void("function"==typeof t.complete&&t.complete({errMsg:"Not allow to invoke takePhoto in 'scanCode' mode."}));t.cameraId=oa[r],this._invoke(e,t)}else ua.once("cameraInsert",function(){n._invokeMethod(e,t)})}},{key:"takePhoto",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=this.webviewId+"_"+this.pluginId;if(ia[this.webviewId+"_"+oa[t]])return"function"==typeof e.fail&&e.fail({errMsg:"Not allow to invoke takePhoto if camera is hidden."}),void("function"==typeof e.complete&&e.complete({errMsg:"Not allow to invoke takePhoto if camera is hidden."}));this._invokeMethod("takePhoto",e)}},{key:"startRecord",value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ho({scope:"scope.record",success:function(){la.set(e,!0),e._startRecord(t)},fail:function(){"function"==typeof t.fail&&t.fail({errMsg:"Failed to invoke 'startRecord' on 'CameraContext': not allowed to use microphone."}),"function"==typeof t.complete&&t.complete({errMsg:"Failed to invoke 'startRecord' on 'CameraContext': not allowed to use microphone."})}})}},{key:"_startRecord",value:function(){var o=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(la.get(this)){var t=this.webviewId+"_"+this.pluginId;if(ia[this.webviewId+"_"+oa[t]])return"function"==typeof e.fail&&e.fail({errMsg:"Not allow to invoke takePhoto if camera is hidden."}),void("function"==typeof e.complete&&e.complete({errMsg:"Not allow to invoke takePhoto if camera is hidden."}));var a=e.timeoutCallback,n=e.fail;if(e.fail=function(e){o._isRecording=!1,clearTimeout(i),"function"==typeof n&&n(e)},this._invokeMethod("startRecord",e),!this._isRecording){this._isRecording=!0;var r="number"==typeof e.timeout?Math.max(0,e.timeout):30,i=this._timer=setTimeout(function(){o._isRecording&&(o.stopRecord({complete:a||function(){}}),o._isRecording=!1)},1e3*r);0===r?clearTimeout(i):ca[this.webviewId]?ca[this.webviewId].push(i):ca[this.webviewId]=[i];var s=this._videoTaken=function(e,t){var n=t+"_"+o.pluginId;if(e.cameraId===oa[n]){var r=sa.indexOf(s);-1<r&&sa.splice(r,1),o._isRecording&&(delete e.cameraId,"function"==typeof a&&a(e),o._isRecording=!1,clearTimeout(i))}};sa.push(s)}}}},{key:"stopRecord",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=sa.indexOf(this._videoTaken);-1<t&&(sa.splice(t,1),this._videoTaken=null),this._invokeMethod("stopRecord",e),this._isRecording=!1,clearTimeout(this._timer)}}]),n}();function ga(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"";return new ha(t,r)}ze("onCameraNeedAuthCancel",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=aa[t+"_"+e.cameraId];n&&n.binderror&&"function"==typeof Se.webviewEventCallback&&Se.webviewEventCallback({data:{type:"error",target:n.target,currentTarget:n.target,timeStamp:Date.now()-n.createdTimeStamp,detail:{msg:"user cancel auth"}},eventName:n.binderror,webviewId:t,nodeId:n.nodeId}),n&&(n.isCancelAuth=!0)}),ze("onCameraStop",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=aa[t+"_"+e.cameraId];n&&n.bindstop&&"function"==typeof Se.webviewEventCallback&&Se.webviewEventCallback({data:{type:"stop",target:n.target,currentTarget:n.target,timeStamp:Date.now()-n.createdTimeStamp,detail:{}},eventName:n.bindstop,webviewId:t,nodeId:n.nodeId})}),ze("onCameraScanCode",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=aa[t+"_"+e.cameraId];if(n&&n.bindscancode&&"function"==typeof Se.webviewEventCallback){var r={data:{type:"scancode",target:n.target,currentTarget:n.target,timeStamp:Date.now()-n.createdTimeStamp,detail:{type:e.type,result:e.result,rawData:e.rawData,charSet:e.charSet}},eventName:n.bindscancode,webviewId:t,nodeId:n.nodeId};"barcode"===e.type&&(delete r.data.detail.rawData,delete r.data.detail.charSet),Se.webviewEventCallback(r)}});var va={"":null},_a=function(t,n,r){return n?void 0!==va[n+":"+t]?r():(Bn("getPluginPermissionBytes",{pluginId:n,apiName:t},null,function(e){va[n+":"+t]=e.bytes,r()}),null):r()},ya=function(e,t){return t?va[t+":"+e]:null},ma=Te,ba={},wa={},Sa=new Lt,Ca={},Ta=new WeakMap,ka={},xa=["play","stop","mute","pause","resume","requestFullScreen","exitFullScreen"];function Ia(e){Ca[e]||(Ca[e]=!0,en(e,function(t){delete Ca[t],Object.keys(ba).forEach(function(e){new RegExp("^"+t).test(e)&&(delete wa[t+"_"+ba[e]],delete ba[e])}),Object.keys(ka).forEach(function(e){new RegExp("^api_"+t).test(e)?(delete wa[t+"_"+ba[e.substr(4)]],delete ka[e]):new RegExp("^SQ_"+t).test(e)&&(delete wa[e.substr(3)],delete ka[e])}),delete Na[t]}))}Ye("livePlayerInsert",function(e,t){var n=e.domId,r=e.playerId,o=e.pluginId,a=e.data,i=e.nodeId,s=t+"_"+o+"_"+n+"_";i&&i!==__virtualDOM__.getRootNodeId(t)&&(s+=i),ba[s]=r,wa[t+"_"+r]=a||{},_a("operateLivePlayer",o,function(){Sa.emit("livePlayerInsert")}),Ia(t),function(e){var t=Na[e];if(Na[e]=[],!t)return;for(var n=0;n<t.length;n++){var r=t[n];La(r[0],r[1],r[2])}}(t)}),Ye("livePlayerRemoved",function(e,t){var n=e.domId,r=e.playerId,o=e.pluginId,a=e.nodeId,i=t+"_"+o+"_"+n+"_";a&&a!==__virtualDOM__.getRootNodeId(t)&&(i+=a),delete ba[i],delete wa[t+"_"+r];var s="api_"+t+"_"+o+"_"+n+"_";a&&a!==__virtualDOM__.getRootNodeId(t)&&(s+=a);var c="SQ_"+t+"_"+r;delete ka[s],delete ka[c]});var Ea=function e(){$e(this,e)},Pa=function(){function e(){var t=this;$e(this,e);var n=this.exportContext=new Ea;xa.forEach(function(e){return n[e]=t[e].bind(t)})}return Ot(e,[{key:"play",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=this._getAppStatus();t===be||t===we||this._invokeMethod("play",[],e)}},{key:"stop",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._invokeMethod("stop",[],e)}},{key:"mute",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._invokeMethod("mute",[],e)}},{key:"pause",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._invokeMethod("pause",[],e)}},{key:"resume",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._invokeMethod("resume",[],e)}},{key:"requestFullScreen",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.direction;-1<[0,90,-90].indexOf(t)?this._invokeMethod("requestFullScreen",[t],e):this._invokeMethod("requestFullScreen",[],e),Ta.set(this,!0)}},{key:"exitFullScreen",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._invokeMethod("exitFullScreen",[],e),this.showStatusBar(),Ta.set(this,!1)}},{key:"showStatusBar",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("showStatusBar",e)}},{key:"hideStatusBar",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(!Ta.get(this)){var t="hideStatusBar:fail cannot be invoked but in fullscreen.";return"function"==typeof e.fail&&e.fail({errMsg:t}),void("function"==typeof e.complete&&e.complete({errMsg:t}))}Ke("hideStatusBar",e)}},{key:"_invokeMethodWithId",value:function(e,t,n,r){var o=this;"number"==typeof e&&void 0!==ya("operateLivePlayer",this.pluginId)?(ma&&(r.type=t,r.playerId=e,r.permissionBytes=ya("operateLivePlayer",this.pluginId)||void 0,Ge("operateLivePlayer",r,[this.webviewId])),function(){Ke("operateLivePlayer",{data:n,type:t,livePlayerId:e,permissionBytes:ya("operateLivePlayer",this.pluginId)||void 0,success:r.success,fail:r.fail,complete:r.complete})}.apply(this)):Sa.once("livePlayerInsert",function(){o._invokeMethod(t,n,r)})}},{key:"_getAppStatus",value:function(){return Se.appStatus}},{key:"_getHanged",value:function(){return Se.hanged}}]),e}(),Aa=function(e){function a(e,t,n,r){var o;if($e(this,a),o=et(this,tt(a).call(this)),"string"!=typeof e)throw new _t("Parameter 1 should be a string");return o.domId=e,o.webviewId=t,o.nodeId=n,o.pluginId=r,o}return rt(a,Pa),Ot(a,[{key:"_invokeMethod",value:function(e,t,n){var r=this.webviewId+"_"+this.pluginId+"_"+this.domId+"_"+this.nodeId,o=ba[r];this._invokeMethodWithId(o,e,t,n)}}]),a}(),Oa=function(e){function r(e,t){var n;return $e(this,r),(n=et(this,tt(r).call(this))).playerId=e,n.webviewId=t,n}return rt(r,Pa),Ot(r,[{key:"_invokeMethod",value:function(e,t,n){var r=this.playerId;this._invokeMethodWithId(r,e,t,n)}}]),r}();function Da(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"",o="api_"+t+"_"+r+"_"+e+"_";if(n&&n!==__virtualDOM__.getRootNodeId(t)&&(o+=n),ka[o])return ka[o].exportContext;var a=new Aa(e,t,n,r);return(ka[o]=a).exportContext}function Ma(e,t){var n="SQ_"+t+"_"+e;if(ka[n])return ka[n].exportContext;var r=new Oa(e,t);return(ka[n]=r).exportContext}var Ra={onLivePlayerEvent:"bindstatechange",onLivePlayerNetStatus:"bindnetstatus"},Na={};function La(e,t,n){var r=wa[n+"_"+t.livePlayerId],o=Ra[e];if(!r)return Na[n]=Na[n]||[],void Na[n].push([e,t,n]);if(r.handlers[o]&&"function"==typeof Se.webviewEventCallback){var a={};switch(e){case"onLivePlayerEvent":a.code=t.errCode,a.message=t.errMsg,Ge("onLivePlayerStateChange"+t.livePlayerId,{code:t.errCode},[n]);break;case"onLivePlayerNetStatus":t.info=t.info||{},a.info={videoBitrate:t.info.VIDEO_BITRATE,audioBitrate:t.info.AUDIO_BITRATE,videoFPS:t.info.VIDEO_FPS,videoGOP:t.info.VIDEO_GOP,netSpeed:t.info.NET_SPEED,netJitter:t.info.NET_JITTER,videoWidth:t.info.VIDEO_WIDTH,videoHeight:t.info.VIDEO_HEIGHT},Ge("onLivePlayerNetStatusChange"+t.livePlayerId,{info:a.info},[n])}Se.webviewEventCallback({data:{type:o.replace("bind",""),target:r.target,currentTarget:r.target,timeStamp:Date.now()-r.createdTimeStamp,touches:[],detail:a},eventName:r.handlers[o],webviewId:n,nodeId:r.nodeId})}}["onLivePlayerEvent","onLivePlayerNetStatus"].forEach(function(n){ze(n,function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0;La(n,e,t)})}),ze("onLivePlayerFullScreenChange",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0;Ge("videoFullScreenChange",e,[t]),Ge("videoFullScreenChange"+e.livePlayerId,{fullScreen:e.fullScreen},[t]);var n=wa[t+"_"+e.livePlayerId];n&&n.handlers.bindfullscreenchange&&"function"==typeof Se.webviewEventCallback&&Se.webviewEventCallback({data:{type:"fullscreenchange",target:n.target,currentTarget:n.target,timeStamp:Date.now()-n.createdTimeStamp,touches:[],detail:{fullScreen:e.fullScreen,direction:0===e.direction||180===e.direction||"vertical"===e.direction?"vertical":"horizontal"}},eventName:n.handlers.bindfullscreenchange,webviewId:t,nodeId:n.nodeId})});var Ba={},ja={},Fa=new Lt,Ua={};function Wa(e){Ua[e]||(Ua[e]=!0,en(e,function(t){delete Ua[t],Object.keys(Ba).forEach(function(e){new RegExp("^"+t).test(e)&&(delete ja[t+"_"+Ba[e]],delete Ba[e])}),delete za[t]}))}function Va(e,t){var n,r,o=this,a=this.webviewId+"_"+this.pluginId;"number"==typeof Ba[a]&&void 0!==ya("operateLivePusher",this.pluginId)?(t.livePusherId=Ba[a],t.type=e,t.permissionBytes=ya("operateLivePusher",this.pluginId)||void 0,n=e,r=t,Te?console.warn("开发者工具暂不支持调用 LivePusherContext."+n+" 方法"):Ke("operateLivePusher",r)):Fa.once("livePusherInserted",function(){Va.call(o,e,t)})}Ye("livePusherInserted",function(e,t){var n=e.pusherId,r=e.pluginId,o=e.data,a=t+"_"+r;Ba[a]=n,ja[t+"_"+n]=o,_a("operateLivePusher",r,function(){Fa.emit("livePusherInserted")}),Wa(t),function(e){var t=za[e];if(za[e]=[],!t)return;for(var n=0;n<t.length;n++){var r=t[n];Ga(r[0],r[1],r[2])}}(t)}),Ye("livePusherRemoved",function(e,t){var n=e.pusherId,r=e.pluginId;delete Ba[t+"_"+r],delete ja[t+"_"+n]});var qa=function(){function n(e,t){$e(this,n),this.webviewId=e,this.pluginId=t}return Ot(n,[{key:"start",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Va.call(this,"start",e)}},{key:"stop",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Va.call(this,"stop",e)}},{key:"pause",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Va.call(this,"pause",e)}},{key:"resume",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Va.call(this,"resume",e)}},{key:"switchCamera",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Va.call(this,"switchCamera",e)}},{key:"snapshot",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Va.call(this,"snapshot",e)}},{key:"toggleTorch",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Va.call(this,"toggleTorch",e)}},{key:"playBGM",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("LivePusherContext.playBGM",e,{url:""})&&Va.call(this,"playBGM",e)}},{key:"stopBGM",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Va.call(this,"stopBGM",e)}},{key:"pauseBGM",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Va.call(this,"pauseBGM",e)}},{key:"resumeBGM",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Va.call(this,"resumeBGM",e)}},{key:"setBGMVolume",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("LivePusherContext.setBGMVolume",e,{volume:0})&&Va.call(this,"setBGMVolume",e)}}]),n}();function Ka(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"";return new qa(t,r)}var Ha={onLivePusherEvent:"bindstatechange",onLivePusherNetStatus:"bindnetstatus",onLivePusherBGMStart:"bindbgmstart",onLivePusherBGMProgress:"bindbgmprogress",onLivePusherBGMComplete:"bindbgmcomplete",onLivePusherError:"binderror"},za={};function Ga(e,t,n){var r=ja[n+"_"+t.livePusherId],o=Ha[e];if(!r)return za[n]=za[n]||[],void za[n].push([e,t,n]);if(r.handlers[o]&&"function"==typeof Se.webviewEventCallback){var a={};switch(e){case"onLivePusherEvent":a.code=t.errCode,a.message=t.errMsg,Ge("onLivePusherStateChange"+t.livePusherId,{code:t.errCode},[n]);break;case"onLivePusherNetStatus":t.info=t.info||{},a.info={videoBitrate:t.info.VIDEO_BITRATE,audioBitrate:t.info.AUDIO_BITRATE,videoFPS:t.info.VIDEO_FPS,videoGOP:t.info.VIDEO_GOP,netSpeed:t.info.NET_SPEED,netJitter:t.info.NET_JITTER,videoWidth:t.info.VIDEO_WIDTH,videoHeight:t.info.VIDEO_HEIGHT},Ge("onLivePusherNetStatusChagne"+t.livePusherId,{info:a.info},[n]);break;case"onLivePusherBGMProgress":a.progress=t.progress,a.duration=t.duration;break;case"onLivePusherBGMComplete":a.errCode=t.errCode;break;case"onLivePusherError":a.errCode=t.errCode,a.errMsg=t.errMsg,a.data=t.data,Ge("onLivePusherError"+t.livePusherId,{errcode:t.errcode},[n])}Se.webviewEventCallback({data:{type:o.replace("bind",""),target:r.target,currentTarget:r.target,timeStamp:Date.now()-r.createdTimeStamp,touches:[],detail:a},eventName:r.handlers[o],webviewId:n,nodeId:r.nodeId})}}["onLivePusherEvent","onLivePusherNetStatus","onLivePusherBGMStart","onLivePusherBGMProgress","onLivePusherBGMComplete","onLivePusherError"].forEach(function(n){ze(n,function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;Ga(n,e,t)})});var Ya={},Ja=new Lt,Xa={};Ye("audioInsert",function(e,t){var n,r=e.audioId,o=e.pluginId,a=e.nodeId,i=t+"_"+o+"_"+r+"_";a&&a!==__virtualDOM__.getRootNodeId(t)&&(i+=a),Ya[i]=!0,Ja.emit("audioInsert_"+i),Xa[n=t]||(Xa[n]=!0,en(n,function(t){delete Xa[t],Object.keys(Ya).forEach(function(e){new RegExp("^"+t).test(e)&&delete Ya[e]})}))}),Ye("audioRemove",function(e,t){var n=e.audioId,r=e.pluginId,o=e.nodeId,a=t+"_"+r+"_"+n+"_";o&&o!==__virtualDOM__.getRootNodeId(t)&&(a+=o),delete Ya[a]});var Qa=function(){function o(e,t,n,r){if($e(this,o),"string"!=typeof e)throw new _t("Parameter 1 should be a string");this.audioId=e,this.webviewId=t,this.pluginId=r,this.nodeId=n}return Ot(o,[{key:"setSrc",value:function(e){this._sendAction({method:"setSrc",data:e})}},{key:"play",value:function(){this._getAppStatus()===be||this._sendAction({method:"play"})}},{key:"pause",value:function(){this._sendAction({method:"pause"})}},{key:"seek",value:function(e){this._sendAction({method:"setCurrentTime",data:e})}},{key:"_ready",value:function(e){var t=this.webviewId+"_"+this.pluginId+"_"+this.audioId+"_"+this.nodeId;Ya[t]?e():Ja.on("audioInsert_"+t,function(){e()})}},{key:"_sendAction",value:function(e){var t=this;this._ready(function(){Ge("audio_"+t.pluginId+"_"+t.audioId+"_"+t.nodeId+"_actionChanged",e,[t.webviewId])})}}]),o}();function $a(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"",o=new Qa(e,t,n,r);return o._getAppStatus=function(){return Se.appStatus},o._getHanged=function(){return Se.hanged},tr.call(this,function(){o.pause()}),o}var Za=Te,ei={},ti=new Lt,ni={},ri=new WeakMap,oi={},ai=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen","showStatusBar","hideStatusBar"],ii=ye.useXWebVideo;function si(e){ni[e]||(ni[e]=!0,en(e,function(t){delete ni[t],Object.keys(ei).forEach(function(e){new RegExp("^"+t).test(e)&&delete ei[e]}),Object.keys(oi).forEach(function(e){new RegExp("^api_"+t).test(e)?delete oi[e]:new RegExp("^SQ_"+t).test(e)&&delete oi[e]})}))}Ye("videoPlayerInsert",function(e,t){var n=e.domId,r=e.videoPlayerId,o=e.pluginId,a=e.nodeId,i=t+"_"+o+"_"+n+"_";a&&a!==__virtualDOM__.getRootNodeId(t)&&(i+=a),ei[i]=r,ti.emit("videoPlayerInsert"),si(t)}),Ye("xWebVideoInserted",function(e,t){var n=e.domId,r=e.viewId,o=e.pluginId,a=e.nodeId,i=t+"_"+o+"_"+n+"_";a&&a!==__virtualDOM__.getRootNodeId(t)&&(i+=a),ei[i]=r,ti.emit("videoPlayerInsert"),si(t)}),Ye("videoPlayerRemoved",function(e,t){var n=e.domId,r=e.videoPlayerId,o=e.pluginId,a=e.nodeId,i=t+"_"+o+"_"+n+"_";a&&a!==__virtualDOM__.getRootNodeId(t)&&(i+=a),delete ei[i];var s="api_"+t+"_"+o+"_"+n+"_";a&&a!==__virtualDOM__.getRootNodeId(t)&&(s+=a);var c="SQ_"+t+"_"+r;delete oi[s],delete oi[c]}),Ye("xWebVideoRemoved",function(e,t){var n=e.domId,r=e.pluginId,o=e.nodeId,a=t+"_"+r+"_"+n+"_";o&&o!==__virtualDOM__.getRootNodeId(t)&&(a+=o),delete ei[a]}),Ye("xWebVideoSupported",function(e){var t=e.isXWebSupported;ii=ii&&t}),ye.onReady(function(){ye.global&&ye.global.window&&"seperated"===ye.global.window.renderingMode&&(ii=!1)});var ci=function e(){$e(this,e)},ui=function(){function e(){var t=this;$e(this,e);var n=this.exportContext=new ci;ai.forEach(function(e){return n[e]=t[e].bind(t)})}return Ot(e,[{key:"play",value:function(){var e=this._getAppStatus();e===be||e===we||this._invokeMethod("play")}},{key:"pause",value:function(){this._invokeMethod("pause")}},{key:"stop",value:function(){this._invokeMethod("stop")}},{key:"seek",value:function(e){this._invokeMethod("seek",[e])}},{key:"sendDanmu",value:function(e){var t=e.text,n=e.color;this._invokeMethod("sendDanmu",[t,n])}},{key:"playbackRate",value:function(e){.5!==(e=parseFloat(e.toFixed(2)))&&.8!==e&&1!==e&&1.25!==e&&1.5!==e||this._invokeMethod("playbackRate",[e])}},{key:"requestFullScreen",value:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).direction;-1<[0,90,-90].indexOf(e)?this._invokeMethod("requestFullScreen",[e]):this._invokeMethod("requestFullScreen"),ri.set(this,!0)}},{key:"exitFullScreen",value:function(){this._invokeMethod("exitFullScreen"),this.showStatusBar(),ri.set(this,!1)}},{key:"showStatusBar",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("showStatusBar",e)}},{key:"hideStatusBar",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(ke){var t="hideStatusBar:ok";return"function"==typeof e.success&&e.success({errMsg:t}),void("function"==typeof e.complete&&e.complete({errMsg:t}))}if(!ri.get(this)){var n="hideStatusBar:fail cannot be invoked but in fullscreen.";return"function"==typeof e.fail&&e.fail({errMsg:n}),void("function"==typeof e.complete&&e.complete({errMsg:n}))}Ke("hideStatusBar",e)}},{key:"_invokeMethodWithId",value:function(e,t,n){var r=this;"number"==typeof e?function(){Za?(this.action={method:t,data:n},this._sendAction(e)):ke&&ii?-1<["requestFullScreen","exitFullScreen","sendDanmu","seek","stop"].indexOf(t)?Ge("video_"+this.webviewId+"_"+e+"_actionChanged",{method:t,data:n},[this.webviewId]):Ke("operateXWebVideo",{viewId:e,type:t,data:n}):Ke("operateVideoPlayer",{data:n,videoPlayerId:e,type:t})}.apply(this):ti.once("videoPlayerInsert",function(){r._invokeMethod(t,n)})}},{key:"_sendActionWithEvnetName",value:function(e){Ge(e,this.action,[this.webviewId])}},{key:"_getAppStatus",value:function(){return Se.appStatus}},{key:"_getHanged",value:function(){return Se.hanged}}]),e}(),li=function(e){function a(e,t,n,r){var o;if($e(this,a),o=et(this,tt(a).call(this)),"string"!=typeof e)throw new _t("Parameter 1 should be a string");return o.domId=e,o.webviewId=t,o.pluginId=r,o.nodeId=n,o}return rt(a,ui),Ot(a,[{key:"_invokeMethod",value:function(e,t){var n=this.webviewId+"_"+this.pluginId+"_"+this.domId+"_"+this.nodeId,r=ei[n];this._invokeMethodWithId(r,e,t)}},{key:"_sendAction",value:function(e){this._sendActionWithEvnetName("video_"+this.pluginId+"_"+this.domId+"_"+e+"_"+this.nodeId+"_actionChanged")}}]),a}(),di=function(e){function r(e,t){var n;return $e(this,r),(n=et(this,tt(r).call(this))).videoPlayerId=e,n.webviewId=t,n}return rt(r,ui),Ot(r,[{key:"_invokeMethod",value:function(e,t){var n=this.videoPlayerId;this._invokeMethodWithId(n,e,t)}},{key:"_sendAction",value:function(e){this._sendActionWithEvnetName("video_selector_query_"+e+"_actionChanged")}}]),r}();function fi(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"",o="api_"+t+"_"+r+"_"+e+"_";if(n&&n!==__virtualDOM__.getRootNodeId(t)&&(o+=n),oi[o])return oi[o].exportContext;var a=new li(e,t,n,r);return(oi[o]=a).exportContext}function pi(e,t){var n="SQ_"+t+"_"+e;if(oi[n])return oi[n].exportContext;var r=new di(e,t);return(oi[n]=r).exportContext}var hi="undefined"!=typeof NativeGlobal?NativeGlobal:{},gi=[],vi="",_i=function(e){Ke("getNetworkType",e)},yi=function(e){gi.push(Reporter.surroundThirdByTryCatch(e,"onNetworkStatusChange"))},mi=function(){return vi};ze("onNetworkStatusChange",function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};vi=t.networkType,gi.forEach(function(e){"function"==typeof e&&e(t)})}),ye.onReady(function(){_i({success:function(e){vi=e.networkType}})});var bi=0,wi=[],Si=function(){var e=JSON.stringify({business:"mmbizwxaservicequality",dataArray:wi,appType:Reporter.getAppType()},null,2);Ke("reportRealtimeAction",{actionData:e}),wi=[]},Ci=function(e,t,n,r,o,a,i){var s=7<arguments.length&&void 0!==arguments[7]?arguments[7]:0,c=[e,t,n,r,o,Reporter.getAppType(),a,s,mi()].map(encodeURIComponent).join(",");Reporter.reportKeyValue({key:"NetworkAPI",value:c}),Reporter.reportIDKey({key:e+"_"+(1===n?"ok":"fail")}),wi.push([e,t,n,a||"",r,o,mi(),i?"1":"0",Reporter.getAppType(),s].map(function(t){var n;try{n=encodeURIComponent(t)}catch(e){n=t}return n}).join(",")),6e4<=Date.now()-bi&&(bi=Date.now(),setTimeout(Si,6e4))},Ti=0,ki=new WeakMap,xi=new WeakMap,Ii=new WeakMap,Ei=new WeakMap,Pi=new WeakMap,Ai=new WeakMap,Oi=new WeakMap,Di=new WeakMap,Mi={},Ri=new Lt,Ni=function(){function i(e,t){var n=t.taskType,r=t.beforeSend,o=t.beforeSuccess;$e(this,i);var a=Ti++;ki.set(this,a),Ii.set(this,"waiting"),Ei.set(this,e),Pi.set(this,n),Oi.set(this,r),Di.set(this,o),!function(){var e=Pi.get(this);return Mi[e].currentTaskCount>=Mi[e].maxTaskCount}.call(this)?Li.call(this):Mi[n].taskQueue.push({id:a,item:this})}return Ot(i,[{key:"abort",value:function(){var t=this;if("waiting"===Ii.get(this)){var e=Mi[Pi.get(this)].taskQueue.findIndex(function(e){return e.id===ki.get(t)});-1<e&&(Mi[Pi.get(this)].taskQueue.splice(e,1),Mi[Pi.get(this)].currentTaskCount-=1),Ii.set(this,"done")}else{var n;Ke("operate"+Pi.get(this)+"Task",(gn(n={},Pi.get(this).toLowerCase()+"TaskId",xi.get(this)),gn(n,"operationType","abort"),n))}}},{key:"onProgressUpdate",value:function(t){var n=this;Ri.on(""+Pi.get(this)+xi.get(this)+"progressUpdate",function(e){"function"==typeof t&&Reporter.surroundThirdByTryCatch(t,"at "+Pi.get(n)+"Task.onProgressUpdate callback function")(e)})}},{key:"offProgressUpdate",value:function(e){"function"==typeof e?Ri.off(""+Pi.get(this)+xi.get(this)+"progressUpdate",e):Ri.removeAllListeners(""+Pi.get(this)+xi.get(this)+"progressUpdate")}},{key:"onHeadersReceived",value:function(t){var n=this;Ri.on(""+Pi.get(this)+xi.get(this)+"headersReceived",function(e){"function"==typeof t&&Reporter.surroundThirdByTryCatch(t,"at "+Pi.get(n)+"Task.onHeadersReceived callback function")(e)})}},{key:"offHeadersReceived",value:function(e){"function"==typeof e?Ri.off(""+Pi.get(this)+xi.get(this)+"headersReceived",e):Ri.removeAllListeners(""+Pi.get(this)+xi.get(this)+"headersReceived")}}]),i}();function Li(){var e=Ei.get(this),t=Pi.get(this);Ii.set(this,"sending"),Ai.set(this,Date.now());var n=function(){var t,n=this,r=Pi.get(this),o=Ei.get(this),e={data:o.data,url:o.url,header:o.header,method:o.method,__skipDomainCheck__:o.__skipDomainCheck__,success:function(e){var t=e[r.toLowerCase()+"TaskId"];xi.set(n,t),Mi[r].currentTaskCount+=1,Mi[r].taskIdMap[t]=n},fail:function(e){t=e.errMsg,Bi.call(n,{taskType:r,options:o,errMsg:t,success:!1})},complete:function(){Ii.set(n,"done")}};return Ke("create"+r+"Task",Oi.get(this)(e)),t}.call(this);n?Qe(Mi[t].functionName,{success:e.success,fail:e.fail,complete:e.complete},!1,n):function(){var t=this,e=xi.get(this),n=Ei.get(this),r=Pi.get(this),o=Mi[r].functionName;Ri.on(""+r+e+"success",function(e){Di.get(t).call(t,e),Qe(o,{success:n.success,fail:n.fail,complete:n.complete},!0,null,null,e)}),Ri.on(""+r+e+"fail",function(e){Qe(o,{success:n.success,fail:n.fail,complete:n.complete},!1,e.errMsg)})}.call(this)}function Bi(e){var t=e.taskType,n=e.options,r=e.errMsg,o=e.success,a=void 0===o||o,i=e.dataLength,s=void 0===i?0:i,c=n.url,u=a?1:2,l=Date.now()-Ai.get(this),d=n.__skipDomainCheck__;Ci(Mi[t].functionName,c,u,l,r,"",d,s)}function ji(e,t){var n=t.toLowerCase()+"TaskId",r=e[n],o=e.state;if(delete e.state,delete e[n],Ri.emit(""+t+r+o,e),"success"===o||"fail"===o){Mi[t].currentTaskCount-=1,0<Mi[t].taskQueue.length&&Li.call(Mi[t].taskQueue.shift().item);var a=Mi[t].taskIdMap[r],i=Ei.get(a);a&&(Bi.call(a,{taskType:t,options:i,errMsg:e.errMsg,success:"success"===o?1:2,dataLength:Ut(i.data)}),function(){var e=Pi.get(this),t=xi.get(this);delete Mi[e].taskIdMap[t],Ri.removeAllListeners(""+e+t+"success"),Ri.removeAllListeners(""+e+t+"fail"),Ri.removeAllListeners(""+e+t+"complete")}.call(a))}}function Fi(t,e){var n=this,r=Mi[t]?Mi[t]:{currentTaskCount:0,maxTaskCount:10,taskQueue:[],functionName:"",taskIdMap:{}};ze("on"+t+"TaskStateChange",function(e){ji.call(n,e,t)}),Mi[t]=Object.assign(r,e)}Fi("Download",{maxTaskCount:10,functionName:"downloadFile"}),ye.onReady(function(){try{"number"==typeof ye.wxAppInfo.maxDownloadConcurrent&&Fi("Download",{maxTaskCount:ye.wxAppInfo.maxDownloadConcurrent})}catch(e){}});var Ui=function(e){function n(t){return $e(this,n),et(this,tt(n).call(this,t,{taskType:"Download",beforeSend:function(e){return e.filePath=t.filePath,e},beforeSuccess:function(e){return delete e.timeInterval,e}}))}return rt(n,Ni),n}(),Wi=["ascii","base64","binary","hex","ucs2","ucs-2","utf16le","utf-16le","utf8","utf-8","latin1"],Vi=(new Bt,{map:{},set:function(e){var t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)});return this.map[t]=e,t},get:function(e){var t=this;return e?this.map[e]:Object.keys(this.map).map(function(e){return t.map[e]})}}),qi=Te?"http://":"wxfile://",Ki=[];ye.onReady(function(){Ki=function(){{if(Te)return[];try{var t=[];J("readdirSync",{dirPath:qi},function(e){e.files&&(t=e.files)});var n=new RegExp("^"+qi),r=new RegExp("^"+qi);return t.filter(function(e){return n.test(e)}).map(function(e){return r.test(e)?e:""+qi+e})}catch(e){return[]}}}()});var Hi=function(e,t){var n=Vi.get();e.files=e.files.filter(function(e){return new RegExp("^"+t).test(e)||(e=""+t+e),-1===n.indexOf(e)&&-1===Ki.indexOf(e)})};var zi=function(){function a(e){var t=e.mode,n=e.size,r=e.lastAccessedTime,o=e.lastModifiedTime;$e(this,a),this.mode=t,this.size=n,this.lastAccessedTime=r,this.lastModifiedTime=o}return Ot(a,[{key:"_checkModeProperty",value:function(e){return(61440&this.mode)===e}},{key:"isDirectory",value:function(){return this._checkModeProperty(16384)}},{key:"isFile",value:function(){return this._checkModeProperty(32768)}}]),a}(),Gi=function(t,e){var n=!0;if(["mode","size","lastAccessedTime","lastModifiedTime"].forEach(function(e){n=n&&void 0!==t[e]}),n)t.stats=new zi(t),delete t.mode,delete t.size,delete t.lastAccessedTime,delete t.lastModifiedTime;else if(t.stats&&1===Object.keys(t.stats).length&&t.stats[""])t.stats=new zi(t.stats[""]);else{var r=[],o=t.stats;ke&&(o=t,r.push({path:"/",stats:Yi(e)})),Object.keys(o).forEach(function(e){if("errMsg"!==e){var t=o[e];""===e&&(e="/"),r.push({path:e,stats:new zi(t)}),delete o[e]}}),t.stats=r}},Yi=function(t){var n,r,e=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(!t||"string"!=typeof t)throw new Error("path must be a string");if(Ke("statSync",{path:t,recursive:e,success:function(e){Gi(e,t),n=e.stats},fail:function(e){r=e.errMsg}}),r)throw new Error(r);return n},Ji=["ascii","base64","binary","hex","ucs2","ucs-2","utf16le","utf-16le","utf8","utf-8","latin1"],Xi={saveFile:function(e){Xe("saveFile",e,{tempFilePath:""})&&Ke("saveFile",e)},saveFileSync:function(e,t){if(!e||"string"!=typeof e)throw new Error("tempFilePath must be a string");if(void 0!==t&&"string"!=typeof t)throw new Error("filePath must be a string");var n,r;if(Ke("saveFileSync",{tempFilePath:e,filePath:t,success:function(e){r=e.savedFilePath},fail:function(e){n=e.errMsg}}),n)throw new Error(n);return r},getSavedFileList:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("getSavedFileList",e)},getSavedFileInfo:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("getSavedFileInfo",e,{filePath:""})&&Ke("getSavedFileInfo",e)},removeSavedFile:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("removeSavedFile",e,{filePath:""})&&Ke("removeSavedFile",e)},getFileInfo:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("getFileInfo",e,{filePath:""})){if(void 0!==e.digestAlgorithm){var t=de(e,{digestAlgorithm:""});if(t)return void Je("getFileInfo",e,"parameter error: "+t);if(-1===["md5","sha1"].indexOf(e.digestAlgorithm))return void Je("getFileInfo",e,'parameter error: invalid digestAlgorithm "'+e.digestAlgorithm+'"')}Ke("getFileInfo",e,{})}},readFile:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("readFile",e,{filePath:""})&&Ke("readFile",e)},readFileSync:function(e,t){if(!e||"string"!=typeof e)throw new Error("filePath must be a string");if(t&&"string"!=typeof t)throw new Error("encoding must be a string");var n,r;if(Ke("readFileSync",{filePath:e,encoding:t,success:function(e){n=e.data},fail:function(e){r=e.errMsg}}),r)throw new Error(r);return n},writeFile:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("writeFile",e,{filePath:""})&&(e.encoding&&-1===Wi.indexOf(e.encoding)?Je("writeFile",e,'invalid encoding "'+e.encoding+'"'):Ke("writeFile",e,{}))},writeFileSync:function(e,t,n){if(!e||"string"!=typeof e)throw new Error("path must be a string");if(n&&-1===Wi.indexOf(n))throw new Error('invalid encoding "'+n+'"');var r;if(Ke("writeFileSync",{filePath:e,data:t,encoding:n,fail:function(e){r=e.errMsg}}),r)throw new Error(r)},mkdir:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("mkdir",e,{dirPath:""})&&Ke("mkdir",e)},mkdirSync:function(e){var t,n=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(!e||"string"!=typeof e)throw new TypeError("dirPath must be a string");if(Ke("mkdirSync",{dirPath:e,recursive:n,fail:function(e){t=e.errMsg}}),t)throw new Error(t)},rmdir:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("rmdir",e,{dirPath:""})&&Ke("rmdir",e)},rmdirSync:function(e){var t,n=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(!e||"string"!=typeof e)throw new Error("dirPath must be a string");if(Ke("rmdirSync",{dirPath:e,recursive:n,fail:function(e){t=e.errMsg}}),t)throw new Error(t)},readdir:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("readdir",t,{dirPath:""})&&Ke("readdir",t,{beforeSuccess:function(e){Hi(e,t.dirPath)}})},readdirSync:function(t){if(!t||"string"!=typeof t)throw new TypeError("dirPath must be a string");var n,r;if(Ke("readdirSync",{dirPath:t,success:function(e){n=e.files},fail:function(e){r=e.errMsg}},{beforeSuccess:function(e){Hi(e,t)}}),r)throw new Error(r);return n},access:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("access",e,{path:""})&&Ke("access",e)},accessSync:function(e){if(!e||"string"!=typeof e)throw new TypeError("path must be a string");var t;if(Ke("accessSync",{path:e,fail:function(e){t=e.errMsg}}),t)throw new Error(t)},unlink:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("unlink",e,{filePath:""})&&Ke("unlink",e)},unlinkSync:function(e){if(!e||"string"!=typeof e)throw new Error("filePath must be a string");var t;if(Ke("unlink",{filePath:e,fail:function(e){t=e.errMsg}}),t)throw new Error(t)},stat:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("stat",t,{path:""})&&Ke("stat",t,{beforeSuccess:function(e){Gi(e,t.path)}})},statSync:Yi,unzip:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("unzip",e,{zipFilePath:"",targetPath:""})&&Ke("unzip",Object.assign({},e,{targetDirectory:e.targetPath}))},copyFile:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("copyFile",e,{srcPath:"",destPath:""})&&Ke("fs_copyFile",e,{beforeAll:function(e){e.errMsg=e.errMsg.replace(/^fs_/,"")}})},copyFileSync:function(e,t){if(!e||"string"!=typeof e)throw new Error("srcPath must be a string");if(!t||"string"!=typeof t)throw new Error("destPath must be a string");var n;if(Ke("fs_copyFileSync",{srcPath:e,destPath:t,fail:function(e){n=e.errMsg.replace(/^fs_/,"")}}),n)throw new Error(n)},rename:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("rename",e,{oldPath:"",newPath:""})&&Ke("fs_rename",e,{beforeAll:function(e){e.errMsg=e.errMsg.replace(/^fs_/,"")}})},renameSync:function(e,t){if(!e||"string"!=typeof e)throw new Error("oldPath must be a string");if(!t||"string"!=typeof t)throw new Error("newPath must be a string");var n;if(Ke("fs_renameSync",{oldPath:e,newPath:t,fail:function(e){n=e.errMsg.replace(/^fs_/,"")}}),n)throw new Error(n)},appendFile:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("appendFile",e,{filePath:""})&&(e.encoding&&-1===Ji.indexOf(e.encoding)?Je("appendFile",e,'invalid encoding "'+e.encoding+'"'):Ke("fs_appendFile",e,{}))},appendFileSync:function(e,t,n){if(!e||"string"!=typeof e)throw new Error("path must be a string");if(n&&-1===Ji.indexOf(n))throw new Error('invalid encoding "'+n+'"');var r;if(Ke("fs_appendFileSync",{filePath:e,data:t,encoding:n,fail:function(e){r=e.errMsg}}),r)throw new Error(r)}},Qi="",$i="",Zi=function(){return this}();ye.onReady(function(){try{Qi=ye.env.USER_DATA_PATH,$i=ye.env.OPEN_DATA_PATH,delete ye.env.OPEN_DATA_PATH,delete ye.env.OPEN_DATA_PATH,delete Zi.__wxConfig.env.OPEN_DATA_PATH}catch(e){}});var es={saveFile:["filePath"],saveFileSync:[1],readFile:["filePath"],readFileSync:[0],writeFile:["filePath"],writeFileSync:[0],mkdir:["dirPath"],mkdirSync:[0],rmdir:["dirPath"],rmdirSync:[0],readdir:["dirPath"],readdirSync:[0],access:["path"],accessSync:[0],unlink:["filePath"],unlinkSync:[0],stat:["path"],statSync:[0],unzip:["zipFilePath","targetPath"],copyFile:["srcPath","destPath"],copyFileSync:[0,1],rename:["oldPath","newPath"],renameSync:[0,1],appendFile:["filePath"],appendFileSync:[0]},ts=function(i){var e={};return Object.keys(Xi).forEach(function(a){var n=Xi[a];e[a]=function(){for(var e=arguments.length,o=new Array(e),t=0;t<e;t++)o[t]=arguments[t];if(!es[a])return n.apply(void 0,ve(o));if(es[a].every(function(e){var t,n,r=a.endsWith("Sync")?o:o[0];return t=r[e],n=i,"string"!=typeof t||!t.startsWith("opendata"===n?Qi:$i)}))return n.apply(void 0,ve(o));if(a.endsWith("Sync"))throw new Error(a+":fail permission denied");o=o[0]||{},Je(a,o,"permission denied")}}),e},ns={app:ts("app"),game:ts("game"),opendata:ts("opendata")},rs=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return e=Object.assign({__skipDomainCheck__:!1},e),function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("downloadFile",t,{url:""})){t.__skipDomainCheck__=e.__skipDomainCheck__;try{return new Ui(t)}catch(e){return void Je("downloadFile",t,e.message)}}}},os=rs(),as=rs({__skipDomainCheck__:!0}),is=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if("string"!=typeof e.filePath||!e.filePath.startsWith($i))return os(e);Je("downloadFile",e,"permission denied")},ss=qt("getCloudFileUrl","qbase_commapi",{},{},function(e){var t=e.data;return{qbase_api_name:"tcbapi_component_gettempfileurl",qbase_req:JSON.stringify({fileid_list:t.fileid_list.slice(),type:t.type}),cli_req_id:+new Date+"_"+Math.random()}},function(e){return e}),cs=function(o,e,a){var t=[];o.forEach(function(e){/^(cloud):\/\//.test(e)&&t.push(e)}),0!==t.length?ss({data:{fileid_list:t,type:e},success:function(e){var t=JSON.parse(e.rawData);if(t.baseresponse&&0===t.baseresponse.errcode){var n=new Map;t.download_list.forEach(function(e){n.set(e.fileid,e)});var r=[];o.forEach(function(e){if(/^(cloud):\/\//.test(e)){var t=n.get(e).download_url;r.push(t)}else r.push(e)}),"function"==typeof a&&a(r)}},fail:function(){"function"==typeof a&&a(o)},complete:function(e){}}):"function"==typeof a&&a(o)},us=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("chooseImage",ft({count:9,sizeType:["original","compressed"],sourceType:["album","camera"]},e),{beforeSuccess:function(n){n.tempFileSizes?n.tempFiles=(n.tempFilePaths||[]).filter(function(e){return e}).map(function(e,t){return{path:e,size:n.tempFileSizes[t]}}):n.tempFiles=(n.tempFiles||[]).filter(function(e){return e.path&&"number"==typeof e.size}),delete n.tempFileSizes}})},ls=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("previewImage",e,{urls:[""]})){var r=Object.assign({},e);cs(r.urls,"image",function(e){var t=r.urls;if(r.urls=e,r.current){var n=t.indexOf(r.current);0<=n&&(r.current=r.urls[n])}r.urls&&(r.urls=r.urls.map(function(e){return Vi.get(e)||e})),Ke("previewImage",r)})}},ds=function(e){var t=Object.assign({},e),n=[t.src];cs(n,"image",function(e){return t.src=e[0],fs(t,is)})},fs=function(t,e){Xe("getImageInfo",t,{src:""})&&(/^wxfile:\/\//.test(t.src)||/^http:\/\/tmp\//.test(t.src)?Ke("getImageInfo",t,{beforeSuccess:function(e){e.path=t.src}}):/^(http|https):\/\//.test(t.src)?e({url:t.src,success:function(e){t.src=e.tempFilePath,Ke("getImageInfo",t,{beforeSuccess:function(e){e.path=t.src}})},fail:function(){Je("getImageInfo",t,"download image fail")}}):(t.src=ct(Se.lastRoute,t.src,!1),Ke("getImageInfo",t,{beforeSuccess:function(e){e.path=t.src}})))},ps=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};e.filePath=Vi.get(e.filePath)||e.filePath,Ke("saveImageToPhotosAlbum",e,{})},hs=function(){var e={src:"",quality:80};Xe("compressImage",e=yt(e,0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),{src:"",quality:80})&&(/^wxfile:\/\//.test(e.src)||(e.src=ct(Se.lastRoute,e.src,!1)),Ke("compressImage",e))},gs=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};e.sourceType=e.sourceType||["album","camera"],e.camera=e.camera||"back","boolean"!=typeof e.compressed&&(e.compressed=!0),Ke("chooseVideo",e)},vs=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("saveVideoToPhotosAlbum",e,{})},_s=0,ys=[{}];Ye("loadedFontFace",function(e){if(e.cbID){var t=ys[e.cbID];t&&("loaded"===e.status?"function"==typeof t[0]&&t[0](e):"function"==typeof t[1]&&t[1](e),"function"==typeof t[2]&&t[2](e))}});var ms=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("loadFontFace",e,{family:"",source:""})&&(e.cbID=++_s,ys.push([e.success,e.fail,e.complete]),Ge("loadFontFace",e))},bs=function(e){Xe("playVoice",e,{filePath:""})&&Ke("playVoice",e)},ws=function(e){Ke("pauseVoice",e)},Ss=function(e){Ke("stopVoice",e)},Cs=function(e){ze("onVoicePlayEnd",Reporter.surroundThirdByTryCatch(e,"at onVoicePlayEnd callback function"))},Ts=new Bt,ks={8e3:[16e3,48e3],11025:[16e3,48e3],12e3:[24e3,64e3],16e3:[24e3,96e3],22050:[32e3,128e3],24e3:[32e3,128e3],32e3:[48e3,192e3],44100:[64e3,32e4],48e3:[64e3,32e4]};ze("onRecorderStateChange",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.state;delete e.state,Ts.emit("onRecorderStateChange_"+t,e)});var xs,Is=function(e){Ke("operateRecorder",Object.assign({},e))},Es={start:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({format:"aac",sampleRate:8e3,encodeBitRate:48e3,numberOfChannels:2,audioSource:"auto"},e);if(-1===Object.keys(ks).map(function(e){return parseInt(e,10)}).indexOf(t.sampleRate))throw new Error('invalid sampleRate "'+t.sampleRate+'", sampleRate should be one of '+JSON.stringify(Object.keys(ks)));if(t.encodeBitRate>ks[t.sampleRate][1]||t.encodeBitRate<ks[t.sampleRate][0])throw new Error('invalid encodeBitRate "'+t.encodeBitRate+'", encodeBitRate should be greater than '+ks[t.sampleRate][0]+" and less than "+ks[t.sampleRate][1]);t.operationType="start",t.fail=function(e){Ts.emit("onRecorderStateChange_error",e)},Is(t)},pause:function(){Is({operationType:"pause",fail:function(e){Ts.emit("onRecorderStateChange_error",e)}})},resume:function(){Is({operationType:"resume",success:function(){Ts.emit("onRecorderStateChange_resume")},fail:function(e){Ts.emit("onRecorderStateChange_error",e)}})},stop:function(){Is({operationType:"stop",fail:function(e){Ts.emit("onRecorderStateChange_error",e)}})},onStart:function(e){Ts.removeAllListeners("onRecorderStateChange_start"),Ts.on("onRecorderStateChange_start",function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at recorderManager.onPause callback function")()})},onResume:function(e){Ts.removeAllListeners("onRecorderStateChange_resume"),Ts.on("onRecorderStateChange_resume",function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at recorderManager.onResume callback function")()})},onPause:function(e){Ts.removeAllListeners("onRecorderStateChange_pause"),Ts.on("onRecorderStateChange_pause",function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at recorderManager.onPause callback function")()})},onStop:function(t){Ts.removeAllListeners("onRecorderStateChange_stop"),Ts.on("onRecorderStateChange_stop",function(e){"function"==typeof t&&Reporter.surroundThirdByTryCatch(t,"at recorderManager.onStop callback function")(e)})},onFrameRecorded:function(t){Ts.removeAllListeners("onRecorderStateChange_frameRecorded"),Ts.on("onRecorderStateChange_frameRecorded",function(e){"function"==typeof t&&Reporter.surroundThirdByTryCatch(t,"at recorderManager.onFrameRecorded callback function")(e)})},onError:function(t){Ts.removeAllListeners("onRecorderStateChange_error"),Ts.on("onRecorderStateChange_error",function(e){"function"==typeof t&&Reporter.surroundThirdByTryCatch(t,"at recorderManager.onError callback function")(e)})},onInterruptionBegin:function(t){Ts.removeAllListeners("onRecorderStateChange_interruptionBegin"),Ts.on("onRecorderStateChange_interruptionBegin",function(e){"function"==typeof t&&Reporter.surroundThirdByTryCatch(t,"at recorderManager.onInterruptionBegin callback function")(e)})},onInterruptionEnd:function(t){Ts.removeAllListeners("onRecorderStateChange_interruptionEnd"),Ts.on("onRecorderStateChange_interruptionEnd",function(e){"function"==typeof t&&Reporter.surroundThirdByTryCatch(t,"at recorderManager.onInterruptionEnd callback function")(e)})}},Ps=function(){return Es},As=function(e){hr("startRecord"),Ke("startRecord",e)},Os=function(e){hr("stopRecord"),Ke("stopRecord",e)},Ds=new Bt,Ms={src:"",currentTime:0,duration:0,paused:!0,buffered:0,title:"",coverImgUrl:"",description:"",startTime:0};ze("onBackgroundAudioNext",function(){Ds.emit("onBackgroundAudioNext")}),ze("onBackgroundAudioPrev",function(){Ds.emit("onBackgroundAudioPrev")}),ze("onBackgroundAudioStateChange",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.state;delete e.state,"play"===t?(Ms.paused=!1,Se.possessingBackgroundAudioPlayer=!0):"preempted"===t||"occupied"===t?(Se.possessingBackgroundAudioPlayer=!1,Ds.emit("onBackgroundAudioStateChange_stop",e)):"pause"===t?Ms.paused=!0:"stop"===t&&(Ms.paused=!0),Ds.emit("onBackgroundAudioStateChange_"+t,e)});var Rs={play:function(){Ns({operationType:"play"})},pause:function(){Ns({operationType:"pause"})},seek:function(e){if("number"!=typeof e)throw new Error("wx.backgroundAudio.seek(currentTime): unexpected type "+Y(e));Ns({currentTime:e,operationType:"seek"})},stop:function(){Ns({operationType:"stop"})},onCanplay:function(e){Ds.removeAllListeners("onBackgroundAudioStateChange_canplay"),Ds.on("onBackgroundAudioStateChange_canplay",function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at wx.backgroundAudio.onCanplay callback function")()})},onWaiting:function(e){Ds.removeAllListeners("onBackgroundAudioStateChange_waiting"),Ds.on("onBackgroundAudioStateChange_waiting",function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at wx.backgroundAudio.onWaiting callback function")()})},onError:function(t){Ds.removeAllListeners("onBackgroundAudioStateChange_error"),Ds.on("onBackgroundAudioStateChange_error",function(e){"function"==typeof t&&Reporter.surroundThirdByTryCatch(t,"at wx.backgroundAudio.onError callback function")(e)})},onPlay:function(e){Ds.removeAllListeners("onBackgroundAudioStateChange_play"),Ds.on("onBackgroundAudioStateChange_play",function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at wx.backgroundAudio.onPlay callback function")()})},onPause:function(e){Ds.removeAllListeners("onBackgroundAudioStateChange_pause"),Ds.on("onBackgroundAudioStateChange_pause",function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at wx.backgroundAudio.onPause callback function")()})},onSeeking:function(e){Ds.removeAllListeners("onBackgroundAudioStateChange_seeking"),Ds.on("onBackgroundAudioStateChange_seeking",function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at wx.backgroundAudio.onSeeking callback function")()})},onSeeked:function(e){Ds.removeAllListeners("onBackgroundAudioStateChange_seeked"),Ds.on("onBackgroundAudioStateChange_seeked",function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at wx.backgroundAudio.onSeeked callback function")()})},onEnded:function(e){Ds.removeAllListeners("onBackgroundAudioStateChange_ended"),Ds.on("onBackgroundAudioStateChange_ended",function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at wx.backgroundAudio.onEnded callback function")()})},onStop:function(e){Ds.removeAllListeners("onBackgroundAudioStateChange_stop"),Ds.on("onBackgroundAudioStateChange_stop",function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at wx.backgroundAudio.onStop callback function")()})},onTimeUpdate:function(e){var t=this;void 0===xs&&(xs=setInterval(function(){var e=Ms.currentTime;Ls("currentTime",function(){"active"===Se.runningStatus&&!1!==Se.possessingBackgroundAudioPlayer&&t.currentTime!==e&&Ds.emit("onBackgroundAudioStateChange_timeupdate")})},250)),Ds.removeAllListeners("onBackgroundAudioStateChange_timeupdate"),Ds.on("onBackgroundAudioStateChange_timeupdate",function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at wx.backgroundAudio.onTimeUpdate callback function")()})},onNext:function(e){Ds.removeAllListeners("onBackgroundAudioNext"),Ds.on("onBackgroundAudioNext",function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at wx.backgroundAudio.onNext callback function")()})},onPrev:function(e){Ds.removeAllListeners("onBackgroundAudioPrev"),Ds.on("onBackgroundAudioPrev",function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at wx.backgroundAudio.onPrev callback function")()})}};function Ns(e){Ke("operateBackgroundAudio",e)}function Ls(t,n){if(!1!==Se.possessingBackgroundAudioPlayer){var r=Ms[t];return Ke("getBackgroundAudioState",{success:function(e){void 0===e.paused||!0===e.paused?e.paused=!0:e.paused=!1,Ms=ft(Ms,e),r=Ms[t],"function"==typeof n&&n(r)},fail:function(){},complete:function(){}}),r}}["src","title","epname","singer","startTime","coverImgUrl","currentTime","duration","paused","buffered","webUrl","protocol"].forEach(function(n){Object.defineProperty(Rs,n,{get:function(){return"src"===n&&Rs.srcCloudId?Rs.srcCloudId:"coverImgUrl"===n&&Rs.coverCloudId?Rs.coverCloudId:Ls(n)},set:function(t){-1<["src","title","epname","singer","coverImgUrl","startTime","webUrl","protocol"].indexOf(n)&&("src"===n?cs([t],"audio",function(e){/^(cloud):\/\//.test(t)?Rs.srcCloudId=t:Rs.srcCloudId="",js(n,e[0])}):"coverImgUrl"===n?cs([t],"image",function(e){/^(cloud):\/\//.test(t)?Rs.coverCloudId=t:Rs.coverCloudId="",js(n,e[0])}):js(n,t))}})});var Bs={};function js(e,t){if("src"===e&&!t)throw new Error("invalid wx.backgroundAudio.src: "+t);if("active"!==Se.runningStatus&&!1===Se.possessingBackgroundAudioPlayer)throw new vt("Can not set wx.backgroundAudio."+e+", background audio is preempted.");Bs[e]=t,1===Object.keys(Bs).length&&setTimeout(function(){var e=ft({},Bs);if(Bs.src)Bs=ft({},Ms,Bs);else{var t={src:"",currentTime:0,duration:0,paused:!0,buffered:0,title:"",coverImgUrl:"",description:"",startTime:0},n=!0;for(var r in Ms)if(Ms[r]!==t[r]){n=!1;break}if(Ms=ft({},Ms,e),n)return void(Bs={})}Ke("setBackgroundAudioState",ft({},Bs,{success:function(){Ms=ft({},Ms,e)},fail:function(e){var t=e.errMsg;throw new Error(t.replace(/^setBackgroundAudioState: fail /,""))},complete:function(){}})),Bs={}},0)}var Fs=function(){return Rs},Us=function(e){if(!1===Se.possessingBackgroundAudioPlayer){var t={errMsg:"getBackgroundAudioPlayerState: fail not playing"};"function"==typeof e.fail&&e.fail(t),"function"==typeof e.complete&&e.complete(t)}else Ke("getMusicPlayerState",e,{beforeAll:function(e){e.errMsg=e.errMsg.replace("getMusicPlayerState","getBackgroundAudioPlayerState")}})},Ws=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("operateMusicPlayer",ft({operationType:"play"},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateMusicPlayer","playBackgroundAudio")}})},Vs=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("operateMusicPlayer",ft({operationType:"pause"},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateMusicPlayer","pauseBackgroundAudio")}})},qs=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("seekBackgroundAudio",e,{position:1})&&Ke("operateMusicPlayer",ft({operationType:"seek"},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateMusicPlayer","seekBackgroundAudio")}})},Ks=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("operateMusicPlayer",ft({operationType:"stop"},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateMusicPlayer","stopBackgroundAudio")}})},Hs=new Bt;ze("onMusicPlay",function(){Se.possessingBackgroundAudioPlayer=!0,Hs.emit("onBackgroundAudioPlay")});var zs=function(e){Hs.removeAllListeners("onBackgroundAudioPlay"),Hs.on("onBackgroundAudioPlay",function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at wx.onBackgroundAudioPlay callback function")()})},Gs=function(e){ze("onMusicPause",Reporter.surroundThirdByTryCatch(e,"at onBackgroundAudioPause callback function"))},Ys=function(e){ze("onMusicEnd",Reporter.surroundThirdByTryCatch(e,"at onBackgroundAudioStop callback function"))},Js=null,Xs=!1;So(function(){Xs=!0}),br(function(){Xs=!1,Js&&(Qs(Js),Js=null)});var Qs=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};e.type||(e.type="all"),Xe("chooseMessageFile",e,{type:"",count:0})&&(e.count<=0?Je("chooseMessageFile",e,"param count should be larger than 0."):(100<e.count&&(e.count=100),Xs?Js=e:Ke("chooseMessageFile",e)))},$s=En("AudioInterruptionBegin"),Zs=($s.onMethod,$s.offMethod,$s.internalOnMethod,$s.internalOffMethod,En("AudioInterruptionEnd")),ec=(Zs.onMethod,Zs.offMethod,Zs.internalOnMethod,Zs.internalOffMethod,!1);ze("onAudioInterruptionBegin",function(e){!!0===ec&&$s.emit(e)}),ze("onAudioInterruptionEnd",function(e){!1===ec&&Zs.emit(e)});var tc=function(){return ec},nc=new WeakMap,rc=new WeakMap,oc=new WeakMap,ac=new WeakMap,ic=new WeakMap,sc=new WeakMap,cc=new Set,uc=new Map,lc={};hi.EventHandler&&(hi.EventHandler.onbindingobjectdestruct=function(e){var t=lc[e];t&&Ke("getAudioState",{audioId:t,success:function(e){cc.delete(t),!0===e.paused&&Ke("destroyAudioInstance",{audioId:t})}})});var dc=function(t,n){var r=this;rc.set(this,Object.assign(rc.get(this),gn({},t,n))),"src"===t&&rc.set(this,Object.assign(rc.get(this),{paused:!0})),ac.get(this)&&(setTimeout(function(){Object.assign({},rc.get(r),ic.get(r)),nc.get(r);var e=Object.assign({},rc.get(r),ic.get(r),{timestamp:Date.now(),audioId:nc.get(r),success:function(){rc.set(r,Object.assign(rc.get(r),gn({},t,n)))},fail:function(){fc.call(r)},complete:function(e){}});tc()&&(e.autoplay=!1),Ke("setAudioState",e),ac.set(r,!0)},0),ac.set(this,!1)),ic.set(this,Object.assign(ic.get(this),gn({},t,n))),rc.get(this)},fc=function(t,n){var r=this,o=rc.get(this)[t];return Ke("getAudioState",{audioId:nc.get(this),success:function(e){delete e.errMsg,rc.set(r,Object.assign(rc.get(r),e)),o=e[t],"function"==typeof n&&n(o)}}),o},pc=function(t){var e=nc.get(this);Ke("operateAudio",Object.assign({timestamp:Date.now(),audioId:e,fail:function(e){var t=e.errMsg;_c("error",{errMsg:t,errCode:-1})}},t),{beforeAll:function(e){t.operationType}})},hc=function(){};ye.onReady(function(){hc=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",r=ye.appLaunchInfo,o="";o=Object.keys(r.query||{}).map(function(e){return e+"="+r.query[e]}).join("&"),o=encodeURIComponent(o);var a=[Math.round(Date.now()/1e3),r.scene,"",r.sessionid||r.sessionId,r.path,o,mi(),wx&&wx.version&&wx.version.version||"",5,t,n,e].join(",");Reporter.reportKeyValue({key:"MediaCompStatus",value:a})}});var gc=new Bt;ze("onAudioStateChange",function(){var r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};r.state=r.state.toLowerCase();var o=r.state,e=r.audioId;delete r.audioId,delete r.state,gc.emit(e+"_onAudioStateChange_"+o,r);var a=uc.get(e);fc.call(a,"src",function(){var e=rc.get(a),t=parseInt(e.currentTime/1e3,10),n=parseInt(e.duration/1e3,10);switch(o){case"canplay":hc(e.src,121,[e.autoplay?2:1,n].join(";"));break;case"waiting":hc(e.src,122,[t,n,e.buffered].join(";"));break;case"ended":hc(e.src,123,e.duration);break;case"error":hc(e.src,124,r.errCode);break;case"seeking":hc(e.src,125,[t,n,e.buffered].join(";"))}})});var vc=function(e,t){var n=nc.get(this)+"_onAudioStateChange_"+e;if("function"==typeof t){var r=sc.get(t);gc.off(n,r)}else gc.removeAllListeners(n)},_c=function(e,t){gc.emit(nc.get(this)+"_onAudioStateChange_"+e,t)},yc=function(){function e(){var t,n=this;if($e(this,e),rc.set(this,{}),ic.set(this,{}),oc.set(this,void 0),ac.set(this,!0),Ke("createAudioInstance",{timestamp:Date.now(),success:function(e){if(cc.add(e.audioId),nc.set(n,e.audioId),uc.set(e.audioId,n),rc.set(n,{src:"",startTime:0,paused:!0,currentTime:0,duration:0,obeyMuteSwitch:!0,volume:1,autoplay:!1,loop:!1,buffered:0}),hi.BindingObject){var t=new hi.BindingObject;n.__bindingObject=t,lc[t.__id]=e.audioId}},fail:function(e){t=e.errMsg},complete:function(e){}}),t)throw new Error(t);["Play","Pause","Stop","Canplay","Error","Ended","Waiting","Seeking","Seeked"].forEach(function(t){n["on"+t]=function(e){(function(n,r){var o=this,e=nc.get(this)+"_onAudioStateChange_"+n,t=function(e){var t="play"!==n;rc.set(o,Object.assign(rc.get(o),{paused:t})),Reporter.surroundThirdByTryCatch(r,"at audioContext.on"+n+" callback function")(e)};sc.set(r,t),gc.on(e,t)}).call(n,t.toLowerCase(),e)},n["off"+t]=function(e){vc.call(n,t.toLowerCase(),e)}}),this.onPlay(function(){})}return Ot(e,[{key:"play",value:function(){var e=this;!1===tc()&&setTimeout(function(){pc.call(e,{operationType:"play"})},0)}},{key:"pause",value:function(){var e=this;setTimeout(function(){pc.call(e,{operationType:"pause"})},0)}},{key:"stop",value:function(){var e=this;setTimeout(function(){pc.call(e,{operationType:"stop"})},0)}},{key:"seek",value:function(e){var t=this;"number"!=typeof e||e<0?_c("error",{errMsg:"Failed to seek, the currentTime "+e+" is invalid."}):setTimeout(function(){pc.call(t,{operationType:"seek",currentTime:1e3*e})},0)}},{key:"destroy",value:function(){var n=nc.get(this);["play","pause","stop","canplay","error","ended","waiting","seeking","seeked"].forEach(function(e){var t=n+"_onAudioStateChange_"+e;gc.removeAllListeners(t)}),cc.delete(n),Ke("destroyAudioInstance",{audioId:n})}},{key:"onTimeUpdate",value:function(e){var n=this,r=nc.get(this)+"_onAudioStateChange_timeupdate";void 0===oc.get(this)&&oc.set(this,setInterval(function(){if("active"===Se.runningStatus&&!0!==rc.get(n).paused&&1!==rc.get(n).paused){var t=rc.get(n).currentTime;fc.call(n,"currentTime",function(e){e!==t&&gc.emit(r)})}},250)),gc.removeAllListeners(r),gc.on(r,function(){"function"==typeof e&&Reporter.surroundThirdByTryCatch(e,"at audioContext.onTimeUpdate callback function")()})}},{key:"offTimeUpdate",value:function(e){vc.call(this,"timeupdate",e)}},{key:"src",get:function(){return this.cloudId?this.cloudId:fc.call(this,"src")},set:function(t){var n=this;"string"==typeof t&&0!==t.length?cs([t],"audio",function(e){/^(cloud):\/\//.test(t)?n.cloudId=t:n.cloudId="",t=e[0],dc.call(n,"src",t)}):_c.call(this,"error",{errMsg:"Failed to set src, the src "+t+" is invalid."})}},{key:"startTime",get:function(){return fc.call(this,"startTime")/1e3},set:function(e){"number"==typeof e?dc.call(this,"startTime",1e3*e):_c("error",{errMsg:"Failed to set startTime, the startTime "+e+" is invalid."})}},{key:"autoplay",set:function(e){"boolean"==typeof e&&dc.call(this,"autoplay",e)},get:function(){return fc.call(this,"autoplay")}},{key:"loop",set:function(e){"boolean"==typeof e&&dc.call(this,"loop",e)},get:function(){return fc.call(this,"loop")}},{key:"obeyMuteSwitch",set:function(e){"boolean"==typeof e&&dc.call(this,"obeyMuteSwitch",e)},get:function(){return fc.call(this,"obeyMuteSwitch")}},{key:"volume",set:function(e){"number"!=typeof e||e<0||1<e||dc.call(this,"volume",e)},get:function(){return fc.call(this,"volume")}},{key:"paused",get:function(){return fc.call(this,"paused")}},{key:"duration",get:function(){return fc.call(this,"duration")/1e3}},{key:"currentTime",get:function(){return fc.call(this,"currentTime")/1e3}},{key:"buffered",get:function(){return fc.call(this,"buffered")/1e3}}],[{key:"pauseAllAudio",value:function(){cc.forEach(function(e){Ke("operateAudio",{timestamp:Date.now(),audioId:e,operationType:"pause"})})}}]),e}(),mc=function(){return new yc},bc=function(e){if(""!==Se.currentClipBoardData){var t;void 0!==__appServiceEngine__&&(t=__appServiceEngine__.getCurrentPagesByDomain("").find(function(e){return e.__wxWebviewId__===Se.currentWebviewId})||{});var n=[Se.currentClipBoardData,t?t.route:"",e?1:0,t?Object.keys(t.options||{}).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t.options[e])}).join("&"):"",Reporter.getAppType()].map(encodeURIComponent).join(",");Reporter.reportKeyValue({key:"Clipboard",value:n,force:!0})}};function wc(){He("getClipboardData",{success:function(e){Se.currentClipBoardData=e.data}})}ye.onReady(wc),Dn(wc),tr(function(){He("getClipboardData",{success:function(e){e.data!==Se.currentClipBoardData&&(Se.currentClipBoardData=e.data,bc(!1))}})});function Sc(e,t){var n,r=je(ut(Se.lastRoute,t.url,!1)),o=Me[(n=e,n.split(/(?=[A-Z])/).join("_").toLowerCase()).toUpperCase()],a=!0,i="",s=De.OK;if(-1<r){var c=Be[r];(i=c.redirect_url)&&1===c.is_valid?(Qe(e,t,!1,"url has been banned"),Bn("openUrl",{url:i}),s=De.BLOCK,a=!1):i&&1!==c.is_valid&&(s=De.NO_BLOCK)}return We(e,s,o,i),a}var Cc=function(e){Xe("redirectTo",e,{url:""})&&Sc("redirectTo",e)&&(e.url=ut(Se.lastRoute,e.url),e.url=pt(e.url),Kt("redirectTo",e.url,e)&&(Se.navigatorLock=!0,Ke("redirectTo",e,{afterFail:function(){Se.navigatorLock=!1}})))},Tc=function(e){"active"===Se.runningStatus?Xe("reLaunch",e,{url:""})&&Sc("reLaunch",e)&&(e.url=ut(Se.lastRoute,e.url),e.url=pt(e.url),Kt("reLaunch",e.url,e)&&(Se.navigatorLock=!0,Ke("reLaunch",e,{afterFail:function(){Se.navigatorLock=!1}}))):Je("reLaunch",e,"can not invoke reLaunch in background")},kc=function(e){Xe("navigateTo",e,{url:""})&&Sc("navigateTo",e)&&(e.url=ut(Se.lastRoute,e.url),e.url=pt(e.url),Kt("navigateTo",e.url,e)&&(Se.navigatorLock=!0,Ke("navigateTo",e,{afterFail:function(){Se.navigatorLock=!1}})))},xc=function(e){__appServiceEngine__.DisplayReporter.setEventRelatedInfo(e._relatedInfo),kc(e)},Ic=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("switchTab",e,{url:""})&&(/\?.*$/.test(e.url)&&(console.warn("wx.switchTab: url 不支持 queryString"),e.url=e.url.replace(/\?.*$/,"")),Sc("switchTab",e)&&(e.url=ut(Se.lastRoute,e.url),e.url=pt(e.url),Kt("switchTab",e.url,e)&&(Se.navigatorLock=!0,Ke("switchTab",e,{afterFail:function(){Se.navigatorLock=!1}}))))},Ec=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(("number"!=typeof e.delta?e.delta=1:(e.delta=parseInt(e.delta,10),e.delta<1&&(e.delta=1)),"function"==typeof __appServiceEngine__.getCurrentPagesByDomain)&&__appServiceEngine__.getCurrentPagesByDomain("").length<=1)return;Ke("navigateBack",e)};function Pc(e){if(Array.isArray(e)&&e.some(function(e){return"string"!=typeof e||0===e.length}))return"invalid keyList"}var Ac,Oc,Dc=qt("getUserCloudStorage","webapi_getselfuserstorage",{},{},function(e){var t=e.keyList;return{key:void 0===t?[]:t}},function(e){return e.KVDataList=e.kv_list||[],delete e.kv_list,delete e.rawData,e}),Mc=qt("getFriendCloudStorage","webapi_getfrienduserstorage",{},{},function(e){var t=e.keyList;return{key:void 0===t?[]:t}},function(e){return e.user_item=e.user_item?e.user_item:[],e.data=e.user_item.map(function(e){return e.KVDataList=e.kv_list||[],delete e.kv_list,e}),delete e.user_item,delete e.rawData,e}),Rc=o.ShareInfoStorage,Nc=qt("getGroupCloudStorage","webapi_getgroupuserstorage",{},{},function(e){var t=e.keyList,n=void 0===t?[]:t,r=e.shareTicket,o=Rc.get(r);return{key:n,share_key:o.shareKey,share_name:o.shareName}},function(e){return e.user_item=e.user_item?e.user_item:[],e.data=e.user_item.map(function(e){return e.KVDataList=e.kv_list||[],delete e.kv_list,e}),delete e.user_item,delete e.rawData,e}),Lc={emitter:new Bt,pluginIDs:{},pluginVersions:{},pluginInfos:{}},Bc=Lc.pluginInfos,jc=[],Fc=(Oc=!1,369431584<=ye.clientVersion&&ye.clientVersion<=369432575&&(Oc=!0),637867008<=ye.clientVersion&&ye.clientVersion<=637868031&&(Oc=!0),function(){return Oc});var Uc=function(e){var t=e.version;return{customVersion:e.customVersion,version:t,domains:{},hostSign:{}}},Wc=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("navigateBackMiniProgram",e,{})},Vc=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("navigateToDevMiniProgram",e,{appId:""})&&Ke("navigateToDevMiniProgram",e,{})},qc={setPrivateExtraData:function(t){try{__appServiceEngine__.setPrivateExtraData(t.privateExtraData),t.success()}catch(e){t.fail(e)}},getCurrentRoute:function(){(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).success({currentRoute:Se.lastRoute})},setWxInterfaceDisabled:zt,navigateTo:kc,navigateToWithRelatedInfo:xc,redirectTo:Cc,switchTab:Ic,navigateBack:Ec,reLaunch:Tc,getUserCloudStorage:function(e){var t=Pc(e.keyList);t?Je("getUserCloudStorage",e,t):Dc(e)},getFriendCloudStorage:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=Pc(e.keyList);t?Je("getFriendCloudStorage",e,t):Mc(e)},getGroupCloudStorage:function(e){var t=Pc(e.keyList);t?Je("getGroupCloudStorage",e,t):setTimeout(function(){e.shareTicket?Rc.get(e.shareTicket)?Nc(e):Je("getGroupCloudStorage",e,"参数 shareTicket 不正确"):Rc.lastShareTicket?Nc(Object.assign({shareTicket:Rc.lastShareTicket},e)):Je("getGroupCloudStorage",e,"当前小程序不是从群分享卡片打开")},1e3/60)},reportRecycledAPI:It,getPassCookieString:Xn,getPluginContactList:function(e){void 0===Ac?jc.push(e.success):e.success(Ac)},_checkBeforeNavigateToMiniProgram:Xo},Kc=function(e,t,n,r){Ge("callbackAppServiceMethod",{res:e,isSuccess:t,callbackId:n},[r])};Ye("invokeAppServiceMethod",function(e,t){var n=e.name,r=e.type,o=e.args,a=e.callbackId;try{if("bridge"===r)J(n,o,function(e){e.errMsg=e.errMsg||n+":ok",-1!==e.errMsg.indexOf(n+":ok")?Kc(e,!0,a,t):Kc(e,!1,a,t)});else{o.success=function(e){Kc(e,!0,a,t)},o.fail=function(e){Kc(e,!1,a,t)};var i=("wx"===r?wx[n]:qc[n])(o);i instanceof Promise&&i.catch(function(){})}}catch(e){var s={errMsg:n+": fail "+e.message};Kc(s,!1,a,t)}}),ze("onStartReportPageData",function(){var e=(void 0!==__appServiceEngine__?__appServiceEngine__.getCurrentPagesByDomain(""):[]).find(function(e){return e.__wxWebviewId__===Se.currentWebviewId});e&&Ke("reportPageData",{isUserReport:!0,pageData:JSON.stringify(e.data),pageRoute:e.__route__,complete:function(){}})});var Hc,zc=Promise.resolve(),Gc=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t={title:"",content:"",confirmText:"确定",cancelText:"取消",showCancel:!0,confirmColor:"#576B95",cancelColor:"#000000"};Xe("showModal",t=yt(t,e),{title:"",content:"",confirmText:"",cancelText:"",confirmColor:"",cancelColor:""})&&(8<t.confirmText.replace(/[^\x00-\xff]/g,"##").length?Je("showModal",e,"confirmText length should not larger than 4 Chinese characters"):8<t.cancelText.replace(/[^\x00-\xff]/g,"##").length?Je("showModal",e,"cancelText length should not larger than 4 Chinese characters"):Ke("showModal",t,{beforeSuccess:function(e){e.confirm=Boolean(e.confirm),e.cancel=xe?!e.confirm:!e.confirm&&Boolean(e.cancel),ea()}}))},Yc=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};zc.then(function(){Gc(e)})},Jc=(Hc=Gc,function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(e,t){Hc(Object.assign(n,{success:e,fail:t}))})}),Xc=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=zc.then(function(){return Jc(e)});return zc=t},Qc=1,$c=!1,Zc=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t={duration:1500,title:"",icon:"success",mask:!1};t=yt(t,e),e.image&&(t.image=ct(Se.lastRoute,e.image,!1)),["success","loading","none"].indexOf(t.icon)<0&&(t.icon="success"),"none"===t.icon&&(t.icon=""),Xe("showToast",t,{duration:1,title:"",icon:""})&&($c=Qc++,setTimeout(function(){$c=!1},t.duration),Ke("showToast",t))},eu=function(e){if(Te&&tu&&(!$c||$c<tu))return $c=!1,e&&"function"==typeof e.success&&setTimeout(function(){e.success({errMsg:"hideToast:ok"})}),e&&"function"==typeof e.complete&&setTimeout(function(){e.complete({errMsg:"hideToast:ok"})}),void console.warn("请注意 showToast 与 hideToast 必须配对使用");$c=!1,Ke("hideToast",e)},tu=!1,nu=function(){var e={title:"",icon:"loading",mask:!1,duration:1e8};(e=yt(e,0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})).icon="loading",delete e.image,Xe("showLoading",e,{duration:1,title:""})&&(tu=Qc++,Ke("showToast",e,{beforeAll:function(e){e.errMsg=e.errMsg.replace("showToast","showLoading")}}))},ru=function(e){if(Te&&$c&&(!tu||tu<$c))return tu=!1,e&&"function"==typeof e.success&&setTimeout(function(){e.success({errMsg:"hideLoading:ok"})}),e&&"function"==typeof e.complete&&setTimeout(function(){e.complete({errMsg:"hideLoading:ok"})}),void console.warn("请注意 showLoading 与 hideLoading 必须配对使用");tu=!1,Ke("hideToast",e,{beforeAll:function(e){e.errMsg=e.errMsg.replace("hideToast","hideLoading")}})},ou=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t={itemList:[],itemColor:"#000000"};delete(t=yt(t,e)).cancelText,delete t.cancelColor,Xe("showActionSheet",t,{itemList:["1"],itemColor:""})&&(6<e.itemList.length?Je("showActionSheet",e,"parameter error: itemList should not be large than 6"):Ke("showActionSheet",t,{beforeAll:function(e){(-1<e.errMsg.indexOf(":ok")||-1<e.errMsg.indexOf(":cancel"))&&ea()}}))};function au(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(e){gn(t,e,n[e])})}return t}var iu=En("NavigationBarTitleUpdate"),su=iu.internalOnMethod,cu=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("setNavigationBarTitle",t,{title:""})&&(Se.navigationBarTitleMap[Se.lastRoute]=t.title,Se.lastRoute,t.title,Ke("setNavigationBarTitle",t,{beforeAll:function(e){iu.emitInternal(au({title:t.title},e))}}))},uu=function(e){Ke("showNavigationBarLoading",e)},lu=function(e){Ke("hideNavigationBarLoading",e)},du="#000000";ye.onReady(function(){So(function(){void 0!==ye&&ye.global&&ye.global.window&&(du=ye.global.window.navigationBarBackgroundColor||du);var e=Se.lastRoute+".html";void 0!==ye&&ye.page&&ye.page[e]&&ye.page[e].window&&(du=ye.page[e].window.navigationBarBackgroundColor||du)})});var fu=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("setNavigationBarColor",e,{frontColor:"",backgroundColor:""}))if(-1!==["#ffffff","#000000"].indexOf(e.frontColor)){"#ffffff"===e.frontColor?Ke("setStatusBarStyle",{color:"white"}):"#000000"===e.frontColor&&Ke("setStatusBarStyle",{color:"black"});var t=Object.assign({},e);du=e.backgroundColor,Ke("setNavigationBarColor",t)}else Je("setNavigationBarColor",e,'invalid frontColor "'+e.frontColor+'"')},pu=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},e);t.backgroundColor=du,Ke("setNavigationBarColor",t,{beforeAll:function(e){e.errMsg=e.errMsg.replace("setNavigationBarColor","setNavigationBarAlpha")}})},hu=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("setNavigationBarRightButton",e,{hide:!0})&&Ke("setNavigationBarRightButton",e,{})},gu=function(e){ze("onTapNavigationBarRightButton",Reporter.surroundThirdByTryCatch(e,"at onTapNavigationBarRightButton callback function"))},vu=0,_u=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};e.text?Date.now()-vu<5e3?Je("setTopBarText",e,"invoke too frequently"):Ke("setTopBarText",e,{beforeSuccess:function(){vu=Date.now()}}):Je("setTopBarText",e,"invalid text")},yu=function(t){Zt.on("onPageReload",function(e){e.path&&(e.path=gt(e.path)),"function"==typeof t&&t(e)})},mu=function(e){Zt.emit("onBeforeUnloadPage_"+e,e),Zt.removeAllListeners("onBeforeShareAppMessage_"+e)},bu=function(e){Zt.emit("onBeforeShareAppMessage_"+e,e)};Te&&Ye("SPECIAL_PAGE_EVENT",function(e){var t=e.data,n=e.eventName,r=e.ext,o=e.nodeId,a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;if(t&&"input"===t.type&&"function"==typeof Se.webviewEventCallback){var i=Se.webviewEventCallback({data:t,eventName:n,webviewId:a,nodeId:o}),s=t.detail.value;if(r&&r.setKeyboardValue)if(void 0===i);else if("Object"===oe(i)){var c={};s!==i.value&&(c.value=i.value+""),Number.isNaN(parseInt(i.cursor,10))||(c.cursor=parseInt(i.cursor,10)),Ge("setKeyboardValue",c,[a])}else s!==i&&Ge("setKeyboardValue",{value:i+"",cursor:-1},[a])}});var wu=function(a){Se.webviewEventCallback=a,Ye("PAGE_EVENT",function(e){var t=e.data,n=e.eventName,r=e.nodeId,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;a({data:t,eventName:n,webviewId:o,nodeId:r})})},Su=function(r){["onCanvasTouchStart","onCanvasTouchMove","onCanvasTouchEnd"].forEach(function(n){ze(n,function(e,t){r({data:e,eventName:n,webviewId:t})})})},Cu=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("setTabBarBadge",e,{index:0,text:""})){var t=Object.assign({},e);t.badgeValue=t.text,t.type="text",4<function(e){if(null==e)return 0;"string"!=typeof e&&(e+="");return e.replace(/[^\x00-\xff]/g,"01").length}(t.badgeValue)&&(t.badgeValue="..."),Ke("setTabBarBadge",t)}},Tu=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("setTabBarBadge",e,{index:0})){var t=Object.assign({},e);t.type="none",Ke("setTabBarBadge",t,{beforeAll:function(e){e.errMsg=e.errMsg.replace("setTabBarBadge","removeTabBarBadge")}})}},ku=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("setTabBarBadge",e,{index:0})){var t=Object.assign({},e);t.type="redDot",Ke("setTabBarBadge",t,{beforeAll:function(e){e.errMsg=e.errMsg.replace("setTabBarBadge","showTabBarRedDot")}})}},xu=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("setTabBarBadge",e,{index:0})){var t=Object.assign({},e);t.type="none",Ke("setTabBarBadge",t,{beforeAll:function(e){e.errMsg=e.errMsg.replace("setTabBarBadge","hideTabBarRedDot")}})}},Iu=!1;So(function(t){try{ye.tabBar.list.forEach(function(e){e.pagePath.startsWith(t.path)&&(Iu=!0)})}catch(e){}});var Eu=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};void 0===e.animation&&(e.animation=!1),Xe("showTabBar",e,{animation:!0})&&Ke("showTabBar",e,{beforeSuccess:function(){return Iu=!0}})},Pu=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};void 0===e.animation&&(e.animation=!1),Xe("hideTabBar",e,{animation:!0})&&Ke("hideTabBar",e,{beforeSuccess:function(){return Iu=!1}})},Au=function(){return Iu},Ou=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("setTabBarStyle",e)},Du=null;ye.onReady(function(){Du=ye.tabBar&&ye.tabBar.list||[]});var Mu=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("setTabBarItem",e,{index:0})){try{it(e,"text")||(e.text=Du[e.index].text||""),Du[e.index].text=e.text}catch(e){e.message}Ke("setTabBarItem",e)}},Ru=function(e){var t=__appServiceEngine__.getCurrentPagesByDomain(""),n=t[t.length-1].__wxWebviewId__;it(e,"page")&&it(e.page,"__wxWebviewId__")&&(n=e.page.__wxWebviewId__),Ge("pageScrollTo",e,[n])},Nu=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("startPullDownRefresh",e,{})},Lu=function(e){Ke("stopPullDownRefresh",e)},Bu=0,ju={},Fu=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};ju[Bu]={success:e.success,fail:e.fail,complete:e.complete},Ge("setPageStyle",{callbackId:Bu,style:e.style},[Se.currentWebviewId]),Bu+=1};Ye("callbackSetPageStyle",function(e){var t=e.res,n=e.callbackId,r=t.errMsg,o=0===r.indexOf("setPageStyle:ok"),a=0===r.indexOf("setPageStyle:fail"),i=ju[n];delete ju[n],"object"===Y(i)&&(o?"function"==typeof i.success&&i.success(t):a&&"function"==typeof i.fail&&i.fail(t),"function"==typeof i.complete&&i.complete(t))});var Uu=function(){function t(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};$e(this,t),this.actions=[],this.currentTransform=[],this.currentStepAnimates=[],this.option={transition:{duration:void 0!==e.duration?e.duration:400,timingFunction:void 0!==e.timingFunction?e.timingFunction:"linear",delay:void 0!==e.delay?e.delay:0},transformOrigin:e.transformOrigin||"50% 50% 0"}}return Ot(t,[{key:"export",value:function(){var e=this.actions;return this.actions=[],{actions:e}}},{key:"step",value:function(){var n=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return this.currentStepAnimates.forEach(function(e){"style"!==e.type?n.currentTransform[e.type]=e:n.currentTransform[e.type+"."+e.args[0]]=e}),this.actions.push({animates:Object.keys(this.currentTransform).reduce(function(e,t){return[].concat(ve(e),[n.currentTransform[t]])},[]),option:{transformOrigin:void 0!==e.transformOrigin?e.transformOrigin:this.option.transformOrigin,transition:{duration:void 0!==e.duration?e.duration:this.option.transition.duration,timingFunction:void 0!==e.timingFunction?e.timingFunction:this.option.transition.timingFunction,delay:void 0!==e.delay?e.delay:this.option.transition.delay}}}),this.currentStepAnimates=[],this}},{key:"matrix",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:1,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:1,o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,a=5<arguments.length&&void 0!==arguments[5]?arguments[5]:1;return this.currentStepAnimates.push({type:"matrix",args:[e,t,n,r,o,a]}),this}},{key:"matrix3d",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:1,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=5<arguments.length&&void 0!==arguments[5]?arguments[5]:1,i=6<arguments.length&&void 0!==arguments[6]?arguments[6]:0,s=7<arguments.length&&void 0!==arguments[7]?arguments[7]:0,c=8<arguments.length&&void 0!==arguments[8]?arguments[8]:0,u=9<arguments.length&&void 0!==arguments[9]?arguments[9]:0,l=10<arguments.length&&void 0!==arguments[10]?arguments[10]:1,d=11<arguments.length&&void 0!==arguments[11]?arguments[11]:0,f=12<arguments.length&&void 0!==arguments[12]?arguments[12]:0,p=13<arguments.length&&void 0!==arguments[13]?arguments[13]:0,h=14<arguments.length&&void 0!==arguments[14]?arguments[14]:0,g=15<arguments.length&&void 0!==arguments[15]?arguments[15]:1;return this.currentStepAnimates.push({type:"matrix3d",args:[e,t,n,r,o,a,i,s,c,u,l,d,f,p,h,g]}),this.stepping=!1,this}},{key:"rotate",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return this.currentStepAnimates.push({type:"rotate",args:[e]}),this}},{key:"rotate3d",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0;return this.currentStepAnimates.push({type:"rotate3d",args:[e,t,n,r]}),this.stepping=!1,this}},{key:"rotateX",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return this.currentStepAnimates.push({type:"rotateX",args:[e]}),this.stepping=!1,this}},{key:"rotateY",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return this.currentStepAnimates.push({type:"rotateY",args:[e]}),this.stepping=!1,this}},{key:"rotateZ",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return this.currentStepAnimates.push({type:"rotateZ",args:[e]}),this.stepping=!1,this}},{key:"scale",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:1,t=1<arguments.length?arguments[1]:void 0;return t=void 0!==t?t:e,this.currentStepAnimates.push({type:"scale",args:[e,t]}),this}},{key:"scale3d",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:1,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1;return this.currentStepAnimates.push({type:"scale3d",args:[e,t,n]}),this}},{key:"scaleX",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:1;return this.currentStepAnimates.push({type:"scaleX",args:[e]}),this}},{key:"scaleY",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:1;return this.currentStepAnimates.push({type:"scaleY",args:[e]}),this}},{key:"scaleZ",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:1;return this.currentStepAnimates.push({type:"scaleZ",args:[e]}),this}},{key:"skew",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;return this.currentStepAnimates.push({type:"skew",args:[e,t]}),this}},{key:"skewX",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return this.currentStepAnimates.push({type:"skewX",args:[e]}),this}},{key:"skewY",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return this.currentStepAnimates.push({type:"skewY",args:[e]}),this}},{key:"translate",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;return this.currentStepAnimates.push({type:"translate",args:[e,t]}),this}},{key:"translate3d",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0;return this.currentStepAnimates.push({type:"translate3d",args:[e,t,n]}),this}},{key:"translateX",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return this.currentStepAnimates.push({type:"translateX",args:[e]}),this}},{key:"translateY",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return this.currentStepAnimates.push({type:"translateY",args:[e]}),this}},{key:"translateZ",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return this.currentStepAnimates.push({type:"translateZ",args:[e]}),this}},{key:"opacity",value:function(e){return this.currentStepAnimates.push({type:"style",args:["opacity",e]}),this}},{key:"backgroundColor",value:function(e){return this.currentStepAnimates.push({type:"style",args:["background-color",e]}),this}},{key:"width",value:function(e){return"number"==typeof e&&(e+="px"),this.currentStepAnimates.push({type:"style",args:["width",e]}),this}},{key:"height",value:function(e){return"number"==typeof e&&(e+="px"),this.currentStepAnimates.push({type:"style",args:["height",e]}),this}},{key:"left",value:function(e){return"number"==typeof e&&(e+="px"),this.currentStepAnimates.push({type:"style",args:["left",e]}),this}},{key:"right",value:function(e){return"number"==typeof e&&(e+="px"),this.currentStepAnimates.push({type:"style",args:["right",e]}),this}},{key:"top",value:function(e){return"number"==typeof e&&(e+="px"),this.currentStepAnimates.push({type:"style",args:["top",e]}),this}},{key:"bottom",value:function(e){return"number"==typeof e&&(e+="px"),this.currentStepAnimates.push({type:"style",args:["bottom",e]}),this}}]),t}(),Wu=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("createAnimation",e,{}))return new Uu(e)},Vu=[],qu=null,Ku=null,Hu=!1,zu=[],Gu="",Yu=0,Ju=0,Xu=function(e){e.deviceOrientation&&(Gu=e.deviceOrientation),Yu=e.size.windowWidth,Ju=e.size.windowHeight};ze("onViewDidResize",function(e){!function(e){var t=!1,n=!0;(qu=e).deviceOrientation!==Gu&&(t=!0),e.size.windowWidth!==Yu&&(t=!0),e.size.windowHeight!==Ju&&(t=!0),Xu(e),e.pageOrientation&&("auto"===e.pageOrientation.originalPageOrientation||e.pageOrientation.setPageOrientation||(n=t=!1)),t&&(Hu=!0);var r=e.changedWebviewIds;n&&r&&r.forEach(function(e){zu.indexOf(e)<0&&zu.push(e)}),Ku||(Ku=setTimeout(function(){Ku=null;var e=Hu;Hu=!1;var t=zu;zu=[];var n={deviceOrientation:qu.deviceOrientation,size:qu.size};e&&Vu.forEach(function(e){Reporter.surroundThirdByTryCatch(e,"at onWindowResize callback function")(n)}),t.forEach(function(e){var t=__appServiceEngine__.getPageByWebviewId(e);t&&Reporter.surroundThirdByTryCatch(function(){t.__callPageLifeTime__("onResize",n)},"at Resize callback function")()})},16))}(e)});var Qu=function(e){return/^#[0-9a-fA-F]{6}$/.test(e)},$u=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).backgroundColor&&!Qu(e.backgroundColor)&&delete e.backgroundColor,e.backgroundColorTop&&!Qu(e.backgroundColorTop)&&delete e.backgroundColorTop,e.backgroundColorBottom&&!Qu(e.backgroundColorBottom)&&delete e.backgroundColorBottom,(e.backgroundColor||e.backgroundColorTop||e.backgroundColorBottom)&&Ke("setBackgroundColor",e)},Zu=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};-1!==["dark","light"].indexOf(e.textStyle)?Ke("setBackgroundTextStyle",e):Je("setBackgroundTextStyle",e,'invalid textStyle "'+e.textStyle+'"')},el={},tl={};function nl(e){var t=tl[e],n=el[e];n&&n.length&&t&&t.bindmessage&&Se.webviewEventCallback&&Se.webviewEventCallback({data:{type:"message",target:t.target,currentTarget:t.target,timeStamp:Date.now()-t.createdTimestamp,detail:{data:n}},eventName:t.bindmessage,webviewId:e,nodeId:t.nodeId})}function rl(e,t){var n=e.name,r=e.arg;ke&&(t=Se.currentWebviewId),"navigateBack"===n?C.navigateBack({delta:r.delta}):"navigateTo"===n?C.navigateTo({url:r.url}):"redirectTo"===n?C.redirectTo({url:r.url}):"reLaunch"===n?C.reLaunch({url:r.url}):"switchTab"===n?C.switchTab({url:r.url}):"postMessage"===n&&el[t]&&el[t].push(r)}Ye("webViewInserted",function(e,t){var n,r;tl[t]=e,el[t]=[],en(t,function(e){nl(e),delete tl[e],delete el[e]}),n=t,r=nl,Zt.on("onBeforeShareAppMessage_"+n,function(e){"function"==typeof r&&r(e)})}),Ye("webViewRemoved",function(e,t){nl(t),delete tl[t],delete el[t]}),ze("onWebInvokeAppService",rl),ze("WEB_INVOKE_APPSERVICE",rl);var ol=function(e,t,n){setTimeout(function(){Ge("callbackMiniProgramFunction",{callbackId:t,argArr:n},[e])},0)};Ye("callMiniProgramFunction",function(e,r){var o=e.callbackId,t=e.paths,n=e.funcName,a=e.argArr,i=null;"object"!==Y(t)&&(t=[t]);for(var s=0;s<t.length;s++){var c=t[s];".js"!==c.slice(-3)&&(c+=".js");try{i=requireMiniProgramFile(c)}catch(e){}if(i)break}if(i)if("function"!=typeof i[n]){ol(r,o,[{errMsg:"callMiniProgramFunction:fail Function not found"}])}else a.push(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];ol(r,o,t)}),i[n].apply({},a);else{ol(r,o,[{errMsg:"callMiniProgramFunction:fail File not found"}])}});var al=!1,il=[],sl=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};!0===al?il.push(t):(al=!0,Ke("getLocation",t,{beforeSuccess:function(e){t.altitude||delete e.altitude},beforeAll:function(){al=!1},afterAll:function(t){il.forEach(function(e){"function"==typeof e.complete&&Reporter.surroundThirdByTryCatch(e.complete,"at getLocation complete callback function")(t)}),il=[]},afterSuccess:function(t){il.forEach(function(e){"function"==typeof e.success&&Reporter.surroundThirdByTryCatch(e.success,"at getLocation success callback function")(t)})},afterFail:function(t){il.forEach(function(e){"function"==typeof e.fail&&Reporter.surroundThirdByTryCatch(e.fail,"at getLocation fail callback function")(t)})}}))},cl=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("chooseLocation",e)},ul=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("openLocation",e,{latitude:1,longitude:1})&&Ke("openLocation",e)},ll=!1,dl=function(){if(!ye.ext)return{};try{return JSON.parse(JSON.stringify(ye.ext))}catch(e){return{}}},fl=1,pl={};Ye("responseComponentInfo",function(e){var t=e.reqId,n=pl[t];n&&(delete pl[t],n(e.res))});var hl=function(){function o(e,t,n,r){$e(this,o),this._selectorQuery=e,this._component=t,this._selector=n,this._single=r}return Ot(o,[{key:"fields",value:function(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}},{key:"boundingClientRect",value:function(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}},{key:"scrollOffset",value:function(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}},{key:"context",value:function(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}}]),o}(),gl={},vl=function(i){return function(){function n(e){if($e(this,n),e&&e.page)this._component=this._defaultComponent=e.page,this._webviewId=this._defaultComponent.__wxWebviewId__;else{var t=__appServiceEngine__.getCurrentPagesByDomain("");this._defaultComponent=t[t.length-1],this._component=null,this._webviewId=null}this._queue=[],this._queueCb=[]}return Ot(n,[{key:"in",value:function(e){return null===this._webviewId?(this._webviewId=e.__wxWebviewId__,this._component=e):this._webviewId!==e.__wxWebviewId__?console.error("A single SelectorQuery could not work in components in different pages. A SelectorQuery#in call has been ignored."):this._component=e,this}},{key:"select",value:function(e){return new hl(this,this._component,e,!0)}},{key:"selectAll",value:function(e){return new hl(this,this._component,e,!1)}},{key:"selectViewport",value:function(){return new hl(this,0,"",!0)}},{key:"_push",value:function(e,t,n,r,o){null===this._webviewId&&(this._webviewId=this._defaultComponent?this._defaultComponent.__wxWebviewId__:void 0);var a=i?"":__virtualDOM__.getRootNodeId(this._webviewId);this._queue.push({component:null!=t?0===t?0:t.__wxExparserNodeId__:a,selector:e,single:n,fields:r}),this._queueCb.push(o||null)}},{key:"exec",value:function(t){var e,n,r,o,a=this;e=this._webviewId,n={pluginId:i,queue:this._queue},r=function(e){var n=a._queueCb;e.forEach(function(e,t){!function t(e,n){if(e)if(Array.isArray(e))e.forEach(function(e){return t(e,n)});else{var r=e.contextTagName,o=e.contextId,a=e.contextCanvasId;r&&("wx-video"===r&&(e.context=pi(o,Se.currentWebviewId)),"wx-live-player"===r&&(e.context=Ma(o,Se.currentWebviewId)),"wx-map"===r&&(e.context=hn(o,Se.currentWebviewId)),"wx-canvas"===r&&a&&(e.context=mo(a,n)),delete e.contextTagName,delete e.contextId,delete e.contextCanvasId)}}(e,a._component),"function"==typeof n[t]&&Reporter.surroundThirdByTryCatch(function(){n[t].call(a,e)},"at SelectorQuery callback function")()}),"function"==typeof t&&Reporter.surroundThirdByTryCatch(function(){t.call(a,e)},"at SelectorQuery callback function")()},o=fl++,null!=e?(pl[o]=r,Ge("requestComponentInfo",{reqId:o,reqs:n},[e])):console.warn("An SelectorQuery call is ignored because no proper page or component is found. Please considering using `SelectorQuery.in` to specify a proper one.")}}]),n}()};function _l(e,t){return gl[t]||(gl[t]=vl(t)),new gl[t](e)}var yl=1,ml={},bl=function(e,t,n){var r=yl++;ml[r]=n,Ge("requestComponentObserver",{reqId:r,req:t},[e])};Ye("responseComponentObserver",function(e){var t=e.reqId,n=ml[t];e.reqEnd&&delete ml[t],n&&(e.reqEnd||n(e.res))});var wl={};function Sl(e,t,n){var o;return wl[n]||(wl[n]=(o=n,function(){function r(e,t){if($e(this,r),this._component=e,this._options=t,this._relativeInfo=[],this._observerId=null,this._disconnected=!1,e)this._webviewId=e.__wxWebviewId__;else{var n=__appServiceEngine__.getCurrentPagesByDomain("");this._webviewId=n[n.length-1].__wxWebviewId__}}return Ot(r,[{key:"relativeTo",value:function(e,t){if(null!==this._observerId)throw new Error('Relative nodes cannot be added after "observe" call in IntersectionObserver');return this._relativeInfo.push({selector:e,margins:t}),this}},{key:"relativeToViewport",value:function(e){if(null!==this._observerId)throw new Error('Relative nodes cannot be added after "observe" call in IntersectionObserver');return this._relativeInfo.push({selector:null,margins:e}),this}},{key:"observe",value:function(e,t){var n=this;if(null!==this._observerId)throw new Error('"observe" call can be only called once in IntersectionObserver');this._observerId="";var r=this._component;bl(this._webviewId,{type:"addIntersectionObserver",pluginId:o,nodeId:r?r.__wxExparserNodeId__:__virtualDOM__.getRootNodeId(this._webviewId),targetSelector:e,relativeInfo:this._relativeInfo,options:this._options},function(e){n._disconnected||(e.observerId&&(n._observerId=e.observerId),e.info&&t.call(n,e.info))})}},{key:"disconnect",value:function(){bl(this._webviewId,{type:"removeIntersectionObserver",observerId:this._observerId}),this._disconnected=!0}}]),r}())),new wl[n](e,t)}var Cl=[],Tl=null;function kl(){var e=Cl;Cl=[],Tl=null;for(var t=0,n=e.length;t<n;t++){var r=e[t];r&&(r=Reporter.surroundThirdByTryCatch(r,"at api nextTick callback function")),r&&r()}}var xl=function(e){return _l(e,"")},Il=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("uploadEncryptedFileToCDN",e,{})},El=function(e){ze("onUploadEncryptedFileToCDNProgress",e)};Fi("Request",{maxTaskCount:10,functionName:"request"}),ye.onReady(function(){try{"number"==typeof ye.wxAppInfo.maxRequestConcurrent&&Fi("Request",{maxTaskCount:ye.wxAppInfo.maxRequestConcurrent})}catch(e){}});var Pl=function(e){function t(o){return $e(this,t),et(this,tt(t).call(this,o,{taskType:"Request",beforeSend:function(e){return e.responseType=o.responseType,e},beforeSuccess:function(e){var t,n,r;return"string"==typeof(t=e).data&&65279===t.data.charCodeAt(0)&&(t.data=t.data.substr(1)),(n=e).statusCode=parseInt(n.statusCode,10),"object"===Y((r=e).header)&&(r.header=Object.keys(r.header).reduce(function(e,t){return Array.isArray(r.header[t])?e[t]=r.header[t].join(","):"string"==typeof r.header[t]&&(e[t]=r.header[t]),e},{})),"json"===o.dataType&&function(e){try{e.data=JSON.parse(e.data)}catch(e){}}(e),e}}))}return rt(t,Ni),t}(),Al=function(){var i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return i=Object.assign({__skipDomainCheck__:!1},i),function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("request",n,{url:""}))if(!1!==dt(n.url))if("function"!==n.data){var e=oe(n.header);n.header=n.header||{},n.header=Tt(n.header),"Undefined"!==e&&"Object"!==e&&(console.warn("wx.request: header must be an object"),n.header={}),n.header=Object.keys(n.header).reduce(function(e,t){return"content-type"===t.toLowerCase()?e[t.toLowerCase()]=n.header[t]:e[t]=n.header[t],e},{});var t="text";n.responseType&&(t=n.responseType.toLowerCase());var r,o=n.header||{},a="GET";"string"==typeof n.method&&(a=n.method.toUpperCase()),n.dataType=n.dataType||"json",o["content-type"]=o["content-type"]||"application/json",r=void 0===n.data?"":"string"!=typeof n.data&&"ArrayBuffer"!==oe(n.data)?-1<o["content-type"].indexOf("application/x-www-form-urlencoded")?lt(n.data,!0):-1<o["content-type"].indexOf("application/json")?JSON.stringify(n.data):"object"===Y(n.data)?JSON.stringify(n.data):r.toString():n.data,"GET"===a&&(n.url=function(e,n){if("string"==typeof e&&"object"===Y(n)&&null!==n&&0<Object.keys(n).length){var t=e.split("?");return t[0]+"?"+lt(ft((t[1]||"").split("&").reduce(function(e,t){if("string"==typeof t&&0<t.length){var n=t.split("="),r=n[0],o=n[1];e[r]=o}return e},{}),Object.keys(n).reduce(function(e,t){return"object"===Y(n[t])?e[encodeURIComponent(t)]=encodeURIComponent(JSON.stringify(n[t])):e[encodeURIComponent(t)]=encodeURIComponent(n[t]),e},{})))}return e}(n.url,n.data));try{return new Pl(Object.assign({},n,{header:o,method:a,responseType:t,data:r,__skipDomainCheck__:i.__skipDomainCheck__}))}catch(e){return void Je("request",n,e.message)}}else Je("request",n,"data should not be Function");else Je("request",n,'invalid url "'+n.url+'"')}},Ol=Al(),Dl=Al({__skipDomainCheck__:!0});Fi("Upload",{maxTaskCount:10,functionName:"uploadFile"}),ye.onReady(function(){try{"number"==typeof ye.wxAppInfo.maxUploadConcurrent&&Fi("Upload",{maxTaskCount:ye.wxAppInfo.maxUploadConcurrent})}catch(e){}});var Ml=function(e){function n(t){return $e(this,n),et(this,tt(n).call(this,t,{taskType:"Upload",beforeSend:function(e){return e.filePath=t.filePath,e.name=t.name,e.formData=t.formData,e},beforeSuccess:function(e){return e}}))}return rt(n,Ni),n}(),Rl=function(){var r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r=Object.assign({__skipDomainCheck__:!1},r),function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("uploadFile",t,{url:"",filePath:"",name:""})){"object"!==Y(t.header)&&void 0!==t.header&&(console.warn("uploadFile: header must be an object"),delete t.header),"object"!==Y(t.formData)&&void 0!==t.formData&&(console.warn("uploadFile: formData must be an object"),delete t.formData);var e={},n={};t.header&&(e=Tt(t.header)),t.formData&&(n=Tt(t.formData));try{return new Ml(Object.assign({},t,{header:e,formData:n,__skipDomainCheck__:r.__skipDomainCheck__}))}catch(e){return void Je("uploadFile",t,e.message)}}}},Nl=Rl(),Ll=Rl({__skipDomainCheck__:!0}),Bl=0,jl=new WeakMap,Fl=new WeakMap,Ul=new WeakMap,Wl=new WeakMap,Vl={},ql=new Bt;ze("onSocketTaskStateChange",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.state,n=e.socketTaskId,r=Vl[n];if(r){var o=jl.get(r);if(delete e.state,delete e.socketTaskId,r){if("open"===t){r.readyState=r.OPEN;var a=Ul.get(r).url,i=Date.now()-Wl.get(r),s=e.statusCode,c=Ul.get(r).__skipDomainCheck__;Ci("connectSocket",a,1,i,"",s,c,0)}else"close"!==t&&"error"!==t||(r.readyState=r.CLOSED);ql.emit(""+o+t,e),ql.emit("onSocket"+(t[0].toUpperCase()+t.substr(1)),e,r),"close"===t&&(delete Vl[n],ql.removeAllListeners(o+"open"),ql.removeAllListeners(o+"close"),ql.removeAllListeners(o+"error"),ql.removeAllListeners(o+"message"))}}});var Kl=function(e,t){ql.on(""+jl.get(this)+e,Reporter.surroundThirdByTryCatch(t,"at socketTask.on"+e+" callback function"))},Hl=function(){function n(e,o){var a=this;$e(this,n),this.CONNECTING=0,this.OPEN=1,this.CLOSING=2,this.CLOSED=3,this.readyState=this.CONNECTING;var i,t=Bl++;jl.set(this,t),Ul.set(this,o),Object.defineProperty(this,"__socketInstance__",{value:e,writable:!1,configurable:!1,enumerable:!1}),["success","fail","complete"].forEach(function(e){"function"==typeof o[e]&&(o[e]=Reporter.surroundThirdByTryCatch(o[e],"at api connectSocket "+e+" callback function"))}),Wl.set(this,Date.now()),Ke("createSocketTask",o,{beforeAll:function(e){e.errMsg=e.errMsg.replace("createSocketTask","connectSocket")},beforeSuccess:function(e){Fl.set(a,e.socketTaskId),Vl[e.socketTaskId]=a},beforeFail:function(e){var t=o.url,n=Date.now()-Wl.get(a),r=o.__skipDomainCheck__;i=e.errMsg,Ci("connectSocket",t,2,n,i,"",r,0)}}),i&&(this.readyState=this.CLOSED,setTimeout(function(){ql.emit(t+"error",{errMsg:i})},0))}return Ot(n,[{key:"send",value:function(s){var c=this;if(this.readyState===this.OPEN){var u=Date.now();Ke("operateSocketTask",Object.assign({},s,{operationType:"send",socketTaskId:Fl.get(this)}),{beforeAll:function(e){if(e.errMsg=e.errMsg.replace("operateSocketTask","sendSocketMessage"),.99<Math.random()){var t=Ul.get(c).url,n=-1<e.errMsg.indexOf("ok")?1:2,r=Date.now()-u,o=e.errMsg,a=Ul.get(c).__skipDomainCheck__,i=Ut(s.data);Ci("sendSocketMessage",t,n,r,o,"",a,i)}}})}else Je("SocketTask.send",s,"SocketTask.readState is not OPEN")}},{key:"close",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("operateSocketTask",Object.assign({code:1e3},e,{operationType:"close",socketTaskId:Fl.get(this)}),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateSocketTask","closeSocket")}})}},{key:"onOpen",value:function(e){Kl.call(this,"open",e)}},{key:"onClose",value:function(e){Kl.call(this,"close",e)}},{key:"onMessage",value:function(e){Kl.call(this,"message",e)}},{key:"onError",value:function(e){Kl.call(this,"error",e)}}]),n}(),zl=new WeakMap,Gl={};function Yl(t,n){var a;return Gl[n]||(Gl[n]=new WeakMap,ql.on("onSocket"+n,(a=n,function(e,t){var n=t.__socketInstance__,r=Gl[a].get(n),o=zl.get(n);r&&t===o&&Reporter.surroundThirdByTryCatch(r,"at onSocket"+a+" callback function")(e)}))),function(e){Xe("onSocket"+n,e,pe)&&Gl[n].set(t,e)}}var Jl=function(){var o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};o=Object.assign({__skipDomainCheck__:!1},o);var a={};return{connectSocket:function(t){if(Xe("connectSocket",t,{url:""}))if(!1!==dt(t.url,"websocket")){"object"!==Y(t.header)&&void 0!==t.header&&delete t.header;var e={};t.header&&(e=Tt(t.header)),t.__skipDomainCheck__=o.__skipDomainCheck__;try{var n=zl.get(a),r=new Hl(a,Object.assign({},t,{header:e}));return n&&n.readyState!==n.CLOSED?n.readyState:zl.set(a,r),r}catch(e){return e.message,void Je("connectSocket",t,e.message)}}else Je("request",t,'invalid url "'+t.url+'"')},closeSocket:function(e){var t=zl.get(a);for(var n in t&&t.readyState!==t.CLOSED?(t.readyState=t.CLOSED,t.close(e)):Je("closeSocket",e,"WebSocket is not connected"),Vl){var r=Vl[n];r.__socketInstance__===a&&(r.readyState=r.CLOSED,r!==t&&r.close())}},sendSocketMessage:function(e){var t=zl.get(a);t&&t.readyState===t.OPEN?t.send(e):Je("sendSocketMessage",e,"WebSocket is not connected")},onSocketOpen:Yl(a,"Open"),onSocketClose:Yl(a,"Close"),onSocketMessage:Yl(a,"Message"),onSocketError:Yl(a,"Error")}},Xl=Jl(),Ql=function(){return Jl({__skipDomainCheck__:!0})},$l=(new WeakMap,new WeakMap,new Bt);ze("onDownloadAppStateChange",function(e){var t=e.state,n=e.downloadId;switch(delete e.state,delete e.downloadId,delete e.appId,t){case"download_succ":$l.emit(n+":progressUpdate",e),$l.emit(n+":success",e);break;case"download_failed":$l.emit(n+":fail",e);break;case"download_progress_changed":$l.emit(n+":progressUpdate",e)}"download_succ"!==t&&"download_failed"!==t||($l.removeAllListeners(n+":success"),$l.removeAllListeners(n+":fail"),$l.removeAllListeners(n+":progressUpdate"))});var Zl=ns.app,ed=Zl.saveFile,td=(Zl.saveFileSync,Zl.getSavedFileList),nd=Zl.getSavedFileInfo,rd=Zl.removeSavedFile,od=Zl.getFileInfo,ad=(Zl.readFile,Zl.readFileSync),id=Zl.writeFile,sd=(Zl.writeFileSync,Zl.mkdir,Zl.mkdirSync),cd=(Zl.rmdir,Zl.rmdirSync,Zl.readdir,Zl.readdirSync,Zl.access,Zl.accessSync),ud=(Zl.unlink,Zl.unlinkSync),ld=(Zl.stat,Zl.statSync),dd=(Zl.unzip,Zl.copyFile,Zl.copyFileSync,Zl.rename,Zl.renameSync),fd=Zl.appendFile,pd=(Zl.appendFileSync,function(e){function n(e){var t;return $e(this,n),(t=et(this,tt(n).call(this,"APP-SERVICE-SDK:"+e))).type="AppServiceSdkKnownError",t}return rt(n,at(Error)),n}()),hd=0,gd=function(e){return Array.isArray(e)?e.filter(function(e){return"string"==typeof e&&!e.startsWith("__plugins__")}):[]},vd={setStorage:function(t){if(Xe("setStorage",t,{key:""}))try{var e=he(t.data),n=e.data,r=e.dataType;Ke("setStorage",{key:t.key,data:n,dataType:r,storageId:hd,success:t.success,fail:t.fail,complete:t.complete})}catch(e){"function"==typeof t.fail&&t.fail({errMsg:"setStorage:fail "+e.message}),"function"==typeof t.complete&&t.complete({errMsg:"setStorage:fail "+e.message})}},setStorageSync:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";if(Xe("setStorage",e,"")){var n=xe?"setStorage":"setStorageSync",r=he(t),o=r.data,a=r.dataType,i=!1,s="";if(Ke(n,{key:e,data:o,dataType:a,storageId:hd,fail:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};i=!0,s=e.errMsg.replace("setStorage:","setStorageSync:")}}),i)throw new pd(s)}},getStorage:function(e){Xe("getStorage",e,{key:""})&&Ke("getStorage",Object.assign({},e,{storageId:hd}),{beforeSuccess:function(e){e.data=ge(e.data,e.dataType),delete e.dataType},checkNeedReportFail:function(e){return-1===e.errMsg.indexOf("data not found")}})},getStorageSync:function(e){var t;if(Xe("getStorageSync",e,""))return Ke(xe?"getStorage":"getStorageSync",{key:e,storageId:hd},{beforeAll:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};t=ge(e.data,e.dataType)},checkNeedReportFail:function(e){return-1===e.errMsg.indexOf("data not found")}}),t},getStorageInfo:function(e){Ke("getStorageInfo",Object.assign({},e,{storageId:hd}),{beforeAll:function(e){e.keys=gd(e.keys)}})},getStorageInfoSync:function(){var t;return Ke("getStorageInfoSync",{storageId:hd},{beforeAll:function(e){(t=e).keys=gd(e.keys),delete e.errMsg}}),t},removeStorage:function(e){Xe("removeStorage",e,{key:""})&&Ke("removeStorage",Object.assign({},e,{storageId:hd}))},removeStorageSync:function(e){Xe("removeStorageSync",e,"")&&Ke("removeStorageSync",{key:e,storageId:hd})},clearStorage:function(e){Ke("clearStorage",Object.assign({},e,{storageId:hd}))},clearStorageSync:function(){Ke(xe?"clearStorage":"clearStorageSync",{storageId:hd})}},_d=function(e){var n="opendata"===e?1:0,r={};return Object.keys(vd).forEach(function(e){var t=vd[e];r[e]=function(){return hd=n,t.apply(void 0,arguments)}}),r},yd={app:_d("app"),game:_d("game"),opendata:_d("opendata")},md=void 0,bd=yd.app,wd={};["setStorage","getStorage","getStorageInfo","removeStorage","clearStorage"].forEach(function(a){wd[a]=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(e.key&&e.key.toString().startsWith("__plugins__"))return void Je(a,e,'invalid key "'+e.key+'"');return bd[""+a](e)},wd[a+"Sync"]=function(e){var t;if(!e||!e.toString().startsWith("__plugins__")){for(var n=arguments.length,r=new Array(1<n?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=bd[a+"Sync"]).call.apply(t,[md,e].concat(r))}};var e="plugin_"+a;wd[e]=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return e.key&&(e.key="__plugins__/"+e.key),bd[""+a](e)},wd[e+"Sync"]=function(e){var t;e&&(e="__plugins__/"+e);for(var n=arguments.length,r=new Array(1<n?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=bd[a+"Sync"]).call.apply(t,[md,e].concat(r))}});var Sd=wd,Cd=n(2),Td=n(3),kd=function(t,e,n){if(!e)return[];var r=Object.keys(n),o=r.indexOf(e);if(-1===o)return[];var a=n[r[o]];return Object.keys(a).filter(function(e){return function(e,t){e=e.split("."),t=t.split(".");for(var n=Math.max(e.length,t.length);e.length<n;)e.push("0");for(;t.length<n;)t.push("0");for(var r=0;r<n;r++){var o=parseInt(e[r],10),a=parseInt(t[r],10);if(a<o)return 1;if(o<a)return-1}return 0}(e,t)<=0})},xd=function(e,t,n){for(var r,o=0;o<e.length;o++)for(var a=t[e[o]],i=0;i<a.length;i++){var s=a[i];if("string"==typeof s&&s===n){void 0===r&&(r=[]);break}if("object"===Y(s)&&it(s,n)){r=void 0===r?s[n]:r.concat(s[n]);break}}return r},Id=function(e,t){for(var n=0;n<e.length;n++){if("string"==typeof e[n]&&e[n]===t)return[];if("object"===Y(e[n])&&it(e[n],t))return e[n][t]}},Ed=function(e,t,n,r){var o,a;if(0===(o=kd(e,t,Cd)).length)return!1;if(n){var i=Cd[t];if(void 0===(a=xd(o,i,n)))return!1}return!r||void 0!==Id(a,r)},Pd=function(e,t,n,r,o){var a,i,s;if(0===(a=kd(e,t,Td)).length)return!1;if(n){var c=Td[t];if(void 0===(i=xd(a,c,n)))return!1}return(!r||void 0!==(s=Id(i,r)))&&(!o||void 0!==Id(s,o))},Ad=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};setTimeout(function(){Ke("getBatteryInfo",e)},0)},Od=function(){var t={level:100,isCharging:!0};if(Ke("getBatteryInfo",{complete:function(e){return t=e}}),t.errMsg=t.errMsg?t.errMsg.replace("getBatteryInfo","getBatteryInfoSync"):"getBatteryInfoSync:ok",/fail/.test(t.errMsg))throw new Error(t.errMsg);return t},Dd=!1,Md=[],Rd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t={fast:0,game:20,ui:60,normal:200},n=ft(e,{interval:void 0!==t[e.interval]?t[e.interval]:t.normal,enable:!0});Ke("enableAccelerometer",n,{beforeAll:function(e){e.errMsg=e.errMsg.replace("enableAccelerometer","startAccelerometer")}}),Dd=!0},Nd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("enableAccelerometer",ft(e,{enable:!1}),{beforeAll:function(e){e.errMsg=e.errMsg.replace("enableAccelerometer","stopAccelerometer")}}),Dd=!1},Ld=function(e){Dd||(Ke("enableAccelerometer",{enable:!0}),Dd=!0),Md.push(Reporter.surroundThirdByTryCatch(e,"at onAccelerometerChange callback function"))};ze("onAccelerometerChange",function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};369558016<=ye.clientVersion&&ye.clientVersion<369558272&&(t.x&&(t.x/=180/Math.PI),t.y&&(t.y/=180/Math.PI),t.z&&(t.z/=180/Math.PI)),Md.forEach(function(e){"function"==typeof e&&e(t)})});var Bd=!1,jd=[],Fd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("enableCompass",ft(e,{enable:!0}),{beforeAll:function(e){e.errMsg=e.errMsg.replace("enableCompass","startCompass")}}),Bd=!0},Ud=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("enableCompass",ft(e,{enable:!1}),{beforeAll:function(e){e.errMsg=e.errMsg.replace("enableCompass","stopCompass")}}),Bd=!1},Wd=function(e){Bd||(Ke("enableCompass",{enable:!0}),Bd=!0),jd.push(Reporter.surroundThirdByTryCatch(e,"at onCompassChange callback function"))};ze("onCompassChange",function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};jd.forEach(function(e){"function"==typeof e&&e(t)})});var Vd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("makePhoneCall",e,{phoneNumber:""})&&Ke("makePhoneCall",e)},qd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("makeVoIPCall",ft({allowBackCamera:!1,showOther:!1},e))},Kd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("scanCode",e,{})&&Ke("scanCode",e,{beforeSuccess:function(e){"string"==typeof e.path&&(e.path=e.path.replace(/\.html$/,""),e.path=e.path.replace(/\.html\?/,"?"))}})},Hd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("openQRCode",e,{})&&Ke("openQRCode",e)},zd=function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("getClipboardData",Object.assign({},n,{success:function(e){var t=e.data;Qe("getClipboardData",n,!0,"",null,{data:t})}}),{})},Gd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("setClipboardData",e,{data:""})&&Ke("setClipboardData",e,{beforeSuccess:function(){He("showToast",{duration:1500,title:"内容已复制",icon:"none",mask:!1});try{Se.currentClipBoardData=e.data,bc(!0)}catch(e){}}})},Yd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(e.uuids)if(Array.isArray(e.uuids)){if(0!==e.uuids.length){var t=new RegExp(/^[0-9a-f]{4}$|^[0-9a-f]{8}$|^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i);if(!e.uuids.some(function(e){return"string"==typeof e&&t.test(e)}))return void Je("startBeaconDiscovery",e,"invalid service uuid")}Ke("startBeaconDiscovery",e)}else Je("startBeaconDiscovery",e,"uuid must be an Array");else Je("startBeaconDiscovery",e,"must have uuid")},Jd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("stopBeaconDiscovery",e)},Xd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("getBeacons",e)},Qd=function(e){Xe("onBeaconUpdate",e,pe)&&ze("onBeaconUpdated",Reporter.surroundThirdByTryCatch(e,"at onBeaconUpdate callback function"))},$d=function(e){Xe("onBeaconServiceChange",e,pe)&&ze("onBeaconServiceChanged",Reporter.surroundThirdByTryCatch(e,"at onBeaconServiceChange callback function"))},Zd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("captureScreen",e,{})},ef=function(e){ze("onUserCaptureScreen",Reporter.surroundThirdByTryCatch(e,"at onUserCaptureScreen callback function"))},tf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("getScreenBrightness",e,{})},nf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("setScreenBrightness",e,{})},rf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("setKeepScreenOn",e,{keepScreenOn:!0})&&Ke("setKeepScreenOn",e,{})},of=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("vibrateShort",e,{})},af=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("vibrateLong",e,{})},sf=function(e){Ke("chooseContact",e)},cf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("chooseWeChatContact",e)},uf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("addPhoneContact",e,{})},lf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("openBluetoothAdapter",e,{})},df=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("closeBluetoothAdapter",e,{})},ff=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("getBluetoothAdapterState",e,{})},pf=function(e){ze("onBluetoothAdapterStateChange",Reporter.surroundThirdByTryCatch(e,"at onBluetoothAdapterStateChange callback function"))},hf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(e.services){if(!Array.isArray(e.services))return void Je("startBluetoothDevicesDiscovery",{},"services must be an Array");if(0!==e.services.length){var t=new RegExp(/^[0-9a-f]{4}$|^[0-9a-f]{8}$|^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i);if(!e.services.some(function(e){return"string"==typeof e&&t.test(e)}))return void Je("startBluetoothDevicesDiscovery",{},"invalid service uuid");e.services=e.services.map(function(e){return ke&&(e=e.toUpperCase()),4===e.length?"0000"+e+"-0000-1000-8000-00805F9B34FB":8===e.length?e+"-0000-1000-8000-00805F9B34FB":e})}}Ke("startBluetoothDevicesDiscovery",e,{})},gf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("stopBluetoothDevicesDiscovery",e,{})},vf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("getBluetoothDevices",e,{beforeSuccess:function(e){Array.isArray(e.devices)||(e.devices=[]),e.devices.map(function(e){if(e.name||(e.name="未知设备"),e.advertisData&&(e.advertisData=Ct(e.advertisData)),e.serviceData){var t=e.serviceData;Object.keys(t).forEach(function(e){t[e]&&(t[e]=Ct(t[e]))})}return e})}})},_f=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(e.services){if(!Array.isArray(e.services))return void Je("getConnectedBluetoothDevices",e,"services must be an Array");if(0!==e.services.length){var t=new RegExp(/^[0-9a-f]{4}$|^[0-9a-f]{8}$|^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i);if(!e.services.some(function(e){return"string"==typeof e&&t.test(e)}))return void Je("getConnectedBluetoothDevices",{},"invalid service uuid");e.services=e.services.map(function(e){return ke&&(e=e.toUpperCase()),4===e.length?"0000"+e+"-0000-1000-8000-00805F9B34FB":8===e.length?e+"-0000-1000-8000-00805F9B34FB":e})}}Ke("getConnectedBluetoothDevices",e,{beforeSuccess:function(e){Array.isArray(e.devices)||(e.devices=[]),e.devices=e.devices.map(function(e){return e.name||(e.name="未知设备"),e.advertisData&&(e.advertisData=Ct(e.advertisData)),e})}})},yf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("createBLEConnection",e,{deviceId:""})&&Ke("createBLEConnection",e,{})},mf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("closeBLEConnection",e,{deviceId:""})&&Ke("closeBLEConnection",e,{})},bf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("getBLEDeviceServices",e,{deviceId:""})&&Ke("getBLEDeviceServices",e,{beforeSuccess:function(e){Array.isArray(e.services)||(e.services=[]),void 0===e.errCode&&(e.errCode=0)}})},wf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("getBLEDeviceCharacteristics",e,{deviceId:"",serviceId:""})&&Ke("getBLEDeviceCharacteristics",Object.assign({},e,{serviceId:ke?e.serviceId.toUpperCase():e.serviceId}),{beforeSuccess:function(e){Array.isArray(e.characteristics)||(e.characteristics=[])}})},Sf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("notifyBLECharacteristicValueChanged",e,{state:!0,deviceId:"",serviceId:"",characteristicId:""})&&Ke("notifyBLECharacteristicValueChanged",Object.assign({},e,{serviceId:ke?e.serviceId.toUpperCase():e.serviceId,characteristicId:ke?e.characteristicId.toUpperCase():e.characteristicId}),{})},Cf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("notifyBLECharacteristicValueChange",e,{state:!0,deviceId:"",serviceId:"",characteristicId:""})&&Ke("notifyBLECharacteristicValueChanged",Object.assign({},e,{serviceId:ke?e.serviceId.toUpperCase():e.serviceId,characteristicId:ke?e.characteristicId.toUpperCase():e.characteristicId}),{beforeAll:function(e){e.errMsg=e.errMsg.replace("notifyBLECharacteristicValueChanged","notifyBLECharacteristicValueChange")}})},Tf=function(n){ze("onBluetoothDeviceFound",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=[];Array.isArray(e.devices)?t=e.devices:t.push(e),t=t.map(function(e){try{e.advertisData=Ct(e.advertisData)}catch(e){}try{var t=e.serviceData||{};Object.keys(t).forEach(function(e){t[e]&&(t[e]=Ct(t[e]))})}catch(e){}return e}),Reporter.surroundThirdByTryCatch(n,"at onBluetoothDeviceFound callback function")({devices:t})})},kf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("readBLECharacteristicValue",e,{deviceId:"",serviceId:"",characteristicId:""})&&Ke("readBLECharacteristicValue",Object.assign({},e,{serviceId:ke?e.serviceId.toUpperCase():e.serviceId,characteristicId:ke?e.characteristicId.toUpperCase():e.characteristicId}),{})},xf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("writeBLECharacteristicValue",e,{value:new ArrayBuffer(0),deviceId:"",serviceId:"",characteristicId:""})&&Ke("writeBLECharacteristicValue",Object.assign({},e,{value:St(e.value),serviceId:e.serviceId.toUpperCase(),characteristicId:ke?e.characteristicId.toUpperCase():e.characteristicId}),{})},If=function(e){ze("onBLEConnectionStateChanged",Reporter.surroundThirdByTryCatch(e,"at onBLEConnectionStateChanged callback function"))},Ef=function(e){ze("onBLEConnectionStateChanged",Reporter.surroundThirdByTryCatch(e,"at onBLEConnectionStateChange callback function"))},Pf=function(t){ze("onBLECharacteristicValueChange",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};"string"==typeof e.value&&(e.value=Ct(e.value)),Reporter.surroundThirdByTryCatch(t,"at onBLECharacteristicValueChange callback function")(e)})},Af=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("startWifi",e,{})},Of=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("stopWifi",e,{})},Df=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("getWifiList",e,{})},Mf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("getConnectedWifi",e,{})},Rf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("connectWifi",e,{SSID:"",password:""})&&Ke("connectWifi",e,{})},Nf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};xe?Xe("presetWifiList",e,{wifiList:[]})&&Ke("presetWifiList",e,{}):Je("presetWifiList",e,"presetWifiList must be invoked on iOS platform")},Lf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};xe?Xe("setWifiList",e,{wifiList:[]})&&Ke("setWifiList",e,{}):Je("setWifiList",e,"setWifiList must be invoked on iOS platform")},Bf=function(e){ze("onGetWifiList",Reporter.surroundThirdByTryCatch(e,"at onGetWifiList callback function"))},jf=function(e){ze("onWifiConnected",Reporter.surroundThirdByTryCatch(e,"at onWifiConnected callback function"))},Ff=null,Uf=["none","low","high"],Wf=function(e){"function"==typeof e&&(Ff=e)};ze("onEvaluateWifi",Reporter.surroundThirdByTryCatch(function(e){var t,n={SSID:e.wifi.SSID,BSSID:e.wifi.BSSID,confidence:"none"};if("function"==typeof Ff)try{t=Ff(e)||{}}finally{Uf.find(function(e){return e===t.confidence})&&(n.confidence=t.confidence),Ke("evaluateWifi",n,{})}},"at onEvaluateWifi callback function"));var Vf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("getHCEState",e,{})},qf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("startHCE",e,{})},Kf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("stopHCE",e,{})},Hf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("sendHCEMessage",e,{data:new ArrayBuffer(0)})&&Ke("sendHCEMessage",Object.assign({},e,{data:St(e.data)}),{})},zf=function(t){ze("onHCEMessage",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};"string"==typeof e.data&&(e.data=Ct(e.data)),Reporter.surroundThirdByTryCatch(t,"at onHCEMessage callback function")(e)})},Gf=En("local-service-found"),Yf=En("local-service-lost"),Jf=En("local-service-discovery"),Xf=En("local-service-resolve-fail"),Qf=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("operateLocalServicesScan",Object.assign({},e,{action:"start"}),{beforeSuccess:function(e){return e.errMsg=e.errMsg.replace("operateLocalServicesScan","startLocalServiceDiscovery")},beforeFail:function(e){return e.errMsg=e.errMsg.replace("operateLocalServicesScan","startLocalServiceDiscovery")}})},$f=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("operateLocalServicesScan",Object.assign({},e,{action:"stop"}),{beforeSuccess:function(e){return e.errMsg=e.errMsg.replace("operateLocalServicesScan","stopLocalServiceDiscovery")},beforeFail:function(e){return e.errMsg=e.errMsg.replace("operateLocalServicesScan","stopLocalServiceDiscovery")}})};ze("onLocalServiceEvent",function(e){var n=Object.assign({},e);switch("object"===Y(n.attributes)&&null!==n.attributes&&Object.keys(n.attributes).forEach(function(e){var t=n.attributes[e];n.attributes[e]=Ct(t)}),delete n.event,e.event){case"found":Gf.emit(n);break;case"lost":Yf.emit(n);break;case"stopScan":delete n.serviceType,delete n.serviceName,delete n.ip,delete n.port,Jf.emit(n);break;case"resolveFail":delete n.ip,delete n.port,Xf.emit(n)}});var Zf=Gf.onMethod,ep=Gf.offMethod,tp=Yf.onMethod,np=Yf.offMethod,rp=Jf.onMethod,op=Jf.offMethod,ap=Xf.onMethod,ip=Xf.offMethod,sp=new Ft,cp=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t={fast:0,game:20,ui:60,normal:200},n=t[e.interval]||t.normal;Ke("enableGyroscope",ft(e,{interval:n,enable:!0}),{beforeAll:function(e){e.errMsg=e.errMsg.replace("enableGyroscope","startGyroscope")}})},up=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("enableGyroscope",ft(e,{enable:!1}),{beforeAll:function(e){e.errMsg=e.errMsg.replace("enableGyroscope","stopGyroscope")}})},lp=function(e){sp.on("gyroscope-change",e)};ze("onGyroscopeChange",function(e){sp.emit("gyroscope-change",e)});var dp=new Ft,fp=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t={fast:0,game:20,ui:60,normal:200},n=t[e.interval]||t.normal;Ke("enableDeviceMotionChangeListening",ft(e,{interval:n,enable:!0}),{beforeAll:function(e){e.errMsg=e.errMsg.replace("enableDeviceMotionChangeListening","startDeviceMotionListening")}})},pp=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("enableDeviceMotionChangeListening",ft(e,{enable:!1}),{beforeAll:function(e){e.errMsg=e.errMsg.replace("enableDeviceMotionChangeListening","stopDeviceMotionListening")}})},hp=function(e){dp.on("motion-change",e)};ze("onDeviceMotionChange",function(e){dp.emit("motion-change",e)});var gp=qt("removeUserCloudStorage","webapi_removeselfuserstorage",{},{},function(e){return{key:e.keyList}},function(e){return delete e.rawData,e}),vp=qt("setUserCloudStorage","webapi_setselfuserstorage",{},{},function(e){var t=e.KVDataList;return{kv_list:void 0===t?[]:t}},function(e){return delete e.rawData,e}),_p=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("openDeliveryList",e,{})},yp=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(!0!==Se.openUrlLock)if(e.url=e.url||"",dt(e.url))Se.openUrlLock=!0,Ke("openUrl",e,{afterAll:function(){Se.openUrlLock=!1}});else{console.error("invalid url",e.url);var t={errMsg:'openUrl: invalid url "'+e.url+'"'};"function"==typeof e.fail&&e.fail(t),"function"==typeof e.complete&&e.complete(t)}},mp=!1,bp=[],wp=function t(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(!e.webviewId||!e.data){console.error("invalid arguments");var n={errMsg:"sendDataToH5: arguments data or webviewId cannot be null"};return"function"==typeof e.fail&&e.fail(n),void("function"==typeof e.complete&&e.complete(n))}"object"===Y(e.data)&&(e.data=JSON.stringify(e.data)),mp?bp.push(e):(mp=!0,Ke("sendDataToH5",e,{afterAll:function(){if(mp=!1,bp.length){var e=bp.shift();t(e)}}}))},Sp=!1,Cp=[];function Tp(e){for(var t=0;t<Cp.length;t++)Cp[t](e)}var kp,xp,Ip,Ep=function(t){if("function"==typeof t){Cp.push(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};e.webviewId&&e.data?("string"==typeof e.data&&(e.data=JSON.parse(e.data)),t(e)):console.error("invalid arguments in onH5Data callback")}),Sp||(ze("onH5Data",Tp),Sp=!0)}},Pp="undefined"!=typeof __initHelper&&1===__initHelper,Ap=function(){try{return cd.apply(this,arguments),{errMsg:"accessSync:ok"}}catch(e){return{errMsg:e.message}}},Op=function(){try{return dd.apply(this,arguments)}catch(e){return{errMsg:e.message}}},Dp=function(){try{return{stat:ld.apply(this,arguments),errMsg:"statSync:ok"}}catch(e){return{errMsg:e.message}}},Mp=function(){try{return{data:ad.apply(this,arguments),errMsg:"readFileSync:ok"}}catch(e){return{errMsg:e.message}}},Rp=function(e){"string"!=typeof e&&(e+="");var t,n,r=0;for(t=0;t<e.length;t++)(n=e.charCodeAt(t))<127?r+=1:128<=n&&n<=2047?r+=2:2048<=n&&n<=65535&&(r+=3);return r},Np=!1,Lp=2e3,Bp=1,jp=[],Fp={lastLogNum:1,lastLogSize:0},Up=!1,Wp=!1,Vp=!1,qp={},Kp=function(e){return xp+"log"+e},Hp=st(function(e){return 0<=Ap(e).errMsg.indexOf("accessSync:ok")}),zp=st(function(e){var t=Ap(e).errMsg;return 0<=t.indexOf("fail")&&(0<=t.indexOf("access denied")||0<=t.indexOf("no permission"))}),Gp=st(function(){if(!Pp&&Np&&!Up){if(kp=ye&&"devtools"===ye.platform,xp=(ye&&ye.env.USER_DATA_PATH||(kp?"http://usr":"wxfile://usr"))+"/miniprogramLog/",!Hp(xp))return function(){try{sd.apply(this,arguments)}catch(e){return e.message}}(xp),Up=!0,void(Vp=zp(xp));if(!(Vp=zp(xp))){for(var e=1;e<=5&&Hp(Kp(e));)qp[e]=!0,Fp.lastLogNum=e,e++;var t=Dp(Kp(Fp.lastLogNum));t.stat&&(Fp.lastLogSize=t.stat.size),Up=!0}}}),Yp=st(function(){if(!Pp&&!Vp&&jp.length&&!Wp){for(var e=[],t=0,n=0;n<jp.length;n++){var r=Rp(jp[n]);if(102400<r)console.warn("[wx.log warn] each log size exceed 100KB will be discard.");else{if(102400<t+r)break;t+=r,e.push(jp[n])}}if(e.length){if(1048576<Fp.lastLogSize+t){if(6<=Fp.lastLogNum+1)return Wp=!0,void setTimeout(function(){!function(){try{ud.apply(this,arguments)}catch(e){return e.message}}(Kp(1));for(var e=2;e<=5;e++)Op(Kp(e),Kp(e-1));Fp.lastLogNum=5,qp[Fp.lastLogNum]=!1,Fp.lastLogSize=0,Wp=!1},50);Fp.lastLogNum++,Fp.lastLogSize=0}n===jp.length?jp=[]:jp.splice(0,n),qp[Fp.lastLogNum]||Hp(Kp(Fp.lastLogNum))?fd({filePath:Kp(Fp.lastLogNum),data:(Fp.lastLogSize?"\n":"")+e.join("\n"),encoding:"utf8",fail:function(e){console.log("log appendFile err "+e.errMsg)},success:function(){}}):id({filePath:Kp(Fp.lastLogNum),data:(Fp.lastLogSize?"\n":"")+e.join("\n"),encoding:"utf8",fail:function(e){console.log("log writeFile err "+e.errMsg)}}),Fp.lastLogSize+=t}}});function Jp(){Ip&&clearTimeout(Ip),Ip=setTimeout(function(){Yp(),Ip=null,Jp()},Lp)}var Xp={logApiInvoke:!0};function Qp(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return"number"==typeof e.level&&(Xp.level=e.level),Xp.level===Bp?Xp.logApiInvoke=!1:0===Xp.level&&(Xp.logApiInvoke=!0),Xp}["info","debug","log","warn"].forEach(function(r){Xp[r]=function(){if(!Pp&&!Vp&&Np&&arguments.length&&(Gp(),Fp)){for(var e,t=[],n=0;n<arguments.length;n++)"number"==typeof arguments[n]||"string"==typeof arguments[n]?t.push(arguments[n]):t.push(JSON.stringify(arguments[n]));t.splice(0,0,(e=new Date).getFullYear()+"-"+(e.getMonth()+1)+"-"+e.getDate()+" "+e.getHours()+":"+e.getMinutes()+":"+e.getSeconds(),"["+r+"]"),jp.push(t.join(" "))}}}),Xp._getUserLog=function(){for(var e={},t=1;t<=5;t++)e["log"+t]=Dp(Kp(t));return e},ye.onReady(function(){Pp||(Np=!0,Gp(),st(Jp)())}),tr(function(){Pp||Yp()});var $p=st(wp),Zp=st(Ep);Pp||Zp(function(e){e.data&&"uploadUserLog"===e.data.type&&function t(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(!n.index||n.index>Fp.lastLogNum)n.complete&&n.complete();else{var e=Mp(Kp(n.index),"utf8");0<=e.errMsg.indexOf("readFileSync:ok")&&e.data?$p({webviewId:n.webviewId,data:{type:"uploadUserLogContent",content:e.data,index:n.index,total:Fp.lastLogNum},success:function(){$p({webviewId:n.webviewId,data:{type:"uploadUserLogProgress",progress:parseFloat(n.index/Fp.lastLogNum)}}),n.index++,t(n)},fail:function(e){n.retry?$p({webviewId:n.webviewId,data:{type:"uploadUserLogError",errMsg:e&&e.errMsg,index:n.index}}):(n.retry=!0,t(n))}}):$p({webviewId:n.webviewId,data:{type:"uploadUserLogError",errMsg:e.errMsg,index:n.index}})}}({index:1,webviewId:e.webviewId})});var eh,th=[];ze("onMemoryWarningReceive",function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};ke&&t.level<10||(th.length?th.forEach(function(e){"function"==typeof e&&e(t)}):"function"==typeof eh&&eh(t))});var nh=new Bt;ze("onUpdateStatusChange",function(e){var t=(e.state||"").toLowerCase();delete e.state,nh.emit(t,e)});var rh,oh=[];nh.on("updating",function(){rh={hasUpdate:!0},ah()}),nh.on("noupdate",function(){rh={hasUpdate:!1},ah()});var ah=function(){oh.forEach(function(e){"function"==typeof e&&e(rh)}),oh.length=0},ih=[],sh=!1,ch=!1;nh.on("updateready",function(){sh=!0,lh()});var uh,lh=function(){ih.forEach(function(e){"function"==typeof e&&e()}),ih.length=0},dh=[];nh.on("updatefailed",function(){uh={},fh()});var fh=function(){dh.forEach(function(e){"function"==typeof e&&e(uh)}),dh.length=0},ph={onCheckForUpdate:function(e){e=Reporter.surroundThirdByTryCatch(e,"at onCheckForUpdate callback function"),rh?"function"==typeof e&&e(rh):oh.push(e)},onUpdateReady:function(e){e=Reporter.surroundThirdByTryCatch(e,"at onUpdateReady callback function"),sh?"function"==typeof e&&e():ih.push(e)},onUpdateFailed:function(e){e=Reporter.surroundThirdByTryCatch(e,"at onUpdateReady callback function"),uh?"function"==typeof e&&e(uh):dh.push(e)},applyUpdate:function(e){sh&&ch?Qe("applyUpdate",e,!1,"applyUpdate has been called"):sh?(ch=!0,Ke("updateApp",e)):Qe("applyUpdate",e,!1,"update is not ready")}},hh=0,gh=function(e){Date.now()>hh&&(Yc({title:"",content:e,confirmText:"确定",showCancel:!1},50),hh=Date.now()+6e4)},vh={2:"插件版本过低,无法提供服务"},_h=function(e,t,n){if(!Lc.pluginInfos)return null;var r=Lc.pluginInfos[e];if(!r)return null;var o=r.runningFlag,a=r.banning||{},i=vh[o];return o||a[t]?{all:o,detail:a[t],hint:a.hint||i||n||"由于小程序违规,该服务暂时无法使用"}:null};Lc.emitter.on("pluginInfoFetchDone",function(){if(void 0!==__virtualDOM__&&__virtualDOM__.initBannedMap){var e={},t=Lc.pluginInfos;for(var n in t)e[n]=_h(n,"components");__virtualDOM__.initBannedMap(e)}});var yh=n(0),mh={request:Dl,uploadFile:Ll,downloadFile:as,connectSocket:Ql().connectSocket},bh={_requestSkipCheckDomain:Dl,_uploadFileSkipCheckDomain:Ll,_downloadFileSkipCheckDomain:as},wh={request:Pl,uploadFile:Ml,downloadFile:Ui,connectSocket:Hl},Sh=function(e){return Lc.pluginIDs[e.__puid__]},Ch=function(e){return Lc.pluginVersions[e.__puid__]},Th=function(e){var t=Sh(e);if(void 0!==t)return Lc.pluginInfos[t]},kh=[],xh=[],Ih=new WeakMap,Eh=new WeakMap,Ph=new WeakMap,Ah=function(e){var t=[];for(e=e.__proto__;t=[].concat(ve(t),ve(Object.getOwnPropertyNames(e))),(e=e.__proto__).constructor!==Object;);return t},Oh=function(){var e,t=Ih.get(this),n=Eh.get(this),r=Ph.get(this);if(void 0!==Th(t))try{e=t[n].call(t,r)}catch(e){}null!=e&&function(t){var n=this;null!=t&&Ah(this).forEach(function(e){"function"==typeof n.__proto__[e]&&"constructor"!==e&&(n[e]=function(){return t[e].apply(t,arguments)})})}.call(this,e),Ih.delete(this),Eh.delete(this),Ph.delete(this)},Dh=function e(t,n,r){$e(this,e),Ih.set(this,t),Eh.set(this,n),Ph.set(this,r),function(){var o=this;Ah(this).forEach(function(r){"function"==typeof o.__proto__[r]&&"constructor"!==r&&(o[r]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];xh.push({args:t,method:r,item:o})})})}.call(this),this.__pendingTask__=!0},Mh={},Rh=!1,Nh=function(c){var u=!1;return ye.onReady(function(){if("devtools"===ye.platform){var e=__devtoolsConfig&&!1===__devtoolsConfig.urlCheck||!1;u=e}else{var t=ye.envVersion&&"release"!==ye.envVersion,n=!0===ye.debug;u=t&&n}}),function(){var e,t,n,r,o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},a=Th(this);if(!Rh||!a)return function(e,t,n){Dh.prototype=wh[t].prototype;var r=new Dh(e,t,n);return kh.push(r),r}(this,c,o);if(!function(e,t){if(void 0===t||void 0===e)return!1;for(var n=Object(yh.parse)(e||""),r=0;r<t.length;r++){var o=t[r]||"",a=Object(yh.parse)(o);if(a.protocol===n.protocol&&a.hostname===n.hostname&&a.port===n.port)return!0}return!1}(o.url,a.domains[c])){var i='url "'+o.url+"\" not in plugin's domain list.";if(!u)return void Je(c,o,i);console.warn(i+" skipped.")}if(!function(e,t){var n=_h(e,"domains");if(!n)return!1;if(!n.all){for(var r=n.detail,o=Object(yh.parse)(t||""),a=!1,i=0;i<r.length;i++){var s=Object(yh.parse)(r[i]||"");if(o.protocol===s.protocol&&o.hostname===s.hostname&&o.port===s.port){a=!0;break}}if(!a)return!1}return gh(n.hint),!0}(Sh(this),o.url))return e=a,n=(t=o).header||{},r=e.hostSign||{},n["X-WECHAT-HOSTSIGN"]=JSON.stringify(r),t.header=n,mh[c](o);var s='url "'+o.url+'" is temporarily rejected.';Je(c,o,s)}};Object.keys(mh).forEach(function(e){Mh[e]=Nh(e)}),Lc.emitter.on("pluginInfoFetchDone",function(){Rh=!0,kh.forEach(function(e){Oh.call(e)}),xh.forEach(function(e){e.item[e.method].apply(e.item,e.args)}),kh.length=0,xh.length=0});var Lh=Mh,Bh=new WeakMap,jh=function(e,i){var t=this,n=function(r){var o=e[r];if("function"==typeof o){var a=t;t[r]=function(e){var t,n;if(Gt(r,i)&&(t=r,!(n=_h(i,"apis"))||!n.all&&n.detail.indexOf(t)<0||(gh(n.hint),0)))return o.apply(a,arguments);if("Sync"===r.slice(-4))throw new vt(r+":fail rejected due to no permission currently in plugin");e&&e.fail&&setTimeout(function(){Je(r,e,"rejected due to no permission currently in plugin")},0)}}else t[r]=e[r]};for(var r in e)n(r)},Fh=function(){function o(e,t,n){$e(this,o),this.__puid__=kt();var r=function(e,t,n,r){var o=au({},bh,{_operateWXData:t.operateWXData});for(var a in o)o[a]=o[a].bind(e);return au({},t,{cloud:__cloudSDK__.getCloudAPI({sdk:o,identifiers:{pluginId:n,pluginVersion:r}})})}(this,e,Lc.pluginIDs[this.__puid__]=t,Lc.pluginVersions[this.__puid__]=n);jh.call(this,r,t),function(e){for(var t in ye.plugins){var n=ye.plugins[t];n.provider===e&&Bh.set(this,n.version)}}.call(this,t)}return Ot(o,[{key:"getPluginVersion",value:function(){return Bh.get(this)}}]),o}(),Uh={},Wh=function(e,a){var i=(e=e.replace("plugin_","")).endsWith("Sync");Uh[e]=function(e){var t=Sh(this);if(i){e&&(e=t+"/"+e);for(var n=arguments.length,r=new Array(1<n?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return a.apply(void 0,[e].concat(r))}return e.key&&(e.key=t+"/"+e.key),a(e)}};for(var Vh in Sd)Vh.startsWith("plugin_")&&Wh(Vh,Sd[Vh]);var qh=Uh,Kh={createInnerAudioContext:mc};["createAudioContext","createCameraContext","createMapContext","createVideoContext","createLivePlayerContext","createLivePusherContext"].forEach(function(a){Kh[a]=function(e,t){var n=Sh(this),r=Ch(this),o=t&&t.__wxExparserNodeId__?t.__wxExparserNodeId__:"";return y[a].call(this,e,Se.currentWebviewId,o,n+"/"+r)}});var Hh=Kh,zh={},Gh=[];for(var Yh in l)Yh.endsWith("4Plugin")&&Gh.push(Yh);Gh.forEach(function(a){var e=a.replace("4Plugin","");zh[e]=function(e,t){var n=Sh(this),r=Ch(this),o=t&&t.__wxExparserNodeId__?t.__wxExparserNodeId__:"";return l[a].call(this,e,n+"/"+r,o)}});var Jh=zh,Xh={};function Qh(e,t){var n=Sh(this);Te?t(!0):Xh[n]&&null!==Xh[n][e]?t(!!Xh[n][e]):function(t,n){var e,r="";if(t===Wn&&(r="setCookies"),t===Vn&&(r="getCookies"),r){var o=Sh(this);Xh[o]=Xh[o]||(gn(e={},Wn,null),gn(e,Vn,null),e),Bn("getPluginPermissionBytes",{pluginId:o,apiName:r},void 0,function(e){Xh[o][t]=!(1!==e.bytes[0]),n()})}}.call(this,e,function(){return t(!!Xh[n][e])})}var $h,Zh=function(){var e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],t=1<arguments.length?arguments[1]:void 0,n=Ie(e,t,!0);return function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=Sh(this);n(Object.assign({},e,{pluginId:t}))}},eg=Zh(!0,"login"),tg=Zh(!0,"getUserInfo"),ng=Lc.emitter,rg=Lc.pluginInfos,og=(gn($h={},1,!1),gn($h,3,!1),$h),ag=0,ig=0,sg=[1,1,2],cg=!1,ug=!1;Fc()||(og[2]=!1);var lg=function(e){og[e]=!0,Object.keys(og).reduce(function(e,t){return e&&og[t]},!0)&&!cg&&(ng.emit("pluginInfoFetchDone"),cg=!0)},dg=function i(s){var e=[],c={};for(var t in rg)e.push(t),c[t]=rg[t].customVersion;0!==e.length&&(Ke("batchGetContact",{appIds:e,success:function(e){var t=e.contactList;if(function(e){if(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.appId;if(void 0===n.appId||void 0===n.plugin_list)return;if(!n.plugin_list[0]||!Bc[r])return;var o=n.plugin_list[0].PluginNetWork||{},a=n.plugin_list[0].last_version||{};Bc[r].domains={request:o.RequestDomain||[],uploadFile:o.UploadDomain||[],downloadFile:o.DownloadDomain||[],connectSocket:o.WsRequestDomain||[]},Bc[r].latestCustomVersion=(i=a.custom_version,(s=String(i).split(".",3)).length<3?-1:Number(1e3*s[0]*1e3+1e3*s[1]+1*s[2]))}var i,s;Ac=e,jc.forEach(function(e){e(Ac)})}}(t),0<s){var n=!1;if(!n){var r=0;for(var o in rg){if(0<=rg[o].latestCustomVersion&&c[o]>rg[o].latestCustomVersion){c[o],rg[o].latestCustomVersion,n=!0;break}for(var a in rg[o].domains)rg[o].domains[a]&&(r+=rg[o].domains[a].length)}n||r||(n=!0)}if(n)return void setTimeout(function(){i(s-1)},1e3)}lg(2)},fail:function(e){console.error("[PluginSDK] batchGetContact failed: "+e.errMsg),ag<1?(setTimeout(i,0),ag++):lg(2)}}),setTimeout(function(){lg(2)},12e4))},fg=function n(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).fromTimer,r=void 0!==e&&e,t=[];for(var o in rg){var a=rg[o];t.push({provider:o,inner_version:a.version})}0!==t.length&&(Ke("verifyPlugin",{data:{plugins:t},success:function(e){var t=e.data;if(void 0!==t){if("string"==typeof t)try{t=JSON.parse(t)}catch(e){}!function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.plugin_id,o=Bc[r];if(!o)return;o.banning=n.banning,o.runningFlag=n.running_flag_info,o.hostSign={noncestr:n.noncestr||"",timestamp:n.timestamp||"",signature:n.host_sign||""},Fc()&&(o.domains={request:n.request_domain||[],uploadFile:n.upload_domain||[],downloadFile:n.download_domain||[],connectSocket:n.wsrequest_domain||[]})}}(Array.isArray(t.list)?t.list:[]),t.list,lg(3),pg()}else console.error("[PluginSDK] Plugin data from backend is not available.")},fail:function(e){var t;(console.error("[PluginSDK] invokeVerifyPlugin failed: "+e.errMsg),r)||(t=ig<sg.length?sg[ig]:(og[3]||lg(3),30),setTimeout(n,1e3*t),ig++)},complete:function(){}}),r||setTimeout(function(){lg(3)},12e4))},pg=function(){ug||(setInterval(function(){fg({fromTimer:!0})},6e5),ug=!0)},hg=R.captureScreen,gg=R.onUserCaptureScreen,vg=R.setKeepScreenOn,_g=R.setScreenBrightness,yg=R.getScreenBrightness,mg=N.vibrateShort,bg=N.vibrateLong,wg=f.chooseImage,Sg=f.previewImage,Cg=f._getImageInfoWithDownloadFile,Tg=f.saveImageToPhotosAlbum,kg=v.startRecord,xg=v.stopRecord,Ig=v.getRecorderManager,Eg=p.chooseVideo,Pg=p.saveVideoToPhotosAlbum,Ag=g.playVoice,Og=g.pauseVoice,Dg=g.stopVoice,Mg=L.addPhoneContact,Rg=_.getBackgroundAudioPlayerState,Ng=_.playBackgroundAudio,Lg=_.pauseBackgroundAudio,Bg=_.seekBackgroundAudio,jg=_.stopBackgroundAudio,Fg=_.onBackgroundAudioPlay,Ug=_.onBackgroundAudioPause,Wg=_.onBackgroundAudioStop,Vg=b.hideToast,qg=b.showLoading,Kg=b.hideLoading,Hg=b.showModal,zg=b.showActionSheet,Gg=w.setNavigationBarTitle,Yg=w.showNavigationBarLoading,Jg=w.hideNavigationBarLoading,Xg=w.setNavigationBarColor,Qg=w.setNavigationBarAlpha,$g=w.setNavigationBarRightButton,Zg=w.onTapNavigationBarRightButton,ev=o.getShareInfo,tv=o.showShareMenu,nv=o.hideShareMenu,rv=o.updateShareMenu,ov=C.navigateTo,av=C.redirectTo,iv=C.navigateBack,sv=C.switchTab,cv=C.reLaunch,uv={getAccountInfoSync:function(){var e,t,n=Sh(this);return{miniProgram:{appId:ye.accountInfo&&ye.accountInfo.appId||""},plugin:{appId:n||"",version:(e=Lc.pluginInfos[n].customVersion,t=Number(e),[Math.floor(t/1e6),Math.floor(t/1e3)%1e3,t%1e3].join("."))}}},request:Lh.request,uploadFile:Lh.uploadFile,downloadFile:Lh.downloadFile,connectSocket:Lh.connectSocket,getStorage:qh.getStorage,getStorageSync:qh.getStorageSync,removeStorage:qh.removeStorage,removeStorageSync:qh.removeStorageSync,setStorage:qh.setStorage,setStorageSync:qh.setStorageSync,createAudioContext:Hh.createAudioContext,createCameraContext:Hh.createCameraContext,createMapContext:Hh.createMapContext,createVideoContext:Hh.createVideoContext,createInnerAudioContext:Hh.createInnerAudioContext,createLivePlayerContext:Hh.createLivePlayerContext,createLivePusherContext:Hh.createLivePusherContext,createSelectorQuery:function(e){return _l(e,Sh(this))},createIntersectionObserver:function(e,t){return Sl(e,t,Sh(this))},createCanvasContext:Jh.createCanvasContext,drawCanvas:Jh.drawCanvas,canvasToTempFilePath:Jh.canvasToTempFilePath,canvasGetImageData:Jh.canvasGetImageData,canvasPutImageData:Jh.canvasPutImageData,createAnimation:Wu,reportAnalytics:function(e,t){var n={business:"mmbizwxaanalytics",eventID:e,data:t||{},uid:Date.now().toString(16)+Math.random().toString(16).substr(2),type:1,version:Lr,pluginId:Sh(this),pluginVersion:Ch(this)};Ke("reportRealtimeAction",{actionData:JSON.stringify(n)})},chooseImage:wg,previewImage:Sg,getImageInfo:function(e){return Cg(e,Lh.downloadFile.bind(this))},saveImageToPhotosAlbum:Tg,startRecord:kg,stopRecord:xg,getRecorderManager:Ig,playVoice:Ag,pauseVoice:Og,stopVoice:Dg,getBackgroundAudioManager:_.getBackgroundAudioManager,chooseVideo:Eg,saveVideoToPhotosAlbum:Pg,getLocation:sl,openLocation:ul,chooseLocation:cl,getNetworkType:d.getNetworkType,onNetworkStatusChange:d.onNetworkStatusChange,getSystemInfo:a.getSystemInfo,getSystemInfoSync:a.getSystemInfoSync,startAccelerometer:E.startAccelerometer,stopAccelerometer:E.stopAccelerometer,onAccelerometerChange:E.onAccelerometerChange,startCompass:P.startCompass,stopCompass:P.stopCompass,onCompassChange:P.onCompassChange,getClipboardData:D.getClipboardData,setClipboardData:D.setClipboardData,makePhoneCall:A.makePhoneCall,makeVoIPCall:A.makeVoIPCall,scanCode:O.scanCode,openBluetoothAdapter:B.openBluetoothAdapter,closeBluetoothAdapter:B.closeBluetoothAdapter,getBluetoothAdapterState:B.getBluetoothAdapterState,onBluetoothAdapterStateChange:B.onBluetoothAdapterStateChange,startBluetoothDevicesDiscovery:B.startBluetoothDevicesDiscovery,stopBluetoothDevicesDiscovery:B.stopBluetoothDevicesDiscovery,getBluetoothDevices:B.getBluetoothDevices,getConnectedBluetoothDevices:B.getConnectedBluetoothDevices,createBLEConnection:B.createBLEConnection,closeBLEConnection:B.closeBLEConnection,getBLEDeviceServices:B.getBLEDeviceServices,getBLEDeviceCharacteristics:B.getBLEDeviceCharacteristics,getHCEState:F.getHCEState,startHCE:F.startHCE,stopHCE:F.stopHCE,sendHCEMessage:F.sendHCEMessage,onHCEMessage:F.onHCEMessage,notifyBLECharacteristicValueChanged:B.notifyBLECharacteristicValueChanged,notifyBLECharacteristicValueChange:B.notifyBLECharacteristicValueChange,readBLECharacteristicValue:B.readBLECharacteristicValue,writeBLECharacteristicValue:B.writeBLECharacteristicValue,onBluetoothDeviceFound:B.onBluetoothDeviceFound,onBLEConnectionStateChanged:B.onBLEConnectionStateChanged,onBLEConnectionStateChange:B.onBLEConnectionStateChange,onBLECharacteristicValueChange:B.onBLECharacteristicValueChange,startBeaconDiscovery:M.startBeaconDiscovery,stopBeaconDiscovery:M.stopBeaconDiscovery,getBeacons:M.getBeacons,onBeaconUpdate:M.onBeaconUpdate,onBeaconServiceChange:M.onBeaconServiceChange,captureScreen:hg,onUserCaptureScreen:gg,setKeepScreenOn:vg,setScreenBrightness:_g,getScreenBrightness:yg,vibrateShort:mg,vibrateLong:bg,addPhoneContact:Mg,login:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=Object.assign({},t,{miniprogram_appid:ye.accountInfo.appId});eg.call(this,{apiName:"webapi_plugin_login",reqData:e,success:function(e){Object.assign(e,JSON.parse(e.respData.data)),delete e.respData,"function"==typeof t.success&&t.success(e)},fail:t.fail,complete:t.complete})},getUserInfo:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=Object.assign({},t,{miniprogram_appid:ye.accountInfo.appId});tg.call(this,{apiName:"webapi_plugin_getuserinfo",reqData:e,success:function(e){e.userInfo=JSON.parse(e.respData.data),delete e.respData,"function"==typeof t.success&&t.success(e)},fail:t.fail,complete:t.complete})},operateWXData:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=Sh(this);e.pluginId=t,Ae(e)},showModal:Hg,showToast:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(e.image){if(0!==e.image.indexOf("/"))return void Je("showToast",e,"parameter 'image' must be begin with '/'");var t=Sh(this);e=Object.assign({},e,{image:__virtualDOM__.getPluginRoutePrefix(t)+e.image.substr(1)})}b.showToast(e)},hideToast:Vg,showLoading:qg,hideLoading:Kg,showActionSheet:zg,pageScrollTo:Ru,setPageStyle:Fu,startPullDownRefresh:Nu,stopPullDownRefresh:Lu,setNavigationBarTitle:Gg,showNavigationBarLoading:Yg,hideNavigationBarLoading:Jg,setNavigationBarColor:Xg,setNavigationBarAlpha:Qg,setNavigationBarRightButton:$g,onTapNavigationBarRightButton:Zg,getShareInfo:ev,showShareMenu:tv,hideShareMenu:nv,updateShareMenu:rv,setBackgroundColor:$u,setBackgroundTextStyle:Zu,navigateTo:ov,redirectTo:av,navigateBack:iv,switchTab:sv,reLaunch:cv,getBackgroundAudioPlayerState:Rg,playBackgroundAudio:Ng,pauseBackgroundAudio:Lg,seekBackgroundAudio:Bg,stopBackgroundAudio:jg,onBackgroundAudioPlay:Fg,onBackgroundAudioPause:Ug,onBackgroundAudioStop:Wg,setCookies:function(r){Qh.call(this,Wn,function(e){var t="setCookies:ok";if(e){var n=$n(r);n?(t=n,"function"==typeof r.fail&&r.fail({errMsg:t})):"function"==typeof r.success&&r.success({errMsg:t})}else t="setCookies:fail has no permission for setCookies API","function"==typeof r.fail&&r.fail({errMsg:t});"function"==typeof r.complete&&r.complete({errMsg:t})})},getCookies:function(r){Qh.call(this,Vn,function(e){var t="getCookies:ok";if(e){var n=Zn(r);"function"==typeof r.success&&r.success({errMsg:t,cookies:n})}else t="getCookies:fail has no permission for getCookies API","function"==typeof r.fail&&r.fail({errMsg:t});"function"==typeof r.complete&&r.complete({errMsg:t})})},arrayBufferToBase64:Reporter.surroundThirdByTryCatch(St),base64ToArrayBuffer:Reporter.surroundThirdByTryCatch(Ct)},lv=function(e,t){return new Fh(uv,e,t)};ye.onReady(function(){!function(){if(ye.appContactInfo&&ye.appContactInfo.call_plugin_info)for(var e=ye.appContactInfo.call_plugin_info,t=0;t<e.length;t++){var n=e[t],r=n.plugin_id;rg[r]=Uc({version:n.inner_version,customVersion:n.plugin_version||""})}else if(ye.plugins)for(var o in ye.plugins){var a=ye.plugins[o],i=a.provider;rg[i]=Uc({version:0,customVersion:a.version||""})}lg(1)}(),Fc()||dg(5),fg()});var dv=Lc.pluginInfos,fv={};ye.onReady(function(){"object"===Y(ye.env)&&Object.assign(fv,ye.env)});var pv=fv,hv=[],gv={add:function(e){e&&hv.indexOf(e)<0&&hv.push(e)},remove:function(e){var t=hv.indexOf(e);0<=t&&hv.splice(t,1)},get size(){return hv.length}},vv=new WeakMap,_v=new WeakMap,yv={};__safeway__.worker.onWorkerMsg(function(e,t){var n,r,o=yv[e],a=_v.get(o);if(t.__log__&&t.logs)return n=t,void(r=console)[n.level].apply(r,ve(n.logs));o&&"function"==typeof a&&a(t)});var mv=function(){function n(e,t){$e(this,n),vv.set(this,e),yv[e]=this,function(e){this.postMessage({__cmd__:"requireScript",__script__:e})}.call(this,t),gv.add(this)}return Ot(n,[{key:"postMessage",value:function(e){var t=vv.get(this);__safeway__.worker.postMsgToWorker(t,e)}},{key:"onMessage",value:function(e){_v.set(this,e)}},{key:"terminate",value:function(){var e=vv.get(this);__safeway__.worker.terminate(e),gv.remove(this),vv.delete(this),_v.delete(this),delete yv[e]}}]),n}(),bv=1;ye.onReady(function(){try{"number"==typeof ye.wxAppInfo.maxWorkerConcurrent&&(bv=ye.wxAppInfo.maxWorkerConcurrent)}catch(e){}});var wv,Sv,Cv=["app-service.js","game.js","subContext.js"],Tv=function(e,n,r){for(var t in n){if("exportToAppServiceSDK"===t)return;e[t]=n[t]}["onPageReload"].forEach(function(t){n[t]&&(e[t]=function(e){n[t].call(r,e)})})};function kv(){if(!Sv)throw new Error("getLaunchOptionsSync:fail get launch options");return Sv||{}}Ye("getLaunchAppInfo",function(e){var t=e.callbackId;Ge("appLaunchInfoGot",{res:{sceneHistory:wn.sceneHistory,appId:wn.appId},callbackId:t})}),ye.onReady(function(){var e=ye.appLaunchInfo||{};wn.appLaunchInfo=e,wn.appLaunchShareInfo=e.shareInfo,Sv=Cn(e,!0),wv=Tn(Sv),Sv.__public=wv});var xv=En("AppShow"),Iv=xv.onMethod,Ev=xv.offMethod,Pv=xv.internalOnMethod;Dn(function(e){xv.emitInternal(e)}),So(function e(t){if("appLaunch"===t.openType){var n=kv();xv.emitInternal(n),Co(e)}});var Av=En("AppHide"),Ov=Av.onMethod,Dv=Av.offMethod,Mv=Av.internalOnMethod;tr(function(e){Av.emitInternal(e)});var Rv=En("AppUnhang"),Nv=Rv.internalOnMethod,Lv=Rv.onMethod;ze("onAppUnhang",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Rv.emit(e)}),Se.appStatus=me,Se.hanged=!1,Pv(function(e){Date.now()}),Mv(function(e){Date.now()}),Dn(function(){Se.appStatus=me}),tr(function(e){"hide"===e.mode?Se.appStatus=we:Se.appStatus=be,"close"===e.mode?Se.hanged=!1:"hang"===e.mode&&(Se.hanged=!0)}),Lv(function(){Se.hanged=!1});var Bv=En("AppRunningStatusChange");Bv.internalOnMethod;ze("onAppRunningStatusChange",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Se.runningStatus=e.status,Bv.emit(e)});var jv=En("AppService-Error"),Fv=jv.onMethod,Uv=jv.offMethod;Reporter.registerErrorListener(function(e){jv.emit(e)});var Wv=En("AppRouteResized"),Vv=Wv.internalOnMethod;ze("onAppRouteResized",function(e){"object"===Y(e)&&null!==e&&Xu(e),Wv.emit({})});var qv=En("PageNotFound"),Kv=qv.onMethod,Hv=qv.offMethod;var zv={page:void 0,time:Date.now(),count:0};function Gv(){for(var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=ye.subpackages||ye.subPackages||[],n=0;n<t.length;n++){var r=t[n];if(0===e.indexOf(r.root))return r}return null}function Yv(){var e=Gv(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"");return!!(e&&e.independent&&e.isolated)}ze("onPageNotFound",function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;if(Se.lastRoute="",e&&"string"==typeof e.path&&e.path.endsWith(".html")&&(e.path=gt(e.path)),e&&"string"==typeof e.query&&(e.query=function(e){for(var t={},n=e.split("&"),r=0;r<n.length;r++){var o=n[r].split("=");if(1<o.length)try{t[o[0]]=decodeURIComponent(o[1])}catch(e){}}return t}(e.query)),/^[-_+a-z]+:\/\//i.test(e.rawPath))return Cc({url:e.rawPath.replace(/\.html(\?|$)/i,function(e){return e.slice(5)})}),void Ke("pageNotFoundCallback",{hasHandler:!0,webviewId:t});zv.page&&zv.page===e.path?zv.count++:zv={page:e.path,time:Date.now(),count:1};var n=!0;Date.now()-zv.time<=3e3&&3<zv.count?(n=!1,console.error('onPageNotFound Error: Can not find page "'+e.page+'".')):qv.emit(e),Ke("pageNotFoundCallback",{hasHandler:0<qv.getGlobalListeners().length&&n,webviewId:t})});var Jv=function(e,t){Ke("getAppConfig",e,t)},Xv=function(e){ze("onAppConfig",e)},Qv=function(e){ze("onPullDownRefresh",e)},$v=function(e){ze("onShareAppMessage",e)},Zv=function(e){ze("onTabItemTap",e)},e_=function(e,t){Ge("analyticsConfig",e,t)},t_=function(e,t){Ke("reportRealtimeAction",e,t)},n_=function(e,t){Ke("shareAppMessage",e,t)},r_=function(e,t){Ke("shareAppMessageDirectly",e,t)},o_=function(e){Ye("analyticsReport",e)},a_=function(e){Ye("recycleStatistics",e)},i_=function(e){Ye("savePageState",e)},s_=function(e){Ye("tapShareButton",e)},c_=function(e,t){Ke("showUpdatableMessageSubscribeButton",e,t)},u_=Nv,l_=Kv,d_=Dn,f_=tr,p_=Pv,h_=Mv,g_=Fv,v_=kv,__=function(e){xv.emitGlobal(e)},y_=function(){Av.emitGlobal()},m_=w._onNavigationBarTitleUpdate,b_=o.showShareMenu,w_=o.ShareInfoStorage,S_=C._triggerBeforeUnloadPage,C_=C._triggerBeforeShareAppMessage,T_=So,k_=br,x_=function(e){C.onPageReload.call(this,e)},I_=T.onWebviewEvent,E_=function(e,t){Ge("functionalPage",e,t)},P_=function(e,t){Ge("pageScrollTo",e,t)},A_=function(e,t){Ge("__updateAppData",e,t)},O_=function(e){Ye("checkWebviewAliveOk",e)},D_=function(e,t){Ge("checkWebviewAlive",e,t)},M_=function(e){Ye("subjectChangeInfo",e)},R_=function(e){Ke("operateWXData",{data:{api_name:"webapi_report_data",data:e}})},N_=function(e){Ye("vdCallComponentMethodForWxs",e)},L_=new Bt;ze("onLoadSubPackageTaskStateChange",function(e){L_.emit(e.state,e.taskId,e)});var B_,j_={},F_=new WeakMap,U_=new WeakMap,W_=new WeakMap,V_=[],q_=[],K_=function(e){return j_[e]},H_=function(e){var t=Object.assign({},e);return delete t.taskId,delete t.state,delete t.moduleName,t};L_.on("success",function(e,t){B_=void 0;var n=K_(e);if(delete j_[e],n){var r=t.moduleName,o=U_.get(n),a=H_(t);q_.push(r),function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];"string"!=typeof e&&console.error("SubContext onSubPackageReady error: moduleName is empty"),e.endsWith(".js")||(e.endsWith("/")||(e+="/"),e+="game.js"),Te||!Vt()||t||__subContextEngine__.getGameContext().evaluateScriptFile(e)}(r,t.isMonkeyTest),a.errMsg="loadSubpackage:ok","function"==typeof o.success&&o.success(a),"function"==typeof o.complete&&o.complete(a)}z_()}),L_.on("fail",function(e,t){B_=void 0;var n=K_(e);if(delete j_[e],n){var r=U_.get(n),o=H_(t);o.errMsg="loadSubpackage:fail module not found","function"==typeof r.fail&&r.fail(o),"function"==typeof r.complete&&r.complete(o)}z_()}),L_.on("progressUpdate",function(e,t){var n=K_(e);if(n){var r=W_.get(n),o=H_(t);"function"==typeof r&&r(o)}});var z_=function(){var e=V_.shift();e&&setTimeout(function(){G_.call(e)},0)},G_=function(){var t,n=this,r=U_.get(this);if(0<=q_.indexOf(r.name)){var e={errMsg:"loadSubpackage:ok",moduleName:r.name};return"function"==typeof r.success&&r.success(e),void("function"==typeof r.complete&&r.complete(e))}if(B_=this,Ke("createLoadSubPackageTask",{moduleName:r.name,success:function(e){F_.set(n,e.loadTaskId),j_[e.loadTaskId]=n},fail:function(e){B_=void 0,e.errMsg=e.errMsg.replace("createLoadSubPackageTask","loadSubpackage"),t=e.errMsg,"function"==typeof r.fail&&r.fail(e),"function"==typeof r.complete&&r.complete(e),z_()}}),t)throw new Error(t.replace("createLoadSubPackageTask:fail ",""))},Y_=function(){function e(t){$e(this,e),U_.set(this,t),["success","fail","complete"].forEach(function(e){"function"==typeof t[e]&&(t[e]=Reporter.surroundThirdByTryCatch(t[e],"at api loadSubpackage "+e+" callback function"))}),B_?V_.push(this):G_.call(this)}return Ot(e,[{key:"onProgressUpdate",value:function(t){W_.set(this,function(e){void 0!==e.totalBytesWriten&&(e.totalBytesWritten=e.totalBytesWriten,delete e.totalBytesWriten),"function"==typeof t&&Reporter.surroundThirdByTryCatch(t,"at LoadTask.onProgressUpdate callback function")(e)})}}]),e}(),J_={};function X_(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(!Array.isArray(e.packages))return Promise.reject(new Error("packages must be an array."));"all"!==e.network&&(e.network="wifi"),console.info("preloadSubpackages: "+e.packages.join(", "));var t=e.packages.filter(function(e){return!(e in J_)});return("all"!==e.network?new Promise(function(t,n){var e=d._getCurrentNetworkType();e?t(e):d.getNetworkType({success:function(e){e.networkType?t(e.networkType):n(new Error("get network type failed."))},fail:n})}).then(function(e){if("wifi"!==e.toLowerCase())return Promise.reject(new Error("network type does not match, '"+e+"' !== 'wifi'"))},function(){return Promise.reject(new Error("get network type failed."))}):Promise.resolve()).then(function(){return Promise.all(t.map(function(r){return new Promise(function(n){!function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(Xe("loadSubPackage",t,{name:""})){var e=ye.subPackages||ye.subpackages;if(e){e.forEach(function(e){t.name!==e.alias&&t.name!==e.name||(t.name=e.root)}),t.name.startsWith("/")||(t.name="/"+t.name),t.name.endsWith(".js")||t.name.endsWith("/")||(t.name=t.name+"/");try{new Y_(t)}catch(e){return Je("loadSubpackage",t,e.message)}}else Je("loadSubpackage",t,"Your subpackages configuration is invalid.")}}({name:r,success:function(){J_[r]=!0,n(t)},fail:function(e){var t=new Error(e.errMsg.replace("loadSubpackage:fail",""));t.packageName=r,n(t)}})})})).then(function(e){if(0<(e=e.filter(function(e){return e instanceof Error})).length){var t=new Error("preload subpackages failed.");return t._detail=e,Promise.reject(t)}})})}ye.onReady(function(){var n=ye.preloadRule;n&&So(function(e){var t=e.path;if(n[t])return X_(n[t]).then(function(){console.info("preloadSubpackages: success")},function(e){e._detail?(console.group("preloadSubpackages fail: "+e.message),e._detail.forEach(function(e){console.warn(e.packageName+": "+e.message)}),console.groupEnd()):console.warn("preloadSubpackages fail: "+e.message)})})});var Q_=function(e){L_.on("success",e)},$_=function(){return ye.subPackages||ye.subpackages},Z_={muteMicrophone:!1,muteEarphone:!1};function ey(e){return ue(e)&&(se(e.muteMicrophone)&&(Z_.muteMicrophone=e.muteMicrophone),se(e.muteEarphone)&&(Z_.muteEarphone=e.muteEarphone)),Z_}var ty=En("VoIPChatInterrupted"),ny=function(e){e.errCode||(e.errCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"";return e.includes("current mini app entered background")?-1:e.includes("in comming call")?-2:-1e3}(e.reason)),ty.emit(e)};ze("onVoIPChatInterrupted",function(e){ny(e)}),ze("onVoIPChatInterruptedJsEvent",function(e){ny(e)});var ry,oy,ay=ty.onMethod,iy=o.ShareInfoStorage;ye.onReady(function(){if("object"===Y((ry=ye.appLaunchInfo||{}).shareInfo)&&null!==ry.shareInfo){var e=ry.shareInfo;ry.shareTicket=iy.set(e.shareKey,e.shareName),iy.lastShareTicket=ry.shareTicket}ry.query=ry.query||{},ry.scene=ry.scene?parseInt(ry.scene,10):ry.scene,ry.referrerInfo=ry.referrerInfo||{},1022===ry.scene&&(ry.query={}),oy={scene:ry.scene,query:ry.query,shareTicket:ry.shareTicket,referrerInfo:ry.referrerInfo.appId?{appId:ry.referrerInfo.appId,extraData:ry.referrerInfo.extraData}:{}}});var sy=function(){return oy},cy=En("Hide"),uy=cy.onMethod,ly=(cy.offMethod,cy.internalOnMethod);cy.internalOffMethod;An("onAppEnterBackground",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};cy.emit(e)});var dy,fy,py="GameReportKV",hy=!1,gy=0,vy=-1,_y={},yy={},my=0,by=0,wy=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};e=Object.assign({},yy,_y,e);var t=(_y=e).query,n=[];if(t&&"object"===Y(t))for(var r in t)n.push(encodeURIComponent(r)+"="+encodeURIComponent(t[r]));var o=e.eventTime,a=e.clickTimestamp,i=o-(a=a<=9999999999?1e3*a:a),s=e.sessionid||e.sessionId,c=fy||fy===s?0:1;fy=s,1===e.eventId&&(my=Date.now()-a,by=e.isLaunch?1:2);var u=[e.eventId,e.scene,e.scene_note||e.sceneNote||"",s||"",e.usedstate||e.usedState,"",e.networktype||"",i,e.stayTime||0,encodeURIComponent(e.referpagepath||""),e.targetAction||0,e.targetPagePath||"",e.clickTimestamp,Lr,e.prescene,e.prescene_note||e.presceneNote||"",c,n.join("&"),Reporter.getAppType(),0,"",0,e.clickTimestamp,"",0,my,by].map(encodeURIComponent).join(",");Reporter.reportKeyValue({key:"Display",value:u,force:!0}),Reporter.submit()},Sy=function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};1===(n=n.isLaunch?Object.assign(e,n,yy):Object.assign(e,n)).eventId?(n.scene_note=n.scene_note||n.sceneNote||"",n.sessionid=n.sessionid||n.sessionId||n.customSessionId,n.prescene_note=n.prescene_note||n.presceneNote||"",n.targetPagePath=n.targetPagePath||"",n.referpagepath=n.referpagepath||"",n.clickTimestamp=n.clickTimestamp||Date.now(),n.stayTime=n.stayTime||0):2===n.eventId&&(n.targetAction=n.targetAction||0),wx.getNetworkType({success:function(e){var t=e.networkType;"none"===t&&(t="offline"),n.networktype=t,wy(n)},fail:function(){wy(n)}})},Cy=function(e){var t=parseInt((e.eventTime||0)/1e3,10);return[e.eventId,e.scene,t,e.stayTime||0,e.sessionId].map(encodeURIComponent).join(",")},Ty=jt(function(e){dy=kt(),vy=e.scene,gy=Date.now();var t=e.scene,n=Cy({eventId:1,scene:t,eventTime:gy,sessionId:dy});Reporter.reportKeyValue({key:py,value:n,force:!0}),Sy(e,{eventId:1,eventTime:gy,customSessionId:dy})},"at private.reportEnterForeground","gameSDKScriptError"),ky=jt(function(e){var t=Date.now(),n=t-gy,r=vy,o=Cy({eventId:2,scene:r,eventTime:t,stayTime:n,sessionId:dy});Reporter.reportKeyValue({key:py,value:o,force:!0}),Sy(e,{eventId:2,eventTime:t,stayTime:n,customSessionId:dy})},"at private.reportEnterBackground","gameSDKScriptError");hy||(hy=!0,ye.onReady(function(){setTimeout(function(){var e=yy=sy()||{};Ty({scene:e.scene||-1,isLaunch:!0}),Py(Ty),uy(ky)},0)}));ye.onReady(function(){Wt("shareCustomImageUrl")||(qt("getShareConfig","webapi_getshareconf")({success:function(e){Array.isArray(e.share_link_list)&&e.share_link_list.reduce(function(e,t){return e[t.id]=t.url,e},{})},fail:function(e){}}),!1)});var xy=function(e){Ke("showUpdatableMessageSubscribeButton",{shareKey:e})},Iy=En("Show"),Ey=o.ShareInfoStorage,Py=Iy.onMethod,Ay=(Iy.offMethod,Iy.internalOnMethod);Iy.internalOffMethod;function Oy(e){e.query||(e.query={}),1022===e.scene&&(e.query={}),Iy.emit(e)}An("onAppEnterForeground",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if("object"===Y(e.shareInfo)&&null!==e.shareInfo){var t=e.shareInfo;xy(t.shareKey);var n=Ey.set(t.shareKey,t.shareName);Ey.lastShareTicket=n}var r=e.path;if(delete e.path,r){var o=r.split("?")[1];if(o)try{e.query=o.split("&").reduce(function(e,t){var n=t.split("="),r=n[0],o=n.slice(1).join("=");return e[r]=o,e},{})}catch(e){}}if("object"===Y(e.shareInfo)&&null!==e.shareInfo){var a=e.shareInfo;delete e.shareInfo,e.shareTicket=Ey.set(a.shareKey,a.shareName),Ey.lastShareTicket=e.shareTicket}Oy(e)}),ye.onReady(function(){Te||setTimeout(function(){Oy(sy())})});function Dy(e,t,n){return(Dy="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=tt(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}var My=["left","top","right","bottom","width","height","margin","marginLeft","marginRight","marginTop","marginBottom","padding","paddingLeft","paddingRight","paddingTop","paddingBottom","fontSize","lineHeight","borderRadius"],Ry=["margin","marginTop","marginBottom","marginLeft","marginRight","padding","paddingTop","paddingBottom","paddingLeft","paddingRight","width","height"],Ny=function(e){var t,n,r,o=e.outer,a=void 0===o?{width:0,height:0}:o,i=e.inner,s=void 0===i?{width:0,height:0}:i,c=e.maxScale,u=void 0===c?1e3:c,l=e.minScale,d=void 0===l?0:l,f=e.side,p=a.width/a.height,h=s.width/s.height,g=a.width/s.width,v=a.height/s.height,_=h<p?v:g;return"width"===f?_=g:"height"===f&&(_=v),t=_,n=d,r=u,_=Math.min(Math.max(n,t),r),s.width*=_,s.height*=_,a.width=Math.max(a.width,s.width),a.height=Math.max(a.height,s.height),{scale:_,outer:a,inner:s}},Ly=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return new Promise(function(e){setTimeout(e,t)})},By=function(e,t){for(var n="",r=0,o=0;o<e.length;o++){if(t<(r+=/[\u4e00-\u9fa5]/.test(e[o])?2:1)){n+="...";break}n+=e[o]}return n},jy=function(e){return e.split("-").map(function(e,t){return 0===t?e:e[0].toUpperCase()+e.slice(1)}).join("")},Fy=function(r){return function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(e,t){r(Object.assign(n,{success:e,fail:t}))})}},Uy=function(e){var t=null;return!/^#/.test(e)||7!==e.length&&9!==e.length?null!==(t=/^(rgb|rgba)\((.+)\)/.exec(e))?"#"+t[2].split(",").map(function(e,t){return e=e.trim(),1===(e=(e=3===t?Math.floor(255*parseFloat(e)):parseInt(e,10)).toString(16)).length&&(e="0"+e),e}).join(""):"#00000000":e},Wy=new Bt({maxListeners:2e5}),Vy=1,qy="portrait";ye.onReady(function(){qy=ye.deviceOrientation||qy});var Ky=function(e,t){return-1!==["click","touchstart","touchmove","touchend","touchcancel","ready","prop-change"].indexOf(e)?"element-"+t+"-"+e:-1!==["layout"].indexOf(e)?e:void 0},Hy=function(){function v(){var r=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.parentId,n=void 0===t?0:t,o=e.id,a=void 0===o?Vy++:o,i=e.style,s=void 0===i?{}:i,c=e.props,u=void 0===c?{}:c,l=e.name,d=void 0===l?"":l;$e(this,v);var f=Fr(),p=f.platform,h=f.model;this.parentId=n,this.id=a,this.name=d,this.children={},this.parent=null,this.isInserted=!1,this.shouldUpdate=!1,this.readyResult=new Promise(function(e){r.on("ready",e)}),s=Object.assign({left:void 0,top:void 0,right:void 0,bottom:void 0,width:void 0,height:void 0,maxWidth:void 0,maxHeight:void 0,minWidth:void 0,minHeight:void 0,margin:void 0,marginLeft:void 0,marginRight:void 0,marginTop:void 0,marginBottom:void 0,padding:void 0,paddingLeft:void 0,paddingRight:void 0,paddingTop:void 0,paddingBottom:void 0,borderWidth:void 0,flexDirection:void 0,justifyContent:void 0,alignItems:void 0,alignSelf:void 0,flex:void 0,flexWrap:void 0,position:void 0,hidden:!1,scale:1,color:void 0,fontSize:void 0,textAlign:void 0,fontWeight:void 0,lineHeight:void 0,lineBreak:void 0,backgroundColor:void 0,backgroundColorOpacity:1,borderRadius:void 0,borderColor:void 0,borderColorOpacity:1,opacity:void 0,overflow:void 0,zIndex:1,fixed:!1},s),Object.assign(s,s[qy]);var g=/iphone x/.test(h.toLowerCase())?"iphone x":p;Object.assign(s,s[g]),Object.assign(s,s[g+"-"+qy]),this.style={},this.computedStyle=Object.assign({},s),this.lastComputedStyle=Object.assign({},s),this.layoutBox=null,Object.keys(s).forEach(function(n){Object.defineProperty(r.style,n,{configurable:!0,enumerable:!0,get:function(){return s[n]},set:function(t){if(t!==s[n]&&void 0!==t){if(s[n]=t,r.computedStyle[n]=t,r.lastComputedStyle[n]=t,-1!==My.indexOf(n)&&r.style.scale){var e=t*r.style.scale;r.computedStyle[n]=e,r.lastComputedStyle[n]=e}"scale"===n&&My.forEach(function(e){s[e]&&(r.computedStyle[e]=s[e]*t,r.lastComputedStyle[e]=s[e]*t)}),r.shouldUpdate=!0,"hidden"===n&&(t?(r.id,r.name,r.computedStyle.width,r.computedStyle.height,Ry.forEach(function(e){r.computedStyle[e]=0})):(r.id,r.name,r.lastComputedStyle.width,r.lastComputedStyle.height,Ry.forEach(function(e){r.computedStyle[e]=r.lastComputedStyle[e]}))),r.requestLayout()}}})}),My.forEach(function(e){if(r.style[e]&&r.style.scale){var t=r.style[e]*r.style.scale;r.computedStyle[e]=t,r.lastComputedStyle[e]=t}}),s.hidden&&Ry.forEach(function(e){r.computedStyle[e]=0}),Object.keys(u).forEach(function(t){Object.defineProperty(r,t,{configurable:!0,enumerable:!0,get:function(){return u[t]},set:function(e){e!==u[t]&&(u[t]=e,r.shouldUpdate=!0,r.requestLayout())}})})}return Ot(v,[{key:"getAbsolutePosition",value:function(e){if(!e)return this.getAbsolutePosition(this);if(!e.parent)return{left:0,top:0};var t=this.getAbsolutePosition(e.parent),n=t.left,r=t.top;return{left:n+e.layoutBox.left,top:r+e.layoutBox.top}}},{key:"add",value:function(e){e.parent=this,e.parentId=this.id,this.children[e.id]=e,this.requestLayout()}},{key:"remove",value:function(e){var t=this;e?this.children[e.id]&&(e.remove(),delete this.children[e.id]):(Object.keys(this.children).forEach(function(e){t.children[e].remove(),delete t.children[e]}),this.destroy()),this.requestLayout()}},{key:"emit",value:function(e,t){Wy.emit(Ky(e,this.id),t)}},{key:"on",value:function(a,i){var s=this;Wy.on(Ky(a,this.id),function(e){if(i(e),s.bubbleEvent&&s.parent&&a.startsWith("touch")){var t=0,n=0;try{t=s.layoutBox.left,n=s.layoutBox.top}catch(e){}if("touchstart"===a||"touchend"===a){var r=Object.assign({},e);r.x+=t,r.y+=n,s.parent.emit(a,r)}else{var o=e.forEach(function(e){return{x:e.x+t,y:e.y+n}});s.parent.emit(a,o)}}})}},{key:"once",value:function(e,t){Wy.once(Ky(e,this.id),t)}},{key:"off",value:function(e,t){Wy.off(Ky(e,this.id),t)}},{key:"nextLayout",value:function(e){var t=this;if(!e||"function"!=typeof e)return new Promise(function(e){return t.nextLayout(e)});setTimeout(e,250)}},{key:"nextUpdate",value:function(e){var t=this;if(!e||"function"!=typeof e)return new Promise(function(e){return t.nextUpdate(e)});this.once("update-done",e)}},{key:"ready",value:function(){var t=this,e=Object.keys(this.children).map(function(e){return t.children[e].ready()});return Promise.all(e.concat(this.readyResult))}},{key:"requestLayout",value:function(){this.emit("layout")}},{key:"forceUpdate",value:function(){var t=this,e=this.isInserted?this.update():this.insert(),n=Object.keys(this.children).map(function(e){return t.children[e].forceUpdate()});return e.then(function(){return Promise.all(n)})}},{key:"insert",value:function(){}},{key:"update",value:function(){}},{key:"destroy",value:function(){var n=this;["click","ready","touchstart","touchmove","touchend","touchcancel"].forEach(function(e){var t=Ky(e,n.id);Wy.removeAllListeners(t)})}}]),v}(),zy=function(e){var t=JSON.parse(e.data).id;Wy.emit(Ky("click",t))};An("onTextViewClick",zy),An("onImageViewClick",zy),An("onTouchStart",function(e){var t=JSON.parse(e.data).id;Wy.emit(Ky("touchstart",t),e.touch)}),An("onTouchMove",function(e){var t=JSON.parse(e.data).id;Wy.emit(Ky("touchmove",t),e.touches)}),An("onTouchEnd",function(e){var t=JSON.parse(e.data).id;Wy.emit(Ky("touchend",t),e.touch)}),An("onTouchCancel",function(e){var t=JSON.parse(e.data).id;Wy.emit(Ky("touchcancel",t),e.touches)});var Gy=function(e){function m(){var o,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.style,n=e.props,r=e.type,a=void 0===r?"text":r,i=e.name,s=void 0===i?"":i,c=e.autoInsert,u=void 0!==c&&c,l=e.eventType,d=void 0===l?"touch":l,f=e.clickState,p=void 0!==f&&f,h=e.bubbleEvent,g=void 0!==h&&h;$e(this,m),(o=et(this,tt(m).call(this,{style:t,props:n,name:s}))).type="text"===a?"TextView":"ImageView",o.eventType=d,o.autoInsert=u,o.bubbleEvent=g,"touch"===o.eventType&&p&&o.ready().then(function(){o.mask=new m({style:{backgroundColor:"rgba(0, 0, 0, 0.1)",hidden:!0,position:"absolute",left:0,top:0},eventType:"click"}),o.mask.name="mask",o.add(o.mask)}).catch(function(){});var v=Date.now(),_={x:0,y:0};o.on("touchstart",function(e){p&&o.mask&&(o.mask.style.hidden=!1),v=Date.now(),_=e});var y=function(e){p&&o.mask&&(o.mask.style.hidden=!0);var t={x:0,y:0};try{t=o.getAbsolutePosition()}catch(e){}var n={x:0,y:0};Array.isArray(e)?n=e.pop():e.x&&e.y&&(n=e);var r={absoluteX:t.left+_.x,absoluteY:t.top+_.y,relativeX:_.x,relativeY:_.y,absoluteEndX:t.left+n.x,absoluteEndY:t.top+n.y,relativeEndX:n.x,relativeEndY:n.y,pressInterval:Date.now()-v};o.emit("click",r)};return o.on("touchend",y),o.on("touchcancel",y),o.autoInsert&&o.insert(),o}return rt(m,Hy),Ot(m,[{key:"toNativeData",value:function(){var n=this,e=["borderRadius","borderWidth","borderColor","opacity","overflow","fixed"].reduce(function(e,t){return e[t]=n.computedStyle[t],"borderColor"===t&&(e[t]=Uy(n.computedStyle[t])),e},{});e.bgColor=Uy(this.computedStyle.backgroundColor);var t={left:this.computedStyle.left,top:this.computedStyle.top,width:this.computedStyle.width,height:this.computedStyle.height};return this.layoutBox&&(t={left:this.layoutBox.left,top:this.layoutBox.top,width:this.layoutBox.width,height:this.layoutBox.height}),this.computedStyle.hidden&&(t.width=0,t.height=0),"ImageView"===this.type&&delete e.bgColor,this.mask&&(this.mask.style.width=t.width,this.mask.style.height=t.height),e.padding=[0,0,0,0],{parentId:this.parentId,viewId:this.id,position:t,hide:this.computedStyle.hidden,style:e,notCoverRect:!0,zIndex:this.style.zIndex}}},{key:"insert",value:function(){var n=this,r=Object.assign(this.toNativeData(),{clickable:"click"===this.eventType,gesture:"touch"===this.eventType,transEvt:!1,sendTo:"appservice",data:JSON.stringify({id:this.id})});return this.isInserted=!0,new Promise(function(t,e){Ke("insert"+n.type,Object.assign(r,{success:function(e){n.name,n.id,n.emit("ready"),t(e)},fail:e}))})}},{key:"update",value:function(){var n=this;this.shouldUpdate=!1;var r=this.toNativeData();return new Promise(function(e,t){Ke("update"+n.type,Object.assign(r,{success:e,fail:t}))})}},{key:"destroy",value:function(){var n=this;Dy(tt(m.prototype),"destroy",this).call(this);var r={viewId:this.id};return new Promise(function(e,t){Ke("remove"+n.type,Object.assign(r,{success:e,fail:t}))})}},{key:"animate",value:function(e){var t=this,n=e.left,r=e.top,o=e.duration,a={viewId:this.id,easing:"ease-in",duration:o,finalStyle:{left:n,top:r}};return new Promise(function(e,t){Ke("animateCoverView",Object.assign(a,{success:e,fail:t}))}).then(function(e){return t.style.left=n,t.style.top=r,e})}}]),m}(),Yy=function(e){function d(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.style,n=e.value,r=void 0===n?"":n,o=e.name,a=void 0===o?"":o,i=e.autoInsert,s=void 0!==i&&i,c=e.eventType,u=e.bubbleEvent,l=e.clickState;return $e(this,d),et(this,tt(d).call(this,{style:t,props:{value:r},type:"text",name:a,autoInsert:s,eventType:c,bubbleEvent:u,clickState:l}))}return rt(d,Gy),Ot(d,[{key:"toNativeData",value:function(){var n=this,e=["color","fontSize","textAlign","fontWeight","lineHeight","lineBreak"].reduce(function(e,t){return e[t]=n.computedStyle[t],e},{});return Object.assign(Dy(tt(d.prototype),"toNativeData",this).call(this),{label:Object.assign(e,{content:this.value})})}}]),d}(),Jy=function(){var xe,Ie="inherit",Ee="ltr",n="rtl",Pe="row",Ae="row-reverse",Oe="column",De="column-reverse",Me="flex-start",Re="center",Ne="flex-end",Le="space-between",Be="space-around",je="flex-start",Fe="center",Ue="flex-end",We="stretch",Ve="relative",qe="absolute",Ke={row:"left","row-reverse":"right",column:"top","column-reverse":"bottom"},He={row:"right","row-reverse":"left",column:"bottom","column-reverse":"top"},ze={row:"left","row-reverse":"right",column:"top","column-reverse":"bottom"},Ge={row:"width","row-reverse":"width",column:"height","column-reverse":"height"};function Ye(e){return void 0===e}function Je(e){return e===Pe||e===Ae}function Xe(e,t){if(void 0!==e.style.marginStart&&Je(t))return e.style.marginStart;var n=null;switch(t){case"row":n=e.style.marginLeft;break;case"row-reverse":n=e.style.marginRight;break;case"column":n=e.style.marginTop;break;case"column-reverse":n=e.style.marginBottom}return void 0!==n?n:void 0!==e.style.margin?e.style.margin:0}function Qe(e,t){if(void 0!==e.style.marginEnd&&Je(t))return e.style.marginEnd;var n=null;switch(t){case"row":n=e.style.marginRight;break;case"row-reverse":n=e.style.marginLeft;break;case"column":n=e.style.marginBottom;break;case"column-reverse":n=e.style.marginTop}return null!=n?n:void 0!==e.style.margin?e.style.margin:0}function $e(e,t){if(void 0!==e.style.borderStartWidth&&0<=e.style.borderStartWidth&&Je(t))return e.style.borderStartWidth;var n=null;switch(t){case"row":n=e.style.borderLeftWidth;break;case"row-reverse":n=e.style.borderRightWidth;break;case"column":n=e.style.borderTopWidth;break;case"column-reverse":n=e.style.borderBottomWidth}return null!=n&&0<=n?n:void 0!==e.style.borderWidth&&0<=e.style.borderWidth?e.style.borderWidth:0}function Ze(e,t){if(void 0!==e.style.borderEndWidth&&0<=e.style.borderEndWidth&&Je(t))return e.style.borderEndWidth;var n=null;switch(t){case"row":n=e.style.borderRightWidth;break;case"row-reverse":n=e.style.borderLeftWidth;break;case"column":n=e.style.borderBottomWidth;break;case"column-reverse":n=e.style.borderTopWidth}return null!=n&&0<=n?n:void 0!==e.style.borderWidth&&0<=e.style.borderWidth?e.style.borderWidth:0}function et(e,t){return function(e,t){if(void 0!==e.style.paddingStart&&0<=e.style.paddingStart&&Je(t))return e.style.paddingStart;var n=null;switch(t){case"row":n=e.style.paddingLeft;break;case"row-reverse":n=e.style.paddingRight;break;case"column":n=e.style.paddingTop;break;case"column-reverse":n=e.style.paddingBottom}return null!=n&&0<=n?n:void 0!==e.style.padding&&0<=e.style.padding?e.style.padding:0}(e,t)+$e(e,t)}function tt(e,t){return function(e,t){if(void 0!==e.style.paddingEnd&&0<=e.style.paddingEnd&&Je(t))return e.style.paddingEnd;var n=null;switch(t){case"row":n=e.style.paddingRight;break;case"row-reverse":n=e.style.paddingLeft;break;case"column":n=e.style.paddingBottom;break;case"column-reverse":n=e.style.paddingTop}return null!=n&&0<=n?n:void 0!==e.style.padding&&0<=e.style.padding?e.style.padding:0}(e,t)+Ze(e,t)}function nt(e,t){return Xe(e,t)+Qe(e,t)}function rt(e,t){return et(e,t)+tt(e,t)}function ot(e,t){return t.style.alignSelf?t.style.alignSelf:e.style.alignItems?e.style.alignItems:"stretch"}function at(e,t){if(t===n){if(e===Pe)return Ae;if(e===Ae)return Pe}return e}function it(e,t){return(n=e)===Oe||n===De?at(Pe,t):Oe;var n}function st(e){return e.style.position?e.style.position:"relative"}function ct(e){return st(e)===Ve&&0<e.style.flex}function ut(e,t){return e.layout[Ge[t]]+nt(e,t)}function lt(e,t){return void 0!==e.style[Ge[t]]&&0<=e.style[Ge[t]]}function dt(e,t){return void 0!==e.style[t]}function ft(e,t){return void 0!==e.style[t]?e.style[t]:0}function pt(e,t,n){var r={row:e.style.minWidth,"row-reverse":e.style.minWidth,column:e.style.minHeight,"column-reverse":e.style.minHeight}[t],o={row:e.style.maxWidth,"row-reverse":e.style.maxWidth,column:e.style.maxHeight,"column-reverse":e.style.maxHeight}[t],a=n;return void 0!==o&&0<=o&&o<a&&(a=o),void 0!==r&&0<=r&&a<r&&(a=r),a}function ht(e,t){return t<e?e:t}function gt(e,t){void 0===e.layout[Ge[t]]&&lt(e,t)&&(e.layout[Ge[t]]=ht(pt(e,t,e.style[Ge[t]]),rt(e,t)))}function vt(e,t,n){t.layout[He[n]]=e.layout[Ge[n]]-t.layout[Ge[n]]-t.layout[ze[n]]}function _t(e,t){return void 0!==e.style[Ke[t]]?ft(e,Ke[t]):-ft(e,He[t])}function o(e,t,n){var r,o,a,i,s=(o=n,(a=(r=e).style.direction?r.style.direction:Ie)===Ie&&(a=void 0===o?Ee:o),a),c=at((i=e).style.flexDirection?i.style.flexDirection:Oe,s),u=it(c,s),l=at(Pe,s);gt(e,c),gt(e,u),e.layout.direction=s,e.layout[Ke[c]]+=Xe(e,c)+_t(e,c),e.layout[He[c]]+=Qe(e,c)+_t(e,c),e.layout[Ke[u]]+=Xe(e,u)+_t(e,u),e.layout[He[u]]+=Qe(e,u)+_t(e,u);var d=e.children.length,f=rt(e,l);if(void 0!==e.style.measure){var p=!Ye(e.layout[Ge[l]]),h=xe;h=lt(e,l)?e.style.width:p?e.layout[Ge[l]]:t-nt(e,l),h-=f;var g=!lt(e,l)&&!p,v=!lt(e,Oe)&&Ye(e.layout[Ge[Oe]]);if(g||v){var _=e.style.measure(h);g&&(e.layout.width=_.width+f),v&&(e.layout.height=_.height+rt(e,Oe))}if(0===d)return}var y,m,b,w,S,C="wrap"===e.style.flexWrap,T=(y=e).style.justifyContent?y.style.justifyContent:"flex-start",k=et(e,c),x=et(e,u),I=rt(e,c),E=rt(e,u),P=!Ye(e.layout[Ge[c]]),A=!Ye(e.layout[Ge[u]]),O=Je(c),D=null,M=null,R=xe;P&&(R=e.layout[Ge[c]]-I);for(var N,L=0,B=0,j=0,F=0,U=0,W=0;B<d;){var V,q=0,K=0,H=0,z=0,G=P&&T===Me||!P&&T!==Re,Y=G?d:L,J=!0,X=d,Q=null,$=null,Z=k,ee=0;for(m=L;m<d;++m){if((w=e.children[m]).lineIndex=W,w.nextAbsoluteChild=null,w.nextFlexChild=null,(ue=ot(e,w))===We&&st(w)===Ve&&A&&!lt(w,u))w.layout[Ge[u]]=ht(pt(w,u,e.layout[Ge[u]]-E-nt(w,u)),rt(w,u));else if(st(w)===qe)for(null===D&&(D=w),null!==M&&(M.nextAbsoluteChild=w),M=w,b=0;b<2;b++)S=0!==b?Pe:Oe,!Ye(e.layout[Ge[S]])&&!lt(w,S)&&dt(w,Ke[S])&&dt(w,He[S])&&(w.layout[Ge[S]]=ht(pt(w,S,e.layout[Ge[S]]-rt(e,S)-nt(w,S)-ft(w,Ke[S])-ft(w,He[S])),rt(w,S)));var te=0;if(P&&ct(w)?(K++,H+=w.style.flex,null===Q&&(Q=w),null!==$&&($.nextFlexChild=w),te=rt($=w,c)+nt(w,c)):(V=xe,O||(V=lt(e,l)?e.layout[Ge[l]]-f:t-nt(e,l)-f),0===j&&yt(w,V,s),st(w)===Ve&&(z++,te=ut(w,c))),C&&P&&R<q+te&&m!==L){z--,j=1;break}G&&(st(w)!==Ve||ct(w))&&(G=!1,Y=m),J&&(st(w)!==Ve||ue!==We&&ue!==je||Ye(w.layout[Ge[u]]))&&(J=!1,X=m),G&&(w.layout[ze[c]]+=Z,P&&vt(e,w,c),Z+=ut(w,c),ee=ht(ee,pt(w,u,ut(w,u)))),J&&(w.layout[ze[u]]+=F+x,A&&vt(e,w,u)),j=0,q+=te,B=m+1}var ne=0,re=0,oe=0;if(oe=P?R-q:ht(q,0)-q,0!==K){var ae,ie,se=oe/H;for($=Q;null!==$;)(ae=se*$.style.flex+rt($,c))!==(ie=pt($,c,ae))&&(oe-=ie,H-=$.style.flex),$=$.nextFlexChild;for((se=oe/H)<0&&(se=0),$=Q;null!==$;)$.layout[Ge[c]]=pt($,c,se*$.style.flex+rt($,c)),V=xe,lt(e,l)?V=e.layout[Ge[l]]-f:O||(V=t-nt(e,l)-f),yt($,V,s),$=(w=$).nextFlexChild,w.nextFlexChild=null}else T!==Me&&(T===Re?ne=oe/2:T===Ne?ne=oe:T===Le?(oe=ht(oe,0),re=K+z-1!=0?oe/(K+z-1):0):T===Be&&(ne=(re=oe/(K+z))/2));for(Z+=ne,m=Y;m<B;++m)st(w=e.children[m])===qe&&dt(w,Ke[c])?w.layout[ze[c]]=ft(w,Ke[c])+$e(e,c)+Xe(w,c):(w.layout[ze[c]]+=Z,P&&vt(e,w,c),st(w)===Ve&&(Z+=re+ut(w,c),ee=ht(ee,pt(w,u,ut(w,u)))));var ce=e.layout[Ge[u]];for(A||(ce=ht(pt(e,u,ee+E),E)),m=X;m<B;++m)if(st(w=e.children[m])===qe&&dt(w,Ke[u]))w.layout[ze[u]]=ft(w,Ke[u])+$e(e,u)+Xe(w,u);else{var ue,le=x;if(st(w)===Ve)if((ue=ot(e,w))===We)Ye(w.layout[Ge[u]])&&(w.layout[Ge[u]]=ht(pt(w,u,ce-E-nt(w,u)),rt(w,u)));else if(ue!==je){var de=ce-E-ut(w,u);le+=ue===Fe?de/2:de}w.layout[ze[u]]+=F+le,A&&vt(e,w,u)}F+=ee,U=ht(U,Z),W+=1,L=B}if(1<W&&A){var fe=e.layout[Ge[u]]-E,pe=fe-F,he=0,ge=x,ve=(N=e).style.alignContent?N.style.alignContent:"flex-start";ve===Ue?ge+=pe:ve===Fe?ge+=pe/2:ve===We&&F<fe&&(he=pe/W);var _e=0;for(m=0;m<W;++m){var ye=_e,me=0;for(b=ye;b<d;++b)if(st(w=e.children[b])===Ve){if(w.lineIndex!==m)break;Ye(w.layout[Ge[u]])||(me=ht(me,w.layout[Ge[u]]+nt(w,u)))}for(_e=b,me+=he,b=ye;b<_e;++b)if(st(w=e.children[b])===Ve){var be=ot(e,w);if(be===je)w.layout[ze[u]]=ge+Xe(w,u);else if(be===Ue)w.layout[ze[u]]=ge+me-Qe(w,u)-w.layout[Ge[u]];else if(be===Fe){var we=w.layout[Ge[u]];w.layout[ze[u]]=ge+(me-we)/2}else be===We&&(w.layout[ze[u]]=ge+Xe(w,u))}ge+=me}}var Se,Ce,Te=!1,ke=!1;if(P||(e.layout[Ge[c]]=ht(pt(e,c,U+tt(e,c)),I),c!==Ae&&c!==De||(Te=!0)),A||(e.layout[Ge[u]]=ht(pt(e,u,F+E),E),u!==Ae&&u!==De||(ke=!0)),Te||ke)for(m=0;m<d;++m)w=e.children[m],Te&&vt(e,w,c),ke&&vt(e,w,u);for(M=D;null!==M;){for(b=0;b<2;b++)S=0!==b?Pe:Oe,!Ye(e.layout[Ge[S]])&&!lt(M,S)&&dt(M,Ke[S])&&dt(M,He[S])&&(M.layout[Ge[S]]=ht(pt(M,S,e.layout[Ge[S]]-($e(Se=e,Ce=S)+Ze(Se,Ce))-nt(M,S)-ft(M,Ke[S])-ft(M,He[S])),rt(M,S))),dt(M,He[S])&&!dt(M,Ke[S])&&(M.layout[Ke[S]]=e.layout[Ge[S]]-M.layout[Ge[S]]-ft(M,He[S]));M=(w=M).nextAbsoluteChild,w.nextAbsoluteChild=null}}function yt(e,t,n){e.shouldUpdate=!0;var r=e.style.direction||Ee;!e.isDirty&&e.lastLayout&&e.lastLayout.requestedHeight===e.layout.height&&e.lastLayout.requestedWidth===e.layout.width&&e.lastLayout.parentMaxWidth===t&&e.lastLayout.direction===r?(e.layout.width=e.lastLayout.width,e.layout.height=e.lastLayout.height,e.layout.top=e.lastLayout.top,e.layout.left=e.lastLayout.left):(e.lastLayout||(e.lastLayout={}),e.lastLayout.requestedWidth=e.layout.width,e.lastLayout.requestedHeight=e.layout.height,e.lastLayout.parentMaxWidth=t,e.lastLayout.direction=r,e.children.forEach(function(e){e.layout.width=void 0,e.layout.height=void 0,e.layout.top=0,e.layout.left=0}),o(e,t,n),e.lastLayout.width=e.layout.width,e.lastLayout.height=e.layout.height,e.lastLayout.top=e.layout.top,e.lastLayout.left=e.layout.left)}return{layoutNodeImpl:o,computeLayout:yt,fillNodes:function e(t){return t.layout&&!t.isDirty||(t.layout={width:void 0,height:void 0,top:0,left:0,right:0,bottom:0}),t.style||(t.style={}),t.children||(t.children=[]),t.children.forEach(e),t}}}(),Xy=function(e){function a(){var e,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=t.style,r=t.name;$e(this,a),e=et(this,tt(a).call(this,{style:n,id:0,name:r}));var o=null;return e.on("layout",function(){clearTimeout(o),o=setTimeout(function(){return e.layout()},0)}),e}return rt(a,Hy),Ot(a,[{key:"layout",value:function(){var e,t=this,n={id:this.id,style:{width:this.style.width,height:this.style.height,flexDirection:"row"},children:function t(n){return Object.keys(n.children).map(function(e){return n.children[e]}).map(function(e){return{id:e.id,name:e.name,style:e.computedStyle,children:t(e)}})}(this)};return e=n,Jy.fillNodes(e),Jy.computeLayout(e),function e(t,o){t.forEach(function(t){var n=o[t.id],r=!1;n.layoutBox=n.layoutBox||{},["left","top","width","height"].forEach(function(e){r=r||n.layoutBox[e]!==t.layout[e],n.layoutBox[e]=t.layout[e]}),n.shouldUpdate=n.shouldUpdate||r,e(t.children,n.children)})}(n.children,this.children),function r(e,o){var t=e.map(function(e){var t=o[e.id],n=Promise.resolve();return t.isInserted?t.shouldUpdate&&(n=t.update()):n=t.insert(),n.then(function(){return r(e.children,t.children)})});return Promise.all(t)}(n.children,this.children).then(function(){return t.emit("update-done")})}}]),a}(),Qy=[],$y={add:function(e){Qy.push(e)}};ye.onReady(function(){var e=Ur(),t=e.screenWidth,n=e.screenHeight;$y=new Xy({style:{width:t,height:n},name:"layout"}),Qy.forEach(function(e){$y.add(e)})});var Zy=function(e){function d(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.style,n=e.src,r=void 0===n?"":n,o=e.name,a=void 0===o?"":o,i=e.autoInsert,s=void 0!==i&&i,c=e.eventType,u=e.bubbleEvent,l=e.clickState;return $e(this,d),et(this,tt(d).call(this,{style:t,props:{src:r},type:"image",name:a,autoInsert:s,eventType:c,bubbleEvent:u,clickState:l}))}return rt(d,Gy),Ot(d,[{key:"toNativeData",value:function(){return Object.assign(Dy(tt(d.prototype),"toNativeData",this).call(this),{iconPath:this.src})}}]),d}(),em={},tm=["onVideoWaiting","onVideoPlay","onVideoPause","onVideoEnded","onVideoTimeUpdate","onVideoError"],nm=function(e){function z(){var n,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.style,r=e.name,o=e.x,a=void 0===o?0:o,i=e.y,s=void 0===i?0:i,c=e.width,u=void 0===c?300:c,l=e.height,d=void 0===l?200:l,f=e.hide,p=void 0!==f&&f,h=e.src,g=e.poster,v=e.initialTime,_=void 0===v?0:v,y=e.playbackRate,m=void 0===y?1:y,b=e.live,w=void 0!==b&&b,S=e.objectFit,C=void 0===S?"contain":S,T=e.controls,k=void 0===T||T,x=e.autoplay,I=void 0!==x&&x,E=e.muted,P=void 0!==E&&E,A=e.loop,O=void 0!==A&&A,D=e.enableProgressGesture,M=void 0===D||D,R=e.showCenterPlayBtn,N=void 0===R||R,L=e.autoInsert,B=void 0===L||L,j=e.scene,F=void 0===j?"default":j,U=e.preLoad,W=void 0!==U&&U,V=e.obeyMuteSwitch,q=void 0!==V&&V;$e(this,z),(n=et(this,tt(z).call(this,{style:t,name:r}))).isSrcChanged=!1,n.autoInsert=B,n.scene=F,n.preLoad=W,em[n.id]=Ze(Ze(n));var K=null;n.emitter=new Bt,n.deferred=[];var H={x:a,y:s,width:u,height:d,hide:p,src:h,poster:g,initialTime:_,playbackRate:m,live:w,objectFit:C,controls:k,autoplay:I,muted:P,loop:O,enableProgressGesture:M,showCenterPlayBtn:N,obeyMuteSwitch:q};return Object.keys(H).forEach(function(t){Object.defineProperty(Ze(Ze(n)),t,{configurable:!0,enumerable:!0,get:function(){return H[t]},set:function(e){H[t]=e,n.isInserted?("src"===t&&(n.isSrcChanged=!0),"playbackRate"===t?n.operate("playbackRate",[e]):(clearTimeout(K),K=setTimeout(function(){return n.update()},0))):n.deferred.push({type:"property",property:t,value:e})}})}),tm.forEach(function(e){var t=e.toLowerCase().replace("video","");n[t]=function(){},n.emitter.on(e,function(e){n[t](e)})}),n.autoInsert&&n.insert().then(function(){n.playbackRate&&1!==n.playbackRate&&n.operate("playbackRate",[n.playbackRate])}).then(function(){n.deferred.forEach(function(e){"property"===e.type?n[e.property]=e.value:n.operate(e.method,e.args)})}),n}return rt(z,Hy),Ot(z,[{key:"insert",value:function(){var n=this;if(!this.isInserted)return this.isInserted=!0,new Promise(function(t,e){Ke("insertVideoPlayer",Object.assign(n.toNativeData(),{data:JSON.stringify({id:n.id}),filePath:n.src,scene:n.scene,preLoad:n.preLoad,success:function(e){n.emit("ready"),t(e)},fail:e}))})}},{key:"destroy",value:function(){var n=this;return new Promise(function(e,t){Ke("removeVideoPlayer",{videoPlayerId:n.id,success:e,fail:t}),delete em[n.id]})}},{key:"toNativeData",value:function(){var e=this.layoutBox||{left:this.x,top:this.y,width:this.width,height:this.height},t={videoPlayerId:this.id,position:e,hide:this.hide,poster:this.poster,initialTime:this.initialTime,live:this.live,objectFit:this.objectFit,needEvent:!0,showBasicControls:this.controls,autoplay:this.autoplay,muted:this.muted,loop:this.loop,customCache:!1,enableProgressGesture:this.enableProgressGesture,showCenterPlayBtn:this.showCenterPlayBtn,obeyMuteSwitch:this.obeyMuteSwitch};return this.isSrcChanged&&(t.filePath=this.src,this.isSrcChanged=!1),this.autoInsert||(t.parentId=this.parentId),t}},{key:"update",value:function(){this.shouldUpdate=!1;var n=this.toNativeData();return new Promise(function(e,t){Ke("updateVideoPlayer",Object.assign({},n,{success:e,fail:t}))})}},{key:"operate",value:function(n){var r=this,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];if(this.isInserted)return this.hide&&"playbackRate"!==n?Promise.reject(new Error(n+" can't be invoked when video is hidden")):new Promise(function(e,t){Ke("operateVideoPlayer",{videoPlayerId:r.id,type:n,data:o,success:e,fail:t})});this.deferred.push({type:"method",method:n,args:o})}},{key:"play",value:function(){return this.operate("play")}},{key:"pause",value:function(){return this.operate("pause")}},{key:"stop",value:function(){return this.operate("stop")}},{key:"seek",value:function(e){return this.operate("seek",[e])}},{key:"requestFullScreen",value:function(e){return this.operate("requestFullScreen",[e])}},{key:"exitFullScreen",value:function(){return this.operate("exitFullScreen")}}]),z}();function rm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}tm.forEach(function(t){var e=t.replace("Video","");nm.prototype[e]=function(e){this.emitter.on(t,Reporter.surroundThirdByTryCatch(e,"at "+t+" callback function"))};var n=e.replace("on","off");nm.prototype[n]=function(e){e&&"function"==typeof e?this.emitter.off(t,e):this.emitter.removeAllListeners(t)}}),tm.forEach(function(r){An(r,function(e){var t=e.videoPlayerId||JSON.parse(e.data).id,n=em[t];n&&n.emitter.emit(r,e)})});var om={16139:[{type:"string",key:"ClientIPV6",value:""},{type:"string",key:"appid",value:"0"},{type:"string",key:"weapppath",value:"0"},{type:"string",key:"adunit_id",value:"0"},{type:"uint64",key:"slotid",value:"0"},{type:"uint32",key:"costtype",value:"0"},{type:"string",key:"traceid",value:"0"},{type:"uint64",key:"TimeMs",value:"0"},{type:"string",key:"useragent",value:"0"},{type:"uint32",key:"type",value:"0"},{type:"uint32",key:"diaphaneity",value:"0"},{type:"uint32",key:"PageX",value:"0"},{type:"uint32",key:"PageY",value:"0"},{type:"uint32",key:"ScreenHeight",value:"0"},{type:"uint32",key:"ScreenWidth",value:"0"},{type:"uint64",key:"aid",value:"0"},{type:"string",key:"network_type",value:""},{type:"string",key:"wechat_version",value:""},{type:"string",key:"platform",value:""},{type:"string",key:"system_version",value:""},{type:"string",key:"device_orientation",value:""},{type:"string",key:"wxapp_lib_version",value:""}],16487:[{type:"string",key:"ClientIPV6",value:""},{type:"uint64",key:"aid",value:"0"},{type:"string",key:"traceid",value:""},{type:"string",key:"publisher_appid",value:""},{type:"string",key:"network_type",value:""},{type:"string",key:"wechat_version",value:""},{type:"string",key:"platform",value:""},{type:"string",key:"system_version",value:""},{type:"string",key:"device_orientation",value:""},{type:"string",key:"wxapp_lib_version",value:""},{type:"uint64",key:"slotid",value:"0"},{type:"uint32",key:"costtype",value:"0"},{type:"uint64",key:"click_time",value:"0"},{type:"uint32",key:"click_cnt",value:"0"},{type:"uint32",key:"start_pos_x",value:"0"},{type:"uint32",key:"start_pos_y",value:"0"},{type:"uint32",key:"end_pos_x",value:"0"},{type:"uint32",key:"end_pos_y",value:"0"},{type:"uint32",key:"ad_width",value:"0"},{type:"uint32",key:"ad_height",value:"0"},{type:"uint32",key:"press_interval",value:"0"},{type:"uint32",key:"block_click",value:"0"},{type:"uint64",key:"start_posx",value:"0"},{type:"uint64",key:"start_posy",value:"0"},{type:"uint64",key:"end_posx",value:"0"},{type:"uint64",key:"end_posy",value:"0"}],16e3:[{type:"uint32",key:"click_button",value:"0"},{type:"uint64",key:"aid",value:"0"},{type:"string",key:"traceid",value:""},{type:"string",key:"publisher_appid",value:""},{type:"uint64",key:"play_duration",value:"0"},{type:"uint64",key:"click_close_ts",value:"0"},{type:"string",key:"network_type",value:""},{type:"string",key:"wechat_version",value:""},{type:"string",key:"platform",value:""},{type:"string",key:"system_version",value:""},{type:"string",key:"device_orientation",value:""},{type:"string",key:"wxapp_lib_version",value:""},{type:"uint32",key:"preload_video",value:"0"},{type:"uint32",key:"preload_video_success",value:"0"},{type:"uint64",key:"video_first_play_ts",value:"0"},{type:"uint64",key:"card_first_show_ts",value:"0"},{type:"uint64",key:"click_card_ts",value:"0"},{type:"uint32",key:"press_interval",value:"0"},{type:"string",key:"current_play_url",value:""},{type:"string",key:"last_fetch_url",value:""}],15730:[{type:"uint64",key:"load_begin_time",value:"0"},{type:"uint64",key:"load_end_time",value:"0"},{type:"uint64",key:"load_cost_time",value:"0"},{type:"uint64",key:"aid",value:"0"},{type:"string",key:"traceid",value:""},{type:"string",key:"publisher_appid",value:""},{type:"string",key:"network_type",value:""},{type:"string",key:"wechat_version",value:""},{type:"string",key:"platform",value:""},{type:"string",key:"system_version",value:""},{type:"string",key:"device_orientation",value:""},{type:"uint32",key:"report_type",value:"0"},{type:"string",key:"wxapp_lib_version",value:""},{type:"uint64",key:"load_departure_time",value:"0"},{type:"uint32",key:"preload_video",value:"0"},{type:"uint32",key:"preload_video_success",value:"0"}],15979:[{type:"uint64",key:"aid",value:"0"},{type:"string",key:"traceid",value:""},{type:"string",key:"publisher_appid",value:""},{type:"string",key:"network_type",value:""},{type:"string",key:"wechat_version",value:""},{type:"string",key:"platform",value:""},{type:"string",key:"system_version",value:""},{type:"string",key:"device_orientation",value:""},{type:"string",key:"wxapp_lib_version",value:""},{type:"uint64",key:"slotid",value:"0"},{type:"uint32",key:"costtype",value:"0"},{type:"uint32",key:"clkcnt",value:"0"},{type:"uint64",key:"currenttime",value:"0"},{type:"uint64",key:"lastclkperiod",value:"0"},{type:"uint32",key:"retcode",value:"0"},{type:"uint32",key:"costtime",value:"0"},{type:"uint32",key:"pagestaytime",value:"0"},{type:"string",key:"jsapiname",value:""}],15980:[{type:"uint64",key:"aid",value:"0"},{type:"string",key:"traceid",value:""},{type:"string",key:"publisher_appid",value:""},{type:"string",key:"network_type",value:""},{type:"string",key:"wechat_version",value:""},{type:"string",key:"platform",value:""},{type:"string",key:"system_version",value:""},{type:"string",key:"device_orientation",value:""},{type:"string",key:"wxapp_lib_version",value:""},{type:"uint64",key:"slotid",value:"0"},{type:"uint32",key:"costtype",value:"0"},{type:"uint64",key:"currenttime",value:"0"},{type:"uint64",key:"opentime",value:"0"},{type:"uint64",key:"closetime",value:"0"},{type:"uint64",key:"staytime",value:"0"},{type:"string",key:"jsapiname",value:""},{type:"uint32",key:"clkcnt",value:"0"},{type:"uint32",key:"retcode",value:"0"},{type:"uint32",key:"costtime",value:"0"},{type:"string",key:"act_type",value:""},{type:"string",key:"act_type_str",value:""},{type:"uint32",key:"act_type_int",value:"0"}],16295:[{type:"string",key:"ClientIPV6",value:""},{type:"string",key:"id_key",value:""},{type:"uint64",key:"report_time",value:"0"},{type:"uint32",key:"ad_pos_type",value:"0"},{type:"uint32",key:"ad_platform",value:"0"},{type:"string",key:"source_url",value:""},{type:"uint64",key:"aid",value:"0"},{type:"string",key:"traceid",value:""},{type:"string",key:"publisher_appid",value:""},{type:"string",key:"network_type",value:""},{type:"string",key:"wechat_version",value:""},{type:"string",key:"platform",value:""},{type:"string",key:"system_version",value:""},{type:"string",key:"device_orientation",value:""},{type:"string",key:"wxapp_lib_version",value:""},{type:"string",key:"expand_feild",value:""},{type:"string",key:"expand_feild2",value:""}]};function am(e,t){if(!e)return"";if(!t)return e;var n=e.split("#"),r=-1<n[0].indexOf("?")?"&":"?",o="",a=Object.keys(t);if(0<a.length){for(var i=0;i<a.length;i++)o=o.concat(a[i]+"="+t[a[i]]+"&");return 0<o.length&&(o=o.substring(0,o.length-1)),n[0]+r+o+(n[1]?"#"+n[1]:"")}return e}function im(e,t){return am(t,{source:4,tid:e.traceid,pt:e.pt,aid:e.aid,ad_engine:e.is_cpm?1:0,pos_type:e.pos_type})}var sm=Fy(_i),cm=Fy(Ie(!1,"operateWXData")),um=Fy(function(e){var t=e.url,n=e.adInfo,r=e.success,o=e.fail,a=e.complete;Ke("private_openUrl",{url:t,adInfo:n,success:r,fail:o,complete:a})}),lm=Fy(function(e){var t,n=e.canvasInfo,r=e.posType,o=e.success,a=e.fail,i=e.complete;Ke("openADCanvas",{canvasId:n.canvas_id,preLoad:0,noStore:0,extraData:JSON.stringify({pos_type:r}),adInfoXml:(t=n.ad_info_xml,0==(t=t||"").length?"":t.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&nbsp;/g," ").replace(/&#039;|&#39;/g,"'").replace(/&#047;|&#47;/g,"/").replace(/&#092;|&#92;/g,"\\").replace(/&quot;/g,'"').replace(/&amp;/g,"&").replace(/<br>/g,"\n").replace(/<br\/>/g,"\n").replace(/<br \/>/g,"\n")),success:o,fail:a,complete:i})}),dm=Fy(function(e){var t=e.appId,n=e.path,r=e.traceid,o=e.aid,a=e.adInfo,i=e.success,s=e.fail,c=e.complete,u=(ye.accountInfo.appId,ye.appLaunchInfo.sessionid,ye.appType,r+":"+o);Ke("navigateToMiniProgram",{appId:t,path:ht(n).trim(),scene:1095,sourcetype:1,sceneNote:u,adInfo:a,success:i,fail:s,complete:c})}),fm=Fy(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.username,n=e.success,r=e.fail,o=e.complete;Ke("private_addContact",{username:t,scene:Pm,webtype:1,success:n,fail:r,complete:o})}),pm=Fy(function(e){var t=e.isHide,n=e.success,r=e.fail,o=e.complete;Ke("setNavigationBarRightButton",{hide:t,success:n,fail:r,complete:o})}),hm=Fy(function(e){var t=e.isHide,n=e.success,r=e.fail,o=e.complete;Ke("private_setNavigationBarRightButton",{hide:t,success:n,fail:r,complete:o})}),gm=Fy(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.schemeUrl,n=e.success,r=e.fail,o=e.complete;Ke("launchApplication",{schemeUrl:t,operateDirectly:1,success:n,fail:r,complete:o})}),vm=(Fy(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.appUrl,n=e.success,r=e.fail,o=e.complete;Ke("downloadAppInternal",{appUrl:t,operateDirectly:1,success:n,fail:r,complete:o})}),Fy(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.packageName,n=e.success,r=e.fail,o=e.complete;Ke("getInstallState",{packageName:t,permissionBytes:[1,1,1],success:n,fail:r,complete:o})})),_m=Fy(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.downloadId,n=e.success,r=e.fail,o=e.complete;Ke("queryDownloadTask",{downloadId:t,permissionBytes:[1,1,1],success:n,fail:r,complete:o})}),ym=Fy(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.taskName,n=e.taskUrl,r=e.fileMd5,o=e.extInfo,a=e.success,i=e.fail,s=e.complete;Ke("addDownloadTaskStraight",{taskName:t,taskUrl:n,fileMd5:r,extInfo:o,permissionBytes:[1,1,1],success:a,fail:i,complete:s})}),mm=Fy(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.downloadId,n=e.success,r=e.fail,o=e.complete;Ke("pauseDownloadTask",{downloadId:t,permissionBytes:[1,1,1],success:n,fail:r,complete:o})}),bm=Fy(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.downloadId,n=e.success,r=e.fail,o=e.complete;Ke("resumeDownloadTask",{downloadId:t,permissionBytes:[1,1,1],success:n,fail:r,complete:o})}),wm=Fy(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.downloadId,n=e.success,r=e.fail,o=e.complete;Ke("installDownloadTask",{downloadId:t,permissionBytes:[1,1,1],success:n,fail:r,complete:o})}),Sm=Fy(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.resources,n=e.success,r=e.fail,o=e.complete;Ke("loadVideoResource",{resources:t,success:n,fail:r,complete:o})}),Cm=Fy(function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).orientation;Ke("private_setPageOrientation",{orientation:e})}),Tm=Fy(function(){Ke("hideVirtualBottomNavigationBar")}),km="",xm=new Date,Im=new Date,Em=0,Pm=1011,Am="",Om=0,Dm=0,Mm=0,Rm="",Nm="",Lm="",Bm="",jm="",Fm="",Um=!1,Wm=!1,Vm=!0,qm="";ye.onReady(function(){xm=new Date,Am=ye.deviceOrientation||"";var e=Ur();Om=e.screenWidth,Dm=e.screenHeight,Mm=e.windowHeight,Rm=e.platform,Nm=e.system,Lm=e.version,Bm=e.SDKVersion,jm=e.brand,Fm=e.model,Um="ios"===Rm,Wm="android"===Rm,Vm=Vt();try{km=ye.accountInfo.appId}catch(e){}}),Ay(function(e){var t=e.scene;Im=new Date,Pm=t}),ly(function(){Em+=new Date-Im});var Km=1,Hm=new Set,zm=function(){function o(e){var t=e.adUnitId,n=e.adType,r=void 0===n?"banner":n;$e(this,o),this.index=Km++,Hm.add(t),this.adUnitId=t,this.adType=r,this.data={},this.lastVideoReportTime=0,this.lastAdRetCode=0,this.lastAdReqTs=0,this.limitAdReqTime=3e4,this.isAppInstalled=!1,this.lastExposureTime=0,this.lastClickTime=0,this.fetchPromise=null}return Ot(o,[{key:"reset",value:function(){this.lastVideoReportTime=0}},{key:"isLimitRequest",value:function(){return 0!==this.lastAdRetCode&&+new Date-this.lastAdReqTs<this.limitAdReqTime}},{key:"getTransmissionChainData",value:function(e){var t=e.logtype,n=void 0===t?3:t,r={traceid:this.data.traceid,trace_id:this.data.traceid,product_type:this.data.pt,jump_url:encodeURIComponent(this.data.url),rl:encodeURIComponent(this.data.rl),logtype:n};return Object.keys(r).map(function(e){return e+"="+r[e]}).join("&")}},{key:"convertTestAdData",value:function(t){try{var e=JSON.parse(JSON.stringify(t)),n=JSON.parse(e.crt_exp_info);if(105===n.exp_type)e.ad_style_data=n.exp_data;else if(608===n.crt_size||567===n.crt_size){if(e.crt_size=n.crt_size,e.ad_width=e.material_width=n.width,e.ad_height=e.material_height=n.height,e.image_url=n.image_url,n.dest_url&&e.url&&(1==e.dest_type||3==e.dest_type||6==e.dest_type)){var r=function(e){var t={};if(-1<e.indexOf("?")){var n=e.indexOf("?")+1,r=e.substring(n);-1<r.indexOf("#")&&(r=r.substring(0,r.indexOf("#")));for(var o=r.split("&"),a=0;a<o.length;a++){var i=o[a].split("=");t[i[0]]=i[1]}}return t}(e.url),o={};r.weixinadkey&&(o.weixinadkey=r.weixinadkey),r.ticket&&(o.ticket=r.ticket),r.gdt_vid&&(o.gdt_vid=r.gdt_vid),r.weixinadinfo&&(o.weixinadinfo=r.weixinadinfo),e.url=am(n.dest_url,o)}e.watermark_text=n.watermark||""}else n.landpage_type&&e.wx_game_video&&e.wx_game_video.wxgame_video_card&&(e.wx_game_video.wxgame_video_card.flooring_page=n);return e}catch(e){return t}}},{key:"getDeviceOrientation",value:function(){if(!Vm){var e=Ur();Om=e.screenWidth,Dm=e.screenHeight,Am=Dm<Om?"landscape":"portrait"}return Am}},{key:"fetch",value:function(){var K=this;return this.adUnitId?this.isLimitRequest()?Promise.reject({errMsg:"no advertisement",errCode:this.lastAdRetCode}):(Am=this.getDeviceOrientation(),this.fetchPromise||(this.fetchPromise=sm().then(function(e){var t=e.networkType;qm=t;var n={scene_type:Pm,ad_unit_id:K.adUnitId,weapp_path:"index.html",network_type:t,orientation:{landscape:1,portrait:2}[Am],weapp_extra_data:JSON.stringify({wxa_start_ts:xm.valueOf(),wxa_enter_ts:Im.valueOf(),weixin_version:Lm,os_version:Nm})};return"incentive-video"===K.adType&&(n.pos_id="1030436212907001"),K.lastAdReqTs=+new Date,K.lastExposureTime=0,K.lastClickTime=0,cm({apiName:"webapi_getadvert",reqData:n})}).then(function(e){if(K.fetchPromise=null,"-12001"===(e=JSON.parse(e.rawData)).err_code)return K.lastAdRetCode=e.err_code,Promise.reject({errMsg:"no permission",errCode:-12001});if(K.lastAdRetCode=e.ret,!e.advertisement_num||e.advertisement_num<=0)return Promise.reject({errMsg:"no advertisement",errCode:e.ret});if(!e.advertisement_info)return Promise.reject(e);var t=rm(e.advertisement_info,1)[0];if(t.crt_exp_tid&&t.crt_exp_info&&(t=K.convertTestAdData(t)),t.crt_size&&(t.crt_size=Number(t.crt_size)),t.button_action)try{t.button_action=JSON.parse(t.button_action)}catch(e){t.button_action={}}else t.button_action={};if(t.button_action.button_text=t.button_action.button_text||"查看",t.watermark_text=t.watermark_text||"去逛逛",t.ad_style_data)try{t.ad_style_data=JSON.parse(t.ad_style_data),-1===[559,560].indexOf(t.crt_size)&&(t.use_style_data=!0)}catch(e){t.ad_style_data=""}var n={};try{if(t.flow_exp_info)JSON.parse(t.flow_exp_info).forEach(function(e){e.exp_para.forEach(function(e){n[e.name]=Number(e.value)})})}catch(e){}var r=t,o=r.pt,a=r.crt_size,i=r.product_type,s=r.button_action,c=r.use_style_data,u=r.ad_style_data,l=[532,608,567,556,559,560];if((c||a&&-1<l.indexOf(a))&&n.widget_gray_protocol?t.use_new_protocol=!0:t.use_new_protocol=!1,c)t.ad_width=u.width,t.ad_height=u.height,u.widgets.forEach(function(e){if(4===e.type)return s.button_text=e.title,s.jump_type=e.dest_type||s.jump_type,s.jump_url=e.dest_url||s.jump_url,!1});else if(-1===[123,124,126,127,128,129,130,131,132,133,134,135,136,137,138].indexOf(o)&&-1===l.indexOf(a))return a&&-1===l.indexOf(a)?Promise.reject({errMsg:"unexpected advertisement crt_size "+a}):Promise.reject({errMsg:"unexpected advertisement type "+o});var d=(K.data=t).use_new_protocol,f={};if(!d&&-1!==[128,126,129,136].indexOf(o)||d&&23==i){var p=t.biz_info,h=p.nick_name,g=p.is_subscribed;f={icon:p.head_img,nickname:h,uin:p.biz_uin,isFollowed:g}}var v={};if(!d&&132==o||d&&-1<[12,19].indexOf(i)){var _=t.app_info;v={appName:_.app_name,apkName:_.apk_name,apkUrl:_.apk_url,appMd5:_.app_md5,iconUrl:_.icon_url,urlScheme:_.url_scheme,versionCode:_.version_code,channelId:_.channel_id}}var y={123:["image","brand"],124:["image","store"],127:["image","download"],128:["image","follow"],134:["image","wxgame"],138:["image","brand"],126:["card","follow","normal"],129:["card","follow","large"],132:["card","download","large"],130:["video","download"],131:["video","brand"],133:["video","wxgame"],135:["video","brand"],136:["video","follow"],137:["video","brand"]};if(!d&&-1<[130,131,133,135,136,137].indexOf(o)||d&&-1<[559,560].indexOf(a)){var m=t.wx_game_video,b=m.short_video,w=b.thumb_url,S=b.video_url,C=b.video_duration,T=b.thumb_width,k=b.thumb_height,x=m.wxgame_video_card,I=x.show_time,E=x.thumb,P=x.title,A=x.desc,O=x.flooring_page;return{type:y[o],crt_size:a,product_type:i,button_action:s,use_new_protocol:d,video:{poster:w,src:S,duration:C,width:T,height:k},card:{icon:E,name:P,wording:A,showTime:I},app:f,appInfo:v,condition:n,flooringPage:O}}var D,M,R=t,N=R.image_url,L=R.material_width,B=R.material_height,j=R.ad_width,F=R.ad_height,U=R.hint_txt,W=R.watermark_type,V=R.watermark_text,q=y[o];return d?c?(D=j,M=F):-1<[532,608,567].indexOf(a)?(D=(j||L)/2,M=(F||B)/2):556===a&&(D=j,M=F):(D="image"===q[0]?(j||L)/2:j,M="image"===q[0]?(F||B)/2:F),{type:q,crt_size:a,use_style_data:c,ad_style_data:u,product_type:i,button_action:s,watermark_text:V,use_new_protocol:d,watermark:{1:"store",2:"brand",3:"download",6:"follow",7:"wxgame"}[W],width:D,height:M,image:{src:N,width:L,height:B},app:f,appInfo:v,wording:U,condition:n}}).catch(function(e){return K.fetchPromise=null,"banner"===K.adType?K.reportAdMonitorData(5,e):K.reportAdMonitorData(10,e),Promise.reject(e)})),this.fetchPromise):Promise.reject({errMsg:"no ad unit id"})}},{key:"openFeedbackUrl",value:function(e){var t=am("https://mp.weixin.qq.com/promotion/res/htmledition/mobile/html/feedback.html#wechat_redirect",{aid:this.data.aid,traceid:this.data.traceid,source:e});return um({url:t})}},{key:"land",value:function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=e.autoDownload,r=void 0!==n&&n,o=e.toOfficalAccountDetail,a=void 0!==o&&o,i=e.isButton,s=void 0!==i&&i,c=this.data,u=c.pt,l=c.use_new_protocol,d=c.dest_type,f=c.canvas_info,p=c.pos_type;if(l){var h=this.data,g=h.url,v=h.product_type;if(s){var _=this.data.button_action,y=_.jump_type,m=_.jump_url;if(19==v)return this.openAppStore();if(23!=v)return this.landPage(y,m);var b=this.data.biz_info,w=b.user_name;return b.is_subscribed?um({url:im(this.data,m),adInfo:this.getTransmissionChainData({logtype:3})}):fm({username:w}).catch(function(e){return/cancel/.test(e.errMsg)?e:(t.reportAdMonitorData(24,e),Promise.reject(e))})}if(-1<[12,19].indexOf(v)){var S=this.data.app_info.url_scheme;return S&&0<S.trim().length?Wm&&!this.isAppInstalled?this.landPage(d,g):gm({schemeUrl:S}).catch(function(e){return t.landPage(d,g)}):this.landPage(d,g)}return this.landPage(d,g)}if(123===u||124===u||131===u||133===u||134===u||135===u||137===u||138===u){var C=this.data.url;if(1===d)return um({url:C,adInfo:this.getTransmissionChainData({logtype:3})});if(6!==d)return 9===d?lm({canvasInfo:f,posType:p}):Promise.reject({errMsg:"pt "+u+", unexpected dest_type "+d});var T=this.data.weapp_info.appid;return dm({appId:T,path:C,traceid:this.data.traceid,aid:this.data.aid,adInfo:this.getTransmissionChainData({logtype:3})})}if(130==u||127===u||132===u){var k=this.data,x=k.app_info,I=(x.app_id,x.apk_url,x.url_scheme,k.ticket,k.url);return r&&(I+="&auto=1"),Um?s?this.openAppStore():9==d?lm({canvasInfo:f,posType:p}):this.openAppStore():9==d?lm({canvasInfo:f,posType:p}):um({url:I,adInfo:this.getTransmissionChainData({logtype:3})})}if(126!==u&&129!==u&&128!==u&&136!==u)return Promise.reject({errMsg:"unexpected pt "+u});var E=this.data,P=E.biz_info,A=P.user_name,O=P.is_subscribed,D=E.url;return O||a?9===d?lm({canvasInfo:f,posType:p}):um({url:im(this.data,D),adInfo:this.getTransmissionChainData({logtype:3})}):fm({username:A}).catch(function(e){return/cancel/.test(e.errMsg)?e:Promise.reject(e)})}},{key:"landPage",value:function(e,t){var n=this;if(2===e&&Um){var r=this.data,o=r.app_info.appinfo_url;r.crt_size;return gm({schemeUrl:o}).catch(function(){return um({url:o,adInfo:n.getTransmissionChainData({logtype:3})}).catch(function(e){return n.reportAdMonitorData(21,e),Promise.reject(e)})})}if(3===e)return um({url:im(this.data,t),adInfo:this.getTransmissionChainData({logtype:3})}).catch(function(e){return n.reportAdMonitorData(21,e),Promise.reject(e)});if(6===e){var a=this.data,i=a.weapp_info.appid,s=a.traceid,c=a.aid;return dm({appId:i,path:t,traceid:s,aid:c,adInfo:this.getTransmissionChainData({logtype:3})}).catch(function(e){return n.reportAdMonitorData(22,e),Promise.reject(e)})}if(9!==e)return um({url:t,adInfo:this.getTransmissionChainData({logtype:3})}).catch(function(e){return n.reportAdMonitorData(21,e),Promise.reject(e)});var u=this.data,l=u.canvas_info,d=u.pos_type;return lm({canvasInfo:l,posType:d}).catch(function(e){return n.reportAdMonitorData(23,e),Promise.reject(e)})}},{key:"openAppStore",value:function(){var t=this,e=this.data,n=e.app_info,r=(n.app_id,n.apk_url,n.appinfo_url),o=n.url_scheme;e.ticket,e.url,e.pt,e.crt_size,e.use_new_protocol;return o&&0<o.trim().length?gm({schemeUrl:o}).catch(function(){return gm({schemeUrl:r}).catch(function(){return um({url:r,adInfo:t.getTransmissionChainData({logtype:3})}).catch(function(e){return t.reportAdMonitorData(21,e),Promise.reject(e)})})}):gm({schemeUrl:r}).catch(function(){return um({url:r,adInfo:t.getTransmissionChainData({logtype:3})}).catch(function(e){return t.reportAdMonitorData(21,e),Promise.reject(e)})})}},{key:"preloadLanding",value:function(){try{6===this.data.dest_type&&Ke("batchGetContact",{appIds:[this.data.weapp_info.appid]})}catch(e){}}},{key:"checkFollow",value:function(e){return cm({apiName:"webapi_checkcontact",reqData:{biz_uin:e}}).then(function(e){return 1===JSON.parse(e.rawData).is_subscribed})}},{key:"reportFollow",value:function(e){var t=this,n=e.result;return cm({apiName:"webapi_adfollow_report",reqData:{type:{success:140,fail:141,already:142,cancel:143}[n],source:5,scene:75,traceid:this.data.traceid,trace_id:this.data.traceid,aid:this.data.aid,pos_type:5}}).catch(function(e){return t.reportAdMonitorData(34,e),Promise.reject(e)})}},{key:"reportBanner",value:function(e){var t=e.reportType,n=e.exposureType,r=e.clickAbsoluteLeft,o=void 0===r?0:r,a=e.clickAbsoluteTop,i=void 0===a?0:a,s=e.clickRelativeLeft,c=void 0===s?0:s,u=e.clickRelativeTop,l=void 0===u?0:u,d=e.pressInterval,f=void 0===d?0:d,p=e.left,h=void 0===p?0:p,g=e.top,v=void 0===g?0:g,_=e.width,y=void 0===_?0:_,m=e.height,b=void 0===m?0:m,w=3;"exposure"==t&&(w={showed:2,viewable:5,incentiveVideoCard:14}[n]),Ke("adDataReport",{adInfo:this.getTransmissionChainData({logtype:w})});var S,C="";C=!this.data.use_new_protocol&&-1!==[123,124,126,127,128,129,134,138].indexOf(this.data.pt)||this.data.use_new_protocol&&(-1<[532,608,567,556].indexOf(this.data.crt_size)||this.data.use_style_data)?"banner":"video";try{S=this.data.weapp_info.original_id}catch(e){}var T={page_x:h,page_y:v,screen_x:h,screen_y:v,ad_number:Km-1,ad_unit_number:Hm.size,ad_index:this.index,page_enter_time:Im.valueOf(),phone_screen_width:Om,phone_screen_height:Dm},k={weixin_version:Lm,os_version:Nm,machine_brand:jm||"",machine_type:Fm,network_type:qm,start_ts:xm.valueOf(),enter_ts:Im.valueOf(),user_duration:Em+(new Date-Im),imp_time:this.lastAdReqTs,exp_time:this.lastExposureTime,clk_time:this.lastClickTime};return cm({apiName:"advert_report",reqData:{report_type:{click:1,exposure:0}[t],aid:this.data.aid,traceid:this.data.traceid,trace_id:this.data.traceid,ad_group_id:this.data.ad_group_id,apurl:this.data.apurl,weapp_ghid:S,rl:this.data.rl,pt:this.data.pt,screen_cnt:1,click_point:JSON.stringify({x:o,y:i}),press_interval:f,pos_x:c,pos_y:l,ad_w:y,ad_h:b,from_game:1,from_h5:0,wegame_start_ts:xm.valueOf(),wegame_enter_ts:Im.valueOf(),wegame_user_duration:Em+(new Date-Im),exposure_type:{showed:0,viewable:1,incentiveVideoCard:2}[n],pos_type:{banner:5,video:6}[C],wxa_report_detail:T,weapp_extra_data:JSON.stringify(k)}})}},{key:"reportClick",value:function(e){var t=this,n=e.clickAbsoluteLeft,r=e.clickAbsoluteTop,o=e.clickRelativeLeft,a=e.clickRelativeTop,i=e.pressInterval,s=e.left,c=e.top,u=e.width,l=e.height;return this.lastClickTime=+new Date,this.reportBanner({reportType:"click",clickAbsoluteLeft:n,clickAbsoluteTop:r,clickRelativeLeft:o,clickRelativeTop:a,pressInterval:i,left:s,top:c,width:u,height:l}).catch(function(e){return t.reportAdMonitorData(32,e),Promise.reject(e)})}},{key:"reportExposure",value:function(e){var t=this,n=e.exposureType,r=e.left,o=e.top,a=e.width,i=e.height;return this.lastExposureTime=+new Date,this.reportBanner({reportType:"exposure",exposureType:n,left:r,top:o,width:a,height:i}).catch(function(e){return t.reportAdMonitorData(33,e),Promise.reject(e)})}},{key:"reportFlooringPage",value:function(e,n){var r={aid:parseInt(this.data.aid,10),traceid:this.data.traceid};n&&n.forEach(function(e,t){n[t]=Object.assign({},r,e)});var t={};return 1===e?t.rewared_video_ending_page_a=n:2===e&&(t.rewared_video_ending_page_b=n),cm({apiName:"advert_report",reqData:{report_action:"comm_real_report",report_data_json:JSON.stringify(t)}})}},{key:"reportTouchClick",value:function(e){return this.reportMMData(16487,e)}},{key:"reportMMData",value:function(e,t){var n,r=(n=om[e.toString()])?n.concat([]):[];if(r&&0!=r.length)return t=Object.assign(t,{aid:this.data.aid,traceid:this.data.traceid,publisher_appid:km,network_type:qm,wechat_version:Lm,platform:Rm,system_version:Nm,device_orientation:Am,wxapp_lib_version:Bm}),r=r.map(function(e){return{type:e.type,value:(t[e.key]||e.value).toString()}}),cm({apiName:"advert_report",reqData:{report_action:"comm_mmdata_report",report_data_json:JSON.stringify({logid:e,items:r})}})}},{key:"reportAbnormalDetect",value:function(e){var t={adunit_id:this.adUnitId,appid:km};if("object"===Y(e=Object.assign({},e,t)))return this.reportMMData(16139,e)}},{key:"reportAdIDKey",value:function(e){var t=e.key;Reporter.reportIDKeyDirectly({id:924,key:t})}},{key:"reportAdIDKeyErrorData",value:function(e){var t=e.key,n=e.extInfo,r=void 0===n?"":n,o="",a=0,i="";if(this.data&&(o=JSON.stringify({crt_size:this.data.crt_size,product_type:this.data.product_type,dest_type:this.data.dest_type,url:this.data.url}),-1<[559,560].indexOf(this.data.crt_size)?(a=1,this.data.wx_game_video&&this.data.wx_game_video.short_video&&(i=this.data.wx_game_video.short_video.video_url)):(a=3,i=this.data.image_url)),r&&"string"!=typeof r)try{r=JSON.stringify(r)}catch(e){r=r.toString()}return this.reportMMData(16295,{id_key:t,report_time:+new Date,ad_pos_type:a,source_url:i,expand_feild:o,expand_feild2:r})}},{key:"reportAdMonitorData",value:function(e,t){this.reportAdIDKey({key:e}),this.reportAdIDKeyErrorData({key:e,extInfo:t})}},{key:"reportBehaviorButton",value:function(e){var t=e.button,n=e.playDuration,r=e.preloadVideo,o=e.preloadVideoSuccess,a=e.videoFirstPlay,i=e.cardFirstShow,s=e.clickCard,c=e.pressInterval,u=e.currentPlayUrl,l=e.lastFetchUrl;return this.reportMMData(16e3,{click_button:t,play_duration:n,click_close_ts:+new Date,preload_video:r,preload_video_success:o,video_first_play_ts:a,card_first_show_ts:i,click_card_ts:s,press_interval:c,current_play_url:u,last_fetch_url:l})}},{key:"reportVideoLoadTime",value:function(e){var t=e.beginTime,n=void 0===t?0:t,r=e.endTime,o=void 0===r?0:r,a=e.departureTime,i=void 0===a?0:a,s=e.preloadVideo,c=void 0===s?0:s,u=e.preloadVideoSuccess,l=void 0===u?0:u,d=e.reportType,f=void 0===d?0:d,p=o-i-n;if(0<p)return this.reportMMData(15730,{load_begin_time:n,load_end_time:o,load_departure_time:i,load_cost_time:p,preload_video:c,preload_video_success:l,report_type:f})}},{key:"reportRepeatClick",value:function(e){var t=e.slotId,n=e.costType,r=e.clkCnt,o=e.lastClkPeriod,a=e.retCode,i=e.costTime,s=e.pageStayTime,c=e.jsapiName;return this.reportMMData(15979,{slotid:t,costtype:n,clkcnt:r,currenttime:+new Date,lastclkperiod:o,retcode:a,costtime:i,pagestaytime:s,jsapiname:c})}},{key:"reportLandingTime",value:function(e){var t=e.slotId,n=e.costType,r=e.openTime,o=e.closeTime,a=e.stayTime,i=e.jsapiName,s=e.clickTime,c=e.clkCnt,u=e.retCode,l=e.costTime,d=e.actTypeInt,f=e.actTypeStr;return this.reportMMData(15980,{slotid:t,costtype:n,currenttime:s,opentime:r,closetime:o,staytime:a,jsapiname:i,clkcnt:c,retcode:u,costtime:l,act_type_int:d,act_type_str:f})}},{key:"reportADFunnelModel",value:function(e){var t=[e.adtype,e.stage].map(encodeURIComponent).join(",");Reporter.reportKeyValue({key:"GameADFunnelModel",value:t,force:!0,immediately:!0})}},{key:"reportVideo",value:function(e){var t=e.playType,n=e.conditionType,r=e.muted,o=e.playDuration,a=e.videoDuration,i=cm({apiName:"webapi_advideo_report",reqData:{aid:parseInt(this.data.aid),traceid:this.data.traceid,trace_id:this.data.traceid,viewid:this.data.wx_game_video.short_video.viewid,video_play_info:{play_type:{unknown:0,complete:1,partial:2,error:3}[t],play_duration:o-this.lastVideoReportTime,video_duration:a,auto_play:!0,muted:r},report_type:{unknown:0,land:1,end:2,start:3,exit:4,close:5}[n]}});return this.lastVideoReportTime=o,i}},{key:"setRightButtonHide",value:function(e){return Vm?pm({isHide:e}):hm({isHide:e})}},{key:"preloadVideo",value:function(e){return Sm({resources:e})}},{key:"launchApplication",value:function(e){return gm({schemeUrl:e})}},{key:"getInstallState",value:function(e){return vm({packageName:e})}},{key:"queryDownloadTask",value:function(e){return _m({downloadId:e})}},{key:"addDownloadTaskStraight",value:function(e,t,n,r){var o=this;return ym({taskName:e,taskUrl:t,fileMd5:n,extInfo:r}).catch(function(e){return o.reportAdMonitorData(28,e),Promise.reject(e)})}},{key:"pauseDownloadTask",value:function(e){return mm({downloadId:e})}},{key:"resumeDownloadTask",value:function(e){return bm({downloadId:e})}},{key:"installDownloadTask",value:function(e){return wm({downloadId:e})}},{key:"getNetworkType",value:function(){return sm()}},{key:"setAppInstallState",value:function(e){this.isAppInstalled=e}},{key:"setPageOrientation",value:function(e){return Cm({orientation:e})}},{key:"hideVirtualBottomNavigationBar",value:function(){return Tm()}},{key:"triggerClick",value:function(e){var t=e.absoluteX,n=e.absoluteY,r=e.absoluteEndX,o=e.absoluteEndY,a=e.pressInterval,i=!1;return Math.abs(o-n)<30&&Math.abs(r-t)<30&&a<300&&(i=!0),i}},{key:"getScrollPosition",value:function(e){var t=0,n=e-(Dm-Mm);return!Vm&&Wm&&0<n&&(t=n),t}}]),o}(),Gm=function(){function e(){$e(this,e),this.emitter=new Bt({maxListeners:2e3}),this.callbackMap=new WeakMap}return Ot(e,[{key:"emit",value:function(e,t){this.emitter.emit(e,t)}},{key:"on",value:function(e,t){if(t&&"function"==typeof t){var n=Reporter.surroundThirdByTryCatch(t,"at "+e+" callback function");this.callbackMap.set(t,n),this.emitter.on(e,n)}}},{key:"off",value:function(e,t){if(t&&"function"==typeof t){var n=this.callbackMap.get(t);this.emitter.off(e,n)}else this.emitter.removeAllListeners(e)}}]),e}(),Ym=new Gm,Jm="SHOW_REWARD",Xm="HIDE_REWARD",Qm={banner:"SHOW_BANNER","incentive-video":Jm},$m={banner:"HIDE_BANNER","incentive-video":Xm},Zm=function(){function o(e){var t=e.adUnitId,n=e.adType,r=void 0===n?"banner":n;$e(this,o),this.adUnitId=t,this.adType=r}return Ot(o,[{key:"show",value:function(){var e=Qm[this.adType];e&&Ym.emit(e,{adUnitId:this.adUnitId})}},{key:"hide",value:function(){var e=$m[this.adType];e&&Ym.emit(e,{adUnitId:this.adUnitId})}},{key:"on",value:function(e,t){var n=this;Ym.on(e,function(e){e.adUnitId!==n.adUnitId&&t(e)})}}]),o}(),eb=new WeakMap,tb=function(e){return eb.get(e)},nb=function e(){$e(this,e);eb.set(this,{})},rb=function(e,t,n){var r=tb(this);r.xom=e,r.style=t,r.state=n,function n(o){var r=this,a=tb(this),e={view:Gy,text:Yy,image:Zy,video:nm}[o.name],i=jy(o.attributes.id),t=Object.keys(o.attributes).reduce(function(e,t){var n=o.attributes[t],r=jy(t);return"id"===t?e.style=a.style[i]:/\{\{.+\}\}/.test(n)||(e[r]=""===n||"true"===n||"false"!==n&&n),e},{});t.name=i;var s=new e(t);return a[i]=s,o.children.forEach(function(e){var t=n.call(r,e);s.add(t)}),s}.call(this,e)},ob=n(1),ab=(ob('\n <image id="container" click-state="true">\n <view id="ad-feedback" click-state="true">\n <text id="ad-text" value="广告" click-state="true" bubble-event="true"></text>\n <image id="rectangle" src="http://wxsnsdythumb.wxs.qq.com/109/20204/snsvideodownload?m=2e68819eca56a58c0a6cb6180ccb2540&filekey=3033020101041f301d02016d0402534804102e68819eca56a58c0a6cb6180ccb25400202017d040d00000004627466730000000131&hy=SH&storeid=32303138303830393032313634303030303230386639313336666664393337303561333230613030303030303664&bizid=1023" click-state="true" bubble-event="true"></image>\n </view>\n <text id="ad-feedback-btn" click-state="true" value="投诉"></text>\n <image id="tag" bubble-event="true"></image>\n <view id="tagView" bubble-event="true">\n <image id="tagBefore" bubble-event="true" src="http://mmbiz.qpic.cn/mmbiz_png/icTdbqWNOwNTTiaKet81gQJD1yfAwp8hgm1whMrNszgO3SgLoE6tlNzpKQQm4ubB6PeOLWL30sIWR7Sfsiakp1Ouw/0?wx_fmt=png"></image>\n <view id="tagContent" bubble-event="true">\n <image id="tagMiniapp" bubble-event="true" src="http://mmbiz.qpic.cn/mmbiz_png/icTdbqWNOwNTTiaKet81gQJD1yfAwp8hgmCKiaGzo9XUvxlDiaibHqzSO9BqvH74E0m5ibptJHaMAxicKvxXmM4LjMicaA/0?wx_fmt=png"></image>\n <text id="tagLabel" value="" bubble-event="true"></text>\n </view>\n </view>\n </image>\n').root,ob('\n <view id="container" click-state="true">\n <image id="app-icon" bubble-event="true"></image>\n <view id="app-information" bubble-event="true">\n <text id="app-name" bubble-event="true"></text>\n <text id="app-wording" bubble-event="true"></text>\n </view>\n <text id="app-button" click-state="true"></text>\n </view>\n').root,ob('\n <view id="container" click-state="true">\n <image id="image" bubble-event="true">\n <view id="ad-feedback" click-state="true">\n <text id="ad-text" value="广告" click-state="true" bubble-event="true"></text>\n <image id="rectangle" src="http://wxsnsdythumb.wxs.qq.com/109/20204/snsvideodownload?m=2e68819eca56a58c0a6cb6180ccb2540&filekey=3033020101041f301d02016d0402534804102e68819eca56a58c0a6cb6180ccb25400202017d040d00000004627466730000000131&hy=SH&storeid=32303138303830393032313634303030303230386639313336666664393337303561333230613030303030303664&bizid=1023" click-state="true" bubble-event="true"></image>\n </view>\n <text id="ad-feedback-btn" click-state="true" value="投诉"></text>\n </image>\n <view id="app-container" bubble-event="true">\n <image id="app-icon" bubble-event="true"></image>\n <text id="app-name" bubble-event="true"></text>\n <view id="download-button" click-state="true">\n <text id="download-button-text" bubble-event="true"></text>\n <text id="download-progress" bubble-event="true">\n <text id="download-progress-text" bubble-event="true"></text>\n </text>\n </view>\n <text id="app-button" click-state="true"></text>\n </view>\n </view>\n').root,"");ye.onReady(function(){var e=Ur();e.screenWidth,e.screenHeight,ab=e.platform,"ios"===ab,"android"===ab});var ib={StatusBar:!0,NavigationBar:!0,NavigationBarRightButton:!0,TabBar:!1,VirtualBottomNavigationBar:!0},sb=["StatusBar","NavigationBar","NavigationBarRightButton","TabBar"];ke&&sb.push("VirtualBottomNavigationBar");var cb=new Promise(function(e){ye.onReady(function(){if(Vt())ib.StatusBar=!0===ye.showStatusBar,ib.NavigationBar=!1,ib.TabBar=!1,ib.VirtualBottomNavigationBar=!1;else{try{ib.NavigationBar="custom"!==ye.global.window.navigationStyle}catch(e){}ib.TabBar=Au()}e()})}),ub=function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"hide";ib.TabBar=Au();var e=sb.map(function(o){var e=new Promise(function(e,t){var n=""+a+o,r={success:e,fail:t};"NavigationBarRightButton"===o&&(n=Vt()?"setNavigationBarRightButton":"private_setNavigationBarRightButton",r.hide="hide"===a),ib[o]?Ke(n,r):e({errMsg:n+":ok unnecessary"})});return e.catch(function(e){}),e});return Promise.all(e)},lb={container:{position:"absolute",backgroundColor:"#000000",justifyContent:"center",alignItems:"center",overflow:"hidden",zIndex:1000002,hidden:!0},video:{padding:10,overflow:"hidden",flexDirection:"column",justifyContent:"space-between",alignItems:"flex-start",backgroundColor:"#ff0000"},topBar:{position:"absolute",justifyContent:"space-between",flexDirection:"row",alignItems:"flex-start",left:0,top:16,"ios-portrait":{top:12},"ios-landscape":{top:10},"iphone x-portrait":{top:44},"iphone x-landscape":{top:10}},barLeft:{flexWrap:"nowrap"},count:{marginLeft:10,paddingLeft:12.5,paddingRight:12.5,height:32,borderRadius:16,borderColor:"rgba(255, 255, 255, 0.25)",borderWidth:.5,justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.35)"},countDown:{width:33.5,height:32,lineHeight:32,color:"#ffffff",fontSize:14},barRight:{marginRight:10,paddingLeft:12.5,paddingRight:12.5,height:32,borderRadius:16,borderColor:"rgba(255, 255, 255, 0.25)",borderWidth:.5,flexDirection:"row",alignItems:"center",backgroundColor:"rgba(0, 0, 0, 0.35)"},close:{width:56,height:32,lineHeight:32,color:"#ffffff",fontSize:14},splitLine:{width:1,height:18.5,marginLeft:12,marginRight:12,backgroundColor:"rgba(255, 255, 255, 0.25)"},sound:{width:16,height:32},blank:{width:1,height:1},cardContainer:{flexDirection:"column",alignSelf:"stretch"},card:{hidden:!0,backgroundColor:"rgba(255, 255, 255, 0.95)",flexDirection:"row",alignItems:"center",borderRadius:5,portrait:{height:90,padding:17.5},landscape:{width:315,height:70,padding:10}},appIcon:{borderRadius:10,opacity:.95,portrait:{width:55,height:55,marginRight:10},landscape:{width:45,height:45,marginRight:6}},appInformation:{flex:1,flexDirection:"column",justifyContent:"center",overflow:"hidden"},appName:{height:22.5,lineHeight:22.5,marginBottom:5,fontSize:16,lineBreak:"ellipsis",color:"#000000",portrait:{marginBottom:5},landscape:{marginBottom:2}},appWording:{height:20,lineHeight:20,lineBreak:"ellipsis",color:"#888888",fontSize:14},button:{width:60,height:30,lineHeight:30,textAlign:"center",fontSize:13,color:"#1aad19",borderWidth:1,borderColor:"#1aad19",borderRadius:3,marginLeft:10},dialog:{position:"absolute",top:234,left:0,width:300,height:138,borderRadius:10,backgroundColor:"rgba(255, 255, 255, 1)",hidden:!0},dialogTitle:{marginTop:32,marginBottom:32,width:300,height:24,lineHeight:24,textAlign:"center",color:"#000000",fontSize:17},dialogSplit:{width:300,height:1,backgroundColor:"rgba(0, 0, 0, 0.1)"},dialogButton:{width:300,justifyContent:"center",flexDirection:"row",alignItems:"center"},buttonSplit:{width:1,height:49.5,backgroundColor:"rgba(0, 0, 0, 0.1)"},dialogClose:{marginTop:12,marginBottom:12,width:149.5,height:25,lineHeight:25,textAlign:"center",color:"#000000",fontSize:18},dialogCancel:{marginTop:12,marginBottom:12,width:150,height:25,lineHeight:25,textAlign:"center",color:"#1AAD19",fontSize:18},topBarFix:{position:"absolute",justifyContent:"space-between",flexDirection:"row",alignItems:"flex-start",left:10,top:16,"ios-portrait":{top:12},"ios-landscape":{top:10},"iphone x-portrait":{top:44},"iphone x-landscape":{top:10},hidden:!0},barLeftFix:{marginRight:10,paddingLeft:12.5,paddingRight:12.5,height:32,borderRadius:16,borderColor:"rgba(255, 255, 255, 0.25)",borderWidth:.5,flexDirection:"row",alignItems:"center",backgroundColor:"rgba(0, 0, 0, 0.35)"},soundFix:{width:16,height:32},splitLineFix:{width:1,height:18.5,marginLeft:12,marginRight:12,backgroundColor:"rgba(255, 255, 255, 0.25)"},countDownFix:{width:33.5,height:32,lineHeight:32,color:"#ffffff",fontSize:14},closeFix:{width:56,height:32,lineHeight:32,color:"#ffffff",fontSize:14},pageCardBody:{position:"absolute",hidden:!0,flexDirection:"column",alignItems:"center",height:340},pageCardHotArea:{flexDiretion:"cloumn",alignItems:"center",height:70},pageCardTipIcon:{hidden:!0,marginTop:33,width:20,height:6.5},pageCardTip:{marginTop:2,hidden:!0,width:52,height:20,lineHeight:20,fontSize:13,color:"#ffffff"},pageCardContainer:{borderRadius:10,flexDirection:"column",height:270},pageCard:{paddingLeft:15,paddingRight:15,flexDirection:"row",alignItems:"center",borderRadius:5,height:80},pageCardAppIcon:{borderRadius:10,opacity:.95,width:48,height:48},pageCardAppInformation:{paddingLeft:5,marginTop:3,flex:1,flexDirection:"column",justifyContent:"center",overflow:"hidden"},pageCardAppName:{height:22.5,fontSize:16,color:"#ffffff"},pageCardAppWording:{height:20,marginTop:1,color:"#888888",fontSize:14},pageCardButton:{width:60,height:30,lineHeight:30,textAlign:"center",fontSize:14,color:"#ffffff",borderWidth:1,backgroundColor:"#1aad19",borderColor:"#1aad19",borderRadius:4},pageCardSplitLine:{marginLeft:15,marginRight:15,height:1,backgroundColor:"rgba(255, 255, 255, 0.10)"},pageCardImgContainer:{marginTop:15,marginLeft:15,marginRight:15,marginBottom:25,height:150,overflow:"hidden"},pageCardImgBox:{height:150,left:0,flexDirection:"row",justifyContent:"center"},pageCardImg0:{order:0,borderRadius:3},pageCardImg1:{marginLeft:10,order:1,borderRadius:3},pageCardImg2:{marginLeft:10,order:2,borderRadius:3},pageCardImg3:{marginLeft:10,order:3,borderRadius:3},pageContainer:{top:0,hidden:!0,position:"absolute",backgroundColor:"#ffffff"},pageImgContainer:{position:"absolute",overflow:"hidden",backgroundColor:"#000000"},pageImgBox:{flexDirection:"row",justifyContent:"center",position:"absolute",backgroundColor:"#000000"},pageImg0:{flex:1,order:0},pageImg1:{flex:1,order:1},pageImg2:{flex:1,order:2},pageImgTips:{flexDirection:"row",justifyContent:"center",height:10,width:35},pageImgIcon0:{height:7,width:7,borderRadius:16,backgroundColor:"#ffffff"},pageImgIcon1:{height:7,width:7,marginLeft:7,borderRadius:16,backgroundColor:"rgba(255, 255, 255, 0.55)"},pageImgIcon2:{height:7,width:7,marginLeft:7,borderRadius:16,backgroundColor:"rgba(255, 255, 255, 0.55)"},pageInfoContainer:{flexDirection:"column",alignItems:"center"},pageAppIcon:{marginTop:35,borderRadius:10,opacity:.95,width:60,height:60},pageAppInformation:{flex:1,flexDirection:"column",justifyContent:"center",overflow:"hidden",borderWidth:1,borderColor:"#1aad19"},pageAppName:{marginTop:18,marginBottom:12,width:180,textAlign:"center",height:22.5,lineHeight:22.5,fontSize:17,color:"#000000"},pageAppWording:{width:220,height:40,textAlign:"left",lineHeight:20,lineBreak:"break-word",color:"#888888",fontSize:15},pageButton:{marginTop:27,width:225,height:42,lineHeight:42,textAlign:"center",fontSize:17,color:"#ffffff",backgroundColor:"#1aad19",borderWidth:1,borderColor:"#1aad19",borderRadius:4},pageHandler:{top:0,position:"absolute",hidden:!0},pageMask:{top:0,position:"absolute",backgroundColor:"#000000",hidden:!0}},db=n(1)('\n <view id="container">\n <video id="video" controls="false" muted="true" autoplay="false" object-fit="contain" enable-progress-gesture="false" show-center-play-btn="false" auto-insert="false" scene="ad">\n <view id="blank"></view>\n <view id="card-container">\n <view id="card" click-state="true">\n <image id="app-icon" bubble-event="true"></image>\n <view id="app-information" bubble-event="true">\n <text id="app-name" bubble-event="true"></text>\n <text id="app-wording" bubble-event="true"></text>\n </view>\n <text id="button" click-state="true"></text>\n </view>\n </view>\n <view id="page-card-body">\n <view id="page-card-hot-area">\n <image id="page-card-tip-icon"></image>\n <text id="page-card-tip" value="了解更多"></text>\n </view>\n <image id="page-card-container" src="http://wxsnsdythumb.wxs.qq.com/109/20204/snsvideodownload?m=a5af9b5364f6e959667331801f6558e8&filekey=3033020101041f301d02016d040253480410a5af9b5364f6e959667331801f6558e80202423f040d00000004627466730000000131&hy=SH&storeid=32303138313031363036343533343030306464383764313336666664393336663561333230613030303030303664&bizid=1023">\n <view id="page-card" click-state="true">\n <image id="page-card-app-icon" bubble-event="true"></image>\n <view id="page-card-app-information" bubble-event="true">\n <text id="page-card-app-name" bubble-event="true"></text>\n <text id="page-card-app-wording" bubble-event="true"></text>\n </view>\n <text id="page-card-button" click-state="true"></text>\n </view>\n <view id="page-card-split-line"></view>\n <view id="page-card-img-container">\n <view id="page-card-img-box" click-state="true">\n <image id="page-card-img0" bubble-event="true"></image>\n <image id="page-card-img1" bubble-event="true"></image>\n <image id="page-card-img2" bubble-event="true"></image>\n <image id="page-card-img3" bubble-event="true"></image>\n </view>\n </view>\n </image>\n </view>\n </video>\n <view id="page-container">\n <view id="page-img-container">\n <view id="page-img-box">\n <image id="page-img0" bubble-event="true"></image>\n <image id="page-img1" bubble-event="true"></image>\n <image id="page-img2" bubble-event="true"></image>\n </view>\n <view id="page-img-tips">\n <view id="page-img-icon0"></view>\n <view id="page-img-icon1"></view>\n <view id="page-img-icon2"></view>\n </view>\n </view>\n <view id="page-info-container">\n <image id="page-app-icon"></image>\n <text id="page-app-name"></text>\n <text id="page-app-wording"></text>\n <text id="page-button" click-state="true"></text>\n </iew>\n </view>\n <view id="page-handler"></view>\n <view id="page-mask"></view>\n <view id="top-bar">\n <view id="bar-left">\n <view id="count">\n <text id="count-down"></text>\n </view>\n </view>\n <view id="bar-right">\n <image id="sound"></image>\n <view id="split-line"></view>\n <text id="close" value="关闭广告"></text>\n </view>\n </view>\n <view id="top-bar-fix">\n <view id="bar-left-fix">\n <image id="sound-fix"></image>\n <view id="split-line-fix"></view>\n <text id="count-down-fix"></text>\n <text id="close-fix" value="关闭广告"></text>\n </view>\n </view>\n <view id="dialog">\n <text id="dialog-title" value="观看完整视频可获得游戏奖励"></text>\n <view id="dialog-split"></view>\n <view id="dialog-button">\n <text id="dialog-close" value="关闭广告"></text>\n <view id="button-split"></view>\n <text id="dialog-cancel" value="继续观看"></text>\n </view>\n </view>\n </view>\n').root,fb="http://mmbiz.qpic.cn/mmbiz_png/icTdbqWNOwNTTiaKet81gQJB6qPVtS6VgDJshJMngKVrCJPSJpXBdWxLBcXeldt1olAwpNclNHMEwQRpeUHJq9Mw/0?wx_fmt=png",pb="http://mmbiz.qpic.cn/mmbiz_png/icTdbqWNOwNTTiaKet81gQJB6qPVtS6VgDPxmxtianoOmJEuu9cYH93jjkBLPiaLyYmyVkAHA3sDluMYcFJs72ibcXw/0?wx_fmt=png",hb="http://mmbiz.qpic.cn/mmbiz_png/icTdbqWNOwNTTiaKet81gQJAic1IGjzG9g458d7DpIe8URUq74t0dicbwKKc69rPBf8hiby1llOBTndbKUq2NTA9YaA/0?wx_fmt=png",gb="",vb=0,_b=0,yb="",mb=!1,bb=!1,wb=!1,Sb=!0,Cb="portrait",Tb="";ye.onReady(function(){gb=ye.deviceOrientation||"";var e=Ur();gb=gb||(e.deviceOrientation||""),vb=e.screenWidth,_b=e.screenHeight,yb=e.platform,mb="ios"===yb,bb="android"===yb;try{Cb=ye.global?ye.global.window.pageOrientation:Cb}catch(e){}Sb=Vt(),mb?wb=!0===ye.showStatusBar:bb&&(wb=!0===ye.showStatusBar||"true"===ye.showStatusBar)});new WeakMap;var kb={12:"进入应用",19:"查看应用",23:"关注公众号",46:"进入小游戏"},xb=function(){var e,t=tb(this);return(e=cb.then(function(){return ub("hide")}),e.catch(function(e){}),e).then(function(){t.adProxy.setPageOrientation(gb),bb&&!Sb&&(t.updateScreenInfoTimer&&(clearTimeout(t.updateScreenInfoTimer),t.updateScreenInfoTimer=null),t.updateScreenInfoTimer=setTimeout(function(){var e=Fr();vb=e.screenWidth,_b=e.screenHeight,t.video.style.width=vb,t.video.style.height=_b,t.container.style.width=vb,t.container.style.height=_b},1e3))}).catch(function(e){return Promise.reject(e)})},Ib=function(){var e,t=tb(this);return(e=cb.then(function(){return ub("show")}),e.catch(function(e){}),e).then(function(){t.adProxy.setPageOrientation(Cb)}).catch(function(e){return Promise.reject(e)})},Eb=function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n=tb(this),r=!0,o=2;return o=n.data.condition.widget_gray_triggerclick?(r=n.adProxy.triggerClick(e))?0:1:n.adProxy.triggerClick(e)?2:3,t&&Yb.call(this,e,o),r},Pb=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=tb(this);if(t.direction)return t.direction===e.direction;if(1===t.pageType)return!!t.flooringPageIsShow;if(2===t.pageType){if("left"===e.direction){var n=e.y,r=t.flooringPageIsShow?t.video.style.height-180:0,o=t.flooringPageIsShow?t.video.style.height:0;return r<n&&n<o}if("top"===e.direction){var a=e.y,i=t.flooringPageIsShow?t.video.style.height-180:t.video.style.height;return 0<a&&a<i}}},Ab=function(){var e=tb(this),t={},n="",r="",o=0,a=0,i=0,s=0;1===e.pageType?(e.pageHandler.style.width=vb,n="pageImgBox",a=(e.pageHandler.style.height=vb)/4,o=3*vb/4-e.pageImgBox.style.width,t={xRevise:!0,decideByDirection:!0,setImgTips:!0,posQueue:[0,-vb,-2*vb]}):2===e.pageType&&(e.pageHandler.style.width=vb,e.pageHandler.style.height=e.video.style.height,e.pageHandler.style.top=(_b-e.video.style.height)/2,_b!==e.video.style.height&&(e.pageMask.style.hidden=!1,e.pageMask.style.width=vb,e.pageMask.style.height=(_b-e.video.style.height)/2,e.pageMask.style.top=(_b+e.video.style.height)/2),n="pageCardImgBox",r="pageCardBody",o=vb-(a=60)-e.pageCardImgBox.style.width,s=(i=e.video.style.height-e.pageCardBody.style.height+10)+180,t={yRevise:!0,directionMap:{up:i,down:e.pageCardBody.style.top=s},logPagePull:!0,showTips:!0,xInertia:!0,handleTail:!0,xHead:0,xTail:vb-e.pageCardImgBox.style.width-20,touchClick:!0,imgBoxHeight:180,cardHeight:60,buttonWidth:60,buttonHeight:30}),e.flooringPageInfos={xMin:o,xMax:a,yMin:i,yMax:s,xContainer:n,yContainer:r,infos:t}},Ob=function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=tb(this),r=!0===n.flooringPageIsShow?t.max:t.min;return n.pageCardBody.animate({top:r,duration:50}).then(function(){return Hb.call(e,t)}).then(function(){return Db.call(e)})},Db=function(){var e=tb(this);e.flooringPageIsShow?(e.pageCardTipIcon.style.hidden=!0,e.pageCardTip.style.hidden=!0):(e.showTipsTimer&&(clearTimeout(e.showTipsTimer),e.showTipsTimer=null),e.pageCardTipIcon.style.hidden=!1,e.pageCardTip.style.hidden=!1)},Mb=function(e){var t=tb(this);return e.x===t.startPosX&&e.y===t.startPosY},Rb=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";tb(this);Mb.call(this,e)&&Nb.call(this,e,t)},Nb=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=tb(this);Jb.call(this,e),Xb.call(this,{button:5},e),[1,2].includes(n.pageType)&&qb.call(this,e,t),"button"===t?n.data.use_new_protocol?23==n.data.product_type?ew.call(this,{isButton:!0}):ew.call(this):"follow"==n.data.type[1]?"查看"===n.pageCardButton.value||"查看公众号"===n.pageButton.value?ew.call(this,{toOfficalAccountDetail:!0}):ew.call(this):ew.call(this,{autoDownload:!0}):!n.data.use_new_protocol&&"follow"==n.data.type[1]||n.data.use_new_protocol&&23==n.data.product_type?ew.call(this,{toOfficalAccountDetail:!0}):ew.call(this)},Lb=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=tb(this),n=e.container?e.container:"",r=e.event?e.event:{},o=t[n].getAbsolutePosition();return{x:o.left+r.x,y:o.top+r.y}},Bb=function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=tb(this),r=t.direction?t.direction:"left",o=t.imgBox?t.imgBox:"",a="top"===r?t.event.y:t.event.x,i=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=tb(this),n=e.event?e.event:{},r=e.direction?e.direction:"left",o="top"===r?n.y-t.lastPosY:n.x-t.lastPosX;bb&&(o="top"===r?n.y-t.lastSecondPosY:n.x-t.lastSecondPosX);var a=e.critical?e.critical:0;return"top"===r?o<0&&Math.abs(o)>=a?"up":"down":o<0&&Math.abs(o)>=a?"right":"left"}.call(this,t),s=t.directionMap?t.directionMap:{},c=t.posQueue?t.posQueue:[],u=null;if(0<Object.keys(s).length)u=s[i]?s[i]:0;else{a=n[o].style[r],c.sort(function(e,t){return e-t});for(var l=0,d=c.length-1;l<d;){var f=parseInt((l+d)/2,10),p=d-l,h=c[f];if(a===h){u=h;break}if(h<a?l=f:d=f,p<=1)break}if(!u)if(t.decideByDirection)u=c[i]?c[i]:"right"===i?c[l]:c[d];else if(t.decideByDestMap)u=destMap[u]?destMap[u]:u;else{var g=c[d],v=c[l];u=Math.abs(a-g)>=Math.abs(a-v)?v:g}}return Promise.resolve().then(function(){n[o].style[r]=u}).then(function(){if(t.logPagePull)return Hb.call(e,t);(function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0],t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=tb(this);n.isPress=e,n.startPosX=t&&t.x?t.x:0,n.startPosY=t&&t.y?t.y:0,n.lastPosX=t&&t.x?t.x:0,n.lastPosY=t&&t.y?t.y:0,n.lastSecondPosX=t&&t.x?t.x:0,n.lastSecondPosY=t&&t.y?t.y:0,n.direction="",n.startTime=e?+new Date:0,e&&n.throttleTimer&&clearTimeout(n.throtthleTimer),n.throttleTimer=null,n.timeStamp=0,n.callCount=0,n.distanceList=[]}).call(e)}).then(function(){if(t.showTips)return Db.call(e)}).then(function(){if(t.setImgTips)return n[o].nextLayout(function(){(function(){for(var e=tb(this),t=e.imgBaseName,n=0;n<3;n++){var r=e[t+n].getAbsolutePosition();e["pageImgIcon"+n].style.backgroundColor=0===r.left?"#ffffff":"rgba(255, 255, 255, 0.55)"}}).call(e)})})},jb=function(){var o=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(e&&"object"===Y(e)){var t=tb(this),a=e.padding?e.padding:0,i=t.pageType,n=t.data.flooringPage.img_list?t.data.flooringPage.img_list:[];n="string"==typeof n?JSON.parse(n):n;var s=0;return n.forEach(function(e,t){var n=Fb.call(o,{pageType:i,width:e.width,height:e.height}),r=n.width;n.height,n.scale;s+=0===t?r:a+r}),s}},Fb=function(e){var t={};if(!e||"object"!==Y(e))return t;var n=e.pageType,r=e.width,o=e.height;return 1===n?(t.scale=vb/r,t.width=vb,t.height=vb):2===n&&r===o?(t.scale=150/r,t.width=150,t.height=150):2===n&&r!==o&&(t.scale=150/o,t.width=150*r/o,t.height=150),t},Ub=function(){var s=this,c=tb(this),u=c.pageType,e=c.data.flooringPage.img_list?c.data.flooringPage.img_list:[];e="string"==typeof e?JSON.parse(e):e;var l=c.imgBaseName?c.imgBaseName:"";e.forEach(function(e,t){var n=l+t,r=Fb.call(s,{pageType:u,width:e.width,height:e.height}),o=r.width,a=r.height,i=r.scale;c[n].scale=i,c[n].style.width=o,c[n].style.height=a,c[n].src=e.image_url})},Wb=function(){var e=this,t=tb(this);if(t.data.flooringPage){if(2!==t.pageType||t.flooringPageIsShow)return 1===t.pageType?t.pageContainer.animate({left:0,duration:300}).then(function(){return Hb.call(e)}):void 0;var n=t.video.style.height-t.pageCardBody.style.height+10,r=n+180;return t.pageCardBody.animate({top:n,duration:50}).then(function(){return t.flooringPageAutoShow=!0,Hb.call(e,{min:n,max:r})}).then(function(){return Db.call(e)})}},Vb=function(){var e=tb(this);if([1,2].includes(e.pageType)){e.flooringPageState.pageType=e.pageType,e.flooringPageState.card={click:0},e.flooringPageState.button={click:0};for(var t=0;t<=3&&(3!==t||2===e.pageType);t++)e.flooringPageState["img"+t]={exposure:0,click:0}}},qb=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=tb(this);if("img"===t)for(var r=n.imgBaseName,o=0;o<=3&&(3!==o||2===n.pageType);o++){var a=n[r+o].getAbsolutePosition(),i=n[r+o].style.width,s=n[r+o].style.height,c=a.left,u=a.left+i,l=a.top,d=a.top+s;e.x>=c&&e.x<=u&&e.y>=l&&e.y<=d&&(n.flooringPageState["img"+o].click+=1)}else["card","button"].includes(t)&&(n.flooringPageState[t].click+=1)},Kb=function e(){var t=this,n=0<arguments.length&&void 0!==arguments[0]&&arguments[0],r=tb(this);if(n)for(var o=r.imgBaseName,a=0;a<=3&&(3!==a||2===r.pageType);a++){var i=r[o+a].getAbsolutePosition(),s=r[o+a].style.width,c=-s/2,u=vb-s/2;i.left>c&&i.left<u&&(r.flooringPageState["img"+a].exposure+=1)}else r.exposureTimer&&(clearTimeout(r.exposureTimer),r.exposureTimer=null),r.exposureTimer=setTimeout(function(){return e.call(t,!0)},1e3)},Hb=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=tb(this);if(2===t.pageType){var n=e.min?e.min:0,r=e.max?e.max:0;t.pageCardBody.style.top!==n||t.flooringPageIsShow||t.flooringPgaeAutoShow?t.pageCardBody.style.top===r&&t.flooringPageIsShow?(t.flooringPageIsShow=!1,t.flooringPageCloseTime=+new Date,zb.call(this,{type:2,staytime:0,componentsstartstr:""}),zb.call(this,{type:3,staytime:t.flooringPageCloseTime-t.flooringPageShowTime,componentsstartstr:JSON.stringify(t.flooringPageState)}),t.flooringPageShowTime=0,t.flooringPageCloseTime=0,Vb.call(this)):t.pageCardBody.style.top===n&&t.flooringPageAutoShow?(t.flooringPageIsShow=!0,t.flooringPageShowTime=+new Date,zb.call(this,{type:4,staytime:0,componentsstartstr:""}),Kb.call(this)):e.isClose&&t.flooringPageIsShow&&(t.flooringPageIsShow=!1,t.flooringPageCloseTime=+new Date,zb.call(this,{type:5,staytime:0,componentsstartstr:""}),zb.call(this,{type:3,staytime:t.flooringPageCloseTime-t.flooringPageShowTime,componentsstartstr:JSON.stringify(t.flooringPageState)}),t.flooringPageCloseTime=0,t.flooringPageShowTime=0,Vb.call(this)):(t.flooringPageIsShow=!0,t.flooringPageShowTime=+new Date,zb.call(this,{type:1,staytime:0,componentsstartstr:""}),Kb.call(this))}else 1===t.pageType&&(e.isClose?(t.flooringPageIsShow=!1,t.flooringPageCloseTime=+new Date,zb.call(this,{staytime:t.flooringPageCloseTime-t.flooringPageShowTime,componentsstartstr:JSON.stringify(t.flooringPageState)}),t.flooringPageCloseTime=0,t.flooringPageShowTime=0,Vb.call(this)):(t.flooringPageIsShow=!0,t.flooringPageShowTime=+new Date,zb.call(this,{staytime:0,componentsstartstr:JSON.stringify(t.flooringPageState)}),Kb.call(this)))},zb=function(e){var t=tb(this);1===t.pageType&&delete e.type;var n=[];return n.push(e),t.adProxy.reportFlooringPage(t.pageType,n)},Gb=function(){var d=this,f=tb(this);return f.adProxy.fetch().then(function(e){try{var t=Object.keys(f.emitter.emitter).includes("_events")?Object.keys(f.emitter.emitter._events):[];if("devtools"===yb&&!t.includes("_error"))return void console.error("您没有设置onError函数,该函数用于处理广告拉取的异常。请至少处理两种情况:1.调用正常,但没有合适的广告返回给用户。 2. 错误的调用导致的异常返回。 几种情况的详细描述,请查看《小游戏开发者文档》。(无广告返回时,建议不设置激励视频入口)");if(gb=f.adProxy.getDeviceOrientation(),!Sb){var n=Ur();vb=n.screenWidth,_b=n.screenHeight,f.container.style.width=vb,f.container.style.height=_b,f.container.style.top=_b,f.topBar.style.width=vb,f.container.style.fixed=!0}f.data=e,f.isData=!0;var r=e.video,o=r.src,a=r.poster,i=r.duration,s=r.width,c=r.height,u=(e.condition,e.product_type);mb&&f.video.src==o&&f.video.seek(0),f.video.src=o,f.video.poster=a;var l=Ny({outer:{width:f.container.style.width,height:f.container.style.height},inner:{width:s,height:c}}).inner;f.video.style.width=l.width,f.video.style.height=l.height,"portrait"===gb&&1<s/c&&(f.video.style.width=f.container.style.width,f.video.style.height=f.container.style.height),bb&&(f.preloadVideo=!0,f.preloadVideoSuccess=!1,f.adProxy.preloadVideo([o]).catch(function(){})),f.countDown.value=Math.floor(i/1e3).toString()+"秒",3===f.countDown.value.length?f.countDown.style.width=33:f.countDown.style.width=22,f.countDownFix.value=Math.floor(i/1e3).toString()+"秒",3===f.countDownFix.value.length?f.countDownFix.style.width=33:f.countDownFix.style.width=26,function(){var e=tb(this),t=e.data,n=t.type,r=t.product_type,o=t.button_action,a=t.use_new_protocol,i=t.card,s=i.icon,c=i.name,u=i.wording,l=i.showTime,d=t.app,f=t.flooringPage;e.cardShowTime=l,e.appIcon.src=s,e.appName.value=By(c,20),e.appWording.value=u,e.appIcon.style.borderRadius=10,("download"!==n[1]||a&&-1==[12,19].indexOf(r))&&("portrait"===gb?e.appIcon.style.borderRadius=27:"landscape"===gb&&(e.appIcon.style.borderRadius=22)),a?(e.button.value=o.button_text,12===r?e.button.value="下载":19===r?e.button.value="查看":23==r&&(e.button.value=d.isFollowed?"查看":"关注")):(e.button.value="查看","download"===n[1]?e.button.value="下载":"follow"===n[1]&&(e.button.value=d.isFollowed?"查看":"关注")),e.pageType=f&&f.landpage_type?f.landpage_type:0,Vb.call(this),f&&1===e.pageType&&"portrait"===gb?(e.pageAppIcon.src=s,e.pageAppIcon.style.borderRadius=e.appIcon.style.borderRadius,e.pageAppName.value=By(c,20),(e.pageAppWording.value=u).length<=14&&(e.pageAppWording.style.lineHeight=40,e.pageAppWording.style.textAlign="center"),e.pageButton.value=d.isFollowed?"查看公众号":kb[r]?kb[r]:"查看详情",e.imgBaseName="pageImg",e.pageImgContainer.style.width=vb,e.pageImgContainer.style.height=vb,e.pageImgBox.style.width=3*vb,e.pageImgBox.style.height=vb,e.pageImgBox.style.left=0,e.pageInfoContainer.style.width=vb,e.pageInfoContainer.style.height=_b-vb,e.pageInfoContainer.style.top=vb,e.pageImgTips.style.top=vb-20,e.pageImgTips.style.left=vb/2-17.5,mb&&(e.pageImgIcon0.style.borderRadius=4,e.pageImgIcon1.style.borderRadius=4,e.pageImgIcon2.style.borderRadius=4),e.pageImgIcon0.style.backgroundColor="#ffffff",e.pageImgIcon1.style.backgroundColor="rgba(255, 255, 255, 0.55)",e.pageImgIcon2.style.backgroundColor="rgba(255, 255, 255, 0.55)",Ub.call(this),Ab.call(this)):f&&2===e.pageType&&"portrait"===gb&&(e.pageCardContainer.style.width=vb,e.pageCardAppIcon.src=s,e.pageCardAppIcon.style.borderRadius=e.appIcon.style.borderRadius,e.pageCardAppName.value=By(c,20),e.pageCardAppWording.value=u,e.pageCardButton.value=e.button.value,e.pageCard.style.width=vb,e.pageCardSplitLine.style.width=vb-20,e.pageCardHotArea.style.width=vb,e.pageCardImgContainer.style.width=vb-20,e.pageCardImgBox.style.width=jb.call(this,{padding:10}),e.pageCardTipIcon.src="http://wxsnsdythumb.wxs.qq.com/109/20204/snsvideodownload?m=f8ba19ac709edca00138c47585de39be&filekey=3033020101041f301d02016d040253480410f8ba19ac709edca00138c47585de39be020202d1040d00000004627466730000000131&hy=SH&storeid=32303138313031303133353430323030303461363337313336666664393336663561333230613030303030303664&bizid=1023",e.video.style.padding=0,e.imgBaseName="pageCardImg",Ub.call(this),Ab.call(this),e.pageHandler.style.hidden=!1)}.call(d),12===u&&(f.adProxy.setAppInstallState(!1),nw.call(d)),f.adProxy.preloadLanding(),f.emitter.emit("load")}catch(e){return f.adProxy.reportAdMonitorData(11,e),Promise.reject({})}})},Yb=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=tb(this),r=2===n.pageType?n.pageCard.layoutBox:n.card.layoutBox,o=r.width,a=r.height;[0,2,3].includes(t)&&(n.clickCount++,n.clickCount);var i={slotid:0x3a92d206f1bf9,costtype:n.adProxy.data&&n.adProxy.data.is_cpm?1:2,click_time:+new Date,start_posx:parseInt(e.relativeX,10)||0,start_posy:parseInt(e.relativeY,10)||0,end_posx:parseInt(e.relativeEndX,10)||0,end_posy:parseInt(e.relativeEndY,10)||0,ad_width:parseInt(o,10)||0,ad_height:parseInt(a,10)||0,press_interval:e.pressInterval,block_click:t};return n.adProxy.reportTouchClick(i)},Jb=function(e){var t=tb(this),n=t.card.getAbsolutePosition(),r=n.left,o=n.top,a=t.card.layoutBox,i=a.width,s=a.height;t.adProxy.reportClick({clickAbsoluteLeft:e.absoluteX,clickAbsoluteTop:e.absoluteY,clickRelativeLeft:e.absoluteX-r,clickRelativeTop:e.absoluteY-o,pressInterval:e.pressInterval,left:r,top:o,width:i,height:s});Qb.call(this,{stage:1002})},Xb=function(e){var t=e.button,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=tb(this),o=5===t?+new Date:0,a=n?n.pressInterval:0;r.adProxy.reportBehaviorButton({button:t,playDuration:r.currentTime,preloadVideo:r.preloadVideo?1:0,preloadVideoSuccess:r.preloadVideoSuccess?1:0,videoFirstPlay:r.videoFirstPlayTime,cardFirstShow:r.cardFirstShowTime,clickCard:o,pressInterval:a,currentPlayUrl:r.video.src,lastFetchUrl:r.data.video?r.data.video.src:""})},Qb=function(e){var t={adtype:2,stage:e.stage};tb(this).adProxy.reportADFunnelModel(t)},$b=function(){var n=this,r=tb(this);return function(e){var t=e.playType,n=e.conditionType,r=tb(this);r.adProxy.reportVideo({playType:t,conditionType:n,playDuration:r.currentTime,videoDuration:r.data.video.duration,muted:r.video.muted})}.call(this,{playType:r.isEnded?"complete":"partial",conditionType:"close"}),r.container.animate({top:_b,duration:500}).then(function(){return Ib.call(n)}).then(function(){var e=r.isEnded;r.landingCount=0,r.clickCount=0,r.isFirstPlaySuccess=!1,r.isShowed=!1,r.isEnded=!1,r.isData=!1,r.emitter.emit("close",{isEnded:e}),r.adProxy.reset();var t=Gb.call(n);t.catch(function(e){}),r.adFetchResult=t,r.container.style.hidden=!0,r.adCover.hide(),e?Qb.call(n,{stage:1005}):Qb.call(n,{stage:1006}),1===r.pageType?r.pageContainer.style.hidden=!0:2===r.pageType&&(r.pageHandler.style.hidden=!0,r.pageCardBody.style.hidden=!0,r.pageMask.style.hidden=!0,r.pageCardTip.style.hidden=!0,r.video.style.padding=10),r.pageHandler.style.hidden=!0,Hb.call(n,{isClose:!0}),r.showTipsTimer&&clearTimeout(r.showTipsTimer),r.exposureTimer&&clearTimeout(r.exposureTimer),r.updateScreenInfoTimer&&clearTimeout(r.updateScreenInfoTimer),r.layoutTimer&&clearTimeout(r.layoutTimer),r.pageType=0,r.imgBaseName=""})},Zb=function(){var t=this,n=tb(this);n.isEnded?($b.call(this),Xb.call(this,{button:4})):(Yc({content:Sb?"观看完整视频可获得游戏奖励":"观看完整视频可获得小程序奖励",confirmText:"继续观看",cancelText:"关闭广告",success:function(e){e.confirm?(n.video.play(),Xb.call(t,{button:2})):!0===e.cancel?($b.call(t),Xb.call(t,{button:1})):!1===e.cancel&&(n.video.play(),Xb.call(t,{button:3}))},fail:function(){},complete:function(){n.isPause=!1}}),n.video.pause(),n.isPause=!0)},ew=function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=tb(this);r.notReportExit=!0,r.landingCount++,1<r.landingCount&&r.adProxy.reportRepeatClick({slotId:0x3a92d206f1bf9,costType:r.adProxy.data&&r.adProxy.data.is_cpm?1:2,clkCnt:r.landingCount,lastClkPeriod:+new Date-r.lastLandingTime,retCode:r.lastJsapiStatus,costTime:r.lastJsapiCostTime,pageStayTime:r.landingPageCostTime,jsapiName:r.lastJsapiName}),r.lastLandingTime=+new Date,r.lastJsapiStatus=2,r.lastJsapiCostTime=0,r.isLandingPage=!1,r.landingPageCostTime=0;var n=r.adProxy.land(e);!r.data.use_new_protocol&&!e.toOfficalAccountDetail&&"follow"===r.data.type[1]||r.data.use_new_protocol&&23==r.data.product_type&&e&&e.isButton&&!r.adProxy.data.biz_info.is_subscribed?(n.then(function(e){var t=/ok/.test(e.errMsg);t&&(r.button.value="查看",r.data.flooringPage&&1===r.pageType?r.pageButton.value="查看公众号":r.data.flooringPage&&2===r.pageType&&(r.pageCardButton.value="查看"),r.adProxy.data.biz_info&&(r.adProxy.data.biz_info.is_subscribed=1),r.adProxy.reportAdIDKey({key:14})),e.errMsg&&(r.lastJsapiName=e.errMsg.replace(":ok","").replace(":fail cancel",""));var n=+new Date;r.lastJsapiStatus=0,r.lastJsapiCostTime=n-r.lastLandingTime,"private_addContact"==r.lastJsapiName&&r.adProxy.reportLandingTime({slotId:0x3a92d206f1bf9,costType:r.adProxy.data&&r.adProxy.data.is_cpm?1:2,openTime:r.lastLandingTime,closeTime:n,stayTime:r.lastJsapiCostTime,jsapiName:r.lastJsapiName,clickTime:r.lastLandingTime,clkCnt:r.landingCount,retCode:r.lastJsapiStatus,costTime:r.lastJsapiCostTime,actTypeInt:t?2:3,actTypeStr:t?"关注":"取消"})}).catch(function(e){r.lastJsapiStatus=1}),tw.call(this,n)):(r.flooringPageCloseTime=(new Date).getTime(),n.then(function(e){e.errMsg&&(r.lastJsapiName=e.errMsg.replace(":ok","")),"private_openUrl"==r.lastJsapiName||"navigateToMiniProgram"==r.lastJsapiName||"openADCanvas"==r.lastJsapiName||"launchApplication"==r.lastJsapiName?(r.isLandingPage=!0,r.flooringPageIsShow&&(zb.call(t,{type:3,staytime:r.flooringPageCloseTime-r.flooringPageShowTime,componentsstartstr:JSON.stringify(r.flooringPageState)}),r.flooringPageShowTime=0,r.flooringPageCloseTime=0,Vb.call(t))):r.lastJsapiStatus=0,r.lastJsapiCostTime=+new Date-r.lastLandingTime}).catch(function(e){r.lastJsapiStatus=1})),setTimeout(function(){r.notReportExit=!1},1e3);r.adProxy.reportVideo({playType:r.isPlaying?"partial":"complete",conditionType:"land",playDuration:r.currentTime,videoDuration:r.data.video.duration,muted:r.video.muted})},tw=function(e){var t=tb(this);e.then(function(e){return/ok/.test(e.errMsg)?t.adProxy.reportFollow({result:"success"}):/cancel/.test(e.errMsg)?t.adProxy.reportFollow({result:"cancel"}):void 0}).catch(function(e){return t.adProxy.reportFollow({result:"fail"})})},nw=function(){var t=tb(this),e=t.data.appInfo,n=e.apkName,r=e.versionCode,o=e.urlScheme;t.adProxy.getInstallState(n).then(function(e){e.isInstalled&&(void 0===e.versionCode||e.versionCode>=r)&&(t.adProxy.setAppInstallState(!0),t.button&&o&&0<o.trim().length&&(t.button.value=t.pageCardButton.value="进入"))}).catch(function(e){})},rw=function(e){function r(e){var p,t=e.adUnitId;$e(this,r),p=et(this,tt(r).call(this));var h=tb(Ze(Ze(p)));h.emitter=new Gm,h.adUnitId=t,h.adProxy=new zm({adUnitId:t,adType:"incentive-video"}),h.adCover=new Zm({adUnitId:t,adType:"incentive-video"}),h.isShowedExposureReported=!1,h.isViewableExposureReported=!1,h.isCardExposureReported=!1,h.isData=!1,h.isFirstPlay=!1,h.isFirstPlaySuccess=!1,h.isPlaying=!1,h.isEnded=!1,h.isPause=!1,h.currentTime=0,h.cardShowTime=0,h.videoFirstPlayTime=0,h.preloadVideo=!1,h.preloadVideoSuccess=!1,h.cardFirstShowTime=0,h.clickCount=0,h.landingCount=0,h.lastLandingTime=0,h.lastJsapiName=0,h.lastJsapiStatus=0,h.lastJsapiCostTime=0,h.isLandingPage=!1,h.landingPageCostTime=0,h.hideTime=0,h.showTime=0,h.flooringPageIsShow=!1,h.flooringPageShowTime=0,h.flooringPageCloseTime=0,h.flooringPageState={},h.flooringPageAutoShow=!1,h.showTipsTimer=null,h.exposureTimer=null,h.isPress=!1,h.startPosX=0,h.startPosY=0,h.lastPosX=0,h.lastPosY=0,h.lastSecondPosX=0,h.lastSecondPosY=0,h.direction="",h.throttleTimer=null,h.timeStamp=0,h.callCount=0,h.distanceList=[],h.startTime=0,h.lastMoveTime=0,h.flooringPageInfos={},h.updateScreenInfoTimer=null,h.layoutTimer=null,rb.call(Ze(Ze(p)),db,lb),h.container.style.width=vb,h.container.style.height=_b,h.container.style.top=_b,h.container.style.hidden=!0,h.topBar.style.width=vb,h.sound.src=pb,h.soundFix.src=pb,h.appIcon.src=hb,function(){var e=tb(this);if(mb){for(var t=0;t<3;t++)e["pageImg"+t].src=hb,e["pageCardImg"+t].src=hb;e.pageCardImg3.src=hb,e.pageAppIcon.src=hb,e.pageCardAppIcon.src=hb,e.pageCardTipIcon.src=hb}}.call(Ze(Ze(p))),wb&&(h.topBar.style.top=h.topBar.style.top+30,h.topBarFix.style.top=h.topBarFix.style.top+30),$y.add(h.container);var n=Gb.call(Ze(Ze(p)));return n.catch(function(e){}),h.adFetchResult=n,h.close.on("click",function(e){Eb.call(Ze(Ze(p)),e,!1)&&Zb.call(Ze(Ze(p)))}),h.closeFix.on("click",function(e){Eb.call(Ze(Ze(p)),e,!1)&&Zb.call(Ze(Ze(p)))}),h.dialogClose.on("click",function(e){Eb.call(Ze(Ze(p)),e,!1)&&$b.call(Ze(Ze(p)))}),h.dialogCancel.on("click",function(e){Eb.call(Ze(Ze(p)),e,!1)&&(h.dialog.style.hidden=!0,h.video.play())}),h.sound.on("click",function(e){Eb.call(Ze(Ze(p)),e,!1)&&(h.video.muted=!h.video.muted,h.sound.src=h.video.muted?pb:fb)}),h.soundFix.on("click",function(e){Eb.call(Ze(Ze(p)),e,!1)&&(h.video.muted=!h.video.muted,h.soundFix.src=h.video.muted?pb:fb)}),h.video.onTimeUpdate(function(e){var t=e.duration,n=e.position;try{if(h.isFirstPlay){var r=0;h.showTime>h.videoFirstPlayTime&&(r=h.showTime-h.videoFirstPlayTime),h.adProxy.reportVideoLoadTime({beginTime:h.videoFirstPlayTime,endTime:(new Date).getTime()-parseInt(1e3*n),departureTime:r,preloadVideo:h.preloadVideo?1:0,preloadVideoSuccess:h.preloadVideoSuccess?1:0,reportType:1}),h.isFirstPlay=!1,Qb.call(Ze(Ze(p)),{stage:1004})}h.isPlaying=!0,h.currentTime=1e3*n;var o=Math.floor(t-n);if(1<=n&&!h.isViewableExposureReported){var a=h.video.style,i=a.width,s=a.height;h.isViewableExposureReported=!0;h.adProxy.reportExposure({exposureType:"viewable",left:0,top:0,width:i,height:s})}if(0<o&&(h.countDown.value=o.toString()+"秒",h.countDownFix.value=o.toString()+"秒"),3===h.countDown.value.length?h.countDown.style.width=33:h.countDown.style.width=22,3===h.countDownFix.value.length?h.countDownFix.style.width=33:h.countDownFix.style.width=26,(1e3*n>=h.cardShowTime||0<1e3*n)&&h.card.style.hidden){if(h.data.flooringPage&&2===h.pageType?h.pageCardBody.style.hidden=!1:h.card.style.hidden=!1,h.isCardExposureReported)return;h.card.nextLayout(function(){var e=h.card.getAbsolutePosition(),t=e.left,n=e.top,r=h.card.layoutBox,o=r.width,a=r.height;h.isCardExposureReported=!0;h.adProxy.reportExposure({exposureType:"incentiveVideoCard",left:t,top:n,width:o,height:a});h.cardFirstShowTime=(new Date).getTime(),h.data.flooringPage&&2===h.pageType&&(h.showTipsTimer=setTimeout(function(){Db.call(Ze(Ze(p)))},3e3))})}}catch(e){h.adProxy.reportAdMonitorData(12,e)}}),h.video.onEnded(function(){h.count.style.hidden=!0,h.countDownFix.style.hidden=!0,h.countDownFix.style.width=0,h.isPlaying=!1,h.isEnded=!0,h.isPause=!1;var e=h.data.video.duration;h.adProxy.reportVideo({playType:"complete",conditionType:"end",playDuration:h.currentTime,videoDuration:e,muted:h.video.muted});h.data.flooringPage&&1===h.pageType&&"portrait"===gb?(h.pageContainer.style.width=vb,h.pageContainer.style.height=_b,h.pageContainer.style.left=vb,h.pageContainer.style.hidden=!1,h.pageHandler.style.hidden=!1,h.pageHandler.style.zIndex=1000003,h.topBar.style.zIndex=1000004,h.pageImgTips.style.zIndex=1000004,h.pageContainer.nextLayout(function(){Wb.call(Ze(Ze(p)))})):h.data.flooringPage&&2===h.pageType&&"portrait"===gb&&Wb.call(Ze(Ze(p)))}),h.video.onError(function(e){h.adProxy.reportAdMonitorData(13,e)}),h.pageButton.on("click",function(e){Eb.call(Ze(Ze(p)),e)&&Nb.call(Ze(Ze(p)),e,"button")}),h.button.on("click",function(e){Eb.call(Ze(Ze(p)),e)&&(Jb.call(Ze(Ze(p)),e),Xb.call(Ze(Ze(p)),{button:5},e),h.data.use_new_protocol?23==h.data.product_type?ew.call(Ze(Ze(p)),{isButton:!0}):ew.call(Ze(Ze(p))):"follow"==h.data.type[1]?"查看"===h.button.value?ew.call(Ze(Ze(p)),{toOfficalAccountDetail:!0}):ew.call(Ze(Ze(p))):ew.call(Ze(Ze(p)),{autoDownload:!0}))}),h.card.on("click",function(e){Eb.call(Ze(Ze(p)),e)&&(Jb.call(Ze(Ze(p)),e),Xb.call(Ze(Ze(p)),{button:5},e),!h.data.use_new_protocol&&"follow"==h.data.type[1]||h.data.use_new_protocol&&23==h.data.product_type?ew.call(Ze(Ze(p)),{toOfficalAccountDetail:!0}):ew.call(Ze(Ze(p))))}),h.pageHandler.on("touchstart",function(e){var t=Lb.call(Ze(Ze(p)),{event:e,container:"pageHandler"});h.startPosX=t.x,h.startPosY=t.y,h.lastPosX=t.x,h.lastPosY=t.y}),h.pageHandler.on("touchmove",function(e){var t=h.pageHandler.getAbsolutePosition(),n=t.left+e[0].x,r=t.top+e[0].y,o=h.flooringPageInfos,a=o.xMin,i=o.xMax,s=o.yMin,c=o.yMax,u=o.xContainer,l=o.yContainer;if(n-h.lastPosX!=0&&u&&Pb.call(Ze(Ze(p)),{x:n,y:r,direction:"left"})){var d=h[u].style.left;a<=(d+=n-h.lastPosX)&&d<=i&&(h[u].style.left=d,h.lastSecondPosX=h.lastPosX,h.lastPosX=n,h.direction="left",h.lastMoveTime=(new Date).getTime())}if(r-h.lastPosY!=0&&l&&Pb.call(Ze(Ze(p)),{x:n,y:r,direction:"top"})){var f=h[l].style.top;s<=(f+=r-h.lastPosY)&&f<=c&&(h[l].style.top=f,h.lastSecondPosY=h.lastPosY,h.lastPosY=r,h.direction="top")}}),h.pageHandler.on("touchend",function(e){var t=Lb.call(Ze(Ze(p)),{event:e,container:"pageHandler"}),n=h.flooringPageInfos,r=n.xMin,o=n.xMax,a=n.yMin,i=n.yMax,s=n.xContainer,c=n.yContainer,u=n.infos;if(u.event=t,u.touchClick&&function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=tb(this),n=e.event?e.event:{};if(Mb.call(this,n))if(t.flooringPageIsShow){var r=t.pageCard.getAbsolutePosition(),o=r.top,a=r.top+e.cardHeight,i=t.pageCardImgContainer.getAbsolutePosition().top;if(n.y>o&&n.y<a){var s=t.pageCardButton.getAbsolutePosition(),c=s.top,u=s.top+e.buttonHeight,l=s.left,d=s.left+e.buttonWidth;n.y>c&&n.y<u&&n.x>l&&n.x<d?Rb.call(this,n,"button"):Rb.call(this,n,"card")}else n.y>=i&&n.y<=t.video.style.height?Rb.call(this,n,"img"):Ob.call(this,e)}else{var f=t.pageCard.getAbsolutePosition(),p=f.top,h=f.top+e.cardHeight,g=t.pageCardButton.getAbsolutePosition(),v=g.top,_=g.top+e.buttonHeight,y=g.left,m=g.left+e.buttonWidth;n.y>p&&n.y<h?n.y>v&&n.y<_&&n.x>y&&n.x<m?Rb.call(this,n,"button"):Rb.call(this,n,"card"):Ob.call(this,e)}}.call(Ze(Ze(p)),Object.assign({},u,{event:t,max:i,min:a})),"top"===h.direction&&u.yRevise)Bb.call(Ze(Ze(p)),Object.assign({},u,{max:i,min:a,direction:"top",imgBox:c}));else if("left"===h.direction&&u.xRevise)Bb.call(Ze(Ze(p)),Object.assign({},u,{max:o,min:r,direction:"left",imgBox:s})),Kb.call(Ze(Ze(p)));else if("left"===h.direction&&u.xInertia){var l=t.x-h.lastPosX,d=h[s].style.left+5*l;d>=u.xHead&&d<=u.xTail?h[s].style.left=d:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=tb(this),r=e.imgBox?e.imgBox:"",o=e.xMin?e.xMin:0,a=e.xMax?e.xMax:0,i=e.xHead?e.xHead:0,s=e.xTail?e.xTail:0;return n[r].nextLayout(function(){var e=n[r].style.left,t=e;if(i<e&&e<=a?t=i:o<=e&&e<s&&(t=s),t!==e)return n[r].animate({left:t,duration:50})})}.call(Ze(Ze(p)),Object.assign({},u,{xMax:o,xMin:r,imgBox:s})),Kb.call(Ze(Ze(p)))}else h.startPosX=0,h.startPosY=0,h.lastPosX=0,h.lastPosY=0,h.lastSecondPosX=0,h.lastSecondPosY=0,h.direction="";h.direction=""}),Ay(function(){!h.isShowed||h.isEnded||h.isPause||setTimeout(function(){!h.isShowed||h.isEnded||h.isPause||h.video.play()},1e3),h.data&&(!h.data.use_new_protocol&&"follow"==h.data.type[1]||h.data.use_new_protocol&&23==h.data.product_type)?h.adProxy.checkFollow(h.data.app.uin).then(function(e){var t=h.data.use_new_protocol?h.data.button_action.button_text:"关注";h.button.value=e?"查看":t,h.data.flooringPage&&2===h.pageType?h.pageCardButton.value=e?"查看":t:h.data.flooringPage&&1===h.pageType&&(h.pageButton.value=e?"查看公众号":kb[h.data.product_type]?kb[h.data.product_type]:"查看详情"),h.adProxy.data.biz_info&&(h.adProxy.data.biz_info.is_subscribed=e?1:0)}):h.data&&h.data.use_new_protocol&&12==h.data.product_type&&nw.call(Ze(Ze(p))),h.showTime=+new Date,setTimeout(function(){h.flooringPageIsShow&&(h.flooringPageShowTime=+new Date,Kb.call(Ze(Ze(p)))),h.isLandingPage&&(h.lastJsapiStatus=0,h.isLandingPage=!1,h.landingPageCostTime=h.showTime-h.hideTime,h.adProxy.reportLandingTime({slotId:0x3a92d206f1bf9,costType:h.adProxy.data&&h.adProxy.data.is_cpm?1:2,openTime:h.hideTime,closeTime:h.showTime,stayTime:h.landingPageCostTime,jsapiName:h.lastJsapiName,clickTime:h.lastLandingTime,clkCnt:h.landingCount,retCode:h.lastJsapiStatus,costTime:h.lastJsapiCostTime,actTypeInt:1}),!Sb&&bb&&(h.adProxy.hideVirtualBottomNavigationBar().catch(function(){}),h.layoutTimer=setTimeout(function(){h.container.forceUpdate()},250)),h.adProxy.setRightButtonHide(!0).catch(function(){}))},10)}),ly(function(){if(h.hideTime=+new Date,!h.notReportExit&&h.isShowed){h.adProxy.reportVideo({playType:h.isPlaying?"partial":"complete",conditionType:"exit",playDuration:h.currentTime,videoDuration:h.data.video.duration,muted:h.video.muted});h.flooringPageIsShow&&(h.flooringPageCloseTime=(new Date).getTime(),zb.call(Ze(Ze(p)),{type:6,staytime:h.flooringPageCloseTime-h.flooringPageShowTime,componentsstartstr:JSON.stringify(h.flooringPageState)}),h.flooringPageShowTime=0,h.flooringPageCloseTime=0,Vb.call(Ze(Ze(p))))}}),ze("onVideoResourceLoad",function(e){h.isShowed||h.video.src!=e.resource||(h.preloadVideoSuccess=!0,h.video.src=e.resource)}),p}return rt(r,nb),Ot(r,[{key:"load",value:function(){var t=tb(this);if(t.isShowed)return Promise.reject({errMsg:"can't invoke load() while video-ad is showed"});if(t.isData)return Promise.resolve();var e=Gb.call(this);return t.adFetchResult=e.catch(function(e){return-12001===e.errCode&&(e={errMsg:"RewardedVideoAd fail no permission"}),t.emitter.emit("_error",e),Promise.reject(e)}),t.adFetchResult}},{key:"show",value:function(){var t=this,o=tb(this);if(o.isShowed)return Promise.resolve();if(!o.isData)return Promise.reject({errMsg:"no advertisement data available, please invoke load()"});var n=0;!Sb&&bb&&((Tb=xl()).selectViewport().scrollOffset(),Tb.exec(function(e){n=e[0].scrollTop})),Qb.call(this,{stage:1001});var e=(new Date).getTime();return o.adFetchResult.then(function(){return o.adProxy.reportVideoLoadTime({beginTime:e,endTime:(new Date).getTime(),reportType:2}),o.isShowed=!0,o.isShowedExposureReported=!1,o.isViewableExposureReported=!1,o.isCardExposureReported=!1,o.video.muted=!0,o.sound.src=pb,o.soundFix.src=pb,o.count.style.hidden=!1,o.countDownFix.style.hidden=!1,o.card.style.hidden=!0,o.container.style.hidden=!1,o.adCover.show(),o.container.nextLayout()}).then(function(){return Ly(500)}).then(function(){xb.call(t).then(function(e){o.topBar.style.hidden=!1,o.topBarFix.style.hidden=!0}).catch(function(e){o.topBar.style.hidden=!0,o.topBarFix.style.hidden=!1});var e=o.adProxy.getScrollPosition(n)||0;return o.container.animate({top:e,duration:500})}).then(function(e){var t=o.video.style,n=t.width,r=t.height;o.adProxy.reportExposure({exposureType:"showed",left:0,top:0,width:n,height:r});return Ly(500).then(function(){o.isFirstPlay=!0,o.videoFirstPlayTime=(new Date).getTime(),o.video.play()})}).then(function(e){o.isFirstPlaySuccess=!0;o.adProxy.reportVideo({playType:"partial",conditionType:"start",playDuration:0,videoDuration:o.data.video.duration,muted:o.video.muted})})}},{key:"isReady",value:function(){return tb(this).isData}},{key:"onError",value:function(e){tb(this).emitter.on("_error",e)}},{key:"offError",value:function(e){tb(this).emitter.off("_error",e)}},{key:"onLoad",value:function(e){tb(this).emitter.on("load",e)}},{key:"offLoad",value:function(e){tb(this).emitter.off("load",e)}},{key:"onClose",value:function(e){tb(this).emitter.on("close",e)}},{key:"offClose",value:function(e){tb(this).emitter.off("close",e)}}]),r}(),ow={},aw={},iw=0;So(function(e){var t=e.webviewId;aw[iw=t]||(aw[t]=!0,en(t,function(e){delete aw[e],delete ow[e]}))});Protect.hijack(),ye.onReady(function(){var e=ye.appLaunchInfo||{},t=+ye.appLaunchInfo.scene,n=e.referrerInfo&&e.referrerInfo.privateExtraData,r=e.referrerInfo&&e.referrerInfo.messageExtraData,o=n&&n.cookies||r&&r.cookies;"string"==typeof o&&Yn(o,1037!==t,jn),zn(Gn),Kn()}),Dn(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=+e.scene,n=e.referrerInfo&&e.referrerInfo.privateExtraData,r=e.referrerInfo&&e.referrerInfo.messageExtraData,o=n&&n.cookies||r&&r.cookies;(1037===t||o&&"string"==typeof o||1===e.reLaunch||!0===e.reLaunch)&&(jn=[],Fn=[]),"string"==typeof o&&Yn(o,1037!==t,jn),zn(Gn)});var sw=Xl.connectSocket,cw=Xl.closeSocket,uw=Xl.sendSocketMessage,lw=Xl.onSocketOpen,dw=Xl.onSocketClose,fw=Xl.onSocketMessage,pw=Xl.onSocketError,hw=f.chooseImage,gw=f.previewImage,vw=f.getImageInfo,_w=f.saveImageToPhotosAlbum,yw=f.compressImage,mw=v.startRecord,bw=v.stopRecord,ww=p.chooseVideo,Sw=p.saveVideoToPhotosAlbum,Cw=g.playVoice,Tw=g.pauseVoice,kw=g.stopVoice,xw=g.onVoicePlayEnd,Iw=h.loadFontFace,Ew=_.getBackgroundAudioPlayerState,Pw=_.playBackgroundAudio,Aw=_.pauseBackgroundAudio,Ow=_.seekBackgroundAudio,Dw=_.stopBackgroundAudio,Mw=_.onBackgroundAudioPlay,Rw=_.onBackgroundAudioPause,Nw=_.onBackgroundAudioStop,Lw=function(e){Xe("joinVoIPChat",e,{signature:"",nonceStr:"",timeStamp:0,groupId:""})&&Ke("joinVoIPChat",Object.assign({},e,{muteConfig:ey(e.muteConfig)}),{beforeSuccess:function(e){e.errCode=0},beforeFail:function(e){void 0===e.errCode&&(e.errCode=function(e){var t=new RegExp(/^joinVoIPChat:(?:fail )?fail: (-?[0-9]+?), (-?[0-9]+?), .*/).exec(e),n=parseInt(t[1],10),r=parseInt(t[2],10);if(-10086!==n&&-10087!==n)return-1e3;switch(r){case 0:return 0;case-1:return-1;case-7:return-2;default:return-1e3}}(e.errMsg))}})},Bw=function(r){try{Ke("exitVoIPChat",{success:function(e){var t=e.errMsg||"ok";Qe("exitVoIPChat",r,!0,t,0,e)},fail:function(e){var t=e.errCode||-1,n=e.errMsg||"unknown error";Qe("exitVoIPChat",r,!1,n,t,e)},complete:function(){}})}catch(e){"function"==typeof r.fail&&r.fail({errCode:-1,errMsg:"exitVoIPChat:fail "+e.message}),"function"==typeof r.complete&&r.complete({errCode:-1,errMsg:"exitVoIPChat:complete "+e.message})}},jw=function(e){Xe("updateVoIPChatMuteConfig",e,{muteConfig:{}})&&Ke("updateVoIPChatMuteConfig",Object.assign({},e,{muteConfig:ey(e.muteConfig)}))},Fw=function(t){try{ze("onVoIPChatMembersChanged",function(e){e.errCode=0,e.errMsg=e.errMsg||"ok","function"==typeof t&&Reporter.surroundThirdByTryCatch(t,"at onVoIPChatMembersChanged callback function")(e)})}catch(e){e.errCode=e.errCode||-1,e.errMsg=e.errMsg||"unknown error","function"==typeof t&&Reporter.surroundThirdByTryCatch(t,"at onVoIPChatMembersChanged callback function")(e)}},Uw=function(t){try{ze("onVoIPChatSpeakersChanged",function(e){e.errCode=0,e.errMsg=e.errMsg||"ok","function"==typeof t&&Reporter.surroundThirdByTryCatch(t,"at onVoIPChatSpeakersChanged callback function")(e)})}catch(e){e.errCode=e.errCode||-1,e.errMsg=e.errMsg||"unknown error","function"==typeof t&&Reporter.surroundThirdByTryCatch(t,"at onVoIPChatSpeakersChanged callback function")(e)}},Ww=ay,Vw=R.captureScreen,qw=R.onUserCaptureScreen,Kw=R.setKeepScreenOn,Hw=R.setScreenBrightness,zw=R.getScreenBrightness,Gw=N.vibrateShort,Yw=N.vibrateLong,Jw=L.chooseContact,Xw=L.chooseWeChatContact,Qw=L.addPhoneContact,$w=b.showToast,Zw=b.hideToast,eS=b.showLoading,tS=b.hideLoading,nS=b.showModal,rS=b.showActionSheet,oS=w.setNavigationBarTitle,aS=w.showNavigationBarLoading,iS=w.hideNavigationBarLoading,sS=w.setNavigationBarColor,cS=w.setNavigationBarAlpha,uS=w.setNavigationBarRightButton,lS=w.onTapNavigationBarRightButton,dS=o.getShareInfo,fS=o.showShareMenu,pS=o.hideShareMenu,hS=o.updateShareMenu,gS=o.shareAppMessageForFakeNative,vS=Sd.clearStorage,_S=Sd.clearStorageSync,yS=Sd.getStorage,mS=Sd.getStorageInfo,bS=Sd.getStorageInfoSync,wS=Sd.getStorageSync,SS=Sd.removeStorage,CS=Sd.removeStorageSync,TS=Sd.setStorage,kS=Sd.setStorageSync,xS={},IS={drawCanvas:co,createContext:_o,createCanvasContext:mo,canvasToTempFilePath:ho,canvasGetImageData:to,canvasPutImageData:oo,getAccountInfoSync:function(){return{miniProgram:{appId:ye.accountInfo&&ye.accountInfo.appId||""}}},getShareInfo:dS,pageScrollTo:Ru,chooseInvoiceTitle:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("chooseInvoiceTitle",e,{beforeSuccess:function(e){var t=e.invoiceTitleInfo||e.choose_invoice_title_info;if(t)try{var n=JSON.parse(t);delete e.invoiceTitleInfo,delete e.choose_invoice_title_info,e=Object.assign(e,n)}catch(e){}}})},chooseInvoice:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("chooseInvoice",Object.assign({},e,{timeStamp:Go,nonceStr:Go+""}),{beforeSuccess:function(){}})},arrayBufferToBase64:Reporter.surroundThirdByTryCatch(St),base64ToArrayBuffer:Reporter.surroundThirdByTryCatch(Ct),openSetting:function(){!function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("openSetting",e,{beforeSuccess:function(e){var t=e.authSetting||[];e.authSetting=t.reduce(function(e,t){return e[t.scope]=1===t.state,e},{})}})}(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},getExtConfig:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};setTimeout(function(){var e={errMsg:"getExtConfig: ok",extConfig:dl()};"function"==typeof t.success&&t.success(e),"function"==typeof t.complete&&t.complete(e)},0)},chooseMedia:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("chooseMedia",e)},chooseMultiMedia:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("chooseMultiMedia",e)},chooseMessageFile:Qs,chooseWeChatContact:Xw,uploadEncryptedFileToCDN:x.uploadEncryptedFileToCDN,onUploadEncryptedFileToCDNProgress:x.onUploadEncryptedFileToCDNProgress,getExtConfigSync:dl,showShareMenu:fS,hideShareMenu:pS,updateShareMenu:hS,shareAppMessageForFakeNative:gS,openUrl:q.openUrl,setNavigationBarColor:sS,setNavigationBarAlpha:cS,vibrateShort:Gw,vibrateLong:Yw,getSetting:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("getSetting",e,{beforeSuccess:function(e){e.authSetting=e.authSetting.reduce(function(e,t){return e[t.scope]=1===t.state,e},{})}})},checkIsSupportFacialRecognition:u.checkIsSupportFacialRecognition,startFacialRecognitionVerify:u.startFacialRecognitionVerify,startFacialRecognitionVerifyAndUploadVideo:u.startFacialRecognitionVerifyAndUploadVideo,startCustomFacialRecognitionVerify:u.startCustomFacialRecognitionVerify,startCustomFacialRecognitionVerifyAndUploadVideo:u.startCustomFacialRecognitionVerifyAndUploadVideo,sendBizRedPacket:c.sendBizRedPacket,sendGoldenRedPacket:c.sendGoldenRedPacket,openGoldenRedPacketDetail:c.openGoldenRedPacketDetail,addPhoneContact:Qw,setScreenBrightness:Hw,getScreenBrightness:zw,getWeRunData:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("openWeRunSetting",{checkSupport:!0,success:function(){Ke("operateWXData",ft({data:{api_name:"webapi_getwerunstep_history"}},t),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateWXData","getWeRunData")},beforeSuccess:function(e){ke&&(e.data=JSON.parse(e.data)),void 0!==e.data.data&&(e.rawData=e.data.data),e.data.encryptedData&&(e.encryptedData=e.data.encryptedData,e.iv=e.data.iv),delete e.data}})},fail:function(e){e.errMsg=e.errMsg.replace("openWeRunSetting","getWeRunData"),"function"==typeof t.fail&&Reporter.surroundThirdByTryCatch(t.fail,"at api getWeRunData fail callback function")(e),"function"==typeof t.complete&&Reporter.surroundThirdByTryCatch(t.complete,"at api getWeRunData fail callback function")(e)}})},uploadWeRunData:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};"number"!=typeof t.step||t.step<0?Je("uploadWeRunData",t,"parameter error: step should be number and greater or equal to 0"):Ke("openWeRunSetting",{checkSupport:!1,success:function(){Ke("uploadWeRunData",t,{})},fail:function(e){e.errMsg=e.errMsg.replace("openWeRunSetting","uploadWeRunData"),"function"==typeof t.fail&&Reporter.surroundThirdByTryCatch(t.fail,"at api uploadWeRunData fail callback function")(e),"function"==typeof t.complete&&Reporter.surroundThirdByTryCatch(t.complete,"at api uploadWeRunData fail callback function")(e)}})},addWeRunData:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};"number"!=typeof t.step||t.step<0?Je("addWeRunData",t,"parameter error: step should be number and greater or equal to 0"):Ke("openWeRunSetting",{checkSupport:!1,success:function(){Ke("addWeRunData",t,{})},fail:function(e){e.errMsg=e.errMsg.replace("openWeRunSetting","addWeRunData"),"function"==typeof t.fail&&Reporter.surroundThirdByTryCatch(t.fail,"at api addWeRunData fail callback function")(e),"function"==typeof t.complete&&Reporter.surroundThirdByTryCatch(t.complete,"at api addWeRunData fail callback function")(e)}})},canIUse:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:Lr;if("string"!=typeof e)throw new vt("canIUse: schema should be an object");var n=e.split(".");return!!Ed.apply(void 0,[t].concat(ve(n)))||!!Pd.apply(void 0,[t].concat(ve(n)))},setPageStyle:Fu,triggerGettingWidgetData:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("triggerGettingWidgetData",e,{cacheKey:""})&&Ke("triggerGettingWidgetData",e,{})},navigateToMiniProgram:m.navigateToMiniProgram,navigateToDevMiniProgram:m.navigateToDevMiniProgram,navigateBackMiniProgram:m.navigateBackMiniProgram,setNavigationBarRightButton:uS,onTapNavigationBarRightButton:lS,setTopBarText:S.setTopBarText,setTabBarBadge:k.setTabBarBadge,removeTabBarBadge:k.removeTabBarBadge,showTabBarRedDot:k.showTabBarRedDot,hideTabBarRedDot:k.hideTabBarRedDot,showTabBar:k.showTabBar,hideTabBar:k.hideTabBar,setTabBarStyle:k.setTabBarStyle,setTabBarItem:k.setTabBarItem,setBackgroundColor:$u,setBackgroundTextStyle:Zu,setEnableDebug:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("setEnableDebug",e,{enableDebug:!0})&&(Ke("setEnableDebug",e,{}),e.enableDebug&&console.warn("已通过 wx.setEnableDebug 打开调试"))},captureScreen:Vw,onUserCaptureScreen:qw,setKeepScreenOn:Kw,checkIsSupportSoterAuthentication:s.checkIsSupportSoterAuthentication,startSoterAuthentication:s.startSoterAuthentication,checkIsSoterEnrolledInDevice:s.checkIsSoterEnrolledInDevice,openDeliveryList:q.openDeliveryList,reportIDKey:function(){},reportKeyValue:function(){},setNavigationBarTitle:oS,showNavigationBarLoading:aS,hideNavigationBarLoading:iS,startPullDownRefresh:Nu,stopPullDownRefresh:Lu,operateWXData:Ee,getOpenDeviceId:zo,getMenuButtonBoundingClientRect:function(){var t,n={};if(Ke("getMenuButtonBoundingClientRect",{success:function(e){Object.assign(n,e),delete n.errMsg},fail:function(e){t=e.errMsg}}),t)throw new _t(t);return n},openBluetoothAdapter:B.openBluetoothAdapter,closeBluetoothAdapter:B.closeBluetoothAdapter,getBluetoothAdapterState:B.getBluetoothAdapterState,onBluetoothAdapterStateChange:B.onBluetoothAdapterStateChange,startBluetoothDevicesDiscovery:B.startBluetoothDevicesDiscovery,stopBluetoothDevicesDiscovery:B.stopBluetoothDevicesDiscovery,getBluetoothDevices:B.getBluetoothDevices,getConnectedBluetoothDevices:B.getConnectedBluetoothDevices,createBLEConnection:B.createBLEConnection,closeBLEConnection:B.closeBLEConnection,getBLEDeviceServices:B.getBLEDeviceServices,getBLEDeviceCharacteristics:B.getBLEDeviceCharacteristics,notifyBLECharacteristicValueChanged:B.notifyBLECharacteristicValueChanged,notifyBLECharacteristicValueChange:B.notifyBLECharacteristicValueChange,readBLECharacteristicValue:B.readBLECharacteristicValue,writeBLECharacteristicValue:B.writeBLECharacteristicValue,onBluetoothDeviceFound:B.onBluetoothDeviceFound,onBLEConnectionStateChanged:B.onBLEConnectionStateChanged,onBLEConnectionStateChange:B.onBLEConnectionStateChange,onBLECharacteristicValueChange:B.onBLECharacteristicValueChange,startBeaconDiscovery:M.startBeaconDiscovery,stopBeaconDiscovery:M.stopBeaconDiscovery,getBeacons:M.getBeacons,onBeaconUpdate:M.onBeaconUpdate,onBeaconServiceChange:M.onBeaconServiceChange,startWifi:j.startWifi,stopWifi:j.stopWifi,getWifiList:j.getWifiList,getConnectedWifi:j.getConnectedWifi,connectWifi:j.connectWifi,presetWifiList:j.presetWifiList,setWifiList:j.setWifiList,onGetWifiList:j.onGetWifiList,onWifiConnected:j.onWifiConnected,onEvaluateWifi:j.onEvaluateWifi,getHCEState:F.getHCEState,startHCE:F.startHCE,stopHCE:F.stopHCE,sendHCEMessage:F.sendHCEMessage,onHCEMessage:F.onHCEMessage,startLocalServiceDiscovery:U.startLocalServiceDiscovery,stopLocalServiceDiscovery:U.stopLocalServiceDiscovery,onLocalServiceFound:U.onLocalServiceFound,offLocalServiceFound:U.offLocalServiceFound,onLocalServiceLost:U.onLocalServiceLost,offLocalServiceLost:U.offLocalServiceLost,onLocalServiceDiscoveryStop:U.onLocalServiceDiscoveryStop,offLocalServiceDiscoveryStop:U.offLocalServiceDiscoveryStop,onLocalServiceResolveFail:U.onLocalServiceResolveFail,offLocalServiceResolveFail:U.offLocalServiceResolveFail,redirectTo:C.redirectTo,reLaunch:C.reLaunch,navigateTo:C.navigateTo,switchTab:C.switchTab,navigateBack:C.navigateBack,onAppShow:Iv,offAppShow:Ev,onAppHide:Ov,offAppHide:Dv,onError:Fv,offError:Uv,getLaunchOptionsSync:function(){if(!wv)throw new Error("getLaunchOptionsSync:fail get launch options");return wv||{}},onWindowResize:function(e){Vu.push(e)},offWindowResize:function(e){Vu.splice(Vu.indexOf(e),1)},getStorage:yS,getStorageSync:wS,setStorage:TS,setStorageSync:kS,removeStorage:SS,removeStorageSync:CS,clearStorage:vS,clearStorageSync:_S,getStorageInfo:mS,getStorageInfoSync:bS,request:Ol,connectSocket:sw,closeSocket:cw,sendSocketMessage:uw,onSocketOpen:lw,onSocketClose:dw,onSocketMessage:fw,onSocketError:pw,uploadFile:Nl,downloadFile:is,addNativeDownloadTask:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};xe?Je("addNativeDownloadTask",e,"iOS not supported"):Ke("addNativeDownloadTask",e,{})},calRqt:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("calRqt",e,{rqt:""})&&Ke("calRqt",e)},secureTunnel:function(e){Ke("secureTunnel",e)},chooseImage:hw,previewImage:gw,getImageInfo:vw,saveImageToPhotosAlbum:_w,compressImage:yw,startRecord:mw,stopRecord:bw,playVoice:Cw,pauseVoice:Tw,stopVoice:kw,onVoicePlayEnd:xw,chooseVideo:ww,saveVideoToPhotosAlbum:Sw,loadFontFace:Iw,getLocation:sl,openLocation:ul,chooseLocation:cl,startLocationUpdate:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("enableLocationUpdate",Object.assign({},e,{enable:!0}),{beforeAll:function(e){e.errMsg=e.errMsg.replace("enableLocationUpdate","startLocationUpdate")}}),ll=!0},stopLocationUpdate:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("enableLocationUpdate",Object.assign({},e,{enable:!1}),{beforeAll:function(e){e.errMsg=e.errMsg.replace("enableLocationUpdate","stopLocationUpdate")}}),ll=!1},onLocationChange:function(t){ll||(Ke("enableLocationUpdate",{enable:!0}),ll=!0),ze("onLocationChange",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Reporter.surroundThirdByTryCatch(t,"at onLocationChange callback function")(e)})},getNetworkType:d.getNetworkType,onNetworkStatusChange:d.onNetworkStatusChange,getSystemInfo:a.getSystemInfo,getSystemInfoSync:a.getSystemInfoSync,getBatteryInfo:I.getBatteryInfo,getBatteryInfoSync:I.getBatteryInfoSync,startAccelerometer:E.startAccelerometer,stopAccelerometer:E.stopAccelerometer,onAccelerometerChange:E.onAccelerometerChange,startCompass:P.startCompass,stopCompass:P.stopCompass,onCompassChange:P.onCompassChange,startDeviceMotionListening:V.startDeviceMotionListening,stopDeviceMotionListening:V.stopDeviceMotionListening,onDeviceMotionChange:V.onDeviceMotionChange,startGyroscope:W.startGyroscope,stopGyroscope:W.stopGyroscope,onGyroscopeChange:W.onGyroscopeChange,reportAction:function(e){Ke("reportAction",e)},getBackgroundAudioManager:_.getBackgroundAudioManager,getRecorderManager:v.getRecorderManager,getBackgroundAudioPlayerState:Ew,playBackgroundAudio:Pw,pauseBackgroundAudio:Aw,seekBackgroundAudio:Ow,stopBackgroundAudio:Dw,onBackgroundAudioPlay:Mw,onBackgroundAudioPause:Rw,onBackgroundAudioStop:Nw,joinVoIPChat:Lw,exitVoIPChat:Bw,updateVoIPChatMuteConfig:jw,onVoIPChatMembersChanged:Fw,onVoIPChatSpeakersChanged:Uw,onVoIPChatInterrupted:Ww,login:function(e){Ke("login",e)},checkSession:function(e){Io&&clearTimeout(Io),Ke("refreshSession",e,{beforeSuccess:function(e){Io=setTimeout(function(){Ke("refreshSession")},1e3*e.expireIn),delete e.err_code,delete e.expireIn},beforeAll:function(e){e.errMsg=e.errMsg.replace("refreshSession","checkSession")}})},authorize:Ho,getUserInfo:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=Wt("getUserInfo");Ke("operateWXData",ft({},e,{data:{api_name:"webapi_getuserinfo",with_credentials:"boolean"!=typeof e.withCredentials||e.withCredentials,show_confirm:t,data:{lang:e.lang||"en"}}}),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateWXData","getUserInfo")},beforeSuccess:function(e){ke&&"string"==typeof e.data&&(e.data=JSON.parse(e.data)),e.data||(e.data={}),void 0!==e.data.data&&(e.rawData=e.data.data);try{e.userInfo=JSON.parse(e.data.data),e.signature=e.data.signature,e.data.encryptedData&&(e.encryptedData=e.data.encryptedData,e.iv=e.data.iv),delete e.data}catch(e){}}})},requestPayment:r.requestPayment,verifyPaymentPassword:r.verifyPaymentPassword,bindPaymentCard:r.bindPaymentCard,requestPaymentToBank:r.requestPaymentToBank,requestVirtualPayment:r.requestVirtualPayment,openOfflinePayView:r.openOfflinePayView,openWCPayCardList:r.openWCPayCardList,requestMallPayment:r.requestMallPayment,faceVerifyForPay:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("faceVerifyForPay",e)},openOfficialAccountProfile:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},e,{scene:151});delete t.profileReportInfo,Ke("openBizProfile",t,{beforeAll:function(e){e.errMsg=e.errMsg.replace("openBizProfile","openOfficialAccountProfile")}})},preventApplePayUI:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("preventApplePayUI",e)},addCard:i.addCard,openCard:i.openCard,scanCode:O.scanCode,openQRCode:O.openQRCode,chooseAddress:function(e){Ke("openAddress",e,{beforeSuccess:function(e){xt(e,"addressPostalCode","postalCode"),xt(e,"proviceFirstStageName","provinceName"),xt(e,"addressCitySecondStageName","cityName"),xt(e,"addressCountiesThirdStageName","countyName"),xt(e,"addressDetailInfo","detailInfo")},beforeAll:function(e){e.errMsg=e.errMsg.replace("openAddress","chooseAddress"),delete e.err_msg}})},saveFile:ed,openDocument:function(e){Xe("openDocument",e,{filePath:""})&&Ke("openDocument",e)},getSavedFileList:td,getSavedFileInfo:nd,getFileInfo:od,removeSavedFile:rd,getFileSystemManager:function(){return ns.app},chooseContact:Jw,removeUserCloudStorage:function(e){var t=Pc(e.keyList);t?Je("removeUserCloudStorage",e,t):gp(e)},setUserCloudStorage:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Array.isArray(e.KVDataList)?0!==e.KVDataList.length?e.KVDataList.some(function(e){if("object"!==Y(e)||"string"!=typeof e.key||"string"!=typeof e.value)return!0})?Je("setUserCloudStorage",e,"invalid KVData item"):vp(e):Je("setUserCloudStorage",e,"KVDataList.length must greater than 0"):Je("setUserCloudStorage",e,"KVDataList must be an Array")},makePhoneCall:A.makePhoneCall,makeVoIPCall:A.makeVoIPCall,onAppRoute:So,onAppRouteDone:br,onAppEnterBackground:tr,onAppEnterForeground:Dn,onAppUnhang:Lv,onPageReload:function(e){C.onPageReload.call(IS,e)},onPageNotFound:Kv,offPageNotFound:Hv,createAnimation:Wu,createInnerAudioContext:mc,getAvailableAudioSources:function(e){Ke("getAvailableAudioSources",e)},setInnerAudioOption:function(e){Ke("setInnerAudioOption",Object.assign({mixWithOther:!0,obeyMuteSwitch:!0},e))},createAudioContext:function(e,t){var n=t&&t.__wxExparserNodeId__&&t.__wxExparserNodeId__!==__virtualDOM__.getRootNodeId(Se.currentWebviewId)?t.__wxExparserNodeId__:"";return $a.call(IS,e,Se.currentWebviewId,n)},createVideoContext:function(e,t){var n=t&&t.__wxExparserNodeId__&&t.__wxExparserNodeId__!==__virtualDOM__.getRootNodeId(Se.currentWebviewId)?t.__wxExparserNodeId__:"";return fi.call(IS,e,Se.currentWebviewId,n)},createMapContext:function(e,t){var n=t&&t.__wxExparserNodeId__&&t.__wxExparserNodeId__!==__virtualDOM__.getRootNodeId(Se.currentWebviewId)?t.__wxExparserNodeId__:"";return pn.call(IS,e,Se.currentWebviewId,n)},createCameraContext:function(){return ga.call(IS,null,Se.currentWebviewId)},createLivePlayerContext:function(e,t){var n=t&&t.__wxExparserNodeId__&&t.__wxExparserNodeId__!==__virtualDOM__.getRootNodeId(Se.currentWebviewId)?t.__wxExparserNodeId__:"";return Da.call(IS,e,Se.currentWebviewId,n)},createLivePusherContext:function(){return Ka.call(IS,null,Se.currentWebviewId)},onWebviewEvent:T.onWebviewEvent,onNativeEvent:T.onNativeEvent,hideKeyboard:function(e){Te?Ge("hideKeyboard",{}):Ke("hideKeyboard",e)},getPublicLibVersion:function(){var t;return Ke("getPublicLibVersion",{complete:function(e){e.version?t=e.version:delete(t=e).errMsg}}),t},showModal:nS,showToast:$w,hideToast:Zw,showLoading:eS,hideLoading:tS,showActionSheet:rS,reportAnalytics:function(e,t){var n=void 0!==__appServiceEngine__&&void 0!==__appServiceEngine__.getCurrentPagesByDomain&&__appServiceEngine__.getCurrentPagesByDomain(""),r=n&&n.pop&&n.pop(),o={business:"mmbizwxaanalytics",eventID:e,data:t||{},page:r&&r.__route__,uid:Date.now().toString(16)+Math.random().toString(16).substr(2),type:1,version:wx&&wx.version&&wx.version.version||0};Te||(console.info("[自定义分析] 上报成功"),console.info(o)),Ke("reportRealtimeAction",{actionData:JSON.stringify(o)})},reportMonitor:function(e,t){if(e)if(void 0===t&&(t=1),"number"==typeof t){var n=JSON.stringify({business:"mmbizwxamonitor",name:e,value:t,timeStamp:Date.now()});Ke("reportRealtimeAction",{actionData:n})}else console.error("wx.reportMonitor: 'value' argument must be a Number.");else console.error("wx.reportMonitor: require 'name' argument.")},getClipboardData:D.getClipboardData,setClipboardData:D.setClipboardData,createSelectorQuery:xl,createIntersectionObserver:function(e,t){return Sl(e,t,"")},nextTick:function(e){e&&"function"==typeof e&&(Cl.push(e),Tl||(Tl=setTimeout(kl,0)))},updatePerfData:function(e){Ke("updatePerfData",e)},traceEvent:function(e){Ke("traceEvent",e)},onMemoryWarning:function(e){1<arguments.length&&void 0!==arguments[1]&&arguments[1]?eh=e:th.push(Reporter.surroundThirdByTryCatch(e,"at onMemoryWarning callback function"))},getUpdateManager:function(){return ph},createWorker:function(e){if(function(e){for(var t=0;t<Cv.length;t++)if(e===Cv[t])return!0;return!1}(e))throw new Error('createWorker: Worker "'+e+'" hit black list');if(gv.size>=bv)throw new Error("createWorker: exceed max concurrent workers limit.");var t=__safeway__.worker.create("workers.js");if(0<t)return new mv(t,e);throw-1===t?new Error('createWorker: Worker "'+e+'" does not exists.'):new Error("createWorker: unknown error.")},voiceSplitJoint:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("voiceSplitJoint",e)},uploadSilkVoice:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("uploadSilkVoice",e)},downloadSilkVoice:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("downloadSilkVoice",e)},getResPath:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("getResPath",e)},setResPath:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Ke("setResPath",e)},setCookies:function(r){Hn(Wn,function(e){var t="setCookies:ok";if(e){var n=$n(r);n?(t=n,"function"==typeof r.fail&&r.fail({errMsg:t})):"function"==typeof r.success&&r.success({errMsg:t})}else t="setCookies:fail has no permission for setCookies API","function"==typeof r.fail&&r.fail({errMsg:t});"function"==typeof r.complete&&r.complete({errMsg:t})})},getCookies:function(r){Hn(Vn,function(e){var t="getCookies:ok";if(e){var n=Zn(r);"function"==typeof r.success&&r.success({errMsg:t,cookies:n})}else t="getCookies:fail has no permission for getCookies API","function"==typeof r.fail&&r.fail({errMsg:t});"function"==typeof r.complete&&r.complete({errMsg:t})})},getLabInfo:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("getLabInfo",e,{labId:""})&&Ke("getLabInfo",e)},setLabInfo:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xe("setLabInfo",e,{labId:"",enabled:Boolean()})&&Ke("setLabInfo",e)},env:pv,createRewardedVideoAd:function(e){return ow[iw]||(ow[iw]=new rw(e)),ow[iw]},getLogManager:Qp,cloud:__cloudSDK__.getCloudAPI(),version:"undefined"==typeof __libVersionInfo__?{version:"9.9.9"}:__libVersionInfo__,enterContact:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};ye.onReady(function(){if(2!==ye.appType&&7!==ye.appType){var e={errMsg:"enterContact:fail no permission"};return t.fail&&t.fail(e),void(t.complete&&t.complete(e))}t.privateEnterContact=!0,Bn("appServiceEnterContact",t,[Se.currentWebviewId],function(e){e.errMsg&&(e.errMsg=e.errMsg.replace("privateEnterContact","enterContact")),0===e.errMsg.indexOf("enterContact:ok")?t.success&&t.success(e):t.fail&&t.fail(e),t.complete&&t.complete(e)})})}};function ES(r){xS.__defineGetter__(r,function(){var t=IS[r],n=this;if("function"==typeof t)return st(function(e){if(Gt(r,""))return function(o,n){var a=Pt(o,"log");if(!a)return n;var i=0,s="request"===o;return function(){var r=s?" with seq "+i:"";i++;var e=arguments[0];1===a&&e&&"object"===Y(e)&&["success","fail"].forEach(function(t){var n=e[t];"function"==typeof n&&(e[t]=function(e){"function"==typeof n&&n.apply(void 0,arguments),PS&&PS.logApiInvoke&&PS.log("wx."+o+" "+t+" callback"+(e&&e.errMsg?" with msg "+e.errMsg:" ")+r)})}),PS&&PS.logApiInvoke&&PS.log("wx."+o+" api invoke"+r);var t=n.apply(IS,arguments);return 2===a&&PS&&PS.logApiInvoke&&PS.log("wx."+o+" return"),t}}(r,$t(r,t)).apply(n,arguments);if("Sync"===r.slice(-4))throw new vt(r+":fail rejected due to no permission currently");e&&e.fail&&setTimeout(function(){Je(r,e,"rejected due to no permission currently")},0)}," at wx."+r);if(!Gt(r,""))throw new vt(r+":fail rejected due to no permission currently");return t})}["login","getUserInfo","getShareInfo","getWeRunData"].forEach(function(e){var t=IS[e];IS[e]=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};!function(e,n){var t=n.timeout;if("number"==typeof t){var r=!1,o=setTimeout(function(){var e={errMsg:"request timeout"};r=!0,"function"==typeof n.fail&&n.fail(e),"function"==typeof n.complete&&n.complete(e)},t),a=["success","fail","complete"].reduce(function(e,t){return e[t]=function(e){r||(clearTimeout(o),"function"==typeof n[t]&&n[t](e))},e},{});e(Object.assign({},n,a))}else e(n)}(t,e)}}),Ye("INVOKE_METHOD",function(e){var t=e.name,n=e.args;IS[t](n,!0)}),Ye("WEBVIEW_ERROR_MSG",function(e){var t=e.msg;Reporter.triggerErrorMessage(t)}),ze("onError",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};"function"==typeof __wxSourceMapRetrace__&&(e=__wxSourceMapRetrace__(e)),console.error("thirdScriptError","\n","sdk uncaught third Error","\n",e.message,"\n",e.stack)});var PS=Qp();for(var AS in IS)ES(AS);var OS,DS,MS={wx:xS,createPluginWX:lv,onAppRouteResized:Vv,showShareMenu:fS,setWxInterfaceDisabled:zt,setWxInterfaceIsInvokeInTap:Jt,unsetWxInterfaceIsInvokeInTap:Xt,_setWxIsInvokeInTapForNavToMiniProgram:m._setWxIsInvokeInTapForNavToMiniProgram,_createSelectorQuery:_l,_createIntersectionObserver:Sl,pluginInfos:dv,_virtualDOMTunnel:(OS=Ge,DS=Ye,{vdSync:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.splice(0,0,"vdSync"),OS.apply(void 0,t)},vdSyncBatch:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.splice(0,0,"vdSyncBatch"),OS.apply(void 0,t)},onVdSync:function(e){DS("vdSync",e)},onVdSyncBatch:function(e){DS("vdSyncBatch",e)}})};Tv(MS,K,IS),Tv(MS,H,IS),Tv(MS,z,IS);t.default=MS}]).default,wx=__appServiceSDK__.wx;"undefined"!=typeof __exportGlobal__&&(__exportGlobal__.wx=wx);var exparser=function(n){function r(e){if(o[e])return o[e].exports;var t=o[e]={exports:{},id:e,loaded:!1};return n[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}var o={};return r.m=n,r.c=o,r.p="",r(0)}([function(e,t,n){var r=n(1),o=n(3),a=n(4),i=n(6),s=n(9),c=n(12),u=n(10),l=n(13),d=n(14),f=n(7),p=n(15),h=n(2),g=n(16);t.FreeTmpl=g,t.precompileTemplate=g.precompiler?g.precompiler.compile:null,t.precompiler=g.precompiler?g.precompiler:null,t.HtmlLLParser=g.htmlParser?g.htmlParser:null,t.Event=o,t.Element=i,t.TextNode=c,t.NativeNode=u,t.VirtualNode=l,t.ShadowRoot=d,t.Behavior=a,t.Component=s,t.Observer=f,t.ElementIterator=p,t.registerBehavior=a.create,t.registerElement=s.register,t.createElement=s.create,t.createTextNode=c.create,t.createVirtualNode=l.create,t.appendChild=i.appendChild,t.insertBefore=i.insertBefore,t.removeChild=i.removeChild,t.replaceChild=i.replaceChild,t.addListenerToElement=o.addListenerToElement,t.removeListenerFromElement=o.removeListenerFromElement,t.triggerEvent=o.triggerEvent,t.safeCallback=r.safeCallback,t.addGlobalErrorListener=r.addGlobalErrorListener,t.removeGlobalErrorListener=r.removeGlobalErrorListener,t.globalOptions=h,s._setDefaultTemplateEngine(g),(t.updateDefaultComponent=function(){delete s._list[""],s.register({is:"",options:{writeOnly:!0,allowInWriteOnly:!0,lazyRegistration:!1,classPrefix:"",addGlobalClass:!1,templateEngine:null,renderingMode:"full",multipleSlots:!1,reflectToAttributes:!1}})})();var v=function(t){var n="";if(t instanceof exparser.Element&&(t.id&&(n+=' id="'+t.id+'"'),t.slot&&(n+=' slot="'+t.slot+'"'),t.__slotName&&(n+=' name="'+t.__slotName+'"'),t.classList&&(n+=' class="'+t.class+'"'),t.$$&&t.$$.getAttribute("style")&&(n+=' style="'+t.$$.getAttribute("style")+'"')),t instanceof exparser.VirtualNode)return n;if(t instanceof exparser.Component)return s.listPublicProperties(t).forEach(function(e){n+=" "+e+"="+JSON.stringify(t[e])}),n;for(var e=t.attributes,r=0;r<e.length;r++)n+=" "+e[r].name+'="'+e[r].value+'"';return n},_=t.dumpElementToString=function(e,t,n){var r=null;h.hasDOMBackend&&(r=window);var o=0,a="";for(o=n=n||0;o;o--)a+=" ";var i="";if(e instanceof exparser.Element)i+=a+"<"+(e.$$?e.$$.tagName.toLowerCase()+":":"")+e.is+v(e)+">",i+=e instanceof exparser.VirtualNode?" [Exp-Virtual]":e instanceof exparser.NativeNode?" [Exp-Native]":" [Exp-Component]",i+="\n"+_(t?e.__wxSlotChildren:e.childNodes,t,n+1);else if(e instanceof exparser.TextNode)i+=a+e.textContent+" [Exp-Text]\n";else if(r&&r.HTMLElement&&e instanceof r.HTMLElement)i+=a+"<"+e.tagName.toLowerCase()+v(e)+"> [DOM-Element]",i+="\n"+_(t&&e.__wxSlotChildren||e.childNodes,t,n+1);else if(r&&r.Text&&e instanceof r.Text)i+=a+e.textContent+" [DOM-Text]\n";else if(void 0!==e.length)for(o=0;o<e.length;o++)i+=_(e[o],t,n);else i=a+"[unknown node]\n";return i};t.dumpElement=function(e,t){console.log(_(e,t))}},function(e,t,n){var s=n(2),r=function(e){this.empty=!0,this._type=e,this._arr=[],this._index=0};r.create=function(e){return new r(e)},r.prototype.add=function(e){var t=this._index++;return this._arr.push({id:t,func:e}),this.empty=!1,t},r.prototype.remove=function(e){var t=this._arr,n=0;if("function"==typeof e){for(n=0;n<t.length;n++)if(t[n].func===e)return t.splice(n,1),this.empty=!t.length,!0}else for(n=0;n<t.length;n++)if(t[n].id===e)return t.splice(n,1),this.empty=!t.length,!0;return!1},r.prototype.call=function(e,t,n){for(var r=this._arr,o=!1,a=0;a<r.length;a++){!1===i(this._type,r[a].func,e,t,n)&&(o=!0)}if(o)return!1};var i=r.safeCallback=function(t,n,r,o,a){try{return n.apply(r,o)}catch(e){var i="[Exparser] [Error] [Component] "+(t||"Error Listener")+" Error @ ";r&&r.is&&(i+=r.is),i+="#"+(n.name||"(anonymous)"),a&&a.triggerLifeTime("error",[e]),function(e,t){if(!t.type||!1!==c.call(null,[e,t])){if(s.throwGlobalError)throw e;console.error(e.stack)}}(e,{message:i,type:t,element:r,method:n,args:o})}},c=r.create();r.addGlobalErrorListener=function(e){return c.add(e)},r.removeGlobalErrorListener=function(e){return c.remove(e)},e.exports=r},function(e,t){var n={lazyRegistration:!0,publicProperties:!1,domain:"",writeOnly:!1,allowInWriteOnly:!1,classPrefix:null,addGlobalClass:!1,templateEngine:null,renderingMode:"full",multipleSlots:!1,reflectToAttributes:!1,writeFieldsToNode:!0,writeIdToDOM:!1,throwGlobalError:!1,writeExtraInfoToAttr:!1,documentBackend:"undefined"!=typeof window&&"undefined"!=typeof document?"dom":"none",hasDOMBackend:!("undefined"==typeof window||"undefined"==typeof document)};e.exports=n},function(e,t,n){var o=n(1),c=function(){};c.prototype=Object.create(Object.prototype,{constructor:{value:c,writable:!0,configurable:!0}});var d=null;c._setElementSystem=function(e){d=e,c._setElementSystem=null};var f=null;c._setComponent=function(e){f=e,c._setComponent=null};var u=Date.now();c.setInitTimeStamp=function(e){return u=void 0===e?Date.now():e},c.getInitTimeStamp=function(e){return u},c.create=function(e,t,n){var r=(n=n||{}).originalEvent,o=n.extraFields||{},a=Date.now()-u,i=new c;for(var s in i.currentTarget=null,i.type=e,i.timeStamp=a,i.detail=t,i.bubbles=!!n.bubbles,i.composed=!!n.composed,i.__originalEvent=r,i.__hasCapture=!!n.capturePhase,i.__stopped=!1,i.__dispatched=!1,o)i[s]=o[s];return i},c.prototype.preventDefault=function(){this.__originalEvent&&this.__originalEvent.preventDefault()},c.prototype.stopPropagation=function(){this.__stopped=!0},c.prototype.isStopped=function(){return!!this.__stopped};var p=function(e,t,n,r){for(var o=e,a=[],i=e;i;){if(o!==i&&(a.push(e),e=i),o=i.parentNode,!1===r(i,e))return;if(i.__wxHost){if(n)break;e=a.pop()||i.__wxHost,o=i=i.__wxHost}else{var s=!0;i instanceof d&&(s=!1),i=s||n?i.parentNode:i.__wxSlotParent}}};c.dispatchEvent=function(e,r){if(!r.__dispatched){r.__dispatched=!0,e.__wxElement&&e.__wxHost!==e.__wxElement&&((e=e.__wxElement).shadowRoot instanceof d&&(e=e.shadowRoot)),r.target=e instanceof d?e.__methodCaller:e;var n=function(e,t){var n=r.currentTarget=t instanceof d?t.__methodCaller:t;!1===e.call(n,[r],t instanceof f?t:void 0)&&(r.__originalEvent&&r.__originalEvent.preventDefault(),r.__stopped=!0)},o=r.type,t=!r.composed;if(r.__hasCapture){var a=[];p(e,0,t,function(e,t){return e.__wxCaptureEvents&&e.__wxCaptureEvents[o]&&a.push([e,t]),!0});for(var i=a.length-1;0<=i;i--){var s=a[i],c=s[0],u=s[1];if(r.target=u instanceof d?u.__methodCaller:u,n(c.__wxCaptureEvents[o],c),r.__stopped)break}}if(r.target=e instanceof d?e.__methodCaller:e,!r.__stopped){var l=!r.bubbles;p(e,0,t,function(e,t){return r.target=t instanceof d?t.__methodCaller:t,e.__wxEvents&&e.__wxEvents[o]&&n(e.__wxEvents[o],e),!l&&!r.__stopped})}}},c.triggerEvent=function(e,t,n,r){var o=c.create(t,n,r);c.dispatchEvent(e,o)},c.addListenerToElement=function(e,t,n,r){return r&&(r.useCapture||r.capture)?(e.__wxCaptureEvents||(e.__wxCaptureEvents=Object.create(null)),e.__wxCaptureEvents[t]||(e.__wxCaptureEvents[t]=o.create("Event Listener")),e.__wxCaptureEvents[t].add(n)):(e.__wxEvents||(e.__wxEvents=Object.create(null)),e.__wxEvents[t]||(e.__wxEvents[t]=o.create("Event Listener")),e.__wxEvents[t].add(n))},c.removeListenerFromElement=function(e,t,n,r){return r&&(r.useCapture||r.capture)?void(e.__wxCaptureEvents&&e.__wxCaptureEvents[t]&&e.__wxCaptureEvents[t].remove(n)):void(e.__wxEvents&&e.__wxEvents[t]&&e.__wxEvents[t].remove(n))},e.exports=c},function(e,t,n){var a=n(1),d=n(5),r=n(2),f=["created","ready","attached","moved","detached","saved","restored","error"],p=[String,Number,Boolean,Object,Array,null],h=function(){},g=function(){};g.create=function(e){var t=new g;return t.is=e.is||"",t.using=e.using||{},t.generics=e.generics||{},t.template=e.template,t.externalClasses=e.externalClasses||[],t.data="object"==typeof e.data?{}:null,t.properties=Object.create(null),t.methods=Object.create(null),t.listeners=Object.create(null),t.relations=Object.create(null),t.ancestors=[],t.initiator=e.initiator,t.lifetimes=Object.create(null),t.pageLifetimes=Object.create(null),t.options={publicProperties:!!(e.options&&void 0!==e.options.publicProperties?e.options.publicProperties:r.publicProperties)},t.definitionFilter=e.definitionFilter,((t._unprepared=e).options&&void 0!==e.options.lazyRegistration?e.options.lazyRegistration:r.lazyRegistration)||g.prepare(t),e.is&&(g._list[e.is]=t),t},g.prepare=function(e){var t=e._unprepared;if(t){e._unprepared=null;var n=e.ancestors,r="",o=0;for(o=0;o<(t.behaviors||[]).length;o++){var a=t.behaviors[o],i=a;for(r in"string"==typeof i&&(i=g._list[a]),i._unprepared&&g.prepare(i),"object"==typeof i.data&&(null===e.data?e.data=i.data:d.shallowMerge(e.data,i.data)),i.generics){var s=i.generics[r];"object"!=typeof s&&(s={}),e.generics[r]={default:s.default}}for(r in i.properties)e.properties[r]=i.properties[r];for(r in i.relations)e.relations[r]=i.relations[r];for(r in i.methods)e.methods[r]=i.methods[r];for(var c=0;c<i.ancestors.length;c++)n.indexOf(i.ancestors[c])<0&&n.push(i.ancestors[c])}for(r in"object"==typeof t.data&&(null===e.data?e.data=t.data:d.shallowMerge(e.data,t.data)),t.properties){var u=t.properties[r];0<=p.indexOf(u)&&(u={type:u}),void 0===u.value&&(u.type===String?u.value="":u.type===Number?u.value=0:u.type===Boolean?u.value=!1:u.type===Array?u.value=[]:u.value=null),e.properties[r]={type:u.type,value:u.value,filter:u.filter,observer:u.observer,public:!!(void 0===u.public?e.options.publicProperties:u.public),observeAssignments:!!u.observeAssignments}}if(t.lifetimes&&"object"==typeof t.lifetimes)for(r in t.lifetimes)e.lifetimes[r]=t.lifetimes[r];for(o=0;o<f.length;o++)void 0===e.lifetimes[f[o]]&&(e.lifetimes[f[o]]=t[f[o]]);for(r in t.listeners)e.listeners[r]=t.listeners[r];if(t.pageLifetimes&&"object"==typeof t.pageLifetimes)for(r in t.pageLifetimes)e.pageLifetimes[r]=t.pageLifetimes[r];for(r in t.relations){var l=t.relations[r];e.relations[r]={target:l.target||r,type:l.type,linked:l.linked||h,linkChanged:l.linkChanged||h,unlinked:l.unlinked||h,linkFailed:l.linkFailed||h}}for(r in t.methods)"function"==typeof t.methods[r]&&(e.methods[r]=t.methods[r]);n.push(e)}},g._list=Object.create(null),g.prototype.hasBehavior=function(e){this._unprepared&&g.prepare(this);for(var t=0;t<this.ancestors.length;t++)if(e instanceof g){if(this.ancestors[t]===e)return!0}else if(this.ancestors[t]===g._list[e])return!0;return!1},g.prototype._getAllListeners=function(){for(var e={},t=this.ancestors,n=0;n<t.length;n++){var r=this.ancestors[n];for(var o in r.listeners)Object.prototype.hasOwnProperty.call(e,o)?e[o].push(r.listeners[o]):e[o]=[r.listeners[o]]}return e},g.prototype._getAllLifeTimeFuncs=function(){var t={},e=this.ancestors;f.forEach(function(e){t[e]=a.create("Lifetime Method")});for(var n=0;n<e.length;n++){var r=e[n];for(var o in r.lifetimes)r.lifetimes[o]&&(t[o]||(t[o]=a.create("Lifetime Method")),t[o].add(r.lifetimes[o]))}return t},g.prototype._getAllPageLifeTimeFuncs=function(){for(var e={},t=this.ancestors,n=0;n<t.length;n++){var r=t[n];for(var o in r.pageLifetimes)r.pageLifetimes[o]&&(e[o]||(e[o]=a.create("Page Lifetime Method")),e[o].add(r.pageLifetimes[o]))}return e},g.callDefinitionFilter=function(t){var n=t.definitionFilter,r=[];return t.behaviors instanceof Array&&t.behaviors.forEach(function(e){(e="string"==typeof e?g._list[e]:e)&&e.definitionFilter&&(r.push(e.definitionFilter),e.definitionFilter.call(null,t))}),"function"==typeof n?function(e){n(e,r)}:null},e.exports=g},function(e,t,n){var d=n(1),y=null,f=null,o=function(e,t,n,r){this._caller=e,this._updateCb=r,this._propUpdater=y,this._data=t,this._changes=[],this._childPaths={},this._propFields=n,this._hidingValue=!1},m=Object.prototype.hasOwnProperty,r=function(e,t,n,r){if(n.length){for(var o=0;o<n.length;o++){var a=n[o];e._childPaths||(e._childPaths={});var i=e._childPaths;i[a]||(i[a]={_childPaths:{},_observers:null,_pathObservers:null}),e=i[a]}s=t,c=e,n[o],u=r,s?c._pathObservers?c._pathObservers.push(u):c._pathObservers=[u]:c._observers?c._observers.push(u):c._observers=[u]}else t&&(e._pathObservers?e._pathObservers.push(r):e._pathObservers=[r]);var s,c,u},a=function(e,t,n,r){for(var o=0;o<n.length;o++){var a=n[o],i=e._childPaths;if(!i||!i[a])return!1;e=i[a]}for(var s=t?e._pathObservers:e._observers,c=0;c<s.length;c++)if(s[c]===r)return s.splice(c,1),!0;return!1};o.create=function(e,t,n,r){return new o(e,t,n,r)},o.setPropUpdater=function(e){y=e},o.setPropObserver=function(e){f=e},o.prototype.replaceWholeData=function(e){this._data=e},o.prototype.setHidingValue=function(e){this._hidingValue=!!e},o.prototype.addPathObserver=function(e,t){r(this,!0,e,t)},o.prototype.removePathObserver=function(e,t){return a(this,!0,e,t)},o.prototype.addObserver=function(e,t){r(this,!1,e,t)},o.prototype.removeObserver=function(e,t){return a(this,!1,e,t)};var p=function(e,t,n){var r=null,o=0;if(e._pathObservers)for(r=e._pathObservers,o=0;o<r.length;o++)d.safeCallback("Data Observer",r[o],t,e._hidingValue?[]:[n,[]],e);if(e._observers)for(r=e._observers,o=0;o<r.length;o++)d.safeCallback("Data Observer",r[o],t,e._hidingValue?[]:[n],e);if(e._childPaths)for(var a in e._childPaths){var i=void 0;"object"==typeof n&&null!==n&&m.call(n,a)&&(i=n[a]),p(e._childPaths[a],t,i)}},b=function(e,t,n,r,o){for(var a=0;a<n.length;a++){if(e._pathObservers)for(var i=e._pathObservers,s=0;s<i.length;s++)d.safeCallback("Data Observer",i[s],t,e._hidingValue?[]:[r,n.slice(a)],e);var c=n[a];if(e._propFields&&e._propFields[c]){var u=e._propFields[c];f.call(t,r,o,n,u,e._hidingValue)}var l=e._childPaths;if(!l||!m.call(l,c))return;e=l[c]}p(e,t,r)};o.prototype.triggerObservers=function(e,t,n){b(this,this._caller,e,t,n)},o.prototype.scheduleMerge=function(e,t,n){this._changes.push([!0,e,t,n])},o.prototype.scheduleReplace=function(e,t,n){this._changes.push([!1,e,t,n])},o.prototype.setChanges=function(e){this._changes=e},o.prototype.getChanges=function(){return this._changes},o.prototype.doUpdates=function(e){var t=this._changes;this._changes=[];for(var n=[],r=[],o=0;o<t.length;o++){var a=t[o],i=a[0],s=a[1],c=a[2],u=this._propFields[s[0]],l=void 0;if(u&&1===s.length)l=this._data[s[0]],c=y.call(this._caller,s,u,c,this._hidingValue),a[2]=c;else{for(var d=this._data,f=s[0],p=1;p<s.length;p++){var h=s[p];"number"==typeof h&&isFinite(h)?m.call(d,f)&&d[f]instanceof Array||(d[f]=[]):(!m.call(d,f)||null===d[f]||"object"!=typeof d[f]||d[f]instanceof Array)&&(d[f]={}),d=d[f],f=h}if(i){var g=null!==c&&"object"==typeof c;g&&!(c instanceof Array)&&m.call(d,f)&&null!==d[f]&&"object"==typeof d[f]&&!(d[f]instanceof Array)?S(d[f],c,this._propFields):d[f]=g?w(c):c}else d[f]=c}n.push(s),r.push([c,l])}this._updateCb(n,r,t,e);for(var v=0;v<r.length;v++){var _=r[v];_&&b(this,this._caller,n[v],_[0],_[1])}};var w=function(e){var t=null;if(e instanceof Array){t=[];for(var n=0;n<e.length;n++)"object"==typeof e[n]?t[n]=w(e[n]):t[n]=e[n]}else for(var r in t={},e)"object"==typeof e[r]?t[r]=w(e[r]):t[r]=e[r];return t},S=function(e,t,n){for(var r in t)m.call(e,r)&&"object"==typeof e[r]&&null!==e[r]?"object"==typeof t[r]&&null!==t[r]?t[r]instanceof Array?e[r]=w(t[r]):S(e[r],t[r]):e[r]=t[r]:"object"==typeof t[r]&&null!==t[r]?e[r]=w(t[r]):e[r]=t[r]},i=o.shallowMerge=function(e,t){for(var n in t)m.call(e,n)?"object"!=typeof e[n]||"object"!=typeof t[n]||null===t[n]||t[n]instanceof Array?e[n]=t[n]:i(e[n],t[n]):e[n]=t[n]};e.exports=o},function(e,t,n){var r=n(3),b=n(7),f=n(8),p=n(2),w=function(e){o(this,e||null)};w.prototype=Object.create(Object.prototype,{constructor:{value:w,writable:!0,configurable:!0},id:{get:function(){return this.__id},set:function(e){var t=String(e);if(this.__id!==t){if(this.__id=t,this.ownerShadowRoot){var n=this.ownerShadowRoot.__wxHost;n.__idCacheDirty=!0,this.__domElement&&n.__componentOptions.writeIdToDOM&&(this.__domElement.id=t)}p.writeExtraInfoToAttr&&this.__domElement&&this.__domElement.setAttribute("exparser:info-attr-id",t),(this.__propObservers&&!this.__propObservers.empty||this.__subtreeObserversCount)&&b._callObservers(this,"__propObservers",{type:"properties",target:this,propertyName:"id"})}},configurable:!0},slot:{get:function(){return this.__slot},set:function(e){e=String(e),this.__slot!==e&&(this.__inheritSlots||(this.__slot=e,i(this),(this.__propObservers&&!this.__propObservers.empty||this.__subtreeObserversCount)&&b._callObservers(this,"__propObservers",{type:"properties",target:this,propertyName:"slot"})))},configurable:!0},attributes:{get:function(){var e=[];if(!this.__attributes)return e;for(var t in this.__attributes)e.push({name:t,value:this.__attributes[t]});return e},set:function(){},configurable:!0},class:{get:function(){return this.classList.getClassNames()},set:function(e){this.classList&&this.classList.setClassNames(e),(this.__propObservers&&!this.__propObservers.empty||this.__subtreeObserversCount)&&b._callObservers(this,"__propObservers",{type:"properties",target:this,propertyName:"class"})},configurable:!0},style:{get:function(){return this.__domElement?this.__domElement.style:null},set:function(e){return u.call(this,e)},configurable:!0}}),r._setElementSystem(w),f._setElementSystem(w);var o=w.initialize=function(e,t){e.__id="",e.__slot="",e.__virtual=!1,e.__inheritSlots=!1,e.__attributes=null,e.__attached=!1,e.parentNode=null,e.childNodes=[],e.ownerShadowRoot=null,e.__wxSlotParent=null,e.__wxSlotChildren=e.childNodes,e.__subtreeObserversCount=0,e.classList=null,(e.__methodCaller=e).__relationHandler=null,e.__createdInOwnerShadowRoot=null,(e.__domElement=t)&&(t.__wxElement=e)};w._clone=function(e,t,n){for(var r in e.__id=t.__id,e.__slot=t.__slot,e.__virtual=t.__virtual,e.__inheritSlots=t.__inheritSlots,e.__attributes=Object.create(null),t.__attributes)e.__attributes[r]=t.__attributes[r];e.__attached=!1,e.parentNode=null,e.childNodes=[],e.ownerShadowRoot=null,e.__wxSlotParent=null,e.__wxSlotChildren=e.childNodes,e.__subtreeObserversCount=0,e.classList=null,(e.__methodCaller=e).__relationHandler=null,(e.__domElement=n)&&(n.__wxElement=e)};var S=function(e){if(!e.parentNode||e.parentNode.__attached){var r=function(e){if(e instanceof w){e.__attached=!0,e.__lifeTimeFuncs&&e.__lifeTimeFuncs.attached.call(e.__methodCaller,[],e),e.__relationHandler&&e.__relationHandler("attached"),e.__attachedObservers&&!e.__attachedObservers.empty&&b._callSingleObserver(e,"__attachedObservers",{type:"attachStatus",target:e,status:"attached"}),e.shadowRoot instanceof w&&r(e.shadowRoot);for(var t=e.childNodes,n=0;n<t.length;n++)r(t[n])}};r(e)}},C=function(e){if(e.__attached){var r=function(e){if(e instanceof w){for(var t=e.childNodes,n=0;n<t.length;n++)r(t[n]);e.shadowRoot instanceof w&&r(e.shadowRoot),e.__attached=!1,e.__lifeTimeFuncs&&e.__lifeTimeFuncs.detached.call(e.__methodCaller,[],e),e.__relationHandler&&e.__relationHandler("detached"),e.__attachedObservers&&!e.__attachedObservers.empty&&b._callSingleObserver(e,"__attachedObservers",{type:"attachStatus",target:e,status:"detached"})}};r(e)}},T=function(e,t,n){if(e.__childObservers&&!e.__childObservers.empty||e.__subtreeObserversCount){var r,o=[n];r="add"===t?{type:"childList",target:e,addedNodes:o}:"remove"===t?{type:"childList",target:e,removedNodes:o}:{type:"childList",target:e,addedNodes:o,removedNodes:o},b._callObservers(e,"__childObservers",r)}},k=function(e,o,a){var i=e.ownerShadowRoot,s=!1,c=!1,u=!1,l=!1,d=function(e){if(e.__createdInOwnerShadowRoot&&o&&e.__createdInOwnerShadowRoot!==o)throw new Error("Cannot move the node from one shadow tree to another shadow tree.");if(e.ownerShadowRoot=o,e instanceof w){if(o){var t=o.__wxHost.__componentOptions;e.__domElement&&e.__id&&t.writeIdToDOM!==!(!i||!i.__wxHost.__componentOptions.writeIdToDOM)&&(t.writeIdToDOM?e.__domElement.id=e.__id:e.__domElement.id=""),e.classList instanceof f&&(e.classList._setOwnerOptions(o.__wxHost.classList,t.classPrefix,t.addGlobalClass),p.writeExtraInfoToAttr&&e.__domElement&&e.__domElement.setAttribute("exparser:info-class-prefix",t.classPrefix&&t.classPrefix+"--"))}a&&(e.__id&&(i&&(s=!0),o&&(u=!0)),void 0!==e.__slotName&&(i&&(c=!0),o&&(l=!0)));for(var n=e.childNodes,r=0;r<n.length;r++)d(n[r])}};return d(e),s&&(i.__wxHost.__idCacheDirty=!0),c&&(i.__slotCacheDirty=!0),u&&(o.__wxHost.__idCacheDirty=!0),l&&(o.__slotCacheDirty=!0),i};w._updateIdMap=function(e){var t=e.shadowRoot;if(e.__idCacheDirty){e.__idCacheDirty=!1;var r=e.__idCache=Object.create(null),o=function(e){e.__id&&(r[e.__id]||(r[e.__id]=e));for(var t=e.childNodes,n=0;n<t.length;n++)t[n]instanceof w&&o(t[n])};o(t)}};var x=function(e){e.__slotCacheDirty=!1;var t,n=e.__wxHost,r=Object.create(null);t=void 0!==n.__singleSlot?{"":n.__singleSlot}:n.__slots;var o=function(e){void 0!==e.__slotName&&(r[e.__slotName]||(r[e.__slotName]=e));for(var t=e.childNodes,n=0;n<t.length;n++)t[n]instanceof w&&o(t[n])};o(e),void 0!==n.__singleSlot?n.__singleSlot!==r[""]&&(r[""]&&(r[""].__wxSlotChildren=n.childNodes),a(n,r,t,!0),n.__singleSlot&&(n.__singleSlot.__wxSlotChildren=[]),n.__singleSlot=r[""]||null):(a(n,r,t,!1),n.__slots=r)},a=function(e,a,i,t){var n=e.childNodes,r=0;if(t){var o=a[""];if(o)for(;r<n.length;r++)E(o,n[r],null,!1,!1,!1,-1);else if(o=i[""])for(;r<n.length;r++)E(o,null,n[r],!0,!1,!1,r)}else{var s=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.__slot||"",o=a[r];o?E(o,n,null,!1,!0,!0):(o=i[r])&&E(o,null,n,!0,!0,!0),n.__inheritSlots&&s(n.childNodes)}};s(n)}},I=function(e,t,s,n){for(var c=function(e,t,n){var r=e.childNodes,o=0;for(t&&(o=r.indexOf(t)+(n?0:1));o<r.length;o++){var a=r[o];if(a.__slot===s)return a;if(a.__inheritSlots){var i=c(a,null,!1);if(i)return i}}return null};t!==e;t=t.parentNode){var r=c(t.parentNode,t,n);if(r)return r;n=!1}return null},i=function(e){for(var t=e.parentNode;t&&t.__inheritSlots;)t=t.parentNode;if(t&&void 0===t.__singleSlot){var n=e.__slot||"",r=t.__slots[n];if(r){var o=I(t,e,n,!1);E(r,e,o,!1,!0,!0)}else(r=e.__wxSlotParent)&&E(r,null,e,!0,!0,!0)}},E=function(e,t,n,r,o,a,i){if(r&&(n.__wxSlotParent=null),o&&(i=e.__wxSlotChildren.indexOf(n)),t){var s=t.__wxSlotParent;if(t.__wxSlotParent=e,s&&a){var c=s.__wxSlotChildren.indexOf(t);s.__wxSlotChildren.splice(c,1),s===e&&c<i&&i--}}(function(e,t,n,r,o){var a=e;if(a instanceof w){for(;a.__virtual;){var i=a.__wxSlotParent;if(!i){a=null;break}if(t&&!n){var s=i.__wxSlotChildren.indexOf(a);n=i.__wxSlotChildren[s+1]}a=i}a instanceof w&&(a=a.__domElement)}if(a){var c=r,u=null,l=null;if(t)if(t.__virtual){var d=document.createDocumentFragment(),f=function(e){for(var t=0;t<e.__wxSlotChildren.length;t++){var n=e.__wxSlotChildren[t];n.__virtual?f(n):d.appendChild(n.__domElement)}};f(t),u=d}else u=t.__domElement;if(n)if(n.__virtual){var p=e,h=0;if(r){var g=function(e){for(var t=0;t<e.__wxSlotChildren.length;t++){var n=e.__wxSlotChildren[t];n.__virtual?g(n):a.removeChild(n.__domElement)}};g(n),c=!1,h=o+1}else p=n.__wxSlotParent,h=n===t?o:p.__wxSlotChildren.indexOf(n);if(t){var v=function(e,t){for(;t<e.__wxSlotChildren.length;t++){var n=e.__wxSlotChildren[t];if(!n.__virtual)return n;var r=v(n,0);if(r)return r}};n=null;for(var _=p;!(n=v(_,h))&&_.__virtual;_=_.__wxSlotParent)h=_.__wxSlotParent.__wxSlotChildren.indexOf(_)+1;n&&(l=n.__domElement)}}else l=n.__domElement;c?u?a.replaceChild(u,l):a.removeChild(l):u&&(l?a.insertBefore(u,l):a.appendChild(u))}else if(t&&t.__wxSlotParent){var y=function(e){if(e.__virtual)for(var t=0;t<e.__wxSlotChildren.length;t++)y(e.__wxSlotChildren[t]);else{var n=e.__domElement;n&&n.parentNode&&n.parentNode.removeChild(n)}};y(t)}})(e,t,n,r,i),p.writeExtraInfoToAttr&&(r&&n instanceof w&&n.__domElement&&n.__domElement.removeAttribute("exparser:info-in-slot-of"),t instanceof w&&t.__domElement&&(void 0!==e.__slotName&&e.ownerShadowRoot?t.__domElement.setAttribute("exparser:info-in-slot-of",e.ownerShadowRoot.__wxHost.__componentInstanceId):t.__domElement.removeAttribute("exparser:info-in-slot-of"))),o&&(-1===i&&(i=e.__wxSlotChildren.length),t?e.__wxSlotChildren.splice(i,r?1:0,t):e.__wxSlotChildren.splice(i,r?1:0))},P=function(e,t){for(var n=e.childNodes,r=0;r<n.length;r++){var o=n[r];t(e,o),o.__inheritSlots&&P(o,t)}},s=function(e,t,a,i){if(void 0!==e.__slotName)return!1;var n=-1;if(a&&(n=e.childNodes.indexOf(a))<0)return!1;i&&t===a&&(i=!1);var r=null,o=e,s=e;if(t){r=t.parentNode;var c=(t.parentNode=e).__subtreeObserversCount;if(r){var u=r.childNodes.indexOf(t);r.childNodes.splice(u,1),r===e&&u<n&&n--,c-=r.__subtreeObserversCount}c&&b._updateSubtreeCaches(t,c)}for(var l=e;l&&l.__inheritSlots;)l=l.parentNode;for(var d=!l||!l.__slots,f=!d||e.__inheritSlots,p=r;p&&p.__inheritSlots;)p=p.parentNode;var h=!p||!p.__slots,g=!h||r&&r.__inheritSlots;if(d)void 0!==e.__singleSlot&&(o=s=e.__singleSlot),o?E(o,t,a,i,f,g,n):t.__wxSlotParent&&E(t.__wxSlotParent,null,t,!0,g,!1),t&&!h&&t.__inheritSlots&&P(t,function(e,t){E(e,t,null,!1,!0,!0,-1)});else{var v="";if(t&&(v=t.__slot||"",o=l.__slots[v]||null),a&&(s=l.__slots[a.__slot||""]||null),a&&s&&i&&E(s,null,a,i,!0,!1),t)if(o){var _=a?I(l,a,v,!i):null;E(o,t,_,!1,!0,g)}else t.__wxSlotParent&&E(t.__wxSlotParent,null,t,!0,g,!1);a&&i&&a.__inheritSlots&&P(a,function(e,t){E(e,t,null,!1,!0,!0,-1)}),t&&t.__inheritSlots&&P(t,function(e,t){var n=t.__slot||"",r=l.__slots[n]||null;if(r){var o=a?I(l,a,n,!i):null;E(r,t,o,!1,!0,!0)}else t.__wxSlotParent&&E(t.__wxSlotParent,null,t,!0,!0,!1)})}i&&(e.__subtreeObserversCount&&b._updateSubtreeCaches(a,-e.__subtreeObserversCount),a.parentNode=null),-1===n&&(n=e.childNodes.length),t?e.childNodes.splice(n,i?1:0,t):e.childNodes.splice(n,i?1:0);var y=null,m=null;return i&&null!==a.ownerShadowRoot&&(y=k(a,null,!0)),t&&t.ownerShadowRoot!==t.parentNode.ownerShadowRoot&&(m=k(t,t.parentNode.ownerShadowRoot,!0)),i&&(y&&y.__slotCacheDirty&&x(y),a.ownerShadowRoot&&a.ownerShadowRoot.__slotCacheDirty&&x(a.ownerShadowRoot)),t&&(m&&m.__slotCacheDirty&&x(m),t.ownerShadowRoot&&t.ownerShadowRoot.__slotCacheDirty&&x(t.ownerShadowRoot)),i&&(C(a),T(e,"remove",a)),t&&(r?function(e){if(!e.__attached)return S(e);var r=function(e){if(e instanceof w){for(var t=e.childNodes,n=0;n<t.length;n++)r(t[n]);e.shadowRoot instanceof w&&r(e.shadowRoot),e.__lifeTimeFuncs&&e.__lifeTimeFuncs.moved.call(e.__methodCaller,[],e),e.__relationHandler&&e.__relationHandler("moved")}};r(e)}(t):S(t),r===e?T(e,"move",t):(r&&T(r,"remove",t),T(e,"add",t))),!0},c=function(e,t,n,r){var o=r?n:t;return s(e,t,n,r)?o:null};w._attachShadowRoot=function(e){var t=e.__wxHost;t.__wxSlotChildren=[e],E(t,e,null,!1,!1,0),k(e,e,!1)},w.appendChild=function(e,t){return c(e,t,null,!1)},w.insertBefore=function(e,t,n){return c(e,t,n,!1)},w.removeChild=function(e,t){return c(e,null,t,!0)},w.replaceChild=function(e,t,n){return c(e,t,n,!0)},w.prototype.appendChild=function(e){return c(this,e,null,!1)},w.prototype.insertBefore=function(e,t){return c(this,e,t,!1)},w.prototype.removeChild=function(e){return c(this,null,e,!0)},w.prototype.replaceChild=function(e,t){return c(this,e,t,!0)},w.prototype.triggerEvent=function(e,t,n){r.triggerEvent(this,e,t,n)},w.prototype.dispatchEvent=function(e){r.dispatchEvent(this,e)},w.prototype.addListener=function(e,t,n){r.addListenerToElement(this,e,t,n)},w.prototype.removeListener=function(e,t,n){r.removeListenerFromElement(this,e,t,n)},w.setMethodCaller=function(e,t){e.__methodCaller=t},w.getMethodCaller=function(e){return e.__methodCaller},w.prototype.getAttribute=function(e){if(!this.__attributes)return null;var t=this.__attributes[e];return void 0===t?null:t},w.prototype.setAttribute=function(e,t){this.__attributes||(this.__attributes=Object.create(null)),t=String(t),this.__attributes[e]=t,this.__domElement&&this.__domElement.setAttribute(e,t)},w.prototype.removeAttribute=function(e){this.__attributes&&(delete this.__attributes[e],this.__domElement&&this.__domElement.removeAttribute(e))};var u=w.prototype.setNodeStyle=function(e){if(this.__domElement&&this.__createdInOwnerShadowRoot&&this.__createdInOwnerShadowRoot.__childrenPropsFilter){var t=this.__createdInOwnerShadowRoot.__childrenPropsFilter.style;if("function"==typeof t)return void this.__domElement.setAttribute("style",t.call(this,e))}this.__domElement&&this.__domElement.setAttribute("style",e),(this.__propObservers&&!this.__propObservers.empty||this.__subtreeObserversCount)&&b._callObservers(this,"__propObservers",{type:"properties",target:this,propertyName:"style"})};w.replaceDocumentElement=function(e,t){e.__attached||(t.parentNode.replaceChild(e.__domElement,t),S(e))},w.pretendAttached=function(e){e.__attached||S(e)},w.pretendDetached=function(e){e.__attached&&C(e)},w.isAttached=function(e){return e.__attached},w.setSlotName=function(e,t){if(t=null==t?"":String(t),void 0===e.__slotName){if(0!==e.childNodes.length||0!==e.__wxSlotChildren.length)return;e.__wxSlotChildren=[]}e.__slotName=t,e.ownerShadowRoot&&x(e.ownerShadowRoot)},w.setInheritSlots=function(e){e.__singleSlot||e.__slots||e.__wxSlotChildren.length||(e.__wxSlotChildren=[],e.__inheritSlots=!0)},w.getInheritSlots=function(e){return e.__inheritSlots};var d=function(e,t){var n=e.match(/^(#[_a-zA-Z][-_a-zA-Z0-9:]*|)((?:\.-?[_a-zA-Z][-_a-zA-Z0-9]*)+|)$/);if(!n)return null;var r=n[1].slice(1),o=n[2].split(".");return o.shift(),r||o.length?{id:r,classes:o,relation:t||""}:null},l=w.parseSelector=function(e){for(var t=e.split(","),n=[],r=!1,o=0;o<t.length;o++){for(var a=t[o].split(/( |\t|>+)/g),i=[],s="",c=0;c<a.length;c++){var u=a[c];if(u&&" "!==u&&"\t"!==u)if(">"!==u[0]){var l=d(u,s);if(s="",!l)break;i.push(l)}else{if(""!==s)break;">>>"===(s=u)&&(r=!0)}}c===a.length&&i.length&&n.push(i)}return n.length?{crossShadow:r,union:n}:null},h=function(e,t,n,r,o){if(t===e)return!1;var a=n[r],i=!0;a.id&&a.id!==t.__id&&(i=!1);for(var s=a.classes,c=0;i&&c<s.length;c++)t.classList.contains(s[c])||(i=!1);if(!i&&">"===o)return!1;var u=t;if(i&&0===r){if(null===e)return!0;for(u=u.parentNode;u;u=u.parentNode)if(u===e)return!0;if(">>>"!==o)return!1;u=t,i=!1}for(var l=i?a.relation:o;(u=u.parentNode?u.parentNode:">>>"===l?u.__wxHost:">>>"===o?(i=!1,u.__wxHost):null)===e&&(u=null),u&&u.__virtual;);if(!u)return!1;if(i){if(h(e,u,n,r-1,l))return!0;if(">>>"!==o)return!1}return h(e,u,n,r,o)},g=function(e,t,n){if(n.__virtual)return!1;for(var r=e.union,o=0;o<r.length;o++){var a=r[o];if(h(t,n,a,a.length-1,">"))return!0}return!1},v=function(e,t,n,r,o){if(g(t,n,r)&&(e.push(r),o))return!0;if(r.shadowRoot&&t.crossShadow&&((r.ownerShadowRoot?r.ownerShadowRoot.__wxHost.__componentOptions.domain:p.domain)===r.__componentOptions.domain&&v(e,t,n,r.shadowRoot,o)&&o))return!0;for(var a=r.childNodes,i=0;i<a.length;i++)if(a[i]instanceof w&&v(e,t,n,a[i],o)&&o)return!0;return!1};w.prototype.querySelector=function(e){var t="object"==typeof e?e:l(e);if(!t)return null;var n=[];return v(n,t,this,this,!0),n[0]||null},w.prototype.querySelectorAll=function(e){var t="object"==typeof e?e:l(e),n=[];return t?(v(n,t,this,this,!1),n):[]},w.matchSelector=function(e,t){var n="object"==typeof e?e:l(e);return!!n&&g(n,null,t)},w.prototype.matchSelector=function(e,t){var n="object"==typeof e?e:l(e);return!!n&&g(n,this,t)},e.exports=w},function(e,t,n){var o=n(1),r=function(){};r.prototype=Object.create(Object.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),r.create=function(t){var e=new r;return e._cb=t,e._noSubtreeCb=function(e){e.target===this&&t.call(this,e)},e._binded=[],e},r.prototype.observe=function(e,t){var n=0,r=(t=t||{}).subtree?this._cb:this._noSubtreeCb;t.properties&&(e.__propObservers||(e.__propObservers=o.create("Observer Callback")),this._binded.push({funcArr:e.__propObservers,id:e.__propObservers.add(r),subtree:t.subtree?e:null}),n++),t.childList&&(e.__childObservers||(e.__childObservers=o.create("Observer Callback")),this._binded.push({funcArr:e.__childObservers,id:e.__childObservers.add(r),subtree:t.subtree?e:null}),n++),t.characterData&&(e.__textObservers||(e.__textObservers=o.create("Observer Callback")),this._binded.push({funcArr:e.__textObservers,id:e.__textObservers.add(r),subtree:t.subtree?e:null}),n++),t.subtree&&a(e,n),t.attachStatus&&(e.__attachedObservers||(e.__attachedObservers=o.create("Observer Callback")),this._binded.push({funcArr:e.__attachedObservers,id:e.__attachedObservers.add(r),subtree:null}))},r.prototype.disconnect=function(){for(var e=this._binded,t=0;t<e.length;t++){var n=e[t];n.funcArr.remove(n.id),n.subtree&&a(n.subtree,-1)}this._binded=[]};var a=r._updateSubtreeCaches=function(e,t){e.__subtreeObserversCount+=t;var n=e.childNodes;if(n)for(var r=0;r<n.length;r++)a(n[r],t)};r._callObservers=function(e,t,n){for(;e[t]&&e[t].call(e,[n]),(e=e.parentNode)&&e.__subtreeObserversCount;);},r._callSingleObserver=function(e,t,n){e[t]&&e[t].call(e,[n])},e.exports=r},function(e,t){var o=function(){},s=null;o._setElementSystem=function(e){s=e,o._setElementSystem=null};var c=Object.prototype.hasOwnProperty;o.create=function(e,t){var n=new o;for(var r in n._prefix="",n._alias=t,n._resolvedAlias={},t)n._resolvedAlias[r]="";return n._rawNames=[],n._elem=e,n._owner=null,n};var r=function(e){var t="",n=e._rawNames,r=e._prefix,o=e._owner?e._owner._resolvedAlias:null,a=e._addOriginalClass;r&&(r+="--");for(var i=0;i<n.length;i++){var s=n[i];i&&(t+=" "),o&&c.call(o,s)?t+=o[s]:(a&&(t+=s+" "),t+=r+s)}return t},a=function(e){var t=e._elem.__domElement;if(t){var n=r(e);n?t.setAttribute("class",n):t.removeAttribute("class")}},u=function(e){var t=e.classList;t instanceof o&&(t._alias&&i(t),a(t));for(var n=e.childNodes,r=0;r<n.length;r++)n[r]instanceof s&&u(n[r])},i=function(e){var t=e._owner;if(!t)return!1;var n=!1;for(var r in e._alias){var o=e._alias[r];if(c.call(t._alias,o)){var a=t._resolvedAlias[o];e._resolvedAlias[r]!==a&&(n=!0,e._resolvedAlias[r]=a)}else{var i=e._prefix&&o?e._prefix+"--"+o:o;e._resolvedAlias[r]!==i&&(n=!0,e._resolvedAlias[r]=i)}}n&&e._elem.shadowRoot instanceof s&&u(e._elem.shadowRoot)};o.prototype.toggle=function(e,t){var n=this._rawNames.indexOf(e);void 0===t&&(t=n<0),t?n<0&&(this._rawNames.push(e),a(this)):0<=n&&(this._rawNames.splice(n,1),a(this))},o.prototype.contains=function(e){return 0<=this._rawNames.indexOf(e)},o.prototype._setOwnerOptions=function(e,t,n){this._prefix!==(this._prefix=t)&&(this._addOriginalClass=n,this._owner=e,this._alias&&i(this),a(this))},o.prototype._setAlias=function(e,t){this._alias[e]=t;var n=this._owner;n&&c.call(n._alias,t)?this._resolvedAlias[e]=n._resolvedAlias[t]:this._resolvedAlias[e]=this._prefix&&t?this._prefix+"--"+t:t,u(this._elem.shadowRoot)},o.prototype.setClassNames=function(e){e=null==e?"":String(e),this._rawNames=e.match(/-?[_0-9a-z][-_0-9a-z]*/gi)||[],a(this)},o.prototype.getClassNames=function(){return r(this)},e.exports=o},function(e,t,n){var T=n(1),k=n(5),r=n(3),A=n(4),x=n(6),o=n(10),i=n(7),I=n(8),E=n(2),a=n(11),P=r.addListenerToElement,s=a.parseSinglePath,O=function(){};O.prototype=Object.create(x.prototype,{constructor:{value:O,writable:!0,configurable:!0},data:{get:function(){return this.__dataProxy._data},set:function(e){var t=this.__dataProxy;for(var n in e)t.scheduleReplace([n],e[n]);t.doUpdates()},configurable:!0},$:{get:function(){return x._updateIdMap(this),this.__idCache},set:function(){}}});var c=function(){};c.prototype=Object.create(Object.prototype),r._setComponent(O);var u=null;O._setDefaultTemplateEngine=function(e){u=e,O._setDefaultTemplateEngine=null};k.setPropUpdater(function(e,t,n,r){var o,a,i,s,c,u,l=e[0],d=this.__propData[l];if(o=n,n=(a=t.type)===String?null==o?"":String(o):a===Number?isFinite(o)?Number(o):0:a===Boolean?!!o:a===Array?o instanceof Array?o:[]:a===Object?"object"==typeof o?o:null:void 0===o?null:o,t.filter){var f=T.safeCallback("Property Filter",t.filter,this.__methodCaller,r?[]:[n,d,e],this);void 0!==f&&(n=f)}return this.__propData[l]=n,this.__domElement&&this.__componentOptions.reflectToAttributes&&this.__propPublic[l]&&(i=this,s=n,c=l.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}),"boolean"===(u=typeof s)?s?i.__domElement.setAttribute(c,""):i.__domElement.removeAttribute(c):"object"===u?i.__domElement.setAttribute(c,JSON.stringify(s)):i.__domElement.setAttribute(c,s)),n}),k.setPropObserver(function(e,t,n,r,o){if(r.observeAssignments||e!==t){var a=n[0];r.observer&&T.safeCallback("Property Observer",r.observer,this.__methodCaller,o?[]:[e,t,n],this),r.public&&(this.__propObservers&&!this.__propObservers.empty||this.__subtreeObserversCount)&&i._callObservers(this,"__propObservers",{type:"properties",target:this,propertyName:a})}});var D=function(e,t,n){t.__relationLinks||(t.__relationLinks={});for(var r=t.__relationLinks[n]=[],o=0;o<e.length;o++)r.push(null)},M=function(e,t,n,r,o){for(var a=O.prototype.hasBehavior,i="parent"===r,s="shadowHost"===r,c=0;c<e.length;c++){var u,l=e[c];if(u="object"!=typeof l.target?A._list[l.target]:l.target){var d=t[c],f=null;if(!o)for(var p=s?n.ownerShadowRoot&&n.ownerShadowRoot.__wxHost:n.parentNode;p;p=s?p.ownerShadowRoot&&p.ownerShadowRoot.__wxHost:p.parentNode)if(!p.__virtual){if(a.call(p,u)){var h;h=i?p.__relationMap.child:s?p.__relationMap.shadowContent:p.__relationMap.descendant;for(var g=0;g<h.length;g++){var v,_=h[g];if((v="object"!=typeof _.target?A._list[_.target]:_.target)&&a.call(n,v)){f={parent:p,relation:_};break}}}if(i||f)break}t[c]=f,!d||f&&d.parent===f.parent||(T.safeCallback("Relation Unlinked Callback",d.relation.unlinked,d.parent.__methodCaller,[n.__methodCaller],d.parent),T.safeCallback("Relation Unlinked Callback",l.unlinked,n.__methodCaller,[d.parent.__methodCaller],n)),!f||d&&d.parent===f.parent||(T.safeCallback("Relation Linked Callback",f.relation.linked,f.parent.__methodCaller,[n.__methodCaller],f.parent),T.safeCallback("Relation Linked Callback",l.linked,n.__methodCaller,[f.parent.__methodCaller],n)),d&&f&&d.parent===f.parent&&(T.safeCallback("Relation Link Changed Callback",f.relation.linkChanged,f.parent.__methodCaller,[n.__methodCaller],f.parent),T.safeCallback("Relation Link Changed Callback",l.linkChanged,n.__methodCaller,[f.parent.__methodCaller],n)),o||f||T.safeCallback("Relation Link Failed Callback",l.linkFailed,n.__methodCaller,[],n)}}},l=function(e,t,n){if(e instanceof x){e instanceof O&&(e.__pageLifeTimeFuncs[t]&&e.__pageLifeTimeFuncs[t].call(e.__methodCaller,n||[]),e=e.shadowRoot);for(var r=e.childNodes,o=0;o<r.length;o++)l(r[o],t,n)}};O._list={},O.register=function(e){var t=e.options||{},n=A.create(e),r=void 0!==t.classPrefix?t.classPrefix:E.classPrefix;null!=r||(r=n.is||"");var o=new c;return o._unprepared=n,o.is=e.is||"",o.behavior=n,o.protoFunc=null,o.props=null,o.template=null,o.innerEvents=null,o.generics=n.generics,o.initiator=n.initiator||null,o.options={domain:t.domain||E.domain,writeOnly:!!(void 0!==t.writeOnly?t.writeOnly:E.writeOnly),allowInWriteOnly:!!(void 0!==t.allowInWriteOnly?t.allowInWriteOnly:E.allowInWriteOnly),classPrefix:r,addGlobalClass:!!(void 0!==t.addGlobalClass?t.addGlobalClass:E.addGlobalClass),templateEngine:t.templateEngine||E.templateEngine||u,renderingMode:t.renderingMode||E.renderingMode,multipleSlots:!!(void 0!==t.multipleSlots?t.multipleSlots:E.multipleSlots),reflectToAttributes:!!(void 0!==t.reflectToAttributes?t.reflectToAttributes:E.reflectToAttributes),writeFieldsToNode:!!(void 0!==t.writeFieldsToNode?t.writeFieldsToNode:E.writeFieldsToNode),writeIdToDOM:!!(void 0!==t.writeIdToDOM?t.writeIdToDOM:E.writeIdToDOM)},n._unprepared||O.prepare(o),void 0!==e.is&&(O._list[n.is]=o),o},O.isPrepared=function(e){return!e._unprepared},O.prepare=function(e){var t=e._unprepared;if(t){e._unprepared=null;var r=e.options,o={};t._unprepared&&A.prepare(t),r.writeOnly&&(o.data={value:null});var a=e.props={};Object.keys(t.properties).forEach(function(n){var e=t.properties[n];a[n]={type:e.type,value:e.value,filter:"function"==typeof e.filter?e.filter:null==e.filter?null:t.methods[e.filter],observer:"function"==typeof e.observer?e.observer:null==e.observer?null:t.methods[e.observer],public:e.public,observeAssignments:e.observeAssignments},r.writeFieldsToNode&&(o[n]={enumerable:!0,get:function(){return this.__propData[n]},set:function(e){var t=this.__dataProxy;t.scheduleReplace([n],e),t.doUpdates()}})});var n=function(){},i=(e.protoFunc=n).prototype=Object.create(O.prototype,o);if(i.is=e.is,i.__componentOptions=r,i.__using=t.using,i.__behavior=t,r.writeFieldsToNode)for(var s in t.methods)i[s]=t.methods[s];i.__lifeTimeFuncs=t._getAllLifeTimeFuncs(),i.__pageLifeTimeFuncs=t._getAllPageLifeTimeFuncs();var c=t.relations,u=i.__relationMap={};for(var l in c){var d=c[l],f=d.type;u[f]?u[f].push(d):u[f]=[d]}var p=[];u.parent&&p.push(function(e){M(this.__relationMap.parent,this.__relationLinks.parent,this,"parent","detached"===e)}),u.ancestor&&p.push(function(e){M(this.__relationMap.ancestor,this.__relationLinks.ancestor,this,"ancestor","detached"===e)}),u.shadowHost&&p.push(function(e){M(this.__relationMap.shadowHost,this.__relationLinks.shadowHost,this,"shadowHost","detached"===e)}),e.relationHandler=function(e){for(var t=0;t<p.length;t++)p[t].call(this,e)};var h={},g={},v=t.data,_="";for(_ in v)g[_]=v[_];for(_ in a){var y=a[_];g[_]=y.value,h[_]=y.public}var m=r.templateEngine;e.template=m.create(t,g,r),i.__propPublic=h;var b=t._getAllListeners(),w=e.innerEvents=[];for(var S in b){for(var C=b[S],T=S.indexOf("."),k=S.slice(T+1),x=T<1?"":S.slice(0,T),I=[],E=0;E<C.length;E++){var P=C[E];"function"!=typeof P&&(P=null==P?null:t.methods[P]),I.push(P)}w.push({id:x,name:k,funcs:I})}}};var R=1,d=Object.prototype.hasOwnProperty,N=function(t,n){return function(e){return t.call(n.__methodCaller,e,n)}},f=O._advancedCreate=function(e,t,n,r,o){var a=t;a._unprepared&&O.prepare(a);var i=a.options,s=new a.protoFunc,c=a.generics;s.__generics=c?function(e,t,n){var r={};for(var o in e){var a=e[o],i=t[o];"object"!=typeof i&&(i=O._list[i]),"object"!=typeof i&&null!=a.default&&(i=O._list[a.default]),i&&(r[o]=i)}return r}(c,r||{}):{};var u=null;"dom"===E.documentBackend?(u=document.createElement(e),x.initialize(s,u)):x.initialize(s,null),n&&(s.__createdInOwnerShadowRoot=n);var l=0,d=s.__externalClassAlias={};if(a.behavior.externalClasses){var f=a.behavior.externalClasses;for(l=0;l<f.length;l++)d[f[l]]=""}s.classList=I.create(s,d),E.writeExtraInfoToAttr&&u&&(s.__componentInstanceId=R++,u.setAttribute("exparser:info-component-id",s.__componentInstanceId));var p=s.__templateInstance=a.template.createInstance(s,o);s.__propData=p.data,s.__dataProxy=k.create(s,s.__propData,a.props,function(e,t,n,r){s.__templateInstance.updateValues(s,s.__propData,e,t,n,r)}),i.writeOnly&&s.__dataProxy.setHidingValue(!0),s.__idCacheDirty=!1,s.__idCache=p.idMap,s.$$=u,null===p.slots[""]&&(p.slots[""]=u),a.options.multipleSlots?s.__slots=p.slots:(s.__singleSlot=p.slots[""]||null,s.__singleSlot&&(s.__singleSlot.__wxSlotChildren=s.childNodes)),p.shadowRoot instanceof x?(s.shadowRoot=p.shadowRoot,x._attachShadowRoot(p.shadowRoot)):(((s.shadowRoot=u).__wxHost=s).__domElement.appendChild(p.shadowRoot),s.__wxSlotChildren=[u],u.__wxSlotParent=s);for(var h=p.listeners,g=0;g<h.length;g++){var v=h[g];P(v.target,v.name,N(v.func,s))}var _=a.innerEvents;for(l=0;l<_.length;l++){var y=_[l],m=y.id?"this"===y.id?s:s.__idCache[y.id]:s.shadowRoot;if(m)for(var b=y.name,w=y.funcs,S=0;S<w.length;S++)P(m,b,N(w[S],s))}var C=s.__relationMap;return C.parent&&(D(C.parent,s,"parent"),s.__relationHandler=a.relationHandler),C.ancestor&&(D(C.ancestor,s,"ancestor"),s.__relationHandler=a.relationHandler),C.shadowHost&&(D(C.shadowHost,s,"shadowHost"),s.__relationHandler=a.relationHandler),a.initiator&&T.safeCallback("Component Initiator",a.initiator,s.__methodCaller,[],s),s.__lifeTimeFuncs.created.call(s.__methodCaller,[],s),s};O.create=function(e,t,n){return"object"==typeof e?f(e.is,e,null,null,n):e?e.indexOf("-")<0&&!t?o.create(e):f(e.toLowerCase(),t||d.call(O._list,e)&&O._list[e]||O._list[""],null,null,n):f("virtual",O._list[""],null,null,n)},O.listProperties=function(e){var t=[];for(var n in e.__propPublic)void 0!==e.__propPublic[n]&&t.push(n);return t},O.listPublicProperties=function(e){var t=[];for(var n in e.__propPublic)!0===e.__propPublic[n]&&t.push(n);return t},O.hasProperty=function(e,t){return void 0!==e.__propPublic[t]},O.hasPublicProperty=function(e,t){return!0===e.__propPublic[t]},O.getMethodsFromDef=function(e){return e.behavior._unprepared&&A.prepare(e.behavior),e.behavior.methods},O.getMethod=function(e,t){return e.__behavior.methods[t]},O.getComponentOptions=function(e){return e.__componentOptions},O.prototype.triggerLifeTime=function(e,t){this.__lifeTimeFuncs[e].call(this.__methodCaller,t||[])},O.prototype.triggerPageLifeTime=function(e,t){l(this,e,t)},O.prototype.hasBehavior=function(e){return"object"!=typeof e&&Object.prototype.hasOwnProperty.call(this.__using,e)&&(e=this.__using[e]),!!this.__behavior&&this.__behavior.hasBehavior(e)},O.prototype.getRootBehavior=function(){return this.__behavior},O.prototype.getRelationNodes=function(e){var s,c,u,t,l,d,f,n=this.__behavior.relations[e];if(!n)return null;if("parent"!==n.type&&"ancestor"!==n.type&&"shadowHost"!==n.type)return s=this,u=[],t=(c=n).type,l="child"===t,(f=function(e){for(var t=e.childNodes,n=0;n<t.length;n++){var r=t[n];if(r instanceof x)if(r.__virtual)f(r);else{var o;if(r.__relationLinks)if(o=l?r.__relationLinks.parent:d?r.__relationLinks.shadowHost:r.__relationLinks.ancestor)for(var a=0;a<o.length;a++){var i=o[a];if(i&&i.parent===s&&i.relation===c){u.push(r);break}}d&&r instanceof O&&f(r.shadowRoot),l||f(r)}}})((d="shadowContent"===t)?s.shadowRoot:s),u;for(var r=this.__relationMap[n.type],o=0;o<r.length&&r[o]!==n;o++);return this.__relationLinks[n.type][o]?[this.__relationLinks[n.type][o].parent]:[]},O.prototype.hasExternalClass=function(e){return d.call(this.__externalClassAlias,e)},O.prototype.setExternalClass=function(e,t){this.classList._setAlias(e,t)},O.prototype.mergeDataOnPath=function(e,t){this.__dataProxy.scheduleMerge(e,t)},O.prototype.replaceDataOnPath=function(e,t){this.__dataProxy.scheduleReplace(e,t)},O.getDataProxy=function(e){return e.__dataProxy},O.replaceWholeData=function(e,t){e.__propData=t,e.__dataProxy.replaceWholeData(t)},O.prototype.applyDataUpdates=function(){this.__dataProxy.doUpdates()},O.prototype.setData=function(e){var t=this.__dataProxy;for(var n in e)t.scheduleReplace(s(n),e[n]);t.doUpdates()},e.exports=O},function(e,t,n){var r=n(6),o=n(8),a=n(2),i=function(){};i.prototype=Object.create(r.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),i.create=function(e){var t=new i;t.is=e.toLowerCase();var n=null;return"dom"===a.documentBackend&&(n=document.createElement(e)),r.initialize(t,n),t.$$=n,t.classList=o.create(t,null),t},i.cloneNode=function(e){var t=new i;t.is=e.is;var n=null;return e.__domElement&&(n=document.importNode?document.importNode(e.__domElement,!1):e.__domElement.cloneNode(!1)),r._clone(t,e,n),t.$$=n,t.classList=o.create(t,null),t},e.exports=i},function(e,t){t.parseSinglePath=function(e){for(var t=e.length,n=[],r="",o=0,a=!1,i=!1,s=0;s<t;s++){var c=e[s];if("\\"===c)s+1<t&&("."===e[s+1]||"["===e[s+1]||"]"===e[s+1]||"\\"===e[s+1])?(r+=e[s+1],s++):r+="\\";else if("."===c)r&&(n.push(r),r="");else if("["===c){if(r&&(n.push(r),r=""),0===n.length)throw new Error("The path string should not start with []: "+e);a=!(i=!0)}else if("]"===c){if(!a)throw new Error("There should be digits inside [] in the path string: "+e);i=!1,n.push(o),o=0}else if(i){if(c<"0"||"9"<c)throw new Error("Only digits (0-9) can be put inside [] in the path string: "+e);a=!0,o=10*o+c.charCodeAt(0)-48}else r+=c}if(r&&n.push(r),0===t)throw new Error("The path string should not be empty");return n}},function(e,t,n){var r=n(7),o=n(2),a=function(){};a.prototype=Object.create(Object.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),a.create=function(e){var t=new a;t.__slot="";var n=null;return"dom"===o.documentBackend?(n=document.createTextNode(e||"")).__wxElement=t:t.__textContent=e,t.$$=t.__domElement=n,t.__subtreeObserversCount=0,t.parentNode=null,t.ownerShadowRoot=null,t},Object.defineProperty(a.prototype,"textContent",{get:function(){return this.__domElement?this.__domElement.textContent:this.__textContent},set:function(e){this.__domElement?this.__domElement.textContent=e:this.__textContent=String(e),(this.__textObservers&&!this.__textObservers.empty||this.__subtreeObserversCount)&&r._callObservers(this,"__textObservers",{type:"characterData",target:this})}}),e.exports=a},function(e,t,n){var r=n(6),o=n(2),a=function(e){i(this,e)};a.prototype=Object.create(r.prototype);var i=a.initialize=function(e,t){e.is=t||"";var n=null;"dom"===o.documentBackend&&(n=void 0),r.initialize(e,n),e.__virtual=!0};a.create=function(e){return new a(e)},e.exports=a},function(e,t,n){var r=n(6),i=n(9),o=n(13),a=n(12),s=Object.prototype.hasOwnProperty,c=function(e){o.initialize(this,"shadow"),this.__wxHost=e,this.__childrenPropsFilter=null,this.__slotCacheDirty=!1,this.ownerShadowRoot=null};c.prototype=Object.create(o.prototype),c.create=function(e){var t=new c(e);if(e.__createdInOwnerShadowRoot&&e.__createdInOwnerShadowRoot.__childrenPropsFilter)if(t.__childrenPropsFilter)for(var n in e.__createdInOwnerShadowRoot.__childrenPropsFilter)t.__childrenPropsFilter[n]||(t.__childrenPropsFilter[n]=e.__createdInOwnerShadowRoot.__childrenPropsFilter[n]);else t.__childrenPropsFilter=e.__createdInOwnerShadowRoot.__childrenPropsFilter;return t};c.prototype.createComponent=function(e,t,n,r){var o=null;o=void 0===t?e:t;var a=this.__wxHost;return"object"!=typeof o&&(s.call(a.__using,o)?o=a.__using[o]:s.call(a.__generics,o)&&(o=a.__generics[o]),"object"!=typeof o&&(o=i._list[o]||i._list[""])),n&&(n=function(e,t){var n={};for(var r in e){var o=e[r];"object"!=typeof o&&(s.call(t.__using,o)?o=t.__using[o]:s.call(t.__generics,o)&&(o=t.__generics[o]||i._list[""]),n[r]=o)}return n}(n,a)),"object"==typeof e&&(e=o.is),a.__componentOptions.writeOnly&&!o.options.allowInWriteOnly&&(o=i._list[""]),i._advancedCreate(e,o,this,n,r)},c.prototype.tagNameUsed=function(e){var t=this.__wxHost;return!!s.call(t.__using,e)||!!s.call(t.__generics,e)},c.prototype.getHostNode=function(){return this.__wxHost},c.prototype.createTextNode=function(e){return a.create(e)},c.prototype.createVirtualNode=function(e){return o.create(e)},c.prototype.getElementById=function(e){return r._updateIdMap(this.__wxHost),this.__wxHost.__idCache[e]},e.exports=c},function(e,t,n){var a=n(6),i=n(12),s=function(){};s.create=function(e,t,n){var r=new s;if(!(e instanceof a||e instanceof i))throw new Error("ElementIterator can only be used for exparser.Element or exparser.TextNode");r._elem=e,r._elemTypeLimit=n||a;var o=t.split("-");if("shadow"===o[0])r._composed=!1;else{if("composed"!==o[0])throw new Error("Unrecognized iterator type: "+t);r._composed=!0}if("ancestors"===o[1])r._relation="ancestors",r._order=0;else{if("descendants"!==o[1])throw new Error("Unrecognized iterator type: "+t);if(r._relation="descendants","root"!==o[2])throw new Error("Unrecognized iterator type: "+t);if("first"===o[3])r._order=-1;else{if("last"!==o[3])throw new Error("Unrecognized iterator type: "+t);r._order=1}}return r};var c=function(e,t,n,r,o){if(r<0&&e instanceof t&&!1===o(e))return!1;var a=n&&e.__wxSlotChildren||e.childNodes;if(a)for(var i=0;i<a.length;i++)if(!1===c(a[i],t,n,r,o))return!1;return!(0<r&&e instanceof t&&!1===o(e))};s.prototype.forEach=function(e){return"ancestors"===this._relation?function(e,t,n,r){for(;e;e=n&&(e.__wxSlotParent||e.__wxHost)||e.parentNode)if(e instanceof t&&!1===r(e))return!1;return!0}(this._elem,this._elemTypeLimit,this._composed,e):c(this._elem,this._elemTypeLimit,this._composed,this._order,e)},e.exports=s},function(e,t,n){(function(i){var u=n(2),a=n(1),k=n(6),x=n(10),I=n(13),E=n(12),l=n(14),P=n(9),A=n(18),O=n(19),s=function(){};s.prototype=Object.create(Object.prototype,{constructor:{value:s,writable:!0,configurable:!0}});var d=function(){};d.prototype=Object.create(Object.prototype,{constructor:{value:d,writable:!0,configurable:!0}});s.precompiler=null,s.htmlParser=null;var m=function(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})},c=Object.prototype.hasOwnProperty,f=function(e,t){if(null!==e&&"object"==typeof e&&c.call(e,t))return e[t]},b=function(e,t,n,r){if(c.call(t,n)){var o=t[n];if("function"==typeof o)return a.safeCallback("Template Method",o,e,r)}},w=function(e,t){return[{t:1,n:"slot",a:[],c:[],p:null}]},S={t:1,n:'"slot"',v:!0,sn:"",a:[],c:[],p:null},D=function(e,t,n){e.classList.toggle(t,!!n)},M=function(e,t,n){e[t]=n},R=function(e,t,n){var r=e.__dataProxy;r.scheduleReplace([t],n),r.doUpdates()},C=function(e,t,n){e.class=n},T=function(e,t,n){e.setAttribute("style",n)},N=function(e,t,n){e.setAttribute("class",n)},L=function(e,t,n){e.textContent=n},B=function(e,t,n){e.dataset||(e.dataset={}),e.dataset[t]=n},j={$:function(e,t,n){!0===n?e.setAttribute(t,""):!1===n||null==n?e.removeAttribute(t):e.setAttribute(t,n)},":":M,c:D,s:function(e,t,n){var r=e.style;r&&(r[t]=n)},d:B},p=function(e,t,n){return[{t:1,n:"slot",v:!0,sn:"",a:[],c:[]}]};s.create=function(e,t,n){var r=void 0===e.template?p:e.template,o=r;"function"!=typeof r&&(o=void 0!==i&&void 0!==i.versions&&void 0!==i.versions.node?s.precompileAndGetCreator(r):w);var a=Object.create(s.prototype);return a._initValuesJSON=JSON.stringify(t),a._tagTreeRoot=h(o,t,e.methods,n),a._renderingMode=n.renderingMode,a};var h=function(e,p,t,n){var h="native"===n.renderingMode,g=h,v=!1,r=Object.create(null);h&&!u.hasDOMBackend&&(e=w);var _={},o=e(f,b,t),y=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(3!==n.t){var r=n.n,o=!(h||"string"==typeof r&&r.indexOf("-")<0);"slot"===r&&""===n.sn&&(v=!0),n.n=r;var a=n.st;a&&a.e&&(a.o=T,g&&(a.v=a.e(p,_,null)));var i=n.cl;i&&i.e&&(i.o=h?N:C,g&&(i.v=i.e(p,_,null)));var s=null;o||(n.p=s=h?document.createElement(n.n):x.create(n.n),a&&void 0!==a.v&&s.setAttribute("style",a.v),h&&i&&void 0!==i.v&&s.setAttribute("class",i.v));for(var c=n.a,u=0;u<c.length;u++){var l=c[u];if(l.d)h||O[l.n].register(l.n,l,n);else{h||("bind"===l.n.slice(0,4)?(l.evCatch=!1,l.ev=m(l.n.slice(4)),":"===l.ev[0]&&(l.ev=l.ev.slice(1))):"catch"===l.n.slice(0,5)&&(l.evCatch=!0,l.ev=m(l.n.slice(5)),":"===l.ev[0]&&(l.ev=l.ev.slice(1))));var d=l.o;if(o)d?l.o="&"===d?j[":"]:j[d]:(l.o=j[":"],l.n=m(l.n)),l.o===M&&(l.o=R),g&&l.e&&(l.v=l.e(p,_,null));else if(!l.ev){var f=j;l.o=d?"&"===d?f[":"]:f[d]:f.$,g?(l.e&&(l.v=l.e(p,_,null)),(l.o!==D||h)&&l.o(s,l.n,l.v)):l.e||l.o(s,l.n,l.v)}}}y(n.c),h&&(1!==n.c.length||void 0===n.c[0].sn||n.c[0].compressed||(n.sn=n.c[0].sn,n.compressed=!0,n.c.pop()))}else n.e&&(n.o=L,n.c=g?n.e(p,_,null):"")}};return y(o,r,!0),h&&(v||o.push(S),1!==o.length||""!==o[0].sn||o[0].compressed||o.pop()),o},g=function(t,n){return function(e){if(this[t](e),n)return!1}},F=function(e,t,n,r,o,a,i,s){for(var c=null,u=0,l=null,d=0;d<e.length;d++){var f=i,p=e[d];if(3===p.t)c=p.e?E.create(p.e(r,o,null)):E.create(p.c),p.e&&A.addBindings(a,f,p.b,c,p),k.appendChild(n,c);else{var h=p.cl,g=p.st,v=p.a,_=!1;for(u=0;u<v.length;u++)if((l=v[u]).d){var y=O[l.n].create(l.n,l,p,r,o,a,f,s,t,F,n);if(O[l.n].requireBlock){c=y,k.appendChild(n,c),_=!0;break}}if(_)continue;if(p.v)c=I.create(p.n);else if(p.p){for(c=x.cloneNode(p.p),u=0;u<v.length;u++)(l=v[u]).d||(l.ev?s(c,l.ev,l.v,l.evCatch):l.o===M?c.__domElement&&(l.o(c.__domElement,l.n,l.e(r,o,null)),A.addBindings(a,f,l.b,c.__domElement,l)):(l.e&&l.o(c,l.n,l.e(r,o,null)),(l.e||l.o===D||l.o===B)&&A.addBindings(a,f,l.b,c,l)));g&&g.e&&(c.setAttribute("style",g.e(r,o,null)),A.addBindings(a,f,g.b,c,g))}else{if(p.cpf){var m={},b=t.__wxHost;for(var w in p.cpf)C=w,void 0,T=p.cpf[C],m[C]=b.__behavior.methods[T];t.__childrenPropsFilter=m}for(c=t.createComponent(p.n,void 0,p.g,void 0),u=0;u<v.length;u++)if(!(l=v[u]).d){var S=l.v;l.o===R&&P.hasPublicProperty(c,l.n)?(l.e&&(S=l.e(r,o,null),A.addBindings(a,f,l.b,c,l)),l.e?R(c,l.n,S):c.__behavior.properties[l.n].type===Boolean?R(c,l.n,!0):R(c,l.n,S)):l.ev?s(c,l.ev,S,l.evCatch):l.o!==R&&(l.e&&(S=l.e(r,o,null),A.addBindings(a,f,l.b,c,l)),l.o(c,l.n,S))}g&&(g.e?(c.__domElement.setAttribute("style",g.e(r,o,null)),A.addBindings(a,f,g.b,c.__domElement,g)):c.__domElement.setAttribute("style",g.v))}p.id&&(c.id=p.id),h&&(h.e?c.class=h.e(r,o,null):c.class=h.v,h.o&&A.addBindings(a,f,h.b,c,h)),p.sl&&(c.slot=p.sl),void 0!==p.sn&&k.setSlotName(c,p.sn),k.appendChild(n,c),F(p.c,t,c,r,o,a,f,s)}}var C,T},v=function(e,t,n){for(var r=e.childNodes,o=0;o<r.length;o++){var a=r[o];a instanceof E||(a.__id&&(t[a.__id]=a),void 0!==a.__slotName&&(n[a.__slotName]=a),v(a,t,n))}},_=function(e,t,n,r,o,a){for(var i=null,s=0,c=null,u=0;u<e.length;u++){var l=e[u];if(void 0===l.n)i=document.createTextNode(l.c),l.e&&A.addBindings(o,a,l.b,i,l),t.appendChild(i);else{var d=l.cl,f=l.st,p=l.a;for(i=l.v?document.createElement("virtual"):document.importNode?document.importNode(l.p,!1):l.p.cloneNode(!1),s=0;s<p.length;s++)(c=p[s]).e&&A.addBindings(o,a,c.b,i,c);t.appendChild(i),l.id&&(n[l.id]=i),d&&d.e&&A.addBindings(o,a,d.b,i,d),f&&f.e&&A.addBindings(o,a,f.b,i,f),void 0!==l.sn&&(r[l.sn]=i),_(l.c,i,n,r,o,a)}}};s.prototype.createInstance=function(e){var t=Object.create(d.prototype),n=JSON.parse(this._initValuesJSON),r=Object.create(null),o=Object.create(null),a=[],i=A.create("",null,null,null,null,[],function(e,t){}),s=null;if("native"===this._renderingMode)"dom"===u.documentBackend&&(s=document.createDocumentFragment()),_(this._tagTreeRoot,s,r,o,i,{}),o[""]||(o[""]=null);else{if(s=l.create(e),e.__createdInOwnerShadowRoot&&e.__createdInOwnerShadowRoot.__childrenPropsFilter)if(s.__childrenPropsFilter)for(var c in e.__createdInOwnerShadowRoot.__childrenPropsFilter)s.__childrenPropsFilter[c]||(s.__childrenPropsFilter[c]=e.__createdInOwnerShadowRoot.__childrenPropsFilter[c]);else s.__childrenPropsFilter=e.__createdInOwnerShadowRoot.__childrenPropsFilter;F(this._tagTreeRoot,s,s,n,{},i,{},function(e,t,n,r){s.__wxHost?e.addListener(t,g(n,r).bind(s.__wxHost)):a.push({target:e,name:t,func:g(n,r)})}),v(s,r,o)}return t.data=n,t.shadowRoot=s,t.idMap=r,t.slots=o,t.listeners=a,t._topScope=i,t},d.prototype.updateValues=function(e,t,n){for(var r=k.getMethodCaller(e),o=0;o<n.length;o++){var a=n[o];A.updateBinding(this._topScope,a,t,{},r)}},e.exports=s}).call(t,n(17))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(u===setTimeout)return setTimeout(t,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(t,0);try{return u(t,0)}catch(e){try{return u.call(null,t,0)}catch(e){return u.call(this,t,0)}}}function a(){h&&f&&(h=!1,f.length?p=f.concat(p):g=-1,p.length&&i())}function i(){if(!h){var e=o(a);h=!0;for(var t=p.length;t;){for(f=p,p=[];++g<t;)f&&f[g].run();g=-1,t=p.length}f=null,h=!1,function(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}(e)}}function s(e,t){this.fun=e,this.array=t}function c(){}var u,l,d=e.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(e){u=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(e){l=r}}();var f,p=[],h=!1,g=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new s(e,t)),1!==p.length||h||o(i)},s.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=c,d.addListener=c,d.once=c,d.off=c,d.removeListener=c,d.removeAllListeners=c,d.emit=c,d.prependListener=c,d.prependOnceListener=c,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t){var n={create:function(e,t,n,r,o,a,i){for(var s={inc:1,name:e,exp:r,lp:o,scopes:{},targets:{},children:null,lu:i,__scopeBinded:[]},c=0;c<a.length;c++){var u=a[c];null===u[0]?l(t,u,null,s):l(n[u[0]],u,null,s)}return s},proxyTopScope:function(e){var t={inc:1,linked:e,scopes:{},targets:{},children:null,__scopeBinded:[]};return l(e,[null],null,t),t},proxySubScopes:function(e){var t={};for(var n in e)t[n]={inc:1,linked:e[n],scopes:{},targets:{},children:null,__scopeBinded:[]},l(e[n],[null],null,t[n]);return t}},l=n.addBinding=function(e,t,n,r){for(var o=e,a=1;a<t.length;a++){var i=t[a];o.children||(o.children=Object.create(null));var s=o.children;s[i]||(s[i]={scopes:{},targets:{},children:null}),o=s[i]}var c=e.inc++;return n?o.targets[c]=[n,r]:(o.scopes[c]=r).__scopeBinded.push([o,c]),c};n.addBindings=function(e,t,n,r,o){for(var a=0;a<n.length;a++){var i=n[a];i[0]?l(t[i[0]],i,r,o):l(e,i,r,o)}},n.updateLvaluePath=function(e,t){e.lp=t},n.removeBindingsForScope=function(e){for(var t=e.__scopeBinded,n=0;n<t.length;n++){var r=t[n];delete r[0].scopes[r[1]]}};var d=function(e,t,n,r,o){if(e.linked)i(e,t,n,r,o);else{var a=r[e.name];r[e.name]=e.exp(n,r,o),i(e,t,n,r,o),r[e.name]=a}},i=n.updateBinding=function(e,t,r,o,a){for(var n=e,i=0,s=0;s<t.length;s++){for(i in n.scopes)d(n.scopes[i],t,r,o,a);var c=t[s];if(!n.children)return;var u=n.children;if(!u[c])return;n=u[c]}var l=function(e){for(i in e.targets){var t=e.targets[i],n=t[1];n.o(t[0],n.n,n.e(r,o,a))}for(i in e.scopes)d(e.scopes[i],[],r,o,a);for(i in e.children)l(e.children[i])};l(n)};e.exports=n},function(e,t,n){e.exports={if:n(20),elif:n(20),else:n(20),for:n(22),key:n(23),"for-index":n(24),"for-item":n(25),alias:n(26)}},function(e,t,n){var g=n(13),v=n(18),r=n(21).RUNTIME_NAMES;r.TOP_SCOPE,r.SUB_SCOPE,r.CALLER,e.exports={requireBlock:!0,register:function(e,t,n){},create:function(e,t,o,a,i,s,c,u,l,d,n){var f=g.create("wx:"+e);f.__wxIfCondValue=!0,f.__wxIfNextNode=null,f.__wxIfHasTrueCond=!0;var p=null;"if"!==e&&("wx:if"!==(p=n.childNodes[n.childNodes.length-1]).is&&"wx:elif"!==p.is?p=null:p.__wxIfNextNode=f),o.id&&(f.id=o.id);var r=f.__wxIfUpdateNode=function(){var e=f.__wxIfCondValue;if(p&&p.__wxIfHasTrueCond&&(e=!1),e&&!f.childNodes.length){var t=v.proxyTopScope(s),n=v.proxySubScopes(c);f.__wxTopScope=t,f.__wxSubScopes=n,d(o.c,l,f,a,i,t,n,u)}else if(!e&&f.childNodes.length){for(var r in v.removeBindingsForScope(f.__wxTopScope),f.__wxSubScopes)v.removeBindingsForScope(f.__wxSubScopes[r]);for(;f.childNodes.length;)f.removeChild(f.childNodes[0])}f.__wxIfNextNode&&f.__wxIfNextNode.__wxIfUpdateNode()},h=function(e){f.__wxIfCondValue=!!e,f.__wxIfHasTrueCond=f.__wxIfCondValue||p&&p.__wxIfHasTrueCond,r()};return"else"===e?h(!0):(v.addBindings(s,c,t.b,f,{e:t.d,o:function(e,t,n){h(n)}}),h(t.d(a,i,null))),f}}},function(e,t){t.TAG_TYPES={TAG_START:1,TAG_END:-1,TEXT:3,COMMENT:8},t.RUNTIME_NAMES={MEMBER:"m",CALL:"f",METHODS:"e",CALLER:"c",TOP_SCOPE:"t",SUB_SCOPE:"s"};var n=t.STRING_UNESCAPE_MAP={n:"\n",r:"\r",b:"\b",f:"\f",t:"\t",v:"\v",'"':'"',"'":"'","\\":"\\","\r":"\r","\n":"\n"},r=t.STRING_ESCAPE_MAP={},o="";for(var a in n)o+=n[r[n[a]]=a];t.STRING_ESCAPE_REGEXP=new RegExp("["+o+"]","g")},function(e,t,n){var _=n(13),j=n(18),r=n(21).RUNTIME_NAMES;r.TOP_SCOPE,r.SUB_SCOPE,r.CALLER,e.exports={requireBlock:!0,addDefaultAttrs:[{n:"wx:for-index",v:"index"},{n:"wx:for-item",v:"item"}],register:function(e,t,n){},create:function(e,o,l,c,t,d,f,p,h,g){var v=l._wxForIndex||"index",D=l._wxForItem||"item",M=l._wxKey,R=_.create("wx:for:list");l.id&&(R.id=l.id),j.create("",d,f,function(e,t,n){var r=o.d(e,t,null);return a(r,e,t,n),r},o.l,o.b);var N=function(e,t,n,r,o){var a=_.create("wx:for:item"),i=j.proxyTopScope(d),s=j.proxySubScopes(f);a.__wxTopScope=i,a.__wxSubScopes=s,a.__wxForToRemove=!1,a.__wxForKeyStr="";var c=j.create(v,i,s,null,null,[]),u=j.create(D,i,s,null,[n],[]);return s[v]=c,s[D]=u,t[v]=n,t[D]=r,g(l.c,h,a,e,t,i,s,p),void 0===o?R.appendChild(a):R.insertBefore(a,o),a},L=function(e,t,n,r,o,a){var i=e.__wxSubScopes[D];j.updateLvaluePath(i,[r]),o&&(a?R.insertBefore(e,a):R.appendChild(e));var s=e.__wxSubScopes[v];n[v]=r,j.updateBinding(s,[],c,n,t)},B=function(e){for(var t in j.removeBindingsForScope(e.__wxTopScope),R.__wxSubScopes)j.removeBindingsForScope(e.__wxSubScopes[t]);R.removeChild(e)},a=function(e,t,n,r){var o="",a=e;"object"==typeof e&&null!==e||(a=[]);var i={};for(o in n)i[o]=n[o];var s,c,u,l,d,f,p=0;if(M){var h=[],g=e instanceof Array,v=[];if(!g){var _=a;for(o in a=[],_)a.push(_[o]),v.push(o)}for(p=0;p<a.length;p++)h.push(String(a[p][M]));if(0===a.length)for(;R.childNodes.length;)B(R.childNodes[0]);else{var y=Object.create(null),m=Object.create(null),b=R.childNodes,w=null,S="";for(p=0;p<b.length;p++)0<=y[S=(w=b[p]).__wxForKeyStr]?(B(w),p--):(y[S]=p,(m[S]=w).__wxForToRemove=!0);var C=-1,T=0,k=1,x=[];for(0<=(T=y[a[0][M]])||(T=-1),b[T]&&(b[T].__wxForToRemove=!1),p=1;p<a.length;p++)0<=(k=y[a[p][M]])&&(C<T&&(T<k||k<C)&&(x.push(b[T]),C=T),b[T=k]&&(b[T].__wxForToRemove=!1));for(C<T&&x.push(b[T]),p=0;p<b.length;p++)(w=b[p]).__wxForToRemove&&(B(w),p--);var I=x.shift(),E=0;for(p=0;p<a.length;p++){var P=a[p],A=m[P[M]];if(m[P[M]]=null,A){var O=!0;if(A===I){for(;b[E]!==I;)E++;E++,I=x.shift(),O=!1}L(w=A,r,i,g?p:v[p],O,b[E]),O&&b[E]===w&&E++,s=w,c=[],u=t,l=i,d=a[p],f=r,l[D]=d,j.updateBinding(s.__wxSubScopes[D],c,u,l,f)}else w=N(t,i,g?p:v[p],a[p],b[E]),E++,w.__wxForKeyStr=String(P[M])}}}else{for(;R.childNodes.length;)B(R.childNodes[0]);if(e instanceof Array)for(p=0;p<a.length;p++)N(t,i,p,a[p]);else for(o in a)N(t,i,o,a[o])}};return a(o.d(c,t,null),c,t,null),R}}},function(e,t){e.exports={attachedToBlock:!0,register:function(e,t,n){n._wxKey=t.d},create:function(){}}},function(e,t){e.exports={attachedToBlock:"for",register:function(e,t,n){n._wxForIndex=t.d},create:function(){}}},function(e,t){e.exports={attachedToBlock:"for",register:function(e,t,n){n._wxForItem=t.d},create:function(){}}},function(e,t,n){var v=n(13),_=n(18),r=n(21).RUNTIME_NAMES;r.TOP_SCOPE,r.SUB_SCOPE,r.CALLER,e.exports={requireBlock:!0,register:function(e,t,n){},create:function(e,t,n,r,o,a,i,s,c,u){var l=t.s[0],d=_.create(l,a,i,t.d,t.l,t.b),f={},p="";for(p in i)f[p]=i[p];f[l]=d;var h={};for(p in o)h[p]=o[p];h[l]=t.d(r,o,null);var g=v.create("wx:alias");return n.id&&(g.id=n.id),u(n.c,c,g,r,h,a,f,s),g}}}]),__virtualDOMDataThread__=!0,__virtualDOM__=function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={exports:{},id:e,loaded:!1};return n[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}return o.m=n,o.c=r,o.p="",o(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMergeDataFunc=t.initBannedMap=void 0;var r=n(1);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var o=n(29);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var a=n(28);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var i=n(13);Object.defineProperty(t,"initBannedMap",{enumerable:!0,get:function(){return i.initBannedMap}});var s,c=n(30),u=n(31),l=n(17),d=(s=l)&&s.__esModule?s:{default:s};t.getMergeDataFunc=function(){return d.default.mergeData};exparser.addGlobalErrorListener(function(e,t){return Reporter.thirdErrorReport({error:e,extend:t.message.replace(/^\[exparser\] \[(error|warning)\]/i,"")}),!1}),exparser.globalOptions.createFakeDomElement=!1,exparser.globalOptions.inDocument=!1,exparser.globalOptions.documentBackend="none",exparser.updateDefaultComponent(),(0,c.registerDataBehaviors)(),(0,u.registerDataComponents)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeView=t.attachView=t.addView=t.sendTabBarCreationRequest=t.runComponentDef=t.initViewThread=t.getRootNodeId=t.getNodeId=t.getNodeById=t.Page=t.Component=t.Behavior=t.publishDomainComponents=t.getDomainByPluginId=void 0;var k=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.CustomComponent=H;var u=n(2),a=n(3),r=n(4),c=n(28),o=g(n(9)),i=g(n(11)),l=n(6),y=n(27),x=g(n(14)),d=n(29),f=n(13),p=n(24),h=n(16);function g(e){return e&&e.__esModule?e:{default:e}}var I={lazyRegistration:!0,publicProperties:!0},m={domain:"/",writeOnly:!1,allowInWriteOnly:!1,lazyRegistration:!0,classPrefix:"",templateEngine:r.Tmpl,renderingMode:"full",multipleSlots:!1,publicProperties:!0,reflectToAttributes:!1,writeFieldsToNode:!1,writeIdToDOM:!1},E={domain:"/",writeOnly:!1,allowInWriteOnly:!1,lazyRegistration:!0,classPrefix:"",renderingMode:"full",templateEngine:r.Tmpl,multipleSlots:!1,publicProperties:!0,reflectToAttributes:!1,writeFieldsToNode:!1,writeIdToDOM:!1},b="undefined"!=typeof WeakMap?new WeakMap:{},w={},v={},_={},S={},C={},T={},P=1,A=/^[-+a-z]+:\/\//i,O=Object.prototype.hasOwnProperty,D=function(e,t){if(A.test(t))return t;var n=e.match(A),r="";n&&(r=n[0],e=e.slice(r.length)),0===t.indexOf("/")&&(e="");var o=e.split("/");o.pop();for(var a=t.split("/");a.length;){var i=a.shift();""!==i&&"."!==i&&(".."!==i?o.push(i):o.pop())}return r+o.join("/")},M=function(e,t){var n={},r=(t[e+".json"]||{}).usingComponents;for(var o in r)n["wx-"+o]=D(e,String(r[o]));return n},R=t.getDomainByPluginId=function(e,t){return e+"/"+t},N=function(e,t,n){var r=t.match(/^plugin-private:\/\/(.*?)\//);if(!r)return!1;var o=r[1];if(R(o,"0")!==e)return!1;var a=n.match(/^plugin:\/\/(.*?)\//);if(!a)return!1;var i=a[1];return R(i,"0")===e&&(exparser.Component._list[n]?(console.error('"'+n+'" has been used as another component or page. Please do not register multiple components or pages with the same alias.'),!1):(exparser.Component._list[n]=exparser.Component._list[t],v[n]=t,!0))},L=(t.publishDomainComponents=function(e,t){for(var n in t)N(e,t[n],n)},function e(t,n,r){if("wx://"!==n.slice(0,5)){var o=_[n];if(!o)throw new Error('"'+n+'" is not a behavior registered by Behavior()');t[0].unshift(o),r[n]=!0;var a=T[o.is];if(a)for(var i=0;i<a.length;i++){var s=a[i];r[s]||e(t,s,r)}}}),B=function e(t,n,r,o){O.call(v,n)&&(n=v[n]);var a=w[n];if(!a)throw new Error('Component is not found in path "'+n+'"'+(o?' (using by "'+o+'")':""));"wx://"!==n.slice(0,5)&&t[1].unshift(a),r[n]=!0;var i=S[a.is],s=C[a.is];for(var c in i){var u=i[c];r[u]||e(t,u,r,n)}for(var l in s){var d=s[l].default;d&&(r[d]||e(t,d,r,n))}var f=T[a.is];if(f)for(var p=0;p<f.length;p++){var h=f[p];r[h]||L(t,h,r)}},j=function(e,t){var n={};for(var r in e.properties){var o=e.properties[r];null===o?n[r]={type:null}:o===Number||o===String||o===Boolean||o===Object||o===Array?n[r]={type:o.name}:(void 0===o.public||o.public)&&(n[r]={type:null===o.type?null:o.type.name,value:o.value})}return{is:e.is,using:e.using,generics:e.generics,behaviors:e.behaviors,data:e.data,properties:n,externalClasses:e.externalClasses,template:t,options:{domain:e.options.domain,writeOnly:e.options.writeOnly||void 0,multipleSlots:e.options.multipleSlots||void 0,writeIdToDOM:e.options.writeIdToDOM||void 0,addGlobalClass:e.options.addGlobalClass||void 0}}},F=function(e){if(e.behaviors){for(var t=[],n=0;n<e.behaviors.length;n++){var r=String(e.behaviors[n]);if("/"!==r[0]&&"wx://"!==r.slice(0,5))throw new Error("Behaviors should be constructed with Behavior()");t.push(r)}e.behaviors=t,T[e.is]=t}else e.behaviors=null},U=(t.Behavior=function(e){var t="/"+P+++"/"+(0,l.guid)(),n={};for(var r in e)n[r]="data"===r?(0,y.deepCopy)(e[r]):e[r];return n.is=t,F(n),n.options=I,_[t]=j(n),n.definitionFilter=exparser.Behavior.callDefinitionFilter(n),exparser.registerBehavior(n),n.is},function(e){return exparser.Component.getComponentOptions(e).domain.split("/",1)[0]}),W=function(e){return b.get(e)},V=function(e,t,n){var r=exparser.Component.getComponentOptions(t).domain,o=exparser.Component.getMethod(t,"__export__"),a=r===e?exparser.Element.getMethodCaller(t):null;if(o){var i=r===e?n:null,s=o.call(exparser.Element.getMethodCaller(t),i);return void 0===s?a:s}return a},q=function(t,e,n){var r=W(t),o=exparser.Component.getComponentOptions(r).domain,a=r.shadowRoot;if(n)return a.querySelectorAll(e).map(function(e){return V(o,e,t)});var i=a.querySelector(e);return i?V(o,i,t):null},K=function(e,t,n){e!==z&&Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})};function H(){}var z=H.prototype=Object.create(Object.prototype,{is:{get:function(){return W(this).is},set:function(e){K(this,"is",e)}},id:{get:function(){var e=W(this);return exparser.Component.getComponentOptions(e).writeOnly?"":e.id},set:function(e){K(this,"id",e)}},dataset:{get:function(){var e=W(this);return exparser.Component.getComponentOptions(e).writeOnly?null:e.dataset},set:function(e){K(this,"dataset",e)}},properties:{get:function(){return this.__data__},set:function(e){K(this,"properties",e)}},data:{get:function(){return this.__data__},set:function(e){K(this,"data",e)}},setData:{get:function(){return function(e,t){var n=W(this),r=n.__treeManager__;return"function"==typeof t&&r.layoutReadyFuncs.push(t.bind(this)),n.setData(e)}},set:function(e){K(this,"setData",e)}},groupSetData:{get:function(){return function(e){var t=W(this).__treeManager__;t.operationFlow.start(Date.now()),t.operationFlow.push([u.SYNC_EVENT_NAME.FLOW_GROUP]);var n=null;try{e.call(this)}catch(e){n=e}if(t.operationFlow.push([u.SYNC_EVENT_NAME.FLOW_GROUP_END]),t.operationFlow.end(),n)throw n}},set:function(e){K(this,"setData",e)}},replaceDataOnPath:{get:function(){var n=this;return function(e,t){return W(n).replaceDataOnPath(e,t)}},set:function(e){K(this,"replaceDataOnPath",e)}},mergeDataOnPath:{get:function(){var n=this;return function(e,t){return W(n).mergeDataOnPath(e,t)}},set:function(e){K(this,"mergeDataOnPath",e)}},applyDataUpdates:{get:function(){var e=this;return function(){return W(e).applyDataUpdates()}},set:function(e){K(this,"applyDataUpdates",e)}},hasBehavior:{get:function(){var t=this;return function(e){return W(t).hasBehavior(e)}},set:function(e){K(this,"hasBehavior",e)}},triggerEvent:{get:function(){var r=this;return function(e,t,n){return W(r).triggerEvent(e,t,n)}},set:function(e){K(this,"triggerEvent",e)}},createSelectorQuery:{get:function(){var e=this;return function(){return __appServiceSDK__._createSelectorQuery({},U(W(e))).in(e)}},set:function(e){K(this,"createSelectorQuery",e)}},createIntersectionObserver:{get:function(){var t=this;return function(e){return __appServiceSDK__._createIntersectionObserver(t,e,U(W(t)))}},set:function(e){K(this,"createIntersectionObserver",e)}},selectComponent:{get:function(){var n=this;return function(e){var t=W(n);return exparser.Component.getComponentOptions(t).writeOnly?null:q(n,e,!1)}},set:function(e){K(this,"selectComponent",e)}},selectAllComponents:{get:function(){var n=this;return function(e){var t=W(n);return exparser.Component.getComponentOptions(t).writeOnly?[]:q(n,e,!0)}},set:function(e){K(this,"selectAllComponents",e)}},getRelationNodes:{get:function(){var r=this;return function(e){return t=e,null===(n=W(r).getRelationNodes(t))?null:n.map(function(e){return exparser.Element.getMethodCaller(e)});var t,n}},set:function(e){K(this,"getRelationNodes",e)}},getTabBar:{get:function(){return function(){var e=W(this).__treeManager__;return e.tabDestroyed||!e.tabRoot?null:exparser.Element.getMethodCaller(e.tabRoot)}},set:function(e){K(this,"getTabBar",e)}}}),G=function(e,t){e.using=S[e.is]=M(e.is,t),e.generics=C[e.is]=function(e,t){var n={},r=(t[e+".json"]||{}).componentGenerics;for(var o in r){var a=r[o];"object"===(void 0===a?"undefined":s(a))?n["wx-"+o]={default:D(e,String(a.default||""))}:null!=a&&(n["wx-"+o]={})}return n}(e.is,t),F(e);var n=e.is+".wxml";e.template={func:t[n]||null},w[e.is]=j(e,n);var r=exparser.registerElement(e),o=Object.create(z,{constructor:{value:H}});exparser.Behavior.prepare(r.behavior);var a=r.behavior.methods;for(var i in a)o[i]=a[i];return o},Y=(t.Component=function t(e,n,r,o){var a=o||__wxAppCurrentFile__,i=r||__wxAppCode__,s=i[a+"on"];if(a&&s){if(s.component&&"simple"===s.component.type){var c=a.slice(0,-3);return u=e,d=n,f={is:l=c,using:M(l,i),properties:u.properties,externalClasses:u.externalClasses,options:m},p=u.options||{},f.options=m,f.options.multipleSlots=p.multipleSlots||!1,f.options.writeOnly=!0,f.options.writeIdToDOM=!1,f.options.domain="simple://"+(d||"/"),f.options.addGlobalClass=p.addGlobalClass||!1,w[l]=j(f,l+".wxml"),f.is,c}var u,l,d,f,p,h=exparser.Behavior.callDefinitionFilter(e),g={is:a.slice(0,-3),properties:e.properties,data:(0,y.deepCopy)(e.data),methods:e.methods,behaviors:e.behaviors,lifetimes:e.lifetimes,pageLifetimes:e.pageLifetimes,created:e.created,attached:e.attached,ready:e.ready,moved:e.moved,detached:e.detached,saved:e.saved,restored:e.restored,relations:e.relations?function(e,t){for(var n in t){var r=t[n];r.target=null!=r.target?String(r.target):D(e,String(n))}return t}(a,e.relations):void 0,externalClasses:e.externalClasses,definitionFilter:h,options:m,initiator:function(){this.__customConstructor__=t;var e=Object.create(_);b.set(e,this),exparser.Element.setMethodCaller(this,e),Object.defineProperties(e,{__viewData__:{value:this.data,writable:!0,enumerable:!1},__data__:{value:(0,y.deepCopy)(this.data,!1),writable:!0,enumerable:!1},__wxWebviewId__:{value:this.__treeManager__.viewId,writable:!0,enumerable:!1}})}},v=e.options||{};g.options=m,g.options.multipleSlots=v.multipleSlots||!1,g.options.writeOnly=v.writeOnly||!1,g.options.writeIdToDOM=v.addGlobalId||!1,g.options.domain=(v.writeOnly?"wo://":"")+(n||"/"),g.options.addGlobalClass=v.addGlobalClass||!1;var _=G(g,i);return g.is}console.error("Component constructors should be called while initialization. A constructor call has been ignored.")},t.Page=function t(e,n,r,o){var a=o||__wxAppCurrentFile__;if(a){var i=r||__wxAppCode__,s=Object.create(null),c=Object.create(null);for(var u in e)"data"!==u&&("function"==typeof e[u]?c[u]=e[u]:s[u]=e[u]);var l={is:a.slice(0,-3),data:(0,y.deepCopy)(e.data),methods:c,options:m,initiator:function(){this.__customConstructor__=t;var e=Object.create(d);b.set(e,this),exparser.Element.setMethodCaller(this,e),Object.defineProperties(e,{__viewData__:{value:this.data,writable:!0,enumerable:!1},__data__:{value:(0,y.deepCopy)(this.data,!1),writable:!0,enumerable:!1},__wxWebviewId__:{value:this.__treeManager__.viewId,writable:!0,enumerable:!1}})}};l.options.multipleSlots=!1,l.options.writeOnly=!1,l.options.writeIdToDOM=!0,l.options.domain=n||"/",l.options.addGlobalClass=!1;var d=G(l,i);return d.__freeData__=s,l.is}console.error("Page constructors should be called while initialization. A constructor call has been ignored.")},t.getNodeById=function(e,t){if((0,a.isDataThread)()){var n=o.default.get(t);return n?n.nodeId.getNodeById(e):null}return o.default.instance?o.default.instance.nodeId.getNodeById(e):null},t.getNodeId=function(e,t){return(0,a.isDataThread)()?o.default.get(t).nodeId.getNodeId(e):o.default.instance?o.default.instance.nodeId.getNodeId(e):""},t.getRootNodeId=function(e){if((0,a.isDataThread)()){var t=o.default.get(e);return t?t.rootNodeId:""}return o.default.instance.rootNodeId},function(e){var t=e.operationFlow.iterator;if(t.expectStart(),t.nextStepType()===u.SYNC_EVENT_NAME.FLOW_INITIAL_CREATION)J(e,!1);else if(t.nextStepType()===u.SYNC_EVENT_NAME.FLOW_CREATE_TAB)J(e,!0);else{var n=t.nextStep();if(n[0]===u.SYNC_EVENT_NAME.FLOW_UPDATE){var r=e.nodeId.getNodeById(n[1]),o=n[2];r&&o.length&&(exparser.Component.getDataProxy(r).setChanges(o),r.applyDataUpdates())}else{if(n[0]!==u.SYNC_EVENT_NAME.FLOW_GROUP)throw new Error("Framework inner error (expect FLOW_UPDATE or FLOW_GROUP but get another)");if(t.nextStep()[0]!==u.SYNC_EVENT_NAME.FLOW_GROUP_END)throw new Error("Framework inner error (expect FLOW_GROUP_END but get another)")}}t.expectEnd()}),J=function(e,t){var n=e.operationFlow.iterator,r=n.nextStep(),o=r[1],a=r[2],i=null;if(i=t?(e.tabNodeId=a,window.__TAB_BAR__=exparser.createElement("tab-bar",exparser.Component._list[o])):(e.rootNodeId=a,window.__DOMTree__=exparser.createElement("body",exparser.Component._list[o])),e.nodeId.allocNodeId(i,a),i.setAttribute("is",o),x.default.restoring){var s=x.default.idDataMap[e.nodeId.getNodeId(i)];exparser.Component.replaceWholeData(i,s),x.default.callRestoredLifeTimes(x.default.restoring),x.default.restoring=null,x.default.idDataMap=null}if((r=n.nextStep())[0]!==(t?u.SYNC_EVENT_NAME.FLOW_CREATE_TAB:u.SYNC_EVENT_NAME.FLOW_INITIAL_CREATION))throw new Error("Framework inner error (expect FLOW_INITIAL_CREATION but get another)");if(e.nodeId.addNode(i),t){var c=exparser.createElement("wx-tab-bar-wrapper",exparser.Component._list["wx://tab-bar-wrapper"]);c.appendChild(i),document.documentElement.insertBefore(c.$$,document.body),exparser.Element.pretendAttached(c)}else document.body=i.$$,exparser.Element.pretendAttached(i)},X=(t.initViewThread=function(){i.default.setStartOperation(Y),o.default.instance=new o.default(0)},{String:String,Number:Number,Boolean:Boolean,Object:Object,Array:Array,null:null}),Q=function(e,t){t||x.default.registerSavingListener();for(var n=k(e,4),r=n[0],o=n[1],a=n[2],i=n[3],s=0;s<r.length;s++){var c=r[s];c.options=I,exparser.registerBehavior(c)}for(var u=[],l=0;l<o.length;l++)u.push(o[l].is);for(var d=function(e,t){for(var n={},r={},o=[],a=0;a<e.length;a++){var i=e[a],s=r[i]=i.split(/[^a-z0-9]+/i),c=s[s.length-1];O.call(n,c)?(n[c].push(i),o.push(c)):n[c]=[i]}for(var u=2;o.length;u++){var l=o;o=[];for(var d=0;d<l.length;d++){var f=l[d];if(O.call(n,f)){var p=n[f];delete n[f];for(var h=0;h<p.length;h++){var g=p[h],v=r[g].slice(-u).join("-");O.call(n,v)?(n[v].push(g),v!==f&&o.push(v)):n[v]=[g]}}}}var _={};for(var y in n){var m=n[y],b=0<=Number(y[0])?"x-"+y:y;if(1===m.length)_[m[0]]=t+b;else for(var w=0;w<m.length;w++)_[m[w]]=t+b+"-"+w}return _}(u,t?"custom-tab-bar-":""),f=wx.getPlatform(),p=0;p<o.length;p++){var h=o[p];for(var g in h.properties)h.properties[g].type=X[h.properties[g].type];var v=h.is!==a||t?d[h.is]:"",_=h.options,y=!(!_.writeIdToDOM&&(h.is!==a||t));if(h.options=E,h.options.classPrefix=v,h.options.multipleSlots=_.multipleSlots||!1,h.options.writeOnly=_.writeOnly||!1,h.options.writeIdToDOM=y,h.options.domain=_.domain,h.options.addGlobalClass=_.addGlobalClass||!1,h.template={func:__wxAppCode__[h.template]},"ios"===f){var m=!1;for(var b in h.using)if("wx-"!==b.slice(0,3)){m=!0;break}if(m){var w={};for(var S in h.using)w["wx-"+S]=h.using[S];h.using=w}}exparser.registerElement(h);var C=__wxAppCode__[h.is+".wxss"];C&&(h.is!==a||t)&&C(v&&v+"--",{allowIllegalSelector:y})}for(var T in null==i&&(i={}),i)exparser.Component._list[T]=exparser.Component._list[i[T]]},$=!1,Z=null,ee=null;(0,a.setDataListener)(u.SYNC_EVENT_NAME.COMPONENT_DEF,function(e){$?Q(e,!1):Z=e},0),(0,a.setDataListener)(u.SYNC_EVENT_NAME.COMPONENT_DEF_TAB,function(e){$?Q(e,!0):ee=e},0);t.runComponentDef=function(){$=!0,ne(),Z&&(Q(Z,!1),Z=null),ee&&(Q(ee,!0),ee=null)};var te=!1,ne=t.sendTabBarCreationRequest=function(){te||(te=!0,(0,a.sendData)(u.SYNC_EVENT_NAME.REQUEST_TAB,[]))},re=function(e,t,n){var r=!0,o=__wxConfig.tabBar&&__wxConfig.tabBar.list;o instanceof Array&&(0<=o.map(function(e){return e&&e.pagePath}).indexOf(t+".html")&&(r=!1));r&&(e.tabDestroyed=!0,(0,a.sendData)(u.SYNC_EVENT_NAME.DESTROY_TAB,[],n))};(0,a.isDataThread)()||(0,a.setDataListener)(u.SYNC_EVENT_NAME.DESTROY_TAB,function(){window.__TAB_BAR__&&(window.__TAB_BAR__.parentNode.$$.style.display="none")},0);var oe=function(e,t){var n=!1;if(__wxConfig.tabBar&&!0===__wxConfig.tabBar.custom&&(n=!0),n){var r=o.default.get(e)||o.default.create(e);r.tabRoot||(!function(e,t,n){var r=[[],[],n=(0,c.convertRouteToComponentAlias)(n),{}];B(r,n,Object.create(null),""),(0,a.sendData)(u.SYNC_EVENT_NAME.COMPONENT_DEF_TAB,r,e),t.tabCompName=n,t.tabNodeId=(0,l.guid)(),t.operationFlow.start(),t.operationFlow.push([u.SYNC_EVENT_NAME.FLOW_CREATE_TAB,n,t.tabNodeId]);var o=exparser.createElement("tab-bar",exparser.Component._list[n],t);t.tabRoot=o,t.tabUsedDef=r,exparser.Element.getMethodCaller(o).__wxExparserNodeId__=t.nodeId.allocNodeId(o,t.tabNodeId),t.operationFlow.push([u.SYNC_EVENT_NAME.FLOW_CREATE_TAB]),t.nodeId.addNode(o)}(e,r,"custom-tab-bar/index"),exparser.Element.pretendAttached(r.tabRoot),r.operationFlow.end(),t&&(0,a.sendData)(u.SYNC_EVENT_NAME.FLUSH_BLOCKED,[],e),r.rootCompName&&re(r,r.rootCompName,e))}};(0,a.isDataThread)()?(0,a.setDataListener)(u.SYNC_EVENT_NAME.REQUEST_TAB,function(e,t,n){__wxConfig.onReady(function(){oe(n,!0)})},"$GLOBAL"):(0,a.setDataListener)(u.SYNC_EVENT_NAME.FLUSH_BLOCKED,function(){o.default.instance.operationFlow.flushBlocked()},0);t.addView=function(e,t){var i,s,n=o.default.get(e)||o.default.create(e);return n.operationFlow.unblock(),oe(e,!1),re(n,t,e),i=e,s=n,(0,a.setDataListener)(u.SYNC_EVENT_NAME.WX_EVENT,function(e){var t=e[2],n=e[1],r=s.nodeId.getNodeById(e[0]);if(r){var o=exparser.Element.getMethodCaller(r);if(t._requireActive){var a=__appServiceEngine__.getCurrentPagesByDomain("");if(a[a.length-1].__wxWebviewId__!==i)return}t._relatedInfo&&__appServiceEngine__.DisplayReporter.setEventRelatedInfo(t._relatedInfo),"function"!=typeof o[n]?console.warn('Component "'+r.is+'" does not have a method "'+n+'" to handle event "'+t.type+'".'):(__appServiceSDK__.setWxInterfaceIsInvokeInTap(t.type),exparser.safeCallback("Event Handler",o[n],o,[t],r),__appServiceSDK__.unsetWxInterfaceIsInvokeInTap())}},i),(0,a.setDataListener)(u.SYNC_EVENT_NAME.LAYOUT_READY,function(){var e=s.layoutReadyFuncs;s.layoutReadyFuncs=[];for(var t=0;t<e.length;t++)e[t]()},i),(0,a.setDataListener)(u.SYNC_EVENT_NAME.REQUEST_SAVE,function(e){var t=k(e,1)[0];(0,d.saveView)(i,t)},i),(0,a.setDataListener)(u.SYNC_EVENT_NAME.CALL_METHOD_FROM_WXS,function(e){(0,h.callMethodFromWxsCallback)(e)},i),function(e,t,n){var r=[[],[],n=(0,c.convertRouteToComponentAlias)(n),v];B(r,n,Object.create(null),""),(0,a.sendData)(u.SYNC_EVENT_NAME.COMPONENT_DEF,r,e),(0,f.sendBannedMap)(e),t.rootCompName=n,t.rootNodeId=(0,l.guid)(),t.operationFlow.start(),t.operationFlow.push([u.SYNC_EVENT_NAME.FLOW_INITIAL_CREATION,n,t.rootNodeId]);var o=exparser.createElement("body",exparser.Component._list[n],t);return(0,p.reportPluginNodeCreation)(o,t),t.root=o,t.usedDef=r,exparser.Element.getMethodCaller(o).__wxExparserNodeId__=t.nodeId.allocNodeId(o,t.rootNodeId),t.operationFlow.push([u.SYNC_EVENT_NAME.FLOW_INITIAL_CREATION]),t.nodeId.addNode(o),o}(e,n,t)},t.attachView=function(e){var t=o.default.get(e);t&&(exparser.Element.pretendAttached(t.root),t.root.__treeManager__.operationFlow.end())},t.removeView=function(e){var t=o.default.get(e);t&&(exparser.Element.pretendDetached(t.root),o.default.destroy(e),(0,a.removeDataListeners)(e))}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.PATCH_TYPE={NONE:0,TEXT:1,VNODE:2,PROPS:3,REORDER:4,INSERT:5,REMOVE:6,EXTRA_DATA:7},t.WX_KEY="wxKey",t.RPX_RATE=20,t.BASE_DEVICE_WIDTH=750,t.INLINE_STYLE=["placeholderStyle","hoverStyle","style"],t.SYNC_EVENT_NAME={WX_EVENT:11,REQUEST_SAVE:12,COMPONENT_DEF:21,SAVE_STATE:22,RESTORE_STATE:23,LAYOUT_READY:31,FLUSH_BLOCKED:43,FLOW_GROUP:41,FLOW_GROUP_END:42,FLOW_DEPTH:2,FLOW_INITIAL_CREATION:3,FLOW_UPDATE:6,FLOW_APPLY_PROPERTY:4,FLOW_MINIPULATE_CHILD:7,FLOW_CREATE_NODE:5,FLOW_REPEAT:9,REQUEST_TAB:51,COMPONENT_DEF_TAB:52,FLOW_CREATE_TAB:53,DESTROY_TAB:54,REQUEST_BROADCAST_VIEW_ID:61,RESPONSE_BROADCAST_VIEW_ID:62,BANNING_MAP:90,CALL_METHOD_FROM_WXS:50}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={},a=-1,i=null,n=!1,r=t.isDataThread=function(){return void 0!==__virtualDOMDataThread__&&__virtualDOMDataThread__},s=(t.inDevtoolsWebview=function(){return n},t.setInDevtoolsWebView=function(){n=!0},null),c=null,u=null,l=function(){(s=r()?__appServiceSDK__._virtualDOMTunnel:__webViewSDK__._virtualDOMTunnel).onVdSync(function(e,t){f(e,t)}),s.onVdSyncBatch(function(e,t){for(var n=0;n<e.length;n++)f(e[n],t)})};r()&&"undefined"!=typeof __clientsubcontext&&__clientsubcontext?__subContextEngine__.onInitReady(l):l();t.queueSendingData=function(e,t,n){n!==u&&d(),u=n,c?c.push([e].concat(t)):c=[[e].concat(t)]};var d=t.flushSendingData=function(){c&&s.vdSyncBatch(c,void 0!==u?[u]:void 0),u=c=null},f=(t.sendData=function(e,t,n){s.vdSync([e].concat(t),void 0!==n?[n]:void 0)},t.setDataListener=function(e,t,n){if(""===e)return i=t,void(0<=a&&i(a));o[n=n||0]||(o[n]={}),o[n][e]=t},t.removeDataListeners=function(e){delete o[e]},function(e,t){var n=e.shift();if(""===n)return a=t,void(i&&i(t));var r=null;o[t=t||0]&&(r=o[t][n]),!r&&o.$GLOBAL&&(r=o.$GLOBAL[n]),r&&r(e,n,t)})},function(e,d,m){(function(r){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.Tmpl=void 0;var t=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),f=m(2),s=e(m(5)),c=e(m(25)),p=m(6),h=m(3),g=m(26),v=m(27),_=e(m(14)),a=e(m(9));function e(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o={tag:"shadow",children:[]},i=function t(e){if((0,p.isString)(e)||Number(e)===e&&Number(e)%1==0)return new c.default(String(e));var n=[];e.children.forEach(function(e){n.push(t(e))});var r,o,a,i="wx-slot"===e.tag?"slot":e.tag;return o=e,a=n,"wx-slot"===(r=i)&&(r="slot"),new s.default(r,o,a)},y=function(e,t){var n=e?e(t,null,r):o;return n.tag="shadow",i(n)},u=d.Tmpl=function(){function e(){n(this,e)}return t(e,[{key:"createInstance",value:function(e,t){var n=new l,r=t;if((0,h.isDataThread)()||(r=a.default.instance),n._generateFunc=this._generateFunc,n.data=(0,v.deepCopy)(this._initValues),n.idMap=Object.create(null),n.slots=Object.create(null),_.default.restoring){if(_.default.compIdArrIndex>=_.default.compIdArr.length)throw new Error("Component count unmatched while page recovering");r.nodeId.allocNodeId(e,_.default.compIdArr[_.default.compIdArrIndex++]);var o=_.default.idDataMap[r.nodeId.getNodeId(e)];n._virtualTree=y(this._generateFunc,o)}else n._virtualTree=this._virtualTree;return n.shadowRoot=n._virtualTree.render(e,null,t),function e(t,n,r){for(var o=t.childNodes,a=0;a<o.length;a++){var i=o[a];i instanceof exparser.TextNode||(i.__id&&(n[i.__id]=i),void 0!==i.__slotName&&(r[i.__slotName]=i),e(i,n,r))}}(n.shadowRoot,n.idMap,n.slots),n.listeners=[],this._isSimpleComponent||(e.__component__=!0),(0,h.isDataThread)()&&(e.__treeManager__=r,(n.shadowRoot.__treeManager__=r).layoutReadyFuncs.push(function(){e.triggerLifeTime("ready")})),n}}]),e}();u.create=function(e,t,n){var r=new u;return r._initValues=t,r._data=t,r._generateFunc=e.template.func,r._virtualTree=y(r._generateFunc,r._data),r._isSimpleComponent="simple://"===n.domain.slice(0,9),r};var l=function(){function e(){n(this,e)}return t(e,[{key:"updateValues",value:function(e,t,n,r,o,a){if(!_.default.restoring){var i=null;if(!a&&(0,h.isDataThread)()){(i=e.__treeManager__).operationFlow.start(Date.now());var s=[];o.forEach(function(e){void 0!==e[2]?s.push(e):console.error('Setting data field "'+e[1].join(".")+'" to undefined is invalid.')}),i.operationFlow.push([f.SYNC_EVENT_NAME.FLOW_UPDATE,i.nodeId.getNodeId(e),(0,v.deepCopy)(s)]),(0,g.mergeData)(exparser.Element.getMethodCaller(e).__data__,s,r,!1)}else(0,h.isDataThread)()&&(0,g.mergeData)(exparser.Element.getMethodCaller(e).__data__,o,r,!0);var c=!(0,p.getWxmlVersionTag)("propValueDeepCopy"),u=(0,g.mergeDataWithSpec)(t,o,!0,!1,c),l=y(this._generateFunc,u);(0,g.mergeDataWithSpec)(t,o,!1,!a,!1);var d=this._virtualTree.diff(l);this._virtualTree=l,d.apply(this.shadowRoot),!a&&(0,h.isDataThread)()&&i.operationFlow.end()}}}]),e}()}).call(d,function(){return this}())},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),u=n(2),s=n(6),l=n(7),o=n(19),d=n(24),c=a(n(25)),f=n(3),p=a(n(9)),h=n(13),g=a(n(14));function a(e){return e&&e.__esModule?e:{default:e}}var i=function(){function i(e,t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),this.tagName=e||"",this.props=t.attr||{},this.specProps=t.raw||{},this.children=n||[],this.newProps=t.n||[],this.wxVkey=t.wxVkey,this.wxXCkey=t.wxXCkey,this.generics=t.generics,(0,f.isDataThread)()||(this.extraAttr=t.extraAttr,this.wxScopeData=t.wxScopeData);var r=t.wxKey;(0,s.isUndefined)(r)||(0,s.isNull)(r)?this.wxKey=void 0:this.wxKey=String(r);for(var o=this.descendants=0;o<this.children.length;++o){var a=this.children[o];(0,s.isVirtualNode)(a)?this.descendants+=a.descendants:(0,s.isString)(a)?this.children[o]=new c.default(a):(0,s.isVirtualText)(a)||console.log("invalid child",e,this.props,n,a),++this.descendants}}return r(i,[{key:"render",value:function(e,n,r){var o=null;if("shadow"===this.tagName)n=o=exparser.ShadowRoot.create(e);else if("virtual"===this.tagName){var t="virtual";1===this.wxXCkey||3===this.wxXCkey?t="wx:if":2!==this.wxXCkey&&4!==this.wxXCkey||(t="wx:for"),o=exparser.VirtualNode.create(t),exparser.Element.setInheritSlots(o),(0,f.isDataThread)()?o.__treeManager__=r:o.__wxVkey__=this.wxVkey}else if("slot"===this.tagName)o=exparser.VirtualNode.create("slot"),exparser.Element.setSlotName(o,"");else{var a=n.tagNameUsed(this.tagName);(0,f.isDataThread)()&&!a?(o=exparser.VirtualNode.create(this.tagName)).__treeManager__=r:(o=n.createComponent(this.tagName,void 0,this.generics,r),(0,f.isDataThread)()&&(0,d.reportPluginNodeCreation)(o,r))}if(3!==this.wxXCkey&&4!==this.wxXCkey||(o.__wxDynamicSync__=4===this.wxXCkey?"wx:for":"wx:if"),!(0,f.isDataThread)()){if(this.extraAttr)for(var i in this.extraAttr)o.setAttribute(i,this.extraAttr[i]);void 0!==this.wxScopeData&&(o.__wxScopeData__=this.wxScopeData)}if(o.__component__)if((0,f.isDataThread)())exparser.Element.getMethodCaller(o).__wxExparserNodeId__=r.nodeId.allocNodeId(o,""),r.operationFlow.push([u.SYNC_EVENT_NAME.FLOW_CREATE_NODE,r.nodeId.getNodeId(o)]);else{if(r=p.default.instance,g.default.restoring){var s=g.default.idDataMap[r.nodeId.getNodeId(o)];exparser.Component.replaceWholeData(o,s)}else{var c=r.operationFlow.iterator.nextStep();if(c[0]!==u.SYNC_EVENT_NAME.FLOW_CREATE_NODE)throw new Error("Framework inner error (expect FLOW_CREATE_NODE but get another)");r.nodeId.allocNodeId(o,c[1])}(0,f.inDevtoolsWebview)()&&o.setAttribute("exparser:info-custom-component",o.__componentInstanceId),(0,h.checkAndBanComponent)(o),o.setAttribute("is",o.is)}return(0,l.applyProperties)(o,this.props,this.specProps),this.children.forEach(function(e){var t=e.render(null,n,r);o.appendChild(t)}),o}},{key:"diff",value:function(e){return(0,o.diff)(this,e)}}]),i}();i.prototype.type="WxVirtualNode",t.default=i},function(e,o){(function(n){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};o.isObject=function(e){return"object"===(void 0===e?"undefined":t(e))&&null!==e},o.isEmptyObject=function(e){for(var t in e)return!1;return!0},o.isVirtualNode=function(e){return e&&"WxVirtualNode"===e.type},o.isVirtualText=function(e){return e&&"WxVirtualText"===e.type},o.isUndefined=function(e){return"[object Undefined]"===Object.prototype.toString.call(e)},o.isNull=function(e){return"[object Null]"===Object.prototype.toString.call(e)},o.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},o.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},o.getPrototype=function(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__?e.__proto__:e.constructor?e.constructor.prototype:void 0},o.getDataType=function(e){return Object.prototype.toString.call(e).split(" ")[1].split("]")[0]},o.getPageConfig=function(){var e={};if(window.__wxConfig&&window.__wxConfig.window)e=window.__wxConfig.window;else{var t={};window.__wxConfig&&window.__wxConfig.global&&window.__wxConfig.global.window&&(t=window.__wxConfig.global.window);var n={};window.__wxConfig&&window.__wxConfig.page&&window.__wxConfig.page[window.__route__]&&window.__wxConfig.page[window.__route__].window&&(n=window.__wxConfig.page[window.__route__].window),e=r({},t,n)}return e},o.getWxmlVersionTag=function(e){var t=("undefined"==typeof window?n:window).__wcc_version_info__;if(t)return t[e]},o.guid=function(){return Math.floor(4294967296*(1+Math.random())).toString(16).slice(1)},o.dfsComponents=function e(t,n,r){t instanceof exparser.Component&&(0<n&&r(t),n&&t.shadowRoot instanceof exparser.Element&&e(t.shadowRoot,n,r),n<0&&r(t));for(var o=t.childNodes,a=0;a<o.length;a++)o[a]instanceof exparser.Element&&e(o[a],n,r)}}).call(o,function(){return this}())},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyProperties=void 0;var w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S=n(2),C=n(8),T=n(3),r=o(n(9)),k=n(12),x=n(13),I=o(n(14)),E=n(16);function o(e){return e&&e.__esModule?e:{default:e}}var P=void 0!==wx&&wx.transformRpx,a=exparser.Component.getComponentOptions,i=function(e){return(0,T.isDataThread)()&&e instanceof exparser.Component?r.default.get(e.__wxWebviewId__).nodeId.getNodeById(e.__wxExparserNodeId__):e},h=function(e,t,n){var r=i(e);return n&&r instanceof exparser.VirtualNode&&(r.id||Object.getOwnPropertyNames(r.dataset).length||(r=i(n))),{id:t?"":r.id,offsetLeft:r.$$&&!t?r.$$.offsetLeft:0,offsetTop:r.$$&&!t?r.$$.offsetTop:0,dataset:t?{}:r.dataset}},g=function(e,t,n){var r=i(e);return n&&r instanceof exparser.VirtualNode&&(r.id||Object.getOwnPropertyNames(r.dataset).length||(r=i(n))),{id:t?"":r.id,dataset:t?{}:r.dataset}},v=function(e){if(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push({identifier:r.identifier,pageX:r.pageX,pageY:r.pageY,clientX:r.clientX,clientY:r.clientY,force:r.force||0})}return t}},A=function(c,u,l,e,d,t,f){var p=t?"__wxEventCaptureHandleName":"__wxEventHandleName";u[p]||(u[p]=Object.create(null)),void 0===u[p][l]&&u.addListener(l,function(e){var t=u[p][l];if(t){e._hasListeners=!0;var n=u.ownerShadowRoot;if(n){var r=n.getHostNode(),o=exparser.Component.getComponentOptions(r).writeOnly;if(!o||e._allowWriteOnly)if((0,T.isDataThread)()){if(f&&"function"==typeof t)return void console.warn('Appservice can not use wxs function to handle event "'+e.type+'".');var a=exparser.Element.getMethodCaller(r);"function"!=typeof a[t]?console.warn('Component "'+r.is+'" does not have a method "'+t+'" to handle event "'+e.type+'".'):a[t]({type:e.type,timeStamp:e.timeStamp,target:g(e.target,o,this),currentTarget:g(this,o,null),detail:e.detail,touches:e.touches,changedTouches:e.changedTouches,_requireActive:e._requireActive})}else if(f)if("function"==typeof t&&(0,E.getWxsGdc)()){(s={type:e.type,timeStamp:e.timeStamp,target:h(e.target,o,this),currentTarget:h(this,o,null),detail:e.detail,touches:v(e.touches),changedTouches:v(e.changedTouches)}).instance=(0,E.getWxsHandlerInstance)(u);var i=t((0,E.wxsDeepCopy)(s,!0),(0,E.wxsDeepCopy)((0,E.getWxsHandlerInstance)(u,!0),!0));if((0,E.triggerPageRerender)(),!1===i)return i}else console.warn('Component "'+r.is+'" does not have a wxs function to handle event "'+e.type+'".');else{var s={type:e.type,timeStamp:e.timeStamp,target:h(e.target,o,this),currentTarget:h(this,o,null),detail:e.detail,touches:v(e.touches),changedTouches:v(e.changedTouches),_requireActive:e._requireActive,_relatedInfo:e._relatedInfo};(0,T.sendData)(S.SYNC_EVENT_NAME.WX_EVENT,[c.nodeId.getNodeId(r),t,s])}}return!d&&void 0}},{capture:t}),u[p][l]=f?e:null==e?"":String(e)};t.applyProperties=function(p,h,g){var v=(0,T.isDataThread)()?p.__treeManager__:r.default.instance;p.dataset=p.dataset||{};var _=!1,y=p instanceof exparser.Component,m=y&&"//"===a(p).domain,b=exparser.Component.getDataProxy(p),e=function(e){var t=h[e],n=null;if("slot"===p.is&&p instanceof exparser.VirtualNode&&"name"===e)return exparser.Element.setSlotName(p,t),"continue";if("id"===e)return p.id=null==t?"":t,"continue";if("slot"===e)return p.slot=null==t?"":t,"continue";if(y&&"class"===e)return p.class=p.__wxsClass?(0,E.joinClassOrStyle)(" ",null==t?"":t,p.__wxsClass):null==t?"":t,"continue";if(y&&"style"===e){if(p.$$){var r="";if(p.__animationStyle){var o=p.__animationStyle,a={transition:o.transition,transform:o.transform,transitionProperty:o.transitionProperty,transformOrigin:o.transformOrigin};a["-webkit-transition"]=a.transition,a["-webkit-transform"]=a.transform,a["-webkit-transition-property"]=a.transitionProperty,a["-webkit-transform-origin"]=a.transformOrigin,r=Object.keys(a).filter(function(e){return!(/transform|transition/i.test(e)&&""===a[e]||""===e.trim()||void 0===a[e]||""===a[e]||!isNaN(parseInt(e)))}).map(function(e){return e.replace(/([A-Z]{1})/g,function(e){return"-"+e.toLowerCase()})+":"+a[e]}).join(";")}var i=P(t,!0);p.setNodeStyle(p.__wxsStyle?(0,E.joinClassOrStyle)(";",i+r,p.__wxsStyle):i+r),p.__transformedPropValue=i,p.__animationStyleStr=r,i!==t?(0,k.registerResizer)(p,function(){var e=P(t,!0);p.setNodeStyle((0,E.joinClassOrStyle)(";",e+r,p.__wxsStyle)),p.__transformedPropValue=e}):p.__resizer&&(0,k.unregisterResizer)(p),p.__banned&&(0,x.banComponentNode)(p)}return"continue"}if(y&&exparser.Component.hasPublicProperty(p,e))return!m&&I.default.restoring||(b.scheduleReplace([e],t,g[e]),m?b.doUpdates():_=!0),"continue";if(/^data-/.test(e)){var s=(0,C.dashToCamelCase)(e.slice(5).toLowerCase());return p.dataset[s]=t,p.setAttribute(e,t),"continue"}if("$gdc"===e)return(0,E.setWxsGdc)(t),"continue";if((n=e.match(/^\$wxs:(capture-)?(bind|catch):?(.+)$/))&&("function"==typeof t||!t))return A(v,p,n[3],t,"catch"===n[2],n[1],!0),(0,T.inDevtoolsWebview)()&&!(0,T.isDataThread)()&&p.setAttribute("exparser:info-attr-"+e.slice(4),t.name),"continue";if(n=e.match(/^(capture-)?(bind|catch):?(.+)$/))return A(v,p,n[3],t,"catch"===n[2],n[1]),(0,T.inDevtoolsWebview)()&&!(0,T.isDataThread)()&&p.setAttribute("exparser:info-attr-"+e,t),"continue";if("on"===e.slice(0,2))return A(v,p,e.slice(2),t,!1,!1),"continue";if(y&&"animation"===e){if(p.$$&&null!==t&&"object"===(void 0===t?"undefined":w(t))&&t.actions&&0<t.actions.length){var c=function(){if(u<d){var e=wx.animationToStyle(l[u]),t=e.transition,n=e.transitionProperty,r=e.transform,o=e.transformOrigin,a=e.style;p.$$.style.transition=t,p.$$.style.transitionProperty=n,p.$$.style.transform=r,p.$$.style.transformOrigin=o,p.$$.style.webkitTransition=t,p.$$.style.webkitTransitionProperty=n,p.$$.style.webkitTransform=r,p.$$.style.webkitTransformOrigin=o;var i=function(){for(var e in a)p.$$.style[e]=P(" "+a[e],!0)};i(),(0,k.registerResizer)(p,i),p.__animationStyle={transition:t,transform:r,transitionProperty:n,transformOrigin:o},p.__banned&&(0,x.banComponentNode)(p)}},u=0,l=t.actions,d=t.actions.length;p.addListener("transitionend",function(){u+=1,c()}),c()}return"continue"}if(n=e.match(/^\$wxs:change:(.+)$/))return p.wxsObserver=p.wxsObserver||{},p.wxsObserver[n[1]]=p.wxsObserver[n[1]]||{},p.wxsObserver[n[1]].observer=t,"continue";var f=(0,C.camelToDashCase)(e);return y&&p.hasExternalClass(f)?(p.setExternalClass(f,t),"continue"):void 0};for(var t in h)e(t);if(_&&b.doUpdates(!0),!(0,T.isDataThread)()&&p.wxsObserver&&(0,E.getWxsGdc)()&&(0,E.triggerWxsObserver)(p,h),p.__component__&&!I.default.restoring)if((0,T.isDataThread)())v.operationFlow.push([S.SYNC_EVENT_NAME.FLOW_APPLY_PROPERTY]);else if(v.operationFlow.iterator.nextStep()[0]!==S.SYNC_EVENT_NAME.FLOW_APPLY_PROPERTY)throw new Error("Framework inner error (expect FLOW_APPLY_PROPERTY but get another)")}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={},r=/-[a-z]/g,o=/([A-Z])/g;t.dashToCamelCase=function(e){return n[e]?n[e]:n[e]=e.indexOf("-")<=0?e:e.replace(r,function(e){return e[1].toUpperCase()})},t.camelToDashCase=function(e){return n[e]||(n[e]=e.replace(o,"-$1").toLowerCase())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=i(n(10)),a=i(n(11));function i(e){return e&&e.__esModule?e:{default:e}}var s={},c=function(){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),this.root=null,this.tabRoot=null,this.tabDestroyed=!1,this.usedDef=null,this.tabUsedDef=null,this.statesData=null,this.layoutReadyFuncs=[],this.operationFlow=new a.default(e,this),this.nodeId=new o.default,this.rootNodeId="",this.tabNodeId="",this.rootCompName="",this.tabCompName=""}return r(n,null,[{key:"create",value:function(e){var t=new n(e);return t.viewId=e,s[e]=t}},{key:"destroy",value:function(e){delete s[e]}},{key:"get",value:function(e){return s[e]}},{key:"listViewId",value:function(){var e=[];for(var t in s)e.push(s[t].viewId);return e}}]),n}();t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=n(6);var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._idNodeMap={}}return r(e,[{key:"getAll",value:function(){return this._idNodeMap}},{key:"getNodeById",value:function(e){return this._idNodeMap[e]}},{key:"getNodeId",value:function(e){return e.__wxTmplId}},{key:"allocNodeId",value:function(e,t){var n=t||(0,o.guid)();return e.__wxTmplId=n,this._idNodeMap[e.__wxTmplId]=e,n}},{key:"addNode",value:function(){}},{key:"removeNode",value:function(e){if(e.__wxTmplId&&delete this._idNodeMap[e.__wxTmplId],e.childNodes)for(var t=0;t<e.childNodes.length;t++)this.removeNode(e.childNodes[t]);e.shadowRoot instanceof exparser.Element&&this.removeNode(e.shadowRoot)}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),c=n(2),u=n(3);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=function(){function r(e,t,n){i(this,r),this._treeManager=e,this._arr=t,this._depth=0,this._startCb=n}return o(r,[{key:"nextStepType",value:function(){return this._arr[0][0]}},{key:"nextStep",value:function(){for(;this._arr[0][0]===c.SYNC_EVENT_NAME.FLOW_DEPTH;)this._startCb(this._treeManager);if(this._arr[0][0]!==c.SYNC_EVENT_NAME.FLOW_REPEAT)return this._arr.shift();var e=this._arr[0][2];return--this._arr[0][1]||this._arr.shift(),[e]}},{key:"expectStart",value:function(){var e=this._arr.shift();if(this._depth++,e[0]!==c.SYNC_EVENT_NAME.FLOW_DEPTH||e[1]!==this._depth)throw new Error("Expect START descriptor with depth "+this._depth+" but get another")}},{key:"expectEnd",value:function(){for(;this._arr[0][0]===c.SYNC_EVENT_NAME.FLOW_DEPTH&&this._arr[0][1]!==this._depth-1;)this._startCb(this._treeManager);var e=this._arr.shift();if(this._depth--,e[0]!==c.SYNC_EVENT_NAME.FLOW_DEPTH||e[1]!==this._depth)throw new Error("Expect END descriptor with depth "+this._depth+" but get another")}},{key:"getQueueLength",value:function(){return this._arr.length}},{key:"getDepth",value:function(){return this._depth}}]),r}(),r=function(){function a(e,t){var r=this;i(this,a),this._viewId=e,this._treeManager=t,this._depth=0,this._curWinSize=0,this._received=[],this._cache=[],this._blocked=[];var n=function(e,t){if(r._received.push([t].concat(e)),t===c.SYNC_EVENT_NAME.FLOW_DEPTH&&(r._depth=e[0],0===r._depth)){var n=r._received;r._received=[],r._blocked?r._blocked.push(n):(r.iterator=new s(r._treeManager,n,a._startCb),a._startCb(r._treeManager),document.dispatchEvent(new CustomEvent("pageReRender",{})),(0,u.sendData)(c.SYNC_EVENT_NAME.LAYOUT_READY,[]))}};for(var o in c.SYNC_EVENT_NAME)"FLOW_"===o.slice(0,5)&&(0,u.setDataListener)(c.SYNC_EVENT_NAME[o],n,e)}return o(a,[{key:"flushBlocked",value:function(){if(this._blocked)for(;this._blocked.length;)try{var e=this._blocked.shift();this.iterator=new s(this._treeManager,e,a._startCb),a._startCb(this._treeManager),document.dispatchEvent(new CustomEvent("pageReRender",{})),(0,u.sendData)(c.SYNC_EVENT_NAME.LAYOUT_READY,[])}catch(e){console.error(e.message),Reporter.errorReport({key:"webviewScriptError",error:e})}}},{key:"unblock",value:function(){this.flushBlocked(),this._blocked=null}},{key:"start",value:function(e){this.flush(),this._depth++,(0,u.queueSendingData)(c.SYNC_EVENT_NAME.FLOW_DEPTH,[this._depth,e],this._viewId)}},{key:"dedupe",value:function(){var e=this._cache;if(this._curWinSize){if(2===e.length){var t=e[1][2];if(e[0][0]!==t){var n=e.pop(),r=n.shift();(0,u.queueSendingData)(r,n,this._viewId)}else e.shift(),e[0][1]++}}else{var o=0;if(2<e.length&&e[0][0]===e[1][0]&&e[0][0]===e[2][0]&&(o=1),o){var a=e[0][0];e.splice(0,3),this.flush(),this._curWinSize=1,e.unshift([c.SYNC_EVENT_NAME.FLOW_REPEAT,3,a])}else if(3<e.length){var i=e.pop(),s=i.shift();(0,u.queueSendingData)(s,i,this._viewId)}}}},{key:"push",value:function(e){this._cache.unshift(e),1!==e.length?this.flush():this.dedupe()}},{key:"flush",value:function(){for(this._curWinSize=0;this._cache.length;){var e=this._cache.pop(),t=e.shift();(0,u.queueSendingData)(t,e,this._viewId)}}},{key:"end",value:function(){this.flush(),this._depth--,(0,u.queueSendingData)(c.SYNC_EVENT_NAME.FLOW_DEPTH,this._depth,this._viewId),0===this._depth&&(0,u.flushSendingData)()}}],[{key:"setStartOperation",value:function(e){a._startCb=e}}]),a}();t.default=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=[];t.registerResizer=function(e,t){void 0===e.__resizer?(e.__resizer=t,o.push(e)):e.__resizer=t},t.unregisterResizer=function(e){if(void 0!==e.__resizer){e.__resizer=void 0;var t=o.indexOf(e);o.splice(t,1)}},t.registerResizeListener=function(){wx.onWindowResize(function(e){var t=e.size,n={width:t.windowWidth,height:t.windowHeight};window.__rpxRecalculatingFuncs__&&window.__rpxRecalculatingFuncs__.forEach(function(e){e(n)});for(var r=0;r<o.length;r++){o[r].__resizer(n)}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initBannedListener=t.checkAndBanComponent=t.banNode=t.banComponentNode=t.sendBannedMap=t.initBannedMap=void 0;var r,o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=n(2),i=n(3),s=n(9),c=(r=s)&&r.__esModule?r:{default:r};var u=null,l=null,d=(t.initBannedMap=function(t){0!==Object.keys(t).length&&(u=t,c.default.listViewId().forEach(function(e){(0,i.sendData)(a.SYNC_EVENT_NAME.BANNING_MAP,[t],e)}))},t.sendBannedMap=function(e){u&&(0,i.sendData)(a.SYNC_EVENT_NAME.BANNING_MAP,[u],e)},t.banComponentNode=function(e){e.$$.style.display="none"}),f=t.banNode=function(e){!function t(e){e instanceof exparser.Component?d(e):e instanceof exparser.VirtualNode?e.childNodes.forEach(function(e){t(e)}):e instanceof exparser.TextNode&&(e.textContent=""),e.__banned=!0}(e)},p=function(e,t){f(e),function(e,t){l||(l=exparser.registerElement({options:{renderingMode:"native"}}));var n=exparser.createElement("wx-hint",l),r=document.createElement("div");r.innerHTML=t.hint,n.$$.appendChild(r),e.appendChild(n,e.childNodes[0])}(e,t)};t.checkAndBanComponent=function(e){if(u){var t=exparser.Component.getComponentOptions(e).domain.split("/",1)[0],n=e.shadowRoot;u[t]&&p(n,u[t])}},t.initBannedListener=function(){(0,i.setDataListener)(a.SYNC_EVENT_NAME.BANNING_MAP,function(e){var t,n=o(e,1)[0];t=n,u||(u=t,function t(e){if(e instanceof exparser.Component){var n=exparser.Component.getComponentOptions(e).domain;if("//"!==n){var r=n.split("/",1)[0],o=e.shadowRoot;u[r]?p(o,u[r]):t(o)}}e instanceof exparser.Element&&e.childNodes.forEach(function(e){t(e)})}(window.__DOMTree__))})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.restorePageState=t.savePageState=void 0;var d=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=n(2),o=n(3),a=n(6),i=n(15),s=n(16),f={id:null,prev:null,data:[]};(0,o.setDataListener)(r.SYNC_EVENT_NAME.SAVE_STATE,function(){"function"==typeof wx.webViewReadyToTerminate&&wx.webViewReadyToTerminate({})}),(0,o.setDataListener)(r.SYNC_EVENT_NAME.RESTORE_STATE,function(e){var t=d(e,3),n=t[0],r=t[1],o=t[2];if(n&&n.isSplitData){var a=n.splitInfo,i=a.id,s=a.index,c=a.total,u=a.data;if(1!==s&&(s!==f.prev+1||i!==f.id))return f.id=null,f.prev=null,void(f.data=[]);if(s!==c)return f.id=i,f.prev=s,void f.data.push(u);f.data.push(u);var l=f.data.join("");try{l=JSON.parse(l)}catch(e){console.error("Expected parse completed data with split data but got error"),Reporter.errorReport({key:"webviewScriptError",error:new Error("Expected parse completed data with split data but got error")}),l=null}if(f.id=null,f.prev=null,f.data=[],!l)return;n=l[0],r=l[1],o=l[2]}h.restoring=n||{},h.idDataMap=r,h.compIdArr=o,h.compIdArrIndex=0});var c=t.savePageState=function(e){var t=document.body.scrollTop||document.documentElement.scrollTop;e.__page__={scrollTop:t}},u=t.restorePageState=function(e){var t=e.__page__;if(t){var n=parseInt(t.scrollTop,10);requestAnimationFrame(function(){document.body.scrollTop=document.documentElement.scrollTop=n})}},l=function(t){c(t),t.compExtraDataMap={};var n=0;window.__TAB_BAR__&&((0,a.dfsComponents)(window.__TAB_BAR__,1,function(e){e.triggerLifeTime("saved",[t]),(0,s.saveNodeExtraData)(t.compExtraDataMap,e,n++)}),(0,s.saveTabRootExtraData)(t.compExtraDataMap)),(0,a.dfsComponents)(window.__DOMTree__,1,function(e){e.triggerLifeTime("saved",[t]),(0,s.saveNodeExtraData)(t.compExtraDataMap,e,n++)}),(0,s.saveRootExtraData)(t.compExtraDataMap)},p=function(){__webViewSDK__.publish("recycleStatistics",(0,i.getComponentCount)());var e={};l(e),(0,o.sendData)(r.SYNC_EVENT_NAME.REQUEST_SAVE,e)},h={restoring:null,idDataMap:null,compIdArr:null,compExtraDataMap:null,compIdArrIndex:0,registerSavingListener:function(){window.__forceSaveStates__=p,"function"==typeof wx.onWebViewWillManuallyTerminate&&wx.onWebViewWillManuallyTerminate(p)},callSavedLifeTimes:l,callRestoredLifeTimes:function(t){u(t);var n=0;window.__TAB_BAR__&&((0,a.dfsComponents)(window.__TAB_BAR__,1,function(e){e.triggerLifeTime("restored",[t]),(0,s.restoreNodeExtraData)(t.compExtraDataMap,e,n++)}),(0,s.restoreTabRootExtraData)(t.compExtraDataMap)),(0,a.dfsComponents)(window.__DOMTree__,1,function(e){e.triggerLifeTime("restored",[t]),(0,s.restoreNodeExtraData)(t.compExtraDataMap,e,n++)}),(0,s.restoreRootExtraData)(t.compExtraDataMap)}};t.default=h},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.getComponentCount=function(){var e={compCount:0,customCompCount:0,nativeCompCount:0,rootCustomCompCount:0,rootInternalCompCount:0};try{!function e(t,n,r){if(t instanceof exparser.Component){t!==window.__DOMTree__&&(n.compCount++,t.hasBehavior("wx-base")?(r&&n.rootInternalCompCount++,t.hasBehavior("wx-native")&&n.nativeCompCount++):r&&n.rootCustomCompCount++);var o=t===window.__DOMTree__&&r;t.shadowRoot instanceof exparser.Element&&e(t.shadowRoot,n,o)}for(var a=t.childNodes,i=0,s=a.length;i<s;i++){var c=(a[i]instanceof exparser.VirtualNode||t===window.__DOMTree__||t===window.__DOMTree__.shadowRoot)&&r;a[i]instanceof exparser.Element&&e(a[i],n,c)}}(window.__DOMTree__,e,!0)}catch(e){}var t=e.rootCustomCompCount,n=e.rootInternalCompCount,r=t+n;return{compCount:e.compCount,customCompCount:e.customCompCount,nativeCompCount:e.nativeCompCount,rootCompCount:r,rootCustomCompCount:t,rootCustomCompRatio:r?~~(100*t/r):0,rootInternalCompCount:n}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinClassOrStyle=t.restoreTabRootExtraData=t.saveTabRootExtraData=t.restoreRootExtraData=t.saveRootExtraData=t.restoreNodeExtraData=t.saveNodeExtraData=t.callMethodFromWxsCallback=t.triggerWxsObserver=t.getWxsHandlerInstance=t.triggerPageRerender=t.wxsDeepDecopy=t.wxsDeepCopy=t.getWxsGdc=t.setWxsGdc=void 0;var d=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=n(3),f=o(n(9)),p=(o(n(17)),n(2)),r=o(n(14));function o(e){return e&&e.__esModule?e:{default:e}}var h=!1,a=null,g=(t.setWxsGdc=function(e){"function"==typeof e&&(a=e)},t.getWxsGdc=function(){return"function"==typeof a?a:null},t.wxsDeepCopy=function(e,t){return a?a(e,"nv_",t?2:void 0):e}),v=t.wxsDeepDecopy=function(e){return a?a(e):e},_=0,y=!1,m=t.triggerPageRerender=function(){!(0,l.isDataThread)()&&y&&0===_&&(y=!1,document.dispatchEvent(new CustomEvent("pageReRender",{})))},b=function(e){return e instanceof exparser.Component&&exparser.Component.getComponentOptions(e).domain},w=null,S=[],i=function r(o,a){var e,i=o,s=b(i),c=(e=i)instanceof exparser.Component&&"//"===exparser.Component.getComponentOptions(e).domain,t={selectAllComponents:function(e){if(a!==s)return[];var t=h?o.shadowRoot.querySelectorAll(e):o.querySelectorAll(e),n=[];return t.forEach(function(e){n.push(g(r(e,a),!0))}),n},selectComponent:function(e){if(a!==s)return null;var t=h?o.shadowRoot.querySelector(e):o.querySelector(e);return t?g(r(t,a),!0):null},removeClass:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if((0,l.isDataThread)()||!i||!t.length)return this;var r=i.__wxsClass?i.__wxsClass.split(/\s+/):[],o=[];return t.forEach(function(e){(e=e.replace(/^\s+|\s+$/g,""))&&i.classList.contains(e)&&(i.classList.toggle(e),y=!0,o.push(e))}),o.forEach(function(n){r.forEach(function(e,t){return e!==n||(r.splice(t,1),!1)})}),i.__wxsClass=r.join(" "),this},addClass:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if((0,l.isDataThread)()||!i||!t.length)return this;var r=i.__wxsClass||"",o=[];return t.forEach(function(e){(e=e.replace(/^\s+|\s+$/g,""))&&(i.classList.contains(e)||(i.classList.toggle(e),o.push(e),y=!0))}),i.__wxsClass=r+(r?" ":"")+o.join(" "),this},hasClass:function(e){return!((0,l.isDataThread)()||!i)&&i.classList.contains(e)},setStyle:function(e){if((0,l.isDataThread)()||!i)return this;if(e===i.__wxsStyle)return this;var t=[];if("object"===(void 0===e?"undefined":u(e)))for(var n in e=e?v(e):{})e.hasOwnProperty(n)&&t.push(n+":"+e[n]);else t=[String(e)];return t=window.wx.transformRpx(t.join(";"),!0),i.setNodeStyle(x(";",i.__transformedPropValue+i.__animationStyleStr,t)),i.__wxsStyle=t,y=!0,this},getDataset:function(){return i?g(i.dataset):null},getState:function(){return i?(i.__wxsState=i.__wxsState||{},i.__wxsState):null},triggerEvent:function(e,t,n){return c||!o||(t=t?v(t):t,n=n?v(n):n,_++,i.triggerEvent(e,t,n),_--),this},callMethod:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return(0,l.isDataThread)()||!e||(t=v(t),h?(0,l.sendData)(p.SYNC_EVENT_NAME.CALL_METHOD_FROM_WXS,[window.__webviewId__,o&&o.__wxTmplId||0,e,t]):wx.callMethodFromWxs([window.__webviewId__,o&&o.__wxTmplId||0,e,t])),this},requestAnimationFrame:function(e){return(0,l.isDataThread)()||"function"!=typeof e||(t=e,(0,l.isDataThread)()||"function"!=typeof t||(S.push(t),w||(w=window.requestAnimationFrame(function(){w=null;var e=S;S=[],e.forEach(function(e){e(),m()})})))),this;var t}};return Object.freeze(t),t},s=t.getWxsHandlerInstance=function(e,t){var n=t?e.ownerShadowRoot?e.ownerShadowRoot.__wxHost:window.__DOMTree__:e;return h=!!e.ownerShadowRoot,i(n,b(n))},c=null,C=[],T=(t.triggerWxsObserver=function(e,t){!e.wxsObserver||(0,l.isDataThread)()||r.default.restoring||(C.push({node:e,props:t}),c||(c=window.requestAnimationFrame(function(){c=null;var e=C;C=[],e.forEach(function(e){T(e.node,e.props)})})))},function(e,t){try{for(var n in e.wxsObserver)if(t.hasOwnProperty(n)&&e.wxsObserver[n]&&"function"==typeof e.wxsObserver[n].observer){var r=e.wxsObserver[n].value;e.wxsObserver[n].observer(g(t[n]),g(r),g(s(e,!0),!0),g(s(e),!0)),e.wxsObserver[n].value=t[n]}}catch(e){console.error("[WXS observer] error:"+e)}}),k=t.callMethodFromWxsCallback=function(e){var t=d(e,4),n=t[0],r=t[1],o=t[2],a=t[3];if(a||(a={}),r){var i=f.default.get(n);if(!i)return;var s=i.nodeId.getNodeById(r);if(!s)return;var c=exparser.Element.getMethodCaller(s);c&&"function"==typeof c[o]&&c[o](a)}else{var u=__appServiceEngine__.getCurrentPagesByDomain("");if(!u.length)return;var l=u[u.length-1];l&&"function"==typeof l[o]&&l[o](a)}};(0,l.isDataThread)()&&__appServiceSDK__.onCallMethodFromWxs(k);t.saveNodeExtraData=function(e,t,n){if(t.__wxsStyle||t.__wxsClass){var r={wxsStyle:t.__wxsStyle,wxsClass:t.__wxsClass,index:n,wxsState:v(t.__wxsState)};if(t.ownerShadowRoot&&f.default.instance){var o=f.default.instance.nodeId.getNodeId(t.ownerShadowRoot.__wxHost);e._custom=e._custom||{},(e=e._custom)[o]=e[o]||{},e=e[o]}e[t.is]=e[t.is]||[],e[t.is].push(r)}},t.restoreNodeExtraData=function(e,t,n){if(e){var r,o,a=null;if(t.ownerShadowRoot&&f.default.instance&&e._custom){var i=f.default.instance.nodeId.getNodeId(t.ownerShadowRoot.__wxHost);if(!(e=e._custom)[i])return;e=e[i]}if(e[t.is]&&e[t.is].length&&e[t.is][0]&&e[t.is][0].index===n&&(a=e[t.is].shift()),a)o=a,(r=t).__wxsStyle=o.wxsStyle,r.__wxsClass=o.wxsClass,r.__wxsState=g(o.wxsState),o.wxsStyle&&r.setNodeStyle(x(";",r.__transformedPropValue+r.__animationStyleStr,o.wxsStyle)),o.wxsClass&&(r.class=x(" ",r.class,o.wxsClass))}},t.saveRootExtraData=function(e){if(!(0,l.isDataThread)()&&e){var t=h?f.default.instance.nodeId.getNodeById(f.default.instance.rootNodeId):window.__DOMTree__;t&&(e.wxsPageState=t.__wxsState)}},t.restoreRootExtraData=function(e){if(!(0,l.isDataThread)()&&e){var t=h?f.default.instance.nodeId.getNodeById(f.default.instance.rootNodeId):window.__DOMTree__;t&&(t.__wxsState=e.wxsPageState)}},t.saveTabRootExtraData=function(e){if(!(0,l.isDataThread)()&&e){var t=window.__TAB_BAR__;t&&(e.wxsTabRootState=v(t.__wxsState))}},t.restoreTabRootExtraData=function(e){if(!(0,l.isDataThread)()&&e){var t=window.__TAB_BAR__;t&&(t.__wxsState=g(e.wxsTabRootState))}};var x=t.joinClassOrStyle=function(e,t,n){return t?n?t+e+n:t||"":n||""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),f=n(18);var o={},a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"getAppData",value:function(){return o}},{key:"mergeData",value:function(e,t){if(null===t)return e;var n=JSON.parse(JSON.stringify(e));for(var r in t){var o=(0,f.parsePath)(r),a=(t[r],(0,f.getObjectByPath)(e,o,!1)),i=a.obj,s=a.key,c=(0,f.getObjectByPath)(n,o,!0),u=c.obj,l=c.key,d=c.changed;i&&(i[s]=t[r]),u&&(u[l]=d?t[r]:{__value__:t[r],__wxspec__:!0})}return n}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getObjectByPath=t.parsePath=void 0;var c=n(6);t.parsePath=function(e){for(var t=e.length,n=[],r="",o=0,a=!1,i=!1,s=0;s<t;s++){var c=e[s];if("\\"===c)s+1<t&&("."===e[s+1]||"["===e[s+1]||"]"===e[s+1])?(r+=e[s+1],s++):r+="\\";else if("."===c)r&&(n.push(r),r="");else if("["===c){if(r&&(n.push(r),r=""),0===n.length)throw new Error("path can not start with []: "+e);a=!(i=!0)}else if("]"===c){if(!a)throw new Error("must have number in []: "+e);i=!1,n.push(o),o=0}else if(i){if(c<"0"||"9"<c)throw new Error("only number 0-9 could inside []: "+e);a=!0,o=10*o+c.charCodeAt(0)-48}else r+=c}if(r&&n.push(r),0===n.length)throw new Error("path can not be empty");return n},t.getObjectByPath=function(e,t,n){for(var r=void 0,o=void 0,a=e,i=!1,s=0;s<t.length;s++)Number(t[s])===t[s]&&t[s]%1==0?"Array"!==(0,c.getDataType)(a)&&(a=n&&!i?(i=!0,r[o]={__value__:[],__wxspec__:!0},r[o].__value__):(r[o]=[],r[o])):"Object"!==(0,c.getDataType)(a)&&(a=n&&!i?(i=!0,r[o]={__value__:{},__wxspec__:!0},r[o].__value__):(r[o]={},r[o])),o=t[s],(a=(r=a)[t[s]])&&a.__wxspec__&&(a=a.__value__,i=!0);return{obj:r,key:o,changed:i}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.appendPatch=t.diffProps=t.diffChildren=t.diffNode=t.diff=void 0;var f=o(n(20)),r=o(n(21)),p=n(6),h=n(23),g=n(2);function o(e){return e&&e.__esModule?e:{default:e}}t.diff=function(e,t){var n={};return v(e,t,n,0),new r.default(e,n)};var v=t.diffNode=function(e,t,n,r){if(e!==t){var o=n[r];if(null==t)o=_(o,new f.default(g.PATCH_TYPE.REMOVE,e));else if((0,p.isVirtualNode)(t))if((0,p.isVirtualNode)(e))if(e.tagName===t.tagName&&e.wxKey===t.wxKey)if("virtual"===e.tagName&&e.wxVkey!==t.wxVkey)o=_(o,new f.default(g.PATCH_TYPE.VNODE,e,t));else{var a=s(t.props,t.newProps);a&&(o=_(o,new f.default(g.PATCH_TYPE.PROPS,e,a,t))),void 0!==t.wxScopeData&&(o=_(o,new f.default(g.PATCH_TYPE.EXTRA_DATA,e,{__wxScopeData__:t.wxScopeData}))),o=i(e,t,n,o,r)}else o=_(o,new f.default(g.PATCH_TYPE.VNODE,e,t));else o=_(o,new f.default(g.PATCH_TYPE.VNODE,e,t));else{if(!(0,p.isVirtualText)(t))throw new Error("unknow node type");t.text!==e.text&&(o=_(o,new f.default(g.PATCH_TYPE.TEXT,e,t)))}o&&(n[r]=o)}},i=t.diffChildren=function(e,t,n,r,o){for(var a=!((0,p.getWxmlVersionTag)("customComponents")||!0)||"virtual"===e.tagName&&1<=e.wxXCkey&&e.wxXCkey<=4,i=e.children,s=a?(0,h.listDiff)(i,t.children):{children:t.children,moves:null},c=s.children,u=0;u<i.length;++u){var l=i[u],d=c[u];++o,d&&v(l,d,n,o),(0,p.isVirtualNode)(l)&&(o+=l.descendants)}return s.moves&&(r=_(r,new f.default(g.PATCH_TYPE.REORDER,e,s.moves,t))),r},s=t.diffProps=function(e,t){for(var n={},r=0;r<t.length;r++){var o=t[r];n[o]=e[o]}return(0,p.isEmptyObject)(n)?void 0:n},_=t.appendPatch=function(e,t){return e?(e.push(t),e):[t]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),i=n(2),s=n(7),o=n(9),c=(r=o)&&r.__esModule?r:{default:r},u=n(3),l=n(13);var d=function(e){if((0,u.isDataThread)())e.operationFlow.push([i.SYNC_EVENT_NAME.FLOW_MINIPULATE_CHILD]);else if(e.operationFlow.iterator.nextStep()[0]!==i.SYNC_EVENT_NAME.FLOW_MINIPULATE_CHILD)throw new Error("Framework inner error (expect FLOW_MINIPULATE_CHILD but get another)")},f=function(){function o(e,t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),this.type=Number(e),this.vNode=t,this.patch=n,this.newVNode=r}return a(o,[{key:"apply",value:function(e){switch(this.type){case i.PATCH_TYPE.TEXT:return o.stringPatch(e,this.patch);case i.PATCH_TYPE.VNODE:return o.vNodePatch(e,this.patch);case i.PATCH_TYPE.PROPS:return o.applyProperties(e,this.patch,this.newVNode.specProps);case i.PATCH_TYPE.EXTRA_DATA:return o.setExtraData(e,this.patch);case i.PATCH_TYPE.REORDER:return o.reorderChildren(e,this.patch,this.newVNode.children);case i.PATCH_TYPE.INSERT:return o.insertNode(e,this.patch);case i.PATCH_TYPE.REMOVE:return o.removeNode(e);default:return e}}}],[{key:"stringPatch",value:function(e,t){var n=e.parentNode,r=t.render();return n&&r!==e&&n.replaceChild(r,e),e.__banned&&(0,l.banNode)(r),r}},{key:"vNodePatch",value:function(e,t){var n=(0,u.isDataThread)()?e.__treeManager__:c.default.instance,r=e.parentNode,o=t.render(null,r.ownerShadowRoot,n);return r&&o!==e&&("wx:for"===r.__wxDynamicSync__||"wx:if"===e.__wxDynamicSync__?(n.nodeId.addNode(o),r.replaceChild(o,e),d(n),n.nodeId.removeNode(e)):r.replaceChild(o,e),e.__banned&&(0,l.banNode)(o)),o}},{key:"applyProperties",value:function(e,t,n){return(0,s.applyProperties)(e,t,n),e}},{key:"setExtraData",value:function(e,t){for(var n in t)e[n]=t[n];return e}},{key:"reorderChildren",value:function(o,e,a){var i=(0,u.isDataThread)()?o.__treeManager__:c.default.instance,t=e.removes,n=e.inserts,r=o.childNodes,s=[];return n.forEach(function(e){s.push({node:void 0!==e.oldIndex?r[e.oldIndex]:null,before:0<=e.pos?r[e.pos]:void 0,index:e.index})}),t.forEach(function(e){var t=r[e];o.removeChild(t),"wx:for"===o.__wxDynamicSync__&&(d(i),i.nodeId.removeNode(t))}),s.forEach(function(e){var t=e.node,n=e.before,r=e.index;null===t&&(t=a[r].render(null,o.ownerShadowRoot,i)),"wx:for"===o.__wxDynamicSync__?(i.nodeId.addNode(t),o.insertBefore(t,n),d(i)):o.insertBefore(t,n)}),o.__banned&&(0,l.banNode)(o),o}},{key:"insertNode",value:function(e,t){var n=(0,u.isDataThread)()?e.__treeManager__:c.default.instance,r=t.render(null,e.ownerShadowRoot,n);return e&&("wx:for"===e.__wxDynamicSync__||"wx:if"===r.__wxDynamicSync__?(n.nodeId.addNode(r),e.appendChild(r),d(n)):e.appendChild(r)),e.__banned&&(0,l.banNode)(r),e}},{key:"removeNode",value:function(e){var t=(0,u.isDataThread)()?e.__treeManager__:c.default.instance,n=e.parentNode;return n&&(n.removeChild(e),"wx:for"!==n.__wxDynamicSync__&&"wx:if"!==e.__wxDynamicSync__||(d(t),t.nodeId.removeNode(e))),null}}]),o}();t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=n(22);var a=function(){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),this.oldTree=e,this.patches=t,this.patchIndexes=Object.keys(this.patches).map(function(e){return Number(e)})}return r(n,[{key:"apply",value:function(e){var n=this;if(0===this.patchIndexes.length)return e;var r=(0,o.getDomIndex)(e,this.oldTree,this.patchIndexes);return this.patchIndexes.forEach(function(e){var t=r[e];t&&n.patches[e].forEach(function(e){e.apply(t)})}),e}}]),n}();t.default=a},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.getDomIndex=function(e,t,n){if(n&&0!=n.length){n=n.sort(function(e,t){return e-t});var r={};return o(e,t,n,r,0),r}return{}};var o=t.mapIndexToDom=function e(t,n,r,o,a){if(t){d(r,a,a)&&(o[a]=t);var i=n.children;if(i)for(var s=t.childNodes,c=0;c<i.length;++c){var u=i[c],l=++a+(u.descendants||0);d(r,a,l)&&e(s[c],u,r,o,a),a=l}}},d=t.oneOfIndexesInRange=function(e,t,n){for(var r=0,o=e.length-1;r<=o;){var a=o+r>>1,i=e[a];if(i<t)r=a+1;else{if(!(n<i))return!0;o=a-1}}return!1}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var I=Object.prototype.hasOwnProperty,E=(t.listDiff=function(e,t){for(var n=E(e).keyIndexes,r=E(t),o=r.keyIndexes,a=r.freeIndexes,i=[],s=[],c=[],u=0,l=0,d=0;d<e.length;++d){var f=e[d],p=P(f);if(p)if(I.call(o,p)){var h=o[p];i.push(t[h])}else s.push(d-l),++l,i.push(null);else if(u<a.length){var g=a[u];i.push(t[g]),++u}else s.push(d-l),++l,i.push(null)}for(var v=i,_=0,y=[],m=0;m<t.length;){for(var b=t[m],w=P(b),S=v[_],C=P(S);null===S;)S=v[++_],C=P(S);_>=v.length?(c.push({oldIndex:n[w],index:m,pos:-1}),++_,++m):C===w?(y.push(_),++_,++m):w?(C?o[C]===m+1?c.push({oldIndex:n[w],index:m,pos:_}):(S=v[++_])&&P(S)===w?(y.push(_),++_):(--_,c.push({oldIndex:n[w],index:m,pos:_})):c.push({oldIndex:n[w],index:m,pos:_}),++m):++_}for(var T=0,k=0;k<c.length;k++){var x=c[k].pos;if(-1===x)break;for(;T<y.length&&x>y[T];)T++;T>=y.length?c[k].pos=-1:c[k].pos=y[T]}return{children:i,moves:{removes:s,inserts:c}}},t.makeKeyAndFreeIndexes=function(e){for(var t={},n=[],r=0;r<e.length;++r){var o=e[r],a=P(o);a?I.call(t,a)?(console.warn('For developer:Do not set same key "'+a+'" in wx:key.'),i(o),n.push(r)):t[a]=r:n.push(r)}return{keyIndexes:t,freeIndexes:n}}),P=t.getItemKey=function(e){if(e)return e.wxKey},i=function(e){e.wxKey=void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportPluginNodeCreation=void 0;var r,s=n(3),o=n(9),c=(r=o)&&r.__esModule?r:{default:r};var u={};t.reportPluginNodeCreation=function(e,t){var n=exparser.Component.getComponentOptions(e).domain;if("/"!==n&&"//"!==n&&n){var r=n.split("/",1)[0],o=(0,s.isDataThread)()?t:c.default.instance,a=o.viewId;if(u[a]||(u[a]={}),!u[a][r]){u[a][r]=!0;var i=[r,__appServiceSDK__.pluginInfos[r].version,o.rootCompName,__appServiceSDK__.getLaunchOptionsSync().sessionid||""].map(encodeURIComponent).join(",");"undefined"!=typeof Reporter&&(Reporter.reportKeyValue({key:"PluginDisplay",value:i,force:!0}),Reporter.reportIDKey({key:"pluginDisplayInPage",force:!0}))}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var r=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.text=String(e)}return n(t,[{key:"render",value:function(){return exparser.createTextNode(this.text)}}]),t}();r.prototype.type="WxVirtualText",t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeDataWithSpec=t.mergeData=void 0;var h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g=n(27),v=Object.prototype.hasOwnProperty;t.mergeData=function(e,t,n,r){for(var o=0;o<t.length;o++){for(var a=t[o],i=a[1],s=a[2],c=e,u=i[0],l=1;l<i.length;l++){var d=i[l];"number"==typeof d&&isFinite(d)?v.call(c,u)&&c[u]instanceof Array||(c[u]=[]):(!v.call(c,u)||null===c[u]||"object"!==h(c[u])||c[u]instanceof Array)&&(c[u]={}),c=c[u],u=d}var f=c[u];c[u]=r?(0,g.deepCopy)(s):s,n[o]=[c[u],f]}},t.mergeDataWithSpec=function(e,t,n,r,o){for(var a=o?(0,g.deepCopy)(e):e,i=0;i<t.length;i++){for(var s=t[i],c=s[1],u=s[2],l=s[3],d=a,f=c[0],p=1;p<c.length;p++)if(null!=(d=d[f])&&d.__wxspec__&&(d=d.__value__),f=c[p],null!=d&&!v.call(d,f)){d=null;break}null!=d&&v.call(d,f)&&(n?null!=l&&"object"===(void 0===u?"undefined":h(u))&&u instanceof Array==l instanceof Array?d[f]={__value__:l,__wxspec__:!0}:null!=d[f]&&d[f].__wxspec__||(d[f]={__value__:d[f],__wxspec__:!0}):d[f]=r?(0,g.deepCopy)(u,!1):u)}return a}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c=Object.prototype.hasOwnProperty;t.deepCopy=function(e,t){return function e(t,n){var r=void 0===t?"undefined":s(t);if("object"===r&&null!==t){var o=n?n.get(t):void 0;if(void 0!==o)return o;if(t instanceof Array){o=[],n&&n.set(t,o);for(var a=0;a<t.length;a++)o[a]=e(t[a],n)}else for(var i in o={},n&&n.set(t,o),t)c.call(t,i)&&(o[i]=e(t[i],n));return o}if("symbol"!==r)return t}(e,t&&"undefined"!=typeof WeakMap?new WeakMap:null)}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=null,n=function(){o={};var e=void 0;if(__wxConfig&&__wxConfig.subPackages)e=__wxConfig.subPackages;else{if("undefined"==typeof window||!window||!window.__subPackages)return;e=window.__subPackages}e.length&&e.forEach(function(e){if(e){var t=e.root||"";if(t&&"/"!==t.slice(-1)&&(t+="/"),e.plugins)for(var n in e.plugins)if(Object.prototype.hasOwnProperty.call(e.plugins,n)){var r=e.plugins[n]&&e.plugins[n].provider;r&&(o[r]=t)}}})};t.convertRouteToComponentAlias=function(e){var t=e.match(/(?:^|\/)__(wx|plugin)__\/(.*)$/);return t?"wx"===t[1]?"wx://"+t[2]:"plugin-private://"+t[2]:e},t.convertComponentAliasToRoute=function(e){return o||n(),(exparser.Component._list[e]&&exparser.Component._list[e].is||e).replace(/^plugin-private:\/\/([0-9a-zA-Z]+)\//,function(e,t){return(o[t]||"")+"__plugin__/"+t+"/"}).replace(/^wx:\/\//,"__wx__/")},t.getPluginRoutePrefix=function(e){return o||n(),(o[e]||"")+"__plugin__/"+e+"/"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.restoreView=t.saveView=void 0;var r,v=n(2),_=n(3),y=n(6),o=n(9),m=(r=o)&&r.__esModule?r:{default:r};var b=Date.now();t.saveView=function(e,t){var n=m.default.get(e);n&&(n.statesData=t,n.tabRoot&&(0,y.dfsComponents)(n.tabRoot,1,function(e){e.triggerLifeTime("saved")}),(0,y.dfsComponents)(n.root,1,function(e){e.triggerLifeTime("saved")}),(0,_.sendData)(v.SYNC_EVENT_NAME.SAVE_STATE,[],e))},t.restoreView=function(e){var n=m.default.get(e);if(n){var r=n.nodeId.getAll(),o={},a=[],t=function(e){var t=n.nodeId.getNodeId(e);a.push(t),o[t]=r[t].data};n.tabRoot&&!n.tabDestroyed&&(0,y.dfsComponents)(n.tabRoot,1,t),(0,y.dfsComponents)(n.root,1,t);var i=[n.statesData||{},o,a],s=JSON.stringify(i),c=s.length;if(349184<c){for(var u=[],l=0;l<c;)u.push(s.substr(l,349184)),l+=349184;for(var d=++b,f=0,p=u.length;f<p;f++)(0,_.sendData)(v.SYNC_EVENT_NAME.RESTORE_STATE,[{isSplitData:!0,splitInfo:{id:d,index:f+1,total:p,data:u[f]}}],e)}else(0,_.sendData)(v.SYNC_EVENT_NAME.RESTORE_STATE,i,e);if(n.statesData=void 0,!n.tabDestroyed&&n.tabRoot){(0,_.sendData)(v.SYNC_EVENT_NAME.COMPONENT_DEF_TAB,n.tabUsedDef,e);var h=n.tabRoot;n.operationFlow.start(),n.operationFlow.push([v.SYNC_EVENT_NAME.FLOW_CREATE_TAB,h.is,n.nodeId.getNodeId(h)]),n.operationFlow.push([v.SYNC_EVENT_NAME.FLOW_CREATE_TAB]),n.operationFlow.end()}(0,_.sendData)(v.SYNC_EVENT_NAME.COMPONENT_DEF,n.usedDef,e);var g=n.root;n.operationFlow.start(),n.operationFlow.push([v.SYNC_EVENT_NAME.FLOW_INITIAL_CREATION,g.is,n.nodeId.getNodeId(g)]),n.operationFlow.push([v.SYNC_EVENT_NAME.FLOW_INITIAL_CREATION]),n.operationFlow.end(),n.tabRoot&&(0,y.dfsComponents)(n.tabRoot,1,function(e){e.triggerLifeTime("restored")}),(0,y.dfsComponents)(n.root,1,function(e){e.triggerLifeTime("restored")})}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.registerDataBehaviors=function(){exparser.registerBehavior({is:"wx://form-field",properties:{name:{type:String,public:!0},value:{type:null,public:!0}}}),exparser.registerBehavior({is:"wx://style-filter"}),exparser.registerBehavior({is:"wx://request-filter"}),exparser.registerBehavior({is:"wx://request-sender"}),exparser.registerBehavior({is:"wx://component-export",definitionFilter:function(e){"function"==typeof e.export&&("object"===n(e.methods)?e.methods.__export__=e.export:e.methods={__export__:e.export})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerDataComponents=void 0;var a=n(1);t.registerDataComponents=function(){var o={domain:"//",writeOnly:!1,allowInWriteOnly:!1,lazyRegistration:!0,classPrefix:"",addGlobalClass:!1,templateEngine:null,renderingMode:"full",multipleSlots:!1,publicProperties:!0,reflectToAttributes:!1,writeFieldsToNode:!1,writeIdToDOM:!1};["functional-page","open-api-redirecting-page"].forEach(function(e){var t,n,r;(0,a.Component)({options:o,properties:{}},"//",(r={usingComponents:{}},(n="wx://"+e+".json")in(t={})?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t),"wx://"+e+".js")})}}]),__appServiceEngine__=function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e){return(m="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}var i=Object.prototype.toString;function b(e,t){if("function"!=typeof t)throw new TypeError("customizer is must be a Function");if("function"==typeof e)return e;var n=i.call(e);if("[object Array]"===n)return[];if("[object Object]"===n&&e.constructor===Object)return{};if("[object Date]"===n)return new Date(e.getTime());if("[object RegExp]"===n){var r=String(e),o=r.lastIndexOf("/");return new RegExp(r.slice(1,o),r.slice(o+1))}var a=t(e);return void 0!==a?a:null}function w(e){var t=m(e);return null!==e&&"object"!==t&&"function"!==t?e:null}var a=Object.prototype.toString,S="function"==typeof Object.keys?function(e){return Object.keys(e)}:function(e){var t=m(e);if(null===e||"function"!==t&&"object"!==t)throw new TypeError("obj must be an Object");var n,r=[];for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.push(n);return r},C="function"==typeof Symbol?function(e){return Object.getOwnPropertySymbols(e)}:function(){return[]};function T(e,t){if("[object Array]"!==a.call(e))throw new TypeError("array must be an Array");var n,r,o;for(n=0,r=e.length;n<r;++n)if((o=e[n])===t||o!=o&&t!=t)return n;return-1}function s(e){}var g=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:s;if(null===e)return null;var n=w(e);if(null!==n)return n;var r=b(e,t),o=null!==r?r:e;return function e(t,n,r,o,a){if(null===t)return null;var i=w(t);if(null!==i)return i;var s,c,u,l,d,f,p,h,g,v,_,y=S(t).concat(C(t));for(s=0,c=y.length;s<c;++s)u=y[s],l=t[u],d=T(o,l),h=p=f=void 0,-1===d?(v=n,_=w(g=l),f=null!==_?_:b(g,v),p=null!==f?f:l,null!==l&&/^(?:function|object)$/.test(m(l))&&(o.push(l),a.push(p))):h=a[d],r[u]=h||e(l,n,p,o,a);return r}(e,t,o,[e],[o])};function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function d(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t,n){return(h=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&p(o,n.prototype),o}).apply(null,arguments)}function v(e){var r="function"==typeof Map?new Map:void 0;return(v=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,n)}function n(){return h(e,arguments,f(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),p(n,e)})(e)}var _=function(e,t){for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e},y=function(){},k=function(e){return Object.prototype.toString.call(e).split(" ")[1].split("]")[0]},x=(Object.prototype.hasOwnProperty,Object.prototype.toString),I=function(e){return"[object Object]"===x.call(e)},E=function(e,t){console.group(new Date+" "+e),console.error(t),console.groupEnd()},P=function(e,t){console.group(new Date+" "+e),console.warn(t),console.groupEnd()},A=function(e){__wxConfig&&__wxConfig.debug&&console.info(e)},O=function(e,t){if("[object Error]"===Object.prototype.toString.apply(e)){if("AppServiceEngineKnownError"===e.type)throw e;Reporter.errorReport({key:"jsEnginScriptError",error:e,extend:t})}},D=function(r,o){return function(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.apply(r,t)}catch(e){return O(e,o),function(){}}}},M=function(e){function n(e){var t;return u(this,n),(t=d(this,f(n).call(this,"APP-SERVICE-Engine:"+e))).type="AppServiceEngineKnownError",t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(n,v(Error)),n}();function R(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t[0];Reporter.__route__=this.__route__,Reporter.__method__=o,t=t.slice(1);try{var a=Date.now();r=this[o].apply(this,l(t));var i=Date.now()-a;1e3<i&&Reporter.slowReport({key:"pageInvoke",cost:i,extend:"at "+this.__route__+" page "+o+" function"})}catch(e){Reporter.thirdErrorReport({error:e,extend:"at "+this.__route__+" page "+o+" function"})}return Reporter.__route__=Reporter.__method__="",r}var N,L=Object.assign,B=function(){return!!("undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&-1<window.navigator.userAgent.indexOf("appservice"))},j=function(e){if("string"!=typeof e)return e;var t=e.split("?")[0],n=e.split("?")[1];return t+=".html",void 0!==n?t+"?"+n:t},F={},U=!0,W=null,V={},q={},K=null,H=null,z=null,G=["wxbb58374cdce267a6","wx7c8d593b2c3a7703","wx308bd2aeb83d3345","wx474a5c3c033d43e9","wx76222b2ffe0c7ac7","wx4ffb369b6881ee5e","wx95e493619d0ff929","wxc026e7662ec26a3a","wx3caefcd29ba9c238","wxa56e673470ebe32f","wxb935bc1925fb7b47","wx7a727ff7d940bb3f","wxe5f52902cf4de896","wxcff7381e631cf54e","wx643cf55c38f40bff","wx9fec8c5f7b92b271","wx6aa5a8ae54665311","wx24c20f732d06f2c6","wx00f4317c8d97236c","wxd7911e4c177690e4","wx06a561655ab8f5b2","wx71d589ea01ce3321","wxe1a3943228e59633","wx32540bd863b27570","wxd0f1350895e01d16","wxd8de4dc5277bdd80"];function Y(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.clickTimestamp;t&&((t=(t=parseInt(t,10))<1e12?1e3*t:t)&&0<t&&(W=t),U=e.isLaunch)}var J=function(){function g(e,t){u(this,g),this.showOptions={},this.hideOptions={},this.route=e,this.pageType=t||0,this.query={},this.deferred=[],this.showTimeStamp=null,this.pageReadyTime=null,this.showReferpagepath="",this.isentrance=0,this.isInitialLoading=!0,this.orientationChangeCount=0,this.startCostTime=null,this.startType=null}return c(g,[{key:"checkShowOptions",value:function(){var e=V,t=this.showOptions;t.scene=e.scene||0,t.scene_note=e.scene_note,t.sessionid=e.sessionid||e.sessionId,t.usedstate=e.usedstate,t.referpagepath=e.referpagepath,t.clickTimestamp=e.clickTimestamp,t.prescene=e.prescene,t.prescene_note=e.prescene_note,t.apptype=Reporter.getAppType(),t.publicLibVersion=e.publicLibVersion;var n=this.query,r=[];n&&"object"===m(n)&&Object.keys(n).forEach(function(e){r.push(encodeURIComponent(e)+"="+encodeURIComponent(n[e]))}),t.query=r.join("&")}},{key:"checkHideOptions",value:function(){var e=q,t=this.hideOptions;t.targetAction=e.targetAction||0,t.targetPagePath=e.targetPagePath||"",void 0!==e.usedstate&&(t.usedstate=e.usedstate),void 0!==e.usedState&&(t.usedstate=e.usedState)}},{key:"_checkDeferred",value:function(){for(var e=this.deferred;e.length;){e.pop()()}}},{key:"_reportShowPage",value:function(e){this.pageReadyTime?e.costtime=this.pageReadyTime-e.clickTimestamp:e.costtime=0,e.costtime<0&&(e.costtime=0);var t=[e.event_id,e.scene,e.scene_note,e.sessionid,e.usedstate,e.pagepath,e.networktype,e.costtime,e.staytime,e.referpagepath,e.targetAction,e.targetPagePath,e.clickTimestamp,e.publicLibVersion,e.prescene,e.prescene_note,e.isentrance,e.query,e.apptype,e.pagetype,e.anchorTargetText,0,e.clickTimestamp,e.anchorRelatedText,0,e.startCostTime,e.startType].map(encodeURIComponent).join(",");Reporter.reportKeyValue({key:"Display",value:t,force:!0}),this._submit(),this._reportWithWxData(e)}},{key:"_reportHidePage",value:function(e){this.pageReadyTime?e.costtime=this.pageReadyTime-e.clickTimestamp:e.costtime=0,e.costtime<0&&(e.costtime=0);var t=[e.event_id,e.scene,e.scene_note,e.sessionid,e.usedstate,e.pagepath,e.networktype,e.costtime,e.staytime,e.referpagepath,e.targetAction,e.targetPagePath,e.clickTimestamp,e.publicLibVersion,e.prescene,e.prescene_note,e.isentrance,e.query,e.apptype,e.pagetype,e.anchorTargetText,0,e.clickTimestamp,e.anchorRelatedText,e.orientationChangeCount,e.startCostTime,e.startType].map(encodeURIComponent).join(",");Reporter.reportKeyValue({key:"Display",value:t,force:!0}),this._submit(),this._reportWithWxData(e)}},{key:"_submit",value:function(){Reporter.submit(),setTimeout(function(){Reporter.submit()},100)}},{key:"_reportWithWxData",value:function(e){var t="",n=2;if(__wxConfig){var r=__wxConfig.accountInfo,o=__wxConfig.envVersion;r&&(t=r.appId||""),"release"===o?n=1:"trial"===o&&(n=3)}if(!(G.indexOf(t)<0)){var a=[16309,N.model||"",N.brand||"",N.platform||"",N.system||"",N.language||"",t,"",n,e.event_id,e.scene,e.scene_note,e.sessionid,e.usedstate,e.pagepath,e.networktype,e.costtime,e.staytime,e.referpagepath,e.targetAction,e.targetPagePath,e.clickTimestamp,e.publicLibVersion,e.prescene,e.prescene_note,e.isentrance,e.query,e.apptype,e.pagetype,"",0,e.clickTimestamp,"",0].map(encodeURIComponent).join(":#:");try{__appServiceSDK__.reportPv({kv:a})}catch(e){}}}},{key:"setReadyTime",value:function(e){this.pageReadyTime=e,this._checkDeferred()}},{key:"setQuery",value:function(e){this.query=e}},{key:"addOrientationChangeCount",value:function(){this.orientationChangeCount+=1}},{key:"reportShowPage",value:function(){var n=this;this._checkDeferred(),this.checkShowOptions();var e=Date.now(),r=this.route,o=this.pageType,a=this.showOptions,i=a.referpagepath||"",s=a.clickTimestamp,c=0,u=0,l=0;H&&H!==r&&(i=H+".html",s=e);var t=K;K=null;var d={anchorTargetText:"",anchorRelatedText:""};this.isInitialLoading&&t&&t.anchorTapTime&&s-t.anchorTapTime<1e3&&(d.anchorTargetText=t.anchorTargetText,d.anchorRelatedText=t.anchorRelatedText),H=r,this.showTimeStamp=e,this.showReferpagepath=i,this.orientationChangeCount=0,z!==a.sessionid&&(z=a.sessionid,c=1),1===c&&(u=e-W,l=U?1:2,this.startCostTime=u,this.startType=l),this.isInitialLoading=!1,this.isentrance=c,g._getNetworkType(function(e){var t=Object.assign({},a,d,{event_id:1,pagepath:r+".html",networktype:e,staytime:0,referpagepath:i,targetAction:0,targetPagePath:"",isentrance:c,pagetype:o,clickTimestamp:s,startCostTime:u,startType:l});n.pageReadyTime?n._reportShowPage(t):n.deferred.push(function(){n._reportShowPage(t)})})}},{key:"reportHidePage",value:function(e,t){var n=this;this._checkDeferred(),this.checkShowOptions(),this.checkHideOptions();var r=Date.now(),o=this.route,a=this.pageType,i=this.showOptions,s=this.hideOptions,c=this.showReferpagepath||"",u=this.showTimeStamp?r-this.showTimeStamp:0,l=void 0!==s.usedstate?s.usedstate:i.usedstate,d=s.targetAction,f=s.targetPagePath,p=0,h=0;e&&(d=t?1:2,f=e+".html"),1===this.isentrance&&(p=null!==this.startCostTime?this.startCostTime:p,h=null!==this.startType?this.startType:h,this.startCostTime=null,this.startType=null),this.showTimeStamp=null,g._getNetworkType(function(e){var t=Object.assign({},i,{event_id:2,pagepath:o+".html",usedstate:l,networktype:e,staytime:u,referpagepath:c,targetAction:d,targetPagePath:f,isentrance:n.isentrance||0,pagetype:a,anchorTargetText:"",anchorRelatedText:"",orientationChangeCount:n.orientationChangeCount||0,startCostTime:p,startType:h});n._reportHidePage(t)})}}],[{key:"setOnLaunch",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Y(e),V=Object.assign(V,e),N=__appServiceSDK__.getSystemInfoSync(),V.publicLibVersion=N.SDKVersion,g._assignForClientOnShow(V,e)}},{key:"setOnAppShow",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Y(e),V=Object.assign(V,e),g._assignForClientOnShow(V,e)}},{key:"setOnAppHide",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};q=Object.assign(q,e)}},{key:"setEventRelatedInfo",value:function(e){K=e}},{key:"_assignForClientOnShow",value:function(e,t){e.scene_note=t.scene_note||t.sceneNote||"",e.referpagepath=t.referpagepath||"",e.usedstate=t.usedstate||t.usedState,e.prescene=t.prescene,e.prescene_note=t.prescene_note||t.presceneNote||"",e.clickTimestamp=Date.now()}},{key:"_getNetworkType",value:function(n){__appServiceSDK__.getNetworkType({success:function(e){var t=e.networkType;"none"===t&&(t="offline"),n(t)},fail:function(){n("")}})}}]),g}(),X={};__appServiceSDK__.subscribeCheckWebviewAliveOk(function(e,t){1===X[t]&&(X[t]=2)});var Q=function(t){Reporter.reportIDKey({key:"pageOnShow"}),X[t]=1;var n=0;!function e(){1===X[t]&&(__appServiceSDK__.publishCheckWebviewAlive({},[t]),++n<3?setTimeout(e,500):setTimeout(function(){1===X[t]&&Reporter.reportIDKey({key:"clientRestoreWebview_fail"})},2e3))}()},$=function(e){delete X[e]},Z={use:{}},ee=function(e){try{((t=e).options||{}).addGlobalClass&&(Z.use[1]=1),t.pageLifetimes&&(Z.use[2]=1),t.lifetimes&&(Z.use[3]=1),t.definitionFilter&&(Z.use[4]=1),t.behaviors&&t.behaviors.forEach(function(e){"wx://component-export"===e&&(Z.use[5]=1)})}catch(e){}var t},te=!0;__appServiceSDK__.onAppShow(function(e){if(te){te=!1,J.setOnLaunch(__appServiceSDK__.getLaunchOptionsSync());try{!function(e){var i=exparser.Component._list,t=e.pages||[],s=e.page||{},n=t.length,c=0,r=0,o=0,u=0,l=9999,d=0;Object.keys(exparser.Component._list).forEach(function(e){e&&"wx://functional-page"!==e&&!s[e+".html"]&&(r++,/(^|\/)miniprogram_npm\//g.test(e)&&o++)}),t.forEach(function(e){if(((s[e+".html"]||{}).window||{}).usingComponents){c++;var t=i[e];if(!t)return;var n=t.behavior,r=n.using||{},o=n.generics||{},a=Object.keys(r).length+Object.keys(o).length;u<a&&(u=a),a<l&&(l=a),d+=a}});var a=[n,c,r,o,u,l=9999===l?0:l,d=c?d/c:0,JSON.stringify(Z)].map(encodeURIComponent).join(",");Reporter.reportKeyValue({key:"CustomComponent",value:a,force:!0}),Reporter.submit()}(__wxConfig)}catch(e){}}else J.setOnAppShow(e)}),__appServiceSDK__.onAppHide(function(e){J.setOnAppHide(e)});var ne=function(e){if("String"!==k(e))throw E("数据路径错误","Path must be a string"),new M("Path must be a string");for(var t=e.length,n=[],r="",o=0,a=!1,i=!1,s=0;s<t;s++){var c=e[s];if("\\"===c)s+1<t&&("."===e[s+1]||"["===e[s+1]||"]"===e[s+1])?(r+=e[s+1],s++):r+="\\";else if("."===c)r&&(n.push(r),r="");else if("["===c){if(r&&(n.push(r),r=""),0===n.length)throw E("数据路径错误","Path can not start with []: "+e),new M("Path can not start with []: "+e);a=!(i=!0)}else if("]"===c){if(!a)throw E("数据路径错误","Must have number in []: "+e),new M("Must have number in []: "+e);i=!1,n.push(o),o=0}else if(i){if(c<"0"||"9"<c)throw E("数据路径错误","Only number 0-9 could inside []: "+e),new M("Only number 0-9 could inside []: "+e);a=!0,o=10*o+c.charCodeAt(0)-48}else r+=c}if(r&&n.push(r),0===n.length)throw E("数据路径错误","Path can not be empty"),new M("Path can not be empty");return n},re=function(e,t){for(var n,r={},o=e,a=0;a<t.length;a++)Number(t[a])===t[a]&&t[a]%1==0?Array.isArray(o)||(r[n]=[],o=r[n]):I(o)||(r[n]={},o=r[n]),n=t[a],o=(r=o)[t[a]];return{obj:r,key:n}},oe=function(e,t){for(var n,r,o=ne(t),a=e,i=0;i<o.length;i++)Number(o[i])===o[i]&&o[i]%1==0?Array.isArray(a)||(a=[]):I(a)||(a={}),r=o[i],a=(n=a)[o[i]];return{obj:n,key:r}},ae=function(){function e(){u(this,e)}return c(e,null,[{key:"emit",value:function(e,t,n){__appServiceSDK__.invokeWebviewMethod("appDataChange",e,[t],n)}}]),e}(),ie=["onLoad","onReady","onShow","onRouteEnd","onHide","onUnload","onResize"],se=["__wxWebviewId__","__route__"],ce=["route"],ue=__appServiceSDK__.getLogManager(),le=function(){function s(){var t=this,c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},d=1<arguments.length?arguments[1]:void 0,e=2<arguments.length?arguments[2]:void 0;u(this,s);var n={__wxWebviewId__:d,__route__:e};se.forEach(function(e){Object.defineProperty(t,e,{set:function(){P("关键字保护","should not change the protected attribute "+e)},get:function(){return n[e]}})}),c.data=c.data||{},I(c.data)||E("Page data error","Page.data must be an object");var r=JSON.stringify(c.data);this.data=JSON.parse(r),this.__viewData__=JSON.parse(r),this.__displayReporter=new J(e,1);var f=__appServiceSDK__.getSystemInfoSync().deviceOrientation;this.__callPageLifeTime__=function(e){var t,n=(this[e]||y).bind(this);Reporter.__route__=this.__route__,Reporter.__method__=e;for(var r=arguments.length,o=new Array(1<r?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];"onLoad"===e&&(t=this.__displayReporter).setQuery.apply(t,o);if("onShow"===e)this.__displayReporter.reportShowPage(),Q(d);else if("onReady"===e)this.__displayReporter.setReadyTime(Date.now());else if("onHide"===e||"onUnload"===e){var i=this.__toRoute__,s=this.__isBack__,c=this.__notReportHide__;delete this.__toRoute__,delete this.__isBack__,delete this.__notReportHide__,c||this.__displayReporter.reportHidePage(i,s),$(d)}else if("onResize"===e){var u=o[0]||{};f!==u.deviceOrientation&&(f=u.deviceOrientation,this.__displayReporter.addOrientationChangeCount())}A(this.__route__+": "+e+" have been invoked");var l=n.apply(this,o);return Reporter.__route__=Reporter.__method__="",l},ie.forEach(function(s){t[s]=function(){var e,t=(c[s]||y).bind(this);try{for(var n=Date.now(),r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];e=t.apply(this,o);var i=Date.now()-n;1e3<i&&Reporter.slowReport({key:"pageInvoke",cost:i,extend:"at "+this.__route__+" page lifeCycleMethod "+s+" function"}),ue&&ue.logApiInvoke&&ue.log("page "+this.__route__+" "+s+" have been invoked")}catch(e){Reporter.thirdErrorReport({error:e,extend:"at "+this.__route__+" page lifeCycleMethod "+s+" function"})}return e}.bind(t)});var o=function(i){var e;e=i,-1!==se.indexOf(e)?P("关键字保护","Page's "+i+" is write-protected"):function(e){for(var t=0;t<ie.length;++t)if(ie[t]===e)return!0;return"data"===e}(i)||("Function"===k(c[i])?t[i]=function(){var e;Reporter.__route__=this.__route__,Reporter.__method__=i;try{for(var t=Date.now(),n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e=c[i].apply(this,r);var a=Date.now()-t;1e3<a&&Reporter.slowReport({key:"pageInvoke",cost:a,extend:"at "+this.__route__+" page "+i+" function"})}catch(e){Reporter.thirdErrorReport({error:e,extend:"at "+this.__route__+" page "+i+" function"})}return Reporter.__route__=Reporter.__method__="",e}.bind(t):t[i]=g(c[i]))};for(var a in c)o(a);var i={route:e};ce.forEach(function(e){Object.prototype.hasOwnProperty.call(t,e)||(t[e]=i[e])}),"function"==typeof c.onShareAppMessage&&__appServiceSDK__.showShareMenu()}return c(s,[{key:"setData",value:function(c,e){var u=this;try{var t=k(c);if("Object"!==t)return void E("类型错误","setData accepts an Object rather than some "+t);Object.keys(c).forEach(function(e){void 0===c[e]&&E("Page setData warning",'Setting data field "'+e+'" to undefined is invalid.');var t=ne(e),n=re(u.data,t),r=n.obj,o=n.key;if(r&&(r[o]=g(c[e])),void 0!==c[e]){var a=re(u.__viewData__,t),i=a.obj,s=a.key;i&&(i[s]=g(c[e]))}}),ae.emit({data:c},this.__wxWebviewId__,e)}catch(e){O(e)}}},{key:"pageScrollTo",value:function(e){__appServiceSDK__.publishPageScrollTo(e,[this.__wxWebviewId__])}}]),s}(),de=["onLoad","onReady","onShow","onRouteEnd","onHide","onUnload","onResize"],fe=function(){function e(){u(this,e)}return c(e,null,[{key:"create",value:function(d,e){var f=__virtualDOM__.addView(d,e),p=exparser.Element.getMethodCaller(f);if(p.__wxWebviewId__=d,p.__route__=e,p.route=e,p.__displayReporter=new J(e,2),f.__customConstructor__===__virtualDOM__.Page){var t=f.getRootBehavior().methods,n=p.__freeData__;for(var r in t)p[r]=t[r].bind(p);for(var o in n)p[o]=g(n[o])}var h=__appServiceSDK__.getSystemInfoSync().deviceOrientation;return p.__callPageLifeTime__=function(e){var t,n=this[e]||y;Reporter.__route__=this.__route__,Reporter.__method__=e;for(var r=arguments.length,o=new Array(1<r?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];"onLoad"===e&&(t=p.__displayReporter).setQuery.apply(t,o);if("onShow"===e)p.__displayReporter.reportShowPage(),Q(d);else if("onReady"===e)p.__displayReporter.setReadyTime(Date.now());else if("onHide"===e||"onUnload"===e){var i=this.__toRoute__,s=this.__isBack__,c=this.__notReportHide__;delete this.__toRoute__,delete this.__isBack__,delete this.__notReportHide__,c||p.__displayReporter.reportHidePage(i,s),$(d)}else if("onResize"===e){var u=o[0]||{};h!==u.deviceOrientation&&(h=u.deviceOrientation,p.__displayReporter.addOrientationChangeCount())}"onShow"===e?f.triggerPageLifeTime("show",o):"onHide"===e?f.triggerPageLifeTime("hide",o):"onResize"===e&&f.triggerPageLifeTime("resize",o),A(this.__route__+": "+e+" have been invoked");var l=n.apply(this,o);return Reporter.__route__=Reporter.__method__="",l},de.forEach(function(s){var c=p[s];p[s]=function(){var e,t=c||y;try{for(var n=Date.now(),r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];e=t.apply(this,o);var i=Date.now()-n;1e3<i&&Reporter.slowReport({key:"pageInvoke",cost:i,extend:'at "'+this.__route__+'" page lifeCycleMethod '+s+" function"})}catch(e){Reporter.thirdErrorReport({error:e,extend:'at "'+this.__route__+'" page lifeCycleMethod '+s+" function"})}return e}.bind(p)}),"function"==typeof p.onShareAppMessage&&__appServiceSDK__.showShareMenu(),{page:p,node:f}}},{key:"destroy",value:function(e){__virtualDOM__.removeView(e.__wxWebviewId__)}}]),e}(),pe=0,he=1,ge=2,ve=3,_e=4,ye=5,me=6,be=7,we=[],Se=!0;function Ce(e,t){we[e]=t||Date.now()}function Te(e,t){void 0===we[e]&&Ce(e,t)}var ke=!1;function xe(e){var t=__appServiceSDK__.isIsolatedSubpackage(e);!ke&&t?Oe():ke&&!t&&Ae(),ke=t}var Ie=[],Ee=!0,Pe={};function Ae(t){t=t||Pe,__appServiceSDK__.emitIsloatedAppShow(t),Ie.forEach(function(e){e.preventOnShow||e.app.onShow(t),e.preventOnShow=!1}),Pe=t}function Oe(){__appServiceSDK__.emitIsloatedAppHide(),Ie.forEach(function(e){e.app.onHide()})}__appServiceSDK__.onAppUnhang(function(){!1}),__appServiceSDK__.onAppShow(function(){var e,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(t.isLaunch&&it("launch"),kt(t.path),e=t.path,(ke=__appServiceSDK__.isIsolatedSubpackage(e))||Ae(t.__public||t),it("foreground"),Ee||t.reLaunch)Ee=!1;else{var n=Ot("");n.length&&(n[n.length-1].__callPageLifeTime__("onShow"),it("enterPage",n[n.length-1],!0))}}),__appServiceSDK__.onAppHide(function(){"hang"===(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).mode&&!0;var e=Ot("");e.length&&(e[e.length-1].__callPageLifeTime__("onHide"),it("leavePage",e[e.length-1],!0)),ke||Oe(),it("background")});var De,Me,Re,Ne=["onLaunch","onShow","onHide","onUnlaunch","onPageNotFound"],Le=__appServiceSDK__.getLogManager(),Be=function e(){var t=this,a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};u(this,e),Ne.forEach(function(o){t[o]=function(){var e=a[o]||y;Reporter.__route__="App",Reporter.__method__=o,A("App: "+o+" have been invoked");try{for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e.apply(this,n),Le&&Le.logApiInvoke&&Le.log("App "+o+" have been invoked")}catch(e){Reporter.thirdErrorReport({error:e,extend:"at App lifeCycleMethod "+o+" function"})}Reporter.__route__=Reporter.__method__=""}.bind(t)});var n,r,o=function(o){"getCurrentPage"===o?P("关键字保护","App's "+o+" is write-protected"):function(e){for(var t=0;t<Ne.length;++t)if(Ne[t]===e)return!0;return!1}(o)||("function"==typeof a[o]?t[o]=function(){var e;Reporter.__route__="App",Reporter.__method__=o;try{for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e=a[o].apply(this,n)}catch(e){Reporter.thirdErrorReport({error:e,extend:"at App "+o+" function"})}return e}.bind(t):t[o]=a[o])};for(var i in a)o(i);"function"==typeof this.onError&&__appServiceSDK__.onError(this.onError),"function"==typeof this.onPageNotFound&&__appServiceSDK__.onPageNotFound(this.onPageNotFound),n=this,r=__appServiceSDK__.getLaunchOptionsSync(),Te(ge),n.onLaunch(r.__public),n.onShow(r.__public),Ie.push({app:n,preventOnShow:!0})},je={},Fe=D(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object.assign(e,je),je={},De=new Be(e)},"create app instance"),Ue=function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).allowDefault?De||je:De},We=function(){return Me},Ve=function(e){Me=e};__appServiceSDK__.onAppShow(function(e){if(Me=e.referrerInfo&&e.referrerInfo.privateExtraData){var t=Mt();Me.functionalPage&&t&&__appServiceSDK__.publishFunctionalPage(Me.functionalPage,[t])}e.referrerInfo&&e.referrerInfo.openapiInvokeData&&(Re=e.referrerInfo.openapiInvokeData)});var qe={},Ke={},He=[],ze=!1,Ge=[],Ye=!1,Je=!1,Xe=0,Qe=0,$e=0,Ze=0,et=0,tt=0,nt=null,rt=null,ot=function(l,d){Object.keys(l.data||{}).forEach(function(e){var t,n,r=l.data[e],o=d&&d.data||{},a=!1;if("$"!==r.charAt(0)||void 0===(t=function(e){var t=0;switch(e){case"PAGE_TIME":return 0<=(t=$e?Date.now()-$e-Ze:0)?t:null;case"APP_TIME":return 0<=(t=Xe?Date.now()-Xe-Qe:0)?t:null;case"CURRENT_PAGE":return rt||null;case"LAST_PAGE":return nt||null;default:return}}(r.substr(1))))if(0!==r.indexOf("$APP")){if(d&&(l.page===d.__route__||"ANY_PAGE"===l.page)){if(0===r.indexOf("$DATASET")){var i=r.replace("$DATASET.","");n=l.dataset||{},(t=re(n,ne(i))).obj&&void 0!==t.obj[t.key]&&(Ke[l.eventID].data[e]=t.obj[t.key],a=!0)}if(0===r.indexOf("$COMP")&&"number"==typeof l.nodeId){var s=__virtualDOM__.getNodeById(l.nodeId,l.webviewId);if(!s)return void console.warn('[自定义分析] 找不到自定义组件里的 "'+l.element+'" 节点');var c=exparser.Element.getMethodCaller(s);c&&(r=r.replace("$COMP.",""),o=c.data)}if(-1<r.indexOf("[]")){if((l.index||[]).forEach(function(e){r=r.replace("[]","["+e+"]")}),-1<r.indexOf("[-1]")||-1<r.indexOf("[]"))return void console.warn("[自定义分析] 取不到下标,请检查配置("+r+")");var u=r.match(/\[(\d+)\]\.\$INDEX$/);u&&(Ke[l.eventID].data[e]=Number(u[1]),a=!0)}if(void 0===(t=oe(o,r)).obj||void 0===t.key||void 0===t.obj[t.key])return void(a||console.warn("[自定义分析] 取不到该字段,请检查配置("+r+")"));Ke[l.eventID].data[e]=t.obj[t.key]}}else!function(e,t){var n=e.data[t],r=Ue()||{},o=n.replace("$APP.",""),a=oe(r,o);if(a.obj&&void 0!==a.obj[a.key]){var i=a.obj[a.key];"number"!=typeof i&&"string"!=typeof i&&"boolean"!=typeof i||(Ke[e.eventID].data[t]=i)}}(l,e);else null!==t&&(Ke[l.eventID].data[e]=t)})},at=function(e,t){if("start"!==e.action&&"start_and_report"!==e.action||(Ke[e.eventID]={eventID:e.eventID,data:{},extra:e.extra}),Ke[e.eventID]){var n,r,o,a=t||Pt()&&Pt().page;ot(e,a),"report"!==e.action&&"start_and_report"!==e.action||(n=e.eventID,r=a&&a.__route__,o=[],Object.keys(Ke[n].data).forEach(function(e){o.push({id:e,value:Ke[n].data[e]})}),Ke[n].data=o,Ke[n].page=r,Ke[n].version=("undefined"!=typeof __libVersionInfo__?__libVersionInfo__.version:0)||0,Ke[n].uid=Date.now().toString(16)+Math.random().toString(16).substr(2),Ke[n].type=0,B()||(console.info("[自定义分析] 上报成功"),console.info(Ke[n])),__appServiceSDK__.reportRealtimeAction({actionData:JSON.stringify(Ke[n])}),Ke[n]=null)}},it=function(t,n,e){if("pageReady"===t&&n)!function(e){if(e){var t=e.__route__,n=qe.click,r=[];n&&(n.forEach(function(e){e.page!==t&&"ANY_PAGE"!==e.page||!e.element||r.push({eventID:e.eventID,page:e.page,element:e.element,action:e.action})}),0!==r.length&&__appServiceSDK__.publishAnalyticsConfig(r,[e.__wxWebviewId__]))}}(n);else if(Je)He.push(t);else{if("launch"===t&&!Ye)return Xe=Date.now(),Je=Ye=!0,He.push(t),void __appServiceSDK__.getAppConfig({type:1,complete:D(function(e){Je=!1,e.data&&(console.info("[自定义分析] 配置拉取成功"),st(e))})});if(ze){e||("enterPage"===t?($e=Date.now(),Ze=0,rt=n&&n.__route__):"leavePage"===t?nt=n&&n.__route__:"background"===t?et=Date.now():"foreground"===t&&(tt=Date.now(),et&&et<tt&&(Ze+=tt-et,Qe+=tt-et)));var r=qe[t];if(r){if("enterPage"===t&&n&&"page/component/index"===n.__route__&&__wxConfig.accountInfo&&"wxe5f52902cf4de896"===__wxConfig.accountInfo.appId){var o=0;r.map(function(e){return e.eventID}).forEach(function(e){1007===e&&o++}),1<o&&Reporter.reportIDKey({key:"demoConfigRepeat"}),Reporter.reportIDKey({key:"demoEnterHomePage"})}var a=["enterPage","leavePage","pageLoad","pageUnload","pullDownRefresh","switchTab"];r.forEach(function(e){e&&(-1<a.indexOf(t)?(n&&e.page===(n&&n.__route__)||"ANY_PAGE"===e.page)&&at(e,n):at(e))})}}else Ge.push([t,n,e])}},st=function(e,t){var n={};try{n=JSON.parse(e.data)}catch(e){n={}}var r,o,a=Pt();r=n,o={},"[object Array]"!==Object.prototype.toString.call(r)||r.forEach(function(n){var e=n.eventTarget;"[object Object]"===Object.prototype.toString.call(e)&&(e=[e]),e.forEach(function(e){var t=e.trigger||"click";o[t]||(o[t]=[]),("click"!==t||/^([.#][a-zA-Z_][^.#]* ?)+$/.test(e.element&&e.element.trim()))&&o[t].push({eventID:n.eventID,page:e.page,element:e.element&&e.element.trim(),data:e.data,action:e.action,extra:n.extra})})}),qe=o,Ke={},t||(He.forEach(function(e){it(e,a&&a.page,!0)}),He=[]),it("pageReady",a&&a.page)};__appServiceSDK__.subscribeAnalyticsReport(function(e,t){var n,r,o=e,a=qe.click;if(a&&("start"===o.action||"start_and_report"===o.action||Ke[o.eventID])){for(var i=Ot(""),s=0;s<i.length;s++){var c=i[s];if(c.__wxWebviewId__===t){r=c;break}}if(r){for(var u=0;u<a.length;u++){var l=a[u];if(o.eventID===l.eventID&&(o.page===l.page||"ANY_PAGE"===l.page)&&o.element===l.element){l.dataset=o.dataset||{},n=_({},l);break}}n&&(n.index=o.index,n.nodeId=o.nodeId,n.webviewId=t,at(n,r))}}}),__appServiceSDK__.onAppConfig(D(function(e){console.info("[自定义分析] 收到最新配置"),1===Number(e.type)&&st(e,!0)})),__appServiceSDK__.onAppRouteDone(function(){ze=!0,Ge.forEach(function(e){it.apply(void 0,l(e))}),Ge=[]});var ct=Object.prototype.hasOwnProperty,ut=Date.now(),lt=__appServiceSDK__.ShareInfoStorage,dt=__appServiceSDK__._getRealRoute,ft=__appServiceSDK__._triggerBeforeUnloadPage,pt=__appServiceSDK__._triggerBeforeShareAppMessage;delete __appServiceSDK__.ShareInfoStorage;var ht,gt,vt=__virtualDOM__.convertComponentAliasToRoute,_t=__virtualDOM__.convertRouteToComponentAlias,yt={},mt={},bt={},wt=[],St=[],Ct="",Tt=function(){return Ct},kt=function(e){Ct=e},xt=function(e,t,n){__appServiceSDK__.setWxInterfaceIsInvokeInTap(n.type);var r=R.call(e,t,n);return __appServiceSDK__.unsetWxInterfaceIsInvokeInTap(),r};__wxConfig.onReady(function(){var t=__wxConfig.page||{},n=__wxConfig.global?__wxConfig.global.window:{};Object.keys(t).forEach(function(e){t[e].window=Object.assign({},n,t[e].window)}),__wxConfig.tabBar&&__wxConfig.tabBar.list&&"object"===m(__wxConfig.tabBar.list)&&"function"==typeof __wxConfig.tabBar.list.forEach&&__wxConfig.tabBar.list.forEach(function(e){St.push(e.pagePath)}),__wxConfig.appLaunchInfo&&"string"==typeof __wxConfig.appLaunchInfo.path&&kt(__wxConfig.appLaunchInfo.path),gt=(__wxConfig.appLaunchInfo||{}).scene||0});var It={appLaunchTime:0,appFgTime:0,appRouteTime:0,newPageTime:0,pageReadyTime:0},Et=function(e,t,n){Reporter.speedReport({key:e,timeMark:{startTime:t,endTime:n}})},Pt=function(){return ht},At=function(e){return ct.call(yt,e)?yt[e].page:null},Ot=function(t){var n=[];return wt.forEach(function(e){t&&function(e){if(/^__wx__\//.test(e=e||""))return"//";var t=e.match(/(?:^|\/)__plugin__\/(.*?)\//);return t?t[1]:"/"}(e.route)!==t?n.push(null):n.push(e.page)}),n},Dt=function(){return Ot("/")},Mt=function(){if(0!==wt.length)return wt[wt.length-1].webviewId},Rt=function(e,t){return e.__wxExparserNodeId__&&ct.call(Object.getPrototypeOf(e),t)||ct.call(e,t)},Nt=function(e){return!!/(?:^|\/)__(wx|plugin)__\//.test(e)||!!("undefined"!=typeof __wxAppCode__&&__wxAppCode__[e+".json"]||{}).usingComponents},Lt=function(e){return!!function(e){for(var t=0;t<__wxConfig.pages.length;t++)if(__wxConfig.pages[t]===e)return!0;return!1}(e)||void 0!==bt[e]},Bt=function(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:{},a=!1;(o.__wxRouteBegin||__wxRouteBegin)&&(a=!0),o.__wxRouteBegin?o.__wxRouteBegin=!1:__wxRouteBegin=!1;var i=__virtualDOM__.Component(e,t,n,r),s=vt(i);return i&&(mt[s]=exparser.Component._list[i]),bt[s]=a,String(i)},jt=function(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:{},a=o.__wxRoute||__wxRoute;if(!o.__wxRouteBegin&&!__wxRouteBegin){if(!a)throw E("Page 注册错误",'Please do not call Page constructor in files that not listed in "pages" section of app.json or plugin.json'),new M('Please do not call Page constructor in files that not listed in "pages" section of app.json or plugin.json');throw E("Page 注册错误","Please do not register multiple Pages in "+a+".js"),new M("Please do not register multiple Pages in "+a+".js")}o.__wxRouteBegin?o.__wxRouteBegin=!1:__wxRouteBegin=!1;var i=_t(a),s=vt(i);if("Object"!==k(e))throw E("Page 注册错误","Options is not object: "+JSON.stringify(e)+" in "+a+".js"),new M("Options is not object: "+JSON.stringify(e)+" in "+a+".js");if(A("Register Page: "+i),Nt(s)){var c=__virtualDOM__.Page(e,t,n,r);mt[s]=exparser.Component._list[c]}else mt[s]=e;bt[s]=!0},Ft={isInit:!1};__appServiceSDK__.subscribeSubjectInfo(function(e){Ft.isInit=e.isInit});var Ut=D(function(e,t,n,r,o,a){A("Update view with init data");var i=e.page,s={};s.wechatLibVersion=("undefined"!=typeof __libVersionInfo__?__libVersionInfo__.version:"")||"",s.webviewId=t,s.enablePullUpRefresh=Rt(i,"onReachBottom"),s.enablePageScroll=Rt(i,"onPageScroll"),s.onReachBottomDistance=function(e){try{if("number"==typeof __wxConfig.page[e+".html"].window.onReachBottomDistance)return __wxConfig.page[e+".html"].window.onReachBottomDistance}catch(e){return 50}return 50}(i.__route__),s.statesData=o,s.scene=gt,s.route=i.__route__,s.query=i.options,s.lastRoute=e.lastRoute,s.lastQuery=e.lastQuery,s.wxConfig={accountInfo:__wxConfig&&__wxConfig.accountInfo||{},appContactInfo:__wxConfig&&__wxConfig.appContactInfo||{},appLaunchInfo:__wxConfig&&__wxConfig.appLaunchInfo||{}},s.windowConfig=__wxConfig&&__wxConfig.page&&__wxConfig.page[i.__route__+".html"]&&__wxConfig.page[i.__route__+".html"].window||{},s.debug=__wxConfig&&__wxConfig.debug,s.appId=__wxConfig&&__wxConfig.accountInfo&&__wxConfig.accountInfo.appId,s.appLaunchTime=It.appLaunchTime,s.appFgTime=It.appFgTime,s.isTabBarPage=e.isTabBarPage,s.isMainTabBarPage=e.isMainTabBarPage,s.navigationStyle=__wxConfig&&__wxConfig.global&&__wxConfig.global.window&&__wxConfig.global.window.navigationStyle,s.packageType=function(e){if(__wxConfig&&__wxConfig.subPackages&&__wxConfig.subPackages.length){for(var t=0;t<__wxConfig.subPackages.length;t++){var n=__wxConfig.subPackages[t];if(0===e.indexOf(n.root))return n.independent?"independent":"normal"}return"main"}return"none"}(i.__route__),s.needGetSubjectInfo=!Ft.isInit,s.subPackages=__wxConfig.subPackages,s.perfData=(we[ye]=Date.now(),we[pe]=Se,we[be]=__wxConfig.isSubContext,we[he]=__wxConfig.onReadyStart,we[me]=__wxConfig.onReadyEnd||0,Se=!1,we),s.isReload=a;var c={data:n?void 0:i.__viewData__,ext:s,options:{firstRender:!0,usingCustomComponents:n,timestamp:r,path:i.__route__}};if(o){var u=JSON.stringify(c),l=u.length;if(349184<l){for(var d=[],f=0;f<l;)d.push(u.substr(f,349184)),f+=349184;for(var p=++ut,h=0,g=d.length;h<g;h++)ae.emit({isSplitData:!0,splitInfo:{id:p,index:h+1,total:g,data:d[h]}},t);return void it("pageReady",i)}}ae.emit(c,t),it("pageReady",i)}),Wt=function(e){return-1!==St.indexOf(e.route)||-1!==St.indexOf(e.route+".html")},Vt=function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};Ce(_e);var o=null;ct.call(mt,e)?o=mt[e]:P("Page route 错误","Page["+e+"] not found. May be caused by: 1. Forgot to add page route in app.json. 2. Invoking Page() in async task.");var a=Nt(e),i=null;if(It.newPageTime=Date.now(),kt(e),a){if(!o)return void E("Page route 错误","Page is not constructed because it is not found.");i=fe.create(t,e)}var s=a?i.page:new le(o||{},t,e),c=g(n);if((ht={page:s,webviewId:t,route:e,lastRoute:ht?ht.route:"",lastQuery:ht?ht.page.options:{},node:a?i.node:void 0}).isTabBarPage=Wt(ht),ht.isMainTabBarPage=r.isMainTabBarPage||!1,wt.push(ht),a){var u=i.node,l={},d=!1;if(Object.keys(c).forEach(function(e){exparser.Component.hasProperty(u,e)&&(l[e]=decodeURIComponent(c[e]),d=!0)}),d&&u.setData(l),__virtualDOM__.attachView(t),/^__wx__\//.test(e)){var f={};if(/^__wx__\/open-api-redirecting-page/.test(e))f=Re||{};else if(/^__wx__\/functional-page/.test(e)){var p=We();p&&p.functionalPage&&(f=Object.assign({},p.functionalPage,{accountInfo:__wxConfig.accountInfo}))}s.setData(f)}}s.options=c,Ut(ht,t,a,It.newPageTime,void 0,!1),B()&&(__wxAppData[e]=s.data,__wxAppData[e].__webviewId__=t,__appServiceSDK__.publishUpdateAppData()),s.__callPageLifeTime__("onLoad",n),s.__callPageLifeTime__("onShow"),yt[t]={page:s,route:e,webviewId:t,statesData:null},it("pageLoad",s),it("enterPage",s),Et("appRoute2newPage",It.appRouteTime,It.newPageTime)},qt=function(e,t){e.page.__toRoute__=t,e.page.__callPageLifeTime__("onHide"),it("leavePage",e.page)},Kt=function(e,t,n,r){ft(e.webviewId),e.page.__toRoute__=t,e.page.__isBack__=n,e.page.__notReportHide__=r,e.page.__callPageLifeTime__("onUnload"),e.node&&fe.destroy(e.page),B()&&(delete __wxAppData[e.route],__appServiceSDK__.publishUpdateAppData()),delete yt[e.webviewId],(wt=wt.slice(0,wt.length-1)).length?kt(wt[wt.length-1].route):kt(""),it("pageUnload",e.page),it("leavePage",e.page)},Ht=function(e,t,n){Te(ve),It.appLaunchTime=Date.now(),It.appFgTime=Date.now(),function(){var e=__wxConfig.pages;if(void 0!==e)for(var t=0;t<e.length;t++){var n=e[t],r=exparser.Component._list[n];r&&!exparser.Component.isPrepared(r)&&exparser.Component.prepare(r)}}(),ct.call(yt,t)?E("Page route 错误(system error)","appLaunch with an already exist webviewId "+t):Vt(e,t,n,{isMainTabBarPage:Wt({route:e})})},zt=function(e,t,n,r){var o,a,i,s,c,u;A("On app route: "+e),It.appRouteTime=Date.now(),"navigateTo"===r?(s=e,c=t,u=n,ht&&qt(ht,s),xe(s),ct.call(yt,c)?E("Page route 错误(system error)","navigateTo with an already exist webviewId "+c):Vt(s,c,u)):"redirectTo"===r?(o=e,a=t,i=n,ht&&Kt(ht,o),xe(o),ct.call(yt,a)?E("Page route 错误(system error)","redirectTo with an already exist webviewId "+a):Vt(o,a,i)):"navigateBack"===r?function(e){for(var t=!1,n=yt[e]&&yt[e].route,r=wt.length-1;0<=r;r--){var o=wt[r];if(o.webviewId===e){t=!0,ht=o;break}Kt(o,n,!0)}if(xe(n),t){ht.page.__callPageLifeTime__("onShow"),it("enterPage",ht.page);var a=We();Ve({}),a&&a.functionalPage&&e&&__appServiceSDK__.publishFunctionalPage(a.functionalPage,[e])}else E("Page route 错误(system error)","navigateBack with an unexist webviewId "+e)}(t):"switchTab"===r?function(e,t,n){var r=!0,o=!0;if(0!==wt.length){for(;1<wt.length;)Kt(wt[wt.length-1],e),r=!1;if(wt[0].webviewId===t)ht=wt[0],r||ht.page.__callPageLifeTime__("onShow");else if(Wt(wt[0])?(o=!1,r&&qt(wt[0],e)):Kt(wt[0],e),ct.call(yt,t)){var a=yt[t].page;wt=[ht={webviewId:t,route:e,page:a}],a.__callPageLifeTime__("onShow"),it("enterPage",a),it("switchTab",a)}else wt=[],Vt(e,t,n,{isMainTabBarPage:o})}else Vt(e,t,n)}(e,t,n):"appLaunch"===r?Ht(e,t,n):"reLaunch"===r||"autoReLaunch"===r?function(t,e,n,r){var o=!1;for("reLaunch"===r&&(o=!0);0<wt.length;){var a=!0;o&&(o=a=!1),Kt(wt[wt.length-1],t,!1,a)}Object.keys(yt).forEach(function(e){Kt(yt[e],t,!1,!0)}),xe(t),Vt(t,e,n,{isMainTabBarPage:Wt({route:t})})}(e,t,n,r):E("Page route 错误(system error)","Illegal open type: "+r)},Gt=function(e,t){if(A("On page reload: "+e),ct.call(yt,t)){var n,r,o,a,i,s,c=Nt(e),u=yt[t].statesData;yt[t].statesData=void 0,__virtualDOM__.restoreView(t),Ut(yt[t],t,c,Date.now(),u||{},!0),n=t,r={pageCount:wt.length,pageType:c?2:1},o=r.pageCount,a=r.pageType,i=F[n]||{},s=[o,a,i.rootCompCount||0,i.rootCustomCompCount||0,i.rootCustomCompRatio||0,i.rootInternalCompCount||0].map(encodeURIComponent).join(","),F[n]={},Reporter.reportKeyValue({key:"WebviewRestore",value:s}),Reporter.submit()}else E("Page reload(system error)","Can not find webviewId "+t)},Yt=function(){var e=wt[wt.length-1],t=e.route,n=e.webviewId;Gt(t,n)},Jt=null;__appServiceSDK__.onAppRoute(D(function(e){var t=e.path,n=e.webviewId,r=e.query||{},o=e.openType;Jt&&Jt(),e.resizing?Jt=D(function(){Jt=null,zt(t,n,r,o)},"onAppRoute"):zt(t,n,r,o)},"onAppRoute")),__appServiceSDK__.onAppRouteResized(function(){Jt&&Jt()}),__appServiceSDK__.onPageReload(D(function(e){var t=e.path,n=e.webviewId;Gt(t,n)},"onPageReload")),__appServiceSDK__.onWebviewEvent(D(function(e){var t=e.webviewId,n=e.eventName,r=e.data;return function(e,t,n,r){if(ct.call(yt,e)){var o=yt[e],a=o.page;if("__DOMReady"===n)return It.pageReadyTime=Date.now(),A("Invoke event onReady in page: "+o.route),a.__callPageLifeTime__("onReady"),void Et("newPage2pageReady",It.newPageTime,It.pageReadyTime);if(r._requireActive){var i=wt[wt.length-1];if(!i||i.webviewId!==e)return}if(r._relatedInfo&&J.setEventRelatedInfo(r._relatedInfo),t){var s=__virtualDOM__.getNodeById(t,e);if(!s)return;var c=exparser.Element.getMethodCaller(s);return A("Invoke event "+n+" in component: "+s.is),Rt(c,n)?xt(c,n,r):void P("事件警告","Do not have "+n+" handler in component: "+s.is+". Please make sure that "+n+" handler has been defined in "+s.is+".")}if(A("Invoke event "+n+" in page: "+o.route),Rt(a,n))return xt(a,n,r);P("事件警告","Do not have "+n+" handler in current page: "+o.route+". Please make sure that "+n+" handler has been defined in "+o.route+", or "+o.route+" has been added into app.json")}}(t,e.nodeId,n,r)},"onWebviewEvent")),__appServiceSDK__.onAppEnterForeground(function(e){It.appFgTime=Date.now(),0!==e.scene&&"0"!==e.scene&&(gt=e.scene)}),__appServiceSDK__.onPullDownRefresh(D(function(e,t){!function(e){if(ct.call(yt,e)){var t=yt[e],n=t.page;Rt(n,"onPullDownRefresh")&&(A("Invoke event onPullDownRefresh in page: "+t.route),R.call(n,"onPullDownRefresh"),it("pullDownRefresh",n))}else P("事件警告","onPullDownRefresh WebviewId: "+e+" not found")}(t)},"onPullDownRefresh"));var Xt=function(e,t){if(null!=yt[t]){pt(t);var n,r=function(e,t){var n,r=e,o=yt[t],a=o.page;if(Rt(a,"onShareAppMessage")&&(n="onShareAppMessage"),n){A("Invoke event "+n+" in page: "+o.route);var i={from:e.fromShareButton?"button":"menu",target:e.target};e.webViewUrl&&(i.webViewUrl=e.webViewUrl);var s=R.call(a,n,i)||{};r.title=s.title&&"string"==typeof s.title?s.title:e.title,r.desc=s.desc&&"string"==typeof s.desc?s.desc:e.desc,r.path=s.path&&"string"==typeof s.path?j(vt(s.path)):e.path,"string"==typeof s.imageUrl&&(s.imageUrl&&!/^(http|https|wxfile):\/\//.test(s.imageUrl)?r.imageUrl=dt(s.imageUrl,!1):r.imageUrl=s.imageUrl),s.cacheKey&&(r.cacheKey=s.cacheKey),0<r.path.length&&"/"===r.path[0]&&(r.path=r.path.substr(1)),r.success=s.success,r.cancel=s.cancel,r.fail=s.fail,r.complete=s.complete,it("share",a)}return r}(e,t);if(!0===e.fromShareButton){n="shareAppMessageDirectly";var o=__appServiceSDK__.getShareCookieString();o&&(r.messageExtraData=r.messageExtraData||{},r.messageExtraData.cookies=o)}else n="shareAppMessage";r.useDefaultSnapshot=!0,!B()&&__appServiceSDK__.checkAPIAvailable("share")||(r=L({},r),["success","fail","cancel","complete"].some(function(e){return"function"==typeof r[e]})&&__appServiceSDK__.reportRecycledAPI({name:n,strategy:1}),delete r.success,delete r.fail,delete r.cancel,delete r.complete),__appServiceSDK__[n](r,{beforeAll:function(e){var t=Pt();try{!function(e,t){var n=e.page.__displayReporter;n.checkShowOptions();var r=n.showOptions,o=n.route+".html",a=t.errMsg,i=0,s=e.updateTitle&&e.updateTitle.trim(),c=(__wxConfig.global&&__wxConfig.global.window||{}).navigationBarTitleText||"",u=((__wxConfig.page[o]||{}).window||{}).navigationBarTitleText||"";0<=a.indexOf(":ok")?i=1:0<=a.indexOf(":fail")?i=2:0<=a.indexOf(":cancel")&&(i=3);var l=[r.scene,r.scene_note,r.sessionid,o,s||u||c,r.apptype,i,0,r.query].map(encodeURIComponent).join(",");Reporter.reportKeyValue({key:"Share",value:l,force:!0}),Reporter.submit()}(t,e)}catch(e){}e.errMsg=e.errMsg.replace("shareAppMessageDirectly","shareAppMessage"),void 0!==e.shareInfos&&0<e.shareInfos.length&&(e.shareTickets=e.shareInfos.filter(function(e){return e.shareKey&&e.shareName}).map(function(e){return __appServiceSDK__.showUpdatableMessageSubscribeButton({shareKey:e.shareKey}),lt.set(e.shareKey,e.shareName)})),delete e.shareInfos}})}};__appServiceSDK__.onShareAppMessage(D(Xt,"onShareAppMessage")),__appServiceSDK__.subscribeTapShareButton(function(e,t){if(ct.call(yt,t)){var n=yt[t].page,r=j(n.route);0<Object.keys(n.options).length&&(r+="?"+Object.keys(n.options).map(function(e){return e+"="+n.options[e]}).join("&")),D(Xt,"onShareAppMessage")({path:r,title:"",target:e?e.target:void 0,fromShareButton:!0},t)}else P("事件警告","tapShareButton WebviewId: "+t+" not found")}),__appServiceSDK__.subscribeSavePageState(D(function(e,t){ct.call(yt,t)?yt[t].statesData=e:P("事件警告","onPageWillManuallyTerminate WebviewId: "+t+" not found")},"savePageState")),__appServiceSDK__.subscribeRecycleStatistics(D(function(e,t){if(ct.call(yt,t)){var n,r,o,a,i,s,c,u,l,d,f,p,h,g=yt[t];n=t,r=function(o){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{},t=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(a).filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),t.forEach(function(e){var t,n,r;t=o,r=a[n=e],n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r})}return o}({pageCount:wt.length,pageType:Nt(g.route)?2:1},e),o=r.pageCount,a=r.pageType,i=r.rootCompCount,s=void 0===i?0:i,c=r.rootCustomCompCount,u=void 0===c?0:c,l=r.rootCustomCompRatio,d=void 0===l?0:l,f=r.rootInternalCompCount,p=void 0===f?0:f,h=[o,a].map(encodeURIComponent).join(","),F[n]={rootCompCount:s,rootCustomCompCount:u,rootCustomCompRatio:d,rootInternalCompCount:p},Reporter.reportKeyValue({key:"WebviewRecycle",value:h}),Reporter.submit()}},"recycleStatistics")),__appServiceSDK__.onTabItemTap(D(function(e,t){if(__appServiceSDK__._setWxIsInvokeInTapForNavToMiniProgram(),ct.call(yt,t)){var n=yt[t],r=n.page;if(void 0!==__wxConfig&&__wxConfig.tabBar&&__wxConfig.tabBar.list&&__wxConfig.tabBar.list[e.index]){var o={index:e.index,pagePath:(__wxConfig.tabBar.list[e.index].pagePath||"").replace(/\.html$/,""),text:__wxConfig.tabBar.list[e.index].text};if(o.pagePath!==n.route)return;ct.call(r,"onTabItemTap")&&(A("Invoke event onTabItemTap in page: "+n.route),__appServiceSDK__.setWxInterfaceIsInvokeInTap("tap"),R.call(r,"onTabItemTap",o),__appServiceSDK__.unsetWxInterfaceIsInvokeInTap())}}},"tabItemTap"));__appServiceSDK__.onNavigationBarTitleUpdate(function(e){0<=e.errMsg.indexOf(":ok")&&e.title&&(Pt().updateTitle=e.title)});var Qt=function(e){return ee(e),__virtualDOM__.Behavior(e)},$t=__appServiceSDK__.createPluginWX,Zt=function(e,t){var n=e+"/"+t,r={__wxAppCode__:{},__wxAppCurrentFile__:""};return r.wx=$t(e,t),r.Page=function(e){jt(e,n,r.__wxAppCode__,r.__wxAppCurrentFile__,r)},r.getCurrentPages=function(){return Ot(e)},r.Component=function(e){return Bt(e,n,r.__wxAppCode__,r.__wxAppCurrentFile__,r)},r.Behavior=function(e){return __virtualDOM__.Behavior(e,n,r.__wxAppCode__,r.__wxAppCurrentFile__)},r.publishDomainComponents=function(e){return __virtualDOM__.publishDomainComponents(n,e)},r};n.d(t,"Page",function(){return en}),n.d(t,"Component",function(){return tn}),n.d(t,"DisplayReporter",function(){return J}),n.d(t,"Behavior",function(){return Qt}),n.d(t,"__createPluginGlobal",function(){return Zt}),n.d(t,"hasPageRoute",function(){return Lt}),n.d(t,"convertComponentAliasToRoute",function(){return vt}),n.d(t,"getPageByWebviewId",function(){return At}),n.d(t,"getCurrentRoute",function(){return Tt}),n.d(t,"getCurrentPages",function(){return Dt}),n.d(t,"getCurrentPagesByDomain",function(){return Ot}),n.d(t,"forcePageReload",function(){return Yt}),n.d(t,"App",function(){return Fe}),n.d(t,"getApp",function(){return Ue}),n.d(t,"setPrivateExtraData",function(){return Ve}),"function"==typeof logxx&&logxx("app-service-engine start");var en=function(e){jt(e)},tn=function(e){return ee(e),Bt(e)}}]),Page=__appServiceEngine__.Page,Component=__appServiceEngine__.Component,Behavior=__appServiceEngine__.Behavior,__webview_engine_version__=.02,App=__appServiceEngine__.App,getApp=__appServiceEngine__.getApp,getCurrentPages=__appServiceEngine__.getCurrentPages,__pageComponent=null;"undefined"!=typeof __exportGlobal__&&(__exportGlobal__.Page=__appServiceEngine__.Page,__exportGlobal__.Component=__appServiceEngine__.Component,__exportGlobal__.Behavior=__appServiceEngine__.Behavior,__exportGlobal__.__webview_engine_version__=.02,__exportGlobal__.App=__appServiceEngine__.App,__exportGlobal__.getApp=__appServiceEngine__.getApp,__exportGlobal__.getCurrentPages=__appServiceEngine__.getCurrentPages,__exportGlobal__.__pageComponent=null);var __wxModule__=function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={exports:{},id:e,loaded:!1};return n[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}return o.m=n,o.c=r,o.p="",o(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requirePlugin=t.definePlugin=void 0;var r=n(1),o=n(5);t.definePlugin=r.definePlugin,t.requirePlugin=o.requirePlugin},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.definePlugin=t.innerDefineFactory=void 0;var r,a=n(2),o=n(3),i=(r=o)&&r.__esModule?r:{default:r},s=n(4);var c=i.default.plugin;t.innerDefineFactory=function(r){return function(e,t){var n=c[r];if(void 0===n)throw new Error('Sorry, plugin "'+r+'" is not defined.');n[e]={status:a.MODULE_STATUS_UNLOAD,factory:t}}},t.definePlugin=function(e,t){var n=(0,s.parseSchema)(e);if(!n||!n.pluginId||!n.version)throw new Error('schema must match "plugin://{name}/{version}"');var r=(0,s.getModKey)(n),o=function(e){if(void 0===__appServiceEngine__||"function"!=typeof __appServiceEngine__.__createPluginGlobal)throw new Error("Create plugin global failed.");return __appServiceEngine__.__createPluginGlobal(e.pluginId,e.version)}(n);c[r]={status:a.MODULE_STATUS_UNLOAD,factory:t,mods:{},global:o}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.MODULE_STATUS_LOADED=2,t.MODULE_STATUS_UNLOAD=1},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={app:{},plugin:{}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=/^plugin:\/\/([A-Za-z0-9_-]+)[\/]?(.*)/;t.parseSchema=function(e){var t=e.match(n);if(t&&3===t.length)return{pluginId:t[1],version:"0",modId:1<=t[2].length?t[2]:void 0}},t.getModKey=function(e){return e.pluginId+"/"+e.version},t.getModDir=function(e){var t=e.match(/(.*)\/([^\/]+)?$/);return t&&t[1]?t[1]:"./"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requirePlugin=void 0;var r,s=n(1),o=n(3),a=(r=o)&&r.__esModule?r:{default:r},c=n(2),i=n(4);var l=a.default.plugin,d=function(e){for(var t=[],n=e.split("/"),r=0,o=n.length;r<o;++r){var a=n[r];if(""!=a&&"."!=a)if(".."==a){if(0==t.length){t=null;break}t.pop()}else r+1<o&&".."==n[r+1]?r++:t.push(a)}return t},f=function(e,t){var n=l[e],r=d(t+"/index.js").join("/");return n&&n[r]?r:(r=d(t).join("/"),/\.js$/.test(r)||(r+=".js"),n&&n[r]?r:"")},u=function(r,e){var o=(0,i.getModDir)(e);return function(e){if("string"!=typeof e)throw new Error("require args must be a string.");var t=d(e.startsWith("/")?e:o+"/"+e);if(!t)throw new Error("can't find module : "+e);try{var n=t.join("/");return n=function(e,t,n,r){var o=t,a=l[e];if(/\.js$/.test(o)||(o+=".js"),"string"==typeof o&&a&&a[o])return o;var i=d(n);if(!i)throw new Error("can't find module : "+r);for(var s=t.substring(i.join("/").length),c=void 0;i.length;){var u=i.join("/")+"/miniprogram_npm"+s;if(c=f(e,u))break;i.pop()}c||(s="/"===s[0]?s:"/"+s,c=f(e,"miniprogram_npm"+s));return c||t}(r,n,o,e),p(r,n)}catch(e){throw e}}},p=function(e,t){!function(e){if("string"!=typeof e)throw new Error("require args must be a string")}(t);var n=l[e];if(void 0===n)throw new Error('Plugin "'+e+'" is not defined.');var r=n[t];if(void 0===r)throw new Error('Plugin module "'+t+'" is not defined.');if(r.status===c.MODULE_STATUS_UNLOAD){var o=void 0,a=r.factory,i={exports:{}};a&&(o=a(u(e,t),i,i.exports)),r.exports=void 0!==i.exports?i.exports:o,r.status=c.MODULE_STATUS_LOADED}return r.exports},h=function(e,t){var n=t.factory,r=t.global,o={exports:{}};if(!n)return o.exports;var a,i=n((0,s.innerDefineFactory)(e),(a=e,function(e){return p(a,e)}),o,o.exports,r,r.wx,void 0,r.Page,r.Component,r.Behavior,void 0,r.getCurrentPages);return void 0!==o.exports?o.exports:i};t.requirePlugin=function(e){!function(){if(void 0===__wxConfig||void 0===__wxConfig.plugins)throw new Error("This application has not registered any plugins yet.")}(),function(e){if("string"!=typeof e)throw new Error("requirePlugin args must be a string.")}(e);var t=(0,i.parseSchema)(e),n=void 0===t;n&&(t=function(e){var t=__wxConfig.plugins[e];if(void 0===t)throw new Error('Plugin "'+e+'" has not registered.');return{pluginId:t.provider,version:"0"}}(e));var r=(0,i.getModKey)(t),o=l[r];if(void 0===o)throw new Error('Plugin "'+r+'" is not defined.');return o.status===c.MODULE_STATUS_UNLOAD&&(o.exports=h(r,o),o.status=c.MODULE_STATUS_LOADED),n?"function"==typeof o.exports?o.exports():void 0:o.exports}}]),definePlugin=__wxModule__.definePlugin,requirePlugin=__wxModule__.requirePlugin;!function(e){var c={};define=function(e,t){c[e]={status:1,factory:t}};var u=function(e){if(e&&__wxConfig.subPackages)for(var t=0,n=__wxConfig.subPackages.length;t<n;t++)if(0===e.indexOf(__wxConfig.subPackages[t].root))return __wxConfig.subPackages[t]},l=function(e){for(var t=[],n=e.split("/"),r=0,o=n.length;r<o;++r){var a=n[r];if(""!=a&&"."!=a)if(".."==a){if(0==t.length){t=null;break}t.pop()}else r+1<o&&".."==n[r+1]?r++:t.push(a)}return t},d=function(e){var t=l(e+"/index.js").join("/");return c[t]?t:(t=l(e).join("/"),/\.js$/.test(t)||(t+=".js"),c[t]?t:"")},i=function(i){var e,s=(e=i.match(/(.*)\/([^/]+)?$/))&&e[1]?e[1]:"./";return function(e){if("string"!=typeof e)throw new Error("require args must be a string");var t=l(s+"/"+e);if(!t)throw new Error("can't find module : "+e);try{var n=t.join("/");n=function(e,t,n){var r=e;if(/\.js$/.test(r)||(r+=".js"),"string"==typeof r&&c[r])return r;var o=l(t);if(!o)throw new Error("can't find module : "+n);for(var a,i=e.substring(o.join("/").length);o.length;){var s=o.join("/")+"/miniprogram_npm"+i;if(a=d(s))break;o.pop()}a||(i="/"===i[0]?i:"/"+i,a=d(s="miniprogram_npm"+i));return a||e}(n,s,e);var r=function(e){return"functional-pages"===l(e)[0]};if(r(n)!==r(i)&&Reporter.thirdErrorReport({error:new Error('should not require across "functional-pages" folder'),extend:'at require("'+e+'") in '+i}),"devtools"===__wxConfig.platform&&__wxConfig.subPackages){var o=u(n),a=u(i);if(o&&o!==a)throw new Error("should not require "+e+" in "+i+" because they are in diffrent subPackages")}return require(n)}catch(e){throw e}}};require=function(e){if("string"!=typeof e)throw new Error("require args must be a string");var t=c[e];if(!t){var n=-1===e.indexOf("/")?e+"/index.js":e;/\.js$/.test(n="miniprogram_npm/"+n)||(n+=".js"),t=c[n]}if(!t)throw new Error('module "'+e+'" is not defined');if(1===t.status){var r=t.factory,o={exports:{}};t.exports=o.exports,t.status=2;var a=void 0;r&&(a=r(i(e),o,o.exports)),t.exports=void 0!==o.exports?o.exports:a}return t.exports}}();var requireMiniProgramFile=require;__exportGlobal__.definePlugin=__wxModule__.definePlugin;__exportGlobal__.requirePlugin=__wxModule__.requirePlugin;;__exportGlobal__.wx=wx;__subContextEngine__.initSubContext();})(this);var __WASubContextEndTime__ = Date.now();
D
# FIXED SDI/sdi_task.obj: C:/ti/ble_examples-simplelink_sdk-1.35/source/ti/ble5stack/sdi/src/sdi_task.c SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/std.h SDI/sdi_task.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdarg.h SDI/sdi_task.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stddef.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/targets/arm/elf/std.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/targets/arm/elf/M3.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/targets/std.h SDI/sdi_task.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdint.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Event.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/xdc.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types__prologue.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/package/package.defs.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types__epilogue.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Event__prologue.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Assert.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Assert__prologue.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Main.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IHeap.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error__prologue.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Main.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error__epilogue.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Memory.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IHeap.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/package/Memory_HeapProxy.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IHeap.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IGateProvider.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/package/Main_Module_GateProxy.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IGateProvider.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags__prologue.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Main.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags__epilogue.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Assert__epilogue.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Log.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Log__prologue.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Main.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Text.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Log__epilogue.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Queue.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Clock.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Assert.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Log.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/interfaces/ITimer.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/interfaces/package/package.defs.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Queue.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Swi.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Assert.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Log.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Queue.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/package/Clock_TimerProxy.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/interfaces/ITimer.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Task.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Task__prologue.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Assert.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Log.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IHeap.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Queue.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/interfaces/ITaskSupport.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Clock.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/package/Task_SupportProxy.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/interfaces/ITaskSupport.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Task__epilogue.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Event__epilogue.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Queue.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Task.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/package/Task_SupportProxy.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Clock.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/package/Clock_TimerProxy.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/BIOS.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/BIOS__prologue.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/package/package.defs.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IGateProvider.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/package/BIOS_RtsGateProxy.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IGateProvider.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/BIOS__epilogue.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/package/BIOS_RtsGateProxy.h SDI/sdi_task.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/string.h SDI/sdi_task.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/linkage.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi__prologue.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/family/arm/m3/package/package.defs.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Log.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Assert.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/BIOS.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/interfaces/IHwi.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h SDI/sdi_task.obj: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi__epilogue.h SDI/sdi_task.obj: C:/ti/ble_examples-simplelink_sdk-1.35/source/ti/ble5stack/sdi/src/inc/sdi_task.h SDI/sdi_task.obj: C:/ti/ble_examples-simplelink_sdk-1.35/source/ti/ble5stack/sdi/src/inc/sdi_data.h SDI/sdi_task.obj: C:/ti/ble_examples-simplelink_sdk-1.35/source/ti/ble5stack/sdi/src/inc/sdi_rxbuf.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/hal/src/target/_common/hal_types.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/hal/src/target/_common/../_common/cc26xx/_hal_types.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/osal/src/inc/osal.h SDI/sdi_task.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/limits.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/osal/src/inc/comdef.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/hal/src/target/_common/hal_types.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/hal/src/inc/hal_defs.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/osal/src/inc/osal_memory.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/osal/src/inc/osal_timers.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/icall/src/inc/icall.h SDI/sdi_task.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdbool.h SDI/sdi_task.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdlib.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/hal/src/inc/hal_assert.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/hal/src/target/_common/hal_types.h SDI/sdi_task.obj: C:/ti/ble_examples-simplelink_sdk-1.35/source/ti/ble5stack/sdi/src/inc/sdi_config.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/target/board.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/target/./cc2640r2lp/cc2640r2lp_board.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/target/./cc2640r2lp/../../boards/CC2640R2_LAUNCHXL/Board.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/ADC.h SDI/sdi_task.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stddef.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/ADCBuf.h SDI/sdi_task.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stddef.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/PWM.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/SPI.h SDI/sdi_task.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stddef.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/UART.h SDI/sdi_task.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stddef.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/Watchdog.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/target/./cc2640r2lp/../../boards/CC2640R2_LAUNCHXL/CC2640R2_LAUNCHXL.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/PIN.h SDI/sdi_task.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stddef.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/ioc.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/hw_types.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/../inc/hw_chip_def.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/hw_memmap.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/hw_ioc.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/hw_ints.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/interrupt.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/hw_nvic.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/debug.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/cpu.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/hw_cpu_scs.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../driverlib/rom.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/gpio.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/hw_gpio.h SDI/sdi_task.obj: C:/ti/ble_examples-simplelink_sdk-1.35/source/ti/ble5stack/sdi/src/inc/sdi_tl.h SDI/sdi_task.obj: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/hal/src/target/_common/hal_types.h C:/ti/ble_examples-simplelink_sdk-1.35/source/ti/ble5stack/sdi/src/sdi_task.c: C:/ti/xdctools_3_50_01_12_core/packages/xdc/std.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdarg.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stddef.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/targets/arm/elf/std.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/targets/arm/elf/M3.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/targets/std.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdint.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Event.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/xdc.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types__prologue.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/package/package.defs.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types__epilogue.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Event__prologue.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Assert.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Assert__prologue.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Main.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IHeap.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error__prologue.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Main.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error__epilogue.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Memory.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IHeap.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/package/Memory_HeapProxy.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IHeap.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IGateProvider.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/package/Main_Module_GateProxy.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IGateProvider.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags__prologue.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Main.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags__epilogue.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Assert__epilogue.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Log.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Log__prologue.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Main.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Text.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Log__epilogue.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Queue.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Clock.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Assert.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Log.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/interfaces/ITimer.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/interfaces/package/package.defs.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Queue.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Swi.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Assert.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Log.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Queue.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/package/Clock_TimerProxy.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/interfaces/ITimer.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Task.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Task__prologue.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Assert.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Log.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IHeap.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Queue.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/interfaces/ITaskSupport.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Clock.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/package/Task_SupportProxy.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/interfaces/ITaskSupport.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Task__epilogue.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Event__epilogue.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Queue.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Task.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/package/Task_SupportProxy.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/Clock.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/knl/package/Clock_TimerProxy.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/BIOS.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/BIOS__prologue.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/package/package.defs.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IGateProvider.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/package/BIOS_RtsGateProxy.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IGateProvider.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/BIOS__epilogue.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/package/BIOS_RtsGateProxy.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/string.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/linkage.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi__prologue.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/family/arm/m3/package/package.defs.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Log.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Assert.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/BIOS.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/interfaces/IHwi.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_01_12_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi__epilogue.h: C:/ti/ble_examples-simplelink_sdk-1.35/source/ti/ble5stack/sdi/src/inc/sdi_task.h: C:/ti/ble_examples-simplelink_sdk-1.35/source/ti/ble5stack/sdi/src/inc/sdi_data.h: C:/ti/ble_examples-simplelink_sdk-1.35/source/ti/ble5stack/sdi/src/inc/sdi_rxbuf.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/hal/src/target/_common/hal_types.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/hal/src/target/_common/../_common/cc26xx/_hal_types.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/osal/src/inc/osal.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/limits.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/osal/src/inc/comdef.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/hal/src/target/_common/hal_types.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/hal/src/inc/hal_defs.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/osal/src/inc/osal_memory.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/osal/src/inc/osal_timers.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/icall/src/inc/icall.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdbool.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdlib.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/hal/src/inc/hal_assert.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/hal/src/target/_common/hal_types.h: C:/ti/ble_examples-simplelink_sdk-1.35/source/ti/ble5stack/sdi/src/inc/sdi_config.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/target/board.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/target/./cc2640r2lp/cc2640r2lp_board.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/target/./cc2640r2lp/../../boards/CC2640R2_LAUNCHXL/Board.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/ADC.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stddef.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/ADCBuf.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stddef.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/PWM.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/SPI.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stddef.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/UART.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stddef.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/Watchdog.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/target/./cc2640r2lp/../../boards/CC2640R2_LAUNCHXL/CC2640R2_LAUNCHXL.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/PIN.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stddef.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/ioc.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/hw_types.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/../inc/hw_chip_def.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/hw_memmap.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/hw_ioc.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/hw_ints.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/interrupt.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/hw_nvic.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/debug.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/cpu.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/hw_cpu_scs.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../driverlib/rom.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/gpio.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/../inc/hw_gpio.h: C:/ti/ble_examples-simplelink_sdk-1.35/source/ti/ble5stack/sdi/src/inc/sdi_tl.h: C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/hal/src/target/_common/hal_types.h:
D
module classloader.byte_stream; import std.bitmanip; public class byte_stream { private ubyte _bytes[]; private uint _index = 0; public this(ubyte bytes[]) { _bytes = bytes; } ubyte get_next_byte() { ubyte result = 0; //log("current position %d",_index); if(_index+1 < _bytes.length) result = _bytes[_index++]; return result; } uint get_next_int() { ubyte result[]; ubyte type_size = 4; result.length = type_size; //log("current position %d",_index); if(_index + type_size < _bytes.length) { for(int i = 0; i < type_size; i++) { result[i] = get_next_byte(); } } return result.read!uint(); } ushort get_next_short() { ubyte result[]; ubyte type_size = 2; result.length = type_size; //log("current position %d",_index); if(_index + type_size < _bytes.length) { for(int i = 0; i < type_size; i++) { result[i] = get_next_byte(); } } return result.read!ushort(); } void jump_n_bytes(uint n) { _index += n; //log("current position %d",_index); } }
D
30 atime=1493952525.064008702 30 ctime=1493952525.104008704
D
/** * Authors: Felix Hufnagel * Copyright: Felix Hufnagel * License: http://www.boost.org/LICENSE_1_0.txt */ //quaternion vector[4] with x,y,z,w module ext.math.quaternion; import std.traits; import std.math; // @property auto ref x(QT)(QT[4] quaternion) pure nothrow @safe { return quaternion[0]; } // @property auto ref y(QT)(QT[4] quaternion) pure nothrow @safe { return quaternion[1]; } // @property auto ref z(QT)(QT[4] quaternion) pure nothrow @safe { return quaternion[2]; } // @property auto ref w(QT)(QT[4] quaternion) pure nothrow @safe { return quaternion[3]; } ref QT[4] makeIdendity(QT)(ref QT[4] quaternion) pure nothrow @safe if (isNumeric!(QT)) { quaternion = [0,0,0,1]; return quaternion; } QT[3] xAxis(QT)(in QT[4] quaternion) pure nothrow @safe if (isNumeric!(QT)) { real ty = 2.0f*quaternion[1]; real tz = 2.0f*quaternion[2]; real twy = ty*quaternion[3]; real twz = tz*quaternion[3]; real txy = ty*quaternion[0]; real txz = tz*quaternion[0]; real tyy = ty*quaternion[1]; real tzz = tz*quaternion[2]; return [1.0-(tyy+tzz), txy+twx, txz-twy]; } QT[3] yAxis(QT)(in QT[4] quaternion) pure nothrow @safe if (isNumeric!(QT)) { real Tx = 2.0f*quaternion[0]; real ty = 2.0f*quaternion[1]; real tz = 2.0f*quaternion[2]; real twy = ty*quaternion[3]; real twz = tz*quaternion[3]; real txy = ty*quaternion[0]; real txz = tz*quaternion[0]; real tyy = ty*quaternion[1]; real tzz = tz*quaternion[2]; return [txy-twz, 1.0-(txx-tzz), tyz+twx]; } QT[3] zAxis(QT)(in QT[4] quaternion) pure nothrow @safe if (isNumeric!(QT)) { real Tx = 2.0f*quaternion[0]; real ty = 2.0f*quaternion[1]; real tz = 2.0f*quaternion[2]; real twy = ty*quaternion[3]; real twz = tz*quaternion[3]; real txy = ty*quaternion[0]; real txz = tz*quaternion[0]; real tyy = ty*quaternion[1]; real tzz = tz*quaternion[2]; return [txz+twy, tyz-twx, 1.0-(txx+tyy)]; } ref QT[4] add(QT, RQT)(ref QT[4] quaternion, in RQT[4] rquaternion) pure nothrow @safe if (isNumeric!(QT) && isImplicitlyConvertible!(RQT, QT)) { foreach(i;0..4) quaternion[i] += rquaternion[i]; return quaternion; } ref QT[4] sub(QT, RQT)(ref QT[4] quaternion, in RQT[4] rquaternion) pure nothrow @safe if (isNumeric!(QT) && isImplicitlyConvertible!(RQT, QT)) { foreach(i;0..4) quaternion[i] -= rquaternion[i]; return quaternion; } ref QT[4] mul(QT, RQT)(ref QT[4] quaternion, in RQT[4] rquaternion) pure nothrow @safe if (isNumeric!(QT) && isImplicitlyConvertible!(RQT, QT)) { quaternion = [ quaternion[3] * rquaternion[0] + quaternion[0] * rquaternion[3] + quaternion[1] * rquaternion[2] - quaternion[2] * rquaternion[1], quaternion[3] * rquaternion[1] + quaternion[1] * rquaternion[3] + quaternion[2] * rquaternion[0] - quaternion[0] * rquaternion[2], quaternion[3] * rquaternion[2] + quaternion[2] * rquaternion[3] + quaternion[0] * rquaternion[1] - quaternion[1] * rquaternion[0], quaternion[3] * rquaternion[3] - quaternion[0] * rquaternion[0] - quaternion[1] * rquaternion[1] - quaternion[2] * rquaternion[2]]; return quaternion; } ref QT[4] mul(QT, T)(ref QT[4] quaternion, in T scalar) pure nothrow @safe if (isNumeric!(QT) && isImplicitlyConvertible!(T, QT)) { foreach(i;0..4) quaternion[i] *= scalar; return quaternion; } ref QT[4] negate(QT)(ref QT[4] quaternion) pure nothrow @safe if (isNumeric!(QT)) { return [-quaternion[0], -quaternion[1], -quaternion[2], -quaternion[3]]; } QT dotProduct(QT, RQT)(in QT[4] quaternion, in RQT[4] rquaternion) pure nothrow @safe if (isNumeric!(QT) && isImplicitlyConvertible!(RQT, QT)) { return quaternion[0]*rquaternion[0] + quaternion[1]*rquaternion[1] + quaternion[2]*rquaternion[2] + quaternion[3]*rquaternion[3] ; } QT length(QT)(in QT[4] quaternion) pure nothrow @safe if (isNumeric!(QT)) { return sqrt(quaternion[0]^^2 + quaternion[1]^^2 + quaternion[2]^^2 + quaternion[3]^^2); } QT length2(QT)(in QT[4] quaternion) pure nothrow @safe if (isNumeric!(QT)) { return quaternion[0]^^2 + quaternion[1]^^2 + quaternion[2]^^2 + quaternion[3]^^2; } ref QT[4] narmalise(QT)(ref QT[4] quaternion) pure nothrow @safe if (isNumeric!(QT)) { real len = quaternion.length(); assert(len != 0); if(len == 0) return; real factor = 1.0 / len; quaternion[0] *= factor; quaternion[1] *= factor; quaternion[2] *= factor; quaternion[3] *= factor; return quaternion; } ref QT[4] invert(QT)(ref QT[4] quaternion) pure nothrow @safe if (isNumeric!(QT)) { real norm = norm(); if(norm > 0.0f) { real invNorm = 1.0f/norm; return quaternion = [-quaternion[0]*invNorm, -quaternion[1]*invNorm, -quaternion[2]*invNorm, quaternion[3]*invNorm]; } else { return quaternion = [0,0,0,0]; } } ref QT[4] unitInvert(QT)(ref QT[4] quaternion) pure nothrow @safe if (isNumeric!(QT)) { return quaternion = [-quaternion[0], -quaternion[1], -quaternion[2], quaternion[3]]; } import ext.math.vector; QT[3] mul(QT, RVT)(in QT[4] quaternion, in RVT[3] rvector) pure nothrow @safe if (isNumeric!(QT) && isImplicitlyConvertible!(RVT, QT)) { QT[3] uv; QT[3] uuv; QT[3] qvec = [quaternion[0], quaternion[1], quaternion[2]]; uv = qvec.crossProduct(rvector.dup); uuv = qvec.crossProduct(uv.dup); uv *= (2.0*quaternion[3]); uuv *= 2.0; return v.add(uv).add(uuv); } real roll(QT)(in QT[4] quaternion) pure nothrow @safe if (isNumeric!(QT)) { return atan2(2 * (quaternion[3]*quaternion[2] + quaternion[0]*quaternion[1]), quaternion[3]^^2 - quaternion[0]^^2 + quaternion[1]^^2 - quaternion[2]^^2); } real pitch(QT)(in QT[4] quaternion) pure nothrow @safe if (isNumeric!(QT)) { return asin(2 * (quaternion[3]*quaternion[0] - quaternion[1]*quaternion[2])); } real yaw(QT)(in QT[4] quaternion) pure nothrow @safe if (isNumeric!(QT)) { return atan2(2 * (quaternion[3]*quaternion[1] + quaternion[0]*quaternion[2]), quaternion[3]^^2 - quaternion[0]^^2 - quaternion[1]^^2 + quaternion[2]^^2); }
D
//Written in the D programming language /++ $(LUCKY Regular expressions) are commonly used method of pattern matching on strings, with $(I regex) being a catchy word for a pattern in this domain specific language. Typical problems usually solved by regular expressions include validation of user input and ubiquitous find & replace in text processing utilities. Synposis: --- import std.regex; import std.stdio; void main() { //print out all possible dd/mm/yy(yy) dates found in user input //g - global, find all matches auto r = regex(r"\b[0-9][0-9]?/[0-9][0-9]?/[0-9][0-9](?:[0-9][0-9])?\b", "g"); foreach(line; stdin.byLine) { //match returns a range that can be iterated //to get all of subsequent matches foreach(c; match(line, r)) writeln(c.hit); } } ... //create static regex at compile-time, contains fast native code enum ctr = ctRegex!(`^.*/([^/]+)/?$`); //works just like normal regex: auto m2 = match("foo/bar", ctr); //first match found here if any assert(m2); // be sure to check if there is a match, before examining contents! assert(m2.captures[1] == "bar");//captures is a range of submatches, 0 - full match ... //result of match is directly testable with if/assert/while //e.g. test if a string consists of letters: assert(match("Letter", `^\p{L}+$`)); --- The general usage guideline is keeping regex complexity on the side of simplicity, as its capabilities reside in purely character-level manipulation, and as such are ill suited for tasks involving higher level invariants like matching an integer number $(U bounded) in [a,b] interval. Checks of this sort of are better addressed by additional post-processing. The basic syntax shouldn't surprize experienced users of regular expressions. Thankfully, nowdays the web is bustling with resources to help newcomers, and a good $(WEB www.regular-expressions.info, reference with tutorial ) on regular expressions could be found. This library uses ECMAScript syntax flavor with the following extensions: $(UL $(LI Named subexpressions, with Python syntax. ) $(LI Unicode properties such as Scripts, Blocks and common binary properties e.g Alphabetic, White_Space, Hex_Digit etc.) $(LI Arbitrary length and complexity lookbehind, including lookahead in lookbehind and vise-versa.) ) $(REG_START Pattern syntax ) $(I std.regex operates on codepoint level, 'character' in this table denotes single unicode codepoint.) $(REG_TABLE $(REG_TITLE Pattern element, Semantics ) $(REG_TITLE Atoms, Match single characters ) $(REG_ROW any character except [|*+?(), Matches the character itself. ) $(REG_ROW ., In single line mode matches any charcter. Otherwise it matches any character except '\n' and '\r'. ) $(REG_ROW [class], Matches single character that belongs to this character class. ) $(REG_ROW [^class], Matches single character that does $(U not) belong to this character class.) $(REG_ROW \cC, Matches the control character corresponding to letter C) $(REG_ROW \xXX, Matches a character with hexadecimal value of XX. ) $(REG_ROW \uXXXX, Matches a character with hexadecimal value of XXXX. ) $(REG_ROW \U00YYYYYY, Matches a character with hexadecimal value of YYYYYY. ) $(REG_ROW \f, Matches a formfeed character. ) $(REG_ROW \n, Matches a linefeed character. ) $(REG_ROW \r, Matches a carriage return character. ) $(REG_ROW \t, Matches a tab character. ) $(REG_ROW \v, Matches a vertical tab character. ) $(REG_ROW \d, Matches any unicode digit. ) $(REG_ROW \D, Matches any character but unicode digit. ) $(REG_ROW \w, Matches any word character (note: this includes numbers).) $(REG_ROW \W, Matches any non-word character.) $(REG_ROW \s, Matches whitespace, same as \p{White_Space}.) $(REG_ROW \S, Matches any character but these recognized as $(I \s ). ) $(REG_ROW \\, Matches \ character. ) $(REG_ROW \c where c is one of [|*+?(), Matches the character c itself. ) $(REG_ROW \p{PropertyName}, Matches character that belongs to unicode PropertyName set. Single letter abreviations could be used without surrounding {,}. ) $(REG_ROW \P{PropertyName}, Matches character that does not belong to unicode PropertyName set. Single letter abreviations could be used without surrounding {,}. ) $(REG_ROW \p{InBasicLatin}, Matches any character that is part of BasicLatin unicode $(U block).) $(REG_ROW \P{InBasicLatin}, Matches any character except ones in BasicLatin unicode $(U block).) $(REG_ROW \p{Cyrilic}, Matches any character that is part of Cyrilic $(U script).) $(REG_ROW \P{Cyrilic}, Matches any character except ones in Cyrilic $(U script).) $(REG_TITLE Quantifiers, Specify repetition of other elements) $(REG_ROW *, Matches previous character/subexpression 0 or more times. Greedy version - tries as many times as possible.) $(REG_ROW *?, Matches previous character/subexpression 0 or more times. Lazy version - stops as early as possible.) $(REG_ROW +, Matches previous character/subexpression 1 or more times. Greedy version - tries as many times as possible.) $(REG_ROW +?, Matches previous character/subexpression 1 or more times. Lazy version - stops as early as possible.) $(REG_ROW {n}, Matches previous character/subexpression n exactly times. ) $(REG_ROW {n&#44}, Matches previous character/subexpression n times or more. Greedy version - tries as many times as possible. ) $(REG_ROW {n&#44}?, Matches previous character/subexpression n times or more. Lazy version - stops as early as possible.) $(REG_ROW {n&#44m}, Matches previous character/subexpression n to m times. Greedy version - tries as many times as possible. ) $(REG_ROW {n&#44m}?, Matches previous character/subexpression n to m times. Lazy version - stops as early as possible, but no less then n times.) $(REG_TITLE Other, Subexpressions & alternations ) $(REG_ROW (regex), Matches subexpression regex, saving matched portion of text for later retrival. ) $(REG_ROW (?:regex), Matches subexpression regex, $(U not) saving matched portion of text. Useful to speed up matching. ) $(REG_ROW A|B, Matches subexpression A, failing that matches B. ) $(REG_ROW (?P&lt;name&gt;regex), Matches named subexpression regex labeling it with name 'name'. When refering to matched portion of text, names work like aliases in addition to direct numbers. ) $(REG_TITLE Assertions, Match position rather then character ) $(REG_ROW ^, Matches at the begining of input or line (in multiline mode).) $(REG_ROW $, Matches at the end of input or line (in multiline mode). ) $(REG_ROW \b, Matches at word boundary. ) $(REG_ROW \B, Matches when $(U not) at word boundary. ) $(REG_ROW (?=regex), Zero-width lookahead assertion. Matches at a point where the subexpression regex could be matched starting from current position. ) $(REG_ROW (?!regex), Zero-width negative lookahead assertion. Matches at a point where the subexpression regex could $(U not ) be matched starting from current position. ) $(REG_ROW (?<=regex), Zero-width lookbehind assertion. Matches at a point where the subexpression regex could be matched ending at current position (matching goes backwards). ) $(REG_ROW (?<!regex), Zero-width negative lookbehind assertion. Matches at a point where the subexpression regex could $(U not) be matched ending at current position (matching goes backwards). ) ) $(REG_START Character classes ) $(REG_TABLE $(REG_TITLE Pattern element, Semantics ) $(REG_ROW Any atom, Have the same meaning as outside of character class.) $(REG_ROW a-z, Includes characters a, b, c, ..., z. ) $(REG_ROW [a||b]&#44 [a--b]&#44 [a~~b]&#44 [a&&b], Where a, b are arbitrary classes, means union, set difference, symmetric set difference, and intersection respectively. $(I Any sequence of character class elements implicitly forms union.) ) ) $(REG_START Regex flags ) $(REG_TABLE $(REG_TITLE Flag, Semantics ) $(REG_ROW g, Global regex, repeat over the whole input. ) $(REG_ROW i, Case insensitive matching. ) $(REG_ROW m, Multi-line mode, match ^, $ on start and end line separators as well as start and end of input.) $(REG_ROW s, Single-line mode, makes . match '\n' and '\r' as well. ) $(REG_ROW x, Free-form syntax, ignores whitespace in pattern, useful for formating complex regular expressions. ) ) $(B Unicode support) This library provides full Level 1 support* according to $(WEB unicode.org/reports/tr18/, UTS 18). Specifically: $(UL $(LI 1.1 Hex notation via any of \uxxxx, \U00YYYYYY, \xZZ.) $(LI 1.2 Unicode properties.) $(LI 1.3 Character classes with set operations.) $(LI 1.4 Word boundaries use full set of "word" characters.) $(LI 1.5 Using simple casefolding to match case insensitevely across full range of codepoints.) $(LI 1.6 Respecting line breaks as any of \u000A | \u000B | \u000C | \u000D | \u0085 | \u2028 | \u2029 | \u000D\u000A.) $(LI 1.7 Operating on codepoint level.) ) *With exception of point 1.1.1, as of yet, normalization of input is expected to be enforced by user. All matches returned by pattern matching functionality in this library are slices of original input. Notable exception being $(D replace) family of functions that generate new string from input. License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: Dmitry Olshansky, API and utility constructs are based on original $(D std.regex) by Walter Bright and Andrei Alexandrescu Copyright: Copyright Dmitry Olshansky, 2011 Macros: REG_ROW = $(TR $(TD $(I $1 )) $(TD $+) ) REG_TITLE = $(TR $(TD $(B $1)) $(TD $(B $2)) ) REG_TABLE = <table border="1" cellspacing="0" cellpadding="5" > $0 </table> REG_START = <h3><div align="center"> $0 </div></h3> +/ module std.regex; import std.internal.uni, std.internal.uni_tab;//unicode property tables import std.array, std.algorithm, std.range, std.conv, std.exception, std.traits, std.typetuple, std.uni, std.utf, std.format, std.typecons, std.bitmanip, std.functional, std.exception; import core.bitop, core.stdc.string, core.stdc.stdlib; import ascii = std.ascii; import std.string : representation; version(unittest) debug import std.stdio; private: @safe: //uncomment to get a barrage of debug info //debug = fred_parser; //debug = fred_matching; //debug = fred_charset; // IR bit pattern: 0b1_xxxxx_yy // where yy indicates class of instruction, xxxxx for actual operation code // 00: atom, a normal instruction // 01: open, opening of a group, has length of contained IR in the low bits // 10: close, closing of a group, has length of contained IR in the low bits // 11 unused // // Loops with Q (non-greedy, with ? mark) must have the same size / other properties as non Q version // Possible changes: //* merge group, option, infinite/repeat start (to never copy during parsing of (a|b){1,2}) //* reorganize groups to make n args easier to find, or simplify the check for groups of similar ops // (like lookaround), or make it easier to identify hotspots. enum IR:uint { Char = 0b1_00000_00, //a character Any = 0b1_00001_00, //any character CodepointSet = 0b1_00010_00, //a most generic CodepointSet [...] Trie = 0b1_00011_00, //CodepointSet implemented as Trie //match with any of a consecutive OrChar's in this sequence //(used for case insensitive match) //OrChar holds in upper two bits of data total number of OrChars in this _sequence_ //the drawback of this representation is that it is difficult // to detect a jump in the middle of it OrChar = 0b1_00100_00, Nop = 0b1_00101_00, //no operation (padding) End = 0b1_00110_00, //end of program Bol = 0b1_00111_00, //beginning of a string ^ Eol = 0b1_01000_00, //end of a string $ Wordboundary = 0b1_01001_00, //boundary of a word Notwordboundary = 0b1_01010_00, //not a word boundary Backref = 0b1_01011_00, //backreference to a group (that has to be pinned, i.e. locally unique) (group index) GroupStart = 0b1_01100_00, //start of a group (x) (groupIndex+groupPinning(1bit)) GroupEnd = 0b1_01101_00, //end of a group (x) (groupIndex+groupPinning(1bit)) Option = 0b1_01110_00, //start of an option within an alternation x | y (length) GotoEndOr = 0b1_01111_00, //end of an option (length of the rest) //... any additional atoms here OrStart = 0b1_00000_01, //start of alternation group (length) OrEnd = 0b1_00000_10, //end of the or group (length,mergeIndex) //with this instruction order //bit mask 0b1_00001_00 could be used to test/set greediness InfiniteStart = 0b1_00001_01, //start of an infinite repetition x* (length) InfiniteEnd = 0b1_00001_10, //end of infinite repetition x* (length,mergeIndex) InfiniteQStart = 0b1_00010_01, //start of a non eager infinite repetition x*? (length) InfiniteQEnd = 0b1_00010_10, //end of non eager infinite repetition x*? (length,mergeIndex) RepeatStart = 0b1_00011_01, //start of a {n,m} repetition (length) RepeatEnd = 0b1_00011_10, //end of x{n,m} repetition (length,step,minRep,maxRep) RepeatQStart = 0b1_00100_01, //start of a non eager x{n,m}? repetition (length) RepeatQEnd = 0b1_00100_10, //end of non eager x{n,m}? repetition (length,step,minRep,maxRep) // LookaheadStart = 0b1_00101_01, //begin of the lookahead group (length) LookaheadEnd = 0b1_00101_10, //end of a lookahead group (length) NeglookaheadStart = 0b1_00110_01, //start of a negative lookahead (length) NeglookaheadEnd = 0b1_00110_10, //end of a negative lookahead (length) LookbehindStart = 0b1_00111_01, //start of a lookbehind (length) LookbehindEnd = 0b1_00111_10, //end of a lookbehind (length) NeglookbehindStart= 0b1_01000_01, //start of a negative lookbehind (length) NeglookbehindEnd = 0b1_01000_10, //end of negative lookbehind (length) } //a shorthand for IR length - full length of specific opcode evaluated at compile time template IRL(IR code) { enum uint IRL = lengthOfIR(code); } static assert (IRL!(IR.LookaheadStart) == 3); //how many parameters follow the IR, should be optimized fixing some IR bits int immediateParamsIR(IR i){ switch (i){ case IR.OrEnd,IR.InfiniteEnd,IR.InfiniteQEnd: return 1; case IR.RepeatEnd, IR.RepeatQEnd: return 4; case IR.LookaheadStart, IR.NeglookaheadStart, IR.LookbehindStart, IR.NeglookbehindStart: return 2; default: return 0; } } //full length of IR instruction inlcuding all parameters that might follow it int lengthOfIR(IR i) { return 1 + immediateParamsIR(i); } //full length of the paired IR instruction inlcuding all parameters that might follow it int lengthOfPairedIR(IR i) { return 1 + immediateParamsIR(pairedIR(i)); } //if the operation has a merge point (this relies on the order of the ops) bool hasMerge(IR i) { return (i&0b11)==0b10 && i<=IR.RepeatQEnd; } //is an IR that opens a "group" bool isStartIR(IR i) { return (i&0b11)==0b01; } //is an IR that ends a "group" bool isEndIR(IR i) { return (i&0b11)==0b10; } //is a standalone IR bool isAtomIR(IR i) { return (i&0b11)==0b00; } //makes respective pair out of IR i, swapping start/end bits of instruction IR pairedIR(IR i) { assert(isStartIR(i) || isEndIR(i)); return cast(IR)(i ^ 0b11); } //encoded IR instruction struct Bytecode { uint raw; //natural constraints enum maxSequence = 2+4; enum maxData = 1<<22; enum maxRaw = 1<<31; this(IR code, uint data) { assert(data < (1<<22) && code < 256); raw = code<<24 | data; } this(IR code, uint data, uint seq) { assert(data < (1<<22) && code < 256 ); assert(seq >= 2 && seq < maxSequence); raw = code<<24 | ((seq-2)<<22) | data; } //store raw data static Bytecode fromRaw(uint data) { Bytecode t; t.raw = data; return t; } //bit twiddling helpers @property uint data() const { return raw & 0x003f_ffff; } //ditto @property uint sequence() const { return 2+((raw >>22) & 0x3); } //ditto @property IR code() const { return cast(IR)(raw>>24); } //ditto @property bool hotspot() const { return hasMerge(code); } //test the class of this instruction @property bool isAtom() const { return isAtomIR(code); } //ditto @property bool isStart() const { return isStartIR(code); } //ditto @property bool isEnd() const { return isEndIR(code); } //number of arguments for this instruction @property int args() const { return immediateParamsIR(code); } //mark this GroupStart or GroupEnd as referenced in backreference void setBackrefence() { assert(code == IR.GroupStart || code == IR.GroupEnd); raw = raw | (1<<23); } //is referenced @property bool backreference() const { assert(code == IR.GroupStart || code == IR.GroupEnd); return cast(bool)(raw & (1<<23)); } //mark as local reference (for backrefs in lookarounds) void setLocalRef() { assert(code == IR.Backref); raw = raw | (1<<23); } //is a local ref @property bool localRef() const { assert(code == IR.Backref); return cast(bool)(raw & (1<<23)); } //human readable name of instruction @trusted @property string mnemonic() const {//@@@BUG@@@ to is @system return to!string(code); } //full length of instruction @property uint length() const { return lengthOfIR(code); } //full length of respective start/end of this instruction @property uint pairedLength() const { return lengthOfPairedIR(code); } //returns bytecode of paired instruction (assuming this one is start or end) @property Bytecode paired() const {//depends on bit and struct layout order assert(isStart || isEnd); return Bytecode.fromRaw(raw ^ (0b11<<24)); } //gets an index into IR block of the respective pair uint indexOfPair(uint pc) const { assert(isStart || isEnd); return isStart ? pc + data + length : pc - data - lengthOfPairedIR(code); } } static assert(Bytecode.sizeof == 4); //debugging tool, prints out instruction along with opcodes @trusted string disassemble(in Bytecode[] irb, uint pc, in NamedGroup[] dict=[]) { auto output = appender!string(); formattedWrite(output,"%s", irb[pc].mnemonic); switch(irb[pc].code) { case IR.Char: formattedWrite(output, " %s (0x%x)",cast(dchar)irb[pc].data, irb[pc].data); break; case IR.OrChar: formattedWrite(output, " %s (0x%x) seq=%d", cast(dchar)irb[pc].data, irb[pc].data, irb[pc].sequence); break; case IR.RepeatStart, IR.InfiniteStart, IR.Option, IR.GotoEndOr, IR.OrStart: //forward-jump instructions uint len = irb[pc].data; formattedWrite(output, " pc=>%u", pc+len+IRL!(IR.RepeatStart)); break; case IR.RepeatEnd, IR.RepeatQEnd: //backward-jump instructions uint len = irb[pc].data; formattedWrite(output, " pc=>%u min=%u max=%u step=%u" , pc-len, irb[pc+3].raw, irb[pc+4].raw, irb[pc+2].raw); break; case IR.InfiniteEnd, IR.InfiniteQEnd, IR.OrEnd: //ditto uint len = irb[pc].data; formattedWrite(output, " pc=>%u", pc-len); break; case IR.LookaheadEnd, IR.NeglookaheadEnd: //ditto uint len = irb[pc].data; formattedWrite(output, " pc=>%u", pc-len); break; case IR.GroupStart, IR.GroupEnd: uint n = irb[pc].data; string name; foreach(v;dict) if(v.group == n) { name = "'"~v.name~"'"; break; } formattedWrite(output, " %s #%u " ~ (irb[pc].backreference ? "referenced" : ""), name, n); break; case IR.LookaheadStart, IR.NeglookaheadStart, IR.LookbehindStart, IR.NeglookbehindStart: uint len = irb[pc].data; uint start = irb[pc+1].raw, end = irb[pc+2].raw; formattedWrite(output, " pc=>%u [%u..%u]", pc + len + IRL!(IR.LookaheadStart), start, end); break; case IR.Backref: case IR.CodepointSet: case IR.Trie: uint n = irb[pc].data; formattedWrite(output, " %u", n); if(irb[pc].code == IR.Backref) formattedWrite(output, " %s", irb[pc].localRef ? "local" : "global"); break; default://all data-free instructions } if(irb[pc].hotspot) formattedWrite(output, " Hotspot %u", irb[pc+1].raw); return output.data; } //another pretty printer, writes out the bytecode of a regex and where the pc is @trusted void prettyPrint(Sink,Char=const(char)) (Sink sink, const(Bytecode)[] irb, uint pc=uint.max, int indent=3, size_t index=0) if (isOutputRange!(Sink,Char)) {//formattedWrite is @system while(irb.length>0) { formattedWrite(sink,"%3d",index); if(pc==0 && irb[0].code!=IR.Char) { for (int i=0;i<indent-2;++i) put(sink,"="); put(sink,"> "); } else { if(isEndIR(irb[0].code)) { indent-=2; } if(indent>0) { string spaces=" "; put(sink,spaces[0..(indent%spaces.length)]); for (size_t i=indent/spaces.length;i>0;--i) put(sink,spaces); } } if(irb[0].code==IR.Char) { put(sink,`"`); int i=0; do{ put(sink,cast(char[])([cast(dchar)irb[i].data])); ++i; } while(i<irb.length && irb[i].code==IR.Char); put(sink,"\""); if (pc<i){ put(sink,"\n"); for (int ii=indent+pc+1;ii>0;++ii) put(sink,"="); put(sink,"^"); } index+=i; irb=irb[i..$]; } else { put(sink,irb[0].mnemonic); put(sink,"("); formattedWrite(sink,"%d",irb[0].data); int nArgs= irb[0].args; for(int iarg=0;iarg<nArgs;++iarg) { if(iarg+1<irb.length) formattedWrite(sink,",%d",irb[iarg+1].data); else put(sink,"*error* incomplete irb stream"); } put(sink,")"); if(isStartIR(irb[0].code)) { indent+=2; } index+=lengthOfIR(irb[0].code); irb=irb[lengthOfIR(irb[0].code)..$]; } put(sink,"\n"); } } //index entry structure for name --> number of submatch struct NamedGroup { string name; uint group; } //holds pair of start-end markers for a submatch struct Group(DataIndex) { DataIndex begin, end; @trusted string toString() const { auto a = appender!string(); formattedWrite(a, "%s..%s", begin, end); return a.data; } } //Regular expression engine/parser options: // global - search all nonoverlapping matches in input // casefold - case insensitive matching, do casefolding on match in unicode mode // freeform - ignore whitespace in pattern, to match space use [ ] or \s // multiline - switch ^, $ detect start and end of linesinstead of just start and end of input enum RegexOption: uint { global = 0x1, casefold = 0x2, freeform = 0x4, nonunicode = 0x8, multiline = 0x10, singleline = 0x20 }; alias TypeTuple!('g', 'i', 'x', 'U', 'm', 's') RegexOptionNames;//do not reorder this list static assert( RegexOption.max < 0x80); enum RegexInfo : uint { oneShot = 0x80 }; private enum NEL = '\u0085', LS = '\u2028', PS = '\u2029'; //test if a given string starts with hex number of maxDigit that's a valid codepoint //returns it's value and skips these maxDigit chars on success, throws on failure dchar parseUniHex(Char)(ref Char[] str, uint maxDigit) { enforce(str.length >= maxDigit,"incomplete escape sequence"); uint val; for(int k=0;k<maxDigit;k++) { auto current = str[k];//accepts ascii only, so it's OK to index directly if('0' <= current && current <= '9') val = val * 16 + current - '0'; else if('a' <= current && current <= 'f') val = val * 16 + current -'a' + 10; else if('A' <= current && current <= 'Z') val = val * 16 + current - 'A' + 10; else throw new Exception("invalid escape sequence"); } enforce(val <= 0x10FFFF, "invalid codepoint"); str = str[maxDigit..$]; return val; } //heuristic value determines maximum CodepointSet length suitable for linear search enum maxCharsetUsed = 6; enum maxCachedTries = 8; alias CodepointTrie!8 Trie; Trie[const(CodepointSet)] trieCache; //accessor with caching @trusted Trie getTrie(in CodepointSet set) {// @@@BUG@@@ 6357 almost all properties of AA are not @safe if(__ctfe || maxCachedTries == 0) return Trie(set); else { auto p = set in trieCache; if(p) return *p; if(trieCache.length == maxCachedTries) { trieCache.clear(); trieCache = null; } return (trieCache[set] = Trie(set)); } } //property for \w character class @property CodepointSet wordCharacter() { return memoizeExpr!("CodepointSet.init.add(unicodeAlphabetic).add(unicodeMn).add(unicodeMc) .add(unicodeMe).add(unicodeNd).add(unicodePc)")(); } @property Trie wordTrie() { return memoizeExpr!("Trie(wordCharacter)")(); } auto memoizeExpr(string expr)() { if(__ctfe) return mixin(expr); alias typeof(mixin(expr)) T; static T slot; static bool initialized; if(!initialized) { slot = mixin(expr); initialized = true; } return slot; } /+ fetch codepoint set corresponding to a name (InBlock or binary property) +/ @trusted const(CodepointSet) getUnicodeSet(in char[] name, bool negated, bool casefold) { alias comparePropertyName ucmp; CodepointSet s; //unicode property //helper: direct access with a sanity check if(ucmp(name, "L") == 0 || ucmp(name, "Letter") == 0) { s.add(unicodeLu).add(unicodeLl).add(unicodeLt) .add(unicodeLo).add(unicodeLm); } else if(ucmp(name,"LC") == 0 || ucmp(name,"Cased Letter")==0) { s.add(unicodeLl).add(unicodeLu).add(unicodeLt);//Title case } else if(ucmp(name, "M") == 0 || ucmp(name, "Mark") == 0) { s.add(unicodeMn).add(unicodeMc).add(unicodeMe); } else if(ucmp(name, "P") == 0 || ucmp(name, "Punctuation") == 0) { s.add(unicodePc).add(unicodePd).add(unicodePs).add(unicodePe) .add(unicodePi).add(unicodePf).add(unicodePo); } else if(ucmp(name, "S") == 0 || ucmp(name, "Symbol") == 0) { s.add(unicodeSm).add(unicodeSc).add(unicodeSk).add(unicodeSo); } else if(ucmp(name, "Z") == 0 || ucmp(name, "Separator") == 0) { s.add(unicodeZs).add(unicodeZl).add(unicodeZp); } else if(ucmp(name, "C") == 0 || ucmp(name, "Other") == 0) { s.add(unicodeCo).add(unicodeLo).add(unicodeNo) .add(unicodeSo).add(unicodePo); } else if(ucmp(name, "any") == 0) s.add(Interval(0,0x10FFFF)); else if(ucmp(name, "ascii") == 0) s.add(Interval(0,0x7f)); else { version(fred_perfect_hashing) { uint key = phash(name); if(key >= PHASHNKEYS || ucmp(name,unicodeProperties[key].name) != 0) enforce(0, "invalid property name"); s = cast(CodepointSet)unicodeProperties[key].set; } else { auto range = assumeSorted!((x,y){ return ucmp(x.name, y.name) < 0; })(unicodeProperties); //creating empty Codepointset is a workaround auto eq = range.lowerBound(UnicodeProperty(cast(string)name,CodepointSet.init)).length; enforce(eq!=range.length && ucmp(name,range[eq].name)==0,"invalid property name"); s = range[eq].set.dup; } } if(casefold) s = caseEnclose(s); if(negated) s.negate(); return cast(const CodepointSet)s; } //basic stack, just in case it gets used anywhere else then Parser @trusted struct Stack(T, bool CTFE=false) { static if(!CTFE) Appender!(T[]) stack;//compiles but bogus at CTFE else { struct Proxy { T[] data; void put(T val) { data ~= val; } void shrinkTo(size_t sz){ data = data[0..sz]; } } Proxy stack; } @property bool empty(){ return stack.data.empty; } void push(T item) { stack.put(item); } @property ref T top() { assert(!empty); return stack.data[$-1]; } @property size_t length() { return stack.data.length; } T pop() { assert(!empty); auto t = stack.data[$-1]; stack.shrinkTo(stack.data.length-1); return t; } } //safety limits enum maxGroupNumber = 2^^19; enum maxLookaroundDepth = 16; // *Bytecode.sizeof, i.e. 1Mb of bytecode alone enum maxCompiledLength = 2^^18; //amounts to up to 4 Mb of auxilary table for matching enum maxCumulativeRepetitionLength = 2^^20; template BasicElementOf(Range) { alias Unqual!(ElementEncodingType!Range) BasicElementOf; } struct Parser(R, bool CTFE=false) if (isForwardRange!R && is(ElementType!R : dchar)) { enum infinite = ~0u; dchar _current; bool empty; R pat, origin; //keep full pattern for pretty printing error messages Bytecode[] ir; //resulting bytecode uint re_flags = 0; //global flags e.g. multiline + internal ones Stack!(uint, CTFE) fixupStack; //stack of opened start instructions NamedGroup[] dict; //maps name -> user group number //current num of group, group nesting level and repetitions step Stack!(uint, CTFE) groupStack; uint nesting = 0; uint lookaroundNest = 0; uint counterDepth = 0; //current depth of nested counted repetitions const(CodepointSet)[] charsets; // const(Trie)[] tries; // uint[] backrefed; //bitarray for groups @trusted this(S)(R pattern, S flags) if(isSomeString!S) { pat = origin = pattern; if(!__ctfe) ir.reserve(pat.length); parseFlags(flags); _current = ' ';//a safe default for freeform parsing next(); if(__ctfe) parseRegex(); else { try { parseRegex(); } catch(Exception e) { error(e.msg);//also adds pattern location } } put(Bytecode(IR.End, 0)); } //mark referenced groups for latter processing void markBackref(uint n) { if(n/32 >= backrefed.length) backrefed.length = n/32 + 1; backrefed[n/32] |= 1<<(n & 31); } @property dchar current(){ return _current; } bool _next() { if(pat.empty) { empty = true; return false; } //for CTFEability size_t idx=0; _current = decode(pat, idx); pat = pat[idx..$]; return true; } void skipSpace() { while(isWhite(current) && _next()){ } } bool next() { if(re_flags & RegexOption.freeform) { bool r = _next(); skipSpace(); return r; } else return _next(); } void put(Bytecode code) { enforce(ir.length < maxCompiledLength , "maximum compiled pattern length is exceeded"); if(__ctfe) { ir = ir ~ code; } else ir ~= code; } void putRaw(uint number) { enforce(ir.length < maxCompiledLength , "maximum compiled pattern length is exceeded"); ir ~= Bytecode.fromRaw(number); } //parsing number with basic overflow check uint parseDecimal() { uint r=0; while(ascii.isDigit(current)) { if(r >= (uint.max/10)) error("Overflow in decimal number"); r = 10*r + cast(uint)(current-'0'); if(!next()) break; } return r; } //parse control code of form \cXXX, c assumed to be the current symbol dchar parseControlCode() { enforce(next(), "Unfinished escape sequence"); enforce(('a' <= current && current <= 'z') || ('A' <= current && current <= 'Z'), "Only letters are allowed after \\c"); return current & 0x1f; } // @trusted void parseFlags(S)(S flags) {//@@@BUG@@@ text is @system foreach(ch; flags)//flags are ASCII anyway { L_FlagSwitch: switch(ch) { foreach(i, op; __traits(allMembers, RegexOption)) { case RegexOptionNames[i]: if(re_flags & mixin("RegexOption."~op)) throw new RegexException(text("redundant flag specified: ",ch)); re_flags |= mixin("RegexOption."~op); break L_FlagSwitch; } default: if(__ctfe) assert(text("unknown regex flag '",ch,"'")); else new RegexException(text("unknown regex flag '",ch,"'")); } } } //parse and store IR for regex pattern @trusted void parseRegex() { fixupStack.push(0); groupStack.push(1);//0 - whole match auto maxCounterDepth = counterDepth; uint fix;//fixup pointer while(!empty) { debug(fred_parser) writeln("*LR*\nSource: ", pat, "\nStack: ",fixupStack.stack.data); switch(current) { case '(': next(); nesting++; uint nglob; fixupStack.push(cast(uint)ir.length); if(current == '?') { next(); switch(current) { case ':': put(Bytecode(IR.Nop, 0)); next(); break; case '=': genLookaround(IR.LookaheadStart); next(); break; case '!': genLookaround(IR.NeglookaheadStart); next(); break; case 'P': next(); if(current != '<') error("Expected '<' in named group"); string name; while(next() && isAlpha(current)) { name ~= current; } if(current != '>') error("Expected '>' closing named group"); next(); nglob = groupStack.top++; enforce(groupStack.top <= maxGroupNumber, "limit on submatches is exceeded"); auto t = NamedGroup(name, nglob); if(__ctfe) { size_t ind; for(ind=0; ind <dict.length; ind++) if(t.name >= dict[ind].name) break; insertInPlaceAlt(dict, ind, t); } else { auto d = assumeSorted!"a.name < b.name"(dict); auto ind = d.lowerBound(t).length; insertInPlaceAlt(dict, ind, t); } put(Bytecode(IR.GroupStart, nglob)); break; case '<': next(); if(current == '=') genLookaround(IR.LookbehindStart); else if(current == '!') genLookaround(IR.NeglookbehindStart); else error("'!' or '=' expected after '<'"); next(); break; default: error(" ':', '=', '<', 'P' or '!' expected after '(?' "); } } else { nglob = groupStack.top++; enforce(groupStack.top <= maxGroupNumber, "limit on number of submatches is exceeded"); put(Bytecode(IR.GroupStart, nglob)); } break; case ')': enforce(nesting, "Unmatched ')'"); nesting--; next(); fix = fixupStack.pop(); switch(ir[fix].code) { case IR.GroupStart: put(Bytecode(IR.GroupEnd,ir[fix].data)); parseQuantifier(fix); break; case IR.LookaheadStart, IR.NeglookaheadStart, IR.LookbehindStart, IR.NeglookbehindStart: assert(lookaroundNest); fixLookaround(fix); lookaroundNest--; put(ir[fix].paired); break; case IR.Option: //| xxx ) //two fixups: last option + full OR finishAlternation(fix); fix = fixupStack.top; switch(ir[fix].code) { case IR.GroupStart: fixupStack.pop(); put(Bytecode(IR.GroupEnd,ir[fix].data)); parseQuantifier(fix); break; case IR.LookaheadStart, IR.NeglookaheadStart, IR.LookbehindStart, IR.NeglookbehindStart: assert(lookaroundNest); lookaroundNest--; fix = fixupStack.pop(); fixLookaround(fix); put(ir[fix].paired); break; default://(?:xxx) fixupStack.pop(); parseQuantifier(fix); } break; default://(?:xxx) parseQuantifier(fix); } break; case '|': next(); fix = fixupStack.top; if(ir.length > fix && ir[fix].code == IR.Option) { ir[fix] = Bytecode(ir[fix].code, cast(uint)ir.length - fix); put(Bytecode(IR.GotoEndOr, 0)); fixupStack.top = cast(uint)ir.length; //replace latest fixup for Option put(Bytecode(IR.Option, 0)); break; } //start a new option if(fixupStack.length == 1)//only root entry fix = -1; uint len = cast(uint)ir.length - fix; insertInPlaceAlt(ir, fix+1, Bytecode(IR.OrStart, 0), Bytecode(IR.Option, len)); assert(ir[fix+1].code == IR.OrStart); put(Bytecode(IR.GotoEndOr, 0)); fixupStack.push(fix+1); //fixup for StartOR fixupStack.push(cast(uint)ir.length); //for Option put(Bytecode(IR.Option, 0)); break; default://no groups or whatever uint start = cast(uint)ir.length; parseAtom(); parseQuantifier(start); } } if(fixupStack.length != 1) { fix = fixupStack.pop(); enforce(ir[fix].code == IR.Option, "no matching ')'"); finishAlternation(fix); enforce(fixupStack.length == 1, "no matching ')'"); } } //helper function, finalizes IR.Option, fix points to the first option of sequence void finishAlternation(uint fix) { enforce(ir[fix].code == IR.Option, "no matching ')'"); ir[fix] = Bytecode(ir[fix].code, cast(uint)ir.length - fix - IRL!(IR.OrStart)); fix = fixupStack.pop(); enforce(ir[fix].code == IR.OrStart, "no matching ')'"); ir[fix] = Bytecode(IR.OrStart, cast(uint)ir.length - fix - IRL!(IR.OrStart)); put(Bytecode(IR.OrEnd, cast(uint)ir.length - fix - IRL!(IR.OrStart))); uint pc = fix + IRL!(IR.OrStart); while(ir[pc].code == IR.Option) { pc = pc + ir[pc].data; if(ir[pc].code != IR.GotoEndOr) break; ir[pc] = Bytecode(IR.GotoEndOr, cast(uint)(ir.length - pc - IRL!(IR.OrEnd))); pc += IRL!(IR.GotoEndOr); } put(Bytecode.fromRaw(0)); } //parse and store IR for atom-quantifier pair @trusted void parseQuantifier(uint offset) {//moveAll is @system uint replace = ir[offset].code == IR.Nop; if(empty && !replace) return; uint min, max; switch(current) { case '*': min = 0; max = infinite; break; case '?': min = 0; max = 1; break; case '+': min = 1; max = infinite; break; case '{': enforce(next(), "Unexpected end of regex pattern"); enforce(ascii.isDigit(current), "First number required in repetition"); min = parseDecimal(); if(current == '}') max = min; else if(current == ',') { next(); if(ascii.isDigit(current)) max = parseDecimal(); else if(current == '}') max = infinite; else error("Unexpected symbol in regex pattern"); skipSpace(); if(current != '}') error("Unmatched '{' in regex pattern"); } else error("Unexpected symbol in regex pattern"); break; default: if(replace) { moveAllAlt(ir[offset+1..$],ir[offset..$-1]); ir.length -= 1; } return; } uint len = cast(uint)ir.length - offset - replace; bool greedy = true; //check only if we managed to get new symbol if(next() && current == '?') { greedy = false; next(); } if(max != infinite) { if(min != 1 || max != 1) { Bytecode op = Bytecode(greedy ? IR.RepeatStart : IR.RepeatQStart, len); if(replace) ir[offset] = op; else insertInPlaceAlt(ir, offset, op); put(Bytecode(greedy ? IR.RepeatEnd : IR.RepeatQEnd, len)); put(Bytecode.init); //hotspot putRaw(1); putRaw(min); putRaw(max); counterDepth = std.algorithm.max(counterDepth, nesting+1); } } else if(min) //&& max is infinite { if(min != 1) { Bytecode op = Bytecode(greedy ? IR.RepeatStart : IR.RepeatQStart, len); if(replace) ir[offset] = op; else insertInPlaceAlt(ir, offset, op); offset += 1;//so it still points to the repeated block put(Bytecode(greedy ? IR.RepeatEnd : IR.RepeatQEnd, len)); put(Bytecode.init); //hotspot putRaw(1); putRaw(min); putRaw(min); counterDepth = std.algorithm.max(counterDepth, nesting+1); } else if(replace) { if(__ctfe)//CTFE workaround: no moveAll and length -= x; { ir = ir[0..offset] ~ ir[offset+1..$]; } else { moveAll(ir[offset+1 .. $],ir[offset .. $-1]); ir.length -= 1; } } put(Bytecode(greedy ? IR.InfiniteStart : IR.InfiniteQStart, len)); enforce(ir.length + len < maxCompiledLength, "maximum compiled pattern length is exceeded"); ir ~= ir[offset .. offset+len]; //IR.InfinteX is always a hotspot put(Bytecode(greedy ? IR.InfiniteEnd : IR.InfiniteQEnd, len)); put(Bytecode.init); //merge index } else//vanila {0,inf} { Bytecode op = Bytecode(greedy ? IR.InfiniteStart : IR.InfiniteQStart, len); if(replace) ir[offset] = op; else insertInPlaceAlt(ir, offset, op); //IR.InfinteX is always a hotspot put(Bytecode(greedy ? IR.InfiniteEnd : IR.InfiniteQEnd, len)); put(Bytecode.init); //merge index } } //parse and store IR for atom void parseAtom() { if(empty) return; switch(current) { case '*', '?', '+', '|', '{', '}': error("'*', '+', '?', '{', '}' not allowed in atom"); break; case '.': put(Bytecode(IR.Any, 0)); next(); break; case '[': parseCharset(); break; case '\\': enforce(_next(), "Unfinished escape sequence"); parseEscape(); break; case '^': put(Bytecode(IR.Bol, 0)); next(); break; case '$': put(Bytecode(IR.Eol, 0)); next(); break; default: if(re_flags & RegexOption.casefold) { dchar[5] data; auto range = getCommonCasing(current, data); assert(range.length <= 5); if(range.length == 1) put(Bytecode(IR.Char, range[0])); else foreach(v; range) put(Bytecode(IR.OrChar, v, cast(uint)range.length)); } else put(Bytecode(IR.Char, current)); next(); } } //generate code for start of lookaround: (?= (?! (?<= (?<! void genLookaround(IR opcode) { put(Bytecode(opcode, 0)); put(Bytecode.fromRaw(0)); put(Bytecode.fromRaw(0)); groupStack.push(0); lookaroundNest++; enforce(lookaroundNest <= maxLookaroundDepth , "maximum lookaround depth is exceeded"); } //fixup lookaround with start at offset fix void fixLookaround(uint fix) { ir[fix] = Bytecode(ir[fix].code , cast(uint)ir.length - fix - IRL!(IR.LookaheadStart)); auto g = groupStack.pop(); assert(!groupStack.empty); ir[fix+1] = Bytecode.fromRaw(groupStack.top); //groups are cumulative across lookarounds ir[fix+2] = Bytecode.fromRaw(groupStack.top+g); groupStack.top += g; } //CodepointSet operations relatively in order of priority enum Operator:uint { Open=0, Negate, Difference, SymDifference, Intersection, Union, None }; //parse unit of CodepointSet spec, most notably escape sequences and char ranges //also fetches next set operation Tuple!(CodepointSet,Operator) parseCharTerm() { enum State{ Start, Char, Escape, CharDash, CharDashEscape, PotentialTwinSymbolOperator } Operator op = Operator.None; dchar last; CodepointSet set; State state = State.Start; static void addWithFlags(ref CodepointSet set, uint ch, uint re_flags) { if(re_flags & RegexOption.casefold) { dchar[5] chars; auto range = getCommonCasing(ch, chars); foreach(v; range) set.add(v); } else set.add(ch); } static Operator twinSymbolOperator(dchar symbol) { switch(symbol) { case '|': return Operator.Union; case '-': return Operator.Difference; case '~': return Operator.SymDifference; case '&': return Operator.Intersection; default: assert(false); } } L_CharTermLoop: for(;;) { final switch(state) { case State.Start: switch(current) { case '|': case '-': case '~': case '&': state = State.PotentialTwinSymbolOperator; last = current; break; case '[': op = Operator.Union; goto case; case ']': break L_CharTermLoop; case '\\': state = State.Escape; break; default: state = State.Char; last = current; } break; case State.Char: // xxx last current xxx switch(current) { case '|': case '~': case '&': // then last is treated as normal char and added as implicit union state = State.PotentialTwinSymbolOperator; addWithFlags(set, last, re_flags); last = current; break; case '-': // still need more info state = State.CharDash; break; case '\\': set.add(last); state = State.Escape; break; case '[': op = Operator.Union; goto case; case ']': set.add(last); break L_CharTermLoop; default: addWithFlags(set, last, re_flags); last = current; } break; case State.PotentialTwinSymbolOperator: // xxx last current xxxx // where last = [|-&~] if(current == last) { op = twinSymbolOperator(last); next();//skip second twin char break L_CharTermLoop; } goto case State.Char;// it's not a twin lets re-run normal logic case State.Escape: // xxx \ current xxx switch(current) { case 'f': last = '\f'; state = State.Char; break; case 'n': last = '\n'; state = State.Char; break; case 'r': last = '\r'; state = State.Char; break; case 't': last = '\t'; state = State.Char; break; case 'v': last = '\v'; state = State.Char; break; case 'c': last = parseControlCode(); state = State.Char; break; case '[',']','\\','^','$','.','|','?',',','-',';',':' ,'#','&','%','/','<','>','`' ,'*','+','(',')','{','}', '~': last = current; state = State.Char; break; case 'p': set.add(parseUnicodePropertySpec(false)); state = State.Start; continue L_CharTermLoop; //next char already fetched case 'P': set.add(parseUnicodePropertySpec(true)); state = State.Start; continue L_CharTermLoop; //next char already fetched case 'x': last = parseUniHex(pat, 2); state = State.Char; break; case 'u': last = parseUniHex(pat, 4); state = State.Char; break; case 'U': last = parseUniHex(pat, 8); state = State.Char; break; case 'd': set.add(unicodeNd); state = State.Start; break; case 'D': set.add(unicodeNd.dup.negate()); state = State.Start; break; case 's': set.add(unicodeWhite_Space); state = State.Start; break; case 'S': set.add(unicodeWhite_Space.dup.negate()); state = State.Start; break; case 'w': set.add(wordCharacter); state = State.Start; break; case 'W': set.add(wordCharacter.dup.negate()); state = State.Start; break; default: enforce(false, "invalid escape sequence"); } break; case State.CharDash: // xxx last - current xxx switch(current) { case '[': op = Operator.Union; goto case; case ']': //means dash is a single char not an interval specifier addWithFlags(set, last, re_flags); addWithFlags(set, '-', re_flags); break L_CharTermLoop; case '-'://set Difference again addWithFlags(set, last, re_flags); op = Operator.Difference; next();//skip '-' break L_CharTermLoop; case '\\': state = State.CharDashEscape; break; default: enforce(last <= current, "inverted range"); if(re_flags & RegexOption.casefold) { for(uint ch = last; ch <= current; ch++) addWithFlags(set, ch, re_flags); } else set.add(Interval(last, current)); state = State.Start; } break; case State.CharDashEscape: //xxx last - \ current xxx uint end; switch(current) { case 'f': end = '\f'; break; case 'n': end = '\n'; break; case 'r': end = '\r'; break; case 't': end = '\t'; break; case 'v': end = '\v'; break; case '[',']','\\','^','$','.','|','?',',','-',';',':' ,'#','&','%','/','<','>','`' ,'*','+','(',')','{','}', '~': end = current; break; case 'c': end = parseControlCode(); break; case 'x': end = parseUniHex(pat, 2); break; case 'u': end = parseUniHex(pat, 4); break; case 'U': end = parseUniHex(pat, 8); break; default: error("invalid escape sequence"); } enforce(last <= end,"inverted range"); set.add(Interval(last,end)); state = State.Start; break; } enforce(next(), "unexpected end of CodepointSet"); } return tuple(set, op); } alias Stack!(CodepointSet, CTFE) ValStack; alias Stack!(Operator, CTFE) OpStack; //parse and store IR for CodepointSet void parseCharset() { ValStack vstack; OpStack opstack; // static bool apply(Operator op, ref ValStack stack) { switch(op) { case Operator.Negate: stack.top.negate(); break; case Operator.Union: auto s = stack.pop();//2nd operand enforce(!stack.empty, "no operand for '||'"); stack.top.add(s); break; case Operator.Difference: auto s = stack.pop();//2nd operand enforce(!stack.empty, "no operand for '--'"); stack.top.sub(s); break; case Operator.SymDifference: auto s = stack.pop();//2nd operand enforce(!stack.empty, "no operand for '~~'"); stack.top.symmetricSub(s); break; case Operator.Intersection: auto s = stack.pop();//2nd operand enforce(!stack.empty, "no operand for '&&'"); stack.top.intersect(s); break; default: return false; } return true; } static bool unrollWhile(alias cond)(ref ValStack vstack, ref OpStack opstack) { while(cond(opstack.top)) { debug(fred_charset) writeln(opstack.stack.data); if(!apply(opstack.pop(),vstack)) return false;//syntax error if(opstack.empty) return false; } return true; } L_CharsetLoop: do { switch(current) { case '[': opstack.push(Operator.Open); enforce(next(), "unexpected end of CodepointSet"); if(current == '^') { opstack.push(Operator.Negate); enforce(next(), "unexpected end of CodepointSet"); } //[] is prohibited enforce(current != ']', "wrong CodepointSet"); goto default; case ']': enforce(unrollWhile!(unaryFun!"a != a.Open")(vstack, opstack) , "CodepointSet syntax error"); enforce(!opstack.empty, "unmatched ']'"); opstack.pop(); next(); if(opstack.empty) break L_CharsetLoop; auto pair = parseCharTerm(); if(!pair[0].empty)//not only operator e.g. -- or ~~ { vstack.top.add(pair[0]);//apply union } if(pair[1] != Operator.None) { if(opstack.top == Operator.Union) unrollWhile!(unaryFun!"a == a.Union")(vstack, opstack); opstack.push(pair[1]); } break; // default://yet another pair of term(op)? auto pair = parseCharTerm(); if(pair[1] != Operator.None) { if(opstack.top == Operator.Union) unrollWhile!(unaryFun!"a == a.Union")(vstack, opstack); opstack.push(pair[1]); } vstack.push(pair[0]); } }while(!empty || !opstack.empty); while(!opstack.empty) apply(opstack.pop(),vstack); assert(vstack.length == 1); charsetToIr(vstack.top); } //try to generate optimal IR code for this CodepointSet @trusted void charsetToIr(in CodepointSet set) {//@@@BUG@@@ writeln is @system uint chars = set.chars(); if(chars < Bytecode.maxSequence) { switch(chars) { case 1: put(Bytecode(IR.Char, set.ivals[0])); break; case 0: error("empty CodepointSet not allowed"); break; default: foreach(ch; set[]) put(Bytecode(IR.OrChar, ch, chars)); } } else { if(set.ivals.length > maxCharsetUsed) { auto t = getTrie(set); put(Bytecode(IR.Trie, cast(uint)tries.length)); tries ~= t; debug(fred_allocation) writeln("Trie generated"); } else { put(Bytecode(IR.CodepointSet, cast(uint)charsets.length)); tries ~= Trie.init; } charsets ~= set; assert(charsets.length == tries.length); } } //parse and generate IR for escape stand alone escape sequence @trusted void parseEscape() {//accesses array of appender switch(current) { case 'f': next(); put(Bytecode(IR.Char, '\f')); break; case 'n': next(); put(Bytecode(IR.Char, '\n')); break; case 'r': next(); put(Bytecode(IR.Char, '\r')); break; case 't': next(); put(Bytecode(IR.Char, '\t')); break; case 'v': next(); put(Bytecode(IR.Char, '\v')); break; case 'd': next(); charsetToIr(unicodeNd); break; case 'D': next(); charsetToIr(unicodeNd.dup.negate()); break; case 'b': next(); put(Bytecode(IR.Wordboundary, 0)); break; case 'B': next(); put(Bytecode(IR.Notwordboundary, 0)); break; case 's': next(); charsetToIr(unicodeWhite_Space); break; case 'S': next(); charsetToIr(unicodeWhite_Space.dup.negate()); break; case 'w': next(); charsetToIr(wordCharacter); break; case 'W': next(); charsetToIr(wordCharacter.dup.negate()); break; case 'p': case 'P': auto CodepointSet = parseUnicodePropertySpec(current == 'P'); charsetToIr(CodepointSet); break; case 'x': uint code = parseUniHex(pat, 2); next(); put(Bytecode(IR.Char,code)); break; case 'u': case 'U': uint code = parseUniHex(pat, current == 'u' ? 4 : 8); next(); put(Bytecode(IR.Char, code)); break; case 'c': //control codes Bytecode code = Bytecode(IR.Char, parseControlCode()); next(); put(code); break; case '0': next(); put(Bytecode(IR.Char, 0));//NUL character break; case '1': .. case '9': uint nref = cast(uint)current - '0'; uint maxBackref; foreach(v; groupStack.stack.data) maxBackref += v; uint localLimit = maxBackref - groupStack.top; enforce(nref < maxBackref, "Backref to unseen group"); //perl's disambiguation rule i.e. //get next digit only if there is such group number while(nref < maxBackref && next() && ascii.isDigit(current)) { nref = nref * 10 + current - '0'; } if(nref >= maxBackref) nref /= 10; if(nref >= localLimit) { put(Bytecode(IR.Backref, nref-localLimit)); ir[$-1].setLocalRef(); } else put(Bytecode(IR.Backref, nref)); markBackref(nref); break; default: auto op = Bytecode(IR.Char, current); next(); put(op); } } //parse and return a CodepointSet for \p{...Property...} and \P{...Property..}, //\ - assumed to be processed, p - is current const(CodepointSet) parseUnicodePropertySpec(bool negated) { alias comparePropertyName ucmp; enum MAX_PROPERTY = 128; char[MAX_PROPERTY] result; uint k=0; enforce(next()); if(current == '{') { while(k<MAX_PROPERTY && next() && current !='}' && current !=':') if(current != '-' && current != ' ' && current != '_') result[k++] = cast(char)ascii.toLower(current); enforce(k != MAX_PROPERTY, "invalid property name"); enforce(current == '}', "} expected "); } else {//single char properties e.g.: \pL, \pN ... enforce(current < 0x80, "invalid property name"); result[k++] = cast(char)current; } auto s = getUnicodeSet(result[0..k], negated , cast(bool)(re_flags & RegexOption.casefold)); enforce(!s.empty, "unrecognized unicode property spec"); next(); return s; } // @trusted void error(string msg) { auto app = appender!string(); ir = null; formattedWrite(app, "%s\nPattern with error: `%s` <--HERE-- `%s`", msg, origin[0..$-pat.length], pat); throw new RegexException(app.data); } alias BasicElementOf!R Char; //packages parsing results into a RegEx object @property Regex!Char program() { return Regex!Char(this); } } /++ $(D Regex) object holds regular expression pattern in compiled form. Instances of this object are constructed via calls to $(D regex). This is an intended form for caching and storage of frequently used regular expressions. +/ public struct Regex(Char) { //temporary workaround for identifier lookup const(CodepointSet)[] charsets; // Bytecode[] ir; //compiled bytecode of pattern /++ Test if this object doesn't contain any compiled pattern. Example: --- Regex!char r; assert(r.empty); r = regex("");//note: "" is a valid regex pattern assert(!r.empty); --- +/ @property bool empty() const nothrow { return ir is null; } private: NamedGroup[] dict; //maps name -> user group number uint ngroup; //number of internal groups uint maxCounterDepth; //max depth of nested {n,m} repetitions uint hotspotTableSize; //number of entries in merge table uint threadCount; uint flags; //global regex flags const(Trie)[] tries; // uint[] backrefed; //bit array of backreferenced submatches Kickstart!Char kickstart; //bit access helper uint isBackref(uint n) { if(n/32 >= backrefed.length) return 0; return backrefed[n/32] & (1<<(n&31)); } //check if searching is not needed void checkIfOneShot() { if(flags & RegexOption.multiline) return; L_CheckLoop: for(uint i=0; i<ir.length; i+=ir[i].length) { switch(ir[i].code) { case IR.Bol: flags |= RegexInfo.oneShot; break L_CheckLoop; case IR.GroupStart, IR.GroupEnd, IR.Eol, IR.Wordboundary, IR.Notwordboundary: break; default: break L_CheckLoop; } } } /+ lightweight post process step, only essentials +/ @trusted void lightPostprocess() {//@@@BUG@@@ write is @system struct FixedStack(T) { T[] arr; uint _top; //this(T[] storage){ arr = storage; _top = -1; } @property ref T top(){ assert(!empty); return arr[_top]; } void push(T x){ arr[++_top] = x; } T pop() { assert(!empty); return arr[_top--]; } @property bool empty(){ return _top == -1; } } auto counterRange = FixedStack!uint(new uint[maxCounterDepth+1], -1); counterRange.push(1); ulong cumRange = 0; for(uint i=0; i<ir.length; i+=ir[i].length) { if(ir[i].hotspot) { assert(i + 1 < ir.length , "unexpected end of IR while looking for hotspot"); ir[i+1] = Bytecode.fromRaw(hotspotTableSize); hotspotTableSize += counterRange.top; } switch(ir[i].code) { case IR.RepeatStart, IR.RepeatQStart: uint repEnd = cast(uint)(i + ir[i].data + IRL!(IR.RepeatStart)); assert(ir[repEnd].code == ir[i].paired.code); uint max = ir[repEnd + 4].raw; ir[repEnd+2].raw = counterRange.top; ir[repEnd+3].raw *= counterRange.top; ir[repEnd+4].raw *= counterRange.top; ulong cntRange = cast(ulong)(max)*counterRange.top; cumRange += cntRange; enforce(cumRange < maxCumulativeRepetitionLength , "repetition length limit is exceeded"); counterRange.push(cast(uint)cntRange + counterRange.top); threadCount += counterRange.top; break; case IR.RepeatEnd, IR.RepeatQEnd: threadCount += counterRange.top; counterRange.pop(); break; case IR.GroupStart: if(isBackref(ir[i].data)) ir[i].setBackrefence(); threadCount += counterRange.top; break; case IR.GroupEnd: if(isBackref(ir[i].data)) ir[i].setBackrefence(); threadCount += counterRange.top; break; default: threadCount += counterRange.top; } } checkIfOneShot(); if(!(flags & RegexInfo.oneShot)) kickstart = Kickstart!Char(this, new uint[](256)); debug(fred_allocation) writefln("IR processed, max threads: %d", threadCount); } //IR code validator - proper nesting, illegal instructions, etc. @trusted void validate() {//@@@BUG@@@ text is @system for(uint pc=0; pc<ir.length; pc+=ir[pc].length) { if(ir[pc].isStart || ir[pc].isEnd) { uint dest = ir[pc].indexOfPair(pc); assert(dest < ir.length, text("Wrong length in opcode at pc=" , pc, " ", dest, " vs ", ir.length)); assert(ir[dest].paired == ir[pc] ,text("Wrong pairing of opcodes at pc=", pc, "and pc=", dest)); } else if(ir[pc].isAtom) { } else assert(0, text("Unknown type of instruction at pc=", pc)); } } //print out disassembly a program's IR @trusted debug public void print() const {//@@@BUG@@@ write is system import std.stdio; writefln("PC\tINST\n"); prettyPrint(delegate void(const(char)[] s){ write(s); },ir); writefln("\n"); for(uint i=0; i<ir.length; i+=ir[i].length) { writefln("%d\t%s ", i, disassemble(ir, i, dict)); } writeln("Total merge table size: ", hotspotTableSize); writeln("Max counter nesting depth: ", maxCounterDepth); } // this(S,bool x)(Parser!(S,x) p) { if(__ctfe)//CTFE something funky going on with array ir = p.ir.dup; else ir = p.ir; dict = p.dict; ngroup = p.groupStack.top; maxCounterDepth = p.counterDepth; flags = p.re_flags; charsets = p.charsets; tries = p.tries; backrefed = p.backrefed; lightPostprocess(); debug(fred_parser) { print(); } debug validate(); } } // @trusted uint lookupNamedGroup(String)(NamedGroup[] dict,String name) {//equal is @system? //@@@BUG@@@ assumeSorted kills "-inline" //auto fnd = assumeSorted(map!"a.name"(dict)).lowerBound(name).length; uint fnd; for(fnd = 0; fnd<dict.length; fnd++) if(equal(dict[fnd].name,name)) break; enforce(fnd < dict.length, text("no submatch named ", name)); return dict[fnd].group; } //whether ch is one of unicode newline sequences bool endOfLine(dchar front, bool seenCr) { return ((front == '\n') ^ seenCr) || front == '\r' || front == NEL || front == LS || front == PS; } // bool startOfLine(dchar back, bool seenNl) { return ((back == '\r') ^ seenNl) || back == '\n' || back == NEL || back == LS || back == PS; } //Test if bytecode starting at pc in program 're' can match given codepoint //Returns: length of matched atom if test is positive, 0 - can't tell, -1 if doesn't match int quickTestFwd(RegEx)(uint pc, dchar front, const ref RegEx re) { static assert(IRL!(IR.OrChar) == 1);//used in code processing IR.OrChar for(;;) switch(re.ir[pc].code) { case IR.OrChar: uint len = re.ir[pc].sequence; uint end = pc + len; if(re.ir[pc].data != front && re.ir[pc+1].data != front) { for(pc = pc+2; pc<end; pc++) if(re.ir[pc].data == front) break; if(pc == end) return -1; } return 0; case IR.Char: if(front == re.ir[pc].data) return 0; else return -1; case IR.Any: return 0; case IR.CodepointSet: if(re.charsets[re.ir[pc].data].scanFor(front)) return 0; else return -1; case IR.GroupStart, IR.GroupEnd: pc += IRL!(IR.GroupStart); break; case IR.Trie: if(re.tries[re.ir[pc].data][front]) return IRL!(IR.Trie); else return -1; default: return 0; } } /* Useful utility for self-testing, an infinite range of string samples that _have_ to match given compiled regex. Caveats: supports only a simple subset of bytecode. */ @trusted public struct SampleGenerator(Char) { import std.random; const(Regex!Char) re; Appender!(char[]) app; uint limit, seed; Xorshift gen; //generator for pattern r, with soft maximum of threshold elements //and a given random seed this(in Regex!Char r, uint threshold, uint randomSeed) { re = r; limit = threshold; seed = randomSeed; app = appender!(Char[])(); compose(); } uint rand(uint x) { uint r = gen.front % x; gen.popFront(); return r; } void compose() { uint pc = 0, counter = 0, dataLenOld = uint.max; for(;;) { switch(re.ir[pc].code) { case IR.Char: formattedWrite(app,"%s", cast(dchar)re.ir[pc].data); pc += IRL!(IR.Char); break; case IR.OrChar: uint len = re.ir[pc].sequence; formattedWrite(app, "%s", cast(dchar)re.ir[pc + rand(len)].data); pc += len; break; case IR.CodepointSet: case IR.Trie: auto set = re.charsets[re.ir[pc].data]; auto x = rand(set.ivals.length/2); auto y = rand(set.ivals[x*2+1] - set.ivals[2*x]); formattedWrite(app, "%s", cast(dchar)(set.ivals[2*x]+y)); pc += IRL!(IR.CodepointSet); break; case IR.Any: uint x; do { x = rand(0x11_000); }while(x == '\r' || x == '\n' || !isValidDchar(x)); formattedWrite(app, "%s", cast(dchar)x); pc += IRL!(IR.Any); break; case IR.GotoEndOr: pc += IRL!(IR.GotoEndOr)+re.ir[pc].data; assert(re.ir[pc].code == IR.OrEnd); goto case; case IR.OrEnd: pc += IRL!(IR.OrEnd); break; case IR.OrStart: pc += IRL!(IR.OrStart); goto case; case IR.Option: uint next = pc + re.ir[pc].data + IRL!(IR.Option); uint nOpt = 0; //queue next Option while(re.ir[next].code == IR.Option) { nOpt++; next += re.ir[next].data + IRL!(IR.Option); } nOpt++; nOpt = rand(nOpt); for(;nOpt; nOpt--) { pc += re.ir[pc].data + IRL!(IR.Option); } assert(re.ir[pc].code == IR.Option); pc += IRL!(IR.Option); break; case IR.RepeatStart:case IR.RepeatQStart: pc += IRL!(IR.RepeatStart)+re.ir[pc].data; goto case IR.RepeatEnd; case IR.RepeatEnd: case IR.RepeatQEnd: uint len = re.ir[pc].data; uint step = re.ir[pc+2].raw; uint min = re.ir[pc+3].raw; if(counter < min) { counter += step; pc -= len; break; } uint max = re.ir[pc+4].raw; if(counter < max) { if(app.data.length < limit && rand(3) > 0) { pc -= len; counter += step; } else { counter = counter%step; pc += IRL!(IR.RepeatEnd); } } else { counter = counter%step; pc += IRL!(IR.RepeatEnd); } break; case IR.InfiniteStart, IR.InfiniteQStart: pc += re.ir[pc].data + IRL!(IR.InfiniteStart); goto case IR.InfiniteEnd; //both Q and non-Q case IR.InfiniteEnd: case IR.InfiniteQEnd: uint len = re.ir[pc].data; if(app.data.length == dataLenOld) { pc += IRL!(IR.InfiniteEnd); break; } dataLenOld = app.data.length; if(app.data.length < limit && rand(3) > 0) pc = pc - len; else pc = pc + IRL!(IR.InfiniteEnd); break; case IR.GroupStart, IR.GroupEnd: pc += IRL!(IR.GroupStart); break; case IR.Bol, IR.Wordboundary, IR.Notwordboundary: case IR.LookaheadStart, IR.NeglookaheadStart, IR.LookbehindStart, IR.NeglookbehindStart: default: return; } } } @property Char[] front() { return app.data; } @property empty(){ return false; } void popFront() { app.shrinkTo(0); compose(); } } /++ A $(D StaticRegex) is $(D Regex) object that contains specially generated machine code to speed up matching. Implicitly convertible to normal $(D Regex), however doing so will result in loosing this additional capability. +/ public struct StaticRegex(Char) { private: alias BacktrackingMatcher!(true) Matcher; alias bool function(ref Matcher!Char) MatchFn; MatchFn nativeFn; public: Regex!Char _regex; alias _regex this; this(Regex!Char re, MatchFn fn) { _regex = re; nativeFn = fn; } } //utility for shiftOr, returns a minimum number of bytes to test in a Char uint effectiveSize(Char)() { static if(is(Char == char)) return 1; else static if(is(Char == wchar)) return 2; else static if(is(Char == dchar)) return 3; else static assert(0); } /* Kickstart engine using ShiftOr algorithm, a bit parallel technique for inexact string searching. */ struct ShiftOr(Char) { private: uint[] table; uint fChar; uint n_length; enum charSize = effectiveSize!Char(); //maximum number of chars in CodepointSet to process enum uint charsetThreshold = 32_000; static struct ShiftThread { uint[] tab; uint mask; uint idx; uint pc, counter, hops; this(uint newPc, uint newCounter, uint[] table) { pc = newPc; counter = newCounter; mask = 1; idx = 0; hops = 0; tab = table; } void setMask(uint idx, uint mask) { tab[idx] |= mask; } void setInvMask(uint idx, uint mask) { tab[idx] &= ~mask; } void set(alias setBits=setInvMask)(dchar ch) { static if(charSize == 3) { uint val = ch, tmask = mask; setBits(val&0xFF, tmask); tmask <<= 1; val >>= 8; setBits(val&0xFF, tmask); tmask <<= 1; val >>= 8; assert(val <= 0x10); setBits(val, tmask); tmask <<= 1; } else { Char[dchar.sizeof/Char.sizeof] buf; uint tmask = mask; size_t total = encode(buf, ch); for(size_t i=0; i<total; i++, tmask<<=1) { static if(charSize == 1) setBits(buf[i], tmask); else static if(charSize == 2) { setBits(buf[i]&0xFF, tmask); tmask <<= 1; setBits(buf[i]>>8, tmask); } } } } void add(dchar ch){ return set!setInvMask(ch); } void advance(uint s) { mask <<= s; idx += s; } @property bool full(){ return !mask; } } static ShiftThread fork(ShiftThread t, uint newPc, uint newCounter) { ShiftThread nt = t; nt.pc = newPc; nt.counter = newCounter; return nt; } @trusted static ShiftThread fetch(ref ShiftThread[] worklist) { auto t = worklist[$-1]; worklist.length -= 1; if(!__ctfe) worklist.assumeSafeAppend(); return t; } static uint charLen(uint ch) { assert(ch <= 0x10FFFF); return codeLength!Char(cast(dchar)ch)*charSize; } public: @trusted this(const ref Regex!Char re, uint[] memory) { assert(memory.length == 256); fChar = uint.max; L_FindChar: for(size_t i = 0;;) { switch(re.ir[i].code) { case IR.Char: fChar = re.ir[i].data; static if(charSize != 3) { Char buf[dchar.sizeof/Char.sizeof]; encode(buf, fChar); fChar = buf[0]; } fChar = fChar & 0xFF; break L_FindChar; case IR.GroupStart, IR.GroupEnd: i += IRL!(IR.GroupStart); break; case IR.Bol, IR.Wordboundary, IR.Notwordboundary: i += IRL!(IR.Bol); break; default: break L_FindChar; } } table = memory; table[] = uint.max; ShiftThread[] trs; ShiftThread t = ShiftThread(0, 0, table); //locate first fixed char if any n_length = 32; for(;;) { L_Eval_Thread: for(;;) { switch(re.ir[t.pc].code) { case IR.Char: uint s = charLen(re.ir[t.pc].data); if(t.idx+s > n_length) goto L_StopThread; t.add(re.ir[t.pc].data); t.advance(s); t.pc += IRL!(IR.Char); break; case IR.OrChar://assumes IRL!(OrChar) == 1 uint len = re.ir[t.pc].sequence; uint end = t.pc + len; uint[Bytecode.maxSequence] s; uint numS; for(uint i = 0; i<len; i++) { auto x = charLen(re.ir[t.pc+i].data); if(countUntil(s[0..numS], x) < 0) s[numS++] = x; } for(uint i = t.pc; i < end; i++) { t.add(re.ir[i].data); } for(uint i=0; i<numS; i++) { auto tx = fork(t, t.pc + len, t.counter); if(tx.idx + s[i] <= n_length) { tx.advance(s[i]); trs ~= tx; } } if(!trs.empty) t = fetch(trs); else goto L_StopThread; break; case IR.CodepointSet: case IR.Trie: auto set = re.charsets[re.ir[t.pc].data]; uint[4] s; uint numS; static if(charSize == 3) { s[0] = charSize; numS = 1; } else { static if(charSize == 1) static immutable codeBounds = [0x0, 0x7F, 0x80, 0x7FF, 0x800, 0xFFFF, 0x10000, 0x10FFFF]; else //== 2 static immutable codeBounds = [0x0, 0xFFFF, 0x10000, 0x10FFFF]; auto srange = assumeSorted!"a<=b"(set.ivals); for(uint i = 0; i<codeBounds.length/2; i++) { auto start = srange.lowerBound(codeBounds[2*i]).length; auto end = srange.lowerBound(codeBounds[2*i+1]).length; if(end > start || (end == start && (end & 1))) s[numS++] = (i+1)*charSize; } } if(numS == 0 || t.idx + s[numS-1] > n_length) goto L_StopThread; auto chars = set.chars; if(chars > charsetThreshold) goto L_StopThread; foreach(ch; set[]) { //avoid surrogate pairs if(0xD800 <= ch && ch <= 0xDFFF) continue; t.add(ch); } for(uint i=0; i<numS; i++) { auto tx = fork(t, t.pc + IRL!(IR.CodepointSet), t.counter); tx.advance(s[i]); trs ~= tx; } if(!trs.empty) t = fetch(trs); else goto L_StopThread; break; case IR.Any: goto L_StopThread; case IR.GotoEndOr: t.pc += IRL!(IR.GotoEndOr)+re.ir[t.pc].data; assert(re.ir[t.pc].code == IR.OrEnd); goto case; case IR.OrEnd: t.pc += IRL!(IR.OrEnd); break; case IR.OrStart: t.pc += IRL!(IR.OrStart); goto case; case IR.Option: uint next = t.pc + re.ir[t.pc].data + IRL!(IR.Option); //queue next Option if(re.ir[next].code == IR.Option) { trs ~= fork(t, next, t.counter); } t.pc += IRL!(IR.Option); break; case IR.RepeatStart:case IR.RepeatQStart: t.pc += IRL!(IR.RepeatStart)+re.ir[t.pc].data; goto case IR.RepeatEnd; case IR.RepeatEnd: case IR.RepeatQEnd: uint len = re.ir[t.pc].data; uint step = re.ir[t.pc+2].raw; uint min = re.ir[t.pc+3].raw; if(t.counter < min) { t.counter += step; t.pc -= len; break; } uint max = re.ir[t.pc+4].raw; if(t.counter < max) { trs ~= fork(t, t.pc - len, t.counter + step); t.counter = t.counter%step; t.pc += IRL!(IR.RepeatEnd); } else { t.counter = t.counter%step; t.pc += IRL!(IR.RepeatEnd); } break; case IR.InfiniteStart, IR.InfiniteQStart: t.pc += re.ir[t.pc].data + IRL!(IR.InfiniteStart); goto case IR.InfiniteEnd; //both Q and non-Q case IR.InfiniteEnd: case IR.InfiniteQEnd: uint len = re.ir[t.pc].data; uint pc1, pc2; //branches to take in priority order if(++t.hops == 32) goto L_StopThread; pc1 = t.pc + IRL!(IR.InfiniteEnd); pc2 = t.pc - len; trs ~= fork(t, pc2, t.counter); t.pc = pc1; break; case IR.GroupStart, IR.GroupEnd: t.pc += IRL!(IR.GroupStart); break; case IR.Bol, IR.Wordboundary, IR.Notwordboundary: t.pc += IRL!(IR.Bol); break; case IR.LookaheadStart, IR.NeglookaheadStart, IR.LookbehindStart, IR.NeglookbehindStart: t.pc += IRL!(IR.LookaheadStart) + IRL!(IR.LookaheadEnd) + re.ir[t.pc].data; break; default: L_StopThread: assert(re.ir[t.pc].code >= 0x80); debug (fred_search) writeln("ShiftOr stumbled on ",re.ir[t.pc].mnemonic); n_length = min(t.idx, n_length); break L_Eval_Thread; } } if(trs.empty) break; t = fetch(trs); } debug(fred_search) { writeln("Min length: ", n_length); } } @property bool empty() const { return n_length == 0; } @property uint length() const{ return n_length/charSize; } // lookup compatible bit pattern in haystack, return starting index // has a useful trait: if supplied with valid UTF indexes, // returns only valid UTF indexes // (that given the haystack in question is valid UTF string) @trusted size_t search(const(Char)[] haystack, size_t idx) { assert(!empty); auto p = cast(const(ubyte)*)(haystack.ptr+idx); uint state = uint.max; uint limit = 1u<<(n_length - 1u); debug(fred_search) writefln("Limit: %32b",limit); if(fChar != uint.max) { const(ubyte)* end = cast(ubyte*)(haystack.ptr + haystack.length); const orginalAlign = cast(size_t)p & (Char.sizeof-1); while(p != end) { if(!~state) { for(;;) { p = cast(ubyte*)memchr(p, fChar, end - p); if(!p) return haystack.length; if((cast(size_t)p & (Char.sizeof-1)) == orginalAlign) break; if(++p == end) return haystack.length; } state = ~1u; assert((cast(size_t)p & (Char.sizeof-1)) == orginalAlign); static if(charSize == 3) { state = (state<<1) | table[p[1]]; state = (state<<1) | table[p[2]]; p += 3; } } //first char is already tested, see if that's all if(!(state & limit))//division rounds down for dchar return (p-cast(ubyte*)haystack.ptr)/Char.sizeof -length+1; static if(charSize == 3) { state = (state<<1) | table[p[1]]; state = (state<<1) | table[p[2]]; state = (state<<1) | table[p[3]]; p+=4; } else { state = (state<<1) | table[p[1]]; p++; } debug(fred_search) writefln("State: %32b", state); } } else { //in this path we have to shift first static if(charSize == 3) { const(ubyte)* end = cast(ubyte*)(haystack.ptr + haystack.length); while(p != end) { state = (state<<1) | table[p[0]]; state = (state<<1) | table[p[1]]; state = (state<<1) | table[p[2]]; p += 4; if(!(state & limit))//division rounds down for dchar return (p-cast(ubyte*)haystack.ptr)/Char.sizeof -length; } } else { auto len = cast(ubyte*)(haystack.ptr + haystack.length) - p; size_t i = 0; if(len & 1) { state = (state<<1) | table[p[i++]]; if(!(state & limit)) return idx+i/Char.sizeof-length; } while(i<len) { state = (state<<1) | table[p[i++]]; if(!(state & limit)) return idx+i/Char.sizeof -length; state = (state<<1) | table[p[i++]]; if(!(state & limit)) return idx+i/Char.sizeof -length; debug(fred_search) writefln("State: %32b", state); } } } return haystack.length; } @system debug static void dump(uint[] table) {//@@@BUG@@@ writef(ln) is @system import std.stdio; for(size_t i=0; i<table.length; i+=4) { writefln("%32b %32b %32b %32b",table[i], table[i+1], table[i+2], table[i+3]); } } } unittest { @trusted void test_fixed(alias Kick)() { foreach(i, v; TypeTuple!(char, wchar, dchar)) { alias v Char; alias immutable(v)[] String; auto r = regex(to!String(`abc$`)); auto kick = Kick!Char(r, new uint[256]); assert(kick.length == 3, text(Kick.stringof," ",v.stringof, " == ", kick.length)); auto r2 = regex(to!String(`(abc){2}a+`)); kick = Kick!Char(r2, new uint[256]); assert(kick.length == 7, text(Kick.stringof,v.stringof," == ", kick.length)); auto r3 = regex(to!String(`\b(a{2}b{3}){2,4}`)); kick = Kick!Char(r3, new uint[256]); assert(kick.length == 10, text(Kick.stringof,v.stringof," == ", kick.length)); auto r4 = regex(to!String(`\ba{2}c\bxyz`)); kick = Kick!Char(r4, new uint[256]); assert(kick.length == 6, text(Kick.stringof,v.stringof, " == ", kick.length)); auto r5 = regex(to!String(`\ba{2}c\b`)); kick = Kick!Char(r5, new uint[256]); size_t x = kick.search("aabaacaa", 0); assert(x == 3, text(Kick.stringof,v.stringof," == ", kick.length)); x = kick.search("aabaacaa", x+1); assert(x == 8, text(Kick.stringof,v.stringof," == ", kick.length)); } } @trusted void test_flex(alias Kick)() { foreach(i, v;TypeTuple!(char, wchar, dchar)) { alias v Char; alias immutable(v)[] String; auto r = regex(to!String(`abc[a-z]`)); auto kick = Kick!Char(r, new uint[256]); auto x = kick.search(to!String("abbabca"), 0); assert(x == 3, text("real x is ", x, " ",v.stringof)); auto r2 = regex(to!String(`(ax|bd|cdy)`)); String s2 = to!String("abdcdyabax"); kick = Kick!Char(r2, new uint[256]); x = kick.search(s2, 0); assert(x == 1, text("real x is ", x)); x = kick.search(s2, x+1); assert(x == 3, text("real x is ", x)); x = kick.search(s2, x+1); assert(x == 8, text("real x is ", x)); auto rdot = regex(to!String(`...`)); kick = Kick!Char(rdot, new uint[256]); assert(kick.length == 0); auto rN = regex(to!String(`a(b+|c+)x`)); kick = Kick!Char(rN, new uint[256]); assert(kick.length == 3); assert(kick.search("ababx",0) == 2); assert(kick.search("abaacba",0) == 3);//expected inexact } } test_fixed!(ShiftOr)(); test_flex!(ShiftOr)(); } alias ShiftOr Kickstart; //Simple UTF-string abstraction compatible with stream interface struct Input(Char) if(is(Char :dchar)) { alias size_t DataIndex; alias const(Char)[] String; String _origin; size_t _index; //constructs Input object out of plain string this(String input, size_t idx=0) { _origin = input; _index = idx; } //codepoint at current stream position bool nextChar(ref dchar res, ref size_t pos) { if(_index == _origin.length) return false; pos = _index; res = std.utf.decode(_origin, _index); return true; } @property bool atEnd(){ return _index==_origin.length; } bool search(Kickstart)(ref Kickstart kick, ref dchar res, ref size_t pos) { size_t idx = kick.search(_origin, _index); _index = idx; return nextChar(res, pos); } //index of at End position @property size_t lastIndex(){ return _origin.length; } //support for backtracker engine, might not be present void reset(size_t index){ _index = index; } String opSlice(size_t start, size_t end){ return _origin[start..end]; } struct BackLooper { alias size_t DataIndex; String _origin; size_t _index; this(Input input) { _origin = input._origin; _index = input._index; } @trusted bool nextChar(ref dchar res,ref size_t pos) { if(_index == 0) return false; _index -= std.utf.strideBack(_origin, _index); if(_index == 0) return false; pos = _index; res = _origin[0.._index].back; return true; } @property atEnd(){ return _index==0 || _index==std.utf.strideBack(_origin, _index); } @property auto loopBack(){ return Input(_origin, _index); } //support for backtracker engine, might not be present void reset(size_t index){ _index = index+std.utf.stride(_origin, index); } String opSlice(size_t start, size_t end){ return _origin[end..start]; } //index of at End position @property size_t lastIndex(){ return 0; } } @property auto loopBack(){ return BackLooper(this); } } // Test stream against simple UTF-string stream abstraction (w/o normalization and such) struct StreamTester(Char) if (is(Char:dchar)) { alias ulong DataIndex; alias const(Char)[] String; Input!(Char) refStream; String allStr; StreamCBuf!(Char) stream; size_t[] splits; size_t pos; //adds the next chunk to the stream bool addNextChunk() { if(splits.length<pos) { ++pos; if(pos<splits.length) { assert(splits[pos-1]<=splits[pos],"splits is not ordered"); stream.addChunk(allStr[splits[pos-1]..splits[pos]]); } else { stream.addChunk(allStr[splits[pos-1]..$]); stream.hasEnd=true; } return true; } else return false; } //constructs Input object out of plain string this(String input, size_t[] splits) { allStr=input; refStream=Input!(Char)(input,splits); stream=new StreamCBuf!(Char)(); pos=0; if (splits.length) { stream.addChunk(allStr); stream.hasEnd=true; } else stream.addChunk(allStr[0..splits[0]]); } //codepoint at current stream position bool nextChar(ref dchar res, ref size_t pos) { bool ret=stream.nextChar(res,pos); dchar refRes; size_t refPos; if(!res) { if (stream.hasEnd && refStream.nextChar(refRes,refPos)) { throw new Exception("stream eneded too early"); } return false; } else { bool refRet=refStream.nextChar(refRes,refPos); enforce(refRet==ret,"stream contiinued past end"); enforce(refRes==res,"incorrect char "~res~" vs "~refRes); enforce(refPos==(pos &~(255UL<<48)),"incorrect pos, string wans't normalized???"); return true; } } @property bool atEnd() { enforce(!stream.atEnd || refStream.atEnd,"stream ended too early"); return stream.atEnd; } bool search(Kickstart)(ref Kickstart kick, ref dchar res, ref ulong pos) { bool ret=stream.search(kick,res,pos); dchar refRes; size_t refPos; if(ret) { bool refRet=refStream.search(kick,refRes,refPos); enforce(refRet,"stream found spurious kickstart match"); enforce(refRes==res,"stream found different kickstart match "~res~" vs "~refRes); enforce(refPos==(pos &~(255UL<<48)),"stream found different pos for kickstart match, non normalized input?: "~to!string(pos)~" vs "~to!string(refPos)); } else if(hasEnd) { enforce(!refStream.search(kick,refRes,refPos),"stream missed kickstart match"); } return ret; } //index of at End position @property size_t lastIndex(){ return _origin.length; } String opSlice(size_t start, size_t end) { return _origin[start..end]; } struct BackLooper { alias ulong DataIndex; Input!(Char).BackLooper refBacklooper; StreamCBuf!(Char).BackLooper backlooper; ulong startPos; this(Input!(Char).BackLooper refBacklooper,StreamCBuf!(Char).BackLooper backlooper) { this.refBacklooper=refBacklooper; this.backlooper=backlooper; } bool nextChar(ref dchar res,ref ulong pos) { bool ret=backlooper.nextChar(res,pos); if(ret) { dchar refRes; size_t refPos; bool refRet=refBacklooper.nextChar(refRes,refPos); enforce(refRet,"stream backlooper goes back beyond start"); enforce(refRes==res,"stream backlooper has different char "~res~" vs "~refRes); enforce(refPos==(pos &~(255UL<<48)),"stream backlooper has different pos: "~to!string(pos)~" vs "~to!string(refPos)); } else if (refBacklooper.nextChar(refPos,refPos)) { enforce(refPos+historySize<=(startPos &~(255UL<<48)),"stream backlooper stopped before historyWindow"); } return ret; } @property atEnd(){ if(backlooper.atEnd) { dchar res; size_t pos; if (refBacklooper.nextChar(res,pos)) { // this should be mostly true for already normalized/decoded stuff enforce(pos+backlooper.streamBuf.historySize<=(startPos &~(255UL<<48)),"backlooper stream ended too early"); } } else { enforce(backlooper.atEnd,"backlooper stream did not end"); } return backlooper.atEnd; } @property auto loopBack(){ return Input(_origin, _index); } //support for backtracker engine, might not be present void reset(size_t index){ _index = index+std.utf.stride(_origin, index); } String opSlice(size_t start, size_t end){ return _origin[end..start]; } //index of at End position @property size_t lastIndex(){ return 0; } } @property auto loopBack(){ return BackLooper(this); } } //both helperd below are internal, on its own are quite "explosive" //unsafe, no initialization of elements @system T[] mallocArray(T)(size_t len) { return (cast(T*)malloc(len*T.sizeof))[0..len]; } //very unsafe, no initialization @system T[] arrayInChunk(T)(size_t len, ref void[] chunk) { auto ret = (cast(T*)chunk.ptr)[0..len]; chunk = chunk[len*T.sizeof..$]; return ret; } /+ BacktrackingMatcher implements backtracking scheme of matching regular expressions. +/ template BacktrackingMatcher(bool CTregex) { @trusted struct BacktrackingMatcher(Char, Stream=Input!Char) if(is(Char : dchar)) { alias Stream.DataIndex DataIndex; struct State {//top bit in pc is set if saved along with matches DataIndex index; uint pc, counter, infiniteNesting; } static assert(State.sizeof % size_t.sizeof == 0); enum stateSize = State.sizeof / size_t.sizeof; enum initialStack = 1<<16; alias const(Char)[] String; static if(CTregex) alias StaticRegex!Char RegEx; else alias Regex!Char RegEx; RegEx re; //regex program //Stream state Stream s; DataIndex index; dchar front; bool exhausted; //backtracking machine state uint pc, counter; DataIndex lastState = 0; //top of state stack DataIndex[] trackers; static if(!CTregex) uint infiniteNesting; size_t[] memory; //local slice of matches, global for backref Group!DataIndex[] matches, backrefed; static if(__traits(hasMember,Stream, "search")) { enum kicked = true; } else enum kicked = false; static size_t initialMemory(const ref RegEx re) { return (re.ngroup+1)*DataIndex.sizeof //trackers + stackSize(re)*size_t.sizeof; } static size_t stackSize(const ref RegEx re) { return initialStack*(stateSize + re.ngroup*(Group!DataIndex).sizeof/size_t.sizeof)+1; } @property bool atStart(){ return index == 0; } @property bool atEnd(){ return index == s.lastIndex && s.atEnd; } void next() { if(!s.nextChar(front, index)) index = s.lastIndex; } void search() { static if(kicked) { if(!s.search(re.kickstart, front, index)) { index = s.lastIndex; } } else next(); } // void newStack() { auto chunk = mallocArray!(size_t)(stackSize(re)); chunk[0] = cast(size_t)(memory.ptr); memory = chunk[1..$]; } void initialize(ref RegEx program, Stream stream, void[] memBlock) { re = program; s = stream; exhausted = false; trackers = arrayInChunk!(DataIndex)(re.ngroup+1, memBlock); memory = cast(size_t[])memBlock; memory[0] = 0; //hidden pointer memory = memory[1..$]; backrefed = null; } // this(ref RegEx program, Stream stream, void[] memBlock) { initialize(program, stream, memBlock); next(); } // this(ref RegEx program, Stream stream, void[] memBlock, dchar ch, DataIndex idx) { initialize(program, stream, memBlock); front = ch; index = idx; } // bool matchFinalize() { size_t start = index; if(matchImpl()) {//stream is updated here matches[0].begin = start; matches[0].end = index; if(!(re.flags & RegexOption.global) || atEnd) exhausted = true; if(start == index)//empty match advances input next(); return true; } else return false; } //lookup next match, fill matches with indices into input bool match(Group!DataIndex matches[]) { debug(fred_matching) { writeln("------------------------------------------"); } if(exhausted) //all matches collected return false; this.matches = matches; if(re.flags & RegexInfo.oneShot) { exhausted = true; DataIndex start = index; auto m = matchImpl(); if(m) { matches[0].begin = start; matches[0].end = index; } return m; } static if(kicked) auto searchFn = re.kickstart.empty ? &this.next :&this.search; else auto searchFn = &this.next; for(;;) { if(matchFinalize()) return true; else { if(atEnd) break; searchFn(); if(atEnd) { exhausted = true; return matchFinalize(); } } } exhausted = true; return false; } /+ match subexpression against input, results are stored in matches +/ bool matchImpl() { static if(CTregex && is(typeof(re.nativeFn(this)))) { if(re.nativeFn) { version(fred_ct) debug writeln("using C-T matcher"); return re.nativeFn(this); } } else { pc = 0; counter = 0; lastState = 0; infiniteNesting = -1;//intentional auto start = s._index; debug(fred_matching) writeln("Try match starting at ", s[index..s.lastIndex]); for(;;) { debug(fred_matching) writefln("PC: %s\tCNT: %s\t%s \tfront: %s src: %s" , pc, counter, disassemble(re.ir, pc, re.dict) , front, s._index); switch(re.ir[pc].code) { case IR.OrChar://assumes IRL!(OrChar) == 1 if(atEnd) goto L_backtrack; uint len = re.ir[pc].sequence; uint end = pc + len; if(re.ir[pc].data != front && re.ir[pc+1].data != front) { for(pc = pc+2; pc<end; pc++) if(re.ir[pc].data == front) break; if(pc == end) goto L_backtrack; } pc = end; next(); break; case IR.Char: if(atEnd || front != re.ir[pc].data) goto L_backtrack; pc += IRL!(IR.Char); next(); break; case IR.Any: if(atEnd || (!(re.flags & RegexOption.singleline) && (front == '\r' || front == '\n'))) goto L_backtrack; pc += IRL!(IR.Any); next(); break; case IR.CodepointSet: if(atEnd || !re.charsets[re.ir[pc].data].scanFor(front)) goto L_backtrack; next(); pc += IRL!(IR.CodepointSet); break; case IR.Trie: if(atEnd || !re.tries[re.ir[pc].data][front]) goto L_backtrack; next(); pc += IRL!(IR.Trie); break; case IR.Wordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) { pc += IRL!(IR.Wordboundary); break; } else if(atEnd && s.loopBack.nextChar(back, bi) && wordTrie[back]) { pc += IRL!(IR.Wordboundary); break; } else if(s.loopBack.nextChar(back, index)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) { pc += IRL!(IR.Wordboundary); break; } } goto L_backtrack; case IR.Notwordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) goto L_backtrack; else if(atEnd && s.loopBack.nextChar(back, bi) && wordTrie[back]) goto L_backtrack; else if(s.loopBack.nextChar(back, index)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) goto L_backtrack; } pc += IRL!(IR.Wordboundary); break; case IR.Bol: dchar back; DataIndex bi; if(atStart) pc += IRL!(IR.Bol); else if((re.flags & RegexOption.multiline) && s.loopBack.nextChar(back,bi) && endOfLine(back, front == '\n')) { pc += IRL!(IR.Bol); } else goto L_backtrack; break; case IR.Eol: dchar back; DataIndex bi; debug(fred_matching) writefln("EOL (front 0x%x) %s", front, s[index..s.lastIndex]); //no matching inside \r\n if(atEnd || ((re.flags & RegexOption.multiline) && s.loopBack.nextChar(back,bi) && endOfLine(front, back == '\r'))) { pc += IRL!(IR.Eol); } else goto L_backtrack; break; case IR.InfiniteStart, IR.InfiniteQStart: trackers[infiniteNesting+1] = index; pc += re.ir[pc].data + IRL!(IR.InfiniteStart); //now pc is at end IR.Infininite(Q)End uint len = re.ir[pc].data; int test; if(re.ir[pc].code == IR.InfiniteEnd) { test = quickTestFwd(pc+IRL!(IR.InfiniteEnd), front, re); if(test >= 0) pushState(pc+IRL!(IR.InfiniteEnd), counter); infiniteNesting++; pc -= len; } else { test = quickTestFwd(pc - len, front, re); if(test >= 0) { infiniteNesting++; pushState(pc - len, counter); infiniteNesting--; } pc += IRL!(IR.InfiniteEnd); } break; case IR.RepeatStart, IR.RepeatQStart: pc += re.ir[pc].data + IRL!(IR.RepeatStart); break; case IR.RepeatEnd: case IR.RepeatQEnd: //len, step, min, max uint len = re.ir[pc].data; uint step = re.ir[pc+2].raw; uint min = re.ir[pc+3].raw; uint max = re.ir[pc+4].raw; if(counter < min) { counter += step; pc -= len; } else if(counter < max) { if(re.ir[pc].code == IR.RepeatEnd) { pushState(pc + IRL!(IR.RepeatEnd), counter%step); counter += step; pc -= len; } else { pushState(pc - len, counter + step); counter = counter%step; pc += IRL!(IR.RepeatEnd); } } else { counter = counter%step; pc += IRL!(IR.RepeatEnd); } break; case IR.InfiniteEnd: case IR.InfiniteQEnd: uint len = re.ir[pc].data; debug(fred_matching) writeln("Infinited nesting:", infiniteNesting); assert(infiniteNesting < trackers.length); if(trackers[infiniteNesting] == index) {//source not consumed pc += IRL!(IR.InfiniteEnd); infiniteNesting--; break; } else trackers[infiniteNesting] = index; int test; if(re.ir[pc].code == IR.InfiniteEnd) { test = quickTestFwd(pc+IRL!(IR.InfiniteEnd), front, re); if(test >= 0) { infiniteNesting--; pushState(pc + IRL!(IR.InfiniteEnd), counter); infiniteNesting++; } pc -= len; } else { test = quickTestFwd(pc-len, front, re); if(test >= 0) pushState(pc-len, counter); pc += IRL!(IR.InfiniteEnd); infiniteNesting--; } break; case IR.OrEnd: pc += IRL!(IR.OrEnd); break; case IR.OrStart: pc += IRL!(IR.OrStart); goto case; case IR.Option: uint len = re.ir[pc].data; if(re.ir[pc+len].code == IR.GotoEndOr)//not a last one { pushState(pc + len + IRL!(IR.Option), counter); //remember 2nd branch } pc += IRL!(IR.Option); break; case IR.GotoEndOr: pc = pc + re.ir[pc].data + IRL!(IR.GotoEndOr); break; case IR.GroupStart: uint n = re.ir[pc].data; matches[n].begin = index; debug(fred_matching) writefln("IR group #%u starts at %u", n, index); pc += IRL!(IR.GroupStart); break; case IR.GroupEnd: uint n = re.ir[pc].data; matches[n].end = index; debug(fred_matching) writefln("IR group #%u ends at %u", n, index); pc += IRL!(IR.GroupEnd); break; case IR.LookaheadStart: case IR.NeglookaheadStart: uint len = re.ir[pc].data; auto save = index; uint ms = re.ir[pc+1].raw, me = re.ir[pc+2].raw; auto mem = malloc(initialMemory(re))[0..initialMemory(re)]; scope(exit) free(mem.ptr); auto matcher = BacktrackingMatcher(re, s, mem, front, index); matcher.matches = matches[ms .. me]; matcher.backrefed = backrefed.empty ? matches : backrefed; matcher.re.ir = re.ir[pc+IRL!(IR.LookaheadStart) .. pc+IRL!(IR.LookaheadStart)+len+IRL!(IR.LookaheadEnd)]; bool match = matcher.matchImpl() ^ (re.ir[pc].code == IR.NeglookaheadStart); s.reset(save); next(); if(!match) goto L_backtrack; else { pc += IRL!(IR.LookaheadStart)+len+IRL!(IR.LookaheadEnd); } break; case IR.LookbehindStart: case IR.NeglookbehindStart: uint len = re.ir[pc].data; uint ms = re.ir[pc+1].raw, me = re.ir[pc+2].raw; auto mem = malloc(initialMemory(re))[0..initialMemory(re)]; scope(exit) free(mem.ptr); auto backMatcher = BacktrackingMatcher!(Char, typeof(s.loopBack))(re, s.loopBack, mem); backMatcher.matches = matches[ms .. me]; backMatcher.re.ir = re.ir[pc .. pc+IRL!(IR.LookbehindStart)+len]; backMatcher.backrefed = backrefed.empty ? matches : backrefed; bool match = backMatcher.matchBackImpl() ^ (re.ir[pc].code == IR.NeglookbehindStart); if(!match) goto L_backtrack; else { pc += IRL!(IR.LookbehindStart)+len+IRL!(IR.LookbehindEnd); } break; case IR.Backref: uint n = re.ir[pc].data; auto referenced = re.ir[pc].localRef ? s[matches[n].begin .. matches[n].end] : s[backrefed[n].begin .. backrefed[n].end]; while(!atEnd && !referenced.empty && front == referenced.front) { next(); referenced.popFront(); } if(referenced.empty) pc++; else goto L_backtrack; break; case IR.Nop: pc += IRL!(IR.Nop); break; case IR.LookaheadEnd: case IR.NeglookaheadEnd: case IR.End: return true; default: assert(0); L_backtrack: if(!popState()) { s.reset(start); return false; } } } } assert(0); } @property size_t stackAvail() { return memory.length - lastState; } bool prevStack() { size_t* prev = memory.ptr-1; prev = cast(size_t*)*prev;//take out hidden pointer if(!prev) return false; free(memory.ptr);//last segment is freed in RegexMatch immutable size = initialStack*(stateSize + 2*re.ngroup); memory = prev[0..size]; lastState = size; return true; } void stackPush(T)(T val) if(!isDynamicArray!T) { *cast(T*)&memory[lastState] = val; enum delta = (T.sizeof+size_t.sizeof/2)/size_t.sizeof; lastState += delta; debug(fred_matching) writeln("push element SP= ", lastState); } void stackPush(T)(T[] val) { static assert(T.sizeof % size_t.sizeof == 0); (cast(T*)&memory[lastState])[0..val.length] = val[0..$]; lastState += val.length*(T.sizeof/size_t.sizeof); debug(fred_matching) writeln("push array SP= ", lastState); } void stackPop(T)(ref T val) if(!isDynamicArray!T) { enum delta = (T.sizeof+size_t.sizeof/2)/size_t.sizeof; lastState -= delta; val = *cast(T*)&memory[lastState]; debug(fred_matching) writeln("pop element SP= ", lastState); } void stackPop(T)(ref T[] val) { lastState -= val.length*(T.sizeof/size_t.sizeof); val[0..$] = (cast(T*)&memory[lastState])[0..val.length]; debug(fred_matching) writeln("pop array SP= ", lastState); } static if(!CTregex) { //helper function, saves engine state void pushState(uint pc, uint counter) { if(stateSize + matches.length > stackAvail) { newStack(); lastState = 0; } *cast(State*)&memory[lastState] = State(index, pc, counter, infiniteNesting); lastState += stateSize; memory[lastState..lastState+2*matches.length] = cast(size_t[])matches[]; lastState += 2*matches.length; debug(fred_matching) writefln("Saved(pc=%s) front: %s src: %s" , pc, front, s[index..s.lastIndex]); } //helper function, restores engine state bool popState() { if(!lastState) return prevStack(); lastState -= 2*matches.length; auto pm = cast(size_t[])matches; pm[] = memory[lastState .. lastState+2*matches.length]; lastState -= stateSize; State* state = cast(State*)&memory[lastState]; index = state.index; pc = state.pc; counter = state.counter; infiniteNesting = state.infiniteNesting; debug(fred_matching) { writefln("Restored matches", front, s[index .. s.lastIndex]); foreach(i, m; matches) writefln("Sub(%d) : %s..%s", i, m.begin, m.end); } s.reset(index); next(); debug(fred_matching) writefln("Backtracked (pc=%s) front: %s src: %s" , pc, front, s[index..s.lastIndex]); return true; } /+ Match subexpression against input, executing re.ir backwards. Results are stored in matches +/ bool matchBackImpl() { pc = cast(uint)re.ir.length-1; counter = 0; lastState = 0; infiniteNesting = -1;//intentional auto start = index; debug(fred_matching) writeln("Try matchBack at ",retro(s[index..s.lastIndex])); for(;;) { debug(fred_matching) writefln("PC: %s\tCNT: %s\t%s \tfront: %s src: %s" , pc, counter, disassemble(re.ir, pc, re.dict) , front, retro(s[index..s.lastIndex])); switch(re.ir[pc].code) { case IR.OrChar://assumes IRL!(OrChar) == 1 if(atEnd) goto L_backtrack; uint len = re.ir[pc].sequence; uint end = pc - len; if(re.ir[pc].data != front && re.ir[pc-1].data != front) { for(pc = pc-2; pc>end; pc--) if(re.ir[pc].data == front) break; if(pc == end) goto L_backtrack; } pc = end; next(); break; case IR.Char: if(atEnd || front != re.ir[pc].data) goto L_backtrack; pc--; next(); break; case IR.Any: if(atEnd || (!(re.flags & RegexOption.singleline) && (front == '\r' || front == '\n'))) goto L_backtrack; pc--; next(); break; case IR.CodepointSet: if(atEnd || !re.charsets[re.ir[pc].data].scanFor(front)) goto L_backtrack; next(); pc--; break; case IR.Trie: if(atEnd || !re.tries[re.ir[pc].data][front]) goto L_backtrack; next(); pc--; break; case IR.Wordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) { pc--; break; } else if(atEnd && s.loopBack.nextChar(back, bi) && wordTrie[back]) { pc--; break; } else if(s.loopBack.nextChar(back, index)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) { pc--; break; } } goto L_backtrack; case IR.Notwordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) goto L_backtrack; else if(atEnd && s.loopBack.nextChar(back, bi) && wordTrie[back]) goto L_backtrack; else if(s.loopBack.nextChar(back, index)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) goto L_backtrack; } pc--; break; case IR.Bol: dchar back; DataIndex bi; if(atStart) pc--; else if((re.flags & RegexOption.multiline) && s.loopBack.nextChar(back,bi) && endOfLine(back, front == '\n')) { pc--; } else goto L_backtrack; break; case IR.Eol: dchar back; DataIndex bi; debug(fred_matching) writefln("EOL (front 0x%x) %s", front, s[index..s.lastIndex]); //no matching inside \r\n if((re.flags & RegexOption.multiline) && s.loopBack.nextChar(back,bi) && endOfLine(front, back == '\r')) { pc -= IRL!(IR.Eol); } else goto L_backtrack; break; case IR.InfiniteStart, IR.InfiniteQStart: uint len = re.ir[pc].data; assert(infiniteNesting < trackers.length); if(trackers[infiniteNesting] == index) {//source not consumed pc--; //out of loop infiniteNesting--; break; } else trackers[infiniteNesting] = index; if(re.ir[pc].code == IR.InfiniteStart)//greedy { infiniteNesting--; pushState(pc-1, counter);//out of loop infiniteNesting++; pc += len; } else { pushState(pc+len, counter); pc--; infiniteNesting--; } break; case IR.InfiniteEnd: case IR.InfiniteQEnd://now it's a start uint len = re.ir[pc].data; trackers[infiniteNesting+1] = index; pc -= len+IRL!(IR.InfiniteStart); assert(re.ir[pc].code == IR.InfiniteStart || re.ir[pc].code == IR.InfiniteQStart); debug(fred_matching) writeln("(backmatch) Infinite nesting:", infiniteNesting); if(re.ir[pc].code == IR.InfiniteStart)//greedy { pushState(pc-1, counter); infiniteNesting++; pc += len; } else { infiniteNesting++; pushState(pc + len, counter); infiniteNesting--; pc--; } break; case IR.RepeatStart, IR.RepeatQStart: uint len = re.ir[pc].data; uint tail = pc + len + 1; uint step = re.ir[tail+2].raw; uint min = re.ir[tail+3].raw; uint max = re.ir[tail+4].raw; if(counter < min) { counter += step; pc += len; } else if(counter < max) { if(re.ir[pc].code == IR.RepeatStart)//greedy { pushState(pc-1, counter%step); counter += step; pc += len; } else { pushState(pc + len, counter + step); counter = counter%step; pc--; } } else { counter = counter%step; pc--; } break; case IR.RepeatEnd: case IR.RepeatQEnd: pc -= re.ir[pc].data+IRL!(IR.RepeatStart); assert(re.ir[pc].code == IR.RepeatStart || re.ir[pc].code == IR.RepeatQStart); goto case IR.RepeatStart; case IR.OrEnd: uint len = re.ir[pc].data; pc -= len; assert(re.ir[pc].code == IR.Option); len = re.ir[pc].data; auto pc_save = pc+len-1; pc = pc + len + IRL!(IR.Option); while(re.ir[pc].code == IR.Option) { pushState(pc-IRL!(IR.GotoEndOr)-1, counter); len = re.ir[pc].data; pc += len + IRL!(IR.Option); } assert(re.ir[pc].code == IR.OrEnd); pc--; if(pc != pc_save) { pushState(pc, counter); pc = pc_save; } break; case IR.OrStart: assert(0); case IR.Option: assert(re.ir[pc].code == IR.Option); pc += re.ir[pc].data + IRL!(IR.Option); if(re.ir[pc].code == IR.Option) { pc--;//hackish, assumes size of IR.Option == 1 if(re.ir[pc].code == IR.GotoEndOr) { pc += re.ir[pc].data + IRL!(IR.GotoEndOr); } } assert(re.ir[pc].code == IR.OrEnd); pc -= re.ir[pc].data + IRL!(IR.OrStart)+1; break; case IR.GotoEndOr: assert(0); case IR.GroupStart: uint n = re.ir[pc].data; matches[n].begin = index; debug(fred_matching) writefln("IR group #%u starts at %u", n, index); pc --; break; case IR.GroupEnd: uint n = re.ir[pc].data; matches[n].end = index; debug(fred_matching) writefln("IR group #%u ends at %u", n, index); pc --; break; case IR.LookaheadStart: case IR.NeglookaheadStart: assert(0); case IR.LookaheadEnd: case IR.NeglookaheadEnd: uint len = re.ir[pc].data; pc -= len + IRL!(IR.LookaheadStart); uint ms = re.ir[pc+1].raw, me = re.ir[pc+2].raw; auto mem = malloc(initialMemory(re))[0..initialMemory(re)]; scope(exit) free(mem.ptr); auto matcher = BacktrackingMatcher!(Char, typeof(s.loopBack))(re, s.loopBack, mem); matcher.matches = matches[ms .. me]; matcher.backrefed = backrefed.empty ? matches : backrefed; matcher.re.ir = re.ir[pc+IRL!(IR.LookaheadStart) .. pc+IRL!(IR.LookaheadStart)+len+IRL!(IR.LookaheadEnd)]; bool match = matcher.matchImpl() ^ (re.ir[pc].code == IR.NeglookaheadStart); if(!match) goto L_backtrack; else { pc --; } break; case IR.LookbehindEnd: case IR.NeglookbehindEnd: uint len = re.ir[pc].data; pc -= len + IRL!(IR.LookbehindStart); auto save = index; uint ms = re.ir[pc+1].raw, me = re.ir[pc+2].raw; auto mem = malloc(initialMemory(re))[0..initialMemory(re)]; scope(exit) free(mem.ptr); auto matcher = BacktrackingMatcher(re, s, mem, front, index); matcher.re.ngroup = me - ms; matcher.matches = matches[ms .. me]; matcher.backrefed = backrefed.empty ? matches : backrefed; matcher.re.ir = re.ir[pc .. pc+IRL!(IR.LookbehindStart)+len]; bool match = matcher.matchBackImpl() ^ (re.ir[pc].code == IR.NeglookbehindStart); s.reset(save); next(); if(!match) goto L_backtrack; else { pc --; } break; case IR.Backref: uint n = re.ir[pc].data; auto referenced = re.ir[pc].localRef ? s[matches[n].begin .. matches[n].end] : s[backrefed[n].begin .. backrefed[n].end]; while(!atEnd && !referenced.empty && front == referenced.front) { next(); referenced.popFront(); } if(referenced.empty) pc--; else goto L_backtrack; break; case IR.Nop: pc --; break; case IR.LookbehindStart: case IR.NeglookbehindStart: return true; default: assert(re.ir[pc].code < 0x80); pc --; //data break; L_backtrack: if(!popState()) { s.reset(start); return false; } } } return true; } } } } //very shitty string formatter, $$ replaced with next argument converted to string @trusted string ctSub( U...)(string format, U args) { bool seenDollar; foreach(i, ch; format) { if(ch == '$') { if(seenDollar) { static if(args.length > 0) { return format[0..i-1] ~ to!string(args[0]) ~ ctSub(format[i+1..$], args[1..$]); } else assert(0); } else seenDollar = true; } else seenDollar = false; } return format; } //generate code for TypeTuple(S, S+1, S+2, ... E) @system string ctGenSeq(int S, int E) { string s = "alias TypeTuple!("; if(S < E) s ~= to!string(S); for(int i=S+1; i<E;i++) { s ~= ", "; s ~= to!string(i); } return s ~") Sequence;"; } //alias to TypeTuple(S, S+1, S+2, ... E) template Sequence(int S, int E) { mixin(ctGenSeq(S,E)); } struct CtContext { //dirty flags bool counter, infNesting; int nInfLoops; // to make a unique advancement counter per loop int match, total_matches; //state of codegenerator struct CtState { string code; int addr; } this(Char)(Regex!Char re) { match = 1; total_matches = re.ngroup; } //restore state having current context string restoreCode() { string text; //stack is checked in L_backtrack text ~= counter ? " stackPop(counter);" : " counter = 0;"; if(match < total_matches) { text ~= ctSub(" stackPop(matches[1..$$]);", match); text ~= ctSub(" matches[$$..$] = typeof(matches[0]).init;", match); } else text ~= " stackPop(matches[1..$]);"; return text; } //save state having current context string saveCode(uint pc, string count_expr="counter") { string text = ctSub(" if(stackAvail < $$*(Group!(DataIndex)).sizeof/size_t.sizeof + $$) { newStack(); lastState = 0; }", match-1, cast(int)counter + 2); if(match < total_matches) text ~= ctSub(" stackPush(matches[1..$$]);", match); else text ~= " stackPush(matches[1..$]);"; text ~= counter ? ctSub(" stackPush($$);", count_expr) : ""; text ~= ctSub(" stackPush(index); stackPush($$); \n", pc); return text; } // CtState ctGenBlock(Bytecode[] ir, int addr) { CtState result; result.addr = addr; while(!ir.empty) { auto n = ctGenGroup(ir, result.addr); result.code ~= n.code; result.addr = n.addr; } return result; } // CtState ctGenGroup(ref Bytecode[] ir, int addr) { CtState r; assert(!ir.empty); switch(ir[0].code) { case IR.InfiniteStart, IR.InfiniteQStart, IR.RepeatStart, IR.RepeatQStart: bool infLoop = ir[0].code == IR.InfiniteStart || ir[0].code == IR.InfiniteQStart; infNesting = infNesting || infLoop; if(infLoop) nInfLoops++; counter = counter || ir[0].code == IR.RepeatStart || ir[0].code == IR.RepeatQStart; uint len = ir[0].data; auto nir = ir[ir[0].length .. ir[0].length+len]; r = ctGenBlock(nir, addr+1); //start/end codegen //r.addr is at last test+ jump of loop, addr+1 is body of loop nir = ir[ir[0].length+len..$]; r.code = ctGenFixupCode(ir[0..ir[0].length], addr, r.addr) ~ r.code; r.code ~= ctGenFixupCode(nir, r.addr, addr+1); r.addr += 2; //account end instruction + restore state ir = nir; break; case IR.OrStart: uint len = ir[0].data; auto nir = ir[ir[0].length .. ir[0].length+len]; r = ctGenAlternation(nir, addr); ir = ir[ir[0].length+len..$]; assert(ir[0].code == IR.OrEnd); ir = ir[ir[0].length..$]; break; default: assert(ir[0].isAtom, text(ir[0].mnemonic)); r = ctGenAtom(ir, addr); } return r; } //generate source for bytecode contained in OrStart ... OrEnd CtState ctGenAlternation(Bytecode[] ir, int addr) { CtState[] pieces; CtState r; enum optL = IRL!(IR.Option); for(;;) { assert(ir[0].code == IR.Option); auto len = ir[0].data; auto nir = ir[optL .. optL+len-IRL!(IR.GotoEndOr)]; if(optL+len < ir.length && ir[optL+len].code == IR.Option)//not a last option { r = ctGenBlock(nir, addr+2);//space for Option + restore state //r.addr+1 to account GotoEndOr at end of branch r.code = ctGenFixupCode(ir[0 .. ir[0].length], addr, r.addr+1) ~ r.code; addr = r.addr+1;//leave space for GotoEndOr pieces ~= r; ir = ir[optL+len..$]; } else { pieces ~= ctGenBlock(ir[optL..$], addr); addr = pieces[$-1].addr; break; } } r = pieces[0]; for(uint i=1; i<pieces.length; i++) { r.code ~= ctSub(` case $$: goto case $$; `, pieces[i-1].addr, addr); r.code ~= pieces[i].code; } r.addr = addr; return r; } // generate fixup code for instruction in ir, // fixup means it has an alternative way for control flow string ctGenFixupCode(ref Bytecode[] ir, int addr, int fixup) { string r; string testCode; r = ctSub(` case $$: debug(fred_matching) writeln("$$");`, addr, addr); switch(ir[0].code) { case IR.InfiniteStart, IR.InfiniteQStart: r ~= ctSub( ` tracker_$$ = DataIndex.max; goto case $$;`, nInfLoops-1, fixup); ir = ir[ir[0].length..$]; break; case IR.InfiniteEnd: testCode = ctQuickTest(ir[IRL!(IR.InfiniteEnd)..$],addr+1); r ~= ctSub( ` if(tracker_$$ == index) {//source not consumed goto case $$; } tracker_$$ = index; $$ { $$ } goto case $$; case $$: //restore state and go out of loop $$ goto case;`, nInfLoops-1, addr+2 , nInfLoops-1, testCode, saveCode(addr+1) , fixup, addr+1, restoreCode()); ir = ir[ir[0].length..$]; break; case IR.InfiniteQEnd: testCode = ctQuickTest(ir[IRL!(IR.InfiniteEnd)..$],addr+1); r ~= ctSub( ` if(tracker_$$ == index) {//source not consumed goto case $$; } tracker_$$ = index; $$ { $$ goto case $$; } else goto case $$; case $$://restore state and go inside loop $$ goto case $$;`, nInfLoops-1, addr+2, nInfLoops-1 , testCode, saveCode(addr+1) , addr+2, fixup, addr+1, restoreCode(), fixup); ir = ir[ir[0].length..$]; break; case IR.RepeatStart, IR.RepeatQStart: r ~= ctSub( ` goto case $$;`, fixup); ir = ir[ir[0].length..$]; break; case IR.RepeatEnd, IR.RepeatQEnd: //len, step, min, max uint len = ir[0].data; uint step = ir[2].raw; uint min = ir[3].raw; uint max = ir[4].raw; r ~= ctSub(` if(counter < $$) { debug(fred_matching) writeln("RepeatEnd min case pc=", $$); counter += $$; goto case $$; }`, min, addr, step, fixup); if(ir[0].code == IR.RepeatEnd) { string counter_expr = ctSub("counter % $$", step); r ~= ctSub(` else if(counter < $$) { $$ counter += $$; goto case $$; }`, max, saveCode(addr+1, counter_expr), step, fixup); } else { string counter_expr = ctSub("counter % $$", step); r ~= ctSub(` else if(counter < $$) { $$ counter = counter % $$; goto case $$; }`, max, saveCode(addr+1,counter_expr), step, addr+2); } r ~= ctSub(` else { counter = counter % $$; goto case $$; } case $$: //restore state $$ goto case $$;`, step, addr+2, addr+1, restoreCode() , ir[0].code == IR.RepeatEnd ? addr+2 : fixup ); ir = ir[ir[0].length..$]; break; case IR.Option: r ~= ctSub( ` { $$ } goto case $$; case $$://restore thunk to go to the next group $$ goto case $$;`, saveCode(addr+1), addr+2 , addr+1, restoreCode(), fixup); ir = ir[ir[0].length..$]; break; default: assert(0, text(ir[0].mnemonic)); } return r; } string ctQuickTest(Bytecode[] ir, int id) { uint pc=0; while(pc < ir.length && ir[pc].isAtom) { if(ir[pc].code == IR.GroupStart || ir[pc].code == IR.GroupEnd) { pc++; } else { auto code = ctAtomCode(ir[pc..$], -1); return ctSub(` int test_$$() { $$ //$$ } if(test_$$() >= 0)`, id, code ? code : "return 0;" , ir[pc].mnemonic, id); } } return ""; } //process & generate source for simple bytecodes at front of ir using address addr CtState ctGenAtom(ref Bytecode[] ir, int addr) { CtState result; result.code = ctAtomCode(ir, addr); ir.popFrontN(ir[0].code == IR.OrChar ? ir[0].sequence : ir[0].length); result.addr = addr + 1; return result; } //D code for atom at ir using address addr, addr < 0 means quickTest string ctAtomCode(Bytecode[] ir, int addr) { string code; string bailOut, nextInstr; if(addr < 0) { bailOut = "return -1;"; nextInstr = "return 0;"; } else { bailOut = "goto L_backtrack;"; nextInstr = ctSub("goto case $$;", addr+1); code ~= ctSub( ` case $$: debug(fred_matching) writeln("#$$"); `, addr, addr); } switch(ir[0].code) { case IR.OrChar://assumes IRL!(OrChar) == 1 code ~= ctSub(` if(atEnd) $$`, bailOut); uint len = ir[0].sequence; for(uint i = 0; i<len; i++) { code ~= ctSub( ` if(front == $$) { $$ $$ }`, ir[i].data, addr >= 0 ? "next();" :"", nextInstr); } code ~= ctSub( ` $$`, bailOut); break; case IR.Char: code ~= ctSub( ` if(atEnd || front != $$) $$ $$ $$`, ir[0].data, bailOut, addr >= 0 ? "next();" :"", nextInstr); break; case IR.Any: code ~= ctSub( ` if(atEnd || (!(re.flags & RegexOption.singleline) && (front == '\r' || front == '\n'))) $$ $$ $$`, bailOut, addr >= 0 ? "next();" :"",nextInstr); break; case IR.CodepointSet: code ~= ctSub( ` if(atEnd || !re.charsets[$$].scanFor(front)) $$ $$ $$`, ir[0].data, bailOut, addr >= 0 ? "next();" :"", nextInstr); break; case IR.Trie: code ~= ctSub( ` if(atEnd || !re.tries[$$][front]) $$ $$ $$`, ir[0].data, bailOut, addr >= 0 ? "next();" :"", nextInstr); break; case IR.Wordboundary: code ~= ctSub( ` dchar back; DataIndex bi; if(atStart && wordTrie[front]) { $$ } else if(atEnd && s.loopBack.nextChar(back, bi) && wordTrie[back]) { $$ } else if(s.loopBack.nextChar(back, bi)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) { $$ } } $$` , nextInstr, nextInstr, nextInstr, bailOut); break; case IR.Notwordboundary: code ~= ctSub( ` dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) $$ else if(atEnd && s.loopBack.nextChar(back, bi) && wordTrie[back]) $$ else if(s.loopBack.nextChar(back, index)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) $$ } $$`, bailOut, bailOut, bailOut, nextInstr); break; case IR.Bol: code ~= ctSub(` dchar back; DataIndex bi; if(atStart || ((re.flags & RegexOption.multiline) && s.loopBack.nextChar(back,bi) && endOfLine(back, front == '\n'))) { $$ } else $$`, nextInstr, bailOut); break; case IR.Eol: code ~= ctSub(` dchar back; DataIndex bi; debug(fred_matching) writefln("EOL (front 0x%x) %s", front, s[index..s.lastIndex]); //no matching inside \r\n if(atEnd || ((re.flags & RegexOption.multiline) && s.loopBack.nextChar(back,bi) && endOfLine(front, back == '\r'))) { $$ } else $$`, nextInstr, bailOut); break; case IR.GroupStart: code ~= ctSub(` matches[$$].begin = index; $$`, ir[0].data, nextInstr); match = ir[0].data+1; break; case IR.GroupEnd: code ~= ctSub(` matches[$$].end = index; $$`, ir[0].data, nextInstr); break; case IR.Backref: string mStr = ir[0].localRef ? ctSub("matches[$$].begin .. matches[$$].end];", ir[0].data, ir[0].data) : ctSub("s[backrefed[$$].begin .. backrefed[$$].end];",ir[0].data, ir[0].data); code ~= ctSub( ` $$ while(!atEnd && !referenced.empty && front == referenced.front) { next(); referenced.popFront(); } if(referenced.empty) $$ else $$`, mStr, nextInstr, bailOut); break; case IR.Nop: case IR.End: break; default: assert(0, text(ir[0].mnemonic, "is not supported yet")); } return code; } //generate D code for the whole regex public string ctGenRegEx(Char)(ref Regex!Char re) { auto bdy = ctGenBlock(re.ir, 0); auto r = ` with(matcher) { pc = 0; counter = 0; lastState = 0; auto start = s._index;`; for(int i=0; i<nInfLoops; i++) r ~= ctSub(` size_t tracker_$$;`, i); r ~= ` goto StartLoop; debug(fred_matching) writeln("Try CT matching starting at ",s[index..s.lastIndex]); L_backtrack: if(lastState || prevStack()) { stackPop(pc); stackPop(index); s.reset(index); next(); } else { s.reset(start); return false; } StartLoop: switch(pc) { `; r ~= bdy.code; r ~= ctSub(` case $$: break;`,bdy.addr); r ~= ` default: assert(0); } return true; } `; return r; } } string ctGenRegExCode(Char)(Regex!Char re) { auto context = CtContext(re); return context.ctGenRegEx(re); } //State of VM thread struct Thread(DataIndex) { Thread* next; //intrusive linked list uint pc; uint counter; //loop counter uint uopCounter; //counts micro operations inside one macro instruction (e.g. BackRef) Group!DataIndex[1] matches; } //head-tail singly-linked list struct ThreadList(DataIndex) { Thread!DataIndex* tip=null, toe=null; //add new thread to the start of list void insertFront(Thread!DataIndex* t) { if(tip) { t.next = tip; tip = t; } else { t.next = null; tip = toe = t; } } //add new thread to the end of list void insertBack(Thread!DataIndex* t) { if(toe) { toe.next = t; toe = t; } else tip = toe = t; toe.next = null; } //move head element out of list Thread!DataIndex* fetch() { auto t = tip; if(tip == toe) tip = toe = null; else tip = tip.next; return t; } //non-destructive iteration of ThreadList struct ThreadRange { const(Thread!DataIndex)* ct; this(ThreadList tlist){ ct = tlist.tip; } @property bool empty(){ return ct is null; } @property const(Thread!DataIndex)* front(){ return ct; } @property popFront() { assert(ct); ct = ct.next; } } @property bool empty() { return tip == null; } ThreadRange opSlice() { return ThreadRange(this); } } //direction parameter for thompson one-shot match evaluator enum OneShot { Fwd, Bwd }; /+ Thomspon matcher does all matching in lockstep, never looking at the same char twice +/ @trusted struct ThompsonMatcher(Char, Stream=Input!Char) if(is(Char : dchar)) { alias Stream.DataIndex DataIndex; alias const(Char)[] String; enum threadAllocSize = 16; Thread!DataIndex* freelist; ThreadList!DataIndex clist, nlist; DataIndex[] merge; Group!DataIndex[] backrefed; Regex!Char re; //regex program Stream s; dchar front; DataIndex index; DataIndex genCounter; //merge trace counter, goes up on every dchar size_t threadSize; bool matched; bool exhausted; static if(__traits(hasMember,Stream, "search")) { enum kicked = true; } else enum kicked = false; static size_t getThreadSize(const ref Regex!Char re) { return re.ngroup ? (Thread!DataIndex).sizeof + (re.ngroup-1)*(Group!DataIndex).sizeof : (Thread!DataIndex).sizeof - (Group!DataIndex).sizeof; } static size_t initialMemory(const ref Regex!Char re) { return getThreadSize(re)*re.threadCount + re.hotspotTableSize*size_t.sizeof; } //true if it's start of input @property bool atStart(){ return index == 0; } //true if it's end of input @property bool atEnd(){ return index == s.lastIndex && s.atEnd; } bool next() { if(!s.nextChar(front, index)) { index = s.lastIndex; return false; } return true; } static if(kicked) { bool search() { if(!s.search(re.kickstart, front, index)) { index = s.lastIndex; return false; } return true; } } this()(Regex!Char program, Stream stream, void[] memory) { re = program; s = stream; threadSize = getThreadSize(re); prepareFreeList(re.threadCount, memory); if(re.hotspotTableSize) { merge = arrayInChunk!(DataIndex)(re.hotspotTableSize, memory); merge[] = 0; } genCounter = 0; } this(S)(ref ThompsonMatcher!(Char,S) matcher, Bytecode[] piece, Stream stream) { s = stream; re = matcher.re; re.ir = piece; threadSize = matcher.threadSize; merge = matcher.merge; genCounter = matcher.genCounter; freelist = matcher.freelist; } this(this) { merge[] = 0; debug(fred_allocation) writeln("ThompsonVM postblit!"); //free list is efectively shared ATM } enum MatchResult{ NoMatch, PartialMatch, Match, } //match the input and fill matches bool match(Group!DataIndex[] matches) { debug(fred_matching) writeln("------------------------------------------"); if(exhausted) { return false; } if(re.flags & RegexInfo.oneShot) { next(); exhausted = true; return matchOneShot!(OneShot.Fwd)(matches)==MatchResult.Match; } static if(kicked) auto searchFn = re.kickstart.empty ? &this.next : &this.search; else auto searchFn = &this.next; if((!matched) && clist.empty) { searchFn(); } else//char in question is fetched in prev call to match { matched = false; } if(!atEnd)//if no char for(;;) { genCounter++; debug(fred_matching) { writefln("Threaded matching threads at %s", s[index..s.lastIndex]); foreach(t; clist[]) { assert(t); writef("pc=%s ",t.pc); write(t.matches); writeln(); } } for(Thread!DataIndex* t = clist.fetch(); t; t = clist.fetch()) { eval!true(t, matches); } if(!matched)//if we already have match no need to push the engine eval!true(createStart(index), matches);//new thread staring at this position else if(nlist.empty) { debug(fred_matching) writeln("Stopped matching before consuming full input"); break;//not a partial match for sure } clist = nlist; nlist = (ThreadList!DataIndex).init; if(clist.tip is null) { if(!searchFn()) break; } else if(!next()){ if (!atEnd) return false; exhausted = true; break; } } else exhausted = true; genCounter++; //increment also on each end debug(fred_matching) writefln("Threaded matching threads at end"); //try out all zero-width posibilities for(Thread!DataIndex* t = clist.fetch(); t; t = clist.fetch()) { eval!false(t, matches); } if(!matched) eval!false(createStart(index), matches);//new thread starting at end of input if(matched && !(re.flags & RegexOption.global)) exhausted = true; return matched; } /+ handle succesful threads +/ void finish(const(Thread!DataIndex)* t, Group!DataIndex[] matches) { matches.ptr[0..re.ngroup] = t.matches.ptr[0..re.ngroup]; debug(fred_matching) { writef("FOUND pc=%s prog_len=%s", t.pc, re.ir.length); if(!matches.empty) writefln(": %s..%s", matches[0].begin, matches[0].end); foreach(v; matches) writefln("%d .. %d", v.begin, v.end); } matched = true; } /+ match thread against codepoint, cutting trough all 0-width instructions and taking care of control flow, then add it to nlist +/ void eval(bool withInput)(Thread!DataIndex* t, Group!DataIndex[] matches) { ThreadList!DataIndex worklist; debug(fred_matching) writeln("Evaluating thread"); for(;;) { debug(fred_matching) { writef("\tpc=%s [", t.pc); foreach(x; worklist[]) writef(" %s ", x.pc); writeln("]"); } switch(re.ir[t.pc].code) { case IR.End: finish(t, matches); matches[0].end = index; //fix endpoint of the whole match recycle(t); //cut off low priority threads recycle(clist); recycle(worklist); debug(fred_matching) writeln("Finished thread ", matches); return; case IR.Wordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) { t.pc += IRL!(IR.Wordboundary); break; } else if(atEnd && s.loopBack.nextChar(back, bi) && wordTrie[back]) { t.pc += IRL!(IR.Wordboundary); break; } else if(s.loopBack.nextChar(back, index)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) { t.pc += IRL!(IR.Wordboundary); break; } } recycle(t); t = worklist.fetch(); if(!t) return; break; case IR.Notwordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) { recycle(t); t = worklist.fetch(); if(!t) return; break; } else if(atEnd && s.loopBack.nextChar(back, bi) && wordTrie[back]) { recycle(t); t = worklist.fetch(); if(!t) return; break; } else if(s.loopBack.nextChar(back, index)) { bool af = wordTrie[front]; bool ab = wordTrie[back] != 0; if(af ^ ab) { recycle(t); t = worklist.fetch(); if(!t) return; break; } } t.pc += IRL!(IR.Wordboundary); break; case IR.Bol: dchar back; DataIndex bi; if(atStart ||( (re.flags & RegexOption.multiline) && s.loopBack.nextChar(back,bi) && startOfLine(back, front == '\n'))) { t.pc += IRL!(IR.Bol); } else { recycle(t); t = worklist.fetch(); if(!t) return; } break; case IR.Eol: debug(fred_matching) writefln("EOL (front 0x%x) %s", front, s[index..s.lastIndex]); dchar back; DataIndex bi; //no matching inside \r\n if(atEnd || ((re.flags & RegexOption.multiline) && endOfLine(front, s.loopBack.nextChar(back, bi) && back == '\r'))) { t.pc += IRL!(IR.Eol); } else { recycle(t); t = worklist.fetch(); if(!t) return; } break; case IR.InfiniteStart, IR.InfiniteQStart: t.pc += re.ir[t.pc].data + IRL!(IR.InfiniteStart); goto case IR.InfiniteEnd; //both Q and non-Q case IR.RepeatStart, IR.RepeatQStart: t.pc += re.ir[t.pc].data + IRL!(IR.RepeatStart); goto case IR.RepeatEnd; //both Q and non-Q case IR.RepeatEnd: case IR.RepeatQEnd: //len, step, min, max uint len = re.ir[t.pc].data; uint step = re.ir[t.pc+2].raw; uint min = re.ir[t.pc+3].raw; if(t.counter < min) { t.counter += step; t.pc -= len; break; } if(merge[re.ir[t.pc + 1].raw+t.counter] < genCounter) { debug(fred_matching) writefln("A thread(pc=%s) passed there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[t.pc + 1].raw+t.counter] ); merge[re.ir[t.pc + 1].raw+t.counter] = genCounter; } else { debug(fred_matching) writefln("A thread(pc=%s) got merged there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[t.pc + 1].raw+t.counter] ); recycle(t); t = worklist.fetch(); if(!t) return; break; } uint max = re.ir[t.pc+4].raw; if(t.counter < max) { if(re.ir[t.pc].code == IR.RepeatEnd) { //queue out-of-loop thread worklist.insertFront(fork(t, t.pc + IRL!(IR.RepeatEnd), t.counter % step)); t.counter += step; t.pc -= len; } else { //queue into-loop thread worklist.insertFront(fork(t, t.pc - len, t.counter + step)); t.counter %= step; t.pc += IRL!(IR.RepeatEnd); } } else { t.counter %= step; t.pc += IRL!(IR.RepeatEnd); } break; case IR.InfiniteEnd: case IR.InfiniteQEnd: if(merge[re.ir[t.pc + 1].raw+t.counter] < genCounter) { debug(fred_matching) writefln("A thread(pc=%s) passed there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[t.pc + 1].raw+t.counter] ); merge[re.ir[t.pc + 1].raw+t.counter] = genCounter; } else { debug(fred_matching) writefln("A thread(pc=%s) got merged there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[t.pc + 1].raw+t.counter] ); recycle(t); t = worklist.fetch(); if(!t) return; break; } uint len = re.ir[t.pc].data; uint pc1, pc2; //branches to take in priority order if(re.ir[t.pc].code == IR.InfiniteEnd) { pc1 = t.pc - len; pc2 = t.pc + IRL!(IR.InfiniteEnd); } else { pc1 = t.pc + IRL!(IR.InfiniteEnd); pc2 = t.pc - len; } static if(withInput) { int test = quickTestFwd(pc1, front, re); if(test > 0) { nlist.insertBack(fork(t, pc1 + test, t.counter)); t.pc = pc2; } else if(test == 0) { worklist.insertFront(fork(t, pc2, t.counter)); t.pc = pc1; } else t.pc = pc2; } else { worklist.insertFront(fork(t, pc2, t.counter)); t.pc = pc1; } break; case IR.OrEnd: if(merge[re.ir[t.pc + 1].raw+t.counter] < genCounter) { debug(fred_matching) writefln("A thread(pc=%s) passed there : %s ; GenCounter=%s mergetab=%s", t.pc, s[index..s.lastIndex], genCounter, merge[re.ir[t.pc + 1].raw+t.counter] ); merge[re.ir[t.pc + 1].raw+t.counter] = genCounter; t.pc += IRL!(IR.OrEnd); } else { debug(fred_matching) writefln("A thread(pc=%s) got merged there : %s ; GenCounter=%s mergetab=%s", t.pc, s[index..s.lastIndex], genCounter, merge[re.ir[t.pc + 1].raw+t.counter] ); recycle(t); t = worklist.fetch(); if(!t) return; } break; case IR.OrStart: t.pc += IRL!(IR.OrStart); goto case; case IR.Option: uint next = t.pc + re.ir[t.pc].data + IRL!(IR.Option); //queue next Option if(re.ir[next].code == IR.Option) { worklist.insertFront(fork(t, next, t.counter)); } t.pc += IRL!(IR.Option); break; case IR.GotoEndOr: t.pc = t.pc + re.ir[t.pc].data + IRL!(IR.GotoEndOr); goto case IR.OrEnd; case IR.GroupStart: uint n = re.ir[t.pc].data; t.matches.ptr[n].begin = index; t.pc += IRL!(IR.GroupStart); break; case IR.GroupEnd: uint n = re.ir[t.pc].data; t.matches.ptr[n].end = index; t.pc += IRL!(IR.GroupEnd); break; case IR.Backref: uint n = re.ir[t.pc].data; Group!DataIndex* source = re.ir[t.pc].localRef ? t.matches.ptr : backrefed.ptr; assert(source); if(source[n].begin == source[n].end)//zero-width Backref! { t.pc += IRL!(IR.Backref); } else static if(withInput) { size_t idx = source[n].begin + t.uopCounter; size_t end = source[n].end; if(s[idx..end].front == front) { t.uopCounter += std.utf.stride(s[idx..end], 0); if(t.uopCounter + source[n].begin == source[n].end) {//last codepoint t.pc += IRL!(IR.Backref); t.uopCounter = 0; } nlist.insertBack(t); } else recycle(t); t = worklist.fetch(); if(!t) return; break; } else { recycle(t); t = worklist.fetch(); if(!t) return; break; } break; case IR.LookbehindStart: case IR.NeglookbehindStart: auto matcher = ThompsonMatcher!(Char, typeof(s.loopBack)) (this, re.ir[t.pc..t.pc+re.ir[t.pc].data+IRL!(IR.LookbehindStart)], s.loopBack); matcher.re.ngroup = re.ir[t.pc+2].raw - re.ir[t.pc+1].raw; matcher.backrefed = backrefed.empty ? t.matches : backrefed; //backMatch matcher.next(); //load first character from behind bool match = (matcher.matchOneShot!(OneShot.Bwd)(t.matches)==MatchResult.Match) ^ (re.ir[t.pc].code == IR.LookbehindStart); freelist = matcher.freelist; genCounter = matcher.genCounter; if(match) { recycle(t); t = worklist.fetch(); if(!t) return; break; } else t.pc += re.ir[t.pc].data + IRL!(IR.LookbehindStart) + IRL!(IR.LookbehindEnd); break; case IR.LookaheadEnd: case IR.NeglookaheadEnd: t.pc = re.ir[t.pc].indexOfPair(t.pc); assert(re.ir[t.pc].code == IR.LookaheadStart || re.ir[t.pc].code == IR.NeglookaheadStart); uint ms = re.ir[t.pc+1].raw, me = re.ir[t.pc+2].raw; finish(t, matches.ptr[ms..me]); recycle(t); //cut off low priority threads recycle(clist); recycle(worklist); return; case IR.LookaheadStart: case IR.NeglookaheadStart: auto save = index; uint len = re.ir[t.pc].data; uint ms = re.ir[t.pc+1].raw, me = re.ir[t.pc+2].raw; bool positive = re.ir[t.pc].code == IR.LookaheadStart; auto matcher = ThompsonMatcher(this, re.ir[t.pc .. t.pc+len+IRL!(IR.LookaheadEnd)+IRL!(IR.LookaheadStart)], s); matcher.front = front; matcher.index = index; matcher.re.ngroup = me - ms; matcher.backrefed = backrefed.empty ? t.matches : backrefed; bool nomatch = (matcher.matchOneShot!(OneShot.Fwd)(t.matches, IRL!(IR.LookaheadStart)) == MatchResult.Match) ^ positive; freelist = matcher.freelist; genCounter = matcher.genCounter; s.reset(index); next(); if(nomatch) { recycle(t); t = worklist.fetch(); if(!t) return; break; } else t.pc += len + IRL!(IR.LookaheadEnd) + IRL!(IR.LookaheadStart); break; case IR.LookbehindEnd: case IR.NeglookbehindEnd: assert(0); case IR.Nop: t.pc += IRL!(IR.Nop); break; static if(withInput) { case IR.OrChar: uint len = re.ir[t.pc].sequence; uint end = t.pc + len; static assert(IRL!(IR.OrChar) == 1); for(; t.pc<end; t.pc++) if(re.ir[t.pc].data == front) break; if(t.pc != end) { t.pc = end; nlist.insertBack(t); } else recycle(t); t = worklist.fetch(); if(!t) return; break; case IR.Char: if(front == re.ir[t.pc].data) { t.pc += IRL!(IR.Char); nlist.insertBack(t); } else recycle(t); t = worklist.fetch(); if(!t) return; break; case IR.Any: t.pc += IRL!(IR.Any); if(!(re.flags & RegexOption.singleline) && (front == '\r' || front == '\n')) recycle(t); else nlist.insertBack(t); t = worklist.fetch(); if(!t) return; break; case IR.CodepointSet: if(re.charsets[re.ir[t.pc].data].scanFor(front)) { t.pc += IRL!(IR.CodepointSet); nlist.insertBack(t); } else { recycle(t); } t = worklist.fetch(); if(!t) return; break; case IR.Trie: if(re.tries[re.ir[t.pc].data][front]) { t.pc += IRL!(IR.Trie); nlist.insertBack(t); } else { recycle(t); } t = worklist.fetch(); if(!t) return; break; default: assert(0, "Unrecognized instruction " ~ re.ir[t.pc].mnemonic); } else { default: recycle(t); t = worklist.fetch(); if(t) break; else return; } } } } enum uint RestartPc=uint.max; //match the input, evaluating IR without searching MatchResult matchOneShot(OneShot direction)(Group!DataIndex[] matches, uint startPc=0) { debug(fred_matching) { writefln("---------------single shot match %s----------------- ", direction == OneShot.Fwd ? "forward" : "backward"); } static if(direction == OneShot.Fwd) alias eval evalFn; else alias evalBack evalFn; assert(clist == (ThreadList!DataIndex).init || startPc==RestartPc); // incorrect after a partial match assert(nlist == (ThreadList!DataIndex).init || startPc==RestartPc); static if(direction == OneShot.Fwd) startPc = startPc; else startPc = cast(uint)re.ir.length-IRL!(IR.LookbehindEnd); if(!atEnd)//if no char { if (startPc!=RestartPc){ auto startT = createStart(index, startPc); genCounter++; evalFn!true(startT, matches); } for(;;) { genCounter++; debug(fred_matching) { static if(direction == OneShot.Fwd) writefln("Threaded matching (forward) threads at %s", s[index..s.lastIndex]); else writefln("Threaded matching (backward) threads at %s", retro(s[index..s.lastIndex])); foreach(t; clist[]) { assert(t); writef("pc=%s ",t.pc); write(t.matches); writeln(); } } for(Thread!DataIndex* t = clist.fetch(); t; t = clist.fetch()) { evalFn!true(t, matches); } if(nlist.empty) { debug(fred_matching) writeln("Stopped matching before consuming full input"); break;//not a partial match for sure } clist = nlist; nlist = (ThreadList!DataIndex).init; if(!next()){ if (!atEnd) return MatchResult.PartialMatch; break; } } } genCounter++; //increment also on each end debug(fred_matching) writefln("Threaded matching (%s) threads at end", direction == OneShot.Fwd ? "forward" : "backward"); //try out all zero-width posibilities for(Thread!DataIndex* t = clist.fetch(); t; t = clist.fetch()) { evalFn!false(t, matches); } if(!matched) evalFn!false(createStart(index, startPc), matches); return (matched?MatchResult.Match:MatchResult.NoMatch); } /+ a version of eval that executes IR backwards +/ void evalBack(bool withInput)(Thread!DataIndex* t, Group!DataIndex[] matches) { ThreadList!DataIndex worklist; debug(fred_matching) writeln("Evaluating thread backwards"); do { debug(fred_matching) { writef("\tpc=%s [", t.pc); foreach(x; worklist[]) writef(" %s ", x.pc); writeln("]"); } debug(fred_matching) writeln(disassemble(re.ir, t.pc)); switch(re.ir[t.pc].code) { case IR.Wordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) { t.pc--; break; } else if(atEnd && s.loopBack.nextChar(back, bi) && wordTrie[back]) { t.pc--; break; } else if(s.loopBack.nextChar(back, index)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) { t.pc--; break; } } recycle(t); t = worklist.fetch(); break; case IR.Notwordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) { recycle(t); t = worklist.fetch(); break; } else if(atEnd && s.loopBack.nextChar(back, bi) && wordTrie[back]) { recycle(t); t = worklist.fetch(); break; } else if(s.loopBack.nextChar(back, index)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) { recycle(t); t = worklist.fetch(); break; } } t.pc--; break; case IR.Bol: dchar back; DataIndex bi; if(atStart ||((re.flags & RegexOption.multiline) && s.loopBack.nextChar(back,bi) && startOfLine(back, front == '\n'))) { t.pc--; } else { recycle(t); t = worklist.fetch(); } break; case IR.Eol: debug(fred_matching) writefln("EOL (front 0x%x) %s", front, s[index..s.lastIndex]); dchar back; DataIndex bi; //no matching inside \r\n if((re.flags & RegexOption.multiline) && endOfLine(front, s.loopBack.nextChar(back, bi) && back == '\r')) { t.pc--; } else { recycle(t); t = worklist.fetch(); } break; case IR.InfiniteStart, IR.InfiniteQStart: uint len = re.ir[t.pc].data; uint mIdx = t.pc + len + IRL!(IR.InfiniteEnd); //we're always pointed at the tail of instruction if(merge[re.ir[mIdx].raw+t.counter] < genCounter) { debug(fred_matching) writefln("A thread(pc=%s) passed there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[mIdx].raw+t.counter] ); merge[re.ir[mIdx].raw+t.counter] = genCounter; } else { debug(fred_matching) writefln("A thread(pc=%s) got merged there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[mIdx].raw+t.counter] ); recycle(t); t = worklist.fetch(); break; } if(re.ir[t.pc].code == IR.InfiniteStart)//greedy { worklist.insertFront(fork(t, t.pc-1, t.counter)); t.pc += len; } else { worklist.insertFront(fork(t, t.pc+len, t.counter)); t.pc--; } break; case IR.InfiniteEnd: case IR.InfiniteQEnd://now it's a start uint len = re.ir[t.pc].data; t.pc -= len+IRL!(IR.InfiniteStart); assert(re.ir[t.pc].code == IR.InfiniteStart || re.ir[t.pc].code == IR.InfiniteQStart); goto case IR.InfiniteStart; case IR.RepeatStart, IR.RepeatQStart: uint len = re.ir[t.pc].data; uint tail = t.pc + len + IRL!(IR.RepeatStart); uint step = re.ir[tail+2].raw; uint min = re.ir[tail+3].raw; if(t.counter < min) { t.counter += step; t.pc += len; break; } uint max = re.ir[tail+4].raw; if(merge[re.ir[tail+1].raw+t.counter] < genCounter) { debug(fred_matching) writefln("A thread(pc=%s) passed there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[tail+1].raw+t.counter] ); merge[re.ir[tail+1].raw+t.counter] = genCounter; } else { debug(fred_matching) writefln("A thread(pc=%s) got merged there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[tail+1].raw+t.counter] ); recycle(t); t = worklist.fetch(); break; } if(t.counter < max) { if(re.ir[t.pc].code == IR.RepeatStart)//greedy { worklist.insertFront(fork(t, t.pc-1, t.counter%step)); t.counter += step; t.pc += len; } else { worklist.insertFront(fork(t, t.pc + len, t.counter + step)); t.counter = t.counter%step; t.pc--; } } else { t.counter = t.counter%step; t.pc--; } break; case IR.RepeatEnd: case IR.RepeatQEnd: t.pc -= re.ir[t.pc].data+IRL!(IR.RepeatStart); assert(re.ir[t.pc].code == IR.RepeatStart || re.ir[t.pc].code == IR.RepeatQStart); goto case IR.RepeatStart; case IR.OrEnd: uint len = re.ir[t.pc].data; t.pc -= len; assert(re.ir[t.pc].code == IR.Option); len = re.ir[t.pc].data; t.pc = t.pc + len; //to IR.GotoEndOr or just before IR.OrEnd break; case IR.OrStart: uint len = re.ir[t.pc].data; uint mIdx = t.pc + len + IRL!(IR.OrEnd); //should point to the end of OrEnd if(merge[re.ir[mIdx].raw+t.counter] < genCounter) { debug(fred_matching) writefln("A thread(t.pc=%s) passed there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[mIdx].raw+t.counter] ); merge[re.ir[mIdx].raw+t.counter] = genCounter; } else { debug(fred_matching) writefln("A thread(t.pc=%s) got merged there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[mIdx].raw+t.counter] ); recycle(t); t = worklist.fetch(); break; } t.pc--; break; case IR.Option: assert(re.ir[t.pc].code == IR.Option); t.pc += re.ir[t.pc].data + IRL!(IR.Option); if(re.ir[t.pc].code == IR.Option) { t.pc--;//hackish, assumes size of IR.Option == 1 if(re.ir[t.pc].code == IR.GotoEndOr) { t.pc += re.ir[t.pc].data + IRL!(IR.GotoEndOr); } } assert(re.ir[t.pc].code == IR.OrEnd); t.pc -= re.ir[t.pc].data + 1; break; case IR.GotoEndOr: assert(re.ir[t.pc].code == IR.GotoEndOr); uint npc = t.pc+IRL!(IR.GotoEndOr); assert(re.ir[npc].code == IR.Option); worklist.insertFront(fork(t, npc + re.ir[npc].data, t.counter));//queue next branch t.pc--; break; case IR.GroupStart: uint n = re.ir[t.pc].data; t.matches.ptr[n].begin = index; t.pc--; break; case IR.GroupEnd: uint n = re.ir[t.pc].data; t.matches.ptr[n].end = index; t.pc--; break; case IR.Backref: uint n = re.ir[t.pc].data; auto source = re.ir[t.pc].localRef ? t.matches.ptr : backrefed.ptr; assert(source); if(source[n].begin == source[n].end)//zero-width Backref! { t.pc--; } else static if(withInput) { size_t idx = source[n].begin + t.uopCounter; size_t end = source[n].end; if(s[idx..end].front == front)//could be a BUG in backward matching { t.uopCounter += std.utf.stride(s[idx..end], 0); if(t.uopCounter + source[n].begin == source[n].end) {//last codepoint t.pc--; t.uopCounter = 0; } nlist.insertBack(t); } else recycle(t); t = worklist.fetch(); } else { recycle(t); t = worklist.fetch(); } break; case IR.LookbehindStart: case IR.NeglookbehindStart: uint ms = re.ir[t.pc+1].raw, me = re.ir[t.pc+2].raw; finish(t, matches.ptr[ms .. me]); recycle(t); //cut off low priority threads recycle(clist); recycle(worklist); return; case IR.LookaheadStart: case IR.NeglookaheadStart: assert(0); case IR.LookaheadEnd: case IR.NeglookaheadEnd: uint len = re.ir[t.pc].data; t.pc -= len + IRL!(IR.LookaheadStart); bool positive = re.ir[t.pc].code == IR.LookaheadStart; auto matcher = ThompsonMatcher!(Char, typeof(s.loopBack)) (this , re.ir[t.pc .. t.pc+len+IRL!(IR.LookbehindStart)+IRL!(IR.LookbehindEnd)] , s.loopBack); matcher.re.ngroup = re.ir[t.pc+2].raw - re.ir[t.pc+1].raw; matcher.backrefed = backrefed.empty ? t.matches : backrefed; matcher.next(); //fetch a char, since direction was reversed bool match = (matcher.matchOneShot!(OneShot.Fwd)(t.matches, IRL!(IR.LookaheadStart)) == MatchResult.Match) ^ positive; freelist = matcher.freelist; if(match) { recycle(t); t = worklist.fetch(); } else t.pc--; break; case IR.LookbehindEnd: case IR.NeglookbehindEnd: auto save = index; uint len = re.ir[t.pc].data; t.pc -= len + IRL!(IR.LookbehindStart); uint ms = re.ir[t.pc+1].raw, me = re.ir[t.pc+2].raw; bool positive = re.ir[t.pc].code == IR.LookbehindStart; auto matcher = ThompsonMatcher(this, re.ir[t.pc .. t.pc+len+IRL!(IR.LookbehindStart)], s); matcher.front = front; matcher.index = index; matcher.re.ngroup = me - ms; matcher.backrefed = backrefed.empty ? t.matches : backrefed; bool nomatch = (matcher.matchOneShot!(OneShot.Bwd)(t.matches) == MatchResult.Match) ^ positive; freelist = matcher.freelist; s.reset(index); next(); if(nomatch) { recycle(t); t = worklist.fetch(); if(!t) return; // } else t.pc--; break; case IR.Nop: t.pc--; break; static if(withInput) { case IR.OrChar://assumes IRL!(OrChar) == 1 uint len = re.ir[t.pc].sequence; uint end = t.pc - len; for(; t.pc>end; t.pc--) if(re.ir[t.pc].data == front) break; if(t.pc != end) { t.pc = end; nlist.insertBack(t); } else recycle(t); t = worklist.fetch(); break; case IR.Char: if(front == re.ir[t.pc].data) { t.pc--; nlist.insertBack(t); } else recycle(t); t = worklist.fetch(); break; case IR.Any: t.pc--; if(!(re.flags & RegexOption.singleline) && (front == '\r' || front == '\n')) recycle(t); else nlist.insertBack(t); t = worklist.fetch(); break; case IR.CodepointSet: if(re.charsets[re.ir[t.pc].data].scanFor(front)) { t.pc--; nlist.insertBack(t); } else { recycle(t); } t = worklist.fetch(); break; case IR.Trie: if(re.tries[re.ir[t.pc].data][front]) { t.pc--; nlist.insertBack(t); } else { recycle(t); } t = worklist.fetch(); break; default: assert(re.ir[t.pc].code < 0x80, "Unrecognized instruction " ~ re.ir[t.pc].mnemonic); t.pc--; } else { default: if(re.ir[t.pc].code < 0x80) t.pc--; else { recycle(t); t = worklist.fetch(); } } } }while(t); } //get a dirty recycled Thread Thread!DataIndex* allocate() { assert(freelist, "not enough preallocated memory"); Thread!DataIndex* t = freelist; freelist = freelist.next; return t; } //link memory into a free list of Threads void prepareFreeList(size_t size, ref void[] memory) { void[] mem = memory[0 .. threadSize*size]; memory = memory[threadSize*size..$]; freelist = cast(Thread!DataIndex*)&mem[0]; size_t i; for(i=threadSize; i<threadSize*size; i+=threadSize) (cast(Thread!DataIndex*)&mem[i-threadSize]).next = cast(Thread!DataIndex*)&mem[i]; (cast(Thread!DataIndex*)&mem[i-threadSize]).next = null; } //dispose a thread void recycle(Thread!DataIndex* t) { t.next = freelist; freelist = t; } //dispose list of threads void recycle(ref ThreadList!DataIndex list) { auto t = list.tip; while(t) { auto next = t.next; recycle(t); t = next; } list = list.init; } //creates a copy of master thread with given pc Thread!DataIndex* fork(Thread!DataIndex* master, uint pc, uint counter) { auto t = allocate(); t.matches.ptr[0..re.ngroup] = master.matches.ptr[0..re.ngroup]; t.pc = pc; t.counter = counter; t.uopCounter = 0; return t; } //creates a start thread Thread!DataIndex* createStart(DataIndex index, uint pc=0) { auto t = allocate(); t.matches.ptr[0..re.ngroup] = (Group!DataIndex).init; t.matches[0].begin = index; t.pc = pc; t.counter = 0; t.uopCounter = 0; return t; } } /++ $(D Captures) object contains submatches captured during a call to $(D match) or iteration over $(D RegexMatch) range. First element of range is the whole match. Example, showing basic operations on $(D Captures): ---- import std.regex; import std.range; void main() { auto m = match("@abc#", regex(`(\w)(\w)(\w)`)); auto c = m.captures; assert(c.pre == "@");// part of input preceeding match assert(c.post == "#"); // immediately after match assert(c.hit == c[0] && c.hit == "abc");// the whole match assert(c[2] =="b"); assert(c.front == "abc"); c.popFront(); assert(c.front == "a"); assert(c.back == "c"); c.popBack(); assert(c.back == "b"); popFrontN(c, 2); assert(c.empty); } ---- +/ @trusted public struct Captures(R, DIndex=size_t) if(isSomeString!R) {//@trusted because of union inside alias DIndex DataIndex; alias R String; private: R _input; bool _empty; enum smallString = 3; union { Group!DataIndex[] big_matches; Group!DataIndex[smallString] small_matches; } uint f, b; uint ngroup; NamedGroup[] names; this(alias Engine)(ref RegexMatch!(R,Engine) rmatch) { _input = rmatch._input; ngroup = rmatch._engine.re.ngroup; names = rmatch._engine.re.dict; newMatches(); b = ngroup; f = 0; } @property Group!DataIndex[] matches() { return ngroup > smallString ? big_matches : small_matches[0..ngroup]; } void newMatches() { if(ngroup > smallString) big_matches = new Group!DataIndex[ngroup]; } public: ///Slice of input prior to the match. @property R pre() { return _empty ? _input[] : _input[0 .. matches[0].begin]; } ///Slice of input immediately after the match. @property R post() { return _empty ? _input[] : _input[matches[0].end .. $]; } ///Slice of matched portion of input. @property R hit() { assert(!_empty); return _input[matches[0].begin .. matches[0].end]; } ///Range interface. @property R front() { assert(!empty); return _input[matches[f].begin .. matches[f].end]; } ///ditto @property R back() { assert(!empty); return _input[matches[b-1].begin .. matches[b-1].end]; } ///ditto void popFront() { assert(!empty); ++f; } ///ditto void popBack() { assert(!empty); --b; } ///ditto @property bool empty() const { return _empty || f >= b; } ///ditto R opIndex()(size_t i) /*const*/ //@@@BUG@@@ { assert(f+i < b,text("requested submatch number ", i,"is out of range")); assert(matches[f+i].begin <= matches[f+i].end, text("wrong match: ", matches[f+i].begin, "..", matches[f+i].end)); return _input[matches[f+i].begin..matches[f+i].end]; } /++ Lookup named submatch. --- import std.regex; import std.range; auto m = match("a = 42;", regex(`(?P<var>\w+)\s*=\s*(?P<value>\d+);`)); auto c = m.captures; assert(c["var"] == "a"); assert(c["value"] == "42"); popFrontN(c, 2); //named groups are unaffected by range primitives assert(c["var"] =="a"); assert(c.front == "42"); ---- +/ R opIndex(String)(String i) /*const*/ //@@@BUG@@@ if(isSomeString!String) { size_t index = lookupNamedGroup(names, i); return _input[matches[index].begin..matches[index].end]; } ///Number of matches in this object. @property size_t length() const { return b-f; } ///A hook for compatibility with original std.regex. @property ref captures(){ return this; } } /++ A regex engine state, as returned by $(D match) family of functions. Effectively it's a forward range of Captures!R, produced by lazily searching for matches in a given input. alias Engine specifies an engine type to use during matching, and is automatically deduced in a call to $(D match)/$(D bmatch). +/ @trusted public struct RegexMatch(R, alias Engine=ThompsonMatcher) if(isSomeString!R) { private: alias BasicElementOf!R Char; alias Engine!Char EngineType; EngineType _engine; R _input; Captures!(R,EngineType.DataIndex) _captures; void[] _memory; this(RegEx)(RegEx prog, R input) { _input = input; immutable size = EngineType.initialMemory(prog)+size_t.sizeof; _memory = (enforce(malloc(size))[0..size]); scope(failure) free(_memory.ptr); *cast(size_t*)_memory.ptr = 1; _engine = EngineType(prog, Input!Char(input), _memory[size_t.sizeof..$]); _captures = Captures!(R,EngineType.DataIndex)(this); _captures._empty = !_engine.match(_captures.matches); debug(fred_counter) writefln("RefCount (ctor): %d", *cast(size_t*)_memory.ptr); } public: this(this) { if(_memory.ptr) { ++*cast(size_t*)_memory.ptr; debug(fred_counter) writefln("RefCount (postblit): %d", *cast(size_t*)_memory.ptr); } } ~this() { if(_memory.ptr && --*cast(size_t*)_memory.ptr == 0) { free(cast(void*)_memory.ptr); debug(fred_counter) writefln("RefCount (dtor): %d", *cast(size_t*)_memory.ptr); } } ///Shorthands for front.pre, front.post, front.hit. @property R pre() { return _captures.pre; } ///ditto @property R post() { return _captures.post; } ///ditto @property R hit() { return _captures.hit; } /++ Functionality for processing subsequent matches of global regexes via range interface: --- import std.regex; auto m = match("Hello, world!", regex(`\w+`, "g")); assert(m.front.hit == "Hello"); m.popFront(); assert(m.front.hit == "world"); m.popFront(); assert(m.empty); --- +/ @property auto front() { return _captures; } ///ditto void popFront() { //previous one can have escaped references from Capture object _captures.newMatches(); _captures._empty = !_engine.match(_captures.matches); } ///ditto auto save(){ return this; } ///Test if this match object is empty. @property bool empty(){ return _captures._empty; } ///Same as !(x.empty), provided for its convenience in conditional statements. T opCast(T:bool)(){ return !empty; } /// Same as .front, provided for compatibility with original std.regex. @property auto captures(){ return _captures; } } /++ Compile regular expression pattern for the later execution. Returns: $(D Regex) object that works on inputs having the same character width as $(D pattern). Params: pattern = Regular expression flags = The _attributes (g, i, m and x accepted) Throws: $(D RegexException) if there were any errors during compilation. +/ public auto regex(S)(S pattern, const(char)[] flags="") if(isSomeString!(S)) { if(!__ctfe) { auto parser = Parser!(Unqual!(typeof(pattern)))(pattern, flags); Regex!(BasicElementOf!S) r = parser.program; return r; } else { auto parser = Parser!(Unqual!(typeof(pattern)), true)(pattern, flags); Regex!(BasicElementOf!S) r = parser.program; return r; } } template ctRegexImpl(alias pattern, string flags=[]) { enum r = regex(pattern, flags); alias BasicElementOf!(typeof(pattern)) Char; enum source = ctGenRegExCode(r); alias BacktrackingMatcher!(true) Matcher; @trusted bool func(ref Matcher!Char matcher) { version(fred_ct) debug pragma(msg, source); mixin(source); } enum nr = StaticRegex!Char(r, &func); } /++ Experimental feature. Compile regular expression using CTFE and generate optimized native machine code for matching it. Returns: StaticRegex object for faster matching. Params: pattern = Regular expression flags = The _attributes (g, i, m and x accepted) +/ public template ctRegex(alias pattern, alias flags=[]) { enum ctRegex = ctRegexImpl!(pattern, flags).nr; } /++ Start matching $(D input) to regex pattern $(D re), using Thompson NFA matching scheme. This is the $(U recommended) method for matching regular expression. $(D re) parameter can be one of three types: $(UL $(LI Plain string, in which case it's compiled to bytecode before matching. ) $(LI Regex!char (wchar/dchar) that contains pattern in form of precompiled bytecode. ) $(LI StaticRegex!char (wchar/dchar) that contains pattern in form of specially crafted native code. ) ) Returns: a $(D RegexMatch) object holding engine state after first match. +/ public auto match(R, RegEx)(R input, RegEx re) if(isSomeString!R && is(RegEx == Regex!(BasicElementOf!R))) { return RegexMatch!(Unqual!(typeof(input)),ThompsonMatcher)(re, input); } ///ditto public auto match(R, String)(R input, String re) if(isSomeString!R && isSomeString!String) { return RegexMatch!(Unqual!(typeof(input)),ThompsonMatcher)(regex(re), input); } public auto match(R, RegEx)(R input, RegEx re) if(isSomeString!R && is(RegEx == StaticRegex!(BasicElementOf!R))) { return RegexMatch!(Unqual!(typeof(input)),BacktrackingMatcher!true)(re, input); } /++ Start matching $(D input) to regex pattern $(D re), using traditional $(LUCKY backtracking) matching scheme. $(D re) parameter can be one of three types: $(UL $(LI Plain string, in which case it's compiled to bytecode before matching. ) $(LI Regex!char (wchar/dchar) that contains pattern in form of precompiled bytecode. ) $(LI StaticRegex!char (wchar/dchar) that contains pattern in form of specially crafted native code. ) ) Returns: a $(D RegexMatch) object holding engine state after first match. +/ public auto bmatch(R, RegEx)(R input, RegEx re) if(isSomeString!R && is(RegEx == Regex!(BasicElementOf!R))) { return RegexMatch!(Unqual!(typeof(input)), BacktrackingMatcher!false)(re, input); } ///ditto public auto bmatch(R, String)(R input, String re) if(isSomeString!R && isSomeString!String) { return RegexMatch!(Unqual!(typeof(input)), BacktrackingMatcher!false)(regex(re), input); } public auto bmatch(R, RegEx)(R input, RegEx re) if(isSomeString!R && is(RegEx == StaticRegex!(BasicElementOf!R))) { return RegexMatch!(Unqual!(typeof(input)),BacktrackingMatcher!true)(re, input); } /++ Construct a new string from $(D input) by replacing each match with a string generated from match according to $(D format) specifier. To replace all occurances use regex with "g" flag, otherwise only first occurrence gets replaced. Params: input = string to search re = compiled regular expression to use format = format string to generate replacements from Example: --- //Comify a number auto com = regex(r"(?<=\d)(?=(\d\d\d)+\b)","g"); assert(replace("12000 + 42100 = 56000", com, ",") == "12,000 + 42,100 = 56,100"); --- The format string can reference parts of match using the following notation. $(REG_TABLE $(REG_TITLE Format specifier, Replaced by ) $(REG_ROW $&amp;, the whole match. ) $(REG_ROW $`, part of input $(I preceding) the match. ) $(REG_ROW $', part of input $(I following) the match. ) $(REG_ROW $$, '$' character. ) $(REG_ROW \c &#44 where c is any character, the character c itself. ) $(REG_ROW \\, '\' character. ) $(REG_ROW &#36;1 .. &#36;99, submatch number 1 to 99 respectively. ) ) --- assert(replace("noon", regex("^n"), "[$&]") == "[n]oon"); --- +/ public @trusted R replace(alias scheme=match, R, RegEx)(R input, RegEx re, R format) if(isSomeString!R && is(RegEx == Regex!(BasicElementOf!R)) || is(RegEx == StaticRegex!(BasicElementOf!R))) { auto app = appender!(R)(); auto matches = scheme(input, re); size_t offset = 0; foreach(ref m; matches) { app.put(m.pre[offset .. $]); replaceFmt(format, m.captures, app); offset = m.pre.length + m.hit.length; } app.put(input[offset .. $]); return app.data; } /++ Search string for matches using regular expression pattern $(D re) and pass captures for each match to user-defined functor $(D fun). To replace all occurrances use regex with "g" flag, otherwise only first occurrence gets replaced. Returns: new string with all matches replaced by return values of $(D fun). Params: s = string to search re = compiled regular expression fun = delegate to use Example: Capitalize the letters 'a' and 'r': --- string baz(Captures!(string) m) { return std.string.toUpper(m.hit); } auto s = replace!(baz)("Strap a rocket engine on a chicken.", regex("[ar]", "g")); assert(s == "StRAp A Rocket engine on A chicken."); --- +/ public @trusted R replace(alias fun, R, RegEx, alias scheme=match)(R input, RegEx re) if(isSomeString!R && is(RegEx == Regex!(BasicElementOf!R))) { auto app = appender!(R)(); auto matches = scheme(input, re); size_t offset = 0; foreach(m; matches) { app.put(m.pre[offset .. $]); app.put(fun(m)); offset = m.pre.length + m.hit.length; } app.put(input[offset .. $]); return app.data; } //produce replacement string from format using captures for substitue public @trusted void replaceFmt(R, Capt, OutR) (R format, Capt captures, OutR sink, bool ignoreBadSubs=false) if(isOutputRange!(OutR, ElementEncodingType!R[]) && isOutputRange!(OutR, ElementEncodingType!(Capt.String)[])) { enum State { Normal, Escape, Dollar } auto state = State.Normal; size_t offset; L_Replace_Loop: while(!format.empty) final switch(state) { case State.Normal: for(offset = 0; offset < format.length; offset++)//no decoding { switch(format[offset]) { case '\\': state = State.Escape; sink.put(format[0 .. offset]); format = format[offset+1 .. $];//safe since special chars are ascii only continue L_Replace_Loop; case '$': state = State.Dollar; sink.put(format[0 .. offset]); format = format[offset+1 .. $];//ditto continue L_Replace_Loop; default: } } sink.put(format[0 .. offset]); format = format[offset .. $]; break; case State.Escape: offset = std.utf.stride(format, 0); sink.put(format[0 .. offset]); format = format[offset .. $]; state = State.Normal; break; case State.Dollar: if(ascii.isDigit(format[0])) { uint digit = parse!uint(format); enforce(ignoreBadSubs || digit < captures.length, text("invalid submatch number ", digit)); if(digit < captures.length) sink.put(captures[digit]); } else if(format[0] == '{') { auto x = find!"!std.ascii.isAlpha(a)"(format[1..$]); enforce(!x.empty && x[0] == '}', "no matching '}' in replacement format"); auto name = format[1 .. $ - x.length]; format = x[1..$]; enforce(!name.empty, "invalid name in ${...} replacement format"); sink.put(captures[name]); } else if(format[0] == '&') { sink.put(captures[0]); format = format[1 .. $]; } else if(format[0] == '`') { sink.put(captures.pre); format = format[1 .. $]; } else if(format[0] == '\'') { sink.put(captures.post); format = format[1 .. $]; } else if(format[0] == '$') { sink.put(format[0 .. 1]); format = format[1 .. $]; } state = State.Normal; break; } enforce(state == State.Normal, "invalid format string in regex replace"); } /++ Range that splits a string using a regular expression as a separator. Example: ---- auto s1 = ", abc, de, fg, hi, "; assert(equal(splitter(s1, regex(", *")), ["", "abc", "de", "fg", "hi", ""])); ---- +/ public struct Splitter(Range, alias Engine=ThompsonMatcher) if(isSomeString!Range) { private: Range _input; size_t _offset; alias RegexMatch!(Range, Engine) Rx; Rx _match; @trusted this(Range input, Regex!(BasicElementOf!Range) separator) {//@@@BUG@@@ generated opAssign of RegexMatch is not @trusted _input = input; separator.flags |= RegexOption.global; if (_input.empty) { //there is nothing to match at all, make _offset > 0 _offset = 1; } else { _match = Rx(separator, _input); } } public: auto ref opSlice() { return this.save(); } ///Forward range primitives. @property Range front() { assert(!empty && _offset <= _match.pre.length && _match.pre.length <= _input.length); return _input[_offset .. min($, _match.pre.length)]; } ///ditto @property bool empty() { return _offset > _input.length; } ///ditto void popFront() { assert(!empty); if (_match.empty) { //No more separators, work is done here _offset = _input.length + 1; } else { //skip past the separator _offset = _match.pre.length + _match.hit.length; _match.popFront(); } } ///ditto @property auto save() { return this; } } ///A helper function, creates a $(D Splitter) on range $(D r) separated by regex $(D pat). public Splitter!(Range) splitter(Range, RegEx)(Range r, RegEx pat) if( is(BasicElementOf!Range : dchar) && is(RegEx == Regex!(BasicElementOf!Range))) { return Splitter!(Range)(r, pat); } ///An eager version of $(D splitter) that creates an array with splitted slices of $(D input). public @trusted String[] split(String, RegEx)(String input, RegEx rx) if(isSomeString!String && is(RegEx == Regex!(BasicElementOf!String))) { auto a = appender!(String[])(); foreach(e; splitter(input, rx)) a.put(e); return a.data; } ///Exception object thrown in case of errors during regex compilation. public class RegexException : Exception { /// @trusted this(string msg, string file = __FILE__, size_t line = __LINE__) {//@@@BUG@@@ Exception constructor is not @safe super(msg, file, line); } } //--------------------- TEST SUITE --------------------------------- version(unittest) { @system: unittest {//sanity checks regex("(a|b)*"); regex(`(?:([0-9A-F]+)\.\.([0-9A-F]+)|([0-9A-F]+))\s*;\s*(.*)\s*#`); regex("abc|edf|ighrg"); auto r1 = regex("abc"); auto r2 = regex("(gylba)"); assert(match("abcdef", r1).hit == "abc"); assert(!match("wida",r2)); assert(bmatch("abcdef", r1).hit == "abc"); assert(!bmatch("wida", r2)); assert(match("abc", "abc".dup)); assert(bmatch("abc", "abc".dup)); Regex!char rc; assert(rc.empty); rc = regex("test"); assert(!rc.empty); } /* The test vectors in this file are altered from Henry Spencer's regexp test code. His copyright notice is: Copyright (c) 1986 by University of Toronto. Written by Henry Spencer. Not derived from licensed software. Permission is granted to anyone to use this software for any purpose on any computer system, and to redistribute it freely, subject to the following restrictions: 1. The author is not responsible for the consequences of use of this software, no matter how awful, even if they arise from defects in it. 2. The origin of this software must not be misrepresented, either by explicit claim or by omission. 3. Altered versions must be plainly marked as such, and must not be misrepresented as being the original software. */ unittest { struct TestVectors { string pattern; string input; string result; string format; string replace; string flags; } enum TestVectors tv[] = [ TestVectors( "(a)b\\1", "abaab","y", "$&", "aba" ), TestVectors( "()b\\1", "aaab", "y", "$&", "b" ), TestVectors( "abc", "abc", "y", "$&", "abc" ), TestVectors( "abc", "xbc", "n", "-", "-" ), TestVectors( "abc", "axc", "n", "-", "-" ), TestVectors( "abc", "abx", "n", "-", "-" ), TestVectors( "abc", "xabcy","y", "$&", "abc" ), TestVectors( "abc", "ababc","y", "$&", "abc" ), TestVectors( "ab*c", "abc", "y", "$&", "abc" ), TestVectors( "ab*bc", "abc", "y", "$&", "abc" ), TestVectors( "ab*bc", "abbc", "y", "$&", "abbc" ), TestVectors( "ab*bc", "abbbbc","y", "$&", "abbbbc" ), TestVectors( "ab+bc", "abbc", "y", "$&", "abbc" ), TestVectors( "ab+bc", "abc", "n", "-", "-" ), TestVectors( "ab+bc", "abq", "n", "-", "-" ), TestVectors( "ab+bc", "abbbbc","y", "$&", "abbbbc" ), TestVectors( "ab?bc", "abbc", "y", "$&", "abbc" ), TestVectors( "ab?bc", "abc", "y", "$&", "abc" ), TestVectors( "ab?bc", "abbbbc","n", "-", "-" ), TestVectors( "ab?c", "abc", "y", "$&", "abc" ), TestVectors( "^abc$", "abc", "y", "$&", "abc" ), TestVectors( "^abc$", "abcc", "n", "-", "-" ), TestVectors( "^abc", "abcc", "y", "$&", "abc" ), TestVectors( "^abc$", "aabc", "n", "-", "-" ), TestVectors( "abc$", "aabc", "y", "$&", "abc" ), TestVectors( "^", "abc", "y", "$&", "" ), TestVectors( "$", "abc", "y", "$&", "" ), TestVectors( "a.c", "abc", "y", "$&", "abc" ), TestVectors( "a.c", "axc", "y", "$&", "axc" ), TestVectors( "a.*c", "axyzc","y", "$&", "axyzc" ), TestVectors( "a.*c", "axyzd","n", "-", "-" ), TestVectors( "a[bc]d", "abc", "n", "-", "-" ), TestVectors( "a[bc]d", "abd", "y", "$&", "abd" ), TestVectors( "a[b-d]e", "abd", "n", "-", "-" ), TestVectors( "a[b-d]e", "ace", "y", "$&", "ace" ), TestVectors( "a[b-d]", "aac", "y", "$&", "ac" ), TestVectors( "a[-b]", "a-", "y", "$&", "a-" ), TestVectors( "a[b-]", "a-", "y", "$&", "a-" ), TestVectors( "a[b-a]", "-", "c", "-", "-" ), TestVectors( "a[]b", "-", "c", "-", "-" ), TestVectors( "a[", "-", "c", "-", "-" ), TestVectors( "a]", "a]", "y", "$&", "a]" ), TestVectors( "a[\\]]b", "a]b", "y", "$&", "a]b" ), TestVectors( "a[^bc]d", "aed", "y", "$&", "aed" ), TestVectors( "a[^bc]d", "abd", "n", "-", "-" ), TestVectors( "a[^-b]c", "adc", "y", "$&", "adc" ), TestVectors( "a[^-b]c", "a-c", "n", "-", "-" ), TestVectors( "a[^\\]b]c", "adc", "y", "$&", "adc" ), TestVectors( "ab|cd", "abc", "y", "$&", "ab" ), TestVectors( "ab|cd", "abcd", "y", "$&", "ab" ), TestVectors( "()ef", "def", "y", "$&-$1", "ef-" ), TestVectors( "()*", "-", "y", "-", "-" ), TestVectors( "*a", "-", "c", "-", "-" ), TestVectors( "^*", "-", "y", "-", "-" ), TestVectors( "$*", "-", "y", "-", "-" ), TestVectors( "(*)b", "-", "c", "-", "-" ), TestVectors( "$b", "b", "n", "-", "-" ), TestVectors( "a\\", "-", "c", "-", "-" ), TestVectors( "a\\(b", "a(b", "y", "$&-$1", "a(b-" ), TestVectors( "a\\(*b", "ab", "y", "$&", "ab" ), TestVectors( "a\\(*b", "a((b", "y", "$&", "a((b" ), TestVectors( "a\\\\b", "a\\b", "y", "$&", "a\\b" ), TestVectors( "abc)", "-", "c", "-", "-" ), TestVectors( "(abc", "-", "c", "-", "-" ), TestVectors( "((a))", "abc", "y", "$&-$1-$2", "a-a-a" ), TestVectors( "(a)b(c)", "abc", "y", "$&-$1-$2", "abc-a-c" ), TestVectors( "a+b+c", "aabbabc","y", "$&", "abc" ), TestVectors( "a**", "-", "c", "-", "-" ), TestVectors( "a*?a", "aa", "y", "$&", "a" ), TestVectors( "(a*)*", "aaa", "y", "-", "-" ), TestVectors( "(a*)+", "aaa", "y", "-", "-" ), TestVectors( "(a|)*", "-", "y", "-", "-" ), TestVectors( "(a*|b)*", "aabb", "y", "-", "-" ), TestVectors( "(a|b)*", "ab", "y", "$&-$1", "ab-b" ), TestVectors( "(a+|b)*", "ab", "y", "$&-$1", "ab-b" ), TestVectors( "(a+|b)+", "ab", "y", "$&-$1", "ab-b" ), TestVectors( "(a+|b)?", "ab", "y", "$&-$1", "a-a" ), TestVectors( "[^ab]*", "cde", "y", "$&", "cde" ), TestVectors( "(^)*", "-", "y", "-", "-" ), TestVectors( "(ab|)*", "-", "y", "-", "-" ), TestVectors( ")(", "-", "c", "-", "-" ), TestVectors( "", "abc", "y", "$&", "" ), TestVectors( "abc", "", "n", "-", "-" ), TestVectors( "a*", "", "y", "$&", "" ), TestVectors( "([abc])*d", "abbbcd", "y", "$&-$1", "abbbcd-c" ), TestVectors( "([abc])*bcd", "abcd", "y", "$&-$1", "abcd-a" ), TestVectors( "a|b|c|d|e", "e", "y", "$&", "e" ), TestVectors( "(a|b|c|d|e)f", "ef", "y", "$&-$1", "ef-e" ), TestVectors( "((a*|b))*", "aabb", "y", "-", "-" ), TestVectors( "abcd*efg", "abcdefg", "y", "$&", "abcdefg" ), TestVectors( "ab*", "xabyabbbz", "y", "$&", "ab" ), TestVectors( "ab*", "xayabbbz", "y", "$&", "a" ), TestVectors( "(ab|cd)e", "abcde", "y", "$&-$1", "cde-cd" ), TestVectors( "[abhgefdc]ij", "hij", "y", "$&", "hij" ), TestVectors( "^(ab|cd)e", "abcde", "n", "x$1y", "xy" ), TestVectors( "(abc|)ef", "abcdef", "y", "$&-$1", "ef-" ), TestVectors( "(a|b)c*d", "abcd", "y", "$&-$1", "bcd-b" ), TestVectors( "(ab|ab*)bc", "abc", "y", "$&-$1", "abc-a" ), TestVectors( "a([bc]*)c*", "abc", "y", "$&-$1", "abc-bc" ), TestVectors( "a([bc]*)(c*d)", "abcd", "y", "$&-$1-$2", "abcd-bc-d" ), TestVectors( "a([bc]+)(c*d)", "abcd", "y", "$&-$1-$2", "abcd-bc-d" ), TestVectors( "a([bc]*)(c+d)", "abcd", "y", "$&-$1-$2", "abcd-b-cd" ), TestVectors( "a[bcd]*dcdcde", "adcdcde", "y", "$&", "adcdcde" ), TestVectors( "a[bcd]+dcdcde", "adcdcde", "n", "-", "-" ), TestVectors( "(ab|a)b*c", "abc", "y", "$&-$1", "abc-ab" ), TestVectors( "((a)(b)c)(d)", "abcd", "y", "$1-$2-$3-$4", "abc-a-b-d" ), TestVectors( "[a-zA-Z_][a-zA-Z0-9_]*", "alpha", "y", "$&", "alpha" ), TestVectors( "^a(bc+|b[eh])g|.h$", "abh", "y", "$&-$1", "bh-" ), TestVectors( "(bc+d$|ef*g.|h?i(j|k))", "effgz", "y", "$&-$1-$2", "effgz-effgz-" ), TestVectors( "(bc+d$|ef*g.|h?i(j|k))", "ij", "y", "$&-$1-$2", "ij-ij-j" ), TestVectors( "(bc+d$|ef*g.|h?i(j|k))", "effg", "n", "-", "-" ), TestVectors( "(bc+d$|ef*g.|h?i(j|k))", "bcdd", "n", "-", "-" ), TestVectors( "(bc+d$|ef*g.|h?i(j|k))", "reffgz", "y", "$&-$1-$2", "effgz-effgz-" ), TestVectors( "(((((((((a)))))))))", "a", "y", "$&", "a" ), TestVectors( "multiple words of text", "uh-uh", "n", "-", "-" ), TestVectors( "multiple words", "multiple words, yeah", "y", "$&", "multiple words" ), TestVectors( "(.*)c(.*)", "abcde", "y", "$&-$1-$2", "abcde-ab-de" ), TestVectors( "\\((.*), (.*)\\)", "(a, b)", "y", "($2, $1)", "(b, a)" ), TestVectors( "abcd", "abcd", "y", "$&-&-$$$&", "abcd-&-$abcd" ), TestVectors( "a(bc)d", "abcd", "y", "$1-$$1-$$$1", "bc-$1-$bc" ), TestVectors( "[k]", "ab", "n", "-", "-" ), TestVectors( "[ -~]*", "abc", "y", "$&", "abc" ), TestVectors( "[ -~ -~]*", "abc", "y", "$&", "abc" ), TestVectors( "[ -~ -~ -~]*", "abc", "y", "$&", "abc" ), TestVectors( "[ -~ -~ -~ -~]*", "abc", "y", "$&", "abc" ), TestVectors( "[ -~ -~ -~ -~ -~]*", "abc", "y", "$&", "abc" ), TestVectors( "[ -~ -~ -~ -~ -~ -~]*", "abc", "y", "$&", "abc" ), TestVectors( "[ -~ -~ -~ -~ -~ -~ -~]*", "abc", "y", "$&", "abc" ), TestVectors( "a{2}", "candy", "n", "", "" ), TestVectors( "a{2}", "caandy", "y", "$&", "aa" ), TestVectors( "a{2}", "caaandy", "y", "$&", "aa" ), TestVectors( "a{2,}", "candy", "n", "", "" ), TestVectors( "a{2,}", "caandy", "y", "$&", "aa" ), TestVectors( "a{2,}", "caaaaaandy", "y", "$&", "aaaaaa" ), TestVectors( "a{1,3}", "cndy", "n", "", "" ), TestVectors( "a{1,3}", "candy", "y", "$&", "a" ), TestVectors( "a{1,3}", "caandy", "y", "$&", "aa" ), TestVectors( "a{1,3}", "caaaaaandy", "y", "$&", "aaa" ), TestVectors( "e?le?", "angel", "y", "$&", "el" ), TestVectors( "e?le?", "angle", "y", "$&", "le" ), TestVectors( "\\bn\\w", "noonday", "y", "$&", "no" ), TestVectors( "\\wy\\b", "possibly yesterday", "y", "$&", "ly" ), TestVectors( "\\w\\Bn", "noonday", "y", "$&", "on" ), TestVectors( "y\\B\\w", "possibly yesterday", "y", "$&", "ye" ), TestVectors( "\\cJ", "abc\ndef", "y", "$&", "\n" ), TestVectors( "\\d", "B2 is", "y", "$&", "2" ), TestVectors( "\\D", "B2 is", "y", "$&", "B" ), TestVectors( "\\s\\w*", "foo bar", "y", "$&", " bar" ), TestVectors( "\\S\\w*", "foo bar", "y", "$&", "foo" ), TestVectors( "abc", "ababc", "y", "$&", "abc" ), TestVectors( "apple(,)\\sorange\\1", "apple, orange, cherry, peach", "y", "$&", "apple, orange," ), TestVectors( "(\\w+)\\s(\\w+)", "John Smith", "y", "$2, $1", "Smith, John" ), TestVectors( "\\n\\f\\r\\t\\v", "abc\n\f\r\t\vdef", "y", "$&", "\n\f\r\t\v" ), TestVectors( ".*c", "abcde", "y", "$&", "abc" ), TestVectors( "^\\w+((;|=)\\w+)+$", "some=host=tld", "y", "$&-$1-$2", "some=host=tld-=tld-=" ), TestVectors( "^\\w+((\\.|-)\\w+)+$", "some.host.tld", "y", "$&-$1-$2", "some.host.tld-.tld-." ), TestVectors( "q(a|b)*q", "xxqababqyy", "y", "$&-$1", "qababq-b" ), TestVectors( "^(a)(b){0,1}(c*)", "abcc", "y", "$1 $2 $3", "a b cc" ), TestVectors( "^(a)((b){0,1})(c*)", "abcc", "y", "$1 $2 $3", "a b b" ), TestVectors( "^(a)(b)?(c*)", "abcc", "y", "$1 $2 $3", "a b cc" ), TestVectors( "^(a)((b)?)(c*)", "abcc", "y", "$1 $2 $3", "a b b" ), TestVectors( "^(a)(b){0,1}(c*)", "acc", "y", "$1 $2 $3", "a cc" ), TestVectors( "^(a)((b){0,1})(c*)", "acc", "y", "$1 $2 $3", "a " ), TestVectors( "^(a)(b)?(c*)", "acc", "y", "$1 $2 $3", "a cc" ), TestVectors( "^(a)((b)?)(c*)", "acc", "y", "$1 $2 $3", "a " ), TestVectors( "(?:ab){3}", "_abababc","y", "$&-$1", "ababab-" ), TestVectors( "(?:a(?:x)?)+", "aaxaxx", "y", "$&-$1-$2", "aaxax--" ), TestVectors( `\W\w\W`, "aa b!ca", "y", "$&", " b!"), //more repetitions: TestVectors( "(?:a{2,4}b{1,3}){1,2}", "aaabaaaabbb", "y", "$&", "aaabaaaabbb" ), TestVectors( "(?:a{2,4}b{1,3}){1,2}?", "aaabaaaabbb", "y", "$&", "aaab" ), //groups: TestVectors( "(abc)|(edf)|(xyz)", "xyz", "y", "$1-$2-$3","--xyz"), TestVectors( "(?P<q>\\d+)/(?P<d>\\d+)", "2/3", "y", "${d}/${q}", "3/2"), //set operations: TestVectors( "[a-z--d-f]", " dfa", "y", "$&", "a"), TestVectors( "[abc[pq--acq]]{2}", "bqpaca", "y", "$&", "pa"), TestVectors( "[a-z9&&abc0-9]{3}", "z90a0abc", "y", "$&", "abc"), TestVectors( "[0-9a-f~~0-5a-z]{2}", "g0a58x", "y", "$&", "8x"), TestVectors( "[abc[pq]xyz[rs]]{4}", "cqxr", "y", "$&", "cqxr"), TestVectors( "[abcdf--[ab&&[bcd]][acd]]", "abcdefgh", "y", "$&", "f"), //unicode blocks & properties: TestVectors( `\P{Inlatin1suppl ement}`, "\u00c2!", "y", "$&", "!"), TestVectors( `\p{InLatin-1 Supplement}\p{in-mathematical-operators}\P{Inlatin1suppl ement}`, "\u00c2\u2200\u00c3\u2203.", "y", "$&", "\u00c3\u2203."), TestVectors( `[-+*/\p{in-mathematical-operators}]{2}`, "a+\u2212", "y", "$&", "+\u2212"), TestVectors( `\p{Ll}+`, "XabcD", "y", "$&", "abc"), TestVectors( `\p{Lu}+`, "абвГДЕ", "y", "$&", "ГДЕ"), TestVectors( `^\p{Currency Symbol}\p{Sc}` "$₤", "y", "$&", "$₤"), TestVectors( `\p{Common}\p{Thai}` "!ฆ", "y", "$&", "!ฆ"), TestVectors( `[\d\s]*\D`, "12 \t3\U00001680\u0F20_2", "y", "$&", "12 \t3\U00001680\u0F20_"), TestVectors( `[c-wф]фф`, "ффф", "y", "$&", "ффф"), //case insensitive: TestVectors( `^abcdEf$`, "AbCdEF" "y", "$&", "AbCdEF", "i"), TestVectors( `Русский язык`, "рУсскИй ЯзЫк", "y", "$&", "рУсскИй ЯзЫк", "i"), TestVectors( `ⒶⒷⓒ` , "ⓐⓑⒸ", "y", "$&", "ⓐⓑⒸ", "i"), TestVectors( "\U00010400{2}", "\U00010428\U00010400 ", "y", "$&", "\U00010428\U00010400", "i"), TestVectors( `[adzУ-Я]{4}`, "DzюА" "y", "$&", "DzЮа", "i"), TestVectors( `\p{L}\p{Lu}{10}`, "абвгдеЖЗИКЛ", "y", "$&", "абвгдеЖЗИКЛ", "i"), TestVectors( `(?:Dåb){3}`, "DåbDÅBdÅb", "y", "$&", "DåbDÅBdÅb", "i"), //escapes: TestVectors( `\u0041\u005a\U00000065\u0001`, "AZe\u0001", "y", "$&", "AZe\u0001"), TestVectors( `\u`, "", "c", "-", "-"), TestVectors( `\U`, "", "c", "-", "-"), TestVectors( `\u003`, "", "c", "-", "-"), TestVectors( `[\x00-\x7f]{4}`, "\x00\x09ab", "y", "$&", "\x00\x09ab"), TestVectors( `[\cJ\cK\cA-\cD]{3}\cQ`, "\x01\x0B\x0A\x11", "y", "$&", "\x01\x0B\x0A\x11"), TestVectors( `\r\n\v\t\f\\`, "\r\n\v\t\f\\", "y", "$&", "\r\n\v\t\f\\"), TestVectors( `[\u0003\u0001]{2}`, "\u0001\u0003", "y", "$&", "\u0001\u0003"), TestVectors( `^[\u0020-\u0080\u0001\n-\r]{8}`, "abc\u0001\v\f\r\n", "y", "$&", "abc\u0001\v\f\r\n"), TestVectors( `\w+\S\w+`, "ab7!44c", "y", "$&", "ab7!44c"), TestVectors( `\b\w+\b`, " abde4 ", "y", "$&", "abde4"), TestVectors( `\b\w+\b`, " abde4", "y", "$&", "abde4"), TestVectors( `\b\w+\b`, "abde4 ", "y", "$&", "abde4"), TestVectors( `\pL\pS`, "a\u02DA", "y", "$&", "a\u02DA"), TestVectors( `\pX`, "", "c", "-", "-"), // ^, $, \b, \B, multiline : TestVectors( `\r.*?$`, "abc\r\nxy", "y", "$&", "\r\nxy", "sm"), TestVectors( `^a$^b$`, "a\r\nb\n", "n", "$&", "-", "m"), TestVectors( `^a$\r\n^b$`,"a\r\nb\n", "y", "$&", "a\r\nb", "m"), TestVectors( `^$`, "\r\n", "y", "$&", "", "m"), TestVectors( `^a$\nx$`, "a\nx\u2028","y", "$&", "a\nx", "m"), TestVectors( `^a$\nx$`, "a\nx\u2029","y", "$&", "a\nx", "m"), TestVectors( `^a$\nx$`, "a\nx\u0085","y", "$&", "a\nx","m"), TestVectors( `^x$`, "\u2028x", "y", "$&", "x", "m"), TestVectors( `^x$`, "\u2029x", "y", "$&", "x", "m"), TestVectors( `^x$`, "\u0085x", "y", "$&", "x", "m"), TestVectors( `\b^.`, "ab", "y", "$&", "a"), TestVectors( `\B^.`, "ab", "n", "-", "-"), TestVectors( `^ab\Bc\B`, "\r\nabcd", "y", "$&", "abc", "m"), TestVectors( `^.*$`, "12345678", "y", "$&", "12345678"), // luckily obtained regression on incremental matching in backtracker TestVectors( `^(?:(?:([0-9A-F]+)\.\.([0-9A-F]+)|([0-9A-F]+))\s*;\s*([^ ]*)\s*#|# (?:\w|_)+=((?:\w|_)+))`, "0020 ; White_Space # ", "y", "$1-$2-$3", "--0020"), //lookahead TestVectors( "(foo.)(?=(bar))", "foobar foodbar", "y", "$&-$1-$2", "food-food-bar" ), TestVectors( `\b(\d+)[a-z](?=\1)`, "123a123", "y", "$&-$1", "123a-123" ), TestVectors( `\$(?!\d{3})\w+`, "$123 $abc", "y", "$&", "$abc"), TestVectors( `(abc)(?=(ed(f))\3)`, "abcedff", "y", "-", "-"), TestVectors( `\b[A-Za-z0-9.]+(?=(@(?!gmail)))`, "a@gmail,x@com", "y", "$&-$1", "x-@"), TestVectors( `x()(abc)(?=(d)(e)(f)\2)`, "xabcdefabc", "y", "$&", "xabc"), TestVectors( `x()(abc)(?=(d)(e)(f)()\3\4\5)`, "xabcdefdef", "y", "$&", "xabc"), //lookback TestVectors( `(?<=(ab))\d`, "12ba3ab4", "y", "$&-$1", "4-ab", "i"), TestVectors( `\w(?<!\d)\w`, "123ab24", "y", "$&", "ab"), TestVectors( `(?<=Dåb)x\w`, "DåbDÅBxdÅb", "y", "$&", "xd", "i"), TestVectors( `(?<=(ab*c))x`, "abbbbcxac", "y", "$&-$1", "x-abbbbc"), TestVectors( `(?<=(ab*?c))x`, "abbbbcxac", "y", "$&-$1", "x-abbbbc"), TestVectors( `(?<=(a.*?c))x`, "ababbcxac", "y", "$&-$1", "x-abbc"), TestVectors( `(?<=(a{2,4}b{1,3}))x`, "yyaaaabx", "y", "$&-$1", "x-aaaab"), TestVectors( `(?<=((?:a{2,4}b{1,3}){1,2}))x`, "aabbbaaaabx", "y", "$&-$1", "x-aabbbaaaab"), TestVectors( `(?<=((?:a{2,4}b{1,3}){1,2}?))x`, "aabbbaaaabx", "y", "$&-$1", "x-aaaab"), TestVectors( `(?<=(abc|def|aef))x`, "abcx", "y", "$&-$1", "x-abc"), TestVectors( `(?<=(abc|def|aef))x`, "aefx", "y", "$&-$1", "x-aef"), TestVectors( `(?<=(abc|dabc))(x)`, "dabcx", "y", "$&-$1-$2", "x-abc-x"), TestVectors( `(?<=(|abc))x`, "dabcx", "y", "$&-$1", "x-"), TestVectors( `(?<=((ab|da)*))x`, "abdaabx", "y", "$&-$2-$1", "x-ab-abdaab"), TestVectors( `a(?<=(ba(?<=(aba)(?<=aaba))))`, "aabaa", "y", "$&-$1-$2", "a-ba-aba"), TestVectors( `.(?<!b).`, "bax", "y", "$&", "ax"), TestVectors( `(?<=b(?<!ab)).`, "abbx", "y", "$&", "x"), //mixed lookaround TestVectors( `a(?<=a(?=b))b`, "ab", "y", "$&", "ab"), TestVectors( `a(?<=a(?!b))c`, "ac", "y", "$&", "ac"), ]; string produceExpected(M,String)(auto ref M m, String fmt) { auto app = appender!(String)(); replaceFmt(fmt, m.captures, app, true); return app.data; } void run_tests(alias matchFn)() { int i; foreach(Char; TypeTuple!( char, wchar, dchar)) { alias immutable(Char)[] String; String produceExpected(M,Range)(auto ref M m, Range fmt) { auto app = appender!(String)(); replaceFmt(fmt, m.captures, app, true); return app.data; } Regex!(Char) r; foreach(a, tvd; tv) { uint c = tvd.result[0]; debug(fred_test) writeln(" Test #", a, " pattern: ", tvd.pattern, " with Char = ", Char.stringof); try { i = 1; r = regex(to!(String)(tvd.pattern), tvd.flags); } catch (RegexException e) { i = 0; debug(fred_test) writeln(e.msg); } assert((c == 'c') ? !i : i, "failed to compile pattern "~tvd.pattern); if(c != 'c') { auto m = matchFn(to!(String)(tvd.input), r); i = !m.empty; assert((c == 'y') ? i : !i, text(matchFn.stringof ~": failed to match pattern #", a ,": ", tvd.pattern)); if(c == 'y') { auto result = produceExpected(m, to!(String)(tvd.format)); assert(result == to!String(tvd.replace), text(matchFn.stringof ~": mismatch pattern #", a, ": ", tvd.pattern," expected: ", tvd.replace, " vs ", result)); } } } } debug(fred_test) writeln("!!! FReD bulk test done "~matchFn.stringof~" !!!"); } static string generate(uint n,uint[] black_list...) { string s = "TypeTuple!("; for(uint i=0; i<n; i++) { uint j; for(j =0; j<black_list.length; j++) if(i == black_list[j]) break; if(j == black_list.length) { s ~= to!string(i); s ~= ","; } } s ~= ")"; return s; } //CTFE parsing version(fred_ct) void ct_tests() { foreach(a, v; mixin(generate(140,38,39,40,52,55,57,62,63,67,80,190,191,192))) { enum tvd = tv[v]; enum r = regex(tvd.pattern, tvd.flags); auto nr = regex(tvd.pattern, tvd.flags); debug(fred_test) { writeln(" Test #", a, " pattern: ", tvd.pattern); if(!equal(r.ir, nr.ir)) { writeln("C-T version :"); r.print(); writeln("R-T version :"); nr.print(); assert(0, text("!C-T regex! failed to compile pattern #", a ,": ", tvd.pattern)); } } else assert(equal(r.ir, nr.ir), text("!C-T regex! failed to compile pattern #", a ,": ", tvd.pattern)); } debug(fred_test) writeln("!!! FReD C-T test done !!!"); } version(fred_ct) ct_tests(); else { run_tests!bmatch(); //backtracker run_tests!match(); //thompson VM } } version(fred_ct) { unittest { auto cr = ctRegex!("abc"); assert(bmatch("abc",cr).hit == "abc"); auto cr2 = ctRegex!("ab*c"); assert(bmatch("abbbbc",cr2).hit == "abbbbc"); auto cr3 = ctRegex!("^abc$"); assert(bmatch("abc",cr3).hit == "abc"); auto cr4 = ctRegex!(`\b(a\B[a-z]b)\b`); assert(array(match("azb",cr4).captures) == ["azb", "azb"]); auto cr5 = ctRegex!("(?:a{2,4}b{1,3}){1,2}"); assert(bmatch("aaabaaaabbb", cr5).hit == "aaabaaaabbb"); auto cr6 = ctRegex!("(?:a{2,4}b{1,3}){1,2}?"w); assert(bmatch("aaabaaaabbb"w, cr6).hit == "aaab"w); auto cr7 = ctRegex!(`\r.*?$`,"m"); assert(bmatch("abc\r\nxy", cr7).hit == "\r\nxy"); auto greed = ctRegex!("<packet.*?/packet>"); assert(bmatch("<packet>text</packet><packet>text</packet>", greed).hit == "<packet>text</packet>"); auto cr8 = ctRegex!("^(a)(b)?(c*)"); auto m8 = bmatch("abcc",cr8); assert(m8); assert(m8.captures[1] == "a"); assert(m8.captures[2] == "b"); assert(m8.captures[3] == "cc"); auto cr9 = ctRegex!("q(a|b)*q"); auto m9 = match("xxqababqyy",cr9); assert(m9); assert(equal(bmatch("xxqababqyy",cr9).captures, ["qababq", "b"])); auto rtr = regex("a|b|c"); enum ctr = regex("a|b|c"); assert(equal(rtr.ir,ctr.ir)); //CTFE parser BUG is triggered by group //in the middle of alternation (at least not first and not last) version(fred_bug) { enum testCT = regex(`abc|(edf)|xyz`); auto testRT = regex(`abc|(edf)|xyz`); debug { writeln("C-T version :"); testCT.print(); writeln("R-T version :"); testRT.print(); } } } unittest { enum cx = ctRegex!"(A|B|C)"; auto mx = match("B",cx); assert(mx); assert(equal(mx.captures, [ "B", "B"])); enum cx2 = ctRegex!"(A|B)*"; assert(match("BAAA",cx2)); enum cx3 = ctRegex!("a{3,4}","i"); auto mx3 = match("AaA",cx3); assert(mx3); assert(mx3.captures[0] == "AaA"); enum cx4 = ctRegex!(`^a{3,4}?[a-zA-Z0-9~]{1,2}`,"i"); auto mx4 = match("aaaabc", cx4); assert(mx4); assert(mx4.captures[0] == "aaaab"); auto cr8 = ctRegex!("(a)(b)?(c*)"); auto m8 = bmatch("abcc",cr8); assert(m8); assert(m8.captures[1] == "a"); assert(m8.captures[2] == "b"); assert(m8.captures[3] == "cc"); auto cr9 = ctRegex!(".*$", "gm"); auto m9 = match("First\rSecond"); assert(m9); assert(equal(map!"a.hit"(m9.captures), ["First", "", "Second"])); } } else { unittest { //global matching void test_body(alias matchFn)() { string s = "a quick brown fox jumps over a lazy dog"; auto r1 = regex("\\b[a-z]+\\b","g"); string[] test; foreach(m; matchFn(s, r1)) test ~= m.hit; assert(equal(test, [ "a", "quick", "brown", "fox", "jumps", "over", "a", "lazy", "dog"])); auto free_reg = regex(` abc \s+ " ( [^"]+ | \\ " )+ " z `, "x"); auto m = match(`abc "quoted string with \" inside"z`,free_reg); assert(m); string mails = " hey@you.com no@spam.net "; auto rm = regex(`@(?<=\S+@)\S+`,"g"); assert(equal(map!"a[0]"(matchFn(mails, rm)), ["@you.com", "@spam.net"])); auto m2 = matchFn("First line\nSecond line",regex(".*$","gm")); assert(equal(map!"a[0]"(m2), ["First line", "", "Second line"])); auto m2a = matchFn("First line\nSecond line",regex(".+$","gm")); assert(equal(map!"a[0]"(m2a), ["First line", "Second line"])); auto m2b = matchFn("First line\nSecond line",regex(".+?$","gm")); assert(equal(map!"a[0]"(m2b), ["First line", "Second line"])); debug(fred_test) writeln("!!! FReD FLAGS test done "~matchFn.stringof~" !!!"); } test_body!bmatch(); test_body!match(); } //tests for accomulated std.regex issues and other regressions unittest { void test_body(alias matchFn)() { //issue 5857 //matching goes out of control if ... in (...){x} has .*/.+ auto c = matchFn("axxxzayyyyyzd",regex("(a.*z){2}d")).captures; assert(c[0] == "axxxzayyyyyzd"); assert(c[1] == "ayyyyyz"); auto c2 = matchFn("axxxayyyyyd",regex("(a.*){2}d")).captures; assert(c2[0] == "axxxayyyyyd"); assert(c2[1] == "ayyyyy"); //issue 2108 //greedy vs non-greedy auto nogreed = regex("<packet.*?/packet>"); assert(matchFn("<packet>text</packet><packet>text</packet>", nogreed).hit == "<packet>text</packet>"); auto greed = regex("<packet.*/packet>"); assert(matchFn("<packet>text</packet><packet>text</packet>", greed).hit == "<packet>text</packet><packet>text</packet>"); //issue 4574 //empty successful match still advances the input string[] pres, posts, hits; foreach(m; matchFn("abcabc", regex("","g"))) { pres ~= m.pre; posts ~= m.post; assert(m.hit.empty); } auto heads = [ "abcabc", "abcab", "abca", "abc", "ab", "a", "" ]; auto tails = [ "abcabc", "bcabc", "cabc", "abc", "bc", "c", "" ]; assert(pres == array(retro(heads))); assert(posts == tails); //issue 6076 //regression on .* auto re = regex("c.*|d"); auto m = matchFn("mm", re); assert(!m); debug(fred_test) writeln("!!! FReD REGRESSION test done "~matchFn.stringof~" !!!"); auto rprealloc = regex(`((.){5}.{1,10}){5}`); auto arr = array(replicate('0',100)); auto m2 = matchFn(arr, rprealloc); assert(m2); assert(collectException( regex(r"^(import|file|binary|config)\s+([^\(]+)\(?([^\)]*)\)?\s*$") ) is null); foreach(ch; ['^','$','.','|','?',',','-',';',':' ,'#','&','%','/','<','>','`' ,'*','+','(',')','{','}']) { assert(match(to!string(ch),regex(`[\`~ch~`]`))); assert(!match(to!string(ch),regex(`[^\`~ch~`]`))); if(ch != '-') //'--' is an operator assert(match(to!string(ch),regex(`[\`~ch~`-\`~ch~`]`))); } } test_body!bmatch(); test_body!match(); } // tests for replace unittest { void test(alias matchFn)() { foreach(i, v; TypeTuple!(string, wstring, dstring)) { auto baz(Cap)(Cap m) if (is(Cap==Captures!(Cap.String))) { return std.string.toUpper(m.hit); } alias v String; assert(std.regex.replace!(matchFn)(to!String("ark rapacity"), regex(to!String("r")), to!String("c")) == to!String("ack rapacity")); assert(std.regex.replace!(matchFn)(to!String("ark rapacity"), regex(to!String("r"), "g"), to!String("c")) == to!String("ack capacity")); assert(std.regex.replace!(matchFn)(to!String("noon"), regex(to!String("^n")), to!String("[$&]")) == to!String("[n]oon")); assert(std.regex.replace!(matchFn)(to!String("test1 test2"), regex(to!String(`\w+`),"g"), to!String("$`:$'")) == to!String(": test2 test1 :")); auto s = std.regex.replace!(baz!(Captures!(String)))(to!String("Strap a rocket engine on a chicken."), regex(to!String("[ar]"), "g")); assert(s == "StRAp A Rocket engine on A chicken."); } debug(fred_test) writeln("!!! Replace test done "~matchFn.stringof~" !!!"); } test!(bmatch)(); test!(match)(); } // tests for splitter unittest { auto s1 = ", abc, de, fg, hi, "; auto sp1 = splitter(s1, regex(", *")); auto w1 = ["", "abc", "de", "fg", "hi", ""]; assert(equal(sp1, w1)); auto s2 = ", abc, de, fg, hi"; auto sp2 = splitter(s2, regex(", *")); auto w2 = ["", "abc", "de", "fg", "hi"]; uint cnt; foreach(e; sp2) { assert(w2[cnt++] == e); } assert(equal(sp2, w2)); } unittest { char[] s1 = ", abc, de, fg, hi, ".dup; auto sp2 = splitter(s1, regex(", *")); } unittest { auto s1 = ", abc, de, fg, hi, "; auto w1 = ["", "abc", "de", "fg", "hi", ""]; assert(equal(split(s1, regex(", *")), w1[])); } unittest { // bugzilla 7141 string pattern = `[a\--b]`; assert(match("-", pattern)); assert(match("b", pattern)); string pattern2 = `[&-z]`; assert(match("b", pattern2)); } unittest {//bugzilla 7111 assert(!match("", regex("^")).empty); } } }
D
/** * DES * * Copyright: * (C) 1999-2007 Jack Lloyd * (C) 2014-2015 Etienne Cimon * * License: * Botan is released under the Simplified BSD License (see LICENSE.md) */ module botan.block.des; import botan.constants; static if (BOTAN_HAS_DES): import std.range : iota; import botan.utils.loadstor; import botan.utils.rotate; public import botan.block.block_cipher; import botan.utils.get_byte : get_byte; import botan.utils.mem_ops; /** * DES */ class DES : BlockCipherFixedParams!(8, 8), BlockCipher, SymmetricAlgorithm { public: /* * DES Encryption */ override void encryptN(const(ubyte)* input, ubyte* output, size_t blocks) { foreach (size_t i; 0 .. blocks) { ulong T = (DES_IPTAB1[input[0]] ) | (DES_IPTAB1[input[1]] << 1) | (DES_IPTAB1[input[2]] << 2) | (DES_IPTAB1[input[3]] << 3) | (DES_IPTAB1[input[4]] << 4) | (DES_IPTAB1[input[5]] << 5) | (DES_IPTAB1[input[6]] << 6) | (DES_IPTAB2[input[7]] ); uint L = cast(uint)(T >> 32); uint R = cast(uint)(T); des_encrypt(L, R, *cast(uint[32]*) m_round_key.ptr); T = (DES_FPTAB1[get_byte(0, L)] << 5) | (DES_FPTAB1[get_byte(1, L)] << 3) | (DES_FPTAB1[get_byte(2, L)] << 1) | (DES_FPTAB2[get_byte(3, L)] << 1) | (DES_FPTAB1[get_byte(0, R)] << 4) | (DES_FPTAB1[get_byte(1, R)] << 2) | (DES_FPTAB1[get_byte(2, R)] ) | (DES_FPTAB2[get_byte(3, R)] ); T = rotateLeft(T, 32); storeBigEndian(T, output); input += BLOCK_SIZE; output += BLOCK_SIZE; } } /* * DES Decryption */ override void decryptN(const(ubyte)* input, ubyte* output, size_t blocks) { foreach (size_t i; 0 .. blocks) { ulong T = (DES_IPTAB1[input[0]] ) | (DES_IPTAB1[input[1]] << 1) | (DES_IPTAB1[input[2]] << 2) | (DES_IPTAB1[input[3]] << 3) | (DES_IPTAB1[input[4]] << 4) | (DES_IPTAB1[input[5]] << 5) | (DES_IPTAB1[input[6]] << 6) | (DES_IPTAB2[input[7]] ); uint L = cast(uint)(T >> 32); uint R = cast(uint)(T); des_decrypt(L, R, *cast(uint[32]*) m_round_key.ptr); T = (DES_FPTAB1[get_byte(0, L)] << 5) | (DES_FPTAB1[get_byte(1, L)] << 3) | (DES_FPTAB1[get_byte(2, L)] << 1) | (DES_FPTAB2[get_byte(3, L)] << 1) | (DES_FPTAB1[get_byte(0, R)] << 4) | (DES_FPTAB1[get_byte(1, R)] << 2) | (DES_FPTAB1[get_byte(2, R)] ) | (DES_FPTAB2[get_byte(3, R)] ); T = rotateLeft(T, 32); storeBigEndian(T, output); input += BLOCK_SIZE; output += BLOCK_SIZE; } } override void clear() { zap(m_round_key); } @property string name() const { return "DES"; } override @property size_t parallelism() const { return 1; } override BlockCipher clone() const { return new DES; } override size_t blockSize() const { return super.blockSize(); } override KeyLengthSpecification keySpec() const { return super.keySpec(); } protected: /* * DES Key Schedule */ override void keySchedule(const(ubyte)* key, size_t) { m_round_key.resize(32); des_key_schedule(*cast(uint[32]*) m_round_key.ptr, *cast(ubyte[8]*) key); } SecureVector!uint m_round_key; } /** * Triple DES */ class TripleDES : BlockCipherFixedParams!(8, 16, 24, 8), BlockCipher, SymmetricAlgorithm { public: /* * TripleDES Encryption */ override void encryptN(const(ubyte)* input, ubyte* output, size_t blocks) { foreach (size_t i; 0 .. blocks) { ulong T = (DES_IPTAB1[input[0]] ) | (DES_IPTAB1[input[1]] << 1) | (DES_IPTAB1[input[2]] << 2) | (DES_IPTAB1[input[3]] << 3) | (DES_IPTAB1[input[4]] << 4) | (DES_IPTAB1[input[5]] << 5) | (DES_IPTAB1[input[6]] << 6) | (DES_IPTAB2[input[7]] ); uint L = cast(uint)(T >> 32); uint R = cast(uint)(T); des_encrypt(L, R, *cast(uint[32]*) m_round_key.ptr); des_decrypt(R, L, *cast(uint[32]*) &m_round_key[32]); des_encrypt(L, R, *cast(uint[32]*) &m_round_key[64]); T = (DES_FPTAB1[get_byte(0, L)] << 5) | (DES_FPTAB1[get_byte(1, L)] << 3) | (DES_FPTAB1[get_byte(2, L)] << 1) | (DES_FPTAB2[get_byte(3, L)] << 1) | (DES_FPTAB1[get_byte(0, R)] << 4) | (DES_FPTAB1[get_byte(1, R)] << 2) | (DES_FPTAB1[get_byte(2, R)] ) | (DES_FPTAB2[get_byte(3, R)] ); T = rotateLeft(T, 32); storeBigEndian(T, output); input += BLOCK_SIZE; output += BLOCK_SIZE; } } /* * TripleDES Decryption */ override void decryptN(const(ubyte)* input, ubyte* output, size_t blocks) { foreach (size_t i; 0 .. blocks) { ulong T = (DES_IPTAB1[input[0]] ) | (DES_IPTAB1[input[1]] << 1) | (DES_IPTAB1[input[2]] << 2) | (DES_IPTAB1[input[3]] << 3) | (DES_IPTAB1[input[4]] << 4) | (DES_IPTAB1[input[5]] << 5) | (DES_IPTAB1[input[6]] << 6) | (DES_IPTAB2[input[7]] ); uint L = cast(uint)(T >> 32); uint R = cast(uint)(T); des_decrypt(L, R, *cast(uint[32]*) &m_round_key[64]); des_encrypt(R, L, *cast(uint[32]*) &m_round_key[32]); des_decrypt(L, R, *cast(uint[32]*) m_round_key.ptr); T = (DES_FPTAB1[get_byte(0, L)] << 5) | (DES_FPTAB1[get_byte(1, L)] << 3) | (DES_FPTAB1[get_byte(2, L)] << 1) | (DES_FPTAB2[get_byte(3, L)] << 1) | (DES_FPTAB1[get_byte(0, R)] << 4) | (DES_FPTAB1[get_byte(1, R)] << 2) | (DES_FPTAB1[get_byte(2, R)] ) | (DES_FPTAB2[get_byte(3, R)] ); T = rotateLeft(T, 32); storeBigEndian(T, output); input += BLOCK_SIZE; output += BLOCK_SIZE; } } override void clear() { zap(m_round_key); } @property string name() const { return "TripleDES"; } override @property size_t parallelism() const { return 1; } override BlockCipher clone() const { return new TripleDES; } override size_t blockSize() const { return super.blockSize(); } override KeyLengthSpecification keySpec() const { return super.keySpec(); } protected: /* * TripleDES Key Schedule */ override void keySchedule(const(ubyte)* key, size_t length) { m_round_key.resize(3*32); des_key_schedule(*cast(uint[32]*)m_round_key.ptr, key[0 .. 8]); des_key_schedule(*cast(uint[32]*)&m_round_key[32], key[8 .. 16]); if (length == 24) { des_key_schedule(*cast(uint[32]*)&m_round_key[64], key[16 .. 24]); } else { copyMem(&m_round_key[64], m_round_key.ptr, 32); } } SecureVector!uint m_round_key; } /* * DES Tables */ __gshared immutable uint[256] DES_SPBOX1 = [ 0x01010400, 0x00000000, 0x00010000, 0x01010404, 0x01010004, 0x00010404, 0x00000004, 0x00010000, 0x00000400, 0x01010400, 0x01010404, 0x00000400, 0x01000404, 0x01010004, 0x01000000, 0x00000004, 0x00000404, 0x01000400, 0x01000400, 0x00010400, 0x00010400, 0x01010000, 0x01010000, 0x01000404, 0x00010004, 0x01000004, 0x01000004, 0x00010004, 0x00000000, 0x00000404, 0x00010404, 0x01000000, 0x00010000, 0x01010404, 0x00000004, 0x01010000, 0x01010400, 0x01000000, 0x01000000, 0x00000400, 0x01010004, 0x00010000, 0x00010400, 0x01000004, 0x00000400, 0x00000004, 0x01000404, 0x00010404, 0x01010404, 0x00010004, 0x01010000, 0x01000404, 0x01000004, 0x00000404, 0x00010404, 0x01010400, 0x00000404, 0x01000400, 0x01000400, 0x00000000, 0x00010004, 0x00010400, 0x00000000, 0x01010004, 0x01010400, 0x00000000, 0x00010000, 0x01010404, 0x01010004, 0x00010404, 0x00000004, 0x00010000, 0x00000400, 0x01010400, 0x01010404, 0x00000400, 0x01000404, 0x01010004, 0x01000000, 0x00000004, 0x00000404, 0x01000400, 0x01000400, 0x00010400, 0x00010400, 0x01010000, 0x01010000, 0x01000404, 0x00010004, 0x01000004, 0x01000004, 0x00010004, 0x00000000, 0x00000404, 0x00010404, 0x01000000, 0x00010000, 0x01010404, 0x00000004, 0x01010000, 0x01010400, 0x01000000, 0x01000000, 0x00000400, 0x01010004, 0x00010000, 0x00010400, 0x01000004, 0x00000400, 0x00000004, 0x01000404, 0x00010404, 0x01010404, 0x00010004, 0x01010000, 0x01000404, 0x01000004, 0x00000404, 0x00010404, 0x01010400, 0x00000404, 0x01000400, 0x01000400, 0x00000000, 0x00010004, 0x00010400, 0x00000000, 0x01010004, 0x01010400, 0x00000000, 0x00010000, 0x01010404, 0x01010004, 0x00010404, 0x00000004, 0x00010000, 0x00000400, 0x01010400, 0x01010404, 0x00000400, 0x01000404, 0x01010004, 0x01000000, 0x00000004, 0x00000404, 0x01000400, 0x01000400, 0x00010400, 0x00010400, 0x01010000, 0x01010000, 0x01000404, 0x00010004, 0x01000004, 0x01000004, 0x00010004, 0x00000000, 0x00000404, 0x00010404, 0x01000000, 0x00010000, 0x01010404, 0x00000004, 0x01010000, 0x01010400, 0x01000000, 0x01000000, 0x00000400, 0x01010004, 0x00010000, 0x00010400, 0x01000004, 0x00000400, 0x00000004, 0x01000404, 0x00010404, 0x01010404, 0x00010004, 0x01010000, 0x01000404, 0x01000004, 0x00000404, 0x00010404, 0x01010400, 0x00000404, 0x01000400, 0x01000400, 0x00000000, 0x00010004, 0x00010400, 0x00000000, 0x01010004, 0x01010400, 0x00000000, 0x00010000, 0x01010404, 0x01010004, 0x00010404, 0x00000004, 0x00010000, 0x00000400, 0x01010400, 0x01010404, 0x00000400, 0x01000404, 0x01010004, 0x01000000, 0x00000004, 0x00000404, 0x01000400, 0x01000400, 0x00010400, 0x00010400, 0x01010000, 0x01010000, 0x01000404, 0x00010004, 0x01000004, 0x01000004, 0x00010004, 0x00000000, 0x00000404, 0x00010404, 0x01000000, 0x00010000, 0x01010404, 0x00000004, 0x01010000, 0x01010400, 0x01000000, 0x01000000, 0x00000400, 0x01010004, 0x00010000, 0x00010400, 0x01000004, 0x00000400, 0x00000004, 0x01000404, 0x00010404, 0x01010404, 0x00010004, 0x01010000, 0x01000404, 0x01000004, 0x00000404, 0x00010404, 0x01010400, 0x00000404, 0x01000400, 0x01000400, 0x00000000, 0x00010004, 0x00010400, 0x00000000, 0x01010004 ]; __gshared immutable uint[256] DES_SPBOX2 = [ 0x80108020, 0x80008000, 0x00008000, 0x00108020, 0x00100000, 0x00000020, 0x80100020, 0x80008020, 0x80000020, 0x80108020, 0x80108000, 0x80000000, 0x80008000, 0x00100000, 0x00000020, 0x80100020, 0x00108000, 0x00100020, 0x80008020, 0x00000000, 0x80000000, 0x00008000, 0x00108020, 0x80100000, 0x00100020, 0x80000020, 0x00000000, 0x00108000, 0x00008020, 0x80108000, 0x80100000, 0x00008020, 0x00000000, 0x00108020, 0x80100020, 0x00100000, 0x80008020, 0x80100000, 0x80108000, 0x00008000, 0x80100000, 0x80008000, 0x00000020, 0x80108020, 0x00108020, 0x00000020, 0x00008000, 0x80000000, 0x00008020, 0x80108000, 0x00100000, 0x80000020, 0x00100020, 0x80008020, 0x80000020, 0x00100020, 0x00108000, 0x00000000, 0x80008000, 0x00008020, 0x80000000, 0x80100020, 0x80108020, 0x00108000, 0x80108020, 0x80008000, 0x00008000, 0x00108020, 0x00100000, 0x00000020, 0x80100020, 0x80008020, 0x80000020, 0x80108020, 0x80108000, 0x80000000, 0x80008000, 0x00100000, 0x00000020, 0x80100020, 0x00108000, 0x00100020, 0x80008020, 0x00000000, 0x80000000, 0x00008000, 0x00108020, 0x80100000, 0x00100020, 0x80000020, 0x00000000, 0x00108000, 0x00008020, 0x80108000, 0x80100000, 0x00008020, 0x00000000, 0x00108020, 0x80100020, 0x00100000, 0x80008020, 0x80100000, 0x80108000, 0x00008000, 0x80100000, 0x80008000, 0x00000020, 0x80108020, 0x00108020, 0x00000020, 0x00008000, 0x80000000, 0x00008020, 0x80108000, 0x00100000, 0x80000020, 0x00100020, 0x80008020, 0x80000020, 0x00100020, 0x00108000, 0x00000000, 0x80008000, 0x00008020, 0x80000000, 0x80100020, 0x80108020, 0x00108000, 0x80108020, 0x80008000, 0x00008000, 0x00108020, 0x00100000, 0x00000020, 0x80100020, 0x80008020, 0x80000020, 0x80108020, 0x80108000, 0x80000000, 0x80008000, 0x00100000, 0x00000020, 0x80100020, 0x00108000, 0x00100020, 0x80008020, 0x00000000, 0x80000000, 0x00008000, 0x00108020, 0x80100000, 0x00100020, 0x80000020, 0x00000000, 0x00108000, 0x00008020, 0x80108000, 0x80100000, 0x00008020, 0x00000000, 0x00108020, 0x80100020, 0x00100000, 0x80008020, 0x80100000, 0x80108000, 0x00008000, 0x80100000, 0x80008000, 0x00000020, 0x80108020, 0x00108020, 0x00000020, 0x00008000, 0x80000000, 0x00008020, 0x80108000, 0x00100000, 0x80000020, 0x00100020, 0x80008020, 0x80000020, 0x00100020, 0x00108000, 0x00000000, 0x80008000, 0x00008020, 0x80000000, 0x80100020, 0x80108020, 0x00108000, 0x80108020, 0x80008000, 0x00008000, 0x00108020, 0x00100000, 0x00000020, 0x80100020, 0x80008020, 0x80000020, 0x80108020, 0x80108000, 0x80000000, 0x80008000, 0x00100000, 0x00000020, 0x80100020, 0x00108000, 0x00100020, 0x80008020, 0x00000000, 0x80000000, 0x00008000, 0x00108020, 0x80100000, 0x00100020, 0x80000020, 0x00000000, 0x00108000, 0x00008020, 0x80108000, 0x80100000, 0x00008020, 0x00000000, 0x00108020, 0x80100020, 0x00100000, 0x80008020, 0x80100000, 0x80108000, 0x00008000, 0x80100000, 0x80008000, 0x00000020, 0x80108020, 0x00108020, 0x00000020, 0x00008000, 0x80000000, 0x00008020, 0x80108000, 0x00100000, 0x80000020, 0x00100020, 0x80008020, 0x80000020, 0x00100020, 0x00108000, 0x00000000, 0x80008000, 0x00008020, 0x80000000, 0x80100020, 0x80108020, 0x00108000 ]; __gshared immutable uint[256] DES_SPBOX3 = [ 0x00000208, 0x08020200, 0x00000000, 0x08020008, 0x08000200, 0x00000000, 0x00020208, 0x08000200, 0x00020008, 0x08000008, 0x08000008, 0x00020000, 0x08020208, 0x00020008, 0x08020000, 0x00000208, 0x08000000, 0x00000008, 0x08020200, 0x00000200, 0x00020200, 0x08020000, 0x08020008, 0x00020208, 0x08000208, 0x00020200, 0x00020000, 0x08000208, 0x00000008, 0x08020208, 0x00000200, 0x08000000, 0x08020200, 0x08000000, 0x00020008, 0x00000208, 0x00020000, 0x08020200, 0x08000200, 0x00000000, 0x00000200, 0x00020008, 0x08020208, 0x08000200, 0x08000008, 0x00000200, 0x00000000, 0x08020008, 0x08000208, 0x00020000, 0x08000000, 0x08020208, 0x00000008, 0x00020208, 0x00020200, 0x08000008, 0x08020000, 0x08000208, 0x00000208, 0x08020000, 0x00020208, 0x00000008, 0x08020008, 0x00020200, 0x00000208, 0x08020200, 0x00000000, 0x08020008, 0x08000200, 0x00000000, 0x00020208, 0x08000200, 0x00020008, 0x08000008, 0x08000008, 0x00020000, 0x08020208, 0x00020008, 0x08020000, 0x00000208, 0x08000000, 0x00000008, 0x08020200, 0x00000200, 0x00020200, 0x08020000, 0x08020008, 0x00020208, 0x08000208, 0x00020200, 0x00020000, 0x08000208, 0x00000008, 0x08020208, 0x00000200, 0x08000000, 0x08020200, 0x08000000, 0x00020008, 0x00000208, 0x00020000, 0x08020200, 0x08000200, 0x00000000, 0x00000200, 0x00020008, 0x08020208, 0x08000200, 0x08000008, 0x00000200, 0x00000000, 0x08020008, 0x08000208, 0x00020000, 0x08000000, 0x08020208, 0x00000008, 0x00020208, 0x00020200, 0x08000008, 0x08020000, 0x08000208, 0x00000208, 0x08020000, 0x00020208, 0x00000008, 0x08020008, 0x00020200, 0x00000208, 0x08020200, 0x00000000, 0x08020008, 0x08000200, 0x00000000, 0x00020208, 0x08000200, 0x00020008, 0x08000008, 0x08000008, 0x00020000, 0x08020208, 0x00020008, 0x08020000, 0x00000208, 0x08000000, 0x00000008, 0x08020200, 0x00000200, 0x00020200, 0x08020000, 0x08020008, 0x00020208, 0x08000208, 0x00020200, 0x00020000, 0x08000208, 0x00000008, 0x08020208, 0x00000200, 0x08000000, 0x08020200, 0x08000000, 0x00020008, 0x00000208, 0x00020000, 0x08020200, 0x08000200, 0x00000000, 0x00000200, 0x00020008, 0x08020208, 0x08000200, 0x08000008, 0x00000200, 0x00000000, 0x08020008, 0x08000208, 0x00020000, 0x08000000, 0x08020208, 0x00000008, 0x00020208, 0x00020200, 0x08000008, 0x08020000, 0x08000208, 0x00000208, 0x08020000, 0x00020208, 0x00000008, 0x08020008, 0x00020200, 0x00000208, 0x08020200, 0x00000000, 0x08020008, 0x08000200, 0x00000000, 0x00020208, 0x08000200, 0x00020008, 0x08000008, 0x08000008, 0x00020000, 0x08020208, 0x00020008, 0x08020000, 0x00000208, 0x08000000, 0x00000008, 0x08020200, 0x00000200, 0x00020200, 0x08020000, 0x08020008, 0x00020208, 0x08000208, 0x00020200, 0x00020000, 0x08000208, 0x00000008, 0x08020208, 0x00000200, 0x08000000, 0x08020200, 0x08000000, 0x00020008, 0x00000208, 0x00020000, 0x08020200, 0x08000200, 0x00000000, 0x00000200, 0x00020008, 0x08020208, 0x08000200, 0x08000008, 0x00000200, 0x00000000, 0x08020008, 0x08000208, 0x00020000, 0x08000000, 0x08020208, 0x00000008, 0x00020208, 0x00020200, 0x08000008, 0x08020000, 0x08000208, 0x00000208, 0x08020000, 0x00020208, 0x00000008, 0x08020008, 0x00020200 ]; __gshared immutable uint[256] DES_SPBOX4 = [ 0x00802001, 0x00002081, 0x00002081, 0x00000080, 0x00802080, 0x00800081, 0x00800001, 0x00002001, 0x00000000, 0x00802000, 0x00802000, 0x00802081, 0x00000081, 0x00000000, 0x00800080, 0x00800001, 0x00000001, 0x00002000, 0x00800000, 0x00802001, 0x00000080, 0x00800000, 0x00002001, 0x00002080, 0x00800081, 0x00000001, 0x00002080, 0x00800080, 0x00002000, 0x00802080, 0x00802081, 0x00000081, 0x00800080, 0x00800001, 0x00802000, 0x00802081, 0x00000081, 0x00000000, 0x00000000, 0x00802000, 0x00002080, 0x00800080, 0x00800081, 0x00000001, 0x00802001, 0x00002081, 0x00002081, 0x00000080, 0x00802081, 0x00000081, 0x00000001, 0x00002000, 0x00800001, 0x00002001, 0x00802080, 0x00800081, 0x00002001, 0x00002080, 0x00800000, 0x00802001, 0x00000080, 0x00800000, 0x00002000, 0x00802080, 0x00802001, 0x00002081, 0x00002081, 0x00000080, 0x00802080, 0x00800081, 0x00800001, 0x00002001, 0x00000000, 0x00802000, 0x00802000, 0x00802081, 0x00000081, 0x00000000, 0x00800080, 0x00800001, 0x00000001, 0x00002000, 0x00800000, 0x00802001, 0x00000080, 0x00800000, 0x00002001, 0x00002080, 0x00800081, 0x00000001, 0x00002080, 0x00800080, 0x00002000, 0x00802080, 0x00802081, 0x00000081, 0x00800080, 0x00800001, 0x00802000, 0x00802081, 0x00000081, 0x00000000, 0x00000000, 0x00802000, 0x00002080, 0x00800080, 0x00800081, 0x00000001, 0x00802001, 0x00002081, 0x00002081, 0x00000080, 0x00802081, 0x00000081, 0x00000001, 0x00002000, 0x00800001, 0x00002001, 0x00802080, 0x00800081, 0x00002001, 0x00002080, 0x00800000, 0x00802001, 0x00000080, 0x00800000, 0x00002000, 0x00802080, 0x00802001, 0x00002081, 0x00002081, 0x00000080, 0x00802080, 0x00800081, 0x00800001, 0x00002001, 0x00000000, 0x00802000, 0x00802000, 0x00802081, 0x00000081, 0x00000000, 0x00800080, 0x00800001, 0x00000001, 0x00002000, 0x00800000, 0x00802001, 0x00000080, 0x00800000, 0x00002001, 0x00002080, 0x00800081, 0x00000001, 0x00002080, 0x00800080, 0x00002000, 0x00802080, 0x00802081, 0x00000081, 0x00800080, 0x00800001, 0x00802000, 0x00802081, 0x00000081, 0x00000000, 0x00000000, 0x00802000, 0x00002080, 0x00800080, 0x00800081, 0x00000001, 0x00802001, 0x00002081, 0x00002081, 0x00000080, 0x00802081, 0x00000081, 0x00000001, 0x00002000, 0x00800001, 0x00002001, 0x00802080, 0x00800081, 0x00002001, 0x00002080, 0x00800000, 0x00802001, 0x00000080, 0x00800000, 0x00002000, 0x00802080, 0x00802001, 0x00002081, 0x00002081, 0x00000080, 0x00802080, 0x00800081, 0x00800001, 0x00002001, 0x00000000, 0x00802000, 0x00802000, 0x00802081, 0x00000081, 0x00000000, 0x00800080, 0x00800001, 0x00000001, 0x00002000, 0x00800000, 0x00802001, 0x00000080, 0x00800000, 0x00002001, 0x00002080, 0x00800081, 0x00000001, 0x00002080, 0x00800080, 0x00002000, 0x00802080, 0x00802081, 0x00000081, 0x00800080, 0x00800001, 0x00802000, 0x00802081, 0x00000081, 0x00000000, 0x00000000, 0x00802000, 0x00002080, 0x00800080, 0x00800081, 0x00000001, 0x00802001, 0x00002081, 0x00002081, 0x00000080, 0x00802081, 0x00000081, 0x00000001, 0x00002000, 0x00800001, 0x00002001, 0x00802080, 0x00800081, 0x00002001, 0x00002080, 0x00800000, 0x00802001, 0x00000080, 0x00800000, 0x00002000, 0x00802080 ]; __gshared immutable uint[256] DES_SPBOX5 = [ 0x00000100, 0x02080100, 0x02080000, 0x42000100, 0x00080000, 0x00000100, 0x40000000, 0x02080000, 0x40080100, 0x00080000, 0x02000100, 0x40080100, 0x42000100, 0x42080000, 0x00080100, 0x40000000, 0x02000000, 0x40080000, 0x40080000, 0x00000000, 0x40000100, 0x42080100, 0x42080100, 0x02000100, 0x42080000, 0x40000100, 0x00000000, 0x42000000, 0x02080100, 0x02000000, 0x42000000, 0x00080100, 0x00080000, 0x42000100, 0x00000100, 0x02000000, 0x40000000, 0x02080000, 0x42000100, 0x40080100, 0x02000100, 0x40000000, 0x42080000, 0x02080100, 0x40080100, 0x00000100, 0x02000000, 0x42080000, 0x42080100, 0x00080100, 0x42000000, 0x42080100, 0x02080000, 0x00000000, 0x40080000, 0x42000000, 0x00080100, 0x02000100, 0x40000100, 0x00080000, 0x00000000, 0x40080000, 0x02080100, 0x40000100, 0x00000100, 0x02080100, 0x02080000, 0x42000100, 0x00080000, 0x00000100, 0x40000000, 0x02080000, 0x40080100, 0x00080000, 0x02000100, 0x40080100, 0x42000100, 0x42080000, 0x00080100, 0x40000000, 0x02000000, 0x40080000, 0x40080000, 0x00000000, 0x40000100, 0x42080100, 0x42080100, 0x02000100, 0x42080000, 0x40000100, 0x00000000, 0x42000000, 0x02080100, 0x02000000, 0x42000000, 0x00080100, 0x00080000, 0x42000100, 0x00000100, 0x02000000, 0x40000000, 0x02080000, 0x42000100, 0x40080100, 0x02000100, 0x40000000, 0x42080000, 0x02080100, 0x40080100, 0x00000100, 0x02000000, 0x42080000, 0x42080100, 0x00080100, 0x42000000, 0x42080100, 0x02080000, 0x00000000, 0x40080000, 0x42000000, 0x00080100, 0x02000100, 0x40000100, 0x00080000, 0x00000000, 0x40080000, 0x02080100, 0x40000100, 0x00000100, 0x02080100, 0x02080000, 0x42000100, 0x00080000, 0x00000100, 0x40000000, 0x02080000, 0x40080100, 0x00080000, 0x02000100, 0x40080100, 0x42000100, 0x42080000, 0x00080100, 0x40000000, 0x02000000, 0x40080000, 0x40080000, 0x00000000, 0x40000100, 0x42080100, 0x42080100, 0x02000100, 0x42080000, 0x40000100, 0x00000000, 0x42000000, 0x02080100, 0x02000000, 0x42000000, 0x00080100, 0x00080000, 0x42000100, 0x00000100, 0x02000000, 0x40000000, 0x02080000, 0x42000100, 0x40080100, 0x02000100, 0x40000000, 0x42080000, 0x02080100, 0x40080100, 0x00000100, 0x02000000, 0x42080000, 0x42080100, 0x00080100, 0x42000000, 0x42080100, 0x02080000, 0x00000000, 0x40080000, 0x42000000, 0x00080100, 0x02000100, 0x40000100, 0x00080000, 0x00000000, 0x40080000, 0x02080100, 0x40000100, 0x00000100, 0x02080100, 0x02080000, 0x42000100, 0x00080000, 0x00000100, 0x40000000, 0x02080000, 0x40080100, 0x00080000, 0x02000100, 0x40080100, 0x42000100, 0x42080000, 0x00080100, 0x40000000, 0x02000000, 0x40080000, 0x40080000, 0x00000000, 0x40000100, 0x42080100, 0x42080100, 0x02000100, 0x42080000, 0x40000100, 0x00000000, 0x42000000, 0x02080100, 0x02000000, 0x42000000, 0x00080100, 0x00080000, 0x42000100, 0x00000100, 0x02000000, 0x40000000, 0x02080000, 0x42000100, 0x40080100, 0x02000100, 0x40000000, 0x42080000, 0x02080100, 0x40080100, 0x00000100, 0x02000000, 0x42080000, 0x42080100, 0x00080100, 0x42000000, 0x42080100, 0x02080000, 0x00000000, 0x40080000, 0x42000000, 0x00080100, 0x02000100, 0x40000100, 0x00080000, 0x00000000, 0x40080000, 0x02080100, 0x40000100 ]; __gshared immutable uint[256] DES_SPBOX6 = [ 0x20000010, 0x20400000, 0x00004000, 0x20404010, 0x20400000, 0x00000010, 0x20404010, 0x00400000, 0x20004000, 0x00404010, 0x00400000, 0x20000010, 0x00400010, 0x20004000, 0x20000000, 0x00004010, 0x00000000, 0x00400010, 0x20004010, 0x00004000, 0x00404000, 0x20004010, 0x00000010, 0x20400010, 0x20400010, 0x00000000, 0x00404010, 0x20404000, 0x00004010, 0x00404000, 0x20404000, 0x20000000, 0x20004000, 0x00000010, 0x20400010, 0x00404000, 0x20404010, 0x00400000, 0x00004010, 0x20000010, 0x00400000, 0x20004000, 0x20000000, 0x00004010, 0x20000010, 0x20404010, 0x00404000, 0x20400000, 0x00404010, 0x20404000, 0x00000000, 0x20400010, 0x00000010, 0x00004000, 0x20400000, 0x00404010, 0x00004000, 0x00400010, 0x20004010, 0x00000000, 0x20404000, 0x20000000, 0x00400010, 0x20004010, 0x20000010, 0x20400000, 0x00004000, 0x20404010, 0x20400000, 0x00000010, 0x20404010, 0x00400000, 0x20004000, 0x00404010, 0x00400000, 0x20000010, 0x00400010, 0x20004000, 0x20000000, 0x00004010, 0x00000000, 0x00400010, 0x20004010, 0x00004000, 0x00404000, 0x20004010, 0x00000010, 0x20400010, 0x20400010, 0x00000000, 0x00404010, 0x20404000, 0x00004010, 0x00404000, 0x20404000, 0x20000000, 0x20004000, 0x00000010, 0x20400010, 0x00404000, 0x20404010, 0x00400000, 0x00004010, 0x20000010, 0x00400000, 0x20004000, 0x20000000, 0x00004010, 0x20000010, 0x20404010, 0x00404000, 0x20400000, 0x00404010, 0x20404000, 0x00000000, 0x20400010, 0x00000010, 0x00004000, 0x20400000, 0x00404010, 0x00004000, 0x00400010, 0x20004010, 0x00000000, 0x20404000, 0x20000000, 0x00400010, 0x20004010, 0x20000010, 0x20400000, 0x00004000, 0x20404010, 0x20400000, 0x00000010, 0x20404010, 0x00400000, 0x20004000, 0x00404010, 0x00400000, 0x20000010, 0x00400010, 0x20004000, 0x20000000, 0x00004010, 0x00000000, 0x00400010, 0x20004010, 0x00004000, 0x00404000, 0x20004010, 0x00000010, 0x20400010, 0x20400010, 0x00000000, 0x00404010, 0x20404000, 0x00004010, 0x00404000, 0x20404000, 0x20000000, 0x20004000, 0x00000010, 0x20400010, 0x00404000, 0x20404010, 0x00400000, 0x00004010, 0x20000010, 0x00400000, 0x20004000, 0x20000000, 0x00004010, 0x20000010, 0x20404010, 0x00404000, 0x20400000, 0x00404010, 0x20404000, 0x00000000, 0x20400010, 0x00000010, 0x00004000, 0x20400000, 0x00404010, 0x00004000, 0x00400010, 0x20004010, 0x00000000, 0x20404000, 0x20000000, 0x00400010, 0x20004010, 0x20000010, 0x20400000, 0x00004000, 0x20404010, 0x20400000, 0x00000010, 0x20404010, 0x00400000, 0x20004000, 0x00404010, 0x00400000, 0x20000010, 0x00400010, 0x20004000, 0x20000000, 0x00004010, 0x00000000, 0x00400010, 0x20004010, 0x00004000, 0x00404000, 0x20004010, 0x00000010, 0x20400010, 0x20400010, 0x00000000, 0x00404010, 0x20404000, 0x00004010, 0x00404000, 0x20404000, 0x20000000, 0x20004000, 0x00000010, 0x20400010, 0x00404000, 0x20404010, 0x00400000, 0x00004010, 0x20000010, 0x00400000, 0x20004000, 0x20000000, 0x00004010, 0x20000010, 0x20404010, 0x00404000, 0x20400000, 0x00404010, 0x20404000, 0x00000000, 0x20400010, 0x00000010, 0x00004000, 0x20400000, 0x00404010, 0x00004000, 0x00400010, 0x20004010, 0x00000000, 0x20404000, 0x20000000, 0x00400010, 0x20004010 ]; __gshared immutable uint[256] DES_SPBOX7 = [ 0x00200000, 0x04200002, 0x04000802, 0x00000000, 0x00000800, 0x04000802, 0x00200802, 0x04200800, 0x04200802, 0x00200000, 0x00000000, 0x04000002, 0x00000002, 0x04000000, 0x04200002, 0x00000802, 0x04000800, 0x00200802, 0x00200002, 0x04000800, 0x04000002, 0x04200000, 0x04200800, 0x00200002, 0x04200000, 0x00000800, 0x00000802, 0x04200802, 0x00200800, 0x00000002, 0x04000000, 0x00200800, 0x04000000, 0x00200800, 0x00200000, 0x04000802, 0x04000802, 0x04200002, 0x04200002, 0x00000002, 0x00200002, 0x04000000, 0x04000800, 0x00200000, 0x04200800, 0x00000802, 0x00200802, 0x04200800, 0x00000802, 0x04000002, 0x04200802, 0x04200000, 0x00200800, 0x00000000, 0x00000002, 0x04200802, 0x00000000, 0x00200802, 0x04200000, 0x00000800, 0x04000002, 0x04000800, 0x00000800, 0x00200002, 0x00200000, 0x04200002, 0x04000802, 0x00000000, 0x00000800, 0x04000802, 0x00200802, 0x04200800, 0x04200802, 0x00200000, 0x00000000, 0x04000002, 0x00000002, 0x04000000, 0x04200002, 0x00000802, 0x04000800, 0x00200802, 0x00200002, 0x04000800, 0x04000002, 0x04200000, 0x04200800, 0x00200002, 0x04200000, 0x00000800, 0x00000802, 0x04200802, 0x00200800, 0x00000002, 0x04000000, 0x00200800, 0x04000000, 0x00200800, 0x00200000, 0x04000802, 0x04000802, 0x04200002, 0x04200002, 0x00000002, 0x00200002, 0x04000000, 0x04000800, 0x00200000, 0x04200800, 0x00000802, 0x00200802, 0x04200800, 0x00000802, 0x04000002, 0x04200802, 0x04200000, 0x00200800, 0x00000000, 0x00000002, 0x04200802, 0x00000000, 0x00200802, 0x04200000, 0x00000800, 0x04000002, 0x04000800, 0x00000800, 0x00200002, 0x00200000, 0x04200002, 0x04000802, 0x00000000, 0x00000800, 0x04000802, 0x00200802, 0x04200800, 0x04200802, 0x00200000, 0x00000000, 0x04000002, 0x00000002, 0x04000000, 0x04200002, 0x00000802, 0x04000800, 0x00200802, 0x00200002, 0x04000800, 0x04000002, 0x04200000, 0x04200800, 0x00200002, 0x04200000, 0x00000800, 0x00000802, 0x04200802, 0x00200800, 0x00000002, 0x04000000, 0x00200800, 0x04000000, 0x00200800, 0x00200000, 0x04000802, 0x04000802, 0x04200002, 0x04200002, 0x00000002, 0x00200002, 0x04000000, 0x04000800, 0x00200000, 0x04200800, 0x00000802, 0x00200802, 0x04200800, 0x00000802, 0x04000002, 0x04200802, 0x04200000, 0x00200800, 0x00000000, 0x00000002, 0x04200802, 0x00000000, 0x00200802, 0x04200000, 0x00000800, 0x04000002, 0x04000800, 0x00000800, 0x00200002, 0x00200000, 0x04200002, 0x04000802, 0x00000000, 0x00000800, 0x04000802, 0x00200802, 0x04200800, 0x04200802, 0x00200000, 0x00000000, 0x04000002, 0x00000002, 0x04000000, 0x04200002, 0x00000802, 0x04000800, 0x00200802, 0x00200002, 0x04000800, 0x04000002, 0x04200000, 0x04200800, 0x00200002, 0x04200000, 0x00000800, 0x00000802, 0x04200802, 0x00200800, 0x00000002, 0x04000000, 0x00200800, 0x04000000, 0x00200800, 0x00200000, 0x04000802, 0x04000802, 0x04200002, 0x04200002, 0x00000002, 0x00200002, 0x04000000, 0x04000800, 0x00200000, 0x04200800, 0x00000802, 0x00200802, 0x04200800, 0x00000802, 0x04000002, 0x04200802, 0x04200000, 0x00200800, 0x00000000, 0x00000002, 0x04200802, 0x00000000, 0x00200802, 0x04200000, 0x00000800, 0x04000002, 0x04000800, 0x00000800, 0x00200002 ]; __gshared immutable uint[256] DES_SPBOX8 = [ 0x10001040, 0x00001000, 0x00040000, 0x10041040, 0x10000000, 0x10001040, 0x00000040, 0x10000000, 0x00040040, 0x10040000, 0x10041040, 0x00041000, 0x10041000, 0x00041040, 0x00001000, 0x00000040, 0x10040000, 0x10000040, 0x10001000, 0x00001040, 0x00041000, 0x00040040, 0x10040040, 0x10041000, 0x00001040, 0x00000000, 0x00000000, 0x10040040, 0x10000040, 0x10001000, 0x00041040, 0x00040000, 0x00041040, 0x00040000, 0x10041000, 0x00001000, 0x00000040, 0x10040040, 0x00001000, 0x00041040, 0x10001000, 0x00000040, 0x10000040, 0x10040000, 0x10040040, 0x10000000, 0x00040000, 0x10001040, 0x00000000, 0x10041040, 0x00040040, 0x10000040, 0x10040000, 0x10001000, 0x10001040, 0x00000000, 0x10041040, 0x00041000, 0x00041000, 0x00001040, 0x00001040, 0x00040040, 0x10000000, 0x10041000, 0x10001040, 0x00001000, 0x00040000, 0x10041040, 0x10000000, 0x10001040, 0x00000040, 0x10000000, 0x00040040, 0x10040000, 0x10041040, 0x00041000, 0x10041000, 0x00041040, 0x00001000, 0x00000040, 0x10040000, 0x10000040, 0x10001000, 0x00001040, 0x00041000, 0x00040040, 0x10040040, 0x10041000, 0x00001040, 0x00000000, 0x00000000, 0x10040040, 0x10000040, 0x10001000, 0x00041040, 0x00040000, 0x00041040, 0x00040000, 0x10041000, 0x00001000, 0x00000040, 0x10040040, 0x00001000, 0x00041040, 0x10001000, 0x00000040, 0x10000040, 0x10040000, 0x10040040, 0x10000000, 0x00040000, 0x10001040, 0x00000000, 0x10041040, 0x00040040, 0x10000040, 0x10040000, 0x10001000, 0x10001040, 0x00000000, 0x10041040, 0x00041000, 0x00041000, 0x00001040, 0x00001040, 0x00040040, 0x10000000, 0x10041000, 0x10001040, 0x00001000, 0x00040000, 0x10041040, 0x10000000, 0x10001040, 0x00000040, 0x10000000, 0x00040040, 0x10040000, 0x10041040, 0x00041000, 0x10041000, 0x00041040, 0x00001000, 0x00000040, 0x10040000, 0x10000040, 0x10001000, 0x00001040, 0x00041000, 0x00040040, 0x10040040, 0x10041000, 0x00001040, 0x00000000, 0x00000000, 0x10040040, 0x10000040, 0x10001000, 0x00041040, 0x00040000, 0x00041040, 0x00040000, 0x10041000, 0x00001000, 0x00000040, 0x10040040, 0x00001000, 0x00041040, 0x10001000, 0x00000040, 0x10000040, 0x10040000, 0x10040040, 0x10000000, 0x00040000, 0x10001040, 0x00000000, 0x10041040, 0x00040040, 0x10000040, 0x10040000, 0x10001000, 0x10001040, 0x00000000, 0x10041040, 0x00041000, 0x00041000, 0x00001040, 0x00001040, 0x00040040, 0x10000000, 0x10041000, 0x10001040, 0x00001000, 0x00040000, 0x10041040, 0x10000000, 0x10001040, 0x00000040, 0x10000000, 0x00040040, 0x10040000, 0x10041040, 0x00041000, 0x10041000, 0x00041040, 0x00001000, 0x00000040, 0x10040000, 0x10000040, 0x10001000, 0x00001040, 0x00041000, 0x00040040, 0x10040040, 0x10041000, 0x00001040, 0x00000000, 0x00000000, 0x10040040, 0x10000040, 0x10001000, 0x00041040, 0x00040000, 0x00041040, 0x00040000, 0x10041000, 0x00001000, 0x00000040, 0x10040040, 0x00001000, 0x00041040, 0x10001000, 0x00000040, 0x10000040, 0x10040000, 0x10040040, 0x10000000, 0x00040000, 0x10001040, 0x00000000, 0x10041040, 0x00040040, 0x10000040, 0x10040000, 0x10001000, 0x10001040, 0x00000000, 0x10041040, 0x00041000, 0x00041000, 0x00001040, 0x00001040, 0x00040040, 0x10000000, 0x10041000 ]; __gshared immutable ulong[256] DES_IPTAB1 = [ 0x0000000000000000, 0x0000000200000000, 0x0000000000000002, 0x0000000200000002, 0x0000020000000000, 0x0000020200000000, 0x0000020000000002, 0x0000020200000002, 0x0000000000000200, 0x0000000200000200, 0x0000000000000202, 0x0000000200000202, 0x0000020000000200, 0x0000020200000200, 0x0000020000000202, 0x0000020200000202, 0x0002000000000000, 0x0002000200000000, 0x0002000000000002, 0x0002000200000002, 0x0002020000000000, 0x0002020200000000, 0x0002020000000002, 0x0002020200000002, 0x0002000000000200, 0x0002000200000200, 0x0002000000000202, 0x0002000200000202, 0x0002020000000200, 0x0002020200000200, 0x0002020000000202, 0x0002020200000202, 0x0000000000020000, 0x0000000200020000, 0x0000000000020002, 0x0000000200020002, 0x0000020000020000, 0x0000020200020000, 0x0000020000020002, 0x0000020200020002, 0x0000000000020200, 0x0000000200020200, 0x0000000000020202, 0x0000000200020202, 0x0000020000020200, 0x0000020200020200, 0x0000020000020202, 0x0000020200020202, 0x0002000000020000, 0x0002000200020000, 0x0002000000020002, 0x0002000200020002, 0x0002020000020000, 0x0002020200020000, 0x0002020000020002, 0x0002020200020002, 0x0002000000020200, 0x0002000200020200, 0x0002000000020202, 0x0002000200020202, 0x0002020000020200, 0x0002020200020200, 0x0002020000020202, 0x0002020200020202, 0x0200000000000000, 0x0200000200000000, 0x0200000000000002, 0x0200000200000002, 0x0200020000000000, 0x0200020200000000, 0x0200020000000002, 0x0200020200000002, 0x0200000000000200, 0x0200000200000200, 0x0200000000000202, 0x0200000200000202, 0x0200020000000200, 0x0200020200000200, 0x0200020000000202, 0x0200020200000202, 0x0202000000000000, 0x0202000200000000, 0x0202000000000002, 0x0202000200000002, 0x0202020000000000, 0x0202020200000000, 0x0202020000000002, 0x0202020200000002, 0x0202000000000200, 0x0202000200000200, 0x0202000000000202, 0x0202000200000202, 0x0202020000000200, 0x0202020200000200, 0x0202020000000202, 0x0202020200000202, 0x0200000000020000, 0x0200000200020000, 0x0200000000020002, 0x0200000200020002, 0x0200020000020000, 0x0200020200020000, 0x0200020000020002, 0x0200020200020002, 0x0200000000020200, 0x0200000200020200, 0x0200000000020202, 0x0200000200020202, 0x0200020000020200, 0x0200020200020200, 0x0200020000020202, 0x0200020200020202, 0x0202000000020000, 0x0202000200020000, 0x0202000000020002, 0x0202000200020002, 0x0202020000020000, 0x0202020200020000, 0x0202020000020002, 0x0202020200020002, 0x0202000000020200, 0x0202000200020200, 0x0202000000020202, 0x0202000200020202, 0x0202020000020200, 0x0202020200020200, 0x0202020000020202, 0x0202020200020202, 0x0000000002000000, 0x0000000202000000, 0x0000000002000002, 0x0000000202000002, 0x0000020002000000, 0x0000020202000000, 0x0000020002000002, 0x0000020202000002, 0x0000000002000200, 0x0000000202000200, 0x0000000002000202, 0x0000000202000202, 0x0000020002000200, 0x0000020202000200, 0x0000020002000202, 0x0000020202000202, 0x0002000002000000, 0x0002000202000000, 0x0002000002000002, 0x0002000202000002, 0x0002020002000000, 0x0002020202000000, 0x0002020002000002, 0x0002020202000002, 0x0002000002000200, 0x0002000202000200, 0x0002000002000202, 0x0002000202000202, 0x0002020002000200, 0x0002020202000200, 0x0002020002000202, 0x0002020202000202, 0x0000000002020000, 0x0000000202020000, 0x0000000002020002, 0x0000000202020002, 0x0000020002020000, 0x0000020202020000, 0x0000020002020002, 0x0000020202020002, 0x0000000002020200, 0x0000000202020200, 0x0000000002020202, 0x0000000202020202, 0x0000020002020200, 0x0000020202020200, 0x0000020002020202, 0x0000020202020202, 0x0002000002020000, 0x0002000202020000, 0x0002000002020002, 0x0002000202020002, 0x0002020002020000, 0x0002020202020000, 0x0002020002020002, 0x0002020202020002, 0x0002000002020200, 0x0002000202020200, 0x0002000002020202, 0x0002000202020202, 0x0002020002020200, 0x0002020202020200, 0x0002020002020202, 0x0002020202020202, 0x0200000002000000, 0x0200000202000000, 0x0200000002000002, 0x0200000202000002, 0x0200020002000000, 0x0200020202000000, 0x0200020002000002, 0x0200020202000002, 0x0200000002000200, 0x0200000202000200, 0x0200000002000202, 0x0200000202000202, 0x0200020002000200, 0x0200020202000200, 0x0200020002000202, 0x0200020202000202, 0x0202000002000000, 0x0202000202000000, 0x0202000002000002, 0x0202000202000002, 0x0202020002000000, 0x0202020202000000, 0x0202020002000002, 0x0202020202000002, 0x0202000002000200, 0x0202000202000200, 0x0202000002000202, 0x0202000202000202, 0x0202020002000200, 0x0202020202000200, 0x0202020002000202, 0x0202020202000202, 0x0200000002020000, 0x0200000202020000, 0x0200000002020002, 0x0200000202020002, 0x0200020002020000, 0x0200020202020000, 0x0200020002020002, 0x0200020202020002, 0x0200000002020200, 0x0200000202020200, 0x0200000002020202, 0x0200000202020202, 0x0200020002020200, 0x0200020202020200, 0x0200020002020202, 0x0200020202020202, 0x0202000002020000, 0x0202000202020000, 0x0202000002020002, 0x0202000202020002, 0x0202020002020000, 0x0202020202020000, 0x0202020002020002, 0x0202020202020002, 0x0202000002020200, 0x0202000202020200, 0x0202000002020202, 0x0202000202020202, 0x0202020002020200, 0x0202020202020200, 0x0202020002020202, 0x0202020202020202 ]; __gshared immutable ulong[256] DES_IPTAB2 = [ 0x0000000000000000, 0x0000010000000000, 0x0000000000000100, 0x0000010000000100, 0x0001000000000000, 0x0001010000000000, 0x0001000000000100, 0x0001010000000100, 0x0000000000010000, 0x0000010000010000, 0x0000000000010100, 0x0000010000010100, 0x0001000000010000, 0x0001010000010000, 0x0001000000010100, 0x0001010000010100, 0x0100000000000000, 0x0100010000000000, 0x0100000000000100, 0x0100010000000100, 0x0101000000000000, 0x0101010000000000, 0x0101000000000100, 0x0101010000000100, 0x0100000000010000, 0x0100010000010000, 0x0100000000010100, 0x0100010000010100, 0x0101000000010000, 0x0101010000010000, 0x0101000000010100, 0x0101010000010100, 0x0000000001000000, 0x0000010001000000, 0x0000000001000100, 0x0000010001000100, 0x0001000001000000, 0x0001010001000000, 0x0001000001000100, 0x0001010001000100, 0x0000000001010000, 0x0000010001010000, 0x0000000001010100, 0x0000010001010100, 0x0001000001010000, 0x0001010001010000, 0x0001000001010100, 0x0001010001010100, 0x0100000001000000, 0x0100010001000000, 0x0100000001000100, 0x0100010001000100, 0x0101000001000000, 0x0101010001000000, 0x0101000001000100, 0x0101010001000100, 0x0100000001010000, 0x0100010001010000, 0x0100000001010100, 0x0100010001010100, 0x0101000001010000, 0x0101010001010000, 0x0101000001010100, 0x0101010001010100, 0x0000000100000000, 0x0000010100000000, 0x0000000100000100, 0x0000010100000100, 0x0001000100000000, 0x0001010100000000, 0x0001000100000100, 0x0001010100000100, 0x0000000100010000, 0x0000010100010000, 0x0000000100010100, 0x0000010100010100, 0x0001000100010000, 0x0001010100010000, 0x0001000100010100, 0x0001010100010100, 0x0100000100000000, 0x0100010100000000, 0x0100000100000100, 0x0100010100000100, 0x0101000100000000, 0x0101010100000000, 0x0101000100000100, 0x0101010100000100, 0x0100000100010000, 0x0100010100010000, 0x0100000100010100, 0x0100010100010100, 0x0101000100010000, 0x0101010100010000, 0x0101000100010100, 0x0101010100010100, 0x0000000101000000, 0x0000010101000000, 0x0000000101000100, 0x0000010101000100, 0x0001000101000000, 0x0001010101000000, 0x0001000101000100, 0x0001010101000100, 0x0000000101010000, 0x0000010101010000, 0x0000000101010100, 0x0000010101010100, 0x0001000101010000, 0x0001010101010000, 0x0001000101010100, 0x0001010101010100, 0x0100000101000000, 0x0100010101000000, 0x0100000101000100, 0x0100010101000100, 0x0101000101000000, 0x0101010101000000, 0x0101000101000100, 0x0101010101000100, 0x0100000101010000, 0x0100010101010000, 0x0100000101010100, 0x0100010101010100, 0x0101000101010000, 0x0101010101010000, 0x0101000101010100, 0x0101010101010100, 0x0000000000000001, 0x0000010000000001, 0x0000000000000101, 0x0000010000000101, 0x0001000000000001, 0x0001010000000001, 0x0001000000000101, 0x0001010000000101, 0x0000000000010001, 0x0000010000010001, 0x0000000000010101, 0x0000010000010101, 0x0001000000010001, 0x0001010000010001, 0x0001000000010101, 0x0001010000010101, 0x0100000000000001, 0x0100010000000001, 0x0100000000000101, 0x0100010000000101, 0x0101000000000001, 0x0101010000000001, 0x0101000000000101, 0x0101010000000101, 0x0100000000010001, 0x0100010000010001, 0x0100000000010101, 0x0100010000010101, 0x0101000000010001, 0x0101010000010001, 0x0101000000010101, 0x0101010000010101, 0x0000000001000001, 0x0000010001000001, 0x0000000001000101, 0x0000010001000101, 0x0001000001000001, 0x0001010001000001, 0x0001000001000101, 0x0001010001000101, 0x0000000001010001, 0x0000010001010001, 0x0000000001010101, 0x0000010001010101, 0x0001000001010001, 0x0001010001010001, 0x0001000001010101, 0x0001010001010101, 0x0100000001000001, 0x0100010001000001, 0x0100000001000101, 0x0100010001000101, 0x0101000001000001, 0x0101010001000001, 0x0101000001000101, 0x0101010001000101, 0x0100000001010001, 0x0100010001010001, 0x0100000001010101, 0x0100010001010101, 0x0101000001010001, 0x0101010001010001, 0x0101000001010101, 0x0101010001010101, 0x0000000100000001, 0x0000010100000001, 0x0000000100000101, 0x0000010100000101, 0x0001000100000001, 0x0001010100000001, 0x0001000100000101, 0x0001010100000101, 0x0000000100010001, 0x0000010100010001, 0x0000000100010101, 0x0000010100010101, 0x0001000100010001, 0x0001010100010001, 0x0001000100010101, 0x0001010100010101, 0x0100000100000001, 0x0100010100000001, 0x0100000100000101, 0x0100010100000101, 0x0101000100000001, 0x0101010100000001, 0x0101000100000101, 0x0101010100000101, 0x0100000100010001, 0x0100010100010001, 0x0100000100010101, 0x0100010100010101, 0x0101000100010001, 0x0101010100010001, 0x0101000100010101, 0x0101010100010101, 0x0000000101000001, 0x0000010101000001, 0x0000000101000101, 0x0000010101000101, 0x0001000101000001, 0x0001010101000001, 0x0001000101000101, 0x0001010101000101, 0x0000000101010001, 0x0000010101010001, 0x0000000101010101, 0x0000010101010101, 0x0001000101010001, 0x0001010101010001, 0x0001000101010101, 0x0001010101010101, 0x0100000101000001, 0x0100010101000001, 0x0100000101000101, 0x0100010101000101, 0x0101000101000001, 0x0101010101000001, 0x0101000101000101, 0x0101010101000101, 0x0100000101010001, 0x0100010101010001, 0x0100000101010101, 0x0100010101010101, 0x0101000101010001, 0x0101010101010001, 0x0101000101010101, 0x0101010101010101 ]; __gshared immutable ulong[256] DES_FPTAB1 = [ 0x0000000000000000, 0x0000000100000000, 0x0000000004000000, 0x0000000104000000, 0x0000000000040000, 0x0000000100040000, 0x0000000004040000, 0x0000000104040000, 0x0000000000000400, 0x0000000100000400, 0x0000000004000400, 0x0000000104000400, 0x0000000000040400, 0x0000000100040400, 0x0000000004040400, 0x0000000104040400, 0x0000000000000004, 0x0000000100000004, 0x0000000004000004, 0x0000000104000004, 0x0000000000040004, 0x0000000100040004, 0x0000000004040004, 0x0000000104040004, 0x0000000000000404, 0x0000000100000404, 0x0000000004000404, 0x0000000104000404, 0x0000000000040404, 0x0000000100040404, 0x0000000004040404, 0x0000000104040404, 0x0400000000000000, 0x0400000100000000, 0x0400000004000000, 0x0400000104000000, 0x0400000000040000, 0x0400000100040000, 0x0400000004040000, 0x0400000104040000, 0x0400000000000400, 0x0400000100000400, 0x0400000004000400, 0x0400000104000400, 0x0400000000040400, 0x0400000100040400, 0x0400000004040400, 0x0400000104040400, 0x0400000000000004, 0x0400000100000004, 0x0400000004000004, 0x0400000104000004, 0x0400000000040004, 0x0400000100040004, 0x0400000004040004, 0x0400000104040004, 0x0400000000000404, 0x0400000100000404, 0x0400000004000404, 0x0400000104000404, 0x0400000000040404, 0x0400000100040404, 0x0400000004040404, 0x0400000104040404, 0x0004000000000000, 0x0004000100000000, 0x0004000004000000, 0x0004000104000000, 0x0004000000040000, 0x0004000100040000, 0x0004000004040000, 0x0004000104040000, 0x0004000000000400, 0x0004000100000400, 0x0004000004000400, 0x0004000104000400, 0x0004000000040400, 0x0004000100040400, 0x0004000004040400, 0x0004000104040400, 0x0004000000000004, 0x0004000100000004, 0x0004000004000004, 0x0004000104000004, 0x0004000000040004, 0x0004000100040004, 0x0004000004040004, 0x0004000104040004, 0x0004000000000404, 0x0004000100000404, 0x0004000004000404, 0x0004000104000404, 0x0004000000040404, 0x0004000100040404, 0x0004000004040404, 0x0004000104040404, 0x0404000000000000, 0x0404000100000000, 0x0404000004000000, 0x0404000104000000, 0x0404000000040000, 0x0404000100040000, 0x0404000004040000, 0x0404000104040000, 0x0404000000000400, 0x0404000100000400, 0x0404000004000400, 0x0404000104000400, 0x0404000000040400, 0x0404000100040400, 0x0404000004040400, 0x0404000104040400, 0x0404000000000004, 0x0404000100000004, 0x0404000004000004, 0x0404000104000004, 0x0404000000040004, 0x0404000100040004, 0x0404000004040004, 0x0404000104040004, 0x0404000000000404, 0x0404000100000404, 0x0404000004000404, 0x0404000104000404, 0x0404000000040404, 0x0404000100040404, 0x0404000004040404, 0x0404000104040404, 0x0000040000000000, 0x0000040100000000, 0x0000040004000000, 0x0000040104000000, 0x0000040000040000, 0x0000040100040000, 0x0000040004040000, 0x0000040104040000, 0x0000040000000400, 0x0000040100000400, 0x0000040004000400, 0x0000040104000400, 0x0000040000040400, 0x0000040100040400, 0x0000040004040400, 0x0000040104040400, 0x0000040000000004, 0x0000040100000004, 0x0000040004000004, 0x0000040104000004, 0x0000040000040004, 0x0000040100040004, 0x0000040004040004, 0x0000040104040004, 0x0000040000000404, 0x0000040100000404, 0x0000040004000404, 0x0000040104000404, 0x0000040000040404, 0x0000040100040404, 0x0000040004040404, 0x0000040104040404, 0x0400040000000000, 0x0400040100000000, 0x0400040004000000, 0x0400040104000000, 0x0400040000040000, 0x0400040100040000, 0x0400040004040000, 0x0400040104040000, 0x0400040000000400, 0x0400040100000400, 0x0400040004000400, 0x0400040104000400, 0x0400040000040400, 0x0400040100040400, 0x0400040004040400, 0x0400040104040400, 0x0400040000000004, 0x0400040100000004, 0x0400040004000004, 0x0400040104000004, 0x0400040000040004, 0x0400040100040004, 0x0400040004040004, 0x0400040104040004, 0x0400040000000404, 0x0400040100000404, 0x0400040004000404, 0x0400040104000404, 0x0400040000040404, 0x0400040100040404, 0x0400040004040404, 0x0400040104040404, 0x0004040000000000, 0x0004040100000000, 0x0004040004000000, 0x0004040104000000, 0x0004040000040000, 0x0004040100040000, 0x0004040004040000, 0x0004040104040000, 0x0004040000000400, 0x0004040100000400, 0x0004040004000400, 0x0004040104000400, 0x0004040000040400, 0x0004040100040400, 0x0004040004040400, 0x0004040104040400, 0x0004040000000004, 0x0004040100000004, 0x0004040004000004, 0x0004040104000004, 0x0004040000040004, 0x0004040100040004, 0x0004040004040004, 0x0004040104040004, 0x0004040000000404, 0x0004040100000404, 0x0004040004000404, 0x0004040104000404, 0x0004040000040404, 0x0004040100040404, 0x0004040004040404, 0x0004040104040404, 0x0404040000000000, 0x0404040100000000, 0x0404040004000000, 0x0404040104000000, 0x0404040000040000, 0x0404040100040000, 0x0404040004040000, 0x0404040104040000, 0x0404040000000400, 0x0404040100000400, 0x0404040004000400, 0x0404040104000400, 0x0404040000040400, 0x0404040100040400, 0x0404040004040400, 0x0404040104040400, 0x0404040000000004, 0x0404040100000004, 0x0404040004000004, 0x0404040104000004, 0x0404040000040004, 0x0404040100040004, 0x0404040004040004, 0x0404040104040004, 0x0404040000000404, 0x0404040100000404, 0x0404040004000404, 0x0404040104000404, 0x0404040000040404, 0x0404040100040404, 0x0404040004040404, 0x0404040104040404 ]; __gshared immutable ulong[256] DES_FPTAB2 = [ 0x0000000000000000, 0x0000004000000000, 0x0000000001000000, 0x0000004001000000, 0x0000000000010000, 0x0000004000010000, 0x0000000001010000, 0x0000004001010000, 0x0000000000000100, 0x0000004000000100, 0x0000000001000100, 0x0000004001000100, 0x0000000000010100, 0x0000004000010100, 0x0000000001010100, 0x0000004001010100, 0x0000000000000001, 0x0000004000000001, 0x0000000001000001, 0x0000004001000001, 0x0000000000010001, 0x0000004000010001, 0x0000000001010001, 0x0000004001010001, 0x0000000000000101, 0x0000004000000101, 0x0000000001000101, 0x0000004001000101, 0x0000000000010101, 0x0000004000010101, 0x0000000001010101, 0x0000004001010101, 0x0100000000000000, 0x0100004000000000, 0x0100000001000000, 0x0100004001000000, 0x0100000000010000, 0x0100004000010000, 0x0100000001010000, 0x0100004001010000, 0x0100000000000100, 0x0100004000000100, 0x0100000001000100, 0x0100004001000100, 0x0100000000010100, 0x0100004000010100, 0x0100000001010100, 0x0100004001010100, 0x0100000000000001, 0x0100004000000001, 0x0100000001000001, 0x0100004001000001, 0x0100000000010001, 0x0100004000010001, 0x0100000001010001, 0x0100004001010001, 0x0100000000000101, 0x0100004000000101, 0x0100000001000101, 0x0100004001000101, 0x0100000000010101, 0x0100004000010101, 0x0100000001010101, 0x0100004001010101, 0x0001000000000000, 0x0001004000000000, 0x0001000001000000, 0x0001004001000000, 0x0001000000010000, 0x0001004000010000, 0x0001000001010000, 0x0001004001010000, 0x0001000000000100, 0x0001004000000100, 0x0001000001000100, 0x0001004001000100, 0x0001000000010100, 0x0001004000010100, 0x0001000001010100, 0x0001004001010100, 0x0001000000000001, 0x0001004000000001, 0x0001000001000001, 0x0001004001000001, 0x0001000000010001, 0x0001004000010001, 0x0001000001010001, 0x0001004001010001, 0x0001000000000101, 0x0001004000000101, 0x0001000001000101, 0x0001004001000101, 0x0001000000010101, 0x0001004000010101, 0x0001000001010101, 0x0001004001010101, 0x0101000000000000, 0x0101004000000000, 0x0101000001000000, 0x0101004001000000, 0x0101000000010000, 0x0101004000010000, 0x0101000001010000, 0x0101004001010000, 0x0101000000000100, 0x0101004000000100, 0x0101000001000100, 0x0101004001000100, 0x0101000000010100, 0x0101004000010100, 0x0101000001010100, 0x0101004001010100, 0x0101000000000001, 0x0101004000000001, 0x0101000001000001, 0x0101004001000001, 0x0101000000010001, 0x0101004000010001, 0x0101000001010001, 0x0101004001010001, 0x0101000000000101, 0x0101004000000101, 0x0101000001000101, 0x0101004001000101, 0x0101000000010101, 0x0101004000010101, 0x0101000001010101, 0x0101004001010101, 0x0000010000000000, 0x0000014000000000, 0x0000010001000000, 0x0000014001000000, 0x0000010000010000, 0x0000014000010000, 0x0000010001010000, 0x0000014001010000, 0x0000010000000100, 0x0000014000000100, 0x0000010001000100, 0x0000014001000100, 0x0000010000010100, 0x0000014000010100, 0x0000010001010100, 0x0000014001010100, 0x0000010000000001, 0x0000014000000001, 0x0000010001000001, 0x0000014001000001, 0x0000010000010001, 0x0000014000010001, 0x0000010001010001, 0x0000014001010001, 0x0000010000000101, 0x0000014000000101, 0x0000010001000101, 0x0000014001000101, 0x0000010000010101, 0x0000014000010101, 0x0000010001010101, 0x0000014001010101, 0x0100010000000000, 0x0100014000000000, 0x0100010001000000, 0x0100014001000000, 0x0100010000010000, 0x0100014000010000, 0x0100010001010000, 0x0100014001010000, 0x0100010000000100, 0x0100014000000100, 0x0100010001000100, 0x0100014001000100, 0x0100010000010100, 0x0100014000010100, 0x0100010001010100, 0x0100014001010100, 0x0100010000000001, 0x0100014000000001, 0x0100010001000001, 0x0100014001000001, 0x0100010000010001, 0x0100014000010001, 0x0100010001010001, 0x0100014001010001, 0x0100010000000101, 0x0100014000000101, 0x0100010001000101, 0x0100014001000101, 0x0100010000010101, 0x0100014000010101, 0x0100010001010101, 0x0100014001010101, 0x0001010000000000, 0x0001014000000000, 0x0001010001000000, 0x0001014001000000, 0x0001010000010000, 0x0001014000010000, 0x0001010001010000, 0x0001014001010000, 0x0001010000000100, 0x0001014000000100, 0x0001010001000100, 0x0001014001000100, 0x0001010000010100, 0x0001014000010100, 0x0001010001010100, 0x0001014001010100, 0x0001010000000001, 0x0001014000000001, 0x0001010001000001, 0x0001014001000001, 0x0001010000010001, 0x0001014000010001, 0x0001010001010001, 0x0001014001010001, 0x0001010000000101, 0x0001014000000101, 0x0001010001000101, 0x0001014001000101, 0x0001010000010101, 0x0001014000010101, 0x0001010001010101, 0x0001014001010101, 0x0101010000000000, 0x0101014000000000, 0x0101010001000000, 0x0101014001000000, 0x0101010000010000, 0x0101014000010000, 0x0101010001010000, 0x0101014001010000, 0x0101010000000100, 0x0101014000000100, 0x0101010001000100, 0x0101014001000100, 0x0101010000010100, 0x0101014000010100, 0x0101010001010100, 0x0101014001010100, 0x0101010000000001, 0x0101014000000001, 0x0101010001000001, 0x0101014001000001, 0x0101010000010001, 0x0101014000010001, 0x0101010001010001, 0x0101014001010001, 0x0101010000000101, 0x0101014000000101, 0x0101010001000101, 0x0101014001000101, 0x0101010000010101, 0x0101014000010101, 0x0101010001010101, 0x0101014001010101 ]; package: //used by desx as well /* * DES Key Schedule */ void des_key_schedule(ref uint[32] round_key, in ubyte[8] key) { __gshared immutable ubyte[16] ROT = [ 1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1 ]; uint C = ((key[7] & 0x80) << 20) | ((key[6] & 0x80) << 19) | ((key[5] & 0x80) << 18) | ((key[4] & 0x80) << 17) | ((key[3] & 0x80) << 16) | ((key[2] & 0x80) << 15) | ((key[1] & 0x80) << 14) | ((key[0] & 0x80) << 13) | ((key[7] & 0x40) << 13) | ((key[6] & 0x40) << 12) | ((key[5] & 0x40) << 11) | ((key[4] & 0x40) << 10) | ((key[3] & 0x40) << 9) | ((key[2] & 0x40) << 8) | ((key[1] & 0x40) << 7) | ((key[0] & 0x40) << 6) | ((key[7] & 0x20) << 6) | ((key[6] & 0x20) << 5) | ((key[5] & 0x20) << 4) | ((key[4] & 0x20) << 3) | ((key[3] & 0x20) << 2) | ((key[2] & 0x20) << 1) | ((key[1] & 0x20) ) | ((key[0] & 0x20) >> 1) | ((key[7] & 0x10) >> 1) | ((key[6] & 0x10) >> 2) | ((key[5] & 0x10) >> 3) | ((key[4] & 0x10) >> 4); uint D = ((key[7] & 0x02) << 26) | ((key[6] & 0x02) << 25) | ((key[5] & 0x02) << 24) | ((key[4] & 0x02) << 23) | ((key[3] & 0x02) << 22) | ((key[2] & 0x02) << 21) | ((key[1] & 0x02) << 20) | ((key[0] & 0x02) << 19) | ((key[7] & 0x04) << 17) | ((key[6] & 0x04) << 16) | ((key[5] & 0x04) << 15) | ((key[4] & 0x04) << 14) | ((key[3] & 0x04) << 13) | ((key[2] & 0x04) << 12) | ((key[1] & 0x04) << 11) | ((key[0] & 0x04) << 10) | ((key[7] & 0x08) << 8) | ((key[6] & 0x08) << 7) | ((key[5] & 0x08) << 6) | ((key[4] & 0x08) << 5) | ((key[3] & 0x08) << 4) | ((key[2] & 0x08) << 3) | ((key[1] & 0x08) << 2) | ((key[0] & 0x08) << 1) | ((key[3] & 0x10) >> 1) | ((key[2] & 0x10) >> 2) | ((key[1] & 0x10) >> 3) | ((key[0] & 0x10) >> 4); foreach (size_t i; 0 .. 16) { C = ((C << ROT[i]) | (C >> (28-ROT[i]))) & 0x0FFFFFFF; D = ((D << ROT[i]) | (D >> (28-ROT[i]))) & 0x0FFFFFFF; round_key[2*i ] = ((C & 0x00000010) << 22) | ((C & 0x00000800) << 17) | ((C & 0x00000020) << 16) | ((C & 0x00004004) << 15) | ((C & 0x00000200) << 11) | ((C & 0x00020000) << 10) | ((C & 0x01000000) >> 6) | ((C & 0x00100000) >> 4) | ((C & 0x00010000) << 3) | ((C & 0x08000000) >> 2) | ((C & 0x00800000) << 1) | ((D & 0x00000010) << 8) | ((D & 0x00000002) << 7) | ((D & 0x00000001) << 2) | ((D & 0x00000200) ) | ((D & 0x00008000) >> 2) | ((D & 0x00000088) >> 3) | ((D & 0x00001000) >> 7) | ((D & 0x00080000) >> 9) | ((D & 0x02020000) >> 14) | ((D & 0x00400000) >> 21); round_key[2*i+1] = ((C & 0x00000001) << 28) | ((C & 0x00000082) << 18) | ((C & 0x00002000) << 14) | ((C & 0x00000100) << 10) | ((C & 0x00001000) << 9) | ((C & 0x00040000) << 6) | ((C & 0x02400000) << 4) | ((C & 0x00008000) << 2) | ((C & 0x00200000) >> 1) | ((C & 0x04000000) >> 10) | ((D & 0x00000020) << 6) | ((D & 0x00000100) ) | ((D & 0x00000800) >> 1) | ((D & 0x00000040) >> 3) | ((D & 0x00010000) >> 4) | ((D & 0x00000400) >> 5) | ((D & 0x00004000) >> 10) | ((D & 0x04000000) >> 13) | ((D & 0x00800000) >> 14) | ((D & 0x00100000) >> 18) | ((D & 0x01000000) >> 24) | ((D & 0x08000000) >> 26); } } /* * DES Encryption */ void des_encrypt(ref uint L, ref uint R, in uint[32] round_key) pure { foreach (size_t i; iota(0, 16, 2)) { uint T0, T1; T0 = rotateRight(R, 4) ^ round_key[2*i]; T1 = R ^ round_key[2*i + 1]; L ^= DES_SPBOX1[get_byte(0, T0)] ^ DES_SPBOX2[get_byte(0, T1)] ^ DES_SPBOX3[get_byte(1, T0)] ^ DES_SPBOX4[get_byte(1, T1)] ^ DES_SPBOX5[get_byte(2, T0)] ^ DES_SPBOX6[get_byte(2, T1)] ^ DES_SPBOX7[get_byte(3, T0)] ^ DES_SPBOX8[get_byte(3, T1)]; T0 = rotateRight(L, 4) ^ round_key[2*i + 2]; T1 = L ^ round_key[2*i + 3]; R ^= DES_SPBOX1[get_byte(0, T0)] ^ DES_SPBOX2[get_byte(0, T1)] ^ DES_SPBOX3[get_byte(1, T0)] ^ DES_SPBOX4[get_byte(1, T1)] ^ DES_SPBOX5[get_byte(2, T0)] ^ DES_SPBOX6[get_byte(2, T1)] ^ DES_SPBOX7[get_byte(3, T0)] ^ DES_SPBOX8[get_byte(3, T1)]; } } /* * DES Decryption */ void des_decrypt(ref uint L, ref uint R, in uint[32] round_key) pure { for (size_t i = 16; i != 0; i -= 2) { uint T0, T1; T0 = rotateRight(R, 4) ^ round_key[2*i - 2]; T1 = R ^ round_key[2*i - 1]; L ^= DES_SPBOX1[get_byte(0, T0)] ^ DES_SPBOX2[get_byte(0, T1)] ^ DES_SPBOX3[get_byte(1, T0)] ^ DES_SPBOX4[get_byte(1, T1)] ^ DES_SPBOX5[get_byte(2, T0)] ^ DES_SPBOX6[get_byte(2, T1)] ^ DES_SPBOX7[get_byte(3, T0)] ^ DES_SPBOX8[get_byte(3, T1)]; T0 = rotateRight(L, 4) ^ round_key[2*i - 4]; T1 = L ^ round_key[2*i - 3]; R ^= DES_SPBOX1[get_byte(0, T0)] ^ DES_SPBOX2[get_byte(0, T1)] ^ DES_SPBOX3[get_byte(1, T0)] ^ DES_SPBOX4[get_byte(1, T1)] ^ DES_SPBOX5[get_byte(2, T0)] ^ DES_SPBOX6[get_byte(2, T1)] ^ DES_SPBOX7[get_byte(3, T0)] ^ DES_SPBOX8[get_byte(3, T1)]; } }
D
instance VLK_470_SARAH(NPC_DEFAULT) { name[0] = "Сара"; guild = GIL_VLK; id = 470; voice = 16; flags = 0; npctype = NPCTYPE_MAIN; b_setattributestochapter(self,1); fight_tactic = FAI_HUMAN_COWARD; EquipItem(self,itmw_1h_vlk_sword); b_setnpcvisual(self,FEMALE,"Hum_Head_Babe",FACEBABE_N_BLONDIE,BODYTEXBABE_N,itar_vlkbabe_l); Mdl_SetModelFatness(self,0); Mdl_ApplyOverlayMds(self,"Humans_Tired.mds"); b_givenpctalents(self); b_setfightskills(self,30); daily_routine = rtn_start_470; }; func void rtn_start_470() { ta_stand_armscrossed(5,15,20,15,"NW_CITY_SARAH"); ta_sleep(20,15,5,15,"NW_CITY_HOTEL_BED_08"); }; func void rtn_knast_470() { ta_stand_armscrossed(8,0,20,0,"NW_CITY_HABOUR_KASERN_RENGARU"); ta_stand_armscrossed(20,0,8,0,"NW_CITY_HABOUR_KASERN_RENGARU"); }; func void rtn_tot_470() { ta_stand_armscrossed(5,15,20,15,"TOT"); ta_sleep(20,15,5,15,"TOT"); };
D
instance VLK_4152_Olav(Npc_Default) { name[0] = "Îëàâ"; guild = GIL_MIL; id = 4152; voice = 4; flags = 0; npcType = NPCTYPE_OCAMBIENT; attribute[ATR_STRENGTH] = 10; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 1; attribute[ATR_HITPOINTS] = 1; fight_tactic = FAI_HUMAN_COWARD; B_CreateAmbientInv(self); CreateInvItems(self,ItSe_Olav,1); B_SetNpcVisual(self,MALE,"Hum_Head_Bald",Face_N_NormalBart22,BodyTex_N,ITAR_Mil_L); Mdl_SetModelFatness(self,1); Mdl_ApplyOverlayMds(self,"Humans_Relaxed.mds"); B_GiveNpcTalents(self); B_SetFightSkills(self,30); daily_routine = Rtn_Start_4152; }; func void Rtn_Start_4152() { TA_Stand_Guarding(8,0,23,0,"OW_WOLFHUT_01"); TA_Stand_Guarding(23,0,8,0,"OW_WOLFHUT_01"); };
D
a window above a door that is usually hinged to a horizontal crosspiece over the door a window in a roof to admit daylight a semicircular window over a door or window
D
func void b_restartfreeze() { if((Npc_GetActiveSpell(other) == SPL_ICECUBE) || (Npc_GetActiveSpell(other) == SPL_ICEWAVE)) { Npc_SetStateTime(self,0); }; }; func void b_stopmagicfreeze() { Npc_PercEnable(self,PERC_ASSESSMAGIC,b_assessmagic); Npc_ClearAIQueue(self); AI_Standup(self); if(self.guild < GIL_SEPERATOR_HUM) { b_assessdamage(); } else { Npc_SetTempAttitude(self,ATT_HOSTILE); }; }; func void zs_magicfreeze() { Npc_PercEnable(self,PERC_ASSESSMAGIC,b_restartfreeze); Npc_StopAni(self,"S_FIRE_VICTIM"); if(!c_bodystatecontains(self,BS_UNCONSCIOUS)) { AI_PlayAniBS(self,"T_STAND_2_FREEZE_VICTIM",BS_UNCONSCIOUS); }; self.aivar[AIV_FREEZESTATETIME] = 0; }; func int zs_magicfreeze_loop() { if(Npc_GetStateTime(self) > SPL_TIME_FREEZE) { b_stopmagicfreeze(); return LOOP_END; }; if(Npc_GetStateTime(self) != self.aivar[AIV_FREEZESTATETIME]) { self.aivar[AIV_FREEZESTATETIME] = Npc_GetStateTime(self); if((self.attribute[ATR_HITPOINTS] - (SPL_FREEZE_DAMAGE * 2)) > 0) { if((self.guild == GIL_FIREGOLEM) || (self.aivar[AIV_MM_REAL_ID] == ID_FIREWARAN) || (self.aivar[AIV_MM_REAL_ID] == ID_DRAGON_FIRE)) { b_magichurtnpc(other,SPL_FREEZE_DAMAGE * 2); return LOOP_CONTINUE; }; if((self.guild == GIL_ICEGOLEM) || (self.aivar[AIV_MM_REAL_ID] == ID_DRAGON_ICE)) { b_magichurtnpc(other,SPL_FREEZE_DAMAGE / 2); return LOOP_CONTINUE; }; b_magichurtnpc(other,SPL_FREEZE_DAMAGE); }; }; return LOOP_CONTINUE; }; func void zs_magicfreeze_end() { };
D
/** URL parsing routines. Copyright: © 2012 RejectedSoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module vibe.inet.url; public import vibe.inet.path; import vibe.textfilter.urlencode; import vibe.utils.string; import std.array; import std.conv; import std.exception; import std.string; /** Represents a URL decomposed into its components. */ struct URL { private { string m_schema; string m_pathString; string m_host; ushort m_port; string m_username; string m_password; string m_queryString; string m_anchor; } /// Constructs a new URL object from its components. this(string schema, string host, ushort port, Path path) { m_schema = schema; m_host = host; m_port = port; m_pathString = urlEncode(path.toString(), "/"); } /// ditto this(string schema, Path path) { this(schema, null, 0, path); } /** Constructs a URL from its string representation. TODO: additional validation required (e.g. valid host and user names and port) */ this(string url_string) { auto str = url_string; enforce(str.length > 0, "Empty URL."); if( str[0] != '/' ){ auto idx = str.indexOfCT(':'); enforce(idx > 0, "No schema in URL:"~str); m_schema = str[0 .. idx]; str = str[idx+1 .. $]; bool requires_host = false; switch(m_schema){ case "http": case "https": case "ftp": case "spdy": case "sftp": case "ws": case "wss": case "file": // proto://server/path style enforce(str.startsWith("//"), "URL must start with proto://..."); requires_host = true; str = str[2 .. $]; if (m_schema == "file") break; goto default; default: auto si = str.indexOfCT('/'); if( si < 0 ) si = str.length; auto ai = str[0 .. si].indexOfCT('@'); sizediff_t hs = 0; if( ai >= 0 ){ hs = ai+1; auto ci = str[0 .. ai].indexOfCT(':'); if( ci >= 0 ){ m_username = str[0 .. ci]; m_password = str[ci+1 .. ai]; } else m_username = str[0 .. ai]; enforce(m_username.length > 0, "Empty user name in URL."); } m_host = str[hs .. si]; auto findPort ( string src ) { auto pi = src.indexOfCT(':'); if(pi > 0) { enforce(pi < src.length-1, "Empty port in URL."); m_port = to!ushort(src[pi+1..$]); } return pi; } auto ip6 = m_host.indexOfCT('['); if (ip6 == 0) { // [ must be first char auto pe = m_host.indexOfCT(']'); if (pe > 0) { findPort(m_host[pe..$]); m_host = m_host[1 .. pe]; } } else { auto pi = findPort(m_host); if(pi > 0) { m_host = m_host[0 .. pi]; } } enforce(!requires_host || m_schema == "file" || m_host.length > 0, "Empty server name in URL."); str = str[si .. $]; } } this.localURI = str; } /// ditto static URL parse(string url_string) { return URL(url_string); } invariant() { assert(isURLEncoded(m_pathString), "Wrong URL encoding of '"~m_pathString~"'"); } /// The schema/protocol part of the URL @property string schema() const { return m_schema; } /// ditto @property void schema(string v) { m_schema = v; } /// The url encoded path part of the URL @property string pathString() const { return m_pathString; } /// Set the path part of the URL. It should be properly encoded. @property void pathString(string s) { enforce(isURLEncoded(s), "Wrong URL encoding of the path string '"~s~"'"); m_pathString = s; } /// The path part of the URL @property Path path() const { return Path(urlDecode(m_pathString)); } /// ditto @property void path(Path p) { auto pstr = p.toString(); m_pathString = urlEncode(pstr, "/"); } /// The host part of the URL (depends on the schema) @property string host() const { return m_host; } /// ditto @property void host(string v) { m_host = v; } /// The port part of the URL (optional) @property ushort port() const { return m_port; } /// ditto @property port(ushort v) { m_port = v; } /// The user name part of the URL (optional) @property string username() const { return m_username; } /// ditto @property void username(string v) { m_username = v; } /// The password part of the URL (optional) @property string password() const { return m_password; } /// ditto @property void password(string v) { m_password = v; } /// The query string part of the URL (optional) @property string queryString() const { return m_queryString; } /// ditto @property void queryString(string v) { m_queryString = v; } /// The anchor part of the URL (optional) @property string anchor() const { return m_anchor; } /// The path part plus query string and anchor @property string localURI() const { auto str = appender!string(); // m_pathString is already encoded str.put(m_pathString); if( queryString.length ) { str.put("?"); str.put(queryString); } if( anchor.length ) { str.put("#"); str.put(anchor); } return str.data; } /// ditto @property void localURI(string str) { auto ai = str.indexOfCT('#'); if( ai >= 0 ){ m_anchor = str[ai+1 .. $]; str = str[0 .. ai]; } else m_anchor = null; auto qi = str.indexOfCT('?'); if( qi >= 0 ){ m_queryString = str[qi+1 .. $]; str = str[0 .. qi]; } else m_queryString = null; this.pathString = str; } /// The URL to the parent path with query string and anchor stripped. @property URL parentURL() const { URL ret; ret.schema = schema; ret.host = host; ret.port = port; ret.username = username; ret.password = password; ret.path = path.parentPath; return ret; } /// Converts this URL object to its string representation. string toString() const { import std.format; auto dst = appender!string(); dst.put(schema); dst.put(":"); switch(schema){ default: break; case "file": case "http": case "https": case "ftp": case "spdy": case "sftp": dst.put("//"); break; } if (m_username.length || m_password.length) { dst.put(username); dst.put(':'); dst.put(password); dst.put('@'); } import std.algorithm : canFind; auto ipv6 = host.canFind(":"); if ( ipv6 ) dst.put('['); dst.put(host); if ( ipv6 ) dst.put(']'); if( m_port > 0 ) formattedWrite(dst, ":%d", m_port); dst.put(localURI); return dst.data; } bool startsWith(const URL rhs) const { if( m_schema != rhs.m_schema ) return false; if( m_host != rhs.m_host ) return false; // FIXME: also consider user, port, querystring, anchor etc return this.path.startsWith(rhs.path); } URL opBinary(string OP)(Path rhs) const if( OP == "~" ) { return URL(m_schema, m_host, m_port, this.path ~ rhs); } URL opBinary(string OP)(PathEntry rhs) const if( OP == "~" ) { return URL(m_schema, m_host, m_port, this.path ~ rhs); } void opOpAssign(string OP)(Path rhs) if( OP == "~" ) { this.path = this.path ~ rhs; } void opOpAssign(string OP)(PathEntry rhs) if( OP == "~" ) { this.path = this.path ~ rhs; } /// Tests two URLs for equality using '=='. bool opEquals(ref const URL rhs) const { if( m_schema != rhs.m_schema ) return false; if( m_host != rhs.m_host ) return false; if( m_pathString != rhs.m_pathString ) return false; return true; } /// ditto bool opEquals(const URL other) const { return opEquals(other); } int opCmp(ref const URL rhs) const { if( m_schema != rhs.m_schema ) return m_schema.cmp(rhs.m_schema); if( m_host != rhs.m_host ) return m_host.cmp(rhs.m_host); if( m_pathString != rhs.m_pathString ) return cmp(m_pathString, rhs.m_pathString); return true; } } unittest { // IPv6 auto urlstr = "http://[2003:46:1a7b:6c01:64b:80ff:fe80:8003]:8091/abc"; auto url = URL.parse(urlstr); assert(url.schema == "http", url.schema); assert(url.host == "2003:46:1a7b:6c01:64b:80ff:fe80:8003", url.host); assert(url.port == 8091); assert(url.path == Path("/abc"), url.path.toString()); assert(url.toString == urlstr); url.host = "abcd:46:1a7b:6c01:64b:80ff:fe80:8abc"; urlstr = "http://[abcd:46:1a7b:6c01:64b:80ff:fe80:8abc]:8091/abc"; assert(url.toString == urlstr); } unittest { auto urlstr = "https://www.example.net/index.html"; auto url = URL.parse(urlstr); assert(url.schema == "https", url.schema); assert(url.host == "www.example.net", url.host); assert(url.path == Path("/index.html"), url.path.toString()); assert(url.toString == urlstr); urlstr = "http://jo.doe:password@sub.www.example.net:4711/sub2/index.html?query#anchor"; url = URL.parse(urlstr); assert(url.schema == "http", url.schema); assert(url.username == "jo.doe", url.username); assert(url.password == "password", url.password); assert(url.port == 4711, to!string(url.port)); assert(url.host == "sub.www.example.net", url.host); assert(url.path.toString() == "/sub2/index.html", url.path.toString()); assert(url.queryString == "query", url.queryString); assert(url.anchor == "anchor", url.anchor); assert(url.toString == urlstr); } unittest { // issue #1044 URL url = URL.parse("http://example.com/p?query#anchor"); assert(url.schema == "http"); assert(url.host == "example.com"); assert(url.queryString == "query"); assert(url.anchor == "anchor"); assert(url.pathString == "/p"); url.localURI = "/q"; assert(url.schema == "http"); assert(url.host == "example.com"); assert(url.queryString == ""); assert(url.anchor == ""); assert(url.pathString == "/q"); url.localURI = "/q?query"; assert(url.schema == "http"); assert(url.host == "example.com"); assert(url.queryString == "query"); assert(url.anchor == ""); assert(url.pathString == "/q"); url.localURI = "/q#anchor"; assert(url.schema == "http"); assert(url.host == "example.com"); assert(url.queryString == ""); assert(url.anchor == "anchor"); assert(url.pathString == "/q"); } //websocket unittest unittest { URL url = URL("ws://127.0.0.1:8080/echo"); assert(url.host == "127.0.0.1"); assert(url.port == 8080); assert(url.localURI == "/echo"); } unittest { Path p = Path("/foo bar/boo oom/"); URL url = URL("http", "example.com", 0, p); // constructor test assert(url.path == p); url.path = p; assert(url.path == p); // path assignement test assert(url.pathString == "/foo%20bar/boo%20oom/"); assert(url.toString() == "http://example.com/foo%20bar/boo%20oom/"); url.pathString = "/foo%20bar/boo%2foom/"; assert(url.pathString == "/foo%20bar/boo%2foom/"); assert(url.toString() == "http://example.com/foo%20bar/boo%2foom/"); } unittest { auto url = URL("http://example.com/some%2bpath"); assert(url.path.toString() == "/some+path", url.path.toString()); } unittest { assert(URL("file:///test").pathString == "/test"); assert(URL("file:///test").path.toString() == "/test"); assert(URL("file://test").pathString == "test"); assert(URL("file://test").path.toString() == "test"); assert(URL("file://./test").pathString == "./test"); assert(URL("file://./test").path.toString() == "./test"); } unittest { // issue #1318 try { URL("http://something/inval%id"); assert(false, "Expected to throw an exception."); } catch (Exception e) {} }
D
// // Written and provided by Benjamin Thaut // Complications improved by Rainer Schuetze // // file access monitoring added by Rainer Schuetze, needs filemonitor.dll in the same // directory as pipedmd.exe, or tracker.exe from the MSBuild tool chain module pipedmd; import std.stdio; import core.sys.windows.windows; import core.sys.windows.psapi; import std.windows.charset; import core.stdc.string; import std.string; import std.regex; import core.demangle; import std.array; import std.algorithm; import std.conv; import std.path; import std.process; import std.utf; static import std.file; enum canInjectDLL = false; // disable to rely on tracker.exe exclusively (keeps AV programs more happy) alias core.stdc.stdio.stdout stdout; static bool isIdentifierChar(char ch) { // include C++,Pascal,Windows mangling and UTF8 encoding and compression return ch >= 0x80 || (ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') || ch == '_'; } static bool isDigit(char ch) { return (ch >= '0' && ch <= '9'); } string quoteArg(string arg) { if(indexOf(arg, ' ') < arg.length) return "\"" ~ replace(arg, "\"", "\\\"") ~ "\""; else return arg; } int main(string[] argv) { if(argv.length < 2) { printf("pipedmd V0.2, written 2012 by Benjamin Thaut, complications improved by Rainer Schuetze\n"); printf("decompresses and demangles names in OPTLINK and ld messages\n"); printf("\n"); printf("usage: %.*s [-nodemangle] [-gdcmode | -msmode] [-deps depfile] [executable] [arguments]\n", argv[0].length, argv[0].ptr); return -1; } int skipargs = 0; string depsfile; bool doDemangle = true; bool demangleAll = false; //not just linker messages bool gdcMode = false; //gcc linker bool msMode = false; //microsoft linker bool verbose = false; bool memStats = false; while (argv.length >= skipargs + 2) { if(argv[skipargs + 1] == "-nodemangle") { doDemangle = false; skipargs++; } else if(argv[skipargs + 1] == "-demangleall") { demangleAll = true; skipargs++; } else if(argv[skipargs + 1] == "-gdcmode") { gdcMode = true; skipargs++; } else if(argv[skipargs + 1] == "-msmode") { msMode = true; skipargs++; } else if(argv[skipargs + 1] == "-verbose") { verbose = true; skipargs++; } else if(argv[skipargs + 1] == "-memStats") { memStats = true; skipargs++; } else if(argv[skipargs + 1] == "-deps") depsfile = argv[skipargs += 2]; else break; } string exe = (argv.length > skipargs + 1 ? argv[skipargs + 1] : null); string command; string trackdir; string trackfile; string trackfilewr; bool inject = false; if (depsfile.length > 0) { string fullexe = findExeInPath(exe); bool isX64 = isExe64bit(fullexe); if (verbose) if (fullexe.empty) printf ("%.*s not found in PATH, assuming %d-bit application\n", exe.length, exe.ptr, isX64 ? 64 : 32); else printf ("%.*s is a %d-bit application\n", fullexe.length, fullexe.ptr, isX64 ? 64 : 32); string trackerArgs; string tracker = findTracker(isX64, trackerArgs); if (tracker.length > 0) { command = quoteArg(tracker); command ~= trackerArgs; command ~= " /m"; // include temporary files removed, they might appear as input to sub processes trackdir = dirName(depsfile); if (trackdir != ".") command ~= " /if " ~ quoteArg(trackdir); trackfile = "*.read.*.tlog"; trackfilewr = "*.write.*.tlog"; foreach(f; std.file.dirEntries(trackdir, std.file.SpanMode.shallow)) if (globMatch(baseName(f), trackfile) || globMatch(baseName(f), trackfilewr)) std.file.remove(f.name); command ~= " /c"; } else if (isX64 || !canInjectDLL) { printf("cannot monitor %d-bit executable %.*s, no suitable tracker.exe found\n", isX64 ? 64 : 32, exe.length, exe.ptr); return -1; } else inject = true; } for(int i = skipargs + 1;i < argv.length; i++) { if(command.length > 0) command ~= " "; command ~= quoteArg(argv[i]); } if(verbose) printf("Command: %.*s\n", command.length, command.ptr); int exitCode = runProcess(command, inject ? depsfile : null, doDemangle, demangleAll, gdcMode, msMode, memStats); if (exitCode == 0 && trackfile.length > 0) { // read read.*.tlog and remove all files found in write.*.log string rdbuf; string wrbuf; foreach(f; std.file.dirEntries(trackdir, std.file.SpanMode.shallow)) { bool rd = globMatch(baseName(f), trackfile); bool wr = globMatch(baseName(f), trackfilewr); if (rd || wr) { ubyte[] fbuf = cast(ubyte[])std.file.read(f.name); string cbuf; // strip BOM from all but the first file if(fbuf.length > 1 && fbuf[0] == 0xFF && fbuf[1] == 0xFE) cbuf = to!(string)(cast(wstring)(fbuf[2..$])); else cbuf = cast(string)fbuf; if(rd) rdbuf ~= cbuf; else wrbuf ~= cbuf; } } string[] rdlines = splitLines(rdbuf, KeepTerminator.yes); string[] wrlines = splitLines(wrbuf, KeepTerminator.yes); bool[string] wrset; foreach(w; wrlines) if (!w.startsWith("#Command:")) wrset[w] = true; bool[string] rdset; foreach(r; rdlines) if (!r.startsWith("#Command:")) if(r !in wrset) rdset[r] = true; string buf = rdset.keys.sort.join; std.file.write(depsfile, buf); } return exitCode; } int runProcess(string command, string depsfile, bool doDemangle, bool demangleAll, bool gdcMode, bool msMode, bool memStats) { HANDLE hStdOutRead; HANDLE hStdOutWrite; HANDLE hStdInRead; HANDLE hStdInWrite; SECURITY_ATTRIBUTES saAttr; // Set the bInheritHandle flag so pipe handles are inherited. saAttr.nLength = SECURITY_ATTRIBUTES.sizeof; saAttr.bInheritHandle = TRUE; saAttr.lpSecurityDescriptor = null; // Create a pipe for the child process's STDOUT. if ( ! CreatePipe(&hStdOutRead, &hStdOutWrite, &saAttr, 0) ) assert(0); // Ensure the read handle to the pipe for STDOUT is not inherited. if ( ! SetHandleInformation(hStdOutRead, HANDLE_FLAG_INHERIT, 0) ) assert(0); if ( ! CreatePipe(&hStdInRead, &hStdInWrite, &saAttr, 0) ) assert(0); if ( ! SetHandleInformation(hStdInWrite, HANDLE_FLAG_INHERIT, 0) ) assert(0); PROCESS_INFORMATION piProcInfo; STARTUPINFOW siStartInfo; BOOL bSuccess = FALSE; // Set up members of the PROCESS_INFORMATION structure. memset( &piProcInfo, 0, PROCESS_INFORMATION.sizeof ); // Set up members of the STARTUPINFO structure. // This structure specifies the STDIN and STDOUT handles for redirection. memset( &siStartInfo, 0, STARTUPINFOW.sizeof ); siStartInfo.cb = STARTUPINFOW.sizeof; siStartInfo.hStdError = hStdOutWrite; siStartInfo.hStdOutput = hStdOutWrite; siStartInfo.hStdInput = hStdInRead; siStartInfo.dwFlags |= STARTF_USESTDHANDLES; int cp = GetKBCodePage(); auto szCommand = toUTF16z(command); bSuccess = CreateProcessW(null, cast(wchar*)szCommand, // command line null, // process security attributes null, // primary thread security attributes TRUE, // handles are inherited CREATE_SUSPENDED, // creation flags null, // use parent's environment null, // use parent's current directory &siStartInfo, // STARTUPINFO pointer &piProcInfo); // receives PROCESS_INFORMATION if(!bSuccess) { printf("failed launching %s\n", szCommand); return 1; } static if(canInjectDLL) if(depsfile) InjectDLL(piProcInfo.hProcess, depsfile); ResumeThread(piProcInfo.hThread); ubyte[] buffer = new ubyte[2048]; size_t bytesFilled = 0; DWORD bytesAvailable = 0; DWORD bytesRead = 0; DWORD exitCode = 0; bool linkerFound = gdcMode || msMode || demangleAll; L_loop: while(true) { bSuccess = PeekNamedPipe(hStdOutRead, buffer.ptr + bytesFilled, buffer.length - bytesFilled, &bytesRead, &bytesAvailable, null); if (bSuccess && bytesRead > 0) bSuccess = ReadFile(hStdOutRead, buffer.ptr + bytesFilled, buffer.length - bytesFilled, &bytesRead, null); if(bSuccess && bytesRead > 0) { size_t lineLength = bytesFilled; // no need to search before previous end bytesFilled += bytesRead; for(; lineLength < buffer.length && lineLength < bytesFilled; lineLength++) { if (buffer[lineLength] == '\n') { size_t len = lineLength + 1; demangleLine(buffer[0 .. len], doDemangle, demangleAll, msMode, gdcMode, cp, linkerFound); memmove(buffer.ptr, buffer.ptr + len, bytesFilled - len); bytesFilled -= len; lineLength = 0; } } // if no line end found, retry with larger buffer if(bytesFilled >= buffer.length) { buffer.length = buffer.length * 2; continue; } } bSuccess = GetExitCodeProcess(piProcInfo.hProcess, &exitCode); if(!bSuccess || exitCode != 259) //259 == STILL_ACTIVE { // process trailing text if not terminated by a newline if (bytesFilled > 0) demangleLine(buffer[0 .. bytesFilled], doDemangle, demangleAll, msMode, gdcMode, cp, linkerFound); break; } Sleep(5); } if (memStats) if (auto fun = getProcessMemoryInfoFunc()) { string procName = getProcessName(piProcInfo.hProcess); PROCESS_MEMORY_COUNTERS memCounters; bSuccess = fun(piProcInfo.hProcess, &memCounters, memCounters.sizeof); if (bSuccess) printf("%s used %lld MB of private memory\n", procName.ptr, cast(long)memCounters.PeakPagefileUsage >> 20); } //close the handles to the process CloseHandle(hStdInWrite); CloseHandle(hStdOutRead); CloseHandle(piProcInfo.hProcess); CloseHandle(piProcInfo.hThread); return exitCode; } void demangleLine(ubyte[] output, bool doDemangle, bool demangleAll, bool msMode, bool gdcMode, int cp, ref bool linkerFound) { if (output.length && output[$-1] == '\n') //remove trailing \n output = output[0 .. $-1]; while(output.length && output[$-1] == '\r') //remove trailing \r output = output[0 .. $-1]; while(output.length && output[0] == '\r') // remove preceding \r output = output[1 .. $]; if(msMode) //the microsoft linker outputs the error messages in the default ANSI codepage so we need to convert it to UTF-8 { static WCHAR[] decodeBufferWide; static ubyte[] decodeBuffer; if(decodeBufferWide.length < output.length + 1) { decodeBufferWide.length = output.length + 1; decodeBuffer.length = 2 * output.length + 1; } auto numDecoded = MultiByteToWideChar(CP_ACP, 0, cast(char*)output.ptr, output.length, decodeBufferWide.ptr, decodeBufferWide.length); auto numEncoded = WideCharToMultiByte(CP_UTF8, 0, decodeBufferWide.ptr, numDecoded, cast(char*)decodeBuffer.ptr, decodeBuffer.length, null, null); output = decodeBuffer[0..numEncoded]; } size_t writepos = 0; if(!linkerFound) { if (output.startsWith("OPTLINK (R)")) linkerFound = true; else if(output.countUntil("error LNK") >= 0 || output.countUntil("warning LNK") >= 0) linkerFound = msMode = true; } if(doDemangle && linkerFound) { if(gdcMode) { if(demangleAll || output.countUntil("undefined reference to") >= 0 || output.countUntil("In function") >= 0) { processLine(output, writepos, false, cp); } } else if(msMode) { if(demangleAll || output.countUntil("LNK") >= 0) { processLine(output, writepos, false, cp); } } else { processLine(output, writepos, true, cp); } } if(writepos < output.length) fwrite(output.ptr + writepos, output.length - writepos, 1, stdout); fputc('\n', stdout); } void processLine(ubyte[] output, ref size_t writepos, bool optlink, int cp) { for(int p = 0; p < output.length; p++) { if(isIdentifierChar(output[p])) { int q = p; while(p < output.length && isIdentifierChar(output[p])) p++; auto symbolName = cast(const(char)[]) output[q..p]; const(char)[] realSymbolName = symbolName; if(optlink) { size_t pos = 0; realSymbolName = decodeDmdString(symbolName, pos); if(pos != p - q) { // could not decode, might contain UTF8 elements, so try translating to the current code page // (demangling will not work anyway) try { auto szName = toMBSz(symbolName, cp); auto plen = strlen(szName); realSymbolName = szName[0..plen]; pos = p - q; } catch(Exception) { realSymbolName = null; } } } if(realSymbolName.length) { if(realSymbolName != symbolName) { // not sure if output is UTF8 encoded, so avoid any translation if(q > writepos) fwrite(output.ptr + writepos, q - writepos, 1, stdout); fwrite(realSymbolName.ptr, realSymbolName.length, 1, stdout); writepos = p; } while(realSymbolName.length > 1 && realSymbolName[0] == '_') realSymbolName = realSymbolName[1..$]; if(realSymbolName.length > 2 && realSymbolName[0] == 'D' && isDigit(realSymbolName[1])) { try { symbolName = demangle(realSymbolName); } catch(Exception) { } if(realSymbolName != symbolName) { // skip a trailing quote if(p + 1 < output.length && (output[p+1] == '\'' || output[p+1] == '\"')) p++; if(p > writepos) fwrite(output.ptr + writepos, p - writepos, 1, stdout); writepos = p; fwrite(" (".ptr, 2, 1, stdout); fwrite(symbolName.ptr, symbolName.length, 1, stdout); fwrite(")".ptr, 1, 1, stdout); } } } } } } /////////////////////////////////////////////////////////////////////////////// bool isExe64bit(string exe) //out(res) { printf("isExe64bit: %.*s %d-bit\n", exe.length, exe.ptr, res ? 64 : 32); } body { if (exe is null || !std.file.exists(exe)) return false; try { File f = File(exe, "rb"); IMAGE_DOS_HEADER dosHdr; f.rawRead((&dosHdr)[0..1]); if (dosHdr.e_magic != IMAGE_DOS_SIGNATURE) return false; f.seek(dosHdr.e_lfanew); IMAGE_NT_HEADERS ntHdr; f.rawRead((&ntHdr)[0..1]); return ntHdr.FileHeader.Machine == IMAGE_FILE_MACHINE_AMD64 || ntHdr.FileHeader.Machine == IMAGE_FILE_MACHINE_IA64; } catch(Exception) { } return false; } string findExeInPath(string exe) { if (std.path.baseName(exe) != exe) return exe; // if the file has dir component, don't search path string path = std.process.environment["PATH"]; string[] paths = split(path, ";"); string ext = extension(exe); foreach(p; paths) { if (p.length > 0 && p[0] == '"' && p[$-1] == '"') // remove quotes p = p[1 .. $-1]; p = std.path.buildPath(p, exe); if(std.file.exists(p)) return p; if (ext.empty) { if(std.file.exists(p ~ ".exe")) return p ~ ".exe"; if(std.file.exists(p ~ ".com")) return p ~ ".com"; if(std.file.exists(p ~ ".bat")) return p ~ ".bat"; if(std.file.exists(p ~ ".cmd")) return p ~ ".cmd"; } } return null; } enum SECURE_ACCESS = ~(WRITE_DAC | WRITE_OWNER | GENERIC_ALL | ACCESS_SYSTEM_SECURITY); enum KEY_WOW64_32KEY = 0x200; enum KEY_WOW64_64KEY = 0x100; string findTracker(bool x64, ref string trackerArgs) { string exe = findExeInPath("tracker.exe"); if (!exe.empty && isExe64bit(exe) != x64) exe = null; if (exe.indexOf("14.0") >= 0) trackerArgs = x64 ? " /d FileTracker64.dll" : " /d FileTracker32.dll"; if (exe.empty) exe = findTrackerInVS2017(); if (exe.empty) exe = findTrackerInMSBuild(r"SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0"w.ptr, x64, &trackerArgs); if (exe.empty) exe = findTrackerInMSBuild(r"SOFTWARE\Microsoft\MSBuild\ToolsVersions\12.0"w.ptr, x64, null); if (exe.empty) exe = findTrackerInMSBuild(r"SOFTWARE\Microsoft\MSBuild\ToolsVersions\11.0"w.ptr, x64, null); if (exe.empty) exe = findTrackerInMSBuild(r"SOFTWARE\Microsoft\MSBuild\ToolsVersions\10.0"w.ptr, x64, null); if (exe.empty) exe = findTrackerInSDK(x64); return exe; } string trackerPath(string binpath, bool x64) { if (binpath.empty) return null; string exe = buildPath(binpath, "tracker.exe"); //printf("trying %.*s\n", exe.length, exe.ptr); if (!std.file.exists(exe)) return null; if (isExe64bit(exe) != x64) return null; return exe; } string findTrackerInMSBuild (const(wchar)* keyname, bool x64, string* trackerArgs) { string path = readRegistry(keyname, "MSBuildToolsPath"w.ptr, x64); string exe = trackerPath(path, x64); if (exe && trackerArgs) *trackerArgs = x64 ? " /d FileTracker64.dll" : " /d FileTracker32.dll"; return exe; } string findTrackerInVS2017() { wstring key = r"SOFTWARE\Microsoft\VisualStudio\SxS\VS7"; string dir = readRegistry(key.ptr, "15.0"w.ptr, false); // always in Wow6432 if (dir.empty) return null; string exe = dir ~ r"MSBuild\15.0\Bin\Tracker.exe"; if (!std.file.exists(exe)) return null; // can handle both x86 and x64 return exe; } string findTrackerInSDK (bool x64) { wstring suffix = x64 ? "-x64" : "-x86"; wstring sdk = r"SOFTWARE\Microsoft\Microsoft SDKs\Windows"; HKEY key; LONG lRes = RegOpenKeyExW(HKEY_LOCAL_MACHINE, sdk.ptr, 0, KEY_READ | KEY_WOW64_32KEY, &key); // always in Wow6432 if (lRes != ERROR_SUCCESS) return null; string exe; DWORD idx = 0; wchar[100] ver; DWORD len = ver.length; while (RegEnumKeyExW(key, idx, ver.ptr, &len, null, null, null, null) == ERROR_SUCCESS) { const(wchar)[] sdkver = sdk ~ r"\"w ~ ver[0..len]; const(wchar)* wsdkver = toUTF16z(sdkver); HKEY verkey; lRes = RegOpenKeyExW(HKEY_LOCAL_MACHINE, wsdkver, 0, KEY_READ | KEY_WOW64_32KEY, &verkey); // always in Wow6432 if (lRes == ERROR_SUCCESS) { DWORD veridx = 0; wchar[100] sub; len = sub.length; while (RegEnumKeyExW(verkey, veridx, sub.ptr, &len, null, null, null, null) == ERROR_SUCCESS) { const(wchar)[] sdkversub = sdkver ~ r"\"w ~ sub[0..len]; string path = readRegistry(toUTF16z(sdkversub), "InstallationFolder"w.ptr, false); exe = trackerPath(path, x64); if (!exe.empty) break; veridx++; } RegCloseKey(verkey); } idx++; if (!exe.empty) break; } RegCloseKey(key); return exe; } string readRegistry(const(wchar)* keyname, const(wchar)* valname, bool x64) { string path; HKEY key; LONG lRes = RegOpenKeyExW(HKEY_LOCAL_MACHINE, keyname, 0, KEY_READ | (x64 ? KEY_WOW64_64KEY : KEY_WOW64_32KEY), &key); //printf("RegOpenKeyExW = %d, key=%x\n", lRes, key); if (lRes == ERROR_SUCCESS) { DWORD type; DWORD cntBytes; int hr = RegQueryValueExW(key, valname, null, &type, null, &cntBytes); //printf("RegQueryValueW = %d, %d words\n", hr, cntBytes); if (hr == ERROR_SUCCESS || hr == ERROR_MORE_DATA) { wchar[] wpath = new wchar[(cntBytes + 1) / 2]; hr = RegQueryValueExW(key, valname, null, &type, wpath.ptr, &cntBytes); if (hr == ERROR_SUCCESS) path = toUTF8(wpath[0..$-1]); // strip trailing 0 } RegCloseKey(key); } return path; } /////////////////////////////////////////////////////////////////////////////// // inject DLL into linker process to monitor file reads static if(canInjectDLL) { alias extern(Windows) DWORD function(LPVOID lpThreadParameter) LPTHREAD_START_ROUTINE; extern(Windows) BOOL WriteProcessMemory(HANDLE hProcess, LPVOID lpBaseAddress, LPCVOID lpBuffer, SIZE_T nSize, SIZE_T * lpNumberOfBytesWritten); extern(Windows) HANDLE CreateRemoteThread(HANDLE hProcess, LPSECURITY_ATTRIBUTES lpThreadAttributes, SIZE_T dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter, DWORD dwCreationFlags, LPDWORD lpThreadId); void InjectDLL(HANDLE hProcess, string depsfile) { HANDLE hThread, hRemoteModule; HMODULE appmod = GetModuleHandleA(null); wchar[] wmodname = new wchar[260]; DWORD len = GetModuleFileNameW(appmod, wmodname.ptr, wmodname.length); if(len > wmodname.length) { wmodname = new wchar[len + 1]; GetModuleFileNameW(null, wmodname.ptr, len + 1); } string modpath = to!string(wmodname); string dll = buildPath(std.path.dirName(modpath), "filemonitor.dll"); auto wdll = to!wstring(dll) ~ cast(wchar)0; // detect offset of dumpFile HMODULE fmod = LoadLibraryW(wdll.ptr); if(!fmod) return; size_t addr = cast(size_t)GetProcAddress(fmod, "_D11filemonitor8dumpFileG260a"); FreeLibrary(fmod); if(addr == 0) return; addr = addr - cast(size_t)fmod; // copy path to other process auto wdllRemote = VirtualAllocEx(hProcess, null, wdll.length * 2, MEM_COMMIT, PAGE_READWRITE); auto procWrite = getWriteProcFunc(); procWrite(hProcess, wdllRemote, wdll.ptr, wdll.length * 2, null); // load dll into other process, assuming LoadLibraryW is at the same address in all processes HMODULE mod = GetModuleHandleA("Kernel32"); auto proc = GetProcAddress(mod, "LoadLibraryW"); hThread = getCreateRemoteThreadFunc()(hProcess, null, 0, cast(LPTHREAD_START_ROUTINE)proc, wdllRemote, 0, null); WaitForSingleObject(hThread, INFINITE); // Get handle of the loaded module GetExitCodeThread(hThread, cast(DWORD*) &hRemoteModule); // Clean up CloseHandle(hThread); VirtualFreeEx(hProcess, wdllRemote, wdll.length * 2, MEM_RELEASE); void* pDumpFile = cast(char*)hRemoteModule + addr; // printf("remotemod = %p, addr = %p\n", hRemoteModule, pDumpFile); auto szDepsFile = toMBSz(depsfile); procWrite(hProcess, pDumpFile, szDepsFile, strlen(szDepsFile) + 1, null); } typeof(WriteProcessMemory)* getWriteProcFunc () { HMODULE mod = GetModuleHandleA("Kernel32"); auto proc = GetProcAddress(mod, "WriteProcessMemory"); return cast(typeof(WriteProcessMemory)*)proc; } typeof(CreateRemoteThread)* getCreateRemoteThreadFunc () { HMODULE mod = GetModuleHandleA("Kernel32"); auto proc = GetProcAddress(mod, "CreateRemoteThread"); return cast(typeof(CreateRemoteThread)*)proc; } } // static if(canInjectDLL) typeof(GetProcessMemoryInfo)* getProcessMemoryInfoFunc () { HMODULE mod = GetModuleHandleA("psapi"); if (!mod) mod = LoadLibraryA("psapi.dll"); auto proc = GetProcAddress(mod, "GetProcessMemoryInfo"); return cast(typeof(GetProcessMemoryInfo)*)proc; } string getProcessName(HANDLE process) { HMODULE mod = GetModuleHandleA("psapi"); if (!mod) mod = LoadLibraryA("psapi.dll"); auto proc = GetProcAddress(mod, "GetProcessImageFileNameW"); if (!proc) return "child process"; wchar[260] imageName; auto fn = cast(typeof(GetProcessImageFileNameW)*)proc; DWORD len = fn(process, imageName.ptr, imageName.length); if (len == 0) return "child process"; auto pos = lastIndexOf(imageName[0..len], '\\'); return to!string(imageName[pos+1..len]); }
D
/* REQUIRED_ARGS: * PERMUTE_ARGS: */ // https://issues.dlang.org/show_bug.cgi?id=17686 interface INode { @property INode parentNode(); @property IDocument ownerDocument(); } interface IDocument: INode {} interface IEntityReference: INode {} class DOMImplementation(T) { abstract class Node: INode { override { @property Node parentNode() { return null; } @property Document ownerDocument() { return null; } } @property bool readonly() { return true; } } abstract class NodeWithChildren: Node {} class Document: NodeWithChildren, IDocument {} class EntityReference: NodeWithChildren, IEntityReference { override { @property bool readonly() { return true; } } } } void main() { alias aaa = DOMImplementation!string; }
D
/******************************************************************************* Test runner for loading memory dump and disk overflow files. copyright: Copyright (c) 2017 sociomantic labs GmbH. All rights reserved License: Boost Software License Version 1.0. See LICENSE.txt for details. *******************************************************************************/ module test.loadfiles.main; import test.loadfiles.cases.LoadFiles; import turtle.runner.Runner; import ocean.util.log.Log; import ocean.transition; /******************************************************************************* Test runner which spawns a real DMQ node to run tests on. *******************************************************************************/ private class LoadFilesTestRunner : TurtleRunnerTask!(TestedAppKind.Daemon) { /*************************************************************************** Copies the DMQ node's configuration and data files to the sandbox before starting the node. ***************************************************************************/ override public CopyFileEntry[] copyFiles ( ) { return [ CopyFileEntry("test/loadfiles/etc/config.ini", "etc/config.ini"), CopyFileEntry("test/loadfiles/etc/credentials", "etc/credentials"), CopyFileEntry("test/loadfiles/data/", "./") ]; } public this() { this.test_package = "loadfiles.cases"; } /*************************************************************************** Print only warnings and errors on the console, not trace and info messages. ***************************************************************************/ override public void prepare ( ) { auto app_log = Log.lookup(this.config.name); app_log.level(Level.Warn); } /*************************************************************************** No arguments but add small startup delay to let DMQ node initialize listening socket. ***************************************************************************/ override protected void configureTestedApplication ( out double delay, out istring[] args, out istring[istring] env ) { delay = 1.0; args = null; env = null; args = ["--config=etc/config.ini"]; } } /******************************************************************************* Main function. Forwards arguments to test runner. *******************************************************************************/ int main ( istring[] args ) { return (new TurtleRunner!(LoadFilesTestRunner)("dmqnode", "test.loadfiles.cases", "loadfiles_test")).main(args); }
D
import cgy.util.pos; import unit; import entities.entity; // replace with struct if we decide we need type safety? :P static union Target { UnitPos pos; TilePos tilePos; Unit unit; void* obj; //TODO: Replace with proper type :D } Target target(UnitPos t) { Target ret; ret.pos = t; return ret; } Target target(TilePos t) { Target ret; ret.tilePos = t; return ret; } Target target(Unit t) { Target ret; ret.unit = t; return ret; } struct Mission { /* here's how you use this thing: Mission myMission = clan.getMission(); // or from wherever you want if (myMission.type == Mission.Type.mine) { auto pos = myMission.tilePos; } else if (myMission.type == Mission.Type.haulSpSp) { auto from = myMission.from.stockpile; auto to = myMission.to.stockpile; } // ETC */ enum Type { // Everything you can do nothing, // no mission availible :-( mine, attack, haulSpSp, // Stockpile to Stockpile haulWSp, // WorldState to Stockpile } Type type; Target from; Target to; alias to target; alias to this; this(Type mt) { type = mt; } this(Type mt, Target target) { type = mt; to = target; } this(Type mt, Target from_, Target to_) { type = mt; from = from_; to = to_; } static Mission none() { return Mission(Mission.Type.nothing); } }
D
module UnrealScript.Engine.AudioDevice; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Core.Subsystem; import UnrealScript.Engine.ReverbVolume; import UnrealScript.Core.UObject; import UnrealScript.Engine.SoundClass; import UnrealScript.Engine.PortalVolume; import UnrealScript.Engine.SoundMode; import UnrealScript.Engine.SoundNodeWave; extern(C++) interface AudioDevice : Subsystem { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticClass() { mixin(MGSCC("Class Engine.AudioDevice")); } private static __gshared AudioDevice mDefaultProperties; @property final static AudioDevice DefaultProperties() { mixin(MGDPC("AudioDevice", "AudioDevice Engine.Default__AudioDevice")); } static struct Functions { private static __gshared { ScriptFunction mSetSoundMode; ScriptFunction mFindSoundClass; } public @property static final { ScriptFunction SetSoundMode() { mixin(MGF("mSetSoundMode", "Function Engine.AudioDevice.SetSoundMode")); } ScriptFunction FindSoundClass() { mixin(MGF("mFindSoundClass", "Function Engine.AudioDevice.FindSoundClass")); } } } enum EDebugState : ubyte { DEBUGSTATE_None = 0, DEBUGSTATE_IsolateDryAudio = 1, DEBUGSTATE_IsolateReverb = 2, DEBUGSTATE_TestLPF = 3, DEBUGSTATE_TestStereoBleed = 4, DEBUGSTATE_TestLFEBleed = 5, DEBUGSTATE_DisableLPF = 6, DEBUGSTATE_DisableRadio = 7, DEBUGSTATE_MAX = 8, } enum ESoundClassName : ubyte { World_Props = 0, WeaponFoley = 1, WeaponFire = 2, WeaponExplosion = 3, Weapon = 4, VoxRadio = 5, VoxIngame = 6, VoxHelp = 7, VoxExceptions = 8, VoxAnnouncer = 9, Vox2 = 10, VOX = 11, Vehicle = 12, UI = 13, Tutorial_VOX_Reverb = 14, Tutorial_SFX_Reverb = 15, SFXExceptions = 16, SFX = 17, Music = 18, Master = 19, Concussion = 20, Character = 21, Ambient = 22, ESoundClassName_MAX = 23, } enum ETTSSpeaker : ubyte { TTSSPEAKER_Paul = 0, TTSSPEAKER_Harry = 1, TTSSPEAKER_Frank = 2, TTSSPEAKER_Dennis = 3, TTSSPEAKER_Kit = 4, TTSSPEAKER_Betty = 5, TTSSPEAKER_Ursula = 6, TTSSPEAKER_Rita = 7, TTSSPEAKER_Wendy = 8, TTSSPEAKER_MAX = 9, } struct Listener { private ubyte __buffer__[52]; public extern(D): private static __gshared ScriptStruct mStaticClass; @property final static ScriptStruct StaticClass() { mixin(MGSCS("ScriptStruct Engine.AudioDevice.Listener")); } @property final auto ref { Vector Front() { mixin(MGPS("Vector", 40)); } Vector Right() { mixin(MGPS("Vector", 28)); } Vector Up() { mixin(MGPS("Vector", 16)); } Vector Location() { mixin(MGPS("Vector", 4)); } PortalVolume PortalVolumeVar() { mixin(MGPS("PortalVolume", 0)); } } } struct AudioClassInfo { private ubyte __buffer__[16]; public extern(D): private static __gshared ScriptStruct mStaticClass; @property final static ScriptStruct StaticClass() { mixin(MGSCS("ScriptStruct Engine.AudioDevice.AudioClassInfo")); } @property final auto ref { int SizeRealTime() { mixin(MGPS("int", 12)); } int NumRealTime() { mixin(MGPS("int", 8)); } int SizeResident() { mixin(MGPS("int", 4)); } int NumResident() { mixin(MGPS("int", 0)); } } } @property final { auto ref { ScriptArray!( // ERROR: Unknown object class 'Class Core.ComponentProperty'! void*) AudioComponents() { mixin(MGPC("ScriptArray!( // ERROR: Unknown object class 'Class Core.ComponentProperty'! void*)", 128)); } ScriptArray!(Pointer) Sources() { mixin(MGPC("ScriptArray!(Pointer)", 140)); } ScriptArray!(Pointer) FreeSources() { mixin(MGPC("ScriptArray!(Pointer)", 152)); } ScriptArray!(AudioDevice.Listener) Listeners() { mixin(MGPC("ScriptArray!(AudioDevice.Listener)", 224)); } float LastUpdateTime() { mixin(MGPC("float", 704)); } float TransientMasterVolume() { mixin(MGPC("float", 700)); } AudioDevice.EDebugState DebugState() { mixin(MGPC("AudioDevice.EDebugState", 696)); } Pointer TextToSpeech() { mixin(MGPC("Pointer", 692)); } // ERROR: Unsupported object class 'ComponentProperty' for the property named 'TestAudioComponent'! float ExteriorLPFInterp() { mixin(MGPC("float", 684)); } float ExteriorVolumeInterp() { mixin(MGPC("float", 680)); } float InteriorLPFInterp() { mixin(MGPC("float", 676)); } float InteriorVolumeInterp() { mixin(MGPC("float", 672)); } UObject.Double ExteriorLPFEndTime() { mixin(MGPC("UObject.Double", 664)); } UObject.Double InteriorLPFEndTime() { mixin(MGPC("UObject.Double", 656)); } UObject.Double ExteriorEndTime() { mixin(MGPC("UObject.Double", 648)); } UObject.Double InteriorEndTime() { mixin(MGPC("UObject.Double", 640)); } UObject.Double InteriorStartTime() { mixin(MGPC("UObject.Double", 632)); } ReverbVolume.InteriorSettings ListenerInteriorSettings() { mixin(MGPC("ReverbVolume.InteriorSettings", 596)); } int ListenerVolumeIndex() { mixin(MGPC("int", 592)); } UObject.Double SoundModeEndTime() { mixin(MGPC("UObject.Double", 584)); } UObject.Double SoundModeFadeInEndTime() { mixin(MGPC("UObject.Double", 576)); } UObject.Double SoundModeFadeInStartTime() { mixin(MGPC("UObject.Double", 568)); } UObject.Double SoundModeStartTime() { mixin(MGPC("UObject.Double", 560)); } SoundMode CurrentMode() { mixin(MGPC("SoundMode", 556)); } ScriptName BaseSoundModeName() { mixin(MGPC("ScriptName", 548)); } Pointer Effects() { mixin(MGPC("Pointer", 544)); } // ERROR: Unsupported object class 'MapProperty' for the property named 'SoundModes'! // ERROR: Unsupported object class 'MapProperty' for the property named 'DestinationSoundClasses'! // ERROR: Unsupported object class 'MapProperty' for the property named 'CurrentSoundClasses'! // ERROR: Unsupported object class 'MapProperty' for the property named 'SourceSoundClasses'! // ERROR: Unsupported object class 'MapProperty' for the property named 'SoundClasses'! QWord CurrentTick() { mixin(MGPC("QWord", 236)); } // ERROR: Unsupported object class 'MapProperty' for the property named 'WaveInstanceSourceMap'! int CommonAudioPoolFreeBytes() { mixin(MGPC("int", 124)); } Pointer CommonAudioPool() { mixin(MGPC("Pointer", 120)); } SoundNodeWave ChirpOutSoundNodeWave() { mixin(MGPC("SoundNodeWave", 112)); } ScriptString ChirpOutSoundNodeWaveName() { mixin(MGPC("ScriptString", 100)); } SoundNodeWave ChirpInSoundNodeWave() { mixin(MGPC("SoundNodeWave", 96)); } ScriptString ChirpInSoundNodeWaveName() { mixin(MGPC("ScriptString", 84)); } float MinCompressedDurationGame() { mixin(MGPC("float", 80)); } float MinCompressedDurationEditor() { mixin(MGPC("float", 76)); } float LowPassFilterResonance() { mixin(MGPC("float", 72)); } int CommonAudioPoolSize() { mixin(MGPC("int", 68)); } int MaxChannels() { mixin(MGPC("int", 64)); } } bool bGameWasTicking() { mixin(MGBPC(116, 0x2)); } bool bGameWasTicking(bool val) { mixin(MSBPC(116, 0x2)); } bool m_bEnableBassBoost() { mixin(MGBPC(116, 0x1)); } bool m_bEnableBassBoost(bool val) { mixin(MSBPC(116, 0x1)); } } final: bool SetSoundMode(ScriptName NewMode) { ubyte params[12]; params[] = 0; *cast(ScriptName*)params.ptr = NewMode; (cast(ScriptObject)this).ProcessEvent(Functions.SetSoundMode, params.ptr, cast(void*)0); return *cast(bool*)&params[8]; } SoundClass FindSoundClass(ScriptName SoundClassName) { ubyte params[12]; params[] = 0; *cast(ScriptName*)params.ptr = SoundClassName; (cast(ScriptObject)this).ProcessEvent(Functions.FindSoundClass, params.ptr, cast(void*)0); return *cast(SoundClass*)&params[8]; } }
D
/Users/lidiomarfernandomachado/dev/swift/f1Project/DerivedData/f1Project/Build/Intermediates.noindex/f1Project.build/Debug-iphoneos/f1Project.build/Objects-normal/arm64/DriverStandingsInteractor.o : /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/MRData.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/StandingsTable.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/AppDelegate.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/DriverStanding.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/DriverPresentation.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Workers/DriverStandingsWorker.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Scenes/DriverStandings/DriverStandingsViewController.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Scenes/DriverStandings/DriverStandingsPresenter.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/Driver.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Scenes/DriverStandings/DriverStandingsInteractor.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Scenes/DriverStandings/DriverStandingsModels.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/BaseObject.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/StandingsList.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/lidiomarfernandomachado/dev/swift/f1Project/DerivedData/f1Project/Build/Intermediates.noindex/f1Project.build/Debug-iphoneos/f1Project.build/Objects-normal/arm64/DriverStandingsInteractor~partial.swiftmodule : /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/MRData.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/StandingsTable.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/AppDelegate.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/DriverStanding.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/DriverPresentation.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Workers/DriverStandingsWorker.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Scenes/DriverStandings/DriverStandingsViewController.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Scenes/DriverStandings/DriverStandingsPresenter.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/Driver.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Scenes/DriverStandings/DriverStandingsInteractor.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Scenes/DriverStandings/DriverStandingsModels.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/BaseObject.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/StandingsList.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/lidiomarfernandomachado/dev/swift/f1Project/DerivedData/f1Project/Build/Intermediates.noindex/f1Project.build/Debug-iphoneos/f1Project.build/Objects-normal/arm64/DriverStandingsInteractor~partial.swiftdoc : /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/MRData.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/StandingsTable.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/AppDelegate.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/DriverStanding.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/DriverPresentation.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Workers/DriverStandingsWorker.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Scenes/DriverStandings/DriverStandingsViewController.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Scenes/DriverStandings/DriverStandingsPresenter.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/Driver.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Scenes/DriverStandings/DriverStandingsInteractor.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Scenes/DriverStandings/DriverStandingsModels.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/BaseObject.swift /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/Models/StandingsList.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/* * This file is part of gtkD. * * gtkD is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * gtkD is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with gtkD; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // generated automatically - do not change // find conversion definition on APILookup.txt // implement new conversion functionalities on the wrap.utils pakage /* * Conversion parameters: * inFile = * outPack = pango * outFile = PgFontFamily * strct = PangoFontFamily * realStrct= * ctorStrct= * clss = PgFontFamily * interf = * class Code: No * interface Code: No * template for: * extend = GObject * implements: * prefixes: * - pango_font_family_ * omit structs: * omit prefixes: * omit code: * omit signals: * imports: * - gtkD.glib.Str * - gtkD.pango.PgFontFace * structWrap: * - PangoFontFace* -> PgFontFace * module aliases: * local aliases: * overrides: */ module gtkD.pango.PgFontFamily; public import gtkD.gtkc.pangotypes; private import gtkD.gtkc.pango; private import gtkD.glib.ConstructionException; private import gtkD.glib.Str; private import gtkD.pango.PgFontFace; private import gtkD.gobject.ObjectG; /** * Description * Pango supports a flexible architecture where a * particular rendering architecture can supply an * implementation of fonts. The PangoFont structure * represents an abstract rendering-system-independent font. * Pango provides routines to list available fonts, and * to load a font of a given description. */ public class PgFontFamily : ObjectG { /** the main Gtk struct */ protected PangoFontFamily* pangoFontFamily; public PangoFontFamily* getPgFontFamilyStruct() { return pangoFontFamily; } /** the main Gtk struct as a void* */ protected override void* getStruct() { return cast(void*)pangoFontFamily; } /** * Sets our main struct and passes it to the parent class */ public this (PangoFontFamily* pangoFontFamily) { if(pangoFontFamily is null) { this = null; return; } //Check if there already is a D object for this gtk struct void* ptr = getDObject(cast(GObject*)pangoFontFamily); if( ptr !is null ) { this = cast(PgFontFamily)ptr; return; } super(cast(GObject*)pangoFontFamily); this.pangoFontFamily = pangoFontFamily; } /** */ /** * Gets the name of the family. The name is unique among all * fonts for the font backend and can be used in a PangoFontDescription * to specify that a face from this family is desired. * Returns: the name of the family. This string is owned by the family object and must not be modified or freed. */ public string getName() { // const char * pango_font_family_get_name (PangoFontFamily *family); return Str.toString(pango_font_family_get_name(pangoFontFamily)); } /** * A monospace font is a font designed for text display where the the * characters form a regular grid. For Western languages this would * mean that the advance width of all characters are the same, but * this categorization also includes Asian fonts which include * double-width characters: characters that occupy two grid cells. * g_unichar_iswide() returns a result that indicates whether a * character is typically double-width in a monospace font. * The best way to find out the grid-cell size is to call * pango_font_metrics_get_approximate_digit_width(), since the results * of pango_font_metrics_get_approximate_char_width() may be affected * by double-width characters. * Since 1.4 * Returns: TRUE if the family is monospace. */ public int isMonospace() { // gboolean pango_font_family_is_monospace (PangoFontFamily *family); return pango_font_family_is_monospace(pangoFontFamily); } /** * Lists the different font faces that make up family. The faces * in a family share a common design, but differ in slant, weight, * width and other aspects. * Params: * faces = location to store an array of pointers to PangoFontFace * objects, or NULL. This array should be freed with g_free() * when it is no longer needed. */ public void listFaces(out PgFontFace[] faces) { // void pango_font_family_list_faces (PangoFontFamily *family, PangoFontFace ***faces, int *n_faces); PangoFontFace** outfaces = null; int nFaces; pango_font_family_list_faces(pangoFontFamily, &outfaces, &nFaces); faces = new PgFontFace[nFaces]; for(int i = 0; i < nFaces; i++) { faces[i] = new PgFontFace(cast(PangoFontFace*) outfaces[i]); } } }
D
/** BSON serialization and value handling. Copyright: © 2012 RejectedSoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module vibe.data.bson; public import vibe.data.json; import vibe.core.log; import std.algorithm; import std.array; import std.base64; import std.bitmanip; import std.conv; import std.datetime; import std.exception; import std.range; import std.traits; alias immutable(ubyte)[] bdata_t; /** Represents a BSON value. */ struct Bson { /// Represents the type of a BSON value enum Type : ubyte { end = 0x00, /// End marker - should never occur explicitly double_ = 0x01, /// A 64-bit floating point value string = 0x02, /// A UTF-8 string object = 0x03, /// An object aka. dictionary of string to Bson array = 0x04, /// An array of BSON values binData = 0x05, /// Raw binary data (ubyte[]) undefined = 0x06, /// Deprecated objectID = 0x07, /// BSON Object ID (96-bit) bool_ = 0x08, /// Boolean value date = 0x09, /// Date value (UTC) null_ = 0x0A, /// Null value regex = 0x0B, /// Regular expression dbRef = 0x0C, /// Deprecated code = 0x0D, /// JaveScript code symbol = 0x0E, /// Symbol/variable name codeWScope = 0x0F, /// JavaScript code with scope int_ = 0x10, /// 32-bit integer timestamp = 0x11, /// Timestamp value long_ = 0x12, /// 64-bit integer minKey = 0xff, /// Internal value maxKey = 0x7f, /// Internal value End = end, /// Compatibility alias - will be deprecated soon. Double = double_, /// Compatibility alias - will be deprecated soon. String = string, /// Compatibility alias - will be deprecated soon. Object = object, /// Compatibility alias - will be deprecated soon. Array = array, /// Compatibility alias - will be deprecated soon. BinData = binData, /// Compatibility alias - will be deprecated soon. Undefined = undefined, /// Compatibility alias - will be deprecated soon. ObjectID = objectID, /// Compatibility alias - will be deprecated soon. Bool = bool_, /// Compatibility alias - will be deprecated soon. Date = date, /// Compatibility alias - will be deprecated soon. Null = null_, /// Compatibility alias - will be deprecated soon. Regex = regex, /// Compatibility alias - will be deprecated soon. DBRef = dbRef, /// Compatibility alias - will be deprecated soon. Code = code, /// Compatibility alias - will be deprecated soon. Symbol = symbol, /// Compatibility alias - will be deprecated soon. CodeWScope = codeWScope, /// Compatibility alias - will be deprecated soon. Int = int_, /// Compatibility alias - will be deprecated soon. Timestamp = timestamp, /// Compatibility alias - will be deprecated soon. Long = long_, /// Compatibility alias - will be deprecated soon. MinKey = minKey, /// Compatibility alias - will be deprecated soon. MaxKey = maxKey /// Compatibility alias - will be deprecated soon. } /// Returns a new, empty Bson value of type Object. static @property Bson emptyObject() { return Bson(cast(Bson[string])null); } /// Returns a new, empty Bson value of type Object. static @property Bson emptyArray() { return Bson(cast(Bson[])null); } /// Deprecated compatibility alias. deprecated("Please use emptyObject instead.") alias EmptyObject = emptyObject; /// Deprecated compatibility alias. deprecated("Please use emptyArray instead.") alias EmptyArray = emptyArray; private { Type m_type = Type.undefined; bdata_t m_data; } /** Creates a new BSON value using raw data. A slice of the first bytes of 'data' is stored, containg the data related to the value. An exception is thrown if 'data' is too short. */ this(Type type, bdata_t data) { m_type = type; m_data = data; final switch(type){ case Type.end: m_data = null; break; case Type.double_: m_data = m_data[0 .. 8]; break; case Type.string: m_data = m_data[0 .. 4 + fromBsonData!int(m_data)]; break; case Type.object: m_data = m_data[0 .. fromBsonData!int(m_data)]; break; case Type.array: m_data = m_data[0 .. fromBsonData!int(m_data)]; break; case Type.binData: m_data = m_data[0 .. 5 + fromBsonData!int(m_data)]; break; case Type.undefined: m_data = null; break; case Type.objectID: m_data = m_data[0 .. 12]; break; case Type.bool_: m_data = m_data[0 .. 1]; break; case Type.date: m_data = m_data[0 .. 8]; break; case Type.null_: m_data = null; break; case Type.regex: auto tmp = m_data; tmp.skipCString(); tmp.skipCString(); m_data = m_data[0 .. $ - tmp.length]; break; case Type.dbRef: m_data = m_data[0 .. 0]; assert(false, "Not implemented."); case Type.code: m_data = m_data[0 .. 4 + fromBsonData!int(m_data)]; break; case Type.symbol: m_data = m_data[0 .. 4 + fromBsonData!int(m_data)]; break; case Type.codeWScope: m_data = m_data[0 .. 0]; assert(false, "Not implemented."); case Type.int_: m_data = m_data[0 .. 4]; break; case Type.timestamp: m_data = m_data[0 .. 8]; break; case Type.long_: m_data = m_data[0 .. 8]; break; case Type.minKey: m_data = null; break; case Type.maxKey: m_data = null; break; } } /** Initializes a new BSON value from the given D type. */ this(double value) { opAssign(value); } /// ditto this(string value, Type type = Type.string) { assert(type == Type.string || type == Type.code || type == Type.symbol); opAssign(value); m_type = type; } /// ditto this(in Bson[string] value) { opAssign(value); } /// ditto this(in Bson[] value) { opAssign(value); } /// ditto this(in BsonBinData value) { opAssign(value); } /// ditto this(in BsonObjectID value) { opAssign(value); } /// ditto this(bool value) { opAssign(value); } /// ditto this(in BsonDate value) { opAssign(value); } /// ditto this(typeof(null)) { opAssign(null); } /// ditto this(in BsonRegex value) { opAssign(value); } /// ditto this(int value) { opAssign(value); } /// ditto this(in BsonTimestamp value) { opAssign(value); } /// ditto this(long value) { opAssign(value); } /// ditto this(in Json value) { opAssign(value); } /** Assigns a D type to a BSON value. */ void opAssign(in Bson other) { m_data = other.m_data; m_type = other.m_type; } /// ditto void opAssign(double value) { m_data = toBsonData(value).idup; m_type = Type.double_; } /// ditto void opAssign(string value) { import std.utf; debug std.utf.validate(value); auto app = appender!bdata_t(); app.put(toBsonData(cast(int)value.length+1)); app.put(cast(bdata_t)value); app.put(cast(ubyte)0); m_data = app.data; m_type = Type.string; } /// ditto void opAssign(in Bson[string] value) { auto app = appender!bdata_t(); foreach( k, ref v; value ){ app.put(cast(ubyte)v.type); putCString(app, k); app.put(v.data); } auto dapp = appender!bdata_t(); dapp.put(toBsonData(cast(int)app.data.length+5)); dapp.put(app.data); dapp.put(cast(ubyte)0); m_data = dapp.data; m_type = Type.object; } /// ditto void opAssign(in Bson[] value) { auto app = appender!bdata_t(); foreach( i, ref v; value ){ app.put(v.type); putCString(app, to!string(i)); app.put(v.data); } auto dapp = appender!bdata_t(); dapp.put(toBsonData(cast(int)app.data.length+5)); dapp.put(app.data); dapp.put(cast(ubyte)0); m_data = dapp.data; m_type = Type.array; } /// ditto void opAssign(in BsonBinData value) { auto app = appender!bdata_t(); app.put(toBsonData(cast(int)value.rawData.length)); app.put(value.type); app.put(value.rawData); m_data = app.data; m_type = Type.binData; } /// ditto void opAssign(in BsonObjectID value) { m_data = value.m_bytes.idup; m_type = Type.objectID; } /// ditto void opAssign(bool value) { m_data = [value ? 0x01 : 0x00]; m_type = Type.bool_; } /// ditto void opAssign(in BsonDate value) { m_data = toBsonData(value.m_time).idup; m_type = Type.date; } /// ditto void opAssign(typeof(null)) { m_data = null; m_type = Type.null_; } /// ditto void opAssign(in BsonRegex value) { auto app = appender!bdata_t(); putCString(app, value.expression); putCString(app, value.options); m_data = app.data; m_type = type.regex; } /// ditto void opAssign(int value) { m_data = toBsonData(value).idup; m_type = Type.int_; } /// ditto void opAssign(in BsonTimestamp value) { m_data = toBsonData(value.m_time).idup; m_type = Type.timestamp; } /// ditto void opAssign(long value) { m_data = toBsonData(value).idup; m_type = Type.long_; } /// ditto void opAssign(in Json value) { auto app = appender!bdata_t(); m_type = writeBson(app, value); m_data = app.data; } /** Returns the BSON type of this value. */ @property Type type() const { return m_type; } bool isNull() const { return m_type == Type.null_; } /** Returns the raw data representing this BSON value (not including the field name and type). */ @property bdata_t data() const { return m_data; } /** Converts the BSON value to a D value. If the BSON type of the value does not match the D type, an exception is thrown. */ T opCast(T)() const { return get!T(); } /// ditto @property T get(T)() const { static if( is(T == double) ){ checkType(Type.double_); return fromBsonData!double(m_data); } else static if( is(T == string) ){ checkType(Type.string, Type.code, Type.symbol); return cast(string)m_data[4 .. 4+fromBsonData!int(m_data)-1]; } else static if( is(Unqual!T == Bson[string]) || is(Unqual!T == const(Bson)[string]) ){ checkType(Type.object); Bson[string] ret; auto d = m_data[4 .. $]; while( d.length > 0 ){ auto tp = cast(Type)d[0]; if( tp == Type.end ) break; d = d[1 .. $]; auto key = skipCString(d); auto value = Bson(tp, d); d = d[value.data.length .. $]; ret[key] = value; } return cast(T)ret; } else static if( is(Unqual!T == Bson[]) || is(Unqual!T == const(Bson)[]) ){ checkType(Type.array); Bson[] ret; auto d = m_data[4 .. $]; while( d.length > 0 ){ auto tp = cast(Type)d[0]; if( tp == Type.end ) break; /*auto key = */skipCString(d); // should be '0', '1', ... auto value = Bson(tp, d); d = d[value.data.length .. $]; ret ~= value; } return cast(T)ret; } else static if( is(T == BsonBinData) ){ checkType(Type.binData); auto size = fromBsonData!int(m_data); auto type = cast(BsonBinData.Type)m_data[4]; return BsonBinData(type, m_data[5 .. 5+size]); } else static if( is(T == BsonObjectID) ){ checkType(Type.objectID); return BsonObjectID(m_data[0 .. 12]); } else static if( is(T == bool) ){ checkType(Type.bool_); return m_data[0] != 0; } else static if( is(T == BsonDate) ){ checkType(Type.date); return BsonDate(fromBsonData!long(m_data)); } else static if( is(T == BsonRegex) ){ checkType(Type.regex); auto d = m_data; auto expr = skipCString(d); auto options = skipCString(d); return BsonRegex(expr, options); } else static if( is(T == int) ){ checkType(Type.int_); return fromBsonData!int(m_data); } else static if( is(T == BsonTimestamp) ){ checkType(Type.timestamp); return BsonTimestamp(fromBsonData!long(m_data)); } else static if( is(T == long) ){ checkType(Type.long_); return fromBsonData!long(m_data); } else static if( is(T == Json) ){ pragma(msg, "Bson.get!Json() and Bson.opCast!Json() will soon be removed. Please use Bson.toJson() instead."); return this.toJson(); } else static assert(false, "Cannot cast "~typeof(this).stringof~" to '"~T.stringof~"'."); } /** Returns the native type for this BSON if it matches the current runtime type. If the runtime type does not match the given native type, the 'def' parameter is returned instead. */ inout(T) opt(T)(T def = T.init) inout { if( isNull() ) return def; try def = cast(T)this; catch( Exception e ) {} return def; } /** Returns the length of a BSON value of type String, Array, Object or BinData. */ @property size_t length() const { switch( m_type ){ default: enforce(false, "Bson objects of type "~to!string(m_type)~" do not have a length field."); break; case Type.string, Type.code, Type.symbol: return (cast(string)this).length; case Type.array: return (cast(const(Bson)[])this).length; // TODO: optimize! case Type.object: return (cast(const(Bson)[string])this).length; // TODO: optimize! case Type.binData: assert(false); //return (cast(BsonBinData)this).length; break; } assert(false); } /** Converts a given JSON value to the corresponding BSON value. */ static Bson fromJson(in Json value) { auto app = appender!bdata_t(); auto tp = writeBson(app, value); return Bson(tp, app.data); } /** Converts a BSON value to a JSON value. All BSON types that cannot be exactly represented as JSON, will be converted to a string. */ Json toJson() const { switch( this.type ){ default: assert(false); case Bson.Type.double_: return Json(get!double()); case Bson.Type.string: return Json(get!string()); case Bson.Type.object: Json[string] ret; foreach( k, v; get!(Bson[string])() ) ret[k] = v.toJson(); return Json(ret); case Bson.Type.array: auto ret = new Json[this.length]; foreach( i, v; get!(Bson[])() ) ret[i] = v.toJson(); return Json(ret); case Bson.Type.binData: return Json(cast(string)Base64.encode(get!BsonBinData.rawData)); case Bson.Type.objectID: return Json(get!BsonObjectID().toString()); case Bson.Type.bool_: return Json(get!bool()); case Bson.Type.date: return Json(get!BsonDate.toString()); case Bson.Type.null_: return Json(null); case Bson.Type.regex: assert(false, "TODO"); case Bson.Type.dbRef: assert(false, "TODO"); case Bson.Type.code: return Json(get!string()); case Bson.Type.symbol: return Json(get!string()); case Bson.Type.codeWScope: assert(false, "TODO"); case Bson.Type.int_: return Json(get!int()); case Bson.Type.timestamp: return Json(get!BsonTimestamp().m_time); case Bson.Type.long_: return Json(get!long()); } } /** Returns a string representation of this BSON value in JSON format. */ string toString() const { return toJson().toString(); } /** Allows accessing fields of a BSON object using []. Returns a null value if the specified field does not exist. */ inout(Bson) opIndex(string idx) inout { foreach( string key, v; this ) if( key == idx ) return v; return Bson(null); } /// ditto void opIndexAssign(T)(T value, string idx){ auto newcont = appender!bdata_t(); checkType(Type.object); auto d = m_data[4 .. $]; while( d.length > 0 ){ auto tp = cast(Type)d[0]; if( tp == Type.end ) break; d = d[1 .. $]; auto key = skipCString(d); auto val = Bson(tp, d); d = d[val.data.length .. $]; if( key != idx ){ // copy to new array newcont.put(cast(ubyte)tp); putCString(newcont, key); newcont.put(val.data); } } static if( is(T == Bson) ) alias value bval; else auto bval = Bson(value); newcont.put(cast(ubyte)bval.type); putCString(newcont, idx); newcont.put(bval.data); auto newdata = appender!bdata_t(); newdata.put(toBsonData(cast(uint)(newcont.data.length + 5))); newdata.put(newcont.data); newdata.put(cast(ubyte)0); m_data = newdata.data; } /** Allows index based access of a BSON array value. Returns a null value if the index is out of bounds. */ inout(Bson) opIndex(size_t idx) inout { foreach( size_t i, v; this ) if( i == idx ) return v; return Bson(null); } /** Allows foreach iterating over BSON objects and arrays. Note that although D requires to provide a 'ref' argument for opApply, in-place editing of the array/object fields is not possible. Any modification attempty will work on a temporary, even if the loop variable is declared 'ref'. */ int opApply(int delegate(ref Bson obj) del) const { checkType(Type.array, Type.object); if( m_type == Type.array ){ foreach( size_t idx, v; this ) if( auto ret = del(v) ) return ret; return 0; } else { foreach( string idx, v; this ) if( auto ret = del(v) ) return ret; return 0; } } /// ditto int opApply(int delegate(ref size_t idx, ref Bson obj) del) const { checkType(Type.array); auto d = m_data[4 .. $]; size_t i = 0; while( d.length > 0 ){ auto tp = cast(Type)d[0]; if( tp == Type.end ) break; d = d[1 .. $]; skipCString(d); auto value = Bson(tp, d); d = d[value.data.length .. $]; auto icopy = i; if( auto ret = del(icopy, value) ) return ret; i++; } return 0; } /// ditto int opApply(int delegate(ref string idx, ref Bson obj) del) const { checkType(Type.object); auto d = m_data[4 .. $]; while( d.length > 0 ){ auto tp = cast(Type)d[0]; if( tp == Type.end ) break; d = d[1 .. $]; auto key = skipCString(d); auto value = Bson(tp, d); d = d[value.data.length .. $]; if( auto ret = del(key, value) ) return ret; } return 0; } /** Allows to access existing fields of a JSON object using dot syntax. Returns a null value for non-existent fields. */ @property inout(Bson) opDispatch(string prop)() inout { return opIndex(prop); } /// ditto @property void opDispatch(string prop, T)(T val) { opIndexAssign(val, prop); } /// bool opEquals(ref const Bson other) const { if( m_type != other.m_type ) return false; return m_data == other.m_data; } /// ditto bool opEquals(const Bson other) const { if( m_type != other.m_type ) return false; return m_data == other.m_data; } private void checkType(in Type[] valid_types...) const { foreach( t; valid_types ) if( m_type == t ) return; throw new Exception("BSON value is type '"~to!string(m_type)~"', expected to be one of "~to!string(valid_types)); } } /** Represents a BSON binary data value (Bson.Type.binData). */ struct BsonBinData { enum Type : ubyte { generic = 0x00, function_ = 0x01, binaryOld = 0x02, uuid = 0x03, md5 = 0x05, userDefined = 0x80, Generic = generic, /// Compatibility alias - will be deprecated soon Function = function_, /// Compatibility alias - will be deprecated soon BinaryOld = binaryOld, /// Compatibility alias - will be deprecated soon UUID = uuid, /// Compatibility alias - will be deprecated soon MD5 = md5, /// Compatibility alias - will be deprecated soon UserDefined = userDefined, /// Compatibility alias - will be deprecated soon } private { Type m_type; bdata_t m_data; } this(Type type, immutable(ubyte)[] data) { m_type = type; m_data = data; } @property Type type() const { return m_type; } @property bdata_t rawData() const { return m_data; } } /** Represents a BSON object id (Bson.Type.binData). */ struct BsonObjectID { private { ubyte[12] m_bytes; static int ms_pid = -1; static uint ms_inc = 0; static uint MACHINE_ID = 0; } /** Constructs a new object ID from the given raw byte array. */ this( in ubyte[] bytes ){ assert(bytes.length == 12); m_bytes[] = bytes[]; } /** Creates an on object ID from a string in standard hexa-decimal form. */ static BsonObjectID fromString(string str) { assert(str.length == 24, "BSON Object ID string s must be 24 characters."); BsonObjectID ret = void; uint b = 0; foreach( i, ch; str ){ ubyte n; if( ch >= '0' && ch <= '9' ) n = cast(ubyte)(ch - '0'); else if( ch >= 'a' && ch <= 'f' ) n = cast(ubyte)(ch - 'a' + 10); else if( ch >= 'A' && ch <= 'F' ) n = cast(ubyte)(ch - 'F' + 10); else assert(false, "Not a valid hex string."); b <<= 4; b += n; if( i % 8 == 7 ){ auto j = i / 8; ret.m_bytes[j*4 .. (j+1)*4] = toBigEndianData(b)[]; b = 0; } } return ret; } /// ditto alias fromString fromHexString; /** Generates a unique object ID. */ static BsonObjectID generate() { import std.datetime; import std.process; import std.random; if( ms_pid == -1 ) ms_pid = getpid(); if( MACHINE_ID == 0 ) MACHINE_ID = uniform(0, 0xffffff); auto unixTime = Clock.currTime(UTC()).toUnixTime(); BsonObjectID ret = void; ret.m_bytes[0 .. 4] = toBigEndianData(cast(uint)unixTime)[]; ret.m_bytes[4 .. 7] = toBsonData(MACHINE_ID)[0 .. 3]; ret.m_bytes[7 .. 9] = toBsonData(cast(ushort)ms_pid)[]; ret.m_bytes[9 .. 12] = toBigEndianData(ms_inc++)[1 .. 4]; return ret; } /** Creates a pseudo object ID that matches the given date. This kind of ID can be useful to query a database for items in a certain date interval using their ID. This works using the property of standard BSON object IDs that they store their creation date as part of the ID. Note that this date part is only 32-bit wide and is limited to the same timespan as a 32-bit Unix timestamp. */ static BsonObjectID createDateID(in SysTime date) { BsonObjectID ret; ret.m_bytes[0 .. 4] = toBigEndianData(cast(uint)date.toUnixTime())[]; return ret; } /** Returns true for any non-zero ID. */ @property bool valid() const { foreach( b; m_bytes ) if( b != 0 ) return true; return false; } /** Extracts the time/date portion of the object ID. For IDs created using the standard generation algorithm or using createDateID this will return the associated time stamp. */ @property SysTime timeStamp() { ubyte[4] tm = m_bytes[0 .. 4]; return SysTime(unixTimeToStdTime(bigEndianToNative!uint(tm))); } /** Allows for relational comparison of different IDs. */ int opCmp(ref const BsonObjectID other) const { import core.stdc.string; return memcmp(m_bytes.ptr, other.m_bytes.ptr, m_bytes.length); } /** Converts the ID to its standard hexa-decimal string representation. */ string toString() const { enum hexdigits = "0123456789abcdef"; auto ret = new char[24]; foreach( i, b; m_bytes ){ ret[i*2+0] = hexdigits[(b >> 4) & 0x0F]; ret[i*2+1] = hexdigits[b & 0x0F]; } return cast(immutable)ret; } ubyte[] opCast() { return m_bytes; } } /** Represents a BSON date value (Bson.Type.date). BSON date values are stored in UNIX time format, counting the number of milliseconds from 1970/01/01. */ struct BsonDate { private long m_time; // milliseconds since UTC unix epoch /** Constructs a BsonDate from the given date value. The time-zone independent Date and DateTime types are assumed to be in the local time zone and converted to UTC if tz is left to null. */ this(in Date date, immutable TimeZone tz = null) { this(SysTime(date, tz)); } /// ditto this(in DateTime date, immutable TimeZone tz = null) { this(SysTime(date, tz)); } /// ditto this(in SysTime date) { this(fromStdTime(date.stdTime()).m_time); } /** Constructs a BsonDate from the given UNIX time. unix_time needs to be given in milliseconds from 1970/01/01. This is the native storage format for BsonDate. */ this(long unix_time) { m_time = unix_time; } /** Constructs a BsonDate from the given date/time string in ISO extended format. */ static BsonDate fromString(string iso_ext_string) { return BsonDate(SysTime.fromISOExtString(iso_ext_string)); } /** Constructs a BsonDate from the given date/time in standard time as defined in std.datetime. */ static BsonDate fromStdTime(long std_time) { enum zero = unixTimeToStdTime(0); return BsonDate((std_time - zero) / 10_000L); } /** The raw unix time value. This is the native storage/transfer format of a BsonDate. */ @property long value() const { return m_time; } /// ditto @property void value(long v) { m_time = v; } /** Returns the date formatted as ISO extended format. */ string toString() const { return toSysTime().toISOExtString(); } /* Converts to a SysTime. */ SysTime toSysTime() const { auto zero = unixTimeToStdTime(0); return SysTime(zero + m_time * 10_000L, UTC()); } /** Allows relational and equality comparisons. */ bool opEquals(ref const BsonDate other) const { return m_time == other.m_time; } /// ditto int opCmp(ref const BsonDate other) const { if( m_time == other.m_time ) return 0; if( m_time < other.m_time ) return -1; else return 1; } } /** Represents a BSON timestamp value (Bson.Type.timestamp) */ struct BsonTimestamp { private long m_time; this( long time ){ m_time = time; } } /** Represents a BSON regular expression value (Bson.Type.regex). */ struct BsonRegex { private { string m_expr; string m_options; } this(string expr, string options) { m_expr = expr; m_options = options; } @property string expression() const { return m_expr; } @property string options() const { return m_options; } } /** Serializes the given value to BSON. The following types of values are supported: $(DL $(DT Bson) $(DD Used as-is) $(DT Json) $(DD Converted to BSON) $(DT BsonBinData) $(DD Converted to Bson.Type.binData) $(DT BsonObjectID) $(DD Converted to Bson.Type.objectID) $(DT BsonDate) $(DD Converted to Bson.Type.date) $(DT BsonTimestamp) $(DD Converted to Bson.Type.timestamp) $(DT BsonRegex) $(DD Converted to Bson.Type.regex) $(DT null) $(DD Converted to Bson.Type.null_) $(DT bool) $(DD Converted to Bson.Type.bool_) $(DT float, double) $(DD Converted to Bson.Type.double_) $(DT short, ushort, int, uint, long, ulong) $(DD Converted to Bson.Type.long_) $(DT string) $(DD Converted to Bson.Type.string) $(DT ubyte[]) $(DD Converted to Bson.Type.binData) $(DT T[]) $(DD Converted to Bson.Type.array) $(DT T[string]) $(DD Converted to Bson.Type.object) $(DT struct) $(DD Converted to Bson.Type.object) $(DT class) $(DD Converted to Bson.Type.object or Bson.Type.null_) ) All entries of an array or an associative array, as well as all R/W properties and all fields of a struct/class are recursively serialized using the same rules. Fields ending with an underscore will have the last underscore stripped in the serialized output. This makes it possible to use fields with D keywords as their name by simply appending an underscore. The following methods can be used to customize the serialization of structs/classes: --- Bson toBson() const; static T fromBson(Bson src); Json toJson() const; static T fromJson(Json src); string toString() const; static T fromString(string src); --- The methods will have to be defined in pairs. The first pair that is implemented by the type will be used for serialization (i.e. toBson overrides toJson). */ Bson serializeToBson(T)(T value, ubyte[] buffer = null) { version (VibeOldSerialization) { return serializeToBsonOld(value); } else { return serialize!BsonSerializer(value, buffer); } } /// private Bson serializeToBsonOld(T)(T value) { alias Unqual!T Unqualified; static if (is(Unqualified == Bson)) return value; else static if (is(Unqualified == Json)) return Bson.fromJson(value); else static if (is(Unqualified == BsonBinData)) return Bson(value); else static if (is(Unqualified == BsonObjectID)) return Bson(value); else static if (is(Unqualified == BsonDate)) return Bson(value); else static if (is(Unqualified == BsonTimestamp)) return Bson(value); else static if (is(Unqualified == BsonRegex)) return Bson(value); else static if (is(Unqualified == DateTime)) return Bson(BsonDate(value, UTC())); else static if (is(Unqualified == SysTime)) return Bson(BsonDate(value)); else static if (is(Unqualified == Date)) return Bson(BsonDate(value, UTC())); else static if (is(Unqualified == typeof(null))) return Bson(null); else static if (is(Unqualified == bool)) return Bson(value); else static if (is(Unqualified == float)) return Bson(cast(double)value); else static if (is(Unqualified == double)) return Bson(value); else static if (is(Unqualified : int)) return Bson(cast(int)value); else static if (is(Unqualified : long)) return Bson(cast(long)value); else static if (is(Unqualified : string)) return Bson(value); else static if (is(Unqualified : const(ubyte)[])) return Bson(BsonBinData(BsonBinData.Type.generic, value.idup)); else static if (isArray!T) { auto ret = new Bson[value.length]; foreach (i; 0 .. value.length) ret[i] = serializeToBson(value[i]); return Bson(ret); } else static if (isAssociativeArray!T) { Bson[string] ret; alias KeyType!T TK; foreach (key, value; value) { static if(is(TK == string)) { ret[key] = serializeToBson(value); } else static if (is(TK == enum)) { ret[to!string(key)] = serializeToBson(value); } else static if (isStringSerializable!(TK)) { ret[key.toString()] = serializeToBson(value); } else static assert("AA key type %s not supported for BSON serialization."); } return Bson(ret); } else static if (isBsonSerializable!Unqualified) { return value.toBson(); } else static if (isJsonSerializable!Unqualified) { return Bson.fromJson(value.toJson()); } else static if (isStringSerializable!Unqualified) { return Bson(value.toString()); } else static if (is(Unqualified == struct)) { Bson[string] ret; foreach (m; __traits(allMembers, T)) { static if (isRWField!(Unqualified, m)) { auto mv = __traits(getMember, value, m); ret[underscoreStrip(m)] = serializeToBson(mv); } } return Bson(ret); } else static if (is(Unqualified == class)) { if (value is null) return Bson(null); Bson[string] ret; foreach (m; __traits(allMembers, T)) { static if (isRWField!(Unqualified, m)) { auto mv = __traits(getMember, value, m); ret[underscoreStrip(m)] = serializeToBson(mv); } } return Bson(ret); } else { static assert(false, "Unsupported type '"~T.stringof~"' for BSON serialization."); } } template deserializeBson(T) { /** Deserializes a BSON value into the destination variable. The same types as for serializeToBson() are supported and handled inversely. */ void deserializeBson(ref T dst, Bson src) { dst = deserializeBson!T(src); } /// ditto T deserializeBson(Bson src) { version (VibeOldSerialization) { return deserializeBsonOld!T(src); } else { return deserialize!(BsonSerializer, T)(src); } } } /// private T deserializeBsonOld(T)(Bson src) { static if (is(T == Bson)) return src; else static if (is(T == Json)) return src.toJson(); else static if (is(T == BsonBinData)) return cast(T)src; else static if (is(T == BsonObjectID)) return cast(T)src; else static if (is(T == BsonDate)) return cast(T)src; else static if (is(T == BsonTimestamp)) return cast(T)src; else static if (is(T == BsonRegex)) return cast(T)src; else static if (is(T == SysTime)) return src.get!BsonDate().toSysTime(); else static if (is(T == DateTime)) return cast(DateTime)src.get!BsonDate().toSysTime(); else static if (is(T == Date)) return cast(Date)src.get!BsonDate().toSysTime(); else static if (is(T == typeof(null))) return null; else static if (is(T == bool)) return cast(bool)src; else static if (is(T == float)) return cast(double)src; else static if (is(T == double)) return cast(double)src; else static if (is(T : int)) return cast(T)cast(int)src; else static if (is(T : long)) return cast(T)cast(long)src; else static if (is(T : string)) return cast(T)(cast(string)src); else static if (is(T : const(ubyte)[])) return cast(T)src.get!BsonBinData.rawData.dup; else static if (isArray!T) { alias typeof(T.init[0]) TV; auto ret = new Unqual!TV[src.length]; foreach (size_t i, v; cast(Bson[])src) ret[i] = deserializeBson!(Unqual!TV)(v); return ret; } else static if (isAssociativeArray!T) { alias typeof(T.init.values[0]) TV; alias KeyType!T TK; Unqual!TV[TK] dst; foreach (string key, value; src) { static if (is(TK == string)) { dst[key] = deserializeBson!(Unqual!TV)(value); } else static if (is(TK == enum)) { dst[to!(TK)(key)] = deserializeBson!(Unqual!TV)(value); } else static if (isStringSerializable!TK) { auto dsk = TK.fromString(key); dst[dsk] = deserializeBson!(Unqual!TV)(value); } else static assert("AA key type %s not supported for BSON serialization."); } return dst; } else static if (isBsonSerializable!T) { return T.fromBson(src); } else static if (isJsonSerializable!T) { return T.fromJson(src.toJson()); } else static if (isStringSerializable!T) { return T.fromString(cast(string)src); } else static if (is(T == struct)) { T dst; foreach (m; __traits(allMembers, T)) { static if (isRWPlainField!(T, m) || isRWField!(T, m)) { alias typeof(__traits(getMember, dst, m)) TM; debug enforce(!src[underscoreStrip(m)].isNull() || is(TM == class) || isPointer!TM || is(TM == typeof(null)), "Missing field '"~underscoreStrip(m)~"'."); __traits(getMember, dst, m) = deserializeBson!TM(src[underscoreStrip(m)]); } } return dst; } else static if (is(T == class)) { if (src.isNull()) return null; auto dst = new T; foreach (m; __traits(allMembers, T)) { static if (isRWPlainField!(T, m) || isRWField!(T, m)) { alias typeof(__traits(getMember, dst, m)) TM; __traits(getMember, dst, m) = deserializeBson!TM(src[underscoreStrip(m)]); } } return dst; } else static if (isPointer!T) { if (src.type == Bson.Type.null_) return null; alias typeof(*T.init) TD; dst = new TD; *dst = deserializeBson!TD(src); return dst; } else { static assert(false, "Unsupported type '"~T.stringof~"' for BSON serialization."); } } unittest { import std.stdio; enum Foo : string { k = "test" } enum Boo : int { l = 5 } static struct S { float a; double b; bool c; int d; string e; byte f; ubyte g; long h; ulong i; float[] j; Foo k; Boo l;} immutable S t = {1.5, -3.0, true, int.min, "Test", -128, 255, long.min, ulong.max, [1.1, 1.2, 1.3], Foo.k, Boo.l,}; S u; deserializeBson(u, serializeToBson(t)); assert(t.a == u.a); assert(t.b == u.b); assert(t.c == u.c); assert(t.d == u.d); assert(t.e == u.e); assert(t.f == u.f); assert(t.g == u.g); assert(t.h == u.h); assert(t.i == u.i); assert(t.j == u.j); assert(t.k == u.k); assert(t.l == u.l); } unittest { assert(uint.max == serializeToBson(uint.max).deserializeBson!uint); assert(ulong.max == serializeToBson(ulong.max).deserializeBson!ulong); } unittest { assert(deserializeBson!SysTime(serializeToBson(SysTime(0))) == SysTime(0)); assert(deserializeBson!SysTime(serializeToBson(SysTime(0, UTC()))) == SysTime(0, UTC())); assert(deserializeBson!Date(serializeToBson(Date.init)) == Date.init); assert(deserializeBson!Date(serializeToBson(Date(2001, 1, 1))) == Date(2001, 1, 1)); } unittest { static struct A { int value; static A fromJson(Json val) { return A(val.get!int); } Json toJson() const { return Json(value); } Bson toBson() { return Bson(); } } static assert(!isStringSerializable!A && isJsonSerializable!A && !isBsonSerializable!A); static assert(!isStringSerializable!(const(A)) && !isJsonSerializable!(const(A)) && !isBsonSerializable!(const(A))); assert(serializeToBson(const A(123)) == Bson(123)); assert(serializeToBson(A(123)) == Bson(123)); static struct B { int value; static B fromBson(Bson val) { return B(val.get!int); } Bson toBson() const { return Bson(value); } Json toJson() { return Json(); } } static assert(!isStringSerializable!B && !isJsonSerializable!B && isBsonSerializable!B); static assert(!isStringSerializable!(const(B)) && !isJsonSerializable!(const(B)) && !isBsonSerializable!(const(B))); assert(serializeToBson(const B(123)) == Bson(123)); assert(serializeToBson(B(123)) == Bson(123)); static struct C { int value; static C fromString(string val) { return C(val.to!int); } string toString() const { return value.to!string; } Json toJson() { return Json(); } } static assert(isStringSerializable!C && !isJsonSerializable!C && !isBsonSerializable!C); static assert(!isStringSerializable!(const(C)) && !isJsonSerializable!(const(C)) && !isBsonSerializable!(const(C))); assert(serializeToBson(const C(123)) == Bson("123")); assert(serializeToBson(C(123)) == Bson("123")); static struct D { int value; string toString() const { return ""; } } static assert(!isStringSerializable!D && !isJsonSerializable!D && !isBsonSerializable!D); static assert(!isStringSerializable!(const(D)) && !isJsonSerializable!(const(D)) && !isBsonSerializable!(const(D))); assert(serializeToBson(const D(123)) == serializeToBson(["value": 123])); assert(serializeToBson(D(123)) == serializeToBson(["value": 123])); // test if const(class) is serializable static class E { int value; this(int v) { value = v; } static E fromBson(Bson val) { return new E(val.get!int); } Bson toBson() const { return Bson(value); } Json toJson() { return Json(); } } static assert(!isStringSerializable!E && !isJsonSerializable!E && isBsonSerializable!E); static assert(!isStringSerializable!(const(E)) && !isJsonSerializable!(const(E)) && !isBsonSerializable!(const(E))); assert(serializeToBson(new const E(123)) == Bson(123)); assert(serializeToBson(new E(123)) == Bson(123)); } unittest { static struct E { ubyte[4] bytes; ubyte[] more; } auto e = E([1, 2, 3, 4], [5, 6]); auto eb = serializeToBson(e); assert(eb.bytes.type == Bson.Type.binData); assert(eb.more.type == Bson.Type.binData); assert(e == deserializeBson!E(eb)); } unittest { static class C { int a; private int _b; @property int b() const { return _b; } @property void b(int v) { _b = v; } @property int test() const { return 10; } void test2() {} } C c = new C; c.a = 1; c.b = 2; C d; deserializeBson(d, serializeToBson(c)); assert(c.a == d.a); assert(c.b == d.b); const(C) e = c; // serialize const class instances (issue #653) deserializeBson(d, serializeToBson(e)); assert(e.a == d.a); assert(e.b == d.b); } unittest { static struct C { int value; static C fromString(string val) { return C(val.to!int); } string toString() const { return value.to!string; } } enum Color { Red, Green, Blue } { static class T { string[Color] enumIndexedMap; string[C] stringableIndexedMap; this() { enumIndexedMap = [ Color.Red : "magenta", Color.Blue : "deep blue" ]; stringableIndexedMap = [ C(42) : "forty-two" ]; } } T original = new T; original.enumIndexedMap[Color.Green] = "olive"; T other; deserializeBson(other, serializeToBson(original)); assert(serializeToBson(other) == serializeToBson(original)); } { static struct S { string[Color] enumIndexedMap; string[C] stringableIndexedMap; } S original; original.enumIndexedMap = [ Color.Red : "magenta", Color.Blue : "deep blue" ]; original.enumIndexedMap[Color.Green] = "olive"; original.stringableIndexedMap = [ C(42) : "forty-two" ]; S other; deserializeBson(other, serializeToBson(original)); assert(serializeToBson(other) == serializeToBson(original)); } } unittest { ubyte[] data = [1, 2, 3]; auto bson = serializeToBson(data); assert(bson.type == Bson.Type.binData); assert(deserializeBson!(ubyte[])(bson) == data); } unittest { // issue #709 ulong[] data = [2354877787627192443, 1, 2354877787627192442]; auto bson = Bson.fromJson(serializeToBson(data).toJson); assert(deserializeBson!(ulong[])(bson) == data); } /** Serializes to an in-memory BSON representation. See_Also: vibe.data.serialization.serialize, vibe.data.serialization.deserialize, serializeToBson, deserializeBson */ struct BsonSerializer { import vibe.utils.array : AllocAppender; private { AllocAppender!(ubyte[]) m_dst; size_t[] m_compositeStack; Bson.Type m_type = Bson.Type.null_; Bson m_inputData; string m_entryName; size_t m_entryIndex = size_t.max; } this(Bson input) { m_inputData = input; } this(ubyte[] buffer) { import vibe.utils.memory; m_dst = AllocAppender!(ubyte[])(defaultAllocator(), buffer); } @disable this(this); template isSupportedValueType(T) { enum isSupportedValueType = is(typeof(getBsonTypeID(T.init))); } // // serialization // Bson getSerializedResult() { auto ret = Bson(m_type, cast(immutable)m_dst.data); m_dst.reset(); m_type = Bson.Type.null_; return ret; } void beginWriteDictionary(T)() { writeCompositeEntryHeader(Bson.Type.object); m_compositeStack ~= m_dst.data.length; m_dst.put(toBsonData(cast(int)0)); } void endWriteDictionary(T)() { m_dst.put(Bson.Type.end); auto sh = m_compositeStack[$-1]; m_compositeStack.length--; m_dst.data[sh .. sh + 4] = toBsonData(cast(uint)(m_dst.data.length - sh))[]; } void beginWriteDictionaryEntry(T)(string name) { m_entryName = name; } void endWriteDictionaryEntry(T)(string name) {} void beginWriteArray(T)(size_t) { writeCompositeEntryHeader(Bson.Type.array); m_compositeStack ~= m_dst.data.length; m_dst.put(toBsonData(cast(int)0)); } void endWriteArray(T)() { endWriteDictionary!T(); } void beginWriteArrayEntry(T)(size_t idx) { m_entryIndex = idx; } void endWriteArrayEntry(T)(size_t idx) {} // auto ref does't work for DMD 2.064 void writeValue(T)(/*auto ref const*/ in T value) { writeValueH!(T, true)(value); } private void writeValueH(T, bool write_header)(/*auto ref const*/ in T value) { static if (write_header) writeCompositeEntryHeader(getBsonTypeID(value)); static if (is(T == Bson)) { m_dst.put(value.data); } else static if (is(T == Json)) { m_dst.put(Bson(value).data); } // FIXME: use .writeBsonValue else static if (is(T == typeof(null))) {} else static if (is(T == string)) { m_dst.put(toBsonData(cast(uint)value.length+1)); m_dst.putCString(value); } else static if (is(T == BsonBinData)) { m_dst.put(toBsonData(cast(int)value.rawData.length)); m_dst.put(value.type); m_dst.put(value.rawData); } else static if (is(T == BsonObjectID)) { m_dst.put(value.m_bytes[]); } else static if (is(T == BsonDate)) { m_dst.put(toBsonData(value.m_time)); } else static if (is(T == SysTime)) { m_dst.put(toBsonData(BsonDate(value).m_time)); } else static if (is(T == BsonRegex)) { m_dst.putCString(value.expression); m_dst.putCString(value.options); } else static if (is(T == BsonTimestamp)) { m_dst.put(toBsonData(value.m_time)); } else static if (is(T == bool)) { m_dst.put(cast(ubyte)(value ? 0x01 : 0x00)); } else static if (is(T : int)) { m_dst.put(toBsonData(cast(int)value)); } else static if (is(T : long)) { m_dst.put(toBsonData(value)); } else static if (is(T : double)) { m_dst.put(toBsonData(cast(double)value)); } else static if (isBsonSerializable!T) m_dst.put(value.toBson().data); else static if (isJsonSerializable!T) m_dst.put(Bson(value.toJson()).data); else static if (is(T : const(ubyte)[])) { writeValueH!(BsonBinData, false)(BsonBinData(BsonBinData.Type.generic, value.idup)); } else static assert(false, "Unsupported type: " ~ T.stringof); } private void writeCompositeEntryHeader(Bson.Type tp) { if (!m_compositeStack.length) { assert(m_type == Bson.Type.null_, "Overwriting root item."); m_type = tp; } if (m_entryName) { m_dst.put(tp); m_dst.putCString(m_entryName); m_entryName = null; } else if (m_entryIndex != size_t.max) { import std.format; m_dst.put(tp); static struct Wrapper { AllocAppender!(ubyte[])* app; void put(char ch) { (*app).put(ch); } void put(in char[] str) { (*app).put(cast(ubyte[])str); } } auto wr = Wrapper(&m_dst); wr.formattedWrite("%d\0", m_entryIndex); m_entryIndex = size_t.max; } } // // deserialization // void readDictionary(T)(scope void delegate(string) entry_callback) { enforce(m_inputData.type == Bson.Type.object, "Expected object instead of "~m_inputData.type.to!string()); auto old = m_inputData; foreach (string name, value; old) { m_inputData = value; entry_callback(name); } m_inputData = old; } void readArray(T)(scope void delegate(size_t) size_callback, scope void delegate() entry_callback) { enforce(m_inputData.type == Bson.Type.array, "Expected array instead of "~m_inputData.type.to!string()); auto old = m_inputData; foreach (value; old) { m_inputData = value; entry_callback(); } m_inputData = old; } T readValue(T)() { static if (is(T == Bson)) return m_inputData; else static if (is(T == Json)) return m_inputData.toJson(); else static if (is(T == bool)) return m_inputData.get!bool(); else static if (is(T == uint)) return cast(T)m_inputData.get!int(); else static if (is(T : int)) return m_inputData.get!int().to!T; else static if (is(T : long)) return cast(T)m_inputData.get!long(); else static if (is(T : double)) return cast(T)m_inputData.get!double(); else static if (is(T == SysTime)) { // support legacy behavior to serialize as string if (m_inputData.type == Bson.Type.string) return SysTime.fromISOExtString(m_inputData.get!string); else return m_inputData.get!BsonDate().toSysTime(); } else static if (isBsonSerializable!T) return T.fromBson(readValue!Bson); else static if (isJsonSerializable!T) return T.fromJson(readValue!Bson.toJson()); else static if (is(T : const(ubyte)[])) { auto ret = m_inputData.get!BsonBinData.rawData; static if (isStaticArray!T) return cast(T)ret[0 .. T.length]; else static if (is(T : immutable(char)[])) return ret; else return cast(T)ret.dup; } else return m_inputData.get!T(); } bool tryReadNull() { if (m_inputData.type == Bson.Type.null_) return true; return false; } private static Bson.Type getBsonTypeID(T, bool accept_ao = false)(/*auto ref const*/ in T value) { Bson.Type tp; static if (is(T == Bson)) tp = value.type; else static if (is(T == Json)) tp = jsonTypeToBsonType(value.type); else static if (is(T == typeof(null))) tp = Bson.Type.null_; else static if (is(T == string)) tp = Bson.Type.string; else static if (is(T == BsonBinData)) tp = Bson.Type.binData; else static if (is(T == BsonObjectID)) tp = Bson.Type.objectID; else static if (is(T == BsonDate)) tp = Bson.Type.date; else static if (is(T == SysTime)) tp = Bson.Type.date; else static if (is(T == BsonRegex)) tp = Bson.Type.regex; else static if (is(T == BsonTimestamp)) tp = Bson.Type.timestamp; else static if (is(T == bool)) tp = Bson.Type.bool_; else static if (is(T : int)) tp = Bson.Type.int_; else static if (is(T : long)) tp = Bson.Type.long_; else static if (is(T : double)) tp = Bson.Type.double_; else static if (isBsonSerializable!T) tp = value.toBson().type; // FIXME: this is highly inefficient else static if (isJsonSerializable!T) tp = jsonTypeToBsonType(value.toJson().type); // FIXME: this is highly inefficient else static if (is(T : const(ubyte)[])) tp = Bson.Type.binData; else static if (accept_ao && isArray!T) tp = Bson.Type.array; else static if (accept_ao && isAssociativeArray!T) tp = Bson.Type.object; else static if (accept_ao && (is(T == class) || is(T == struct))) tp = Bson.Type.object; else static assert(false, "Unsupported type: " ~ T.stringof); return tp; } } private Bson.Type jsonTypeToBsonType(Json.Type tp) { static immutable Bson.Type[Json.Type.max+1] JsonIDToBsonID = [ Bson.Type.undefined, Bson.Type.null_, Bson.Type.bool_, Bson.Type.int_, Bson.Type.double_, Bson.Type.string, Bson.Type.array, Bson.Type.object ]; return JsonIDToBsonID[tp]; } /* * Json int_ handles both 32 and 64 bit values, thus we need to know * if there any long value in an array to apply optimization and store * array as int[]. */ private Bson.Type jsonArrayFindNeededIntType(ref const Json v) { assert(v.type == Json.Type.array); auto array = v.get!(Json[]); assert(array.length); auto firstType = array[0].type; if(firstType == Json.Type.int_) { // if we get at least one long, then whole array is long[] foreach(ref const Json ev; array) { auto lv = cast(long)ev; if( lv < int.min || lv > int.max ) { return Bson.Type.long_; } } return Bson.Type.int_; } // Should never occur debug assert(false); else return Bson.Type.undefined; } private Bson.Type writeBson(R)(ref R dst, in Json value) if( isOutputRange!(R, ubyte) ) { final switch(value.type){ case Json.Type.undefined: return Bson.Type.undefined; case Json.Type.null_: return Bson.Type.null_; case Json.Type.bool_: dst.put(cast(ubyte)(cast(bool)value ? 0x01 : 0x00)); return Bson.Type.bool_; case Json.Type.int_: auto v = cast(long)value; if( v >= int.min && v <= int.max ){ dst.put(toBsonData(cast(int)v)); return Bson.Type.int_; } dst.put(toBsonData(v)); return Bson.Type.long_; case Json.Type.float_: dst.put(toBsonData(cast(double)value)); return Bson.Type.double_; case Json.Type.string: dst.put(toBsonData(cast(uint)value.length+1)); dst.put(cast(bdata_t)cast(string)value); dst.put(cast(ubyte)0); return Bson.Type.string; case Json.Type.array: auto app = appender!bdata_t(); auto elemIntType = Bson.Type.undefined; foreach( size_t i, ref const Json v; value ){ if(v.type == Json.Type.int_) { if(elemIntType == Bson.Type.undefined) { elemIntType = jsonArrayFindNeededIntType(value); } if(elemIntType == Bson.Type.long_) { // Converting all ints to longs if there is any long value app.put(cast(ubyte)(Bson.Type.long_)); putCString(app, to!string(i)); app.put(toBsonData(cast(long)v)); } else { app.put(cast(ubyte)(Bson.Type.int_)); putCString(app, to!string(i)); app.put(toBsonData(cast(int)v)); } } else { app.put(cast(ubyte)(jsonTypeToBsonType(v.type))); putCString(app, to!string(i)); writeBson(app, v); } } dst.put(toBsonData(cast(int)(app.data.length + int.sizeof + 1))); dst.put(app.data); dst.put(cast(ubyte)0); return Bson.Type.array; case Json.Type.object: auto app = appender!bdata_t(); foreach( string k, ref const Json v; value ){ app.put(cast(ubyte)(jsonTypeToBsonType(v.type))); putCString(app, k); writeBson(app, v); } dst.put(toBsonData(cast(int)(app.data.length + int.sizeof + 1))); dst.put(app.data); dst.put(cast(ubyte)0); return Bson.Type.object; } } unittest { Json jsvalue = parseJsonString("{\"key\" : \"Value\"}"); assert(serializeToBson(jsvalue).toJson() == jsvalue); jsvalue = parseJsonString("{\"key\" : [{\"key\" : \"Value\"}, {\"key2\" : \"Value2\"}] }"); assert(serializeToBson(jsvalue).toJson() == jsvalue); jsvalue = parseJsonString("[ 1 , 2 , 3]"); assert(serializeToBson(jsvalue).toJson() == jsvalue); } private string skipCString(ref bdata_t data) { auto idx = data.countUntil(0); enforce(idx >= 0, "Unterminated BSON C-string."); auto ret = data[0 .. idx]; data = data[idx+1 .. $]; return cast(string)ret; } private void putCString(R)(ref R dst, string str) { dst.put(cast(bdata_t)str); dst.put(cast(ubyte)0); } ubyte[] toBsonData(T)(T v) { /*static T tmp; tmp = nativeToLittleEndian(v); return cast(ubyte[])((&tmp)[0 .. 1]);*/ if (__ctfe) return nativeToLittleEndian(v).dup; else { static ubyte[T.sizeof] ret; ret = nativeToLittleEndian(v); return ret; } } T fromBsonData(T)(in ubyte[] v) { assert(v.length >= T.sizeof); //return (cast(T[])v[0 .. T.sizeof])[0]; ubyte[T.sizeof] vu = v[0 .. T.sizeof]; return littleEndianToNative!T(vu); } ubyte[] toBigEndianData(T)(T v) { if (__ctfe) return nativeToBigEndian(v).dup; else { static ubyte[T.sizeof] ret; ret = nativeToBigEndian(v); return ret; } } private string underscoreStrip(string field_name) pure { if( field_name.length < 1 || field_name[$-1] != '_' ) return field_name; else return field_name[0 .. $-1]; } /// private package template isBsonSerializable(T) { enum isBsonSerializable = is(typeof(T.init.toBson()) == Bson) && is(typeof(T.fromBson(Bson())) == T); }
D
module android.java.android.text.NoCopySpan_Concrete_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.lang.Class_d_interface; @JavaName("NoCopySpan$Concrete") final class NoCopySpan_Concrete : IJavaObject { static immutable string[] _d_canCastTo = [ "android/text/NoCopySpan", ]; @Import this(arsd.jni.Default); @Import import0.Class getClass(); @Import int hashCode(); @Import bool equals(IJavaObject); @Import @JavaName("toString") string toString_(); override string toString() { return arsd.jni.javaObjectToString(this); } @Import void notify(); @Import void notifyAll(); @Import void wait(long); @Import void wait(long, int); @Import void wait(); mixin IJavaObjectImplementation!(false); public static immutable string _javaParameterString = "Landroid/text/NoCopySpan$Concrete;"; }
D
/home/yanis/BigProjectRust/ppm/rust-lib/target/debug/build/ppm-eef3c6ae9b24a276/build_script_build-eef3c6ae9b24a276: build.rs /home/yanis/BigProjectRust/ppm/rust-lib/target/debug/build/ppm-eef3c6ae9b24a276/build_script_build-eef3c6ae9b24a276.d: build.rs build.rs:
D
module android.java.android.provider.ContactsContract_CommonDataKinds_BaseTypes_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.lang.Class_d_interface; @JavaName("ContactsContract$CommonDataKinds$BaseTypes") final class ContactsContract_CommonDataKinds_BaseTypes : IJavaObject { static immutable string[] _d_canCastTo = [ ]; @Import import0.Class getClass(); @Import int hashCode(); @Import bool equals(IJavaObject); @Import @JavaName("toString") string toString_(); override string toString() { return arsd.jni.javaObjectToString(this); } @Import void notify(); @Import void notifyAll(); @Import void wait(long); @Import void wait(long, int); @Import void wait(); mixin IJavaObjectImplementation!(false); public static immutable string _javaParameterString = "Landroid/provider/ContactsContract$CommonDataKinds$BaseTypes;"; }
D
module cv.bsearch; import lib.pointsettype; void main(string[] args) { import std.stdio; import std.conv : to; if (args.length < 5) return stderr.writeln("bsearch-cv s m n v"); immutable s = DimensionR(args[1].to!size_t()), m = DimensionF2(args[2].to!size_t()), n = Precision(args[3].to!size_t()), v = args[4].to!real(); assert (4 <= s.s && s.s <= 16, "only 4 <= s <= 16 is supported"); "%.15f".writefln(bs(s, m, n, v)); } auto bs(F)(in DimensionR s, in DimensionF2 m, in Precision n, in F v, in F left=-1, in F right=1) { import std.string, std.exception; enforce(left <= right, "bs(s, m, n, v, %f > %f)".format(left, right)); enum EPS = 1e-10; immutable lv = cv!F(s, m, n, left), rv = cv!F(s, m, n, right), mid = (left + right) * 0.5, mv = cv!F(s, m, n, mid); if (right - left < EPS) return mid; enforce(lv >= rv, "bs: f(%f) = %f < %f = f(%f)".format(left, lv, rv, right)); if (v < rv) try return bs(s, m, n, v, right, right+1); catch return bs(s, DimensionF2(m.m-1), n, v); if (lv < v) try return bs(s, m, n, v, left-1, right); catch return bs(s, DimensionF2(m.m+1), n, v); if (mv < v) return bs(s, m, n, v, left, mid); if (v < mv) return bs(s, m, n, v, mid, right); return mid; } F cv(F)(in DimensionR s, in DimensionF2 m, in Precision n, in F c) { return volatility0!F(m) * volatility1(s, n, c); } import std.math; F volatility0(F)(in DimensionF2 m) { F v = 2; return (v ^^ m.m - 1).sqrt(); } auto volatility1(F)(in DimensionR s, in Precision n, in F c) { import std.math; F numerator = 1, denominator = 1; auto eps = 2 ^^ (c - 1); static assert (is (typeof (eps) == F)); foreach (j; 0..n.n) { eps *= 0.5; numerator *= 1 + eps * eps; denominator *= 1 + eps; } numerator = numerator ^^ s.s - 1; denominator = denominator ^^ s.s - 1; return numerator.sqrt() / denominator; }
D
<?xml version="1.0" encoding="UTF-8"?> <di:SashWindowsMngr xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:XMI="http://www.omg.org/XMI" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" XMI:version="2.0"> <pageList xsi:type="di:PageList"> <availablePage xsi:type="di:PageRef"/> </pageList> <sashModel xsi:type="di:SashModel" currentSelection="#//@sashModel/@windows.0/@children.0"> <windows xsi:type="di:Window"> <children xsi:type="di:TabFolder"> <children xsi:type="di:PageRef" emfPageIdentifier="notation:Diagram mapping.profile.notation#_ubKfgBt9EeO1Et3dhYErGQ"/> </children> </windows> </sashModel> </di:SashWindowsMngr>
D
module app; import vibe.vibe; interface ITestAPI { @property ISub sub(); @method(HTTPMethod.POST) @path("other/path") string info(); string getInfo(); @path("getCheck/:param/:param2") @method(HTTPMethod.GET) string customParameters(string _param, string _param2); @path("getCheck2/:param/:param2") @method(HTTPMethod.GET) int customParameters2(int _param, bool _param2); @path(":id/idtest1") int testID1(int _id); @path("idtest2") int testID2(int id); // the special "id" parameter int get(int id); // the special "id" parameter on "/"" path int testKeyword(int body_, int const_); } interface ISub { int get(int id); } class TestAPI : ITestAPI { SubAPI m_sub; this() { m_sub = new SubAPI; } @property SubAPI sub() { return m_sub; } string getInfo() { return "description"; } string info() { return "description2"; } string customParameters(string _param, string _param2) { return _param ~ _param2; } int customParameters2(int _param, bool _param2) { return _param2 ? _param : -_param; } int testID1(int _id) { return _id; } int testID2(int id) { return id; } int get(int id) { return id; } int testKeyword(int body_, int const_) { return body_ + const_; } } class SubAPI : ISub { int get(int id) { return id; } } interface ITestAPICors { string getFoo(); string setFoo(); string addFoo(); @path("bar/:param3") string addBar(int _param3); @path("bar/:param4") string removeBar(int _param4); @path("bar/:param5") string updateBar(int _param5); string setFoo(int id); string addFoo(int id); string removeFoo(int id); } class TestAPICors : ITestAPICors { string getFoo() { return "foo"; }; string setFoo() { return "foo"; }; string addFoo() { return "foo"; }; string addBar(int _param3) { return "bar"; }; string removeBar(int _param4) { return "bar"; }; string updateBar(int _param5) { return "bar"; }; string setFoo(int id) { return "foo"; }; string addFoo(int id) { return "foo"; }; string removeFoo(int id) { return "foo"; }; } enum ShouldFail { Yes, No } void assertHeader(ref InetHeaderMap headers, ShouldFail shouldFail, string header, string value) { import std.algorithm : equal; auto h = header in headers; if (shouldFail == ShouldFail.Yes) { assert(h is null); return; } assert(h !is null); assert(equal((*h),value)); } void assertCorsHeaders(string url, HTTPMethod method, ShouldFail shouldFail, string origin) { // preflight request requestHTTP(url, (scope HTTPClientRequest req) { req.method = HTTPMethod.OPTIONS; req.headers["Origin"] = origin; req.headers["Access-Control-Request-Method"] = method.to!string; req.headers["Access-Control-Request-Headers"] = "Authorization"; }, (scope HTTPClientResponse res) { res.headers.assertHeader(shouldFail,"Access-Control-Allow-Origin",origin); res.headers.assertHeader(shouldFail,"Access-Control-Allow-Credentials","true"); res.headers.assertHeader(shouldFail,"Access-Control-Allow-Methods",method.to!string); res.headers.assertHeader(shouldFail,"Access-Control-Allow-Headers","Authorization"); res.dropBody(); }); // normal request requestHTTP(url, (scope HTTPClientRequest req) { req.method = method; req.headers["Origin"] = origin; }, (scope HTTPClientResponse res) { res.headers.assertHeader(shouldFail,"Access-Control-Allow-Origin",origin); res.headers.assertHeader(shouldFail,"Access-Control-Allow-Credentials","true"); res.dropBody(); }); } void assertCorsPasses(string url, HTTPMethod method, string origin = "www.example.com") { assertCorsHeaders(url, method, ShouldFail.No, origin); } void assertCorsFails(string url, HTTPMethod method, string origin = "www.example.com") { assertCorsHeaders(url, method, ShouldFail.Yes, origin); } // According to specs, when a resource is requested with the OPTIONS method the server should // return the Allow header that specifies all methods available on that resource. // Since a CORS preflight also uses the OPTIONS method, we implemented the Allow header as well. void testAllowHeader(string url, HTTPMethod[] methods) { import std.algorithm : joiner; import std.conv : text; string allow = methods.map!(m=>m.to!string).joiner(",").text; requestHTTP(url, (scope HTTPClientRequest req) { req.method = HTTPMethod.OPTIONS; }, (scope HTTPClientResponse res) { res.headers.assertHeader(ShouldFail.No,"Allow",allow); res.dropBody(); }); } void testCors(string url, HTTPMethod[] methods) { foreach(method; methods) assertCorsPasses(url, method); } void createRestTestInterface(URLRouter router, string path, string[] allowedOrigins) { auto corsRestSettings = new RestInterfaceSettings(); corsRestSettings.baseURL = URL(path); corsRestSettings.methodStyle = MethodStyle.lowerUnderscored; corsRestSettings.allowedOrigins = allowedOrigins.dup; registerRestInterface!ITestAPICors(router, new TestAPICors, corsRestSettings); } void runTest() { auto router = new URLRouter; registerRestInterface!ITestAPI(router, new TestAPI, "/root/"); // we create 3 api's to test the allowed origins router.createRestTestInterface("http://127.0.0.1/cors1/",["www.foobar.com","www.example.com"]); router.createRestTestInterface("http://127.0.0.1/cors2/",[]); router.createRestTestInterface("http://127.0.0.1/cors3/",["www.foobar.com"]); auto settings = new HTTPServerSettings; settings.disableDistHost = true; settings.port = 8000; listenHTTP(settings, router); auto api = new RestInterfaceClient!ITestAPI("http://127.0.0.1:8000/root/"); assert(api.getInfo() == "description"); assert(api.info() == "description2"); assert(api.customParameters("one", "two") == "onetwo"); assert(api.customParameters2(10, false) == -10); assert(api.customParameters2(10, true) == 10); assert(api.testID1(2) == 2); assert(api.testID2(3) == 3); assert(api.get(4) == 4); assert(api.sub.get(5) == 5); assert(api.testKeyword(3, 4) == 7); assertCorsFails("http://127.0.0.1:8000/cors1/foo", HTTPMethod.GET, "www.non-existent.com"); assertCorsPasses("http://127.0.0.1:8000/cors1/foo", HTTPMethod.GET, "www.foobar.com"); assertCorsPasses("http://127.0.0.1:8000/cors1/foo", HTTPMethod.GET, "www.example.com"); assertCorsPasses("http://127.0.0.1:8000/cors2/foo", HTTPMethod.GET, "www.abcdefg.com"); assertCorsPasses("http://127.0.0.1:8000/cors3/foo", HTTPMethod.GET, "www.foobar.com"); assertCorsFails("http://127.0.0.1:8000/cors3/foo", HTTPMethod.GET, "www.bazbaz.com"); testAllowHeader("http://127.0.0.1:8000/cors1/foo", [HTTPMethod.GET,HTTPMethod.PUT,HTTPMethod.POST]); testAllowHeader("http://127.0.0.1:8000/cors1/bar/6", [HTTPMethod.POST,HTTPMethod.DELETE,HTTPMethod.PATCH]); testAllowHeader("http://127.0.0.1:8000/cors1/7/foo", [HTTPMethod.PUT,HTTPMethod.POST,HTTPMethod.DELETE]); testCors("http://127.0.0.1:8000/cors1/foo", [HTTPMethod.GET,HTTPMethod.PUT,HTTPMethod.POST]); testCors("http://127.0.0.1:8000/cors1/bar/6", [HTTPMethod.POST,HTTPMethod.DELETE,HTTPMethod.PATCH]); testCors("http://127.0.0.1:8000/cors1/7/foo", [HTTPMethod.PUT,HTTPMethod.POST,HTTPMethod.DELETE]); exitEventLoop(true); } int main() { setLogLevel(LogLevel.debug_); runTask(toDelegate(&runTest)); return runEventLoop(); }
D
#!/usr/bin/rdmd import std.string; import std.path; import core.time; import std.conv:to; import std.json; import std.getopt; import std.file; import std.stdio; import std.array; import std.algorithm; import std.datetime.stopwatch; import std.process; /** * This will probably not change any soon **/ string compiler = "ldc2"; /** * Where the object(*.o) will be output */ string objectDir = "obj"; version(Windows){string os = "windows";} else{string os = "linux";} /** * If you need to add a new architecture to output **/ string[] archs = [ "aarch64", "armv7a", "x86_64", "i686" ]; /** * This is an android convetion. It will automatically load the shared library in the correct folder */ static enum string[string] archFolders = [ "aarch64" : "arm64-v8a", "armv7a" : "armeabi-v7a", "x86_64" : "x86_64", "i686" : "x86", ]; /** * If you need to add a new source, just include it here. * It is the source paths not included in the parent folder dub.json **/ string[] sourcePaths = [ "source/" ]; string[] dependencies = [ "BindBC-Loader" ]; /** * Versions for the ldc compiler **/ string[] versions = [ "dll", "GL_45", "GL_ARB" ]; /** * Debug options **/ string[] debugs = [ ]; /** * Android libraries taken from NDK **/ string[] ndkLibraries = [ "log" ]; /** * NDK Api Level, the first number(major) on the Android/Sdk/ndk/(major.minor) **/ enum ndkApiLevel = 21; /** * If you're compiling it from windows or Mac, you will need to change this tripleSystem **/ enum tripleSystem = "-linux-android"; string getDubArgs(string arch) { return format!"-a %s --compiler=%s --parallel "(arch~"-"~tripleSystem, compiler); } string checkArchitectureMatch(string[] a) { bool hasPassed = false; foreach(check; a) { hasPassed = false; foreach(arch; archs) { if(check == arch) { hasPassed = true; break; } } if(!hasPassed) return check; } return ""; } string[] getSources(string path) { string[] files; foreach (DirEntry e; path.dirEntries(SpanMode.depth).filter!(f => f.name.endsWith(".d"))) files ~= e.name; return files; } string getDubPackagesPath() { version(Windows) { string appdata = environment["APPDATA"]; return asNormalizedPath(appdata~"/../Local/dub/packages/").array; } else{return "";} } string getDubPackageFolder(string dubPackagesPath, string dubPackageName, string versionValue) { long subPackageIndex = dubPackageName.lastIndexOf(':'); if(subPackageIndex != -1) dubPackageName = dubPackageName[0..cast(uint)subPackageIndex]; if(versionValue != "") { if(versionValue[0..2] == "~>") { versionValue = versionValue[2..$]; string majorVer = versionValue[0..versionValue.lastIndexOf('.')]; int maxVer = to!int(versionValue[versionValue.lastIndexOf('.')+1..$]); string nameToStart = (dubPackagesPath~"/"~dubPackageName~"-"~majorVer).asNormalizedPath.array; foreach(DirEntry e; dubPackagesPath.dirEntries(SpanMode.shallow) .filter!(f => f.name.startsWith(nameToStart))) { string fName = e.name; int fVer = to!int(fName[fName.lastIndexOf('.')+1..$]); if(fVer > maxVer) { maxVer = fVer; versionValue = majorVer~"."~to!string(maxVer); dubPackageName = e.name[0..e.name.lastIndexOf("-")].pathSplitter.back; } } } } return (dubPackagesPath~"/"~dubPackageName~"-"~versionValue~"/"~dubPackageName~"/").asNormalizedPath.array; } Pid execCompilationCommand(string depAbsolutePath, string depName) { bool isSubPackage = depName.countUntil(":") != -1; writeln("cd ",depAbsolutePath); chdir(depAbsolutePath); string command; if(isSubPackage) command = "dub build "~ depName[depName.countUntil(":")..$]; else command = "dub build "; return spawnShell(command ~ getDubArgs("aarch64")); } Pid[] buildDependencies(string dubJsonPath, string dubPackagesPath = getDubPackagesPath()) { string dubPath = dubJsonPath.asAbsolutePath.asNormalizedPath.array; dubJsonPath = asAbsolutePath(dubJsonPath~"/dub.json").asNormalizedPath.array; JSONValue json = parseJSON(readText(dubJsonPath)); JSONValue* deps = cast(JSONValue*)("dependencies" in json); Pid[] ret; if(deps != null) { foreach (string depName, JSONValue depValue; deps.object) { string depAbsolutePath; if(depValue.type() == JSONType.object) depAbsolutePath = (dubPath~"/"~depValue["path"].str).asNormalizedPath.array; else depAbsolutePath = getDubPackageFolder(dubPackagesPath, depName, depValue.str); ret~= execCompilationCommand(depAbsolutePath, depName); break; } } return ret; } void buildProgram(string arch, string[] sources) { string[] command = [compiler]; foreach (sourcePath; sourcePaths) command ~= format!"-I%s"(sourcePath); foreach (version_; versions) command ~= format!"-d-version=%s"(version_); foreach (debug_; debugs) command ~= format!"-d-debug=%s"(debug_); foreach (library; ndkLibraries) command ~= format!"-L=-l%s"(library); //-L= for using GNU Linker(ld) //Select architecture command ~= format!"-mtriple=%s-%s"(arch, tripleSystem); //Built as shared library command ~= "--shared"; //Output object command~= format!"--od=%s/%s"(objectDir, archFolders[arch]); //Output file command ~= format!"--of=%s/%s/libmain.so"(outputPath, archFolders[arch]); string androidLibs = format!"%s/toolchains/llvm/prebuilt/%s-x86_64/sysroot/usr/lib/%s%s/%s/"(environment["ANDROID_NDK_HOME"], arch, os, tripleSystem, ndkApiLevel); command ~= format!"-L=-L%s"(androidLibs)~" "; foreach(source; sources) command~= source; Pid pid = spawnProcess("/bin/echo" ~ command); // Pid pid = spawnProcess(command); pid.wait; writefln("Compiled %s, output at: %s", arch, outputPath~archFolders[arch]); } string dubPath = ""; void main(string[] args) { // For debuging //Check for NDK try{environment["ANDROID_NDK_HOME"];} catch(Exception e){throw new Error("You must define on your environment the variable ANDROID_NDK_HOME");} writeln("Getting NDK from: " ~ environment["ANDROID_NDK_HOME"]~"/"); string[] architectures; if(args.length == 1) //Default is 1 architectures = archs; //Get cli options auto helpInfo = getopt(args, "arch", &architectures, "dub", &dubPath); //Check if no architecture provided or help wanted if(helpInfo.helpWanted || architectures.length == 0) writefln("\n___Help info___\n\n%s: Adds an architercutre to compile. Supported values are:\naarch64, armv7a, x86_64, i686 %s: Uses dub located on the parent folder Usage: rdmd build.d --arch=armv7a --arch=aarch64 --dub=../../", "--arch", "--dub"); else { //Check for architecture validity string error = checkArchitectureMatch(architectures); if(error != "") { writeln(error~" is not a supported option for --arch"); return; } StopWatch sw = StopWatch(AutoStart.yes); Pid[] ret = buildDependencies(((dubPath != "") ? dubPath :"../../")); foreach (Pid t; ret) t.wait; writeln("Finished building dependencies with ", sw.peek.total!"msecs", "ms"); // string[] sources; // foreach (sourcePath; sourcePaths) // sources ~= sourcePath.getSources; // foreach (arch; architectures) // buildProgram(arch, sources); } }
D
/** * C's &lt;fenv.h&gt; * Authors: Walter Bright, Digital Mars, http://www.digitalmars.com * License: Public Domain * Macros: * WIKI=Phobos/StdCFenv */ module std.c.fenv; public import core.stdc.fenv;
D
/Users/takanorifukuyama/git/github.com/takanorifukuyama/abs/target/rls/debug/deps/abs_abc081b-7ee127208dec709e.rmeta: src/bin/abc081b.rs /Users/takanorifukuyama/git/github.com/takanorifukuyama/abs/target/rls/debug/deps/abs_abc081b-7ee127208dec709e.d: src/bin/abc081b.rs src/bin/abc081b.rs:
D
// FIXME: on Windows 8, the size event doesn't fire when you maximize the window // FIXME: use_libssh2 should do keepalive. /** This is the graphical application for the terminal emulator. Linux compile: dmd main.d terminalemulator.d arsd/simpledisplay.d arsd/color.d arsd/eventloop.d -version=with_eventloop -debug arsd/png.d arsd/bmp.d arsd/stb_truetype.d -Jfont Windows compile: dmd main.d arsd\simpledisplay.d arsd\color.d -debug arsd\stb_truetype.d terminalemulator.d -Jfont arsd\png.d arsd\bmp.d The windows version expects serverside.d to be running on the other side and needs plink.exe available to speak ssh unless you compile with -version=use_libssh2. */ // FIXME: blue text under the cursor is virtually impossible to see. // You can edit this if you like to make the alt+keys do other stuff. enum string[dchar] altMappings = [ 'a' : "Cool!", 'A' : "Boss", 't' : "θ", 'p' : "\u03c6", '\'' : "\&ldquo;", '\"' : "\&rdquo;", // unicode parens // \u27e8\u27e9 or \u3008\u3009 ]; /* FIXME mouse tracking inside gnu screen always turns vim to visual mode. echo -e '\033]50;-*-bitstream vera sans-*-*-*-*-*-*-*-*-*-*-*-*\007' changes the font in xterm echo -e '\033[8]' sets the current params to default params in linux [10;n] - bell frequency in hz [11;n] - bell duration in msec [12;n] - bring console to the front \033]4; num; txt ansi color in xterm \033]10; txt tynamic text color \033]R reset palette on linux \033]Pnrrggbb change palette on linux, each thing after the P is hex messes up output on xterm FIXME: lag on windows reading The 'o' command in vim doesn't quite work right. mutt inside gnu screen is broke Cool features: cursor shape can be changed cursor color can be changed CSI P s L Insert P s Line(s) (default = 1) (IL). CSI P s M Delete P s Line(s) (default = 1) (DL). CSI P s P Delete P s Character(s) (default = 1) (DCH). CSI P s S Scroll up P s lines (default = 1) (SU). CSI P s T Scroll down P s lines (default = 1) (SD). FIXME: focus in out tracking FocusIn/FocusOut // application end *) application mouse handling *) character sets for line drawing *) extensions * palette set and reset * change color with rgb // ui end *) automatic mouse selection *) scrollback UI *) speed // other *) nesting in other terminals *) gnu screen coolness *) windows version */ import arsd.terminalemulator; import arsd.color; struct SRectangle { int left; int top; int right; int bottom; } version(Windows) { import core.sys.windows.windows; import core.sys.windows.winsock2; } version(Windows) { extern(Windows) int WSAAsyncSelect(SOCKET, HWND, uint, int); enum int FD_CLOSE = 1 << 5; enum int FD_READ = 1 << 0; enum int WM_USER = 1024; } version(use_libssh2) import arsd.libssh2; version(use_libssh2) void main(string[] args) { import std.socket; void startup(Socket socket, LIBSSH2_SESSION* sshSession, LIBSSH2_CHANNEL* sshChannel) { import std.conv; auto term = new TerminalEmulatorWindow(sshChannel, (args.length > 1) ? to!int(args[1]) : 0); auto timer = new Timer(30 * 1000, { int next; int err = libssh2_keepalive_send(sshSession, &next); if (err) { // blargh... close the window? } }); version(Posix) { import arsd.eventloop; addFileEventListeners(cast(int) socket.handle, &term.readyToRead, null, null, false); addListener(delegate void(FileHup hup) { import core.sys.posix.unistd; close(hup.fd); }); loop(); } else version(Windows) { if(WSAAsyncSelect(socket.handle, term.window.hwnd, WM_USER + 150, FD_CLOSE | FD_READ)) throw new Exception("WSAAsyncSelect"); term.window.handleNativeEvent = delegate int(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { if(hwnd !is term.window.impl.hwnd) return 1; // we don't care... switch(msg) { case WM_USER + 150: // socket activity switch(LOWORD(lParam)) { case FD_READ: if(term.readyToRead(0)) term.window.close(); break; case FD_CLOSE: term.window.close(); break; default: // nothing } break; default: return 1; // not handled, pass it on } return 0; }; term.window.eventLoop(0); } else static assert(0); // } if(args.length < 6) { import std.format : format; import std.string : toStringz; auto msg = format("Provide a list of arguments like:\n%s font_size host port username keyfile\nSo for example: %s 0 example.com 22 root /path/to/id_rsa\n(font size of 0 means use a system font)\nOn Windows, it might be helpful to create a shortcut with your options specified in the properties sheet command line option.", args[0], args[0]); version(Windows) MessageBoxA(null, toStringz(msg), "Couldn't start up", 0); else { import std.stdio; writeln(msg); } return; } string host = args[2]; import std.conv : to; short port = to!short(args[3]); string username = args[4]; string keyfile = args[5]; string expectedFingerprint = null; if(args.length > 6) expectedFingerprint = args[6]; startChild!startup(host, port, username, keyfile, expectedFingerprint); } else version(Windows) void main(string[] args) { import core.sys.windows.windows; void startup(HANDLE inwritePipe, HANDLE outreadPipe) { import std.conv; auto term = new TerminalEmulatorWindow(inwritePipe, outreadPipe, (args.length > 1) ? to!int(args[1]) : 0); term.window.eventLoop(0); } if(args.length < 2) { import std.stdio; writeln("Give a font size and command line to run like: 0 plink.exe user@server.com -i keyfile /opt/serverside"); return; } import std.string; startChild!startup(null, args[2..$].join(" ")); } else version(Posix) void main(string[] args) { void startup(int master) { import std.conv; auto term = new TerminalEmulatorWindow(master, (args.length > 1) ? to!int(args[1]) : 0); import arsd.eventloop; loop(); // } try { import std.process; auto cmd = environment.get("SHELL", "/bin/bash"); startChild!startup(args.length > 2 ? args[2] : cmd, args.length > 2 ? args[2 .. $] : [cmd]); } catch(Throwable t) { //import std.stdio; //writeln(t.toString()); // we might not be run from a tty to print the message, so pop it up some other way. // I'm lazy so i'll just call xmessage. good enough to pop it up in the gui environment version(linux) { import std.process; auto pipes = pipeShell("xmessage -file -"); pipes.stdin.write(t.toString()); pipes.stdin.close(); } else version(Windows) MessageBoxA(null, "Exception", toStringz(t.toString()), 0); } } import arsd.simpledisplay; import arsd.ttf; struct XImagePainter { Image img; TtfFont* font; int fontWidth; immutable { int nextLineAdjustment; int offR; int offB; int offG; int bpp; } ubyte* data; ubyte* ending; ubyte[] getThing(int x, int y) { auto d = data + y * nextLineAdjustment + x * bpp; return d[0 .. ending - d]; } this(Image i, TtfFont* font, int fontWidth) { this.img = i; this.font = font; this.fontWidth = fontWidth; nextLineAdjustment = img.adjustmentForNextLine(); offR = img.redByteOffset(); offB = img.blueByteOffset(); offG = img.greenByteOffset(); bpp = img.bytesPerPixel(); data = img.getDataPointer() + img.offsetForTopLeftPixel(); ending = img.getDataPointer() + img.height * img.bytesPerLine(); } void drawImage(Point upperLeft, Image i, Point upperLeftOfImage, int w, int h) { auto destPtr = data + upperLeft.y * nextLineAdjustment + upperLeft.x * bpp; if(w > i.width) w = i.width; if(w > i.height) w = i.height; auto srcPtr = i.getDataPointer() + i.offsetForPixel(upperLeftOfImage.x, upperLeftOfImage.y); auto srcAdvance = i.adjustmentForNextLine(); auto srcBpp = i.bytesPerPixel(); foreach(y; 0 .. h) { auto sp = srcPtr; auto dp = destPtr; foreach(x; 0 .. w) { dp[offR] = sp[offR]; dp[offG] = sp[offG]; dp[offB] = sp[offB]; sp += srcBpp; dp += bpp; } srcPtr += srcAdvance; destPtr += nextLineAdjustment; } } Color fillColor; Color outlineColor; RasterOp rasterOp; void drawLine(Point from, Point to) { if(from.x == to.x) drawVerticalLine(from, to.y - from.y); else if(from.y == from.y) drawHorizontalLine(from, to.x - from.x); else assert(0); } void drawHorizontalLine(in Point p, in int length) { if(p.y >= img.height || p.x >= img.width) return; if(p.y < 0) return; if(p.x < 0) return; if(p.x + length > img.width) { return; } auto ptr = getThing(p.x, p.y); foreach(i; 0 .. length) { if(rasterOp == RasterOp.normal) { ptr[offR] = outlineColor.r; ptr[offG] = outlineColor.g; ptr[offB] = outlineColor.b; } else { ptr[offR] ^= outlineColor.r; ptr[offG] ^= outlineColor.g; ptr[offB] ^= outlineColor.b; } ptr = ptr[bpp .. $]; } } void drawVerticalLine(in Point p, in int length) { if(p.y >= img.height || p.x >= img.width) return; if(p.y < 0) return; if(p.x < 0) return; if(p.y + length > img.height) { return; } auto ptr = getThing(p.x, p.y); foreach(i; 0 .. length) { if(rasterOp == RasterOp.normal) { ptr[offR] = outlineColor.r; ptr[offG] = outlineColor.g; ptr[offB] = outlineColor.b; } else { ptr[offR] ^= outlineColor.r; ptr[offG] ^= outlineColor.g; ptr[offB] ^= outlineColor.b; } if(i+1 != length) { version(Windows) ptr = (ptr.ptr + nextLineAdjustment)[0 .. 100000]; else ptr = ptr[nextLineAdjustment .. $]; } } } void drawRectangle(Point upperLeft, int width, int height) { if(upperLeft.y >= img.height || upperLeft.x >= img.width) return; if(upperLeft.y < 0) upperLeft.y = 0; if(upperLeft.x < 0) upperLeft.x = 0; if(upperLeft.y + height > img.height) { height = img.height - upperLeft.y; } if(upperLeft.x + width > img.width) { width = img.width - upperLeft.x; } if(outlineColor.a) { drawHorizontalLine(upperLeft, width); drawHorizontalLine(Point(upperLeft.x, upperLeft.y + height - 1), width); drawVerticalLine(Point(upperLeft.x, upperLeft.y + 1), height - 2); drawVerticalLine(Point(upperLeft.x + width - 1, upperLeft.y + 1), height - 2); } if(fillColor.a) { auto ptr = getThing(upperLeft.x + 1, upperLeft.y + 1); foreach(i; 1 .. height - 1) { auto iptr = ptr; foreach(x; 1 .. width - 1) { if(rasterOp == RasterOp.normal) { iptr[offR] = fillColor.r; iptr[offG] = fillColor.g; iptr[offB] = fillColor.b; } else { iptr[offR] ^= fillColor.r; iptr[offG] ^= fillColor.g; iptr[offB] ^= fillColor.b; } iptr = iptr[bpp .. $]; } if(i+1 != height-1) { version(Windows) ptr = (ptr.ptr + nextLineAdjustment)[0 .. 100000]; else ptr = ptr[nextLineAdjustment .. $]; } } } } static struct GlyphInfo { ubyte[] bitmap; int w; int h; } void drawText(Point up, string text) { // since this is monospace, w and h shouldn't change regardless static GlyphInfo[dchar] characters; foreach(dchar ch; text) { GlyphInfo info; if(auto ptr = ch in characters) { info = *ptr; } else { char[4] buffer; import std.utf; auto slice = buffer[0 .. encode(buffer, ch)]; info.bitmap = font.renderString(slice, TerminalEmulatorWindow.fontSize, info.w, info.h); characters[ch] = info; } auto surface = getThing(up.x, up.y); auto bmp = info.bitmap; for (int j=0; j < info.h; ++j) { auto line = surface; for (int i=0; i < info.w; ++i) { if(line.length == 0) return; auto a = bmp[0]; bmp = bmp[1 .. $]; // alpha blending right here, inline auto bgr = line[offR]; auto bgg = line[offG]; auto bgb = line[offB]; line[offR] = cast(ubyte) (outlineColor.r * a / 255 + bgr * (255 - a) / 255); line[offG] = cast(ubyte) (outlineColor.g * a / 255 + bgg * (255 - a) / 255); line[offB] = cast(ubyte) (outlineColor.b * a / 255 + bgb * (255 - a) / 255); /* if(a > 128) { line[offR] = 0; line[offG] = 0; line[offB] = 0; } */ line = line[bpp .. $]; } version(Windows) {} else if(nextLineAdjustment >= surface.length) break; if(j +1 != info.h) { version(Windows) surface = (surface.ptr + nextLineAdjustment)[0 .. 100000]; else surface = surface[nextLineAdjustment .. $]; } } up.x += fontWidth; } } } XImagePainter draw(Image i, TtfFont* font, int fontWidth) { return XImagePainter(i, font, fontWidth); } class NonCharacterData_Image : NonCharacterData { Image data; int imageOffsetX; int imageOffsetY; this(Image data, int x, int y) { this.data = data; this.imageOffsetX = x; this.imageOffsetY = y; } } /** Makes a terminal emulator out of a SimpleWindow. */ class TerminalEmulatorWindow : TerminalEmulator { protected override BrokenUpImage handleBinaryExtensionData(const(ubyte)[] binaryData) { TrueColorImage mi; if(binaryData.length > 8 && binaryData[1] == 'P' && binaryData[2] == 'N' && binaryData[3] == 'G') { import arsd.png; mi = imageFromPng(readPng(binaryData)).getAsTrueColorImage(); } else if(binaryData.length > 8 && binaryData[0] == 'B' && binaryData[1] == 'M') { import arsd.bmp; mi = readBmp(binaryData).getAsTrueColorImage(); } else { return BrokenUpImage(); } BrokenUpImage bi; bi.width = mi.width / fontWidth + ((mi.width%fontWidth) ? 1 : 0); bi.height = mi.height / fontHeight + ((mi.height%fontHeight) ? 1 : 0); bi.representation.length = bi.width * bi.height; Image data = Image.fromMemoryImage(mi); int ix, iy; foreach(ref cell; bi.representation) { cell.ch = dchar.init; /* Image data = new Image(fontWidth, fontHeight); foreach(y; 0 .. fontHeight) { foreach(x; 0 .. fontWidth) { if(x + ix >= mi.width || y + iy >= mi.height) { data.putPixel(x, y, defaultTextAttributes.background); continue; } data.putPixel(x, y, mi.imageData.colors[(iy + y) * mi.width + (ix + x)]); } } */ cell.nonCharacterData = new NonCharacterData_Image(data, ix, iy); ix += fontWidth; if(ix >= mi.width) { ix = 0; iy += fontHeight; } } return bi; } protected override void changeCursorStyle(CursorStyle s) { } protected override void changeWindowTitle(string t) { if(window && t.length) window.title = t; } protected override void changeWindowIcon(IndexedImage t) { if(window && t) window.icon = t; } protected override void changeIconTitle(string) {} protected override void changeTextAttributes(TextAttributes) {} protected override void soundBell() { static if(UsingSimpledisplayX11) XBell(XDisplayConnection.get(), 50); } protected override void demandAttention() { window.requestAttention(); } protected override void copyToClipboard(string text) { static if(UsingSimpledisplayX11) setPrimarySelection(window, text); else setClipboardText(window, text); } protected override void pasteFromClipboard(void delegate(in char[]) dg) { static if(UsingSimpledisplayX11) getPrimarySelection(window, dg); else getClipboardText(window, (in char[] dataIn) { char[] data; // change Windows \r\n to plain \n foreach(char ch; dataIn) if(ch != 13) data ~= ch; dg(data); }); } void resizeImage() { if(usingTtf) img = new Image(window.width, window.height); } mixin PtySupport!(resizeImage); import arsd.simpledisplay; version(Posix) import arsd.eventloop; TtfFont font; bool debugMode; bool usingTtf; version(use_libssh2) this(LIBSSH2_CHANNEL* sshChannel, int fontSize = 0) { this.sshChannel = sshChannel; this(fontSize); } else version(Posix) this(int masterfd, int fontSize = 0) { master = masterfd; this(fontSize); } else version(Windows) this(HANDLE stdin, HANDLE stdout, int fontSize = 0) { this.stdin = stdin; this.stdout = stdout; this(fontSize); } version(Windows) HFONT hFont; bool focused; this(int fontSize = 0) { if(fontSize) { this.usingTtf = true; this.fontSize = fontSize; } if(usingTtf) { font = TtfFont(cast(ubyte[]) import("monospace-2.ttf")); font.getStringSize("M", fontSize, fontWidth, fontHeight); } else { static if(UsingSimpledisplayX11) { auto font = new OperatingSystemFont("fixed", 14, FontWeight.medium); if(font.isNull) { // didn't work, it is using a // fallback, prolly fixed-13 fontWidth = 6; fontHeight = 13; } else { xfontstr = "-*-fixed-medium-r-*-*-14-*-*-*-*-*-*-*"; fontWidth = 7; fontHeight = 14; } } else version(Windows) { hFont = CreateFontA(this.fontSize, 0, 0, 0, 0, false, 0, 0, 0, 0, 0, 0, 0, "Courier New"); fontHeight = this.fontSize; fontWidth = fontHeight / 2; } } auto desiredWidth = 80; auto desiredHeight = 24; window = new SimpleWindow( fontWidth * desiredWidth + paddingLeft * 2, fontHeight * desiredHeight + paddingTop * 2, "Terminal Emulator", OpenGlOptions.no, Resizability.allowResizing); static if(UsingSimpledisplayX11) { auto display = XDisplayConnection.get(); XDefineCursor(display, window.impl.window, XCreateFontCursor(display, 152 /* XC_xterm */)); } window.windowResized = (int w, int h) { this.resizeTerminal(w / fontWidth, h / fontHeight); clearScreenRequested = true; redraw(); }; window.onFocusChange = (bool got) { focused = got; attentionReceived(); }; super(desiredWidth, desiredHeight); bool skipNextChar = false; window.setEventHandlers( delegate(MouseEvent ev) { int termX = (ev.x - paddingLeft) / fontWidth; int termY = (ev.y - paddingTop) / fontHeight; // FIXME: make sure termx and termy are in bounds arsd.terminalemulator.MouseButton modiferStateToMouseButton() { // crappy terminal can only report one button at a time anyway, // so doing this in order of precedence if(ev.modifierState & ModifierState.leftButtonDown) return arsd.terminalemulator.MouseButton.left; if(ev.modifierState & ModifierState.rightButtonDown) return arsd.terminalemulator.MouseButton.right; if(ev.modifierState & ModifierState.middleButtonDown) return arsd.terminalemulator.MouseButton.middle; return cast(arsd.terminalemulator.MouseButton) 0; } if(sendMouseInputToApplication(termX, termY, cast(arsd.terminalemulator.MouseEventType) ev.type, ev.type == MouseEventType.motion ? modiferStateToMouseButton : cast(arsd.terminalemulator.MouseButton) ev.button, (ev.modifierState & ModifierState.shift) ? true : false, (ev.modifierState & ModifierState.ctrl) ? true : false )) redraw(); }, delegate(KeyEvent ev) { if(ev.pressed == false) return; // debug stuff if((ev.modifierState & ModifierState.ctrl) && (ev.modifierState & ModifierState.shift) && ev.key == Key.F12) { debugMode = !debugMode; return; } version(none) if(ev.key == Key.F11) { import std.datetime; auto r = benchmark!({ //this.cls(); this.redraw(ev.modifierState & ModifierState.shift ? true : false); })(ev.modifierState & ModifierState.shift ? 2 : 200); import std.conv; addOutput(to!string(r[0].msecs) ~ "\n"); return; } if(ev.key == Key.ScrollLock) { toggleScrollbackWrap(); } // end debug stuff // special keys string magic() { string code; foreach(member; __traits(allMembers, TerminalKey)) if(member != "Escape") code ~= "case Key." ~ member ~ ": if(sendKeyToApplication(TerminalKey." ~ member ~ " , (ev.modifierState & ModifierState.shift)?true:false , (ev.modifierState & ModifierState.alt)?true:false , (ev.modifierState & ModifierState.ctrl)?true:false , (ev.modifierState & ModifierState.windows)?true:false )) redraw(); break;"; return code; } switch(ev.key) { //// I want the escape key to send twice to differentiate it from //// other escape sequences easily. //case Key.Escape: sendToApplication("\033"); break; mixin(magic()); default: // keep going, not special } // remapping of alt+key is possible too, at least on linux. static if(UsingSimpledisplayX11) if(ev.modifierState & ModifierState.alt) { if(ev.character in altMappings) { sendToApplication(altMappings[ev.character]); skipNextChar = true; } } return; // the character event handler will do others }, (dchar c) { if(skipNextChar) { skipNextChar = false; return; } endScrollback(); char[4] str; import std.utf; if(c == '\n') c = '\r'; // terminal seem to expect enter to send 13 instead of 10 auto data = str[0 .. encode(str, c)]; // on X11, the delete key can send a 127 character too, but that shouldn't be sent to the terminal since xterm shoots \033[3~ instead, which we handle in the KeyEvent handler. if(c != 127) sendToApplication(data); }); version(use_libssh2) { } else version(Posix) { makeNonBlocking(master); addFileEventListeners(master, &readyToRead, null, null, false); // no edge triggering, that has a nasty habit of locking us up addListener(delegate void(FileHup hup) { import core.sys.posix.unistd; close(hup.fd); }); } else version(Windows) { overlapped = new OVERLAPPED(); overlapped.hEvent = cast(void*) this; //window.handleNativeEvent = &windowsRead; readyToReadWindows(0, 0, overlapped); redraw(); } flushGui(); /* bool odd; setInterval( { odd = !odd; auto painter = window.draw(); painter.fillColor =odd ? Color.blue : Color.green; painter.drawRectangle(Point(0, 0), 200, 200); }, 1000); setTimeout(&window.close, 10000); */ } SimpleWindow window; int fontWidth; int fontHeight; static int fontSize = 14; enum paddingLeft = 2; enum paddingTop = 1; Image img; bool clearScreenRequested = true; void redraw(bool forceRedraw = false) { auto painter = window.draw(); if(clearScreenRequested) { auto clearColor = defaultTextAttributes.background; painter.outlineColor = clearColor; painter.fillColor = clearColor; painter.drawRectangle(Point(0, 0), window.width, window.height); clearScreenRequested = false; forceRedraw = true; } if(usingTtf) { auto invalidated = redrawPainter(img.draw(&font, fontWidth), forceRedraw); if(invalidated.right || invalidated.bottom) painter.drawImage(Point(0, 0), img, Point(invalidated.left, invalidated.top), invalidated.right, invalidated.bottom); } else redrawPainter(painter, forceRedraw); } bool lastDrawAlternativeScreen; final SRectangle redrawPainter(T)(T painter, bool forceRedraw) { SRectangle invalidated; // FIXME: anything we can do to make this faster is good // on both, the XImagePainter could use optimizations // on both, drawing blocks would probably be good too - not just one cell at a time, find whole blocks of stuff // on both it might also be good to keep scroll commands high level somehow. idk. // FIXME on Windows it would definitely help a lot to do just one ExtTextOutW per line, if possible. the current code is brutally slow version(Windows) static if(is(T == ScreenPainter)) { SelectObject(painter.impl.hdc, hFont); } int posx = paddingLeft; int posy = paddingTop; char[512] bufferText; bool hasBufferedInfo; int bufferTextLength; Color bufferForeground; Color bufferBackground; int bufferX = -1; int bufferY = -1; bool bufferReverse; void flushBuffer() { if(!hasBufferedInfo) { return; } assert(posx - bufferX - 1 > 0); painter.fillColor = bufferReverse ? bufferForeground : bufferBackground; painter.outlineColor = bufferReverse ? bufferForeground : bufferBackground; painter.drawRectangle(Point(bufferX, bufferY), posx - bufferX, fontHeight); painter.fillColor = Color.transparent; // Hack for contrast! if(bufferBackground == Color.black && !bufferReverse) { // brighter than normal in some cases so i can read it easily painter.outlineColor = contrastify(bufferForeground); } else if(bufferBackground == Color.white && !bufferReverse) { // darker than normal so i can read it painter.outlineColor = antiContrastify(bufferForeground); } else if(bufferForeground == bufferBackground) { // color on itself, I want it visible too auto hsl = toHsl(bufferForeground, true); if(hsl[2] < 0.5) hsl[2] += 0.5; else hsl[2] -= 0.5; painter.outlineColor = fromHsl(hsl[0], hsl[1], hsl[2]); } else { // normal painter.outlineColor = bufferReverse ? bufferBackground : bufferForeground; } // FIXME: make sure this clips correctly painter.drawText(Point(bufferX, bufferY), cast(immutable) bufferText[0 .. bufferTextLength]); hasBufferedInfo = false; bufferReverse = false; bufferTextLength = 0; bufferX = -1; bufferY = -1; } int x; foreach(idx, ref cell; alternateScreenActive ? alternateScreen : normalScreen) { if(!forceRedraw && !cell.invalidated && lastDrawAlternativeScreen == alternateScreenActive) { flushBuffer(); goto skipDrawing; } cell.invalidated = false; version(none) if(bufferX == -1) { // why was this ever here? bufferX = posx; bufferY = posy; } { invalidated.left = posx < invalidated.left ? posx : invalidated.left; invalidated.top = posy < invalidated.top ? posy : invalidated.top; int xmax = posx + fontWidth; int ymax = posy + fontHeight; invalidated.right = xmax > invalidated.right ? xmax : invalidated.right; invalidated.bottom = ymax > invalidated.bottom ? ymax : invalidated.bottom; // FIXME: this could be more efficient, simpledisplay could get better graphics context handling { bool reverse = (cell.attributes.inverse != reverseVideo); if(cell.selected) reverse = !reverse; auto fgc = cell.attributes.foreground; auto bgc = cell.attributes.background; if(!(cell.attributes.foregroundIndex & 0xff00)) { // this refers to a specific palette entry, which may change, so we should use that fgc = palette[cell.attributes.foregroundIndex]; } if(!(cell.attributes.backgroundIndex & 0xff00)) { // this refers to a specific palette entry, which may change, so we should use that bgc = palette[cell.attributes.backgroundIndex]; } if(fgc != bufferForeground || bgc != bufferBackground || reverse != bufferReverse) flushBuffer(); bufferReverse = reverse; bufferBackground = bgc; bufferForeground = fgc; } } if(cell.ch != dchar.init) { char[4] str; import std.utf; // now that it is buffered, we do want to draw it this way... //if(cell.ch != ' ') { // no point wasting time drawing spaces, which are nothing; the bg rectangle already did the important thing try { auto stride = encode(str, cell.ch); if(bufferTextLength + stride > bufferText.length) flushBuffer(); bufferText[bufferTextLength .. bufferTextLength + stride] = str[0 .. stride]; bufferTextLength += stride; if(bufferX == -1) { bufferX = posx; bufferY = posy; } hasBufferedInfo = true; } catch(Exception e) { import std.stdio; writeln(cast(uint) cell.ch, " :: ", e.msg); } //} } else if(cell.nonCharacterData !is null) { if(auto ncdi = cast(NonCharacterData_Image) cell.nonCharacterData) { flushBuffer(); painter.drawImage(Point(posx, posy), ncdi.data, Point(ncdi.imageOffsetX, ncdi.imageOffsetY), fontWidth, fontHeight); } } if(cell.attributes.underlined) { // the posx adjustment is because the buffer assumes it is going // to be flushed after advancing, but here, we're doing it mid-character // FIXME: we should just underline the whole thing consecutively, with the buffer posx += fontWidth; flushBuffer(); posx -= fontWidth; painter.drawLine(Point(posx, posy + fontHeight - 1), Point(posx + fontWidth, posy + fontHeight - 1)); } skipDrawing: posx += fontWidth; x++; if(x == screenWidth) { flushBuffer(); x = 0; posy += fontHeight; posx = paddingLeft; } } if(cursorShowing) { painter.fillColor = cursorColor; painter.outlineColor = cursorColor; painter.rasterOp = RasterOp.xor; posx = cursorPosition.x * fontWidth + paddingLeft; posy = cursorPosition.y * fontHeight + paddingTop; int cursorWidth = fontWidth; int cursorHeight = fontHeight; final switch(cursorStyle) { case CursorStyle.block: painter.drawRectangle(Point(posx, posy), cursorWidth, cursorHeight); break; case CursorStyle.underline: painter.drawRectangle(Point(posx, posy + cursorHeight - 2), cursorWidth, 2); break; case CursorStyle.bar: painter.drawRectangle(Point(posx, posy), 2, cursorHeight); break; } painter.rasterOp = RasterOp.normal; // since the cursor draws over the cell, we need to make sure it is redrawn each time too auto buffer = alternateScreenActive ? (&alternateScreen) : (&normalScreen); if(cursorX >= 0 && cursorY >= 0 && cursorY < screenHeight && cursorX < screenWidth) { (*buffer)[cursorY * screenWidth + cursorX].invalidated = true; } invalidated.left = posx < invalidated.left ? posx : invalidated.left; invalidated.top = posy < invalidated.top ? posy : invalidated.top; int xmax = posx + fontWidth; int ymax = xmax + fontHeight; invalidated.right = xmax > invalidated.right ? xmax : invalidated.right; invalidated.bottom = ymax > invalidated.bottom ? ymax : invalidated.bottom; } lastDrawAlternativeScreen = alternateScreenActive; return invalidated; } } /+ use this code in the forkpty child to just forward stuff termios old; tcgetattr(0, &old); auto n = old; auto f = ICANON; f |= ECHO; n.c_lflag &= ~f; tcsetattr(0, TCSANOW, &n); for(;;) if(fgetc(stdin) == 'f'){ printf("bye\n"); break; } and the parent of forkpty /* // for running inside a terminal emulator, we want // echo to be turned off since the pty echos for us termios old; tcgetattr(0, &old); auto n = old; auto f = ICANON; f |= ECHO; n.c_lflag &= ~f; tcsetattr(0, TCSANOW, &n); scope(exit) tcsetattr(0, TCSANOW, &old); */ +/ /+ // for testing in a terminal emulator string line; FILE* log; log = fopen("log.bin", "wb"); scope(exit) fclose(log); for(;;) { byte[1024] data; int shit = ishit(master); if(shit&2) { // read data from the fake terminal int len = read(master, data.ptr, 1024); if(len < 0) throw new Exception("fuck me"); for(int w = 0; w < len; w++) { fputc(data[w], stdout); fputc(data[w],log); } fflush(stdout); } if(shit&1){ // forward data from stdin to the fake terminal int count = read(0, data.ptr, 1024);//readln(); char[] wtf; wtf.length = count; wtf[0..count] = cast(char[]) data[0..count]; line ~= wtf; if(line == "FUCK\n"){ printf("bye asshole\n"); return 0;} if(line[count-1] == '\n') line = ""; write(master, data.ptr, count); } // wait(0); } +/ // black bg, make the colors more visible Color contrastify(Color c) { if(c == Color(0xcd, 0, 0)) return Color.fromHsl(0, 1.0, 0.75); else if(c == Color(0, 0, 0xcd)) return Color.fromHsl(240, 1.0, 0.75); else if(c == Color(229, 229, 229)) return Color(0x99, 0x99, 0x99); else return c; } // white bg, make them more visible Color antiContrastify(Color c) { if(c == Color(0xcd, 0xcd, 0)) return Color.fromHsl(60, 1.0, 0.25); else if(c == Color(0, 0xcd, 0xcd)) return Color.fromHsl(180, 1.0, 0.25); else if(c == Color(229, 229, 229)) return Color(0x99, 0x99, 0x99); else return c; }
D
/Users/william/Projects/studySocial/studySocial/build/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/Dictionary+KeyValueMap.o : /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.Bridge.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEventParameterName.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEventName.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Internal/Extensions/Optional+OnSome.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponse.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.Delegate.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Common/SDKApplicationDelegate.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponseProtocol.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Common/AccessToken.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.Builtin.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphAPIVersion.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Permissions/Permission.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Permissions/ReadPermission.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Permissions/PublishPermission.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Internal/Extensions/Dictionary+KeyValueMap.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Common/SDKLoggingBehavior.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.FlushBehavior.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Common/SDKSettings.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.FetchResult.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestResult.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestDataAttachment.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequest.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.PictureView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFURL.h /Users/william/Projects/studySocial/studySocial/Pods/Target\ Support\ Files/FacebookCore/FacebookCore-umbrella.h /Users/william/Projects/studySocial/studySocial/Pods/Target\ Support\ Files/Bolts/Bolts-umbrella.h /Users/william/Projects/studySocial/studySocial/Pods/Target\ Support\ Files/FBSDKCoreKit/FBSDKCoreKit-umbrella.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFCancellationTokenSource.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFTaskCompletionSource.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLinkResolving.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLink.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFTask.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFCancellationToken.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLinkNavigation.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFCancellationTokenRegistration.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKTestUsersManager.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolver.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFWebViewAppLinkResolver.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFExecutor.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFTask+Exceptions.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMacros.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/Bolts.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppEvents.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLinkTarget.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFMeasurementEvent.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererView.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkUtility.h /Users/william/Projects/studySocial/studySocial/build/Pods.build/Debug-iphonesimulator/FacebookCore.build/unextended-module.modulemap /Users/william/Projects/studySocial/studySocial/build/Pods.build/Debug-iphonesimulator/Bolts.build/module.modulemap /Users/william/Projects/studySocial/studySocial/build/Pods.build/Debug-iphonesimulator/FBSDKCoreKit.build/module.modulemap /Users/william/Projects/studySocial/studySocial/build/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/Dictionary+KeyValueMap~partial.swiftmodule : /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.Bridge.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEventParameterName.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEventName.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Internal/Extensions/Optional+OnSome.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponse.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.Delegate.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Common/SDKApplicationDelegate.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponseProtocol.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Common/AccessToken.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.Builtin.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphAPIVersion.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Permissions/Permission.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Permissions/ReadPermission.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Permissions/PublishPermission.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Internal/Extensions/Dictionary+KeyValueMap.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Common/SDKLoggingBehavior.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.FlushBehavior.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Common/SDKSettings.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.FetchResult.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestResult.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestDataAttachment.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequest.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.PictureView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFURL.h /Users/william/Projects/studySocial/studySocial/Pods/Target\ Support\ Files/FacebookCore/FacebookCore-umbrella.h /Users/william/Projects/studySocial/studySocial/Pods/Target\ Support\ Files/Bolts/Bolts-umbrella.h /Users/william/Projects/studySocial/studySocial/Pods/Target\ Support\ Files/FBSDKCoreKit/FBSDKCoreKit-umbrella.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFCancellationTokenSource.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFTaskCompletionSource.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLinkResolving.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLink.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFTask.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFCancellationToken.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLinkNavigation.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFCancellationTokenRegistration.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKTestUsersManager.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolver.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFWebViewAppLinkResolver.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFExecutor.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFTask+Exceptions.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMacros.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/Bolts.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppEvents.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLinkTarget.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFMeasurementEvent.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererView.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkUtility.h /Users/william/Projects/studySocial/studySocial/build/Pods.build/Debug-iphonesimulator/FacebookCore.build/unextended-module.modulemap /Users/william/Projects/studySocial/studySocial/build/Pods.build/Debug-iphonesimulator/Bolts.build/module.modulemap /Users/william/Projects/studySocial/studySocial/build/Pods.build/Debug-iphonesimulator/FBSDKCoreKit.build/module.modulemap /Users/william/Projects/studySocial/studySocial/build/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/Dictionary+KeyValueMap~partial.swiftdoc : /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.Bridge.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEventParameterName.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEventName.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Internal/Extensions/Optional+OnSome.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponse.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.Delegate.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Common/SDKApplicationDelegate.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponseProtocol.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Common/AccessToken.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.Builtin.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphAPIVersion.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Permissions/Permission.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Permissions/ReadPermission.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Permissions/PublishPermission.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Internal/Extensions/Dictionary+KeyValueMap.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Common/SDKLoggingBehavior.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.FlushBehavior.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/Common/SDKSettings.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.FetchResult.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestResult.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestDataAttachment.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequest.swift /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.PictureView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFURL.h /Users/william/Projects/studySocial/studySocial/Pods/Target\ Support\ Files/FacebookCore/FacebookCore-umbrella.h /Users/william/Projects/studySocial/studySocial/Pods/Target\ Support\ Files/Bolts/Bolts-umbrella.h /Users/william/Projects/studySocial/studySocial/Pods/Target\ Support\ Files/FBSDKCoreKit/FBSDKCoreKit-umbrella.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFCancellationTokenSource.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFTaskCompletionSource.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLinkResolving.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLink.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFTask.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFCancellationToken.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLinkNavigation.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFCancellationTokenRegistration.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKTestUsersManager.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolver.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFWebViewAppLinkResolver.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFExecutor.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/BFTask+Exceptions.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMacros.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/Common/Bolts.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppEvents.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLinkTarget.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFMeasurementEvent.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.h /Users/william/Projects/studySocial/studySocial/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererView.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.h /Users/william/Projects/studySocial/studySocial/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkUtility.h /Users/william/Projects/studySocial/studySocial/build/Pods.build/Debug-iphonesimulator/FacebookCore.build/unextended-module.modulemap /Users/william/Projects/studySocial/studySocial/build/Pods.build/Debug-iphonesimulator/Bolts.build/module.modulemap /Users/william/Projects/studySocial/studySocial/build/Pods.build/Debug-iphonesimulator/FBSDKCoreKit.build/module.modulemap
D
/home/zbf/workspace/git/RTAP/target/debug/deps/itoa-9092e7218578a598.rmeta: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/itoa-0.4.4/src/lib.rs /home/zbf/workspace/git/RTAP/target/debug/deps/libitoa-9092e7218578a598.rlib: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/itoa-0.4.4/src/lib.rs /home/zbf/workspace/git/RTAP/target/debug/deps/itoa-9092e7218578a598.d: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/itoa-0.4.4/src/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/itoa-0.4.4/src/lib.rs:
D
/* Digital Mars DMDScript source code. * Copyright (c) 2000-2002 by Chromium Communications * D version Copyright (c) 2004-2010 by Digital Mars * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * written by Walter Bright * http://www.digitalmars.com * * D2 port by Dmitry Olshansky * * DMDScript is implemented in the D Programming Language, * http://www.digitalmars.com/d/ * * For a C++ implementation of DMDScript, including COM support, see * http://www.digitalmars.com/dscript/cppscript.html */ module dmdscript.identifier; import dmdscript.script; import dmdscript.value; /* An Identifier is a special case of a Value - it is a V_STRING * and has the hash value computed and set. */ struct Identifier { Value value; d_string toString() { return value.string; } const bool opEquals(ref const (Identifier)id) { return this is id || value.string == id.value.string; } static Identifier* build(d_string s) { Identifier* id = new Identifier; id.value.putVstring(s); id.value.toHash(); return id; } uint toHash() { return value.hash; } }
D
func void ZS_Attack () { PrintDebugNpc (PD_ZS_FRAME, "ZS_Attack" ); C_ZSInit (); PrintGlobals (PD_ZS_FRAME); Npc_PercEnable (self, PERC_ASSESSMURDER, B_CombatAssessMurder ); Npc_PercEnable (self, PERC_ASSESSDEFEAT, B_CombatAssessDefeat ); Npc_PercEnable (self, PERC_ASSESSDAMAGE, B_CombatReactToDamage ); Npc_PercEnable (self, PERC_ASSESSSURPRISE , ZS_AssessSurprise ); Npc_PercEnable (self, PERC_ASSESSMAGIC, B_AssessMagic ); Npc_PercEnable (self, PERC_ASSESSREMOVEWEAPON , B_CombatRemoveWeapon ); Npc_PercEnable (self, PERC_ASSESSENTERROOM , B_CombatAssessEnterRoom ); Npc_PercEnable (self, PERC_CATCHTHIEF , B_CombatCatchThief ); Npc_GetTarget (self); B_WhirlAround (self, other); B_SelectWeapon (self, other); AI_SetWalkmode (self, NPC_RUN); // Walkmode für den Zustand }; func int ZS_Attack_Loop() { PrintDebugNpc (PD_ZS_LOOP, "ZS_Attack_Loop"); Npc_GetTarget (self); PrintGlobals (PD_ZS_DETAIL); //-------- Wenn Gegner Bewußtlos oder Tod... -------- if (C_NpcIsDown(other) || !Hlp_IsValidNpc(other)) { PrintDebugNpc (PD_ZS_CHECK, "...Ziel ist kampf-unfähig oder ungültig!"); Npc_PerceiveAll (self); // nötig, da Npc_GetNextTarget() auf der Liste der zuletzt Wahrgenommenen VOBs beruht self.aivar[AIV_LASTTARGET] = Hlp_GetInstanceID(other); if (Npc_GetNextTarget(self)) // Vorsicht: löscht 'other', wenn kein neues Ziel gefunden { if (Hlp_IsValidNpc(other) && !C_NpcIsDown(other) && Npc_CanSeeNpcFreeLOS(self,other) && !C_OtherIsToleratedEnemy(self,other)) // sonst ignorierte Feinde nicht in die Auswahl mit aufnehmen { PrintDebugString (PD_ZS_CHECK, "...neues Ziel gefunden: ", other.name); } else { PrintDebugNpc (PD_ZS_CHECK, "...kein Neues Ziel vorhanden!"); return LOOP_END; }; } else { PrintDebugNpc (PD_ZS_CHECK, "...KEIN neues Ziel gefunden!"); return LOOP_END; }; }; if (Npc_GetStateTime(self) > 2) { //-------- Nahkampfdistanz zu groß ? -------- if ((!Npc_IsInFightMode(self, FMODE_FAR) && !Npc_IsInFightMode(self, FMODE_MAGIC)) && (!Npc_IsInFightMode(other, FMODE_FAR) && !Npc_IsInFightMode(other, FMODE_MAGIC)) ) { PrintDebugNpc (PD_ZS_CHECK, "...WEDER NSC noch Gegner führen Fernkampfwaffen!" ); if ( (Npc_GetDistToNpc(self, other)>HAI_DIST_ABORT_MELEE) && (self.aivar[AIV_LASTHITBYRANGEDWEAPON]==FALSE) ) { PrintDebugNpc (PD_ZS_CHECK, "...Gegner außerhalb Nahkampfreichweite & letzter Treffer nicht durch Fernkampfwaffe!"); B_FullStop (self); PrintGlobals (PD_ZS_CHECK); if (C_NpcIsHuman(other)) { if (Npc_GetPermAttitude (self, other) != ATT_HOSTILE) //MH: sonst kommt SVM püntig! { B_PointAndShout (self, other, "$RUNCOWARD"); }; }; return LOOP_END; }; } //-------- Fernkampfdistanz zu groß ? -------- else { PrintDebugNpc (PD_ZS_CHECK, "...entweder NSC oder Gegner FÜHREN Fernkampfwaffen!" ); if (Npc_GetDistToNpc(self, other) > HAI_DIST_ABORT_RANGED) { PrintDebugNpc (PD_ZS_CHECK, "...Gegner außerhalb Fernkampfreichweite!" ); B_FullStop (self); return LOOP_END; }; }; //-------- SC-Gegner rennt schon zu lange (davon) ? -------- var int countPursuitCycles; // 2. Zähler neben StateTime für Verfolgungsabbruch nach Zeit countPursuitCycles = countPursuitCycles + 1; if (Npc_IsPlayer(other) && (C_BodyStateContains(other,BS_RUN) || C_BodyStateContains(other,BS_JUMP)) && !Npc_IsInFightMode(self,FMODE_FAR) && !Npc_IsInFightMode(self,FMODE_MAGIC) && (C_GetAttackReason(self)!=AIV_AR_INTRUDER) ) { if (countPursuitCycles > HAI_TIME_FOLLOW) // einige ZS_Attack_Loop's lang verfolgen { PrintDebugNpc (PD_ZS_CHECK, "...Gegner rennt schon zu lange weg!" ); B_FullStop (self); if (C_NpcIsHuman(other)) { if (Npc_GetPermAttitude (self, other) != ATT_HOSTILE) //MH: sonst kommt SVM püntig! { B_PointAndShout (self, other, "$RUNCOWARD"); }; AI_Wait (self, 5); }; return LOOP_END; }; } else { countPursuitCycles = 0; }; //-------- Auswahl/Wechsel der richtigen Waffe -------- PrintGlobals (PD_ZS_DETAIL); Npc_ClearAIQueue (self); // falls sich FAI-Moves schneller ansammeln, als sie abgearbeitet werden können. B_SelectWeapon (self, other); AI_SetWalkmode (self, NPC_RUN); // falls durch den Waffenwechsel ein AI_Standup() passiert! Npc_SetStateTime (self, 0); }; /* -------- eigentliches Anwerfen der FAI -------- */ if (!C_NpcIsInvincible (other)) //MH: wird z.B. im Dialog auf True gesetzt, d.h. verfolgter SC kann sich unterhalten, ohne von aNSC angegriffen zu werden { AI_Attack (self); } else { AI_Wait (self, 0.5); }; //-------- Flucht antreten? -------- if (self.npctype==NPCTYPE_AMBIENT) || (self.npctype==NPCTYPE_OW_AMBIENT) || (self.npctype==NPCTYPE_MINE_AMBIENT) { if ( (self.fight_Tactic == FAI_HUMAN_COWARD) && (self.attribute[ATR_HITPOINTS] < (self.attribute[ATR_HITPOINTS_MAX] / 2) ) ) { PrintDebugNpc(PD_ZS_CHECK, "...coward flees!" ); AI_StartState( self, ZS_Flee, 0, "" ); }; if ( (self.fight_Tactic == FAI_HUMAN_STRONG) && (self.attribute[ATR_HITPOINTS] < (self.attribute[ATR_HITPOINTS_MAX] / 4 * 3) ) ) { PrintDebugNpc(PD_ZS_CHECK, "...strong flees!" ); AI_StartState( self, ZS_Flee, 0, "" ); }; if ( (self.fight_Tactic == FAI_HUMAN_MAGE) && (self.attribute[ATR_MANA] < (self.attribute[ATR_MANA_MAX] / 5)) ) { PrintDebugNpc(PD_ZS_CHECK, "...mage flees!" ); AI_StartState( self, ZS_Flee, 0, "" ); }; if ( (self.fight_Tactic == FAI_HUMAN_RANGED) && (self.attribute[ATR_HITPOINTS] < (self.attribute[ATR_HITPOINTS_MAX] / 3)) ) { PrintDebugNpc(PD_ZS_CHECK, "...ranged fighter flees!" ); AI_StartState( self, ZS_Flee, 0, "" ); }; }; return LOOP_CONTINUE; }; func void ZS_Attack_End() { PrintDebugNpc (PD_ZS_FRAME, "ZS_Attack_End" ); other = Hlp_GetNpc(self.aivar[AIV_LASTTARGET]); //SN: 'other' wird durch ein erfolgloses Npc_GetNextTarget() manchmal gelöscht! PrintGlobals (PD_ZS_CHECK); /* ---- Ist der Gegner "nur" bewußtlos... ---- */ if ( Npc_IsInState(other, ZS_Unconscious) && (self.fight_tactic != FAI_HUMAN_RANGED)) { PrintDebugNpc (PD_ZS_CHECK, "...Ziel bewußtlos/magisch schlafend und NSC kein purer Fernkämpfer!" ); if (Npc_GetAttitude (self, other) == ATT_FRIENDLY) { B_RemoveWeapon (self); B_Say (self, other, "$LETSFORGETOURLITTLEFIGHT"); C_StopLookAt (self); AI_StartState (self, ZS_HealSelf, 1, ""); }; if ((Npc_GetPermAttitude(self, other) == ATT_HOSTILE) || (C_GetAttackReason(self) == AIV_AR_INTRUDER)) { // ---- ... wird er "gefinished" wenn er ein Feind oder Eindringling ist... ---- PrintDebugNpc (PD_ZS_CHECK, "...Hostile/Intruder wird gefinished" ); B_FullStop (self); PrintGlobals (PD_ZS_CHECK); AI_FinishingMove(self, other); AI_Wait (self, 1); } else { // ---- ... oder ihm geraten es nicht wieder zu versuchen ---- PrintDebugNpc (PD_ZS_CHECK, "...Nicht hostile" ); B_Say (self, other, "$NEVERTRYTHATAGAIN" ); }; }; //-------- Nachbereitungen -------- B_RemoveWeapon (self); C_StopLookAt (self); B_ResetTempAttitude (self); B_SetAttackReason (self, AIV_AR_NONE); if (other.aivar[AIV_GUARDPASSAGE_STATUS] == AIV_GPS_PUNISH) { other.aivar[AIV_GUARDPASSAGE_STATUS] = AIV_GPS_FIRSTWARN; }; if (self.aivar[AIV_PLAYERISINROOM] == TRUE) { AI_StartState (self, ZS_ClearRoomWait , 1, ""); }; //-------- Plündern ! -------- if (!C_NpcIsBoss(self) && C_NpcIsHuman(other) && (Npc_IsInState(other, ZS_Unconscious) || Npc_IsDead(other) || Npc_IsInState(other, ZS_MagicSleep)) ) { if (self.fight_tactic != FAI_HUMAN_RANGED) { PrintDebugNpc (PD_ZS_CHECK, "...Plünderbedingungen erüllt!"); AI_StartState (self, ZS_AssessBody, 1, ""); return; }; }; //-------- Heilen ! -------- AI_StartState (self, ZS_HealSelf, 1, ""); }; //------------------------------------------------------------------------------------------------------ // Die letzt Chance für einen Abbruch des Kampfes // // Bedingung: // - Angriffsgrund: Nichtbefolgen der Aufforderung "Waffe weg!" // - NSC nocht nicht verletzt //------------------------------------------------------------------------------------------------------ func void B_CombatRemoveWeapon () { PrintDebugNpc (PD_ZS_FRAME, "B_CombatRemoveWeapon"); if (Npc_WasInState(self,ZS_AssessFighter) || Npc_WasInState(self,ZS_AssessFighterWait)) // Angriffs-Grund das Nichtbefolgen des "Waffe weg"?... { PrintDebugNpc (PD_ZS_CHECK, "...Angriffsgrund: Waffe nicht weggesteckt!"); self.aivar[AIV_PLAYERISINROOM] = FALSE; if (C_NpcHasFullPower (self)) // ...und wurde der NSC noch nicht getroffen... { PrintDebugNpc (PD_ZS_CHECK, "...NSC unverletzt!"); B_FullStop (self); B_ResetTempAttitude (self); B_AssessRemoveWeapon(); // ...dann bricht der NSC den Kampf gerade noch ab! }; }; }; //------------------------------------------------------------------------------------------------------ // Die letzt Chance für einen Abbruch des Kampfes // // Bedingung: // - Angriffsgrund: nicht schnell genug nach einer Warnung den Raum verlassen // - NSC noch nicht verletzt // - SC darf noch nichts geklaut haben //------------------------------------------------------------------------------------------------------ func void B_CombatAssessEnterRoom () { PrintDebugNpc (PD_ZS_FRAME, "B_CombatAssessEnterRoom"); if (Wld_GetPlayerPortalGuild() == GIL_NONE) { PrintDebugNpc (PD_ZS_CHECK, "...SC hat Raum des NSCs verlassen und noch nichts geklaut!"); if (C_NpcHasFullPower (self)) // ...und wurde der NSC noch nicht getroffen... { PrintDebugNpc (PD_ZS_CHECK, "...NSC unverletzt!"); B_FullStop (self); B_ResetTempAttitude (self); B_AssessRemoveWeapon(); // ...dann bricht der NSC den Kampf gerade noch ab! }; }; }; //------------------------------------------------------------------------------------------------------ // Der Spieler klaut während der Nsc Kämpft // // Bedingung: // - Speieler beklaut mich // - dadurch wird alles andere unwichtig // //------------------------------------------------------------------------------------------------------ func void B_CombatCatchThief () { PrintDebugNpc (PD_ZS_FRAME, "B_CombatAssessTheft"); B_FullStop ( self); B_WhirlAround ( self, other); B_SayOverlay ( self, other, "$DIRTYTHIEF"); B_AttackQuick ( self, other); };
D
// ************************************************************ // EXIT // ************************************************************ instance DIA_BaalNamib_EXIT(C_INFO) { npc = GUR_1204_BaalNamib; nr = 999; condition = DIA_BaalNamib_EXIT_Condition; information = DIA_BaalNamib_EXIT_Info; permanent = 1; description = DIALOG_ENDE; }; func int DIA_BaalNamib_EXIT_Condition() { return 1; }; func void DIA_BaalNamib_EXIT_Info() { AI_StopProcessInfos(self); }; // ************************************************************ // NICHT ansprechbar (Ungläubiger) // ************************************************************ // ************************************************************ instance DIA_BaalNamib_NoTalk(C_INFO) { npc = GUR_1204_BaalNamib; nr = 1; condition = DIA_BaalNamib_NoTalk_Condition; information = DIA_BaalNamib_NoTalk_Info; permanent = 1; important = 1; }; func int DIA_BaalNamib_NoTalk_Condition() { if (Npc_IsInState(self,ZS_TALK) && (BaalNamib_Ansprechbar==FALSE) && (Npc_GetPermAttitude(self,other)!=ATT_FRIENDLY)) { return 1; }; }; func void DIA_BaalNamib_NoTalk_Info() { Info_ClearChoices(DIA_BaalNamib_NoTalk); Info_Addchoice (DIA_BaalNamib_NoTalk,DIALOG_ENDE ,DIA_BaalNamib_NoTalk_ENDE); // Info_Addchoice (DIA_BaalNamib_NoTalk,"Is everything alright, pal?",DIA_BaalNamib_NoTalk_Imp); // Info_Addchoice (DIA_BaalNamib_NoTalk,"Alles, klar, Alter?",DIA_BaalNamib_NoTalk_Imp); Info_Addchoice (DIA_BaalNamib_NoTalk,"Je všechno v pořádku, příteli?",DIA_BaalNamib_NoTalk_Imp); // Info_Addchoice (DIA_BaalNamib_NoTalk,"The Sleeper be with you!",DIA_BaalNamib_NoTalk_Sleeper); // Info_Addchoice (DIA_BaalNamib_NoTalk,"Der Schläfer sei mit dir!",DIA_BaalNamib_NoTalk_Sleeper); Info_Addchoice (DIA_BaalNamib_NoTalk,"Spáč buď s tebou!",DIA_BaalNamib_NoTalk_Sleeper); // Info_Addchoice (DIA_BaalNamib_NoTalk,"Hi! I'm new here!",DIA_BaalNamib_NoTalk_Hi); // Info_Addchoice (DIA_BaalNamib_NoTalk,"Hi! Ich bin neu hier!",DIA_BaalNamib_NoTalk_Hi); Info_Addchoice (DIA_BaalNamib_NoTalk,"Zdar! Jsem tu nový!",DIA_BaalNamib_NoTalk_Hi); }; func void DIA_BaalNamib_NoTalk_Hi() { // AI_Output(other,self,"DIA_BaalNamib_NoTalk_Hi_15_00"); //Hi! I'm new here! // AI_Output(other,self,"DIA_BaalNamib_NoTalk_Hi_15_00"); //Hi! Ich bin neu hier! AI_Output(other,self,"DIA_BaalNamib_NoTalk_Hi_15_00"); //Zdar! Jsem tu nový! // AI_Output(self,other,"DIA_BaalNamib_NoTalk_Hi_02_01"); //(sigh) AI_Output(self,other,"DIA_BaalNamib_NoTalk_Hi_02_01"); //(vzdech) BaalNamib_Sakrileg = TRUE; }; func void DIA_BaalNamib_NoTalk_Sleeper() { // AI_Output(other,self,"DIA_BaalNamib_NoTalk_Sleeper_15_00"); //The Sleeper be with you! // AI_Output(other,self,"DIA_BaalNamib_NoTalk_Sleeper_15_00"); //Der Schläfer sei mit dir! AI_Output(other,self,"DIA_BaalNamib_NoTalk_Sleeper_15_00"); //Spáč buď s tebou! // AI_Output(self,other,"DIA_BaalNamib_NoTalk_Sleeper_02_01"); //(sigh) AI_Output(self,other,"DIA_BaalNamib_NoTalk_Sleeper_02_01"); //(vzdech) BaalNamib_Sakrileg = TRUE; }; func void DIA_BaalNamib_NoTalk_Imp() { // AI_Output(other,self,"DIA_BaalNamib_NoTalk_Imp_15_00"); //Is everything alright, pal? // AI_Output(other,self,"DIA_BaalNamib_NoTalk_Imp_15_00"); //Alles, klar, Alter? AI_Output(other,self,"DIA_BaalNamib_NoTalk_Imp_15_00"); //Je všechno v pořádku, příteli? // AI_Output(self,other,"DIA_BaalNamib_NoTalk_Imp_02_01"); //(sigh) AI_Output(self,other,"DIA_BaalNamib_NoTalk_Imp_02_01"); //(vzdech) BaalNamib_Sakrileg = TRUE; }; func void DIA_BaalNamib_NoTalk_ENDE() { AI_StopProcessInfos(self); }; // ************************************************************ // BN spricht dich an // ************************************************************ instance DIA_BaalNamib_FirstTalk(C_INFO) { npc = GUR_1204_BaalNamib; nr = 1; condition = DIA_BaalNamib_FirstTalk_Condition; information = DIA_BaalNamib_FirstTalk_Info; permanent = 0; important = 1; }; func int DIA_BaalNamib_FirstTalk_Condition() { if (BaalNamib_Ansprechbar==TRUE) { return 1; }; }; func void DIA_BaalNamib_FirstTalk_Info() { // AI_Output(self,other,"DIA_BaalNamib_FirstTalk_02_00"); //(sigh) AI_Output(self,other,"DIA_BaalNamib_FirstTalk_02_00"); //(vzdech) // AI_Output(self,other,"DIA_BaalNamib_FirstTalk_02_01"); //The Sleeper has chosen you. Do you really want to join us? // AI_Output(self,other,"DIA_BaalNamib_FirstTalk_02_01"); //Der Schläfer hat dich erwählt. Ist es dir wirklich ernst mit deinem Wunsch, uns beizutreten? AI_Output(self,other,"DIA_BaalNamib_FirstTalk_02_01"); //Spáč si tě vyvolil. Chceš se k nám opravdu přidat? Info_ClearChoices(DIA_BaalNamib_FirstTalk); // Info_AddChoice(DIA_BaalNamib_FirstTalk,"SAY NOTHING",DIA_BaalNamib_FirstTalk_Mute); // Info_AddChoice(DIA_BaalNamib_FirstTalk,"NICHTS SAGEN",DIA_BaalNamib_FirstTalk_Mute); Info_AddChoice(DIA_BaalNamib_FirstTalk,"NIC NEŘÍKEJ",DIA_BaalNamib_FirstTalk_Mute); // Info_AddChoice(DIA_BaalNamib_FirstTalk,"Yes, I wish to follow the Sleeper!",DIA_BaalNamib_FirstTalk_Sleeper); // Info_AddChoice(DIA_BaalNamib_FirstTalk,"Ja, ich will den Weg des Schläfers beschreiten!",DIA_BaalNamib_FirstTalk_Sleeper); Info_AddChoice(DIA_BaalNamib_FirstTalk,"Ano, chci následovat Spáče!",DIA_BaalNamib_FirstTalk_Sleeper); }; func void DIA_BaalNamib_FirstTalk_Mute() { // AI_Output(other,self,"DIA_BaalNamib_FirstTalk_Mute_15_00"); // AI_Output(other,self,"DIA_BaalNamib_FirstTalk_Mute_15_00"); //(vzdech) // AI_Output(self,other,"DIA_BaalNamib_FirstTalk_Mute_02_01"); //Well? // AI_Output(self,other,"DIA_BaalNamib_FirstTalk_Mute_02_01"); //Nun? AI_Output(self,other,"DIA_BaalNamib_FirstTalk_Mute_02_01"); //Všechno v pořádku? }; func void DIA_BaalNamib_FirstTalk_Sleeper() { // AI_Output(other,self,"DIA_BaalNamib_FirstTalk_Sleeper_15_00"); //Yes, I wish to follow the Sleeper! // AI_Output(other,self,"DIA_BaalNamib_FirstTalk_Sleeper_15_00"); //Ja, ich will den Weg des Schläfers beschreiten! AI_Output(other,self,"DIA_BaalNamib_FirstTalk_Sleeper_15_00"); //Ano, chci následovat cestu Spáče! // AI_Output(self,other,"DIA_BaalNamib_FirstTalk_Sleeper_02_01"); //Go to Cor Kalom. Tell him I sent you because you are a true supporter of the faith! // AI_Output(self,other,"DIA_BaalNamib_FirstTalk_Sleeper_02_01"); //Geh zu Cor Kalom. Sag ihm, ich schicke ihm einen wahren Anhänger des Glaubens! AI_Output(self,other,"DIA_BaalNamib_FirstTalk_Sleeper_02_01"); //Jdi za Cor Kalomem. Řekni mu, že jsem tě vyslal, protože jsi opravdový služebník víry! Info_ClearChoices(DIA_BaalNamib_FirstTalk); // B_LogEntry(CH1_JoinPsi,"Lester's acting bit has worked out. Baal Namib has spoken to me, and he's convinced that I'm now a true believer. Now I'm supposed to see the Guru Cor Kalom in his alchemy lab!"); // B_LogEntry(CH1_JoinPsi,"Lester's Schauspiel hat funktioniert. Baal Namib hat mir mir gesprochen und ist überzeugt, dass ich nun ein wahrer Anhänger des Glaubens bin. Ich soll nun den Guru Cor Kalom in seinem Alchemielabor aufsuchen!"); B_LogEntry(CH1_JoinPsi,"Lesterova scénka fungovala. Baal Namib se mnou promluvil a je přesvědčený, že jsem skutečně věřící. Nyní můžu jít navštívit guru Cor Kaloma do jeho alchymistické dílny!"); B_GiveXP(XP_ImpressBaalNamib); }; //----------------------------------------------------- // BESSERE RÜSTUNG NOVIZEN //----------------------------------------------------- instance GUR_1204_BaalNamib_ARMOR(C_INFO) { npc = GUR_1204_BaalNamib; condition = GUR_1204_BaalNamib_ARMOR_Condition; information = GUR_1204_BaalNamib_ARMOR_Info; important = 0; permanent = 1; // description = "I'd like to have better armor."; // description = "Ich möchte eine bessere Rüstung haben."; description = "Rád bych měl lepší zbroj."; }; func int GUR_1204_BaalNamib_ARMOR_Condition() { if (Npc_GetTrueGuild(hero) == GIL_NOV) && (!Npc_HasItems(hero,NOV_ARMOR_H)) { return TRUE; }; }; func void GUR_1204_BaalNamib_ARMOR_Info() { // AI_Output(hero,self,"GUR_1204_BaalNamib_ARMOR_Info_15_01");//I'd like to have better armor. // AI_Output(hero,self,"GUR_1204_BaalNamib_ARMOR_Info_15_01");//Ich möchte eine bessere Rüstung haben. AI_Output(hero,self,"GUR_1204_BaalNamib_ARMOR_Info_15_01");//Rád bych měl lepší zbroj. /* #Needs_attention - toto nedava zmysel - rucho novica mozes kupit az od 3.tej kapitoly, ale ked v 3.tej kapitole si uz davno templar ... Dal by som to od 1. kapitoly ... ak mas dost rudy */ if (Kapitel < 3) { // AI_Output(self,other,"GUR_1204_BaalNamib_ARMOR_Info_02_02");//The time has not yet come for you to wear the heavy armor of a novice. // AI_Output(self,other,"GUR_1204_BaalNamib_ARMOR_Info_02_02");//Es ist noch nicht an der Zeit für dich, die schwere Rüstung der Novizen zu tragen. AI_Output(self,other,"GUR_1204_BaalNamib_ARMOR_Info_02_02");//Ještě nepřišel čas, abys oblékl těžkou zbroj novice. } else if (Npc_HasItems(hero,ItMinugget) < VALUE_NOV_ARMOR_H ) { // AI_Output(self,other,"GUR_1204_BaalNamib_ARMOR_Info_02_03");//Come back as soon as you have enough ore. // AI_Output(self,other,"GUR_1204_BaalNamib_ARMOR_Info_02_03");//Komm wieder, wenn du genug Erz hast. AI_Output(self,other,"GUR_1204_BaalNamib_ARMOR_Info_02_03");//Vrať se, až budeš mít dost rudy. } else { // AI_Output(self,other,"GUR_1204_BaalNamib_ARMOR_Info_02_04");//This armor protects your body, like the Sleeper protects your spirit! // AI_Output(self,other,"GUR_1204_BaalNamib_ARMOR_Info_02_04");//Diese Rüstung schützt deinen Körper, wie der Schläfer deinen Geist schützt! AI_Output(self,other,"GUR_1204_BaalNamib_ARMOR_Info_02_04");//Tahle zbroj ochrání tvoje tělo, tak jako Spáč ochrání tvoji duši! CreateInvItem(self,NOV_ARMOR_H); B_GiveInvItems(self,hero,NOV_ARMOR_H,1); B_GiveInvItems(hero,self,ItMinugget,VALUE_NOV_ARMOR_H); }; }; //////////////////////////////////////// //////////////////////////////////////// ///////// Kap 2 //////// //////////////////////////////////////// //////////////////////////////////////// // ************************************************************************** // BAAL NAMIB SCHICKT DEN SPIELER ZU YBERION // ************************************************************************** instance Info_BaalNamib_BROTHERHOOD(C_INFO) { npc = GUR_1204_BaalNamib; condition = Info_BaalNamib_BROTHERHOOD_Condition; information = Info_BaalNamib_BROTHERHOOD_Info; important = 0; permanent = 0; // description = "Are there any tasks I can do for the Brotherhood?"; // description = "Gibt es Aufgaben, die ich für die Bruderschaft erledigen kann?"; description = "Můžu pro Bratrstvo vykonat nějaké úkoly?"; }; func int Info_BaalNamib_BROTHERHOOD_Condition() { //#Needs_Attention - tento dialog nieje dostupny - asi kvoli tomu, ze to presunuli na Lestera :thinking: //v ceskych skriptoch od Milhausa je dialog zapnuty - ale teoreticky moze sposobit problemy - lebo meni rutinu Cor Kalomovi (po odchode z tabora ho moze vratit) //nechame vypnuty, alebo zapneme a osetrime? (dialog nic extra neponuka :sad: ) // return (kapitel == 2) ; }; func void Info_BaalNamib_BROTHERHOOD_Info() { // AI_Output(other,self,"Info_BaalNamib_BROTHERHOOD_15_01"); //Are there any tasks I can do for the Brotherhood? // AI_Output(other,self,"Info_BaalNamib_BROTHERHOOD_15_01"); //Gibt es Aufgaben, die ich für die Bruderschaft erledigen kann? AI_Output(other,self,"Info_BaalNamib_BROTHERHOOD_15_01"); //Můžu pro Bratrstvo vykonat nějaké úkoly? // AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_02_02"); //Our master, the wise Y'Berion, has sent for a novice. Since you're a member of the community now, go to him and offer your services. // AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_02_02"); //Unser Meister, der weise Y'Berion, schickt nach einem Novizen. Nun, da du ein Bruder der Gemeinschaft geworden bist, geh zu ihm und biete ihm deine Hilfe an. AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_02_02"); //Náš mistr, moudrý Y'Berion, nechal poslat pro novice. Protože jsi nyní členem komunity, jdi za ním a nabídni mu své služby. Info_Clearchoices ( Info_BaalNamib_BROTHERHOOD); // Info_Addchoice (Info_BaalNamib_BROTHERHOOD,"Alright, I'll go to see him now.",Info_BaalNamib_BROTHERHOOD_OK); // Info_Addchoice (Info_BaalNamib_BROTHERHOOD,"In Ordnung, ich werde ihn sofort aufsuchen",Info_BaalNamib_BROTHERHOOD_OK); Info_Addchoice (Info_BaalNamib_BROTHERHOOD,"Dobrá, půjdu za ním hned.",Info_BaalNamib_BROTHERHOOD_OK); // Info_Addchoice (Info_BaalNamib_BROTHERHOOD,"Where can I find Y'Berion?",Info_BaalNamib_BROTHERHOOD_YBWO); // Info_Addchoice (Info_BaalNamib_BROTHERHOOD,"Wo finde ich Y'Berion?",Info_BaalNamib_BROTHERHOOD_YBWO); Info_Addchoice (Info_BaalNamib_BROTHERHOOD,"Kde najdu Y'Beriona?",Info_BaalNamib_BROTHERHOOD_YBWO); // Info_Addchoice (Info_BaalNamib_BROTHERHOOD,"Do you know what Y'Berion wants me to do?",Info_BaalNamib_BROTHERHOOD_YBWAS); // Info_Addchoice (Info_BaalNamib_BROTHERHOOD,"Weißt du, was ich für Y'berion erledigen soll?",Info_BaalNamib_BROTHERHOOD_YBWAS); Info_Addchoice (Info_BaalNamib_BROTHERHOOD,"Víš, co ode mě Y'Berion chce?",Info_BaalNamib_BROTHERHOOD_YBWAS); var C_NPC Kalom; Kalom = Hlp_GetNpc(GUR_1201_CORKALOM); Npc_ExchangeRoutine(Kalom,"kapitel2"); AI_ContinueRoutine(Kalom); }; func void Info_BaalNamib_BROTHERHOOD_YBWO() { // AI_Output(other,self,"Info_BaalNamib_BROTHERHOOD_YBWO_15_01"); //Where can I find Y'Berion? // AI_Output(other,self,"Info_BaalNamib_BROTHERHOOD_YBWO_15_01"); //Wo finde ich Y'Berion? AI_Output(other,self,"Info_BaalNamib_BROTHERHOOD_YBWO_15_01"); //Kde najdu Y'Beriona? // AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_YBWO_02_02"); //He's inside the temple hill. As always. // AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_YBWO_02_02"); //Er hält sich im Inneren des Tempelbergs auf. Wie immer. AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_YBWO_02_02"); //Je v chrámu, jako vždy. }; func void Info_BaalNamib_BROTHERHOOD_YBWAS() { // AI_Output(other,self,"Info_BaalNamib_BROTHERHOOD_YBWAS_15_01"); //Do you know what Y'Berion wants me to do? // AI_Output(other,self,"Info_BaalNamib_BROTHERHOOD_YBWAS_15_01"); //Weißt du, was ich für Y'Berion erledigen soll? AI_Output(other,self,"Info_BaalNamib_BROTHERHOOD_YBWAS_15_01"); //Víš, co ode mě Y'Berion chce? // AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_YBWAS_02_02"); //A great invocation will be taking place. But for it to begin, we need a magical object. // AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_YBWAS_02_02"); //Eine große Beschwörung wird stattfinden. Allerdings brauchen wir dafür einen magischen Gegenstand. AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_YBWAS_02_02"); //Bude se konat velké vzývání. Aby ale mohlo začít, potřebujeme jeden magický předmět. // AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_YBWAS_02_03"); //Y'Berion is looking for men brave enough to get him the artifact. // AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_YBWAS_02_03"); //Y'Berion sucht Männer, die mutig genug sind, ihm dieses Artefakt zu bringen. AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_YBWAS_02_03"); //Y'Berion hledá odvážné muže, kteří by mu ten artefakt opatřili. // AI_Output(other,self,"Info_BaalNamib_BROTHERHOOD_YBWAS_15_04"); //Sounds easy. // AI_Output(other,self,"Info_BaalNamib_BROTHERHOOD_YBWAS_15_04"); //Klingt einfach. AI_Output(other,self,"Info_BaalNamib_BROTHERHOOD_YBWAS_15_04"); //To zní jako snadný úkol. // AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_YBWAS_02_05"); //If it were easy, we'd already have the object. Talk to Y'Berion first. He'll explain it to you. // AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_YBWAS_02_05"); //Wenn es einfach wäre, hätten wir den Gegenstand schon. Sprich erst mal mit Y'Berion. Er wird dir alles erklären. AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_YBWAS_02_05"); //Kdyby to bylo snadné, už bychom ten předmět měli. Promluv si nejdříve s Y'Berionem. Všechno ti vysvětlí. }; func void Info_BaalNamib_BROTHERHOOD_OK() { // AI_Output(other,self,"Info_BaalNamib_BROTHERHOOD_OK_15_01"); //Okay, I'll call on him right away. // AI_Output(other,self,"Info_BaalNamib_BROTHERHOOD_OK_15_01"); //In Ordnung, ich werde ihn sofort aufsuchen. AI_Output(other,self,"Info_BaalNamib_BROTHERHOOD_OK_15_01"); //Dobrá, hned mu řeknu. // AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_OK_02_02"); //May the Sleeper protect you. // AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_OK_02_02"); //Möge der Schläfer dich beschützen AI_Output(self,other,"Info_BaalNamib_BROTHERHOOD_OK_02_02"); //Kéž tě Spáč ochrání! Info_Clearchoices(Info_BaalNamib_BROTHERHOOD); };
D
/run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/target/debug/deps/env_logger-a6b7425ef3781a62.rmeta: /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/lib.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/filter/mod.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/filter/regex.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/mod.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/humantime/mod.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/humantime/extern_impl.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/mod.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/atty.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/termcolor/mod.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/termcolor/extern_impl.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/target/debug/deps/libenv_logger-a6b7425ef3781a62.rlib: /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/lib.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/filter/mod.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/filter/regex.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/mod.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/humantime/mod.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/humantime/extern_impl.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/mod.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/atty.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/termcolor/mod.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/termcolor/extern_impl.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/target/debug/deps/env_logger-a6b7425ef3781a62.d: /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/lib.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/filter/mod.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/filter/regex.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/mod.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/humantime/mod.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/humantime/extern_impl.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/mod.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/atty.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/termcolor/mod.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/termcolor/extern_impl.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/lib.rs: /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/filter/mod.rs: /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/filter/regex.rs: /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/mod.rs: /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/humantime/mod.rs: /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/humantime/extern_impl.rs: /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/mod.rs: /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/atty.rs: /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/termcolor/mod.rs: /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.7.1/src/fmt/writer/termcolor/extern_impl.rs:
D
/** * Entry-point to serve-d * * Replaces std.stdio stdout with stderr so writeln calls don't accidentally * write to the RPC output. * * Handles all command line arguments, possibly modifying global state variables * when enabling serve-d specific protocol extensions are requested. * * Handles all the request/notification dispatch, calls (de)serialization of * given JSON parameters and return values and responds back to the RPC. * * Performs periodic GC cleanup and invokes the fiber scheduler, pushing * incoming RPC requests as tasks to the fiber scheduler. */ module app; // dumps a performance/GC trace log to served_trace.log //debug = PerfTraceLog; import core.thread; import core.sync.mutex; import fs = std.file; import io = std.stdio; import std.algorithm; import std.conv; import std.datetime.stopwatch; import std.experimental.logger; import std.functional; import std.getopt; import std.json; import std.path; import std.string; import std.traits; import served.io.http_wrap; import served.lsp.filereader; import served.lsp.jsonrpc; import served.types; import served.utils.fibermanager; import served.utils.trace; import served.utils.translate; import painlessjson; static import served.extension; __gshared io.File stdin, stdout; shared static this() { stdin = io.stdin; stdout = io.stdout; version (Windows) io.stdin = io.File("NUL", "r"); else version (Posix) io.stdin = io.File("/dev/null", "r"); else io.stderr.writeln("warning: no /dev/null implementation on this OS"); io.stdout = io.stderr; } bool initialized = false; ResponseMessage processRequest(RequestMessage msg) { debug(PerfTraceLog) mixin(traceStatistics(__FUNCTION__)); ResponseMessage res; res.id = msg.id; if (msg.method == "initialize" && !initialized) { trace("Initializing"); res.result = served.extension.initialize(msg.params.fromJSON!InitializeParams).toJSON; trace("Initialized"); initialized = true; return res; } if (!initialized) { trace("Tried to call command without initializing"); res.error = ResponseError(ErrorCode.serverNotInitialized); return res; } bool found = emitProtocol!(protocolMethod, (name, callSymbol, uda) { try { trace("Calling " ~ name); auto requestResult = callSymbol(); static if (is(typeof(requestResult) : JSONValue)) res.result = requestResult; else res.result = toJSON(requestResult); processRequestObservers(msg, requestResult); } catch (MethodException e) { res.error = e.error; } }, true)(msg.method, msg.params); if (!found) { io.stderr.writeln(msg); res.error = ResponseError(ErrorCode.methodNotFound); } return res; } void processRequestObservers(T)(RequestMessage msg, T result) { emitProtocol!(postProtocolMethod, (name, callSymbol, uda) { try { callSymbol(); } catch (MethodException e) { error("Error in post-protocolMethod: ", e); } }, false)(msg.method, msg.params, result); } void processNotify(RequestMessage msg) { debug(PerfTraceLog) mixin(traceStatistics(__FUNCTION__)); // even though the spec says the process should not stop before exit, vscode-languageserver doesn't call exit after shutdown so we just shutdown on the next request. // this also makes sure we don't operate on invalid states and segfault. if (msg.method == "exit" || served.extension.shutdownRequested) { rpc.stop(); if (!served.extension.shutdownRequested) served.extension.shutdown(); return; } if (!initialized) { trace("Tried to call notification without initializing"); return; } if (msg.method == "workspace/didChangeConfiguration") served.extension.processConfigChange(msg.params["settings"].parseConfiguration); documents.process(msg); emitProtocol!(protocolNotification, (name, callSymbol, uda) { try { callSymbol(); } catch (MethodException e) { error("Failed notify: ", e); } }, false)(msg.method, msg.params); } void printVersion(io.File output = io.stdout) { import Compiler = std.compiler; import OS = std.system; static if (__traits(compiles, { import workspaced.info : BundledDependencies, WorkspacedVersion = Version; })) import workspaced.info : BundledDependencies, WorkspacedVersion = Version; else import source.workspaced.info : BundledDependencies, WorkspacedVersion = Version; import source.served.info; output.writefln("serve-d v%(%s.%)%s with workspace-d v%(%s.%)", Version, VersionSuffix.length ? text('-', VersionSuffix) : VersionSuffix, WorkspacedVersion); output.writefln("Included features: %(%s, %)", IncludedFeatures); // There will always be a line which starts with `Built: ` forever, it is considered stable. If there is no line, assume version 0.1.2 output.writefln("Built: %s", __TIMESTAMP__); output.writeln("with compiler ", Compiler.name, " v", Compiler.version_major.to!string, ".", Compiler.version_minor.to!string, " on ", OS.os.to!string, " ", OS.endian.to!string); output.writefln(BundledDependencies); } __gshared FiberManager fibers; int main(string[] args) { debug globalLogLevel = LogLevel.trace; bool printVer; string[] features; string[] provides; string lang = "en"; bool wait; //dfmt off auto argInfo = args.getopt( "r|require", "Adds a feature set that is required. Unknown feature sets will intentionally crash on startup", &features, "p|provide", "Features to let the editor handle for better integration", &provides, "v|version", "Print version of program", &printVer, "lang", "Change the language of GUI messages", &lang, "wait", "Wait for a second before starting (for debugging)", &wait); //dfmt on if (wait) Thread.sleep(2.seconds); if (argInfo.helpWanted) { if (printVer) printVersion(); defaultGetoptPrinter("workspace-d / vscode-language-server bridge", argInfo.options); return 0; } if (printVer) { printVersion(); return 0; } if (lang.length >= 2) // ja-JP -> ja, en-GB -> en, etc currentLanguage = lang[0 .. 2]; if (currentLanguage != "en") info("Setting language to ", currentLanguage); fibersMutex = new Mutex(); foreach (feature; features) if (!IncludedFeatures.canFind(feature.toLower.strip)) { io.stderr.writeln(); io.stderr.writeln( "FATAL: Extension-requested feature set '" ~ feature ~ "' is not in this version of serve-d!"); io.stderr.writeln("---"); io.stderr.writeln("HINT: Maybe serve-d is outdated?"); io.stderr.writeln(); return 1; } trace("Features fulfilled"); foreach (provide; provides) { // don't forget to update README.md if adding stuff! switch (provide) { case "http": letEditorDownload = true; trace("Interactive HTTP downloads handled via editor"); break; case "implement-snippets": import served.commands.code_actions : implementInterfaceSnippets; implementInterfaceSnippets = true; trace("Auto-implement interface supports snippets"); break; case "context-snippets": import served.commands.complete : doCompleteSnippets; doCompleteSnippets = true; trace("Context snippets handled by serve-d"); break; case "test-runner": import served.commands.test_provider : doTrackTests; doTrackTests = true; trace("Discoverying & emitting unittests for language client"); break; default: warningf("Unknown --provide flag '%s' provided. Maybe serve-d is outdated?", provide); break; } } version (Windows) auto input = new WindowsStdinReader(); else version (Posix) auto input = new PosixStdinReader(); else auto input = new StdFileReader(stdin); input.start(); scope (exit) input.stop(); trace("Started reading from stdin"); rpc = new RPCProcessor(input, stdout); rpc.call(); trace("RPC started"); int gcCollects, totalGcCollects; StopWatch gcInterval; gcInterval.start(); scope (exit) { debug(PerfTraceLog) { import core.memory : GC; import std.stdio : File; auto traceLog = File("served_trace.log", "w"); auto totalAllocated = GC.stats().allocatedInCurrentThread; auto profileStats = GC.profileStats(); traceLog.writeln("manually collected GC ", totalGcCollects, " times"); traceLog.writeln("total ", profileStats.numCollections, " collections"); traceLog.writeln("total collection time: ", profileStats.totalCollectionTime); traceLog.writeln("total pause time: ", profileStats.totalPauseTime); traceLog.writeln("max collection time: ", profileStats.maxCollectionTime); traceLog.writeln("max pause time: ", profileStats.maxPauseTime); traceLog.writeln("total allocated in main thread: ", totalAllocated); traceLog.writeln(); dumpTraceInfos(traceLog); } } fibers ~= rpc; served.extension.spawnFiberImpl = (&pushFiber!(void delegate())).toDelegate; pushFiber(&served.extension.parallelMain); printVersion(io.stderr); while (rpc.state != Fiber.State.TERM) { while (rpc.hasData) { auto msg = rpc.poll; // Log on client side instead! (vscode setting: "serve-d.trace.server": "verbose") //trace("Message: ", msg); if (msg.id.hasData) pushFiber(gotRequest(msg)); else pushFiber(gotNotify(msg)); } Thread.sleep(10.msecs); synchronized (fibersMutex) fibers.call(); if (gcInterval.peek > 30.seconds) { import core.memory : GC; auto before = GC.stats(); StopWatch gcSpeed; gcSpeed.start(); GC.collect(); gcCollects++; totalGcCollects++; if (gcCollects > 5) { GC.minimize(); gcCollects = 0; } gcSpeed.stop(); auto after = GC.stats(); if (before != after) tracef("GC run in %s. Freed %s bytes (%s bytes allocated, %s bytes available)", gcSpeed.peek, cast(long) before.usedSize - cast(long) after.usedSize, after.usedSize, after.freeSize); else trace("GC run in ", gcSpeed.peek); gcInterval.reset(); } } return served.extension.shutdownRequested ? 0 : 1; } void delegate() gotRequest(RequestMessage msg) { return { ResponseMessage res; try { res = processRequest(msg); } catch (Exception e) { res.id = msg.id; res.error = ResponseError(e); res.error.code = ErrorCode.internalError; } catch (Throwable e) { res.id = msg.id; res.error = ResponseError(e); res.error.code = ErrorCode.internalError; rpc.window.showMessage(MessageType.error, "A fatal internal error occured in serve-d handling this request but it will attempt to keep running: " ~ e.msg); } rpc.send(res); }; } void delegate() gotNotify(RequestMessage msg) { return { try { processNotify(msg); } catch (Exception e) { error("Failed processing notification: ", e); } catch (Throwable e) { error("Attempting to recover from fatal issue: ", e); rpc.window.showMessage(MessageType.error, "A fatal internal error has occured in serve-d, but it will attempt to keep running: " ~ e.msg); } }; } __gshared Mutex fibersMutex; void pushFiber(T)(T callback, int pages = 20, string file = __FILE__, int line = __LINE__) { synchronized (fibersMutex) fibers.put(new Fiber(callback, 4096 * pages), file, line); }
D
import std.stdio; version (unittest) void main() { } else void main() { auto z = ulonger!2(2, 1); z.writeln(); auto zz = ulonger!3(z, ulonger!2(1, 2)); zz.writeln(); auto zzz = ulonger!4(zz, ulonger!3(ulonger!2(1, 2), z)); zzz.writeln(); writeln(); auto x = ulonger!2(0x4000_8000_3000_6000, 0xFFFF_FFFF_FFFF_FFFF); "%s + %s = %s".writefln(x, z, x + z); "%s * %s = %s".writefln(x, z, x * z); writeln(); auto y = ulonger!2(0x0000_0000_0001_0001, 0x0000_0000_0000_0000); "%s * %s = ".writef(y, y); y = y * y; y.writeln(); "%s * %s = ".writef(y, y); y = y * y; y.writeln(); "%s * %s = ".writef(y, y); y = y * y; y.writeln(); } /** fixed size unsigned integer ulonger!i is the unsigned integer type with 1 << (i + 5) bit. */ struct ulonger(size_t n) if (1 < n) { enum mbits = 32 << n; enum hbits = 16 << n; enum qbits = 8 << n; alias ulonger!n ul; static if (n == 2) { alias ulong ui; alias uint us; } else static if (n == 3) { alias ulonger!2 ui; alias ulong us; } else { alias ulonger!(n-1) ui; alias ulonger!(n-2) us; } private ui[2] w; this (ui[2]w) { this.w = w; } this (ui x, ui y) { this.w = [x, y]; } this (ui x) { this.w[0] = x; } static if (n > 2) this (ulong x) { this.w[0] = ui(x); } ui[4] half() { ui[4] ret; foreach (i; 0..2) { static if (n > 2) foreach (j; 0..2) ret[i << 1 | j] = ui(w[i].w[j]); else { ret[i << 1] = w[i] & 0xFFFF_FFFFUL; ret[i << 1 | 1] = w[i] >> 32; } } return ret; } CarryOverFlag carryover(ul other) { auto upper = w[1].carryover(other.w[1]); if (upper != CarryOverFlag.Full) return upper; return w[0].carryover(other.w[0]); } ul opUnary(string op)() if (op == "++") { ++w[0]; return this; } ul opBinary(string op)(size_t amount) { if (mbits <= amount) { return ul(0); } if (hbits <= amount) { static if (op == "<<") { static if (n == 2) return ul(0, w[0] << (amount - hbits)); else return ul(ui(0), w[0] << (amount - hbits)); } static if (op == ">>") return ul(w[1] >> (amount - hbits)); } if (amount == 0) return this; static if (op == "<<") return ul(w[0] << amount, w[1] << amount | w[0] >> (hbits - amount)); static if (op == ">>") return ul(w[0] >> amount | w[1] << (hbits - amount), w[1] >> amount); } ul opBinary(string op)(ul other) { static if (op == "+") { ui[2] nw; nw[0] = w[0] + other.w[0]; nw[1] = w[1] + other.w[1]; if (w[0].carryover(other.w[0]) == CarryOverFlag.CarryOver) ++nw[1]; return ul(nw); } static if (op == "-"){} static if (op == "*") { auto tw = this.half(), ow = other.half(); ul ret; ret.w[0] += tw[0] * ow[0]; foreach (i; 0..2) { ret = ret + (ul(tw[i] * ow[1-i]) << qbits); } foreach (i; 0..3) { ret.w[1] += tw[i] * ow[2-i]; } foreach (i; 0..4) { ret.w[1] += (tw[i] * ow[3-i]) << qbits; } return ret; } static if (op == "/"){} static if (op == "%"){} static if (op == "|") return ulonger([content[0]|other.content[0], content[1]|other.content[1]]); static if (op == "&") return ulonger([content[0]&other.content[0], content[1]&other.content[1]]); static if (op == "^") return ulonger([content[0]^other.content[0], content[1]^other.content[1]]); } } enum CarryOverFlag { No, Full, CarryOver } import std.traits : isUnsigned; CarryOverFlag carryover(T)(T self, T other) if (isUnsigned!T) { bool full = true; auto and = self & other; auto nor = ~(self | other); foreach_reverse (i; 0..(T.sizeof << 3)) { if (and >> i & 1) { return CarryOverFlag.CarryOver; } if (nor >> i & 1) return CarryOverFlag.No; } return CarryOverFlag.Full; } unittest { ulong full = 0xFFFF_FFFF_FFFF_FFFF, lower = 0x4000_0000_0000_0000, upper = 0x8000_0000_0000_0000, zero = 0x0000_0000_0000_0000, odd = 0xaaaa_aaaa_aaaa_aaaa, even = 0x5555_5555_5555_5555; assert (full.carryover(zero) == CarryOverFlag.Full); assert (full.carryover(lower) == CarryOverFlag.CarryOver); assert (full.carryover(upper) == CarryOverFlag.CarryOver); assert (lower.carryover(zero) == CarryOverFlag.No); assert (upper.carryover(zero) == CarryOverFlag.No); assert (lower.carryover(upper) == CarryOverFlag.No); assert (odd.carryover(even) == CarryOverFlag.Full); assert (odd.carryover(upper) == CarryOverFlag.CarryOver); assert (even.carryover(even) == CarryOverFlag.No); "unittest passed: carryover!ulong".writeln(); } unittest { uint full = 0xFFFF_FFFF, lower = 0x4000_0000, upper = 0x8000_0000, zero = 0x0000_0000, odd = 0xaaaa_aaaa, even = 0x5555_5555; assert (full.carryover(zero) == CarryOverFlag.Full); assert (full.carryover(lower) == CarryOverFlag.CarryOver); assert (full.carryover(upper) == CarryOverFlag.CarryOver); assert (lower.carryover(zero) == CarryOverFlag.No); assert (upper.carryover(zero) == CarryOverFlag.No); assert (lower.carryover(upper) == CarryOverFlag.No); assert (odd.carryover(even) == CarryOverFlag.Full); assert (odd.carryover(upper) == CarryOverFlag.CarryOver); assert (even.carryover(even) == CarryOverFlag.No); "unittest passed: carryover!uint".writeln(); }
D
# FIXED Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/icall/stack/ble_user_config.c Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common/hal_types.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common/../_common/cc26xx/_hal_types.h Startup/ble_user_config.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdint.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/controller/cc26xx_r2/inc/ll_common.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/drivers/rf/RF.h Startup/ble_user_config.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdbool.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/BIOS.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/std.h Startup/ble_user_config.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdarg.h Startup/ble_user_config.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stddef.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/targets/select.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/targets/arm/elf/std.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/targets/arm/elf/M3.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/targets/std.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/xdc.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types__prologue.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/package/package.defs.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types__epilogue.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/BIOS__prologue.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/package/package.defs.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error__prologue.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Main.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IHeap.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Memory.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IHeap.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/package/Memory_HeapProxy.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IHeap.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IGateProvider.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/package/Main_Module_GateProxy.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IGateProvider.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error__epilogue.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IGateProvider.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/package/BIOS_RtsGateProxy.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IGateProvider.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/BIOS__epilogue.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/package/BIOS_RtsGateProxy.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Clock.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Assert.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Assert__prologue.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Main.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags__prologue.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Main.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags__epilogue.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Assert__epilogue.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Log.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Log__prologue.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Main.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Text.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Log__epilogue.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/interfaces/ITimer.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/interfaces/package/package.defs.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Queue.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Swi.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Assert.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Log.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Queue.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/package/Clock_TimerProxy.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/interfaces/ITimer.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/package/Clock_TimerProxy.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Semaphore.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Log.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Assert.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Queue.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Task.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Task__prologue.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Assert.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Log.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IHeap.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Queue.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/interfaces/ITaskSupport.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Clock.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/package/Task_SupportProxy.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/interfaces/ITaskSupport.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Task__epilogue.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Clock.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Event.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Event__prologue.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Assert.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Log.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Queue.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Clock.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Task.h Startup/ble_user_config.obj: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Event__epilogue.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/devices/cc26x0r2/driverlib/rf_common_cmd.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/devices/cc26x0r2/driverlib/rf_mailbox.h Startup/ble_user_config.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/string.h Startup/ble_user_config.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/linkage.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/devices/cc26x0r2/driverlib/rf_prop_cmd.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/devices/cc26x0r2/driverlib/rf_ble_cmd.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common/cc26xx/rf_hal.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common/hal_types.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/osal/src/inc/osal.h Startup/ble_user_config.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/limits.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/osal/src/inc/comdef.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common/hal_types.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/inc/hal_defs.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/osal/src/inc/osal_memory.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/osal/src/inc/osal_timers.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/icall/src/inc/icall.h Startup/ble_user_config.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdlib.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/inc/hal_assert.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common/hal_types.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/controller/cc26xx_r2/inc/ll.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/inc/bcomdef.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/controller/cc26xx_r2/inc/ll_scheduler.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/controller/cc26xx_r2/inc/ll_user_config.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/icall/inc/ble_user_config.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/icall/src/inc/icall_user_config.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/icall/inc/ble_dispatch.h Startup/ble_user_config.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/inc/l2cap.h C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/icall/stack/ble_user_config.c: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common/hal_types.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common/../_common/cc26xx/_hal_types.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdint.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/controller/cc26xx_r2/inc/ll_common.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/drivers/rf/RF.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdbool.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/BIOS.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/std.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdarg.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stddef.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/targets/select.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/targets/arm/elf/std.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/targets/arm/elf/M3.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/targets/std.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/xdc.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types__prologue.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/package/package.defs.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types__epilogue.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/BIOS__prologue.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/package/package.defs.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error__prologue.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Main.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IHeap.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Memory.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IHeap.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/package/Memory_HeapProxy.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IHeap.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IGateProvider.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/package/Main_Module_GateProxy.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IGateProvider.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error__epilogue.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IGateProvider.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/package/BIOS_RtsGateProxy.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IGateProvider.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/BIOS__epilogue.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/package/BIOS_RtsGateProxy.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Clock.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Assert.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Assert__prologue.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Main.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags__prologue.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Main.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags__epilogue.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Assert__epilogue.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Log.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Log__prologue.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Main.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Text.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Log__epilogue.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/interfaces/ITimer.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/interfaces/package/package.defs.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Queue.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Swi.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Assert.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Log.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Queue.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/package/Clock_TimerProxy.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/interfaces/ITimer.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/package/Clock_TimerProxy.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Semaphore.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Log.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Assert.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Queue.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Task.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Task__prologue.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Assert.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Log.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IHeap.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Queue.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/interfaces/ITaskSupport.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Error.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Clock.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/package/Task_SupportProxy.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/interfaces/ITaskSupport.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Task__epilogue.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Clock.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Event.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Types.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IInstance.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Event__prologue.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Assert.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Diags.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/Log.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Queue.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Clock.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Task.h: C:/ti/xdctools_3_50_00_10_core/packages/xdc/runtime/IModule.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages/ti/sysbios/knl/Event__epilogue.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/devices/cc26x0r2/driverlib/rf_common_cmd.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/devices/cc26x0r2/driverlib/rf_mailbox.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/string.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/linkage.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/devices/cc26x0r2/driverlib/rf_prop_cmd.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/devices/cc26x0r2/driverlib/rf_ble_cmd.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common/cc26xx/rf_hal.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common/hal_types.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/osal/src/inc/osal.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/limits.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/osal/src/inc/comdef.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common/hal_types.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/inc/hal_defs.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/osal/src/inc/osal_memory.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/osal/src/inc/osal_timers.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/icall/src/inc/icall.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdlib.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/inc/hal_assert.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common/hal_types.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/controller/cc26xx_r2/inc/ll.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/inc/bcomdef.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/controller/cc26xx_r2/inc/ll_scheduler.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/controller/cc26xx_r2/inc/ll_user_config.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/icall/inc/ble_user_config.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/icall/src/inc/icall_user_config.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/icall/inc/ble_dispatch.h: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/inc/l2cap.h:
D
//https://issues.dlang.org/show_bug.cgi?id=19203 struct BoolWithErr { bool b; string error; alias b this; } struct Foo { int popBack() { return 0; } } struct Bar {} template hasPopBack(T) { static if (!is(typeof(T.init.popBack))) enum hasPopBack = BoolWithErr(false, T.stringof~" does not have popBack"); else enum hasPopBack = BoolWithErr(true,""); } void test() { static assert( hasPopBack!Foo); static assert(!hasPopBack!Bar); static assert( hasPopBack!Foo && !hasPopBack!Bar); }
D
a set of rules or principles or laws (especially written ones) a coding system used for transmitting messages requiring brevity or secrecy (computer science) the symbolic arrangement of data or instructions in a computer program or the set of such instructions attach a code to convert ordinary language into code
D
import std.stdio; import std.string; import std.conv; import std.algorithm; void main() { int N = to!int(chomp(readln())); int K = to!int(chomp(readln())); int X = to!int(chomp(readln())); int Y = to!int(chomp(readln())); int fee; if(N < K) { fee = N*X; fee.writeln; return; } fee += K*X; if(!N-K < 1) fee += (N-K)*Y; fee.writeln; }
D
/** * Invoke the linker as a separate process. * * Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/link.d, _link.d) * Documentation: https://dlang.org/phobos/dmd_link.html * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/link.d */ module dmd.link; import core.stdc.ctype; import core.stdc.stdio; import core.stdc.string; import core.sys.posix.stdio; import core.sys.posix.stdlib; import core.sys.posix.unistd; import core.sys.windows.winbase; import core.sys.windows.windef; import dmd.dmdparams; import dmd.errors; import dmd.globals; import dmd.location; import dmd.root.array; import dmd.root.env; import dmd.root.file; import dmd.root.filename; import dmd.common.outbuffer; import dmd.common.string; import dmd.root.rmem; import dmd.root.string; import dmd.utils; import dmd.target; import dmd.vsoptions; version (Posix) extern (C) int pipe(int*); version (Windows) { /* https://www.digitalmars.com/rtl/process.html#_spawn * https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/spawnvp-wspawnvp?view=msvc-170 */ extern (C) { int spawnlp(int, const char*, const char*, const char*, const char*); int spawnl(int, const char*, const char*, const char*, const char*); int spawnv(int, const char*, const char**); int spawnvp(int, const char*, const char**); enum _P_WAIT = 0; } } // Workaround lack of 'vfork' in older druntime binding for non-Glibc version (Posix) extern(C) pid_t vfork(); version (CRuntime_Microsoft) { // until the new windows bindings are available when building dmd. static if(!is(STARTUPINFOA)) { alias STARTUPINFOA = STARTUPINFO; // dwCreationFlags for CreateProcess() and CreateProcessAsUser() enum : DWORD { DEBUG_PROCESS = 0x00000001, DEBUG_ONLY_THIS_PROCESS = 0x00000002, CREATE_SUSPENDED = 0x00000004, DETACHED_PROCESS = 0x00000008, CREATE_NEW_CONSOLE = 0x00000010, NORMAL_PRIORITY_CLASS = 0x00000020, IDLE_PRIORITY_CLASS = 0x00000040, HIGH_PRIORITY_CLASS = 0x00000080, REALTIME_PRIORITY_CLASS = 0x00000100, CREATE_NEW_PROCESS_GROUP = 0x00000200, CREATE_UNICODE_ENVIRONMENT = 0x00000400, CREATE_SEPARATE_WOW_VDM = 0x00000800, CREATE_SHARED_WOW_VDM = 0x00001000, CREATE_FORCEDOS = 0x00002000, BELOW_NORMAL_PRIORITY_CLASS = 0x00004000, ABOVE_NORMAL_PRIORITY_CLASS = 0x00008000, CREATE_BREAKAWAY_FROM_JOB = 0x01000000, CREATE_WITH_USERPROFILE = 0x02000000, CREATE_DEFAULT_ERROR_MODE = 0x04000000, CREATE_NO_WINDOW = 0x08000000, PROFILE_USER = 0x10000000, PROFILE_KERNEL = 0x20000000, PROFILE_SERVER = 0x40000000 } } } /**************************************** * Write filename to cmdbuf, quoting if necessary. */ private void writeFilename(OutBuffer* buf, const(char)[] filename) { /* Loop and see if we need to quote */ foreach (const char c; filename) { if (isalnum(c) || c == '_') continue; /* Need to quote */ buf.writeByte('"'); buf.writestring(filename); buf.writeByte('"'); return; } /* No quoting necessary */ buf.writestring(filename); } private void writeFilename(OutBuffer* buf, const(char)* filename) { writeFilename(buf, filename.toDString()); } version (Posix) { /***************************** * As it forwards the linker error message to stderr, checks for the presence * of an error indicating lack of a main function (NME_ERR_MSG). * * Returns: * 1 if there is a no main error * -1 if there is an IO error * 0 otherwise */ private int findNoMainError(int fd) { version (OSX) { static immutable(char*) nmeErrorMessage = "`__Dmain`, referenced from:"; } else { static immutable(char*) nmeErrorMessage = "undefined reference to `_Dmain`"; } FILE* stream = fdopen(fd, "r"); if (stream is null) return -1; const(size_t) len = 64 * 1024 - 1; char[len + 1] buffer; // + '\0' size_t beg = 0, end = len; bool nmeFound = false; for (;;) { // read linker output const(size_t) n = fread(&buffer[beg], 1, len - beg, stream); if (beg + n < len && ferror(stream)) return -1; buffer[(end = beg + n)] = '\0'; // search error message, stop at last complete line const(char)* lastSep = strrchr(buffer.ptr, '\n'); if (lastSep) buffer[(end = lastSep - &buffer[0])] = '\0'; if (strstr(&buffer[0], nmeErrorMessage)) nmeFound = true; if (lastSep) buffer[end++] = '\n'; if (fwrite(&buffer[0], 1, end, stderr) < end) return -1; if (beg + n < len && feof(stream)) break; // copy over truncated last line memcpy(&buffer[0], &buffer[end], (beg = len - end)); } return nmeFound ? 1 : 0; } } version (Windows) { private void writeQuotedArgIfNeeded(ref OutBuffer buffer, const(char)* arg) { bool quote = false; for (size_t i = 0; arg[i]; ++i) { if (arg[i] == '"') { quote = false; break; } if (arg[i] == ' ') quote = true; } if (quote) buffer.writeByte('"'); buffer.writestring(arg); if (quote) buffer.writeByte('"'); } unittest { OutBuffer buffer; const(char)[] test(string arg) { buffer.reset(); buffer.writeQuotedArgIfNeeded(arg.ptr); return buffer[]; } assert(test("arg") == `arg`); assert(test("arg with spaces") == `"arg with spaces"`); assert(test(`"/LIBPATH:dir with spaces"`) == `"/LIBPATH:dir with spaces"`); assert(test(`/LIBPATH:"dir with spaces"`) == `/LIBPATH:"dir with spaces"`); } } /***************************** * Run the linker. Return status of execution. */ public int runLINK() { const phobosLibname = finalDefaultlibname(); void setExeFile() { /* Generate exe file name from first obj name. * No need to add it to cmdbuf because the linker will default to it. */ const char[] n = FileName.name(global.params.objfiles[0].toDString); global.params.exefile = FileName.forceExt(n, "exe"); } const(char)[] getMapFilename() { const(char)[] fn = FileName.forceExt(global.params.exefile, map_ext); const(char)[] path = FileName.path(global.params.exefile); return path.length ? fn : FileName.combine(global.params.objdir, fn); } version (Windows) { if (phobosLibname) global.params.libfiles.push(phobosLibname.xarraydup.ptr); if (target.objectFormat() == Target.ObjectFormat.coff) { OutBuffer cmdbuf; cmdbuf.writestring("/NOLOGO"); for (size_t i = 0; i < global.params.objfiles.length; i++) { cmdbuf.writeByte(' '); const(char)* p = global.params.objfiles[i]; writeFilename(&cmdbuf, p); } if (global.params.resfile) { cmdbuf.writeByte(' '); writeFilename(&cmdbuf, global.params.resfile); } cmdbuf.writeByte(' '); if (global.params.exefile) { cmdbuf.writestring("/OUT:"); writeFilename(&cmdbuf, global.params.exefile); } else { setExeFile(); } // Make sure path to exe file exists ensurePathToNameExists(Loc.initial, global.params.exefile); cmdbuf.writeByte(' '); if (global.params.mapfile) { cmdbuf.writestring("/MAP:"); writeFilename(&cmdbuf, global.params.mapfile); } else if (driverParams.map) { cmdbuf.writestring("/MAP:"); writeFilename(&cmdbuf, getMapFilename()); } for (size_t i = 0; i < global.params.libfiles.length; i++) { cmdbuf.writeByte(' '); cmdbuf.writestring("/DEFAULTLIB:"); writeFilename(&cmdbuf, global.params.libfiles[i]); } if (global.params.deffile) { cmdbuf.writeByte(' '); cmdbuf.writestring("/DEF:"); writeFilename(&cmdbuf, global.params.deffile); } if (driverParams.symdebug) { cmdbuf.writeByte(' '); cmdbuf.writestring("/DEBUG"); // in release mode we need to reactivate /OPT:REF after /DEBUG if (global.params.release) cmdbuf.writestring(" /OPT:REF"); } if (driverParams.dll) { cmdbuf.writeByte(' '); cmdbuf.writestring("/DLL"); } for (size_t i = 0; i < global.params.linkswitches.length; i++) { cmdbuf.writeByte(' '); cmdbuf.writeQuotedArgIfNeeded(global.params.linkswitches[i]); } VSOptions vsopt; // if a runtime library (msvcrtNNN.lib) from the mingw folder is selected explicitly, do not detect VS and use lld if (driverParams.mscrtlib.length <= 6 || driverParams.mscrtlib[0..6] != "msvcrt" || !isdigit(driverParams.mscrtlib[6])) vsopt.initialize(); const(char)* linkcmd = getenv(target.isX86_64 ? "LINKCMD64" : "LINKCMD"); if (!linkcmd) linkcmd = getenv("LINKCMD"); // backward compatible if (!linkcmd) linkcmd = vsopt.linkerPath(target.isX86_64); if (!target.isX86_64 && FileName.equals(FileName.name(linkcmd), "lld-link.exe")) { // object files not SAFESEH compliant, but LLD is more picky than MS link cmdbuf.writestring(" /SAFESEH:NO"); // if we are using LLD as a fallback, don't link to any VS libs even if // we detected a VS installation and they are present vsopt.uninitialize(); } if (const(char)* lflags = vsopt.linkOptions(target.isX86_64)) { cmdbuf.writeByte(' '); cmdbuf.writestring(lflags); } cmdbuf.writeByte(0); // null terminate the buffer char[] p = cmdbuf.extractSlice()[0 .. $-1]; const(char)[] lnkfilename; if (p.length > 7000) { lnkfilename = FileName.forceExt(global.params.exefile, "lnk"); writeFile(Loc.initial, lnkfilename, p); if (lnkfilename.length < p.length) { p[0] = '@'; p[1 .. lnkfilename.length +1] = lnkfilename; p[lnkfilename.length +1] = 0; } } const int status = executecmd(linkcmd, p.ptr); if (lnkfilename) { lnkfilename.toCStringThen!(lf => remove(lf.ptr)); FileName.free(lnkfilename.ptr); } return status; } else if (target.objectFormat() == Target.ObjectFormat.omf) { OutBuffer cmdbuf; global.params.libfiles.push("user32"); global.params.libfiles.push("kernel32"); for (size_t i = 0; i < global.params.objfiles.length; i++) { if (i) cmdbuf.writeByte('+'); const(char)[] p = global.params.objfiles[i].toDString(); const(char)[] basename = FileName.removeExt(FileName.name(p)); const(char)[] ext = FileName.ext(p); if (ext.length && !strchr(basename.ptr, '.')) { // Write name sans extension (but not if a double extension) writeFilename(&cmdbuf, p[0 .. $ - ext.length - 1]); } else writeFilename(&cmdbuf, p); FileName.free(basename.ptr); } cmdbuf.writeByte(','); if (global.params.exefile) writeFilename(&cmdbuf, global.params.exefile); else { setExeFile(); } // Make sure path to exe file exists ensurePathToNameExists(Loc.initial, global.params.exefile); cmdbuf.writeByte(','); if (global.params.mapfile) writeFilename(&cmdbuf, global.params.mapfile); else if (driverParams.map) { writeFilename(&cmdbuf, getMapFilename()); } else cmdbuf.writestring("nul"); cmdbuf.writeByte(','); for (size_t i = 0; i < global.params.libfiles.length; i++) { if (i) cmdbuf.writeByte('+'); writeFilename(&cmdbuf, global.params.libfiles[i]); } if (global.params.deffile) { cmdbuf.writeByte(','); writeFilename(&cmdbuf, global.params.deffile); } /* Eliminate unnecessary trailing commas */ while (1) { const size_t i = cmdbuf.length; if (!i || cmdbuf[i - 1] != ',') break; cmdbuf.setsize(cmdbuf.length - 1); } if (global.params.resfile) { cmdbuf.writestring("/RC:"); writeFilename(&cmdbuf, global.params.resfile); } if (driverParams.map || global.params.mapfile) cmdbuf.writestring("/m"); version (none) { if (debuginfo) cmdbuf.writestring("/li"); if (codeview) { cmdbuf.writestring("/co"); if (codeview3) cmdbuf.writestring(":3"); } } else { if (driverParams.symdebug) cmdbuf.writestring("/co"); } cmdbuf.writestring("/noi"); for (size_t i = 0; i < global.params.linkswitches.length; i++) { cmdbuf.writestring(global.params.linkswitches[i]); } cmdbuf.writeByte(';'); cmdbuf.writeByte(0); //null terminate the buffer char[] p = cmdbuf.extractSlice()[0 .. $-1]; const(char)[] lnkfilename; if (p.length > 7000) { lnkfilename = FileName.forceExt(global.params.exefile, "lnk"); writeFile(Loc.initial, lnkfilename, p); if (lnkfilename.length < p.length) { p[0] = '@'; p[1 .. lnkfilename.length +1] = lnkfilename; p[lnkfilename.length +1] = 0; } } const(char)* linkcmd = getenv("LINKCMD"); if (!linkcmd) linkcmd = "optlink"; const int status = executecmd(linkcmd, p.ptr); if (lnkfilename) { lnkfilename.toCStringThen!(lf => remove(lf.ptr)); FileName.free(lnkfilename.ptr); } return status; } else { assert(0); } } else version (Posix) { pid_t childpid; int status; // Build argv[] Strings argv; const(char)* cc = getenv("CC"); if (!cc) { argv.push("cc"); } else { // Split CC command to support link driver arguments such as -fpie or -flto. char* arg = cast(char*)Mem.check(strdup(cc)); const(char)* tok = strtok(arg, " "); while (tok) { argv.push(mem.xstrdup(tok)); tok = strtok(null, " "); } free(arg); } argv.append(&global.params.objfiles); version (OSX) { // If we are on Mac OS X and linking a dynamic library, // add the "-dynamiclib" flag if (driverParams.dll) argv.push("-dynamiclib"); } else version (Posix) { if (driverParams.dll) argv.push("-shared"); } // None of that a.out stuff. Use explicit exe file name, or // generate one from name of first source file. argv.push("-o"); if (global.params.exefile) { argv.push(global.params.exefile.xarraydup.ptr); } else if (global.params.run) { version (all) { char[L_tmpnam + 14 + 1] name; strcpy(name.ptr, P_tmpdir); strcat(name.ptr, "/dmd_runXXXXXX"); int fd = mkstemp(name.ptr); if (fd == -1) { error(Loc.initial, "error creating temporary file"); return 1; } else close(fd); global.params.exefile = name.arraydup; argv.push(global.params.exefile.xarraydup.ptr); } else { /* The use of tmpnam raises the issue of "is this a security hole"? * The hole is that after tmpnam and before the file is opened, * the attacker modifies the file system to get control of the * file with that name. I do not know if this is an issue in * this context. * We cannot just replace it with mkstemp, because this name is * passed to the linker that actually opens the file and writes to it. */ char[L_tmpnam + 1] s; char* n = tmpnam(s.ptr); global.params.exefile = mem.xstrdup(n); argv.push(global.params.exefile); } } else { // Generate exe file name from first obj name const(char)[] n = global.params.objfiles[0].toDString(); const(char)[] ex; n = FileName.name(n); if (const e = FileName.ext(n)) { if (driverParams.dll) ex = FileName.forceExt(ex, target.dll_ext); else ex = FileName.removeExt(n); } else ex = "a.out"; // no extension, so give up argv.push(ex.ptr); global.params.exefile = ex; } // Make sure path to exe file exists ensurePathToNameExists(Loc.initial, global.params.exefile); if (driverParams.symdebug) argv.push("-g"); if (target.isX86_64) argv.push("-m64"); else argv.push("-m32"); version (OSX) { /* Without this switch, ld generates messages of the form: * ld: warning: could not create compact unwind for __Dmain: offset of saved registers too far to encode * meaning they are further than 255 bytes from the frame register. * ld reverts to the old method instead. * See: https://ghc.haskell.org/trac/ghc/ticket/5019 * which gives this tidbit: * "When a C++ (or x86_64 Objective-C) exception is thrown, the runtime must unwind the * stack looking for some function to catch the exception. Traditionally, the unwind * information is stored in the __TEXT/__eh_frame section of each executable as Dwarf * CFI (call frame information). Beginning in Mac OS X 10.6, the unwind information is * also encoded in the __TEXT/__unwind_info section using a two-level lookup table of * compact unwind encodings. * The unwinddump tool displays the content of the __TEXT/__unwind_info section." * * A better fix would be to save the registers next to the frame pointer. */ argv.push("-Xlinker"); argv.push("-no_compact_unwind"); } if (driverParams.map || global.params.mapfile.length) { argv.push("-Xlinker"); version (OSX) { argv.push("-map"); } else { argv.push("-Map"); } if (!global.params.mapfile.length) { const(char)[] fn = FileName.forceExt(global.params.exefile, map_ext); const(char)[] path = FileName.path(global.params.exefile); global.params.mapfile = path.length ? fn : FileName.combine(global.params.objdir, fn); } argv.push("-Xlinker"); argv.push(global.params.mapfile.xarraydup.ptr); } if (0 && global.params.exefile) { /* This switch enables what is known as 'smart linking' * in the Windows world, where unreferenced sections * are removed from the executable. It eliminates unreferenced * functions, essentially making a 'library' out of a module. * Although it is documented to work with ld version 2.13, * in practice it does not, but just seems to be ignored. * Thomas Kuehne has verified that it works with ld 2.16.1. * BUG: disabled because it causes exception handling to fail * because EH sections are "unreferenced" and elided */ argv.push("-Xlinker"); argv.push("--gc-sections"); } // return true if flagp should be ordered in with the library flags static bool flagIsLibraryRelated(const char* p) { const flag = p.toDString(); return startsWith(p, "-l") || startsWith(p, "-L") || flag == "-(" || flag == "-)" || flag == "--start-group" || flag == "--end-group" || FileName.equalsExt(p, "a") ; } /* Add libraries. The order of libraries passed is: * 1. link switches without a -L prefix, e.g. --whole-archive "lib.a" --no-whole-archive (global.params.linkswitches) * 2. static libraries ending with *.a (global.params.libfiles) * 3. link switches with a -L prefix (global.params.linkswitches) * 4. libraries specified by pragma(lib), which were appended * to global.params.libfiles. These are prefixed with "-l" * 5. dynamic libraries passed to the command line (global.params.dllfiles) * 6. standard libraries. */ // STEP 1 foreach (pi, p; global.params.linkswitches) { if (p && p[0] && !flagIsLibraryRelated(p)) { if (!global.params.linkswitchIsForCC[pi]) argv.push("-Xlinker"); argv.push(p); } } // STEP 2 foreach (p; global.params.libfiles) { if (FileName.equalsExt(p, "a")) argv.push(p); } // STEP 3 foreach (pi, p; global.params.linkswitches) { if (p && p[0] && flagIsLibraryRelated(p)) { if (!startsWith(p, "-l") && !startsWith(p, "-L") && !global.params.linkswitchIsForCC[pi]) { // Don't need -Xlinker if switch starts with -l or -L. // Eliding -Xlinker is significant for -L since it allows our paths // to take precedence over gcc defaults. // All other link switches were already added in step 1. argv.push("-Xlinker"); } argv.push(p); } } // STEP 4 foreach (p; global.params.libfiles) { if (!FileName.equalsExt(p, "a")) { const plen = strlen(p); char* s = cast(char*)mem.xmalloc(plen + 3); s[0] = '-'; s[1] = 'l'; memcpy(s + 2, p, plen + 1); argv.push(s); } } // STEP 5 foreach (p; global.params.dllfiles) { argv.push(p); } // STEP 6 /* D runtime libraries must go after user specified libraries * passed with -l. */ const libname = phobosLibname; if (libname.length) { const bufsize = 2 + libname.length + 1; auto buf = (cast(char*) malloc(bufsize))[0 .. bufsize]; Mem.check(buf.ptr); buf[0 .. 2] = "-l"; char* getbuf(const(char)[] suffix) { buf[2 .. 2 + suffix.length] = suffix[]; buf[2 + suffix.length] = 0; return buf.ptr; } if (libname.length > 3 + 2 && libname[0 .. 3] == "lib") { if (libname[$-2 .. $] == ".a") { argv.push("-Xlinker"); argv.push("-Bstatic"); argv.push(getbuf(libname[3 .. $-2])); argv.push("-Xlinker"); argv.push("-Bdynamic"); } else if (libname[$-3 .. $] == ".so") argv.push(getbuf(libname[3 .. $-3])); else argv.push(getbuf(libname)); } else { argv.push(getbuf(libname)); } } //argv.push("-ldruntime"); argv.push("-lpthread"); argv.push("-lm"); version (linux) { // Changes in ld for Ubuntu 11.10 require this to appear after phobos2 argv.push("-lrt"); // Link against libdl for phobos usage of dlopen argv.push("-ldl"); } else version (OpenBSD) { // Link against -lc++abi for Unwind symbols argv.push("-lc++abi"); // Link against -lexecinfo for backtrace symbols argv.push("-lexecinfo"); } if (global.params.verbose) { // Print it OutBuffer buf; for (size_t i = 0; i < argv.length; i++) { buf.writestring(argv[i]); buf.writeByte(' '); } message(buf.peekChars()); } argv.push(null); // set up pipes int[2] fds; if (pipe(fds.ptr) == -1) { perror("unable to create pipe to linker"); return -1; } // vfork instead of fork to avoid https://issues.dlang.org/show_bug.cgi?id=21089 childpid = vfork(); if (childpid == 0) { // pipe linker stderr to fds[0] dup2(fds[1], STDERR_FILENO); close(fds[0]); execvp(argv[0], argv.tdata()); perror(argv[0]); // failed to execute _exit(-1); } else if (childpid == -1) { perror("unable to fork"); return -1; } close(fds[1]); const(int) nme = findNoMainError(fds[0]); waitpid(childpid, &status, 0); if (WIFEXITED(status)) { status = WEXITSTATUS(status); if (status) { if (nme == -1) { perror("error with the linker pipe"); return -1; } else { error(Loc.initial, "linker exited with status %d", status); if (nme == 1) error(Loc.initial, "no main function specified"); } } } else if (WIFSIGNALED(status)) { error(Loc.initial, "linker killed by signal %d", WTERMSIG(status)); status = 1; } return status; } else { error(Loc.initial, "linking is not yet supported for this version of DMD."); return -1; } } /****************************** * Execute a rule. Return the status. * cmd program to run * args arguments to cmd, as a string */ version (Windows) { private int executecmd(const(char)* cmd, const(char)* args) { int status; size_t len; if (global.params.verbose) message("%s %s", cmd, args); if (target.objectFormat() == Target.ObjectFormat.omf) { if ((len = strlen(args)) > 255) { status = putenvRestorable("_CMDLINE", args[0 .. len]); if (status == 0) args = "@_CMDLINE"; else error(Loc.initial, "command line length of %llu is too long", cast(ulong) len); } } // Normalize executable path separators // https://issues.dlang.org/show_bug.cgi?id=9330 cmd = toWinPath(cmd); version (CRuntime_Microsoft) { // Open scope so dmd doesn't complain about alloca + exception handling { // Use process spawning through the WinAPI to avoid issues with executearg0 and spawnlp OutBuffer cmdbuf; cmdbuf.writestring("\""); cmdbuf.writestring(cmd); cmdbuf.writestring("\" "); cmdbuf.writestring(args); STARTUPINFOA startInf; startInf.dwFlags = STARTF_USESTDHANDLES; startInf.hStdInput = GetStdHandle(STD_INPUT_HANDLE); startInf.hStdOutput = GetStdHandle(STD_OUTPUT_HANDLE); startInf.hStdError = GetStdHandle(STD_ERROR_HANDLE); PROCESS_INFORMATION procInf; BOOL b = CreateProcessA(null, cmdbuf.peekChars(), null, null, 1, NORMAL_PRIORITY_CLASS, null, null, &startInf, &procInf); if (b) { WaitForSingleObject(procInf.hProcess, INFINITE); DWORD returnCode; GetExitCodeProcess(procInf.hProcess, &returnCode); status = returnCode; CloseHandle(procInf.hProcess); } else { status = -1; } } } else { status = executearg0(cmd, args); if (status == -1) { status = spawnlp(0, cmd, cmd, args, null); } } if (status) { if (status == -1) error(Loc.initial, "can't run '%s', check PATH", cmd); else error(Loc.initial, "linker exited with status %d", status); } return status; } } /************************************** * Attempt to find command to execute by first looking in the directory * where DMD was run from. * Returns: * -1 did not find command there * !=-1 exit status from command */ version (Windows) { private int executearg0(const(char)* cmd, const(char)* args) { const argv0 = global.params.argv0; //printf("argv0='%s', cmd='%s', args='%s'\n",argv0,cmd,args); // If cmd is fully qualified, we don't do this if (FileName.absolute(cmd.toDString())) return -1; const file = FileName.replaceName(argv0, cmd.toDString); //printf("spawning '%s'\n",file); // spawnlp returns intptr_t in some systems, not int return spawnl(0, file.ptr, file.ptr, args, null); } } /*************************************** * Run the compiled program. * Return exit status. */ public int runProgram() { //printf("runProgram()\n"); if (global.params.verbose) { OutBuffer buf; buf.writestring(global.params.exefile); for (size_t i = 0; i < global.params.runargs.length; ++i) { buf.writeByte(' '); buf.writestring(global.params.runargs[i]); } message(buf.peekChars()); } // Build argv[] Strings argv; argv.push(global.params.exefile.xarraydup.ptr); for (size_t i = 0; i < global.params.runargs.length; ++i) { const(char)* a = global.params.runargs[i]; version (Windows) { // BUG: what about " appearing in the string? if (strchr(a, ' ')) { const blen = 3 + strlen(a); char* b = cast(char*)mem.xmalloc(blen); snprintf(b, blen, "\"%s\"", a); a = b; } } argv.push(a); } argv.push(null); restoreEnvVars(); version (Windows) { const(char)[] ex = FileName.name(global.params.exefile); if (ex == global.params.exefile) ex = FileName.combine(".", ex); else ex = global.params.exefile; // spawnlp returns intptr_t in some systems, not int return spawnv(0, ex.xarraydup.ptr, argv.tdata()); } else version (Posix) { pid_t childpid; int status; childpid = fork(); if (childpid == 0) { const(char)[] fn = argv[0].toDString(); // Make it "./fn" if needed if (!FileName.absolute(fn)) fn = FileName.combine(".", fn); fn.toCStringThen!((fnp) { execv(fnp.ptr, argv.tdata()); // If execv returns, it failed to execute perror(fnp.ptr); }); return -1; } waitpid(childpid, &status, 0); if (WIFEXITED(status)) { status = WEXITSTATUS(status); //printf("--- errorlevel %d\n", status); } else if (WIFSIGNALED(status)) { error(Loc.initial, "program killed by signal %d", WTERMSIG(status)); status = 1; } return status; } else { assert(0); } } /*************************************** * Run the C preprocessor. * Params: * cpp = name of C preprocessor program * filename = C source file name * importc_h = filename of importc.h * cppswitches = array of switches to pass to C preprocessor * output = preprocessed output file name * defines = buffer to append any `#define` and `#undef` lines encountered to * Returns: * exit status. */ public int runPreprocessor(const(char)[] cpp, const(char)[] filename, const(char)* importc_h, ref Array!(const(char)*) cppswitches, const(char)[] output, OutBuffer* defines) { //printf("runPreprocessor() cpp: %.*s filename: %.*s\n", cast(int)cpp.length, cpp.ptr, cast(int)filename.length, filename.ptr); version (Windows) { // Build argv[] Strings argv; if (target.objectFormat() == Target.ObjectFormat.coff) { static if (1) { /* Run command, intercept stdout, remove first line that CL insists on emitting */ OutBuffer buf; buf.writestring(cpp); buf.printf(" /P /Zc:preprocessor /PD /nologo %.*s /FI%s /Fi%.*s", cast(int)filename.length, filename.ptr, importc_h, cast(int)output.length, output.ptr); /* Append preprocessor switches to command line */ foreach (a; cppswitches) { if (a && a[0]) { buf.writeByte(' '); buf.writestring(a); } } if (global.params.verbose) message(buf.peekChars()); ubyte[2048] buffer = void; OutBuffer linebuf; // each line from stdout bool print = false; // print line collected from stdout /* Collect text captured from stdout to linebuf[]. * Then decide to print or discard the contents. * Discarding lines that consist only of a filename is necessary to pass * the D test suite which diffs the output. CL's emission of filenames cannot * be turned off. */ void sink(ubyte[] data) { foreach (c; data) { switch (c) { case '\r': break; case '\n': if (print) printf("%s\n", linebuf.peekChars()); // set up for next line linebuf.setsize(0); print = false; break; case '\t': case ';': case '(': case '\'': case '"': // various non-filename characters print = true; // mean it's not a filename goto default; default: linebuf.writeByte(c); break; } } } // Convert command to wchar wchar[1024] scratch = void; auto smbuf = SmallBuffer!wchar(scratch.length, scratch[]); auto szCommand = toWStringz(buf.peekChars()[0 .. buf.length], smbuf); int exitCode = runProcessCollectStdout(szCommand.ptr, buffer[], &sink); if (linebuf.length && print) // anything leftover from stdout collection printf("%s\n", defines.peekChars()); return exitCode; } else { argv.push("cl".ptr); // null terminated copy argv.push("/P".ptr); // preprocess only argv.push("/nologo".ptr); // don't print logo argv.push(filename.xarraydup.ptr); // and the input OutBuffer buf; buf.writestring("/Fi"); // https://docs.microsoft.com/en-us/cpp/build/reference/fi-preprocess-output-file-name?view=msvc-170 buf.writeStringz(output); argv.push(buf.extractData()); // output file argv.push(null); // argv[] always ends with a null // spawnlp returns intptr_t in some systems, not int return spawnvp(_P_WAIT, "cl".ptr, argv.tdata()); } } else if (target.objectFormat() == Target.ObjectFormat.omf) { /* Digital Mars Win32 target * sppn filename -oooutput * https://www.digitalmars.com/ctg/sc.html */ static if (1) { /* Run command */ OutBuffer buf; buf.writestring(cpp); buf.printf(" %.*s -HI%s -ED -o%.*s", cast(int)filename.length, filename.ptr, importc_h, cast(int)output.length, output.ptr); /* Append preprocessor switches to command line */ foreach (a; cppswitches) { if (a && a[0]) { buf.writeByte(' '); buf.writestring(a); } } if (global.params.verbose) message(buf.peekChars()); ubyte[2048] buffer = void; /* Write lines captured from stdout to either defines[] or stdout */ enum S { start, // start of line hash, // write to defines[] other, // write to stdout } S state = S.start; void sinkomf(ubyte[] data) { foreach (c; data) { final switch (state) { case S.start: if (c == '#') { defines.writeByte(c); state = S.hash; } else { fputc(c, stdout); state = S.other; } break; case S.hash: defines.writeByte(c); if (c == '\n') state = S.start; break; case S.other: fputc(c, stdout); if (c == '\n') state = S.start; break; } } //printf("%.*s", cast(int)data.length, data.ptr); } // Convert command to wchar wchar[1024] scratch = void; auto smbuf = SmallBuffer!wchar(scratch.length, scratch[]); auto szCommand = toWStringz(buf.peekChars()[0 .. buf.length], smbuf); //printf("szCommand: %ls\n", szCommand.ptr); int exitCode = runProcessCollectStdout(szCommand.ptr, buffer[], &sinkomf); printf("\n"); return exitCode; } else { auto cmd = cpp.xarraydup.ptr; argv.push(cmd); // Digita; Mars C preprocessor argv.push(filename.xarraydup.ptr); // and the input file OutBuffer buf; buf.writestring("-o"); // https://www.digitalmars.com/ctg/sc.html#dashofilename buf.writeString(output); argv.push(buf.extractData()); // output file argv.push(null); // argv[] always ends with a null // spawnlp returns intptr_t in some systems, not int return spawnvp(_P_WAIT, cmd, argv.tdata()); } } else { assert(0); } } else version (Posix) { // Build argv[] Strings argv; argv.push(cpp.xarraydup.ptr); // null terminated copy foreach (p; cppswitches) { if (p && p[0]) argv.push(p); } // Set memory model argv.push(target.isX86_64 ? "-m64" : "-m32"); // merge #define's with output argv.push("-dD"); // https://gcc.gnu.org/onlinedocs/cpp/Invocation.html#index-dD // need to redefine some macros in importc.h argv.push("-Wno-builtin-macro-redefined"); if (target.os == Target.OS.OSX) { argv.push("-fno-blocks"); // disable clang blocks extension argv.push("-E"); // run preprocessor only for clang argv.push("-include"); // OSX cpp has switch order dependencies argv.push(importc_h); argv.push(filename.xarraydup.ptr); // and the input argv.push("-o"); // specify output file } else { argv.push(filename.xarraydup.ptr); // and the input argv.push("-include"); argv.push(importc_h); } if (target.os == Target.OS.FreeBSD || target.os == Target.OS.OpenBSD) argv.push("-o"); // specify output file argv.push(output.xarraydup.ptr); // and the output argv.push(null); // argv[] always ends with a null if (global.params.verbose) { OutBuffer buf; foreach (i, a; argv[]) { if (a) { if (i) buf.writeByte(' '); buf.writestring(a); } } message(buf.peekChars()); } pid_t childpid = fork(); if (childpid == 0) { const(char)[] fn = argv[0].toDString(); fn.toCStringThen!((fnp) { execvp(fnp.ptr, argv.tdata()); // If execv returns, it failed to execute perror(fnp.ptr); }); return -1; } int status; waitpid(childpid, &status, 0); if (WIFEXITED(status)) { status = WEXITSTATUS(status); //printf("--- errorlevel %d\n", status); } else if (WIFSIGNALED(status)) { error(Loc.initial, "program killed by signal %d", WTERMSIG(status)); status = 1; } return status; } else { assert(0); } } /********************************* * Run a command and intercept its stdout, which is redirected * to sink(). * Params: * szCommand = command to run * buffer = buffer to collect stdout data to * sink = stdout data is sent to sink() * Returns: * 0 on success * Reference: * Based on * https://github.com/dlang/visuald/blob/master/tools/pipedmd.d#L252 */ version (Windows) int runProcessCollectStdout(const(wchar)* szCommand, ubyte[] buffer, void delegate(ubyte[]) sink) { import core.sys.windows.windows; import core.sys.windows.wtypes; import core.sys.windows.psapi; //printf("runProcess() command: %ls\n", szCommand); // Set the bInheritHandle flag so pipe handles are inherited. SECURITY_ATTRIBUTES saAttr; saAttr.nLength = SECURITY_ATTRIBUTES.sizeof; saAttr.bInheritHandle = TRUE; saAttr.lpSecurityDescriptor = null; // Create a pipe for the child process's STDOUT. HANDLE hStdOutRead; HANDLE hStdOutWrite; if ( !CreatePipe(&hStdOutRead, &hStdOutWrite, &saAttr, 0) ) assert(0); // Ensure the read handle to the pipe for STDOUT is not inherited. if ( !SetHandleInformation(hStdOutRead, HANDLE_FLAG_INHERIT, 0) ) assert(0); // Another pipe HANDLE hStdInRead; HANDLE hStdInWrite; if ( !CreatePipe(&hStdInRead, &hStdInWrite, &saAttr, 0) ) assert(0); if ( !SetHandleInformation(hStdInWrite, HANDLE_FLAG_INHERIT, 0) ) assert(0); // Set up members of the PROCESS_INFORMATION structure. PROCESS_INFORMATION piProcInfo; memset( &piProcInfo, 0, PROCESS_INFORMATION.sizeof ); // Set up members of the STARTUPINFO structure. // This structure specifies the STDIN and STDOUT handles for redirection. STARTUPINFOW siStartInfo; memset( &siStartInfo, 0, STARTUPINFOW.sizeof ); siStartInfo.cb = STARTUPINFOW.sizeof; siStartInfo.hStdError = hStdOutWrite; siStartInfo.hStdOutput = hStdOutWrite; siStartInfo.hStdInput = hStdInRead; siStartInfo.dwFlags |= STARTF_USESTDHANDLES; // https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createprocessw BOOL bSuccess = CreateProcessW(null, cast(wchar*)szCommand, // command line null, // process security attributes null, // primary thread security attributes TRUE, // handles are inherited CREATE_SUSPENDED, // creation flags null, // use parent's environment null, // use parent's current directory &siStartInfo, // STARTUPINFO pointer &piProcInfo); // receives PROCESS_INFORMATION if (!bSuccess) { printf("failed launching %ls\n", cast(wchar*)szCommand); // https://issues.dlang.org/show_bug.cgi?id=21958 return 1; } ResumeThread(piProcInfo.hThread); DWORD bytesFilled = 0; DWORD bytesAvailable = 0; DWORD bytesRead = 0; DWORD exitCode = 0; while (true) { DWORD dwlen = cast(DWORD)buffer.length; bSuccess = PeekNamedPipe(hStdOutRead, buffer.ptr + bytesFilled, dwlen - bytesFilled, &bytesRead, &bytesAvailable, null); if (bSuccess && bytesRead > 0) bSuccess = ReadFile(hStdOutRead, buffer.ptr + bytesFilled, dwlen - bytesFilled, &bytesRead, null); if (bSuccess && bytesRead > 0) { sink(buffer[0 .. bytesRead]); } bSuccess = GetExitCodeProcess(piProcInfo.hProcess, &exitCode); if (!bSuccess || exitCode != 259) //259 == STILL_ACTIVE { break; } Sleep(1); } // close the handles to the process CloseHandle(hStdInWrite); CloseHandle(hStdOutRead); CloseHandle(piProcInfo.hProcess); CloseHandle(piProcInfo.hThread); return exitCode; }
D
/***************************************************************************** * * Higgs JavaScript Virtual Machine * * This file is part of the Higgs project. The project is distributed at: * https://github.com/maximecb/Higgs * * Copyright (c) 2011-2013, Maxime Chevalier-Boisvert. All rights reserved. * * This software is licensed under the following license (Modified BSD * License): * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote * products derived from this software without specific prior written * permission. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * *****************************************************************************/ module ir.iir; import std.stdio; import std.string; import std.conv; import ir.ops; import ext; /** Inline IR prefix string */ immutable string IIR_PREFIX = "$ir_";
D
/** `std.parallelism` implements high-level primitives for SMP parallelism. These include parallel foreach, parallel reduce, parallel eager map, pipelining and future/promise parallelism. `std.parallelism` is recommended when the same operation is to be executed in parallel on different data, or when a function is to be executed in a background thread and its result returned to a well-defined main thread. For communication between arbitrary threads, see `std.concurrency`. `std.parallelism` is based on the concept of a `Task`. A `Task` is an object that represents the fundamental unit of work in this library and may be executed in parallel with any other `Task`. Using `Task` directly allows programming with a future/promise paradigm. All other supported parallelism paradigms (parallel foreach, map, reduce, pipelining) represent an additional level of abstraction over `Task`. They automatically create one or more `Task` objects, or closely related types that are conceptually identical but not part of the public API. After creation, a `Task` may be executed in a new thread, or submitted to a `TaskPool` for execution. A `TaskPool` encapsulates a task queue and its worker threads. Its purpose is to efficiently map a large number of `Task`s onto a smaller number of threads. A task queue is a FIFO queue of `Task` objects that have been submitted to the `TaskPool` and are awaiting execution. A worker thread is a thread that is associated with exactly one task queue. It executes the `Task` at the front of its queue when the queue has work available, or sleeps when no work is available. Each task queue is associated with zero or more worker threads. If the result of a `Task` is needed before execution by a worker thread has begun, the `Task` can be removed from the task queue and executed immediately in the thread where the result is needed. Warning: Unless marked as `@trusted` or `@safe`, artifacts in this module allow implicit data sharing between threads and cannot guarantee that client code is free from low level data races. Source: $(PHOBOSSRC std/parallelism.d) Author: David Simcha Copyright: Copyright (c) 2009-2011, David Simcha. License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0) */ module std.parallelism; /// @system unittest { import std.algorithm.iteration : map; import std.math : approxEqual; import std.parallelism : taskPool; import std.range : iota; // Parallel reduce can be combined with // std.algorithm.iteration.map to interesting effect. // The following example (thanks to Russel Winder) // calculates pi by quadrature using // std.algorithm.map and TaskPool.reduce. // getTerm is evaluated in parallel as needed by // TaskPool.reduce. // // Timings on an Intel i5-3450 quad core machine // for n = 1_000_000_000: // // TaskPool.reduce: 1.067 s // std.algorithm.reduce: 4.011 s enum n = 1_000_000; enum delta = 1.0 / n; alias getTerm = (int i) { immutable x = ( i - 0.5 ) * delta; return delta / ( 1.0 + x * x ) ; }; immutable pi = 4.0 * taskPool.reduce!"a + b"(n.iota.map!getTerm); assert(pi.approxEqual(3.1415926)); } import core.atomic; import core.memory; import core.sync.condition; import core.thread; import std.functional; import std.meta; import std.range.primitives; import std.traits; version (OSX) { version = useSysctlbyname; } else version (FreeBSD) { version = useSysctlbyname; } else version (DragonFlyBSD) { version = useSysctlbyname; } else version (NetBSD) { version = useSysctlbyname; } /* (For now public undocumented with reserved name.) A lazily initialized global constant. The underlying value is a shared global statically initialized to `outOfBandValue` which must not be a legit value of the constant. Upon the first call the situation is detected and the global is initialized by calling `initializer`. The initializer is assumed to be pure (even if not marked as such), i.e. return the same value upon repeated calls. For that reason, no special precautions are taken so `initializer` may be called more than one time leading to benign races on the cached value. In the quiescent state the cost of the function is an atomic load from a global. Params: T = The type of the pseudo-constant (may be qualified) outOfBandValue = A value that cannot be valid, it is used for initialization initializer = The function performing initialization; must be `nothrow` Returns: The lazily initialized value */ @property pure T __lazilyInitializedConstant(T, alias outOfBandValue, alias initializer)() if (is(Unqual!T : T) && is(typeof(initializer()) : T) && is(typeof(outOfBandValue) : T)) { static T impl() nothrow { // Thread-local cache static Unqual!T tls = outOfBandValue; auto local = tls; // Shortest path, no atomic operations if (local != outOfBandValue) return local; // Process-level cache static shared Unqual!T result = outOfBandValue; // Initialize both process-level cache and tls local = atomicLoad(result); if (local == outOfBandValue) { local = initializer(); atomicStore(result, local); } tls = local; return local; } import std.traits : SetFunctionAttributes; alias Fun = SetFunctionAttributes!(typeof(&impl), "D", functionAttributes!(typeof(&impl)) | FunctionAttribute.pure_); auto purified = (() @trusted => cast(Fun) &impl)(); return purified(); } // Returns the size of a cache line. alias cacheLineSize = __lazilyInitializedConstant!(immutable(size_t), size_t.max, cacheLineSizeImpl); private size_t cacheLineSizeImpl() @nogc nothrow @trusted { size_t result = 0; import core.cpuid : datacache; foreach (ref const cachelevel; datacache) { if (cachelevel.lineSize > result && cachelevel.lineSize < uint.max) { result = cachelevel.lineSize; } } return result; } @nogc @safe nothrow unittest { assert(cacheLineSize == cacheLineSizeImpl); } /* Atomics code. These forward to core.atomic, but are written like this for two reasons: 1. They used to actually contain ASM code and I don' want to have to change to directly calling core.atomic in a zillion different places. 2. core.atomic has some misc. issues that make my use cases difficult without wrapping it. If I didn't wrap it, casts would be required basically everywhere. */ private void atomicSetUbyte(T)(ref T stuff, T newVal) if (__traits(isIntegral, T) && is(T : ubyte)) { //core.atomic.cas(cast(shared) &stuff, stuff, newVal); atomicStore(*(cast(shared) &stuff), newVal); } private ubyte atomicReadUbyte(T)(ref T val) if (__traits(isIntegral, T) && is(T : ubyte)) { return atomicLoad(*(cast(shared) &val)); } // This gets rid of the need for a lot of annoying casts in other parts of the // code, when enums are involved. private bool atomicCasUbyte(T)(ref T stuff, T testVal, T newVal) if (__traits(isIntegral, T) && is(T : ubyte)) { return core.atomic.cas(cast(shared) &stuff, testVal, newVal); } /*--------------------- Generic helper functions, etc.------------------------*/ private template MapType(R, functions...) { static assert(functions.length); ElementType!R e = void; alias MapType = typeof(adjoin!(staticMap!(unaryFun, functions))(e)); } private template ReduceType(alias fun, R, E) { alias ReduceType = typeof(binaryFun!fun(E.init, ElementType!R.init)); } private template noUnsharedAliasing(T) { enum bool noUnsharedAliasing = !hasUnsharedAliasing!T; } // This template tests whether a function may be executed in parallel from // @safe code via Task.executeInNewThread(). There is an additional // requirement for executing it via a TaskPool. (See isSafeReturn). private template isSafeTask(F) { enum bool isSafeTask = (functionAttributes!F & (FunctionAttribute.safe | FunctionAttribute.trusted)) != 0 && (functionAttributes!F & FunctionAttribute.ref_) == 0 && (isFunctionPointer!F || !hasUnsharedAliasing!F) && allSatisfy!(noUnsharedAliasing, Parameters!F); } @safe unittest { alias F1 = void function() @safe; alias F2 = void function(); alias F3 = void function(uint, string) @trusted; alias F4 = void function(uint, char[]); static assert( isSafeTask!F1); static assert(!isSafeTask!F2); static assert( isSafeTask!F3); static assert(!isSafeTask!F4); alias F5 = uint[] function(uint, string) pure @trusted; static assert( isSafeTask!F5); } // This function decides whether Tasks that meet all of the other requirements // for being executed from @safe code can be executed on a TaskPool. // When executing via TaskPool, it's theoretically possible // to return a value that is also pointed to by a worker thread's thread local // storage. When executing from executeInNewThread(), the thread that executed // the Task is terminated by the time the return value is visible in the calling // thread, so this is a non-issue. It's also a non-issue for pure functions // since they can't read global state. private template isSafeReturn(T) { static if (!hasUnsharedAliasing!(T.ReturnType)) { enum isSafeReturn = true; } else static if (T.isPure) { enum isSafeReturn = true; } else { enum isSafeReturn = false; } } private template randAssignable(R) { enum randAssignable = isRandomAccessRange!R && hasAssignableElements!R; } private enum TaskStatus : ubyte { notStarted, inProgress, done } private template AliasReturn(alias fun, T...) { alias AliasReturn = typeof({ T args; return fun(args); }); } // Should be private, but std.algorithm.reduce is used in the zero-thread case // and won't work w/ private. template reduceAdjoin(functions...) { static if (functions.length == 1) { alias reduceAdjoin = binaryFun!(functions[0]); } else { T reduceAdjoin(T, U)(T lhs, U rhs) { alias funs = staticMap!(binaryFun, functions); foreach (i, Unused; typeof(lhs.expand)) { lhs.expand[i] = funs[i](lhs.expand[i], rhs); } return lhs; } } } private template reduceFinish(functions...) { static if (functions.length == 1) { alias reduceFinish = binaryFun!(functions[0]); } else { T reduceFinish(T)(T lhs, T rhs) { alias funs = staticMap!(binaryFun, functions); foreach (i, Unused; typeof(lhs.expand)) { lhs.expand[i] = funs[i](lhs.expand[i], rhs.expand[i]); } return lhs; } } } private template isRoundRobin(R : RoundRobinBuffer!(C1, C2), C1, C2) { enum isRoundRobin = true; } private template isRoundRobin(T) { enum isRoundRobin = false; } @safe unittest { static assert( isRoundRobin!(RoundRobinBuffer!(void delegate(char[]), bool delegate()))); static assert(!isRoundRobin!(uint)); } // This is the base "class" for all of the other tasks. Using C-style // polymorphism to allow more direct control over memory allocation, etc. private struct AbstractTask { AbstractTask* prev; AbstractTask* next; // Pointer to a function that executes this task. void function(void*) runTask; Throwable exception; ubyte taskStatus = TaskStatus.notStarted; bool done() @property { if (atomicReadUbyte(taskStatus) == TaskStatus.done) { if (exception) { throw exception; } return true; } return false; } void job() { runTask(&this); } } /** `Task` represents the fundamental unit of work. A `Task` may be executed in parallel with any other `Task`. Using this struct directly allows future/promise parallelism. In this paradigm, a function (or delegate or other callable) is executed in a thread other than the one it was called from. The calling thread does not block while the function is being executed. A call to `workForce`, `yieldForce`, or `spinForce` is used to ensure that the `Task` has finished executing and to obtain the return value, if any. These functions and `done` also act as full memory barriers, meaning that any memory writes made in the thread that executed the `Task` are guaranteed to be visible in the calling thread after one of these functions returns. The $(REF task, std,parallelism) and $(REF scopedTask, std,parallelism) functions can be used to create an instance of this struct. See `task` for usage examples. Function results are returned from `yieldForce`, `spinForce` and `workForce` by ref. If `fun` returns by ref, the reference will point to the returned reference of `fun`. Otherwise it will point to a field in this struct. Copying of this struct is disabled, since it would provide no useful semantics. If you want to pass this struct around, you should do so by reference or pointer. Bugs: Changes to `ref` and `out` arguments are not propagated to the call site, only to `args` in this struct. */ struct Task(alias fun, Args...) { AbstractTask base = {runTask : &impl}; alias base this; private @property AbstractTask* basePtr() { return &base; } private static void impl(void* myTask) { import std.algorithm.internal : addressOf; Task* myCastedTask = cast(typeof(this)*) myTask; static if (is(ReturnType == void)) { fun(myCastedTask._args); } else static if (is(typeof(&(fun(myCastedTask._args))))) { myCastedTask.returnVal = addressOf(fun(myCastedTask._args)); } else { myCastedTask.returnVal = fun(myCastedTask._args); } } private TaskPool pool; private bool isScoped; // True if created with scopedTask. Args _args; /** The arguments the function was called with. Changes to `out` and `ref` arguments will be visible here. */ static if (__traits(isSame, fun, run)) { alias args = _args[1..$]; } else { alias args = _args; } // The purpose of this code is to decide whether functions whose // return values have unshared aliasing can be executed via // TaskPool from @safe code. See isSafeReturn. static if (__traits(isSame, fun, run)) { static if (isFunctionPointer!(_args[0])) { private enum bool isPure = functionAttributes!(Args[0]) & FunctionAttribute.pure_; } else { // BUG: Should check this for delegates too, but std.traits // apparently doesn't allow this. isPure is irrelevant // for delegates, at least for now since shared delegates // don't work. private enum bool isPure = false; } } else { // We already know that we can't execute aliases in @safe code, so // just put a dummy value here. private enum bool isPure = false; } /** The return type of the function called by this `Task`. This can be `void`. */ alias ReturnType = typeof(fun(_args)); static if (!is(ReturnType == void)) { static if (is(typeof(&fun(_args)))) { // Ref return. ReturnType* returnVal; ref ReturnType fixRef(ReturnType* val) { return *val; } } else { ReturnType returnVal; ref ReturnType fixRef(ref ReturnType val) { return val; } } } private void enforcePool() { import std.exception : enforce; enforce(this.pool !is null, "Job not submitted yet."); } static if (Args.length > 0) { private this(Args args) { _args = args; } } // Work around DMD bug 6588, allow immutable elements. static if (allSatisfy!(isAssignable, Args)) { typeof(this) opAssign(typeof(this) rhs) { foreach (i, Type; typeof(this.tupleof)) { this.tupleof[i] = rhs.tupleof[i]; } return this; } } else { @disable typeof(this) opAssign(typeof(this) rhs); } /** If the `Task` isn't started yet, execute it in the current thread. If it's done, return its return value, if any. If it's in progress, busy spin until it's done, then return the return value. If it threw an exception, rethrow that exception. This function should be used when you expect the result of the `Task` to be available on a timescale shorter than that of an OS context switch. */ @property ref ReturnType spinForce() @trusted { enforcePool(); this.pool.tryDeleteExecute(basePtr); while (atomicReadUbyte(this.taskStatus) != TaskStatus.done) {} if (exception) { throw exception; } static if (!is(ReturnType == void)) { return fixRef(this.returnVal); } } /** If the `Task` isn't started yet, execute it in the current thread. If it's done, return its return value, if any. If it's in progress, wait on a condition variable. If it threw an exception, rethrow that exception. This function should be used for expensive functions, as waiting on a condition variable introduces latency, but avoids wasted CPU cycles. */ @property ref ReturnType yieldForce() @trusted { enforcePool(); this.pool.tryDeleteExecute(basePtr); if (done) { static if (is(ReturnType == void)) { return; } else { return fixRef(this.returnVal); } } pool.waiterLock(); scope(exit) pool.waiterUnlock(); while (atomicReadUbyte(this.taskStatus) != TaskStatus.done) { pool.waitUntilCompletion(); } if (exception) { throw exception; // nocoverage } static if (!is(ReturnType == void)) { return fixRef(this.returnVal); } } /** If this `Task` was not started yet, execute it in the current thread. If it is finished, return its result. If it is in progress, execute any other `Task` from the `TaskPool` instance that this `Task` was submitted to until this one is finished. If it threw an exception, rethrow that exception. If no other tasks are available or this `Task` was executed using `executeInNewThread`, wait on a condition variable. */ @property ref ReturnType workForce() @trusted { enforcePool(); this.pool.tryDeleteExecute(basePtr); while (true) { if (done) // done() implicitly checks for exceptions. { static if (is(ReturnType == void)) { return; } else { return fixRef(this.returnVal); } } AbstractTask* job; { // Locking explicitly and calling popNoSync() because // pop() waits on a condition variable if there are no Tasks // in the queue. pool.queueLock(); scope(exit) pool.queueUnlock(); job = pool.popNoSync(); } if (job !is null) { version (verboseUnittest) { stderr.writeln("Doing workForce work."); } pool.doJob(job); if (done) { static if (is(ReturnType == void)) { return; } else { return fixRef(this.returnVal); } } } else { version (verboseUnittest) { stderr.writeln("Yield from workForce."); } return yieldForce; } } } /** Returns `true` if the `Task` is finished executing. Throws: Rethrows any exception thrown during the execution of the `Task`. */ @property bool done() @trusted { // Explicitly forwarded for documentation purposes. return base.done; } /** Create a new thread for executing this `Task`, execute it in the newly created thread, then terminate the thread. This can be used for future/promise parallelism. An explicit priority may be given to the `Task`. If one is provided, its value is forwarded to `core.thread.Thread.priority`. See $(REF task, std,parallelism) for usage example. */ void executeInNewThread() @trusted { pool = new TaskPool(basePtr); } /// Ditto void executeInNewThread(int priority) @trusted { pool = new TaskPool(basePtr, priority); } @safe ~this() { if (isScoped && pool !is null && taskStatus != TaskStatus.done) { yieldForce; } } // When this is uncommented, it somehow gets called on returning from // scopedTask even though the struct shouldn't be getting copied. //@disable this(this) {} } // Calls `fpOrDelegate` with `args`. This is an // adapter that makes `Task` work with delegates, function pointers and // functors instead of just aliases. ReturnType!F run(F, Args...)(F fpOrDelegate, ref Args args) { return fpOrDelegate(args); } /** Creates a `Task` on the GC heap that calls an alias. This may be executed via `Task.executeInNewThread` or by submitting to a $(REF TaskPool, std,parallelism). A globally accessible instance of `TaskPool` is provided by $(REF taskPool, std,parallelism). Returns: A pointer to the `Task`. Example: --- // Read two files into memory at the same time. import std.file; void main() { // Create and execute a Task for reading // foo.txt. auto file1Task = task!read("foo.txt"); file1Task.executeInNewThread(); // Read bar.txt in parallel. auto file2Data = read("bar.txt"); // Get the results of reading foo.txt. auto file1Data = file1Task.yieldForce; } --- --- // Sorts an array using a parallel quick sort algorithm. // The first partition is done serially. Both recursion // branches are then executed in parallel. // // Timings for sorting an array of 1,000,000 doubles on // an Athlon 64 X2 dual core machine: // // This implementation: 176 milliseconds. // Equivalent serial implementation: 280 milliseconds void parallelSort(T)(T[] data) { // Sort small subarrays serially. if (data.length < 100) { std.algorithm.sort(data); return; } // Partition the array. swap(data[$ / 2], data[$ - 1]); auto pivot = data[$ - 1]; bool lessThanPivot(T elem) { return elem < pivot; } auto greaterEqual = partition!lessThanPivot(data[0..$ - 1]); swap(data[$ - greaterEqual.length - 1], data[$ - 1]); auto less = data[0..$ - greaterEqual.length - 1]; greaterEqual = data[$ - greaterEqual.length..$]; // Execute both recursion branches in parallel. auto recurseTask = task!parallelSort(greaterEqual); taskPool.put(recurseTask); parallelSort(less); recurseTask.yieldForce; } --- */ auto task(alias fun, Args...)(Args args) { return new Task!(fun, Args)(args); } /** Creates a `Task` on the GC heap that calls a function pointer, delegate, or class/struct with overloaded opCall. Example: --- // Read two files in at the same time again, // but this time use a function pointer instead // of an alias to represent std.file.read. import std.file; void main() { // Create and execute a Task for reading // foo.txt. auto file1Task = task(&read, "foo.txt"); file1Task.executeInNewThread(); // Read bar.txt in parallel. auto file2Data = read("bar.txt"); // Get the results of reading foo.txt. auto file1Data = file1Task.yieldForce; } --- Notes: This function takes a non-scope delegate, meaning it can be used with closures. If you can't allocate a closure due to objects on the stack that have scoped destruction, see `scopedTask`, which takes a scope delegate. */ auto task(F, Args...)(F delegateOrFp, Args args) if (is(typeof(delegateOrFp(args))) && !isSafeTask!F) { return new Task!(run, F, Args)(delegateOrFp, args); } /** Version of `task` usable from `@safe` code. Usage mechanics are identical to the non-@safe case, but safety introduces some restrictions: 1. `fun` must be @safe or @trusted. 2. `F` must not have any unshared aliasing as defined by $(REF hasUnsharedAliasing, std,traits). This means it may not be an unshared delegate or a non-shared class or struct with overloaded `opCall`. This also precludes accepting template alias parameters. 3. `Args` must not have unshared aliasing. 4. `fun` must not return by reference. 5. The return type must not have unshared aliasing unless `fun` is `pure` or the `Task` is executed via `executeInNewThread` instead of using a `TaskPool`. */ @trusted auto task(F, Args...)(F fun, Args args) if (is(typeof(fun(args))) && isSafeTask!F) { return new Task!(run, F, Args)(fun, args); } /** These functions allow the creation of `Task` objects on the stack rather than the GC heap. The lifetime of a `Task` created by `scopedTask` cannot exceed the lifetime of the scope it was created in. `scopedTask` might be preferred over `task`: 1. When a `Task` that calls a delegate is being created and a closure cannot be allocated due to objects on the stack that have scoped destruction. The delegate overload of `scopedTask` takes a `scope` delegate. 2. As a micro-optimization, to avoid the heap allocation associated with `task` or with the creation of a closure. Usage is otherwise identical to `task`. Notes: `Task` objects created using `scopedTask` will automatically call `Task.yieldForce` in their destructor if necessary to ensure the `Task` is complete before the stack frame they reside on is destroyed. */ auto scopedTask(alias fun, Args...)(Args args) { auto ret = Task!(fun, Args)(args); ret.isScoped = true; return ret; } /// Ditto auto scopedTask(F, Args...)(scope F delegateOrFp, Args args) if (is(typeof(delegateOrFp(args))) && !isSafeTask!F) { auto ret = Task!(run, F, Args)(delegateOrFp, args); ret.isScoped = true; return ret; } /// Ditto @trusted auto scopedTask(F, Args...)(F fun, Args args) if (is(typeof(fun(args))) && isSafeTask!F) { auto ret = Task!(run, F, Args)(fun, args); ret.isScoped = true; return ret; } version (useSysctlbyname) private extern(C) int sysctlbyname( const char *, void *, size_t *, void *, size_t ) @nogc nothrow; /** The total number of CPU cores available on the current machine, as reported by the operating system. */ alias totalCPUs = __lazilyInitializedConstant!(immutable(uint), uint.max, totalCPUsImpl); uint totalCPUsImpl() @nogc nothrow @trusted { version (Windows) { // BUGS: Only works on Windows 2000 and above. import core.sys.windows.winbase : SYSTEM_INFO, GetSystemInfo; import std.algorithm.comparison : max; SYSTEM_INFO si; GetSystemInfo(&si); return max(1, cast(uint) si.dwNumberOfProcessors); } else version (linux) { import core.sys.posix.unistd : _SC_NPROCESSORS_ONLN, sysconf; return cast(uint) sysconf(_SC_NPROCESSORS_ONLN); } else version (Solaris) { import core.sys.posix.unistd : _SC_NPROCESSORS_ONLN, sysconf; return cast(uint) sysconf(_SC_NPROCESSORS_ONLN); } else version (useSysctlbyname) { version (OSX) { auto nameStr = "machdep.cpu.core_count\0".ptr; } else version (FreeBSD) { auto nameStr = "hw.ncpu\0".ptr; } else version (DragonFlyBSD) { auto nameStr = "hw.ncpu\0".ptr; } else version (NetBSD) { auto nameStr = "hw.ncpu\0".ptr; } uint result; size_t len = result.sizeof; sysctlbyname(nameStr, &result, &len, null, 0); return result; } else { static assert(0, "Don't know how to get N CPUs on this OS."); } } /* This class serves two purposes: 1. It distinguishes std.parallelism threads from other threads so that the std.parallelism daemon threads can be terminated. 2. It adds a reference to the pool that the thread is a member of, which is also necessary to allow the daemon threads to be properly terminated. */ private final class ParallelismThread : Thread { this(void delegate() dg) { super(dg); } TaskPool pool; } // Kill daemon threads. shared static ~this() { foreach (ref thread; Thread) { auto pthread = cast(ParallelismThread) thread; if (pthread is null) continue; auto pool = pthread.pool; if (!pool.isDaemon) continue; pool.stop(); pthread.join(); } } /** This class encapsulates a task queue and a set of worker threads. Its purpose is to efficiently map a large number of `Task`s onto a smaller number of threads. A task queue is a FIFO queue of `Task` objects that have been submitted to the `TaskPool` and are awaiting execution. A worker thread is a thread that executes the `Task` at the front of the queue when one is available and sleeps when the queue is empty. This class should usually be used via the global instantiation available via the $(REF taskPool, std,parallelism) property. Occasionally it is useful to explicitly instantiate a `TaskPool`: 1. When you want `TaskPool` instances with multiple priorities, for example a low priority pool and a high priority pool. 2. When the threads in the global task pool are waiting on a synchronization primitive (for example a mutex), and you want to parallelize the code that needs to run before these threads can be resumed. */ final class TaskPool { private: // A pool can either be a regular pool or a single-task pool. A // single-task pool is a dummy pool that's fired up for // Task.executeInNewThread(). bool isSingleTask; ParallelismThread[] pool; Thread singleTaskThread; AbstractTask* head; AbstractTask* tail; PoolState status = PoolState.running; Condition workerCondition; Condition waiterCondition; Mutex queueMutex; Mutex waiterMutex; // For waiterCondition // The instanceStartIndex of the next instance that will be created. __gshared size_t nextInstanceIndex = 1; // The index of the current thread. static size_t threadIndex; // The index of the first thread in this instance. immutable size_t instanceStartIndex; // The index that the next thread to be initialized in this pool will have. size_t nextThreadIndex; enum PoolState : ubyte { running, finishing, stopNow } void doJob(AbstractTask* job) { assert(job.taskStatus == TaskStatus.inProgress); assert(job.next is null); assert(job.prev is null); scope(exit) { if (!isSingleTask) { waiterLock(); scope(exit) waiterUnlock(); notifyWaiters(); } } try { job.job(); } catch (Throwable e) { job.exception = e; } atomicSetUbyte(job.taskStatus, TaskStatus.done); } // This function is used for dummy pools created by Task.executeInNewThread(). void doSingleTask() { // No synchronization. Pool is guaranteed to only have one thread, // and the queue is submitted to before this thread is created. assert(head); auto t = head; t.next = t.prev = head = null; doJob(t); } // This function performs initialization for each thread that affects // thread local storage and therefore must be done from within the // worker thread. It then calls executeWorkLoop(). void startWorkLoop() { // Initialize thread index. { queueLock(); scope(exit) queueUnlock(); threadIndex = nextThreadIndex; nextThreadIndex++; } executeWorkLoop(); } // This is the main work loop that worker threads spend their time in // until they terminate. It's also entered by non-worker threads when // finish() is called with the blocking variable set to true. void executeWorkLoop() { while (atomicReadUbyte(status) != PoolState.stopNow) { AbstractTask* task = pop(); if (task is null) { if (atomicReadUbyte(status) == PoolState.finishing) { atomicSetUbyte(status, PoolState.stopNow); return; } } else { doJob(task); } } } // Pop a task off the queue. AbstractTask* pop() { queueLock(); scope(exit) queueUnlock(); auto ret = popNoSync(); while (ret is null && status == PoolState.running) { wait(); ret = popNoSync(); } return ret; } AbstractTask* popNoSync() out(returned) { /* If task.prev and task.next aren't null, then another thread * can try to delete this task from the pool after it's * alreadly been deleted/popped. */ if (returned !is null) { assert(returned.next is null); assert(returned.prev is null); } } do { if (isSingleTask) return null; AbstractTask* returned = head; if (head !is null) { head = head.next; returned.prev = null; returned.next = null; returned.taskStatus = TaskStatus.inProgress; } if (head !is null) { head.prev = null; } return returned; } // Push a task onto the queue. void abstractPut(AbstractTask* task) { queueLock(); scope(exit) queueUnlock(); abstractPutNoSync(task); } void abstractPutNoSync(AbstractTask* task) in { assert(task); } out { import std.conv : text; assert(tail.prev !is tail); assert(tail.next is null, text(tail.prev, '\t', tail.next)); if (tail.prev !is null) { assert(tail.prev.next is tail, text(tail.prev, '\t', tail.next)); } } do { // Not using enforce() to save on function call overhead since this // is a performance critical function. if (status != PoolState.running) { throw new Error( "Cannot submit a new task to a pool after calling " ~ "finish() or stop()." ); } task.next = null; if (head is null) //Queue is empty. { head = task; tail = task; tail.prev = null; } else { assert(tail); task.prev = tail; tail.next = task; tail = task; } notify(); } void abstractPutGroupNoSync(AbstractTask* h, AbstractTask* t) { if (status != PoolState.running) { throw new Error( "Cannot submit a new task to a pool after calling " ~ "finish() or stop()." ); } if (head is null) { head = h; tail = t; } else { h.prev = tail; tail.next = h; tail = t; } notifyAll(); } void tryDeleteExecute(AbstractTask* toExecute) { if (isSingleTask) return; if ( !deleteItem(toExecute) ) { return; } try { toExecute.job(); } catch (Exception e) { toExecute.exception = e; } atomicSetUbyte(toExecute.taskStatus, TaskStatus.done); } bool deleteItem(AbstractTask* item) { queueLock(); scope(exit) queueUnlock(); return deleteItemNoSync(item); } bool deleteItemNoSync(AbstractTask* item) { if (item.taskStatus != TaskStatus.notStarted) { return false; } item.taskStatus = TaskStatus.inProgress; if (item is head) { // Make sure head gets set properly. popNoSync(); return true; } if (item is tail) { tail = tail.prev; if (tail !is null) { tail.next = null; } item.next = null; item.prev = null; return true; } if (item.next !is null) { assert(item.next.prev is item); // Check queue consistency. item.next.prev = item.prev; } if (item.prev !is null) { assert(item.prev.next is item); // Check queue consistency. item.prev.next = item.next; } item.next = null; item.prev = null; return true; } void queueLock() { assert(queueMutex); if (!isSingleTask) queueMutex.lock(); } void queueUnlock() { assert(queueMutex); if (!isSingleTask) queueMutex.unlock(); } void waiterLock() { if (!isSingleTask) waiterMutex.lock(); } void waiterUnlock() { if (!isSingleTask) waiterMutex.unlock(); } void wait() { if (!isSingleTask) workerCondition.wait(); } void notify() { if (!isSingleTask) workerCondition.notify(); } void notifyAll() { if (!isSingleTask) workerCondition.notifyAll(); } void waitUntilCompletion() { if (isSingleTask) { singleTaskThread.join(); } else { waiterCondition.wait(); } } void notifyWaiters() { if (!isSingleTask) waiterCondition.notifyAll(); } // Private constructor for creating dummy pools that only have one thread, // only execute one Task, and then terminate. This is used for // Task.executeInNewThread(). this(AbstractTask* task, int priority = int.max) { assert(task); // Dummy value, not used. instanceStartIndex = 0; this.isSingleTask = true; task.taskStatus = TaskStatus.inProgress; this.head = task; singleTaskThread = new Thread(&doSingleTask); singleTaskThread.start(); // Disabled until writing code to support // running thread with specified priority // See https://d.puremagic.com/issues/show_bug.cgi?id=8960 /*if (priority != int.max) { singleTaskThread.priority = priority; }*/ } public: // This is used in parallel_algorithm but is too unstable to document // as public API. size_t defaultWorkUnitSize(size_t rangeLen) const @safe pure nothrow { import std.algorithm.comparison : max; if (this.size == 0) { return rangeLen; } immutable size_t eightSize = 4 * (this.size + 1); auto ret = (rangeLen / eightSize) + ((rangeLen % eightSize == 0) ? 0 : 1); return max(ret, 1); } /** Default constructor that initializes a `TaskPool` with `totalCPUs` - 1 worker threads. The minus 1 is included because the main thread will also be available to do work. Note: On single-core machines, the primitives provided by `TaskPool` operate transparently in single-threaded mode. */ this() @trusted { this(totalCPUs - 1); } /** Allows for custom number of worker threads. */ this(size_t nWorkers) @trusted { synchronized(typeid(TaskPool)) { instanceStartIndex = nextInstanceIndex; // The first worker thread to be initialized will have this index, // and will increment it. The second worker to be initialized will // have this index plus 1. nextThreadIndex = instanceStartIndex; nextInstanceIndex += nWorkers; } queueMutex = new Mutex(this); waiterMutex = new Mutex(); workerCondition = new Condition(queueMutex); waiterCondition = new Condition(waiterMutex); pool = new ParallelismThread[nWorkers]; foreach (ref poolThread; pool) { poolThread = new ParallelismThread(&startWorkLoop); poolThread.pool = this; poolThread.start(); } } /** Implements a parallel foreach loop over a range. This works by implicitly creating and submitting one `Task` to the `TaskPool` for each worker thread. A work unit is a set of consecutive elements of `range` to be processed by a worker thread between communication with any other thread. The number of elements processed per work unit is controlled by the `workUnitSize` parameter. Smaller work units provide better load balancing, but larger work units avoid the overhead of communicating with other threads frequently to fetch the next work unit. Large work units also avoid false sharing in cases where the range is being modified. The less time a single iteration of the loop takes, the larger `workUnitSize` should be. For very expensive loop bodies, `workUnitSize` should be 1. An overload that chooses a default work unit size is also available. Example: --- // Find the logarithm of every number from 1 to // 10_000_000 in parallel. auto logs = new double[10_000_000]; // Parallel foreach works with or without an index // variable. It can be iterate by ref if range.front // returns by ref. // Iterate over logs using work units of size 100. foreach (i, ref elem; taskPool.parallel(logs, 100)) { elem = log(i + 1.0); } // Same thing, but use the default work unit size. // // Timings on an Athlon 64 X2 dual core machine: // // Parallel foreach: 388 milliseconds // Regular foreach: 619 milliseconds foreach (i, ref elem; taskPool.parallel(logs)) { elem = log(i + 1.0); } --- Notes: The memory usage of this implementation is guaranteed to be constant in `range.length`. Breaking from a parallel foreach loop via a break, labeled break, labeled continue, return or goto statement throws a `ParallelForeachError`. In the case of non-random access ranges, parallel foreach buffers lazily to an array of size `workUnitSize` before executing the parallel portion of the loop. The exception is that, if a parallel foreach is executed over a range returned by `asyncBuf` or `map`, the copying is elided and the buffers are simply swapped. In this case `workUnitSize` is ignored and the work unit size is set to the buffer size of `range`. A memory barrier is guaranteed to be executed on exit from the loop, so that results produced by all threads are visible in the calling thread. $(B Exception Handling): When at least one exception is thrown from inside a parallel foreach loop, the submission of additional `Task` objects is terminated as soon as possible, in a non-deterministic manner. All executing or enqueued work units are allowed to complete. Then, all exceptions that were thrown by any work unit are chained using `Throwable.next` and rethrown. The order of the exception chaining is non-deterministic. */ ParallelForeach!R parallel(R)(R range, size_t workUnitSize) { import std.exception : enforce; enforce(workUnitSize > 0, "workUnitSize must be > 0."); alias RetType = ParallelForeach!R; return RetType(this, range, workUnitSize); } /// Ditto ParallelForeach!R parallel(R)(R range) { static if (hasLength!R) { // Default work unit size is such that we would use 4x as many // slots as are in this thread pool. size_t workUnitSize = defaultWorkUnitSize(range.length); return parallel(range, workUnitSize); } else { // Just use a really, really dumb guess if the user is too lazy to // specify. return parallel(range, 512); } } /// template amap(functions...) { /** Eager parallel map. The eagerness of this function means it has less overhead than the lazily evaluated `TaskPool.map` and should be preferred where the memory requirements of eagerness are acceptable. `functions` are the functions to be evaluated, passed as template alias parameters in a style similar to $(REF map, std,algorithm,iteration). The first argument must be a random access range. For performance reasons, amap will assume the range elements have not yet been initialized. Elements will be overwritten without calling a destructor nor doing an assignment. As such, the range must not contain meaningful data$(DDOC_COMMENT not a section): either un-initialized objects, or objects in their `.init` state. --- auto numbers = iota(100_000_000.0); // Find the square roots of numbers. // // Timings on an Athlon 64 X2 dual core machine: // // Parallel eager map: 0.802 s // Equivalent serial implementation: 1.768 s auto squareRoots = taskPool.amap!sqrt(numbers); --- Immediately after the range argument, an optional work unit size argument may be provided. Work units as used by `amap` are identical to those defined for parallel foreach. If no work unit size is provided, the default work unit size is used. --- // Same thing, but make work unit size 100. auto squareRoots = taskPool.amap!sqrt(numbers, 100); --- An output range for returning the results may be provided as the last argument. If one is not provided, an array of the proper type will be allocated on the garbage collected heap. If one is provided, it must be a random access range with assignable elements, must have reference semantics with respect to assignment to its elements, and must have the same length as the input range. Writing to adjacent elements from different threads must be safe. --- // Same thing, but explicitly allocate an array // to return the results in. The element type // of the array may be either the exact type // returned by functions or an implicit conversion // target. auto squareRoots = new float[numbers.length]; taskPool.amap!sqrt(numbers, squareRoots); // Multiple functions, explicit output range, and // explicit work unit size. auto results = new Tuple!(float, real)[numbers.length]; taskPool.amap!(sqrt, log)(numbers, 100, results); --- Note: A memory barrier is guaranteed to be executed after all results are written but before returning so that results produced by all threads are visible in the calling thread. Tips: To perform the mapping operation in place, provide the same range for the input and output range. To parallelize the copying of a range with expensive to evaluate elements to an array, pass an identity function (a function that just returns whatever argument is provided to it) to `amap`. $(B Exception Handling): When at least one exception is thrown from inside the map functions, the submission of additional `Task` objects is terminated as soon as possible, in a non-deterministic manner. All currently executing or enqueued work units are allowed to complete. Then, all exceptions that were thrown from any work unit are chained using `Throwable.next` and rethrown. The order of the exception chaining is non-deterministic. */ auto amap(Args...)(Args args) if (isRandomAccessRange!(Args[0])) { import std.conv : emplaceRef; alias fun = adjoin!(staticMap!(unaryFun, functions)); alias range = args[0]; immutable len = range.length; static if ( Args.length > 1 && randAssignable!(Args[$ - 1]) && is(MapType!(Args[0], functions) : ElementType!(Args[$ - 1])) ) { import std.conv : text; import std.exception : enforce; alias buf = args[$ - 1]; alias args2 = args[0..$ - 1]; alias Args2 = Args[0..$ - 1]; enforce(buf.length == len, text("Can't use a user supplied buffer that's the wrong ", "size. (Expected :", len, " Got: ", buf.length)); } else static if (randAssignable!(Args[$ - 1]) && Args.length > 1) { static assert(0, "Wrong buffer type."); } else { import std.array : uninitializedArray; auto buf = uninitializedArray!(MapType!(Args[0], functions)[])(len); alias args2 = args; alias Args2 = Args; } if (!len) return buf; static if (isIntegral!(Args2[$ - 1])) { static assert(args2.length == 2); auto workUnitSize = cast(size_t) args2[1]; } else { static assert(args2.length == 1, Args); auto workUnitSize = defaultWorkUnitSize(range.length); } alias R = typeof(range); if (workUnitSize > len) { workUnitSize = len; } // Handle as a special case: if (size == 0) { size_t index = 0; foreach (elem; range) { emplaceRef(buf[index++], fun(elem)); } return buf; } // Effectively -1: chunkIndex + 1 == 0: shared size_t workUnitIndex = size_t.max; shared bool shouldContinue = true; void doIt() { import std.algorithm.comparison : min; scope(failure) { // If an exception is thrown, all threads should bail. atomicStore(shouldContinue, false); } while (atomicLoad(shouldContinue)) { immutable myUnitIndex = atomicOp!"+="(workUnitIndex, 1); immutable start = workUnitSize * myUnitIndex; if (start >= len) { atomicStore(shouldContinue, false); break; } immutable end = min(len, start + workUnitSize); static if (hasSlicing!R) { auto subrange = range[start .. end]; foreach (i; start .. end) { emplaceRef(buf[i], fun(subrange.front)); subrange.popFront(); } } else { foreach (i; start .. end) { emplaceRef(buf[i], fun(range[i])); } } } } submitAndExecute(this, &doIt); return buf; } } /// template map(functions...) { /** A semi-lazy parallel map that can be used for pipelining. The map functions are evaluated for the first `bufSize` elements and stored in a buffer and made available to `popFront`. Meanwhile, in the background a second buffer of the same size is filled. When the first buffer is exhausted, it is swapped with the second buffer and filled while the values from what was originally the second buffer are read. This implementation allows for elements to be written to the buffer without the need for atomic operations or synchronization for each write, and enables the mapping function to be evaluated efficiently in parallel. `map` has more overhead than the simpler procedure used by `amap` but avoids the need to keep all results in memory simultaneously and works with non-random access ranges. Params: source = The $(REF_ALTTEXT input range, isInputRange, std,range,primitives) to be mapped. If `source` is not random access it will be lazily buffered to an array of size `bufSize` before the map function is evaluated. (For an exception to this rule, see Notes.) bufSize = The size of the buffer to store the evaluated elements. workUnitSize = The number of elements to evaluate in a single `Task`. Must be less than or equal to `bufSize`, and should be a fraction of `bufSize` such that all worker threads can be used. If the default of size_t.max is used, workUnitSize will be set to the pool-wide default. Returns: An input range representing the results of the map. This range has a length iff `source` has a length. Notes: If a range returned by `map` or `asyncBuf` is used as an input to `map`, then as an optimization the copying from the output buffer of the first range to the input buffer of the second range is elided, even though the ranges returned by `map` and `asyncBuf` are non-random access ranges. This means that the `bufSize` parameter passed to the current call to `map` will be ignored and the size of the buffer will be the buffer size of `source`. Example: --- // Pipeline reading a file, converting each line // to a number, taking the logarithms of the numbers, // and performing the additions necessary to find // the sum of the logarithms. auto lineRange = File("numberList.txt").byLine(); auto dupedLines = std.algorithm.map!"a.idup"(lineRange); auto nums = taskPool.map!(to!double)(dupedLines); auto logs = taskPool.map!log10(nums); double sum = 0; foreach (elem; logs) { sum += elem; } --- $(B Exception Handling): Any exceptions thrown while iterating over `source` or computing the map function are re-thrown on a call to `popFront` or, if thrown during construction, are simply allowed to propagate to the caller. In the case of exceptions thrown while computing the map function, the exceptions are chained as in `TaskPool.amap`. */ auto map(S)(S source, size_t bufSize = 100, size_t workUnitSize = size_t.max) if (isInputRange!S) { import std.exception : enforce; enforce(workUnitSize == size_t.max || workUnitSize <= bufSize, "Work unit size must be smaller than buffer size."); alias fun = adjoin!(staticMap!(unaryFun, functions)); static final class Map { // This is a class because the task needs to be located on the // heap and in the non-random access case source needs to be on // the heap, too. private: enum bufferTrick = is(typeof(source.buf1)) && is(typeof(source.bufPos)) && is(typeof(source.doBufSwap())); alias E = MapType!(S, functions); E[] buf1, buf2; S source; TaskPool pool; Task!(run, E[] delegate(E[]), E[]) nextBufTask; size_t workUnitSize; size_t bufPos; bool lastTaskWaited; static if (isRandomAccessRange!S) { alias FromType = S; void popSource() { import std.algorithm.comparison : min; static if (__traits(compiles, source[0 .. source.length])) { source = source[min(buf1.length, source.length)..source.length]; } else static if (__traits(compiles, source[0..$])) { source = source[min(buf1.length, source.length)..$]; } else { static assert(0, "S must have slicing for Map." ~ " " ~ S.stringof ~ " doesn't."); } } } else static if (bufferTrick) { // Make sure we don't have the buffer recycling overload of // asyncBuf. static if ( is(typeof(source.source)) && isRoundRobin!(typeof(source.source)) ) { static assert(0, "Cannot execute a parallel map on " ~ "the buffer recycling overload of asyncBuf." ); } alias FromType = typeof(source.buf1); FromType from; // Just swap our input buffer with source's output buffer. // No need to copy element by element. FromType dumpToFrom() { import std.algorithm.mutation : swap; assert(source.buf1.length <= from.length); from.length = source.buf1.length; swap(source.buf1, from); // Just in case this source has been popped before // being sent to map: from = from[source.bufPos..$]; static if (is(typeof(source._length))) { source._length -= (from.length - source.bufPos); } source.doBufSwap(); return from; } } else { alias FromType = ElementType!S[]; // The temporary array that data is copied to before being // mapped. FromType from; FromType dumpToFrom() { assert(from !is null); size_t i; for (; !source.empty && i < from.length; source.popFront()) { from[i++] = source.front; } from = from[0 .. i]; return from; } } static if (hasLength!S) { size_t _length; public @property size_t length() const @safe pure nothrow { return _length; } } this(S source, size_t bufSize, size_t workUnitSize, TaskPool pool) { static if (bufferTrick) { bufSize = source.buf1.length; } buf1.length = bufSize; buf2.length = bufSize; static if (!isRandomAccessRange!S) { from.length = bufSize; } this.workUnitSize = (workUnitSize == size_t.max) ? pool.defaultWorkUnitSize(bufSize) : workUnitSize; this.source = source; this.pool = pool; static if (hasLength!S) { _length = source.length; } buf1 = fillBuf(buf1); submitBuf2(); } // The from parameter is a dummy and ignored in the random access // case. E[] fillBuf(E[] buf) { import std.algorithm.comparison : min; static if (isRandomAccessRange!S) { import std.range : take; auto toMap = take(source, buf.length); scope(success) popSource(); } else { auto toMap = dumpToFrom(); } buf = buf[0 .. min(buf.length, toMap.length)]; // Handle as a special case: if (pool.size == 0) { size_t index = 0; foreach (elem; toMap) { buf[index++] = fun(elem); } return buf; } pool.amap!functions(toMap, workUnitSize, buf); return buf; } void submitBuf2() in { assert(nextBufTask.prev is null); assert(nextBufTask.next is null); } do { // Hack to reuse the task object. nextBufTask = typeof(nextBufTask).init; nextBufTask._args[0] = &fillBuf; nextBufTask._args[1] = buf2; pool.put(nextBufTask); } void doBufSwap() { if (lastTaskWaited) { // Then the source is empty. Signal it here. buf1 = null; buf2 = null; static if (!isRandomAccessRange!S) { from = null; } return; } buf2 = buf1; buf1 = nextBufTask.yieldForce; bufPos = 0; if (source.empty) { lastTaskWaited = true; } else { submitBuf2(); } } public: @property auto front() { return buf1[bufPos]; } void popFront() { static if (hasLength!S) { _length--; } bufPos++; if (bufPos >= buf1.length) { doBufSwap(); } } static if (isInfinite!S) { enum bool empty = false; } else { bool empty() const @property { // popFront() sets this when source is empty return buf1.length == 0; } } } return new Map(source, bufSize, workUnitSize, this); } } /** Given a `source` range that is expensive to iterate over, returns an $(REF_ALTTEXT input range, isInputRange, std,range,primitives) that asynchronously buffers the contents of `source` into a buffer of `bufSize` elements in a worker thread, while making previously buffered elements from a second buffer, also of size `bufSize`, available via the range interface of the returned object. The returned range has a length iff `hasLength!S`. `asyncBuf` is useful, for example, when performing expensive operations on the elements of ranges that represent data on a disk or network. Example: --- import std.conv, std.stdio; void main() { // Fetch lines of a file in a background thread // while processing previously fetched lines, // dealing with byLine's buffer recycling by // eagerly duplicating every line. auto lines = File("foo.txt").byLine(); auto duped = std.algorithm.map!"a.idup"(lines); // Fetch more lines in the background while we // process the lines already read into memory // into a matrix of doubles. double[][] matrix; auto asyncReader = taskPool.asyncBuf(duped); foreach (line; asyncReader) { auto ls = line.split("\t"); matrix ~= to!(double[])(ls); } } --- $(B Exception Handling): Any exceptions thrown while iterating over `source` are re-thrown on a call to `popFront` or, if thrown during construction, simply allowed to propagate to the caller. */ auto asyncBuf(S)(S source, size_t bufSize = 100) if (isInputRange!S) { static final class AsyncBuf { // This is a class because the task and source both need to be on // the heap. // The element type of S. alias E = ElementType!S; // Needs to be here b/c of forward ref bugs. private: E[] buf1, buf2; S source; TaskPool pool; Task!(run, E[] delegate(E[]), E[]) nextBufTask; size_t bufPos; bool lastTaskWaited; static if (hasLength!S) { size_t _length; // Available if hasLength!S. public @property size_t length() const @safe pure nothrow { return _length; } } this(S source, size_t bufSize, TaskPool pool) { buf1.length = bufSize; buf2.length = bufSize; this.source = source; this.pool = pool; static if (hasLength!S) { _length = source.length; } buf1 = fillBuf(buf1); submitBuf2(); } E[] fillBuf(E[] buf) { assert(buf !is null); size_t i; for (; !source.empty && i < buf.length; source.popFront()) { buf[i++] = source.front; } buf = buf[0 .. i]; return buf; } void submitBuf2() in { assert(nextBufTask.prev is null); assert(nextBufTask.next is null); } do { // Hack to reuse the task object. nextBufTask = typeof(nextBufTask).init; nextBufTask._args[0] = &fillBuf; nextBufTask._args[1] = buf2; pool.put(nextBufTask); } void doBufSwap() { if (lastTaskWaited) { // Then source is empty. Signal it here. buf1 = null; buf2 = null; return; } buf2 = buf1; buf1 = nextBufTask.yieldForce; bufPos = 0; if (source.empty) { lastTaskWaited = true; } else { submitBuf2(); } } public: E front() @property { return buf1[bufPos]; } void popFront() { static if (hasLength!S) { _length--; } bufPos++; if (bufPos >= buf1.length) { doBufSwap(); } } static if (isInfinite!S) { enum bool empty = false; } else { /// bool empty() @property { // popFront() sets this when source is empty: return buf1.length == 0; } } } return new AsyncBuf(source, bufSize, this); } /** Given a callable object `next` that writes to a user-provided buffer and a second callable object `empty` that determines whether more data is available to write via `next`, returns an input range that asynchronously calls `next` with a set of size `nBuffers` of buffers and makes the results available in the order they were obtained via the input range interface of the returned object. Similarly to the input range overload of `asyncBuf`, the first half of the buffers are made available via the range interface while the second half are filled and vice-versa. Params: next = A callable object that takes a single argument that must be an array with mutable elements. When called, `next` writes data to the array provided by the caller. empty = A callable object that takes no arguments and returns a type implicitly convertible to `bool`. This is used to signify that no more data is available to be obtained by calling `next`. initialBufSize = The initial size of each buffer. If `next` takes its array by reference, it may resize the buffers. nBuffers = The number of buffers to cycle through when calling `next`. Example: --- // Fetch lines of a file in a background // thread while processing previously fetched // lines, without duplicating any lines. auto file = File("foo.txt"); void next(ref char[] buf) { file.readln(buf); } // Fetch more lines in the background while we // process the lines already read into memory // into a matrix of doubles. double[][] matrix; auto asyncReader = taskPool.asyncBuf(&next, &file.eof); foreach (line; asyncReader) { auto ls = line.split("\t"); matrix ~= to!(double[])(ls); } --- $(B Exception Handling): Any exceptions thrown while iterating over `range` are re-thrown on a call to `popFront`. Warning: Using the range returned by this function in a parallel foreach loop will not work because buffers may be overwritten while the task that processes them is in queue. This is checked for at compile time and will result in a static assertion failure. */ auto asyncBuf(C1, C2)(C1 next, C2 empty, size_t initialBufSize = 0, size_t nBuffers = 100) if (is(typeof(C2.init()) : bool) && Parameters!C1.length == 1 && Parameters!C2.length == 0 && isArray!(Parameters!C1[0]) ) { auto roundRobin = RoundRobinBuffer!(C1, C2)(next, empty, initialBufSize, nBuffers); return asyncBuf(roundRobin, nBuffers / 2); } /// template reduce(functions...) { /** Parallel reduce on a random access range. Except as otherwise noted, usage is similar to $(REF _reduce, std,algorithm,iteration). There is also $(LREF fold) which does the same thing with a different parameter order. This function works by splitting the range to be reduced into work units, which are slices to be reduced in parallel. Once the results from all work units are computed, a final serial reduction is performed on these results to compute the final answer. Therefore, care must be taken to choose the seed value appropriately. Because the reduction is being performed in parallel, `functions` must be associative. For notational simplicity, let # be an infix operator representing `functions`. Then, (a # b) # c must equal a # (b # c). Floating point addition is not associative even though addition in exact arithmetic is. Summing floating point numbers using this function may give different results than summing serially. However, for many practical purposes floating point addition can be treated as associative. Note that, since `functions` are assumed to be associative, additional optimizations are made to the serial portion of the reduction algorithm. These take advantage of the instruction level parallelism of modern CPUs, in addition to the thread-level parallelism that the rest of this module exploits. This can lead to better than linear speedups relative to $(REF _reduce, std,algorithm,iteration), especially for fine-grained benchmarks like dot products. An explicit seed may be provided as the first argument. If provided, it is used as the seed for all work units and for the final reduction of results from all work units. Therefore, if it is not the identity value for the operation being performed, results may differ from those generated by $(REF _reduce, std,algorithm,iteration) or depending on how many work units are used. The next argument must be the range to be reduced. --- // Find the sum of squares of a range in parallel, using // an explicit seed. // // Timings on an Athlon 64 X2 dual core machine: // // Parallel reduce: 72 milliseconds // Using std.algorithm.reduce instead: 181 milliseconds auto nums = iota(10_000_000.0f); auto sumSquares = taskPool.reduce!"a + b"( 0.0, std.algorithm.map!"a * a"(nums) ); --- If no explicit seed is provided, the first element of each work unit is used as a seed. For the final reduction, the result from the first work unit is used as the seed. --- // Find the sum of a range in parallel, using the first // element of each work unit as the seed. auto sum = taskPool.reduce!"a + b"(nums); --- An explicit work unit size may be specified as the last argument. Specifying too small a work unit size will effectively serialize the reduction, as the final reduction of the result of each work unit will dominate computation time. If `TaskPool.size` for this instance is zero, this parameter is ignored and one work unit is used. --- // Use a work unit size of 100. auto sum2 = taskPool.reduce!"a + b"(nums, 100); // Work unit size of 100 and explicit seed. auto sum3 = taskPool.reduce!"a + b"(0.0, nums, 100); --- Parallel reduce supports multiple functions, like `std.algorithm.reduce`. --- // Find both the min and max of nums. auto minMax = taskPool.reduce!(min, max)(nums); assert(minMax[0] == reduce!min(nums)); assert(minMax[1] == reduce!max(nums)); --- $(B Exception Handling): After this function is finished executing, any exceptions thrown are chained together via `Throwable.next` and rethrown. The chaining order is non-deterministic. See_Also: $(LREF fold) is functionally equivalent to $(LREF _reduce) except the range parameter comes first and there is no need to use $(REF_ALTTEXT `tuple`,tuple,std,typecons) for multiple seeds. */ auto reduce(Args...)(Args args) { import core.exception : OutOfMemoryError; import std.conv : emplaceRef; import std.exception : enforce; alias fun = reduceAdjoin!functions; alias finishFun = reduceFinish!functions; static if (isIntegral!(Args[$ - 1])) { size_t workUnitSize = cast(size_t) args[$ - 1]; alias args2 = args[0..$ - 1]; alias Args2 = Args[0..$ - 1]; } else { alias args2 = args; alias Args2 = Args; } auto makeStartValue(Type)(Type e) { static if (functions.length == 1) { return e; } else { typeof(adjoin!(staticMap!(binaryFun, functions))(e, e)) seed = void; foreach (i, T; seed.Types) { emplaceRef(seed.expand[i], e); } return seed; } } static if (args2.length == 2) { static assert(isInputRange!(Args2[1])); alias range = args2[1]; alias seed = args2[0]; enum explicitSeed = true; static if (!is(typeof(workUnitSize))) { size_t workUnitSize = defaultWorkUnitSize(range.length); } } else { static assert(args2.length == 1); alias range = args2[0]; static if (!is(typeof(workUnitSize))) { size_t workUnitSize = defaultWorkUnitSize(range.length); } enforce(!range.empty, "Cannot reduce an empty range with first element as start value."); auto seed = makeStartValue(range.front); enum explicitSeed = false; range.popFront(); } alias E = typeof(seed); alias R = typeof(range); E reduceOnRange(R range, size_t lowerBound, size_t upperBound) { // This is for exploiting instruction level parallelism by // using multiple accumulator variables within each thread, // since we're assuming functions are associative anyhow. // This is so that loops can be unrolled automatically. enum ilpTuple = AliasSeq!(0, 1, 2, 3, 4, 5); enum nILP = ilpTuple.length; immutable subSize = (upperBound - lowerBound) / nILP; if (subSize <= 1) { // Handle as a special case. static if (explicitSeed) { E result = seed; } else { E result = makeStartValue(range[lowerBound]); lowerBound++; } foreach (i; lowerBound .. upperBound) { result = fun(result, range[i]); } return result; } assert(subSize > 1); E[nILP] results; size_t[nILP] offsets; foreach (i; ilpTuple) { offsets[i] = lowerBound + subSize * i; static if (explicitSeed) { results[i] = seed; } else { results[i] = makeStartValue(range[offsets[i]]); offsets[i]++; } } immutable nLoop = subSize - (!explicitSeed); foreach (i; 0 .. nLoop) { foreach (j; ilpTuple) { results[j] = fun(results[j], range[offsets[j]]); offsets[j]++; } } // Finish the remainder. foreach (i; nILP * subSize + lowerBound .. upperBound) { results[$ - 1] = fun(results[$ - 1], range[i]); } foreach (i; ilpTuple[1..$]) { results[0] = finishFun(results[0], results[i]); } return results[0]; } immutable len = range.length; if (len == 0) { return seed; } if (this.size == 0) { return finishFun(seed, reduceOnRange(range, 0, len)); } // Unlike the rest of the functions here, I can't use the Task object // recycling trick here because this has to work on non-commutative // operations. After all the tasks are done executing, fun() has to // be applied on the results of these to get a final result, but // it can't be evaluated out of order. if (workUnitSize > len) { workUnitSize = len; } immutable size_t nWorkUnits = (len / workUnitSize) + ((len % workUnitSize == 0) ? 0 : 1); assert(nWorkUnits * workUnitSize >= len); alias RTask = Task!(run, typeof(&reduceOnRange), R, size_t, size_t); RTask[] tasks; // Can't use alloca() due to Bug 3753. Use a fixed buffer // backed by malloc(). enum maxStack = 2_048; byte[maxStack] buf = void; immutable size_t nBytesNeeded = nWorkUnits * RTask.sizeof; import core.stdc.stdlib : malloc, free; if (nBytesNeeded < maxStack) { tasks = (cast(RTask*) buf.ptr)[0 .. nWorkUnits]; } else { auto ptr = cast(RTask*) malloc(nBytesNeeded); if (!ptr) { throw new OutOfMemoryError( "Out of memory in std.parallelism." ); } tasks = ptr[0 .. nWorkUnits]; } scope(exit) { if (nBytesNeeded > maxStack) { free(tasks.ptr); } } foreach (ref t; tasks[]) emplaceRef(t, RTask()); // Hack to take the address of a nested function w/o // making a closure. static auto scopedAddress(D)(scope D del) @system { auto tmp = del; return tmp; } size_t curPos = 0; void useTask(ref RTask task) { import std.algorithm.comparison : min; task.pool = this; task._args[0] = scopedAddress(&reduceOnRange); task._args[3] = min(len, curPos + workUnitSize); // upper bound. task._args[1] = range; // range task._args[2] = curPos; // lower bound. curPos += workUnitSize; } foreach (ref task; tasks) { useTask(task); } foreach (i; 1 .. tasks.length - 1) { tasks[i].next = tasks[i + 1].basePtr; tasks[i + 1].prev = tasks[i].basePtr; } if (tasks.length > 1) { queueLock(); scope(exit) queueUnlock(); abstractPutGroupNoSync( tasks[1].basePtr, tasks[$ - 1].basePtr ); } if (tasks.length > 0) { try { tasks[0].job(); } catch (Throwable e) { tasks[0].exception = e; } tasks[0].taskStatus = TaskStatus.done; // Try to execute each of these in the current thread foreach (ref task; tasks[1..$]) { tryDeleteExecute(task.basePtr); } } // Now that we've tried to execute every task, they're all either // done or in progress. Force all of them. E result = seed; Throwable firstException; foreach (ref task; tasks) { try { task.yieldForce; } catch (Throwable e) { /* Chain e to front because order doesn't matter and because * e is not likely to be a chain itself (so fewer traversals) */ firstException = Throwable.chainTogether(e, firstException); continue; } if (!firstException) result = finishFun(result, task.returnVal); } if (firstException) throw firstException; return result; } } /// template fold(functions...) { /** Implements the homonym function (also known as `accumulate`, `compress`, `inject`, or `foldl`) present in various programming languages of functional flavor. `fold` is functionally equivalent to $(LREF reduce) except the range parameter comes first and there is no need to use $(REF_ALTTEXT `tuple`,tuple,std,typecons) for multiple seeds. There may be one or more callable entities (`functions` argument) to apply. Params: args = Just the range to _fold over; or the range and one seed per function; or the range, one seed per function, and the work unit size Returns: The accumulated result as a single value for single function and as a tuple of values for multiple functions See_Also: Similar to $(REF _fold, std,algorithm,iteration), `fold` is a wrapper around $(LREF reduce). Example: --- static int adder(int a, int b) { return a + b; } static int multiplier(int a, int b) { return a * b; } // Just the range auto x = taskPool.fold!adder([1, 2, 3, 4]); assert(x == 10); // The range and the seeds (0 and 1 below; also note multiple // functions in this example) auto y = taskPool.fold!(adder, multiplier)([1, 2, 3, 4], 0, 1); assert(y[0] == 10); assert(y[1] == 24); // The range, the seed (0), and the work unit size (20) auto z = taskPool.fold!adder([1, 2, 3, 4], 0, 20); assert(z == 10); --- */ auto fold(Args...)(Args args) { static assert(isInputRange!(Args[0]), "First argument must be an InputRange"); alias range = args[0]; static if (Args.length == 1) { // Just the range return reduce!functions(range); } else static if (Args.length == 1 + functions.length || Args.length == 1 + functions.length + 1) { static if (functions.length == 1) { alias seeds = args[1]; } else { auto seeds() { import std.typecons : tuple; return tuple(args[1 .. functions.length+1]); } } static if (Args.length == 1 + functions.length) { // The range and the seeds return reduce!functions(seeds, range); } else static if (Args.length == 1 + functions.length + 1) { // The range, the seeds, and the work unit size static assert(isIntegral!(Args[$-1]), "Work unit size must be an integral type"); return reduce!functions(seeds, range, args[$-1]); } } else { import std.conv : text; static assert(0, "Invalid number of arguments (" ~ Args.length.text ~ "): Should be an input range, " ~ functions.length.text ~ " optional seed(s), and an optional work unit size."); } } } // This test is not included in the documentation because even though these // examples are for the inner fold() template, with their current location, // they would appear under the outer one. (We can't move this inside the // outer fold() template because then dmd runs out of memory possibly due to // recursive template instantiation, which is surprisingly not caught.) @system unittest { // Just the range auto x = taskPool.fold!"a + b"([1, 2, 3, 4]); assert(x == 10); // The range and the seeds (0 and 1 below; also note multiple // functions in this example) auto y = taskPool.fold!("a + b", "a * b")([1, 2, 3, 4], 0, 1); assert(y[0] == 10); assert(y[1] == 24); // The range, the seed (0), and the work unit size (20) auto z = taskPool.fold!"a + b"([1, 2, 3, 4], 0, 20); assert(z == 10); } /** Gets the index of the current thread relative to this `TaskPool`. Any thread not in this pool will receive an index of 0. The worker threads in this pool receive unique indices of 1 through `this.size`. This function is useful for maintaining worker-local resources. Example: --- // Execute a loop that computes the greatest common // divisor of every number from 0 through 999 with // 42 in parallel. Write the results out to // a set of files, one for each thread. This allows // results to be written out without any synchronization. import std.conv, std.range, std.numeric, std.stdio; void main() { auto filesHandles = new File[taskPool.size + 1]; scope(exit) { foreach (ref handle; fileHandles) { handle.close(); } } foreach (i, ref handle; fileHandles) { handle = File("workerResults" ~ to!string(i) ~ ".txt"); } foreach (num; parallel(iota(1_000))) { auto outHandle = fileHandles[taskPool.workerIndex]; outHandle.writeln(num, '\t', gcd(num, 42)); } } --- */ size_t workerIndex() @property @safe const nothrow { immutable rawInd = threadIndex; return (rawInd >= instanceStartIndex && rawInd < instanceStartIndex + size) ? (rawInd - instanceStartIndex + 1) : 0; } /** Struct for creating worker-local storage. Worker-local storage is thread-local storage that exists only for worker threads in a given `TaskPool` plus a single thread outside the pool. It is allocated on the garbage collected heap in a way that avoids _false sharing, and doesn't necessarily have global scope within any thread. It can be accessed from any worker thread in the `TaskPool` that created it, and one thread outside this `TaskPool`. All threads outside the pool that created a given instance of worker-local storage share a single slot. Since the underlying data for this struct is heap-allocated, this struct has reference semantics when passed between functions. The main uses cases for `WorkerLocalStorageStorage` are: 1. Performing parallel reductions with an imperative, as opposed to functional, programming style. In this case, it's useful to treat `WorkerLocalStorageStorage` as local to each thread for only the parallel portion of an algorithm. 2. Recycling temporary buffers across iterations of a parallel foreach loop. Example: --- // Calculate pi as in our synopsis example, but // use an imperative instead of a functional style. immutable n = 1_000_000_000; immutable delta = 1.0L / n; auto sums = taskPool.workerLocalStorage(0.0L); foreach (i; parallel(iota(n))) { immutable x = ( i - 0.5L ) * delta; immutable toAdd = delta / ( 1.0 + x * x ); sums.get += toAdd; } // Add up the results from each worker thread. real pi = 0; foreach (threadResult; sums.toRange) { pi += 4.0L * threadResult; } --- */ static struct WorkerLocalStorage(T) { private: TaskPool pool; size_t size; size_t elemSize; bool* stillThreadLocal; static size_t roundToLine(size_t num) pure nothrow { if (num % cacheLineSize == 0) { return num; } else { return ((num / cacheLineSize) + 1) * cacheLineSize; } } void* data; void initialize(TaskPool pool) { this.pool = pool; size = pool.size + 1; stillThreadLocal = new bool; *stillThreadLocal = true; // Determines whether the GC should scan the array. auto blkInfo = (typeid(T).flags & 1) ? cast(GC.BlkAttr) 0 : GC.BlkAttr.NO_SCAN; immutable nElem = pool.size + 1; elemSize = roundToLine(T.sizeof); // The + 3 is to pad one full cache line worth of space on either side // of the data structure to make sure false sharing with completely // unrelated heap data is prevented, and to provide enough padding to // make sure that data is cache line-aligned. data = GC.malloc(elemSize * (nElem + 3), blkInfo) + elemSize; // Cache line align data ptr. data = cast(void*) roundToLine(cast(size_t) data); foreach (i; 0 .. nElem) { this.opIndex(i) = T.init; } } ref opIndex(this Qualified)(size_t index) { import std.conv : text; assert(index < size, text(index, '\t', uint.max)); return *(cast(CopyTypeQualifiers!(Qualified, T)*) (data + elemSize * index)); } void opIndexAssign(T val, size_t index) { assert(index < size); *(cast(T*) (data + elemSize * index)) = val; } public: /** Get the current thread's instance. Returns by ref. Note that calling `get` from any thread outside the `TaskPool` that created this instance will return the same reference, so an instance of worker-local storage should only be accessed from one thread outside the pool that created it. If this rule is violated, undefined behavior will result. If assertions are enabled and `toRange` has been called, then this WorkerLocalStorage instance is no longer worker-local and an assertion failure will result when calling this method. This is not checked when assertions are disabled for performance reasons. */ ref get(this Qualified)() @property { assert(*stillThreadLocal, "Cannot call get() on this instance of WorkerLocalStorage " ~ "because it is no longer worker-local." ); return opIndex(pool.workerIndex); } /** Assign a value to the current thread's instance. This function has the same caveats as its overload. */ void get(T val) @property { assert(*stillThreadLocal, "Cannot call get() on this instance of WorkerLocalStorage " ~ "because it is no longer worker-local." ); opIndexAssign(val, pool.workerIndex); } /** Returns a range view of the values for all threads, which can be used to further process the results of each thread after running the parallel part of your algorithm. Do not use this method in the parallel portion of your algorithm. Calling this function sets a flag indicating that this struct is no longer worker-local, and attempting to use the `get` method again will result in an assertion failure if assertions are enabled. */ WorkerLocalStorageRange!T toRange() @property { if (*stillThreadLocal) { *stillThreadLocal = false; // Make absolutely sure results are visible to all threads. // This is probably not necessary since some other // synchronization primitive will be used to signal that the // parallel part of the algorithm is done, but the // performance impact should be negligible, so it's better // to be safe. ubyte barrierDummy; atomicSetUbyte(barrierDummy, 1); } return WorkerLocalStorageRange!T(this); } } /** Range primitives for worker-local storage. The purpose of this is to access results produced by each worker thread from a single thread once you are no longer using the worker-local storage from multiple threads. Do not use this struct in the parallel portion of your algorithm. The proper way to instantiate this object is to call `WorkerLocalStorage.toRange`. Once instantiated, this object behaves as a finite random-access range with assignable, lvalue elements and a length equal to the number of worker threads in the `TaskPool` that created it plus 1. */ static struct WorkerLocalStorageRange(T) { private: WorkerLocalStorage!T workerLocalStorage; size_t _length; size_t beginOffset; this(WorkerLocalStorage!T wl) { this.workerLocalStorage = wl; _length = wl.size; } public: ref front(this Qualified)() @property { return this[0]; } ref back(this Qualified)() @property { return this[_length - 1]; } void popFront() { if (_length > 0) { beginOffset++; _length--; } } void popBack() { if (_length > 0) { _length--; } } typeof(this) save() @property { return this; } ref opIndex(this Qualified)(size_t index) { assert(index < _length); return workerLocalStorage[index + beginOffset]; } void opIndexAssign(T val, size_t index) { assert(index < _length); workerLocalStorage[index] = val; } typeof(this) opSlice(size_t lower, size_t upper) { assert(upper <= _length); auto newWl = this.workerLocalStorage; newWl.data += lower * newWl.elemSize; newWl.size = upper - lower; return typeof(this)(newWl); } bool empty() const @property { return length == 0; } size_t length() const @property { return _length; } } /** Creates an instance of worker-local storage, initialized with a given value. The value is `lazy` so that you can, for example, easily create one instance of a class for each worker. For usage example, see the `WorkerLocalStorage` struct. */ WorkerLocalStorage!T workerLocalStorage(T)(lazy T initialVal = T.init) { WorkerLocalStorage!T ret; ret.initialize(this); foreach (i; 0 .. size + 1) { ret[i] = initialVal; } // Memory barrier to make absolutely sure that what we wrote is // visible to worker threads. ubyte barrierDummy; atomicSetUbyte(barrierDummy, 0); return ret; } /** Signals to all worker threads to terminate as soon as they are finished with their current `Task`, or immediately if they are not executing a `Task`. `Task`s that were in queue will not be executed unless a call to `Task.workForce`, `Task.yieldForce` or `Task.spinForce` causes them to be executed. Use only if you have waited on every `Task` and therefore know the queue is empty, or if you speculatively executed some tasks and no longer need the results. */ void stop() @trusted { queueLock(); scope(exit) queueUnlock(); atomicSetUbyte(status, PoolState.stopNow); notifyAll(); } /** Signals worker threads to terminate when the queue becomes empty. If blocking argument is true, wait for all worker threads to terminate before returning. This option might be used in applications where task results are never consumed-- e.g. when `TaskPool` is employed as a rudimentary scheduler for tasks which communicate by means other than return values. Warning: Calling this function with $(D blocking = true) from a worker thread that is a member of the same `TaskPool` that `finish` is being called on will result in a deadlock. */ void finish(bool blocking = false) @trusted { { queueLock(); scope(exit) queueUnlock(); atomicCasUbyte(status, PoolState.running, PoolState.finishing); notifyAll(); } if (blocking) { // Use this thread as a worker until everything is finished. executeWorkLoop(); foreach (t; pool) { // Maybe there should be something here to prevent a thread // from calling join() on itself if this function is called // from a worker thread in the same pool, but: // // 1. Using an if statement to skip join() would result in // finish() returning without all tasks being finished. // // 2. If an exception were thrown, it would bubble up to the // Task from which finish() was called and likely be // swallowed. t.join(); } } } /// Returns the number of worker threads in the pool. @property size_t size() @safe const pure nothrow { return pool.length; } /** Put a `Task` object on the back of the task queue. The `Task` object may be passed by pointer or reference. Example: --- import std.file; // Create a task. auto t = task!read("foo.txt"); // Add it to the queue to be executed. taskPool.put(t); --- Notes: @trusted overloads of this function are called for `Task`s if $(REF hasUnsharedAliasing, std,traits) is false for the `Task`'s return type or the function the `Task` executes is `pure`. `Task` objects that meet all other requirements specified in the `@trusted` overloads of `task` and `scopedTask` may be created and executed from `@safe` code via `Task.executeInNewThread` but not via `TaskPool`. While this function takes the address of variables that may be on the stack, some overloads are marked as @trusted. `Task` includes a destructor that waits for the task to complete before destroying the stack frame it is allocated on. Therefore, it is impossible for the stack frame to be destroyed before the task is complete and no longer referenced by a `TaskPool`. */ void put(alias fun, Args...)(ref Task!(fun, Args) task) if (!isSafeReturn!(typeof(task))) { task.pool = this; abstractPut(task.basePtr); } /// Ditto void put(alias fun, Args...)(Task!(fun, Args)* task) if (!isSafeReturn!(typeof(*task))) { import std.exception : enforce; enforce(task !is null, "Cannot put a null Task on a TaskPool queue."); put(*task); } @trusted void put(alias fun, Args...)(ref Task!(fun, Args) task) if (isSafeReturn!(typeof(task))) { task.pool = this; abstractPut(task.basePtr); } @trusted void put(alias fun, Args...)(Task!(fun, Args)* task) if (isSafeReturn!(typeof(*task))) { import std.exception : enforce; enforce(task !is null, "Cannot put a null Task on a TaskPool queue."); put(*task); } /** These properties control whether the worker threads are daemon threads. A daemon thread is automatically terminated when all non-daemon threads have terminated. A non-daemon thread will prevent a program from terminating as long as it has not terminated. If any `TaskPool` with non-daemon threads is active, either `stop` or `finish` must be called on it before the program can terminate. The worker treads in the `TaskPool` instance returned by the `taskPool` property are daemon by default. The worker threads of manually instantiated task pools are non-daemon by default. Note: For a size zero pool, the getter arbitrarily returns true and the setter has no effect. */ bool isDaemon() @property @trusted { queueLock(); scope(exit) queueUnlock(); return (size == 0) ? true : pool[0].isDaemon; } /// Ditto void isDaemon(bool newVal) @property @trusted { queueLock(); scope(exit) queueUnlock(); foreach (thread; pool) { thread.isDaemon = newVal; } } /** These functions allow getting and setting the OS scheduling priority of the worker threads in this `TaskPool`. They forward to `core.thread.Thread.priority`, so a given priority value here means the same thing as an identical priority value in `core.thread`. Note: For a size zero pool, the getter arbitrarily returns `core.thread.Thread.PRIORITY_MIN` and the setter has no effect. */ int priority() @property @trusted { return (size == 0) ? core.thread.Thread.PRIORITY_MIN : pool[0].priority; } /// Ditto void priority(int newPriority) @property @trusted { if (size > 0) { foreach (t; pool) { t.priority = newPriority; } } } } @system unittest { import std.algorithm.iteration : sum; import std.range : iota; import std.typecons : tuple; enum N = 100; auto r = iota(1, N + 1); const expected = r.sum(); // Just the range assert(taskPool.fold!"a + b"(r) == expected); // Range and seeds assert(taskPool.fold!"a + b"(r, 0) == expected); assert(taskPool.fold!("a + b", "a + b")(r, 0, 0) == tuple(expected, expected)); // Range, seeds, and work unit size assert(taskPool.fold!"a + b"(r, 0, 42) == expected); assert(taskPool.fold!("a + b", "a + b")(r, 0, 0, 42) == tuple(expected, expected)); } /** Returns a lazily initialized global instantiation of `TaskPool`. This function can safely be called concurrently from multiple non-worker threads. The worker threads in this pool are daemon threads, meaning that it is not necessary to call `TaskPool.stop` or `TaskPool.finish` before terminating the main thread. */ @property TaskPool taskPool() @trusted { import std.concurrency : initOnce; __gshared TaskPool pool; return initOnce!pool({ auto p = new TaskPool(defaultPoolThreads); p.isDaemon = true; return p; }()); } private shared uint _defaultPoolThreads = uint.max; /** These properties get and set the number of worker threads in the `TaskPool` instance returned by `taskPool`. The default value is `totalCPUs` - 1. Calling the setter after the first call to `taskPool` does not changes number of worker threads in the instance returned by `taskPool`. */ @property uint defaultPoolThreads() @trusted { const local = atomicLoad(_defaultPoolThreads); return local < uint.max ? local : totalCPUs - 1; } /// Ditto @property void defaultPoolThreads(uint newVal) @trusted { atomicStore(_defaultPoolThreads, newVal); } /** Convenience functions that forwards to `taskPool.parallel`. The purpose of these is to make parallel foreach less verbose and more readable. Example: --- // Find the logarithm of every number from // 1 to 1_000_000 in parallel, using the // default TaskPool instance. auto logs = new double[1_000_000]; foreach (i, ref elem; parallel(logs)) { elem = log(i + 1.0); } --- */ ParallelForeach!R parallel(R)(R range) { return taskPool.parallel(range); } /// Ditto ParallelForeach!R parallel(R)(R range, size_t workUnitSize) { return taskPool.parallel(range, workUnitSize); } // #17019: `each` should be usable with parallel @system unittest { import std.algorithm.iteration : each, sum; import std.range : iota; // check behavior with parallel auto arr = new int[10]; parallel(arr).each!((ref e) => e += 1); assert(arr.sum == 10); auto arrIndex = new int[10]; parallel(arrIndex).each!((i, ref e) => e += i); assert(arrIndex.sum == 10.iota.sum); } // Thrown when a parallel foreach loop is broken from. class ParallelForeachError : Error { this() { super("Cannot break from a parallel foreach loop using break, return, " ~ "labeled break/continue or goto statements."); } } /*------Structs that implement opApply for parallel foreach.------------------*/ private template randLen(R) { enum randLen = isRandomAccessRange!R && hasLength!R; } private void submitAndExecute( TaskPool pool, scope void delegate() doIt ) { import core.exception : OutOfMemoryError; immutable nThreads = pool.size + 1; alias PTask = typeof(scopedTask(doIt)); import core.stdc.stdlib : malloc, free; import core.stdc.string : memcpy; // The logical thing to do would be to just use alloca() here, but that // causes problems on Windows for reasons that I don't understand // (tentatively a compiler bug) and definitely doesn't work on Posix due // to Bug 3753. Therefore, allocate a fixed buffer and fall back to // malloc() if someone's using a ridiculous amount of threads. Also, // the using a byte array instead of a PTask array as the fixed buffer // is to prevent d'tors from being called on uninitialized excess PTask // instances. enum nBuf = 64; byte[nBuf * PTask.sizeof] buf = void; PTask[] tasks; if (nThreads <= nBuf) { tasks = (cast(PTask*) buf.ptr)[0 .. nThreads]; } else { auto ptr = cast(PTask*) malloc(nThreads * PTask.sizeof); if (!ptr) throw new OutOfMemoryError("Out of memory in std.parallelism."); tasks = ptr[0 .. nThreads]; } scope(exit) { if (nThreads > nBuf) { free(tasks.ptr); } } foreach (ref t; tasks) { import core.stdc.string : memcpy; // This silly looking code is necessary to prevent d'tors from being // called on uninitialized objects. auto temp = scopedTask(doIt); memcpy(&t, &temp, PTask.sizeof); // This has to be done to t after copying, not temp before copying. // Otherwise, temp's destructor will sit here and wait for the // task to finish. t.pool = pool; } foreach (i; 1 .. tasks.length - 1) { tasks[i].next = tasks[i + 1].basePtr; tasks[i + 1].prev = tasks[i].basePtr; } if (tasks.length > 1) { pool.queueLock(); scope(exit) pool.queueUnlock(); pool.abstractPutGroupNoSync( tasks[1].basePtr, tasks[$ - 1].basePtr ); } if (tasks.length > 0) { try { tasks[0].job(); } catch (Throwable e) { tasks[0].exception = e; // nocoverage } tasks[0].taskStatus = TaskStatus.done; // Try to execute each of these in the current thread foreach (ref task; tasks[1..$]) { pool.tryDeleteExecute(task.basePtr); } } Throwable firstException; foreach (i, ref task; tasks) { try { task.yieldForce; } catch (Throwable e) { /* Chain e to front because order doesn't matter and because * e is not likely to be a chain itself (so fewer traversals) */ firstException = Throwable.chainTogether(e, firstException); continue; } } if (firstException) throw firstException; } void foreachErr() { throw new ParallelForeachError(); } int doSizeZeroCase(R, Delegate)(ref ParallelForeach!R p, Delegate dg) { with(p) { int res = 0; size_t index = 0; // The explicit ElementType!R in the foreach loops is necessary for // correct behavior when iterating over strings. static if (hasLvalueElements!R) { foreach (ref ElementType!R elem; range) { static if (Parameters!dg.length == 2) { res = dg(index, elem); } else { res = dg(elem); } if (res) break; index++; } } else { foreach (ElementType!R elem; range) { static if (Parameters!dg.length == 2) { res = dg(index, elem); } else { res = dg(elem); } if (res) break; index++; } } if (res) foreachErr; return res; } } private enum string parallelApplyMixinRandomAccess = q{ // Handle empty thread pool as special case. if (pool.size == 0) { return doSizeZeroCase(this, dg); } // Whether iteration is with or without an index variable. enum withIndex = Parameters!(typeof(dg)).length == 2; shared size_t workUnitIndex = size_t.max; // Effectively -1: chunkIndex + 1 == 0 immutable len = range.length; if (!len) return 0; shared bool shouldContinue = true; void doIt() { import std.algorithm.comparison : min; scope(failure) { // If an exception is thrown, all threads should bail. atomicStore(shouldContinue, false); } while (atomicLoad(shouldContinue)) { immutable myUnitIndex = atomicOp!"+="(workUnitIndex, 1); immutable start = workUnitSize * myUnitIndex; if (start >= len) { atomicStore(shouldContinue, false); break; } immutable end = min(len, start + workUnitSize); foreach (i; start .. end) { static if (withIndex) { if (dg(i, range[i])) foreachErr(); } else { if (dg(range[i])) foreachErr(); } } } } submitAndExecute(pool, &doIt); return 0; }; enum string parallelApplyMixinInputRange = q{ // Handle empty thread pool as special case. if (pool.size == 0) { return doSizeZeroCase(this, dg); } // Whether iteration is with or without an index variable. enum withIndex = Parameters!(typeof(dg)).length == 2; // This protects the range while copying it. auto rangeMutex = new Mutex(); shared bool shouldContinue = true; // The total number of elements that have been popped off range. // This is updated only while protected by rangeMutex; size_t nPopped = 0; static if ( is(typeof(range.buf1)) && is(typeof(range.bufPos)) && is(typeof(range.doBufSwap())) ) { // Make sure we don't have the buffer recycling overload of // asyncBuf. static if ( is(typeof(range.source)) && isRoundRobin!(typeof(range.source)) ) { static assert(0, "Cannot execute a parallel foreach loop on " ~ "the buffer recycling overload of asyncBuf."); } enum bool bufferTrick = true; } else { enum bool bufferTrick = false; } void doIt() { scope(failure) { // If an exception is thrown, all threads should bail. atomicStore(shouldContinue, false); } static if (hasLvalueElements!R) { alias Temp = ElementType!R*[]; Temp temp; // Returns: The previous value of nPopped. size_t makeTemp() { import std.algorithm.internal : addressOf; import std.array : uninitializedArray; if (temp is null) { temp = uninitializedArray!Temp(workUnitSize); } rangeMutex.lock(); scope(exit) rangeMutex.unlock(); size_t i = 0; for (; i < workUnitSize && !range.empty; range.popFront(), i++) { temp[i] = addressOf(range.front); } temp = temp[0 .. i]; auto ret = nPopped; nPopped += temp.length; return ret; } } else { alias Temp = ElementType!R[]; Temp temp; // Returns: The previous value of nPopped. static if (!bufferTrick) size_t makeTemp() { import std.array : uninitializedArray; if (temp is null) { temp = uninitializedArray!Temp(workUnitSize); } rangeMutex.lock(); scope(exit) rangeMutex.unlock(); size_t i = 0; for (; i < workUnitSize && !range.empty; range.popFront(), i++) { temp[i] = range.front; } temp = temp[0 .. i]; auto ret = nPopped; nPopped += temp.length; return ret; } static if (bufferTrick) size_t makeTemp() { import std.algorithm.mutation : swap; rangeMutex.lock(); scope(exit) rangeMutex.unlock(); // Elide copying by just swapping buffers. temp.length = range.buf1.length; swap(range.buf1, temp); // This is necessary in case popFront() has been called on // range before entering the parallel foreach loop. temp = temp[range.bufPos..$]; static if (is(typeof(range._length))) { range._length -= (temp.length - range.bufPos); } range.doBufSwap(); auto ret = nPopped; nPopped += temp.length; return ret; } } while (atomicLoad(shouldContinue)) { auto overallIndex = makeTemp(); if (temp.empty) { atomicStore(shouldContinue, false); break; } foreach (i; 0 .. temp.length) { scope(success) overallIndex++; static if (hasLvalueElements!R) { static if (withIndex) { if (dg(overallIndex, *temp[i])) foreachErr(); } else { if (dg(*temp[i])) foreachErr(); } } else { static if (withIndex) { if (dg(overallIndex, temp[i])) foreachErr(); } else { if (dg(temp[i])) foreachErr(); } } } } } submitAndExecute(pool, &doIt); return 0; }; private struct ParallelForeach(R) { TaskPool pool; R range; size_t workUnitSize; alias E = ElementType!R; static if (hasLvalueElements!R) { alias NoIndexDg = int delegate(ref E); alias IndexDg = int delegate(size_t, ref E); } else { alias NoIndexDg = int delegate(E); alias IndexDg = int delegate(size_t, E); } int opApply(scope NoIndexDg dg) { static if (randLen!R) { mixin(parallelApplyMixinRandomAccess); } else { mixin(parallelApplyMixinInputRange); } } int opApply(scope IndexDg dg) { static if (randLen!R) { mixin(parallelApplyMixinRandomAccess); } else { mixin(parallelApplyMixinInputRange); } } } /* This struct buffers the output of a callable that outputs data into a user-supplied buffer into a set of buffers of some fixed size. It allows these buffers to be accessed with an input range interface. This is used internally in the buffer-recycling overload of TaskPool.asyncBuf, which creates an instance and forwards it to the input range overload of asyncBuf. */ private struct RoundRobinBuffer(C1, C2) { // No need for constraints because they're already checked for in asyncBuf. alias Array = Parameters!(C1.init)[0]; alias T = typeof(Array.init[0]); T[][] bufs; size_t index; C1 nextDel; C2 emptyDel; bool _empty; bool primed; this( C1 nextDel, C2 emptyDel, size_t initialBufSize, size_t nBuffers ) { this.nextDel = nextDel; this.emptyDel = emptyDel; bufs.length = nBuffers; foreach (ref buf; bufs) { buf.length = initialBufSize; } } void prime() in { assert(!empty); } do { scope(success) primed = true; nextDel(bufs[index]); } T[] front() @property in { assert(!empty); } do { if (!primed) prime(); return bufs[index]; } void popFront() { if (empty || emptyDel()) { _empty = true; return; } index = (index + 1) % bufs.length; primed = false; } bool empty() @property const @safe pure nothrow { return _empty; } } version (unittest) { // This was the only way I could get nested maps to work. private __gshared TaskPool poolInstance; } // These test basic functionality but don't stress test for threading bugs. // These are the tests that should be run every time Phobos is compiled. @system unittest { import std.algorithm.comparison : equal, min, max; import std.algorithm.iteration : filter, map, reduce; import std.array : split; import std.conv : text; import std.exception : assertThrown; import std.math : approxEqual, sqrt, log; import std.range : indexed, iota, join; import std.typecons : Tuple, tuple; import std.stdio; poolInstance = new TaskPool(2); scope(exit) poolInstance.stop(); // The only way this can be verified is manually. debug(std_parallelism) stderr.writeln("totalCPUs = ", totalCPUs); auto oldPriority = poolInstance.priority; poolInstance.priority = Thread.PRIORITY_MAX; assert(poolInstance.priority == Thread.PRIORITY_MAX); poolInstance.priority = Thread.PRIORITY_MIN; assert(poolInstance.priority == Thread.PRIORITY_MIN); poolInstance.priority = oldPriority; assert(poolInstance.priority == oldPriority); static void refFun(ref uint num) { num++; } uint x; // Test task(). auto t = task!refFun(x); poolInstance.put(t); t.yieldForce; assert(t.args[0] == 1); auto t2 = task(&refFun, x); poolInstance.put(t2); t2.yieldForce; assert(t2.args[0] == 1); // Test scopedTask(). auto st = scopedTask!refFun(x); poolInstance.put(st); st.yieldForce; assert(st.args[0] == 1); auto st2 = scopedTask(&refFun, x); poolInstance.put(st2); st2.yieldForce; assert(st2.args[0] == 1); // Test executeInNewThread(). auto ct = scopedTask!refFun(x); ct.executeInNewThread(Thread.PRIORITY_MAX); ct.yieldForce; assert(ct.args[0] == 1); // Test ref return. uint toInc = 0; static ref T makeRef(T)(ref T num) { return num; } auto t3 = task!makeRef(toInc); taskPool.put(t3); assert(t3.args[0] == 0); t3.spinForce++; assert(t3.args[0] == 1); static void testSafe() @safe { static int bump(int num) { return num + 1; } auto safePool = new TaskPool(0); auto t = task(&bump, 1); taskPool.put(t); assert(t.yieldForce == 2); auto st = scopedTask(&bump, 1); taskPool.put(st); assert(st.yieldForce == 2); safePool.stop(); } auto arr = [1,2,3,4,5]; auto nums = new uint[5]; auto nums2 = new uint[5]; foreach (i, ref elem; poolInstance.parallel(arr)) { elem++; nums[i] = cast(uint) i + 2; nums2[i] = elem; } assert(nums == [2,3,4,5,6], text(nums)); assert(nums2 == nums, text(nums2)); assert(arr == nums, text(arr)); // Test const/immutable arguments. static int add(int lhs, int rhs) { return lhs + rhs; } immutable addLhs = 1; immutable addRhs = 2; auto addTask = task(&add, addLhs, addRhs); auto addScopedTask = scopedTask(&add, addLhs, addRhs); poolInstance.put(addTask); poolInstance.put(addScopedTask); assert(addTask.yieldForce == 3); assert(addScopedTask.yieldForce == 3); // Test parallel foreach with non-random access range. auto range = filter!"a != 666"([0, 1, 2, 3, 4]); foreach (i, elem; poolInstance.parallel(range)) { nums[i] = cast(uint) i; } assert(nums == [0,1,2,3,4]); auto logs = new double[1_000_000]; foreach (i, ref elem; poolInstance.parallel(logs)) { elem = log(i + 1.0); } foreach (i, elem; logs) { assert(approxEqual(elem, cast(double) log(i + 1))); } assert(poolInstance.amap!"a * a"([1,2,3,4,5]) == [1,4,9,16,25]); assert(poolInstance.amap!"a * a"([1,2,3,4,5], new long[5]) == [1,4,9,16,25]); assert(poolInstance.amap!("a * a", "-a")([1,2,3]) == [tuple(1, -1), tuple(4, -2), tuple(9, -3)]); auto tupleBuf = new Tuple!(int, int)[3]; poolInstance.amap!("a * a", "-a")([1,2,3], tupleBuf); assert(tupleBuf == [tuple(1, -1), tuple(4, -2), tuple(9, -3)]); poolInstance.amap!("a * a", "-a")([1,2,3], 5, tupleBuf); assert(tupleBuf == [tuple(1, -1), tuple(4, -2), tuple(9, -3)]); // Test amap with a non-array buffer. auto toIndex = new int[5]; auto ind = indexed(toIndex, [3, 1, 4, 0, 2]); poolInstance.amap!"a * 2"([1, 2, 3, 4, 5], ind); assert(equal(ind, [2, 4, 6, 8, 10])); assert(equal(toIndex, [8, 4, 10, 2, 6])); poolInstance.amap!"a / 2"(ind, ind); assert(equal(ind, [1, 2, 3, 4, 5])); assert(equal(toIndex, [4, 2, 5, 1, 3])); auto buf = new int[5]; poolInstance.amap!"a * a"([1,2,3,4,5], buf); assert(buf == [1,4,9,16,25]); poolInstance.amap!"a * a"([1,2,3,4,5], 4, buf); assert(buf == [1,4,9,16,25]); assert(poolInstance.reduce!"a + b"([1]) == 1); assert(poolInstance.reduce!"a + b"([1,2,3,4]) == 10); assert(poolInstance.reduce!"a + b"(0.0, [1,2,3,4]) == 10); assert(poolInstance.reduce!"a + b"(0.0, [1,2,3,4], 1) == 10); assert(poolInstance.reduce!(min, max)([1,2,3,4]) == tuple(1, 4)); assert(poolInstance.reduce!("a + b", "a * b")(tuple(0, 1), [1,2,3,4]) == tuple(10, 24)); immutable serialAns = reduce!"a + b"(iota(1000)); assert(poolInstance.reduce!"a + b"(0, iota(1000)) == serialAns); assert(poolInstance.reduce!"a + b"(iota(1000)) == serialAns); // Test worker-local storage. auto wl = poolInstance.workerLocalStorage(0); foreach (i; poolInstance.parallel(iota(1000), 1)) { wl.get = wl.get + i; } auto wlRange = wl.toRange; auto parallelSum = poolInstance.reduce!"a + b"(wlRange); assert(parallelSum == 499500); assert(wlRange[0 .. 1][0] == wlRange[0]); assert(wlRange[1 .. 2][0] == wlRange[1]); // Test finish() { static void slowFun() { Thread.sleep(dur!"msecs"(1)); } auto pool1 = new TaskPool(); auto tSlow = task!slowFun(); pool1.put(tSlow); pool1.finish(); tSlow.yieldForce; // Can't assert that pool1.status == PoolState.stopNow because status // doesn't change until after the "done" flag is set and the waiting // thread is woken up. auto pool2 = new TaskPool(); auto tSlow2 = task!slowFun(); pool2.put(tSlow2); pool2.finish(true); // blocking assert(tSlow2.done); // Test fix for Bug 8582 by making pool size zero. auto pool3 = new TaskPool(0); auto tSlow3 = task!slowFun(); pool3.put(tSlow3); pool3.finish(true); // blocking assert(tSlow3.done); // This is correct because no thread will terminate unless pool2.status // and pool3.status have already been set to stopNow. assert(pool2.status == TaskPool.PoolState.stopNow); assert(pool3.status == TaskPool.PoolState.stopNow); } // Test default pool stuff. assert(taskPool.size == totalCPUs - 1); nums = new uint[1000]; foreach (i; parallel(iota(1000))) { nums[i] = cast(uint) i; } assert(equal(nums, iota(1000))); assert(equal( poolInstance.map!"a * a"(iota(30_000_001), 10_000), map!"a * a"(iota(30_000_001)) )); // The filter is to kill random access and test the non-random access // branch. assert(equal( poolInstance.map!"a * a"( filter!"a == a"(iota(30_000_001) ), 10_000, 1000), map!"a * a"(iota(30_000_001)) )); assert( reduce!"a + b"(0UL, poolInstance.map!"a * a"(iota(3_000_001), 10_000) ) == reduce!"a + b"(0UL, map!"a * a"(iota(3_000_001)) ) ); assert(equal( iota(1_000_002), poolInstance.asyncBuf(filter!"a == a"(iota(1_000_002))) )); { import std.conv : to; import std.file : deleteme; string temp_file = deleteme ~ "-tempDelMe.txt"; auto file = File(temp_file, "wb"); scope(exit) { file.close(); import std.file; remove(temp_file); } auto written = [[1.0, 2, 3], [4.0, 5, 6], [7.0, 8, 9]]; foreach (row; written) { file.writeln(join(to!(string[])(row), "\t")); } file = File(temp_file); void next(ref char[] buf) { file.readln(buf); import std.string : chomp; buf = chomp(buf); } double[][] read; auto asyncReader = taskPool.asyncBuf(&next, &file.eof); foreach (line; asyncReader) { if (line.length == 0) continue; auto ls = line.split("\t"); read ~= to!(double[])(ls); } assert(read == written); file.close(); } // Test Map/AsyncBuf chaining. auto abuf = poolInstance.asyncBuf(iota(-1.0, 3_000_000), 100); auto temp = poolInstance.map!sqrt( abuf, 100, 5 ); auto lmchain = poolInstance.map!"a * a"(temp, 100, 5); lmchain.popFront(); int ii; foreach ( elem; (lmchain)) { if (!approxEqual(elem, ii)) { stderr.writeln(ii, '\t', elem); } ii++; } // Test buffer trick in parallel foreach. abuf = poolInstance.asyncBuf(iota(-1.0, 1_000_000), 100); abuf.popFront(); auto bufTrickTest = new size_t[abuf.length]; foreach (i, elem; parallel(abuf)) { bufTrickTest[i] = i; } assert(equal(iota(1_000_000), bufTrickTest)); auto myTask = task!(std.math.abs)(-1); taskPool.put(myTask); assert(myTask.spinForce == 1); // Test that worker local storage from one pool receives an index of 0 // when the index is queried w.r.t. another pool. The only way to do this // is non-deterministically. foreach (i; parallel(iota(1000), 1)) { assert(poolInstance.workerIndex == 0); } foreach (i; poolInstance.parallel(iota(1000), 1)) { assert(taskPool.workerIndex == 0); } // Test exception handling. static void parallelForeachThrow() { foreach (elem; parallel(iota(10))) { throw new Exception(""); } } assertThrown!Exception(parallelForeachThrow()); static int reduceException(int a, int b) { throw new Exception(""); } assertThrown!Exception( poolInstance.reduce!reduceException(iota(3)) ); static int mapException(int a) { throw new Exception(""); } assertThrown!Exception( poolInstance.amap!mapException(iota(3)) ); static void mapThrow() { auto m = poolInstance.map!mapException(iota(3)); m.popFront(); } assertThrown!Exception(mapThrow()); struct ThrowingRange { @property int front() { return 1; } void popFront() { throw new Exception(""); } enum bool empty = false; } assertThrown!Exception(poolInstance.asyncBuf(ThrowingRange.init)); } //version = parallelismStressTest; // These are more like stress tests than real unit tests. They print out // tons of stuff and should not be run every time make unittest is run. version (parallelismStressTest) { @safe unittest { size_t attempt; for (; attempt < 10; attempt++) foreach (poolSize; [0, 4]) { poolInstance = new TaskPool(poolSize); uint[] numbers = new uint[1_000]; foreach (i; poolInstance.parallel( iota(0, numbers.length)) ) { numbers[i] = cast(uint) i; } // Make sure it works. foreach (i; 0 .. numbers.length) { assert(numbers[i] == i); } stderr.writeln("Done creating nums."); auto myNumbers = filter!"a % 7 > 0"( iota(0, 1000)); foreach (num; poolInstance.parallel(myNumbers)) { assert(num % 7 > 0 && num < 1000); } stderr.writeln("Done modulus test."); uint[] squares = poolInstance.amap!"a * a"(numbers, 100); assert(squares.length == numbers.length); foreach (i, number; numbers) { assert(squares[i] == number * number); } stderr.writeln("Done squares."); auto sumFuture = task!( reduce!"a + b" )(numbers); poolInstance.put(sumFuture); ulong sumSquares = 0; foreach (elem; numbers) { sumSquares += elem * elem; } uint mySum = sumFuture.spinForce(); assert(mySum == 999 * 1000 / 2); auto mySumParallel = poolInstance.reduce!"a + b"(numbers); assert(mySum == mySumParallel); stderr.writeln("Done sums."); auto myTask = task( { synchronized writeln("Our lives are parallel...Our lives are parallel."); }); poolInstance.put(myTask); auto nestedOuter = "abcd"; auto nestedInner = iota(0, 10, 2); foreach (i, letter; poolInstance.parallel(nestedOuter, 1)) { foreach (j, number; poolInstance.parallel(nestedInner, 1)) { synchronized writeln(i, ": ", letter, " ", j, ": ", number); } } poolInstance.stop(); } assert(attempt == 10); writeln("Press enter to go to next round of unittests."); readln(); } // These unittests are intended more for actual testing and not so much // as examples. @safe unittest { foreach (attempt; 0 .. 10) foreach (poolSize; [0, 4]) { poolInstance = new TaskPool(poolSize); // Test indexing. stderr.writeln("Creator Raw Index: ", poolInstance.threadIndex); assert(poolInstance.workerIndex() == 0); // Test worker-local storage. auto workerLocalStorage = poolInstance.workerLocalStorage!uint(1); foreach (i; poolInstance.parallel(iota(0U, 1_000_000))) { workerLocalStorage.get++; } assert(reduce!"a + b"(workerLocalStorage.toRange) == 1_000_000 + poolInstance.size + 1); // Make sure work is reasonably balanced among threads. This test is // non-deterministic and is more of a sanity check than something that // has an absolute pass/fail. shared(uint)[void*] nJobsByThread; foreach (thread; poolInstance.pool) { nJobsByThread[cast(void*) thread] = 0; } nJobsByThread[ cast(void*) Thread.getThis()] = 0; foreach (i; poolInstance.parallel( iota(0, 1_000_000), 100 )) { atomicOp!"+="( nJobsByThread[ cast(void*) Thread.getThis() ], 1); } stderr.writeln("\nCurrent thread is: ", cast(void*) Thread.getThis()); stderr.writeln("Workload distribution: "); foreach (k, v; nJobsByThread) { stderr.writeln(k, '\t', v); } // Test whether amap can be nested. real[][] matrix = new real[][](1000, 1000); foreach (i; poolInstance.parallel( iota(0, matrix.length) )) { foreach (j; poolInstance.parallel( iota(0, matrix[0].length) )) { matrix[i][j] = i * j; } } // Get around weird bugs having to do w/ sqrt being an intrinsic: static real mySqrt(real num) { return sqrt(num); } static real[] parallelSqrt(real[] nums) { return poolInstance.amap!mySqrt(nums); } real[][] sqrtMatrix = poolInstance.amap!parallelSqrt(matrix); foreach (i, row; sqrtMatrix) { foreach (j, elem; row) { real shouldBe = sqrt( cast(real) i * j); assert(approxEqual(shouldBe, elem)); sqrtMatrix[i][j] = shouldBe; } } auto saySuccess = task( { stderr.writeln( "Success doing matrix stuff that involves nested pool use."); }); poolInstance.put(saySuccess); saySuccess.workForce(); // A more thorough test of amap, reduce: Find the sum of the square roots of // matrix. static real parallelSum(real[] input) { return poolInstance.reduce!"a + b"(input); } auto sumSqrt = poolInstance.reduce!"a + b"( poolInstance.amap!parallelSum( sqrtMatrix ) ); assert(approxEqual(sumSqrt, 4.437e8)); stderr.writeln("Done sum of square roots."); // Test whether tasks work with function pointers. auto nanTask = task(&isNaN, 1.0L); poolInstance.put(nanTask); assert(nanTask.spinForce == false); if (poolInstance.size > 0) { // Test work waiting. static void uselessFun() { foreach (i; 0 .. 1_000_000) {} } auto uselessTasks = new typeof(task(&uselessFun))[1000]; foreach (ref uselessTask; uselessTasks) { uselessTask = task(&uselessFun); } foreach (ref uselessTask; uselessTasks) { poolInstance.put(uselessTask); } foreach (ref uselessTask; uselessTasks) { uselessTask.workForce(); } } // Test the case of non-random access + ref returns. int[] nums = [1,2,3,4,5]; static struct RemoveRandom { int[] arr; ref int front() { return arr.front; } void popFront() { arr.popFront(); } bool empty() { return arr.empty; } } auto refRange = RemoveRandom(nums); foreach (ref elem; poolInstance.parallel(refRange)) { elem++; } assert(nums == [2,3,4,5,6], text(nums)); stderr.writeln("Nums: ", nums); poolInstance.stop(); } } } @system unittest { static struct __S_12733 { invariant() { assert(checksum == 1_234_567_890); } this(ulong u){n = u;} void opAssign(__S_12733 s){this.n = s.n;} ulong n; ulong checksum = 1_234_567_890; } static auto __genPair_12733(ulong n) { return __S_12733(n); } immutable ulong[] data = [ 2UL^^59-1, 2UL^^59-1, 2UL^^59-1, 112_272_537_195_293UL ]; auto result = taskPool.amap!__genPair_12733(data); } @safe unittest { import std.range : iota; // this test was in std.range, but caused cycles. assert(__traits(compiles, { foreach (i; iota(0, 100UL).parallel) {} })); } @safe unittest { import std.algorithm.iteration : each; long[] arr; static assert(is(typeof({ arr.parallel.each!"a++"; }))); } // https://issues.dlang.org/show_bug.cgi?id=17539 @system unittest { import std.random : rndGen; // ensure compilation try foreach (rnd; rndGen.parallel) break; catch (ParallelForeachError e) {} }
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.container, std.range; enum P = 998244353L; void main() { auto abcd = readln.split.to!(long[]); auto A = abcd[0]; auto B = abcd[1]; auto C = abcd[2]; auto D = abcd[3]; auto DP = new long[][][](C+1, D+1, 2); DP[A][B][0] = 1; foreach (i; A..C+1) { foreach (j; B..D+1) { if (i == A && j == B) continue; DP[i][j][0] = (DP[i][j-1][0] * i % P + DP[i][j-1][1]) % P; DP[i][j][1] = (DP[i-1][j][0] + DP[i-1][j][1]) * j % P; } } writeln((DP[C][D][0] + DP[C][D][1]) % P); }
D
// D import file generated from 'derelict\util\compat.d' module derelict.util.compat; version (D_Version2) { mixin("alias const(char)* CCPTR;"); mixin("alias const(wchar)* CWCPTR;"); mixin("alias const(dchar)* CDCPTR;"); mixin("alias const(ubyte)* CUBPTR;"); mixin("alias const(void)* CVPTR;"); mixin("alias immutable(char)* ICPTR;"); } else { alias char* CCPTR; alias wchar* CWCPTR; alias dchar* CDCPTR; alias ubyte* CUBPTR; alias void* CVPTR; alias char* ICPTR; } version (D_Version2) { public import core.stdc.config; } else { version (Tango) { version (Windows) { alias int c_long; alias uint c_ulong; } else { static if((void*).sizeof > (int).sizeof) { alias long c_long; alias ulong c_ulong; } else { alias int c_long; alias uint c_ulong; } } } } version (D_Version2) { version (Posix) { public import core.sys.posix.sys.types; } else { alias c_long off_t; } } else { alias c_long off_t; } version (Tango) { private { import tango.stdc.string; import tango.stdc.stringz; import tango.text.Util; import tango.core.Version; } version (PhobosCompatibility) { } else { alias char[] string; alias wchar[] wstring; alias dchar[] dstring; } } else { private { version (D_Version2) { import std.conv; } import std.string; import std.c.string; } } template gsharedString() { version (D_Version2) { const gsharedString = "__gshared: "; } else { const gsharedString = ""; } } CCPTR toCString(string str) { return toStringz(str); } string toDString(CCPTR cstr); int findStr(string str, string match); string[] splitStr(string str, string delim) { return split(str,delim); } string stripWhiteSpace(string str);
D
variably colored and sometimes variegated hard tough elastic wood of a sycamore tree any of several trees of the genus Platanus having thin pale bark that scales off in small plates and lobed leaves and ball-shaped heads of fruits Eurasian maple tree with pale grey bark that peels in flakes like that of a sycamore tree thick-branched wide-spreading tree of Africa and adjacent southwestern Asia often buttressed with branches rising from near the ground
D
/Users/edwardhuang/Documents/MichiganHackersiOSApp/DerivedData/Michigan\ Hackers/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/JTAppleCalendar.build/Objects-normal/x86_64/UserInteractionFunctions.o : /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCell.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCalendarDelegateProtocol.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCalendarLayoutProtocol.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCalendarVariables.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/UIScrollViewDelegates.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/UICollectionViewDelegates.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTCalendarProtocols.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/CalendarEnums.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/GlobalFunctionsAndExtensions.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/InternalActionFunctions.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/UserInteractionFunctions.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/InternalQueryFunctions.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/CalendarStructs.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCalendarLayout.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCollectionReusableView.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCalendarView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/Target\ Support\ Files/JTAppleCalendar/JTAppleCalendar-umbrella.h /Users/edwardhuang/Documents/MichiganHackersiOSApp/DerivedData/Michigan\ Hackers/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/JTAppleCalendar.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/edwardhuang/Documents/MichiganHackersiOSApp/DerivedData/Michigan\ Hackers/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/JTAppleCalendar.build/Objects-normal/x86_64/UserInteractionFunctions~partial.swiftmodule : /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCell.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCalendarDelegateProtocol.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCalendarLayoutProtocol.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCalendarVariables.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/UIScrollViewDelegates.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/UICollectionViewDelegates.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTCalendarProtocols.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/CalendarEnums.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/GlobalFunctionsAndExtensions.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/InternalActionFunctions.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/UserInteractionFunctions.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/InternalQueryFunctions.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/CalendarStructs.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCalendarLayout.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCollectionReusableView.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCalendarView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/Target\ Support\ Files/JTAppleCalendar/JTAppleCalendar-umbrella.h /Users/edwardhuang/Documents/MichiganHackersiOSApp/DerivedData/Michigan\ Hackers/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/JTAppleCalendar.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/edwardhuang/Documents/MichiganHackersiOSApp/DerivedData/Michigan\ Hackers/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/JTAppleCalendar.build/Objects-normal/x86_64/UserInteractionFunctions~partial.swiftdoc : /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCell.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCalendarDelegateProtocol.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCalendarLayoutProtocol.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCalendarVariables.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/UIScrollViewDelegates.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/UICollectionViewDelegates.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTCalendarProtocols.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/CalendarEnums.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/GlobalFunctionsAndExtensions.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/InternalActionFunctions.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/UserInteractionFunctions.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/InternalQueryFunctions.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/CalendarStructs.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCalendarLayout.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCollectionReusableView.swift /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/JTAppleCalendar/Sources/JTAppleCalendarView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/edwardhuang/Documents/MichiganHackersiOSApp/Pods/Target\ Support\ Files/JTAppleCalendar/JTAppleCalendar-umbrella.h /Users/edwardhuang/Documents/MichiganHackersiOSApp/DerivedData/Michigan\ Hackers/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/JTAppleCalendar.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/** * D header file for interaction with C++ std::type_traits. * * Copyright: Copyright Digital Mars 2018. * License: Distributed under the * $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0). * (See accompanying file LICENSE) * Authors: Manu Evans * Source: $(DRUNTIMESRC core/stdcpp/type_traits.d) */ module core.stdcpp.type_traits; extern(C++, "std"): /// struct integral_constant(T, T Val) { /// enum T value = Val; /// alias value_type = T; /// alias type = typeof(this); } /// alias bool_constant(bool b) = integral_constant!(bool, b); // Useful for dealing with enable_if constraints. /// alias true_type = bool_constant!true; /// alias false_type = bool_constant!false; /// struct is_empty(T) { static if (is(T == struct)) private enum __is_empty = T.tupleof.length == 0; else private enum __is_empty = false; /// enum bool value = __is_empty; /// alias value_type = bool; /// alias type = integral_constant!(bool, value); }
D
instance VLK_443_Arbeiter(Npc_Default) { name[0] = "Работник"; guild = GIL_VLK; id = 443; voice = 1; flags = 0; npcType = NPCTYPE_AMBIENT; aivar[AIV_ToughGuy] = TRUE; B_SetAttributesToChapter(self,1); fight_tactic = FAI_HUMAN_COWARD; EquipItem(self,ItMw_1H_Mace_L_04); B_CreateAmbientInv(self); B_SetNpcVisual(self,MALE,"Hum_Head_Bald",Face_N_Weak04,BodyTex_N,ITAR_Bau_L); Mdl_SetModelFatness(self,0); Mdl_ApplyOverlayMds(self,"Humans_Tired.mds"); B_GiveNpcTalents(self); B_SetFightSkills(self,30); daily_routine = Rtn_Start_443; }; func void Rtn_Start_443() { TA_Saw(4,55,19,5,"NW_CITY_HABOUR_08"); TA_Smalltalk(19,5,4,55,"NW_CITY_HABOUR_02"); };
D
instance NON_5054_PAUL(Npc_Default) { name[0] = "Paul"; npcType = npctype_main; guild = GIL_VLK; level = 1; voice = 2; id = 5054; attribute[ATR_STRENGTH] = 20; attribute[ATR_DEXTERITY] = 20; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 108; attribute[ATR_HITPOINTS] = 108; Mdl_SetVisual(self,"HUMANS.MDS"); Mdl_ApplyOverlayMds(self,"Humans_Tired.mds"); Mdl_SetVisualBody(self,"hum_body_Naked0",2,1,"Hum_Head_Bald",39,2,-1); B_Scale(self); Mdl_SetModelFatness(self,0); aivar[AIV_IMPORTANT] = TRUE; fight_tactic = FAI_HUMAN_Strong; daily_routine = rtn_start_5054; }; func void rtn_start_5054() { TA_SitAround(6,0,20,0,"WP_INTRO_NEWGUY"); TA_SitAround(20,0,6,0,"WP_INTRO_NEWGUY"); }; func void rtn_oldcamp_5054() { TA_SitAround(6,0,20,0,"OCR_HUT_34_PAUL"); TA_SitAround(20,0,6,0,"OCR_HUT_34_PAUL"); }; func void rtn_ocescape_5054() { TA_SitAround(0,0,23,0,"LOCATION_11_12_06"); TA_SitAround(23,0,24,0,"LOCATION_11_12_06"); };
D
module assoc_test; import std.conv; public abstract class A { public int store; public this(in int ain) { this.store = ain; } public int a () {return this.store;} public int b(); override string toString() { return this.store.to!string(); } } public class B : A { public this(in int bin) { super(bin); } override public int b() { return this.a() * 2; } } public int main() { import std.stdio; import std.algorithm; import std.typecons; import std.array; A[string] amap; B newb(in int input) { return new B(input); } B[string] bmap = ["1": newb(1), "2": newb(2), "3": newb(3)]; writefln("bmap: %s", bmap); foreach(key, value ; bmap.dup) { amap[key] = value; } bmap["2"].store = 5; writefln("bmap: %s", bmap); writefln("amap: %s", amap); return 0; }
D
/******************************************************************************* * Copyright (c) 2005, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation * Port to the D programming language: * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtx.core.commands.AbstractParameterValueConverter; import dwt.dwthelper.utils; /** * <p> * Supports conversion between objects and strings for command parameter values. * Extenders must produce strings that identify objects (of a specific command * parameter type) as well as consume the strings to locate and return the * objects they identify. * </p> * <p> * This class offers multiple handlers of a command a consistent way of * converting string parameter values into the objects that the handlers would * prefer to deal with. This class also gives clients a way to serialize * object parameters as strings so that entire parameterized commands can be * serialized, stored and later deserialized and executed. * </p> * <p> * This class will typically be extended so the subclass can be referenced from * the <code>converter</code> attribute of the * <code>commandParameterType</code> elemement of the * <code>dwtx.ui.commands</code> extension-point. Objects implementing * this interface may also be passed directly to * {@link ParameterType#define(String, AbstractParameterValueConverter)} by * clients. * </p> * * @see ParameterType#define(String, AbstractParameterValueConverter) * @see ParameterizedCommand#serialize() * @since 3.2 */ public abstract class AbstractParameterValueConverter { /** * Converts a string encoded command parameter value into the parameter * value object. * * @param parameterValue * a command parameter value string describing an object; may be * <code>null</code> * @return the object described by the command parameter value string; may * be <code>null</code> * @throws ParameterValueConversionException * if an object cannot be produced from the * <code>parameterValue</code> string */ public abstract Object convertToObject(String parameterValue); /** * Converts a command parameter value object into a string that encodes a * reference to the object or serialization of the object. * * @param parameterValue * an object to convert into an identifying string; may be * <code>null</code> * @return a string describing the provided object; may be <code>null</code> * @throws ParameterValueConversionException * if a string reference or serialization cannot be provided for * the <code>parameterValue</code> */ public abstract String convertToString(Object parameterValue); }
D
instance KDW_604_CRONOS(NPC_DEFAULT) { name[0] = "Кронос"; npctype = NPCTYPE_MAIN; flags = NPC_FLAG_IMMORTAL | NPC_FLAG_FRIEND; guild = GIL_KDW; level = 28; voice = 8; id = 604; attribute[ATR_STRENGTH] = 1; attribute[ATR_DEXTERITY] = 1; attribute[ATR_MANA_MAX] = 100; attribute[ATR_MANA] = 100; attribute[ATR_HITPOINTS_MAX] = 376; attribute[ATR_HITPOINTS] = 376; Mdl_SetVisual(self,"HUMANS.MDS"); Mdl_ApplyOverlayMds(self,"Humans_Mage.mds"); Mdl_SetVisualBody(self,"hum_body_Naked0",0,0,"Hum_Head_Thief",7,1,kdw_armor_l); b_scale(self); Mdl_SetModelFatness(self,0); fight_tactic = FAI_HUMAN_MAGE; Npc_SetTalentSkill(self,NPC_TALENT_MAGE,5); EquipItem(self,itarrune_3_3_icecube); EquipItem(self,itarrune_3_5_chainlightning); CreateInvItem(self,alchemybook); b_give_cronoschapter1runes(); daily_routine = rtn_start_604; }; func void rtn_start_604() { ta_sleep(2,0,5,0,"NC_KDW02_IN"); ta_orepile(5,0,2,0,"NC_PATH_TO_PIT_03"); }; func void rtn_orealert_604() { ta_guard(1,0,4,0,"NC_KDW05+06_OUT"); ta_guard(4,0,1,0,"NC_KDW05+06_OUT"); };
D
/Users/a43696467/Documents/guide/swift3Test/Build/Intermediates/swift3Test.build/Debug-iphonesimulator/swift3Test.build/Objects-normal/x86_64/PersonalCenterViewController.o : /Users/a43696467/Documents/guide/swift3Test/swift3Test/base/BaseRequest.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/selectBusiness/selectBusinessViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/PersonalCenter/PersonalCenterView.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/PersonalCenter/PersonalCenterViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/Task/TaskTableViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/AppDelegate.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/Task/TadkTableViewCell.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/MainTabBarController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/Task/TaskDetailView.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/base/CommonSwift.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/HomePageViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/base/BaseTableView.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/Task/TaskDetailViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/base/BaseViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/selectBusiness/selectBusinessViewCell.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/Analysis/AnalysisViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/CheckInfo/CheckInfoViewController.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/a43696467/Documents/guide/swift3Test/swift3Test/swift3Test-Bridging-Header.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/base/Common.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/提货通知/DeliveryNoticeViewController.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/a43696467/Documents/guide/swift3Test/swift3Test/public/OCBaseViewController/OCBaseViewController.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/public/customAlertViewEvent/customAlertViewEvent.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/public/JHChart/JHRingChart.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/public/JHChart/JHChart.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/public/JHChart/JHLineChart.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefresh.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/UIScrollView+MJRefresh.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshConst.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/UIScrollView+MJExtension.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/UIView+MJExtension.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshNormalHeader.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshStateHeader.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshHeader.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshComponent.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/NSBundle+MJRefresh.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshGifHeader.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshBackNormalFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshBackStateFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshBackFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshBackGifFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshAutoNormalFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshAutoStateFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshAutoFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshAutoGifFooter.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/a43696467/Documents/guide/swift3Test/Build/Intermediates/swift3Test.build/Debug-iphonesimulator/swift3Test.build/Objects-normal/x86_64/PersonalCenterViewController~partial.swiftmodule : /Users/a43696467/Documents/guide/swift3Test/swift3Test/base/BaseRequest.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/selectBusiness/selectBusinessViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/PersonalCenter/PersonalCenterView.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/PersonalCenter/PersonalCenterViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/Task/TaskTableViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/AppDelegate.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/Task/TadkTableViewCell.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/MainTabBarController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/Task/TaskDetailView.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/base/CommonSwift.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/HomePageViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/base/BaseTableView.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/Task/TaskDetailViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/base/BaseViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/selectBusiness/selectBusinessViewCell.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/Analysis/AnalysisViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/CheckInfo/CheckInfoViewController.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/a43696467/Documents/guide/swift3Test/swift3Test/swift3Test-Bridging-Header.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/base/Common.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/提货通知/DeliveryNoticeViewController.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/a43696467/Documents/guide/swift3Test/swift3Test/public/OCBaseViewController/OCBaseViewController.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/public/customAlertViewEvent/customAlertViewEvent.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/public/JHChart/JHRingChart.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/public/JHChart/JHChart.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/public/JHChart/JHLineChart.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefresh.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/UIScrollView+MJRefresh.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshConst.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/UIScrollView+MJExtension.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/UIView+MJExtension.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshNormalHeader.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshStateHeader.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshHeader.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshComponent.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/NSBundle+MJRefresh.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshGifHeader.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshBackNormalFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshBackStateFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshBackFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshBackGifFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshAutoNormalFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshAutoStateFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshAutoFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshAutoGifFooter.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/a43696467/Documents/guide/swift3Test/Build/Intermediates/swift3Test.build/Debug-iphonesimulator/swift3Test.build/Objects-normal/x86_64/PersonalCenterViewController~partial.swiftdoc : /Users/a43696467/Documents/guide/swift3Test/swift3Test/base/BaseRequest.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/selectBusiness/selectBusinessViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/PersonalCenter/PersonalCenterView.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/PersonalCenter/PersonalCenterViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/Task/TaskTableViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/AppDelegate.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/Task/TadkTableViewCell.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/MainTabBarController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/Task/TaskDetailView.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/base/CommonSwift.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/HomePageViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/base/BaseTableView.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/Task/TaskDetailViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/base/BaseViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/selectBusiness/selectBusinessViewCell.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/Analysis/AnalysisViewController.swift /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/CheckInfo/CheckInfoViewController.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/a43696467/Documents/guide/swift3Test/swift3Test/swift3Test-Bridging-Header.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/base/Common.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/home/提货通知/DeliveryNoticeViewController.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/a43696467/Documents/guide/swift3Test/swift3Test/public/OCBaseViewController/OCBaseViewController.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/public/customAlertViewEvent/customAlertViewEvent.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/public/JHChart/JHRingChart.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/public/JHChart/JHChart.h /Users/a43696467/Documents/guide/swift3Test/swift3Test/public/JHChart/JHLineChart.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefresh.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/UIScrollView+MJRefresh.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshConst.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/UIScrollView+MJExtension.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/UIView+MJExtension.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshNormalHeader.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshStateHeader.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshHeader.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshComponent.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/NSBundle+MJRefresh.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshGifHeader.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshBackNormalFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshBackStateFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshBackFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshBackGifFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshAutoNormalFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshAutoStateFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshAutoFooter.h /Users/a43696467/Documents/guide/swift3Test/Pods/Headers/Public/MJRefresh/MJRefreshAutoGifFooter.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
D
/Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/Vapor.build/Objects-normal/x86_64/Mail.o : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+JSON.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Body+JSON.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSON.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+FormData.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewData.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/FormData+Polymorphic.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/StructuredData+FormURLEncoded.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/Request+FormURLEncoded.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Command.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Log+Convenience.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Resource.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/HTTP+Node.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/AcceptLanguage.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cache/Config+Cache.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Configurable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSONRepresentable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringInitializable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/RequestInitializable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Console.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Vapor+Console.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/MediaType.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Config+Middleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSMiddleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileMiddleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Date/DateMiddleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorMiddleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/File+Response.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Resolve.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Serve.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/DumpConfig.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Config+ServerConfig.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/ServerConfig.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoEncoding.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Chaining.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Droplet+Routing.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Config+Log.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RoutesLog.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Config+Hash.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogLevel.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Config+Mail.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mail.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/ProviderInstall.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/HashProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CipherProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactoryProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactoryProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Int+Random.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Version.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSConfiguration.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RouteCollection.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Subscription.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Run.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mailgun.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Config+Provider.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Responder.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileManager.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/ConsoleLogger.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/Config+Cipher.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoCipher.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/CryptoHasher.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/BCryptHasher.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/StaticViewRenderer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/EngineServer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/SecurityLayer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/AbortError.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider+Resources.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Directories.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Bytes.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/InitProtocols.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Sessions/Config+Sessions.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Responder+Helpers.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/WebSockets/WebSockets.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Exports.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/EngineClient.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/FoundationClient.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Response+Content.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Request+Content.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Content.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Event.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/Accept.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+Multipart.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/Abort.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer+Request.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/Config+View.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/View.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorView.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/Config+ServerFactory.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactory.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Config+ClientFactory.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/URI.framework/Modules/URI.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/JSON.framework/Modules/JSON.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/SMTP.framework/Modules/SMTP.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/HTTP.framework/Modules/HTTP.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/TLS.framework/Modules/TLS.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/FormData.framework/Modules/FormData.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/libc.framework/Modules/libc.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Node.framework/Modules/Node.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Cache.framework/Modules/Cache.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/PathIndexable.framework/Modules/PathIndexable.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Console.framework/Modules/Console.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Routing.framework/Modules/Routing.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Random.framework/Modules/Random.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Crypto.framework/Modules/Crypto.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Branches.framework/Modules/Branches.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Cookies.framework/Modules/Cookies.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Configs.framework/Modules/Configs.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Sessions.framework/Modules/Sessions.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Sockets.framework/Modules/Sockets.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/WebSockets.framework/Modules/WebSockets.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/BCrypt.framework/Modules/BCrypt.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Multipart.framework/Modules/Multipart.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Transport.framework/Modules/Transport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/cansoykarafakili/Desktop/Hello/Hello.xcodeproj/GeneratedModuleMap/CHTTP/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/Vapor.build/Objects-normal/x86_64/Mail~partial.swiftmodule : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+JSON.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Body+JSON.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSON.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+FormData.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewData.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/FormData+Polymorphic.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/StructuredData+FormURLEncoded.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/Request+FormURLEncoded.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Command.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Log+Convenience.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Resource.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/HTTP+Node.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/AcceptLanguage.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cache/Config+Cache.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Configurable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSONRepresentable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringInitializable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/RequestInitializable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Console.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Vapor+Console.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/MediaType.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Config+Middleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSMiddleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileMiddleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Date/DateMiddleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorMiddleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/File+Response.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Resolve.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Serve.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/DumpConfig.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Config+ServerConfig.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/ServerConfig.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoEncoding.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Chaining.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Droplet+Routing.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Config+Log.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RoutesLog.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Config+Hash.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogLevel.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Config+Mail.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mail.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/ProviderInstall.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/HashProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CipherProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactoryProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactoryProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Int+Random.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Version.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSConfiguration.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RouteCollection.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Subscription.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Run.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mailgun.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Config+Provider.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Responder.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileManager.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/ConsoleLogger.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/Config+Cipher.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoCipher.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/CryptoHasher.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/BCryptHasher.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/StaticViewRenderer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/EngineServer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/SecurityLayer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/AbortError.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider+Resources.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Directories.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Bytes.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/InitProtocols.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Sessions/Config+Sessions.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Responder+Helpers.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/WebSockets/WebSockets.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Exports.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/EngineClient.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/FoundationClient.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Response+Content.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Request+Content.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Content.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Event.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/Accept.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+Multipart.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/Abort.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer+Request.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/Config+View.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/View.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorView.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/Config+ServerFactory.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactory.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Config+ClientFactory.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/URI.framework/Modules/URI.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/JSON.framework/Modules/JSON.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/SMTP.framework/Modules/SMTP.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/HTTP.framework/Modules/HTTP.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/TLS.framework/Modules/TLS.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/FormData.framework/Modules/FormData.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/libc.framework/Modules/libc.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Node.framework/Modules/Node.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Cache.framework/Modules/Cache.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/PathIndexable.framework/Modules/PathIndexable.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Console.framework/Modules/Console.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Routing.framework/Modules/Routing.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Random.framework/Modules/Random.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Crypto.framework/Modules/Crypto.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Branches.framework/Modules/Branches.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Cookies.framework/Modules/Cookies.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Configs.framework/Modules/Configs.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Sessions.framework/Modules/Sessions.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Sockets.framework/Modules/Sockets.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/WebSockets.framework/Modules/WebSockets.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/BCrypt.framework/Modules/BCrypt.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Multipart.framework/Modules/Multipart.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Transport.framework/Modules/Transport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/cansoykarafakili/Desktop/Hello/Hello.xcodeproj/GeneratedModuleMap/CHTTP/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/Vapor.build/Objects-normal/x86_64/Mail~partial.swiftdoc : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+JSON.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Body+JSON.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSON.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+FormData.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewData.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/FormData+Polymorphic.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/StructuredData+FormURLEncoded.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/Request+FormURLEncoded.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Command.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Log+Convenience.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Resource.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/HTTP+Node.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/AcceptLanguage.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cache/Config+Cache.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Configurable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSONRepresentable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringInitializable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/RequestInitializable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Console.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Vapor+Console.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/MediaType.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Config+Middleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSMiddleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileMiddleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Date/DateMiddleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorMiddleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/File+Response.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Resolve.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Serve.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/DumpConfig.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Config+ServerConfig.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/ServerConfig.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoEncoding.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Chaining.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Droplet+Routing.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Config+Log.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RoutesLog.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Config+Hash.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogLevel.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Config+Mail.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mail.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/ProviderInstall.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/HashProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CipherProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactoryProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactoryProtocol.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Int+Random.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Version.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSConfiguration.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RouteCollection.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Subscription.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Run.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mailgun.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Config+Provider.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Responder.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileManager.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/ConsoleLogger.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/Config+Cipher.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoCipher.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/CryptoHasher.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/BCryptHasher.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/StaticViewRenderer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/EngineServer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/SecurityLayer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/AbortError.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider+Resources.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Directories.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Bytes.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/InitProtocols.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Sessions/Config+Sessions.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Responder+Helpers.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/WebSockets/WebSockets.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Exports.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/EngineClient.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/FoundationClient.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Response+Content.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Request+Content.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Content.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Event.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/Accept.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+Multipart.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/Abort.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer+Request.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/Config+View.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/View.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorView.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/Config+ServerFactory.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactory.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Config+ClientFactory.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/URI.framework/Modules/URI.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/JSON.framework/Modules/JSON.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/SMTP.framework/Modules/SMTP.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/HTTP.framework/Modules/HTTP.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/TLS.framework/Modules/TLS.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/FormData.framework/Modules/FormData.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/libc.framework/Modules/libc.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Node.framework/Modules/Node.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Cache.framework/Modules/Cache.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/PathIndexable.framework/Modules/PathIndexable.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Console.framework/Modules/Console.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Routing.framework/Modules/Routing.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Random.framework/Modules/Random.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Crypto.framework/Modules/Crypto.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Branches.framework/Modules/Branches.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Cookies.framework/Modules/Cookies.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Configs.framework/Modules/Configs.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Sessions.framework/Modules/Sessions.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Sockets.framework/Modules/Sockets.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/WebSockets.framework/Modules/WebSockets.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/BCrypt.framework/Modules/BCrypt.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Multipart.framework/Modules/Multipart.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Transport.framework/Modules/Transport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/cansoykarafakili/Desktop/Hello/Hello.xcodeproj/GeneratedModuleMap/CHTTP/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
const int Value_HpEssenz = 40; const int HP_Essenz = 75; const int Value_HpExtrakt = 60; const int HP_Extrakt = 100; const int Value_HpElixier = 80; const int HP_Elixier = 150; const int VALUE_BAPEHBE = 150; const int HP_BAPEHBE = 1; const int Value_ManaEssenz = 25; const int Mana_Essenz = 25; const int Value_ManaExtrakt = 50; const int Mana_Extrakt = 50; const int Value_ManaElixier = 80; const int Mana_Elixier = 100; const int Value_StrElixier = 900; const int VALUE_DEFELIXIER = 1200; const int STR_Elixier = 3; const int Value_DexElixier = 900; const int DEX_Elixier = 3; const int Value_HpMaxElixier = 1300; const int HPMax_Elixier = 25; const int Value_ManaMaxElixier = 1300; const int VALUE_MUSHROOMMP = 1800; const int ManaMax_Elixier = 5; const int Value_MegaDrink = 1800; const int STRorDEX_MegaDrink = 15; const int Value_Speed = 200; const int Time_Speed = 40000; const int Value_ManaTrunk = 160; const int Value_HpTrunk = 160; instance ItPo_Mana_01(C_Item) { name = "Essence of mana"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = Value_ManaEssenz; visual = "ItPo_Mana_01.3ds"; material = MAT_GLAS; on_state[0] = UseItPo_Mana_01; scemeName = "POTIONFAST"; description = name; text[1] = NAME_BONUS_MANANP; count[1] = Mana_Essenz; text[5] = NAME_Value; count[5] = value; }; func void UseItPo_Mana_01() { Npc_ChangeAttribute(self,ATR_MANA,Mana_Essenz); if((Hlp_GetInstanceID(self) == Hlp_GetInstanceID(hero)) && (constantino_mana == TRUE)) { constantino_mana_time += 3; if(constantino_mana_time > 30) { constantino_mana_time = 30; }; }; }; instance ItPo_Mana_02(C_Item) { name = "Extract of mana"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = Value_ManaExtrakt; visual = "ItPo_Mana_02.3ds"; material = MAT_GLAS; on_state[0] = UseItPo_Mana_02; scemeName = "POTIONFAST"; description = name; text[1] = NAME_BONUS_MANANP; count[1] = Mana_Extrakt; text[5] = NAME_Value; count[5] = Value_ManaExtrakt; }; func void UseItPo_Mana_02() { Npc_ChangeAttribute(self,ATR_MANA,Mana_Extrakt); if((Hlp_GetInstanceID(self) == Hlp_GetInstanceID(hero)) && (constantino_mana == TRUE)) { constantino_mana_time += 5; if(constantino_mana_time > 30) { constantino_mana_time = 30; }; }; }; instance ItPo_Mana_03(C_Item) { name = "Elixir of mana"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = Value_ManaElixier; visual = "ItPo_Mana_03.3ds"; material = MAT_GLAS; on_state[0] = UseItPo_Mana_03; scemeName = "POTIONFAST"; description = name; text[1] = NAME_BONUS_MANANP; count[1] = Mana_Elixier; text[5] = NAME_Value; count[5] = value; }; func void UseItPo_Mana_03() { Npc_ChangeAttribute(self,ATR_MANA,Mana_Elixier); if((Hlp_GetInstanceID(self) == Hlp_GetInstanceID(hero)) && (constantino_mana == TRUE)) { constantino_mana_time += 10; if(constantino_mana_time > 30) { constantino_mana_time = 30; }; }; }; instance ItPo_Health_01(C_Item) { name = "Essence of healing"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = Value_HpEssenz; visual = "ItPo_Health_01.3ds"; material = MAT_GLAS; on_state[0] = UseItPo_Health_01; scemeName = "POTIONFAST"; description = name; text[1] = NAME_BONUS_HPNP; count[1] = HP_Essenz; text[5] = NAME_Value; count[5] = Value_HpEssenz; }; func void UseItPo_Health_01() { Npc_ChangeAttribute(self,ATR_HITPOINTS,HP_Essenz); if((Hlp_GetInstanceID(self) == Hlp_GetInstanceID(hero)) && (constantino_heal == TRUE)) { constantino_heal_time += 7; if(constantino_heal_time > 60) { constantino_heal_time = 60; }; }; }; instance ItPo_Health_02(C_Item) { name = "Extract of healing"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = Value_HpExtrakt; visual = "ItPo_Health_02.3ds"; material = MAT_GLAS; on_state[0] = UseItPo_Health_02; scemeName = "POTIONFAST"; description = name; text[1] = NAME_BONUS_HPNP; count[1] = HP_Extrakt; text[5] = NAME_Value; count[5] = Value_HpExtrakt; }; func void UseItPo_Health_02() { Npc_ChangeAttribute(self,ATR_HITPOINTS,HP_Extrakt); if((Hlp_GetInstanceID(self) == Hlp_GetInstanceID(hero)) && (constantino_heal == TRUE)) { constantino_heal_time += 10; if(constantino_heal_time > 60) { constantino_heal_time = 60; }; }; }; instance ItPo_Health_03(C_Item) { name = "Elixir of healing"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = Value_HpElixier; visual = "ItPo_Health_03.3ds"; material = MAT_GLAS; on_state[0] = UseItPo_Health_03; scemeName = "POTIONFAST"; description = name; text[1] = NAME_BONUS_HPNP; count[1] = HP_Elixier; text[5] = NAME_Value; count[5] = Value_HpElixier; }; func void UseItPo_Health_03() { Npc_ChangeAttribute(self,ATR_HITPOINTS,HP_Elixier); if((Hlp_GetInstanceID(self) == Hlp_GetInstanceID(hero)) && (constantino_heal == TRUE)) { constantino_heal_time += 15; if(constantino_heal_time > 60) { constantino_heal_time = 60; }; }; }; instance itpo_bapehbe(C_Item) { name = "Berry broth"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = VALUE_BAPEHBE; visual = "ItPo_BAPEHbE.3ds"; material = MAT_GLAS; on_state[0] = useitpo_bapehbe; scemeName = "POTIONFAST"; description = name; text[0] = "Healing broth made from woodland berries."; text[1] = NAME_BONUS_HP_30; text[2] = NAME_BONUS_HPRM; text[5] = NAME_Value; count[5] = VALUE_BAPEHBE; }; func void useitpo_bapehbe() { var int hpres; var string concatText; hpres = 1 + ((self.attribute[ATR_HITPOINTS_MAX] * 30) / 100); Npc_ChangeAttribute(self,ATR_HITPOINTS_MAX,HP_BAPEHBE); Npc_ChangeAttribute(self,ATR_HITPOINTS,hpres); if(self.attribute[ATR_HITPOINTS] > self.attribute[ATR_HITPOINTS_MAX]) { self.attribute[ATR_HITPOINTS] = self.attribute[ATR_HITPOINTS_MAX]; }; concatText = ConcatStrings(PRINT_Learnhitpoints_MAX,IntToString(HP_BAPEHBE)); PrintScreen(concatText,-1,-1,FONT_Screen,2); }; instance itpo_perm_def(C_Item) { name = "Elixir of protection"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = VALUE_DEFELIXIER; visual = "ItPo_Perm_DEF.3ds"; material = MAT_GLAS; on_state[0] = useitpo_perm_def; scemeName = "POTION"; description = name; text[1] = NAME_BONUS_DEF; count[1] = 1; text[5] = NAME_Value; count[5] = VALUE_DEFELIXIER; }; func void useitpo_perm_def() { Wld_PlayEffect("SPELLFX_DEFSMOKE",hero,hero,3,3,3,FALSE); self.protection[PROT_EDGE] += 1; self.protection[PROT_BLUNT] += 1; self.protection[PROT_POINT] += 1; stat_sworddef = stat_sworddef + (1 * 1); Npc_SetTalentSkill(hero,NPC_TALENT_SWORDDEF,stat_sworddef); PrintScreen(PRINT_PERMDEF,-1,-1,FONT_Screen,4); }; instance ItPo_Perm_STR(C_Item) { name = "Elixir of strength"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = Value_StrElixier; visual = "ItPo_Perm_STR.3ds"; material = MAT_GLAS; on_state[0] = UseItPo_Perm_STR; scemeName = "POTIONFAST"; description = name; text[1] = NAME_Bonus_Str; count[1] = STR_Elixier; text[5] = NAME_Value; count[5] = Value_StrElixier; }; func void UseItPo_Perm_STR() { B_RaiseAttribute(self,ATR_STRENGTH,STR_Elixier); }; instance ItPo_Perm_DEX(C_Item) { name = "Elixir of dexterity"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = Value_DexElixier; visual = "ItPo_Perm_DEX.3ds"; material = MAT_GLAS; on_state[0] = UseItPo_Perm_DEX; scemeName = "POTIONFAST"; description = name; text[1] = NAME_Bonus_Dex; count[1] = DEX_Elixier; text[5] = NAME_Value; count[5] = Value_DexElixier; }; func void UseItPo_Perm_DEX() { B_RaiseAttribute(self,ATR_DEXTERITY,DEX_Elixier); }; instance ItPo_Perm_Health(C_Item) { name = "Elixir of life"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = Value_HpMaxElixier; visual = "ItPo_Perm_Health.3ds"; material = MAT_GLAS; on_state[0] = UseItPo_Perm_Health; scemeName = "POTIONFAST"; description = name; text[1] = NAME_Bonus_HpMax; count[1] = HPMax_Elixier; text[5] = NAME_Value; count[5] = Value_HpMaxElixier; }; func void UseItPo_Perm_Health() { B_RaiseAttribute(self,ATR_HITPOINTS_MAX,HPMax_Elixier); Npc_ChangeAttribute(self,ATR_HITPOINTS,HPMax_Elixier); }; instance ItPo_Perm_Mana(C_Item) { name = "Elixir of spirit"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = Value_ManaMaxElixier; visual = "ItPo_Perm_Mana.3ds"; material = MAT_GLAS; on_state[0] = UseItPo_Perm_Mana; scemeName = "POTIONFAST"; description = name; text[1] = NAME_Bonus_ManaMax; count[1] = ManaMax_Elixier; text[5] = NAME_Value; count[5] = Value_ManaMaxElixier; }; func void UseItPo_Perm_Mana() { B_RaiseAttribute(self,ATR_MANA_MAX,ManaMax_Elixier); Npc_ChangeAttribute(self,ATR_MANA,ManaMax_Elixier); }; instance itpo_perm_mushroommp(C_Item) { name = "Elixir of dark mushrooms"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = VALUE_MUSHROOMMP; visual = "ItPo_MushroomMP_01.3ds"; material = MAT_GLAS; on_state[0] = useitpo_mushroommp; scemeName = "POTIONFAST"; description = name; text[1] = NAME_Bonus_ManaMax; count[1] = ManaMax_Elixier; text[5] = NAME_Value; count[5] = VALUE_MUSHROOMMP; }; func void useitpo_mushroommp() { B_RaiseAttribute(self,ATR_MANA_MAX,ManaMax_Elixier); Npc_ChangeAttribute(self,ATR_MANA,ManaMax_Elixier); }; instance ItPo_Speed(C_Item) { name = "Potion of speed"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = Value_Speed; visual = "ItPo_Speed.3ds"; material = MAT_GLAS; on_state[0] = UseItPo_Speed; scemeName = "POTIONFAST"; description = name; text[1] = "Temporarily increases the speed"; text[3] = "Duration - 40 seconds"; text[5] = NAME_Value; count[5] = value; }; func void UseItPo_Speed() { Mdl_ApplyOverlayMdsTimed(self,"HUMANS_SPRINT.MDS",Time_Speed); }; instance ItPo_MegaDrink(C_Item) { name = "Embarla Firgasto"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = Value_MegaDrink; visual = "ItPo_Perm_Mana.3ds"; material = MAT_GLAS; on_state[0] = UseItPo_MegaDrink; scemeName = "POTIONFAST"; description = name; text[3] = "Effects unknown."; text[5] = NAME_Value; count[5] = value; }; func void UseItPo_MegaDrink() { if(self.attribute[ATR_STRENGTH] < self.attribute[ATR_DEXTERITY]) { B_RaiseAttribute(self,ATR_DEXTERITY,STRorDEX_MegaDrink); } else { B_RaiseAttribute(self,ATR_STRENGTH,STRorDEX_MegaDrink); }; Npc_ChangeAttribute(self,ATR_MANA,-ATR_MANA); Snd_Play("DEM_Warn"); };
D
# FIXED pwr.obj: C:/ti/motorware/motorware_1_01_00_17/sw/drivers/pwr/src/32b/f28x/f2802x/pwr.c pwr.obj: C:/ti/motorware/motorware_1_01_00_17/sw/drivers/pwr/src/32b/f28x/f2802x/pwr.h pwr.obj: C:/ti/motorware/motorware_1_01_00_17/sw/modules/types/src/types.h pwr.obj: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/stdbool.h pwr.obj: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/string.h pwr.obj: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/linkage.h pwr.obj: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/stdint.h pwr.obj: C:/ti/motorware/motorware_1_01_00_17/sw/drivers/cpu/src/32b/f28x/f2802x/cpu.h C:/ti/motorware/motorware_1_01_00_17/sw/drivers/pwr/src/32b/f28x/f2802x/pwr.c: C:/ti/motorware/motorware_1_01_00_17/sw/drivers/pwr/src/32b/f28x/f2802x/pwr.h: C:/ti/motorware/motorware_1_01_00_17/sw/modules/types/src/types.h: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/stdbool.h: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/string.h: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/linkage.h: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/stdint.h: C:/ti/motorware/motorware_1_01_00_17/sw/drivers/cpu/src/32b/f28x/f2802x/cpu.h:
D
/Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/.build/debug/Jay.build/NullParser.swift.o : /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/BooleanParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/ByteReader.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/CommentParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Consts.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Error.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Extensions.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Formatter.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Jay.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/NativeParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/NativeTypeConversions.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/NullParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/NumberParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/ObjectParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/OutputStream.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Parser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Reader.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/RootParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/StringParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Types.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/ValueParser.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/.build/debug/CLibreSSL.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/.build/debug/Jay.build/NullParser~partial.swiftmodule : /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/BooleanParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/ByteReader.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/CommentParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Consts.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Error.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Extensions.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Formatter.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Jay.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/NativeParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/NativeTypeConversions.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/NullParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/NumberParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/ObjectParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/OutputStream.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Parser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Reader.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/RootParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/StringParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Types.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/ValueParser.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/.build/debug/CLibreSSL.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/.build/debug/Jay.build/NullParser~partial.swiftdoc : /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/BooleanParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/ByteReader.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/CommentParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Consts.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Error.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Extensions.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Formatter.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Jay.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/NativeParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/NativeTypeConversions.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/NullParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/NumberParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/ObjectParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/OutputStream.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Parser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Reader.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/RootParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/StringParser.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/Types.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Jay-1.0.1/Sources/Jay/ValueParser.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/.build/debug/CLibreSSL.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule
D
import std.format; import std.algorithm; import std.stdio; import ast; import lexer; import grammar; void completeFunction(Module mod, FunctionSignature func) { func.returnType = completeType(mod, func.returnType); foreach (param; func.parameters) { param.type = completeType(mod, param.type); } // Inject 'this' parameter auto method = cast(MethodSignature)func; if (method !is null) { auto thisType = method.containerType.clone(); thisType.pointerDepth++; auto thisParam = new TypeSignature(thisType, "this"); func.parameters = thisParam ~ func.parameters; } } class ValidationResult { // Inject these statements before the statement being validated StatementBase[] injectBefore; // Inject these statements after the statement being validated StatementBase[] injectAfter; // Remove the thing being validated bool remove; } void validate(Module mod) { // Complete struct definitions foreach (struct_; mod.structs) { validateStruct(mod, struct_); } // Complete globals foreach (global; mod.globals) { global.signature.type = completeType(mod, global.signature.type); } // Complete function signatures foreach (func; mod.functionsAndMethods()) { completeFunction(mod, func.signature); } // Complete functions foreach (func; mod.functionsAndMethods()) { validateFunction(mod, func); } // Mark overloaded functions FunctionSignature[] signatures; foreach (func; mod.justFunctions()) { signatures ~= func.signature; } markOverloadedFunctions(signatures); // Mark overloaded methods foreach (struct_; mod.structs) { FunctionSignature[] signatures2; foreach (method; struct_.methods) { signatures2 ~= method.signature; } markOverloadedFunctions(signatures2); } } void markOverloadedFunctions(FunctionSignature[] functions) { int[string] counts; foreach (func; functions) { if ((func.name in counts) is null) { counts[func.name] = 0; } counts[func.name]++; } foreach (func; functions) { if (counts[func.name] > 1) { func.overloaded = true; } } } void validateStruct(Module mod, Struct struct_) { foreach (member; struct_.members) { member.type = completeType(mod, member.type); } } void validateFunction(Module mod, Function func) { // Complete function body validateStatement(mod, func.block); // Add default return statement if missing in void function if (!func.signature.returnType.compare(new VoidType())) { return; } if (func.block.statements.length == 0) { return; } if (cast(Return)func.block.statements[$-1] is null) { auto ret = new Return(null, null); ret.parent = func.block; validateStatement(mod, ret); func.block.statements ~= ret; } } StatementBase[] validateCleanup(Module mod, StatementBase parent, StatementBase[] previous) { StatementBase[] ret; foreach (prev; previous) { auto defer = cast(Defer)prev; if (defer !is null) { // TODO: handle result of this? validateStatement(mod, defer.statement); defer.statement.parent = parent; ret ~= defer.statement; continue; } auto localDecl = cast(LocalDeclaration)prev; if (localDecl !is null) { auto structType = cast(StructType)localDecl.signature.type; if (structType is null) { continue; } // Find a destruct method if one exists MethodSignature destructMethod = null; foreach (met; structType.struct_.methods) { auto sig = met.methodSignature; auto voidRet = cast(VoidType)sig.returnType; if (voidRet is null) { continue; } // TODO: we should still know at this point if a function is // called template - mangling should happen later, probably in // the generator. if (!sig.name.canFind("destruct")) { continue; } if (sig.parameters.length != 1 || sig.variadic) { continue; } destructMethod = sig; break; } if (destructMethod is null) { continue; } auto sig = new TypeSignature(structType, localDecl.signature.name); auto binding = new Binding(sig, sig.name); auto call = new MethodCall(binding, "destruct", []); auto sta = new Statement(null, call); sta.parent = parent; validateStatement(mod, sta); sta.parent = parent; ret ~= sta; continue; } } return ret; } ValidationResult validateStatement(Module mod, StatementBase st) { auto ret = new ValidationResult(); // Break out a constructor call if present MethodCall constructorCall = null; auto local = cast(LocalDeclaration)st; if (local !is null) { constructorCall = cast(MethodCall)local.value; if (constructorCall !is null && constructorCall.functionName == "construct") { local.value = null; } else { constructorCall = null; } } foreach (childNode; st.childNodes) { validateNode(mod, childNode); } if (local !is null) { local.signature.type = completeType(mod, local.signature.type); if (local.signature.type.isPrimitive(Primitive.Auto)) { if (local.value is null) { throw new Exception(format("Can't infer type for %s", local.signature)); } local.signature.type = local.value.type; } } // Insert the constructor call (if it exists) after the declaration // TODO: use a tag or something instead of string checking? if (constructorCall !is null) { auto constructorSt = new Statement(local.token, constructorCall); constructorSt.parent = st.parent; auto binding = cast(Binding)constructorCall.container; if (binding is null) { throw new Exception("Expected a struct"); } binding.local = local.signature; validateStatement(mod, constructorSt); ret.injectAfter ~= constructorSt; } auto retSt = cast(Return)st; if (retSt !is null) { // Generate an unused variable name to store the temporary return value // TODO: pretty gross; put these in a totally different namespace or // maybe have the generator phase work this out? // Save returned expression in a local TypeSignature sig; if (retSt.expression !is null) { auto name = format("__ret%d", retSt.containingFunction().nextGeneratedIndex++); auto type = retSt.containingFunction().returnType; sig = new TypeSignature(type, name); auto retVar = new LocalDeclaration(retSt.token, sig, retSt.expression); retVar.parent = retSt.parent; validateStatement(mod, retVar); ret.injectBefore ~= retVar; } // Process things like destruct calls ret.injectBefore ~= validateCleanup(mod, st, previousStatementsAll(mod, st)); // Return the local if (retSt.expression !is null) { retSt.expression = new Binding(sig, sig.name); retSt.expression.parent = retSt; } } auto block = cast(Block)st; if (block is null) { foreach (childStatement; st.childStatements) { // TODO: handle result? validateStatement(mod, childStatement); } } else { StatementBase[] newChildren; foreach (childStatement; block.statements) { auto res = validateStatement(mod, childStatement); newChildren ~= res.injectBefore; if (!res.remove) { newChildren ~= childStatement; } newChildren ~= res.injectAfter; } block.statements = newChildren; if (block.statements.length > 0) { auto lastStatement = block.statements[$-1]; auto blockReturn = cast(Return)lastStatement; if (blockReturn is null) { StatementBase[] before = previousStatements( mod, lastStatement); before = lastStatement ~ before; block.statements ~= validateCleanup(mod, block, before); } } } return ret; } Type completeType(Module mod, Type type) { if (type is null) { return null; } // Already completed, do nothing auto incomplete = cast(IncompleteType)type; if (incomplete is null) { return type; } // Complete the type Type ret = null; // Try void if (incomplete.name == "void") { return new VoidType(); } // Try primitives if (ret is null) { try { ret = new PrimitiveType(parsePrimitive(incomplete.name)); } catch (Throwable) { } } // Try struct templates if (ret is null) { StructTemplate st = null; try { st = mod.findStructTemplate(incomplete.moduleName, incomplete.name); } catch (NotFoundException) { } if (st !is null) { if (st.typeParameters.length != incomplete.typeParameters.length) { throw new Exception("Mismatched template parameters"); } // Complete type parameters for (int i = 0; i < incomplete.typeParameters.length; i++) { incomplete.typeParameters[i] = completeType(mod, incomplete.typeParameters[i]); } StructRendering rendering = null; // Check existing renderings renderingLoop: foreach (r; st.renderings) { // Match type parameters for (int i = 0; i < r.typeParameters.length; i++) { auto ct = incomplete.typeParameters[i]; auto rt = r.typeParameters[i]; if (!incomplete.typeParameters[i].compare( r.typeParameters[i])) { continue renderingLoop; } } // Found a matching rendering rendering = r; } if (rendering is null) { // Make a new rendering for this template rendering = st.render(incomplete.typeParameters); validateStruct(mod, rendering.rendering); // Render destruct if it exists Method destructRendering = null; foreach (method; rendering.structTemplate.methods) { if (method.signature.name == "destruct") { destructRendering = rendering.renderMethod(method); break; } } if (destructRendering !is null) { completeFunction(mod, destructRendering.signature); validateFunction(mod, destructRendering); rendering.rendering.methods ~= destructRendering; } } ret = new StructType(rendering.rendering); } } // Try structs from this module if (ret is null && incomplete.moduleName is null) { foreach (s; mod.structs) { if (s.name == incomplete.name) { ret = new StructType(s); break; } } } // Try imported unqualified structs if (ret is null && incomplete.moduleName is null) { importLoop: foreach (imp; mod.imports) { foreach (s; imp.structs) { if (s.name == incomplete.name) { ret = new StructType(s); break importLoop; } } } } // Try imported qualified structs if (ret is null && incomplete.moduleName !is null) { auto imp = mod.findImport(incomplete.moduleName); foreach (s; imp.structs) { if (s.name == incomplete.name) { ret = new StructType(s); break; } } } if (ret is null) { throw new SyntaxError(format("Unrecognized type %s", incomplete.token.value), incomplete.token); } ret.pointerDepth = incomplete.pointerDepth; ret.elements = incomplete.elements; ret.token = incomplete.token; return ret; } void validateMethodCall(Module mod, MethodCall call) { auto structType = cast(StructType)call.container.type; if (structType is null) { // TODO: enforce this with the type system throw new Exception("Method container must be a struct"); } auto struct_ = structType.struct_; // If this is a struct template method, render the needed method if it // hasn't been rendered already. auto r = mod.findStructRendering(structType.struct_); if (r !is null) { struct_ = r.rendering; // TODO: shouldn't need to render the method before checking if it // needed to be rendered Method newRendering = null; foreach (method; r.structTemplate.methods) { if (method.signature.name == call.functionName) { newRendering = r.renderMethod(method); break; } } if (newRendering is null) { throw new Exception("Method template not found"); } // See if the method rendering already exists foreach (method; r.rendering.methods) { if (method.signature.name == newRendering.signature.name) { call.methodSignature = method.methodSignature; break; } } // If the method rendering doesn't already exist, add it if (call.methodSignature is null) { completeFunction(mod, newRendering.signature); validateFunction(mod, newRendering); call.methodSignature = newRendering.methodSignature; r.rendering.methods ~= newRendering; } } if (call.methodSignature is null) { call.methodSignature = struct_.findMethod(call); } call.retype(); // Inject 'this' argument // TODO: shouldn't need to guard this, it shouldn't be called multiple // times if (call.parameters.length == 0 || call.parameters[0].tag != "this") { Node thisArg = call.container.clone(); // If the container isn't already a pointer, reference it if (call.container.type.pointerDepth == 0) { thisArg = new Reference(thisArg); } thisArg.tag = "this"; thisArg.retype(); call.parameters = thisArg ~ call.parameters; thisArg.parent = call; } } string[] validateCallArguments(TypeSignature[] parameters, Node[] arguments) { string[] ret; if (parameters.length != arguments.length) { ret ~= format("Expected %d arguments but found %d", parameters.length, arguments.length); } for (auto i = 0; i < min(parameters.length, arguments.length); i++) { auto p = parameters[i]; auto a = arguments[i]; if (!p.type.compare(a.type)) { ret ~= format("For parameter #%d (named %s), expected a value " ~ "of type %s, but instead got %s, which has type of %s", i, p.name, p.type, a, a.type); } } return ret; } // TODO: this seems to be getting called multiple times for the same call void validateCall(Module mod, Call call) { // Search function templates FunctionTemplate[] functionTemplates; // No module scope: search current module and unqualified imports if (call.moduleName is null) { functionTemplates = mod.unqualifiedFunctionTemplates(); } // Module scope: search the named module only else { functionTemplates = mod.findImport(call.moduleName).functionTemplates; } FunctionSignature target = null; templateLoop: foreach (ft; functionTemplates) { if (ft.signature.name != call.functionName) continue; if (ft.typeParameters.length != call.typeParameters.length) throw new Exception("Mismatched template parameters"); for (int i = 0; i < call.typeParameters.length; i++) { call.typeParameters[i] = completeType(mod, call.typeParameters[i]); } // Check existing renderings renderingLoop: foreach (r; ft.renderings) { // Match type parameters for (int i = 0; i < r.typeParameters.length; i++) { auto ct = call.typeParameters[i]; auto rt = r.typeParameters[i]; if (!call.typeParameters[i].compare(r.typeParameters[i])) { continue renderingLoop; } } // Found a matching rendering target = r.rendering.signature; break templateLoop; } // Make a new rendering for this template auto newRendering = ft.render(call.typeParameters); validateFunction(mod, newRendering.rendering); ft.renderings ~= newRendering; target = newRendering.rendering.signature; break; } // No template found? Normal function lookup if (target is null) { target = mod.findFunction(call); } // Validate arguments string[] errors; // TODO: don't use string comparisons for these kinds of things if (call.functionName != "syscall") { Node[] callParams; foreach (p; call.parameters) { callParams ~= p; if (target.variadic && callParams.length >= target.parameters.length) { break; } } errors = validateCallArguments(target.parameters, callParams); } if (errors.length > 0) { writefln("Can't call %s with the given parameters:", target.name); foreach (error; errors) { writefln(" - %s", error); } // TODO: use ProgrammerException throw new Exception("Bad call arguments"); } call.targetSignature = target; call.retype(); } void validateNode(Module mod, Node node) { foreach (childNode; node.childNodes()) { validateNode(mod, childNode); } auto methodCall = cast(MethodCall)node; if (methodCall !is null) { validateMethodCall(mod, methodCall); return; } auto call = cast(Call)node; if (call !is null) { validateCall(mod, call); return; } auto binding = cast(Binding)node; if (binding !is null) { if (binding.local is null) { binding.local = findLocal(mod, binding, binding.name); } node.retype(); return; } auto sizeof = cast(SizeOf)node; if (sizeof !is null) { sizeof.argument = completeType(mod, sizeof.argument); node.retype(); return; } node.type = completeType(mod, node.type); node.retype(); } // Find the statement is part of. StatementBase parentStatement(Module mod, Node node) { // Walk up the tree until the first statement is found while (node.parent !is null) { auto parentNode = cast(Node)node.parent; if (parentNode !is null) { node = parentNode; continue; } auto statement = cast(StatementBase)node.parent; if (statement !is null) { return statement; } } throw new Exception(format("Found an orphaned node: %s", node)); } StatementBase nextWithBlockParent(StatementBase st) { while (cast(Block)st.parent is null) { auto parentStatement = cast(StatementBase)st.parent; if (parentStatement !is null) { st = parentStatement; continue; } return null; } return st; } // Find all statements that came before the given statement in its block. StatementBase[] previousStatements(Module mod, StatementBase statement) { StatementBase[] ret; // Find the nearest Block ancestor statement = nextWithBlockParent(statement); if (statement is null) { throw new Exception("No more parents"); } auto parent = cast(Block)statement.parent; // Add sibling statements that come before this statement in the block foreach (st; parent.statements) { if (st == statement) { break; } ret = st ~ ret; } return ret; } // Find all statements that came before the given statement, walking up the // tree to show containing blocks as well. StatementBase[] previousStatementsAll(Module mod, StatementBase statement) { // Find the nearest Block ancestor statement = nextWithBlockParent(statement); if (statement is null) { throw new Exception("No more parents"); } auto parent = cast(Block)statement.parent; auto ret = previousStatements(mod, statement); // Continue walking up the tree auto parentStatement = cast(StatementBase)parent.parent; if (parentStatement !is null) { ret ~= previousStatementsAll(mod, parentStatement); } return ret; } TypeSignature findLocal(Module mod, Node node, string name) { return findLocal(mod, parentStatement(mod, node), name); } TypeSignature findLocal(Module mod, StatementBase statement, string name) { foreach (st; previousStatementsAll(mod, statement)) { auto local = cast(LocalDeclaration)st; if (local !is null) { if (local.signature.name == name) { return local.signature; } } } // Local not found in this function: check the function/method parameters auto func = statement.containingFunction(); auto parameters = func.parameters; foreach (param; parameters) { if (param.name == name) { return param; } } // Last resort: check the globals foreach (global; mod.globals) { if (global.signature.name == name) { return global.signature; } } throw new Exception(format("Local %s not in scope", name)); }
D