diff --git a/Frameworks/BVLinearGradient.xcframework/Info.plist b/Frameworks/BVLinearGradient.xcframework/Info.plist index 74c0409..d59a1d5 100644 --- a/Frameworks/BVLinearGradient.xcframework/Info.plist +++ b/Frameworks/BVLinearGradient.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libBVLinearGradient.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libBVLinearGradient.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libBVLinearGradient.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libBVLinearGradient.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libBVLinearGradient.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/BVLinearGradient.xcframework/ios-arm64/libBVLinearGradient.a b/Frameworks/BVLinearGradient.xcframework/ios-arm64/libBVLinearGradient.a index b460e6a..4b4cfeb 100644 Binary files a/Frameworks/BVLinearGradient.xcframework/ios-arm64/libBVLinearGradient.a and b/Frameworks/BVLinearGradient.xcframework/ios-arm64/libBVLinearGradient.a differ diff --git a/Frameworks/BVLinearGradient.xcframework/ios-arm64_x86_64-simulator/libBVLinearGradient.a b/Frameworks/BVLinearGradient.xcframework/ios-arm64_x86_64-simulator/libBVLinearGradient.a index aeeb219..1738ab3 100644 Binary files a/Frameworks/BVLinearGradient.xcframework/ios-arm64_x86_64-simulator/libBVLinearGradient.a and b/Frameworks/BVLinearGradient.xcframework/ios-arm64_x86_64-simulator/libBVLinearGradient.a differ diff --git a/Frameworks/DoubleConversion.xcframework/ios-arm64/libDoubleConversion.a b/Frameworks/DoubleConversion.xcframework/ios-arm64/libDoubleConversion.a index bdc4b8c..0016a3b 100644 Binary files a/Frameworks/DoubleConversion.xcframework/ios-arm64/libDoubleConversion.a and b/Frameworks/DoubleConversion.xcframework/ios-arm64/libDoubleConversion.a differ diff --git a/Frameworks/DoubleConversion.xcframework/ios-arm64_x86_64-simulator/libDoubleConversion.a b/Frameworks/DoubleConversion.xcframework/ios-arm64_x86_64-simulator/libDoubleConversion.a index b703c70..020d40f 100644 Binary files a/Frameworks/DoubleConversion.xcframework/ios-arm64_x86_64-simulator/libDoubleConversion.a and b/Frameworks/DoubleConversion.xcframework/ios-arm64_x86_64-simulator/libDoubleConversion.a differ diff --git a/Frameworks/DynamicFonts.xcframework/ios-arm64/libDynamicFonts.a b/Frameworks/DynamicFonts.xcframework/ios-arm64/libDynamicFonts.a index 1112cb6..5de13f0 100644 Binary files a/Frameworks/DynamicFonts.xcframework/ios-arm64/libDynamicFonts.a and b/Frameworks/DynamicFonts.xcframework/ios-arm64/libDynamicFonts.a differ diff --git a/Frameworks/DynamicFonts.xcframework/ios-arm64_x86_64-simulator/libDynamicFonts.a b/Frameworks/DynamicFonts.xcframework/ios-arm64_x86_64-simulator/libDynamicFonts.a index ef1d4ad..d0a3449 100644 Binary files a/Frameworks/DynamicFonts.xcframework/ios-arm64_x86_64-simulator/libDynamicFonts.a and b/Frameworks/DynamicFonts.xcframework/ios-arm64_x86_64-simulator/libDynamicFonts.a differ diff --git a/Frameworks/Newsmemory.xcframework/ios-arm64/libNewsmemory.a b/Frameworks/Newsmemory.xcframework/ios-arm64/libNewsmemory.a index e1f7412..af499d4 100644 Binary files a/Frameworks/Newsmemory.xcframework/ios-arm64/libNewsmemory.a and b/Frameworks/Newsmemory.xcframework/ios-arm64/libNewsmemory.a differ diff --git a/Frameworks/Newsmemory.xcframework/ios-arm64_x86_64-simulator/libNewsmemory.a b/Frameworks/Newsmemory.xcframework/ios-arm64_x86_64-simulator/libNewsmemory.a index ef005a6..f469baf 100644 Binary files a/Frameworks/Newsmemory.xcframework/ios-arm64_x86_64-simulator/libNewsmemory.a and b/Frameworks/Newsmemory.xcframework/ios-arm64_x86_64-simulator/libNewsmemory.a differ diff --git a/Frameworks/RCT-Folly.xcframework/ios-arm64/libRCT-Folly.a b/Frameworks/RCT-Folly.xcframework/ios-arm64/libRCT-Folly.a index 75cc688..d187d7d 100644 Binary files a/Frameworks/RCT-Folly.xcframework/ios-arm64/libRCT-Folly.a and b/Frameworks/RCT-Folly.xcframework/ios-arm64/libRCT-Folly.a differ diff --git a/Frameworks/RCT-Folly.xcframework/ios-arm64_x86_64-simulator/libRCT-Folly.a b/Frameworks/RCT-Folly.xcframework/ios-arm64_x86_64-simulator/libRCT-Folly.a index 6dafb19..607eed5 100644 Binary files a/Frameworks/RCT-Folly.xcframework/ios-arm64_x86_64-simulator/libRCT-Folly.a and b/Frameworks/RCT-Folly.xcframework/ios-arm64_x86_64-simulator/libRCT-Folly.a differ diff --git a/Frameworks/RCTTypeSafety.xcframework/Info.plist b/Frameworks/RCTTypeSafety.xcframework/Info.plist index 0c39381..d9913d3 100644 --- a/Frameworks/RCTTypeSafety.xcframework/Info.plist +++ b/Frameworks/RCTTypeSafety.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libRCTTypeSafety.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libRCTTypeSafety.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libRCTTypeSafety.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libRCTTypeSafety.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libRCTTypeSafety.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/RCTTypeSafety.xcframework/ios-arm64/libRCTTypeSafety.a b/Frameworks/RCTTypeSafety.xcframework/ios-arm64/libRCTTypeSafety.a index 6d8170f..756c9f3 100644 Binary files a/Frameworks/RCTTypeSafety.xcframework/ios-arm64/libRCTTypeSafety.a and b/Frameworks/RCTTypeSafety.xcframework/ios-arm64/libRCTTypeSafety.a differ diff --git a/Frameworks/RCTTypeSafety.xcframework/ios-arm64_x86_64-simulator/libRCTTypeSafety.a b/Frameworks/RCTTypeSafety.xcframework/ios-arm64_x86_64-simulator/libRCTTypeSafety.a index 5ae4b82..cad5767 100644 Binary files a/Frameworks/RCTTypeSafety.xcframework/ios-arm64_x86_64-simulator/libRCTTypeSafety.a and b/Frameworks/RCTTypeSafety.xcframework/ios-arm64_x86_64-simulator/libRCTTypeSafety.a differ diff --git a/Frameworks/RNCAsyncStorage.xcframework/ios-arm64/libRNCAsyncStorage.a b/Frameworks/RNCAsyncStorage.xcframework/ios-arm64/libRNCAsyncStorage.a index 7fe5246..8474f80 100644 Binary files a/Frameworks/RNCAsyncStorage.xcframework/ios-arm64/libRNCAsyncStorage.a and b/Frameworks/RNCAsyncStorage.xcframework/ios-arm64/libRNCAsyncStorage.a differ diff --git a/Frameworks/RNCAsyncStorage.xcframework/ios-arm64_x86_64-simulator/libRNCAsyncStorage.a b/Frameworks/RNCAsyncStorage.xcframework/ios-arm64_x86_64-simulator/libRNCAsyncStorage.a index f146903..369209d 100644 Binary files a/Frameworks/RNCAsyncStorage.xcframework/ios-arm64_x86_64-simulator/libRNCAsyncStorage.a and b/Frameworks/RNCAsyncStorage.xcframework/ios-arm64_x86_64-simulator/libRNCAsyncStorage.a differ diff --git a/Frameworks/RNDateTimePicker.xcframework/Info.plist b/Frameworks/RNDateTimePicker.xcframework/Info.plist index d4c5b02..d2a2f90 100644 --- a/Frameworks/RNDateTimePicker.xcframework/Info.plist +++ b/Frameworks/RNDateTimePicker.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libRNDateTimePicker.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libRNDateTimePicker.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libRNDateTimePicker.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libRNDateTimePicker.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libRNDateTimePicker.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/RNDateTimePicker.xcframework/ios-arm64/libRNDateTimePicker.a b/Frameworks/RNDateTimePicker.xcframework/ios-arm64/libRNDateTimePicker.a index df35376..9cbd069 100644 Binary files a/Frameworks/RNDateTimePicker.xcframework/ios-arm64/libRNDateTimePicker.a and b/Frameworks/RNDateTimePicker.xcframework/ios-arm64/libRNDateTimePicker.a differ diff --git a/Frameworks/RNDateTimePicker.xcframework/ios-arm64_x86_64-simulator/libRNDateTimePicker.a b/Frameworks/RNDateTimePicker.xcframework/ios-arm64_x86_64-simulator/libRNDateTimePicker.a index 0e01112..934e440 100644 Binary files a/Frameworks/RNDateTimePicker.xcframework/ios-arm64_x86_64-simulator/libRNDateTimePicker.a and b/Frameworks/RNDateTimePicker.xcframework/ios-arm64_x86_64-simulator/libRNDateTimePicker.a differ diff --git a/Frameworks/RNDefaultPreference.xcframework/Info.plist b/Frameworks/RNDefaultPreference.xcframework/Info.plist index d54d304..38f600b 100644 --- a/Frameworks/RNDefaultPreference.xcframework/Info.plist +++ b/Frameworks/RNDefaultPreference.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libRNDefaultPreference.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libRNDefaultPreference.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libRNDefaultPreference.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libRNDefaultPreference.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libRNDefaultPreference.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/RNDefaultPreference.xcframework/ios-arm64/libRNDefaultPreference.a b/Frameworks/RNDefaultPreference.xcframework/ios-arm64/libRNDefaultPreference.a index d96bc72..71b8c2a 100644 Binary files a/Frameworks/RNDefaultPreference.xcframework/ios-arm64/libRNDefaultPreference.a and b/Frameworks/RNDefaultPreference.xcframework/ios-arm64/libRNDefaultPreference.a differ diff --git a/Frameworks/RNDefaultPreference.xcframework/ios-arm64_x86_64-simulator/libRNDefaultPreference.a b/Frameworks/RNDefaultPreference.xcframework/ios-arm64_x86_64-simulator/libRNDefaultPreference.a index 2691909..2b0ba6b 100644 Binary files a/Frameworks/RNDefaultPreference.xcframework/ios-arm64_x86_64-simulator/libRNDefaultPreference.a and b/Frameworks/RNDefaultPreference.xcframework/ios-arm64_x86_64-simulator/libRNDefaultPreference.a differ diff --git a/Frameworks/RNDeviceInfo.xcframework/ios-arm64/libRNDeviceInfo.a b/Frameworks/RNDeviceInfo.xcframework/ios-arm64/libRNDeviceInfo.a index 019c632..d2301ab 100644 Binary files a/Frameworks/RNDeviceInfo.xcframework/ios-arm64/libRNDeviceInfo.a and b/Frameworks/RNDeviceInfo.xcframework/ios-arm64/libRNDeviceInfo.a differ diff --git a/Frameworks/RNDeviceInfo.xcframework/ios-arm64_x86_64-simulator/libRNDeviceInfo.a b/Frameworks/RNDeviceInfo.xcframework/ios-arm64_x86_64-simulator/libRNDeviceInfo.a index 4dbb19e..cd2c5f7 100644 Binary files a/Frameworks/RNDeviceInfo.xcframework/ios-arm64_x86_64-simulator/libRNDeviceInfo.a and b/Frameworks/RNDeviceInfo.xcframework/ios-arm64_x86_64-simulator/libRNDeviceInfo.a differ diff --git a/Frameworks/RNFS.xcframework/Info.plist b/Frameworks/RNFS.xcframework/Info.plist index 90718b1..c0b3934 100644 --- a/Frameworks/RNFS.xcframework/Info.plist +++ b/Frameworks/RNFS.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libRNFS.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libRNFS.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libRNFS.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libRNFS.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libRNFS.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/RNFS.xcframework/ios-arm64/libRNFS.a b/Frameworks/RNFS.xcframework/ios-arm64/libRNFS.a index 16a3371..304963e 100644 Binary files a/Frameworks/RNFS.xcframework/ios-arm64/libRNFS.a and b/Frameworks/RNFS.xcframework/ios-arm64/libRNFS.a differ diff --git a/Frameworks/RNFS.xcframework/ios-arm64_x86_64-simulator/libRNFS.a b/Frameworks/RNFS.xcframework/ios-arm64_x86_64-simulator/libRNFS.a index 8ad1be8..8cc884e 100644 Binary files a/Frameworks/RNFS.xcframework/ios-arm64_x86_64-simulator/libRNFS.a and b/Frameworks/RNFS.xcframework/ios-arm64_x86_64-simulator/libRNFS.a differ diff --git a/Frameworks/RNFastImage.xcframework/Info.plist b/Frameworks/RNFastImage.xcframework/Info.plist index 70e3f6b..4dae2c6 100644 --- a/Frameworks/RNFastImage.xcframework/Info.plist +++ b/Frameworks/RNFastImage.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libRNFastImage.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libRNFastImage.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libRNFastImage.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libRNFastImage.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libRNFastImage.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/RNFastImage.xcframework/ios-arm64/libRNFastImage.a b/Frameworks/RNFastImage.xcframework/ios-arm64/libRNFastImage.a index da60958..949be6b 100644 Binary files a/Frameworks/RNFastImage.xcframework/ios-arm64/libRNFastImage.a and b/Frameworks/RNFastImage.xcframework/ios-arm64/libRNFastImage.a differ diff --git a/Frameworks/RNFastImage.xcframework/ios-arm64_x86_64-simulator/libRNFastImage.a b/Frameworks/RNFastImage.xcframework/ios-arm64_x86_64-simulator/libRNFastImage.a index 2891e53..b20abe6 100644 Binary files a/Frameworks/RNFastImage.xcframework/ios-arm64_x86_64-simulator/libRNFastImage.a and b/Frameworks/RNFastImage.xcframework/ios-arm64_x86_64-simulator/libRNFastImage.a differ diff --git a/Frameworks/RNGestureHandler.xcframework/ios-arm64/libRNGestureHandler.a b/Frameworks/RNGestureHandler.xcframework/ios-arm64/libRNGestureHandler.a index d333a93..2a779da 100644 Binary files a/Frameworks/RNGestureHandler.xcframework/ios-arm64/libRNGestureHandler.a and b/Frameworks/RNGestureHandler.xcframework/ios-arm64/libRNGestureHandler.a differ diff --git a/Frameworks/RNGestureHandler.xcframework/ios-arm64_x86_64-simulator/libRNGestureHandler.a b/Frameworks/RNGestureHandler.xcframework/ios-arm64_x86_64-simulator/libRNGestureHandler.a index 85bf1c2..3744b1f 100644 Binary files a/Frameworks/RNGestureHandler.xcframework/ios-arm64_x86_64-simulator/libRNGestureHandler.a and b/Frameworks/RNGestureHandler.xcframework/ios-arm64_x86_64-simulator/libRNGestureHandler.a differ diff --git a/Frameworks/RNOpenAppSettings.xcframework/Info.plist b/Frameworks/RNOpenAppSettings.xcframework/Info.plist deleted file mode 100644 index d8e2150..0000000 --- a/Frameworks/RNOpenAppSettings.xcframework/Info.plist +++ /dev/null @@ -1,48 +0,0 @@ - - - - - AvailableLibraries - - - BinaryPath - libRNOpenAppSettings.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64_x86_64-simulator - LibraryPath - libRNOpenAppSettings.a - SupportedArchitectures - - arm64 - x86_64 - - SupportedPlatform - ios - SupportedPlatformVariant - simulator - - - BinaryPath - libRNOpenAppSettings.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libRNOpenAppSettings.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - - - CFBundlePackageType - XFWK - XCFrameworkFormatVersion - 1.0 - - diff --git a/Frameworks/RNOpenAppSettings.xcframework/ios-arm64/Headers/RNOpenAppSettings.h b/Frameworks/RNOpenAppSettings.xcframework/ios-arm64/Headers/RNOpenAppSettings.h deleted file mode 100644 index de5f445..0000000 --- a/Frameworks/RNOpenAppSettings.xcframework/ios-arm64/Headers/RNOpenAppSettings.h +++ /dev/null @@ -1,7 +0,0 @@ -#import -#import - -@interface RNOpenAppSettings : NSObject - -@end - diff --git a/Frameworks/RNOpenAppSettings.xcframework/ios-arm64/libRNOpenAppSettings.a b/Frameworks/RNOpenAppSettings.xcframework/ios-arm64/libRNOpenAppSettings.a deleted file mode 100644 index 01e6b73..0000000 Binary files a/Frameworks/RNOpenAppSettings.xcframework/ios-arm64/libRNOpenAppSettings.a and /dev/null differ diff --git a/Frameworks/RNOpenAppSettings.xcframework/ios-arm64_x86_64-simulator/Headers/RNOpenAppSettings.h b/Frameworks/RNOpenAppSettings.xcframework/ios-arm64_x86_64-simulator/Headers/RNOpenAppSettings.h deleted file mode 100644 index de5f445..0000000 --- a/Frameworks/RNOpenAppSettings.xcframework/ios-arm64_x86_64-simulator/Headers/RNOpenAppSettings.h +++ /dev/null @@ -1,7 +0,0 @@ -#import -#import - -@interface RNOpenAppSettings : NSObject - -@end - diff --git a/Frameworks/RNOpenAppSettings.xcframework/ios-arm64_x86_64-simulator/libRNOpenAppSettings.a b/Frameworks/RNOpenAppSettings.xcframework/ios-arm64_x86_64-simulator/libRNOpenAppSettings.a deleted file mode 100644 index 8bbe185..0000000 Binary files a/Frameworks/RNOpenAppSettings.xcframework/ios-arm64_x86_64-simulator/libRNOpenAppSettings.a and /dev/null differ diff --git a/Frameworks/RNReanimated.xcframework/ios-arm64/libRNReanimated.a b/Frameworks/RNReanimated.xcframework/ios-arm64/libRNReanimated.a index 4fc4703..19c31a7 100644 Binary files a/Frameworks/RNReanimated.xcframework/ios-arm64/libRNReanimated.a and b/Frameworks/RNReanimated.xcframework/ios-arm64/libRNReanimated.a differ diff --git a/Frameworks/RNReanimated.xcframework/ios-arm64_x86_64-simulator/libRNReanimated.a b/Frameworks/RNReanimated.xcframework/ios-arm64_x86_64-simulator/libRNReanimated.a index b7c554c..fa4aace 100644 Binary files a/Frameworks/RNReanimated.xcframework/ios-arm64_x86_64-simulator/libRNReanimated.a and b/Frameworks/RNReanimated.xcframework/ios-arm64_x86_64-simulator/libRNReanimated.a differ diff --git a/Frameworks/RNSVG.xcframework/Info.plist b/Frameworks/RNSVG.xcframework/Info.plist index 651a8a6..5534e77 100644 --- a/Frameworks/RNSVG.xcframework/Info.plist +++ b/Frameworks/RNSVG.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libRNSVG.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libRNSVG.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libRNSVG.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libRNSVG.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libRNSVG.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RCTConvert+RNSVG.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RCTConvert+RNSVG.h index 4388e0c..d0714ac 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RCTConvert+RNSVG.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RCTConvert+RNSVG.h @@ -6,29 +6,33 @@ * LICENSE file in the root directory of this source tree. */ -#import #import -#import "RCTConvert+RNSVG.h" +#import #import +#import "RCTConvert+RNSVG.h" #import "RNSVGCGFCRule.h" -#import "RNSVGVBMOS.h" -#import "RNSVGUnits.h" +#import "RNSVGColorMatrixType.h" +#import "RNSVGEdgeMode.h" #import "RNSVGLength.h" +#import "RNSVGMaskType.h" #import "RNSVGPathParser.h" +#import "RNSVGUnits.h" +#import "RNSVGVBMOS.h" @class RNSVGBrush; @interface RCTConvert (RNSVG) -+ (RNSVGLength*)RNSVGLength:(id)json; -+ (NSArray*)RNSVGLengthArray:(id)json; ++ (RNSVGLength *)RNSVGLength:(id)json; ++ (NSArray *)RNSVGLengthArray:(id)json; + (RNSVGCGFCRule)RNSVGCGFCRule:(id)json; + (RNSVGVBMOS)RNSVGVBMOS:(id)json; + (RNSVGUnits)RNSVGUnits:(id)json; ++ (RNSVGMaskType)RNSVGMaskType:(id)json; + (RNSVGBrush *)RNSVGBrush:(id)json; + (RNSVGPathParser *)RNSVGCGPath:(NSString *)d; + (CGRect)RNSVGCGRect:(id)json offset:(NSUInteger)offset; -+ (CGColorRef)RNSVGCGColor:(id)json offset:(NSUInteger)offset; ++ (RNSVGColor *)RNSVGColor:(id)json offset:(NSUInteger)offset; + (CGGradientRef)RNSVGCGGradient:(id)json; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGBezierElement.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGBezierElement.h index eefbbf1..29ca0ee 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGBezierElement.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGBezierElement.h @@ -4,9 +4,10 @@ https://github.com/erica/iOS-Drawing/tree/master/C08/Quartz%20Book%20Pack/Bezier */ -#import #import +#import "RNSVGUIKit.h" + #define RNSVGNULLPOINT CGRectNull.origin @interface RNSVGBezierElement : NSObject @@ -18,8 +19,7 @@ @property (nonatomic, assign) CGPoint controlPoint2; // Instance creation -+ (instancetype) elementWithPathElement: (CGPathElement) element; -+ (NSArray *) elementsFromCGPath:(CGPathRef)path; ++ (instancetype)elementWithPathElement:(CGPathElement)element; ++ (NSArray *)elementsFromCGPath:(CGPathRef)path; @end - diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGBrush.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGBrush.h index edf3fc4..4df3f1b 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGBrush.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGBrush.h @@ -12,7 +12,7 @@ @interface RNSVGBrush : NSObject -@property (nonatomic, strong) NSString* brushRef; +@property (nonatomic, strong) NSString *brushRef; /* @abstract */ - (instancetype)initWithArray:(NSArray *)data; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGBrushType.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGBrushType.h index 3cc4a30..19ade8d 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGBrushType.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGBrushType.h @@ -7,8 +7,8 @@ */ typedef enum { - kRNSVGUndefinedType, - kRNSVGLinearGradient, - kRNSVGRadialGradient, - kRNSVGPattern + kRNSVGUndefinedType, + kRNSVGLinearGradient, + kRNSVGRadialGradient, + kRNSVGPattern } RNSVGBrushType; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGCGFCRule.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGCGFCRule.h index 160b0ef..17f31d0 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGCGFCRule.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGCGFCRule.h @@ -5,8 +5,9 @@ * This source code is licensed under the MIT-style license found in the * LICENSE file in the root directory of this source tree. */ +#import typedef CF_ENUM(int32_t, RNSVGCGFCRule) { - kRNSVGCGFCRuleEvenodd, - kRNSVGCGFCRuleNonzero -}; \ No newline at end of file + kRNSVGCGFCRuleEvenodd, + kRNSVGCGFCRuleNonzero +}; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGCircle.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGCircle.h index f4e411a..9ab06de 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGCircle.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGCircle.h @@ -12,9 +12,8 @@ @interface RNSVGCircle : RNSVGRenderable -@property (nonatomic, strong) RNSVGLength* cx; -@property (nonatomic, strong) RNSVGLength* cy; -@property (nonatomic, strong) RNSVGLength* r; +@property (nonatomic, strong) RNSVGLength *cx; +@property (nonatomic, strong) RNSVGLength *cy; +@property (nonatomic, strong) RNSVGLength *r; @end - diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGClipPathManager.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGClipPathManager.h index 111c7e4..eb4dd96 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGClipPathManager.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGClipPathManager.h @@ -6,8 +6,8 @@ * LICENSE file in the root directory of this source tree. */ -#import "RNSVGNodeManager.h" +#import "RNSVGGroupManager.h" -@interface RNSVGClipPathManager : RNSVGNodeManager +@interface RNSVGClipPathManager : RNSVGGroupManager @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGColorMatrixType.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGColorMatrixType.h new file mode 100644 index 0000000..adeee7c --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGColorMatrixType.h @@ -0,0 +1,7 @@ +typedef CF_ENUM(int32_t, RNSVGColorMatrixType) { + SVG_FECOLORMATRIX_TYPE_UNKNOWN, + SVG_FECOLORMATRIX_TYPE_MATRIX, + SVG_FECOLORMATRIX_TYPE_SATURATE, + SVG_FECOLORMATRIX_TYPE_HUEROTATE, + SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA +}; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGConvert.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGConvert.h new file mode 100644 index 0000000..ee83027 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGConvert.h @@ -0,0 +1,18 @@ +#ifdef RCT_NEW_ARCH_ENABLED +#import +#import "RNSVGColorMatrixType.h" +#import "RNSVGEdgeMode.h" +#import "RNSVGUnits.h" + +namespace react = facebook::react; + +@interface RNSVGConvert : NSObject + ++ (RNSVGUnits)RNSVGUnitsFromFilterUnitsCppEquivalent:(react::RNSVGFilterFilterUnits)svgUnits; ++ (RNSVGUnits)RNSVGUnitsFromPrimitiveUnitsCppEquivalent:(react::RNSVGFilterPrimitiveUnits)svgUnits; ++ (RNSVGColorMatrixType)RNSVGColorMatrixTypeFromCppEquivalent:(react::RNSVGFeColorMatrixType)type; ++ (RNSVGEdgeMode)RNSVGEdgeModeFromCppEquivalent:(react::RNSVGFeGaussianBlurEdgeMode)edgeMode; + +@end + +#endif // RCT_NEW_ARCH_ENABLED diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGDefs.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGDefs.h index 9e58b40..be73cfd 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGDefs.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGDefs.h @@ -9,7 +9,7 @@ #import "RNSVGNode.h" /** - * RNSVG defination are implemented as abstract UIViews for all elements inside Defs. + * RNSVG defination are implemented as abstract views for all elements inside Defs. */ @interface RNSVGDefs : RNSVGNode diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGDefsManager.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGDefsManager.h index 591ba68..3f2ecaf 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGDefsManager.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGDefsManager.h @@ -6,10 +6,8 @@ * LICENSE file in the root directory of this source tree. */ -#import +#import "RNSVGNodeManager.h" -@interface RNSVGDefsManager : RCTViewManager +@interface RNSVGDefsManager : RNSVGNodeManager @end - -#import "RNSVGNode.h" diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGEdgeMode.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGEdgeMode.h new file mode 100644 index 0000000..a39a387 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGEdgeMode.h @@ -0,0 +1,6 @@ +typedef CF_ENUM(int32_t, RNSVGEdgeMode) { + SVG_EDGEMODE_UNKNOWN, + SVG_EDGEMODE_DUPLICATE, + SVG_EDGEMODE_WRAP, + SVG_EDGEMODE_NONE +}; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGEllipse.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGEllipse.h index 8ca56cc..79ef779 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGEllipse.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGEllipse.h @@ -11,8 +11,8 @@ #import "RNSVGPath.h" @interface RNSVGEllipse : RNSVGRenderable -@property (nonatomic, strong) RNSVGLength* cx; -@property (nonatomic, strong) RNSVGLength* cy; -@property (nonatomic, strong) RNSVGLength* rx; -@property (nonatomic, strong) RNSVGLength* ry; +@property (nonatomic, strong) RNSVGLength *cx; +@property (nonatomic, strong) RNSVGLength *cy; +@property (nonatomic, strong) RNSVGLength *rx; +@property (nonatomic, strong) RNSVGLength *ry; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeColorMatrix.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeColorMatrix.h new file mode 100644 index 0000000..abe0bfa --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeColorMatrix.h @@ -0,0 +1,10 @@ +#import "RNSVGColorMatrixType.h" +#import "RNSVGFilterPrimitive.h" + +@interface RNSVGFeColorMatrix : RNSVGFilterPrimitive + +@property (nonatomic, strong) NSString *in1; +@property (nonatomic, assign) RNSVGColorMatrixType type; +@property (nonatomic, strong) NSArray *values; + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeColorMatrixManager.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeColorMatrixManager.h new file mode 100644 index 0000000..c04c126 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeColorMatrixManager.h @@ -0,0 +1,5 @@ +#import "RNSVGFilterPrimitiveManager.h" + +@interface RNSVGFeColorMatrixManager : RNSVGFilterPrimitiveManager + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeGaussianBlur.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeGaussianBlur.h new file mode 100644 index 0000000..f0cea5f --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeGaussianBlur.h @@ -0,0 +1,11 @@ +#import "RNSVGEdgeMode.h" +#import "RNSVGFilterPrimitive.h" + +@interface RNSVGFeGaussianBlur : RNSVGFilterPrimitive + +@property (nonatomic, strong) NSString *in1; +@property (nonatomic, strong) NSNumber *stdDeviationX; +@property (nonatomic, strong) NSNumber *stdDeviationY; +@property (nonatomic, assign) RNSVGEdgeMode edgeMode; + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeGaussianBlurManager.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeGaussianBlurManager.h new file mode 100644 index 0000000..a86b8ab --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeGaussianBlurManager.h @@ -0,0 +1,5 @@ +#import "RNSVGFilterPrimitiveManager.h" + +@interface RNSVGFeGaussianBlurManager : RNSVGFilterPrimitiveManager + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeMerge.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeMerge.h new file mode 100644 index 0000000..8e96088 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeMerge.h @@ -0,0 +1,7 @@ +#import "RNSVGFilterPrimitive.h" + +@interface RNSVGFeMerge : RNSVGFilterPrimitive + +@property (nonatomic, copy) NSArray *nodes; + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeMergeManager.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeMergeManager.h new file mode 100644 index 0000000..e5539b3 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeMergeManager.h @@ -0,0 +1,5 @@ +#import "RNSVGFilterPrimitiveManager.h" + +@interface RNSVGFeMergeManager : RNSVGFilterPrimitiveManager + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeOffset.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeOffset.h new file mode 100644 index 0000000..a41805d --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeOffset.h @@ -0,0 +1,9 @@ +#import "RNSVGFilterPrimitive.h" + +@interface RNSVGFeOffset : RNSVGFilterPrimitive + +@property (nonatomic, strong) NSString *in1; +@property (nonatomic, strong) RNSVGLength *dx; +@property (nonatomic, strong) RNSVGLength *dy; + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeOffsetManager.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeOffsetManager.h new file mode 100644 index 0000000..b9b9ba4 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFeOffsetManager.h @@ -0,0 +1,5 @@ +#import "RNSVGFilterPrimitiveManager.h" + +@interface RNSVGFeOffsetManager : RNSVGFilterPrimitiveManager + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFilter.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFilter.h new file mode 100644 index 0000000..b9686c3 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFilter.h @@ -0,0 +1,22 @@ +#import "RNSVGFilterRegion.h" +#import "RNSVGNode.h" + +@interface RNSVGFilter : RNSVGNode + +@property (nonatomic, strong) RNSVGLength *x; +@property (nonatomic, strong) RNSVGLength *y; +@property (nonatomic, strong) RNSVGLength *width; +@property (nonatomic, strong) RNSVGLength *height; +@property (nonatomic, assign) RNSVGUnits filterUnits; +@property (nonatomic, assign) RNSVGUnits primitiveUnits; + +- (CIImage *)applyFilter:(CIImage *)img + backgroundImg:(CIImage *)backgroundImg + renderableBounds:(CGRect)renderableBounds + canvasBounds:(CGRect)canvasBounds + ctm:(CGAffineTransform)ctm; +- (CGContext *)openContext:(CGSize)size; +- (void)endContext:(CGContext *)context; +- (CIImage *)getMaskFromRect:(CGContext *)context rect:(CGRect)rect ctm:(CGAffineTransform)ctm; + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFilterManager.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFilterManager.h new file mode 100644 index 0000000..a318cab --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFilterManager.h @@ -0,0 +1,5 @@ +#import "RNSVGNodeManager.h" + +@interface RNSVGFilterManager : RNSVGNodeManager + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFilterPrimitive.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFilterPrimitive.h new file mode 100644 index 0000000..97724a5 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFilterPrimitive.h @@ -0,0 +1,17 @@ +#import "RNSVGFilterRegion.h" +#import "RNSVGNode.h" + +@interface RNSVGFilterPrimitive : RNSVGNode + +@property (nonatomic, strong) RNSVGLength *x; +@property (nonatomic, strong) RNSVGLength *y; +@property (nonatomic, strong) RNSVGLength *width; +@property (nonatomic, strong) RNSVGLength *height; +@property (nonatomic, strong) NSString *result; + +- (CIImage *)applyFilter:(NSMutableDictionary *)results previousFilterResult:(CIImage *)previous; +- (CIImage *)applyFilter:(NSMutableDictionary *)results + previousFilterResult:(CIImage *)previous + ctm:(CGAffineTransform)ctm; + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFilterPrimitiveManager.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFilterPrimitiveManager.h new file mode 100644 index 0000000..3d1e7fa --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFilterPrimitiveManager.h @@ -0,0 +1,5 @@ +#import "RNSVGNodeManager.h" + +@interface RNSVGFilterPrimitiveManager : RNSVGNodeManager + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFilterRegion.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFilterRegion.h new file mode 100644 index 0000000..15e5552 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFilterRegion.h @@ -0,0 +1,19 @@ +#import "RNSVGNode.h" +#import "RNSVGUnits.h" + +#ifndef RNSVGFilterRegion_h +#define RNSVGFilterRegion_h + +@interface RNSVGFilterRegion : NSObject + +@property (nonatomic, strong) RNSVGLength *x; +@property (nonatomic, strong) RNSVGLength *y; +@property (nonatomic, strong) RNSVGLength *width; +@property (nonatomic, strong) RNSVGLength *height; + ++ (instancetype)regionWithX:(RNSVGLength *)x y:(RNSVGLength *)y width:(RNSVGLength *)width height:(RNSVGLength *)height; +- (CGRect)getCropRect:(RNSVGNode *)node units:(RNSVGUnits)units renderableBounds:(CGRect)renderableBounds; + +@end + +#endif /* RNSVGFilterRegion_h */ diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFontData.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFontData.h index a988ca4..2b8a5be 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFontData.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGFontData.h @@ -1,35 +1,34 @@ #import -#import -#import "RNSVGTextProperties.h" +#import "RNSVGUIKit.h" + #import "RNSVGPropHelper.h" +#import "RNSVGTextProperties.h" @interface RNSVGFontData : NSObject { -@public - CGFloat fontSize; - NSString * fontSize_; - NSString *fontFamily; - enum RNSVGFontStyle fontStyle; - NSDictionary * fontData; - enum RNSVGFontWeight fontWeight; - int absoluteFontWeight; - NSString *fontFeatureSettings; - enum RNSVGFontVariantLigatures fontVariantLigatures; - enum RNSVGTextAnchor textAnchor; - enum RNSVGTextDecoration textDecoration; - CGFloat kerning; - CGFloat wordSpacing; - CGFloat letterSpacing; - bool manualKerning; + @public + CGFloat fontSize; + NSString *fontSize_; + NSString *fontFamily; + enum RNSVGFontStyle fontStyle; + NSDictionary *fontData; + enum RNSVGFontWeight fontWeight; + int absoluteFontWeight; + NSString *fontFeatureSettings; + enum RNSVGFontVariantLigatures fontVariantLigatures; + enum RNSVGTextAnchor textAnchor; + enum RNSVGTextDecoration textDecoration; + CGFloat kerning; + CGFloat wordSpacing; + CGFloat letterSpacing; + bool manualKerning; } + (instancetype)Defaults; -+ (CGFloat)toAbsoluteWithNSString:(NSString *)string - fontSize:(CGFloat)fontSize; ++ (CGFloat)toAbsoluteWithNSString:(NSString *)string fontSize:(CGFloat)fontSize; -+ (instancetype)initWithNSDictionary:(NSDictionary *)font - parent:(RNSVGFontData *)parent; ++ (instancetype)initWithNSDictionary:(NSDictionary *)font parent:(RNSVGFontData *)parent; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGGlyphContext.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGGlyphContext.h index de49110..cccb0cc 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGGlyphContext.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGGlyphContext.h @@ -1,5 +1,5 @@ -#import #import +#import #import "RNSVGFontData.h" @class RNSVGText; @@ -10,8 +10,7 @@ - (CTFontRef)getGlyphFont; -- (instancetype)initWithWidth:(CGFloat)width - height:(CGFloat)height; +- (instancetype)initWithWidth:(CGFloat)width height:(CGFloat)height; - (RNSVGFontData *)getFont; @@ -33,17 +32,16 @@ - (void)popContext; -- (void)pushContext:(RNSVGText*)node - font:(NSDictionary*)font - x:(NSArray*)x - y:(NSArray*)y - deltaX:(NSArray*)deltaX - deltaY:(NSArray*)deltaY - rotate:(NSArray*)rotate; +- (void)pushContext:(RNSVGText *)node + font:(NSDictionary *)font + x:(NSArray *)x + y:(NSArray *)y + deltaX:(NSArray *)deltaX + deltaY:(NSArray *)deltaY + rotate:(NSArray *)rotate; -- (void)pushContext:(RNSVGGroup*)node - font:(NSDictionary *)font; +- (void)pushContext:(RNSVGGroup *)node font:(NSDictionary *)font; -- (NSArray*)getFontContext; +- (NSArray *)getFontContext; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGGroup.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGGroup.h index 4402014..ad4259d 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGGroup.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGGroup.h @@ -7,12 +7,14 @@ */ #import -#import -#import "RNSVGContainer.h" + +#import "RNSVGUIKit.h" + #import "RNSVGCGFCRule.h" -#import "RNSVGSvgView.h" -#import "RNSVGPath.h" +#import "RNSVGContainer.h" #import "RNSVGGlyphContext.h" +#import "RNSVGPath.h" +#import "RNSVGSvgView.h" @interface RNSVGGroup : RNSVGPath diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGImage.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGImage.h index dc7e78d..94ed1e4 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGImage.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGImage.h @@ -9,19 +9,29 @@ #import #import +#import "RNSVGLength.h" #import "RNSVGRenderable.h" #import "RNSVGVBMOS.h" -#import "RNSVGLength.h" + +#import + +#ifdef RCT_NEW_ARCH_ENABLED +#import +#endif @interface RNSVGImage : RNSVGRenderable +#ifdef RCT_NEW_ARCH_ENABLED + +#endif @property (nonatomic, weak) RCTBridge *bridge; -@property (nonatomic, assign) id src; -@property (nonatomic, strong) RNSVGLength* x; -@property (nonatomic, strong) RNSVGLength* y; -@property (nonatomic, strong) RNSVGLength* imagewidth; -@property (nonatomic, strong) RNSVGLength* imageheight; +@property (nonatomic, assign) RCTImageSource *src; +@property (nonatomic, strong) RNSVGLength *x; +@property (nonatomic, strong) RNSVGLength *y; +@property (nonatomic, strong) RNSVGLength *imagewidth; +@property (nonatomic, strong) RNSVGLength *imageheight; @property (nonatomic, strong) NSString *align; @property (nonatomic, assign) RNSVGVBMOS meetOrSlice; +@property (nonatomic, copy) RCTDirectEventBlock onLoad; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGLength.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGLength.h index ba7fb09..af24ef9 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGLength.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGLength.h @@ -1,21 +1,21 @@ -#import +#import "RNSVGUIKit.h" #ifndef RNSVGLength_h #define RNSVGLength_h // https://www.w3.org/TR/SVG/types.html#InterfaceSVGLength typedef CF_ENUM(unsigned short, RNSVGLengthUnitType) { - SVG_LENGTHTYPE_UNKNOWN, - SVG_LENGTHTYPE_NUMBER, - SVG_LENGTHTYPE_PERCENTAGE, - SVG_LENGTHTYPE_EMS, - SVG_LENGTHTYPE_EXS, - SVG_LENGTHTYPE_PX, - SVG_LENGTHTYPE_CM, - SVG_LENGTHTYPE_MM, - SVG_LENGTHTYPE_IN, - SVG_LENGTHTYPE_PT, - SVG_LENGTHTYPE_PC, + SVG_LENGTHTYPE_UNKNOWN, + SVG_LENGTHTYPE_NUMBER, + SVG_LENGTHTYPE_PERCENTAGE, + SVG_LENGTHTYPE_EMS, + SVG_LENGTHTYPE_EXS, + SVG_LENGTHTYPE_PX, + SVG_LENGTHTYPE_CM, + SVG_LENGTHTYPE_MM, + SVG_LENGTHTYPE_IN, + SVG_LENGTHTYPE_PT, + SVG_LENGTHTYPE_PC, }; @interface RNSVGLength : NSObject @@ -23,9 +23,9 @@ typedef CF_ENUM(unsigned short, RNSVGLengthUnitType) { @property (nonatomic, assign) CGFloat value; @property (nonatomic, assign) RNSVGLengthUnitType unit; -+ (instancetype) lengthWithNumber: (CGFloat) number; -+ (instancetype) lengthWithString: (NSString *) lengthString; -- (BOOL) isEqualTo: (RNSVGLength *)other; ++ (instancetype)lengthWithNumber:(CGFloat)number; ++ (instancetype)lengthWithString:(NSString *)lengthString; +- (BOOL)isEqualTo:(RNSVGLength *)other; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGLine.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGLine.h index 1183902..cd648f2 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGLine.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGLine.h @@ -11,8 +11,8 @@ #import "RNSVGPath.h" @interface RNSVGLine : RNSVGRenderable -@property (nonatomic, strong) RNSVGLength* x1; -@property (nonatomic, strong) RNSVGLength* y1; -@property (nonatomic, strong) RNSVGLength* x2; -@property (nonatomic, strong) RNSVGLength* y2; +@property (nonatomic, strong) RNSVGLength *x1; +@property (nonatomic, strong) RNSVGLength *y1; +@property (nonatomic, strong) RNSVGLength *x2; +@property (nonatomic, strong) RNSVGLength *y2; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGLinearGradient.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGLinearGradient.h index 30e577a..870b1c7 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGLinearGradient.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGLinearGradient.h @@ -6,8 +6,8 @@ * LICENSE file in the root directory of this source tree. */ -#import "RNSVGNode.h" #import "RNSVGLength.h" +#import "RNSVGNode.h" @interface RNSVGLinearGradient : RNSVGNode diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGMarker.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGMarker.h index a0744b9..f98e92a 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGMarker.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGMarker.h @@ -19,6 +19,9 @@ @property (nonatomic, strong) NSString *align; @property (nonatomic, assign) RNSVGVBMOS meetOrSlice; -- (void)renderMarker:(CGContextRef)context rect:(CGRect)rect position:(RNSVGMarkerPosition*)position strokeWidth:(CGFloat)strokeWidth; +- (void)renderMarker:(CGContextRef)context + rect:(CGRect)rect + position:(RNSVGMarkerPosition *)position + strokeWidth:(CGFloat)strokeWidth; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGMarkerPosition.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGMarkerPosition.h index bf7b3c0..831fcfb 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGMarkerPosition.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGMarkerPosition.h @@ -1,12 +1,8 @@ - -#import #import -typedef enum RNSVGMarkerType { - kStartMarker, - kMidMarker, - kEndMarker -} RNSVGMarkerType; +#import "RNSVGUIKit.h" + +typedef enum RNSVGMarkerType { kStartMarker, kMidMarker, kEndMarker } RNSVGMarkerType; #define RNSVGZEROPOINT CGRectZero.origin @@ -18,8 +14,8 @@ typedef enum RNSVGMarkerType { @property (nonatomic, assign) float angle; // Instance creation -+ (instancetype) markerPosition:(RNSVGMarkerType)type origin:(CGPoint)origin angle:(float)angle; ++ (instancetype)markerPosition:(RNSVGMarkerType)type origin:(CGPoint)origin angle:(float)angle; -+ (NSArray*) fromCGPath:(CGPathRef)path; ++ (NSArray *)fromCGPath:(CGPathRef)path; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGMask.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGMask.h index a710c76..04d71db 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGMask.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGMask.h @@ -10,6 +10,6 @@ @property (nonatomic, strong) RNSVGLength *maskheight; @property (nonatomic, assign) RNSVGUnits maskUnits; @property (nonatomic, assign) RNSVGUnits maskContentUnits; -@property (nonatomic, assign) CGAffineTransform maskTransform; +@property (nonatomic, assign) RNSVGMaskType maskType; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGMaskType.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGMaskType.h new file mode 100644 index 0000000..c4bdac7 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGMaskType.h @@ -0,0 +1,4 @@ +typedef CF_ENUM(int32_t, RNSVGMaskType) { + kRNSVGMaskTypeLuminance, + kRNSVGMaskTypeAlpha +}; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGNode.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGNode.h index 81513b3..5c2f40a 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGNode.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGNode.h @@ -6,19 +6,20 @@ * LICENSE file in the root directory of this source tree. */ -#import -#import #import "RNSVGCGFCRule.h" #import "RNSVGSvgView.h" + +#import +#import + @class RNSVGGroup; /** - * RNSVG nodes are implemented as base UIViews. They should be implementation for all basic + * RNSVG nodes are implemented as base NSViews/UIViews. They should be implementation for all basic *interfaces for all non-definition nodes. */ -@interface RNSVGNode : UIView - +@interface RNSVGNode : RNSVGView /* N[1/Sqrt[2], 36] The inverse of the square root of 2. @@ -36,6 +37,7 @@ extern CGFloat const RNSVG_DEFAULT_FONT_SIZE; @property (nonatomic, strong) NSString *markerStart; @property (nonatomic, strong) NSString *markerMid; @property (nonatomic, strong) NSString *markerEnd; +@property (nonatomic, strong) RNSVGPlatformView *parentComponentView; /** * Used to control how touch events are processed. @@ -63,7 +65,6 @@ extern CGFloat const RNSVG_DEFAULT_FONT_SIZE; @property (nonatomic, assign) CGRect markerBounds; @property (nonatomic, copy) RCTDirectEventBlock onLayout; - /** * RNSVGSvgView which ownes current RNSVGNode */ @@ -101,7 +102,7 @@ extern CGFloat const RNSVG_DEFAULT_FONT_SIZE; /** * getPath will return the path inside node as a ClipPath. */ -- (CGPathRef)getPath:(CGContextRef) context; +- (CGPathRef)getPath:(CGContextRef)context; - (CGFloat)relativeOnWidthString:(NSString *)length; @@ -111,6 +112,8 @@ extern CGFloat const RNSVG_DEFAULT_FONT_SIZE; - (CGFloat)relativeOn:(RNSVGLength *)length relative:(CGFloat)relative; +- (CGFloat)relativeOnFraction:(RNSVGLength *)length relative:(CGFloat)relative; + - (CGFloat)relativeOnWidth:(RNSVGLength *)length; - (CGFloat)relativeOnHeight:(RNSVGLength *)length; @@ -132,7 +135,7 @@ extern CGFloat const RNSVG_DEFAULT_FONT_SIZE; - (void)endTransparencyLayer:(CGContextRef)context; -- (void)traverseSubviews:(BOOL (^)(__kindof UIView *node))block; +- (void)traverseSubviews:(BOOL (^)(__kindof RNSVGView *node))block; - (void)clearChildCache; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGNodeManager.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGNodeManager.h index 2075bf6..42be52c 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGNodeManager.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGNodeManager.h @@ -6,8 +6,8 @@ * LICENSE file in the root directory of this source tree. */ -#import "RNSVGNode.h" #import +#import "RNSVGNode.h" @interface RNSVGNodeManager : RCTViewManager diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPainter.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPainter.h index f7e7385..cd5519f 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPainter.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPainter.h @@ -8,14 +8,14 @@ #import "RCTConvert+RNSVG.h" #import "RNSVGBrushType.h" -#import "RNSVGUnits.h" #import "RNSVGLength.h" +#import "RNSVGUnits.h" @class RNSVGPattern; @interface RNSVGPainter : NSObject -@property (nonatomic, assign) RNSVGPattern* pattern; +@property (nonatomic, assign) RNSVGPattern *pattern; @property (nonatomic, assign) CGRect paintBounds; @property (nonatomic, assign) bool useObjectBoundingBoxForContentUnits; @property (nonatomic, assign) CGRect bounds; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPathMeasure.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPathMeasure.h index 42b16fd..8e8523e 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPathMeasure.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPathMeasure.h @@ -6,7 +6,7 @@ * LICENSE file in the root directory of this source tree. */ -#import +#import "RNSVGUIKit.h" @interface RNSVGPathMeasure : NSObject diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPathParser.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPathParser.h index 5ea68b8..c7a67a4 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPathParser.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPathParser.h @@ -6,12 +6,11 @@ * LICENSE file in the root directory of this source tree. */ - -#import +#import "RNSVGUIKit.h" @interface RNSVGPathParser : NSObject -- (instancetype) initWithPathString:(NSString *)d; +- (instancetype)initWithPathString:(NSString *)d; - (CGPathRef)getPath; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPropHelper.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPropHelper.h index ce89239..b33562f 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPropHelper.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGPropHelper.h @@ -7,16 +7,11 @@ @interface RNSVGPropHelper : NSObject -+ (CGFloat) fromRelativeWithNSString:(NSString *)length - relative:(CGFloat)relative - fontSize:(CGFloat)fontSize; ++ (CGFloat)fromRelativeWithNSString:(NSString *)length relative:(CGFloat)relative fontSize:(CGFloat)fontSize; -+ (CGFloat) fromRelative:(RNSVGLength*)length - relative:(CGFloat)relative - fontSize:(CGFloat)fontSize; ++ (CGFloat)fromRelative:(RNSVGLength *)length relative:(CGFloat)relative fontSize:(CGFloat)fontSize; -+ (CGFloat)fromRelative:(RNSVGLength*)length - relative:(CGFloat)relative; ++ (CGFloat)fromRelative:(RNSVGLength *)length relative:(CGFloat)relative; @end #endif diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRadialGradient.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRadialGradient.h index deb8e03..82e3ebf 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRadialGradient.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRadialGradient.h @@ -6,8 +6,8 @@ * LICENSE file in the root directory of this source tree. */ -#import "RNSVGNode.h" #import "RNSVGLength.h" +#import "RNSVGNode.h" @interface RNSVGRadialGradient : RNSVGNode diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRect.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRect.h index 04eea2c..97a47dc 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRect.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRect.h @@ -12,11 +12,11 @@ @interface RNSVGRect : RNSVGRenderable -@property (nonatomic, strong) RNSVGLength* x; -@property (nonatomic, strong) RNSVGLength* y; -@property (nonatomic, strong) RNSVGLength* rectwidth; -@property (nonatomic, strong) RNSVGLength* rectheight; -@property (nonatomic, strong) RNSVGLength* rx; -@property (nonatomic, strong) RNSVGLength* ry; +@property (nonatomic, strong) RNSVGLength *x; +@property (nonatomic, strong) RNSVGLength *y; +@property (nonatomic, strong) RNSVGLength *rectwidth; +@property (nonatomic, strong) RNSVGLength *rectheight; +@property (nonatomic, strong) RNSVGLength *rx; +@property (nonatomic, strong) RNSVGLength *ry; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRenderUtils.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRenderUtils.h new file mode 100644 index 0000000..8a4b01c --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRenderUtils.h @@ -0,0 +1,12 @@ +#import "RNSVGRenderable.h" + +@interface RNSVGRenderUtils : NSObject + ++ (CIContext *)sharedCIContext; ++ (CGFloat)getScreenScale; ++ (CGImage *)renderToImage:(RNSVGRenderable *)renderable + ctm:(CGAffineTransform)ctm + rect:(CGRect)rect + clip:(CGRect *)clip; + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRenderable.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRenderable.h index 7ae0489..0515b4c 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRenderable.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRenderable.h @@ -8,10 +8,12 @@ #import +#import "RNSVGUIKit.h" + #import "RNSVGBrush.h" #import "RNSVGCGFCRule.h" -#import "RNSVGNode.h" #import "RNSVGLength.h" +#import "RNSVGNode.h" #import "RNSVGVectorEffect.h" @interface RNSVGRenderable : RNSVGNode @@ -31,6 +33,7 @@ @property (nonatomic, assign) RNSVGVectorEffect vectorEffect; @property (nonatomic, copy) NSArray *propList; @property (nonatomic, assign) CGPathRef hitArea; +@property (nonatomic, strong) NSString *filter; - (void)setHitArea:(CGPathRef)path; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRenderableModule.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRenderableModule.h new file mode 100644 index 0000000..478ecf6 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGRenderableModule.h @@ -0,0 +1,21 @@ +/** + * Copyright (c) 2015-present, Horcrux. + * All rights reserved. + * + * This source code is licensed under the MIT-style license found in the + * LICENSE file in the root directory of this source tree. + */ + +#ifdef RCT_NEW_ARCH_ENABLED +#import +#else +#import +#endif + +@interface RNSVGRenderableModule : NSObject +#ifdef RCT_NEW_ARCH_ENABLED + +#else + +#endif +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGSolidColorBrush.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGSolidColorBrush.h index 6e12929..a6cccd0 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGSolidColorBrush.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGSolidColorBrush.h @@ -11,5 +11,6 @@ @interface RNSVGSolidColorBrush : RNSVGBrush - (instancetype)initWithNumber:(NSNumber *)number; +- (instancetype)initWithColor:(RNSVGColor *)color; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGSvgView.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGSvgView.h index 6510e1b..760c1f0 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGSvgView.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGSvgView.h @@ -6,14 +6,18 @@ * LICENSE file in the root directory of this source tree. */ -#import -#import "RNSVGPainter.h" +#import "RNSVGUIKit.h" + #import "RNSVGContainer.h" +#import "RNSVGPainter.h" #import "RNSVGVBMOS.h" @class RNSVGNode; +@class RNSVGMarker; +@class RNSVGMask; +@class RNSVGFilter; -@interface RNSVGSvgView : UIView +@interface RNSVGSvgView : RNSVGView @property (nonatomic, strong) RNSVGLength *bbWidth; @property (nonatomic, strong) RNSVGLength *bbHeight; @@ -29,8 +33,7 @@ @property (nonatomic, assign) CGAffineTransform initialCTM; @property (nonatomic, assign) CGAffineTransform invInitialCTM; @property (nonatomic, assign) CGAffineTransform viewBoxTransform; - - +@property (nonatomic, assign) UIEdgeInsets hitTestEdgeInsets; /** * define content as clipPath template. @@ -39,7 +42,7 @@ - (RNSVGNode *)getDefinedClipPath:(NSString *)clipPathName; -- (void)defineTemplate:(__kindof RNSVGNode *)template templateName:(NSString *)templateName; +- (void)defineTemplate:(__kindof RNSVGNode *)definedTemplate templateName:(NSString *)templateName; - (RNSVGNode *)getDefinedTemplate:(NSString *)templateName; @@ -47,17 +50,19 @@ - (RNSVGPainter *)getDefinedPainter:(NSString *)painterName; -- (void)defineMarker:(RNSVGNode *)marker markerName:(NSString *)markerName; +- (void)defineMarker:(RNSVGMarker *)marker markerName:(NSString *)markerName; -- (RNSVGNode *)getDefinedMarker:(NSString *)markerName; +- (RNSVGMarker *)getDefinedMarker:(NSString *)markerName; -- (void)defineMask:(RNSVGNode *)mask maskName:(NSString *)maskName; +- (void)defineMask:(RNSVGMask *)mask maskName:(NSString *)maskName; -- (RNSVGNode *)getDefinedMask:(NSString *)maskName; +- (RNSVGMask *)getDefinedMask:(NSString *)maskName; -- (NSString *)getDataURL; +- (void)defineFilter:(RNSVGFilter *)filter filterName:(NSString *)filterName; -- (NSString *)getDataURLwithBounds:(CGRect)bounds; +- (RNSVGFilter *)getDefinedFilter:(NSString *)filterName; + +- (NSString *)getDataURLWithBounds:(CGRect)bounds; - (CGRect)getContextBounds; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGSvgViewModule.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGSvgViewModule.h new file mode 100644 index 0000000..85b2f0f --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGSvgViewModule.h @@ -0,0 +1,21 @@ +/** + * Copyright (c) 2015-present, Horcrux. + * All rights reserved. + * + * This source code is licensed under the MIT-style license found in the + * LICENSE file in the root directory of this source tree. + */ + +#ifdef RCT_NEW_ARCH_ENABLED +#import +#else +#import +#endif + +@interface RNSVGSvgViewModule : NSObject +#ifdef RCT_NEW_ARCH_ENABLED + +#else + +#endif +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGSymbolManager.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGSymbolManager.h index 6001344..0123f18 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGSymbolManager.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGSymbolManager.h @@ -6,8 +6,8 @@ * LICENSE file in the root directory of this source tree. */ -#import "RNSVGNodeManager.h" +#import "RNSVGGroupManager.h" -@interface RNSVGSymbolManager : RNSVGNodeManager +@interface RNSVGSymbolManager : RNSVGGroupManager @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTSpan.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTSpan.h index 9b7509f..eb1d6b4 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTSpan.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTSpan.h @@ -5,9 +5,12 @@ * This source code is licensed under the MIT-style license found in the * LICENSE file in the root directory of this source tree. */ -#import -#import + #import +#import + +#import "RNSVGUIKit.h" + #import "RNSVGText.h" @interface RNSVGTSpan : RNSVGText diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGText.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGText.h index 71ec946..be4fca7 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGText.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGText.h @@ -25,6 +25,6 @@ - (CGPathRef)getGroupPath:(CGContextRef)context; - (CTFontRef)getFontFromContext; - (CGFloat)getSubtreeTextChunksTotalAdvance; -- (RNSVGText*)getTextAnchorRoot; +- (RNSVGText *)getTextAnchorRoot; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTextPath.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTextPath.h index 820f575..ada5e60 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTextPath.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTextPath.h @@ -6,10 +6,10 @@ * LICENSE file in the root directory of this source tree. */ -#import #import -#import "RNSVGText.h" +#import #import "RNSVGLength.h" +#import "RNSVGText.h" @interface RNSVGTextPath : RNSVGText diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTextPathManager.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTextPathManager.h index 165db27..0712445 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTextPathManager.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTextPathManager.h @@ -8,6 +8,6 @@ #import "RNSVGTextManager.h" -@interface RNSVGTextPathManager : RNSVGRenderableManager +@interface RNSVGTextPathManager : RNSVGTextManager @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTextProperties.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTextProperties.h index 527ce3f..c78bd36 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTextProperties.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTextProperties.h @@ -4,107 +4,101 @@ #define RNTextProperties_h typedef NS_ENUM(NSInteger, RNSVGAlignmentBaseline) { - RNSVGAlignmentBaselineBaseline, - RNSVGAlignmentBaselineTextBottom, - RNSVGAlignmentBaselineAlphabetic, - RNSVGAlignmentBaselineIdeographic, - RNSVGAlignmentBaselineMiddle, - RNSVGAlignmentBaselineCentral, - RNSVGAlignmentBaselineMathematical, - RNSVGAlignmentBaselineTextTop, - RNSVGAlignmentBaselineBottom, - RNSVGAlignmentBaselineCenter, - RNSVGAlignmentBaselineTop, - /* - SVG implementations may support the following aliases in order to support legacy content: - - text-before-edge = text-top - text-after-edge = text-bottom - */ - RNSVGAlignmentBaselineTextBeforeEdge, - RNSVGAlignmentBaselineTextAfterEdge, - // SVG 1.1 - RNSVGAlignmentBaselineBeforeEdge, - RNSVGAlignmentBaselineAfterEdge, - RNSVGAlignmentBaselineHanging, - RNSVGAlignmentBaselineDEFAULT = RNSVGAlignmentBaselineBaseline + RNSVGAlignmentBaselineBaseline, + RNSVGAlignmentBaselineTextBottom, + RNSVGAlignmentBaselineAlphabetic, + RNSVGAlignmentBaselineIdeographic, + RNSVGAlignmentBaselineMiddle, + RNSVGAlignmentBaselineCentral, + RNSVGAlignmentBaselineMathematical, + RNSVGAlignmentBaselineTextTop, + RNSVGAlignmentBaselineBottom, + RNSVGAlignmentBaselineCenter, + RNSVGAlignmentBaselineTop, + /* + SVG implementations may support the following aliases in order to support legacy content: + + text-before-edge = text-top + text-after-edge = text-bottom + */ + RNSVGAlignmentBaselineTextBeforeEdge, + RNSVGAlignmentBaselineTextAfterEdge, + // SVG 1.1 + RNSVGAlignmentBaselineBeforeEdge, + RNSVGAlignmentBaselineAfterEdge, + RNSVGAlignmentBaselineHanging, + RNSVGAlignmentBaselineDEFAULT = RNSVGAlignmentBaselineBaseline }; -static NSString* const RNSVGAlignmentBaselineStrings[] = { - @"baseline", - @"text-bottom", - @"alphabetic", - @"ideographic", - @"middle", - @"central", - @"mathematical", - @"text-top", - @"bottom", - @"center", - @"top", - @"text-before-edge", - @"text-after-edge", - @"before-edge", - @"after-edge", - @"hanging", - @"central", - @"mathematical", - @"text-top", - @"bottom", - @"center", - @"top", - nil -}; +static NSString *const RNSVGAlignmentBaselineStrings[] = { + @"baseline", @"text-bottom", @"alphabetic", @"ideographic", @"middle", @"central", + @"mathematical", @"text-top", @"bottom", @"center", @"top", @"text-before-edge", + @"text-after-edge", @"before-edge", @"after-edge", @"hanging", @"central", @"mathematical", + @"text-top", @"bottom", @"center", @"top", nil}; -NSString* RNSVGAlignmentBaselineToString( enum RNSVGAlignmentBaseline fw ); +NSString *RNSVGAlignmentBaselineToString(enum RNSVGAlignmentBaseline fw); -enum RNSVGAlignmentBaseline RNSVGAlignmentBaselineFromString( NSString* s ); +enum RNSVGAlignmentBaseline RNSVGAlignmentBaselineFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGFontStyle) { - RNSVGFontStyleNormal, - RNSVGFontStyleItalic, - RNSVGFontStyleOblique, - RNSVGFontStyleDEFAULT = RNSVGFontStyleNormal, + RNSVGFontStyleNormal, + RNSVGFontStyleItalic, + RNSVGFontStyleOblique, + RNSVGFontStyleDEFAULT = RNSVGFontStyleNormal, }; -static NSString* const RNSVGFontStyleStrings[] = {@"normal", @"italic", @"oblique", nil}; +static NSString *const RNSVGFontStyleStrings[] = {@"normal", @"italic", @"oblique", nil}; -NSString* RNSVGFontStyleToString( enum RNSVGFontStyle fw ); +NSString *RNSVGFontStyleToString(enum RNSVGFontStyle fw); -enum RNSVGFontStyle RNSVGFontStyleFromString( NSString* s ); +enum RNSVGFontStyle RNSVGFontStyleFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGFontVariantLigatures) { - RNSVGFontVariantLigaturesNormal, - RNSVGFontVariantLigaturesNone, - RNSVGFontVariantLigaturesDEFAULT = RNSVGFontVariantLigaturesNormal, + RNSVGFontVariantLigaturesNormal, + RNSVGFontVariantLigaturesNone, + RNSVGFontVariantLigaturesDEFAULT = RNSVGFontVariantLigaturesNormal, }; -static NSString* const RNSVGFontVariantLigaturesStrings[] = {@"normal", @"none", nil}; +static NSString *const RNSVGFontVariantLigaturesStrings[] = {@"normal", @"none", nil}; -NSString* RNSVGFontVariantLigaturesToString( enum RNSVGFontVariantLigatures fw ); +NSString *RNSVGFontVariantLigaturesToString(enum RNSVGFontVariantLigatures fw); -enum RNSVGFontVariantLigatures RNSVGFontVariantLigaturesFromString( NSString* s ); +enum RNSVGFontVariantLigatures RNSVGFontVariantLigaturesFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGFontWeight) { - // Absolute - RNSVGFontWeightNormal, - RNSVGFontWeightBold, - RNSVGFontWeight100, - RNSVGFontWeight200, - RNSVGFontWeight300, - RNSVGFontWeight400, - RNSVGFontWeight500, - RNSVGFontWeight600, - RNSVGFontWeight700, - RNSVGFontWeight800, - RNSVGFontWeight900, - // Relative - RNSVGFontWeightBolder, - RNSVGFontWeightLighter, - RNSVGFontWeightDEFAULT = RNSVGFontWeightNormal, + // Absolute + RNSVGFontWeightNormal, + RNSVGFontWeightBold, + RNSVGFontWeight100, + RNSVGFontWeight200, + RNSVGFontWeight300, + RNSVGFontWeight400, + RNSVGFontWeight500, + RNSVGFontWeight600, + RNSVGFontWeight700, + RNSVGFontWeight800, + RNSVGFontWeight900, + // Relative + RNSVGFontWeightBolder, + RNSVGFontWeightLighter, + RNSVGFontWeightDEFAULT = RNSVGFontWeightNormal, }; -static NSString* const RNSVGFontWeightStrings[] = {@"normal", @"bold", @"100", @"200", @"300", @"400", @"500", @"600", @"700", @"800", @"900", @"bolder", @"lighter", nil}; +static NSString *const RNSVGFontWeightStrings[] = { + @"normal", + @"bold", + @"100", + @"200", + @"300", + @"400", + @"500", + @"600", + @"700", + @"800", + @"900", + @"bolder", + @"lighter", + nil}; static int const RNSVGAbsoluteFontWeights[] = {400, 700, 100, 200, 300, 400, 500, 600, 700, 800, 900}; @@ -119,99 +113,99 @@ static RNSVGFontWeight const RNSVGFontWeights[] = { RNSVGFontWeightBold, RNSVGFontWeight800, RNSVGFontWeight900, - RNSVGFontWeight900 -}; + RNSVGFontWeight900}; -NSString* RNSVGFontWeightToString( enum RNSVGFontWeight fw ); +NSString *RNSVGFontWeightToString(enum RNSVGFontWeight fw); -enum RNSVGFontWeight RNSVGFontWeightFromString( NSString* s ); +NSInteger RNSVGFontWeightFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGTextAnchor) { - RNSVGTextAnchorStart, - RNSVGTextAnchorMiddle, - RNSVGTextAnchorEnd, - RNSVGTextAnchorDEFAULT = RNSVGTextAnchorStart, + RNSVGTextAnchorStart, + RNSVGTextAnchorMiddle, + RNSVGTextAnchorEnd, + RNSVGTextAnchorDEFAULT = RNSVGTextAnchorStart, }; -static NSString* const RNSVGTextAnchorStrings[] = {@"start", @"middle", @"end", nil}; +static NSString *const RNSVGTextAnchorStrings[] = {@"start", @"middle", @"end", nil}; -NSString* RNSVGTextAnchorToString( enum RNSVGTextAnchor fw ); +NSString *RNSVGTextAnchorToString(enum RNSVGTextAnchor fw); -enum RNSVGTextAnchor RNSVGTextAnchorFromString( NSString* s ); +enum RNSVGTextAnchor RNSVGTextAnchorFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGTextDecoration) { - RNSVGTextDecorationNone, - RNSVGTextDecorationUnderline, - RNSVGTextDecorationOverline, - RNSVGTextDecorationLineThrough, - RNSVGTextDecorationBlink, - RNSVGTextDecorationDEFAULT = RNSVGTextDecorationNone, + RNSVGTextDecorationNone, + RNSVGTextDecorationUnderline, + RNSVGTextDecorationOverline, + RNSVGTextDecorationLineThrough, + RNSVGTextDecorationBlink, + RNSVGTextDecorationDEFAULT = RNSVGTextDecorationNone, }; -static NSString* const RNSVGTextDecorationStrings[] = {@"None", @"Underline", @"Overline", @"LineThrough", @"Blink", nil}; +static NSString *const RNSVGTextDecorationStrings[] = + {@"None", @"Underline", @"Overline", @"LineThrough", @"Blink", nil}; -NSString* RNSVGTextDecorationToString( enum RNSVGTextDecoration fw ); +NSString *RNSVGTextDecorationToString(enum RNSVGTextDecoration fw); -enum RNSVGTextDecoration RNSVGTextDecorationFromString( NSString* s ); +enum RNSVGTextDecoration RNSVGTextDecorationFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGTextLengthAdjust) { - RNSVGTextLengthAdjustSpacing, - RNSVGTextLengthAdjustSpacingAndGlyphs, - RNSVGTextLengthAdjustDEFAULT = RNSVGTextLengthAdjustSpacing, + RNSVGTextLengthAdjustSpacing, + RNSVGTextLengthAdjustSpacingAndGlyphs, + RNSVGTextLengthAdjustDEFAULT = RNSVGTextLengthAdjustSpacing, }; -static NSString* const RNSVGTextLengthAdjustStrings[] = {@"spacing", @"spacingAndGlyphs", nil}; +static NSString *const RNSVGTextLengthAdjustStrings[] = {@"spacing", @"spacingAndGlyphs", nil}; -NSString* RNSVGTextLengthAdjustToString( enum RNSVGTextLengthAdjust fw ); +NSString *RNSVGTextLengthAdjustToString(enum RNSVGTextLengthAdjust fw); -enum RNSVGTextLengthAdjust RNSVGTextLengthAdjustFromString( NSString* s ); +enum RNSVGTextLengthAdjust RNSVGTextLengthAdjustFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGTextPathMethod) { - RNSVGTextPathMethodAlign, - RNSVGTextPathMethodStretch, - RNSVGTextPathMethodDEFAULT = RNSVGTextPathMethodAlign, + RNSVGTextPathMethodAlign, + RNSVGTextPathMethodStretch, + RNSVGTextPathMethodDEFAULT = RNSVGTextPathMethodAlign, }; -static NSString* const RNSVGTextPathMethodStrings[] = {@"align", @"stretch", nil}; +static NSString *const RNSVGTextPathMethodStrings[] = {@"align", @"stretch", nil}; -NSString* RNSVGTextPathMethodToString( enum RNSVGTextPathMethod fw ); +NSString *RNSVGTextPathMethodToString(enum RNSVGTextPathMethod fw); -enum RNSVGTextPathMethod RNSVGTextPathMethodFromString( NSString* s ); +enum RNSVGTextPathMethod RNSVGTextPathMethodFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGTextPathMidLine) { - RNSVGTextPathMidLineSharp, - RNSVGTextPathMidLineSmooth, - RNSVGTextPathMidLineDEFAULT = RNSVGTextPathMidLineSharp, + RNSVGTextPathMidLineSharp, + RNSVGTextPathMidLineSmooth, + RNSVGTextPathMidLineDEFAULT = RNSVGTextPathMidLineSharp, }; -static NSString* const RNSVGTextPathMidLineStrings[] = {@"sharp", @"smooth", nil}; +static NSString *const RNSVGTextPathMidLineStrings[] = {@"sharp", @"smooth", nil}; -NSString* RNSVGTextPathMidLineToString( enum RNSVGTextPathMidLine fw ); +NSString *RNSVGTextPathMidLineToString(enum RNSVGTextPathMidLine fw); -enum RNSVGTextPathMidLine RNSVGTextPathMidLineFromString( NSString* s ); +enum RNSVGTextPathMidLine RNSVGTextPathMidLineFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGTextPathSide) { - RNSVGTextPathSideLeft, - RNSVGTextPathSideRight, - RNSVGTextPathSideDEFAULT = RNSVGTextPathSideLeft, + RNSVGTextPathSideLeft, + RNSVGTextPathSideRight, + RNSVGTextPathSideDEFAULT = RNSVGTextPathSideLeft, }; -static NSString* const RNSVGTextPathSideStrings[] = {@"left", @"right", nil}; +static NSString *const RNSVGTextPathSideStrings[] = {@"left", @"right", nil}; -NSString* RNSVGTextPathSideToString( enum RNSVGTextPathSide fw ); +NSString *RNSVGTextPathSideToString(enum RNSVGTextPathSide fw); -enum RNSVGTextPathSide RNSVGTextPathSideFromString( NSString* s ); +enum RNSVGTextPathSide RNSVGTextPathSideFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGTextPathSpacing) { - RNSVGTextPathSpacingAutoSpacing, - RNSVGTextPathSpacingExact, - RNSVGTextPathSpacingDEFAULT = RNSVGTextPathSpacingAutoSpacing, + RNSVGTextPathSpacingAutoSpacing, + RNSVGTextPathSpacingExact, + RNSVGTextPathSpacingDEFAULT = RNSVGTextPathSpacingAutoSpacing, }; -static NSString* const RNSVGTextPathSpacingStrings[] = {@"auto", @"exact", nil}; +static NSString *const RNSVGTextPathSpacingStrings[] = {@"auto", @"exact", nil}; -NSString* RNSVGTextPathSpacingToString( enum RNSVGTextPathSpacing fw ); +NSString *RNSVGTextPathSpacingToString(enum RNSVGTextPathSpacing fw); -enum RNSVGTextPathSpacing RNSVGTextPathSpacingFromString( NSString* s ); +enum RNSVGTextPathSpacing RNSVGTextPathSpacingFromString(NSString *s); #endif diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTopAlignedLabel.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTopAlignedLabel.h new file mode 100644 index 0000000..d356d0f --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGTopAlignedLabel.h @@ -0,0 +1,14 @@ +#if TARGET_OS_OSX +#import +@interface RNSVGTopAlignedLabel : NSTextView + +@property NSAttributedString *attributedText; +@property NSLineBreakMode lineBreakMode; +@property NSInteger numberOfLines; +@property NSString *text; +@property NSTextAlignment textAlignment; +#else +#import +@interface RNSVGTopAlignedLabel : UILabel +#endif +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGUIKit.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGUIKit.h new file mode 100644 index 0000000..073e99b --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGUIKit.h @@ -0,0 +1,70 @@ +// Most (if not all) of this file could probably go away once react-native-macos's version of RCTUIKit.h makes its way +// upstream. https://github.com/microsoft/react-native-macos/issues/242 +#ifdef RCT_NEW_ARCH_ENABLED +#import +#endif // RCT_NEW_ARCH_ENABLED + +#if !TARGET_OS_OSX + +#import + +#define RNSVGColor UIColor +#define RNSVGPlatformView UIView +#define RNSVGTextView UILabel +#ifdef RCT_NEW_ARCH_ENABLED +#define RNSVGView RCTViewComponentView +#else +#define RNSVGView UIView +#endif // RCT_NEW_ARCH_ENABLED + +#else // TARGET_OS_OSX [ + +// Due to name mangling, calling c-style functions from .mm files will fail, therefore we need to wrap them with extern +// "C" so they are handled correctly. We also need to have imports positioned in a correct way, so that this extern "C" +// wrapper is used before the functions from RCTUIKit are used. +#ifdef __cplusplus +extern "C" { +#endif + +#import + +#ifdef __cplusplus +} +#endif + +#define RNSVGColor NSColor +#define RNSVGPlatformView NSView +#define RNSVGTextView NSTextView + +@interface RNSVGColor (CGColor) +- (NSColor *)CGColor; +@end + +@interface RNSVGView : +#ifdef RCT_NEW_ARCH_ENABLED + RCTViewComponentView +#else + RCTUIView +#endif // RCT_NEW_ARCH_ENABLED + +@property CGPoint center; +@property (nonatomic, strong) RNSVGColor *tintColor; + +@end + +// TODO: These could probably be a part of react-native-macos +// See https://github.com/microsoft/react-native-macos/issues/658 and +// https://github.com/microsoft/react-native-macos/issues/659 +@interface NSImage (RNSVGMacOSExtensions) +@property (readonly) CGImageRef CGImage; +@end + +@interface NSValue (RNSVGMacOSExtensions) ++ (NSValue *)valueWithCGAffineTransform:(CGAffineTransform)transform; ++ (NSValue *)valueWithCGPoint:(CGPoint)point; + +@property (readonly) CGAffineTransform CGAffineTransformValue; +@property (readonly) CGPoint CGPointValue; +@end + +#endif // ] TARGET_OS_OSX diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGUnits.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGUnits.h index 0592bc5..d524ea0 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGUnits.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGUnits.h @@ -7,6 +7,6 @@ */ typedef CF_ENUM(int32_t, RNSVGUnits) { - kRNSVGUnitsObjectBoundingBox, - kRNSVGUnitsUserSpaceOnUse + kRNSVGUnitsObjectBoundingBox, + kRNSVGUnitsUserSpaceOnUse }; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGUse.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGUse.h index 6d0f3dd..7c89bbc 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGUse.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGUse.h @@ -6,8 +6,8 @@ * LICENSE file in the root directory of this source tree. */ -#import "RNSVGRenderable.h" #import "RNSVGLength.h" +#import "RNSVGRenderable.h" /** * RNSVG defination are implemented as abstract UIViews for all elements inside Defs. diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGVBMOS.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGVBMOS.h index 24c404a..0372596 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGVBMOS.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGVBMOS.h @@ -7,7 +7,7 @@ */ typedef CF_ENUM(int32_t, RNSVGVBMOS) { - kRNSVGVBMOSMeet, - kRNSVGVBMOSSlice, - kRNSVGVBMOSNone + kRNSVGVBMOSMeet, + kRNSVGVBMOSSlice, + kRNSVGVBMOSNone }; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGVectorEffect.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGVectorEffect.h index 0ab1703..3dee2ad 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGVectorEffect.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGVectorEffect.h @@ -7,8 +7,8 @@ */ typedef CF_ENUM(int32_t, RNSVGVectorEffect) { - kRNSVGVectorEffectDefault, - kRNSVGVectorEffectNonScalingStroke, - kRNSVGVectorEffectInherit, - kRNSVGVectorEffectUri + kRNSVGVectorEffectDefault, + kRNSVGVectorEffectNonScalingStroke, + kRNSVGVectorEffectInherit, + kRNSVGVectorEffectUri }; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGViewBox.h b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGViewBox.h index 746ae79..d7defd7 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGViewBox.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGViewBox.h @@ -6,11 +6,15 @@ * LICENSE file in the root directory of this source tree. */ -#import +#import "RNSVGUIKit.h" + #import "RNSVGVBMOS.h" @interface RNSVGViewBox : NSObject -+ (CGAffineTransform)getTransform:(CGRect)vbRect eRect:(CGRect)eRect align:(NSString *)align meetOrSlice:(RNSVGVBMOS)meetOrSlice; ++ (CGAffineTransform)getTransform:(CGRect)vbRect + eRect:(CGRect)eRect + align:(NSString *)align + meetOrSlice:(RNSVGVBMOS)meetOrSlice; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/libRNSVG.a b/Frameworks/RNSVG.xcframework/ios-arm64/libRNSVG.a index 373b8bb..cb2dc38 100644 Binary files a/Frameworks/RNSVG.xcframework/ios-arm64/libRNSVG.a and b/Frameworks/RNSVG.xcframework/ios-arm64/libRNSVG.a differ diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RCTConvert+RNSVG.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RCTConvert+RNSVG.h index 4388e0c..d0714ac 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RCTConvert+RNSVG.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RCTConvert+RNSVG.h @@ -6,29 +6,33 @@ * LICENSE file in the root directory of this source tree. */ -#import #import -#import "RCTConvert+RNSVG.h" +#import #import +#import "RCTConvert+RNSVG.h" #import "RNSVGCGFCRule.h" -#import "RNSVGVBMOS.h" -#import "RNSVGUnits.h" +#import "RNSVGColorMatrixType.h" +#import "RNSVGEdgeMode.h" #import "RNSVGLength.h" +#import "RNSVGMaskType.h" #import "RNSVGPathParser.h" +#import "RNSVGUnits.h" +#import "RNSVGVBMOS.h" @class RNSVGBrush; @interface RCTConvert (RNSVG) -+ (RNSVGLength*)RNSVGLength:(id)json; -+ (NSArray*)RNSVGLengthArray:(id)json; ++ (RNSVGLength *)RNSVGLength:(id)json; ++ (NSArray *)RNSVGLengthArray:(id)json; + (RNSVGCGFCRule)RNSVGCGFCRule:(id)json; + (RNSVGVBMOS)RNSVGVBMOS:(id)json; + (RNSVGUnits)RNSVGUnits:(id)json; ++ (RNSVGMaskType)RNSVGMaskType:(id)json; + (RNSVGBrush *)RNSVGBrush:(id)json; + (RNSVGPathParser *)RNSVGCGPath:(NSString *)d; + (CGRect)RNSVGCGRect:(id)json offset:(NSUInteger)offset; -+ (CGColorRef)RNSVGCGColor:(id)json offset:(NSUInteger)offset; ++ (RNSVGColor *)RNSVGColor:(id)json offset:(NSUInteger)offset; + (CGGradientRef)RNSVGCGGradient:(id)json; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGBezierElement.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGBezierElement.h index eefbbf1..29ca0ee 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGBezierElement.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGBezierElement.h @@ -4,9 +4,10 @@ https://github.com/erica/iOS-Drawing/tree/master/C08/Quartz%20Book%20Pack/Bezier */ -#import #import +#import "RNSVGUIKit.h" + #define RNSVGNULLPOINT CGRectNull.origin @interface RNSVGBezierElement : NSObject @@ -18,8 +19,7 @@ @property (nonatomic, assign) CGPoint controlPoint2; // Instance creation -+ (instancetype) elementWithPathElement: (CGPathElement) element; -+ (NSArray *) elementsFromCGPath:(CGPathRef)path; ++ (instancetype)elementWithPathElement:(CGPathElement)element; ++ (NSArray *)elementsFromCGPath:(CGPathRef)path; @end - diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGBrush.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGBrush.h index edf3fc4..4df3f1b 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGBrush.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGBrush.h @@ -12,7 +12,7 @@ @interface RNSVGBrush : NSObject -@property (nonatomic, strong) NSString* brushRef; +@property (nonatomic, strong) NSString *brushRef; /* @abstract */ - (instancetype)initWithArray:(NSArray *)data; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGBrushType.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGBrushType.h index 3cc4a30..19ade8d 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGBrushType.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGBrushType.h @@ -7,8 +7,8 @@ */ typedef enum { - kRNSVGUndefinedType, - kRNSVGLinearGradient, - kRNSVGRadialGradient, - kRNSVGPattern + kRNSVGUndefinedType, + kRNSVGLinearGradient, + kRNSVGRadialGradient, + kRNSVGPattern } RNSVGBrushType; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGCGFCRule.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGCGFCRule.h index 160b0ef..17f31d0 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGCGFCRule.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGCGFCRule.h @@ -5,8 +5,9 @@ * This source code is licensed under the MIT-style license found in the * LICENSE file in the root directory of this source tree. */ +#import typedef CF_ENUM(int32_t, RNSVGCGFCRule) { - kRNSVGCGFCRuleEvenodd, - kRNSVGCGFCRuleNonzero -}; \ No newline at end of file + kRNSVGCGFCRuleEvenodd, + kRNSVGCGFCRuleNonzero +}; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGCircle.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGCircle.h index f4e411a..9ab06de 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGCircle.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGCircle.h @@ -12,9 +12,8 @@ @interface RNSVGCircle : RNSVGRenderable -@property (nonatomic, strong) RNSVGLength* cx; -@property (nonatomic, strong) RNSVGLength* cy; -@property (nonatomic, strong) RNSVGLength* r; +@property (nonatomic, strong) RNSVGLength *cx; +@property (nonatomic, strong) RNSVGLength *cy; +@property (nonatomic, strong) RNSVGLength *r; @end - diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGClipPathManager.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGClipPathManager.h index 111c7e4..eb4dd96 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGClipPathManager.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGClipPathManager.h @@ -6,8 +6,8 @@ * LICENSE file in the root directory of this source tree. */ -#import "RNSVGNodeManager.h" +#import "RNSVGGroupManager.h" -@interface RNSVGClipPathManager : RNSVGNodeManager +@interface RNSVGClipPathManager : RNSVGGroupManager @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGColorMatrixType.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGColorMatrixType.h new file mode 100644 index 0000000..adeee7c --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGColorMatrixType.h @@ -0,0 +1,7 @@ +typedef CF_ENUM(int32_t, RNSVGColorMatrixType) { + SVG_FECOLORMATRIX_TYPE_UNKNOWN, + SVG_FECOLORMATRIX_TYPE_MATRIX, + SVG_FECOLORMATRIX_TYPE_SATURATE, + SVG_FECOLORMATRIX_TYPE_HUEROTATE, + SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA +}; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGConvert.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGConvert.h new file mode 100644 index 0000000..ee83027 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGConvert.h @@ -0,0 +1,18 @@ +#ifdef RCT_NEW_ARCH_ENABLED +#import +#import "RNSVGColorMatrixType.h" +#import "RNSVGEdgeMode.h" +#import "RNSVGUnits.h" + +namespace react = facebook::react; + +@interface RNSVGConvert : NSObject + ++ (RNSVGUnits)RNSVGUnitsFromFilterUnitsCppEquivalent:(react::RNSVGFilterFilterUnits)svgUnits; ++ (RNSVGUnits)RNSVGUnitsFromPrimitiveUnitsCppEquivalent:(react::RNSVGFilterPrimitiveUnits)svgUnits; ++ (RNSVGColorMatrixType)RNSVGColorMatrixTypeFromCppEquivalent:(react::RNSVGFeColorMatrixType)type; ++ (RNSVGEdgeMode)RNSVGEdgeModeFromCppEquivalent:(react::RNSVGFeGaussianBlurEdgeMode)edgeMode; + +@end + +#endif // RCT_NEW_ARCH_ENABLED diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGDefs.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGDefs.h index 9e58b40..be73cfd 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGDefs.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGDefs.h @@ -9,7 +9,7 @@ #import "RNSVGNode.h" /** - * RNSVG defination are implemented as abstract UIViews for all elements inside Defs. + * RNSVG defination are implemented as abstract views for all elements inside Defs. */ @interface RNSVGDefs : RNSVGNode diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGDefsManager.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGDefsManager.h index 591ba68..3f2ecaf 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGDefsManager.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGDefsManager.h @@ -6,10 +6,8 @@ * LICENSE file in the root directory of this source tree. */ -#import +#import "RNSVGNodeManager.h" -@interface RNSVGDefsManager : RCTViewManager +@interface RNSVGDefsManager : RNSVGNodeManager @end - -#import "RNSVGNode.h" diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGEdgeMode.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGEdgeMode.h new file mode 100644 index 0000000..a39a387 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGEdgeMode.h @@ -0,0 +1,6 @@ +typedef CF_ENUM(int32_t, RNSVGEdgeMode) { + SVG_EDGEMODE_UNKNOWN, + SVG_EDGEMODE_DUPLICATE, + SVG_EDGEMODE_WRAP, + SVG_EDGEMODE_NONE +}; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGEllipse.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGEllipse.h index 8ca56cc..79ef779 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGEllipse.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGEllipse.h @@ -11,8 +11,8 @@ #import "RNSVGPath.h" @interface RNSVGEllipse : RNSVGRenderable -@property (nonatomic, strong) RNSVGLength* cx; -@property (nonatomic, strong) RNSVGLength* cy; -@property (nonatomic, strong) RNSVGLength* rx; -@property (nonatomic, strong) RNSVGLength* ry; +@property (nonatomic, strong) RNSVGLength *cx; +@property (nonatomic, strong) RNSVGLength *cy; +@property (nonatomic, strong) RNSVGLength *rx; +@property (nonatomic, strong) RNSVGLength *ry; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeColorMatrix.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeColorMatrix.h new file mode 100644 index 0000000..abe0bfa --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeColorMatrix.h @@ -0,0 +1,10 @@ +#import "RNSVGColorMatrixType.h" +#import "RNSVGFilterPrimitive.h" + +@interface RNSVGFeColorMatrix : RNSVGFilterPrimitive + +@property (nonatomic, strong) NSString *in1; +@property (nonatomic, assign) RNSVGColorMatrixType type; +@property (nonatomic, strong) NSArray *values; + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeColorMatrixManager.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeColorMatrixManager.h new file mode 100644 index 0000000..c04c126 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeColorMatrixManager.h @@ -0,0 +1,5 @@ +#import "RNSVGFilterPrimitiveManager.h" + +@interface RNSVGFeColorMatrixManager : RNSVGFilterPrimitiveManager + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeGaussianBlur.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeGaussianBlur.h new file mode 100644 index 0000000..f0cea5f --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeGaussianBlur.h @@ -0,0 +1,11 @@ +#import "RNSVGEdgeMode.h" +#import "RNSVGFilterPrimitive.h" + +@interface RNSVGFeGaussianBlur : RNSVGFilterPrimitive + +@property (nonatomic, strong) NSString *in1; +@property (nonatomic, strong) NSNumber *stdDeviationX; +@property (nonatomic, strong) NSNumber *stdDeviationY; +@property (nonatomic, assign) RNSVGEdgeMode edgeMode; + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeGaussianBlurManager.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeGaussianBlurManager.h new file mode 100644 index 0000000..a86b8ab --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeGaussianBlurManager.h @@ -0,0 +1,5 @@ +#import "RNSVGFilterPrimitiveManager.h" + +@interface RNSVGFeGaussianBlurManager : RNSVGFilterPrimitiveManager + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeMerge.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeMerge.h new file mode 100644 index 0000000..8e96088 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeMerge.h @@ -0,0 +1,7 @@ +#import "RNSVGFilterPrimitive.h" + +@interface RNSVGFeMerge : RNSVGFilterPrimitive + +@property (nonatomic, copy) NSArray *nodes; + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeMergeManager.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeMergeManager.h new file mode 100644 index 0000000..e5539b3 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeMergeManager.h @@ -0,0 +1,5 @@ +#import "RNSVGFilterPrimitiveManager.h" + +@interface RNSVGFeMergeManager : RNSVGFilterPrimitiveManager + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeOffset.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeOffset.h new file mode 100644 index 0000000..a41805d --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeOffset.h @@ -0,0 +1,9 @@ +#import "RNSVGFilterPrimitive.h" + +@interface RNSVGFeOffset : RNSVGFilterPrimitive + +@property (nonatomic, strong) NSString *in1; +@property (nonatomic, strong) RNSVGLength *dx; +@property (nonatomic, strong) RNSVGLength *dy; + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeOffsetManager.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeOffsetManager.h new file mode 100644 index 0000000..b9b9ba4 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFeOffsetManager.h @@ -0,0 +1,5 @@ +#import "RNSVGFilterPrimitiveManager.h" + +@interface RNSVGFeOffsetManager : RNSVGFilterPrimitiveManager + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFilter.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFilter.h new file mode 100644 index 0000000..b9686c3 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFilter.h @@ -0,0 +1,22 @@ +#import "RNSVGFilterRegion.h" +#import "RNSVGNode.h" + +@interface RNSVGFilter : RNSVGNode + +@property (nonatomic, strong) RNSVGLength *x; +@property (nonatomic, strong) RNSVGLength *y; +@property (nonatomic, strong) RNSVGLength *width; +@property (nonatomic, strong) RNSVGLength *height; +@property (nonatomic, assign) RNSVGUnits filterUnits; +@property (nonatomic, assign) RNSVGUnits primitiveUnits; + +- (CIImage *)applyFilter:(CIImage *)img + backgroundImg:(CIImage *)backgroundImg + renderableBounds:(CGRect)renderableBounds + canvasBounds:(CGRect)canvasBounds + ctm:(CGAffineTransform)ctm; +- (CGContext *)openContext:(CGSize)size; +- (void)endContext:(CGContext *)context; +- (CIImage *)getMaskFromRect:(CGContext *)context rect:(CGRect)rect ctm:(CGAffineTransform)ctm; + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFilterManager.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFilterManager.h new file mode 100644 index 0000000..a318cab --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFilterManager.h @@ -0,0 +1,5 @@ +#import "RNSVGNodeManager.h" + +@interface RNSVGFilterManager : RNSVGNodeManager + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFilterPrimitive.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFilterPrimitive.h new file mode 100644 index 0000000..97724a5 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFilterPrimitive.h @@ -0,0 +1,17 @@ +#import "RNSVGFilterRegion.h" +#import "RNSVGNode.h" + +@interface RNSVGFilterPrimitive : RNSVGNode + +@property (nonatomic, strong) RNSVGLength *x; +@property (nonatomic, strong) RNSVGLength *y; +@property (nonatomic, strong) RNSVGLength *width; +@property (nonatomic, strong) RNSVGLength *height; +@property (nonatomic, strong) NSString *result; + +- (CIImage *)applyFilter:(NSMutableDictionary *)results previousFilterResult:(CIImage *)previous; +- (CIImage *)applyFilter:(NSMutableDictionary *)results + previousFilterResult:(CIImage *)previous + ctm:(CGAffineTransform)ctm; + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFilterPrimitiveManager.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFilterPrimitiveManager.h new file mode 100644 index 0000000..3d1e7fa --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFilterPrimitiveManager.h @@ -0,0 +1,5 @@ +#import "RNSVGNodeManager.h" + +@interface RNSVGFilterPrimitiveManager : RNSVGNodeManager + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFilterRegion.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFilterRegion.h new file mode 100644 index 0000000..15e5552 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFilterRegion.h @@ -0,0 +1,19 @@ +#import "RNSVGNode.h" +#import "RNSVGUnits.h" + +#ifndef RNSVGFilterRegion_h +#define RNSVGFilterRegion_h + +@interface RNSVGFilterRegion : NSObject + +@property (nonatomic, strong) RNSVGLength *x; +@property (nonatomic, strong) RNSVGLength *y; +@property (nonatomic, strong) RNSVGLength *width; +@property (nonatomic, strong) RNSVGLength *height; + ++ (instancetype)regionWithX:(RNSVGLength *)x y:(RNSVGLength *)y width:(RNSVGLength *)width height:(RNSVGLength *)height; +- (CGRect)getCropRect:(RNSVGNode *)node units:(RNSVGUnits)units renderableBounds:(CGRect)renderableBounds; + +@end + +#endif /* RNSVGFilterRegion_h */ diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFontData.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFontData.h index a988ca4..2b8a5be 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFontData.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGFontData.h @@ -1,35 +1,34 @@ #import -#import -#import "RNSVGTextProperties.h" +#import "RNSVGUIKit.h" + #import "RNSVGPropHelper.h" +#import "RNSVGTextProperties.h" @interface RNSVGFontData : NSObject { -@public - CGFloat fontSize; - NSString * fontSize_; - NSString *fontFamily; - enum RNSVGFontStyle fontStyle; - NSDictionary * fontData; - enum RNSVGFontWeight fontWeight; - int absoluteFontWeight; - NSString *fontFeatureSettings; - enum RNSVGFontVariantLigatures fontVariantLigatures; - enum RNSVGTextAnchor textAnchor; - enum RNSVGTextDecoration textDecoration; - CGFloat kerning; - CGFloat wordSpacing; - CGFloat letterSpacing; - bool manualKerning; + @public + CGFloat fontSize; + NSString *fontSize_; + NSString *fontFamily; + enum RNSVGFontStyle fontStyle; + NSDictionary *fontData; + enum RNSVGFontWeight fontWeight; + int absoluteFontWeight; + NSString *fontFeatureSettings; + enum RNSVGFontVariantLigatures fontVariantLigatures; + enum RNSVGTextAnchor textAnchor; + enum RNSVGTextDecoration textDecoration; + CGFloat kerning; + CGFloat wordSpacing; + CGFloat letterSpacing; + bool manualKerning; } + (instancetype)Defaults; -+ (CGFloat)toAbsoluteWithNSString:(NSString *)string - fontSize:(CGFloat)fontSize; ++ (CGFloat)toAbsoluteWithNSString:(NSString *)string fontSize:(CGFloat)fontSize; -+ (instancetype)initWithNSDictionary:(NSDictionary *)font - parent:(RNSVGFontData *)parent; ++ (instancetype)initWithNSDictionary:(NSDictionary *)font parent:(RNSVGFontData *)parent; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGGlyphContext.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGGlyphContext.h index de49110..cccb0cc 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGGlyphContext.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGGlyphContext.h @@ -1,5 +1,5 @@ -#import #import +#import #import "RNSVGFontData.h" @class RNSVGText; @@ -10,8 +10,7 @@ - (CTFontRef)getGlyphFont; -- (instancetype)initWithWidth:(CGFloat)width - height:(CGFloat)height; +- (instancetype)initWithWidth:(CGFloat)width height:(CGFloat)height; - (RNSVGFontData *)getFont; @@ -33,17 +32,16 @@ - (void)popContext; -- (void)pushContext:(RNSVGText*)node - font:(NSDictionary*)font - x:(NSArray*)x - y:(NSArray*)y - deltaX:(NSArray*)deltaX - deltaY:(NSArray*)deltaY - rotate:(NSArray*)rotate; +- (void)pushContext:(RNSVGText *)node + font:(NSDictionary *)font + x:(NSArray *)x + y:(NSArray *)y + deltaX:(NSArray *)deltaX + deltaY:(NSArray *)deltaY + rotate:(NSArray *)rotate; -- (void)pushContext:(RNSVGGroup*)node - font:(NSDictionary *)font; +- (void)pushContext:(RNSVGGroup *)node font:(NSDictionary *)font; -- (NSArray*)getFontContext; +- (NSArray *)getFontContext; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGGroup.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGGroup.h index 4402014..ad4259d 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGGroup.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGGroup.h @@ -7,12 +7,14 @@ */ #import -#import -#import "RNSVGContainer.h" + +#import "RNSVGUIKit.h" + #import "RNSVGCGFCRule.h" -#import "RNSVGSvgView.h" -#import "RNSVGPath.h" +#import "RNSVGContainer.h" #import "RNSVGGlyphContext.h" +#import "RNSVGPath.h" +#import "RNSVGSvgView.h" @interface RNSVGGroup : RNSVGPath diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGImage.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGImage.h index dc7e78d..94ed1e4 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGImage.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGImage.h @@ -9,19 +9,29 @@ #import #import +#import "RNSVGLength.h" #import "RNSVGRenderable.h" #import "RNSVGVBMOS.h" -#import "RNSVGLength.h" + +#import + +#ifdef RCT_NEW_ARCH_ENABLED +#import +#endif @interface RNSVGImage : RNSVGRenderable +#ifdef RCT_NEW_ARCH_ENABLED + +#endif @property (nonatomic, weak) RCTBridge *bridge; -@property (nonatomic, assign) id src; -@property (nonatomic, strong) RNSVGLength* x; -@property (nonatomic, strong) RNSVGLength* y; -@property (nonatomic, strong) RNSVGLength* imagewidth; -@property (nonatomic, strong) RNSVGLength* imageheight; +@property (nonatomic, assign) RCTImageSource *src; +@property (nonatomic, strong) RNSVGLength *x; +@property (nonatomic, strong) RNSVGLength *y; +@property (nonatomic, strong) RNSVGLength *imagewidth; +@property (nonatomic, strong) RNSVGLength *imageheight; @property (nonatomic, strong) NSString *align; @property (nonatomic, assign) RNSVGVBMOS meetOrSlice; +@property (nonatomic, copy) RCTDirectEventBlock onLoad; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGLength.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGLength.h index ba7fb09..af24ef9 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGLength.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGLength.h @@ -1,21 +1,21 @@ -#import +#import "RNSVGUIKit.h" #ifndef RNSVGLength_h #define RNSVGLength_h // https://www.w3.org/TR/SVG/types.html#InterfaceSVGLength typedef CF_ENUM(unsigned short, RNSVGLengthUnitType) { - SVG_LENGTHTYPE_UNKNOWN, - SVG_LENGTHTYPE_NUMBER, - SVG_LENGTHTYPE_PERCENTAGE, - SVG_LENGTHTYPE_EMS, - SVG_LENGTHTYPE_EXS, - SVG_LENGTHTYPE_PX, - SVG_LENGTHTYPE_CM, - SVG_LENGTHTYPE_MM, - SVG_LENGTHTYPE_IN, - SVG_LENGTHTYPE_PT, - SVG_LENGTHTYPE_PC, + SVG_LENGTHTYPE_UNKNOWN, + SVG_LENGTHTYPE_NUMBER, + SVG_LENGTHTYPE_PERCENTAGE, + SVG_LENGTHTYPE_EMS, + SVG_LENGTHTYPE_EXS, + SVG_LENGTHTYPE_PX, + SVG_LENGTHTYPE_CM, + SVG_LENGTHTYPE_MM, + SVG_LENGTHTYPE_IN, + SVG_LENGTHTYPE_PT, + SVG_LENGTHTYPE_PC, }; @interface RNSVGLength : NSObject @@ -23,9 +23,9 @@ typedef CF_ENUM(unsigned short, RNSVGLengthUnitType) { @property (nonatomic, assign) CGFloat value; @property (nonatomic, assign) RNSVGLengthUnitType unit; -+ (instancetype) lengthWithNumber: (CGFloat) number; -+ (instancetype) lengthWithString: (NSString *) lengthString; -- (BOOL) isEqualTo: (RNSVGLength *)other; ++ (instancetype)lengthWithNumber:(CGFloat)number; ++ (instancetype)lengthWithString:(NSString *)lengthString; +- (BOOL)isEqualTo:(RNSVGLength *)other; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGLine.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGLine.h index 1183902..cd648f2 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGLine.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGLine.h @@ -11,8 +11,8 @@ #import "RNSVGPath.h" @interface RNSVGLine : RNSVGRenderable -@property (nonatomic, strong) RNSVGLength* x1; -@property (nonatomic, strong) RNSVGLength* y1; -@property (nonatomic, strong) RNSVGLength* x2; -@property (nonatomic, strong) RNSVGLength* y2; +@property (nonatomic, strong) RNSVGLength *x1; +@property (nonatomic, strong) RNSVGLength *y1; +@property (nonatomic, strong) RNSVGLength *x2; +@property (nonatomic, strong) RNSVGLength *y2; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGLinearGradient.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGLinearGradient.h index 30e577a..870b1c7 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGLinearGradient.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGLinearGradient.h @@ -6,8 +6,8 @@ * LICENSE file in the root directory of this source tree. */ -#import "RNSVGNode.h" #import "RNSVGLength.h" +#import "RNSVGNode.h" @interface RNSVGLinearGradient : RNSVGNode diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMarker.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMarker.h index a0744b9..f98e92a 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMarker.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMarker.h @@ -19,6 +19,9 @@ @property (nonatomic, strong) NSString *align; @property (nonatomic, assign) RNSVGVBMOS meetOrSlice; -- (void)renderMarker:(CGContextRef)context rect:(CGRect)rect position:(RNSVGMarkerPosition*)position strokeWidth:(CGFloat)strokeWidth; +- (void)renderMarker:(CGContextRef)context + rect:(CGRect)rect + position:(RNSVGMarkerPosition *)position + strokeWidth:(CGFloat)strokeWidth; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMarkerPosition.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMarkerPosition.h index bf7b3c0..831fcfb 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMarkerPosition.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMarkerPosition.h @@ -1,12 +1,8 @@ - -#import #import -typedef enum RNSVGMarkerType { - kStartMarker, - kMidMarker, - kEndMarker -} RNSVGMarkerType; +#import "RNSVGUIKit.h" + +typedef enum RNSVGMarkerType { kStartMarker, kMidMarker, kEndMarker } RNSVGMarkerType; #define RNSVGZEROPOINT CGRectZero.origin @@ -18,8 +14,8 @@ typedef enum RNSVGMarkerType { @property (nonatomic, assign) float angle; // Instance creation -+ (instancetype) markerPosition:(RNSVGMarkerType)type origin:(CGPoint)origin angle:(float)angle; ++ (instancetype)markerPosition:(RNSVGMarkerType)type origin:(CGPoint)origin angle:(float)angle; -+ (NSArray*) fromCGPath:(CGPathRef)path; ++ (NSArray *)fromCGPath:(CGPathRef)path; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMask.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMask.h index a710c76..04d71db 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMask.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMask.h @@ -10,6 +10,6 @@ @property (nonatomic, strong) RNSVGLength *maskheight; @property (nonatomic, assign) RNSVGUnits maskUnits; @property (nonatomic, assign) RNSVGUnits maskContentUnits; -@property (nonatomic, assign) CGAffineTransform maskTransform; +@property (nonatomic, assign) RNSVGMaskType maskType; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMaskType.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMaskType.h new file mode 100644 index 0000000..c4bdac7 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMaskType.h @@ -0,0 +1,4 @@ +typedef CF_ENUM(int32_t, RNSVGMaskType) { + kRNSVGMaskTypeLuminance, + kRNSVGMaskTypeAlpha +}; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGNode.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGNode.h index 81513b3..5c2f40a 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGNode.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGNode.h @@ -6,19 +6,20 @@ * LICENSE file in the root directory of this source tree. */ -#import -#import #import "RNSVGCGFCRule.h" #import "RNSVGSvgView.h" + +#import +#import + @class RNSVGGroup; /** - * RNSVG nodes are implemented as base UIViews. They should be implementation for all basic + * RNSVG nodes are implemented as base NSViews/UIViews. They should be implementation for all basic *interfaces for all non-definition nodes. */ -@interface RNSVGNode : UIView - +@interface RNSVGNode : RNSVGView /* N[1/Sqrt[2], 36] The inverse of the square root of 2. @@ -36,6 +37,7 @@ extern CGFloat const RNSVG_DEFAULT_FONT_SIZE; @property (nonatomic, strong) NSString *markerStart; @property (nonatomic, strong) NSString *markerMid; @property (nonatomic, strong) NSString *markerEnd; +@property (nonatomic, strong) RNSVGPlatformView *parentComponentView; /** * Used to control how touch events are processed. @@ -63,7 +65,6 @@ extern CGFloat const RNSVG_DEFAULT_FONT_SIZE; @property (nonatomic, assign) CGRect markerBounds; @property (nonatomic, copy) RCTDirectEventBlock onLayout; - /** * RNSVGSvgView which ownes current RNSVGNode */ @@ -101,7 +102,7 @@ extern CGFloat const RNSVG_DEFAULT_FONT_SIZE; /** * getPath will return the path inside node as a ClipPath. */ -- (CGPathRef)getPath:(CGContextRef) context; +- (CGPathRef)getPath:(CGContextRef)context; - (CGFloat)relativeOnWidthString:(NSString *)length; @@ -111,6 +112,8 @@ extern CGFloat const RNSVG_DEFAULT_FONT_SIZE; - (CGFloat)relativeOn:(RNSVGLength *)length relative:(CGFloat)relative; +- (CGFloat)relativeOnFraction:(RNSVGLength *)length relative:(CGFloat)relative; + - (CGFloat)relativeOnWidth:(RNSVGLength *)length; - (CGFloat)relativeOnHeight:(RNSVGLength *)length; @@ -132,7 +135,7 @@ extern CGFloat const RNSVG_DEFAULT_FONT_SIZE; - (void)endTransparencyLayer:(CGContextRef)context; -- (void)traverseSubviews:(BOOL (^)(__kindof UIView *node))block; +- (void)traverseSubviews:(BOOL (^)(__kindof RNSVGView *node))block; - (void)clearChildCache; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGNodeManager.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGNodeManager.h index 2075bf6..42be52c 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGNodeManager.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGNodeManager.h @@ -6,8 +6,8 @@ * LICENSE file in the root directory of this source tree. */ -#import "RNSVGNode.h" #import +#import "RNSVGNode.h" @interface RNSVGNodeManager : RCTViewManager diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPainter.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPainter.h index f7e7385..cd5519f 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPainter.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPainter.h @@ -8,14 +8,14 @@ #import "RCTConvert+RNSVG.h" #import "RNSVGBrushType.h" -#import "RNSVGUnits.h" #import "RNSVGLength.h" +#import "RNSVGUnits.h" @class RNSVGPattern; @interface RNSVGPainter : NSObject -@property (nonatomic, assign) RNSVGPattern* pattern; +@property (nonatomic, assign) RNSVGPattern *pattern; @property (nonatomic, assign) CGRect paintBounds; @property (nonatomic, assign) bool useObjectBoundingBoxForContentUnits; @property (nonatomic, assign) CGRect bounds; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPathMeasure.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPathMeasure.h index 42b16fd..8e8523e 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPathMeasure.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPathMeasure.h @@ -6,7 +6,7 @@ * LICENSE file in the root directory of this source tree. */ -#import +#import "RNSVGUIKit.h" @interface RNSVGPathMeasure : NSObject diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPathParser.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPathParser.h index 5ea68b8..c7a67a4 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPathParser.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPathParser.h @@ -6,12 +6,11 @@ * LICENSE file in the root directory of this source tree. */ - -#import +#import "RNSVGUIKit.h" @interface RNSVGPathParser : NSObject -- (instancetype) initWithPathString:(NSString *)d; +- (instancetype)initWithPathString:(NSString *)d; - (CGPathRef)getPath; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPropHelper.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPropHelper.h index ce89239..b33562f 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPropHelper.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGPropHelper.h @@ -7,16 +7,11 @@ @interface RNSVGPropHelper : NSObject -+ (CGFloat) fromRelativeWithNSString:(NSString *)length - relative:(CGFloat)relative - fontSize:(CGFloat)fontSize; ++ (CGFloat)fromRelativeWithNSString:(NSString *)length relative:(CGFloat)relative fontSize:(CGFloat)fontSize; -+ (CGFloat) fromRelative:(RNSVGLength*)length - relative:(CGFloat)relative - fontSize:(CGFloat)fontSize; ++ (CGFloat)fromRelative:(RNSVGLength *)length relative:(CGFloat)relative fontSize:(CGFloat)fontSize; -+ (CGFloat)fromRelative:(RNSVGLength*)length - relative:(CGFloat)relative; ++ (CGFloat)fromRelative:(RNSVGLength *)length relative:(CGFloat)relative; @end #endif diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRadialGradient.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRadialGradient.h index deb8e03..82e3ebf 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRadialGradient.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRadialGradient.h @@ -6,8 +6,8 @@ * LICENSE file in the root directory of this source tree. */ -#import "RNSVGNode.h" #import "RNSVGLength.h" +#import "RNSVGNode.h" @interface RNSVGRadialGradient : RNSVGNode diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRect.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRect.h index 04eea2c..97a47dc 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRect.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRect.h @@ -12,11 +12,11 @@ @interface RNSVGRect : RNSVGRenderable -@property (nonatomic, strong) RNSVGLength* x; -@property (nonatomic, strong) RNSVGLength* y; -@property (nonatomic, strong) RNSVGLength* rectwidth; -@property (nonatomic, strong) RNSVGLength* rectheight; -@property (nonatomic, strong) RNSVGLength* rx; -@property (nonatomic, strong) RNSVGLength* ry; +@property (nonatomic, strong) RNSVGLength *x; +@property (nonatomic, strong) RNSVGLength *y; +@property (nonatomic, strong) RNSVGLength *rectwidth; +@property (nonatomic, strong) RNSVGLength *rectheight; +@property (nonatomic, strong) RNSVGLength *rx; +@property (nonatomic, strong) RNSVGLength *ry; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRenderUtils.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRenderUtils.h new file mode 100644 index 0000000..8a4b01c --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRenderUtils.h @@ -0,0 +1,12 @@ +#import "RNSVGRenderable.h" + +@interface RNSVGRenderUtils : NSObject + ++ (CIContext *)sharedCIContext; ++ (CGFloat)getScreenScale; ++ (CGImage *)renderToImage:(RNSVGRenderable *)renderable + ctm:(CGAffineTransform)ctm + rect:(CGRect)rect + clip:(CGRect *)clip; + +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRenderable.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRenderable.h index 7ae0489..0515b4c 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRenderable.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRenderable.h @@ -8,10 +8,12 @@ #import +#import "RNSVGUIKit.h" + #import "RNSVGBrush.h" #import "RNSVGCGFCRule.h" -#import "RNSVGNode.h" #import "RNSVGLength.h" +#import "RNSVGNode.h" #import "RNSVGVectorEffect.h" @interface RNSVGRenderable : RNSVGNode @@ -31,6 +33,7 @@ @property (nonatomic, assign) RNSVGVectorEffect vectorEffect; @property (nonatomic, copy) NSArray *propList; @property (nonatomic, assign) CGPathRef hitArea; +@property (nonatomic, strong) NSString *filter; - (void)setHitArea:(CGPathRef)path; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRenderableModule.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRenderableModule.h new file mode 100644 index 0000000..478ecf6 --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGRenderableModule.h @@ -0,0 +1,21 @@ +/** + * Copyright (c) 2015-present, Horcrux. + * All rights reserved. + * + * This source code is licensed under the MIT-style license found in the + * LICENSE file in the root directory of this source tree. + */ + +#ifdef RCT_NEW_ARCH_ENABLED +#import +#else +#import +#endif + +@interface RNSVGRenderableModule : NSObject +#ifdef RCT_NEW_ARCH_ENABLED + +#else + +#endif +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGSolidColorBrush.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGSolidColorBrush.h index 6e12929..a6cccd0 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGSolidColorBrush.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGSolidColorBrush.h @@ -11,5 +11,6 @@ @interface RNSVGSolidColorBrush : RNSVGBrush - (instancetype)initWithNumber:(NSNumber *)number; +- (instancetype)initWithColor:(RNSVGColor *)color; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGSvgView.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGSvgView.h index 6510e1b..760c1f0 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGSvgView.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGSvgView.h @@ -6,14 +6,18 @@ * LICENSE file in the root directory of this source tree. */ -#import -#import "RNSVGPainter.h" +#import "RNSVGUIKit.h" + #import "RNSVGContainer.h" +#import "RNSVGPainter.h" #import "RNSVGVBMOS.h" @class RNSVGNode; +@class RNSVGMarker; +@class RNSVGMask; +@class RNSVGFilter; -@interface RNSVGSvgView : UIView +@interface RNSVGSvgView : RNSVGView @property (nonatomic, strong) RNSVGLength *bbWidth; @property (nonatomic, strong) RNSVGLength *bbHeight; @@ -29,8 +33,7 @@ @property (nonatomic, assign) CGAffineTransform initialCTM; @property (nonatomic, assign) CGAffineTransform invInitialCTM; @property (nonatomic, assign) CGAffineTransform viewBoxTransform; - - +@property (nonatomic, assign) UIEdgeInsets hitTestEdgeInsets; /** * define content as clipPath template. @@ -39,7 +42,7 @@ - (RNSVGNode *)getDefinedClipPath:(NSString *)clipPathName; -- (void)defineTemplate:(__kindof RNSVGNode *)template templateName:(NSString *)templateName; +- (void)defineTemplate:(__kindof RNSVGNode *)definedTemplate templateName:(NSString *)templateName; - (RNSVGNode *)getDefinedTemplate:(NSString *)templateName; @@ -47,17 +50,19 @@ - (RNSVGPainter *)getDefinedPainter:(NSString *)painterName; -- (void)defineMarker:(RNSVGNode *)marker markerName:(NSString *)markerName; +- (void)defineMarker:(RNSVGMarker *)marker markerName:(NSString *)markerName; -- (RNSVGNode *)getDefinedMarker:(NSString *)markerName; +- (RNSVGMarker *)getDefinedMarker:(NSString *)markerName; -- (void)defineMask:(RNSVGNode *)mask maskName:(NSString *)maskName; +- (void)defineMask:(RNSVGMask *)mask maskName:(NSString *)maskName; -- (RNSVGNode *)getDefinedMask:(NSString *)maskName; +- (RNSVGMask *)getDefinedMask:(NSString *)maskName; -- (NSString *)getDataURL; +- (void)defineFilter:(RNSVGFilter *)filter filterName:(NSString *)filterName; -- (NSString *)getDataURLwithBounds:(CGRect)bounds; +- (RNSVGFilter *)getDefinedFilter:(NSString *)filterName; + +- (NSString *)getDataURLWithBounds:(CGRect)bounds; - (CGRect)getContextBounds; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGSvgViewModule.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGSvgViewModule.h new file mode 100644 index 0000000..85b2f0f --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGSvgViewModule.h @@ -0,0 +1,21 @@ +/** + * Copyright (c) 2015-present, Horcrux. + * All rights reserved. + * + * This source code is licensed under the MIT-style license found in the + * LICENSE file in the root directory of this source tree. + */ + +#ifdef RCT_NEW_ARCH_ENABLED +#import +#else +#import +#endif + +@interface RNSVGSvgViewModule : NSObject +#ifdef RCT_NEW_ARCH_ENABLED + +#else + +#endif +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGSymbolManager.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGSymbolManager.h index 6001344..0123f18 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGSymbolManager.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGSymbolManager.h @@ -6,8 +6,8 @@ * LICENSE file in the root directory of this source tree. */ -#import "RNSVGNodeManager.h" +#import "RNSVGGroupManager.h" -@interface RNSVGSymbolManager : RNSVGNodeManager +@interface RNSVGSymbolManager : RNSVGGroupManager @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTSpan.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTSpan.h index 9b7509f..eb1d6b4 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTSpan.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTSpan.h @@ -5,9 +5,12 @@ * This source code is licensed under the MIT-style license found in the * LICENSE file in the root directory of this source tree. */ -#import -#import + #import +#import + +#import "RNSVGUIKit.h" + #import "RNSVGText.h" @interface RNSVGTSpan : RNSVGText diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGText.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGText.h index 71ec946..be4fca7 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGText.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGText.h @@ -25,6 +25,6 @@ - (CGPathRef)getGroupPath:(CGContextRef)context; - (CTFontRef)getFontFromContext; - (CGFloat)getSubtreeTextChunksTotalAdvance; -- (RNSVGText*)getTextAnchorRoot; +- (RNSVGText *)getTextAnchorRoot; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTextPath.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTextPath.h index 820f575..ada5e60 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTextPath.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTextPath.h @@ -6,10 +6,10 @@ * LICENSE file in the root directory of this source tree. */ -#import #import -#import "RNSVGText.h" +#import #import "RNSVGLength.h" +#import "RNSVGText.h" @interface RNSVGTextPath : RNSVGText diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTextPathManager.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTextPathManager.h index 165db27..0712445 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTextPathManager.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTextPathManager.h @@ -8,6 +8,6 @@ #import "RNSVGTextManager.h" -@interface RNSVGTextPathManager : RNSVGRenderableManager +@interface RNSVGTextPathManager : RNSVGTextManager @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTextProperties.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTextProperties.h index 527ce3f..c78bd36 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTextProperties.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTextProperties.h @@ -4,107 +4,101 @@ #define RNTextProperties_h typedef NS_ENUM(NSInteger, RNSVGAlignmentBaseline) { - RNSVGAlignmentBaselineBaseline, - RNSVGAlignmentBaselineTextBottom, - RNSVGAlignmentBaselineAlphabetic, - RNSVGAlignmentBaselineIdeographic, - RNSVGAlignmentBaselineMiddle, - RNSVGAlignmentBaselineCentral, - RNSVGAlignmentBaselineMathematical, - RNSVGAlignmentBaselineTextTop, - RNSVGAlignmentBaselineBottom, - RNSVGAlignmentBaselineCenter, - RNSVGAlignmentBaselineTop, - /* - SVG implementations may support the following aliases in order to support legacy content: - - text-before-edge = text-top - text-after-edge = text-bottom - */ - RNSVGAlignmentBaselineTextBeforeEdge, - RNSVGAlignmentBaselineTextAfterEdge, - // SVG 1.1 - RNSVGAlignmentBaselineBeforeEdge, - RNSVGAlignmentBaselineAfterEdge, - RNSVGAlignmentBaselineHanging, - RNSVGAlignmentBaselineDEFAULT = RNSVGAlignmentBaselineBaseline + RNSVGAlignmentBaselineBaseline, + RNSVGAlignmentBaselineTextBottom, + RNSVGAlignmentBaselineAlphabetic, + RNSVGAlignmentBaselineIdeographic, + RNSVGAlignmentBaselineMiddle, + RNSVGAlignmentBaselineCentral, + RNSVGAlignmentBaselineMathematical, + RNSVGAlignmentBaselineTextTop, + RNSVGAlignmentBaselineBottom, + RNSVGAlignmentBaselineCenter, + RNSVGAlignmentBaselineTop, + /* + SVG implementations may support the following aliases in order to support legacy content: + + text-before-edge = text-top + text-after-edge = text-bottom + */ + RNSVGAlignmentBaselineTextBeforeEdge, + RNSVGAlignmentBaselineTextAfterEdge, + // SVG 1.1 + RNSVGAlignmentBaselineBeforeEdge, + RNSVGAlignmentBaselineAfterEdge, + RNSVGAlignmentBaselineHanging, + RNSVGAlignmentBaselineDEFAULT = RNSVGAlignmentBaselineBaseline }; -static NSString* const RNSVGAlignmentBaselineStrings[] = { - @"baseline", - @"text-bottom", - @"alphabetic", - @"ideographic", - @"middle", - @"central", - @"mathematical", - @"text-top", - @"bottom", - @"center", - @"top", - @"text-before-edge", - @"text-after-edge", - @"before-edge", - @"after-edge", - @"hanging", - @"central", - @"mathematical", - @"text-top", - @"bottom", - @"center", - @"top", - nil -}; +static NSString *const RNSVGAlignmentBaselineStrings[] = { + @"baseline", @"text-bottom", @"alphabetic", @"ideographic", @"middle", @"central", + @"mathematical", @"text-top", @"bottom", @"center", @"top", @"text-before-edge", + @"text-after-edge", @"before-edge", @"after-edge", @"hanging", @"central", @"mathematical", + @"text-top", @"bottom", @"center", @"top", nil}; -NSString* RNSVGAlignmentBaselineToString( enum RNSVGAlignmentBaseline fw ); +NSString *RNSVGAlignmentBaselineToString(enum RNSVGAlignmentBaseline fw); -enum RNSVGAlignmentBaseline RNSVGAlignmentBaselineFromString( NSString* s ); +enum RNSVGAlignmentBaseline RNSVGAlignmentBaselineFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGFontStyle) { - RNSVGFontStyleNormal, - RNSVGFontStyleItalic, - RNSVGFontStyleOblique, - RNSVGFontStyleDEFAULT = RNSVGFontStyleNormal, + RNSVGFontStyleNormal, + RNSVGFontStyleItalic, + RNSVGFontStyleOblique, + RNSVGFontStyleDEFAULT = RNSVGFontStyleNormal, }; -static NSString* const RNSVGFontStyleStrings[] = {@"normal", @"italic", @"oblique", nil}; +static NSString *const RNSVGFontStyleStrings[] = {@"normal", @"italic", @"oblique", nil}; -NSString* RNSVGFontStyleToString( enum RNSVGFontStyle fw ); +NSString *RNSVGFontStyleToString(enum RNSVGFontStyle fw); -enum RNSVGFontStyle RNSVGFontStyleFromString( NSString* s ); +enum RNSVGFontStyle RNSVGFontStyleFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGFontVariantLigatures) { - RNSVGFontVariantLigaturesNormal, - RNSVGFontVariantLigaturesNone, - RNSVGFontVariantLigaturesDEFAULT = RNSVGFontVariantLigaturesNormal, + RNSVGFontVariantLigaturesNormal, + RNSVGFontVariantLigaturesNone, + RNSVGFontVariantLigaturesDEFAULT = RNSVGFontVariantLigaturesNormal, }; -static NSString* const RNSVGFontVariantLigaturesStrings[] = {@"normal", @"none", nil}; +static NSString *const RNSVGFontVariantLigaturesStrings[] = {@"normal", @"none", nil}; -NSString* RNSVGFontVariantLigaturesToString( enum RNSVGFontVariantLigatures fw ); +NSString *RNSVGFontVariantLigaturesToString(enum RNSVGFontVariantLigatures fw); -enum RNSVGFontVariantLigatures RNSVGFontVariantLigaturesFromString( NSString* s ); +enum RNSVGFontVariantLigatures RNSVGFontVariantLigaturesFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGFontWeight) { - // Absolute - RNSVGFontWeightNormal, - RNSVGFontWeightBold, - RNSVGFontWeight100, - RNSVGFontWeight200, - RNSVGFontWeight300, - RNSVGFontWeight400, - RNSVGFontWeight500, - RNSVGFontWeight600, - RNSVGFontWeight700, - RNSVGFontWeight800, - RNSVGFontWeight900, - // Relative - RNSVGFontWeightBolder, - RNSVGFontWeightLighter, - RNSVGFontWeightDEFAULT = RNSVGFontWeightNormal, + // Absolute + RNSVGFontWeightNormal, + RNSVGFontWeightBold, + RNSVGFontWeight100, + RNSVGFontWeight200, + RNSVGFontWeight300, + RNSVGFontWeight400, + RNSVGFontWeight500, + RNSVGFontWeight600, + RNSVGFontWeight700, + RNSVGFontWeight800, + RNSVGFontWeight900, + // Relative + RNSVGFontWeightBolder, + RNSVGFontWeightLighter, + RNSVGFontWeightDEFAULT = RNSVGFontWeightNormal, }; -static NSString* const RNSVGFontWeightStrings[] = {@"normal", @"bold", @"100", @"200", @"300", @"400", @"500", @"600", @"700", @"800", @"900", @"bolder", @"lighter", nil}; +static NSString *const RNSVGFontWeightStrings[] = { + @"normal", + @"bold", + @"100", + @"200", + @"300", + @"400", + @"500", + @"600", + @"700", + @"800", + @"900", + @"bolder", + @"lighter", + nil}; static int const RNSVGAbsoluteFontWeights[] = {400, 700, 100, 200, 300, 400, 500, 600, 700, 800, 900}; @@ -119,99 +113,99 @@ static RNSVGFontWeight const RNSVGFontWeights[] = { RNSVGFontWeightBold, RNSVGFontWeight800, RNSVGFontWeight900, - RNSVGFontWeight900 -}; + RNSVGFontWeight900}; -NSString* RNSVGFontWeightToString( enum RNSVGFontWeight fw ); +NSString *RNSVGFontWeightToString(enum RNSVGFontWeight fw); -enum RNSVGFontWeight RNSVGFontWeightFromString( NSString* s ); +NSInteger RNSVGFontWeightFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGTextAnchor) { - RNSVGTextAnchorStart, - RNSVGTextAnchorMiddle, - RNSVGTextAnchorEnd, - RNSVGTextAnchorDEFAULT = RNSVGTextAnchorStart, + RNSVGTextAnchorStart, + RNSVGTextAnchorMiddle, + RNSVGTextAnchorEnd, + RNSVGTextAnchorDEFAULT = RNSVGTextAnchorStart, }; -static NSString* const RNSVGTextAnchorStrings[] = {@"start", @"middle", @"end", nil}; +static NSString *const RNSVGTextAnchorStrings[] = {@"start", @"middle", @"end", nil}; -NSString* RNSVGTextAnchorToString( enum RNSVGTextAnchor fw ); +NSString *RNSVGTextAnchorToString(enum RNSVGTextAnchor fw); -enum RNSVGTextAnchor RNSVGTextAnchorFromString( NSString* s ); +enum RNSVGTextAnchor RNSVGTextAnchorFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGTextDecoration) { - RNSVGTextDecorationNone, - RNSVGTextDecorationUnderline, - RNSVGTextDecorationOverline, - RNSVGTextDecorationLineThrough, - RNSVGTextDecorationBlink, - RNSVGTextDecorationDEFAULT = RNSVGTextDecorationNone, + RNSVGTextDecorationNone, + RNSVGTextDecorationUnderline, + RNSVGTextDecorationOverline, + RNSVGTextDecorationLineThrough, + RNSVGTextDecorationBlink, + RNSVGTextDecorationDEFAULT = RNSVGTextDecorationNone, }; -static NSString* const RNSVGTextDecorationStrings[] = {@"None", @"Underline", @"Overline", @"LineThrough", @"Blink", nil}; +static NSString *const RNSVGTextDecorationStrings[] = + {@"None", @"Underline", @"Overline", @"LineThrough", @"Blink", nil}; -NSString* RNSVGTextDecorationToString( enum RNSVGTextDecoration fw ); +NSString *RNSVGTextDecorationToString(enum RNSVGTextDecoration fw); -enum RNSVGTextDecoration RNSVGTextDecorationFromString( NSString* s ); +enum RNSVGTextDecoration RNSVGTextDecorationFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGTextLengthAdjust) { - RNSVGTextLengthAdjustSpacing, - RNSVGTextLengthAdjustSpacingAndGlyphs, - RNSVGTextLengthAdjustDEFAULT = RNSVGTextLengthAdjustSpacing, + RNSVGTextLengthAdjustSpacing, + RNSVGTextLengthAdjustSpacingAndGlyphs, + RNSVGTextLengthAdjustDEFAULT = RNSVGTextLengthAdjustSpacing, }; -static NSString* const RNSVGTextLengthAdjustStrings[] = {@"spacing", @"spacingAndGlyphs", nil}; +static NSString *const RNSVGTextLengthAdjustStrings[] = {@"spacing", @"spacingAndGlyphs", nil}; -NSString* RNSVGTextLengthAdjustToString( enum RNSVGTextLengthAdjust fw ); +NSString *RNSVGTextLengthAdjustToString(enum RNSVGTextLengthAdjust fw); -enum RNSVGTextLengthAdjust RNSVGTextLengthAdjustFromString( NSString* s ); +enum RNSVGTextLengthAdjust RNSVGTextLengthAdjustFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGTextPathMethod) { - RNSVGTextPathMethodAlign, - RNSVGTextPathMethodStretch, - RNSVGTextPathMethodDEFAULT = RNSVGTextPathMethodAlign, + RNSVGTextPathMethodAlign, + RNSVGTextPathMethodStretch, + RNSVGTextPathMethodDEFAULT = RNSVGTextPathMethodAlign, }; -static NSString* const RNSVGTextPathMethodStrings[] = {@"align", @"stretch", nil}; +static NSString *const RNSVGTextPathMethodStrings[] = {@"align", @"stretch", nil}; -NSString* RNSVGTextPathMethodToString( enum RNSVGTextPathMethod fw ); +NSString *RNSVGTextPathMethodToString(enum RNSVGTextPathMethod fw); -enum RNSVGTextPathMethod RNSVGTextPathMethodFromString( NSString* s ); +enum RNSVGTextPathMethod RNSVGTextPathMethodFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGTextPathMidLine) { - RNSVGTextPathMidLineSharp, - RNSVGTextPathMidLineSmooth, - RNSVGTextPathMidLineDEFAULT = RNSVGTextPathMidLineSharp, + RNSVGTextPathMidLineSharp, + RNSVGTextPathMidLineSmooth, + RNSVGTextPathMidLineDEFAULT = RNSVGTextPathMidLineSharp, }; -static NSString* const RNSVGTextPathMidLineStrings[] = {@"sharp", @"smooth", nil}; +static NSString *const RNSVGTextPathMidLineStrings[] = {@"sharp", @"smooth", nil}; -NSString* RNSVGTextPathMidLineToString( enum RNSVGTextPathMidLine fw ); +NSString *RNSVGTextPathMidLineToString(enum RNSVGTextPathMidLine fw); -enum RNSVGTextPathMidLine RNSVGTextPathMidLineFromString( NSString* s ); +enum RNSVGTextPathMidLine RNSVGTextPathMidLineFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGTextPathSide) { - RNSVGTextPathSideLeft, - RNSVGTextPathSideRight, - RNSVGTextPathSideDEFAULT = RNSVGTextPathSideLeft, + RNSVGTextPathSideLeft, + RNSVGTextPathSideRight, + RNSVGTextPathSideDEFAULT = RNSVGTextPathSideLeft, }; -static NSString* const RNSVGTextPathSideStrings[] = {@"left", @"right", nil}; +static NSString *const RNSVGTextPathSideStrings[] = {@"left", @"right", nil}; -NSString* RNSVGTextPathSideToString( enum RNSVGTextPathSide fw ); +NSString *RNSVGTextPathSideToString(enum RNSVGTextPathSide fw); -enum RNSVGTextPathSide RNSVGTextPathSideFromString( NSString* s ); +enum RNSVGTextPathSide RNSVGTextPathSideFromString(NSString *s); typedef NS_ENUM(NSInteger, RNSVGTextPathSpacing) { - RNSVGTextPathSpacingAutoSpacing, - RNSVGTextPathSpacingExact, - RNSVGTextPathSpacingDEFAULT = RNSVGTextPathSpacingAutoSpacing, + RNSVGTextPathSpacingAutoSpacing, + RNSVGTextPathSpacingExact, + RNSVGTextPathSpacingDEFAULT = RNSVGTextPathSpacingAutoSpacing, }; -static NSString* const RNSVGTextPathSpacingStrings[] = {@"auto", @"exact", nil}; +static NSString *const RNSVGTextPathSpacingStrings[] = {@"auto", @"exact", nil}; -NSString* RNSVGTextPathSpacingToString( enum RNSVGTextPathSpacing fw ); +NSString *RNSVGTextPathSpacingToString(enum RNSVGTextPathSpacing fw); -enum RNSVGTextPathSpacing RNSVGTextPathSpacingFromString( NSString* s ); +enum RNSVGTextPathSpacing RNSVGTextPathSpacingFromString(NSString *s); #endif diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTopAlignedLabel.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTopAlignedLabel.h new file mode 100644 index 0000000..d356d0f --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGTopAlignedLabel.h @@ -0,0 +1,14 @@ +#if TARGET_OS_OSX +#import +@interface RNSVGTopAlignedLabel : NSTextView + +@property NSAttributedString *attributedText; +@property NSLineBreakMode lineBreakMode; +@property NSInteger numberOfLines; +@property NSString *text; +@property NSTextAlignment textAlignment; +#else +#import +@interface RNSVGTopAlignedLabel : UILabel +#endif +@end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGUIKit.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGUIKit.h new file mode 100644 index 0000000..073e99b --- /dev/null +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGUIKit.h @@ -0,0 +1,70 @@ +// Most (if not all) of this file could probably go away once react-native-macos's version of RCTUIKit.h makes its way +// upstream. https://github.com/microsoft/react-native-macos/issues/242 +#ifdef RCT_NEW_ARCH_ENABLED +#import +#endif // RCT_NEW_ARCH_ENABLED + +#if !TARGET_OS_OSX + +#import + +#define RNSVGColor UIColor +#define RNSVGPlatformView UIView +#define RNSVGTextView UILabel +#ifdef RCT_NEW_ARCH_ENABLED +#define RNSVGView RCTViewComponentView +#else +#define RNSVGView UIView +#endif // RCT_NEW_ARCH_ENABLED + +#else // TARGET_OS_OSX [ + +// Due to name mangling, calling c-style functions from .mm files will fail, therefore we need to wrap them with extern +// "C" so they are handled correctly. We also need to have imports positioned in a correct way, so that this extern "C" +// wrapper is used before the functions from RCTUIKit are used. +#ifdef __cplusplus +extern "C" { +#endif + +#import + +#ifdef __cplusplus +} +#endif + +#define RNSVGColor NSColor +#define RNSVGPlatformView NSView +#define RNSVGTextView NSTextView + +@interface RNSVGColor (CGColor) +- (NSColor *)CGColor; +@end + +@interface RNSVGView : +#ifdef RCT_NEW_ARCH_ENABLED + RCTViewComponentView +#else + RCTUIView +#endif // RCT_NEW_ARCH_ENABLED + +@property CGPoint center; +@property (nonatomic, strong) RNSVGColor *tintColor; + +@end + +// TODO: These could probably be a part of react-native-macos +// See https://github.com/microsoft/react-native-macos/issues/658 and +// https://github.com/microsoft/react-native-macos/issues/659 +@interface NSImage (RNSVGMacOSExtensions) +@property (readonly) CGImageRef CGImage; +@end + +@interface NSValue (RNSVGMacOSExtensions) ++ (NSValue *)valueWithCGAffineTransform:(CGAffineTransform)transform; ++ (NSValue *)valueWithCGPoint:(CGPoint)point; + +@property (readonly) CGAffineTransform CGAffineTransformValue; +@property (readonly) CGPoint CGPointValue; +@end + +#endif // ] TARGET_OS_OSX diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGUnits.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGUnits.h index 0592bc5..d524ea0 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGUnits.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGUnits.h @@ -7,6 +7,6 @@ */ typedef CF_ENUM(int32_t, RNSVGUnits) { - kRNSVGUnitsObjectBoundingBox, - kRNSVGUnitsUserSpaceOnUse + kRNSVGUnitsObjectBoundingBox, + kRNSVGUnitsUserSpaceOnUse }; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGUse.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGUse.h index 6d0f3dd..7c89bbc 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGUse.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGUse.h @@ -6,8 +6,8 @@ * LICENSE file in the root directory of this source tree. */ -#import "RNSVGRenderable.h" #import "RNSVGLength.h" +#import "RNSVGRenderable.h" /** * RNSVG defination are implemented as abstract UIViews for all elements inside Defs. diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGVBMOS.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGVBMOS.h index 24c404a..0372596 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGVBMOS.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGVBMOS.h @@ -7,7 +7,7 @@ */ typedef CF_ENUM(int32_t, RNSVGVBMOS) { - kRNSVGVBMOSMeet, - kRNSVGVBMOSSlice, - kRNSVGVBMOSNone + kRNSVGVBMOSMeet, + kRNSVGVBMOSSlice, + kRNSVGVBMOSNone }; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGVectorEffect.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGVectorEffect.h index 0ab1703..3dee2ad 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGVectorEffect.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGVectorEffect.h @@ -7,8 +7,8 @@ */ typedef CF_ENUM(int32_t, RNSVGVectorEffect) { - kRNSVGVectorEffectDefault, - kRNSVGVectorEffectNonScalingStroke, - kRNSVGVectorEffectInherit, - kRNSVGVectorEffectUri + kRNSVGVectorEffectDefault, + kRNSVGVectorEffectNonScalingStroke, + kRNSVGVectorEffectInherit, + kRNSVGVectorEffectUri }; diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGViewBox.h b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGViewBox.h index 746ae79..d7defd7 100644 --- a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGViewBox.h +++ b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGViewBox.h @@ -6,11 +6,15 @@ * LICENSE file in the root directory of this source tree. */ -#import +#import "RNSVGUIKit.h" + #import "RNSVGVBMOS.h" @interface RNSVGViewBox : NSObject -+ (CGAffineTransform)getTransform:(CGRect)vbRect eRect:(CGRect)eRect align:(NSString *)align meetOrSlice:(RNSVGVBMOS)meetOrSlice; ++ (CGAffineTransform)getTransform:(CGRect)vbRect + eRect:(CGRect)eRect + align:(NSString *)align + meetOrSlice:(RNSVGVBMOS)meetOrSlice; @end diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/libRNSVG.a b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/libRNSVG.a index 5f66018..1b948da 100644 Binary files a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/libRNSVG.a and b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/libRNSVG.a differ diff --git a/Frameworks/RNScreens.xcframework/ios-arm64/libRNScreens.a b/Frameworks/RNScreens.xcframework/ios-arm64/libRNScreens.a index 3ef80ff..0b5276d 100644 Binary files a/Frameworks/RNScreens.xcframework/ios-arm64/libRNScreens.a and b/Frameworks/RNScreens.xcframework/ios-arm64/libRNScreens.a differ diff --git a/Frameworks/RNScreens.xcframework/ios-arm64_x86_64-simulator/libRNScreens.a b/Frameworks/RNScreens.xcframework/ios-arm64_x86_64-simulator/libRNScreens.a index ebcccf1..833f9b3 100644 Binary files a/Frameworks/RNScreens.xcframework/ios-arm64_x86_64-simulator/libRNScreens.a and b/Frameworks/RNScreens.xcframework/ios-arm64_x86_64-simulator/libRNScreens.a differ diff --git a/Frameworks/RNShare.xcframework/ios-arm64/libRNShare.a b/Frameworks/RNShare.xcframework/ios-arm64/libRNShare.a index 3bfb50e..9a4f717 100644 Binary files a/Frameworks/RNShare.xcframework/ios-arm64/libRNShare.a and b/Frameworks/RNShare.xcframework/ios-arm64/libRNShare.a differ diff --git a/Frameworks/RNShare.xcframework/ios-arm64_x86_64-simulator/libRNShare.a b/Frameworks/RNShare.xcframework/ios-arm64_x86_64-simulator/libRNShare.a index 3452681..ee1fd40 100644 Binary files a/Frameworks/RNShare.xcframework/ios-arm64_x86_64-simulator/libRNShare.a and b/Frameworks/RNShare.xcframework/ios-arm64_x86_64-simulator/libRNShare.a differ diff --git a/Frameworks/RNTextSize.xcframework/Info.plist b/Frameworks/RNTextSize.xcframework/Info.plist index 413fc65..a90e812 100644 --- a/Frameworks/RNTextSize.xcframework/Info.plist +++ b/Frameworks/RNTextSize.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libRNTextSize.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libRNTextSize.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libRNTextSize.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libRNTextSize.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libRNTextSize.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/RNTextSize.xcframework/ios-arm64/libRNTextSize.a b/Frameworks/RNTextSize.xcframework/ios-arm64/libRNTextSize.a index 5b20d7c..7a43f96 100644 Binary files a/Frameworks/RNTextSize.xcframework/ios-arm64/libRNTextSize.a and b/Frameworks/RNTextSize.xcframework/ios-arm64/libRNTextSize.a differ diff --git a/Frameworks/RNTextSize.xcframework/ios-arm64_x86_64-simulator/libRNTextSize.a b/Frameworks/RNTextSize.xcframework/ios-arm64_x86_64-simulator/libRNTextSize.a index 64befda..13a0b2f 100644 Binary files a/Frameworks/RNTextSize.xcframework/ios-arm64_x86_64-simulator/libRNTextSize.a and b/Frameworks/RNTextSize.xcframework/ios-arm64_x86_64-simulator/libRNTextSize.a differ diff --git a/Frameworks/RNVectorIcons.xcframework/ios-arm64/libRNVectorIcons.a b/Frameworks/RNVectorIcons.xcframework/ios-arm64/libRNVectorIcons.a index 8261306..3e02930 100644 Binary files a/Frameworks/RNVectorIcons.xcframework/ios-arm64/libRNVectorIcons.a and b/Frameworks/RNVectorIcons.xcframework/ios-arm64/libRNVectorIcons.a differ diff --git a/Frameworks/RNVectorIcons.xcframework/ios-arm64_x86_64-simulator/libRNVectorIcons.a b/Frameworks/RNVectorIcons.xcframework/ios-arm64_x86_64-simulator/libRNVectorIcons.a index 5a635af..e4711d2 100644 Binary files a/Frameworks/RNVectorIcons.xcframework/ios-arm64_x86_64-simulator/libRNVectorIcons.a and b/Frameworks/RNVectorIcons.xcframework/ios-arm64_x86_64-simulator/libRNVectorIcons.a differ diff --git a/Frameworks/RNVolumeController.xcframework/ios-arm64/libRNVolumeController.a b/Frameworks/RNVolumeController.xcframework/ios-arm64/libRNVolumeController.a index 46d4752..0b50e4a 100644 Binary files a/Frameworks/RNVolumeController.xcframework/ios-arm64/libRNVolumeController.a and b/Frameworks/RNVolumeController.xcframework/ios-arm64/libRNVolumeController.a differ diff --git a/Frameworks/RNVolumeController.xcframework/ios-arm64_x86_64-simulator/libRNVolumeController.a b/Frameworks/RNVolumeController.xcframework/ios-arm64_x86_64-simulator/libRNVolumeController.a index 944b1c0..9755524 100644 Binary files a/Frameworks/RNVolumeController.xcframework/ios-arm64_x86_64-simulator/libRNVolumeController.a and b/Frameworks/RNVolumeController.xcframework/ios-arm64_x86_64-simulator/libRNVolumeController.a differ diff --git a/Frameworks/React-Codegen.xcframework/ios-arm64/libReact-Codegen.a b/Frameworks/React-Codegen.xcframework/ios-arm64/libReact-Codegen.a index 6c62763..1865654 100644 Binary files a/Frameworks/React-Codegen.xcframework/ios-arm64/libReact-Codegen.a and b/Frameworks/React-Codegen.xcframework/ios-arm64/libReact-Codegen.a differ diff --git a/Frameworks/React-Codegen.xcframework/ios-arm64_x86_64-simulator/libReact-Codegen.a b/Frameworks/React-Codegen.xcframework/ios-arm64_x86_64-simulator/libReact-Codegen.a index 995ad50..6ed0b02 100644 Binary files a/Frameworks/React-Codegen.xcframework/ios-arm64_x86_64-simulator/libReact-Codegen.a and b/Frameworks/React-Codegen.xcframework/ios-arm64_x86_64-simulator/libReact-Codegen.a differ diff --git a/Frameworks/React-Core.xcframework/ios-arm64/libReact-Core.a b/Frameworks/React-Core.xcframework/ios-arm64/libReact-Core.a index 221b680..f594ad4 100644 Binary files a/Frameworks/React-Core.xcframework/ios-arm64/libReact-Core.a and b/Frameworks/React-Core.xcframework/ios-arm64/libReact-Core.a differ diff --git a/Frameworks/React-Core.xcframework/ios-arm64_x86_64-simulator/libReact-Core.a b/Frameworks/React-Core.xcframework/ios-arm64_x86_64-simulator/libReact-Core.a index 4070e98..f28ac57 100644 Binary files a/Frameworks/React-Core.xcframework/ios-arm64_x86_64-simulator/libReact-Core.a and b/Frameworks/React-Core.xcframework/ios-arm64_x86_64-simulator/libReact-Core.a differ diff --git a/Frameworks/React-CoreModules.xcframework/Info.plist b/Frameworks/React-CoreModules.xcframework/Info.plist index b40d3cf..a3d28e5 100644 --- a/Frameworks/React-CoreModules.xcframework/Info.plist +++ b/Frameworks/React-CoreModules.xcframework/Info.plist @@ -4,6 +4,20 @@ AvailableLibraries + + BinaryPath + libReact-CoreModules.a + LibraryIdentifier + ios-arm64 + LibraryPath + libReact-CoreModules.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libReact-CoreModules.a @@ -21,20 +35,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libReact-CoreModules.a - LibraryIdentifier - ios-arm64 - LibraryPath - libReact-CoreModules.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/React-CoreModules.xcframework/ios-arm64/libReact-CoreModules.a b/Frameworks/React-CoreModules.xcframework/ios-arm64/libReact-CoreModules.a index ea81763..015881c 100644 Binary files a/Frameworks/React-CoreModules.xcframework/ios-arm64/libReact-CoreModules.a and b/Frameworks/React-CoreModules.xcframework/ios-arm64/libReact-CoreModules.a differ diff --git a/Frameworks/React-CoreModules.xcframework/ios-arm64_x86_64-simulator/libReact-CoreModules.a b/Frameworks/React-CoreModules.xcframework/ios-arm64_x86_64-simulator/libReact-CoreModules.a index 3bf751a..321389d 100644 Binary files a/Frameworks/React-CoreModules.xcframework/ios-arm64_x86_64-simulator/libReact-CoreModules.a and b/Frameworks/React-CoreModules.xcframework/ios-arm64_x86_64-simulator/libReact-CoreModules.a differ diff --git a/Frameworks/React-RCTAnimation.xcframework/Info.plist b/Frameworks/React-RCTAnimation.xcframework/Info.plist index 622e79c..d40b3fb 100644 --- a/Frameworks/React-RCTAnimation.xcframework/Info.plist +++ b/Frameworks/React-RCTAnimation.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libReact-RCTAnimation.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libReact-RCTAnimation.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libReact-RCTAnimation.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libReact-RCTAnimation.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libReact-RCTAnimation.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/React-RCTAnimation.xcframework/ios-arm64/libReact-RCTAnimation.a b/Frameworks/React-RCTAnimation.xcframework/ios-arm64/libReact-RCTAnimation.a index 39ca644..586e3fe 100644 Binary files a/Frameworks/React-RCTAnimation.xcframework/ios-arm64/libReact-RCTAnimation.a and b/Frameworks/React-RCTAnimation.xcframework/ios-arm64/libReact-RCTAnimation.a differ diff --git a/Frameworks/React-RCTAnimation.xcframework/ios-arm64_x86_64-simulator/libReact-RCTAnimation.a b/Frameworks/React-RCTAnimation.xcframework/ios-arm64_x86_64-simulator/libReact-RCTAnimation.a index 2fa1543..b8d97cf 100644 Binary files a/Frameworks/React-RCTAnimation.xcframework/ios-arm64_x86_64-simulator/libReact-RCTAnimation.a and b/Frameworks/React-RCTAnimation.xcframework/ios-arm64_x86_64-simulator/libReact-RCTAnimation.a differ diff --git a/Frameworks/React-RCTBlob.xcframework/Info.plist b/Frameworks/React-RCTBlob.xcframework/Info.plist index fb205b2..1f02303 100644 --- a/Frameworks/React-RCTBlob.xcframework/Info.plist +++ b/Frameworks/React-RCTBlob.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libReact-RCTBlob.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libReact-RCTBlob.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libReact-RCTBlob.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libReact-RCTBlob.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libReact-RCTBlob.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/React-RCTBlob.xcframework/ios-arm64/libReact-RCTBlob.a b/Frameworks/React-RCTBlob.xcframework/ios-arm64/libReact-RCTBlob.a index 6364a92..66f633e 100644 Binary files a/Frameworks/React-RCTBlob.xcframework/ios-arm64/libReact-RCTBlob.a and b/Frameworks/React-RCTBlob.xcframework/ios-arm64/libReact-RCTBlob.a differ diff --git a/Frameworks/React-RCTBlob.xcframework/ios-arm64_x86_64-simulator/libReact-RCTBlob.a b/Frameworks/React-RCTBlob.xcframework/ios-arm64_x86_64-simulator/libReact-RCTBlob.a index 10cb080..a6f08da 100644 Binary files a/Frameworks/React-RCTBlob.xcframework/ios-arm64_x86_64-simulator/libReact-RCTBlob.a and b/Frameworks/React-RCTBlob.xcframework/ios-arm64_x86_64-simulator/libReact-RCTBlob.a differ diff --git a/Frameworks/React-RCTImage.xcframework/ios-arm64/libReact-RCTImage.a b/Frameworks/React-RCTImage.xcframework/ios-arm64/libReact-RCTImage.a index d9be1d0..553b0df 100644 Binary files a/Frameworks/React-RCTImage.xcframework/ios-arm64/libReact-RCTImage.a and b/Frameworks/React-RCTImage.xcframework/ios-arm64/libReact-RCTImage.a differ diff --git a/Frameworks/React-RCTImage.xcframework/ios-arm64_x86_64-simulator/libReact-RCTImage.a b/Frameworks/React-RCTImage.xcframework/ios-arm64_x86_64-simulator/libReact-RCTImage.a index ac4c760..3dcccb2 100644 Binary files a/Frameworks/React-RCTImage.xcframework/ios-arm64_x86_64-simulator/libReact-RCTImage.a and b/Frameworks/React-RCTImage.xcframework/ios-arm64_x86_64-simulator/libReact-RCTImage.a differ diff --git a/Frameworks/React-RCTLinking.xcframework/ios-arm64/libReact-RCTLinking.a b/Frameworks/React-RCTLinking.xcframework/ios-arm64/libReact-RCTLinking.a index d4ce532..237aa40 100644 Binary files a/Frameworks/React-RCTLinking.xcframework/ios-arm64/libReact-RCTLinking.a and b/Frameworks/React-RCTLinking.xcframework/ios-arm64/libReact-RCTLinking.a differ diff --git a/Frameworks/React-RCTLinking.xcframework/ios-arm64_x86_64-simulator/libReact-RCTLinking.a b/Frameworks/React-RCTLinking.xcframework/ios-arm64_x86_64-simulator/libReact-RCTLinking.a index 30ebf7d..94b44ea 100644 Binary files a/Frameworks/React-RCTLinking.xcframework/ios-arm64_x86_64-simulator/libReact-RCTLinking.a and b/Frameworks/React-RCTLinking.xcframework/ios-arm64_x86_64-simulator/libReact-RCTLinking.a differ diff --git a/Frameworks/React-RCTNetwork.xcframework/Info.plist b/Frameworks/React-RCTNetwork.xcframework/Info.plist index 4e8e94b..1a5fdfb 100644 --- a/Frameworks/React-RCTNetwork.xcframework/Info.plist +++ b/Frameworks/React-RCTNetwork.xcframework/Info.plist @@ -4,6 +4,20 @@ AvailableLibraries + + BinaryPath + libReact-RCTNetwork.a + LibraryIdentifier + ios-arm64 + LibraryPath + libReact-RCTNetwork.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libReact-RCTNetwork.a @@ -21,20 +35,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libReact-RCTNetwork.a - LibraryIdentifier - ios-arm64 - LibraryPath - libReact-RCTNetwork.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/React-RCTNetwork.xcframework/ios-arm64/libReact-RCTNetwork.a b/Frameworks/React-RCTNetwork.xcframework/ios-arm64/libReact-RCTNetwork.a index 62c0a24..2a68089 100644 Binary files a/Frameworks/React-RCTNetwork.xcframework/ios-arm64/libReact-RCTNetwork.a and b/Frameworks/React-RCTNetwork.xcframework/ios-arm64/libReact-RCTNetwork.a differ diff --git a/Frameworks/React-RCTNetwork.xcframework/ios-arm64_x86_64-simulator/libReact-RCTNetwork.a b/Frameworks/React-RCTNetwork.xcframework/ios-arm64_x86_64-simulator/libReact-RCTNetwork.a index 0b640e4..426e491 100644 Binary files a/Frameworks/React-RCTNetwork.xcframework/ios-arm64_x86_64-simulator/libReact-RCTNetwork.a and b/Frameworks/React-RCTNetwork.xcframework/ios-arm64_x86_64-simulator/libReact-RCTNetwork.a differ diff --git a/Frameworks/React-RCTSettings.xcframework/Info.plist b/Frameworks/React-RCTSettings.xcframework/Info.plist index 38592b9..fcda4a8 100644 --- a/Frameworks/React-RCTSettings.xcframework/Info.plist +++ b/Frameworks/React-RCTSettings.xcframework/Info.plist @@ -4,6 +4,20 @@ AvailableLibraries + + BinaryPath + libReact-RCTSettings.a + LibraryIdentifier + ios-arm64 + LibraryPath + libReact-RCTSettings.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libReact-RCTSettings.a @@ -21,20 +35,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libReact-RCTSettings.a - LibraryIdentifier - ios-arm64 - LibraryPath - libReact-RCTSettings.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/React-RCTSettings.xcframework/ios-arm64/libReact-RCTSettings.a b/Frameworks/React-RCTSettings.xcframework/ios-arm64/libReact-RCTSettings.a index b1d5cf3..b61d546 100644 Binary files a/Frameworks/React-RCTSettings.xcframework/ios-arm64/libReact-RCTSettings.a and b/Frameworks/React-RCTSettings.xcframework/ios-arm64/libReact-RCTSettings.a differ diff --git a/Frameworks/React-RCTSettings.xcframework/ios-arm64_x86_64-simulator/libReact-RCTSettings.a b/Frameworks/React-RCTSettings.xcframework/ios-arm64_x86_64-simulator/libReact-RCTSettings.a index 5445561..116df8f 100644 Binary files a/Frameworks/React-RCTSettings.xcframework/ios-arm64_x86_64-simulator/libReact-RCTSettings.a and b/Frameworks/React-RCTSettings.xcframework/ios-arm64_x86_64-simulator/libReact-RCTSettings.a differ diff --git a/Frameworks/React-RCTText.xcframework/ios-arm64/libReact-RCTText.a b/Frameworks/React-RCTText.xcframework/ios-arm64/libReact-RCTText.a index e0db8a7..c4f5708 100644 Binary files a/Frameworks/React-RCTText.xcframework/ios-arm64/libReact-RCTText.a and b/Frameworks/React-RCTText.xcframework/ios-arm64/libReact-RCTText.a differ diff --git a/Frameworks/React-RCTText.xcframework/ios-arm64_x86_64-simulator/libReact-RCTText.a b/Frameworks/React-RCTText.xcframework/ios-arm64_x86_64-simulator/libReact-RCTText.a index 6e39aab..ab05a66 100644 Binary files a/Frameworks/React-RCTText.xcframework/ios-arm64_x86_64-simulator/libReact-RCTText.a and b/Frameworks/React-RCTText.xcframework/ios-arm64_x86_64-simulator/libReact-RCTText.a differ diff --git a/Frameworks/React-RCTVibration.xcframework/ios-arm64/libReact-RCTVibration.a b/Frameworks/React-RCTVibration.xcframework/ios-arm64/libReact-RCTVibration.a index 6cb5e2e..8390bff 100644 Binary files a/Frameworks/React-RCTVibration.xcframework/ios-arm64/libReact-RCTVibration.a and b/Frameworks/React-RCTVibration.xcframework/ios-arm64/libReact-RCTVibration.a differ diff --git a/Frameworks/React-RCTVibration.xcframework/ios-arm64_x86_64-simulator/libReact-RCTVibration.a b/Frameworks/React-RCTVibration.xcframework/ios-arm64_x86_64-simulator/libReact-RCTVibration.a index e33fb71..52ee75e 100644 Binary files a/Frameworks/React-RCTVibration.xcframework/ios-arm64_x86_64-simulator/libReact-RCTVibration.a and b/Frameworks/React-RCTVibration.xcframework/ios-arm64_x86_64-simulator/libReact-RCTVibration.a differ diff --git a/Frameworks/React-bridging.xcframework/ios-arm64/libReact-bridging.a b/Frameworks/React-bridging.xcframework/ios-arm64/libReact-bridging.a index 783de86..0c995f7 100644 Binary files a/Frameworks/React-bridging.xcframework/ios-arm64/libReact-bridging.a and b/Frameworks/React-bridging.xcframework/ios-arm64/libReact-bridging.a differ diff --git a/Frameworks/React-bridging.xcframework/ios-arm64_x86_64-simulator/libReact-bridging.a b/Frameworks/React-bridging.xcframework/ios-arm64_x86_64-simulator/libReact-bridging.a index 6833567..da92fbf 100644 Binary files a/Frameworks/React-bridging.xcframework/ios-arm64_x86_64-simulator/libReact-bridging.a and b/Frameworks/React-bridging.xcframework/ios-arm64_x86_64-simulator/libReact-bridging.a differ diff --git a/Frameworks/React-cxxreact.xcframework/ios-arm64/libReact-cxxreact.a b/Frameworks/React-cxxreact.xcframework/ios-arm64/libReact-cxxreact.a index f3d1a17..ff4b64e 100644 Binary files a/Frameworks/React-cxxreact.xcframework/ios-arm64/libReact-cxxreact.a and b/Frameworks/React-cxxreact.xcframework/ios-arm64/libReact-cxxreact.a differ diff --git a/Frameworks/React-cxxreact.xcframework/ios-arm64_x86_64-simulator/libReact-cxxreact.a b/Frameworks/React-cxxreact.xcframework/ios-arm64_x86_64-simulator/libReact-cxxreact.a index 1347163..c79178b 100644 Binary files a/Frameworks/React-cxxreact.xcframework/ios-arm64_x86_64-simulator/libReact-cxxreact.a and b/Frameworks/React-cxxreact.xcframework/ios-arm64_x86_64-simulator/libReact-cxxreact.a differ diff --git a/Frameworks/React-jsi.xcframework/ios-arm64/libReact-jsi.a b/Frameworks/React-jsi.xcframework/ios-arm64/libReact-jsi.a index 33842e8..f95080c 100644 Binary files a/Frameworks/React-jsi.xcframework/ios-arm64/libReact-jsi.a and b/Frameworks/React-jsi.xcframework/ios-arm64/libReact-jsi.a differ diff --git a/Frameworks/React-jsi.xcframework/ios-arm64_x86_64-simulator/libReact-jsi.a b/Frameworks/React-jsi.xcframework/ios-arm64_x86_64-simulator/libReact-jsi.a index 874c77d..33418c2 100644 Binary files a/Frameworks/React-jsi.xcframework/ios-arm64_x86_64-simulator/libReact-jsi.a and b/Frameworks/React-jsi.xcframework/ios-arm64_x86_64-simulator/libReact-jsi.a differ diff --git a/Frameworks/React-jsiexecutor.xcframework/ios-arm64/libReact-jsiexecutor.a b/Frameworks/React-jsiexecutor.xcframework/ios-arm64/libReact-jsiexecutor.a index 827c0ac..bb96ae6 100644 Binary files a/Frameworks/React-jsiexecutor.xcframework/ios-arm64/libReact-jsiexecutor.a and b/Frameworks/React-jsiexecutor.xcframework/ios-arm64/libReact-jsiexecutor.a differ diff --git a/Frameworks/React-jsiexecutor.xcframework/ios-arm64_x86_64-simulator/libReact-jsiexecutor.a b/Frameworks/React-jsiexecutor.xcframework/ios-arm64_x86_64-simulator/libReact-jsiexecutor.a index fdf6b0e..21f6e21 100644 Binary files a/Frameworks/React-jsiexecutor.xcframework/ios-arm64_x86_64-simulator/libReact-jsiexecutor.a and b/Frameworks/React-jsiexecutor.xcframework/ios-arm64_x86_64-simulator/libReact-jsiexecutor.a differ diff --git a/Frameworks/React-jsinspector.xcframework/ios-arm64/libReact-jsinspector.a b/Frameworks/React-jsinspector.xcframework/ios-arm64/libReact-jsinspector.a index 799b292..9d0509c 100644 Binary files a/Frameworks/React-jsinspector.xcframework/ios-arm64/libReact-jsinspector.a and b/Frameworks/React-jsinspector.xcframework/ios-arm64/libReact-jsinspector.a differ diff --git a/Frameworks/React-jsinspector.xcframework/ios-arm64_x86_64-simulator/libReact-jsinspector.a b/Frameworks/React-jsinspector.xcframework/ios-arm64_x86_64-simulator/libReact-jsinspector.a index 1389085..e165edf 100644 Binary files a/Frameworks/React-jsinspector.xcframework/ios-arm64_x86_64-simulator/libReact-jsinspector.a and b/Frameworks/React-jsinspector.xcframework/ios-arm64_x86_64-simulator/libReact-jsinspector.a differ diff --git a/Frameworks/React-logger.xcframework/Info.plist b/Frameworks/React-logger.xcframework/Info.plist index 076a975..fffb226 100644 --- a/Frameworks/React-logger.xcframework/Info.plist +++ b/Frameworks/React-logger.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libReact-logger.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libReact-logger.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libReact-logger.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libReact-logger.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libReact-logger.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/React-logger.xcframework/ios-arm64/libReact-logger.a b/Frameworks/React-logger.xcframework/ios-arm64/libReact-logger.a index 2bfb920..d7938e7 100644 Binary files a/Frameworks/React-logger.xcframework/ios-arm64/libReact-logger.a and b/Frameworks/React-logger.xcframework/ios-arm64/libReact-logger.a differ diff --git a/Frameworks/React-logger.xcframework/ios-arm64_x86_64-simulator/libReact-logger.a b/Frameworks/React-logger.xcframework/ios-arm64_x86_64-simulator/libReact-logger.a index bfe2958..9b34729 100644 Binary files a/Frameworks/React-logger.xcframework/ios-arm64_x86_64-simulator/libReact-logger.a and b/Frameworks/React-logger.xcframework/ios-arm64_x86_64-simulator/libReact-logger.a differ diff --git a/Frameworks/React-perflogger.xcframework/Info.plist b/Frameworks/React-perflogger.xcframework/Info.plist index 33a1194..c1a76b0 100644 --- a/Frameworks/React-perflogger.xcframework/Info.plist +++ b/Frameworks/React-perflogger.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libReact-perflogger.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libReact-perflogger.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libReact-perflogger.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libReact-perflogger.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libReact-perflogger.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/React-perflogger.xcframework/ios-arm64/libReact-perflogger.a b/Frameworks/React-perflogger.xcframework/ios-arm64/libReact-perflogger.a index 5655f79..e633f3c 100644 Binary files a/Frameworks/React-perflogger.xcframework/ios-arm64/libReact-perflogger.a and b/Frameworks/React-perflogger.xcframework/ios-arm64/libReact-perflogger.a differ diff --git a/Frameworks/React-perflogger.xcframework/ios-arm64_x86_64-simulator/libReact-perflogger.a b/Frameworks/React-perflogger.xcframework/ios-arm64_x86_64-simulator/libReact-perflogger.a index 0028d3d..b2de8ed 100644 Binary files a/Frameworks/React-perflogger.xcframework/ios-arm64_x86_64-simulator/libReact-perflogger.a and b/Frameworks/React-perflogger.xcframework/ios-arm64_x86_64-simulator/libReact-perflogger.a differ diff --git a/Frameworks/ReactCommon.xcframework/Info.plist b/Frameworks/ReactCommon.xcframework/Info.plist index ffd2bb2..bf75865 100644 --- a/Frameworks/ReactCommon.xcframework/Info.plist +++ b/Frameworks/ReactCommon.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libReactCommon.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libReactCommon.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libReactCommon.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libReactCommon.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libReactCommon.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/ReactCommon.xcframework/ios-arm64/libReactCommon.a b/Frameworks/ReactCommon.xcframework/ios-arm64/libReactCommon.a index 9d646da..06499ce 100644 Binary files a/Frameworks/ReactCommon.xcframework/ios-arm64/libReactCommon.a and b/Frameworks/ReactCommon.xcframework/ios-arm64/libReactCommon.a differ diff --git a/Frameworks/ReactCommon.xcframework/ios-arm64_x86_64-simulator/libReactCommon.a b/Frameworks/ReactCommon.xcframework/ios-arm64_x86_64-simulator/libReactCommon.a index bcfc21f..d6cb778 100644 Binary files a/Frameworks/ReactCommon.xcframework/ios-arm64_x86_64-simulator/libReactCommon.a and b/Frameworks/ReactCommon.xcframework/ios-arm64_x86_64-simulator/libReactCommon.a differ diff --git a/Frameworks/ReactNativeART.xcframework/Info.plist b/Frameworks/ReactNativeART.xcframework/Info.plist deleted file mode 100644 index 02e35cc..0000000 --- a/Frameworks/ReactNativeART.xcframework/Info.plist +++ /dev/null @@ -1,48 +0,0 @@ - - - - - AvailableLibraries - - - BinaryPath - libReactNativeART.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64_x86_64-simulator - LibraryPath - libReactNativeART.a - SupportedArchitectures - - arm64 - x86_64 - - SupportedPlatform - ios - SupportedPlatformVariant - simulator - - - BinaryPath - libReactNativeART.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libReactNativeART.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - - - CFBundlePackageType - XFWK - XCFrameworkFormatVersion - 1.0 - - diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTBrush.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTBrush.h deleted file mode 100644 index f6e39e8..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTBrush.h +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import - -@interface ARTBrush : NSObject - -/* @abstract */ -- (instancetype)initWithArray:(NSArray *)data NS_DESIGNATED_INITIALIZER; - -/** - * For certain brushes we can fast path a combined fill and stroke. - * For those brushes we override applyFillColor which sets the fill - * color to be used by those batch paints. Those return YES. - * We can't batch gradient painting in CoreGraphics, so those will - * return NO and paint gets called instead. - * @abstract - */ -- (BOOL)applyFillColor:(CGContextRef)context; - -/** - * paint fills the context with a brush. The context is assumed to - * be clipped. - * @abstract - */ -- (void)paint:(CGContextRef)context; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTCGFloatArray.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTCGFloatArray.h deleted file mode 100644 index b26bcb1..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTCGFloatArray.h +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -// A little helper to make sure we have the right memory allocation ready for use. -// We assume that we will only this in one place so no reference counting is necessary. -// Needs to be freed when deallocated. - -// This is fragile since this relies on these values not getting reused. Consider -// wrapping these in an Obj-C class or some ARC hackery to get refcounting. - -typedef struct { - size_t count; - CGFloat *array; -} ARTCGFloatArray; diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTContainer.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTContainer.h deleted file mode 100644 index 5439d9f..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTContainer.h +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -@protocol ARTContainer - -// This is used as a hook for child to mark it's parent as dirty. -// This bubbles up to the root which gets marked as dirty. -- (void)invalidate; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTGroup.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTGroup.h deleted file mode 100644 index 31edddd..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTGroup.h +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import "ARTContainer.h" -#import "ARTNode.h" - -@interface ARTGroup : ARTNode - -@property (nonatomic, assign) CGRect clipping; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTGroupManager.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTGroupManager.h deleted file mode 100644 index f518cf0..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTGroupManager.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTNodeManager.h" - -@interface ARTGroupManager : ARTNodeManager - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTLinearGradient.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTLinearGradient.h deleted file mode 100644 index d289b19..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTLinearGradient.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTBrush.h" - -@interface ARTLinearGradient : ARTBrush - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTNode.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTNode.h deleted file mode 100644 index 8c6a7a6..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTNode.h +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import "ARTShadow.h" -/** - * ART nodes are implemented as empty UIViews but this is just an implementation detail to fit - * into the existing view management. They should also be shadow views and painted on a background - * thread. - */ - -@interface ARTNode : UIView - -@property (nonatomic, assign) CGFloat opacity; -@property (nonatomic, assign) ARTShadow shadow; - -- (void)invalidate; -- (void)renderTo:(CGContextRef)context; - -/** - * renderTo will take opacity into account and draw renderLayerTo off-screen if there is opacity - * specified, then composite that onto the context. renderLayerTo always draws at opacity=1. - * @abstract - */ -- (void)renderLayerTo:(CGContextRef)context; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTNodeManager.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTNodeManager.h deleted file mode 100644 index 84ef8fb..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTNodeManager.h +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -@class ARTNode; - -@interface ARTNodeManager : RCTViewManager - -- (ARTNode *)node; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTPattern.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTPattern.h deleted file mode 100644 index 11fa935..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTPattern.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTBrush.h" - -@interface ARTPattern : ARTBrush - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTRadialGradient.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTRadialGradient.h deleted file mode 100644 index 98bec02..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTRadialGradient.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTBrush.h" - -@interface ARTRadialGradient : ARTBrush - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTRenderable.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTRenderable.h deleted file mode 100644 index 077d47e..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTRenderable.h +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import "ARTBrush.h" -#import "ARTCGFloatArray.h" -#import "ARTNode.h" - -@interface ARTRenderable : ARTNode - -@property (nonatomic, strong) ARTBrush *fill; -@property (nonatomic, assign) CGColorRef stroke; -@property (nonatomic, assign) CGFloat strokeWidth; -@property (nonatomic, assign) CGLineCap strokeCap; -@property (nonatomic, assign) CGLineJoin strokeJoin; -@property (nonatomic, assign) ARTCGFloatArray strokeDash; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTRenderableManager.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTRenderableManager.h deleted file mode 100644 index 781ed32..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTRenderableManager.h +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTNodeManager.h" -#import "ARTRenderable.h" - -@interface ARTRenderableManager : ARTNodeManager - -- (ARTRenderable *)node; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTShadow.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTShadow.h deleted file mode 100644 index 2aa5b48..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTShadow.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -typedef struct { - CGSize offset; - CGFloat blur; - UIColor* color; -} ARTShadow; diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTShape.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTShape.h deleted file mode 100644 index 1a1fd42..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTShape.h +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import "ARTRenderable.h" - -@interface ARTShape : ARTRenderable - -@property (nonatomic, assign) CGPathRef d; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTShapeManager.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTShapeManager.h deleted file mode 100644 index cc514b1..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTShapeManager.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTRenderableManager.h" - -@interface ARTShapeManager : ARTRenderableManager - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTSolidColor.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTSolidColor.h deleted file mode 100644 index 9880cfd..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTSolidColor.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTBrush.h" - -@interface ARTSolidColor : ARTBrush - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTSurfaceView.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTSurfaceView.h deleted file mode 100644 index 34016b9..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTSurfaceView.h +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import "ARTContainer.h" - -@interface ARTSurfaceView : UIView - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTSurfaceViewManager.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTSurfaceViewManager.h deleted file mode 100644 index 36d5949..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTSurfaceViewManager.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -@interface ARTSurfaceViewManager : RCTViewManager - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTText.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTText.h deleted file mode 100644 index 1431fc5..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTText.h +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import "ARTRenderable.h" -#import "ARTTextFrame.h" - -@interface ARTText : ARTRenderable - -@property (nonatomic, assign) CTTextAlignment alignment; -@property (nonatomic, assign) ARTTextFrame textFrame; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTTextFrame.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTTextFrame.h deleted file mode 100644 index 00e61ce..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTTextFrame.h +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -// A little helper to make sure we have a set of lines including width ready for use. -// We assume that we will only this in one place so no reference counting is necessary. -// Needs to be freed when deallocated. - -// This is fragile since this relies on these values not getting reused. Consider -// wrapping these in an Obj-C class or some ARC hackery to get refcounting. - -typedef struct { - size_t count; - CGFloat baseLine; // Distance from the origin to the base line of the first line - CGFloat lineHeight; // Distance between lines - CTLineRef *lines; - CGFloat *widths; // Width of each line -} ARTTextFrame; diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTTextManager.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTTextManager.h deleted file mode 100644 index 343e669..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/ARTTextManager.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTRenderableManager.h" - -@interface ARTTextManager : ARTRenderableManager - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/RCTConvert+ART.h b/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/RCTConvert+ART.h deleted file mode 100644 index 74b35df..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64/Headers/RCTConvert+ART.h +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -#import "ARTBrush.h" -#import "ARTShadow.h" -#import "ARTCGFloatArray.h" -#import "ARTTextFrame.h" - -@interface RCTConvert (ART) - -+ (CGPathRef)CGPath:(id)json CF_RETURNS_NOT_RETAINED; -+ (CTTextAlignment)CTTextAlignment:(id)json; -+ (ARTTextFrame)ARTTextFrame:(id)json; -+ (ARTCGFloatArray)ARTCGFloatArray:(id)json; -+ (ARTBrush *)ARTBrush:(id)json; -+ (ARTShadow)ARTShadow:(id)json; - -+ (CGPoint)CGPoint:(id)json offset:(NSUInteger)offset; -+ (CGRect)CGRect:(id)json offset:(NSUInteger)offset; -+ (CGColorRef)CGColor:(id)json offset:(NSUInteger)offset CF_RETURNS_NOT_RETAINED; -+ (CGGradientRef)CGGradient:(id)json offset:(NSUInteger)offset CF_RETURNS_NOT_RETAINED; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/libReactNativeART.a b/Frameworks/ReactNativeART.xcframework/ios-arm64/libReactNativeART.a deleted file mode 100644 index 3edcb42..0000000 Binary files a/Frameworks/ReactNativeART.xcframework/ios-arm64/libReactNativeART.a and /dev/null differ diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTBrush.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTBrush.h deleted file mode 100644 index f6e39e8..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTBrush.h +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import - -@interface ARTBrush : NSObject - -/* @abstract */ -- (instancetype)initWithArray:(NSArray *)data NS_DESIGNATED_INITIALIZER; - -/** - * For certain brushes we can fast path a combined fill and stroke. - * For those brushes we override applyFillColor which sets the fill - * color to be used by those batch paints. Those return YES. - * We can't batch gradient painting in CoreGraphics, so those will - * return NO and paint gets called instead. - * @abstract - */ -- (BOOL)applyFillColor:(CGContextRef)context; - -/** - * paint fills the context with a brush. The context is assumed to - * be clipped. - * @abstract - */ -- (void)paint:(CGContextRef)context; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTCGFloatArray.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTCGFloatArray.h deleted file mode 100644 index b26bcb1..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTCGFloatArray.h +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -// A little helper to make sure we have the right memory allocation ready for use. -// We assume that we will only this in one place so no reference counting is necessary. -// Needs to be freed when deallocated. - -// This is fragile since this relies on these values not getting reused. Consider -// wrapping these in an Obj-C class or some ARC hackery to get refcounting. - -typedef struct { - size_t count; - CGFloat *array; -} ARTCGFloatArray; diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTContainer.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTContainer.h deleted file mode 100644 index 5439d9f..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTContainer.h +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -@protocol ARTContainer - -// This is used as a hook for child to mark it's parent as dirty. -// This bubbles up to the root which gets marked as dirty. -- (void)invalidate; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTGroup.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTGroup.h deleted file mode 100644 index 31edddd..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTGroup.h +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import "ARTContainer.h" -#import "ARTNode.h" - -@interface ARTGroup : ARTNode - -@property (nonatomic, assign) CGRect clipping; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTGroupManager.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTGroupManager.h deleted file mode 100644 index f518cf0..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTGroupManager.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTNodeManager.h" - -@interface ARTGroupManager : ARTNodeManager - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTLinearGradient.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTLinearGradient.h deleted file mode 100644 index d289b19..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTLinearGradient.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTBrush.h" - -@interface ARTLinearGradient : ARTBrush - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTNode.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTNode.h deleted file mode 100644 index 8c6a7a6..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTNode.h +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import "ARTShadow.h" -/** - * ART nodes are implemented as empty UIViews but this is just an implementation detail to fit - * into the existing view management. They should also be shadow views and painted on a background - * thread. - */ - -@interface ARTNode : UIView - -@property (nonatomic, assign) CGFloat opacity; -@property (nonatomic, assign) ARTShadow shadow; - -- (void)invalidate; -- (void)renderTo:(CGContextRef)context; - -/** - * renderTo will take opacity into account and draw renderLayerTo off-screen if there is opacity - * specified, then composite that onto the context. renderLayerTo always draws at opacity=1. - * @abstract - */ -- (void)renderLayerTo:(CGContextRef)context; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTNodeManager.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTNodeManager.h deleted file mode 100644 index 84ef8fb..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTNodeManager.h +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -@class ARTNode; - -@interface ARTNodeManager : RCTViewManager - -- (ARTNode *)node; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTPattern.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTPattern.h deleted file mode 100644 index 11fa935..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTPattern.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTBrush.h" - -@interface ARTPattern : ARTBrush - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTRadialGradient.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTRadialGradient.h deleted file mode 100644 index 98bec02..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTRadialGradient.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTBrush.h" - -@interface ARTRadialGradient : ARTBrush - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTRenderable.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTRenderable.h deleted file mode 100644 index 077d47e..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTRenderable.h +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import "ARTBrush.h" -#import "ARTCGFloatArray.h" -#import "ARTNode.h" - -@interface ARTRenderable : ARTNode - -@property (nonatomic, strong) ARTBrush *fill; -@property (nonatomic, assign) CGColorRef stroke; -@property (nonatomic, assign) CGFloat strokeWidth; -@property (nonatomic, assign) CGLineCap strokeCap; -@property (nonatomic, assign) CGLineJoin strokeJoin; -@property (nonatomic, assign) ARTCGFloatArray strokeDash; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTRenderableManager.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTRenderableManager.h deleted file mode 100644 index 781ed32..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTRenderableManager.h +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTNodeManager.h" -#import "ARTRenderable.h" - -@interface ARTRenderableManager : ARTNodeManager - -- (ARTRenderable *)node; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTShadow.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTShadow.h deleted file mode 100644 index 2aa5b48..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTShadow.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -typedef struct { - CGSize offset; - CGFloat blur; - UIColor* color; -} ARTShadow; diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTShape.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTShape.h deleted file mode 100644 index 1a1fd42..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTShape.h +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import "ARTRenderable.h" - -@interface ARTShape : ARTRenderable - -@property (nonatomic, assign) CGPathRef d; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTShapeManager.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTShapeManager.h deleted file mode 100644 index cc514b1..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTShapeManager.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTRenderableManager.h" - -@interface ARTShapeManager : ARTRenderableManager - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTSolidColor.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTSolidColor.h deleted file mode 100644 index 9880cfd..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTSolidColor.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTBrush.h" - -@interface ARTSolidColor : ARTBrush - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTSurfaceView.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTSurfaceView.h deleted file mode 100644 index 34016b9..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTSurfaceView.h +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import "ARTContainer.h" - -@interface ARTSurfaceView : UIView - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTSurfaceViewManager.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTSurfaceViewManager.h deleted file mode 100644 index 36d5949..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTSurfaceViewManager.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -@interface ARTSurfaceViewManager : RCTViewManager - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTText.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTText.h deleted file mode 100644 index 1431fc5..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTText.h +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import "ARTRenderable.h" -#import "ARTTextFrame.h" - -@interface ARTText : ARTRenderable - -@property (nonatomic, assign) CTTextAlignment alignment; -@property (nonatomic, assign) ARTTextFrame textFrame; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTTextFrame.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTTextFrame.h deleted file mode 100644 index 00e61ce..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTTextFrame.h +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -// A little helper to make sure we have a set of lines including width ready for use. -// We assume that we will only this in one place so no reference counting is necessary. -// Needs to be freed when deallocated. - -// This is fragile since this relies on these values not getting reused. Consider -// wrapping these in an Obj-C class or some ARC hackery to get refcounting. - -typedef struct { - size_t count; - CGFloat baseLine; // Distance from the origin to the base line of the first line - CGFloat lineHeight; // Distance between lines - CTLineRef *lines; - CGFloat *widths; // Width of each line -} ARTTextFrame; diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTTextManager.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTTextManager.h deleted file mode 100644 index 343e669..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/ARTTextManager.h +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "ARTRenderableManager.h" - -@interface ARTTextManager : ARTRenderableManager - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/RCTConvert+ART.h b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/RCTConvert+ART.h deleted file mode 100644 index 74b35df..0000000 --- a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/Headers/RCTConvert+ART.h +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -#import "ARTBrush.h" -#import "ARTShadow.h" -#import "ARTCGFloatArray.h" -#import "ARTTextFrame.h" - -@interface RCTConvert (ART) - -+ (CGPathRef)CGPath:(id)json CF_RETURNS_NOT_RETAINED; -+ (CTTextAlignment)CTTextAlignment:(id)json; -+ (ARTTextFrame)ARTTextFrame:(id)json; -+ (ARTCGFloatArray)ARTCGFloatArray:(id)json; -+ (ARTBrush *)ARTBrush:(id)json; -+ (ARTShadow)ARTShadow:(id)json; - -+ (CGPoint)CGPoint:(id)json offset:(NSUInteger)offset; -+ (CGRect)CGRect:(id)json offset:(NSUInteger)offset; -+ (CGColorRef)CGColor:(id)json offset:(NSUInteger)offset CF_RETURNS_NOT_RETAINED; -+ (CGGradientRef)CGGradient:(id)json offset:(NSUInteger)offset CF_RETURNS_NOT_RETAINED; - -@end diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/libReactNativeART.a b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/libReactNativeART.a deleted file mode 100644 index de8b659..0000000 Binary files a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/libReactNativeART.a and /dev/null differ diff --git a/Frameworks/TextToSpeech.xcframework/ios-arm64/libTextToSpeech.a b/Frameworks/TextToSpeech.xcframework/ios-arm64/libTextToSpeech.a index 658eee3..65df368 100644 Binary files a/Frameworks/TextToSpeech.xcframework/ios-arm64/libTextToSpeech.a and b/Frameworks/TextToSpeech.xcframework/ios-arm64/libTextToSpeech.a differ diff --git a/Frameworks/TextToSpeech.xcframework/ios-arm64_x86_64-simulator/libTextToSpeech.a b/Frameworks/TextToSpeech.xcframework/ios-arm64_x86_64-simulator/libTextToSpeech.a index aaefabf..ec92766 100644 Binary files a/Frameworks/TextToSpeech.xcframework/ios-arm64_x86_64-simulator/libTextToSpeech.a and b/Frameworks/TextToSpeech.xcframework/ios-arm64_x86_64-simulator/libTextToSpeech.a differ diff --git a/Frameworks/Yoga.xcframework/ios-arm64/libYoga.a b/Frameworks/Yoga.xcframework/ios-arm64/libYoga.a index a44d6ad..3a0bdb4 100644 Binary files a/Frameworks/Yoga.xcframework/ios-arm64/libYoga.a and b/Frameworks/Yoga.xcframework/ios-arm64/libYoga.a differ diff --git a/Frameworks/Yoga.xcframework/ios-arm64_x86_64-simulator/libYoga.a b/Frameworks/Yoga.xcframework/ios-arm64_x86_64-simulator/libYoga.a index 77d0a20..3438fe6 100644 Binary files a/Frameworks/Yoga.xcframework/ios-arm64_x86_64-simulator/libYoga.a and b/Frameworks/Yoga.xcframework/ios-arm64_x86_64-simulator/libYoga.a differ diff --git a/Frameworks/glog.xcframework/ios-arm64/libglog.a b/Frameworks/glog.xcframework/ios-arm64/libglog.a index 99ca23b..6535be8 100644 Binary files a/Frameworks/glog.xcframework/ios-arm64/libglog.a and b/Frameworks/glog.xcframework/ios-arm64/libglog.a differ diff --git a/Frameworks/glog.xcframework/ios-arm64_x86_64-simulator/libglog.a b/Frameworks/glog.xcframework/ios-arm64_x86_64-simulator/libglog.a index 5f9de67..3669d27 100644 Binary files a/Frameworks/glog.xcframework/ios-arm64_x86_64-simulator/libglog.a and b/Frameworks/glog.xcframework/ios-arm64_x86_64-simulator/libglog.a differ diff --git a/Frameworks/react-native-bridge.xcframework/ios-arm64/libreact-native-bridge.a b/Frameworks/react-native-bridge.xcframework/ios-arm64/libreact-native-bridge.a index 59f2bd9..9784612 100644 Binary files a/Frameworks/react-native-bridge.xcframework/ios-arm64/libreact-native-bridge.a and b/Frameworks/react-native-bridge.xcframework/ios-arm64/libreact-native-bridge.a differ diff --git a/Frameworks/react-native-bridge.xcframework/ios-arm64_x86_64-simulator/libreact-native-bridge.a b/Frameworks/react-native-bridge.xcframework/ios-arm64_x86_64-simulator/libreact-native-bridge.a index fd8ee39..c368a22 100644 Binary files a/Frameworks/react-native-bridge.xcframework/ios-arm64_x86_64-simulator/libreact-native-bridge.a and b/Frameworks/react-native-bridge.xcframework/ios-arm64_x86_64-simulator/libreact-native-bridge.a differ diff --git a/Frameworks/react-native-color-matrix-image-filters.xcframework/ios-arm64/libreact-native-color-matrix-image-filters.a b/Frameworks/react-native-color-matrix-image-filters.xcframework/ios-arm64/libreact-native-color-matrix-image-filters.a index 3971e01..21a6ef7 100644 Binary files a/Frameworks/react-native-color-matrix-image-filters.xcframework/ios-arm64/libreact-native-color-matrix-image-filters.a and b/Frameworks/react-native-color-matrix-image-filters.xcframework/ios-arm64/libreact-native-color-matrix-image-filters.a differ diff --git a/Frameworks/react-native-color-matrix-image-filters.xcframework/ios-arm64_x86_64-simulator/libreact-native-color-matrix-image-filters.a b/Frameworks/react-native-color-matrix-image-filters.xcframework/ios-arm64_x86_64-simulator/libreact-native-color-matrix-image-filters.a index a421cdc..d899990 100644 Binary files a/Frameworks/react-native-color-matrix-image-filters.xcframework/ios-arm64_x86_64-simulator/libreact-native-color-matrix-image-filters.a and b/Frameworks/react-native-color-matrix-image-filters.xcframework/ios-arm64_x86_64-simulator/libreact-native-color-matrix-image-filters.a differ diff --git a/Frameworks/react-native-cookies.xcframework/ios-arm64/libreact-native-cookies.a b/Frameworks/react-native-cookies.xcframework/ios-arm64/libreact-native-cookies.a index e3b9319..7e04dba 100644 Binary files a/Frameworks/react-native-cookies.xcframework/ios-arm64/libreact-native-cookies.a and b/Frameworks/react-native-cookies.xcframework/ios-arm64/libreact-native-cookies.a differ diff --git a/Frameworks/react-native-cookies.xcframework/ios-arm64_x86_64-simulator/libreact-native-cookies.a b/Frameworks/react-native-cookies.xcframework/ios-arm64_x86_64-simulator/libreact-native-cookies.a index 4df12e9..d0ffd8a 100644 Binary files a/Frameworks/react-native-cookies.xcframework/ios-arm64_x86_64-simulator/libreact-native-cookies.a and b/Frameworks/react-native-cookies.xcframework/ios-arm64_x86_64-simulator/libreact-native-cookies.a differ diff --git a/Frameworks/react-native-dfp.xcframework/ios-arm64/libreact-native-dfp.a b/Frameworks/react-native-dfp.xcframework/ios-arm64/libreact-native-dfp.a index e198f22..f042851 100644 Binary files a/Frameworks/react-native-dfp.xcframework/ios-arm64/libreact-native-dfp.a and b/Frameworks/react-native-dfp.xcframework/ios-arm64/libreact-native-dfp.a differ diff --git a/Frameworks/react-native-dfp.xcframework/ios-arm64_x86_64-simulator/libreact-native-dfp.a b/Frameworks/react-native-dfp.xcframework/ios-arm64_x86_64-simulator/libreact-native-dfp.a index 420424b..e21722d 100644 Binary files a/Frameworks/react-native-dfp.xcframework/ios-arm64_x86_64-simulator/libreact-native-dfp.a and b/Frameworks/react-native-dfp.xcframework/ios-arm64_x86_64-simulator/libreact-native-dfp.a differ diff --git a/Frameworks/react-native-geolocation.xcframework/ios-arm64/libreact-native-geolocation.a b/Frameworks/react-native-geolocation.xcframework/ios-arm64/libreact-native-geolocation.a index 16645ea..51440a5 100644 Binary files a/Frameworks/react-native-geolocation.xcframework/ios-arm64/libreact-native-geolocation.a and b/Frameworks/react-native-geolocation.xcframework/ios-arm64/libreact-native-geolocation.a differ diff --git a/Frameworks/react-native-geolocation.xcframework/ios-arm64_x86_64-simulator/libreact-native-geolocation.a b/Frameworks/react-native-geolocation.xcframework/ios-arm64_x86_64-simulator/libreact-native-geolocation.a index 692a138..19968dd 100644 Binary files a/Frameworks/react-native-geolocation.xcframework/ios-arm64_x86_64-simulator/libreact-native-geolocation.a and b/Frameworks/react-native-geolocation.xcframework/ios-arm64_x86_64-simulator/libreact-native-geolocation.a differ diff --git a/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64/libreact-native-html-to-pdf.a b/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64/libreact-native-html-to-pdf.a index 57617f2..c78b801 100644 Binary files a/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64/libreact-native-html-to-pdf.a and b/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64/libreact-native-html-to-pdf.a differ diff --git a/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-html-to-pdf.a b/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-html-to-pdf.a index 72f4c78..45c034f 100644 Binary files a/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-html-to-pdf.a and b/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-html-to-pdf.a differ diff --git a/Frameworks/react-native-idle-timer.xcframework/ios-arm64/libreact-native-idle-timer.a b/Frameworks/react-native-idle-timer.xcframework/ios-arm64/libreact-native-idle-timer.a index ad407fc..53a2d13 100644 Binary files a/Frameworks/react-native-idle-timer.xcframework/ios-arm64/libreact-native-idle-timer.a and b/Frameworks/react-native-idle-timer.xcframework/ios-arm64/libreact-native-idle-timer.a differ diff --git a/Frameworks/react-native-idle-timer.xcframework/ios-arm64_x86_64-simulator/libreact-native-idle-timer.a b/Frameworks/react-native-idle-timer.xcframework/ios-arm64_x86_64-simulator/libreact-native-idle-timer.a index 23b6326..9539849 100644 Binary files a/Frameworks/react-native-idle-timer.xcframework/ios-arm64_x86_64-simulator/libreact-native-idle-timer.a and b/Frameworks/react-native-idle-timer.xcframework/ios-arm64_x86_64-simulator/libreact-native-idle-timer.a differ diff --git a/Frameworks/react-native-image-editor.xcframework/ios-arm64/libreact-native-image-editor.a b/Frameworks/react-native-image-editor.xcframework/ios-arm64/libreact-native-image-editor.a index 743d57d..5a6221c 100644 Binary files a/Frameworks/react-native-image-editor.xcframework/ios-arm64/libreact-native-image-editor.a and b/Frameworks/react-native-image-editor.xcframework/ios-arm64/libreact-native-image-editor.a differ diff --git a/Frameworks/react-native-image-editor.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-editor.a b/Frameworks/react-native-image-editor.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-editor.a index 10bc618..5001148 100644 Binary files a/Frameworks/react-native-image-editor.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-editor.a and b/Frameworks/react-native-image-editor.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-editor.a differ diff --git a/Frameworks/react-native-image-marker.xcframework/Info.plist b/Frameworks/react-native-image-marker.xcframework/Info.plist index 5a2bbb7..2afefa1 100644 --- a/Frameworks/react-native-image-marker.xcframework/Info.plist +++ b/Frameworks/react-native-image-marker.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libreact-native-image-marker.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-image-marker.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libreact-native-image-marker.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libreact-native-image-marker.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-image-marker.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/react-native-image-marker.xcframework/ios-arm64/libreact-native-image-marker.a b/Frameworks/react-native-image-marker.xcframework/ios-arm64/libreact-native-image-marker.a index 45416ec..1359007 100644 Binary files a/Frameworks/react-native-image-marker.xcframework/ios-arm64/libreact-native-image-marker.a and b/Frameworks/react-native-image-marker.xcframework/ios-arm64/libreact-native-image-marker.a differ diff --git a/Frameworks/react-native-image-marker.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-marker.a b/Frameworks/react-native-image-marker.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-marker.a index cb4e3a7..a9bd180 100644 Binary files a/Frameworks/react-native-image-marker.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-marker.a and b/Frameworks/react-native-image-marker.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-marker.a differ diff --git a/Frameworks/react-native-mail.xcframework/Info.plist b/Frameworks/react-native-mail.xcframework/Info.plist index d81e532..c81bdf4 100644 --- a/Frameworks/react-native-mail.xcframework/Info.plist +++ b/Frameworks/react-native-mail.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libreact-native-mail.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-mail.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libreact-native-mail.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libreact-native-mail.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-mail.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/react-native-mail.xcframework/ios-arm64/libreact-native-mail.a b/Frameworks/react-native-mail.xcframework/ios-arm64/libreact-native-mail.a index c3fda37..f143749 100644 Binary files a/Frameworks/react-native-mail.xcframework/ios-arm64/libreact-native-mail.a and b/Frameworks/react-native-mail.xcframework/ios-arm64/libreact-native-mail.a differ diff --git a/Frameworks/react-native-mail.xcframework/ios-arm64_x86_64-simulator/libreact-native-mail.a b/Frameworks/react-native-mail.xcframework/ios-arm64_x86_64-simulator/libreact-native-mail.a index 2a71dfd..c1c355e 100644 Binary files a/Frameworks/react-native-mail.xcframework/ios-arm64_x86_64-simulator/libreact-native-mail.a and b/Frameworks/react-native-mail.xcframework/ios-arm64_x86_64-simulator/libreact-native-mail.a differ diff --git a/Frameworks/react-native-netinfo.xcframework/Info.plist b/Frameworks/react-native-netinfo.xcframework/Info.plist index 0019296..dc9787e 100644 --- a/Frameworks/react-native-netinfo.xcframework/Info.plist +++ b/Frameworks/react-native-netinfo.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libreact-native-netinfo.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-netinfo.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libreact-native-netinfo.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libreact-native-netinfo.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-netinfo.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/react-native-netinfo.xcframework/ios-arm64/libreact-native-netinfo.a b/Frameworks/react-native-netinfo.xcframework/ios-arm64/libreact-native-netinfo.a index 88f3b18..d13cdee 100644 Binary files a/Frameworks/react-native-netinfo.xcframework/ios-arm64/libreact-native-netinfo.a and b/Frameworks/react-native-netinfo.xcframework/ios-arm64/libreact-native-netinfo.a differ diff --git a/Frameworks/react-native-netinfo.xcframework/ios-arm64_x86_64-simulator/libreact-native-netinfo.a b/Frameworks/react-native-netinfo.xcframework/ios-arm64_x86_64-simulator/libreact-native-netinfo.a index 0d3f31b..ebaac73 100644 Binary files a/Frameworks/react-native-netinfo.xcframework/ios-arm64_x86_64-simulator/libreact-native-netinfo.a and b/Frameworks/react-native-netinfo.xcframework/ios-arm64_x86_64-simulator/libreact-native-netinfo.a differ diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/ReactNativePageView.h b/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/LEGACY_RNCPagerView.h similarity index 94% rename from Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/ReactNativePageView.h rename to Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/LEGACY_RNCPagerView.h index 8887fd2..7ae5758 100644 --- a/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/ReactNativePageView.h +++ b/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/LEGACY_RNCPagerView.h @@ -5,7 +5,7 @@ NS_ASSUME_NONNULL_BEGIN -@interface ReactNativePageView: UIView +@interface LEGACY_RNCPagerView: UIView - (instancetype)initWithEventDispatcher:(RCTEventDispatcher *)eventDispatcher; @@ -15,7 +15,9 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic) NSInteger currentIndex; @property(nonatomic) NSInteger pageMargin; @property(nonatomic, readonly) BOOL scrollEnabled; +#if !TARGET_OS_VISION @property(nonatomic, readonly) UIScrollViewKeyboardDismissMode dismissKeyboard; +#endif @property(nonatomic) UIPageViewControllerNavigationOrientation orientation; @property(nonatomic, copy) RCTDirectEventBlock onPageSelected; @property(nonatomic, copy) RCTDirectEventBlock onPageScroll; diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/LEGACY_RNCPagerViewComponentView.h b/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/LEGACY_RNCPagerViewComponentView.h new file mode 100644 index 0000000..03be860 --- /dev/null +++ b/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/LEGACY_RNCPagerViewComponentView.h @@ -0,0 +1,27 @@ +#ifdef RCT_NEW_ARCH_ENABLED + +#import +#import +#import +#import "UIViewController+CreateExtension.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface LEGACY_RNCPagerViewComponentView : RCTViewComponentView + +@property(strong, nonatomic, readonly) UIPageViewController *nativePageViewController; +@property(nonatomic, strong) NSMutableArray *nativeChildrenViewControllers; +@property(nonatomic) NSInteger initialPage; +@property(nonatomic) NSInteger currentIndex; +@property(nonatomic) NSInteger destinationIndex; +@property(nonatomic) NSString* layoutDirection; +@property(nonatomic) BOOL overdrag; + +- (void)setPage:(NSInteger)number; +- (void)setPageWithoutAnimation:(NSInteger)number; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/LEGACY_RNCPagerViewManager.h b/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/LEGACY_RNCPagerViewManager.h new file mode 100644 index 0000000..7225f92 --- /dev/null +++ b/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/LEGACY_RNCPagerViewManager.h @@ -0,0 +1,13 @@ + +#import +#import +#import +#import +#import "LEGACY_RNCPagerView.h" +NS_ASSUME_NONNULL_BEGIN + +@interface LEGACY_RNCPagerViewManager : RCTViewManager + +@end + +NS_ASSUME_NONNULL_END diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/RNCPagerScrollView.h b/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/RNCPagerScrollView.h new file mode 100644 index 0000000..bf28ac8 --- /dev/null +++ b/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/RNCPagerScrollView.h @@ -0,0 +1,9 @@ +/* +NOTE: This file is *not* currently used, for context see: +- https://github.com/callstack/react-native-pager-view/pull/783#discussion_r1410295171 +- https://github.com/callstack/react-native-pager-view/pull/783#discussion_r1410316201 +*/ +#include + +@interface RNCPagerScrollView : UIScrollView +@end diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/RNCPagerView.h b/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/RNCPagerView.h new file mode 100644 index 0000000..e9f7b6c --- /dev/null +++ b/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/RNCPagerView.h @@ -0,0 +1,29 @@ +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface RNCPagerView: UIView + +- (instancetype)initWithEventDispatcher:(id )eventDispatcher; + +@property(nonatomic) NSInteger initialPage; +@property(nonatomic) NSString* orientation; +#if !TARGET_OS_VISION +@property(nonatomic, readonly) UIScrollViewKeyboardDismissMode dismissKeyboard; +#endif +@property(nonatomic, copy) RCTDirectEventBlock onPageSelected; +@property(nonatomic, copy) RCTDirectEventBlock onPageScroll; +@property(nonatomic, copy) RCTDirectEventBlock onPageScrollStateChanged; +@property(nonatomic) BOOL overdrag; +@property(nonatomic, assign) BOOL animating; + +- (void)goTo:(NSInteger)index animated:(BOOL)animated; +- (void)shouldScroll:(BOOL)scrollEnabled; +- (void)shouldDismissKeyboard:(NSString *)dismissKeyboard; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/RNCPagerViewComponentView.h b/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/RNCPagerViewComponentView.h index de276e0..a87b809 100644 --- a/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/RNCPagerViewComponentView.h +++ b/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/RNCPagerViewComponentView.h @@ -7,15 +7,7 @@ NS_ASSUME_NONNULL_BEGIN -@interface RNCPagerViewComponentView : RCTViewComponentView - -@property(strong, nonatomic, readonly) UIPageViewController *nativePageViewController; -@property(nonatomic, strong) NSMutableArray *nativeChildrenViewControllers; -@property(nonatomic) NSInteger initialPage; -@property(nonatomic) NSInteger currentIndex; -@property(nonatomic) NSInteger destinationIndex; -@property(nonatomic) NSString* layoutDirection; -@property(nonatomic) BOOL overdrag; +@interface RNCPagerViewComponentView : RCTViewComponentView - (void)setPage:(NSInteger)number; - (void)setPageWithoutAnimation:(NSInteger)number; diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/ReactViewPagerManager.h b/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/RNCPagerViewManager.h similarity index 67% rename from Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/ReactViewPagerManager.h rename to Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/RNCPagerViewManager.h index cc5de3e..f3be10b 100644 --- a/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/ReactViewPagerManager.h +++ b/Frameworks/react-native-pager-view.xcframework/ios-arm64/Headers/RNCPagerViewManager.h @@ -3,10 +3,10 @@ #import #import #import -#import "ReactNativePageView.h" +#import "RNCPagerView.h" NS_ASSUME_NONNULL_BEGIN -@interface ReactViewPagerManager : RCTViewManager +@interface RNCPagerViewManager : RCTViewManager @end diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64/libreact-native-pager-view.a b/Frameworks/react-native-pager-view.xcframework/ios-arm64/libreact-native-pager-view.a index 535c925..3d9529f 100644 Binary files a/Frameworks/react-native-pager-view.xcframework/ios-arm64/libreact-native-pager-view.a and b/Frameworks/react-native-pager-view.xcframework/ios-arm64/libreact-native-pager-view.a differ diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/ReactNativePageView.h b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/LEGACY_RNCPagerView.h similarity index 94% rename from Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/ReactNativePageView.h rename to Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/LEGACY_RNCPagerView.h index 8887fd2..7ae5758 100644 --- a/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/ReactNativePageView.h +++ b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/LEGACY_RNCPagerView.h @@ -5,7 +5,7 @@ NS_ASSUME_NONNULL_BEGIN -@interface ReactNativePageView: UIView +@interface LEGACY_RNCPagerView: UIView - (instancetype)initWithEventDispatcher:(RCTEventDispatcher *)eventDispatcher; @@ -15,7 +15,9 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic) NSInteger currentIndex; @property(nonatomic) NSInteger pageMargin; @property(nonatomic, readonly) BOOL scrollEnabled; +#if !TARGET_OS_VISION @property(nonatomic, readonly) UIScrollViewKeyboardDismissMode dismissKeyboard; +#endif @property(nonatomic) UIPageViewControllerNavigationOrientation orientation; @property(nonatomic, copy) RCTDirectEventBlock onPageSelected; @property(nonatomic, copy) RCTDirectEventBlock onPageScroll; diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/LEGACY_RNCPagerViewComponentView.h b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/LEGACY_RNCPagerViewComponentView.h new file mode 100644 index 0000000..03be860 --- /dev/null +++ b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/LEGACY_RNCPagerViewComponentView.h @@ -0,0 +1,27 @@ +#ifdef RCT_NEW_ARCH_ENABLED + +#import +#import +#import +#import "UIViewController+CreateExtension.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface LEGACY_RNCPagerViewComponentView : RCTViewComponentView + +@property(strong, nonatomic, readonly) UIPageViewController *nativePageViewController; +@property(nonatomic, strong) NSMutableArray *nativeChildrenViewControllers; +@property(nonatomic) NSInteger initialPage; +@property(nonatomic) NSInteger currentIndex; +@property(nonatomic) NSInteger destinationIndex; +@property(nonatomic) NSString* layoutDirection; +@property(nonatomic) BOOL overdrag; + +- (void)setPage:(NSInteger)number; +- (void)setPageWithoutAnimation:(NSInteger)number; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/LEGACY_RNCPagerViewManager.h b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/LEGACY_RNCPagerViewManager.h new file mode 100644 index 0000000..7225f92 --- /dev/null +++ b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/LEGACY_RNCPagerViewManager.h @@ -0,0 +1,13 @@ + +#import +#import +#import +#import +#import "LEGACY_RNCPagerView.h" +NS_ASSUME_NONNULL_BEGIN + +@interface LEGACY_RNCPagerViewManager : RCTViewManager + +@end + +NS_ASSUME_NONNULL_END diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/RNCPagerScrollView.h b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/RNCPagerScrollView.h new file mode 100644 index 0000000..bf28ac8 --- /dev/null +++ b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/RNCPagerScrollView.h @@ -0,0 +1,9 @@ +/* +NOTE: This file is *not* currently used, for context see: +- https://github.com/callstack/react-native-pager-view/pull/783#discussion_r1410295171 +- https://github.com/callstack/react-native-pager-view/pull/783#discussion_r1410316201 +*/ +#include + +@interface RNCPagerScrollView : UIScrollView +@end diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/RNCPagerView.h b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/RNCPagerView.h new file mode 100644 index 0000000..e9f7b6c --- /dev/null +++ b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/RNCPagerView.h @@ -0,0 +1,29 @@ +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface RNCPagerView: UIView + +- (instancetype)initWithEventDispatcher:(id )eventDispatcher; + +@property(nonatomic) NSInteger initialPage; +@property(nonatomic) NSString* orientation; +#if !TARGET_OS_VISION +@property(nonatomic, readonly) UIScrollViewKeyboardDismissMode dismissKeyboard; +#endif +@property(nonatomic, copy) RCTDirectEventBlock onPageSelected; +@property(nonatomic, copy) RCTDirectEventBlock onPageScroll; +@property(nonatomic, copy) RCTDirectEventBlock onPageScrollStateChanged; +@property(nonatomic) BOOL overdrag; +@property(nonatomic, assign) BOOL animating; + +- (void)goTo:(NSInteger)index animated:(BOOL)animated; +- (void)shouldScroll:(BOOL)scrollEnabled; +- (void)shouldDismissKeyboard:(NSString *)dismissKeyboard; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/RNCPagerViewComponentView.h b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/RNCPagerViewComponentView.h index de276e0..a87b809 100644 --- a/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/RNCPagerViewComponentView.h +++ b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/RNCPagerViewComponentView.h @@ -7,15 +7,7 @@ NS_ASSUME_NONNULL_BEGIN -@interface RNCPagerViewComponentView : RCTViewComponentView - -@property(strong, nonatomic, readonly) UIPageViewController *nativePageViewController; -@property(nonatomic, strong) NSMutableArray *nativeChildrenViewControllers; -@property(nonatomic) NSInteger initialPage; -@property(nonatomic) NSInteger currentIndex; -@property(nonatomic) NSInteger destinationIndex; -@property(nonatomic) NSString* layoutDirection; -@property(nonatomic) BOOL overdrag; +@interface RNCPagerViewComponentView : RCTViewComponentView - (void)setPage:(NSInteger)number; - (void)setPageWithoutAnimation:(NSInteger)number; diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/ReactViewPagerManager.h b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/RNCPagerViewManager.h similarity index 67% rename from Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/ReactViewPagerManager.h rename to Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/RNCPagerViewManager.h index cc5de3e..f3be10b 100644 --- a/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/ReactViewPagerManager.h +++ b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/Headers/RNCPagerViewManager.h @@ -3,10 +3,10 @@ #import #import #import -#import "ReactNativePageView.h" +#import "RNCPagerView.h" NS_ASSUME_NONNULL_BEGIN -@interface ReactViewPagerManager : RCTViewManager +@interface RNCPagerViewManager : RCTViewManager @end diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/libreact-native-pager-view.a b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/libreact-native-pager-view.a index 97de8a8..2cd2060 100644 Binary files a/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/libreact-native-pager-view.a and b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/libreact-native-pager-view.a differ diff --git a/Frameworks/react-native-pdf.xcframework/ios-arm64/libreact-native-pdf.a b/Frameworks/react-native-pdf.xcframework/ios-arm64/libreact-native-pdf.a index f72b3a4..6863bda 100644 Binary files a/Frameworks/react-native-pdf.xcframework/ios-arm64/libreact-native-pdf.a and b/Frameworks/react-native-pdf.xcframework/ios-arm64/libreact-native-pdf.a differ diff --git a/Frameworks/react-native-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-pdf.a b/Frameworks/react-native-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-pdf.a index d558c7a..31afcf9 100644 Binary files a/Frameworks/react-native-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-pdf.a and b/Frameworks/react-native-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-pdf.a differ diff --git a/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64/libreact-native-photo-view-ex.a b/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64/libreact-native-photo-view-ex.a index 5b3ded5..2b2bc1e 100644 Binary files a/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64/libreact-native-photo-view-ex.a and b/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64/libreact-native-photo-view-ex.a differ diff --git a/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64_x86_64-simulator/libreact-native-photo-view-ex.a b/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64_x86_64-simulator/libreact-native-photo-view-ex.a index 1c45094..74ecb43 100644 Binary files a/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64_x86_64-simulator/libreact-native-photo-view-ex.a and b/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64_x86_64-simulator/libreact-native-photo-view-ex.a differ diff --git a/Frameworks/react-native-print.xcframework/Info.plist b/Frameworks/react-native-print.xcframework/Info.plist index 4e4d15c..1972ad2 100644 --- a/Frameworks/react-native-print.xcframework/Info.plist +++ b/Frameworks/react-native-print.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libreact-native-print.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-print.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libreact-native-print.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libreact-native-print.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-print.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/react-native-print.xcframework/ios-arm64/libreact-native-print.a b/Frameworks/react-native-print.xcframework/ios-arm64/libreact-native-print.a index 1419426..afde480 100644 Binary files a/Frameworks/react-native-print.xcframework/ios-arm64/libreact-native-print.a and b/Frameworks/react-native-print.xcframework/ios-arm64/libreact-native-print.a differ diff --git a/Frameworks/react-native-print.xcframework/ios-arm64_x86_64-simulator/libreact-native-print.a b/Frameworks/react-native-print.xcframework/ios-arm64_x86_64-simulator/libreact-native-print.a index f992582..741980c 100644 Binary files a/Frameworks/react-native-print.xcframework/ios-arm64_x86_64-simulator/libreact-native-print.a and b/Frameworks/react-native-print.xcframework/ios-arm64_x86_64-simulator/libreact-native-print.a differ diff --git a/Frameworks/react-native-safe-area-context.xcframework/ios-arm64/libreact-native-safe-area-context.a b/Frameworks/react-native-safe-area-context.xcframework/ios-arm64/libreact-native-safe-area-context.a index 90f7b70..ccb705c 100644 Binary files a/Frameworks/react-native-safe-area-context.xcframework/ios-arm64/libreact-native-safe-area-context.a and b/Frameworks/react-native-safe-area-context.xcframework/ios-arm64/libreact-native-safe-area-context.a differ diff --git a/Frameworks/react-native-safe-area-context.xcframework/ios-arm64_x86_64-simulator/libreact-native-safe-area-context.a b/Frameworks/react-native-safe-area-context.xcframework/ios-arm64_x86_64-simulator/libreact-native-safe-area-context.a index bc51a7e..8f474b6 100644 Binary files a/Frameworks/react-native-safe-area-context.xcframework/ios-arm64_x86_64-simulator/libreact-native-safe-area-context.a and b/Frameworks/react-native-safe-area-context.xcframework/ios-arm64_x86_64-simulator/libreact-native-safe-area-context.a differ diff --git a/Frameworks/react-native-slider.xcframework/ios-arm64/libreact-native-slider.a b/Frameworks/react-native-slider.xcframework/ios-arm64/libreact-native-slider.a index 403321d..fb9171d 100644 Binary files a/Frameworks/react-native-slider.xcframework/ios-arm64/libreact-native-slider.a and b/Frameworks/react-native-slider.xcframework/ios-arm64/libreact-native-slider.a differ diff --git a/Frameworks/react-native-slider.xcframework/ios-arm64_x86_64-simulator/libreact-native-slider.a b/Frameworks/react-native-slider.xcframework/ios-arm64_x86_64-simulator/libreact-native-slider.a index 4c1a06d..505ebf6 100644 Binary files a/Frameworks/react-native-slider.xcframework/ios-arm64_x86_64-simulator/libreact-native-slider.a and b/Frameworks/react-native-slider.xcframework/ios-arm64_x86_64-simulator/libreact-native-slider.a differ diff --git a/Frameworks/react-native-splash-screen.xcframework/Info.plist b/Frameworks/react-native-splash-screen.xcframework/Info.plist index 3eb3353..3a28bc6 100644 --- a/Frameworks/react-native-splash-screen.xcframework/Info.plist +++ b/Frameworks/react-native-splash-screen.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libreact-native-splash-screen.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-splash-screen.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libreact-native-splash-screen.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libreact-native-splash-screen.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-splash-screen.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/react-native-splash-screen.xcframework/ios-arm64/libreact-native-splash-screen.a b/Frameworks/react-native-splash-screen.xcframework/ios-arm64/libreact-native-splash-screen.a index 220460d..945188a 100644 Binary files a/Frameworks/react-native-splash-screen.xcframework/ios-arm64/libreact-native-splash-screen.a and b/Frameworks/react-native-splash-screen.xcframework/ios-arm64/libreact-native-splash-screen.a differ diff --git a/Frameworks/react-native-splash-screen.xcframework/ios-arm64_x86_64-simulator/libreact-native-splash-screen.a b/Frameworks/react-native-splash-screen.xcframework/ios-arm64_x86_64-simulator/libreact-native-splash-screen.a index 06c48d1..3c16dac 100644 Binary files a/Frameworks/react-native-splash-screen.xcframework/ios-arm64_x86_64-simulator/libreact-native-splash-screen.a and b/Frameworks/react-native-splash-screen.xcframework/ios-arm64_x86_64-simulator/libreact-native-splash-screen.a differ diff --git a/Frameworks/react-native-sqlite-storage.xcframework/Info.plist b/Frameworks/react-native-sqlite-storage.xcframework/Info.plist index a60ac47..91faa7f 100644 --- a/Frameworks/react-native-sqlite-storage.xcframework/Info.plist +++ b/Frameworks/react-native-sqlite-storage.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libreact-native-sqlite-storage.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-sqlite-storage.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libreact-native-sqlite-storage.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libreact-native-sqlite-storage.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-sqlite-storage.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64/libreact-native-sqlite-storage.a b/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64/libreact-native-sqlite-storage.a index 97710eb..9eff07b 100644 Binary files a/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64/libreact-native-sqlite-storage.a and b/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64/libreact-native-sqlite-storage.a differ diff --git a/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64_x86_64-simulator/libreact-native-sqlite-storage.a b/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64_x86_64-simulator/libreact-native-sqlite-storage.a index 7007ef2..f16ec55 100644 Binary files a/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64_x86_64-simulator/libreact-native-sqlite-storage.a and b/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64_x86_64-simulator/libreact-native-sqlite-storage.a differ diff --git a/Frameworks/react-native-uuid-generator.xcframework/Info.plist b/Frameworks/react-native-uuid-generator.xcframework/Info.plist index e2dff3a..60f65b2 100644 --- a/Frameworks/react-native-uuid-generator.xcframework/Info.plist +++ b/Frameworks/react-native-uuid-generator.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libreact-native-uuid-generator.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-uuid-generator.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libreact-native-uuid-generator.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libreact-native-uuid-generator.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-uuid-generator.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/react-native-uuid-generator.xcframework/ios-arm64/libreact-native-uuid-generator.a b/Frameworks/react-native-uuid-generator.xcframework/ios-arm64/libreact-native-uuid-generator.a index ec427e4..135fd80 100644 Binary files a/Frameworks/react-native-uuid-generator.xcframework/ios-arm64/libreact-native-uuid-generator.a and b/Frameworks/react-native-uuid-generator.xcframework/ios-arm64/libreact-native-uuid-generator.a differ diff --git a/Frameworks/react-native-uuid-generator.xcframework/ios-arm64_x86_64-simulator/libreact-native-uuid-generator.a b/Frameworks/react-native-uuid-generator.xcframework/ios-arm64_x86_64-simulator/libreact-native-uuid-generator.a index 8268958..4645b63 100644 Binary files a/Frameworks/react-native-uuid-generator.xcframework/ios-arm64_x86_64-simulator/libreact-native-uuid-generator.a and b/Frameworks/react-native-uuid-generator.xcframework/ios-arm64_x86_64-simulator/libreact-native-uuid-generator.a differ diff --git a/Frameworks/react-native-video.xcframework/ios-arm64/libreact-native-video.a b/Frameworks/react-native-video.xcframework/ios-arm64/libreact-native-video.a index 1734801..a9963ff 100644 Binary files a/Frameworks/react-native-video.xcframework/ios-arm64/libreact-native-video.a and b/Frameworks/react-native-video.xcframework/ios-arm64/libreact-native-video.a differ diff --git a/Frameworks/react-native-video.xcframework/ios-arm64_x86_64-simulator/libreact-native-video.a b/Frameworks/react-native-video.xcframework/ios-arm64_x86_64-simulator/libreact-native-video.a index b0226f0..a8c3edb 100644 Binary files a/Frameworks/react-native-video.xcframework/ios-arm64_x86_64-simulator/libreact-native-video.a and b/Frameworks/react-native-video.xcframework/ios-arm64_x86_64-simulator/libreact-native-video.a differ diff --git a/Frameworks/react-native-web-analytics.xcframework/Info.plist b/Frameworks/react-native-web-analytics.xcframework/Info.plist index 4ffdabd..b4a84da 100644 --- a/Frameworks/react-native-web-analytics.xcframework/Info.plist +++ b/Frameworks/react-native-web-analytics.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libreact-native-web-analytics.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-web-analytics.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libreact-native-web-analytics.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libreact-native-web-analytics.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-web-analytics.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/react-native-web-analytics.xcframework/ios-arm64/libreact-native-web-analytics.a b/Frameworks/react-native-web-analytics.xcframework/ios-arm64/libreact-native-web-analytics.a index bf96c3e..03ab9bd 100644 Binary files a/Frameworks/react-native-web-analytics.xcframework/ios-arm64/libreact-native-web-analytics.a and b/Frameworks/react-native-web-analytics.xcframework/ios-arm64/libreact-native-web-analytics.a differ diff --git a/Frameworks/react-native-web-analytics.xcframework/ios-arm64_x86_64-simulator/libreact-native-web-analytics.a b/Frameworks/react-native-web-analytics.xcframework/ios-arm64_x86_64-simulator/libreact-native-web-analytics.a index f937f5d..32c5e5e 100644 Binary files a/Frameworks/react-native-web-analytics.xcframework/ios-arm64_x86_64-simulator/libreact-native-web-analytics.a and b/Frameworks/react-native-web-analytics.xcframework/ios-arm64_x86_64-simulator/libreact-native-web-analytics.a differ diff --git a/Frameworks/react-native-webview.xcframework/Info.plist b/Frameworks/react-native-webview.xcframework/Info.plist index d620387..1d7543d 100644 --- a/Frameworks/react-native-webview.xcframework/Info.plist +++ b/Frameworks/react-native-webview.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libreact-native-webview.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-webview.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libreact-native-webview.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libreact-native-webview.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-webview.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/react-native-webview.xcframework/ios-arm64/Headers/RNCWebView.h b/Frameworks/react-native-webview.xcframework/ios-arm64/Headers/RNCWebView.h index 33a67ae..d359365 100644 --- a/Frameworks/react-native-webview.xcframework/ios-arm64/Headers/RNCWebView.h +++ b/Frameworks/react-native-webview.xcframework/ios-arm64/Headers/RNCWebView.h @@ -1,116 +1,29 @@ -/** - * Copyright (c) 2015-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ +// This guard prevent this file to be compiled in the old architecture. +#ifdef RCT_NEW_ARCH_ENABLED +#import +#import +#import +#import +#import -#import -#import -#import +#ifndef NativeComponentExampleComponentView_h +#define NativeComponentExampleComponentView_h -typedef enum RNCWebViewPermissionGrantType : NSUInteger { - RNCWebViewPermissionGrantType_GrantIfSameHost_ElsePrompt, - RNCWebViewPermissionGrantType_GrantIfSameHost_ElseDeny, - RNCWebViewPermissionGrantType_Deny, - RNCWebViewPermissionGrantType_Grant, - RNCWebViewPermissionGrantType_Prompt -} RNCWebViewPermissionGrantType; - -@class RNCWebView; - -@protocol RNCWebViewDelegate - -- (BOOL)webView:(RNCWebView *_Nonnull)webView - shouldStartLoadForRequest:(NSMutableDictionary *_Nonnull)request - withCallback:(RCTDirectEventBlock _Nonnull)callback; +NS_ASSUME_NONNULL_BEGIN +@interface RNCWebView : RCTViewComponentView @end -@interface RNCWeakScriptMessageDelegate : NSObject +namespace facebook { +namespace react { + bool operator==(const RNCWebViewMenuItemsStruct& a, const RNCWebViewMenuItemsStruct& b) + { + return b.key == a.key && b.label == a.label; + } +} +} -@property (nonatomic, weak, nullable) id scriptDelegate; +NS_ASSUME_NONNULL_END -- (nullable instancetype)initWithDelegate:(id _Nullable)scriptDelegate; - -@end - -@interface RNCWebView : RCTView - -@property (nonatomic, weak) id _Nullable delegate; -@property (nonatomic, copy) NSDictionary * _Nullable source; -@property (nonatomic, assign) BOOL messagingEnabled; -@property (nonatomic, copy) NSString * _Nullable injectedJavaScript; -@property (nonatomic, copy) NSString * _Nullable injectedJavaScriptBeforeContentLoaded; -@property (nonatomic, assign) BOOL injectedJavaScriptForMainFrameOnly; -@property (nonatomic, assign) BOOL injectedJavaScriptBeforeContentLoadedForMainFrameOnly; -@property (nonatomic, assign) BOOL scrollEnabled; -@property (nonatomic, assign) BOOL sharedCookiesEnabled; -@property (nonatomic, assign) BOOL autoManageStatusBarEnabled; -@property (nonatomic, assign) BOOL pagingEnabled; -@property (nonatomic, assign) CGFloat decelerationRate; -@property (nonatomic, assign) BOOL allowsInlineMediaPlayback; -@property (nonatomic, assign) BOOL bounces; -@property (nonatomic, assign) BOOL mediaPlaybackRequiresUserAction; -#if WEBKIT_IOS_10_APIS_AVAILABLE -@property (nonatomic, assign) WKDataDetectorTypes dataDetectorTypes; -#endif -@property (nonatomic, assign) UIEdgeInsets contentInset; -@property (nonatomic, assign) BOOL automaticallyAdjustContentInsets; -@property (nonatomic, assign) BOOL keyboardDisplayRequiresUserAction; -@property (nonatomic, assign) BOOL hideKeyboardAccessoryView; -@property (nonatomic, assign) BOOL allowsBackForwardNavigationGestures; -@property (nonatomic, assign) BOOL incognito; -@property (nonatomic, assign) BOOL useSharedProcessPool; -@property (nonatomic, copy) NSString * _Nullable userAgent; -@property (nonatomic, copy) NSString * _Nullable applicationNameForUserAgent; -@property (nonatomic, assign) BOOL cacheEnabled; -@property (nonatomic, assign) BOOL javaScriptEnabled; -@property (nonatomic, assign) BOOL javaScriptCanOpenWindowsAutomatically; -@property (nonatomic, assign) BOOL allowFileAccessFromFileURLs; -@property (nonatomic, assign) BOOL allowUniversalAccessFromFileURLs; -@property (nonatomic, assign) BOOL allowsLinkPreview; -@property (nonatomic, assign) BOOL showsHorizontalScrollIndicator; -@property (nonatomic, assign) BOOL showsVerticalScrollIndicator; -@property (nonatomic, assign) BOOL directionalLockEnabled; -@property (nonatomic, assign) BOOL ignoreSilentHardwareSwitch; -@property (nonatomic, copy) NSString * _Nullable allowingReadAccessToURL; -@property (nonatomic, copy) NSDictionary * _Nullable basicAuthCredential; -@property (nonatomic, assign) BOOL pullToRefreshEnabled; -@property (nonatomic, assign) BOOL enableApplePay; -@property (nonatomic, copy) NSArray * _Nullable menuItems; -@property (nonatomic, copy) RCTDirectEventBlock onCustomMenuSelection; -#if !TARGET_OS_OSX -@property (nonatomic, weak) UIRefreshControl * _Nullable refreshControl; -#endif - -#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000 /* iOS 13 */ -@property (nonatomic, assign) WKContentMode contentMode; -#endif - -#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 140000 /* iOS 14 */ -@property (nonatomic, assign) BOOL limitsNavigationsToAppBoundDomains; -#endif - -#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 140500 /* iOS 14.5 */ -@property (nonatomic, assign) BOOL textInteractionEnabled; -#endif - -#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 150000 /* iOS 15 */ -@property (nonatomic, assign) RNCWebViewPermissionGrantType mediaCapturePermissionGrantType; -#endif - -+ (void)setClientAuthenticationCredential:(nullable NSURLCredential*)credential; -+ (void)setCustomCertificatesForHost:(nullable NSDictionary *)certificates; -- (void)postMessage:(NSString *_Nullable)message; -- (void)injectJavaScript:(NSString *_Nullable)script; -- (void)goForward; -- (void)goBack; -- (void)reload; -- (void)stopLoading; -#if !TARGET_OS_OSX -- (void)addPullToRefreshControl; -- (void)pullToRefresh:(UIRefreshControl *_Nonnull)refreshControl; -#endif - -@end +#endif /* NativeComponentExampleComponentView_h */ +#endif /* RCT_NEW_ARCH_ENABLED */ diff --git a/Frameworks/react-native-webview.xcframework/ios-arm64/Headers/RNCWebViewDecisionManager.h b/Frameworks/react-native-webview.xcframework/ios-arm64/Headers/RNCWebViewDecisionManager.h new file mode 100644 index 0000000..da01fba --- /dev/null +++ b/Frameworks/react-native-webview.xcframework/ios-arm64/Headers/RNCWebViewDecisionManager.h @@ -0,0 +1,20 @@ +#import +#import +#import + +typedef void (^DecisionBlock)(BOOL); + +@interface RNCWebViewDecisionManager : NSObject { + int nextLockIdentifier; + NSMutableDictionary *decisionHandlers; +} + +@property (nonatomic) int nextLockIdentifier; +@property (nonatomic, retain) NSMutableDictionary *decisionHandlers; + ++ (id) getInstance; + +- (int)setDecisionHandler:(DecisionBlock)handler; +- (void) setResult:(BOOL)shouldStart + forLockIdentifier:(int)lockIdentifier; +@end diff --git a/Frameworks/react-native-webview.xcframework/ios-arm64/Headers/RNCWebViewImpl.h b/Frameworks/react-native-webview.xcframework/ios-arm64/Headers/RNCWebViewImpl.h new file mode 100644 index 0000000..d860e5c --- /dev/null +++ b/Frameworks/react-native-webview.xcframework/ios-arm64/Headers/RNCWebViewImpl.h @@ -0,0 +1,146 @@ +/** + * Copyright (c) 2015-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import + +#if !TARGET_OS_OSX +#import +#endif // !TARGET_OS_OSX + +#import "RNCWebViewDecisionManager.h" + +typedef enum RNCWebViewPermissionGrantType : NSUInteger { + RNCWebViewPermissionGrantType_GrantIfSameHost_ElsePrompt, + RNCWebViewPermissionGrantType_GrantIfSameHost_ElseDeny, + RNCWebViewPermissionGrantType_Deny, + RNCWebViewPermissionGrantType_Grant, + RNCWebViewPermissionGrantType_Prompt +} RNCWebViewPermissionGrantType; + +@class RNCWebViewImpl; + +NS_ASSUME_NONNULL_BEGIN + +@protocol RNCWebViewDelegate + +- (BOOL)webView:(RNCWebViewImpl *)webView +shouldStartLoadForRequest:(NSMutableDictionary *)request + withCallback:(RCTDirectEventBlock)callback; + +@end + +@interface RNCWeakScriptMessageDelegate : NSObject + +@property (nonatomic, weak, nullable) id scriptDelegate; + +- (nullable instancetype)initWithDelegate:(id _Nullable)scriptDelegate; + +@end + +@interface RNCWebViewImpl : RCTView +@property (nonatomic, copy) RCTDirectEventBlock onFileDownload; +@property (nonatomic, copy) RCTDirectEventBlock onLoadingStart; +@property (nonatomic, copy) RCTDirectEventBlock onLoadingFinish; +@property (nonatomic, copy) RCTDirectEventBlock onLoadingError; +@property (nonatomic, copy) RCTDirectEventBlock onLoadingProgress; +@property (nonatomic, copy) RCTDirectEventBlock onShouldStartLoadWithRequest; +@property (nonatomic, copy) RCTDirectEventBlock onHttpError; +@property (nonatomic, copy) RCTDirectEventBlock onMessage; +@property (nonatomic, copy) RCTDirectEventBlock onScroll; +@property (nonatomic, copy) RCTDirectEventBlock onContentProcessDidTerminate; + + +@property (nonatomic, weak) id _Nullable delegate; +@property (nonatomic, copy) NSDictionary * _Nullable source; +@property (nonatomic, assign) BOOL messagingEnabled; +@property (nonatomic, copy) NSString * _Nullable injectedJavaScript; +@property (nonatomic, copy) NSString * _Nullable injectedJavaScriptBeforeContentLoaded; +@property (nonatomic, assign) BOOL injectedJavaScriptForMainFrameOnly; +@property (nonatomic, assign) BOOL injectedJavaScriptBeforeContentLoadedForMainFrameOnly; +@property (nonatomic, assign) BOOL scrollEnabled; +@property (nonatomic, assign) BOOL sharedCookiesEnabled; +@property (nonatomic, assign) BOOL autoManageStatusBarEnabled; +@property (nonatomic, assign) BOOL pagingEnabled; +@property (nonatomic, assign) CGFloat decelerationRate; +@property (nonatomic, assign) BOOL allowsInlineMediaPlayback; +@property (nonatomic, assign) BOOL webviewDebuggingEnabled; +@property (nonatomic, assign) BOOL allowsAirPlayForMediaPlayback; +@property (nonatomic, assign) BOOL bounces; +@property (nonatomic, assign) BOOL mediaPlaybackRequiresUserAction; +@property (nonatomic, assign) UIEdgeInsets contentInset; +@property (nonatomic, assign) BOOL automaticallyAdjustContentInsets; +@property (nonatomic, assign) BOOL keyboardDisplayRequiresUserAction; +@property (nonatomic, assign) BOOL hideKeyboardAccessoryView; +@property (nonatomic, assign) BOOL allowsBackForwardNavigationGestures; +@property (nonatomic, assign) BOOL incognito; +@property (nonatomic, assign) BOOL useSharedProcessPool; +@property (nonatomic, copy) NSString * _Nullable userAgent; +@property (nonatomic, copy) NSString * _Nullable applicationNameForUserAgent; +@property (nonatomic, assign) BOOL cacheEnabled; +@property (nonatomic, assign) BOOL javaScriptEnabled; +@property (nonatomic, assign) BOOL javaScriptCanOpenWindowsAutomatically; +@property (nonatomic, assign) BOOL allowFileAccessFromFileURLs; +@property (nonatomic, assign) BOOL allowUniversalAccessFromFileURLs; +@property (nonatomic, assign) BOOL allowsLinkPreview; +@property (nonatomic, assign) BOOL showsHorizontalScrollIndicator; +@property (nonatomic, assign) BOOL showsVerticalScrollIndicator; +@property (nonatomic, assign) BOOL directionalLockEnabled; +@property (nonatomic, assign) BOOL ignoreSilentHardwareSwitch; +@property (nonatomic, copy) NSString * _Nullable allowingReadAccessToURL; +@property (nonatomic, copy) NSDictionary * _Nullable basicAuthCredential; +@property (nonatomic, assign) BOOL pullToRefreshEnabled; +@property (nonatomic, assign) BOOL enableApplePay; +@property (nonatomic, copy) NSArray * _Nullable menuItems; +@property (nonatomic, copy) RCTDirectEventBlock onCustomMenuSelection; +#if !TARGET_OS_OSX +@property (nonatomic, assign) WKDataDetectorTypes dataDetectorTypes; +@property (nonatomic, weak) UIRefreshControl * _Nullable refreshControl; +#endif + +#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000 /* iOS 13 */ +@property (nonatomic, assign) WKContentMode contentMode; +#endif + +#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 140000 /* iOS 14 */ +@property (nonatomic, assign) BOOL limitsNavigationsToAppBoundDomains; +#endif + +#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 140500 /* iOS 14.5 */ +@property (nonatomic, assign) BOOL textInteractionEnabled; +#endif + +#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 150000 /* iOS 15 */ +@property (nonatomic, assign) RNCWebViewPermissionGrantType mediaCapturePermissionGrantType; +#endif + +#if !TARGET_OS_OSX +- (void)setContentInsetAdjustmentBehavior:(UIScrollViewContentInsetAdjustmentBehavior)behavior; +#endif // !TARGET_OS_OSX + ++ (void)setClientAuthenticationCredential:(nullable NSURLCredential*)credential; ++ (void)setCustomCertificatesForHost:(nullable NSDictionary *)certificates; +- (void)postMessage:(NSString *_Nullable)message; +- (void)injectJavaScript:(NSString *_Nullable)script; +- (void)goForward; +- (void)goBack; +- (void)reload; +- (void)stopLoading; +- (void)requestFocus; +#ifdef RCT_NEW_ARCH_ENABLED +- (void)destroyWebView; +#endif +#if !TARGET_OS_OSX +- (void)addPullToRefreshControl; +- (void)pullToRefresh:(UIRefreshControl *)refreshControl; +#endif + +@end + +NS_ASSUME_NONNULL_END diff --git a/Frameworks/react-native-webview.xcframework/ios-arm64/Headers/RNCWebViewManager.h b/Frameworks/react-native-webview.xcframework/ios-arm64/Headers/RNCWebViewManager.h index c7252e5..af000be 100644 --- a/Frameworks/react-native-webview.xcframework/ios-arm64/Headers/RNCWebViewManager.h +++ b/Frameworks/react-native-webview.xcframework/ios-arm64/Headers/RNCWebViewManager.h @@ -1,13 +1,9 @@ -/** - * Copyright (c) 2015-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ +#ifndef RNCWebViewManager_h +#define RNCWebViewManager_h #import @interface RNCWebViewManager : RCTViewManager - @property (nonatomic, copy) NSArray * _Nullable menuItems; - @property (nonatomic, copy) RCTDirectEventBlock onCustomMenuSelection; @end + +#endif /* RNCWebViewManager_h */ diff --git a/Frameworks/react-native-webview.xcframework/ios-arm64/libreact-native-webview.a b/Frameworks/react-native-webview.xcframework/ios-arm64/libreact-native-webview.a index b85812e..dc139da 100644 Binary files a/Frameworks/react-native-webview.xcframework/ios-arm64/libreact-native-webview.a and b/Frameworks/react-native-webview.xcframework/ios-arm64/libreact-native-webview.a differ diff --git a/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/Headers/RNCWebView.h b/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/Headers/RNCWebView.h index 33a67ae..d359365 100644 --- a/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/Headers/RNCWebView.h +++ b/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/Headers/RNCWebView.h @@ -1,116 +1,29 @@ -/** - * Copyright (c) 2015-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ +// This guard prevent this file to be compiled in the old architecture. +#ifdef RCT_NEW_ARCH_ENABLED +#import +#import +#import +#import +#import -#import -#import -#import +#ifndef NativeComponentExampleComponentView_h +#define NativeComponentExampleComponentView_h -typedef enum RNCWebViewPermissionGrantType : NSUInteger { - RNCWebViewPermissionGrantType_GrantIfSameHost_ElsePrompt, - RNCWebViewPermissionGrantType_GrantIfSameHost_ElseDeny, - RNCWebViewPermissionGrantType_Deny, - RNCWebViewPermissionGrantType_Grant, - RNCWebViewPermissionGrantType_Prompt -} RNCWebViewPermissionGrantType; - -@class RNCWebView; - -@protocol RNCWebViewDelegate - -- (BOOL)webView:(RNCWebView *_Nonnull)webView - shouldStartLoadForRequest:(NSMutableDictionary *_Nonnull)request - withCallback:(RCTDirectEventBlock _Nonnull)callback; +NS_ASSUME_NONNULL_BEGIN +@interface RNCWebView : RCTViewComponentView @end -@interface RNCWeakScriptMessageDelegate : NSObject +namespace facebook { +namespace react { + bool operator==(const RNCWebViewMenuItemsStruct& a, const RNCWebViewMenuItemsStruct& b) + { + return b.key == a.key && b.label == a.label; + } +} +} -@property (nonatomic, weak, nullable) id scriptDelegate; +NS_ASSUME_NONNULL_END -- (nullable instancetype)initWithDelegate:(id _Nullable)scriptDelegate; - -@end - -@interface RNCWebView : RCTView - -@property (nonatomic, weak) id _Nullable delegate; -@property (nonatomic, copy) NSDictionary * _Nullable source; -@property (nonatomic, assign) BOOL messagingEnabled; -@property (nonatomic, copy) NSString * _Nullable injectedJavaScript; -@property (nonatomic, copy) NSString * _Nullable injectedJavaScriptBeforeContentLoaded; -@property (nonatomic, assign) BOOL injectedJavaScriptForMainFrameOnly; -@property (nonatomic, assign) BOOL injectedJavaScriptBeforeContentLoadedForMainFrameOnly; -@property (nonatomic, assign) BOOL scrollEnabled; -@property (nonatomic, assign) BOOL sharedCookiesEnabled; -@property (nonatomic, assign) BOOL autoManageStatusBarEnabled; -@property (nonatomic, assign) BOOL pagingEnabled; -@property (nonatomic, assign) CGFloat decelerationRate; -@property (nonatomic, assign) BOOL allowsInlineMediaPlayback; -@property (nonatomic, assign) BOOL bounces; -@property (nonatomic, assign) BOOL mediaPlaybackRequiresUserAction; -#if WEBKIT_IOS_10_APIS_AVAILABLE -@property (nonatomic, assign) WKDataDetectorTypes dataDetectorTypes; -#endif -@property (nonatomic, assign) UIEdgeInsets contentInset; -@property (nonatomic, assign) BOOL automaticallyAdjustContentInsets; -@property (nonatomic, assign) BOOL keyboardDisplayRequiresUserAction; -@property (nonatomic, assign) BOOL hideKeyboardAccessoryView; -@property (nonatomic, assign) BOOL allowsBackForwardNavigationGestures; -@property (nonatomic, assign) BOOL incognito; -@property (nonatomic, assign) BOOL useSharedProcessPool; -@property (nonatomic, copy) NSString * _Nullable userAgent; -@property (nonatomic, copy) NSString * _Nullable applicationNameForUserAgent; -@property (nonatomic, assign) BOOL cacheEnabled; -@property (nonatomic, assign) BOOL javaScriptEnabled; -@property (nonatomic, assign) BOOL javaScriptCanOpenWindowsAutomatically; -@property (nonatomic, assign) BOOL allowFileAccessFromFileURLs; -@property (nonatomic, assign) BOOL allowUniversalAccessFromFileURLs; -@property (nonatomic, assign) BOOL allowsLinkPreview; -@property (nonatomic, assign) BOOL showsHorizontalScrollIndicator; -@property (nonatomic, assign) BOOL showsVerticalScrollIndicator; -@property (nonatomic, assign) BOOL directionalLockEnabled; -@property (nonatomic, assign) BOOL ignoreSilentHardwareSwitch; -@property (nonatomic, copy) NSString * _Nullable allowingReadAccessToURL; -@property (nonatomic, copy) NSDictionary * _Nullable basicAuthCredential; -@property (nonatomic, assign) BOOL pullToRefreshEnabled; -@property (nonatomic, assign) BOOL enableApplePay; -@property (nonatomic, copy) NSArray * _Nullable menuItems; -@property (nonatomic, copy) RCTDirectEventBlock onCustomMenuSelection; -#if !TARGET_OS_OSX -@property (nonatomic, weak) UIRefreshControl * _Nullable refreshControl; -#endif - -#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000 /* iOS 13 */ -@property (nonatomic, assign) WKContentMode contentMode; -#endif - -#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 140000 /* iOS 14 */ -@property (nonatomic, assign) BOOL limitsNavigationsToAppBoundDomains; -#endif - -#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 140500 /* iOS 14.5 */ -@property (nonatomic, assign) BOOL textInteractionEnabled; -#endif - -#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 150000 /* iOS 15 */ -@property (nonatomic, assign) RNCWebViewPermissionGrantType mediaCapturePermissionGrantType; -#endif - -+ (void)setClientAuthenticationCredential:(nullable NSURLCredential*)credential; -+ (void)setCustomCertificatesForHost:(nullable NSDictionary *)certificates; -- (void)postMessage:(NSString *_Nullable)message; -- (void)injectJavaScript:(NSString *_Nullable)script; -- (void)goForward; -- (void)goBack; -- (void)reload; -- (void)stopLoading; -#if !TARGET_OS_OSX -- (void)addPullToRefreshControl; -- (void)pullToRefresh:(UIRefreshControl *_Nonnull)refreshControl; -#endif - -@end +#endif /* NativeComponentExampleComponentView_h */ +#endif /* RCT_NEW_ARCH_ENABLED */ diff --git a/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/Headers/RNCWebViewDecisionManager.h b/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/Headers/RNCWebViewDecisionManager.h new file mode 100644 index 0000000..da01fba --- /dev/null +++ b/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/Headers/RNCWebViewDecisionManager.h @@ -0,0 +1,20 @@ +#import +#import +#import + +typedef void (^DecisionBlock)(BOOL); + +@interface RNCWebViewDecisionManager : NSObject { + int nextLockIdentifier; + NSMutableDictionary *decisionHandlers; +} + +@property (nonatomic) int nextLockIdentifier; +@property (nonatomic, retain) NSMutableDictionary *decisionHandlers; + ++ (id) getInstance; + +- (int)setDecisionHandler:(DecisionBlock)handler; +- (void) setResult:(BOOL)shouldStart + forLockIdentifier:(int)lockIdentifier; +@end diff --git a/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/Headers/RNCWebViewImpl.h b/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/Headers/RNCWebViewImpl.h new file mode 100644 index 0000000..d860e5c --- /dev/null +++ b/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/Headers/RNCWebViewImpl.h @@ -0,0 +1,146 @@ +/** + * Copyright (c) 2015-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import + +#if !TARGET_OS_OSX +#import +#endif // !TARGET_OS_OSX + +#import "RNCWebViewDecisionManager.h" + +typedef enum RNCWebViewPermissionGrantType : NSUInteger { + RNCWebViewPermissionGrantType_GrantIfSameHost_ElsePrompt, + RNCWebViewPermissionGrantType_GrantIfSameHost_ElseDeny, + RNCWebViewPermissionGrantType_Deny, + RNCWebViewPermissionGrantType_Grant, + RNCWebViewPermissionGrantType_Prompt +} RNCWebViewPermissionGrantType; + +@class RNCWebViewImpl; + +NS_ASSUME_NONNULL_BEGIN + +@protocol RNCWebViewDelegate + +- (BOOL)webView:(RNCWebViewImpl *)webView +shouldStartLoadForRequest:(NSMutableDictionary *)request + withCallback:(RCTDirectEventBlock)callback; + +@end + +@interface RNCWeakScriptMessageDelegate : NSObject + +@property (nonatomic, weak, nullable) id scriptDelegate; + +- (nullable instancetype)initWithDelegate:(id _Nullable)scriptDelegate; + +@end + +@interface RNCWebViewImpl : RCTView +@property (nonatomic, copy) RCTDirectEventBlock onFileDownload; +@property (nonatomic, copy) RCTDirectEventBlock onLoadingStart; +@property (nonatomic, copy) RCTDirectEventBlock onLoadingFinish; +@property (nonatomic, copy) RCTDirectEventBlock onLoadingError; +@property (nonatomic, copy) RCTDirectEventBlock onLoadingProgress; +@property (nonatomic, copy) RCTDirectEventBlock onShouldStartLoadWithRequest; +@property (nonatomic, copy) RCTDirectEventBlock onHttpError; +@property (nonatomic, copy) RCTDirectEventBlock onMessage; +@property (nonatomic, copy) RCTDirectEventBlock onScroll; +@property (nonatomic, copy) RCTDirectEventBlock onContentProcessDidTerminate; + + +@property (nonatomic, weak) id _Nullable delegate; +@property (nonatomic, copy) NSDictionary * _Nullable source; +@property (nonatomic, assign) BOOL messagingEnabled; +@property (nonatomic, copy) NSString * _Nullable injectedJavaScript; +@property (nonatomic, copy) NSString * _Nullable injectedJavaScriptBeforeContentLoaded; +@property (nonatomic, assign) BOOL injectedJavaScriptForMainFrameOnly; +@property (nonatomic, assign) BOOL injectedJavaScriptBeforeContentLoadedForMainFrameOnly; +@property (nonatomic, assign) BOOL scrollEnabled; +@property (nonatomic, assign) BOOL sharedCookiesEnabled; +@property (nonatomic, assign) BOOL autoManageStatusBarEnabled; +@property (nonatomic, assign) BOOL pagingEnabled; +@property (nonatomic, assign) CGFloat decelerationRate; +@property (nonatomic, assign) BOOL allowsInlineMediaPlayback; +@property (nonatomic, assign) BOOL webviewDebuggingEnabled; +@property (nonatomic, assign) BOOL allowsAirPlayForMediaPlayback; +@property (nonatomic, assign) BOOL bounces; +@property (nonatomic, assign) BOOL mediaPlaybackRequiresUserAction; +@property (nonatomic, assign) UIEdgeInsets contentInset; +@property (nonatomic, assign) BOOL automaticallyAdjustContentInsets; +@property (nonatomic, assign) BOOL keyboardDisplayRequiresUserAction; +@property (nonatomic, assign) BOOL hideKeyboardAccessoryView; +@property (nonatomic, assign) BOOL allowsBackForwardNavigationGestures; +@property (nonatomic, assign) BOOL incognito; +@property (nonatomic, assign) BOOL useSharedProcessPool; +@property (nonatomic, copy) NSString * _Nullable userAgent; +@property (nonatomic, copy) NSString * _Nullable applicationNameForUserAgent; +@property (nonatomic, assign) BOOL cacheEnabled; +@property (nonatomic, assign) BOOL javaScriptEnabled; +@property (nonatomic, assign) BOOL javaScriptCanOpenWindowsAutomatically; +@property (nonatomic, assign) BOOL allowFileAccessFromFileURLs; +@property (nonatomic, assign) BOOL allowUniversalAccessFromFileURLs; +@property (nonatomic, assign) BOOL allowsLinkPreview; +@property (nonatomic, assign) BOOL showsHorizontalScrollIndicator; +@property (nonatomic, assign) BOOL showsVerticalScrollIndicator; +@property (nonatomic, assign) BOOL directionalLockEnabled; +@property (nonatomic, assign) BOOL ignoreSilentHardwareSwitch; +@property (nonatomic, copy) NSString * _Nullable allowingReadAccessToURL; +@property (nonatomic, copy) NSDictionary * _Nullable basicAuthCredential; +@property (nonatomic, assign) BOOL pullToRefreshEnabled; +@property (nonatomic, assign) BOOL enableApplePay; +@property (nonatomic, copy) NSArray * _Nullable menuItems; +@property (nonatomic, copy) RCTDirectEventBlock onCustomMenuSelection; +#if !TARGET_OS_OSX +@property (nonatomic, assign) WKDataDetectorTypes dataDetectorTypes; +@property (nonatomic, weak) UIRefreshControl * _Nullable refreshControl; +#endif + +#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000 /* iOS 13 */ +@property (nonatomic, assign) WKContentMode contentMode; +#endif + +#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 140000 /* iOS 14 */ +@property (nonatomic, assign) BOOL limitsNavigationsToAppBoundDomains; +#endif + +#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 140500 /* iOS 14.5 */ +@property (nonatomic, assign) BOOL textInteractionEnabled; +#endif + +#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 150000 /* iOS 15 */ +@property (nonatomic, assign) RNCWebViewPermissionGrantType mediaCapturePermissionGrantType; +#endif + +#if !TARGET_OS_OSX +- (void)setContentInsetAdjustmentBehavior:(UIScrollViewContentInsetAdjustmentBehavior)behavior; +#endif // !TARGET_OS_OSX + ++ (void)setClientAuthenticationCredential:(nullable NSURLCredential*)credential; ++ (void)setCustomCertificatesForHost:(nullable NSDictionary *)certificates; +- (void)postMessage:(NSString *_Nullable)message; +- (void)injectJavaScript:(NSString *_Nullable)script; +- (void)goForward; +- (void)goBack; +- (void)reload; +- (void)stopLoading; +- (void)requestFocus; +#ifdef RCT_NEW_ARCH_ENABLED +- (void)destroyWebView; +#endif +#if !TARGET_OS_OSX +- (void)addPullToRefreshControl; +- (void)pullToRefresh:(UIRefreshControl *)refreshControl; +#endif + +@end + +NS_ASSUME_NONNULL_END diff --git a/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/Headers/RNCWebViewManager.h b/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/Headers/RNCWebViewManager.h index c7252e5..af000be 100644 --- a/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/Headers/RNCWebViewManager.h +++ b/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/Headers/RNCWebViewManager.h @@ -1,13 +1,9 @@ -/** - * Copyright (c) 2015-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ +#ifndef RNCWebViewManager_h +#define RNCWebViewManager_h #import @interface RNCWebViewManager : RCTViewManager - @property (nonatomic, copy) NSArray * _Nullable menuItems; - @property (nonatomic, copy) RCTDirectEventBlock onCustomMenuSelection; @end + +#endif /* RNCWebViewManager_h */ diff --git a/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/libreact-native-webview.a b/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/libreact-native-webview.a index 36c7a50..d25e20f 100644 Binary files a/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/libreact-native-webview.a and b/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/libreact-native-webview.a differ diff --git a/Frameworks/react-native-zip-archive.xcframework/Info.plist b/Frameworks/react-native-zip-archive.xcframework/Info.plist index d8abd04..ba9faa2 100644 --- a/Frameworks/react-native-zip-archive.xcframework/Info.plist +++ b/Frameworks/react-native-zip-archive.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libreact-native-zip-archive.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-zip-archive.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libreact-native-zip-archive.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libreact-native-zip-archive.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-zip-archive.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/react-native-zip-archive.xcframework/ios-arm64/libreact-native-zip-archive.a b/Frameworks/react-native-zip-archive.xcframework/ios-arm64/libreact-native-zip-archive.a index ebff4a3..7792a8f 100644 Binary files a/Frameworks/react-native-zip-archive.xcframework/ios-arm64/libreact-native-zip-archive.a and b/Frameworks/react-native-zip-archive.xcframework/ios-arm64/libreact-native-zip-archive.a differ diff --git a/Frameworks/react-native-zip-archive.xcframework/ios-arm64_x86_64-simulator/libreact-native-zip-archive.a b/Frameworks/react-native-zip-archive.xcframework/ios-arm64_x86_64-simulator/libreact-native-zip-archive.a index 6627caf..15f45a6 100644 Binary files a/Frameworks/react-native-zip-archive.xcframework/ios-arm64_x86_64-simulator/libreact-native-zip-archive.a and b/Frameworks/react-native-zip-archive.xcframework/ios-arm64_x86_64-simulator/libreact-native-zip-archive.a differ diff --git a/Frameworks/rn-fetch-blob.xcframework/Info.plist b/Frameworks/rn-fetch-blob.xcframework/Info.plist index 75cf30c..540c783 100644 --- a/Frameworks/rn-fetch-blob.xcframework/Info.plist +++ b/Frameworks/rn-fetch-blob.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - librn-fetch-blob.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - librn-fetch-blob.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath librn-fetch-blob.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + librn-fetch-blob.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + librn-fetch-blob.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/rn-fetch-blob.xcframework/ios-arm64/librn-fetch-blob.a b/Frameworks/rn-fetch-blob.xcframework/ios-arm64/librn-fetch-blob.a index a0d17c8..f5ee599 100644 Binary files a/Frameworks/rn-fetch-blob.xcframework/ios-arm64/librn-fetch-blob.a and b/Frameworks/rn-fetch-blob.xcframework/ios-arm64/librn-fetch-blob.a differ diff --git a/Frameworks/rn-fetch-blob.xcframework/ios-arm64_x86_64-simulator/librn-fetch-blob.a b/Frameworks/rn-fetch-blob.xcframework/ios-arm64_x86_64-simulator/librn-fetch-blob.a index b30b896..91bc269 100644 Binary files a/Frameworks/rn-fetch-blob.xcframework/ios-arm64_x86_64-simulator/librn-fetch-blob.a and b/Frameworks/rn-fetch-blob.xcframework/ios-arm64_x86_64-simulator/librn-fetch-blob.a differ diff --git a/NewsmemorySDK.podspec b/NewsmemorySDK.podspec index 7035ffa..7cb6f01 100644 --- a/NewsmemorySDK.podspec +++ b/NewsmemorySDK.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'NewsmemorySDK' - s.version = '3.16.09' + s.version = '3.16.13' s.description = 'Components and configuration for Tecnavia Newsmemory ePaper solution SDK.' s.summary = 'Components for Tecnavia Newsmemory SDK.' s.homepage = 'https://www.tecnavia.com' @@ -29,7 +29,7 @@ Pod::Spec.new do |s| s.user_target_xcconfig = { 'CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER' => 'NO', 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) COCOAPODS=1 $(inherited) SD_WEBP=1 $(inherited) PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 PB_ENABLE_MALLOC=1', - 'HEADER_SEARCH_PATHS' => '$(inherited) ${TECNAVIA_FRAMEWORKS_DIR}/BVLinearGradient.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/DoubleConversion.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/DynamicFonts.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/Newsmemory.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RCT-Folly.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RCTTypeSafety.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNCAsyncStorage.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNDateTimePicker.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNDefaultPreference.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNDeviceInfo.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNFS.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNFastImage.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNGestureHandler.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNOpenAppSettings.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNReanimated.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNSVG.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNScreens.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNShare.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNTextSize.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNVectorIcons.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNVolumeController.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-Codegen.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-Core.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-CoreModules.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTAnimation.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTBlob.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTImage.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTLinking.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTNetwork.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTSettings.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTText.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTVibration.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-bridging.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-cxxreact.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-jsi.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-jsiexecutor.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-jsinspector.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-logger.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-perflogger.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/ReactCommon.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/ReactNativeART.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/TextToSpeech.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/Yoga.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/glog.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-bridge.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-color-matrix-image-filters.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-cookies.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-dfp.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-geolocation.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-html-to-pdf.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-idle-timer.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-image-editor.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-image-marker.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-mail.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-netinfo.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-pager-view.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-pdf.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-photo-view-ex.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-print.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-safe-area-context.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-slider.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-splash-screen.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-sqlite-storage.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-uuid-generator.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-video.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-web-analytics.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-webview.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-zip-archive.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/rn-fetch-blob.xcframework/**', + 'HEADER_SEARCH_PATHS' => '$(inherited) ${TECNAVIA_FRAMEWORKS_DIR}/BVLinearGradient.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/DoubleConversion.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/DynamicFonts.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/Newsmemory.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RCT-Folly.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RCTTypeSafety.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNCAsyncStorage.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNDateTimePicker.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNDefaultPreference.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNDeviceInfo.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNFS.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNFastImage.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNGestureHandler.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNReanimated.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNSVG.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNScreens.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNShare.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNTextSize.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNVectorIcons.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/RNVolumeController.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-Codegen.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-Core.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-CoreModules.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTAnimation.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTBlob.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTImage.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTLinking.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTNetwork.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTSettings.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTText.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-RCTVibration.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-bridging.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-cxxreact.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-jsi.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-jsiexecutor.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-jsinspector.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-logger.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/React-perflogger.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/ReactCommon.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/TextToSpeech.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/Yoga.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/glog.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-bridge.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-color-matrix-image-filters.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-cookies.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-dfp.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-geolocation.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-html-to-pdf.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-idle-timer.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-image-editor.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-image-marker.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-mail.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-netinfo.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-pager-view.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-pdf.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-photo-view-ex.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-print.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-safe-area-context.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-slider.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-splash-screen.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-sqlite-storage.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-uuid-generator.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-video.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-web-analytics.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-webview.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/react-native-zip-archive.xcframework/** ${TECNAVIA_FRAMEWORKS_DIR}/rn-fetch-blob.xcframework/**', 'OTHER_CFLAGS' => '$(inherited) -DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32 -DREACT_NATIVE_MINOR_VERSION=70 -DREANIMATED_VERSION=2.17.0', 'OTHER_LDFLAGS' => '$(inherited) -ObjC -l"c++" -l"c++abi" -l"iconv" -l"sqlite3" -l"z"', 'OTHER_SWIFT_FLAGS' => '$(inherited) -D COCOAPODS', diff --git a/Other/Resources/Newsmemory.js b/Other/Resources/Newsmemory.js index 526ea08..15bd1d0 100644 --- a/Other/Resources/Newsmemory.js +++ b/Other/Resources/Newsmemory.js @@ -3,7 +3,7 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date. !(function(n){var e=(function(){function n(n,e){return n}function e(n){var e={};return n.forEach(function(n,r){e[n]=!0}),e}function r(n,r,u){if(n.formatValueCalls++,n.formatValueCalls>200)return"[TOO BIG formatValueCalls "+n.formatValueCalls+" exceeded limit of 200]";var f=t(n,r);if(f)return f;var c=Object.keys(r),s=e(c);if(d(r)&&(c.indexOf('message')>=0||c.indexOf('description')>=0))return o(r);if(0===c.length){if(v(r)){var g=r.name?': '+r.name:'';return n.stylize('[Function'+g+']','special')}if(p(r))return n.stylize(RegExp.prototype.toString.call(r),'regexp');if(y(r))return n.stylize(Date.prototype.toString.call(r),'date');if(d(r))return o(r)}var h,b,m='',j=!1,O=['{','}'];(h=r,Array.isArray(h)&&(j=!0,O=['[',']']),v(r))&&(m=' [Function'+(r.name?': '+r.name:'')+']');return p(r)&&(m=' '+RegExp.prototype.toString.call(r)),y(r)&&(m=' '+Date.prototype.toUTCString.call(r)),d(r)&&(m=' '+o(r)),0!==c.length||j&&0!=r.length?u<0?p(r)?n.stylize(RegExp.prototype.toString.call(r),'regexp'):n.stylize('[Object]','special'):(n.seen.push(r),b=j?i(n,r,u,s,c):c.map(function(e){return l(n,r,u,s,e,j)}),n.seen.pop(),a(b,m,O)):O[0]+m+O[1]}function t(n,e){if(s(e))return n.stylize('undefined','undefined');if('string'==typeof e){var r="'"+JSON.stringify(e).replace(/^"|"$/g,'').replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(r,'string')}return c(e)?n.stylize(''+e,'number'):u(e)?n.stylize(''+e,'boolean'):f(e)?n.stylize('null','null'):void 0}function o(n){return'['+Error.prototype.toString.call(n)+']'}function i(n,e,r,t,o){for(var i=[],a=0,u=e.length;a-1&&(u=l?u.split('\n').map(function(n){return' '+n}).join('\n').substr(2):'\n'+u.split('\n').map(function(n){return' '+n}).join('\n')):u=n.stylize('[Circular]','special')),s(a)){if(l&&i.match(/^\d+$/))return u;(a=JSON.stringify(''+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=n.stylize(a,'name')):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=n.stylize(a,'string'))}return a+': '+u}function a(n,e,r){return n.reduce(function(n,e){return 0,e.indexOf('\n')>=0&&0,n+e.replace(/\u001b\[\d\d?m/g,'').length+1},0)>60?r[0]+(''===e?'':e+'\n ')+' '+n.join(',\n ')+' '+r[1]:r[0]+e+' '+n.join(', ')+' '+r[1]}function u(n){return'boolean'==typeof n}function f(n){return null===n}function c(n){return'number'==typeof n}function s(n){return void 0===n}function p(n){return g(n)&&'[object RegExp]'===h(n)}function g(n){return'object'==typeof n&&null!==n}function y(n){return g(n)&&'[object Date]'===h(n)}function d(n){return g(n)&&('[object Error]'===h(n)||n instanceof Error)}function v(n){return'function'==typeof n}function h(n){return Object.prototype.toString.call(n)}function b(n,e){return Object.prototype.hasOwnProperty.call(n,e)}return function(e,t){return r({seen:[],formatValueCalls:0,stylize:n},e,t.depth)}})(),r='(index)',t={trace:0,info:1,warn:2,error:3},o=[];o[t.trace]='debug',o[t.info]='log',o[t.warn]='warning',o[t.error]='error';var i=1;function l(r){return function(){var l;l=1===arguments.length&&'string'==typeof arguments[0]?arguments[0]:Array.prototype.map.call(arguments,function(n){return e(n,{depth:10})}).join(', ');var a=arguments[0],u=r;'string'==typeof a&&'Warning: '===a.slice(0,9)&&u>=t.error&&(u=t.warn),n.__inspectorLog&&n.__inspectorLog(o[u],l,[].slice.call(arguments),i),s.length&&(l=p('',l)),n.nativeLoggingHook(l,u)}}function a(n,e){return Array.apply(null,Array(e)).map(function(){return n})}var u="\u2502",f="\u2510",c="\u2518",s=[];function p(n,e){return s.join('')+n+' '+(e||'')}if(n.nativeLoggingHook){n.console;n.console={error:l(t.error),info:l(t.info),log:l(t.info),warn:l(t.warn),trace:l(t.trace),debug:l(t.trace),table:function(e){if(!Array.isArray(e)){var o=e;for(var i in e=[],o)if(o.hasOwnProperty(i)){var l=o[i];l[r]=i,e.push(l)}}if(0!==e.length){var u=Object.keys(e[0]).sort(),f=[],c=[];u.forEach(function(n,r){c[r]=n.length;for(var t=0;t';return function(){for(var r=arguments.length,u=new Array(r),e=0;e0:w,O=t.overshootRight,A=void 0===O?v>0:O,R=r.Animated.add(s,a.interpolate({inputRange:[0,n],outputRange:[0,1]})).interpolate({inputRange:[-v-(A?1:o),-v,p,p+(S?1:o)],outputRange:[-v-(A||o>1?1:0),-v,p,p+(S||o>1?1:0)]});i.transX=R,i.showLeftAction=p>0?R.interpolate({inputRange:[-1,0,p],outputRange:[0,0,1]}):new r.Animated.Value(0),i.leftActionTranslate=i.showLeftAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'}),i.showRightAction=v>0?R.interpolate({inputRange:[-v,0,1],outputRange:[1,0,0]}):new r.Animated.Value(0),i.rightActionTranslate=i.showRightAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'})},i.onTapHandlerStateChange=function(t){t.nativeEvent.oldState===_r(d[8]).State.ACTIVE&&i.close()},i.onHandlerStateChange=function(t){t.nativeEvent.oldState===_r(d[8]).State.ACTIVE&&i.handleRelease(t)},i.handleRelease=function(t){var e=t.nativeEvent,n=e.velocityX,o=e.translationX,a=i.state,r=a.leftWidth,s=void 0===r?0:r,l=a.rowWidth,u=void 0===l?0:l,h=a.rowState,f=i.state.rightOffset,c=u-(void 0===f?u:f),v=i.props,w=v.friction,S=v.leftThreshold,O=void 0===S?s/2:S,A=v.rightThreshold,R=void 0===A?c/2:A,b=i.currentOffset()+o/w,y=(o+p*n)/w,W=0;0===h?y>O?W=s:y<-R&&(W=-c):1===h?y>-O&&(W=s):y0&&i.props.onSwipeableLeftOpen?i.props.onSwipeableLeftOpen():e<0&&i.props.onSwipeableRightOpen&&i.props.onSwipeableRightOpen(),0===e?null==i.props.onSwipeableClose||i.props.onSwipeableClose():null==i.props.onSwipeableOpen||i.props.onSwipeableOpen())}),e>0&&i.props.onSwipeableLeftWillOpen?i.props.onSwipeableLeftWillOpen():e<0&&i.props.onSwipeableRightWillOpen&&i.props.onSwipeableRightWillOpen(),0===e?null==i.props.onSwipeableWillClose||i.props.onSwipeableWillClose():null==i.props.onSwipeableWillOpen||i.props.onSwipeableWillOpen()},i.onRowLayout=function(t){var e=t.nativeEvent;i.setState({rowWidth:e.layout.width})},i.currentOffset=function(){var t=i.state,e=t.leftWidth,n=void 0===e?0:e,o=t.rowWidth,a=void 0===o?0:o,r=t.rowState,s=i.state.rightOffset;return 1===r?n:-1===r?-(a-(void 0===s?a:s)):0},i.close=function(){i.animateRow(i.currentOffset(),0)},i.openLeft=function(){var t=i.state.leftWidth,e=void 0===t?0:t;i.animateRow(i.currentOffset(),e)},i.openRight=function(){var t=i.state.rowWidth,e=void 0===t?0:t,n=i.state.rightOffset,o=e-(void 0===n?e:n);i.animateRow(i.currentOffset(),-o)};var f=new r.Animated.Value(0);return i.state={dragX:f,rowTranslation:new r.Animated.Value(0),rowState:0,leftWidth:void 0,rightOffset:void 0,rowWidth:void 0},i.updateAnimatedEvent(e,i.state),i.onGestureEvent=r.Animated.event([{nativeEvent:{translationX:f}}],{useNativeDriver:e.useNativeAnimations}),i}return(0,i.default)(s,a),(0,e.default)(s,[{key:"UNSAFE_componentWillUpdate",value:function(t,e){this.props.friction===t.friction&&this.props.overshootLeft===t.overshootLeft&&this.props.overshootRight===t.overshootRight&&this.props.overshootFriction===t.overshootFriction&&this.state.leftWidth===e.leftWidth&&this.state.rightOffset===e.rightOffset&&this.state.rowWidth===e.rowWidth||this.updateAnimatedEvent(t,e)}},{key:"render",value:function(){var t=this,e=this.state.rowState,n=this.props,o=n.children,i=n.renderLeftActions,a=n.renderRightActions,s=i&&(0,_r(d[9]).jsxs)(r.Animated.View,{style:[u.leftActions,{transform:[{translateX:this.leftActionTranslate}]}],children:[i(this.showLeftAction,this.transX),(0,_r(d[9]).jsx)(r.View,{onLayout:function(e){var n=e.nativeEvent;return t.setState({leftWidth:n.layout.x})}})]}),l=a&&(0,_r(d[9]).jsxs)(r.Animated.View,{style:[u.rightActions,{transform:[{translateX:this.rightActionTranslate}]}],children:[a(this.showRightAction,this.transX),(0,_r(d[9]).jsx)(r.View,{onLayout:function(e){var n=e.nativeEvent;return t.setState({rightOffset:n.layout.x})}})]});return(0,_r(d[9]).jsx)(_r(d[10]).PanGestureHandler,Object.assign({activeOffsetX:[-10,10]},this.props,{onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.onHandlerStateChange,children:(0,_r(d[9]).jsxs)(r.Animated.View,{onLayout:this.onRowLayout,style:[u.container,this.props.containerStyle],children:[s,l,(0,_r(d[9]).jsx)(_r(d[10]).TapGestureHandler,{enabled:0!==e,onHandlerStateChange:this.onTapHandlerStateChange,children:(0,_r(d[9]).jsx)(r.Animated.View,{pointerEvents:0===e?'auto':'box-only',style:[{transform:[{translateX:this.transX}]},this.props.childrenContainerStyle],children:o})})]})}))}}])})(a.Component)).defaultProps={friction:1,overshootFriction:1,useNativeAnimations:!0};var u=r.StyleSheet.create({container:{overflow:'hidden'},leftActions:Object.assign({},r.StyleSheet.absoluteFillObject,{flexDirection:r.I18nManager.isRTL?'row-reverse':'row'}),rightActions:Object.assign({},r.StyleSheet.absoluteFillObject,{flexDirection:r.I18nManager.isRTL?'row':'row-reverse'})})},403,[3,6,7,11,13,14,16,18,386,181,387]); __d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),a=_r(d[0])(_r(d[3])),n=_r(d[0])(_r(d[4])),r=_r(d[0])(_r(d[5])),i=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=p(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,a&&a.set(e,n),n})(_r(d[6])),o=i,s=_r(d[0])(_r(d[7])),l=_r(d[8]);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(p=function(e){return e?a:t})(e)}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(u=function(){return!!e})()}var c=.05,w='Idle',h='Dragging',f='Settling',v=_e.default=(function(i){function p(t){var r,i,v,S;(0,e.default)(this,p),i=this,v=p,S=[t],v=(0,n.default)(v),(r=(0,a.default)(i,u()?Reflect.construct(v,S||[],(0,n.default)(i).constructor):v.apply(i,S))).accessibilityIsModalView=o.createRef(),r.pointerEventsView=o.createRef(),r.panGestureHandler=o.createRef(),r.drawerShown=!1,r.updateAnimatedEvent=function(e,t){var a=e.drawerPosition,n=e.drawerWidth,i=e.drawerType,o=t.dragX,s=t.touchX,p=t.drawerTranslation,u=t.containerWidth,c=o,w=s;'left'!==a?(c=l.Animated.multiply(new l.Animated.Value(-1),o),w=l.Animated.add(new l.Animated.Value(u),l.Animated.multiply(new l.Animated.Value(-1),s)),s.setValue(u)):s.setValue(0);var h=c;if('front'===i){var f=l.Animated.add(w,l.Animated.multiply(new l.Animated.Value(-1),c)).interpolate({inputRange:[n-1,n,n+1],outputRange:[0,0,1]});h=l.Animated.add(c,f)}r.openValue=l.Animated.add(h,p).interpolate({inputRange:[0,n],outputRange:[0,1],extrapolate:'clamp'});var v={useNativeDriver:e.useNativeAnimations};r.props.onDrawerSlide&&(v.listener=function(e){var t=Math.floor(Math.abs(e.nativeEvent.translationX))/r.state.containerWidth;null==r.props.onDrawerSlide||r.props.onDrawerSlide(t)}),r.onGestureEvent=l.Animated.event([{nativeEvent:{translationX:o,x:s}}],v)},r.handleContainerLayout=function(e){var t=e.nativeEvent;r.setState({containerWidth:t.layout.width})},r.emitStateChanged=function(e,t){null==r.props.onDrawerStateChanged||r.props.onDrawerStateChanged(e,t)},r.openingHandlerStateChange=function(e){var t=e.nativeEvent;t.oldState===_r(d[9]).State.ACTIVE?r.handleRelease({nativeEvent:t}):t.state===_r(d[9]).State.ACTIVE&&(r.emitStateChanged(h,!1),'on-drag'===r.props.keyboardDismissMode&&l.Keyboard.dismiss(),r.props.hideStatusBar&&l.StatusBar.setHidden(!0,r.props.statusBarAnimation||'slide'))},r.onTapHandlerStateChange=function(e){var t=e.nativeEvent;r.drawerShown&&t.oldState===_r(d[9]).State.ACTIVE&&'locked-open'!==r.props.drawerLockMode&&r.closeDrawer()},r.handleRelease=function(e){var t=e.nativeEvent,a=r.props,n=a.drawerWidth,i=a.drawerPosition,o=a.drawerType,s=r.state.containerWidth,l=t.translationX,p=t.velocityX,u=t.x;'left'!==i&&(l=-l,u=s-u,p=-p);var w=u-l,h=0;'front'===o&&(h=w>n?w-n:0);var f=l+h+(r.drawerShown?n:0);f+c*p>n/2?r.animateDrawer(f,n,p):r.animateDrawer(f,0,p)},r.updateShowing=function(e){var t,a,n;r.drawerShown=e,null==(t=r.accessibilityIsModalView.current)||t.setNativeProps({accessibilityViewIsModal:e}),null==(a=r.pointerEventsView.current)||a.setNativeProps({pointerEvents:e?'auto':'none'});var i=r.props,o=i.drawerPosition,s=i.minSwipeDistance,l=i.edgeWidth,p='left'===o,u=(p?1:-1)*(r.drawerShown?-1:1),c=p?{left:0,width:e?void 0:l}:{right:0,width:e?void 0:l};null==(n=r.panGestureHandler.current)||n.setNativeProps({hitSlop:c,activeOffsetX:u*s})},r.animateDrawer=function(e,t,a,n){if(r.state.dragX.setValue(0),r.state.touchX.setValue('left'===r.props.drawerPosition?0:r.state.containerWidth),null!=e){var i=e;r.props.useNativeAnimations&&(e0?i=Math.min(e+a/60,t):e>t&&a<0&&(i=Math.max(e+a/60,t))),r.state.drawerTranslation.setValue(i)}var o=0!==t;r.updateShowing(o),r.emitStateChanged(f,o),r.props.hideStatusBar&&l.StatusBar.setHidden(o,r.props.statusBarAnimation||'slide'),l.Animated.spring(r.state.drawerTranslation,{velocity:a,bounciness:0,toValue:t,useNativeDriver:r.props.useNativeAnimations,speed:null!=n?n:void 0}).start(function(e){e.finished&&(r.emitStateChanged(w,o),o?null==r.props.onDrawerOpen||r.props.onDrawerOpen():null==r.props.onDrawerClose||r.props.onDrawerClose())})},r.openDrawer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r.animateDrawer(void 0,r.props.drawerWidth,e.velocity?e.velocity:0),r.forceUpdate()},r.closeDrawer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r.animateDrawer(void 0,0,e.velocity?e.velocity:0),r.forceUpdate()},r.renderOverlay=function(){(0,s.default)(r.openValue,'should be set');var e={opacity:r.openValue.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),backgroundColor:r.props.overlayColor};return(0,_r(d[10]).jsx)(_r(d[11]).TapGestureHandler,{onHandlerStateChange:r.onTapHandlerStateChange,children:(0,_r(d[10]).jsx)(l.Animated.View,{pointerEvents:r.drawerShown?'auto':'none',ref:r.pointerEventsView,style:[y.overlay,e]})})},r.renderDrawer=function(){var e,t=r.props,a=t.drawerBackgroundColor,n=t.drawerWidth,i=t.drawerPosition,o=t.drawerType,p=t.drawerContainerStyle,u=t.contentContainerStyle,c='left'===i,w='back'!==o,h='front'!==o,f=l.I18nManager.isRTL?c:!c,v={backgroundColor:a,width:n},S=r.openValue;((0,s.default)(S,'should be set'),h)&&(e={transform:[{translateX:S.interpolate({inputRange:[0,1],outputRange:c?[0,n]:[0,-n],extrapolate:'clamp'})}]});var b=0;if(w){var V=c?-n:n;b=S.interpolate({inputRange:[0,1],outputRange:[V,0],extrapolate:'clamp'})}var A={transform:[{translateX:b}],flexDirection:f?'row-reverse':'row'};return(0,_r(d[10]).jsxs)(l.Animated.View,{style:y.main,onLayout:r.handleContainerLayout,children:[(0,_r(d[10]).jsxs)(l.Animated.View,{style:['front'===o?y.containerOnBack:y.containerInFront,e,u],importantForAccessibility:r.drawerShown?'no-hide-descendants':'yes',children:['function'==typeof r.props.children?r.props.children(r.openValue):r.props.children,r.renderOverlay()]}),(0,_r(d[10]).jsx)(l.Animated.View,{pointerEvents:"box-none",ref:r.accessibilityIsModalView,accessibilityViewIsModal:r.drawerShown,style:[y.drawerContainer,A,p],children:(0,_r(d[10]).jsx)(l.View,{style:v,children:r.props.renderNavigationView(r.openValue)})})]})},r.setPanGestureRef=function(e){r.panGestureHandler.current=e,null==r.props.onGestureRef||r.props.onGestureRef(e)};var b=new l.Animated.Value(0),V=new l.Animated.Value(0),A=new l.Animated.Value(0);return r.state={dragX:b,touchX:V,drawerTranslation:A,containerWidth:0},r.updateAnimatedEvent(t,r.state),r}return(0,r.default)(p,i),(0,t.default)(p,[{key:"UNSAFE_componentWillUpdate",value:function(e,t){this.props.drawerPosition===e.drawerPosition&&this.props.drawerWidth===e.drawerWidth&&this.props.drawerType===e.drawerType&&this.state.containerWidth===t.containerWidth||this.updateAnimatedEvent(e,t)}},{key:"render",value:function(){var e=this.props,t=e.drawerPosition,a=e.drawerLockMode,n=e.edgeWidth,r=e.minSwipeDistance,i='left'===t,o=(i?1:-1)*(this.drawerShown?-1:1),s=i?{left:0,width:this.drawerShown?void 0:n}:{right:0,width:this.drawerShown?void 0:n};return(0,_r(d[10]).jsx)(_r(d[11]).PanGestureHandler,{ref:this.setPanGestureRef,hitSlop:s,activeOffsetX:o*r,failOffsetY:[-15,15],onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.openingHandlerStateChange,enableTrackpadTwoFingerGesture:this.props.enableTrackpadTwoFingerGesture,enabled:'locked-closed'!==a&&'locked-open'!==a,children:this.renderDrawer()})}}])})(i.Component);v.defaultProps={drawerWidth:200,drawerPosition:'left',useNativeAnimations:!0,drawerType:'front',edgeWidth:20,minSwipeDistance:3,overlayColor:'rgba(0, 0, 0, 0.7)',drawerLockMode:'unlocked',enableTrackpadTwoFingerGesture:!1},v.positions={Left:'left',Right:'right'};var y=l.StyleSheet.create({drawerContainer:Object.assign({},l.StyleSheet.absoluteFillObject,{zIndex:1001,flexDirection:'row'}),containerInFront:Object.assign({},l.StyleSheet.absoluteFillObject,{zIndex:1002}),containerOnBack:Object.assign({},l.StyleSheet.absoluteFillObject),main:{flex:1,zIndex:0,overflow:'hidden'},overlay:Object.assign({},l.StyleSheet.absoluteFillObject,{zIndex:1e3})})},404,[3,6,7,11,13,14,16,31,18,386,181,387]); -__d(function(g,r,i,a,m,e,d){var n,t,o,s,u,p=r(d[0])(r(d[1])),f=r(d[0])(r(d[2])),l=r(d[0])(r(d[3])),c=r(d[0])(r(d[4])),S=r(d[0])(r(d[5])),C=r(d[0])(r(d[6])),P=r(d[0])(r(d[7]));r(d[0])(r(d[8]));g.__DEV__=!1,g.btoa||(g.btoa=r(d[9]).encode),g.atob||(g.atob=r(d[9]).decode),g.newsmemoryStartupParams={},g.setNewsmemoryStartupParams=function(n){g.newsmemoryStartupParams=n},g.updateNewsmemoryStartupParams=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=g.getNewsmemoryStartupParams()||{};g.newsmemoryStartupParams=Object.assign({},t,n)},g.getNewsmemoryStartupParams=function(){return g.newsmemoryStartupParams},g.isIssueInNewsmemoryStartupParams=function(){if(g.newsmemoryStartupParams){var n=g.newsmemoryStartupParams,t=n.date,o=n.selDate,s=n.issue;return void 0!==o||void 0!==t||void 0!==s}return!1},g.shouldForceNewsmemoryWithStartupParams=function(){return!!g.newsmemoryStartupParams&&("load"===g.newsmemoryStartupParams.schemaPath||g.isIssueInNewsmemoryStartupParams())},g.resetNewsmemoryStartupParams=function(){g.newsmemoryStartupParams={}},g.initBaseValues=function(n){var t=n.language,o=n.pSetup,s=n.machine,u=n.splashBgColor,p=n.loadingColor,f=n.appName,l=n.appVersionName,c=n.appVersionCode,S=n.androidVersionName,C=n.iosIapSharedSecret,P=n.androidAppId,v=n.pushService,A=n.pushChannel,b=n.pushChannelSilent,M=n.masAppId,y=n.hcmAppId,w=n.oneSignalAppId,h=n.facebookAppId,D=n.isAddon,N=n.addonNeedsCloseButton,L=n.addonNeedsSafeArea,I=n.isTecnaviaHelperApp,_=n.debugMode,T=n.densityDPI,F=n.isHuawei,O=n.isKindle,V=n.initialOrientation,x=n.developerName,R=n.externalLinkAccountURL,U=n.token,E=n.apiKey,k=n.enableDebugger;g.splashBgColor=u,g.loadingColor=p,g.appName=f,g.appVersionName=l,g.androidVersionName=S,g.appVersionCode=c,g.iosIapSharedSecret=C,g.androidAppId=P,g.pushService=v,g.pushChannel=A,g.pushChannelSilent=b,g.masAppId=M,g.hcmAppId=y,g.oneSignalAppId=w,g.facebookAppId=h,g.isDebug=g.__DEV__||_,g.showSendLog=!g.__DEV__&&_,g.isApiDebug=g.isDebug,g.cssDebug=g.isDebug,g.isHuawei=F,g.isKindle=O,g.locale=t,g.pSetup=o,g.server=s,g.isTecnaviaHelperApp=I,g.densityDPI=T,g.initialOrientation=V,g.isAddon=D,g.addonNeedsCloseButton=D&&N,g.addonNeedsSafeArea=D&&L,g.apiKey=E,g.enableDebugger=!!k,g.developerName=x||"Tecnavia",g.externalLinkAccountURL=R,U&&g.updateNewsmemoryStartupParams({token:U}),r(d[10]).NetworkUtils.isHTTPS=g.isHTTPS(),r(d[10]).Logger.enableLog=g.isDebug,g.__DEV__&&g.isTaAddon(),g.initialized=!0},g.initialized=!1,g.startup=!0,g.lastAppSide=void 0,g.lastRssCategory=void 0,g.pSetup="",g.server="",g.locale="",g.isDebug=!1,g.showSendLog=!1,g.isAddon=!1,g.addonNeedsCloseButton=!1,g.addonNeedsSafeArea=!1,g.isTecnaviaHelperApp=!1,g.developer="naquilini",g.isApiDebug=!1,g.cssDebug=!1,g.adsTestDevices=["EF6F266379A7547A0AC501AC591D60A1"],g.isLayoutDebug=!1,g.isDimensionsDebug=!1,g.developerName=void 0,g.externalLinkAccountURL=void 0,g.apiKey=void 0,g.unauthorized=!1,g.enableDebugger=!1,g.machineId=void 0,g.openingPushNotificationDate=new Date,g.advertisingTrackingConsent=void 0,g.isTaAddon=function(){return g.isAddon||g.isTecnaviaHelperApp},g.TaAddonNeedsCloseButton=function(){return g.addonNeedsCloseButton},g.appNeedsSafeArea=function(){return!g.isTaAddon()||g.addonNeedsSafeArea},g.getRssFavoritesConfig=function(){return g.rssFavoritesConfig||(g.rssFavoritesConfig=new(r(d[11]).RssFavoritesConfig)),g.rssFavoritesConfig},g.getEpaperLayoutConfig=function(){return g.epaperLayoutConfig||(g.epaperLayoutConfig=new f.default),g.epaperLayoutConfig},g.getLocaleConfig=function(){return g.localeConfig||(g.localeConfig=new(r(d[12]).LocaleConfig)),g.localeConfig},g.getSslConfig=function(){return g.sslConfig||(g.sslConfig=new c.default),g.sslConfig},g.strings=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return g.getLocaleConfig().strings(n,t)},g.date=function(n){return g.getLocaleConfig().date(n)},g.formattedDate=function(n,t){return g.getLocaleConfig().formattedDate(n,t)},g.getAudio=function(){return g.getLocaleConfig().audioMgr},g.getAdsConfig=function(){return g.adsConfig||(g.adsConfig=new(r(d[13]).AdsConfig)),g.adsConfig},g.getVerticalsConfig=function(){return g.verticalsConfig||(g.verticalsConfig=new(r(d[14]).VerticalsConfig)),g.verticalsConfig},g.getNewsmemoryConfig=function(){return g.newsmemoryConfig||(g.newsmemoryConfig=new l.default),g.newsmemoryConfig},g.getRssIndexManager=function(){return g.rssIndexManager||(g.rssIndexManager=new(r(d[15]).RssIndexManager)),g.rssIndexManager},g.getRssIndex=function(n){return g.getRssIndexManager().getIndex(n)},g.getFontsManager=function(){return g.fontsManager||(g.fontsManager=new(r(d[16]).FontsManager)),g.fontsManager},g.getFontsConfig=function(n){return g.getFontsManager().getConfig(n)},g.getUserSettings=function(){return g.userConfig||(g.userConfig=new(r(d[17]).UserConfig)),g.userConfig},g.getAppPSetup=function(){var n,t=g.getUserSettings().notificationEmail;if(t){n=r(d[10]).StringUtils.parseNotificationEmail(t).pSetup;var o=g.getPaperSetupManager();if(o){var s=o.activePSetup;if(s)n!==P.default.parseXpSetup(s).mainpSetup&&o.setActivePSetup(n);else o.setActivePSetup(n)}}n||(n=g.pSetup);return n.trim()},g.getAppServer=function(){var n,t=g.getUserSettings().notificationEmail;t&&(n=r(d[10]).StringUtils.parseNotificationEmail(t).server);n||(n=g.server);return n.trim()},g.isHTTPS=function(){return 0===g.getAppServer().indexOf("https://")},g.getPaperSetupManager=function(){return g.paperSetupManager||(g.paperSetupManager=new(r(d[18]).PaperSetupManager)),g.paperSetupManager},g.getMainPSetup=function(){return g.getPaperSetupManager().getMainPSetupConfig()},g.getActivePSetup=function(){return g.getPaperSetupManager().getActivePSetupConfig()},g.getRSSActivePSetup=function(){return g.getPaperSetupManager().getRSSActivePSetupConfig()},g.initPSetup=(n=(0,p.default)(function*(n,t,o){return g.getPaperSetupManager().init(n,t,o)}),function(t,o,s){return n.apply(this,arguments)}),g.initConfigOnly=(t=(0,p.default)(function*(n,t){return g.getPaperSetupManager().initConfigOnly(n,t)}),function(n,o){return t.apply(this,arguments)}),g.setPSetupConfig=(o=(0,p.default)(function*(n,t){return g.getPaperSetupManager().setPSetupConfig(n,t)}),function(n,t){return o.apply(this,arguments)}),g.loadPSetup=(s=(0,p.default)(function*(n,t,o,s){return g.getPaperSetupManager().load(n,t,Object.assign({fromCache:!0},o),s)}),function(n,t,o,u){return s.apply(this,arguments)}),g.reloadActivePSetup=(u=(0,p.default)(function*(n){return g.getPaperSetupManager().reload(n)}),function(n){return u.apply(this,arguments)}),g.getPublicationsManager=function(){return g.publicationsManager||(g.publicationsManager=new C.default),g.publicationsManager},g.loadPublications=(0,p.default)(function*(){return g.getPublicationsManager().load()}),g.setCurrentPublication=function(n){return g.getPublicationsManager().setCurrentPublication(n)},g.getCurrentPublication=(0,p.default)(function*(){return g.getPublicationsManager().getCurrentPublication()}),g.getContentManager=function(){return g.contentManager||(g.contentManager=new S.default),g.contentManager},g.analyzeUsedSpace=(0,p.default)(function*(){return g.getContentManager().analyze()}),g.getUsedSpace=function(){var n=g.getContentManager();return{usedSpace:n.usedSpace,numberOfPapersDirs:n.numberOfPapersDirs,numberOfIssuesDirs:n.numberOfIssuesDirs,numberOfPagesDirs:n.numberOfPagesDirs}},r(d[10]).Logger.enableLog=!1,r(d[10]).Logger.enableLogCaller=!1,r(d[10]).Logger.initializedLogSession=!1,r(d[10]).Logger.logSessionFileName="",g.getLocaleConfig().initLocale()},405,[3,272,406,1976,2081,2082,1836,614,1837,444,439,2083,2097,2133,2189,2196,1967,2204,1963]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])),n=r(d[0])(r(d[4]));r(d[0])(r(d[5]));(_e.default=(function(){function s(){(0,e.default)(this,s),this.isTablet=r(d[6]).PlatformUtils.isTablet(),this.config={}}return(0,o.default)(s,[{key:"_addPublicationsButton",value:function(){var t;if(this.mainFooter.buttons&&this.mainFooter.buttons.length>0&&!this.mainFooter.buttons.find(function(t){return t&&t.getAction()===r(d[7]).ACTIONS.openMore.key})){var e=r(d[8]).main.buttons.find(function(t){return t&&t.function===r(d[7]).ACTIONS.openMore.key});e&&this.mainFooter.buttons.push(new(r(d[9]).Icon)(e))}if(this.mainFooter.more&&this.mainFooter.more.length>0&&(t=this.mainFooter.more.find(function(t){return t&&t.getAction()===r(d[7]).ACTIONS.openOptionPagePublications.key})),!t&&(this.mainFooter.buttons&&this.mainFooter.buttons.length>0&&(t=this.mainFooter.buttons.find(function(t){return t&&t.getAction()===r(d[7]).ACTIONS.openOptionPagePublications.key})),!t)){this.mainFooter.more||(this.mainFooter.more=[]);var o=r(d[8]).main.more.find(function(t){return t&&t.function===r(d[7]).ACTIONS.openOptionPagePublications.key});if(o){var n=this.mainFooter.more.length+1;o.id=n,this.mainFooter.more.push(new(r(d[9]).Icon)(o))}}}},{key:"getIconByAction",value:function(t){var e;return this.mainFooter&&(e=this.mainFooter.getButtonByAction(t)),!e&&this.articleFooter&&(e=this.articleFooter.getButtonByAction(t)),!e&&this.firstLevelIndexFooter&&(e=this.firstLevelIndexFooter.getButtonByAction(t)),!e&&this.secondLevelIndexFooter&&(e=this.secondLevelIndexFooter.getButtonByAction(t)),!e&&this.articleHeader&&(e=this.articleHeader.getButtonByAction(t)),!e&&this.firstLevelIndexHeader&&(e=this.firstLevelIndexHeader.getButtonByAction(t)),!e&&this.secondLevelIndexHeader&&(e=this.secondLevelIndexHeader.getButtonByAction(t)),!e&&this.navigationModel&&(e=this.navigationModel.getButtonByAction(t)),e}},{key:"init",value:(function(){var e=(0,t.default)(function*(t,e,o){var c=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(this.type=e,o){try{var u=yield n.default.getEpaperLayoutConfig();this.config=u&&u.data||{},g.getNewsmemoryConfig().setLayout(t,this.config)}catch(e){this.config=yield g.getNewsmemoryConfig().getLayout(t)}try{yield g.getNewsmemoryConfig().resetTranslationAvailable()}catch(t){}}else this.config=yield g.getNewsmemoryConfig().getLayout(t);if(!this.config||!this.config.main)switch(this.type){case s.Type.hybridLite:case s.Type.hybrid:case s.Type.lite:default:this.config=this.isTablet?r(d[8]):r(d[10])}var h=this.config,l=h.main,f=h.article,y=h.index,v=h.navigation;if(l){this.mainFooter=new(r(d[11]).Footer)(l);var F=g.getActivePSetup().isGenericApp;if(r(d[12]).PaperSetupManager.isGenericAppConfigured()&&!F){var p=g.getPublicationsManager();(c||p.getPublications().length>1)&&this._addPublicationsButton()}}if(f&&(this.articleFooter=new(r(d[11]).Footer)(f.footer),this.articleHeader=new(r(d[13]).Header)(f)),y){var b=y.firstLevel,A=y.secondLevel;b&&(this.firstLevelIndexHeader=new(r(d[13]).Header)(b),this.firstLevelIndexFooter=new(r(d[11]).Footer)(b.footer||f.footer)),A&&(this.secondLevelIndexHeader=new(r(d[13]).Header)(A),this.secondLevelIndexFooter=new(r(d[11]).Footer)(A.footer||f.footer))}v&&(this.navigationModel=new(r(d[14]).Navigation)(v))});return function(t,o,n){return e.apply(this,arguments)}})()}])})()).Type={normal:0,lite:1,hybrid:2,hybridLite:3}},406,[3,272,6,7,407,1836,439,1839,1918,1919,1959,1960,1963,1970,1975]); -__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),a=_r(d[0])(_r(d[3])),n=_r(d[0])(_r(d[4])),r=_r(d[0])(_r(d[5])),i=_r(d[0])(_r(d[6])),u=P(_r(d[7])),l=P(_r(d[8])),s=_r(d[0])(_r(d[9])),o=_r(d[0])(_r(d[10])),f=(_r(d[0])(_r(d[11])),_r(d[0])(_r(d[12])),_r(d[0])(_r(d[13]))),c=_r(d[0])(_r(d[14])),p=(_r(d[0])(_r(d[15])),["username","password","TAUID","TOKEN","challenge"]),v=["pSetup","machine","cdnServer","mtime"];function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(y=function(e){return e?a:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=y(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,a&&a.set(e,n),n}_e.default=(function(){function y(){(0,a.default)(this,y)}return(0,n.default)(y,null,[{key:"getDomain",value:function(e){var t=g.getActivePSetup().machine,a=g.getNewsmemoryConfig().cdnServer;return e&&a||t}},{key:"baseUrl",value:function(e){return r.default.baseUrl(y.getDomain(e))}},{key:"getDefaultGETParams",value:function(){return{pSetup:g.getActivePSetup().pSetup}}},{key:"getEncryptedCallsParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=g.getActivePSetup(),a=t.pSetup,n=t.encryptFilenames;if(e&&n===_r(d[16]).ENCRYPT_FILENAME_TYPE.XPAPER){var r=l.default.parseXpSetup(a).xpSetup;if(r)return{pSetup:r}}return{}}},{key:"getResourceCDNParams",value:function(e,t,a,n){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={};return e?(i=Object.assign({},y.getEncryptedCallsParams(r),{cc:l.default.encryptFilenames(a,e)}),n&&(i.mtime=n.join(","))):(i[t]=a.join(","),n&&(i.ts=l.default.getCDNChecksum(n))),i}},{key:"get",value:(function(){var e=(0,t.default)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return r.default.get(y.baseUrl(),t,Object.assign({},y.getDefaultGETParams(),e),a,n)});return function(t){return e.apply(this,arguments)}})()},{key:"post",value:(function(){var e=(0,t.default)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{responseType:"text"},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},u=Object.assign({},r.default.getDefaultParams(),y.getDefaultGETParams(),t),l=_r(d[17]).StringUtils.appendParams(e,u);return r.default.post(l,n,a,!0,i)});return function(t){return e.apply(this,arguments)}})()},{key:"login",value:(function(){var a=(0,t.default)(function*(t,a){var n=t.username,r=t.password,i=t.TAUID,u=t.TOKEN,l=t.challenge,s=(0,e.default)(t,p);return y.get(Object.assign({action:"login",timepc:(new Date).getTime()/1e3||0,username:_r(d[17]).JSUtils.isNull(n)?void 0:n,password:r,challenge:l,TAUID:i,TOKEN:u,LocalUA:_r(d[17]).PlatformUtils.getUserAgent()},s),{timeout:a})});return function(e,t){return a.apply(this,arguments)}})()},{key:"createIAPUser",value:(function(){var e=(0,t.default)(function*(){return y.get({action:"createIAPUser"})});return function(){return e.apply(this,arguments)}})()},{key:"getEditionsAndIssues",value:(function(){var e=(0,t.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=g.getActivePSetup().loadEditionsUrl,a=l.default.parseXpSetup(g.getActivePSetup().pSetup).mainpSetup;try{return(yield r.default.get(t,{},Object.assign({},y.getDefaultGETParams(),{pSetup:a},e))).data}catch(e){}return{}});return function(){return e.apply(this,arguments)}})()},{key:"getIssues",value:(function(){var e=(0,t.default)(function*(e){var t=g.getActivePSetup(),a=t.defaultMaxIssues,n=t.udb,r=g.getNewsmemoryConfig(),i=yield r.getPrefEdi(n),u=yield r.getFavEdi();try{return(yield y.get({action:"issues",maxIssues:a,edition:e,prefEdi:i,favEdi:u})).data}catch(e){}return[]});return function(t){return e.apply(this,arguments)}})()},{key:"getEditions",value:(function(){var e=(0,t.default)(function*(e){try{return(yield y.get({action:"editions",issue:e})).data}catch(e){}return[]});return function(t){return e.apply(this,arguments)}})()},{key:"translateArticle",value:(function(){var e=(0,t.default)(function*(e){var t,a=g.getActivePSetup().translationServer,n=!1;a?t=r.default.baseUrl(a):(n=l.default.isCDNEnabled(),t=y.baseUrl(n));try{var i=e.target,u=e.issue,s=e.edition,o=e.filename,f=e.artid,c=e.filetime,p=e.secret,v=Object.assign({},r.default.getDefaultParams(!0,n),y.getDefaultGETParams(),{action:"translate",target:i,issue:u,edition:s,artid:f},y.getResourceCDNParams(p,"filename",[o],[c],n));return(yield r.default.get(t,{},v,!0)).data}catch(e){}return""});return function(t){return e.apply(this,arguments)}})()},{key:"translationsAvailable",value:(function(){var e=(0,t.default)(function*(){try{return(yield y.get({action:"languages"})).data}catch(e){}return{}});return function(){return e.apply(this,arguments)}})()},{key:"share",value:(function(){var e=(0,t.default)(function*(e){var t=g.getActivePSetup().loginStatus,a=t.TAUID,n=t.TOKEN,r=Object.assign({action:"share"},e,{TAUID:a,TOKEN:n});try{return(yield y.get(r)).data}catch(e){}return{}});return function(t){return e.apply(this,arguments)}})()},{key:"downloadEditionDB",value:(function(){var e=(0,t.default)(function*(e,t,a,n,i){var s=g.getActivePSetup(),o=s.loginStatus,c=s.encryptFilenames,p=o.TAUID,v=o.TOKEN,P=o.oneTimeToken,h=l.default.normalizeEdition(a)+"_pages",D=Object.assign({},r.default.getDefaultParams(),y.getDefaultGETParams(),{action:"adfile",issue:t,adtype:h,edition:a,TAUID:p,TOKEN:v,oneTimeToken:P,uAVCC:o.getReceiptToken(),appendFirstPages:n?1:0});c>_r(d[16]).ENCRYPT_FILENAME_TYPE.NONE&&(D.e=1);var U=g.getNewsmemoryConfig().dbDownloadPSetup;U&&(D.pSetup=U);var E,T=_r(d[17]).StringUtils.appendParams(y.baseUrl(),D),I=f.default.getNewspaperIssueDirectory(e,t),b=t+"_"+h+".zip",N=yield u.default.getEditionDatabaseAndPages(T,b,I,Object.assign({completionCallback:function(e){var t=e.speed;E=t}},i)),w=N.filenames,S=N.responseHeaders,A=Object.assign({},w,{responseHeaders:S});return E&&(A.speed=E),A});return function(t,a,n,r,i){return e.apply(this,arguments)}})()},{key:"getHrImageUrl",value:function(e,t,a,n,i,u,s){var o=t?"jpg":"gif",f=l.default.isCDNEnabled(),c=Object.assign({},r.default.getDefaultParams(!0,f),y.getDefaultGETParams(),{action:"hrimage",issue:e,xmlId:a,boxId:n,type:o},y.getResourceCDNParams(s,"filename",[i],[u],f));return _r(d[17]).StringUtils.appendParams(y.baseUrl(f),c)}},{key:"getPagePath",value:function(e,t,a){return f.default.getNewspaperIssueDirectory(e,t)+a+"/"}},{key:"getHrPath",value:function(e,t,a,n,r,i){var u="pag_"+r+"_"+i+"."+(n?"jpg":"gif");return y.getPagePath(e,t,a)+u}},{key:"downloadHRImage",value:(function(){var e=(0,t.default)(function*(e,t,a,n,r,i,l,s){var f="pag_"+r+"_"+i+"."+(l?"jpg":"gif"),c=y.getHrImageUrl(t,l,r,i,a,n,s);try{var p=y.getPagePath(e,t,a),v=yield u.default.downloadResourceInFolder(c,p,f),P=yield(0,_r(d[18]).getImageSize)("file://"+v),h=P.width,D=P.height;return{path:v,name:o.default.getFilename(v),width:h,height:D}}catch(e){throw e}});return function(t,a,n,r,i,u,l,s){return e.apply(this,arguments)}})()},{key:"downloadImage",value:(function(){var e=(0,t.default)(function*(e,t,a,n,i,s){var c=l.default.isCDNEnabled(),p=Object.assign({},r.default.getDefaultParams(!0,c),y.getDefaultGETParams(),{action:"base64image",issue:t,image:a},y.getResourceCDNParams(s,"filename",[n],[i],c)),v=_r(d[17]).StringUtils.appendParams(y.baseUrl(c),p);try{var P=f.default.getNewspaperIssueDirectory(e,t)+n+"/",h=yield u.default.downloadResourceInFolder(v,P,a),D=0,U=0;if(h.endsWith(_r(d[19]).EPaperImageName.PDF))D=100,U=100;else{var E=yield(0,_r(d[18]).getImageSize)("file://"+h);if(D=E.width,U=E.height,0===D||0===U)throw yield _r(d[17]).FileUtils.unlink(h),new Error("Invalid size "+D+"x"+U+" for image "+h)}return{path:h,name:o.default.getFilename(h),width:D,height:U}}catch(e){throw e}});return function(t,a,n,r,i,u){return e.apply(this,arguments)}})()},{key:"downloadPageZip",value:(function(){var e=(0,t.default)(function*(e,t,a,n,i){var s=l.default.isCDNEnabled(),o=Object.assign({},r.default.getDefaultParams(!0,s),y.getDefaultGETParams(),{action:"zippedimages",issue:t},y.getResourceCDNParams(i,"filename",[a],[n],s)),c=_r(d[17]).StringUtils.appendParams(y.baseUrl(s),o);try{var p=f.default.getNewspaperIssueDirectory(e,t)+a+"/";yield u.default.downloadResourceAndUnzipInFolder(c,p);var v=_r(d[19]).EPaperImageName.LOW,P=_r(d[19]).EPaperImageName.GRAPH,h=_r(d[19]).EPaperImageName.GIF,D=_r(d[19]).EPaperImageName.PDF;return yield u.default.scanPageFolderForImages(p,[v,P,h,D])}catch(e){throw e}});return function(t,a,n,r,i){return e.apply(this,arguments)}})()},{key:"downloadHRImagesZip",value:(function(){var e=(0,t.default)(function*(e,t,a,n,i){var s=l.default.isCDNEnabled(),c=a.substring(0,a.length-2),p=Object.assign({},r.default.getDefaultParams(!0,s),y.getDefaultGETParams(),{action:"zippedhrimages",mode:"g",issue:t},y.getResourceCDNParams(i,"page",[c],[n],s)),v=_r(d[17]).StringUtils.appendParams(y.baseUrl(s),p);try{var P=f.default.getNewspaperIssueDirectory(e,t)+a+"/",h=yield u.default.downloadResourceInFolder(v,P,l.ARCHIVE_ZIP_GRAPH_FILENAME);return(yield o.default.exists(h))?h:null}catch(e){throw e}});return function(t,a,n,r,i){return e.apply(this,arguments)}})()},{key:"downloadMultiplePagesZips",value:(function(){var e=(0,t.default)(function*(e,a,n,i,s){var o,c=l.default.isCDNEnabled(),p=Object.assign({},r.default.getDefaultParams(!0,c),y.getDefaultGETParams(),{action:"multizippedimages",issue:a},y.getResourceCDNParams(s,"filenames",n,i,c)),v=_r(d[17]).StringUtils.appendParams(y.baseUrl(c),p);try{var P=f.default.getNewspaperIssueDirectory(e,a);yield u.default.downloadResourceAndUnzipInFolder(v,P);var h=_r(d[19]).EPaperImageName.LOW,D=_r(d[19]).EPaperImageName.GRAPH,U=_r(d[19]).EPaperImageName.GIF,E=_r(d[19]).EPaperImageName.PDF;return Promise.all(n.map((o=(0,t.default)(function*(e){return u.default.scanPageFolderForImages(P+e,[h,D,U,E])}),function(e){return o.apply(this,arguments)})))}catch(e){throw e}});return function(t,a,n,r,i){return e.apply(this,arguments)}})()},{key:"downloadFullPaper",value:(function(){var e=(0,t.default)(function*(e,t,a){var n=g.getActivePSetup().loginStatus,i=n.TAUID,l=n.TOKEN,s=n.oneTimeToken,o=g.getNewsmemoryConfig().network,c=Object.assign({},r.default.getDefaultParams(),y.getDefaultGETParams(),{action:"zippedpaper",issue:t,edition:a,TAUID:i,TOKEN:l,oneTimeToken:s,network:o,uAVCC:n.getReceiptToken()}),p=_r(d[17]).StringUtils.appendParams(y.baseUrl(),c);try{var v=f.default.getNewspaperIssueDirectory(e,t);yield u.default.downloadResourceAndUnzipInFolder(p,v)}catch(e){throw e}});return function(t,a,n){return e.apply(this,arguments)}})()},{key:"downloadPaperIndex",value:(function(){var e=(0,t.default)(function*(e,t){var a=g.getActivePSetup().loginStatus,n={action:"index",issue:e,edition:t,TAUID:a.TAUID,TOKEN:a.TOKEN,oneTimeToken:a.oneTimeToken,uAVCC:a.getReceiptToken()},r=(yield y.get(n)).data;if(r)return r;throw new Error("NewsmemoryAJAX - downloadPaperIndex: no data returned")});return function(t,a){return e.apply(this,arguments)}})()},{key:"downloadArticles",value:(function(){var e=(0,t.default)(function*(e,t,a,n){try{var r=Object.assign({action:"articles",issue:e,edition:t},y.getResourceCDNParams(n,"filename",[a])),i=(yield y.get(r)).data;if(i)return i}catch(e){}throw new Error("NewsmemoryAJAX - downloadArticles: no data returned")});return function(t,a,n,r){return e.apply(this,arguments)}})()},{key:"getAvailableLanguages",value:(function(){var e=(0,t.default)(function*(){return y.get({action:"languages"})});return function(){return e.apply(this,arguments)}})()},{key:"getEpaperLayoutConfig",value:(function(){var e=(0,t.default)(function*(){return y.get({action:"buttons"})});return function(){return e.apply(this,arguments)}})()},{key:"getApplication",value:(function(){var e=(0,t.default)(function*(){var e=Object.assign({},r.default.getDefaultParams(),y.getDefaultGETParams(),{action:"application"}),t=_r(d[17]).StringUtils.appendParams(y.baseUrl(),e);try{var a=yield o.default.fetch(t);if(a){var n=a.path(),i=c.default.getDirectory()+"/";try{yield o.default.unlink(i)}catch(e){}return yield o.default.mkdir(i),yield o.default.unzip(n,i),yield o.default.clearUnusedDownloadedFiles(n),!0}}catch(e){throw new Error("Failed to download "+t)}return!1});return function(){return e.apply(this,arguments)}})()},{key:"getCDNStatus",value:(function(){var e=(0,t.default)(function*(e,t){var a=g.getActivePSetup().loginStatus,n={action:"cdn",issue:e,edition:t,TAUID:a.TAUID,TOKEN:a.TOKEN,oneTimeToken:a.oneTimeToken,uAVCC:a.getReceiptToken()};return y.get(n)});return function(t,a){return e.apply(this,arguments)}})()},{key:"getChildArtImageUrl",value:function(e,t,a,n,i,u,s,o,f){var c=l.default.isCDNEnabled(),p=Object.assign({},r.default.getDefaultParams(!0,!0),y.getDefaultGETParams(),{action:"loadImage",type:"printImage",xmlId:t,issue:e,images:a,medDpi:n,pageW:i,pageH:u},y.getResourceCDNParams(f,"filename",[s],[o],c));return _r(d[17]).StringUtils.appendParams(y.baseUrl(c),p)}},{key:"getInArticleImageUrl",value:function(e,t,a,n,i,u,s,o){var f=l.default.isCDNEnabled(),c=Object.assign({},r.default.getDefaultParams(!0,!0),y.getDefaultGETParams(),{action:"loadImage",type:"Image",paper:e,issue:t,edition:a,val:n,imageIssue:i!==t?i:void 0},y.getResourceCDNParams(o,"filename",[u],[s],f));return _r(d[17]).StringUtils.appendParams(y.baseUrl(f),c)}},{key:"getSpecialSectionUrl",value:function(e,t,a,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=l.default.isCDNEnabled(),o=Object.assign({},r.default.getDefaultParams(!0,s),y.getDefaultGETParams(),{action:e,issue:t},y.getResourceCDNParams(n,"edition",[a],[0],s&&!i));return i&&(o.editionfromcalling=g.getNewsmemoryConfig().editionfromcalling),"indexspecial"===e&&(o.showSections=u?1:0,o.remote=1),_r(d[17]).StringUtils.appendParams(y.baseUrl(s),o)}},{key:"getDownloadPdfUrl",value:(function(){var e=(0,t.default)(function*(e,t){var a=e.getIssue(),n=e.getEdition(),i=e.getSecret(),u=t.getFilename(),l=t.getPage(),s=g.getActivePSetup().loginStatus,o=s.TAUID,f=s.TOKEN,c=s.oneTimeToken,p=Object.assign({},r.default.getDefaultParams(),y.getDefaultGETParams(),{action:"page",issue:a,edition:n,page:l,TAUID:o,TOKEN:f,oneTimeToken:c,uAVCC:s.getReceiptToken()},y.getResourceCDNParams(i,"filename",[u]));return _r(d[17]).StringUtils.appendParams(y.baseUrl(),p)});return function(t,a){return e.apply(this,arguments)}})()},{key:"downloadPDF",value:(function(){var e=(0,t.default)(function*(e,t){try{var a=g.getActivePSetup().paperName;a=l.default.normalizePaperName(a);var n=e.getIssue(),r=s.default.removeZerosFromPageNumber(t.getPage()),i=yield y.getDownloadPdfUrl(e,t),f=a+"_"+n+"_"+r+".pdf",c=o.default.getDownloadedPdfDirectory()+"/"+f;return{path:(yield o.default.exists(c))?c:yield u.default.downloadResourceInFolder(i,o.default.getDownloadedPdfDirectory()+"/",f),name:f,url:i}}catch(e){throw e}});return function(t,a){return e.apply(this,arguments)}})()},{key:"uploadSessionReport",value:(function(){var e=(0,t.default)(function*(e,t){try{var a=g.getActivePSetup().sessionUploadBaseURL||y.baseUrl(),n=JSON.stringify(t.getReport());return yield y.post(a,{action:"uploadSessionReport"},{sessionId:e,report:n}),!0}catch(e){}return!1});return function(t,a){return e.apply(this,arguments)}})()},{key:"getVideoURL",value:function(e){var t=i.default.getSafeArea(),a=t.width,n=t.height,u=Object.assign({},r.default.getDefaultParams(),y.getDefaultGETParams(),{action:"video",videoURL:_r(d[17]).StringUtils.appendParams(e,{width:Math.min(a,n)})});return _r(d[17]).StringUtils.appendParams(y.baseUrl(),u)}},{key:"getCMPBaseURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},r.default.getDefaultParams(),{action:"cmp"},e);return _r(d[17]).StringUtils.appendParams(y.baseUrl(),t)}},{key:"getCMPVendorListUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({version:i.default.getAppVersion(),action:"cmpVendorList",cc:1,mtime:0},e),a=g,n=a.isApiDebug,r=a.developer;n&&(t.isDebug=n,t.developer=r);var u=g.getNewsmemoryConfig().cdnVersion;void 0!==u&&(t.v=u);var s=l.default.isCDNEnabled();return _r(d[17]).StringUtils.appendParams(y.baseUrl(s),t)}},{key:"getCMPVendorList",value:(function(){var e=(0,t.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{return(yield r.default.get(y.getCMPVendorListUrl(e),{},{},!0)).data}catch(e){}return{}});return function(){return e.apply(this,arguments)}})()},{key:"validateReceipt",value:(function(){var e=(0,t.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=g.getActivePSetup().loginStatus.TAUID;return _r(d[17]).JSUtils.isNull(e.TAUID)&&_r(d[20]).LoginStatus.isValidTAUID(t)&&(e.TAUID=t),r.default.validateReceipt(e)});return function(){return e.apply(this,arguments)}})()},{key:"customFonts",value:(function(){var a=(0,t.default)(function*(t){var a=t.pSetup,n=t.machine,i=t.cdnServer,u=t.mtime,l=(0,e.default)(t,v),s=Object.assign({},r.default.getDefaultParams(!0,!0),{pSetup:a,action:"fonts",cc:1,mtime:u},l);return r.default.get(r.default.baseUrl(i||n),{},s,!0)});return function(e){return a.apply(this,arguments)}})()}])})()},407,[3,4,272,6,7,408,435,573,614,842,553,843,655,844,848,849,850,439,575,574,854]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.MAX_RETRIES=_e.HTTP_CODES=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),l=r(d[0])(r(d[7])),c=["customUrl","pSetup","machine"],f=["token"],v=["token"],p=["machine"],h=["machine"],T=["machine"],y=["machine"],U=["machine"],_=["machine"],E=o.default.create(),k=_e.MAX_RETRIES=3,A=_e.HTTP_CODES={PARTIAL_CONTENT:206,UNAUTHORIZED:401,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504},P=_e.default=(function(){function o(){(0,n.default)(this,o)}return(0,u.default)(o,null,[{key:"setReadAndNetworkTimeouts",value:function(e,t){E.defaults.timeout=t,l.default.networkTimeout=t,l.default.readTimeout=r(d[8]).PlatformUtils.isAndroid()?e:t}},{key:"set2GTimeout",value:function(){o.timeout=o.DEFAULT_CONNECTION_TIMEOUT_2G,o.readTimeout=o.DEFAULT_READ_TIMEOUT_2G,o.setReadAndNetworkTimeouts(o.readTimeout,o.timeout)}},{key:"set3GTimeout",value:function(){o.timeout=o.DEFAULT_CONNECTION_TIMEOUT_3G,o.readTimeout=o.DEFAULT_READ_TIMEOUT_3G,o.setReadAndNetworkTimeouts(o.readTimeout,o.timeout)}},{key:"set4GTimeout",value:function(){o.timeout=o.DEFAULT_CONNECTION_TIMEOUT_4G,o.readTimeout=o.DEFAULT_READ_TIMEOUT_4G,o.setReadAndNetworkTimeouts(o.readTimeout,o.timeout)}},{key:"setTimeout",value:function(){r(d[8]).NetworkUtils.is2G()?o.set2GTimeout():r(d[8]).NetworkUtils.is3G()?o.set3GTimeout():(r(d[8]).NetworkUtils.is4G(),o.set4GTimeout())}},{key:"getServer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.getAppServer();return r(d[8]).NetworkUtils.addDefaultProtocol(e.trim())}},{key:"baseUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.getAppServer();return o.getServer(e).concat("/default_react_native.php")}},{key:"getDefaultParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=g,u=n.getAppPSetup,l=n.isApiDebug,c=n.developer,f={};return l&&(f.isDebug=l,f.developer=c),Object.assign({pSetup:u()},t?{}:o.getUserParams(),e?{}:o.getDeviceParams(),{version:s.default.getAppVersion()},f)}},{key:"getUserParams",value:function(){return{MACHINEID:g.machineId,t:(new Date).getTime()}}},{key:"getDeviceParams",value:function(){return{os:r(d[8]).PlatformUtils.isAndroid()?"android":"ios",isEInk:r(d[8]).PlatformUtils.isEInk()?1:void 0,isKindle:s.default.isKindle()?1:void 0,isPhone:r(d[8]).PlatformUtils.isTablet()?0:1,apiVersion:r(d[8]).PlatformUtils.getSystemSDK()}}},{key:"head",value:(function(){var e=(0,t.default)(function*(e){return E.head(e)});return function(t){return e.apply(this,arguments)}})()},{key:"ajax",value:(function(){var e=(0,t.default)(function*(e){return E.get(e)});return function(t){return e.apply(this,arguments)}})()},{key:"get",value:(function(){var e=(0,t.default)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},l=n;u||(l=Object.assign({},o.getDefaultParams(),l));try{return yield E.get(e,Object.assign({headers:Object.assign({"User-Agent":r(d[8]).PlatformUtils.getUserAgent()},s)},t,{params:l,paramsSerializer:r(d[8]).StringUtils.getQuerystring}))}catch(e){throw e}});return function(t){return e.apply(this,arguments)}})()},{key:"post",value:(function(){var e=(0,t.default)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},l=n;u||(l=Object.assign({},o.getDefaultParams(),l));var c=r(d[8]).StringUtils.getQuerystring(l);try{return yield E.post(e,c,Object.assign({headers:Object.assign({Accept:"application/x-www-form-urlencoded","User-Agent":r(d[8]).PlatformUtils.getUserAgent()},s)},t))}catch(e){throw e}});return function(t){return e.apply(this,arguments)}})()},{key:"remp",value:(function(){var e=(0,t.default)(function*(e,t){return o.get(e,{},t)});return function(t,n){return e.apply(this,arguments)}})()},{key:"rssIndex",value:(function(){var n=(0,t.default)(function*(t){var n=t.customUrl,u=t.pSetup,s=t.machine,l=(0,e.default)(t,c),f={};return n||(f=Object.assign({action:"RSSindex",pSetup:u},l)),o.get(n||o.baseUrl(s),{responseType:"text"},f)});return function(e){return n.apply(this,arguments)}})()},{key:"getWithParams",value:(function(){var e=(0,t.default)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,u=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return o.get(o.baseUrl(n),t,e,u)});return function(t){return e.apply(this,arguments)}})()},{key:"cities",value:(function(){var e=(0,t.default)(function*(e){var t=e.wording;return o.getWithParams({action:"utilscities",wording:t})});return function(t){return e.apply(this,arguments)}})()},{key:"closestCities",value:(function(){var e=(0,t.default)(function*(e){var t=e.lat,n=e.lon;return o.getWithParams({action:"utilsclosestcity",lat:t,lon:n})});return function(t){return e.apply(this,arguments)}})()},{key:"deleteDeviceToPushServer",value:(function(){var n=(0,t.default)(function*(t){var n=t.token,u=(0,e.default)(t,f);return o.getWithParams(Object.assign({action:"push_deletion_service",package_id:r(d[8]).PlatformUtils.getPackagedId(),reg_id:n},u))});return function(e){return n.apply(this,arguments)}})()},{key:"registerDeviceToPushServer",value:(function(){var n=(0,t.default)(function*(t){var n=t.token,u=(0,e.default)(t,v);return o.getWithParams(Object.assign({action:"push_registration_service",package_id:r(d[8]).PlatformUtils.getPackagedId(),reg_id:n},u))});return function(e){return n.apply(this,arguments)}})()},{key:"notices",value:(function(){var n=(0,t.default)(function*(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.machine,u=(0,e.default)(t,p);return o.getWithParams(Object.assign({action:"advertisements"},u),{},n)});return function(){return n.apply(this,arguments)}})()},{key:"noticeURI",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.machine,u=(0,e.default)(t,h);return r(d[8]).StringUtils.appendParams(o.baseUrl(n),Object.assign({},o.getDefaultParams(),{action:"notices"},u))}},{key:"sslCertificatesURI",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=!!t;return r(d[8]).StringUtils.appendParams(o.baseUrl(t),Object.assign({},o.getDefaultParams(n,n),e,{os:"android",action:"certificates"}))}},{key:"pSetup",value:(function(){var n=(0,t.default)(function*(t){var n=t.machine,u=(0,e.default)(t,T);return o.getWithParams(Object.assign({action:"message",bundleVersion:s.default.getBundleVersion(),inches:r(d[8]).PlatformUtils.getScreenInches(),device:r(d[8]).PlatformUtils.getDeviceId(),isAddon:g.isTaAddon()?1:void 0},u),{responseType:"text"},n)});return function(e){return n.apply(this,arguments)}})()},{key:"getBundleDownloadUrl",value:function(){var e=o.getDefaultParams();return e.action="getBundle",e.bundleVersion=s.default.getBundleVersion(),r(d[8]).StringUtils.appendParams(o.baseUrl(),e)}},{key:"customLanguagePack",value:(function(){var n=(0,t.default)(function*(t){var n=t.machine,u=(0,e.default)(t,y);return o.getWithParams(Object.assign({action:"locale"},u),{},n)});return function(e){return n.apply(this,arguments)}})()},{key:"checkConfigUpdate",value:(function(){var n=(0,t.default)(function*(t){var n=t.machine,u=(0,e.default)(t,U);return o.getWithParams(Object.assign({action:"checkconfigupdate"},u),{},n)});return function(e){return n.apply(this,arguments)}})()},{key:"getConfig",value:(function(){var n=(0,t.default)(function*(t){var n=t.machine,u=(0,e.default)(t,_);return o.getWithParams(Object.assign({action:"config"},u),{},n)});return function(e){return n.apply(this,arguments)}})()},{key:"getAppStoreMetadata",value:(function(){var e=(0,t.default)(function*(){return o.getWithParams({action:"appstoremetadata",bundleId:r(d[8]).PlatformUtils.getPackagedId()})});return function(){return e.apply(this,arguments)}})()},{key:"getGoogleAccessToken",value:(function(){var e=(0,t.default)(function*(){return o.getWithParams({action:"getGoogleToken"})});return function(){return e.apply(this,arguments)}})()},{key:"validateReceipt",value:(function(){var e=(0,t.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.post(r(d[8]).StringUtils.appendParams(o.baseUrl(),Object.assign({},o.getDefaultParams(),{action:"validatereceipt"})),{},e,!0)});return function(){return e.apply(this,arguments)}})()},{key:"getMaster",value:function(){var e=g.getAppServer();if(r(d[8]).StringUtils.isTecnaviaDomain(e)){var t=e.replace(/https?:\/\//,"").split(/(?:-|\.)(?!com)/);t.length>3&&(5===t.length&&t.splice(0,1),t[0]="server",4===t.length&&(t[3]="admin."+t[3],t.splice(2,1)),e=t.join(g.isHTTPS()?"-":"."))}return e}},{key:"sendLogToServer",value:(function(){var e=(0,t.default)(function*(){var e=r(d[8]).StringUtils.appendParams(o.baseUrl(o.getMaster()),Object.assign({},o.getDefaultParams(),{action:"upload_log"}));try{return yield l.default.post(e,{name:"uploadedfile",filename:r(d[8]).Logger.logSessionFileName,type:"text/plain",data:l.default.wrap(r(d[9]).LOG_BASE_PATH+"/"+r(d[8]).Logger.logSessionFileName)}),!0}catch(e){return!1}});return function(){return e.apply(this,arguments)}})()},{key:"sendLog",value:(function(){var e=(0,t.default)(function*(){var e=yield o.sendLogToServer();return yield r(d[8]).Logger.deleteLogFile(),yield r(d[8]).Logger.createNewSessionLog(),e});return function(){return e.apply(this,arguments)}})()},{key:"requestWithRetry",value:(function(){var e=(0,t.default)(function*(e){for(var t,n=e.request,u=e.onRetry,o=e.maxRetries,s=void 0===o?k:o,l=0,c=arguments.length,f=new Array(c>1?c-1:0),v=1;v0&&u&&u(l,s),t=(yield n.apply(void 0,f)).data}catch(e){if(e.response&&e.response.status===A.UNAUTHORIZED)throw e}l+=1}while(!t&&l0&&void 0!==arguments[0]?arguments[0]:{},t=g.getNewsmemoryStartupParams()||{};g.newsmemoryStartupParams=Object.assign({},t,n)},g.getNewsmemoryStartupParams=function(){return g.newsmemoryStartupParams},g.isIssueInNewsmemoryStartupParams=function(){if(g.newsmemoryStartupParams){var n=g.newsmemoryStartupParams,t=n.date,o=n.selDate,s=n.issue;return void 0!==o||void 0!==t||void 0!==s}return!1},g.shouldForceNewsmemoryWithStartupParams=function(){return!!g.newsmemoryStartupParams&&("load"===g.newsmemoryStartupParams.schemaPath||g.isIssueInNewsmemoryStartupParams())},g.resetNewsmemoryStartupParams=function(){g.newsmemoryStartupParams={}},g.initBaseValues=function(n){var t=n.language,o=n.pSetup,s=n.machine,u=n.splashBgColor,p=n.loadingColor,f=n.appName,l=n.appVersionName,c=n.appVersionCode,S=n.androidVersionName,C=n.iosIapSharedSecret,P=n.androidAppId,v=n.pushService,A=n.pushChannel,b=n.pushChannelSilent,M=n.masAppId,y=n.hcmAppId,w=n.oneSignalAppId,h=n.facebookAppId,D=n.isAddon,N=n.addonNeedsCloseButton,L=n.addonNeedsSafeArea,I=n.isTecnaviaHelperApp,_=n.debugMode,T=n.densityDPI,F=n.isHuawei,O=n.isKindle,V=n.initialOrientation,x=n.developerName,R=n.externalLinkAccountURL,U=n.token,E=n.apiKey,k=n.enableDebugger;g.splashBgColor=u,g.loadingColor=p,g.appName=f,g.appVersionName=l,g.androidVersionName=S,g.appVersionCode=c,g.iosIapSharedSecret=C,g.androidAppId=P,g.pushService=v,g.pushChannel=A,g.pushChannelSilent=b,g.masAppId=M,g.hcmAppId=y,g.oneSignalAppId=w,g.facebookAppId=h,g.isDebug=g.__DEV__||_,g.showSendLog=!g.__DEV__&&_,g.isApiDebug=g.isDebug,g.cssDebug=g.isDebug,g.isHuawei=F,g.isKindle=O,g.locale=t,g.pSetup=o,g.server=s,g.isTecnaviaHelperApp=I,g.densityDPI=T,g.initialOrientation=V,g.isAddon=D,g.addonNeedsCloseButton=D&&N,g.addonNeedsSafeArea=D&&L,g.apiKey=E,g.enableDebugger=!!k,g.developerName=x||"Tecnavia",g.externalLinkAccountURL=R,U&&g.updateNewsmemoryStartupParams({token:U}),r(d[10]).NetworkUtils.isHTTPS=g.isHTTPS(),r(d[10]).Logger.enableLog=g.isDebug,g.__DEV__&&g.isTaAddon(),g.initialized=!0},g.initialized=!1,g.startup=!0,g.lastAppSide=void 0,g.lastRssCategory=void 0,g.pSetup="",g.server="",g.locale="",g.isDebug=!1,g.showSendLog=!1,g.isAddon=!1,g.addonNeedsCloseButton=!1,g.addonNeedsSafeArea=!1,g.isTecnaviaHelperApp=!1,g.developer="naquilini",g.isApiDebug=!1,g.cssDebug=!1,g.adsTestDevices=["EF6F266379A7547A0AC501AC591D60A1"],g.isLayoutDebug=!1,g.isDimensionsDebug=!1,g.developerName=void 0,g.externalLinkAccountURL=void 0,g.apiKey=void 0,g.unauthorized=!1,g.enableDebugger=!1,g.machineId=void 0,g.openingPushNotificationDate=new Date,g.advertisingTrackingConsent=void 0,g.isTaAddon=function(){return g.isAddon||g.isTecnaviaHelperApp},g.TaAddonNeedsCloseButton=function(){return g.addonNeedsCloseButton},g.appNeedsSafeArea=function(){return!g.isTaAddon()||g.addonNeedsSafeArea},g.getRssFavoritesConfig=function(){return g.rssFavoritesConfig||(g.rssFavoritesConfig=new(r(d[11]).RssFavoritesConfig)),g.rssFavoritesConfig},g.getEpaperLayoutConfig=function(){return g.epaperLayoutConfig||(g.epaperLayoutConfig=new f.default),g.epaperLayoutConfig},g.getLocaleConfig=function(){return g.localeConfig||(g.localeConfig=new(r(d[12]).LocaleConfig)),g.localeConfig},g.getSslConfig=function(){return g.sslConfig||(g.sslConfig=new c.default),g.sslConfig},g.strings=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return g.getLocaleConfig().strings(n,t)},g.date=function(n){return g.getLocaleConfig().date(n)},g.formattedDate=function(n,t){return g.getLocaleConfig().formattedDate(n,t)},g.getAudio=function(){return g.getLocaleConfig().audioMgr},g.getAdsConfig=function(){return g.adsConfig||(g.adsConfig=new(r(d[13]).AdsConfig)),g.adsConfig},g.getVerticalsConfig=function(){return g.verticalsConfig||(g.verticalsConfig=new(r(d[14]).VerticalsConfig)),g.verticalsConfig},g.getNewsmemoryConfig=function(){return g.newsmemoryConfig||(g.newsmemoryConfig=new l.default),g.newsmemoryConfig},g.getRssIndexManager=function(){return g.rssIndexManager||(g.rssIndexManager=new(r(d[15]).RssIndexManager)),g.rssIndexManager},g.getRssIndex=function(n){return g.getRssIndexManager().getIndex(n)},g.getFontsManager=function(){return g.fontsManager||(g.fontsManager=new(r(d[16]).FontsManager)),g.fontsManager},g.getFontsConfig=function(n){return g.getFontsManager().getConfig(n)},g.getUserSettings=function(){return g.userConfig||(g.userConfig=new(r(d[17]).UserConfig)),g.userConfig},g.getAppPSetup=function(){var n,t=g.getUserSettings().notificationEmail;if(t){n=r(d[10]).StringUtils.parseNotificationEmail(t).pSetup;var o=g.getPaperSetupManager();if(o){var s=o.activePSetup;if(s)n!==P.default.parseXpSetup(s).mainpSetup&&o.setActivePSetup(n);else o.setActivePSetup(n)}}n||(n=g.pSetup);return n.trim()},g.getAppServer=function(){var n,t=g.getUserSettings().notificationEmail;t&&(n=r(d[10]).StringUtils.parseNotificationEmail(t).server);n||(n=g.server);return n.trim()},g.isHTTPS=function(){return 0===g.getAppServer().indexOf("https://")},g.getPaperSetupManager=function(){return g.paperSetupManager||(g.paperSetupManager=new(r(d[18]).PaperSetupManager)),g.paperSetupManager},g.getMainPSetup=function(){return g.getPaperSetupManager().getMainPSetupConfig()},g.getActivePSetup=function(){return g.getPaperSetupManager().getActivePSetupConfig()},g.getRSSActivePSetup=function(){return g.getPaperSetupManager().getRSSActivePSetupConfig()},g.initPSetup=(n=(0,p.default)(function*(n,t,o){return g.getPaperSetupManager().init(n,t,o)}),function(t,o,s){return n.apply(this,arguments)}),g.initConfigOnly=(t=(0,p.default)(function*(n,t){return g.getPaperSetupManager().initConfigOnly(n,t)}),function(n,o){return t.apply(this,arguments)}),g.setPSetupConfig=(o=(0,p.default)(function*(n,t){return g.getPaperSetupManager().setPSetupConfig(n,t)}),function(n,t){return o.apply(this,arguments)}),g.loadPSetup=(s=(0,p.default)(function*(n,t,o,s){return g.getPaperSetupManager().load(n,t,Object.assign({fromCache:!0},o),s)}),function(n,t,o,u){return s.apply(this,arguments)}),g.reloadActivePSetup=(u=(0,p.default)(function*(n){return g.getPaperSetupManager().reload(n)}),function(n){return u.apply(this,arguments)}),g.getPublicationsManager=function(){return g.publicationsManager||(g.publicationsManager=new C.default),g.publicationsManager},g.loadPublications=(0,p.default)(function*(){return g.getPublicationsManager().load()}),g.setCurrentPublication=function(n){return g.getPublicationsManager().setCurrentPublication(n)},g.getCurrentPublication=(0,p.default)(function*(){return g.getPublicationsManager().getCurrentPublication()}),g.getContentManager=function(){return g.contentManager||(g.contentManager=new S.default),g.contentManager},g.analyzeUsedSpace=(0,p.default)(function*(){return g.getContentManager().analyze()}),g.getUsedSpace=function(){var n=g.getContentManager();return{usedSpace:n.usedSpace,numberOfPapersDirs:n.numberOfPapersDirs,numberOfIssuesDirs:n.numberOfIssuesDirs,numberOfPagesDirs:n.numberOfPagesDirs}},r(d[10]).Logger.enableLog=!1,r(d[10]).Logger.enableLogCaller=!1,r(d[10]).Logger.initializedLogSession=!1,r(d[10]).Logger.logSessionFileName="",g.getLocaleConfig().initLocale()},405,[3,272,406,1865,1965,1966,1725,614,1726,444,439,1967,1981,2016,2072,2079,1856,2087,1852]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])),n=r(d[0])(r(d[4]));r(d[0])(r(d[5]));(_e.default=(function(){function s(){(0,e.default)(this,s),this.isTablet=r(d[6]).PlatformUtils.isTablet(),this.config={}}return(0,o.default)(s,[{key:"_addPublicationsButton",value:function(){var t;if(this.mainFooter.buttons&&this.mainFooter.buttons.length>0&&!this.mainFooter.buttons.find(function(t){return t&&t.getAction()===r(d[7]).ACTIONS.openMore.key})){var e=r(d[8]).main.buttons.find(function(t){return t&&t.function===r(d[7]).ACTIONS.openMore.key});e&&this.mainFooter.buttons.push(new(r(d[9]).Icon)(e))}if(this.mainFooter.more&&this.mainFooter.more.length>0&&(t=this.mainFooter.more.find(function(t){return t&&t.getAction()===r(d[7]).ACTIONS.openOptionPagePublications.key})),!t&&(this.mainFooter.buttons&&this.mainFooter.buttons.length>0&&(t=this.mainFooter.buttons.find(function(t){return t&&t.getAction()===r(d[7]).ACTIONS.openOptionPagePublications.key})),!t)){this.mainFooter.more||(this.mainFooter.more=[]);var o=r(d[8]).main.more.find(function(t){return t&&t.function===r(d[7]).ACTIONS.openOptionPagePublications.key});if(o){var n=this.mainFooter.more.length+1;o.id=n,this.mainFooter.more.push(new(r(d[9]).Icon)(o))}}}},{key:"getIconByAction",value:function(t){var e;return this.mainFooter&&(e=this.mainFooter.getButtonByAction(t)),!e&&this.articleFooter&&(e=this.articleFooter.getButtonByAction(t)),!e&&this.firstLevelIndexFooter&&(e=this.firstLevelIndexFooter.getButtonByAction(t)),!e&&this.secondLevelIndexFooter&&(e=this.secondLevelIndexFooter.getButtonByAction(t)),!e&&this.articleHeader&&(e=this.articleHeader.getButtonByAction(t)),!e&&this.firstLevelIndexHeader&&(e=this.firstLevelIndexHeader.getButtonByAction(t)),!e&&this.secondLevelIndexHeader&&(e=this.secondLevelIndexHeader.getButtonByAction(t)),!e&&this.navigationModel&&(e=this.navigationModel.getButtonByAction(t)),e}},{key:"init",value:(function(){var e=(0,t.default)(function*(t,e,o){var c=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(this.type=e,o){try{var u=yield n.default.getEpaperLayoutConfig();this.config=u&&u.data||{},g.getNewsmemoryConfig().setLayout(t,this.config)}catch(e){this.config=yield g.getNewsmemoryConfig().getLayout(t)}try{yield g.getNewsmemoryConfig().resetTranslationAvailable()}catch(t){}}else this.config=yield g.getNewsmemoryConfig().getLayout(t);if(!this.config||!this.config.main)switch(this.type){case s.Type.hybridLite:case s.Type.hybrid:case s.Type.lite:default:this.config=this.isTablet?r(d[8]):r(d[10])}var h=this.config,l=h.main,f=h.article,y=h.index,v=h.navigation;if(l){this.mainFooter=new(r(d[11]).Footer)(l);var F=g.getActivePSetup().isGenericApp;if(r(d[12]).PaperSetupManager.isGenericAppConfigured()&&!F){var p=g.getPublicationsManager();(c||p.getPublications().length>1)&&this._addPublicationsButton()}}if(f&&(this.articleFooter=new(r(d[11]).Footer)(f.footer),this.articleHeader=new(r(d[13]).Header)(f)),y){var b=y.firstLevel,A=y.secondLevel;b&&(this.firstLevelIndexHeader=new(r(d[13]).Header)(b),this.firstLevelIndexFooter=new(r(d[11]).Footer)(b.footer||f.footer)),A&&(this.secondLevelIndexHeader=new(r(d[13]).Header)(A),this.secondLevelIndexFooter=new(r(d[11]).Footer)(A.footer||f.footer))}v&&(this.navigationModel=new(r(d[14]).Navigation)(v))});return function(t,o,n){return e.apply(this,arguments)}})()}])})()).Type={normal:0,lite:1,hybrid:2,hybridLite:3}},406,[3,272,6,7,407,1725,439,1728,1807,1808,1848,1849,1852,1859,1864]); +__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),a=_r(d[0])(_r(d[3])),n=_r(d[0])(_r(d[4])),r=_r(d[0])(_r(d[5])),i=_r(d[0])(_r(d[6])),u=P(_r(d[7])),l=P(_r(d[8])),s=_r(d[0])(_r(d[9])),o=_r(d[0])(_r(d[10])),f=(_r(d[0])(_r(d[11])),_r(d[0])(_r(d[12])),_r(d[0])(_r(d[13]))),c=_r(d[0])(_r(d[14])),p=(_r(d[0])(_r(d[15])),["username","password","TAUID","TOKEN","challenge"]),v=["pSetup","machine","cdnServer","mtime"];function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(y=function(e){return e?a:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=y(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,a&&a.set(e,n),n}_e.default=(function(){function y(){(0,a.default)(this,y)}return(0,n.default)(y,null,[{key:"getDomain",value:function(e){var t=g.getActivePSetup().machine,a=g.getNewsmemoryConfig().cdnServer;return e&&a||t}},{key:"baseUrl",value:function(e){return r.default.baseUrl(y.getDomain(e))}},{key:"getDefaultGETParams",value:function(){return{pSetup:g.getActivePSetup().pSetup}}},{key:"getEncryptedCallsParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=g.getActivePSetup(),a=t.pSetup,n=t.encryptFilenames;if(e&&n===_r(d[16]).ENCRYPT_FILENAME_TYPE.XPAPER){var r=l.default.parseXpSetup(a).xpSetup;if(r)return{pSetup:r}}return{}}},{key:"getResourceCDNParams",value:function(e,t,a,n){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={};return e?(i=Object.assign({},y.getEncryptedCallsParams(r),{cc:l.default.encryptFilenames(a,e)}),n&&(i.mtime=n.join(","))):(i[t]=a.join(","),n&&(i.ts=l.default.getCDNChecksum(n))),i}},{key:"get",value:(function(){var e=(0,t.default)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return r.default.get(y.baseUrl(),t,Object.assign({},y.getDefaultGETParams(),e),a,n)});return function(t){return e.apply(this,arguments)}})()},{key:"post",value:(function(){var e=(0,t.default)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{responseType:"text"},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},u=Object.assign({},r.default.getDefaultParams(),y.getDefaultGETParams(),t),l=_r(d[17]).StringUtils.appendParams(e,u);return r.default.post(l,n,a,!0,i)});return function(t){return e.apply(this,arguments)}})()},{key:"login",value:(function(){var a=(0,t.default)(function*(t,a){var n=t.username,r=t.password,i=t.TAUID,u=t.TOKEN,l=t.challenge,s=(0,e.default)(t,p);return y.get(Object.assign({action:"login",timepc:(new Date).getTime()/1e3||0,username:_r(d[17]).JSUtils.isNull(n)?void 0:n,password:r,challenge:l,TAUID:i,TOKEN:u,LocalUA:_r(d[17]).PlatformUtils.getUserAgent()},s),{timeout:a})});return function(e,t){return a.apply(this,arguments)}})()},{key:"createIAPUser",value:(function(){var e=(0,t.default)(function*(){return y.get({action:"createIAPUser"})});return function(){return e.apply(this,arguments)}})()},{key:"getEditionsAndIssues",value:(function(){var e=(0,t.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=g.getActivePSetup().loadEditionsUrl,a=l.default.parseXpSetup(g.getActivePSetup().pSetup).mainpSetup;try{return(yield r.default.get(t,{},Object.assign({},y.getDefaultGETParams(),{pSetup:a},e))).data}catch(e){}return{}});return function(){return e.apply(this,arguments)}})()},{key:"getIssues",value:(function(){var e=(0,t.default)(function*(e){var t=g.getActivePSetup(),a=t.defaultMaxIssues,n=t.udb,r=g.getNewsmemoryConfig(),i=yield r.getPrefEdi(n),u=yield r.getFavEdi();try{return(yield y.get({action:"issues",maxIssues:a,edition:e,prefEdi:i,favEdi:u})).data}catch(e){}return[]});return function(t){return e.apply(this,arguments)}})()},{key:"getEditions",value:(function(){var e=(0,t.default)(function*(e){try{return(yield y.get({action:"editions",issue:e})).data}catch(e){}return[]});return function(t){return e.apply(this,arguments)}})()},{key:"translateArticle",value:(function(){var e=(0,t.default)(function*(e){var t,a=g.getActivePSetup().translationServer,n=!1;a?t=r.default.baseUrl(a):(n=l.default.isCDNEnabled(),t=y.baseUrl(n));try{var i=e.target,u=e.issue,s=e.edition,o=e.filename,f=e.artid,c=e.filetime,p=e.secret,v=Object.assign({},r.default.getDefaultParams(!0,n),y.getDefaultGETParams(),{action:"translate",target:i,issue:u,edition:s,artid:f},y.getResourceCDNParams(p,"filename",[o],[c],n));return(yield r.default.get(t,{},v,!0)).data}catch(e){}return""});return function(t){return e.apply(this,arguments)}})()},{key:"translationsAvailable",value:(function(){var e=(0,t.default)(function*(){try{return(yield y.get({action:"languages"})).data}catch(e){}return{}});return function(){return e.apply(this,arguments)}})()},{key:"share",value:(function(){var e=(0,t.default)(function*(e){var t=g.getActivePSetup().loginStatus,a=t.TAUID,n=t.TOKEN,r=Object.assign({action:"share"},e,{TAUID:a,TOKEN:n});try{return(yield y.get(r)).data}catch(e){}return{}});return function(t){return e.apply(this,arguments)}})()},{key:"downloadEditionDB",value:(function(){var e=(0,t.default)(function*(e,t,a,n,i){var s=g.getActivePSetup(),o=s.loginStatus,c=s.encryptFilenames,p=o.TAUID,v=o.TOKEN,P=o.oneTimeToken,h=l.default.normalizeEdition(a)+"_pages",D=Object.assign({},r.default.getDefaultParams(),y.getDefaultGETParams(),{action:"adfile",issue:t,adtype:h,edition:a,TAUID:p,TOKEN:v,oneTimeToken:P,uAVCC:o.getReceiptToken(),appendFirstPages:n?1:0});c>_r(d[16]).ENCRYPT_FILENAME_TYPE.NONE&&(D.e=1);var U=g.getNewsmemoryConfig().dbDownloadPSetup;U&&(D.pSetup=U);var E,T=_r(d[17]).StringUtils.appendParams(y.baseUrl(),D),I=f.default.getNewspaperIssueDirectory(e,t),b=t+"_"+h+".zip",N=yield u.default.getEditionDatabaseAndPages(T,b,I,Object.assign({completionCallback:function(e){var t=e.speed;E=t}},i)),w=N.filenames,S=N.responseHeaders,A=Object.assign({},w,{responseHeaders:S});return E&&(A.speed=E),A});return function(t,a,n,r,i){return e.apply(this,arguments)}})()},{key:"getHrImageUrl",value:function(e,t,a,n,i,u,s){var o=t?"jpg":"gif",f=l.default.isCDNEnabled(),c=Object.assign({},r.default.getDefaultParams(!0,f),y.getDefaultGETParams(),{action:"hrimage",issue:e,xmlId:a,boxId:n,type:o},y.getResourceCDNParams(s,"filename",[i],[u],f));return _r(d[17]).StringUtils.appendParams(y.baseUrl(f),c)}},{key:"getPagePath",value:function(e,t,a){return f.default.getNewspaperIssueDirectory(e,t)+a+"/"}},{key:"getHrPath",value:function(e,t,a,n,r,i){var u="pag_"+r+"_"+i+"."+(n?"jpg":"gif");return y.getPagePath(e,t,a)+u}},{key:"downloadHRImage",value:(function(){var e=(0,t.default)(function*(e,t,a,n,r,i,l,s){var f="pag_"+r+"_"+i+"."+(l?"jpg":"gif"),c=y.getHrImageUrl(t,l,r,i,a,n,s);try{var p=y.getPagePath(e,t,a),v=yield u.default.downloadResourceInFolder(c,p,f),P=yield(0,_r(d[18]).getImageSize)("file://"+v),h=P.width,D=P.height;return{path:v,name:o.default.getFilename(v),width:h,height:D}}catch(e){throw e}});return function(t,a,n,r,i,u,l,s){return e.apply(this,arguments)}})()},{key:"downloadImage",value:(function(){var e=(0,t.default)(function*(e,t,a,n,i,s){var c=l.default.isCDNEnabled(),p=Object.assign({},r.default.getDefaultParams(!0,c),y.getDefaultGETParams(),{action:"base64image",issue:t,image:a},y.getResourceCDNParams(s,"filename",[n],[i],c)),v=_r(d[17]).StringUtils.appendParams(y.baseUrl(c),p);try{var P=f.default.getNewspaperIssueDirectory(e,t)+n+"/",h=yield u.default.downloadResourceInFolder(v,P,a),D=0,U=0;if(h.endsWith(_r(d[19]).EPaperImageName.PDF))D=100,U=100;else{var E=yield(0,_r(d[18]).getImageSize)("file://"+h);if(D=E.width,U=E.height,0===D||0===U)throw yield _r(d[17]).FileUtils.unlink(h),new Error("Invalid size "+D+"x"+U+" for image "+h)}return{path:h,name:o.default.getFilename(h),width:D,height:U}}catch(e){throw e}});return function(t,a,n,r,i,u){return e.apply(this,arguments)}})()},{key:"downloadPageZip",value:(function(){var e=(0,t.default)(function*(e,t,a,n,i){var s=l.default.isCDNEnabled(),o=Object.assign({},r.default.getDefaultParams(!0,s),y.getDefaultGETParams(),{action:"zippedimages",issue:t},y.getResourceCDNParams(i,"filename",[a],[n],s)),c=_r(d[17]).StringUtils.appendParams(y.baseUrl(s),o);try{var p=f.default.getNewspaperIssueDirectory(e,t)+a+"/";yield u.default.downloadResourceAndUnzipInFolder(c,p);var v=_r(d[19]).EPaperImageName.LOW,P=_r(d[19]).EPaperImageName.GRAPH,h=_r(d[19]).EPaperImageName.GIF,D=_r(d[19]).EPaperImageName.PDF;return yield u.default.scanPageFolderForImages(p,[v,P,h,D])}catch(e){throw e}});return function(t,a,n,r,i){return e.apply(this,arguments)}})()},{key:"downloadHRImagesZip",value:(function(){var e=(0,t.default)(function*(e,t,a,n,i){var s=l.default.isCDNEnabled(),c=a.substring(0,a.length-2),p=Object.assign({},r.default.getDefaultParams(!0,s),y.getDefaultGETParams(),{action:"zippedhrimages",mode:"g",issue:t},y.getResourceCDNParams(i,"page",[c],[n],s)),v=_r(d[17]).StringUtils.appendParams(y.baseUrl(s),p);try{var P=f.default.getNewspaperIssueDirectory(e,t)+a+"/",h=yield u.default.downloadResourceInFolder(v,P,l.ARCHIVE_ZIP_GRAPH_FILENAME);return(yield o.default.exists(h))?h:null}catch(e){throw e}});return function(t,a,n,r,i){return e.apply(this,arguments)}})()},{key:"downloadMultiplePagesZips",value:(function(){var e=(0,t.default)(function*(e,a,n,i,s){var o,c=l.default.isCDNEnabled(),p=Object.assign({},r.default.getDefaultParams(!0,c),y.getDefaultGETParams(),{action:"multizippedimages",issue:a},y.getResourceCDNParams(s,"filenames",n,i,c)),v=_r(d[17]).StringUtils.appendParams(y.baseUrl(c),p);try{var P=f.default.getNewspaperIssueDirectory(e,a);yield u.default.downloadResourceAndUnzipInFolder(v,P);var h=_r(d[19]).EPaperImageName.LOW,D=_r(d[19]).EPaperImageName.GRAPH,U=_r(d[19]).EPaperImageName.GIF,E=_r(d[19]).EPaperImageName.PDF;return Promise.all(n.map((o=(0,t.default)(function*(e){return u.default.scanPageFolderForImages(P+e,[h,D,U,E])}),function(e){return o.apply(this,arguments)})))}catch(e){throw e}});return function(t,a,n,r,i){return e.apply(this,arguments)}})()},{key:"downloadFullPaper",value:(function(){var e=(0,t.default)(function*(e,t,a){var n=g.getActivePSetup().loginStatus,i=n.TAUID,l=n.TOKEN,s=n.oneTimeToken,o=g.getNewsmemoryConfig().network,c=Object.assign({},r.default.getDefaultParams(),y.getDefaultGETParams(),{action:"zippedpaper",issue:t,edition:a,TAUID:i,TOKEN:l,oneTimeToken:s,network:o,uAVCC:n.getReceiptToken()}),p=_r(d[17]).StringUtils.appendParams(y.baseUrl(),c);try{var v=f.default.getNewspaperIssueDirectory(e,t);yield u.default.downloadResourceAndUnzipInFolder(p,v)}catch(e){throw e}});return function(t,a,n){return e.apply(this,arguments)}})()},{key:"downloadPaperIndex",value:(function(){var e=(0,t.default)(function*(e,t){var a=g.getActivePSetup().loginStatus,n={action:"index",issue:e,edition:t,TAUID:a.TAUID,TOKEN:a.TOKEN,oneTimeToken:a.oneTimeToken,uAVCC:a.getReceiptToken()},r=(yield y.get(n)).data;if(r)return r;throw new Error("NewsmemoryAJAX - downloadPaperIndex: no data returned")});return function(t,a){return e.apply(this,arguments)}})()},{key:"downloadArticles",value:(function(){var e=(0,t.default)(function*(e,t,a,n){try{var r=Object.assign({action:"articles",issue:e,edition:t},y.getResourceCDNParams(n,"filename",[a])),i=(yield y.get(r)).data;if(i)return i}catch(e){}throw new Error("NewsmemoryAJAX - downloadArticles: no data returned")});return function(t,a,n,r){return e.apply(this,arguments)}})()},{key:"getAvailableLanguages",value:(function(){var e=(0,t.default)(function*(){return y.get({action:"languages"})});return function(){return e.apply(this,arguments)}})()},{key:"getEpaperLayoutConfig",value:(function(){var e=(0,t.default)(function*(){return y.get({action:"buttons"})});return function(){return e.apply(this,arguments)}})()},{key:"getApplication",value:(function(){var e=(0,t.default)(function*(){var e=Object.assign({},r.default.getDefaultParams(),y.getDefaultGETParams(),{action:"application"}),t=_r(d[17]).StringUtils.appendParams(y.baseUrl(),e);try{var a=yield o.default.fetch(t);if(a){var n=a.path(),i=c.default.getDirectory()+"/";try{yield o.default.unlink(i)}catch(e){}return yield o.default.mkdir(i),yield o.default.unzip(n,i),yield o.default.clearUnusedDownloadedFiles(n),!0}}catch(e){throw new Error("Failed to download "+t)}return!1});return function(){return e.apply(this,arguments)}})()},{key:"getCDNStatus",value:(function(){var e=(0,t.default)(function*(e,t){var a=g.getActivePSetup().loginStatus,n={action:"cdn",issue:e,edition:t,TAUID:a.TAUID,TOKEN:a.TOKEN,oneTimeToken:a.oneTimeToken,uAVCC:a.getReceiptToken()};return y.get(n)});return function(t,a){return e.apply(this,arguments)}})()},{key:"getChildArtImageUrl",value:function(e,t,a,n,i,u,s,o,f){var c=l.default.isCDNEnabled(),p=Object.assign({},r.default.getDefaultParams(!0,!0),y.getDefaultGETParams(),{action:"loadImage",type:"printImage",xmlId:t,issue:e,images:a,medDpi:n,pageW:i,pageH:u},y.getResourceCDNParams(f,"filename",[s],[o],c));return _r(d[17]).StringUtils.appendParams(y.baseUrl(c),p)}},{key:"getInArticleImageUrl",value:function(e,t,a,n,i,u,s,o){var f=l.default.isCDNEnabled(),c=Object.assign({},r.default.getDefaultParams(!0,!0),y.getDefaultGETParams(),{action:"loadImage",type:"Image",paper:e,issue:t,edition:a,val:n,imageIssue:i!==t?i:void 0},y.getResourceCDNParams(o,"filename",[u],[s],f));return _r(d[17]).StringUtils.appendParams(y.baseUrl(f),c)}},{key:"getSpecialSectionUrl",value:function(e,t,a,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=l.default.isCDNEnabled(),o=Object.assign({},r.default.getDefaultParams(!0,s),y.getDefaultGETParams(),{action:e,issue:t},y.getResourceCDNParams(n,"edition",[a],[0],s&&!i));return i&&(o.editionfromcalling=g.getNewsmemoryConfig().editionfromcalling),"indexspecial"===e&&(o.showSections=u?1:0,o.remote=1),_r(d[17]).StringUtils.appendParams(y.baseUrl(s),o)}},{key:"getDownloadPdfUrl",value:(function(){var e=(0,t.default)(function*(e,t){var a=e.getIssue(),n=e.getEdition(),i=e.getSecret(),u=t.getFilename(),l=t.getPage(),s=g.getActivePSetup().loginStatus,o=s.TAUID,f=s.TOKEN,c=s.oneTimeToken,p=Object.assign({},r.default.getDefaultParams(),y.getDefaultGETParams(),{action:"page",issue:a,edition:n,page:l,TAUID:o,TOKEN:f,oneTimeToken:c,uAVCC:s.getReceiptToken()},y.getResourceCDNParams(i,"filename",[u]));return _r(d[17]).StringUtils.appendParams(y.baseUrl(),p)});return function(t,a){return e.apply(this,arguments)}})()},{key:"downloadPDF",value:(function(){var e=(0,t.default)(function*(e,t){try{var a=g.getActivePSetup().paperName;a=l.default.normalizePaperName(a);var n=e.getIssue(),r=s.default.removeZerosFromPageNumber(t.getPage()),i=yield y.getDownloadPdfUrl(e,t),f=a+"_"+n+"_"+r+".pdf",c=o.default.getDownloadedPdfDirectory()+"/"+f;return{path:(yield o.default.exists(c))?c:yield u.default.downloadResourceInFolder(i,o.default.getDownloadedPdfDirectory()+"/",f),name:f,url:i}}catch(e){throw e}});return function(t,a){return e.apply(this,arguments)}})()},{key:"uploadSessionReport",value:(function(){var e=(0,t.default)(function*(e,t){try{var a=g.getActivePSetup().sessionUploadBaseURL||y.baseUrl(),n=JSON.stringify(t.getReport());return yield y.post(a,{action:"uploadSessionReport"},{sessionId:e,report:n}),!0}catch(e){}return!1});return function(t,a){return e.apply(this,arguments)}})()},{key:"getVideoURL",value:function(e){var t=i.default.getSafeArea(),a=t.width,n=t.height,u=Object.assign({},r.default.getDefaultParams(),y.getDefaultGETParams(),{action:"video",videoURL:_r(d[17]).StringUtils.appendParams(e,{width:Math.min(a,n)})});return _r(d[17]).StringUtils.appendParams(y.baseUrl(),u)}},{key:"getCMPBaseURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},r.default.getDefaultParams(),{action:"cmp"},e);return _r(d[17]).StringUtils.appendParams(y.baseUrl(),t)}},{key:"getCMPVendorListUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({version:i.default.getAppVersion(),action:"cmpVendorList",cc:1,mtime:0},e),a=g,n=a.isApiDebug,r=a.developer;n&&(t.isDebug=n,t.developer=r);var u=g.getNewsmemoryConfig().cdnVersion;void 0!==u&&(t.v=u);var s=l.default.isCDNEnabled();return _r(d[17]).StringUtils.appendParams(y.baseUrl(s),t)}},{key:"getCMPVendorList",value:(function(){var e=(0,t.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{return(yield r.default.get(y.getCMPVendorListUrl(e),{},{},!0)).data}catch(e){}return{}});return function(){return e.apply(this,arguments)}})()},{key:"validateReceipt",value:(function(){var e=(0,t.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=g.getActivePSetup().loginStatus.TAUID;return _r(d[17]).JSUtils.isNull(e.TAUID)&&_r(d[20]).LoginStatus.isValidTAUID(t)&&(e.TAUID=t),r.default.validateReceipt(e)});return function(){return e.apply(this,arguments)}})()},{key:"customFonts",value:(function(){var a=(0,t.default)(function*(t){var a=t.pSetup,n=t.machine,i=t.cdnServer,u=t.mtime,l=(0,e.default)(t,v),s=Object.assign({},r.default.getDefaultParams(!0,!0),{pSetup:a,action:"fonts",cc:1,mtime:u},l);return r.default.get(r.default.baseUrl(i||n),{},s,!0)});return function(e){return a.apply(this,arguments)}})()}])})()},407,[3,4,272,6,7,408,435,573,614,843,553,844,655,845,849,850,851,439,575,574,855]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.MAX_RETRIES=_e.HTTP_CODES=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),l=r(d[0])(r(d[7])),c=["customUrl","pSetup","machine"],f=["token"],v=["token"],p=["machine"],h=["machine"],T=["machine"],y=["machine"],U=["machine"],_=["machine"],E=o.default.create(),k=_e.MAX_RETRIES=3,A=_e.HTTP_CODES={PARTIAL_CONTENT:206,UNAUTHORIZED:401,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504},P=_e.default=(function(){function o(){(0,n.default)(this,o)}return(0,u.default)(o,null,[{key:"setReadAndNetworkTimeouts",value:function(e,t){E.defaults.timeout=t,l.default.networkTimeout=t,l.default.readTimeout=r(d[8]).PlatformUtils.isAndroid()?e:t}},{key:"set2GTimeout",value:function(){o.timeout=o.DEFAULT_CONNECTION_TIMEOUT_2G,o.readTimeout=o.DEFAULT_READ_TIMEOUT_2G,o.setReadAndNetworkTimeouts(o.readTimeout,o.timeout)}},{key:"set3GTimeout",value:function(){o.timeout=o.DEFAULT_CONNECTION_TIMEOUT_3G,o.readTimeout=o.DEFAULT_READ_TIMEOUT_3G,o.setReadAndNetworkTimeouts(o.readTimeout,o.timeout)}},{key:"set4GTimeout",value:function(){o.timeout=o.DEFAULT_CONNECTION_TIMEOUT_4G,o.readTimeout=o.DEFAULT_READ_TIMEOUT_4G,o.setReadAndNetworkTimeouts(o.readTimeout,o.timeout)}},{key:"setTimeout",value:function(){r(d[8]).NetworkUtils.is2G()?o.set2GTimeout():r(d[8]).NetworkUtils.is3G()?o.set3GTimeout():(r(d[8]).NetworkUtils.is4G(),o.set4GTimeout())}},{key:"getServer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.getAppServer();return r(d[8]).NetworkUtils.addDefaultProtocol(e.trim())}},{key:"baseUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.getAppServer();return o.getServer(e).concat("/default_react_native.php")}},{key:"getDefaultParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=g,u=n.getAppPSetup,l=n.isApiDebug,c=n.developer,f={};return l&&(f.isDebug=l,f.developer=c),Object.assign({pSetup:u()},t?{}:o.getUserParams(),e?{}:o.getDeviceParams(),{version:s.default.getAppVersion()},f)}},{key:"getUserParams",value:function(){return{MACHINEID:g.machineId,t:(new Date).getTime()}}},{key:"getDeviceParams",value:function(){return{os:r(d[8]).PlatformUtils.isAndroid()?"android":"ios",isEInk:r(d[8]).PlatformUtils.isEInk()?1:void 0,isKindle:s.default.isKindle()?1:void 0,isPhone:r(d[8]).PlatformUtils.isTablet()?0:1,apiVersion:r(d[8]).PlatformUtils.getSystemSDK()}}},{key:"head",value:(function(){var e=(0,t.default)(function*(e){return E.head(e)});return function(t){return e.apply(this,arguments)}})()},{key:"ajax",value:(function(){var e=(0,t.default)(function*(e){return E.get(e)});return function(t){return e.apply(this,arguments)}})()},{key:"get",value:(function(){var e=(0,t.default)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},l=n;u||(l=Object.assign({},o.getDefaultParams(),l));try{return yield E.get(e,Object.assign({headers:Object.assign({"User-Agent":r(d[8]).PlatformUtils.getUserAgent()},s)},t,{params:l,paramsSerializer:r(d[8]).StringUtils.getQuerystring}))}catch(e){throw e}});return function(t){return e.apply(this,arguments)}})()},{key:"post",value:(function(){var e=(0,t.default)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},l=n;u||(l=Object.assign({},o.getDefaultParams(),l));var c=r(d[8]).StringUtils.getQuerystring(l);try{return yield E.post(e,c,Object.assign({headers:Object.assign({Accept:"application/x-www-form-urlencoded","User-Agent":r(d[8]).PlatformUtils.getUserAgent()},s)},t))}catch(e){throw e}});return function(t){return e.apply(this,arguments)}})()},{key:"remp",value:(function(){var e=(0,t.default)(function*(e,t){return o.get(e,{},t)});return function(t,n){return e.apply(this,arguments)}})()},{key:"rssIndex",value:(function(){var n=(0,t.default)(function*(t){var n=t.customUrl,u=t.pSetup,s=t.machine,l=(0,e.default)(t,c),f={};return n||(f=Object.assign({action:"RSSindex",pSetup:u},l)),o.get(n||o.baseUrl(s),{responseType:"text"},f)});return function(e){return n.apply(this,arguments)}})()},{key:"getWithParams",value:(function(){var e=(0,t.default)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,u=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return o.get(o.baseUrl(n),t,e,u)});return function(t){return e.apply(this,arguments)}})()},{key:"cities",value:(function(){var e=(0,t.default)(function*(e){var t=e.wording;return o.getWithParams({action:"utilscities",wording:t})});return function(t){return e.apply(this,arguments)}})()},{key:"closestCities",value:(function(){var e=(0,t.default)(function*(e){var t=e.lat,n=e.lon;return o.getWithParams({action:"utilsclosestcity",lat:t,lon:n})});return function(t){return e.apply(this,arguments)}})()},{key:"deleteDeviceToPushServer",value:(function(){var n=(0,t.default)(function*(t){var n=t.token,u=(0,e.default)(t,f);return o.getWithParams(Object.assign({action:"push_deletion_service",package_id:r(d[8]).PlatformUtils.getPackagedId(),reg_id:n},u))});return function(e){return n.apply(this,arguments)}})()},{key:"registerDeviceToPushServer",value:(function(){var n=(0,t.default)(function*(t){var n=t.token,u=(0,e.default)(t,v);return o.getWithParams(Object.assign({action:"push_registration_service",package_id:r(d[8]).PlatformUtils.getPackagedId(),reg_id:n},u))});return function(e){return n.apply(this,arguments)}})()},{key:"notices",value:(function(){var n=(0,t.default)(function*(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.machine,u=(0,e.default)(t,p);return o.getWithParams(Object.assign({action:"advertisements"},u),{},n)});return function(){return n.apply(this,arguments)}})()},{key:"noticeURI",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.machine,u=(0,e.default)(t,h);return r(d[8]).StringUtils.appendParams(o.baseUrl(n),Object.assign({},o.getDefaultParams(),{action:"notices"},u))}},{key:"sslCertificatesURI",value:function(e){var t=e.cdnEnabled,n=e.cdnServer,u=e.sslCertificateFileTime,s=e.machine,l=t&&!!n,c=s,f=Object.assign({},o.getDefaultParams(l,l),{os:"android",action:"certificates"});return l&&(c=n,f.cc="certificates",f.mtime=u),r(d[8]).StringUtils.appendParams(o.baseUrl(c),f)}},{key:"pSetup",value:(function(){var n=(0,t.default)(function*(t){var n=t.machine,u=(0,e.default)(t,T);return o.getWithParams(Object.assign({action:"message",bundleVersion:s.default.getBundleVersion(),inches:r(d[8]).PlatformUtils.getScreenInches(),device:r(d[8]).PlatformUtils.getDeviceId(),isAddon:g.isTaAddon()?1:void 0},u),{responseType:"text"},n)});return function(e){return n.apply(this,arguments)}})()},{key:"getBundleDownloadUrl",value:function(){var e=o.getDefaultParams();return e.action="getBundle",e.bundleVersion=s.default.getBundleVersion(),r(d[8]).StringUtils.appendParams(o.baseUrl(),e)}},{key:"customLanguagePack",value:(function(){var n=(0,t.default)(function*(t){var n=t.machine,u=(0,e.default)(t,y);return o.getWithParams(Object.assign({action:"locale"},u),{},n)});return function(e){return n.apply(this,arguments)}})()},{key:"checkConfigUpdate",value:(function(){var n=(0,t.default)(function*(t){var n=t.machine,u=(0,e.default)(t,U);return o.getWithParams(Object.assign({action:"checkconfigupdate"},u),{},n)});return function(e){return n.apply(this,arguments)}})()},{key:"getConfig",value:(function(){var n=(0,t.default)(function*(t){var n=t.machine,u=(0,e.default)(t,_);return o.getWithParams(Object.assign({action:"config"},u),{},n)});return function(e){return n.apply(this,arguments)}})()},{key:"getAppStoreMetadata",value:(function(){var e=(0,t.default)(function*(){return o.getWithParams({action:"appstoremetadata",bundleId:r(d[8]).PlatformUtils.getPackagedId()})});return function(){return e.apply(this,arguments)}})()},{key:"getGoogleAccessToken",value:(function(){var e=(0,t.default)(function*(){return o.getWithParams({action:"getGoogleToken"})});return function(){return e.apply(this,arguments)}})()},{key:"validateReceipt",value:(function(){var e=(0,t.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.post(r(d[8]).StringUtils.appendParams(o.baseUrl(),Object.assign({},o.getDefaultParams(),{action:"validatereceipt"})),{},e,!0)});return function(){return e.apply(this,arguments)}})()},{key:"getMaster",value:function(){var e=g.getAppServer();if(r(d[8]).StringUtils.isTecnaviaDomain(e)){var t=e.replace(/https?:\/\//,"").split(/(?:-|\.)(?!com)/);t.length>3&&(5===t.length&&t.splice(0,1),t[0]="server",4===t.length&&(t[3]="admin."+t[3],t.splice(2,1)),e=t.join(g.isHTTPS()?"-":"."))}return e}},{key:"sendLogToServer",value:(function(){var e=(0,t.default)(function*(){var e=r(d[8]).StringUtils.appendParams(o.baseUrl(o.getMaster()),Object.assign({},o.getDefaultParams(),{action:"upload_log"}));try{return yield l.default.post(e,{name:"uploadedfile",filename:r(d[8]).Logger.logSessionFileName,type:"text/plain",data:l.default.wrap(r(d[9]).LOG_BASE_PATH+"/"+r(d[8]).Logger.logSessionFileName)}),!0}catch(e){return!1}});return function(){return e.apply(this,arguments)}})()},{key:"sendLog",value:(function(){var e=(0,t.default)(function*(){var e=yield o.sendLogToServer();return e&&(yield r(d[8]).Logger.deleteLogFile(),yield r(d[8]).Logger.createNewSessionLog()),e});return function(){return e.apply(this,arguments)}})()},{key:"requestWithRetry",value:(function(){var e=(0,t.default)(function*(e){for(var t,n=e.request,u=e.onRetry,o=e.maxRetries,s=void 0===o?k:o,l=0,c=arguments.length,f=new Array(c>1?c-1:0),v=1;v0&&u&&u(l,s),t=(yield n.apply(void 0,f)).data}catch(e){if(e.response&&e.response.status===A.UNAUTHORIZED)throw e}l+=1}while(!t&&l1&&void 0!==arguments[1]&&!arguments[1]?T.setByUser||T.enableLayoutAnimations===n||(T.enableLayoutAnimations=n,t.default.enableLayoutAnimations(n)):(T={enableLayoutAnimations:n,setByUser:!0},t.default.enableLayoutAnimations(n))},e.getTimestamp=void 0,e.getViewProp=function(n,o){return new Promise(function(s,l){return t.default.getViewProp(n,o,function(t){'string'==typeof t&&'error:'===t.substr(0,6)?l(t):s(t)})})},e.isConfiguredCheck=e.isConfigured=void 0,e.jestResetJsReanimatedModule=function(){t.default.jestResetModule()},e.makeMutable=function(n){return f(),t.default.makeMutable(n)},e.makeRemote=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return f(),t.default.makeRemote(n)},e.makeShareable=b,e.runOnJS=e.requestFrame=void 0,e.runOnUI=h,e.startMapper=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];return f(),t.default.startMapper(n,o,s,l,u)},e.stopMapper=function(n){t.default.stopMapper(n)};var t=r(d[0])(r(d[1])),n=r(d[2]);void 0===g._setGlobalConsole&&(g._setGlobalConsole=function(){});var o,s=((o=function(){})._closure={},o.asString="function _f(){}",o.__workletHash=0xee9333ba43b,o.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (40:48)",o),l=function(){throw new Error("Failed to initialize react-native-reanimated library, make sure you followed installation steps here: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/ \n1) Make sure reanimated's babel plugin is installed in your babel.config.js (you should have 'react-native-reanimated/plugin' listed there - also see the above link for details) \n2) Make sure you reset build cache after updating the config, run: yarn start --reset-cache")},u=e.checkPluginState=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return!(!s.__workletHash&&!(0,r(d[3]).shouldBeUseWeb)())||(t&&l(),!1)},c=e.isConfigured=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return u(t)},f=e.isConfiguredCheck=function(){u(!0)};function _(n){t.default.pushFrame(n)}var v,p=e.requestFrame=(function(){var n=function(n){t.default.native?requestAnimationFrame(n):_(n)};return n._closure={NativeReanimatedModule:{native:t.default.native},pushFrame:_},n.asString="function requestFrame(frame){const{NativeReanimatedModule,pushFrame}=jsThis._closure;{if(NativeReanimatedModule.native){requestAnimationFrame(frame);}else{pushFrame(frame);}}}",n.__workletHash=0xb04f1328f27,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (76:7)",n})();function h(t){return b(t)}function b(n){return f(),t.default.makeShareable(n)}g._WORKLET=!1,g._log=function(t){},v=(0,r(d[3]).nativeShouldBeMock)()?function(){return t.default.getTimestamp()}:(function(){var t=function(){return _frameTimestamp||(_eventTimestamp||_getCurrentTime())};return t._closure={},t.asString="function _f(){if(_frameTimestamp){return _frameTimestamp;}if(_eventTimestamp){return _eventTimestamp;}return _getCurrentTime();}",t.__workletHash=7105333655134,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (123:18)",t})();var k=e.getTimestamp=(function(){var o=function(){return'web'===n.Platform.OS?t.default.getTimestamp():v()};return o._closure={Platform:{OS:n.Platform.OS},NativeReanimatedModule:{getTimestamp:t.default.getTimestamp},_getTimestamp:v},o.asString="function getTimestamp(){const{Platform,NativeReanimatedModule,_getTimestamp}=jsThis._closure;{if(Platform.OS==='web'){return NativeReanimatedModule.getTimestamp();}return _getTimestamp();}}",o.__workletHash=0xf4332333fe7,o.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (135:7)",o})(),S=(function(){var t=function(t){var n,o=this,s=this._animation;if(s&&(s.cancelled=!0,this._animation=null),'function'==typeof t||null!==t&&'object'==typeof t&&void 0!==t.onFrame){var l='function'==typeof t?t():t;if(this._value===l.current&&!l.isHigherOrder)return void(l.callback&&l.callback(!0));n=k(),l.onStart(l,o.value,n,s);var u=function(t){if(l.cancelled)l.callback&&l.callback(!1);else{var n=l.onFrame(l,t);l.finished=!0,l.timestamp=t,o._value=l.current,n?l.callback&&l.callback(!0):requestAnimationFrame(u)}};this._animation=l,_frameTimestamp?u(_frameTimestamp):requestAnimationFrame(u)}else{if(this._value===t)return;this._value=t}};return t._closure={getTimestamp:k},t.asString="function workletValueSetter(value){const{getTimestamp}=jsThis._closure;{var _this=this;const previousAnimation=this._animation;if(previousAnimation){previousAnimation.cancelled=true;this._animation=null;}if(typeof value==='function'||value!==null&&typeof value==='object'&&value.onFrame!==undefined){const animation=typeof value==='function'?value():value;if(this._value===animation.current&&!animation.isHigherOrder){animation.callback&&animation.callback(true);return;}const initializeAnimation=function(timestamp){animation.onStart(animation,_this.value,timestamp,previousAnimation);};initializeAnimation(getTimestamp());const step=function(timestamp){if(animation.cancelled){animation.callback&&animation.callback(false);return;}const finished=animation.onFrame(animation,timestamp);animation.finished=true;animation.timestamp=timestamp;_this._value=animation.current;if(finished){animation.callback&&animation.callback(true);}else{requestAnimationFrame(step);}};this._animation=animation;if(_frameTimestamp){step(_frameTimestamp);}else{requestAnimationFrame(step);}}else{if(this._value===value){return;}this._value=value;}}}",t.__workletHash=0xf66d5490e96,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (143:0)",t})();var w=e.runOnJS=(function(){var t=function(t){if(!_WORKLET)return t;if(t.__callAsync)return t.__callAsync;throw new Error("Attempting to call runOnJS with an object that is not a host function. Using runOnJS is only possible with methods that are defined on the main React-Native Javascript thread and that aren't marked as worklets")};return t._closure={},t.asString="function runOnJS(fun){if(!_WORKLET){return fun;}if(!fun.__callAsync){throw new Error(\"Attempting to call runOnJS with an object that is not a host function. Using runOnJS is only possible with methods that are defined on the main React-Native Javascript thread and that aren't marked as worklets\");}else{return fun.__callAsync;}}",t.__workletHash=6674264901856,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (302:7)",t})();if(t.default.installCoreFunctions(t.default.native?S:function(t){var n=this,o=this._animation;if(o&&(o.cancelled=!0,this._animation=null),'function'==typeof t||null!==t&&'object'==typeof t&&t.onFrame){var s='function'==typeof t?t():t,l=function(t){s.onStart(s,n.value,t,o)},u=function(t){if(s.cancelled)s.callback&&s.callback(!1);else{l&&(l(t),l=null);var o=s.onFrame(s,t);s.timestamp=t,n._setValue&&n._setValue(s.current),o?s.callback&&s.callback(!0):p(u)}};this._animation=s,p(u)}else this._setValue&&this._setValue(t)}),!(0,r(d[3]).isWeb)()&&c()){var y=console;h((function(){var t=function(){var t={debug:w(y.debug),log:w(y.log),warn:w(y.warn),error:w(y.error),info:w(y.info)};_setGlobalConsole(t)};return t._closure={runOnJS:w,capturableConsole:{debug:y.debug,log:y.log,warn:y.warn,error:y.error,info:y.info}},t.asString="function _f(){const{runOnJS,capturableConsole}=jsThis._closure;{const console={debug:runOnJS(capturableConsole.debug),log:runOnJS(capturableConsole.log),warn:runOnJS(capturableConsole.warn),error:runOnJS(capturableConsole.error),info:runOnJS(capturableConsole.info)};_setGlobalConsole(console);}}",t.__workletHash=0xba390cf5bc0,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (326:10)",t})())()}var T={enableLayoutAnimations:!1,setByUser:!1}},661,[3,662,18,668]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.checkPluginState=void 0,e.configureProps=function(n,o){(0,r(d[3]).nativeShouldBeMock)()||t.default.configureProps(n,o)},e.enableLayoutAnimations=function(n){arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?T.setByUser||T.enableLayoutAnimations===n||(T.enableLayoutAnimations=n,t.default.enableLayoutAnimations(n)):(T={enableLayoutAnimations:n,setByUser:!0},t.default.enableLayoutAnimations(n))},e.getTimestamp=void 0,e.getViewProp=function(n,o){return new Promise(function(s,l){return t.default.getViewProp(n,o,function(t){'string'==typeof t&&'error:'===t.substr(0,6)?l(t):s(t)})})},e.isConfiguredCheck=e.isConfigured=void 0,e.jestResetJsReanimatedModule=function(){t.default.jestResetModule()},e.makeMutable=function(n){return f(),t.default.makeMutable(n)},e.makeRemote=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return f(),t.default.makeRemote(n)},e.makeShareable=b,e.runOnJS=e.requestFrame=void 0,e.runOnUI=h,e.startMapper=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];return f(),t.default.startMapper(n,o,s,l,u)},e.stopMapper=function(n){t.default.stopMapper(n)};var t=r(d[0])(r(d[1])),n=r(d[2]);void 0===g._setGlobalConsole&&(g._setGlobalConsole=function(){});var o,s=((o=function(){})._closure={},o.asString="function _f(){}",o.__workletHash=0xee9333ba43b,o.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (40:48)",o),l=function(){throw new Error("Failed to initialize react-native-reanimated library, make sure you followed installation steps here: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/ \n1) Make sure reanimated's babel plugin is installed in your babel.config.js (you should have 'react-native-reanimated/plugin' listed there - also see the above link for details) \n2) Make sure you reset build cache after updating the config, run: yarn start --reset-cache")},u=e.checkPluginState=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return!(!s.__workletHash&&!(0,r(d[3]).shouldBeUseWeb)())||(t&&l(),!1)},c=e.isConfigured=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return u(t)},f=e.isConfiguredCheck=function(){u(!0)};function _(n){t.default.pushFrame(n)}var v,p=e.requestFrame=(function(){var n=function(n){t.default.native?requestAnimationFrame(n):_(n)};return n._closure={NativeReanimatedModule:{native:t.default.native},pushFrame:_},n.asString="function requestFrame(frame){const{NativeReanimatedModule,pushFrame}=jsThis._closure;{if(NativeReanimatedModule.native){requestAnimationFrame(frame);}else{pushFrame(frame);}}}",n.__workletHash=0xb04f1328f27,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (76:7)",n})();function h(t){return b(t)}function b(n){return f(),t.default.makeShareable(n)}g._WORKLET=!1,g._log=function(t){},v=(0,r(d[3]).nativeShouldBeMock)()?function(){return t.default.getTimestamp()}:(function(){var t=function(){return _frameTimestamp||(_eventTimestamp||_getCurrentTime())};return t._closure={},t.asString="function _f(){if(_frameTimestamp){return _frameTimestamp;}if(_eventTimestamp){return _eventTimestamp;}return _getCurrentTime();}",t.__workletHash=7105333655134,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (123:18)",t})();var k=e.getTimestamp=(function(){var o=function(){return'web'===n.Platform.OS?t.default.getTimestamp():v()};return o._closure={Platform:{OS:n.Platform.OS},NativeReanimatedModule:{getTimestamp:t.default.getTimestamp},_getTimestamp:v},o.asString="function getTimestamp(){const{Platform,NativeReanimatedModule,_getTimestamp}=jsThis._closure;{if(Platform.OS==='web'){return NativeReanimatedModule.getTimestamp();}return _getTimestamp();}}",o.__workletHash=0xf4332333fe7,o.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (135:7)",o})(),S=(function(){var t=function(t){var n,o=this,s=this._animation;if(s&&(s.cancelled=!0,this._animation=null),'function'==typeof t||null!==t&&'object'==typeof t&&void 0!==t.onFrame){var l='function'==typeof t?t():t;if(this._value===l.current&&!l.isHigherOrder)return void(l.callback&&l.callback(!0));n=k(),l.onStart(l,o.value,n,s);var u=function(t){if(l.cancelled)l.callback&&l.callback(!1);else{var n=l.onFrame(l,t);l.finished=!0,l.timestamp=t,o._value=l.current,n?l.callback&&l.callback(!0):requestAnimationFrame(u)}};this._animation=l,_frameTimestamp?u(_frameTimestamp):requestAnimationFrame(u)}else{if(this._value===t)return;this._value=t}};return t._closure={getTimestamp:k},t.asString="function workletValueSetter(value){const{getTimestamp}=jsThis._closure;{var _this=this;const previousAnimation=this._animation;if(previousAnimation){previousAnimation.cancelled=true;this._animation=null;}if(typeof value==='function'||value!==null&&typeof value==='object'&&value.onFrame!==undefined){const animation=typeof value==='function'?value():value;if(this._value===animation.current&&!animation.isHigherOrder){animation.callback&&animation.callback(true);return;}const initializeAnimation=function(timestamp){animation.onStart(animation,_this.value,timestamp,previousAnimation);};initializeAnimation(getTimestamp());const step=function(timestamp){if(animation.cancelled){animation.callback&&animation.callback(false);return;}const finished=animation.onFrame(animation,timestamp);animation.finished=true;animation.timestamp=timestamp;_this._value=animation.current;if(finished){animation.callback&&animation.callback(true);}else{requestAnimationFrame(step);}};this._animation=animation;if(_frameTimestamp){step(_frameTimestamp);}else{requestAnimationFrame(step);}}else{if(this._value===value){return;}this._value=value;}}}",t.__workletHash=0xf66d5490e96,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (143:0)",t})();var w=e.runOnJS=(function(){var t=function(t){if(!_WORKLET)return t;if(t.__callAsync)return t.__callAsync;throw new Error("Attempting to call runOnJS with an object that is not a host function. Using runOnJS is only possible with methods that are defined on the main React-Native Javascript thread and that aren't marked as worklets")};return t._closure={},t.asString="function runOnJS(fun){if(!_WORKLET){return fun;}if(!fun.__callAsync){throw new Error(\"Attempting to call runOnJS with an object that is not a host function. Using runOnJS is only possible with methods that are defined on the main React-Native Javascript thread and that aren't marked as worklets\");}else{return fun.__callAsync;}}",t.__workletHash=6674264901856,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (302:7)",t})();if(t.default.installCoreFunctions(t.default.native?S:function(t){var n=this,o=this._animation;if(o&&(o.cancelled=!0,this._animation=null),'function'==typeof t||null!==t&&'object'==typeof t&&t.onFrame){var s='function'==typeof t?t():t,l=function(t){s.onStart(s,n.value,t,o)},u=function(t){if(s.cancelled)s.callback&&s.callback(!1);else{l&&(l(t),l=null);var o=s.onFrame(s,t);s.timestamp=t,n._setValue&&n._setValue(s.current),o?s.callback&&s.callback(!0):p(u)}};this._animation=s,p(u)}else this._setValue&&this._setValue(t)}),!(0,r(d[3]).isWeb)()&&c()){var y=console;h((function(){var t=function(){var t={debug:w(y.debug),log:w(y.log),warn:w(y.warn),error:w(y.error),info:w(y.info)};_setGlobalConsole(t)};return t._closure={runOnJS:w,capturableConsole:{debug:y.debug,log:y.log,warn:y.warn,error:y.error,info:y.info}},t.asString="function _f(){const{runOnJS,capturableConsole}=jsThis._closure;{const console={debug:runOnJS(capturableConsole.debug),log:runOnJS(capturableConsole.log),warn:runOnJS(capturableConsole.warn),error:runOnJS(capturableConsole.error),info:runOnJS(capturableConsole.info)};_setGlobalConsole(console);}}",t.__workletHash=0xba390cf5bc0,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (326:10)",t})())()}var T={enableLayoutAnimations:!1,setByUser:!1}},661,[3,662,18,668]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,u=r(d[0])(r(d[1]));t=(0,r(d[2]).shouldBeUseWeb)()?u.default:new(r(d[3]).NativeReanimated);e.default=t},662,[3,663,668,669]); __d(function(g,r,i,a,_m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e._updatePropsJS=void 0;var t=r(d[0])(r(d[1])),o=new(r(d[0])(r(d[2])).default),n=(e._updatePropsJS=function(o,u){if(u._component){var s=u._component,p=Object.keys(o).reduce(function(t,n){var u=o[n];return t['function'==typeof u?1:0][n]=u,t},[{},{}]),c=(0,t.default)(p,1)[0];'function'==typeof s.setNativeProps?n(s,c):Object.keys(s.props).length>0?Object.keys(s.props).forEach(function(t){if(c[t]){var o=t.replace(/[A-Z]/g,function(t){return'-'+t.toLowerCase()});s._touchableNode.setAttribute(o,c[t])}}):console.warn('It is not possible to manipulate component')}},function(t,o){var n=t.previousStyle?t.previousStyle:{},u=Object.assign({},n,o);t.previousStyle=u,t.setNativeProps({style:u})});e.default=o},663,[3,33,664]); __d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),i=r(d[0])(r(d[5])),o=r(d[0])(r(d[6])),s=r(d[0])(r(d[7])),l=r(d[0])(r(d[8])),f=r(d[0])(r(d[9]));function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(c=function(){return!!e})()}_e.default=(function(v){function y(){var e,n,o,l;return(0,t.default)(this,y),n=this,o=y,l=[!1],o=(0,i.default)(o),(e=(0,u.default)(n,c()?Reflect.construct(o,l||[],(0,i.default)(n).constructor):o.apply(n,l)))._valueSetter=void 0,e._renderRequested=!1,e._mapperRegistry=new s.default(e),e._frames=[],(0,r(d[10]).isJest)()?e.timeProvider={now:function(){return g.ReanimatedDataMock.now()}}:e.timeProvider={now:function(){return window.performance.now()}},e}return(0,o.default)(y,v),(0,n.default)(y,[{key:"pushFrame",value:function(e){this._frames.push(e),this.maybeRequestRender()}},{key:"getTimestamp",value:function(){return this.timeProvider.now()}},{key:"maybeRequestRender",value:function(){var e=this;this._renderRequested||(this._renderRequested=!0,requestAnimationFrame(function(t){e._renderRequested=!1,e._onRender(e.getTimestamp())}))}},{key:"_onRender",value:function(t){this._mapperRegistry.execute();var n=(0,e.default)(this._frames);this._frames=[];for(var u=0,i=n.length;u0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"startMapper",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],u=new l.default(this,e,t,n),i=this._mapperRegistry.startMapper(u);return this.maybeRequestRender(),i}},{key:"stopMapper",value:function(e){this._mapperRegistry.stopMapper(e)}},{key:"registerEventHandler",value:function(e,t){return''}},{key:"unregisterEventHandler",value:function(e){}},{key:"enableLayoutAnimations",value:function(){console.warn('[Reanimated] enableLayoutAnimations is not available for WEB yet')}},{key:"registerSensor",value:function(){return console.warn('[Reanimated] useAnimatedSensor is not available on web yet.'),-1}},{key:"unregisterSensor",value:function(){}},{key:"jestResetModule",value:function(){if(!(0,r(d[10]).isJest)())throw Error('This method can be only use in Jest testing.');this._renderRequested=!1}},{key:"subscribeForKeyboardEvents",value:function(e){return console.warn('[Reanimated] useAnimatedKeyboard is not available on web yet.'),-1}},{key:"unsubscribeFromKeyboardEvents",value:function(e){}}])})(r(d[11]).NativeReanimated)},664,[3,22,6,7,11,13,14,665,666,667,668,669]); @@ -674,8 +674,8 @@ __d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e. __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.isChromeDebugger=o,e.isJest=t,e.isWeb=u,e.nativeShouldBeMock=function(){return t()||o()},e.shouldBeUseWeb=function(){return t()||o()||u()};var n=r(d[0]);function t(){return!!process.env.JEST_WORKER_ID}function o(){return!g.nativeCallSyncHook||g.__REMOTEDEV__}function u(){return'web'===n.Platform.OS}},668,[18]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.NativeReanimated=void 0;var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),u=r(d[3]);e.NativeReanimated=(function(){return(0,t.default)(function t(){var o=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if((0,n.default)(this,t),void 0===g.__reanimatedModuleProxy&&o){var l=u.NativeModules.ReanimatedModule;null==l||l.installTurboModule()}this.InnerNativeModule=g.__reanimatedModuleProxy,this.native=o,o&&(0,r(d[4]).checkVersion)()},[{key:"installCoreFunctions",value:function(n){return this.InnerNativeModule.installCoreFunctions(n)}},{key:"makeShareable",value:function(n){return this.InnerNativeModule.makeShareable(n)}},{key:"makeMutable",value:function(n){return this.InnerNativeModule.makeMutable(n)}},{key:"makeRemote",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.InnerNativeModule.makeRemote(n)}},{key:"registerSensor",value:function(n,t,u){return this.InnerNativeModule.registerSensor(n,t,u)}},{key:"unregisterSensor",value:function(n){return this.InnerNativeModule.unregisterSensor(n)}},{key:"startMapper",value:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3?arguments[3]:void 0,l=arguments.length>4?arguments[4]:void 0;return this.InnerNativeModule.startMapper(n,t,u,o,l)}},{key:"stopMapper",value:function(n){return this.InnerNativeModule.stopMapper(n)}},{key:"registerEventHandler",value:function(n,t){return this.InnerNativeModule.registerEventHandler(n,t)}},{key:"unregisterEventHandler",value:function(n){return this.InnerNativeModule.unregisterEventHandler(n)}},{key:"getViewProp",value:function(n,t,u){return this.InnerNativeModule.getViewProp(n,t,u)}},{key:"enableLayoutAnimations",value:function(n){this.InnerNativeModule.enableLayoutAnimations(n)}},{key:"configureProps",value:function(n,t){this.InnerNativeModule.configureProps(n,t)}},{key:"subscribeForKeyboardEvents",value:function(n){return this.InnerNativeModule.subscribeForKeyboardEvents(n)}},{key:"unsubscribeFromKeyboardEvents",value:function(n){this.InnerNativeModule.unsubscribeFromKeyboardEvents(n)}}])})()},669,[3,6,7,18,670]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.checkVersion=function(){var o=g._REANIMATED_VERSION_CPP;if(void 0===o)return void console.error("[Reanimated] Couldn't determine the version of the native part of Reanimated. Did you forget to re-build the app after upgrading react-native-reanimated? If you use Expo Go, you must use the exact version which is bundled into Expo SDK.");(function(){if(r(d[2]).version.match(/^\d+\.\d+\.\d+$/)&&o.match(/^\d+\.\d+\.\d+$/)){var n=r(d[2]).version.split('.'),u=(0,t.default)(n,2),s=u[0],v=u[1],c=o.split('.'),f=(0,t.default)(c,2),p=f[0],h=f[1];return s===p&&v===h}return r(d[2]).version===o})()||console.error("[Reanimated] Mismatch between JavaScript part and native part of Reanimated ("+r(d[2]).version+" vs. "+o+"). Did you forget to re-build the app after upgrading react-native-reanimated? If you use Expo Go, you must downgrade to "+o+" which is bundled into Expo SDK.")};var t=r(d[0])(r(d[1]))},670,[3,33,671]); -__d(function(e,t,a,r,n,i,s){n.exports={"@react-native-community/bob":{source:"src",output:"lib",targets:["commonjs","module"]},_args:[["react-native-reanimated@2.17.0","/Users/ipaddev/sdk/3.16.09.rc"]],_from:"react-native-reanimated@2.17.0",_id:"react-native-reanimated@2.17.0",_inBundle:!1,_integrity:"sha512-bVy+FUEaHXq4i+aPPqzGeor1rG4scgVNBbBz21ohvC7iMpB9IIgvGsmy1FAoodZhZ5sa3EPF67Rcec76F1PXlQ==",_location:"/react-native-reanimated",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"react-native-reanimated@2.17.0",name:"react-native-reanimated",escapedName:"react-native-reanimated",rawSpec:"2.17.0",saveSpec:null,fetchSpec:"2.17.0"},_requiredBy:["/"],_resolved:"https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-2.17.0.tgz",_spec:"2.17.0",_where:"/Users/ipaddev/sdk/3.16.09.rc",author:{name:"Krzysztof Magiera",email:"krzys.magiera@gmail.com"},bugs:{url:"https://github.com/software-mansion/react-native-reanimated/issues"},dependencies:{"@babel/plugin-transform-object-assign":"^7.16.7","@babel/preset-typescript":"^7.16.7",invariant:"^2.2.4","lodash.isequal":"^4.5.0",setimmediate:"^1.0.5","string-hash-64":"^1.0.3"},description:"More powerful alternative to Animated library for React Native.",devDependencies:{"@babel/core":"^7.17.2","@babel/plugin-proposal-class-properties":"^7.16.7","@babel/preset-env":"^7.16.11","@react-native-community/bob":"^0.17.1","@react-native-community/eslint-config":"^0.0.5","@testing-library/jest-native":"^4.0.4","@testing-library/react-hooks":"^8.0.0","@testing-library/react-native":"^7.1.0","@types/babel-types":"^7.0.11","@types/babel__core":"^7.1.18","@types/babel__generator":"^7.6.4","@types/babel__traverse":"^7.14.2","@types/invariant":"^2.2.35","@types/jest":"^27.4.0","@types/react":"^18.0.26","@typescript-eslint/eslint-plugin":"^5.11.0","@typescript-eslint/parser":"^5.11.0","babel-eslint":"^10.1.0","babel-jest":"^27.5.1","babel-plugin-module-resolver":"^4.1.0","clang-format":"^1.6.0",eslint:"^8.8.0","eslint-config-prettier":"^8.3.0","eslint-config-standard":"^16.0.3","eslint-import-resolver-babel-module":"^5.3.1","eslint-plugin-import":"^2.25.4","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-standard":"^5.0.0",husky:"^7.0.4",jest:"^27.5.1","lint-staged":"^11.2.0",madge:"^5.0.1","metro-react-native-babel-preset":"^0.74.0",prettier:"^2.5.1",react:"17.0.2","react-native":"0.71.0-rc.5","react-native-builder-bob":"^0.18.3","react-native-gesture-handler":"^2.4.2","react-test-renderer":"17.0.2","release-it":"^13.7.2",typescript:"^4.1.3"},files:["Common/","src/","lib/","android/src/main/AndroidManifest.xml","android/src/main/java/","android/build.gradle","android/","ios/","!ios/build/","!android/build/","RNReanimated.podspec","scripts/reanimated_utils.rb","README.md","react-native-reanimated.d.ts","mock.js","plugin.js","!__snapshots__","!*.test.js","!*.test.js.map"],homepage:"https://github.com/software-mansion/react-native-reanimated#readme",license:"MIT","lint-staged":{"*.(js|ts|tsx)":["eslint --ext '.js,.ts,.tsx' src/ --ignore-pattern src/reanimated1 --ignore-pattern react-native-reanimated.d.ts --ignore-pattern docs","prettier --write"],"**/*.{h,cpp}":"yarn lint:cpp","android/src/**/*.java":"yarn format:java","android/src/**/*.{h,cpp}":"yarn format:android","ios/**/*.{h,m,mm,cpp}":"yarn format:ios","Common/**/*.{h,cpp}":"yarn format:common"},main:"lib/index.js",module:"lib/index",name:"react-native-reanimated",peerDependencies:{"@babel/core":"^7.0.0-0",react:"*","react-native":"*"},"react-native":"src/index","release-it":{hooks:{"before:git:bump":["# check if version corresponds to changes in native files \n if git diff --name-only ${latestVersion} HEAD | egrep '(android/.*)|(ios/.*)' -q ; then egrep '\\.0$' -q <<< ${version} ; else true ; fi ;"]}},repository:{type:"git",url:"git+https://github.com/software-mansion/react-native-reanimated.git"},resolutions:{"@babel/core":"7.20.12"},scripts:{circular_dependency_check:"yarn madge --extensions js,ts,tsx --circular src lib",clean:"rm -rf node_modules && cd Example && rm -rf node_modules && cd ios && pod deintegrate && cd ../..","clean:deep":"cd android && rm -rf .cxx .gradle build && cd ../Example/android && rm -rf .gradle build app/build && cd ../.. && yarn clean",format:"yarn format:js && yarn format:java && yarn format:ios && yarn format:android && yarn format:common","format:android":"find android/src/ -iname *.h -o -iname *.cpp | xargs clang-format -i","format:common":"find Common/ -iname *.h -o -iname *.cpp | xargs clang-format -i","format:ios":"find ios/ -iname *.h -o -iname *.m -o -iname *.mm -o -iname *.cpp | xargs clang-format -i --Werror","format:java":"node ./scripts/format-java.js","format:js":"prettier --write --list-different './src/'",lint:"yarn lint:js && yarn lint:cpp && yarn lint:java && yarn lint:ios && yarn lint:docs","lint:cpp":"./scripts/cpplint.sh","lint:ios":"./scripts/validate-ios.sh && yarn format:ios --dry-run","lint:java":"./android/gradlew -p android spotlessCheck -q","lint:js":"eslint --ext '.js,.ts,.tsx' src/ && yarn prettier --check src/",prepare:"husky install",release:"npm login && release-it",reset:"yarn clean && yarn setup","reset:deep":"yarn clean:deep && yarn setup",setup:"yarn && cd Example && yarn && cd ios && pod install --verbose && cd ../..",test:"yarn run format:js && yarn run lint:js && yarn run test:unit","test:unit":"jest","type:check":"yarn tsc --noEmit","type:generate":"yarn type:generate:clean && yarn type:generate:cp-js-src && yarn type:generate:tsc && yarn type:generate:tsc:declaration && yarn type:generate:remove.ts && yarn type:generate:remove.tsx && yarn type:generate:remove.js:from-src","type:generate:clean":"rm -rf lib/ && mkdir lib/","type:generate:cp-js-src":"cp -RL src/* lib/","type:generate:remove.js:from-src":"find ./src/reanimated2 -type f -name \"*.js\" -delete","type:generate:remove.ts":"find ./lib -type f -name \"*.ts\" -and -not -name \"*.d.ts\" -delete","type:generate:remove.tsx":"find ./lib -type f -name \"*.tsx\" -and -not -name \"*.d.ts\" -delete","type:generate:tsc":"yarn tsc","type:generate:tsc:declaration":"yarn tsc --project tsconfig.json --pretty --declaration --emitDeclarationOnly --outDir lib/types"},sideEffects:["./lib/reanimated2/core","./lib/reanimated2/js-reanimated/global","./lib/index"],source:"src/index",types:"react-native-reanimated.d.ts",version:"2.17.0"}},671,[]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(D,O){(0,y.default)('function'!=typeof D||D.prototype&&D.prototype.isReactComponent,"`createAnimatedComponent` does not support stateless functional components; use a class component instead.");var j=(function(l){function y(t){var s,l,c,p;return(0,e.default)(this,y),l=this,c=y,p=[t],c=(0,o.default)(c),(s=(0,n.default)(l,w()?Reflect.construct(c,p||[],(0,o.default)(l).constructor):c.apply(l,p)))._invokeAnimatedPropsCallbackOnMount=!1,s._styles=null,s._viewTag=-1,s._isFirstRender=!0,s.animatedStyle={value:{}},s.initialStyle={},s._component=null,s._animatedPropsCallback=function(){null==s._component?s._invokeAnimatedPropsCallbackOnMount=!0:'function'!=typeof s._component.setNativeProps?s.forceUpdate():s._component.setNativeProps(s._propsAnimated.__getValue())},s._setComponentRef=(0,_.default)({getForwardedRef:function(){return s.props.forwardedRef},setLocalRef:function(e){var t,n=(0,u.findNodeHandle)(e);if(!(0,r(d[16]).shouldBeUseWeb)()&&(s.props.layout||s.props.entering||s.props.exiting)&&null!=n){(0,r(d[17]).enableLayoutAnimations)(!0,!1);var o=s.props.layout?s.props.layout:r(d[18]).DefaultLayout,l=s.props.entering?s.props.entering:r(d[18]).DefaultEntering,c=s.props.exiting?s.props.exiting:r(d[18]).DefaultExiting;E('build',o)&&(o=o.build()),E('build',l)&&(l=l.build()),E('build',c)&&(c=c.build());var p={layout:o,entering:l,exiting:c,sv:s.sv};(0,r(d[17]).runOnUI)(((t=function(){g.LayoutAnimationRepository.registerConfig(n,p)})._closure={tag:n,config:p},t.asString="function _f(){const{tag,config}=jsThis._closure;{global.LayoutAnimationRepository.registerConfig(tag,config);}}",t.__workletHash=5455589887771,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/createAnimatedComponent.tsx (575:18)",t))()}e!==s._component&&(s._component=e)}}),s._attachProps(s.props),(0,r(d[16]).isJest)()&&(s.animatedStyle={value:{}}),s.sv=(0,r(d[17]).makeMutable)({}),s}return(0,s.default)(y,l),(0,t.default)(y,[{key:"componentWillUnmount",value:function(){this._detachPropUpdater(),this._propsAnimated&&this._propsAnimated.__detach(),this._detachNativeEvents(),this._detachStyles(),this.sv=null}},{key:"componentDidMount",value:function(){this._invokeAnimatedPropsCallbackOnMount&&(this._invokeAnimatedPropsCallbackOnMount=!1,this._animatedPropsCallback()),this._propsAnimated&&this._propsAnimated.setNativeView(this._component),this._attachNativeEvents(),this._attachPropUpdater(),this._attachAnimatedStyles()}},{key:"_getEventViewRef",value:function(){var e;return null!=(e=this._component)&&e.getScrollableNode?this._component.getScrollableNode():this._component}},{key:"_attachNativeEvents",value:function(){var e=this._getEventViewRef(),t=(0,u.findNodeHandle)(null!=O&&O.setNativeProps?this:e),n=D.displayName||D.name;for(var o in null!=n&&n.endsWith('FlashList')&&this._component&&(t=(0,u.findNodeHandle)(this._component.getScrollableNode())),this.props){var s=this.props[o];s instanceof p.default?s.attachEvent(e,o):E('current',s)&&s.current instanceof h.default&&s.current.registerForEvents(t,o)}}},{key:"_detachNativeEvents",value:function(){var e=this._getEventViewRef();for(var t in this.props){var n=this.props[t];n instanceof p.default?n.detachEvent(e,t):E('current',n)&&n.current instanceof h.default&&n.current.unregisterFromEvents()}}},{key:"_detachStyles",value:function(){if('web'===u.Platform.OS&&null!==this._styles)for(var e of this._styles)null!=e&&e.viewsRef&&e.viewsRef.remove(this);else if(-1!==this._viewTag&&null!==this._styles){var t;for(var n of this._styles)n.viewDescriptors.remove(this._viewTag);null!=(t=this.props.animatedProps)&&t.viewDescriptors&&this.props.animatedProps.viewDescriptors.remove(this._viewTag)}}},{key:"_reattachNativeEvents",value:function(e){var t,n=this._getEventViewRef(),o=new Set,s=new Set;for(var l in this.props){var u=this.props[l];u instanceof p.default?s.add(u.__nodeID):E('current',u)&&u.current instanceof h.default&&void 0===t&&(t=u.current.viewTag)}for(var c in e){var f=this.props[c];f instanceof p.default?s.has(f.__nodeID)?o.add(f.__nodeID):f.detachEvent(n,c):E('current',f)&&f.current instanceof h.default&&f.current.reattachNeeded&&f.current.unregisterFromEvents()}for(var v in this.props){var _=this.props[v];_ instanceof p.default&&!o.has(_.__nodeID)?_.attachEvent(n,v):E('current',_)&&_.current instanceof h.default&&_.current.reattachNeeded&&(_.current.registerForEvents(t,v),_.current.reattachNeeded=!1)}}},{key:"_attachProps",value:function(e){var t=this._propsAnimated;this._propsAnimated=(0,r(d[19]).createOrReusePropsNode)(e,this._animatedPropsCallback,t),t!==this._propsAnimated&&t&&t.__detach()}},{key:"_updateFromNative",value:function(e){var t;null!=O&&O.setNativeProps?O.setNativeProps(this._component,e):null==(t=this._component)||null==t.setNativeProps||t.setNativeProps(e)}},{key:"_attachPropUpdater",value:function(){var e=(0,u.findNodeHandle)(this);P.set(e,this),1===P.size&&c.default.addListener('onReanimatedPropsChange',N)}},{key:"_attachAnimatedStyles",value:function(){var e,t=this,n=this.props.style?k(R(this.props.style)):[],o=this._styles;this._styles=n;var s,l,c=this._animatedProps;if(this._animatedProps=this.props.animatedProps,'web'===u.Platform.OS)s=(0,u.findNodeHandle)(this),l=null;else{var p,f,v=r(d[20]).RNRenderer.findHostInstance_DEPRECATED(this);if(!v)throw new Error('Cannot find host instance for this component. Maybe it renders nothing?');s=null==v?void 0:v._nativeTag,l=null==v?void 0:null==(p=v.viewConfig)?void 0:p.uiViewClassName;var h=(null==(f=this.props.animatedProps)?void 0:f.viewDescriptors)||n.length;h&&null!=v&&v.viewConfig&&(0,r(d[21]).adaptViewConfig)(v.viewConfig)}if(this._viewTag=s,o){var _=1===n.length&&1===o.length&&S(n[0],o[0]);if(!_){var y=function(e){var t=n.some(function(t){return S(t,e)});t||e.viewDescriptors.remove(s)};for(var w of o)y(w)}}n.forEach(function(e){e.viewDescriptors.add({tag:s,name:l}),(0,r(d[16]).isJest)()&&(t.animatedStyle.value=Object.assign({},t.animatedStyle.value,e.initial.value),e.animatedStyle.current=t.animatedStyle)}),c&&!C(c,this.props.animatedProps)&&c.viewDescriptors.remove(s),null!=(e=this.props.animatedProps)&&e.viewDescriptors&&this.props.animatedProps.viewDescriptors.add({tag:s,name:l})}},{key:"_detachPropUpdater",value:function(){var e=(0,u.findNodeHandle)(this);P.delete(e),0===P.size&&c.default.removeAllListeners('onReanimatedPropsChange')}},{key:"componentDidUpdate",value:function(e){this._attachProps(this.props),this._reattachNativeEvents(e),this._propsAnimated&&this._propsAnimated.setNativeView(this._component),this._attachAnimatedStyles()}},{key:"_filterNonAnimatedStyle",value:function(e){var t={};for(var n in e){var o=e[n];A(o)?o instanceof v.default&&(t[n]=o._startingValue):t[n]=o}return t}},{key:"_filterNonAnimatedProps",value:function(e){var t=this,n={},o=function(){var o=e[s];if('style'===s){var l=e.style,c=R(null!=l?l:[]),_=c.map(function(e){return e&&e.viewDescriptors?(e.viewsRef.add(t),t._isFirstRender&&(t.initialStyle=Object.assign({},e.initial.value,(0,r(d[22]).initialUpdaterRun)(e.initial.updater))),t.initialStyle):e});n[s]=t._filterNonAnimatedStyle(u.StyleSheet.flatten(_))}else if('animatedProps'===s){var y=e.animatedProps;void 0!==y.initial&&Object.keys(y.initial.value).forEach(function(e){var o,s;n[e]=null==(o=y.initial)?void 0:o.value[e],null==(s=y.viewsRef)||s.add(t)})}else o instanceof p.default?n[s]=b:E('current',o)&&o.current instanceof h.default?o.current.eventNames.length>0?o.current.eventNames.forEach(function(e){n[e]=E('listeners',o.current)?o.current.listeners[e]:b}):n[s]=b:o instanceof f.default?o instanceof v.default&&(n[s]=o._startingValue):'onGestureHandlerStateChange'===s&&(0,r(d[16]).isChromeDebugger)()||(n[s]=o)};for(var s in e)o();return n}},{key:"render",value:function(){var e=this._filterNonAnimatedProps(this.props);(0,r(d[16]).isJest)()&&(e.animatedStyle=this.animatedStyle),this._isFirstRender&&(this._isFirstRender=!1);var t=u.Platform.select({web:{},default:{collapsable:!1}});return(0,r(d[23]).jsx)(D,Object.assign({},e,{ref:this._setComponentRef},t))}}])})(l.default.Component);return j.displayName="AnimatedComponent("+(D.displayName||D.name||'Component')+")",l.default.forwardRef(function(e,t){return(0,r(d[23]).jsx)(j,Object.assign({},e,null===t?null:{forwardedRef:t}))})};var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),l=r(d[0])(r(d[6])),u=r(d[7]),c=r(d[0])(r(d[8])),p=r(d[0])(r(d[9])),f=r(d[0])(r(d[10])),v=r(d[0])(r(d[11])),h=r(d[0])(r(d[12])),_=r(d[0])(r(d[13]));r(d[14]);var y=r(d[0])(r(d[15]));function w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(w=function(){return!!e})()}var P=new Map;function N(e){var t=P.get(e.viewTag);t&&t._updateFromNative(e.props)}function b(){}function A(e){return e instanceof f.default||(Array.isArray(e)?e.some(function(e){return A(e)}):!(!e||'object'!=typeof e)&&Object.keys(e).some(function(t){return A(e[t])}))}function R(e){if(!Array.isArray(e))return[e];var t=[],n=function(e){e.forEach(function(e){Array.isArray(e)?n(e):t.push(e)})};return n(e),t}function k(e){return e.filter(function(e){return null==e?void 0:e.viewDescriptors})}function S(e,t){return(null==e?void 0:e.viewsRef)===(null==t?void 0:t.viewsRef)}var C=S,E=function(e,t){return('function'==typeof t||'object'==typeof t)&&(null!==t&&void 0!==t&&e in t)}},672,[3,6,7,11,13,14,16,18,673,676,677,678,695,696,697,31,668,661,713,714,718,660,719,181]); +__d(function(e,t,a,r,n,i,s){n.exports={"@react-native-community/bob":{source:"src",output:"lib",targets:["commonjs","module"]},_args:[["react-native-reanimated@2.17.0","/Users/ipaddev/sdk/3.16.13.rc"]],_from:"react-native-reanimated@2.17.0",_id:"react-native-reanimated@2.17.0",_inBundle:!1,_integrity:"sha512-bVy+FUEaHXq4i+aPPqzGeor1rG4scgVNBbBz21ohvC7iMpB9IIgvGsmy1FAoodZhZ5sa3EPF67Rcec76F1PXlQ==",_location:"/react-native-reanimated",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"react-native-reanimated@2.17.0",name:"react-native-reanimated",escapedName:"react-native-reanimated",rawSpec:"2.17.0",saveSpec:null,fetchSpec:"2.17.0"},_requiredBy:["/"],_resolved:"https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-2.17.0.tgz",_spec:"2.17.0",_where:"/Users/ipaddev/sdk/3.16.13.rc",author:{name:"Krzysztof Magiera",email:"krzys.magiera@gmail.com"},bugs:{url:"https://github.com/software-mansion/react-native-reanimated/issues"},dependencies:{"@babel/plugin-transform-object-assign":"^7.16.7","@babel/preset-typescript":"^7.16.7",invariant:"^2.2.4","lodash.isequal":"^4.5.0",setimmediate:"^1.0.5","string-hash-64":"^1.0.3"},description:"More powerful alternative to Animated library for React Native.",devDependencies:{"@babel/core":"^7.17.2","@babel/plugin-proposal-class-properties":"^7.16.7","@babel/preset-env":"^7.16.11","@react-native-community/bob":"^0.17.1","@react-native-community/eslint-config":"^0.0.5","@testing-library/jest-native":"^4.0.4","@testing-library/react-hooks":"^8.0.0","@testing-library/react-native":"^7.1.0","@types/babel-types":"^7.0.11","@types/babel__core":"^7.1.18","@types/babel__generator":"^7.6.4","@types/babel__traverse":"^7.14.2","@types/invariant":"^2.2.35","@types/jest":"^27.4.0","@types/react":"^18.0.26","@typescript-eslint/eslint-plugin":"^5.11.0","@typescript-eslint/parser":"^5.11.0","babel-eslint":"^10.1.0","babel-jest":"^27.5.1","babel-plugin-module-resolver":"^4.1.0","clang-format":"^1.6.0",eslint:"^8.8.0","eslint-config-prettier":"^8.3.0","eslint-config-standard":"^16.0.3","eslint-import-resolver-babel-module":"^5.3.1","eslint-plugin-import":"^2.25.4","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-standard":"^5.0.0",husky:"^7.0.4",jest:"^27.5.1","lint-staged":"^11.2.0",madge:"^5.0.1","metro-react-native-babel-preset":"^0.74.0",prettier:"^2.5.1",react:"17.0.2","react-native":"0.71.0-rc.5","react-native-builder-bob":"^0.18.3","react-native-gesture-handler":"^2.4.2","react-test-renderer":"17.0.2","release-it":"^13.7.2",typescript:"^4.1.3"},files:["Common/","src/","lib/","android/src/main/AndroidManifest.xml","android/src/main/java/","android/build.gradle","android/","ios/","!ios/build/","!android/build/","RNReanimated.podspec","scripts/reanimated_utils.rb","README.md","react-native-reanimated.d.ts","mock.js","plugin.js","!__snapshots__","!*.test.js","!*.test.js.map"],homepage:"https://github.com/software-mansion/react-native-reanimated#readme",license:"MIT","lint-staged":{"*.(js|ts|tsx)":["eslint --ext '.js,.ts,.tsx' src/ --ignore-pattern src/reanimated1 --ignore-pattern react-native-reanimated.d.ts --ignore-pattern docs","prettier --write"],"**/*.{h,cpp}":"yarn lint:cpp","android/src/**/*.java":"yarn format:java","android/src/**/*.{h,cpp}":"yarn format:android","ios/**/*.{h,m,mm,cpp}":"yarn format:ios","Common/**/*.{h,cpp}":"yarn format:common"},main:"lib/index.js",module:"lib/index",name:"react-native-reanimated",peerDependencies:{"@babel/core":"^7.0.0-0",react:"*","react-native":"*"},"react-native":"src/index","release-it":{hooks:{"before:git:bump":["# check if version corresponds to changes in native files \n if git diff --name-only ${latestVersion} HEAD | egrep '(android/.*)|(ios/.*)' -q ; then egrep '\\.0$' -q <<< ${version} ; else true ; fi ;"]}},repository:{type:"git",url:"git+https://github.com/software-mansion/react-native-reanimated.git"},resolutions:{"@babel/core":"7.20.12"},scripts:{circular_dependency_check:"yarn madge --extensions js,ts,tsx --circular src lib",clean:"rm -rf node_modules && cd Example && rm -rf node_modules && cd ios && pod deintegrate && cd ../..","clean:deep":"cd android && rm -rf .cxx .gradle build && cd ../Example/android && rm -rf .gradle build app/build && cd ../.. && yarn clean",format:"yarn format:js && yarn format:java && yarn format:ios && yarn format:android && yarn format:common","format:android":"find android/src/ -iname *.h -o -iname *.cpp | xargs clang-format -i","format:common":"find Common/ -iname *.h -o -iname *.cpp | xargs clang-format -i","format:ios":"find ios/ -iname *.h -o -iname *.m -o -iname *.mm -o -iname *.cpp | xargs clang-format -i --Werror","format:java":"node ./scripts/format-java.js","format:js":"prettier --write --list-different './src/'",lint:"yarn lint:js && yarn lint:cpp && yarn lint:java && yarn lint:ios && yarn lint:docs","lint:cpp":"./scripts/cpplint.sh","lint:ios":"./scripts/validate-ios.sh && yarn format:ios --dry-run","lint:java":"./android/gradlew -p android spotlessCheck -q","lint:js":"eslint --ext '.js,.ts,.tsx' src/ && yarn prettier --check src/",prepare:"husky install",release:"npm login && release-it",reset:"yarn clean && yarn setup","reset:deep":"yarn clean:deep && yarn setup",setup:"yarn && cd Example && yarn && cd ios && pod install --verbose && cd ../..",test:"yarn run format:js && yarn run lint:js && yarn run test:unit","test:unit":"jest","type:check":"yarn tsc --noEmit","type:generate":"yarn type:generate:clean && yarn type:generate:cp-js-src && yarn type:generate:tsc && yarn type:generate:tsc:declaration && yarn type:generate:remove.ts && yarn type:generate:remove.tsx && yarn type:generate:remove.js:from-src","type:generate:clean":"rm -rf lib/ && mkdir lib/","type:generate:cp-js-src":"cp -RL src/* lib/","type:generate:remove.js:from-src":"find ./src/reanimated2 -type f -name \"*.js\" -delete","type:generate:remove.ts":"find ./lib -type f -name \"*.ts\" -and -not -name \"*.d.ts\" -delete","type:generate:remove.tsx":"find ./lib -type f -name \"*.tsx\" -and -not -name \"*.d.ts\" -delete","type:generate:tsc":"yarn tsc","type:generate:tsc:declaration":"yarn tsc --project tsconfig.json --pretty --declaration --emitDeclarationOnly --outDir lib/types"},sideEffects:["./lib/reanimated2/core","./lib/reanimated2/js-reanimated/global","./lib/index"],source:"src/index",types:"react-native-reanimated.d.ts",version:"2.17.0"}},671,[]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(D,O){(0,y.default)('function'!=typeof D||D.prototype&&D.prototype.isReactComponent,"`createAnimatedComponent` does not support stateless functional components; use a class component instead.");var j=(function(l){function y(t){var s,l,c,p;return(0,e.default)(this,y),l=this,c=y,p=[t],c=(0,o.default)(c),(s=(0,n.default)(l,w()?Reflect.construct(c,p||[],(0,o.default)(l).constructor):c.apply(l,p)))._invokeAnimatedPropsCallbackOnMount=!1,s._styles=null,s._viewTag=-1,s._isFirstRender=!0,s.animatedStyle={value:{}},s.initialStyle={},s._component=null,s._animatedPropsCallback=function(){null==s._component?s._invokeAnimatedPropsCallbackOnMount=!0:'function'!=typeof s._component.setNativeProps?s.forceUpdate():s._component.setNativeProps(s._propsAnimated.__getValue())},s._setComponentRef=(0,_.default)({getForwardedRef:function(){return s.props.forwardedRef},setLocalRef:function(e){var t,n=(0,u.findNodeHandle)(e);if(!(0,r(d[16]).shouldBeUseWeb)()&&(s.props.layout||s.props.entering||s.props.exiting)&&null!=n){(0,r(d[17]).enableLayoutAnimations)(!0,!1);var o=s.props.layout?s.props.layout:r(d[18]).DefaultLayout,l=s.props.entering?s.props.entering:r(d[18]).DefaultEntering,c=s.props.exiting?s.props.exiting:r(d[18]).DefaultExiting;E('build',o)&&(o=o.build()),E('build',l)&&(l=l.build()),E('build',c)&&(c=c.build());var p={layout:o,entering:l,exiting:c,sv:s.sv};(0,r(d[17]).runOnUI)(((t=function(){g.LayoutAnimationRepository.registerConfig(n,p)})._closure={tag:n,config:p},t.asString="function _f(){const{tag,config}=jsThis._closure;{global.LayoutAnimationRepository.registerConfig(tag,config);}}",t.__workletHash=5455589887771,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/createAnimatedComponent.tsx (575:18)",t))()}e!==s._component&&(s._component=e)}}),s._attachProps(s.props),(0,r(d[16]).isJest)()&&(s.animatedStyle={value:{}}),s.sv=(0,r(d[17]).makeMutable)({}),s}return(0,s.default)(y,l),(0,t.default)(y,[{key:"componentWillUnmount",value:function(){this._detachPropUpdater(),this._propsAnimated&&this._propsAnimated.__detach(),this._detachNativeEvents(),this._detachStyles(),this.sv=null}},{key:"componentDidMount",value:function(){this._invokeAnimatedPropsCallbackOnMount&&(this._invokeAnimatedPropsCallbackOnMount=!1,this._animatedPropsCallback()),this._propsAnimated&&this._propsAnimated.setNativeView(this._component),this._attachNativeEvents(),this._attachPropUpdater(),this._attachAnimatedStyles()}},{key:"_getEventViewRef",value:function(){var e;return null!=(e=this._component)&&e.getScrollableNode?this._component.getScrollableNode():this._component}},{key:"_attachNativeEvents",value:function(){var e=this._getEventViewRef(),t=(0,u.findNodeHandle)(null!=O&&O.setNativeProps?this:e),n=D.displayName||D.name;for(var o in null!=n&&n.endsWith('FlashList')&&this._component&&(t=(0,u.findNodeHandle)(this._component.getScrollableNode())),this.props){var s=this.props[o];s instanceof p.default?s.attachEvent(e,o):E('current',s)&&s.current instanceof h.default&&s.current.registerForEvents(t,o)}}},{key:"_detachNativeEvents",value:function(){var e=this._getEventViewRef();for(var t in this.props){var n=this.props[t];n instanceof p.default?n.detachEvent(e,t):E('current',n)&&n.current instanceof h.default&&n.current.unregisterFromEvents()}}},{key:"_detachStyles",value:function(){if('web'===u.Platform.OS&&null!==this._styles)for(var e of this._styles)null!=e&&e.viewsRef&&e.viewsRef.remove(this);else if(-1!==this._viewTag&&null!==this._styles){var t;for(var n of this._styles)n.viewDescriptors.remove(this._viewTag);null!=(t=this.props.animatedProps)&&t.viewDescriptors&&this.props.animatedProps.viewDescriptors.remove(this._viewTag)}}},{key:"_reattachNativeEvents",value:function(e){var t,n=this._getEventViewRef(),o=new Set,s=new Set;for(var l in this.props){var u=this.props[l];u instanceof p.default?s.add(u.__nodeID):E('current',u)&&u.current instanceof h.default&&void 0===t&&(t=u.current.viewTag)}for(var c in e){var f=this.props[c];f instanceof p.default?s.has(f.__nodeID)?o.add(f.__nodeID):f.detachEvent(n,c):E('current',f)&&f.current instanceof h.default&&f.current.reattachNeeded&&f.current.unregisterFromEvents()}for(var v in this.props){var _=this.props[v];_ instanceof p.default&&!o.has(_.__nodeID)?_.attachEvent(n,v):E('current',_)&&_.current instanceof h.default&&_.current.reattachNeeded&&(_.current.registerForEvents(t,v),_.current.reattachNeeded=!1)}}},{key:"_attachProps",value:function(e){var t=this._propsAnimated;this._propsAnimated=(0,r(d[19]).createOrReusePropsNode)(e,this._animatedPropsCallback,t),t!==this._propsAnimated&&t&&t.__detach()}},{key:"_updateFromNative",value:function(e){var t;null!=O&&O.setNativeProps?O.setNativeProps(this._component,e):null==(t=this._component)||null==t.setNativeProps||t.setNativeProps(e)}},{key:"_attachPropUpdater",value:function(){var e=(0,u.findNodeHandle)(this);P.set(e,this),1===P.size&&c.default.addListener('onReanimatedPropsChange',N)}},{key:"_attachAnimatedStyles",value:function(){var e,t=this,n=this.props.style?k(R(this.props.style)):[],o=this._styles;this._styles=n;var s,l,c=this._animatedProps;if(this._animatedProps=this.props.animatedProps,'web'===u.Platform.OS)s=(0,u.findNodeHandle)(this),l=null;else{var p,f,v=r(d[20]).RNRenderer.findHostInstance_DEPRECATED(this);if(!v)throw new Error('Cannot find host instance for this component. Maybe it renders nothing?');s=null==v?void 0:v._nativeTag,l=null==v?void 0:null==(p=v.viewConfig)?void 0:p.uiViewClassName;var h=(null==(f=this.props.animatedProps)?void 0:f.viewDescriptors)||n.length;h&&null!=v&&v.viewConfig&&(0,r(d[21]).adaptViewConfig)(v.viewConfig)}if(this._viewTag=s,o){var _=1===n.length&&1===o.length&&S(n[0],o[0]);if(!_){var y=function(e){var t=n.some(function(t){return S(t,e)});t||e.viewDescriptors.remove(s)};for(var w of o)y(w)}}n.forEach(function(e){e.viewDescriptors.add({tag:s,name:l}),(0,r(d[16]).isJest)()&&(t.animatedStyle.value=Object.assign({},t.animatedStyle.value,e.initial.value),e.animatedStyle.current=t.animatedStyle)}),c&&!C(c,this.props.animatedProps)&&c.viewDescriptors.remove(s),null!=(e=this.props.animatedProps)&&e.viewDescriptors&&this.props.animatedProps.viewDescriptors.add({tag:s,name:l})}},{key:"_detachPropUpdater",value:function(){var e=(0,u.findNodeHandle)(this);P.delete(e),0===P.size&&c.default.removeAllListeners('onReanimatedPropsChange')}},{key:"componentDidUpdate",value:function(e){this._attachProps(this.props),this._reattachNativeEvents(e),this._propsAnimated&&this._propsAnimated.setNativeView(this._component),this._attachAnimatedStyles()}},{key:"_filterNonAnimatedStyle",value:function(e){var t={};for(var n in e){var o=e[n];A(o)?o instanceof v.default&&(t[n]=o._startingValue):t[n]=o}return t}},{key:"_filterNonAnimatedProps",value:function(e){var t=this,n={},o=function(){var o=e[s];if('style'===s){var l=e.style,c=R(null!=l?l:[]),_=c.map(function(e){return e&&e.viewDescriptors?(e.viewsRef.add(t),t._isFirstRender&&(t.initialStyle=Object.assign({},e.initial.value,(0,r(d[22]).initialUpdaterRun)(e.initial.updater))),t.initialStyle):e});n[s]=t._filterNonAnimatedStyle(u.StyleSheet.flatten(_))}else if('animatedProps'===s){var y=e.animatedProps;void 0!==y.initial&&Object.keys(y.initial.value).forEach(function(e){var o,s;n[e]=null==(o=y.initial)?void 0:o.value[e],null==(s=y.viewsRef)||s.add(t)})}else o instanceof p.default?n[s]=b:E('current',o)&&o.current instanceof h.default?o.current.eventNames.length>0?o.current.eventNames.forEach(function(e){n[e]=E('listeners',o.current)?o.current.listeners[e]:b}):n[s]=b:o instanceof f.default?o instanceof v.default&&(n[s]=o._startingValue):'onGestureHandlerStateChange'===s&&(0,r(d[16]).isChromeDebugger)()||(n[s]=o)};for(var s in e)o();return n}},{key:"render",value:function(){var e=this._filterNonAnimatedProps(this.props);(0,r(d[16]).isJest)()&&(e.animatedStyle=this.animatedStyle),this._isFirstRender&&(this._isFirstRender=!1);var t=u.Platform.select({web:{},default:{collapsable:!1}});return(0,r(d[23]).jsx)(D,Object.assign({},e,{ref:this._setComponentRef},t))}}])})(l.default.Component);return j.displayName="AnimatedComponent("+(D.displayName||D.name||'Component')+")",l.default.forwardRef(function(e,t){return(0,r(d[23]).jsx)(j,Object.assign({},e,null===t?null:{forwardedRef:t}))})};var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),l=r(d[0])(r(d[6])),u=r(d[7]),c=r(d[0])(r(d[8])),p=r(d[0])(r(d[9])),f=r(d[0])(r(d[10])),v=r(d[0])(r(d[11])),h=r(d[0])(r(d[12])),_=r(d[0])(r(d[13]));r(d[14]);var y=r(d[0])(r(d[15]));function w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(w=function(){return!!e})()}var P=new Map;function N(e){var t=P.get(e.viewTag);t&&t._updateFromNative(e.props)}function b(){}function A(e){return e instanceof f.default||(Array.isArray(e)?e.some(function(e){return A(e)}):!(!e||'object'!=typeof e)&&Object.keys(e).some(function(t){return A(e[t])}))}function R(e){if(!Array.isArray(e))return[e];var t=[],n=function(e){e.forEach(function(e){Array.isArray(e)?n(e):t.push(e)})};return n(e),t}function k(e){return e.filter(function(e){return null==e?void 0:e.viewDescriptors})}function S(e,t){return(null==e?void 0:e.viewsRef)===(null==t?void 0:t.viewsRef)}var C=S,E=function(e,t){return('function'==typeof t||'object'==typeof t)&&(null!==t&&void 0!==t&&e in t)}},672,[3,6,7,11,13,14,16,18,673,676,677,678,695,696,697,31,668,661,713,714,718,660,719,181]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),u=r(d[2]);e.default=new u.NativeEventEmitter(t.default)},673,[3,674,18]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,u=r(d[0]),l=r(d[1])(r(d[2]));(0,r(d[3]).nativeShouldBeMock)()?t=l.default:t=u.NativeModules.ReanimatedModule;e.default=t},674,[18,3,675,668]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[0])(r(d[1]));e.default={disconnectNodeFromView:(function(){var t=(0,n.default)(function*(){});return function(){return t.apply(this,arguments)}})(),attachEvent:(function(){var t=(0,n.default)(function*(n,t,u){});return function(n,u,o){return t.apply(this,arguments)}})(),detachEvent:(function(){var t=(0,n.default)(function*(n,t,u){});return function(n,u,o){return t.apply(this,arguments)}})(),createNode:(function(){var t=(0,n.default)(function*(n,t){});return function(n,u){return t.apply(this,arguments)}})(),dropNode:(function(){var t=(0,n.default)(function*(n){});return function(n){return t.apply(this,arguments)}})(),configureProps:(function(){var t=(0,n.default)(function*(n,t){});return function(n,u){return t.apply(this,arguments)}})(),disconnectNodes:(function(){var t=(0,n.default)(function*(){});return function(){return t.apply(this,arguments)}})(),addListener:(function(){var t=(0,n.default)(function*(){});return function(){return t.apply(this,arguments)}})(),removeListeners:(function(){var t=(0,n.default)(function*(){});return function(){return t.apply(this,arguments)}})(),removeAllListeners:(function(){var t=(0,n.default)(function*(){});return function(){return t.apply(this,arguments)}})(),animateNextTransition:(function(){var t=(0,n.default)(function*(){console.warn('Reanimated: animateNextTransition is unimplemented on current platform')});return function(){return t.apply(this,arguments)}})()}},675,[3,272]); @@ -700,13 +700,13 @@ __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t={translationX:{},translationY:{},state:{},oldState:{},absoluteX:{},absoluteY:{},x:{},y:{},velocityX:{},velocityY:{},scale:{},focalX:{},focalY:{},rotation:{},anchorX:{},anchorY:{},velocity:{},numberOfPointers:{},layout:{x:{},y:{},width:{},height:{}},contentOffset:{y:{},x:{}},layoutMeasurement:{width:{},height:{}},contentSize:{width:{},height:{}},zoomScale:{},contentInset:{right:{},top:{},left:{},bottom:{}}},o=function(t){for(var n in t)o(t[n]),Object.assign(t[n],{__isProxy:!0})};return o(t),t}},694,[]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),s=r(d[0])(r(d[3]));function u(t,n){return function(s){n(Object.assign({},s.nativeEvent,{eventName:t}))}}e.default=(function(){return(0,n.default)(function n(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];(0,t.default)(this,n),this.worklet=o,this.eventNames=h,this.reattachNeeded=!1,this.listeners={},this.viewTag=void 0,this.registrations=[],s.default.native||(this.listeners=h.reduce(function(t,n){return t[n]=u(n,o),t},{}))},[{key:"updateWorklet",value:function(t){this.worklet=t,this.reattachNeeded=!0}},{key:"registerForEvents",value:function(t,n){var u=this;this.viewTag=t,this.registrations=this.eventNames.map(function(n){return s.default.registerEventHandler(t+n,u.worklet)}),0===this.registrations.length&&n&&this.registrations.push(s.default.registerEventHandler(t+n,this.worklet))}},{key:"unregisterFromEvents",value:function(){this.registrations.forEach(function(t){return s.default.unregisterEventHandler(t)}),this.registrations=[]}}])})()},695,[3,6,7,662]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(t){var n=t.getForwardedRef,o=t.setLocalRef;return function(t){var f=n();o(t),'function'==typeof f?f(t):'object'==typeof f&&null!=f&&(f.current=t)}}},696,[]); -__d(function(g,r,i,a,m,e,d){var n;(0,r(d[0]).runOnUI)(((n=function(){var n=Object.create(null),t={};g.LayoutAnimationRepository={configs:n,registerConfig:function(o,s){n[o]=s,t[o]=null},removeConfig:function(o){delete n[o],delete t[o]},startAnimationForTag:function(o,s,l){if(null!=n[o]){var c=n[o][s](l),u=c.animations;if('entering'===s)t[o]=c;else if('layout'===s&&null!==t[o]){var f=t[o].animations,v=c.animations;for(var y in u={},f)u[y]=f[y];for(var p in v)u[p]=v[p]}var A=n[o].sv;_stopObservingProgress(o,!1),_startObservingProgress(o,A);var b={};for(var _ in c.initialValues)if(r(d[1]).ColorProperties.includes(_)){var k=c.initialValues[_];b[_]=k,c.initialValues[_]=(0,r(d[2]).processColor)(k)}A.value=Object.assign({},A._value,c.initialValues),_stopObservingProgress(o,!1);var C=(0,r(d[3]).withStyleAnimation)(u);C.callback=function(n){n&&_stopObservingProgress(o,n),c.callback&&c.callback(n)},n[o].sv._value=Object.assign({},n[o].sv.value,b),n[o].sv.value=C,_startObservingProgress(o,A)}}}})._closure={ColorProperties:r(d[1]).ColorProperties,processColor:r(d[2]).processColor,withStyleAnimation:r(d[3]).withStyleAnimation},n.asString="function _f(){const{ColorProperties,processColor,withStyleAnimation}=jsThis._closure;{const configs=Object.create(null);const enteringAnimationForTag={};global.LayoutAnimationRepository={configs:configs,registerConfig:function(tag,config){configs[tag]=config;enteringAnimationForTag[tag]=null;},removeConfig:function(tag){delete configs[tag];delete enteringAnimationForTag[tag];},startAnimationForTag:function(tag,type,yogaValues){if(configs[tag]==null){return;}const style=configs[tag][type](yogaValues);let currentAnimation=style.animations;if(type==='entering'){enteringAnimationForTag[tag]=style;}else if(type==='layout'&&enteringAnimationForTag[tag]!==null){const entryAniamtion=enteringAnimationForTag[tag].animations;const layoutAnimation=style.animations;currentAnimation={};for(const key in entryAniamtion){currentAnimation[key]=entryAniamtion[key];}for(const key in layoutAnimation){currentAnimation[key]=layoutAnimation[key];}}const sv=configs[tag].sv;_stopObservingProgress(tag,false);_startObservingProgress(tag,sv);const backupColor={};for(const key in style.initialValues){if(ColorProperties.includes(key)){const value=style.initialValues[key];backupColor[key]=value;style.initialValues[key]=processColor(value);}}sv.value=Object.assign({},sv._value,style.initialValues);_stopObservingProgress(tag,false);const animation=withStyleAnimation(currentAnimation);animation.callback=function(finished){if(finished){_stopObservingProgress(tag,finished);}style.callback&&style.callback(finished);};if(backupColor){configs[tag].sv._value={...configs[tag].sv.value,...backupColor};}configs[tag].sv.value=animation;_startObservingProgress(tag,sv);}};}}",n.__workletHash=0x9200766f85a,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/LayoutAnimationRepository.ts (7:8)",n))()},697,[661,698,699,700]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.updatePropsJestWrapper=e.updateProps=e.default=e.colorProps=e.ColorProperties=void 0;var o,t,s=e.colorProps=['backgroundColor','borderBottomColor','borderColor','borderLeftColor','borderRightColor','borderTopColor','borderStartColor','borderEndColor','color','shadowColor','textDecorationColor','tintColor','textShadowColor','overlayColor'],p=e.ColorProperties=(0,r(d[0]).isConfigured)()?(0,r(d[0]).makeShareable)(s):[];(0,r(d[1]).shouldBeUseWeb)()?((t=function(o,t,s){s&&s.items.forEach(function(o,s){(0,r(d[2])._updatePropsJS)(t,o)})})._closure={_updatePropsJS:r(d[2])._updatePropsJS},t.asString="function _f(_,updates,maybeViewRef){const{_updatePropsJS}=jsThis._closure;{if(maybeViewRef){maybeViewRef.items.forEach(function(item,_){_updatePropsJS(updates,item);});}}}",t.__workletHash=2597780801718,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/UpdateProps.ts (33:26)",o=t):o=(function(){var o=function(o,t,s){for(var n in t)-1!==p.indexOf(n)&&(t[n]=(0,r(d[3]).processColor)(t[n]));o.value.forEach(function(o){_updateProps(o.tag,o.name||'RCTView',t)})};return o._closure={ColorProperties:p,processColor:r(d[3]).processColor},o.asString="function _f(viewDescriptors,updates,_){const{ColorProperties,processColor}=jsThis._closure;{for(const key in updates){if(ColorProperties.indexOf(key)!==-1){updates[key]=processColor(updates[key]);}}viewDescriptors.value.forEach(function(viewDescriptor){_updateProps(viewDescriptor.tag,viewDescriptor.name||'RCTView',updates);});}}",o.__workletHash=5208286904059,o.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/UpdateProps.ts (46:26)",o})();var n=e.updateProps=o;e.updatePropsJestWrapper=function(o,t,s,p,c){c.forEach(function(o){o(t)}),p.current.value=Object.assign({},p.current.value,t),n(o,t,s)},e.default=n},698,[661,668,663,699]); -__d(function(_g,_r,_i,_a,m,e,_d){Object.defineProperty(e,"__esModule",{value:!0}),e.toLinearSpace=e.toGammaSpace=e.rgbaColor=e.rgbaArrayToRGBAColor=e.red=e.processColorInitially=e.processColor=e.opacity=e.isColor=e.hsvToColor=e.green=e.convertToRGBA=e.blue=e.RGBtoHSV=void 0;var r,a=_r(_d[0]),t='[-+]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)',o="[-+]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)%",n=((r=function(){for(var r=arguments.length,a=new Array(r),t=0;t1&&(t-=1),t<.16666666666666666?r+6*(a-r)*t:t<.5?a:t<.6666666666666666?r+(a-r)*(.6666666666666666-t)*6:r};return r._closure={},r.asString="function hue2rgb(p,q,t){if(t<0){t+=1;}if(t>1){t-=1;}if(t<1/6){return p+(q-p)*6*t;}if(t<1/2){return q;}if(t<2/3){return p+(q-p)*(2/3-t)*6;}return p;}",r.__workletHash=3618366985414,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (79:0)",r})(),u=(function(){var r=function(r,a,t){var o=t<.5?t*(1+a):t+a-t*a,n=2*t-o,s=i(n,o,r+.3333333333333333),l=i(n,o,r),c=i(n,o,r-.3333333333333333);return Math.round(255*s)<<24|Math.round(255*l)<<16|Math.round(255*c)<<8};return r._closure={hue2rgb:i},r.asString="function hslToRgb(h,s,l){const{hue2rgb}=jsThis._closure;{const q=l<0.5?l*(1+s):l+s-l*s;const p=2*l-q;const r=hue2rgb(p,q,h+1/3);const g=hue2rgb(p,q,h);const b=hue2rgb(p,q,h-1/3);return Math.round(r*255)<<24|Math.round(g*255)<<16|Math.round(b*255)<<8;}}",r.__workletHash=4500055963175,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (99:0)",r})(),d=(function(){var r=function(r){var a=Number.parseInt(r,10);return a<0?0:a>255?255:a};return r._closure={},r.asString="function parse255(str){const int=Number.parseInt(str,10);if(int<0){return 0;}if(int>255){return 255;}return int;}",r.__workletHash=7024550667346,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (114:0)",r})(),h=(function(){var r=function(r){return(Number.parseFloat(r)%360+360)%360/360};return r._closure={},r.asString="function parse360(str){const int=Number.parseFloat(str);return(int%360+360)%360/360;}",r.__workletHash=6683812623228,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (126:0)",r})(),f=(function(){var r=function(r){var a=Number.parseFloat(r);return a<0?0:a>1?255:Math.round(255*a)};return r._closure={},r.asString="function parse1(str){const num=Number.parseFloat(str);if(num<0){return 0;}if(num>1){return 255;}return Math.round(num*255);}",r.__workletHash=7197247664793,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (132:0)",r})(),g=(function(){var r=function(r){var a=Number.parseFloat(r);return a<0?0:a>100?1:a/100};return r._closure={},r.asString="function parsePercentage(str){const int=Number.parseFloat(str);if(int<0){return 0;}if(int>100){return 1;}return int/100;}",r.__workletHash=8813932430184,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (144:0)",r})(),_=(0,_r(_d[1]).isConfigured)()?(0,_r(_d[1]).makeShareable)({transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}):null,v=(function(){var r=function(r){var a,t,o,n,s,l,i,v;if('number'==typeof r)return r>>>0===r&&r>=0&&r<=4294967295?r:null;if('string'!=typeof r)return null;var p,b=c();return(p=null==b?void 0:null==(a=b.hex6)?void 0:a.exec(r))?Number.parseInt(p[1]+'ff',16)>>>0:void 0!==_[r]?_[r]:(p=null==b?void 0:null==(t=b.rgb)?void 0:t.exec(r))?(d(p[1])<<24|d(p[2])<<16|d(p[3])<<8|255)>>>0:(p=null==b?void 0:null==(o=b.rgba)?void 0:o.exec(r))?(d(p[1])<<24|d(p[2])<<16|d(p[3])<<8|f(p[4]))>>>0:(p=null==b?void 0:null==(n=b.hex3)?void 0:n.exec(r))?Number.parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+'ff',16)>>>0:(p=null==b?void 0:null==(s=b.hex8)?void 0:s.exec(r))?Number.parseInt(p[1],16)>>>0:(p=null==b?void 0:null==(l=b.hex4)?void 0:l.exec(r))?Number.parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+p[4]+p[4],16)>>>0:(p=null==b?void 0:null==(i=b.hsl)?void 0:i.exec(r))?(255|u(h(p[1]),g(p[2]),g(p[3])))>>>0:(p=null==b?void 0:null==(v=b.hsla)?void 0:v.exec(r))?(u(h(p[1]),g(p[2]),g(p[3]))|f(p[4]))>>>0:null};return r._closure={getMatchers:c,names:_,parse255:d,parse1:f,hslToRgb:u,parse360:h,parsePercentage:g},r.asString="function normalizeColor(color){const{getMatchers,names,parse255,parse1,hslToRgb,parse360,parsePercentage}=jsThis._closure;{var _matchers$hex,_matchers$rgb,_matchers$rgba,_matchers$hex2,_matchers$hex3,_matchers$hex4,_matchers$hsl,_matchers$hsla;if(typeof color==='number'){if(color>>>0===color&&color>=0&&color<=0xffffffff){return color;}return null;}if(typeof color!=='string'){return null;}const matchers=getMatchers();let match;if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex=matchers.hex6)===null||_matchers$hex===void 0?void 0:_matchers$hex.exec(color)){return Number.parseInt(match[1]+'ff',16)>>>0;}if(names[color]!==undefined){return names[color];}if(match=matchers===null||matchers===void 0?void 0:(_matchers$rgb=matchers.rgb)===null||_matchers$rgb===void 0?void 0:_matchers$rgb.exec(color)){return(parse255(match[1])<<24|parse255(match[2])<<16|parse255(match[3])<<8|0x000000ff)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$rgba=matchers.rgba)===null||_matchers$rgba===void 0?void 0:_matchers$rgba.exec(color)){return(parse255(match[1])<<24|parse255(match[2])<<16|parse255(match[3])<<8|parse1(match[4]))>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex2=matchers.hex3)===null||_matchers$hex2===void 0?void 0:_matchers$hex2.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+'ff',16)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex3=matchers.hex8)===null||_matchers$hex3===void 0?void 0:_matchers$hex3.exec(color)){return Number.parseInt(match[1],16)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex4=matchers.hex4)===null||_matchers$hex4===void 0?void 0:_matchers$hex4.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+match[4]+match[4],16)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hsl=matchers.hsl)===null||_matchers$hsl===void 0?void 0:_matchers$hsl.exec(color)){return(hslToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|0x000000ff)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hsla=matchers.hsla)===null||_matchers$hsla===void 0?void 0:_matchers$hsla.exec(color)){return(hslToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|parse1(match[4]))>>>0;}return null;}}",r.__workletHash=0x9c840fd31ae,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (314:0)",r})(),p=(e.opacity=(function(){var r=function(r){return(r>>24&255)/255};return r._closure={},r.asString="function _f(c){return(c>>24&255)/255;}",r.__workletHash=0xd60a2a09964,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (426:23)",r})(),e.red=(function(){var r=function(r){return r>>16&255};return r._closure={},r.asString="function _f(c){return c>>16&255;}",r.__workletHash=0xba6200c4759,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (431:19)",r})(),e.green=(function(){var r=function(r){return r>>8&255};return r._closure={},r.asString="function _f(c){return c>>8&255;}",r.__workletHash=3499836539046,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (436:21)",r})(),e.blue=(function(){var r=function(r){return 255&r};return r._closure={},r.asString="function _f(c){return c&255;}",r.__workletHash=0xd6ef76daabe,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (441:20)",r})(),e.rgbaColor=(function(){var r=function(r,t,o){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if('web'===a.Platform.OS||!_WORKLET)return"rgba("+r+", "+t+", "+o+", "+n+")";var s=16777216*Math.round(255*n)+65536*Math.round(r)+256*Math.round(t)+Math.round(o);return'android'===a.Platform.OS?s<2147483648?s:s-4294967296:s};return r._closure={Platform:{OS:a.Platform.OS}},r.asString="function _f(r,g,b,alpha=1){const{Platform}=jsThis._closure;{if(Platform.OS==='web'||!_WORKLET){return\"rgba(\"+r+\", \"+g+\", \"+b+\", \"+alpha+\")\";}const c=Math.round(alpha*255)*(1<<24)+Math.round(r)*(1<<16)+Math.round(g)*(1<<8)+Math.round(b);if(Platform.OS==='android'){return c<1<<31>>>0?c:c-4294967296;}return c;}}",r.__workletHash=3685267134575,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (446:25)",r})()),b=(e.RGBtoHSV=(function(){var r=function(r,a,t){1===arguments.length&&(a=r.g,t=r.b,r=r.r);var o,n=Math.max(r,a,t),s=Math.min(r,a,t),l=n-s,c=0===n?0:l/n,i=n/255;switch(n){default:case s:o=0;break;case r:o=a-t+l*(a>>8)>>>0:void 0};return r._closure={normalizeColor:v},r.asString="function processColorInitially(color){const{normalizeColor}=jsThis._closure;{if(color===null||color===undefined||typeof color==='number'){return color;}let normalizedColor=normalizeColor(color);if(normalizedColor===null||normalizedColor===undefined){return undefined;}if(typeof normalizedColor!=='number'){return null;}normalizedColor=(normalizedColor<<24|normalizedColor>>>8)>>>0;return normalizedColor;}}",r.__workletHash=9042500432441,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (584:7)",r})());e.isColor=(function(){var r=function(r){return'string'==typeof r&&null!=k(r)};return r._closure={processColorInitially:k},r.asString="function isColor(value){const{processColorInitially}=jsThis._closure;{if(typeof value!=='string'){return false;}return processColorInitially(value)!=null;}}",r.__workletHash=1808885354308,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (606:7)",r})(),e.processColor=(function(){var r=function(r){var t=k(r);if(null!==t&&void 0!==t)return'number'!=typeof t?null:('android'===a.Platform.OS&&(t|=0),t)};return r._closure={processColorInitially:k,Platform:{OS:a.Platform.OS}},r.asString="function processColor(color){const{processColorInitially,Platform}=jsThis._closure;{let normalizedColor=processColorInitially(color);if(normalizedColor===null||normalizedColor===undefined){return undefined;}if(typeof normalizedColor!=='number'){return null;}if(Platform.OS==='android'){normalizedColor=normalizedColor|0x0;}return normalizedColor;}}",r.__workletHash=0xe59d552167e,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (614:7)",r})(),e.convertToRGBA=(function(){var r=function(r){var a=k(r);return[(a<<8>>>24)/255,(a<<16>>>24)/255,(a<<24>>>24)/255,(a>>>24)/255]};return r._closure={processColorInitially:k},r.asString="function convertToRGBA(color){const{processColorInitially}=jsThis._closure;{const processedColor=processColorInitially(color);const a=(processedColor>>>24)/255;const r=(processedColor<<8>>>24)/255;const g=(processedColor<<16>>>24)/255;const b=(processedColor<<24>>>24)/255;return[r,g,b,a];}}",r.__workletHash=0xe96d1c583f3,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (638:7)",r})(),e.rgbaArrayToRGBAColor=(function(){var r=function(r){return"rgba("+Math.round(255*r[0])+", "+Math.round(255*r[1])+", "+Math.round(255*r[2])+", "+r[3]+")"};return r._closure={},r.asString="function rgbaArrayToRGBAColor(RGBA){return\"rgba(\"+Math.round(RGBA[0]*255)+\", \"+Math.round(RGBA[1]*255)+\", \"+Math.round(RGBA[2]*255)+\", \"+RGBA[3]+\")\";}",r.__workletHash=1218651315844,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (648:7)",r})(),e.toLinearSpace=(function(){var r=function(r){for(var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2.2,t=[],o=0;o<3;++o)t.push(Math.pow(r[o],a));return t.push(r[3]),t};return r._closure={},r.asString="function toLinearSpace(RGBA,gamma=2.2){const res=[];for(let i=0;i<3;++i){res.push(Math.pow(RGBA[i],gamma));}res.push(RGBA[3]);return res;}",r.__workletHash=0xc7a0aab56d6,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (655:7)",r})(),e.toGammaSpace=(function(){var r=function(r){for(var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2.2,t=[],o=0;o<3;++o)t.push(Math.pow(r[o],1/a));return t.push(r[3]),t};return r._closure={},r.asString="function toGammaSpace(RGBA,gamma=2.2){const res=[];for(let i=0;i<3;++i){res.push(Math.pow(RGBA[i],1/gamma));}res.push(RGBA[3]);return res;}",r.__workletHash=2291875308114,r.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (668:7)",r})()},699,[18,661]); -__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withStyleAnimation=e.setPath=e.resolvePath=void 0;var n,t=e.resolvePath=((n=function(n,t){return(Array.isArray(t)?t:[t]).reduce(function(n,t){return Array.isArray(n)&&'number'==typeof t?n[t]:'object'==typeof n&&t in n?n[t]:void 0},n)})._closure={},n.asString="function resolvePath(obj,path){const keys=Array.isArray(path)?path:[path];return keys.reduce(function(acc,current){if(Array.isArray(acc)&&typeof current==='number'){return acc[current];}else if(typeof acc==='object'&¤t in acc){return acc[current];}return undefined;},obj);}",n.__workletHash=6802843237952,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts (18:7)",n),i=e.setPath=(function(){var n=function(n,t,i){for(var o=Array.isArray(t)?t:[t],c=n,u=0;u0;){var u=c.pop();if(Array.isArray(u.value))for(var l=0;l0;){var y=s.pop();if(Array.isArray(y.value))for(var h=0;h0;){var o=i.pop();if(Array.isArray(o))for(var c of o)i.push(c);else if('object'==typeof o&&void 0===o.onStart)for(var u of Object.values(o))i.push(u);else{var l=o;!l.finished&&l.callback&&l.callback(!1)}}}}};return o._closure={ColorProperties:r(d[1]).ColorProperties,processColor:r(d[2]).processColor,setPath:i,styleAnimations:n,resolvePath:t,withTiming:r(d[3]).withTiming},o.asString="function _f(){const{ColorProperties,processColor,setPath,styleAnimations,resolvePath,withTiming}=jsThis._closure;{const onFrame=function(animation,now){let stillGoing=false;const entriesToCheck=[{value:animation.styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&¤tAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&¤tStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:callback};}}",o.__workletHash=0xebfe2c63ab4,o.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts (73:51)",o})())};return n._closure={defineAnimation:r(d[0]).defineAnimation,ColorProperties:r(d[1]).ColorProperties,processColor:r(d[2]).processColor,setPath:i,resolvePath:t,withTiming:r(d[3]).withTiming},n.asString="function withStyleAnimation(styleAnimations){const{defineAnimation,ColorProperties,processColor,setPath,resolvePath,withTiming}=jsThis._closure;{return defineAnimation({},function(){'worklet';const onFrame=function(animation,now){let stillGoing=false;const entriesToCheck=[{value:animation.styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&¤tAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&¤tStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:callback};});}}",n.__workletHash=5859144058646,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts (69:7)",n})()},700,[701,698,699,702]); -__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.defineAnimation=e.cancelAnimation=void 0,e.initialUpdaterRun=function(n){i=!0;var t=n();return i=!1,t},e.withStartValue=void 0;var n=r(d[0])(r(d[1])),i=!1;var t,o=((t=function(n){if('string'==typeof n){var i,t=n.match(/([A-Za-z]*)(-?\d*\.?\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!t)throw Error("Couldn't parse animation value. Check if there isn't any typo.");var o=t[1],u=t[4],s=t[2]+(null!=(i=t[3])?i:'');return{prefix:o,suffix:u,strippedValue:parseFloat(s)}}return{strippedValue:n}})._closure={},t.asString="function recognizePrefixSuffix(value){if(typeof value==='string'){var _match$;const match=value.match(/([A-Za-z]*)(-?\\d*\\.?\\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!match){throw Error(\"Couldn't parse animation value. Check if there isn't any typo.\");}const prefix=match[1];const suffix=match[4];const number=match[2]+((_match$=match[3])!==null&&_match$!==void 0?_match$:'');return{prefix:prefix,suffix:suffix,strippedValue:parseFloat(number)};}else{return{strippedValue:value};}}",t.__workletHash=0x95dcba9cd08,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (45:0)",t),u=(function(){var n=function(n){if(!n.isHigherOrder){var i=n.onStart,t=n.onFrame,u=Object.assign({},n);delete u.callback;var s=function(n,t,u,s){var c,f,l=o(t),p=l.prefix,_=l.suffix,v=l.strippedValue;n.__prefix=p,n.__suffix=_,n.strippedCurrent=v;var A,x,S=o(n.toValue).strippedValue;if(n.current=v,n.startValue=v,n.toValue=S,s&&s!==n){var h=o(s.current),V=h.prefix,R=h.suffix,T=h.strippedValue;s.current=T,s.__prefix=V,s.__suffix=R}(i(n,v,u,s),n.current=(null!=(c=n.__prefix)?c:'')+n.current+(null!=(f=n.__suffix)?f:''),s&&s!==n)&&(s.current=(null!=(A=s.__prefix)?A:'')+s.current+(null!=(x=s.__suffix)?x:''))},c=function(n,i){var o,u;n.current=n.strippedCurrent;var s=t(n,i);return n.strippedCurrent=n.current,n.current=(null!=(o=n.__prefix)?o:'')+n.current+(null!=(u=n.__suffix)?u:''),s},f=['R','G','B','A'],l=function(n,i,t,o){var s,c,l,p=[];(0,r(d[2]).isColor)(i)&&(c=(0,r(d[2]).toLinearSpace)((0,r(d[2]).convertToRGBA)(n.current)),s=(0,r(d[2]).toLinearSpace)((0,r(d[2]).convertToRGBA)(i)),n.toValue&&(l=(0,r(d[2]).toLinearSpace)((0,r(d[2]).convertToRGBA)(n.toValue)))),f.forEach(function(i,f){n[i]=Object.assign({},u),n[i].current=c[f],n[i].toValue=l?l[f]:void 0,n[i].onStart(n[i],s[f],t,o?o[i]:void 0),p.push(n[i].current)}),n.current=(0,r(d[2]).rgbaArrayToRGBAColor)((0,r(d[2]).toGammaSpace)(p))},p=function(n,i){var t=(0,r(d[2]).toLinearSpace)((0,r(d[2]).convertToRGBA)(n.current)),o=[],u=!0;return f.forEach(function(s,c){n[s].current=t[c],u&=n[s].onFrame(n[s],i),o.push(n[s].current)}),n.current=(0,r(d[2]).rgbaArrayToRGBAColor)((0,r(d[2]).toGammaSpace)(o)),u},_=function(n,i,t,o){i.forEach(function(i,s){n[s]=Object.assign({},u),n[s].current=i,n[s].toValue=n.toValue[s],n[s].onStart(n[s],i,t,o?o[s]:void 0)}),n.current=i},v=function(n,i){var t=!0;return n.current.forEach(function(o,u){t&=n[u].onFrame(n[u],i),n.current[u]=n[u].current}),t};n.onStart=function(n,t,o,u){return(0,r(d[2]).isColor)(t)?(l(n,t,o,u),void(n.onFrame=p)):Array.isArray(t)?(_(n,t,o,u),void(n.onFrame=v)):'string'==typeof t?(s(n,t,o,u),void(n.onFrame=c)):void i(n,t,o,u)}}};return n._closure={recognizePrefixSuffix:o,isColor:r(d[2]).isColor,toLinearSpace:r(d[2]).toLinearSpace,convertToRGBA:r(d[2]).convertToRGBA,rgbaArrayToRGBAColor:r(d[2]).rgbaArrayToRGBAColor,toGammaSpace:r(d[2]).toGammaSpace},n.asString="function decorateAnimation(animation){const{recognizePrefixSuffix,isColor,toLinearSpace,convertToRGBA,rgbaArrayToRGBAColor,toGammaSpace}=jsThis._closure;{if(animation.isHigherOrder){return;}const baseOnStart=animation.onStart;const baseOnFrame=animation.onFrame;const animationCopy=Object.assign({},animation);delete animationCopy.callback;const prefNumberSuffOnStart=function(animation,value,timestamp,previousAnimation){var _animation$__prefix,_animation$__suffix;const{prefix:prefix,suffix:suffix,strippedValue:strippedValue}=recognizePrefixSuffix(value);animation.__prefix=prefix;animation.__suffix=suffix;animation.strippedCurrent=strippedValue;const{strippedValue:strippedToValue}=recognizePrefixSuffix(animation.toValue);animation.current=strippedValue;animation.startValue=strippedValue;animation.toValue=strippedToValue;if(previousAnimation&&previousAnimation!==animation){const{prefix:paPrefix,suffix:paSuffix,strippedValue:paStrippedValue}=recognizePrefixSuffix(previousAnimation.current);previousAnimation.current=paStrippedValue;previousAnimation.__prefix=paPrefix;previousAnimation.__suffix=paSuffix;}baseOnStart(animation,strippedValue,timestamp,previousAnimation);animation.current=((_animation$__prefix=animation.__prefix)!==null&&_animation$__prefix!==void 0?_animation$__prefix:'')+animation.current+((_animation$__suffix=animation.__suffix)!==null&&_animation$__suffix!==void 0?_animation$__suffix:'');if(previousAnimation&&previousAnimation!==animation){var _previousAnimation$__,_previousAnimation$__2;previousAnimation.current=((_previousAnimation$__=previousAnimation.__prefix)!==null&&_previousAnimation$__!==void 0?_previousAnimation$__:'')+previousAnimation.current+((_previousAnimation$__2=previousAnimation.__suffix)!==null&&_previousAnimation$__2!==void 0?_previousAnimation$__2:'');}};const prefNumberSuffOnFrame=function(animation,timestamp){var _animation$__prefix2,_animation$__suffix2;animation.current=animation.strippedCurrent;const res=baseOnFrame(animation,timestamp);animation.strippedCurrent=animation.current;animation.current=((_animation$__prefix2=animation.__prefix)!==null&&_animation$__prefix2!==void 0?_animation$__prefix2:'')+animation.current+((_animation$__suffix2=animation.__suffix)!==null&&_animation$__suffix2!==void 0?_animation$__suffix2:'');return res;};const tab=['R','G','B','A'];const colorOnStart=function(animation,value,timestamp,previousAnimation){let RGBAValue;let RGBACurrent;let RGBAToValue;const res=[];if(isColor(value)){RGBACurrent=toLinearSpace(convertToRGBA(animation.current));RGBAValue=toLinearSpace(convertToRGBA(value));if(animation.toValue){RGBAToValue=toLinearSpace(convertToRGBA(animation.toValue));}}tab.forEach(function(i,index){animation[i]=Object.assign({},animationCopy);animation[i].current=RGBACurrent[index];animation[i].toValue=RGBAToValue?RGBAToValue[index]:undefined;animation[i].onStart(animation[i],RGBAValue[index],timestamp,previousAnimation?previousAnimation[i]:undefined);res.push(animation[i].current);});animation.current=rgbaArrayToRGBAColor(toGammaSpace(res));};const colorOnFrame=function(animation,timestamp){const RGBACurrent=toLinearSpace(convertToRGBA(animation.current));const res=[];let finished=true;tab.forEach(function(i,index){animation[i].current=RGBACurrent[index];finished&=animation[i].onFrame(animation[i],timestamp);res.push(animation[i].current);});animation.current=rgbaArrayToRGBAColor(toGammaSpace(res));return finished;};const arrayOnStart=function(animation,value,timestamp,previousAnimation){value.forEach(function(v,i){animation[i]=Object.assign({},animationCopy);animation[i].current=v;animation[i].toValue=animation.toValue[i];animation[i].onStart(animation[i],v,timestamp,previousAnimation?previousAnimation[i]:undefined);});animation.current=value;};const arrayOnFrame=function(animation,timestamp){let finished=true;animation.current.forEach(function(v,i){finished&=animation[i].onFrame(animation[i],timestamp);animation.current[i]=animation[i].current;});return finished;};animation.onStart=function(animation,value,timestamp,previousAnimation){if(isColor(value)){colorOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=colorOnFrame;return;}else if(Array.isArray(value)){arrayOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=arrayOnFrame;return;}else if(typeof value==='string'){prefNumberSuffOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=prefNumberSuffOnFrame;return;}baseOnStart(animation,value,timestamp,previousAnimation);};}}",n.__workletHash=7767808760058,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (66:0)",n})(),s=e.defineAnimation=(function(){var t=function(t,o){if(i)return t;var s=(function(){var n=function(){var n=o();return u(n),n};return n._closure={factory:o,decorateAnimation:u},n.asString="function _f(){const{factory,decorateAnimation}=jsThis._closure;{const animation=factory();decorateAnimation(animation);return animation;}}",n.__workletHash=2441595458132,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (267:17)",n})();return _WORKLET||!n.default.native?s():s};return t._closure={IN_STYLE_UPDATER:i,decorateAnimation:u,NativeReanimatedModule:{native:n.default.native}},t.asString="function defineAnimation(starting,factory){const{IN_STYLE_UPDATER,decorateAnimation,NativeReanimatedModule}=jsThis._closure;{if(IN_STYLE_UPDATER){return starting;}const create=function(){'worklet';const animation=factory();decorateAnimation(animation);return animation;};if(_WORKLET||!NativeReanimatedModule.native){return create();}return create;}}",t.__workletHash=4939784890886,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (260:7)",t})();e.cancelAnimation=(function(){var n=function(n){n.value=n.value};return n._closure={},n.asString="function cancelAnimation(sharedValue){sharedValue.value=sharedValue.value;}",n.__workletHash=0xdb1b4231136,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (281:7)",n})(),e.withStartValue=(function(){var n=function(n,i){return s(n,(function(){var t=function(){return _WORKLET||'function'!=typeof i||(i=i()),i.current=n,i};return t._closure={animation:i,startValue:n},t.asString="function _f(){const{animation,startValue}=jsThis._closure;{if(!_WORKLET&&typeof animation==='function'){animation=animation();}animation.current=startValue;return animation;}}",t.__workletHash=5374403234008,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (293:37)",t})())};return n._closure={defineAnimation:s},n.asString="function withStartValue(startValue,animation){const{defineAnimation}=jsThis._closure;{return defineAnimation(startValue,function(){'worklet';if(!_WORKLET&&typeof animation==='function'){animation=animation();}animation.current=startValue;return animation;});}}",n.__workletHash=5100017907325,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (288:7)",n})()},701,[3,662,699]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withTiming=void 0;var t;e.withTiming=((t=function(t,n,o){return(0,r(d[0]).defineAnimation)(t,(function(){var s=function(){var s={duration:300,easing:r(d[1]).Easing.inOut(r(d[1]).Easing.quad)};return n&&Object.keys(n).forEach(function(t){return s[t]=n[t]}),{type:'timing',onFrame:function(t,n){var o=t.toValue,u=t.startTime,c=t.startValue,l=n-u;if(l>=s.duration)return t.startTime=0,t.current=o,!0;var f=t.easing(l/s.duration);return t.current=c+(o-c)*f,!1},onStart:function(n,o,u,c){c&&'timing'===c.type&&c.toValue===t&&c.startTime?(n.startTime=c.startTime,n.startValue=c.startValue):(n.startTime=u,n.startValue=o),n.current=o,'object'==typeof s.easing?n.easing=s.easing.factory():n.easing=s.easing},progress:0,toValue:t,startValue:0,startTime:0,easing:function(){return 0},current:t,callback:o}};return s._closure={Easing:{inOut:r(d[1]).Easing.inOut,quad:r(d[1]).Easing.quad},userConfig:n,toValue:t,callback:o},s.asString="function _f(){const{Easing,userConfig,toValue,callback}=jsThis._closure;{const config={duration:300,easing:Easing.inOut(Easing.quad)};if(userConfig){Object.keys(userConfig).forEach(function(key){return config[key]=userConfig[key];});}function timing(animation,now){const{toValue:toValue,startTime:startTime,startValue:startValue}=animation;const runtime=now-startTime;if(runtime>=config.duration){animation.startTime=0;animation.current=toValue;return true;}const progress=animation.easing(runtime/config.duration);animation.current=startValue+(toValue-startValue)*progress;return false;}function onStart(animation,value,now,previousAnimation){if(previousAnimation&&previousAnimation.type==='timing'&&previousAnimation.toValue===toValue&&previousAnimation.startTime){animation.startTime=previousAnimation.startTime;animation.startValue=previousAnimation.startValue;}else{animation.startTime=now;animation.startValue=value;}animation.current=value;if(typeof config.easing==='object'){animation.easing=config.easing.factory();}else{animation.easing=config.easing;}}return{type:'timing',onFrame:timing,onStart:onStart,progress:0,toValue:toValue,startValue:0,startTime:0,easing:function(){return 0;},current:toValue,callback:callback};}}",s.__workletHash=7771814081277,s.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/timing.ts (38:51)",s})())})._closure={defineAnimation:r(d[0]).defineAnimation,Easing:{inOut:r(d[1]).Easing.inOut,quad:r(d[1]).Easing.quad}},t.asString="function withTiming(toValue,userConfig,callback){const{defineAnimation,Easing}=jsThis._closure;{return defineAnimation(toValue,function(){'worklet';const config={duration:300,easing:Easing.inOut(Easing.quad)};if(userConfig){Object.keys(userConfig).forEach(function(key){return config[key]=userConfig[key];});}function timing(animation,now){const{toValue:toValue,startTime:startTime,startValue:startValue}=animation;const runtime=now-startTime;if(runtime>=config.duration){animation.startTime=0;animation.current=toValue;return true;}const progress=animation.easing(runtime/config.duration);animation.current=startValue+(toValue-startValue)*progress;return false;}function onStart(animation,value,now,previousAnimation){if(previousAnimation&&previousAnimation.type==='timing'&&previousAnimation.toValue===toValue&&previousAnimation.startTime){animation.startTime=previousAnimation.startTime;animation.startValue=previousAnimation.startValue;}else{animation.startTime=now;animation.startValue=value;}animation.current=value;if(typeof config.easing==='object'){animation.easing=config.easing.factory();}else{animation.easing=config.easing;}}return{type:'timing',onFrame:timing,onStart:onStart,progress:0,toValue:toValue,startValue:0,startTime:0,easing:function(){return 0;},current:toValue,callback:callback};});}}",t.__workletHash=2875714024024,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/timing.ts (31:7)",t)},702,[701,703]); -__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Easing=void 0;var t,n=r(d[0])(r(d[1])),s={linear:((t=function(t){return t})._closure={},t.asString="function linear(t){return t;}",t.__workletHash=7988822508142,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (66:0)",t),ease:(function(){var t=function(t){return(0,r(d[2]).Bezier)(.42,0,1,1)(t)};return t._closure={Bezier:r(d[2]).Bezier},t.asString="function ease(t){const{Bezier}=jsThis._closure;{return Bezier(0.42,0,1,1)(t);}}",t.__workletHash=0xbdc195724f9,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (77:0)",t})(),quad:(function(){var t=function(t){return t*t};return t._closure={},t.asString="function quad(t){return t*t;}",t.__workletHash=8628631460172,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (88:0)",t})(),cubic:(function(){var t=function(t){return t*t*t};return t._closure={},t.asString="function cubic(t){return t*t*t;}",t.__workletHash=9374441307661,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (99:0)",t})(),poly:(function(){var t=function(t){return(function(){var n=function(n){return Math.pow(n,t)};return n._closure={n:t},n.asString="function _f(t){const{n}=jsThis._closure;{return Math.pow(t,n);}}",n.__workletHash=1121339919789,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (112:9)",n})()};return t._closure={},t.asString="function poly(n){return function(t){'worklet';return Math.pow(t,n);};}",t.__workletHash=0xf0e21d4d631,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (110:0)",t})(),sin:(function(){var t=function(t){return 1-Math.cos(t*Math.PI/2)};return t._closure={},t.asString="function sin(t){return 1-Math.cos(t*Math.PI/2);}",t.__workletHash=8621899987563,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (123:0)",t})(),circle:(function(){var t=function(t){return 1-Math.sqrt(1-t*t)};return t._closure={},t.asString="function circle(t){return 1-Math.sqrt(1-t*t);}",t.__workletHash=0xe74766c81e4,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (133:0)",t})(),exp:(function(){var t=function(t){return Math.pow(2,10*(t-1))};return t._closure={},t.asString="function exp(t){return Math.pow(2,10*(t-1));}",t.__workletHash=0xe77bf377b41,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (143:0)",t})(),elastic:(function(){var t=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)*Math.PI;return(function(){var n=function(n){return 1-Math.pow(Math.cos(n*Math.PI/2),3)*Math.cos(n*t)};return n._closure={p:t},n.asString="function _f(t){const{p}=jsThis._closure;{return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);}}",n.__workletHash=8897284077766,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (161:9)",n})()};return t._closure={},t.asString="function elastic(bounciness=1){const p=bounciness*Math.PI;return function(t){'worklet';return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);};}",t.__workletHash=0xe75c59c1497,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (158:0)",t})(),back:(function(){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1.70158;return(function(){var n=function(n){return n*n*((t+1)*n-t)};return n._closure={s:t},n.asString="function _f(t){const{s}=jsThis._closure;{return t*t*((s+1)*t-s);}}",n.__workletHash=9334724225624,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (177:9)",n})()};return t._closure={},t.asString="function back(s=1.70158){return function(t){'worklet';return t*t*((s+1)*t-s);};}",t.__workletHash=2360128598492,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (175:0)",t})(),bounce:(function(){var t=function(t){if(t<.36363636363636365)return 7.5625*t*t;if(t<.7272727272727273){var n=t-.5454545454545454;return 7.5625*n*n+.75}if(t<.9090909090909091){var s=t-.8181818181818182;return 7.5625*s*s+.9375}var i=t-.9545454545454546;return 7.5625*i*i+.984375};return t._closure={},t.asString="function bounce(t){if(t<1/2.75){return 7.5625*t*t;}if(t<2/2.75){const t2=t-1.5/2.75;return 7.5625*t2*t2+0.75;}if(t<2.5/2.75){const t2=t-2.25/2.75;return 7.5625*t2*t2+0.9375;}const t2=t-2.625/2.75;return 7.5625*t2*t2+0.984375;}",t.__workletHash=5721637210615,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (188:0)",t})(),bezier:(function(){var t=function(t,n,s,i){return{factory:(function(){var o=function(){return(0,r(d[2]).Bezier)(t,n,s,i)};return o._closure={Bezier:r(d[2]).Bezier,x1:t,y1:n,x2:s,y2:i},o.asString="function _f(){const{Bezier,x1,y1,x2,y2}=jsThis._closure;{return Bezier(x1,y1,x2,y2);}}",o.__workletHash=4879686787739,o.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (223:13)",o})()}};return t._closure={Bezier:r(d[2]).Bezier},t.asString="function bezier(x1,y1,x2,y2){const{Bezier}=jsThis._closure;{return{factory:function(){'worklet';return Bezier(x1,y1,x2,y2);}};}}",t.__workletHash=853527302262,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (215:0)",t})(),bezierFn:(function(){var t=function(t,n,s,i){return(0,r(d[2]).Bezier)(t,n,s,i)};return t._closure={Bezier:r(d[2]).Bezier},t.asString="function bezierFn(x1,y1,x2,y2){const{Bezier}=jsThis._closure;{return Bezier(x1,y1,x2,y2);}}",t.__workletHash=0xdcfbb8beb25,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (230:0)",t})(),in:(function(){var t=function(t){return t};return t._closure={},t.asString="function in_(easing){return easing;}",t.__workletHash=1837493474379,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (243:0)",t})(),out:(function(){var t=function(t){return(function(){var n=function(n){return 1-t(1-n)};return n._closure={easing:t},n.asString="function _f(t){const{easing}=jsThis._closure;{return 1-easing(1-t);}}",n.__workletHash=5726884014519,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (253:9)",n})()};return t._closure={},t.asString="function out(easing){return function(t){'worklet';return 1-easing(1-t);};}",t.__workletHash=7718549646703,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (251:0)",t})(),inOut:(function(){var t=function(t){return(function(){var n=function(n){return n<.5?t(2*n)/2:1-t(2*(1-n))/2};return n._closure={easing:t},n.asString="function _f(t){const{easing}=jsThis._closure;{if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;}}",n.__workletHash=2325007799982,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (266:9)",n})()};return t._closure={},t.asString="function inOut(easing){return function(t){'worklet';if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;};}",t.__workletHash=7048715165105,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (264:0)",t})()};function i(t,s,o){var c,u=((c=function(){if(arguments&&!_WORKLET)for(var c=0;c1&&(t-=1),t<.16666666666666666?r+6*(a-r)*t:t<.5?a:t<.6666666666666666?r+(a-r)*(.6666666666666666-t)*6:r};return r._closure={},r.asString="function hue2rgb(p,q,t){if(t<0){t+=1;}if(t>1){t-=1;}if(t<1/6){return p+(q-p)*6*t;}if(t<1/2){return q;}if(t<2/3){return p+(q-p)*(2/3-t)*6;}return p;}",r.__workletHash=3618366985414,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (79:0)",r})(),u=(function(){var r=function(r,a,t){var o=t<.5?t*(1+a):t+a-t*a,n=2*t-o,s=i(n,o,r+.3333333333333333),l=i(n,o,r),c=i(n,o,r-.3333333333333333);return Math.round(255*s)<<24|Math.round(255*l)<<16|Math.round(255*c)<<8};return r._closure={hue2rgb:i},r.asString="function hslToRgb(h,s,l){const{hue2rgb}=jsThis._closure;{const q=l<0.5?l*(1+s):l+s-l*s;const p=2*l-q;const r=hue2rgb(p,q,h+1/3);const g=hue2rgb(p,q,h);const b=hue2rgb(p,q,h-1/3);return Math.round(r*255)<<24|Math.round(g*255)<<16|Math.round(b*255)<<8;}}",r.__workletHash=4500055963175,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (99:0)",r})(),d=(function(){var r=function(r){var a=Number.parseInt(r,10);return a<0?0:a>255?255:a};return r._closure={},r.asString="function parse255(str){const int=Number.parseInt(str,10);if(int<0){return 0;}if(int>255){return 255;}return int;}",r.__workletHash=7024550667346,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (114:0)",r})(),h=(function(){var r=function(r){return(Number.parseFloat(r)%360+360)%360/360};return r._closure={},r.asString="function parse360(str){const int=Number.parseFloat(str);return(int%360+360)%360/360;}",r.__workletHash=6683812623228,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (126:0)",r})(),f=(function(){var r=function(r){var a=Number.parseFloat(r);return a<0?0:a>1?255:Math.round(255*a)};return r._closure={},r.asString="function parse1(str){const num=Number.parseFloat(str);if(num<0){return 0;}if(num>1){return 255;}return Math.round(num*255);}",r.__workletHash=7197247664793,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (132:0)",r})(),g=(function(){var r=function(r){var a=Number.parseFloat(r);return a<0?0:a>100?1:a/100};return r._closure={},r.asString="function parsePercentage(str){const int=Number.parseFloat(str);if(int<0){return 0;}if(int>100){return 1;}return int/100;}",r.__workletHash=8813932430184,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (144:0)",r})(),_=(0,_r(_d[1]).isConfigured)()?(0,_r(_d[1]).makeShareable)({transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}):null,v=(function(){var r=function(r){var a,t,o,n,s,l,i,v;if('number'==typeof r)return r>>>0===r&&r>=0&&r<=4294967295?r:null;if('string'!=typeof r)return null;var p,b=c();return(p=null==b?void 0:null==(a=b.hex6)?void 0:a.exec(r))?Number.parseInt(p[1]+'ff',16)>>>0:void 0!==_[r]?_[r]:(p=null==b?void 0:null==(t=b.rgb)?void 0:t.exec(r))?(d(p[1])<<24|d(p[2])<<16|d(p[3])<<8|255)>>>0:(p=null==b?void 0:null==(o=b.rgba)?void 0:o.exec(r))?(d(p[1])<<24|d(p[2])<<16|d(p[3])<<8|f(p[4]))>>>0:(p=null==b?void 0:null==(n=b.hex3)?void 0:n.exec(r))?Number.parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+'ff',16)>>>0:(p=null==b?void 0:null==(s=b.hex8)?void 0:s.exec(r))?Number.parseInt(p[1],16)>>>0:(p=null==b?void 0:null==(l=b.hex4)?void 0:l.exec(r))?Number.parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+p[4]+p[4],16)>>>0:(p=null==b?void 0:null==(i=b.hsl)?void 0:i.exec(r))?(255|u(h(p[1]),g(p[2]),g(p[3])))>>>0:(p=null==b?void 0:null==(v=b.hsla)?void 0:v.exec(r))?(u(h(p[1]),g(p[2]),g(p[3]))|f(p[4]))>>>0:null};return r._closure={getMatchers:c,names:_,parse255:d,parse1:f,hslToRgb:u,parse360:h,parsePercentage:g},r.asString="function normalizeColor(color){const{getMatchers,names,parse255,parse1,hslToRgb,parse360,parsePercentage}=jsThis._closure;{var _matchers$hex,_matchers$rgb,_matchers$rgba,_matchers$hex2,_matchers$hex3,_matchers$hex4,_matchers$hsl,_matchers$hsla;if(typeof color==='number'){if(color>>>0===color&&color>=0&&color<=0xffffffff){return color;}return null;}if(typeof color!=='string'){return null;}const matchers=getMatchers();let match;if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex=matchers.hex6)===null||_matchers$hex===void 0?void 0:_matchers$hex.exec(color)){return Number.parseInt(match[1]+'ff',16)>>>0;}if(names[color]!==undefined){return names[color];}if(match=matchers===null||matchers===void 0?void 0:(_matchers$rgb=matchers.rgb)===null||_matchers$rgb===void 0?void 0:_matchers$rgb.exec(color)){return(parse255(match[1])<<24|parse255(match[2])<<16|parse255(match[3])<<8|0x000000ff)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$rgba=matchers.rgba)===null||_matchers$rgba===void 0?void 0:_matchers$rgba.exec(color)){return(parse255(match[1])<<24|parse255(match[2])<<16|parse255(match[3])<<8|parse1(match[4]))>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex2=matchers.hex3)===null||_matchers$hex2===void 0?void 0:_matchers$hex2.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+'ff',16)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex3=matchers.hex8)===null||_matchers$hex3===void 0?void 0:_matchers$hex3.exec(color)){return Number.parseInt(match[1],16)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex4=matchers.hex4)===null||_matchers$hex4===void 0?void 0:_matchers$hex4.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+match[4]+match[4],16)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hsl=matchers.hsl)===null||_matchers$hsl===void 0?void 0:_matchers$hsl.exec(color)){return(hslToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|0x000000ff)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hsla=matchers.hsla)===null||_matchers$hsla===void 0?void 0:_matchers$hsla.exec(color)){return(hslToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|parse1(match[4]))>>>0;}return null;}}",r.__workletHash=0x9c840fd31ae,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (314:0)",r})(),p=(e.opacity=(function(){var r=function(r){return(r>>24&255)/255};return r._closure={},r.asString="function _f(c){return(c>>24&255)/255;}",r.__workletHash=0xd60a2a09964,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (426:23)",r})(),e.red=(function(){var r=function(r){return r>>16&255};return r._closure={},r.asString="function _f(c){return c>>16&255;}",r.__workletHash=0xba6200c4759,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (431:19)",r})(),e.green=(function(){var r=function(r){return r>>8&255};return r._closure={},r.asString="function _f(c){return c>>8&255;}",r.__workletHash=3499836539046,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (436:21)",r})(),e.blue=(function(){var r=function(r){return 255&r};return r._closure={},r.asString="function _f(c){return c&255;}",r.__workletHash=0xd6ef76daabe,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (441:20)",r})(),e.rgbaColor=(function(){var r=function(r,t,o){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if('web'===a.Platform.OS||!_WORKLET)return"rgba("+r+", "+t+", "+o+", "+n+")";var s=16777216*Math.round(255*n)+65536*Math.round(r)+256*Math.round(t)+Math.round(o);return'android'===a.Platform.OS?s<2147483648?s:s-4294967296:s};return r._closure={Platform:{OS:a.Platform.OS}},r.asString="function _f(r,g,b,alpha=1){const{Platform}=jsThis._closure;{if(Platform.OS==='web'||!_WORKLET){return\"rgba(\"+r+\", \"+g+\", \"+b+\", \"+alpha+\")\";}const c=Math.round(alpha*255)*(1<<24)+Math.round(r)*(1<<16)+Math.round(g)*(1<<8)+Math.round(b);if(Platform.OS==='android'){return c<1<<31>>>0?c:c-4294967296;}return c;}}",r.__workletHash=3685267134575,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (446:25)",r})()),b=(e.RGBtoHSV=(function(){var r=function(r,a,t){1===arguments.length&&(a=r.g,t=r.b,r=r.r);var o,n=Math.max(r,a,t),s=Math.min(r,a,t),l=n-s,c=0===n?0:l/n,i=n/255;switch(n){default:case s:o=0;break;case r:o=a-t+l*(a>>8)>>>0:void 0};return r._closure={normalizeColor:v},r.asString="function processColorInitially(color){const{normalizeColor}=jsThis._closure;{if(color===null||color===undefined||typeof color==='number'){return color;}let normalizedColor=normalizeColor(color);if(normalizedColor===null||normalizedColor===undefined){return undefined;}if(typeof normalizedColor!=='number'){return null;}normalizedColor=(normalizedColor<<24|normalizedColor>>>8)>>>0;return normalizedColor;}}",r.__workletHash=9042500432441,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (584:7)",r})());e.isColor=(function(){var r=function(r){return'string'==typeof r&&null!=k(r)};return r._closure={processColorInitially:k},r.asString="function isColor(value){const{processColorInitially}=jsThis._closure;{if(typeof value!=='string'){return false;}return processColorInitially(value)!=null;}}",r.__workletHash=1808885354308,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (606:7)",r})(),e.processColor=(function(){var r=function(r){var t=k(r);if(null!==t&&void 0!==t)return'number'!=typeof t?null:('android'===a.Platform.OS&&(t|=0),t)};return r._closure={processColorInitially:k,Platform:{OS:a.Platform.OS}},r.asString="function processColor(color){const{processColorInitially,Platform}=jsThis._closure;{let normalizedColor=processColorInitially(color);if(normalizedColor===null||normalizedColor===undefined){return undefined;}if(typeof normalizedColor!=='number'){return null;}if(Platform.OS==='android'){normalizedColor=normalizedColor|0x0;}return normalizedColor;}}",r.__workletHash=0xe59d552167e,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (614:7)",r})(),e.convertToRGBA=(function(){var r=function(r){var a=k(r);return[(a<<8>>>24)/255,(a<<16>>>24)/255,(a<<24>>>24)/255,(a>>>24)/255]};return r._closure={processColorInitially:k},r.asString="function convertToRGBA(color){const{processColorInitially}=jsThis._closure;{const processedColor=processColorInitially(color);const a=(processedColor>>>24)/255;const r=(processedColor<<8>>>24)/255;const g=(processedColor<<16>>>24)/255;const b=(processedColor<<24>>>24)/255;return[r,g,b,a];}}",r.__workletHash=0xe96d1c583f3,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (638:7)",r})(),e.rgbaArrayToRGBAColor=(function(){var r=function(r){return"rgba("+Math.round(255*r[0])+", "+Math.round(255*r[1])+", "+Math.round(255*r[2])+", "+r[3]+")"};return r._closure={},r.asString="function rgbaArrayToRGBAColor(RGBA){return\"rgba(\"+Math.round(RGBA[0]*255)+\", \"+Math.round(RGBA[1]*255)+\", \"+Math.round(RGBA[2]*255)+\", \"+RGBA[3]+\")\";}",r.__workletHash=1218651315844,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (648:7)",r})(),e.toLinearSpace=(function(){var r=function(r){for(var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2.2,t=[],o=0;o<3;++o)t.push(Math.pow(r[o],a));return t.push(r[3]),t};return r._closure={},r.asString="function toLinearSpace(RGBA,gamma=2.2){const res=[];for(let i=0;i<3;++i){res.push(Math.pow(RGBA[i],gamma));}res.push(RGBA[3]);return res;}",r.__workletHash=0xc7a0aab56d6,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (655:7)",r})(),e.toGammaSpace=(function(){var r=function(r){for(var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2.2,t=[],o=0;o<3;++o)t.push(Math.pow(r[o],1/a));return t.push(r[3]),t};return r._closure={},r.asString="function toGammaSpace(RGBA,gamma=2.2){const res=[];for(let i=0;i<3;++i){res.push(Math.pow(RGBA[i],1/gamma));}res.push(RGBA[3]);return res;}",r.__workletHash=2291875308114,r.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (668:7)",r})()},699,[18,661]); +__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withStyleAnimation=e.setPath=e.resolvePath=void 0;var n,t=e.resolvePath=((n=function(n,t){return(Array.isArray(t)?t:[t]).reduce(function(n,t){return Array.isArray(n)&&'number'==typeof t?n[t]:'object'==typeof n&&t in n?n[t]:void 0},n)})._closure={},n.asString="function resolvePath(obj,path){const keys=Array.isArray(path)?path:[path];return keys.reduce(function(acc,current){if(Array.isArray(acc)&&typeof current==='number'){return acc[current];}else if(typeof acc==='object'&¤t in acc){return acc[current];}return undefined;},obj);}",n.__workletHash=6802843237952,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts (18:7)",n),i=e.setPath=(function(){var n=function(n,t,i){for(var o=Array.isArray(t)?t:[t],c=n,u=0;u0;){var u=c.pop();if(Array.isArray(u.value))for(var l=0;l0;){var y=s.pop();if(Array.isArray(y.value))for(var h=0;h0;){var o=i.pop();if(Array.isArray(o))for(var c of o)i.push(c);else if('object'==typeof o&&void 0===o.onStart)for(var u of Object.values(o))i.push(u);else{var l=o;!l.finished&&l.callback&&l.callback(!1)}}}}};return o._closure={ColorProperties:r(d[1]).ColorProperties,processColor:r(d[2]).processColor,setPath:i,styleAnimations:n,resolvePath:t,withTiming:r(d[3]).withTiming},o.asString="function _f(){const{ColorProperties,processColor,setPath,styleAnimations,resolvePath,withTiming}=jsThis._closure;{const onFrame=function(animation,now){let stillGoing=false;const entriesToCheck=[{value:animation.styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&¤tAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&¤tStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:callback};}}",o.__workletHash=0xebfe2c63ab4,o.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts (73:51)",o})())};return n._closure={defineAnimation:r(d[0]).defineAnimation,ColorProperties:r(d[1]).ColorProperties,processColor:r(d[2]).processColor,setPath:i,resolvePath:t,withTiming:r(d[3]).withTiming},n.asString="function withStyleAnimation(styleAnimations){const{defineAnimation,ColorProperties,processColor,setPath,resolvePath,withTiming}=jsThis._closure;{return defineAnimation({},function(){'worklet';const onFrame=function(animation,now){let stillGoing=false;const entriesToCheck=[{value:animation.styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&¤tAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&¤tStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:callback};});}}",n.__workletHash=5859144058646,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts (69:7)",n})()},700,[701,698,699,702]); +__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.defineAnimation=e.cancelAnimation=void 0,e.initialUpdaterRun=function(n){i=!0;var t=n();return i=!1,t},e.withStartValue=void 0;var n=r(d[0])(r(d[1])),i=!1;var t,o=((t=function(n){if('string'==typeof n){var i,t=n.match(/([A-Za-z]*)(-?\d*\.?\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!t)throw Error("Couldn't parse animation value. Check if there isn't any typo.");var o=t[1],u=t[4],s=t[2]+(null!=(i=t[3])?i:'');return{prefix:o,suffix:u,strippedValue:parseFloat(s)}}return{strippedValue:n}})._closure={},t.asString="function recognizePrefixSuffix(value){if(typeof value==='string'){var _match$;const match=value.match(/([A-Za-z]*)(-?\\d*\\.?\\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!match){throw Error(\"Couldn't parse animation value. Check if there isn't any typo.\");}const prefix=match[1];const suffix=match[4];const number=match[2]+((_match$=match[3])!==null&&_match$!==void 0?_match$:'');return{prefix:prefix,suffix:suffix,strippedValue:parseFloat(number)};}else{return{strippedValue:value};}}",t.__workletHash=0x95dcba9cd08,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (45:0)",t),u=(function(){var n=function(n){if(!n.isHigherOrder){var i=n.onStart,t=n.onFrame,u=Object.assign({},n);delete u.callback;var s=function(n,t,u,s){var c,f,l=o(t),p=l.prefix,_=l.suffix,v=l.strippedValue;n.__prefix=p,n.__suffix=_,n.strippedCurrent=v;var A,x,S=o(n.toValue).strippedValue;if(n.current=v,n.startValue=v,n.toValue=S,s&&s!==n){var h=o(s.current),V=h.prefix,R=h.suffix,T=h.strippedValue;s.current=T,s.__prefix=V,s.__suffix=R}(i(n,v,u,s),n.current=(null!=(c=n.__prefix)?c:'')+n.current+(null!=(f=n.__suffix)?f:''),s&&s!==n)&&(s.current=(null!=(A=s.__prefix)?A:'')+s.current+(null!=(x=s.__suffix)?x:''))},c=function(n,i){var o,u;n.current=n.strippedCurrent;var s=t(n,i);return n.strippedCurrent=n.current,n.current=(null!=(o=n.__prefix)?o:'')+n.current+(null!=(u=n.__suffix)?u:''),s},f=['R','G','B','A'],l=function(n,i,t,o){var s,c,l,p=[];(0,r(d[2]).isColor)(i)&&(c=(0,r(d[2]).toLinearSpace)((0,r(d[2]).convertToRGBA)(n.current)),s=(0,r(d[2]).toLinearSpace)((0,r(d[2]).convertToRGBA)(i)),n.toValue&&(l=(0,r(d[2]).toLinearSpace)((0,r(d[2]).convertToRGBA)(n.toValue)))),f.forEach(function(i,f){n[i]=Object.assign({},u),n[i].current=c[f],n[i].toValue=l?l[f]:void 0,n[i].onStart(n[i],s[f],t,o?o[i]:void 0),p.push(n[i].current)}),n.current=(0,r(d[2]).rgbaArrayToRGBAColor)((0,r(d[2]).toGammaSpace)(p))},p=function(n,i){var t=(0,r(d[2]).toLinearSpace)((0,r(d[2]).convertToRGBA)(n.current)),o=[],u=!0;return f.forEach(function(s,c){n[s].current=t[c],u&=n[s].onFrame(n[s],i),o.push(n[s].current)}),n.current=(0,r(d[2]).rgbaArrayToRGBAColor)((0,r(d[2]).toGammaSpace)(o)),u},_=function(n,i,t,o){i.forEach(function(i,s){n[s]=Object.assign({},u),n[s].current=i,n[s].toValue=n.toValue[s],n[s].onStart(n[s],i,t,o?o[s]:void 0)}),n.current=i},v=function(n,i){var t=!0;return n.current.forEach(function(o,u){t&=n[u].onFrame(n[u],i),n.current[u]=n[u].current}),t};n.onStart=function(n,t,o,u){return(0,r(d[2]).isColor)(t)?(l(n,t,o,u),void(n.onFrame=p)):Array.isArray(t)?(_(n,t,o,u),void(n.onFrame=v)):'string'==typeof t?(s(n,t,o,u),void(n.onFrame=c)):void i(n,t,o,u)}}};return n._closure={recognizePrefixSuffix:o,isColor:r(d[2]).isColor,toLinearSpace:r(d[2]).toLinearSpace,convertToRGBA:r(d[2]).convertToRGBA,rgbaArrayToRGBAColor:r(d[2]).rgbaArrayToRGBAColor,toGammaSpace:r(d[2]).toGammaSpace},n.asString="function decorateAnimation(animation){const{recognizePrefixSuffix,isColor,toLinearSpace,convertToRGBA,rgbaArrayToRGBAColor,toGammaSpace}=jsThis._closure;{if(animation.isHigherOrder){return;}const baseOnStart=animation.onStart;const baseOnFrame=animation.onFrame;const animationCopy=Object.assign({},animation);delete animationCopy.callback;const prefNumberSuffOnStart=function(animation,value,timestamp,previousAnimation){var _animation$__prefix,_animation$__suffix;const{prefix:prefix,suffix:suffix,strippedValue:strippedValue}=recognizePrefixSuffix(value);animation.__prefix=prefix;animation.__suffix=suffix;animation.strippedCurrent=strippedValue;const{strippedValue:strippedToValue}=recognizePrefixSuffix(animation.toValue);animation.current=strippedValue;animation.startValue=strippedValue;animation.toValue=strippedToValue;if(previousAnimation&&previousAnimation!==animation){const{prefix:paPrefix,suffix:paSuffix,strippedValue:paStrippedValue}=recognizePrefixSuffix(previousAnimation.current);previousAnimation.current=paStrippedValue;previousAnimation.__prefix=paPrefix;previousAnimation.__suffix=paSuffix;}baseOnStart(animation,strippedValue,timestamp,previousAnimation);animation.current=((_animation$__prefix=animation.__prefix)!==null&&_animation$__prefix!==void 0?_animation$__prefix:'')+animation.current+((_animation$__suffix=animation.__suffix)!==null&&_animation$__suffix!==void 0?_animation$__suffix:'');if(previousAnimation&&previousAnimation!==animation){var _previousAnimation$__,_previousAnimation$__2;previousAnimation.current=((_previousAnimation$__=previousAnimation.__prefix)!==null&&_previousAnimation$__!==void 0?_previousAnimation$__:'')+previousAnimation.current+((_previousAnimation$__2=previousAnimation.__suffix)!==null&&_previousAnimation$__2!==void 0?_previousAnimation$__2:'');}};const prefNumberSuffOnFrame=function(animation,timestamp){var _animation$__prefix2,_animation$__suffix2;animation.current=animation.strippedCurrent;const res=baseOnFrame(animation,timestamp);animation.strippedCurrent=animation.current;animation.current=((_animation$__prefix2=animation.__prefix)!==null&&_animation$__prefix2!==void 0?_animation$__prefix2:'')+animation.current+((_animation$__suffix2=animation.__suffix)!==null&&_animation$__suffix2!==void 0?_animation$__suffix2:'');return res;};const tab=['R','G','B','A'];const colorOnStart=function(animation,value,timestamp,previousAnimation){let RGBAValue;let RGBACurrent;let RGBAToValue;const res=[];if(isColor(value)){RGBACurrent=toLinearSpace(convertToRGBA(animation.current));RGBAValue=toLinearSpace(convertToRGBA(value));if(animation.toValue){RGBAToValue=toLinearSpace(convertToRGBA(animation.toValue));}}tab.forEach(function(i,index){animation[i]=Object.assign({},animationCopy);animation[i].current=RGBACurrent[index];animation[i].toValue=RGBAToValue?RGBAToValue[index]:undefined;animation[i].onStart(animation[i],RGBAValue[index],timestamp,previousAnimation?previousAnimation[i]:undefined);res.push(animation[i].current);});animation.current=rgbaArrayToRGBAColor(toGammaSpace(res));};const colorOnFrame=function(animation,timestamp){const RGBACurrent=toLinearSpace(convertToRGBA(animation.current));const res=[];let finished=true;tab.forEach(function(i,index){animation[i].current=RGBACurrent[index];finished&=animation[i].onFrame(animation[i],timestamp);res.push(animation[i].current);});animation.current=rgbaArrayToRGBAColor(toGammaSpace(res));return finished;};const arrayOnStart=function(animation,value,timestamp,previousAnimation){value.forEach(function(v,i){animation[i]=Object.assign({},animationCopy);animation[i].current=v;animation[i].toValue=animation.toValue[i];animation[i].onStart(animation[i],v,timestamp,previousAnimation?previousAnimation[i]:undefined);});animation.current=value;};const arrayOnFrame=function(animation,timestamp){let finished=true;animation.current.forEach(function(v,i){finished&=animation[i].onFrame(animation[i],timestamp);animation.current[i]=animation[i].current;});return finished;};animation.onStart=function(animation,value,timestamp,previousAnimation){if(isColor(value)){colorOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=colorOnFrame;return;}else if(Array.isArray(value)){arrayOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=arrayOnFrame;return;}else if(typeof value==='string'){prefNumberSuffOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=prefNumberSuffOnFrame;return;}baseOnStart(animation,value,timestamp,previousAnimation);};}}",n.__workletHash=7767808760058,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (66:0)",n})(),s=e.defineAnimation=(function(){var t=function(t,o){if(i)return t;var s=(function(){var n=function(){var n=o();return u(n),n};return n._closure={factory:o,decorateAnimation:u},n.asString="function _f(){const{factory,decorateAnimation}=jsThis._closure;{const animation=factory();decorateAnimation(animation);return animation;}}",n.__workletHash=2441595458132,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (267:17)",n})();return _WORKLET||!n.default.native?s():s};return t._closure={IN_STYLE_UPDATER:i,decorateAnimation:u,NativeReanimatedModule:{native:n.default.native}},t.asString="function defineAnimation(starting,factory){const{IN_STYLE_UPDATER,decorateAnimation,NativeReanimatedModule}=jsThis._closure;{if(IN_STYLE_UPDATER){return starting;}const create=function(){'worklet';const animation=factory();decorateAnimation(animation);return animation;};if(_WORKLET||!NativeReanimatedModule.native){return create();}return create;}}",t.__workletHash=4939784890886,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (260:7)",t})();e.cancelAnimation=(function(){var n=function(n){n.value=n.value};return n._closure={},n.asString="function cancelAnimation(sharedValue){sharedValue.value=sharedValue.value;}",n.__workletHash=0xdb1b4231136,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (281:7)",n})(),e.withStartValue=(function(){var n=function(n,i){return s(n,(function(){var t=function(){return _WORKLET||'function'!=typeof i||(i=i()),i.current=n,i};return t._closure={animation:i,startValue:n},t.asString="function _f(){const{animation,startValue}=jsThis._closure;{if(!_WORKLET&&typeof animation==='function'){animation=animation();}animation.current=startValue;return animation;}}",t.__workletHash=5374403234008,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (293:37)",t})())};return n._closure={defineAnimation:s},n.asString="function withStartValue(startValue,animation){const{defineAnimation}=jsThis._closure;{return defineAnimation(startValue,function(){'worklet';if(!_WORKLET&&typeof animation==='function'){animation=animation();}animation.current=startValue;return animation;});}}",n.__workletHash=5100017907325,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (288:7)",n})()},701,[3,662,699]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withTiming=void 0;var t;e.withTiming=((t=function(t,n,o){return(0,r(d[0]).defineAnimation)(t,(function(){var s=function(){var s={duration:300,easing:r(d[1]).Easing.inOut(r(d[1]).Easing.quad)};return n&&Object.keys(n).forEach(function(t){return s[t]=n[t]}),{type:'timing',onFrame:function(t,n){var o=t.toValue,u=t.startTime,c=t.startValue,l=n-u;if(l>=s.duration)return t.startTime=0,t.current=o,!0;var f=t.easing(l/s.duration);return t.current=c+(o-c)*f,!1},onStart:function(n,o,u,c){c&&'timing'===c.type&&c.toValue===t&&c.startTime?(n.startTime=c.startTime,n.startValue=c.startValue):(n.startTime=u,n.startValue=o),n.current=o,'object'==typeof s.easing?n.easing=s.easing.factory():n.easing=s.easing},progress:0,toValue:t,startValue:0,startTime:0,easing:function(){return 0},current:t,callback:o}};return s._closure={Easing:{inOut:r(d[1]).Easing.inOut,quad:r(d[1]).Easing.quad},userConfig:n,toValue:t,callback:o},s.asString="function _f(){const{Easing,userConfig,toValue,callback}=jsThis._closure;{const config={duration:300,easing:Easing.inOut(Easing.quad)};if(userConfig){Object.keys(userConfig).forEach(function(key){return config[key]=userConfig[key];});}function timing(animation,now){const{toValue:toValue,startTime:startTime,startValue:startValue}=animation;const runtime=now-startTime;if(runtime>=config.duration){animation.startTime=0;animation.current=toValue;return true;}const progress=animation.easing(runtime/config.duration);animation.current=startValue+(toValue-startValue)*progress;return false;}function onStart(animation,value,now,previousAnimation){if(previousAnimation&&previousAnimation.type==='timing'&&previousAnimation.toValue===toValue&&previousAnimation.startTime){animation.startTime=previousAnimation.startTime;animation.startValue=previousAnimation.startValue;}else{animation.startTime=now;animation.startValue=value;}animation.current=value;if(typeof config.easing==='object'){animation.easing=config.easing.factory();}else{animation.easing=config.easing;}}return{type:'timing',onFrame:timing,onStart:onStart,progress:0,toValue:toValue,startValue:0,startTime:0,easing:function(){return 0;},current:toValue,callback:callback};}}",s.__workletHash=7771814081277,s.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/timing.ts (38:51)",s})())})._closure={defineAnimation:r(d[0]).defineAnimation,Easing:{inOut:r(d[1]).Easing.inOut,quad:r(d[1]).Easing.quad}},t.asString="function withTiming(toValue,userConfig,callback){const{defineAnimation,Easing}=jsThis._closure;{return defineAnimation(toValue,function(){'worklet';const config={duration:300,easing:Easing.inOut(Easing.quad)};if(userConfig){Object.keys(userConfig).forEach(function(key){return config[key]=userConfig[key];});}function timing(animation,now){const{toValue:toValue,startTime:startTime,startValue:startValue}=animation;const runtime=now-startTime;if(runtime>=config.duration){animation.startTime=0;animation.current=toValue;return true;}const progress=animation.easing(runtime/config.duration);animation.current=startValue+(toValue-startValue)*progress;return false;}function onStart(animation,value,now,previousAnimation){if(previousAnimation&&previousAnimation.type==='timing'&&previousAnimation.toValue===toValue&&previousAnimation.startTime){animation.startTime=previousAnimation.startTime;animation.startValue=previousAnimation.startValue;}else{animation.startTime=now;animation.startValue=value;}animation.current=value;if(typeof config.easing==='object'){animation.easing=config.easing.factory();}else{animation.easing=config.easing;}}return{type:'timing',onFrame:timing,onStart:onStart,progress:0,toValue:toValue,startValue:0,startTime:0,easing:function(){return 0;},current:toValue,callback:callback};});}}",t.__workletHash=2875714024024,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/timing.ts (31:7)",t)},702,[701,703]); +__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Easing=void 0;var t,n=r(d[0])(r(d[1])),s={linear:((t=function(t){return t})._closure={},t.asString="function linear(t){return t;}",t.__workletHash=7988822508142,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (66:0)",t),ease:(function(){var t=function(t){return(0,r(d[2]).Bezier)(.42,0,1,1)(t)};return t._closure={Bezier:r(d[2]).Bezier},t.asString="function ease(t){const{Bezier}=jsThis._closure;{return Bezier(0.42,0,1,1)(t);}}",t.__workletHash=0xbdc195724f9,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (77:0)",t})(),quad:(function(){var t=function(t){return t*t};return t._closure={},t.asString="function quad(t){return t*t;}",t.__workletHash=8628631460172,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (88:0)",t})(),cubic:(function(){var t=function(t){return t*t*t};return t._closure={},t.asString="function cubic(t){return t*t*t;}",t.__workletHash=9374441307661,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (99:0)",t})(),poly:(function(){var t=function(t){return(function(){var n=function(n){return Math.pow(n,t)};return n._closure={n:t},n.asString="function _f(t){const{n}=jsThis._closure;{return Math.pow(t,n);}}",n.__workletHash=1121339919789,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (112:9)",n})()};return t._closure={},t.asString="function poly(n){return function(t){'worklet';return Math.pow(t,n);};}",t.__workletHash=0xf0e21d4d631,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (110:0)",t})(),sin:(function(){var t=function(t){return 1-Math.cos(t*Math.PI/2)};return t._closure={},t.asString="function sin(t){return 1-Math.cos(t*Math.PI/2);}",t.__workletHash=8621899987563,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (123:0)",t})(),circle:(function(){var t=function(t){return 1-Math.sqrt(1-t*t)};return t._closure={},t.asString="function circle(t){return 1-Math.sqrt(1-t*t);}",t.__workletHash=0xe74766c81e4,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (133:0)",t})(),exp:(function(){var t=function(t){return Math.pow(2,10*(t-1))};return t._closure={},t.asString="function exp(t){return Math.pow(2,10*(t-1));}",t.__workletHash=0xe77bf377b41,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (143:0)",t})(),elastic:(function(){var t=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)*Math.PI;return(function(){var n=function(n){return 1-Math.pow(Math.cos(n*Math.PI/2),3)*Math.cos(n*t)};return n._closure={p:t},n.asString="function _f(t){const{p}=jsThis._closure;{return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);}}",n.__workletHash=8897284077766,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (161:9)",n})()};return t._closure={},t.asString="function elastic(bounciness=1){const p=bounciness*Math.PI;return function(t){'worklet';return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);};}",t.__workletHash=0xe75c59c1497,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (158:0)",t})(),back:(function(){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1.70158;return(function(){var n=function(n){return n*n*((t+1)*n-t)};return n._closure={s:t},n.asString="function _f(t){const{s}=jsThis._closure;{return t*t*((s+1)*t-s);}}",n.__workletHash=9334724225624,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (177:9)",n})()};return t._closure={},t.asString="function back(s=1.70158){return function(t){'worklet';return t*t*((s+1)*t-s);};}",t.__workletHash=2360128598492,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (175:0)",t})(),bounce:(function(){var t=function(t){if(t<.36363636363636365)return 7.5625*t*t;if(t<.7272727272727273){var n=t-.5454545454545454;return 7.5625*n*n+.75}if(t<.9090909090909091){var s=t-.8181818181818182;return 7.5625*s*s+.9375}var i=t-.9545454545454546;return 7.5625*i*i+.984375};return t._closure={},t.asString="function bounce(t){if(t<1/2.75){return 7.5625*t*t;}if(t<2/2.75){const t2=t-1.5/2.75;return 7.5625*t2*t2+0.75;}if(t<2.5/2.75){const t2=t-2.25/2.75;return 7.5625*t2*t2+0.9375;}const t2=t-2.625/2.75;return 7.5625*t2*t2+0.984375;}",t.__workletHash=5721637210615,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (188:0)",t})(),bezier:(function(){var t=function(t,n,s,i){return{factory:(function(){var o=function(){return(0,r(d[2]).Bezier)(t,n,s,i)};return o._closure={Bezier:r(d[2]).Bezier,x1:t,y1:n,x2:s,y2:i},o.asString="function _f(){const{Bezier,x1,y1,x2,y2}=jsThis._closure;{return Bezier(x1,y1,x2,y2);}}",o.__workletHash=4879686787739,o.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (223:13)",o})()}};return t._closure={Bezier:r(d[2]).Bezier},t.asString="function bezier(x1,y1,x2,y2){const{Bezier}=jsThis._closure;{return{factory:function(){'worklet';return Bezier(x1,y1,x2,y2);}};}}",t.__workletHash=853527302262,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (215:0)",t})(),bezierFn:(function(){var t=function(t,n,s,i){return(0,r(d[2]).Bezier)(t,n,s,i)};return t._closure={Bezier:r(d[2]).Bezier},t.asString="function bezierFn(x1,y1,x2,y2){const{Bezier}=jsThis._closure;{return Bezier(x1,y1,x2,y2);}}",t.__workletHash=0xdcfbb8beb25,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (230:0)",t})(),in:(function(){var t=function(t){return t};return t._closure={},t.asString="function in_(easing){return easing;}",t.__workletHash=1837493474379,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (243:0)",t})(),out:(function(){var t=function(t){return(function(){var n=function(n){return 1-t(1-n)};return n._closure={easing:t},n.asString="function _f(t){const{easing}=jsThis._closure;{return 1-easing(1-t);}}",n.__workletHash=5726884014519,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (253:9)",n})()};return t._closure={},t.asString="function out(easing){return function(t){'worklet';return 1-easing(1-t);};}",t.__workletHash=7718549646703,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (251:0)",t})(),inOut:(function(){var t=function(t){return(function(){var n=function(n){return n<.5?t(2*n)/2:1-t(2*(1-n))/2};return n._closure={easing:t},n.asString="function _f(t){const{easing}=jsThis._closure;{if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;}}",n.__workletHash=2325007799982,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (266:9)",n})()};return t._closure={},t.asString="function inOut(easing){return function(t){'worklet';if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;};}",t.__workletHash=7048715165105,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (264:0)",t})()};function i(t,s,o){var c,u=((c=function(){if(arguments&&!_WORKLET)for(var c=0;c0&&void 0!==arguments[0]?arguments[0]:1)*Math.PI;return function(n){return(0,r(d[4]).sub)(1,(0,r(d[4]).multiply)((0,r(d[4]).pow)((0,r(d[4]).cos)((0,r(d[4]).multiply)(n,Math.PI,.5)),3),(0,r(d[4]).cos)((0,r(d[4]).multiply)(n,u))))}}},{key:"back",value:function(u){return void 0===u&&(u=1.70158),function(n){return(0,r(d[4]).multiply)(n,n,(0,r(d[4]).sub)((0,r(d[4]).multiply)((0,r(d[4]).add)(u,1),n),u))}}},{key:"bounce",value:function(u){var n=function(u){return(0,r(d[4]).multiply)(7.5625,u,u)};return(0,r(d[4]).cond)((0,r(d[4]).lessThan)(u,.36363636363636365),n(u),(0,r(d[4]).cond)((0,r(d[4]).lessThan)(u,.7272727272727273),(0,r(d[4]).add)(.75,n((0,r(d[4]).sub)(u,.5454545454545454))),(0,r(d[4]).cond)((0,r(d[4]).lessThan)(u,.9057971014492754),(0,r(d[4]).add)(.9375,n((0,r(d[4]).sub)(u,.8181818181818182))),(0,r(d[4]).add)(.984375,n((0,r(d[4]).sub)(u,.9545454545454546))))))}},{key:"bezier",value:function(u,n,l,o){return function(c){return new t.default(c,u,n,l,o)}}},{key:"in",value:function(u){return u}},{key:"out",value:function(u){return function(n){return(0,r(d[4]).sub)(1,u((0,r(d[4]).sub)(1,n)))}}},{key:"inOut",value:function(u){return function(n){return(0,r(d[4]).cond)((0,r(d[4]).lessThan)(n,.5),(0,r(d[4]).divide)(u((0,r(d[4]).multiply)(n,2)),2),(0,r(d[4]).sub)(1,(0,r(d[4]).divide)(u((0,r(d[4]).multiply)((0,r(d[4]).sub)(1,n),2)),2)))}}}])})()},704,[3,6,7,705,706]); __d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),f=r(d[0])(r(d[6])),i=r(d[0])(r(d[7]));function c(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(c=function(){return!!t})()}var l=4,v=.001,s=1e-7,y=10,_=11,h=.1,p='function'==typeof Float32Array;function b(t,e){return 1-3*e+3*t}function z(t,e){return 3*e-6*t}function A(t){return 3*t}function B(t,e,n){return((b(e,n)*t+z(e,n))*t+A(e))*t}function w(t,e,n){return 3*b(e,n)*t*t+2*z(e,n)*t+A(e)}function R(t,e,n,u,o){var f=0,i=0,c=0;do{(f=B(i=e+(n-e)/2,u,o)-t)>0?n=i:e=i}while(Math.abs(f)>s&&++c=v?k(e,i,t,n):0===c?i:R(e,u,u+h,t,n)}return function(o){return t===e&&n===u?o:0===o?0:1===o?1:B(i(o),e,u)}}_e.default=(function(l){function v(e,o,l,s,y){var _,h,p,b;return(0,t.default)(this,v),(0,i.default)(e instanceof f.default,"Reanimated: Bezier node argument should be of type AnimatedNode but got "+e),h=this,p=v,b=[{type:'bezier',mX1:o,mY1:l,mX2:s,mY2:y,input:e},[e]],p=(0,u.default)(p),(_=(0,n.default)(h,c()?Reflect.construct(p,b||[],(0,u.default)(h).constructor):p.apply(h,b)))._value=e,_._bezier=F(o,l,s,y),_}return(0,o.default)(v,l),(0,e.default)(v,[{key:"toString",value:function(){return"AnimatedBezier, id: "+this.__nodeID}},{key:"__onEvaluate",value:function(){return this._bezier((0,r(d[8]).val)(this._value))}}])})(f.default)},705,[3,6,7,11,13,14,677,31,681]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t={cond:!0,set:!0,startClock:!0,stopClock:!0,clockRunning:!0,debug:!0,call:!0,event:!0,always:!0,concat:!0,block:!0,adapt:!0,proc:!0};Object.defineProperty(e,"adapt",{enumerable:!0,get:function(){return r(d[0]).adapt}}),Object.defineProperty(e,"always",{enumerable:!0,get:function(){return r(d[1]).createAnimatedAlways}}),Object.defineProperty(e,"block",{enumerable:!0,get:function(){return r(d[0]).createAnimatedBlock}}),Object.defineProperty(e,"call",{enumerable:!0,get:function(){return r(d[2]).createAnimatedCall}}),Object.defineProperty(e,"clockRunning",{enumerable:!0,get:function(){return r(d[3]).createAnimatedClockTest}}),Object.defineProperty(e,"concat",{enumerable:!0,get:function(){return r(d[4]).createAnimatedConcat}}),Object.defineProperty(e,"cond",{enumerable:!0,get:function(){return r(d[5]).createAnimatedCond}}),Object.defineProperty(e,"debug",{enumerable:!0,get:function(){return r(d[6]).createAnimatedDebug}}),Object.defineProperty(e,"event",{enumerable:!0,get:function(){return r(d[7]).createAnimatedEvent}}),Object.defineProperty(e,"proc",{enumerable:!0,get:function(){return r(d[8]).createAnimatedFunction}}),Object.defineProperty(e,"set",{enumerable:!0,get:function(){return r(d[9]).createAnimatedSet}}),Object.defineProperty(e,"startClock",{enumerable:!0,get:function(){return r(d[10]).createAnimatedStartClock}}),Object.defineProperty(e,"stopClock",{enumerable:!0,get:function(){return r(d[11]).createAnimatedStopClock}}),Object.keys(r(d[12])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||n in e&&e[n]===r(d[12])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[12])[n]}}))})},706,[686,693,691,707,708,689,709,676,680,692,710,711,687]); @@ -715,20 +715,20 @@ __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_ __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.createAnimatedDebug=function(e,t){return t};r(d[0])(r(d[1]));var e=r(d[0])(r(d[2])),t=r(d[0])(r(d[3])),n=r(d[0])(r(d[4])),u=r(d[0])(r(d[5])),o=r(d[0])(r(d[6])),l=r(d[0])(r(d[7])),f=(r(d[8]),r(d[0])(r(d[9])));function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(c=function(){return!!e})()}!(function(s){function v(t,o){var s,_,b,y;return(0,e.default)(this,v),(0,l.default)('string'==typeof t,"Reanimated: Animated.debug node first argument should be of type string but got "+t),(0,l.default)(o instanceof f.default,"Reanimated: Animated.debug node second argument should be of type AnimatedNode but got "+o),_=this,b=v,y=[{type:'debug',message:t,value:o},[o]],b=(0,u.default)(b),(s=(0,n.default)(_,c()?Reflect.construct(b,y||[],(0,u.default)(_).constructor):b.apply(_,y)))._message=t,s._value=o,s}(0,o.default)(v,s),(0,t.default)(v,[{key:"toString",value:function(){return"AnimatedDebug, id: "+this.__nodeID}},{key:"__onEvaluate",value:function(){return(0,r(d[10]).val)(this._value)}}])})(f.default)},709,[3,33,6,7,11,13,14,31,18,677,681]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.createAnimatedStartClock=function(t){return new k(t)};var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),u=r(d[0])(r(d[5])),c=r(d[0])(r(d[6])),l=r(d[0])(r(d[7])),f=r(d[0])(r(d[8]));function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}var k=(function(c){function k(e){var u,c,_,v;return(0,t.default)(this,k),(0,f.default)(e instanceof l.default||e instanceof r(d[9]).AnimatedParam,"Reanimated: Animated.startClock argument should be of type AnimatedClock but got "+e),c=this,_=k,v=[{type:'clockStart',clock:e}],_=(0,o.default)(_),(u=(0,n.default)(c,s()?Reflect.construct(_,v||[],(0,o.default)(c).constructor):_.apply(c,v)))._clockNode=e,u}return(0,u.default)(k,c),(0,e.default)(k,[{key:"toString",value:function(){return"AnimatedStartClock, id: "+this.__nodeID}},{key:"__onEvaluate",value:function(){return this._clockNode.start(),0}}])})(c.default)},710,[3,6,7,11,13,14,677,683,31,682]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.createAnimatedStopClock=function(t){return new p(t)};var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),u=r(d[0])(r(d[5])),c=r(d[0])(r(d[6])),l=r(d[0])(r(d[7])),f=r(d[0])(r(d[8]));function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}var p=(function(c){function p(e){var u,c,k,_;return(0,t.default)(this,p),(0,f.default)(e instanceof l.default||e instanceof r(d[9]).AnimatedParam,"Reanimated: Animated.stopClock argument should be of type AnimatedClock but got "+e),c=this,k=p,_=[{type:'clockStop',clock:e}],k=(0,o.default)(k),(u=(0,n.default)(c,s()?Reflect.construct(k,_||[],(0,o.default)(c).constructor):k.apply(c,_)))._clockNode=e,u}return(0,u.default)(p,c),(0,e.default)(p,[{key:"toString",value:function(){return"AnimatedStopClock, id: "+this.__nodeID}},{key:"__onEvaluate",value:function(){return this._clockNode.stop(),0}}])})(c.default)},711,[3,6,7,11,13,14,677,683,31,682]); -__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Bezier=void 0;var t;e.Bezier=((t=function(t,n,i,s){var u=(function(){var t=function(t,n){return 1-3*n+3*t};return t._closure={},t.asString="function A(aA1,aA2){return 1.0-3.0*aA2+3.0*aA1;}",t.__workletHash=7696928702327,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (25:2)",t})(),o=(function(){var t=function(t,n){return 3*n-6*t};return t._closure={},t.asString="function B(aA1,aA2){return 3.0*aA2-6.0*aA1;}",t.__workletHash=3169786778773,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (29:2)",t})(),l=(function(){var t=function(t){return 3*t};return t._closure={},t.asString="function C(aA1){return 3.0*aA1;}",t.__workletHash=6399610653367,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (33:2)",t})(),c=(function(){var t=function(t,n,i){return((u(n,i)*t+o(n,i))*t+l(n))*t};return t._closure={A:u,B:o,C:l},t.asString="function calcBezier(aT,aA1,aA2){const{A,B,C}=jsThis._closure;{return((A(aA1,aA2)*aT+B(aA1,aA2))*aT+C(aA1))*aT;}}",t.__workletHash=3153137150968,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (39:2)",t})(),S=(function(){var t=function(t,n,i){return 3*u(n,i)*t*t+2*o(n,i)*t+l(n)};return t._closure={A:u,B:o,C:l},t.asString="function getSlope(aT,aA1,aA2){const{A,B,C}=jsThis._closure;{return 3.0*A(aA1,aA2)*aT*aT+2.0*B(aA1,aA2)*aT+C(aA1);}}",t.__workletHash=0xf81d0c1f684,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (45:2)",t})(),_=(function(){var t=function(t,n,i,s,u){var o,l,S=0;do{(o=c(l=n+(i-n)/2,s,u)-t)>0?i=l:n=l}while(Math.abs(o)>1e-7&&++S<10);return l};return t._closure={SUBDIVISION_PRECISION:1e-7,SUBDIVISION_MAX_ITERATIONS:10,calcBezier:c},t.asString="function binarySubdivide(aX,aA,aB,mX1,mX2){const{SUBDIVISION_PRECISION,SUBDIVISION_MAX_ITERATIONS,calcBezier}=jsThis._closure;{let currentX;let currentT;let i=0;do{currentT=aA+(aB-aA)/2.0;currentX=calcBezier(currentT,mX1,mX2)-aX;if(currentX>0.0){aB=currentT;}else{aA=currentT;}}while(Math.abs(currentX)>SUBDIVISION_PRECISION&&++i=0&&t<=1&&i>=0&&i<=1))throw new Error('bezier x values must be in [0, 1] range');if(t===n&&i===s)return T;for(var X=new Array(11),A=0;A<11;++A)X[A]=c(.1*A,t,i);var f=(function(){var n=function(n){for(var s=0,u=1;10!==u&&X[u]<=n;++u)s+=.1;var o=s+.1*((n-X[--u])/(X[u+1]-X[u])),l=S(o,t,i);return l>=.001?p(n,o,t,i):0===l?o:_(n,s,s+.1,t,i)};return n._closure={kSplineTableSize:11,sampleValues:X,kSampleStepSize:.1,getSlope:S,mX1:t,mX2:i,NEWTON_MIN_SLOPE:.001,newtonRaphsonIterate:p,binarySubdivide:_},n.asString="function getTForX(aX){const{kSplineTableSize,sampleValues,kSampleStepSize,getSlope,mX1,mX2,NEWTON_MIN_SLOPE,newtonRaphsonIterate,binarySubdivide}=jsThis._closure;{let intervalStart=0.0;let currentSample=1;const lastSample=kSplineTableSize-1;for(;currentSample!==lastSample&&sampleValues[currentSample]<=aX;++currentSample){intervalStart+=kSampleStepSize;}--currentSample;const dist=(aX-sampleValues[currentSample])/(sampleValues[currentSample+1]-sampleValues[currentSample]);const guessForT=intervalStart+dist*kSampleStepSize;const initialSlope=getSlope(guessForT,mX1,mX2);if(initialSlope>=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}}}",n.__workletHash=3164695138880,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (121:2)",n})();return(function(){var u=function(u){return t===n&&i===s?u:0===u?0:1===u?1:c(f(u),n,s)};return u._closure={mX1:t,mY1:n,mX2:i,mY2:s,calcBezier:c,getTForX:f},u.asString="function BezierEasing(x){const{mX1,mY1,mX2,mY2,calcBezier,getTForX}=jsThis._closure;{if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);}}",u.__workletHash=8676971518933,u.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (158:9)",u})()})._closure={},t.asString="function Bezier(mX1,mY1,mX2,mY2){const NEWTON_ITERATIONS=4;const NEWTON_MIN_SLOPE=0.001;const SUBDIVISION_PRECISION=0.0000001;const SUBDIVISION_MAX_ITERATIONS=10;const kSplineTableSize=11;const kSampleStepSize=1.0/(kSplineTableSize-1.0);function A(aA1,aA2){'worklet';return 1.0-3.0*aA2+3.0*aA1;}function B(aA1,aA2){'worklet';return 3.0*aA2-6.0*aA1;}function C(aA1){'worklet';return 3.0*aA1;}function calcBezier(aT,aA1,aA2){'worklet';return((A(aA1,aA2)*aT+B(aA1,aA2))*aT+C(aA1))*aT;}function getSlope(aT,aA1,aA2){'worklet';return 3.0*A(aA1,aA2)*aT*aT+2.0*B(aA1,aA2)*aT+C(aA1);}function binarySubdivide(aX,aA,aB,mX1,mX2){'worklet';let currentX;let currentT;let i=0;do{currentT=aA+(aB-aA)/2.0;currentX=calcBezier(currentT,mX1,mX2)-aX;if(currentX>0.0){aB=currentT;}else{aA=currentT;}}while(Math.abs(currentX)>SUBDIVISION_PRECISION&&++i=0&&mX1<=1&&mX2>=0&&mX2<=1)){throw new Error('bezier x values must be in [0, 1] range');}if(mX1===mY1&&mX2===mY2){return LinearEasing;}const sampleValues=new Array(kSplineTableSize);for(let i=0;i=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}}return function BezierEasing(x){'worklet';if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);};}",t.__workletHash=7389715548968,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (9:7)",t)},712,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultLayout=e.DefaultExiting=e.DefaultEntering=void 0;var t;e.DefaultLayout=((t=function(t){return{initialValues:{originX:t.targetOriginX,originY:t.targetOriginY,width:t.targetWidth,height:t.targetHeight},animations:{}}})._closure={},t.asString="function _f(values){return{initialValues:{originX:values.targetOriginX,originY:values.targetOriginY,width:values.targetWidth,height:values.targetHeight},animations:{}};}",t.__workletHash=0x9abcee40437,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Default.ts (8:54)",t),e.DefaultEntering=(function(){var t=function(t){return{initialValues:{originX:t.targetOriginX,originY:t.targetOriginY,width:t.targetWidth,height:t.targetHeight},animations:{}}};return t._closure={},t.asString="function _f(values){return{initialValues:{originX:values.targetOriginX,originY:values.targetOriginY,width:values.targetWidth,height:values.targetHeight},animations:{}};}",t.__workletHash=0x9abcee40437,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Default.ts (21:79)",t})(),e.DefaultExiting=(function(){var t=function(t){return{initialValues:{originX:t.currentOriginX,originY:t.currentOriginY,width:t.currentWidth,height:t.currentHeight},animations:{}}};return t._closure={},t.asString="function _f(values){return{initialValues:{originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight},animations:{}};}",t.__workletHash=0xd1d4378e3f7,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Default.ts (36:77)",t})()},713,[]); +__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Bezier=void 0;var t;e.Bezier=((t=function(t,n,i,s){var u=(function(){var t=function(t,n){return 1-3*n+3*t};return t._closure={},t.asString="function A(aA1,aA2){return 1.0-3.0*aA2+3.0*aA1;}",t.__workletHash=7696928702327,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (25:2)",t})(),o=(function(){var t=function(t,n){return 3*n-6*t};return t._closure={},t.asString="function B(aA1,aA2){return 3.0*aA2-6.0*aA1;}",t.__workletHash=3169786778773,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (29:2)",t})(),l=(function(){var t=function(t){return 3*t};return t._closure={},t.asString="function C(aA1){return 3.0*aA1;}",t.__workletHash=6399610653367,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (33:2)",t})(),c=(function(){var t=function(t,n,i){return((u(n,i)*t+o(n,i))*t+l(n))*t};return t._closure={A:u,B:o,C:l},t.asString="function calcBezier(aT,aA1,aA2){const{A,B,C}=jsThis._closure;{return((A(aA1,aA2)*aT+B(aA1,aA2))*aT+C(aA1))*aT;}}",t.__workletHash=3153137150968,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (39:2)",t})(),S=(function(){var t=function(t,n,i){return 3*u(n,i)*t*t+2*o(n,i)*t+l(n)};return t._closure={A:u,B:o,C:l},t.asString="function getSlope(aT,aA1,aA2){const{A,B,C}=jsThis._closure;{return 3.0*A(aA1,aA2)*aT*aT+2.0*B(aA1,aA2)*aT+C(aA1);}}",t.__workletHash=0xf81d0c1f684,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (45:2)",t})(),_=(function(){var t=function(t,n,i,s,u){var o,l,S=0;do{(o=c(l=n+(i-n)/2,s,u)-t)>0?i=l:n=l}while(Math.abs(o)>1e-7&&++S<10);return l};return t._closure={SUBDIVISION_PRECISION:1e-7,SUBDIVISION_MAX_ITERATIONS:10,calcBezier:c},t.asString="function binarySubdivide(aX,aA,aB,mX1,mX2){const{SUBDIVISION_PRECISION,SUBDIVISION_MAX_ITERATIONS,calcBezier}=jsThis._closure;{let currentX;let currentT;let i=0;do{currentT=aA+(aB-aA)/2.0;currentX=calcBezier(currentT,mX1,mX2)-aX;if(currentX>0.0){aB=currentT;}else{aA=currentT;}}while(Math.abs(currentX)>SUBDIVISION_PRECISION&&++i=0&&t<=1&&i>=0&&i<=1))throw new Error('bezier x values must be in [0, 1] range');if(t===n&&i===s)return T;for(var X=new Array(11),A=0;A<11;++A)X[A]=c(.1*A,t,i);var f=(function(){var n=function(n){for(var s=0,u=1;10!==u&&X[u]<=n;++u)s+=.1;var o=s+.1*((n-X[--u])/(X[u+1]-X[u])),l=S(o,t,i);return l>=.001?p(n,o,t,i):0===l?o:_(n,s,s+.1,t,i)};return n._closure={kSplineTableSize:11,sampleValues:X,kSampleStepSize:.1,getSlope:S,mX1:t,mX2:i,NEWTON_MIN_SLOPE:.001,newtonRaphsonIterate:p,binarySubdivide:_},n.asString="function getTForX(aX){const{kSplineTableSize,sampleValues,kSampleStepSize,getSlope,mX1,mX2,NEWTON_MIN_SLOPE,newtonRaphsonIterate,binarySubdivide}=jsThis._closure;{let intervalStart=0.0;let currentSample=1;const lastSample=kSplineTableSize-1;for(;currentSample!==lastSample&&sampleValues[currentSample]<=aX;++currentSample){intervalStart+=kSampleStepSize;}--currentSample;const dist=(aX-sampleValues[currentSample])/(sampleValues[currentSample+1]-sampleValues[currentSample]);const guessForT=intervalStart+dist*kSampleStepSize;const initialSlope=getSlope(guessForT,mX1,mX2);if(initialSlope>=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}}}",n.__workletHash=3164695138880,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (121:2)",n})();return(function(){var u=function(u){return t===n&&i===s?u:0===u?0:1===u?1:c(f(u),n,s)};return u._closure={mX1:t,mY1:n,mX2:i,mY2:s,calcBezier:c,getTForX:f},u.asString="function BezierEasing(x){const{mX1,mY1,mX2,mY2,calcBezier,getTForX}=jsThis._closure;{if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);}}",u.__workletHash=8676971518933,u.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (158:9)",u})()})._closure={},t.asString="function Bezier(mX1,mY1,mX2,mY2){const NEWTON_ITERATIONS=4;const NEWTON_MIN_SLOPE=0.001;const SUBDIVISION_PRECISION=0.0000001;const SUBDIVISION_MAX_ITERATIONS=10;const kSplineTableSize=11;const kSampleStepSize=1.0/(kSplineTableSize-1.0);function A(aA1,aA2){'worklet';return 1.0-3.0*aA2+3.0*aA1;}function B(aA1,aA2){'worklet';return 3.0*aA2-6.0*aA1;}function C(aA1){'worklet';return 3.0*aA1;}function calcBezier(aT,aA1,aA2){'worklet';return((A(aA1,aA2)*aT+B(aA1,aA2))*aT+C(aA1))*aT;}function getSlope(aT,aA1,aA2){'worklet';return 3.0*A(aA1,aA2)*aT*aT+2.0*B(aA1,aA2)*aT+C(aA1);}function binarySubdivide(aX,aA,aB,mX1,mX2){'worklet';let currentX;let currentT;let i=0;do{currentT=aA+(aB-aA)/2.0;currentX=calcBezier(currentT,mX1,mX2)-aX;if(currentX>0.0){aB=currentT;}else{aA=currentT;}}while(Math.abs(currentX)>SUBDIVISION_PRECISION&&++i=0&&mX1<=1&&mX2>=0&&mX2<=1)){throw new Error('bezier x values must be in [0, 1] range');}if(mX1===mY1&&mX2===mY2){return LinearEasing;}const sampleValues=new Array(kSplineTableSize);for(let i=0;i=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}}return function BezierEasing(x){'worklet';if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);};}",t.__workletHash=7389715548968,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (9:7)",t)},712,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultLayout=e.DefaultExiting=e.DefaultEntering=void 0;var t;e.DefaultLayout=((t=function(t){return{initialValues:{originX:t.targetOriginX,originY:t.targetOriginY,width:t.targetWidth,height:t.targetHeight},animations:{}}})._closure={},t.asString="function _f(values){return{initialValues:{originX:values.targetOriginX,originY:values.targetOriginY,width:values.targetWidth,height:values.targetHeight},animations:{}};}",t.__workletHash=0x9abcee40437,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Default.ts (8:54)",t),e.DefaultEntering=(function(){var t=function(t){return{initialValues:{originX:t.targetOriginX,originY:t.targetOriginY,width:t.targetWidth,height:t.targetHeight},animations:{}}};return t._closure={},t.asString="function _f(values){return{initialValues:{originX:values.targetOriginX,originY:values.targetOriginY,width:values.targetWidth,height:values.targetHeight},animations:{}};}",t.__workletHash=0x9abcee40437,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Default.ts (21:79)",t})(),e.DefaultExiting=(function(){var t=function(t){return{initialValues:{originX:t.currentOriginX,originY:t.currentOriginY,width:t.currentWidth,height:t.currentHeight},animations:{}}};return t._closure={},t.asString="function _f(values){return{initialValues:{originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight},animations:{}};}",t.__workletHash=0xd1d4378e3f7,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Default.ts (36:77)",t})()},713,[]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.createOrReusePropsNode=function(e,t,n){if(e.style){var o=(0,r(d[12]).createOrReuseStyleNode)(e.style,n&&n._props.style);o&&(e=Object.assign({},e,{style:o}))}var u=p(e);if(void 0===u)return;if(n&&(0,v.default)(u,n._config))return n;return new y(e,u,t)};var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),u=r(d[0])(r(d[5])),l=r(d[0])(r(d[6])),c=r(d[7]),f=r(d[0])(r(d[8])),s=r(d[0])(r(d[9])),_=r(d[0])(r(d[10])),v=r(d[0])(r(d[11]));function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}function p(e){var t;for(var n in e){var o=e[n];o instanceof f.default&&!(o instanceof s.default)&&(void 0===t&&(t={}),t[n]=o.__nodeID)}return t}var y=(function(v){function p(t,o,l){var c,f,_,v;return(0,e.default)(this,p),f=this,_=p,v=[{type:'props',props:o},Object.values(t).filter(function(e){return!(e instanceof s.default)})],_=(0,u.default)(_),(c=(0,n.default)(f,h()?Reflect.construct(_,v||[],(0,u.default)(f).constructor):_.apply(f,v)))._config=o,c._props=t,c._callback=l,c.__attach(),c}return(0,l.default)(p,v),(0,t.default)(p,[{key:"toString",value:function(){return"AnimatedProps, id: "+this.__nodeID}},{key:"__onEvaluate",value:function(){var e={};for(var t in this._props){var n=this._props[t];n instanceof f.default&&(e[t]=n.__getValue())}return e}},{key:"__detach",value:function(){var e=(0,c.findNodeHandle)(this._animatedView);(0,_.default)(null!=e,'Unable to locate attached view in the native tree'),this._disconnectAnimatedView(e),(0,o.default)((0,u.default)(p.prototype),"__detach",this).call(this)}},{key:"update",value:function(){this._callback(),this._animatedView&&(0,r(d[13]).val)(this)}},{key:"setNativeView",value:function(e){if(this._animatedView!==e){this._animatedView=e;var t=(0,c.findNodeHandle)(this._animatedView);(0,_.default)(null!=t,'Unable to locate attached view in the native tree'),this._connectAnimatedView(t)}}}])})(f.default)},714,[3,6,7,11,79,13,14,18,677,676,31,715,716,681]); __d(function(g,r,i,a,m,_e,d){var t='__lodash_hash_undefined__',e=1,n=2,o=9007199254740991,u='[object Arguments]',c='[object Array]',s='[object AsyncFunction]',f='[object Boolean]',l='[object Date]',_='[object Error]',h='[object Function]',p='[object GeneratorFunction]',v='[object Map]',y='[object Number]',b='[object Null]',j='[object Object]',w='[object Proxy]',z='[object RegExp]',A='[object Set]',O='[object String]',k='[object Symbol]',S='[object Undefined]',P='[object ArrayBuffer]',E='[object DataView]',F=/^\[object .+?Constructor\]$/,$=/^(?:0|[1-9]\d*)$/,x={};x['[object Float32Array]']=x['[object Float64Array]']=x['[object Int8Array]']=x['[object Int16Array]']=x['[object Int32Array]']=x['[object Uint8Array]']=x['[object Uint8ClampedArray]']=x['[object Uint16Array]']=x['[object Uint32Array]']=!0,x[u]=x[c]=x[P]=x[f]=x[E]=x[l]=x[_]=x[h]=x[v]=x[y]=x[j]=x[z]=x[A]=x[O]=x["[object WeakMap]"]=!1;var M='object'==typeof g&&g&&g.Object===Object&&g,U='object'==typeof self&&self&&self.Object===Object&&self,B=M||U||Function('return this')(),I='object'==typeof _e&&_e&&!_e.nodeType&&_e,L=I&&'object'==typeof m&&m&&!m.nodeType&&m,T=L&&L.exports===I,W=T&&M.process,D=(function(){try{return W&&W.binding&&W.binding('util')}catch(t){}})(),R=D&&D.isTypedArray;function C(t,e){for(var n=-1,o=null==t?0:t.length,u=0,c=[];++n_))return!1;var p=f.get(t);if(p&&f.get(o))return p==o;var v=-1,y=!0,b=u&n?new xt:void 0;for(f.set(t,o),f.set(o,t);++v<_;){var j=t[v],w=o[v];if(c)var z=l?c(w,j,v,o,t,f):c(j,w,v,t,o,f);if(void 0!==z){if(z)continue;y=!1;break}if(b){if(!V(o,function(t,e){if(n=e,!b.has(n)&&(j===t||s(j,t,u,c,f)))return b.push(e);var n})){y=!1;break}}else if(j!==w&&!s(j,w,u,c,f)){y=!1;break}}return f.delete(t),f.delete(o),y}function Vt(t,o,u,c,s,h,p){switch(u){case E:if(t.byteLength!=o.byteLength||t.byteOffset!=o.byteOffset)return!1;t=t.buffer,o=o.buffer;case P:return!(t.byteLength!=o.byteLength||!h(new st(t),new st(o)));case f:case l:case y:return ee(+t,+o);case _:return t.name==o.name&&t.message==o.message;case z:case O:return t==o+'';case v:var b=H;case A:var j=c&e;if(b||(b=J),t.size!=o.size&&!j)return!1;var w=p.get(t);if(w)return w==o;c|=n,p.set(t,o);var S=Nt(b(t),b(o),c,s,h,p);return p.delete(t),S;case k:if(Pt)return Pt.call(t)==Pt.call(o)}return!1}function Gt(t,n,o,u,c,s){var f=o&e,l=qt(t),_=l.length;if(_!=qt(n).length&&!f)return!1;for(var h=_;h--;){var p=l[h];if(!(f?p in n:nt.call(n,p)))return!1}var v=s.get(t);if(v&&s.get(n))return v==n;var y=!0;s.set(t,n),s.set(n,t);for(var b=f;++h<_;){var j=t[p=l[h]],w=n[p];if(u)var z=f?u(w,j,p,n,t,s):u(j,w,p,t,n,s);if(!(void 0===z?j===w||c(j,w,o,u,s):z)){y=!1;break}b||(b='constructor'==p)}if(y&&!b){var A=t.constructor,O=n.constructor;A!=O&&'constructor'in t&&'constructor'in n&&!('function'==typeof A&&A instanceof A&&'function'==typeof O&&O instanceof O)&&(y=!1)}return s.delete(t),s.delete(n),y}function qt(t){return It(t,fe,Qt)}function Ht(t,e){var n,o,u=t.__data__;return('string'==(o=typeof(n=e))||'number'==o||'symbol'==o||'boolean'==o?'__proto__'!==n:null===n)?u['string'==typeof e?'string':'hash']:u.map}function Jt(t,e){var n=q(t,e);return Rt(n)?n:void 0}function Kt(t){var e=nt.call(t,_t),n=t[_t];try{t[_t]=void 0}catch(t){}var o=it.call(t);return e?t[_t]=n:delete t[_t],o}Et.prototype.clear=function(){this.__data__=wt?wt(null):{},this.size=0},Et.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Et.prototype.get=function(e){var n=this.__data__;if(wt){var o=n[e];return o===t?void 0:o}return nt.call(n,e)?n[e]:void 0},Et.prototype.has=function(t){var e=this.__data__;return wt?void 0!==e[t]:nt.call(e,t)},Et.prototype.set=function(e,n){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=wt&&void 0===n?t:n,this},Ft.prototype.clear=function(){this.__data__=[],this.size=0},Ft.prototype.delete=function(t){var e=this.__data__,n=Bt(e,t);return!(n<0||(n==e.length-1?e.pop():lt.call(e,n,1),--this.size,0))},Ft.prototype.get=function(t){var e=this.__data__,n=Bt(e,t);return n<0?void 0:e[n][1]},Ft.prototype.has=function(t){return Bt(this.__data__,t)>-1},Ft.prototype.set=function(t,e){var n=this.__data__,o=Bt(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this},$t.prototype.clear=function(){this.size=0,this.__data__={hash:new Et,map:new(bt||Ft),string:new Et}},$t.prototype.delete=function(t){var e=Ht(this,t).delete(t);return this.size-=e?1:0,e},$t.prototype.get=function(t){return Ht(this,t).get(t)},$t.prototype.has=function(t){return Ht(this,t).has(t)},$t.prototype.set=function(t,e){var n=Ht(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this},xt.prototype.add=xt.prototype.push=function(e){return this.__data__.set(e,t),this},xt.prototype.has=function(t){return this.__data__.has(t)},Mt.prototype.clear=function(){this.__data__=new Ft,this.size=0},Mt.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Mt.prototype.get=function(t){return this.__data__.get(t)},Mt.prototype.has=function(t){return this.__data__.has(t)},Mt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Ft){var o=n.__data__;if(!bt||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new $t(o)}return n.set(t,e),this.size=n.size,this};var Qt=ht?function(t){return null==t?[]:(t=Object(t),C(ht(t),function(e){return ft.call(t,e)}))}:function(){return[]},Xt=Lt;function Yt(t,e){return!!(e=null==e?o:e)&&('number'==typeof t||$.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=o}function ue(t){var e=typeof t;return null!=t&&('object'==e||'function'==e)}function ce(t){return null!=t&&'object'==typeof t}var se=R?(function(t){return function(e){return t(e)}})(R):function(t){return ce(t)&&ae(t.length)&&!!x[Lt(t)]};function fe(t){return null!=(e=t)&&ae(e.length)&&!ie(e)?Ut(t):Ct(t);var e}m.exports=function(t,e){return Wt(t,e)}},715,[]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.createOrReuseStyleNode=function(e,t){if((e=o.StyleSheet.flatten(e)||{}).transform){var n=(0,r(d[9]).createOrReuseTransformNode)(e.transform,t&&t._style.transform);n&&(e=Object.assign({},e,{transform:n}))}var u=v(e);if(void 0===u)return;if(t&&(0,c.default)(u,t._config))return t;return new y(e,u)},_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),o=r(d[6]),f=r(d[0])(r(d[7])),c=r(d[0])(r(d[8]));function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(s=function(){return!!e})()}function v(e){var t;for(var n in e){var u=e[n];u instanceof f.default&&(void 0===t&&(t={}),t[n]=u.__nodeID)}return t}var y=_e.default=(function(o){function c(t,l){var o,f,v,y;return(0,e.default)(this,c),f=this,v=c,y=[{type:'style',style:l},Object.values(t)],v=(0,u.default)(v),(o=(0,n.default)(f,s()?Reflect.construct(v,y||[],(0,u.default)(f).constructor):v.apply(f,y)))._config=l,o._style=t,o}return(0,l.default)(c,o),(0,t.default)(c,[{key:"toString",value:function(){return"AnimatedStyle, id: "+this.__nodeID}},{key:"_walkStyleAndGetAnimatedValues",value:function(e){var t={};for(var n in e){var u=e[n];u instanceof f.default?t[n]=u.__getValue():u&&!Array.isArray(u)&&'object'==typeof u&&(t[n]=this._walkStyleAndGetAnimatedValues(u))}return t}},{key:"__onEvaluate",value:function(){return this._walkStyleAndGetAnimatedValues(this._style)}}])})(f.default)},716,[3,6,7,11,13,14,18,677,715,717]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.createOrReuseTransformNode=function(t,n){var e=v(t);if(void 0===e)return;if(n&&(0,c.default)(e,n._config))return n;return new _(t,e)};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),e=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),u=r(d[0])(r(d[5])),f=r(d[0])(r(d[6])),c=r(d[0])(r(d[7]));function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l=function(){return!!t})()}function v(t){var n=[],e=!1;return t.forEach(function(t){for(var o in t){var u=t[o];u instanceof f.default?(e=!0,n.push({property:o,nodeID:u.__nodeID})):n.push({property:o,value:u})}}),e?n:void 0}function s(t){var n=[];return t.forEach(function(t){for(var e in t){var o=t[e];o instanceof f.default&&n.push(o)}}),n}var _=(function(c){function v(n,u){var f,c,_,p;return(0,t.default)(this,v),c=this,_=v,p=[{type:'transform',transform:u},s(n)],_=(0,o.default)(_),(f=(0,e.default)(c,l()?Reflect.construct(_,p||[],(0,o.default)(c).constructor):_.apply(c,p)))._config=u,f._transform=n,f}return(0,u.default)(v,c),(0,n.default)(v,[{key:"toString",value:function(){return"AnimatedTransform, id: "+this.__nodeID}},{key:"__onEvaluate",value:function(){return this._transform.map(function(t){var n={};for(var e in t){var o=t[e];o instanceof f.default&&(n[e]=o.__getValue())}return n})}}])})(f.default)},717,[3,6,7,11,13,14,677,715]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RNRenderer",{enumerable:!0,get:function(){return n.default}});var n=r(d[0])(r(d[1]))},718,[3,46]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DecayAnimation",{enumerable:!0,get:function(){return r(d[0]).DecayAnimation}}),Object.defineProperty(e,"DelayAnimation",{enumerable:!0,get:function(){return r(d[1]).DelayAnimation}}),Object.defineProperty(e,"HigherOrderAnimation",{enumerable:!0,get:function(){return r(d[1]).HigherOrderAnimation}}),Object.defineProperty(e,"NextAnimation",{enumerable:!0,get:function(){return r(d[1]).NextAnimation}}),Object.defineProperty(e,"RepeatAnimation",{enumerable:!0,get:function(){return r(d[1]).RepeatAnimation}}),Object.defineProperty(e,"SequenceAnimation",{enumerable:!0,get:function(){return r(d[1]).SequenceAnimation}}),Object.defineProperty(e,"SpringAnimation",{enumerable:!0,get:function(){return r(d[2]).SpringAnimation}}),Object.defineProperty(e,"StyleLayoutAnimation",{enumerable:!0,get:function(){return r(d[1]).StyleLayoutAnimation}}),Object.defineProperty(e,"TimingAnimation",{enumerable:!0,get:function(){return r(d[3]).TimingAnimation}}),Object.defineProperty(e,"cancelAnimation",{enumerable:!0,get:function(){return r(d[4]).cancelAnimation}}),Object.defineProperty(e,"defineAnimation",{enumerable:!0,get:function(){return r(d[4]).defineAnimation}}),Object.defineProperty(e,"initialUpdaterRun",{enumerable:!0,get:function(){return r(d[4]).initialUpdaterRun}}),Object.defineProperty(e,"withDecay",{enumerable:!0,get:function(){return r(d[0]).withDecay}}),Object.defineProperty(e,"withDelay",{enumerable:!0,get:function(){return r(d[5]).withDelay}}),Object.defineProperty(e,"withRepeat",{enumerable:!0,get:function(){return r(d[6]).withRepeat}}),Object.defineProperty(e,"withSequence",{enumerable:!0,get:function(){return r(d[7]).withSequence}}),Object.defineProperty(e,"withSpring",{enumerable:!0,get:function(){return r(d[2]).withSpring}}),Object.defineProperty(e,"withStyleAnimation",{enumerable:!0,get:function(){return r(d[8]).withStyleAnimation}}),Object.defineProperty(e,"withTiming",{enumerable:!0,get:function(){return r(d[3]).withTiming}})},719,[720,721,722,702,701,723,724,725,700]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withDecay=void 0;var t,n=r(d[0]);e.withDecay=((t=function(t,o){return(0,r(d[1]).defineAnimation)(0,(function(){var c=function(){var c,l={deceleration:.998,velocityFactor:'web'!==n.Platform.OS?1:1e3,velocity:0};t&&Object.keys(t).forEach(function(n){return l[n]=t[n]});var s='web'!==n.Platform.OS?1:.05,f=.1;function u(){if(l.clamp){if(!Array.isArray(l.clamp))throw Error("config.clamp must be an array but is "+typeof l.clamp);if(2!==l.clamp.length)throw Error("clamp array must contain 2 items but is given "+l.clamp.length)}if(l.velocityFactor<=0)throw Error("config.velocityFactor must be greather then 0 but is "+l.velocityFactor)}return{onFrame:function(t,n){var o=t.lastTimestamp,c=t.startTimestamp,u=t.initialVelocity,y=t.current,v=t.velocity,p=Math.min(n-o,64),T=v*Math.exp(-(1-l.deceleration)*(n-c)*f);if(t.current=y+T*l.velocityFactor*p/1e3,t.velocity=T,t.lastTimestamp=n,l.clamp){if(u<0&&t.current<=l.clamp[0])return t.current=l.clamp[0],!0;if(u>0&&t.current>=l.clamp[1])return t.current=l.clamp[1],!0}return Math.abs(T)0&&animation.current>=config.clamp[1]){animation.current=config.clamp[1];return true;}}return Math.abs(v)0&&animation.current>=config.clamp[1]){animation.current=config.clamp[1];return true;}}return Math.abs(v)0&&t.current>=l.clamp[1])return t.current=l.clamp[1],!0}return Math.abs(T)0&&animation.current>=config.clamp[1]){animation.current=config.clamp[1];return true;}}return Math.abs(v)0&&animation.current>=config.clamp[1]){animation.current=config.clamp[1];return true;}}return Math.abs(v)o:t.currenttoValue:animation.currenttoValue:animation.currentn){c||(o.onStart(o,t.current,s,l),t.previousAnimation=null,t.started=!0);var A=o.onFrame(o,s);return t.current=o.current,A}if(l){var f=l.finished||l.onFrame(l,s);t.current=l.current,f&&(t.previousAnimation=null)}return!1},onStart:function(n,t,o,s){n.startTime=o,n.started=!1,n.current=t,n.previousAnimation=s===n?s.previousAnimation:s},current:o.current,callback:function(n){o.callback&&o.callback(n)},previousAnimation:null,startTime:0,started:!1}};return o._closure={_nextAnimation:t,delayMs:n},o.asString="function _f(){const{_nextAnimation,delayMs}=jsThis._closure;{const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function delay(animation,now){const{startTime:startTime,started:started,previousAnimation:previousAnimation}=animation;if(now-startTime>delayMs){if(!started){nextAnimation.onStart(nextAnimation,animation.current,now,previousAnimation);animation.previousAnimation=null;animation.started=true;}const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;return finished;}else if(previousAnimation){const finished=previousAnimation.finished||previousAnimation.onFrame(previousAnimation,now);animation.current=previousAnimation.current;if(finished){animation.previousAnimation=null;}}return false;}function onStart(animation,value,now,previousAnimation){animation.startTime=now;animation.started=false;animation.current=value;if(previousAnimation===animation){animation.previousAnimation=previousAnimation.previousAnimation;}else{animation.previousAnimation=previousAnimation;}}const callback=function(finished){if(nextAnimation.callback){nextAnimation.callback(finished);}};return{isHigherOrder:true,onFrame:delay,onStart:onStart,current:nextAnimation.current,callback:callback,previousAnimation:null,startTime:0,started:false};}}",o.__workletHash=7966458355315,o.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/delay.ts (10:57)",o})())})._closure={defineAnimation:r(d[0]).defineAnimation},n.asString="function withDelay(delayMs,_nextAnimation){const{defineAnimation}=jsThis._closure;{return defineAnimation(_nextAnimation,function(){'worklet';const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function delay(animation,now){const{startTime:startTime,started:started,previousAnimation:previousAnimation}=animation;if(now-startTime>delayMs){if(!started){nextAnimation.onStart(nextAnimation,animation.current,now,previousAnimation);animation.previousAnimation=null;animation.started=true;}const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;return finished;}else if(previousAnimation){const finished=previousAnimation.finished||previousAnimation.onFrame(previousAnimation,now);animation.current=previousAnimation.current;if(finished){animation.previousAnimation=null;}}return false;}function onStart(animation,value,now,previousAnimation){animation.startTime=now;animation.started=false;animation.current=value;if(previousAnimation===animation){animation.previousAnimation=previousAnimation.previousAnimation;}else{animation.previousAnimation=previousAnimation;}}const callback=function(finished){if(nextAnimation.callback){nextAnimation.callback(finished);}};return{isHigherOrder:true,onFrame:delay,onStart:onStart,current:nextAnimation.current,callback:callback,previousAnimation:null,startTime:0,started:false};});}}",n.__workletHash=3937463855661,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/delay.ts (5:7)",n);e.delay=(function(){var n=function(n,o){return console.warn('Method `delay` is deprecated. Please use `withDelay` instead'),t(n,o)};return n._closure={withDelay:t},n.asString="function delay(delayMs,_nextAnimation){const{withDelay}=jsThis._closure;{console.warn('Method `delay` is deprecated. Please use `withDelay` instead');return withDelay(delayMs,_nextAnimation);}}",n.__workletHash=7037261769063,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/delay.ts (82:7)",n})()},723,[701]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withRepeat=e.repeat=e.loop=void 0;var n,t=e.withRepeat=((n=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3?arguments[3]:void 0;return(0,r(d[0]).defineAnimation)(n,(function(){var c=function(){var c='function'==typeof n?n():n;return{isHigherOrder:!0,onFrame:function(n,s){var u=c.onFrame(c,s);if(n.current=c.current,u){if(n.reps+=1,c.callback&&c.callback(!0,n.current),t>0&&n.reps>=t)return!0;var l=o?c.current:n.startValue;return o&&(c.toValue=n.startValue,n.startValue=l),c.onStart(c,l,s,c.previousAnimation),!1}return!1},onStart:function(n,t,o,s){n.startValue=t,n.reps=0,c.onStart(c,t,o,s)},reps:0,current:c.current,callback:function(n){s&&s(n),!n&&c.callback&&c.callback(!1)},startValue:0}};return c._closure={_nextAnimation:n,numberOfReps:t,reverse:o,callback:s},c.asString="function _f(){const{_nextAnimation,numberOfReps,reverse,callback}=jsThis._closure;{const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function repeat(animation,now){const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;if(finished){animation.reps+=1;if(nextAnimation.callback){nextAnimation.callback(true,animation.current);}if(numberOfReps>0&&animation.reps>=numberOfReps){return true;}const startValue=reverse?nextAnimation.current:animation.startValue;if(reverse){nextAnimation.toValue=animation.startValue;animation.startValue=startValue;}nextAnimation.onStart(nextAnimation,startValue,now,nextAnimation.previousAnimation);return false;}return false;}const repCallback=function(finished){if(callback){callback(finished);}if(!finished&&nextAnimation.callback){nextAnimation.callback(false);}};function onStart(animation,value,now,previousAnimation){animation.startValue=value;animation.reps=0;nextAnimation.onStart(nextAnimation,value,now,previousAnimation);}return{isHigherOrder:true,onFrame:repeat,onStart:onStart,reps:0,current:nextAnimation.current,callback:repCallback,startValue:0};}}",c.__workletHash=7048649597913,c.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (24:58)",c})())})._closure={defineAnimation:r(d[0]).defineAnimation},n.asString="function withRepeat(_nextAnimation,numberOfReps=2,reverse=false,callback){const{defineAnimation}=jsThis._closure;{return defineAnimation(_nextAnimation,function(){'worklet';const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function repeat(animation,now){const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;if(finished){animation.reps+=1;if(nextAnimation.callback){nextAnimation.callback(true,animation.current);}if(numberOfReps>0&&animation.reps>=numberOfReps){return true;}const startValue=reverse?nextAnimation.current:animation.startValue;if(reverse){nextAnimation.toValue=animation.startValue;animation.startValue=startValue;}nextAnimation.onStart(nextAnimation,startValue,now,nextAnimation.previousAnimation);return false;}return false;}const repCallback=function(finished){if(callback){callback(finished);}if(!finished&&nextAnimation.callback){nextAnimation.callback(false);}};function onStart(animation,value,now,previousAnimation){animation.startValue=value;animation.reps=0;nextAnimation.onStart(nextAnimation,value,now,previousAnimation);}return{isHigherOrder:true,onFrame:repeat,onStart:onStart,reps:0,current:nextAnimation.current,callback:repCallback,startValue:0};});}}",n.__workletHash=6454273429002,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (16:7)",n),o=e.repeat=(function(){var n=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=arguments.length>3?arguments[3]:void 0;return console.warn('Method `repeat` is deprecated. Please use `withRepeat` instead'),t(n,o,s,c)};return n._closure={withRepeat:t},n.asString="function repeat(_nextAnimation,numberOfReps=2,reverse=false,callback){const{withRepeat}=jsThis._closure;{console.warn('Method `repeat` is deprecated. Please use `withRepeat` instead');return withRepeat(_nextAnimation,numberOfReps,reverse,callback);}}",n.__workletHash=8754105257322,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (98:7)",n})();e.loop=(function(){var n=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return console.warn('Method `loop` is deprecated. Please use `withRepeat` instead'),o(n,Math.round(2*t),!0)};return n._closure={repeat:o},n.asString="function loop(nextAnimation,numberOfLoops=1){const{repeat}=jsThis._closure;{console.warn('Method `loop` is deprecated. Please use `withRepeat` instead');return repeat(nextAnimation,Math.round(numberOfLoops*2),true);}}",n.__workletHash=6061896044758,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (111:7)",n})()},724,[701]); -__d(function(g,r,i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withSequence=e.sequence=void 0;var n,t=e.withSequence=((n=function(){for(var n=arguments.length,t=new Array(n),a=0;ao:t.currenttoValue:animation.currenttoValue:animation.currentn){c||(o.onStart(o,t.current,s,l),t.previousAnimation=null,t.started=!0);var A=o.onFrame(o,s);return t.current=o.current,A}if(l){var f=l.finished||l.onFrame(l,s);t.current=l.current,f&&(t.previousAnimation=null)}return!1},onStart:function(n,t,o,s){n.startTime=o,n.started=!1,n.current=t,n.previousAnimation=s===n?s.previousAnimation:s},current:o.current,callback:function(n){o.callback&&o.callback(n)},previousAnimation:null,startTime:0,started:!1}};return o._closure={_nextAnimation:t,delayMs:n},o.asString="function _f(){const{_nextAnimation,delayMs}=jsThis._closure;{const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function delay(animation,now){const{startTime:startTime,started:started,previousAnimation:previousAnimation}=animation;if(now-startTime>delayMs){if(!started){nextAnimation.onStart(nextAnimation,animation.current,now,previousAnimation);animation.previousAnimation=null;animation.started=true;}const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;return finished;}else if(previousAnimation){const finished=previousAnimation.finished||previousAnimation.onFrame(previousAnimation,now);animation.current=previousAnimation.current;if(finished){animation.previousAnimation=null;}}return false;}function onStart(animation,value,now,previousAnimation){animation.startTime=now;animation.started=false;animation.current=value;if(previousAnimation===animation){animation.previousAnimation=previousAnimation.previousAnimation;}else{animation.previousAnimation=previousAnimation;}}const callback=function(finished){if(nextAnimation.callback){nextAnimation.callback(finished);}};return{isHigherOrder:true,onFrame:delay,onStart:onStart,current:nextAnimation.current,callback:callback,previousAnimation:null,startTime:0,started:false};}}",o.__workletHash=7966458355315,o.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/delay.ts (10:57)",o})())})._closure={defineAnimation:r(d[0]).defineAnimation},n.asString="function withDelay(delayMs,_nextAnimation){const{defineAnimation}=jsThis._closure;{return defineAnimation(_nextAnimation,function(){'worklet';const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function delay(animation,now){const{startTime:startTime,started:started,previousAnimation:previousAnimation}=animation;if(now-startTime>delayMs){if(!started){nextAnimation.onStart(nextAnimation,animation.current,now,previousAnimation);animation.previousAnimation=null;animation.started=true;}const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;return finished;}else if(previousAnimation){const finished=previousAnimation.finished||previousAnimation.onFrame(previousAnimation,now);animation.current=previousAnimation.current;if(finished){animation.previousAnimation=null;}}return false;}function onStart(animation,value,now,previousAnimation){animation.startTime=now;animation.started=false;animation.current=value;if(previousAnimation===animation){animation.previousAnimation=previousAnimation.previousAnimation;}else{animation.previousAnimation=previousAnimation;}}const callback=function(finished){if(nextAnimation.callback){nextAnimation.callback(finished);}};return{isHigherOrder:true,onFrame:delay,onStart:onStart,current:nextAnimation.current,callback:callback,previousAnimation:null,startTime:0,started:false};});}}",n.__workletHash=3937463855661,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/delay.ts (5:7)",n);e.delay=(function(){var n=function(n,o){return console.warn('Method `delay` is deprecated. Please use `withDelay` instead'),t(n,o)};return n._closure={withDelay:t},n.asString="function delay(delayMs,_nextAnimation){const{withDelay}=jsThis._closure;{console.warn('Method `delay` is deprecated. Please use `withDelay` instead');return withDelay(delayMs,_nextAnimation);}}",n.__workletHash=7037261769063,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/delay.ts (82:7)",n})()},723,[701]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withRepeat=e.repeat=e.loop=void 0;var n,t=e.withRepeat=((n=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3?arguments[3]:void 0;return(0,r(d[0]).defineAnimation)(n,(function(){var c=function(){var c='function'==typeof n?n():n;return{isHigherOrder:!0,onFrame:function(n,s){var u=c.onFrame(c,s);if(n.current=c.current,u){if(n.reps+=1,c.callback&&c.callback(!0,n.current),t>0&&n.reps>=t)return!0;var l=o?c.current:n.startValue;return o&&(c.toValue=n.startValue,n.startValue=l),c.onStart(c,l,s,c.previousAnimation),!1}return!1},onStart:function(n,t,o,s){n.startValue=t,n.reps=0,c.onStart(c,t,o,s)},reps:0,current:c.current,callback:function(n){s&&s(n),!n&&c.callback&&c.callback(!1)},startValue:0}};return c._closure={_nextAnimation:n,numberOfReps:t,reverse:o,callback:s},c.asString="function _f(){const{_nextAnimation,numberOfReps,reverse,callback}=jsThis._closure;{const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function repeat(animation,now){const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;if(finished){animation.reps+=1;if(nextAnimation.callback){nextAnimation.callback(true,animation.current);}if(numberOfReps>0&&animation.reps>=numberOfReps){return true;}const startValue=reverse?nextAnimation.current:animation.startValue;if(reverse){nextAnimation.toValue=animation.startValue;animation.startValue=startValue;}nextAnimation.onStart(nextAnimation,startValue,now,nextAnimation.previousAnimation);return false;}return false;}const repCallback=function(finished){if(callback){callback(finished);}if(!finished&&nextAnimation.callback){nextAnimation.callback(false);}};function onStart(animation,value,now,previousAnimation){animation.startValue=value;animation.reps=0;nextAnimation.onStart(nextAnimation,value,now,previousAnimation);}return{isHigherOrder:true,onFrame:repeat,onStart:onStart,reps:0,current:nextAnimation.current,callback:repCallback,startValue:0};}}",c.__workletHash=7048649597913,c.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (24:58)",c})())})._closure={defineAnimation:r(d[0]).defineAnimation},n.asString="function withRepeat(_nextAnimation,numberOfReps=2,reverse=false,callback){const{defineAnimation}=jsThis._closure;{return defineAnimation(_nextAnimation,function(){'worklet';const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function repeat(animation,now){const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;if(finished){animation.reps+=1;if(nextAnimation.callback){nextAnimation.callback(true,animation.current);}if(numberOfReps>0&&animation.reps>=numberOfReps){return true;}const startValue=reverse?nextAnimation.current:animation.startValue;if(reverse){nextAnimation.toValue=animation.startValue;animation.startValue=startValue;}nextAnimation.onStart(nextAnimation,startValue,now,nextAnimation.previousAnimation);return false;}return false;}const repCallback=function(finished){if(callback){callback(finished);}if(!finished&&nextAnimation.callback){nextAnimation.callback(false);}};function onStart(animation,value,now,previousAnimation){animation.startValue=value;animation.reps=0;nextAnimation.onStart(nextAnimation,value,now,previousAnimation);}return{isHigherOrder:true,onFrame:repeat,onStart:onStart,reps:0,current:nextAnimation.current,callback:repCallback,startValue:0};});}}",n.__workletHash=6454273429002,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (16:7)",n),o=e.repeat=(function(){var n=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=arguments.length>3?arguments[3]:void 0;return console.warn('Method `repeat` is deprecated. Please use `withRepeat` instead'),t(n,o,s,c)};return n._closure={withRepeat:t},n.asString="function repeat(_nextAnimation,numberOfReps=2,reverse=false,callback){const{withRepeat}=jsThis._closure;{console.warn('Method `repeat` is deprecated. Please use `withRepeat` instead');return withRepeat(_nextAnimation,numberOfReps,reverse,callback);}}",n.__workletHash=8754105257322,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (98:7)",n})();e.loop=(function(){var n=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return console.warn('Method `loop` is deprecated. Please use `withRepeat` instead'),o(n,Math.round(2*t),!0)};return n._closure={repeat:o},n.asString="function loop(nextAnimation,numberOfLoops=1){const{repeat}=jsThis._closure;{console.warn('Method `loop` is deprecated. Please use `withRepeat` instead');return repeat(nextAnimation,Math.round(numberOfLoops*2),true);}}",n.__workletHash=6061896044758,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (111:7)",n})()},724,[701]); +__d(function(g,r,i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withSequence=e.sequence=void 0;var n,t=e.withSequence=((n=function(){for(var n=arguments.length,t=new Array(n),a=0;a6&&void 0!==arguments[6]?arguments[6]:[],p=null!=(u=i.animations)?u:{},y=null!=(c=t())?c:{},v=i.last,A=!1;function _(t){var r=i.animations,u=i.last;if(i.isAnimationCancelled)i.isAnimationRunning=!1;else{var c={},p=!0;Object.keys(r).forEach(function(e){o(r[e],t,e,c,s)?(u[e]=c[e],delete r[e]):p=!1}),Object.keys(c).length&&(0,a.updatePropsJestWrapper)(e,c,n,l,f),p?i.isAnimationRunning=!1:(0,_r(d[5]).requestFrame)(_)}}Object.keys(p).forEach(function(e){var t=y[e];(0,_r(d[6]).isAnimated)(t)||delete p[e]}),Object.keys(y).forEach(function(e){var t=y[e];(0,_r(d[6]).isAnimated)(t)&&(r(t,p[e],v[e]),p[e]=t,A=!0)}),A?(i.animations=p,i.isAnimationRunning||(i.isAnimationCancelled=!1,i.isAnimationRunning=!0,_frameTimestamp?_(_frameTimestamp):(0,_r(d[5]).requestFrame)(_))):(i.isAnimationCancelled=!0,i.animations=[]);var h=(0,_r(d[6]).styleDiff)(v,y);i.last=Object.assign({},v,y),0!==Object.keys(h).length&&(0,a.updatePropsJestWrapper)(e,h,n,l,f)};return e._closure={isAnimated:_r(d[6]).isAnimated,prepareAnimation:r,runAnimations:o,updatePropsJestWrapper:a.updatePropsJestWrapper,requestFrame:_r(d[5]).requestFrame,styleDiff:_r(d[6]).styleDiff},e.asString="function jestStyleUpdater(viewDescriptors,updater,state,maybeViewRef,animationsActive,animatedStyle,adapters=[]){const{isAnimated,prepareAnimation,runAnimations,updatePropsJestWrapper,requestFrame,styleDiff}=jsThis._closure;{var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;let hasAnimations=false;Object.keys(animations).forEach(function(key){const value=newValues[key];if(!isAnimated(value)){delete animations[key];}});Object.keys(newValues).forEach(function(key){const value=newValues[key];if(isAnimated(value)){prepareAnimation(value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}});function frame(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;Object.keys(animations).forEach(function(propName){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){last[propName]=updates[propName];delete animations[propName];}else{allFinished=false;}});if(Object.keys(updates).length){updatePropsJestWrapper(viewDescriptors,updates,maybeViewRef,animatedStyle,adapters);}if(!allFinished){requestFrame(frame);}else{state.isAnimationRunning=false;}}if(hasAnimations){state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;if(_frameTimestamp){frame(_frameTimestamp);}else{requestFrame(frame);}}}else{state.isAnimationCancelled=true;state.animations=[];}const diff=styleDiff(oldValues,newValues);state.last=Object.assign({},oldValues,newValues);if(Object.keys(diff).length!==0){updatePropsJestWrapper(viewDescriptors,diff,maybeViewRef,animatedStyle,adapters);}}}",e.__workletHash=3969143793855,e.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (273:0)",e})();function c(e,t){if(Array.isArray(e))for(var a of e)c(a,t);else if('object'==typeof e&&void 0===e.value)for(var i of Object.keys(e))c(e[i],i);else if(void 0!==t&&'object'==typeof e&&void 0!==e.value)throw new Error("invalid value passed to `"+t+"`, maybe you forgot to use `.value`?")}},754,[3,22,16,698,662,661,755,756,668,753,719]); -__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.areDependenciesEqual=i,e.buildDependencies=s,e.buildWorkletsHash=o,e.canApplyOptimalisation=function(t){var n=t.__optimalization;return 1&n&&2&n},e.getStyleWithoutAnimations=void 0,e.hasColorProps=function(t){var n=new Set(r(d[5]).colorProps);for(var o in t)if(n.has(o))return!0;return!1},e.styleDiff=e.parseColors=e.isAnimated=void 0,e.useEvent=function(o){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=(0,t.useRef)(null);null===u.current?u.current=new n.default(o,s):i&&u.current.updateWorklet(o);return u},e.useHandler=function(n,o){var u=(0,t.useRef)(null);null===u.current&&(u.current={context:(0,r(d[3]).makeRemote)({}),savedDependencies:[]});(0,t.useEffect)(function(){return function(){u.current=null}},[]);var l=u.current,c=l.context,f=l.savedDependencies,p=!i(o=s(o,n),f);u.current.savedDependencies=o;var v=(0,r(d[4]).isWeb)()||(0,r(d[4]).isJest)();return{context:c,doDependenciesDiffer:p,useWeb:v}},e.validateAnimatedStyles=void 0;var t=r(d[0]),n=r(d[1])(r(d[2]));function o(t){return Object.values(t).reduce(function(t,n){return t+n.__workletHash.toString()},'')}function s(t,n){var s=Object.values(n).filter(function(t){return void 0!==t});return t?t.push(o(s)):t=s.map(function(t){return{workletHash:t.__workletHash,closure:t._closure}}),t}function i(t,n){var o='function'==typeof Object.is?Object.is:function(t,n){return t===n&&(0!==t||1/t==1/n)||t!=t&&n!=n};return(function(t,n){if(!t||!n||n.length!==t.length)return!1;for(var s=0;s6&&void 0!==arguments[6]?arguments[6]:[],p=null!=(u=i.animations)?u:{},y=null!=(c=t())?c:{},v=i.last,A=!1;function _(t){var r=i.animations,u=i.last;if(i.isAnimationCancelled)i.isAnimationRunning=!1;else{var c={},p=!0;Object.keys(r).forEach(function(e){o(r[e],t,e,c,s)?(u[e]=c[e],delete r[e]):p=!1}),Object.keys(c).length&&(0,a.updatePropsJestWrapper)(e,c,n,l,f),p?i.isAnimationRunning=!1:(0,_r(d[5]).requestFrame)(_)}}Object.keys(p).forEach(function(e){var t=y[e];(0,_r(d[6]).isAnimated)(t)||delete p[e]}),Object.keys(y).forEach(function(e){var t=y[e];(0,_r(d[6]).isAnimated)(t)&&(r(t,p[e],v[e]),p[e]=t,A=!0)}),A?(i.animations=p,i.isAnimationRunning||(i.isAnimationCancelled=!1,i.isAnimationRunning=!0,_frameTimestamp?_(_frameTimestamp):(0,_r(d[5]).requestFrame)(_))):(i.isAnimationCancelled=!0,i.animations=[]);var h=(0,_r(d[6]).styleDiff)(v,y);i.last=Object.assign({},v,y),0!==Object.keys(h).length&&(0,a.updatePropsJestWrapper)(e,h,n,l,f)};return e._closure={isAnimated:_r(d[6]).isAnimated,prepareAnimation:r,runAnimations:o,updatePropsJestWrapper:a.updatePropsJestWrapper,requestFrame:_r(d[5]).requestFrame,styleDiff:_r(d[6]).styleDiff},e.asString="function jestStyleUpdater(viewDescriptors,updater,state,maybeViewRef,animationsActive,animatedStyle,adapters=[]){const{isAnimated,prepareAnimation,runAnimations,updatePropsJestWrapper,requestFrame,styleDiff}=jsThis._closure;{var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;let hasAnimations=false;Object.keys(animations).forEach(function(key){const value=newValues[key];if(!isAnimated(value)){delete animations[key];}});Object.keys(newValues).forEach(function(key){const value=newValues[key];if(isAnimated(value)){prepareAnimation(value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}});function frame(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;Object.keys(animations).forEach(function(propName){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){last[propName]=updates[propName];delete animations[propName];}else{allFinished=false;}});if(Object.keys(updates).length){updatePropsJestWrapper(viewDescriptors,updates,maybeViewRef,animatedStyle,adapters);}if(!allFinished){requestFrame(frame);}else{state.isAnimationRunning=false;}}if(hasAnimations){state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;if(_frameTimestamp){frame(_frameTimestamp);}else{requestFrame(frame);}}}else{state.isAnimationCancelled=true;state.animations=[];}const diff=styleDiff(oldValues,newValues);state.last=Object.assign({},oldValues,newValues);if(Object.keys(diff).length!==0){updatePropsJestWrapper(viewDescriptors,diff,maybeViewRef,animatedStyle,adapters);}}}",e.__workletHash=3969143793855,e.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (273:0)",e})();function c(e,t){if(Array.isArray(e))for(var a of e)c(a,t);else if('object'==typeof e&&void 0===e.value)for(var i of Object.keys(e))c(e[i],i);else if(void 0!==t&&'object'==typeof e&&void 0!==e.value)throw new Error("invalid value passed to `"+t+"`, maybe you forgot to use `.value`?")}},754,[3,22,16,698,662,661,755,756,668,753,719]); +__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.areDependenciesEqual=i,e.buildDependencies=s,e.buildWorkletsHash=o,e.canApplyOptimalisation=function(t){var n=t.__optimalization;return 1&n&&2&n},e.getStyleWithoutAnimations=void 0,e.hasColorProps=function(t){var n=new Set(r(d[5]).colorProps);for(var o in t)if(n.has(o))return!0;return!1},e.styleDiff=e.parseColors=e.isAnimated=void 0,e.useEvent=function(o){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=(0,t.useRef)(null);null===u.current?u.current=new n.default(o,s):i&&u.current.updateWorklet(o);return u},e.useHandler=function(n,o){var u=(0,t.useRef)(null);null===u.current&&(u.current={context:(0,r(d[3]).makeRemote)({}),savedDependencies:[]});(0,t.useEffect)(function(){return function(){u.current=null}},[]);var l=u.current,c=l.context,f=l.savedDependencies,p=!i(o=s(o,n),f);u.current.savedDependencies=o;var v=(0,r(d[4]).isWeb)()||(0,r(d[4]).isJest)();return{context:c,doDependenciesDiffer:p,useWeb:v}},e.validateAnimatedStyles=void 0;var t=r(d[0]),n=r(d[1])(r(d[2]));function o(t){return Object.values(t).reduce(function(t,n){return t+n.__workletHash.toString()},'')}function s(t,n){var s=Object.values(n).filter(function(t){return void 0!==t});return t?t.push(o(s)):t=s.map(function(t){return{workletHash:t.__workletHash,closure:t._closure}}),t}function i(t,n){var o='function'==typeof Object.is?Object.is:function(t,n){return t===n&&(0!==t||1/t==1/n)||t!=t&&n!=n};return(function(t,n){if(!t||!n||n.length!==t.length)return!1;for(var s=0;s1&&void 0!==arguments[1])||arguments[1],u=(0,c.useRef)({setActive:function(c){t.manageStateFrameCallback(u.current.callbackId,c),u.current.isActive=c},isActive:l,callbackId:-1});return(0,c.useEffect)(function(){return u.current.callbackId=t.registerFrameCallback(n),u.current.setActive(u.current.isActive),function(){t.unregisterFrameCallback(u.current.callbackId),u.current.callbackId=-1}},[n,l]),u.current};var c=r(d[0]),t=new(r(d[1])(r(d[2])).default)},767,[16,3,768]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[0])(r(d[1])),t=r(d[0])(r(d[2]));e.default=(function(){return(0,t.default)(function t(){(0,l.default)(this,t),this.nextCallbackId=0,(0,r(d[3]).prepareUIRegistry)()},[{key:"registerFrameCallback",value:function(l){if(!l)return-1;var t,c=this.nextCallbackId;return this.nextCallbackId++,(0,r(d[4]).runOnUI)(((t=function(){g._frameCallbackRegistry.registerFrameCallback(l,c)})._closure={callback:l,callbackId:c},t.asString="function _f(){const{callback,callbackId}=jsThis._closure;{global._frameCallbackRegistry.registerFrameCallback(callback,callbackId);}}",t.__workletHash=8698771335221,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts (19:12)",t))(),c}},{key:"unregisterFrameCallback",value:function(l){var t;(0,r(d[4]).runOnUI)(((t=function(){g._frameCallbackRegistry.unregisterFrameCallback(l)})._closure={callbackId:l},t.asString="function _f(){const{callbackId}=jsThis._closure;{global._frameCallbackRegistry.unregisterFrameCallback(callbackId);}}",t.__workletHash=8743446620462,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts (28:12)",t))()}},{key:"manageStateFrameCallback",value:function(l,t){var c;(0,r(d[4]).runOnUI)(((c=function(){g._frameCallbackRegistry.manageStateFrameCallback(l,t)})._closure={callbackId:l,state:t},c.asString="function _f(){const{callbackId,state}=jsThis._closure;{global._frameCallbackRegistry.manageStateFrameCallback(callbackId,state);}}",c.__workletHash=6531724164266,c.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts (35:12)",c))()}}])})()},768,[3,6,7,769,661]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.prepareUIRegistry=void 0;var t;e.prepareUIRegistry=(0,r(d[0]).runOnUI)(((t=function(){var t={frameCallbackRegistry:new Map,activeFrameCallbacks:new Set,previousFrameTimestamp:null,runCallbacks:function(){var t=this,l=function(s){null===t.previousFrameTimestamp&&(t.previousFrameTimestamp=s);var c=s-t.previousFrameTimestamp;t.activeFrameCallbacks.forEach(function(l){var n=t.frameCallbackRegistry.get(l),b=n.startTime;null===b?(n.startTime=s,n.callback({timestamp:s,timeSincePreviousFrame:null,timeSinceFirstFrame:0})):n.callback({timestamp:s,timeSincePreviousFrame:c,timeSinceFirstFrame:s-b})}),t.activeFrameCallbacks.size>0?(t.previousFrameTimestamp=s,requestAnimationFrame(l)):t.previousFrameTimestamp=null};1===this.activeFrameCallbacks.size&&requestAnimationFrame(l)},registerFrameCallback:function(t,l){this.frameCallbackRegistry.set(l,{callback:t,startTime:null})},unregisterFrameCallback:function(t){this.manageStateFrameCallback(t,!1),this.frameCallbackRegistry.delete(t)},manageStateFrameCallback:function(t,l){-1!==t&&(l?(this.activeFrameCallbacks.add(t),this.runCallbacks()):(this.frameCallbackRegistry.get(t).startTime=null,this.activeFrameCallbacks.delete(t)))}};g._frameCallbackRegistry=t})._closure={},t.asString="function _f(){const frameCallbackRegistry={frameCallbackRegistry:new Map(),activeFrameCallbacks:new Set(),previousFrameTimestamp:null,runCallbacks:function(){var _this=this;const loop=function(timestamp){if(_this.previousFrameTimestamp===null){_this.previousFrameTimestamp=timestamp;}const delta=timestamp-_this.previousFrameTimestamp;_this.activeFrameCallbacks.forEach(function(callbackId){const callbackDetails=_this.frameCallbackRegistry.get(callbackId);const{startTime:startTime}=callbackDetails;if(startTime===null){callbackDetails.startTime=timestamp;callbackDetails.callback({timestamp:timestamp,timeSincePreviousFrame:null,timeSinceFirstFrame:0});}else{callbackDetails.callback({timestamp:timestamp,timeSincePreviousFrame:delta,timeSinceFirstFrame:timestamp-startTime});}});if(_this.activeFrameCallbacks.size>0){_this.previousFrameTimestamp=timestamp;requestAnimationFrame(loop);}else{_this.previousFrameTimestamp=null;}};if(this.activeFrameCallbacks.size===1){requestAnimationFrame(loop);}},registerFrameCallback:function(callback,callbackId){this.frameCallbackRegistry.set(callbackId,{callback:callback,startTime:null});},unregisterFrameCallback:function(callbackId){this.manageStateFrameCallback(callbackId,false);this.frameCallbackRegistry.delete(callbackId);},manageStateFrameCallback:function(callbackId,state){if(callbackId===-1){return;}if(state){this.activeFrameCallbacks.add(callbackId);this.runCallbacks();}else{const callback=this.frameCallbackRegistry.get(callbackId);callback.startTime=null;this.activeFrameCallbacks.delete(callbackId);}}};global._frameCallbackRegistry=frameCallbackRegistry;}",t.__workletHash=3289807004391,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/frameCallback/FrameCallbackRegistryUI.ts (27:41)",t))},769,[661]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useScrollViewOffset=function(f){var c=(0,n.useRef)((0,r(d[2]).useSharedValue)(0)),s=(0,r(d[3]).useEvent)((u=function(n){c.current.value=0===n.contentOffset.x?n.contentOffset.y:n.contentOffset.x},u._closure={offsetRef:{current:c.current}},u.asString="function _f(event){const{offsetRef}=jsThis._closure;{offsetRef.current.value=event.contentOffset.x===0?event.contentOffset.y:event.contentOffset.x;}}",u.__workletHash=9478808601686,u.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/hook/useScrollViewOffset.ts (23:38)",u),o);var u;return(0,n.useEffect)(function(){var n,o=(0,t.findNodeHandle)(f.current);null==(n=s.current)||n.registerForEvents(o)},[f.current]),c.current};var n=r(d[0]),t=r(d[1]),o=['onScroll','onScrollBeginDrag','onScrollEndDrag','onMomentumScrollBegin','onMomentumScrollEnd']},770,[16,18,753,755]); -__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.interpolate=e.Extrapolation=void 0;var t,n=r(d[0])(r(d[1])),o=e.Extrapolation=(function(t){return t.IDENTITY="identity",t.CLAMP="clamp",t.EXTEND="extend",t})({}),i=((t=function(t){return void 0!==t.__nodeId})._closure={},t.asString="function isNode(x){return x.__nodeId!==undefined;}",t.__workletHash=0xa64d4085391,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/interpolation.ts (37:0)",t),p=(function(){var t=function(t,n,i,p,u,l){switch(t){case o.IDENTITY:return l;case o.CLAMP:return n*i=l?1:-1;return f*sf*E?p(o.extrapolateRight,f,s,l,E,t):s};return t._closure={getVal:p},t.asString="function internalInterpolate(x,narrowedInput,extrapolationConfig){const{getVal}=jsThis._closure;{const{leftEdgeInput:leftEdgeInput,rightEdgeInput:rightEdgeInput,leftEdgeOutput:leftEdgeOutput,rightEdgeOutput:rightEdgeOutput}=narrowedInput;if(rightEdgeInput-leftEdgeInput===0)return leftEdgeOutput;const progress=(x-leftEdgeInput)/(rightEdgeInput-leftEdgeInput);const val=leftEdgeOutput+progress*(rightEdgeOutput-leftEdgeOutput);const coef=rightEdgeOutput>=leftEdgeOutput?1:-1;if(coef*valcoef*rightEdgeOutput){return getVal(extrapolationConfig.extrapolateRight,coef,val,leftEdgeOutput,rightEdgeOutput,x);}return val;}}",t.__workletHash=8108992359068,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/interpolation.ts (120:0)",t})();e.interpolate=(function(){var t=function(t,o,p,u){if(o.length<2||p.length<2)throw Error('Interpolation input and output should contain at least two values.');var s=l(u);if(i(t))return console.warn("interpolate() was renamed to interpolateNode() in Reanimated 2. Please use interpolateNode() instead"),(0,n.default)(t,{inputRange:o,outputRange:p,extrapolateLeft:s.extrapolateLeft,extrapolateRight:s.extrapolateRight});var f=o.length,x={leftEdgeInput:o[0],rightEdgeInput:o[1],leftEdgeOutput:p[0],rightEdgeOutput:p[1]};if(f>2)if(t>o[f-1])x.leftEdgeInput=o[f-2],x.rightEdgeInput=o[f-1],x.leftEdgeOutput=p[f-2],x.rightEdgeOutput=p[f-1];else for(var c=1;c2){if(x>input[length-1]){narrowedInput.leftEdgeInput=input[length-2];narrowedInput.rightEdgeInput=input[length-1];narrowedInput.leftEdgeOutput=output[length-2];narrowedInput.rightEdgeOutput=output[length-1];}else{for(let i=1;i2&&void 0!==arguments[2]?arguments[2]:p.RGB,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,_r(_d[3]).useSharedValue)({inputRange:o,outputRange:r,colorSpace:t,cache:(0,_r(_d[4]).makeMutable)(null),options:a})};var o,r=((o=function(o,r,t,a){var n=0,l=a.useCorrectedHSVInterpolation;if(void 0===l||l){for(var i=[r[0]],p=t.h,s=[p[0]],u=1;up[u-1]&&c>.5?(i.push(r[u]),i.push(r[u]+1e-5),s.push(p[u]-1),s.push(p[u])):p[u]originalH[i-1]&&d>0.5){correctedInputRange.push(inputRange[i]);correctedInputRange.push(inputRange[i]+0.00001);correctedH.push(originalH[i]-1);correctedH.push(originalH[i]);}else if(originalH[i]3&&void 0!==arguments[3]?arguments[3]:'RGB',s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if('HSV'===p)return r(o,t,i(a),s);if('RGB'===p)return n(o,t,l(a),s);throw new Error("Invalid color space provided: "+p+". Supported values are: ['RGB', 'HSV']")};return o._closure={interpolateColorsHSV:r,getInterpolateHSV:i,interpolateColorsRGB:n,getInterpolateRGB:l},o.asString="function _f(value,inputRange,outputRange,colorSpace='RGB',options={}){const{interpolateColorsHSV,getInterpolateHSV,interpolateColorsRGB,getInterpolateRGB}=jsThis._closure;{if(colorSpace==='HSV'){return interpolateColorsHSV(value,inputRange,getInterpolateHSV(outputRange),options);}else if(colorSpace==='RGB'){return interpolateColorsRGB(value,inputRange,getInterpolateRGB(outputRange),options);}throw new Error(\"Invalid color space provided: \"+colorSpace+\". Supported values are: ['RGB', 'HSV']\");}}",o.__workletHash=9681987669220,o.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/interpolateColor.ts (174:32)",o})(),e.ColorSpace=(function(o){return o[o.RGB=0]="RGB",o[o.HSV=1]="HSV",o})({}));e.interpolateSharableColor=(function(){var o=function(o,t){var a=t.value.cache.value;if(t.value.colorSpace===p.RGB)return a||(a=l(t.value.outputRange),t.value.cache.value=a),n(o,t.value.inputRange,a,t.value.options);if(t.value.colorSpace===p.HSV)return a||(a=i(t.value.outputRange),t.value.cache.value=a),r(o,t.value.inputRange,a,t.value.options);throw new Error("Invalid color space provided: "+t.value.colorSpace+". Supported values are: ['RGB', 'HSV']")};return o._closure={ColorSpace:{RGB:p.RGB,HSV:p.HSV},getInterpolateRGB:l,interpolateColorsRGB:n,getInterpolateHSV:i,interpolateColorsHSV:r},o.asString="function _f(value,interpolateConfig){const{ColorSpace,getInterpolateRGB,interpolateColorsRGB,getInterpolateHSV,interpolateColorsHSV}=jsThis._closure;{let colors=interpolateConfig.value.cache.value;if(interpolateConfig.value.colorSpace===ColorSpace.RGB){if(!colors){colors=getInterpolateRGB(interpolateConfig.value.outputRange);interpolateConfig.value.cache.value=colors;}return interpolateColorsRGB(value,interpolateConfig.value.inputRange,colors,interpolateConfig.value.options);}else if(interpolateConfig.value.colorSpace===ColorSpace.HSV){if(!colors){colors=getInterpolateHSV(interpolateConfig.value.outputRange);interpolateConfig.value.cache.value=colors;}return interpolateColorsHSV(value,interpolateConfig.value.inputRange,colors,interpolateConfig.value.options);}throw new Error(\"Invalid color space provided: \"+interpolateConfig.value.colorSpace+\". Supported values are: ['RGB', 'HSV']\");}}",o.__workletHash=0xfef6cce2a3d,o.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/interpolateColor.ts (230:40)",o})()},772,[771,742,699,753,661]); -__d(function(g,r,i,a,m,e,d){function t(t,s){var n={};return null==s||s.forEach(function(t){n[t]=!0}),(0,r(d[0]).addWhitelistedNativeProps)(n),t}Object.defineProperty(e,"__esModule",{value:!0}),e.TextInputAdapter=e.SVGAdapter=void 0,e.createAnimatedPropAdapter=t;var s;e.SVGAdapter=t(((s=function(t){if(Object.keys(t).includes('transform'))if(Array.isArray(t.transform)){var s,n;if(6!==t.transform.length)throw new Error("invalid transform length of "+t.transform.length+", should be 6");var o=t.transform,l=null!=(s=t.x)?s:0,f=null!=(n=t.y)?n:0;t.transform=[{translateX:o[0]*l+o[2]*f+o[4]},{translateY:o[1]*l+o[3]*f+o[5]}]}else if('string'==typeof t.transform){var p=t.transform.replace('translate(','').replace(')','').split(' ');t.transform=[{translateX:parseFloat(p[0])},{translateY:parseFloat(p[1])}]}})._closure={},s.asString="function _f(props){const keys=Object.keys(props);if(keys.includes('transform')){if(Array.isArray(props.transform)){var _ref,_ref2;if(props.transform.length!==6){throw new Error(\"invalid transform length of \"+props.transform.length+\", should be 6\");}const transform=props.transform;const x=(_ref=props.x)!==null&&_ref!==void 0?_ref:0;const y=(_ref2=props.y)!==null&&_ref2!==void 0?_ref2:0;props.transform=[{translateX:transform[0]*x+transform[2]*y+transform[4]},{translateY:transform[1]*x+transform[3]*y+transform[5]}];}else if(typeof props.transform==='string'){const transform=props.transform;const arr=transform.replace('translate(','').replace(')','').split(' ');props.transform=[{translateX:parseFloat(arr[0])},{translateY:parseFloat(arr[1])}];}}}",s.__workletHash=630689667452,s.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/PropAdapters.ts (20:2)",s)),e.TextInputAdapter=t((function(){var t=function(t){Object.keys(t).includes('value')&&(t.text=t.value,delete t.value)};return t._closure={},t.asString="function _f(props){const keys=Object.keys(props);if(keys.includes('value')){props.text=props.value;delete props.value;}}",t.__workletHash=0x9f9db68ca9c,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/PropAdapters.ts (58:2)",t})(),['text'])},773,[660]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[0])(r(d[1])),t=r(d[0])(r(d[2]));e.default=(function(){return(0,t.default)(function t(){(0,l.default)(this,t),this.nextCallbackId=0,(0,r(d[3]).prepareUIRegistry)()},[{key:"registerFrameCallback",value:function(l){if(!l)return-1;var t,c=this.nextCallbackId;return this.nextCallbackId++,(0,r(d[4]).runOnUI)(((t=function(){g._frameCallbackRegistry.registerFrameCallback(l,c)})._closure={callback:l,callbackId:c},t.asString="function _f(){const{callback,callbackId}=jsThis._closure;{global._frameCallbackRegistry.registerFrameCallback(callback,callbackId);}}",t.__workletHash=8698771335221,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts (19:12)",t))(),c}},{key:"unregisterFrameCallback",value:function(l){var t;(0,r(d[4]).runOnUI)(((t=function(){g._frameCallbackRegistry.unregisterFrameCallback(l)})._closure={callbackId:l},t.asString="function _f(){const{callbackId}=jsThis._closure;{global._frameCallbackRegistry.unregisterFrameCallback(callbackId);}}",t.__workletHash=8743446620462,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts (28:12)",t))()}},{key:"manageStateFrameCallback",value:function(l,t){var c;(0,r(d[4]).runOnUI)(((c=function(){g._frameCallbackRegistry.manageStateFrameCallback(l,t)})._closure={callbackId:l,state:t},c.asString="function _f(){const{callbackId,state}=jsThis._closure;{global._frameCallbackRegistry.manageStateFrameCallback(callbackId,state);}}",c.__workletHash=6531724164266,c.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts (35:12)",c))()}}])})()},768,[3,6,7,769,661]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.prepareUIRegistry=void 0;var t;e.prepareUIRegistry=(0,r(d[0]).runOnUI)(((t=function(){var t={frameCallbackRegistry:new Map,activeFrameCallbacks:new Set,previousFrameTimestamp:null,runCallbacks:function(){var t=this,l=function(s){null===t.previousFrameTimestamp&&(t.previousFrameTimestamp=s);var c=s-t.previousFrameTimestamp;t.activeFrameCallbacks.forEach(function(l){var n=t.frameCallbackRegistry.get(l),b=n.startTime;null===b?(n.startTime=s,n.callback({timestamp:s,timeSincePreviousFrame:null,timeSinceFirstFrame:0})):n.callback({timestamp:s,timeSincePreviousFrame:c,timeSinceFirstFrame:s-b})}),t.activeFrameCallbacks.size>0?(t.previousFrameTimestamp=s,requestAnimationFrame(l)):t.previousFrameTimestamp=null};1===this.activeFrameCallbacks.size&&requestAnimationFrame(l)},registerFrameCallback:function(t,l){this.frameCallbackRegistry.set(l,{callback:t,startTime:null})},unregisterFrameCallback:function(t){this.manageStateFrameCallback(t,!1),this.frameCallbackRegistry.delete(t)},manageStateFrameCallback:function(t,l){-1!==t&&(l?(this.activeFrameCallbacks.add(t),this.runCallbacks()):(this.frameCallbackRegistry.get(t).startTime=null,this.activeFrameCallbacks.delete(t)))}};g._frameCallbackRegistry=t})._closure={},t.asString="function _f(){const frameCallbackRegistry={frameCallbackRegistry:new Map(),activeFrameCallbacks:new Set(),previousFrameTimestamp:null,runCallbacks:function(){var _this=this;const loop=function(timestamp){if(_this.previousFrameTimestamp===null){_this.previousFrameTimestamp=timestamp;}const delta=timestamp-_this.previousFrameTimestamp;_this.activeFrameCallbacks.forEach(function(callbackId){const callbackDetails=_this.frameCallbackRegistry.get(callbackId);const{startTime:startTime}=callbackDetails;if(startTime===null){callbackDetails.startTime=timestamp;callbackDetails.callback({timestamp:timestamp,timeSincePreviousFrame:null,timeSinceFirstFrame:0});}else{callbackDetails.callback({timestamp:timestamp,timeSincePreviousFrame:delta,timeSinceFirstFrame:timestamp-startTime});}});if(_this.activeFrameCallbacks.size>0){_this.previousFrameTimestamp=timestamp;requestAnimationFrame(loop);}else{_this.previousFrameTimestamp=null;}};if(this.activeFrameCallbacks.size===1){requestAnimationFrame(loop);}},registerFrameCallback:function(callback,callbackId){this.frameCallbackRegistry.set(callbackId,{callback:callback,startTime:null});},unregisterFrameCallback:function(callbackId){this.manageStateFrameCallback(callbackId,false);this.frameCallbackRegistry.delete(callbackId);},manageStateFrameCallback:function(callbackId,state){if(callbackId===-1){return;}if(state){this.activeFrameCallbacks.add(callbackId);this.runCallbacks();}else{const callback=this.frameCallbackRegistry.get(callbackId);callback.startTime=null;this.activeFrameCallbacks.delete(callbackId);}}};global._frameCallbackRegistry=frameCallbackRegistry;}",t.__workletHash=3289807004391,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/frameCallback/FrameCallbackRegistryUI.ts (27:41)",t))},769,[661]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useScrollViewOffset=function(f){var c=(0,n.useRef)((0,r(d[2]).useSharedValue)(0)),s=(0,r(d[3]).useEvent)((u=function(n){c.current.value=0===n.contentOffset.x?n.contentOffset.y:n.contentOffset.x},u._closure={offsetRef:{current:c.current}},u.asString="function _f(event){const{offsetRef}=jsThis._closure;{offsetRef.current.value=event.contentOffset.x===0?event.contentOffset.y:event.contentOffset.x;}}",u.__workletHash=9478808601686,u.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/hook/useScrollViewOffset.ts (23:38)",u),o);var u;return(0,n.useEffect)(function(){var n,o=(0,t.findNodeHandle)(f.current);null==(n=s.current)||n.registerForEvents(o)},[f.current]),c.current};var n=r(d[0]),t=r(d[1]),o=['onScroll','onScrollBeginDrag','onScrollEndDrag','onMomentumScrollBegin','onMomentumScrollEnd']},770,[16,18,753,755]); +__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.interpolate=e.Extrapolation=void 0;var t,n=r(d[0])(r(d[1])),o=e.Extrapolation=(function(t){return t.IDENTITY="identity",t.CLAMP="clamp",t.EXTEND="extend",t})({}),i=((t=function(t){return void 0!==t.__nodeId})._closure={},t.asString="function isNode(x){return x.__nodeId!==undefined;}",t.__workletHash=0xa64d4085391,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/interpolation.ts (37:0)",t),p=(function(){var t=function(t,n,i,p,u,l){switch(t){case o.IDENTITY:return l;case o.CLAMP:return n*i=l?1:-1;return f*sf*E?p(o.extrapolateRight,f,s,l,E,t):s};return t._closure={getVal:p},t.asString="function internalInterpolate(x,narrowedInput,extrapolationConfig){const{getVal}=jsThis._closure;{const{leftEdgeInput:leftEdgeInput,rightEdgeInput:rightEdgeInput,leftEdgeOutput:leftEdgeOutput,rightEdgeOutput:rightEdgeOutput}=narrowedInput;if(rightEdgeInput-leftEdgeInput===0)return leftEdgeOutput;const progress=(x-leftEdgeInput)/(rightEdgeInput-leftEdgeInput);const val=leftEdgeOutput+progress*(rightEdgeOutput-leftEdgeOutput);const coef=rightEdgeOutput>=leftEdgeOutput?1:-1;if(coef*valcoef*rightEdgeOutput){return getVal(extrapolationConfig.extrapolateRight,coef,val,leftEdgeOutput,rightEdgeOutput,x);}return val;}}",t.__workletHash=8108992359068,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/interpolation.ts (120:0)",t})();e.interpolate=(function(){var t=function(t,o,p,u){if(o.length<2||p.length<2)throw Error('Interpolation input and output should contain at least two values.');var s=l(u);if(i(t))return console.warn("interpolate() was renamed to interpolateNode() in Reanimated 2. Please use interpolateNode() instead"),(0,n.default)(t,{inputRange:o,outputRange:p,extrapolateLeft:s.extrapolateLeft,extrapolateRight:s.extrapolateRight});var f=o.length,x={leftEdgeInput:o[0],rightEdgeInput:o[1],leftEdgeOutput:p[0],rightEdgeOutput:p[1]};if(f>2)if(t>o[f-1])x.leftEdgeInput=o[f-2],x.rightEdgeInput=o[f-1],x.leftEdgeOutput=p[f-2],x.rightEdgeOutput=p[f-1];else for(var c=1;c2){if(x>input[length-1]){narrowedInput.leftEdgeInput=input[length-2];narrowedInput.rightEdgeInput=input[length-1];narrowedInput.leftEdgeOutput=output[length-2];narrowedInput.rightEdgeOutput=output[length-1];}else{for(let i=1;i2&&void 0!==arguments[2]?arguments[2]:p.RGB,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,_r(_d[3]).useSharedValue)({inputRange:o,outputRange:r,colorSpace:t,cache:(0,_r(_d[4]).makeMutable)(null),options:a})};var o,r=((o=function(o,r,t,a){var n=0,l=a.useCorrectedHSVInterpolation;if(void 0===l||l){for(var i=[r[0]],p=t.h,s=[p[0]],u=1;up[u-1]&&c>.5?(i.push(r[u]),i.push(r[u]+1e-5),s.push(p[u]-1),s.push(p[u])):p[u]originalH[i-1]&&d>0.5){correctedInputRange.push(inputRange[i]);correctedInputRange.push(inputRange[i]+0.00001);correctedH.push(originalH[i]-1);correctedH.push(originalH[i]);}else if(originalH[i]3&&void 0!==arguments[3]?arguments[3]:'RGB',s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if('HSV'===p)return r(o,t,i(a),s);if('RGB'===p)return n(o,t,l(a),s);throw new Error("Invalid color space provided: "+p+". Supported values are: ['RGB', 'HSV']")};return o._closure={interpolateColorsHSV:r,getInterpolateHSV:i,interpolateColorsRGB:n,getInterpolateRGB:l},o.asString="function _f(value,inputRange,outputRange,colorSpace='RGB',options={}){const{interpolateColorsHSV,getInterpolateHSV,interpolateColorsRGB,getInterpolateRGB}=jsThis._closure;{if(colorSpace==='HSV'){return interpolateColorsHSV(value,inputRange,getInterpolateHSV(outputRange),options);}else if(colorSpace==='RGB'){return interpolateColorsRGB(value,inputRange,getInterpolateRGB(outputRange),options);}throw new Error(\"Invalid color space provided: \"+colorSpace+\". Supported values are: ['RGB', 'HSV']\");}}",o.__workletHash=9681987669220,o.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/interpolateColor.ts (174:32)",o})(),e.ColorSpace=(function(o){return o[o.RGB=0]="RGB",o[o.HSV=1]="HSV",o})({}));e.interpolateSharableColor=(function(){var o=function(o,t){var a=t.value.cache.value;if(t.value.colorSpace===p.RGB)return a||(a=l(t.value.outputRange),t.value.cache.value=a),n(o,t.value.inputRange,a,t.value.options);if(t.value.colorSpace===p.HSV)return a||(a=i(t.value.outputRange),t.value.cache.value=a),r(o,t.value.inputRange,a,t.value.options);throw new Error("Invalid color space provided: "+t.value.colorSpace+". Supported values are: ['RGB', 'HSV']")};return o._closure={ColorSpace:{RGB:p.RGB,HSV:p.HSV},getInterpolateRGB:l,interpolateColorsRGB:n,getInterpolateHSV:i,interpolateColorsHSV:r},o.asString="function _f(value,interpolateConfig){const{ColorSpace,getInterpolateRGB,interpolateColorsRGB,getInterpolateHSV,interpolateColorsHSV}=jsThis._closure;{let colors=interpolateConfig.value.cache.value;if(interpolateConfig.value.colorSpace===ColorSpace.RGB){if(!colors){colors=getInterpolateRGB(interpolateConfig.value.outputRange);interpolateConfig.value.cache.value=colors;}return interpolateColorsRGB(value,interpolateConfig.value.inputRange,colors,interpolateConfig.value.options);}else if(interpolateConfig.value.colorSpace===ColorSpace.HSV){if(!colors){colors=getInterpolateHSV(interpolateConfig.value.outputRange);interpolateConfig.value.cache.value=colors;}return interpolateColorsHSV(value,interpolateConfig.value.inputRange,colors,interpolateConfig.value.options);}throw new Error(\"Invalid color space provided: \"+interpolateConfig.value.colorSpace+\". Supported values are: ['RGB', 'HSV']\");}}",o.__workletHash=0xfef6cce2a3d,o.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/interpolateColor.ts (230:40)",o})()},772,[771,742,699,753,661]); +__d(function(g,r,i,a,m,e,d){function t(t,s){var n={};return null==s||s.forEach(function(t){n[t]=!0}),(0,r(d[0]).addWhitelistedNativeProps)(n),t}Object.defineProperty(e,"__esModule",{value:!0}),e.TextInputAdapter=e.SVGAdapter=void 0,e.createAnimatedPropAdapter=t;var s;e.SVGAdapter=t(((s=function(t){if(Object.keys(t).includes('transform'))if(Array.isArray(t.transform)){var s,n;if(6!==t.transform.length)throw new Error("invalid transform length of "+t.transform.length+", should be 6");var o=t.transform,l=null!=(s=t.x)?s:0,f=null!=(n=t.y)?n:0;t.transform=[{translateX:o[0]*l+o[2]*f+o[4]},{translateY:o[1]*l+o[3]*f+o[5]}]}else if('string'==typeof t.transform){var p=t.transform.replace('translate(','').replace(')','').split(' ');t.transform=[{translateX:parseFloat(p[0])},{translateY:parseFloat(p[1])}]}})._closure={},s.asString="function _f(props){const keys=Object.keys(props);if(keys.includes('transform')){if(Array.isArray(props.transform)){var _ref,_ref2;if(props.transform.length!==6){throw new Error(\"invalid transform length of \"+props.transform.length+\", should be 6\");}const transform=props.transform;const x=(_ref=props.x)!==null&&_ref!==void 0?_ref:0;const y=(_ref2=props.y)!==null&&_ref2!==void 0?_ref2:0;props.transform=[{translateX:transform[0]*x+transform[2]*y+transform[4]},{translateY:transform[1]*x+transform[3]*y+transform[5]}];}else if(typeof props.transform==='string'){const transform=props.transform;const arr=transform.replace('translate(','').replace(')','').split(' ');props.transform=[{translateX:parseFloat(arr[0])},{translateY:parseFloat(arr[1])}];}}}",s.__workletHash=630689667452,s.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/PropAdapters.ts (20:2)",s)),e.TextInputAdapter=t((function(){var t=function(t){Object.keys(t).includes('value')&&(t.text=t.value,delete t.value)};return t._closure={},t.asString="function _f(props){const keys=Object.keys(props);if(keys.includes('value')){props.text=props.value;delete props.value;}}",t.__workletHash=0x9f9db68ca9c,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/PropAdapters.ts (58:2)",t})(),['text'])},773,[660]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),r(d[0]),Object.keys(r(d[1])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[1])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[1])[n]}}))}),Object.keys(r(d[2])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[2])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[2])[n]}}))}),Object.keys(r(d[3])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[3])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[3])[n]}}))})},774,[697,775,780,791]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnimationConfigFunction",{enumerable:!0,get:function(){return r(d[0]).AnimationConfigFunction}}),Object.defineProperty(e,"AnimationFunction",{enumerable:!0,get:function(){return r(d[0]).AnimationFunction}}),Object.defineProperty(e,"BaseAnimationBuilder",{enumerable:!0,get:function(){return r(d[1]).BaseAnimationBuilder}}),Object.defineProperty(e,"BaseBuilderAnimationConfig",{enumerable:!0,get:function(){return r(d[0]).BaseBuilderAnimationConfig}}),Object.defineProperty(e,"BaseLayoutAnimationConfig",{enumerable:!0,get:function(){return r(d[0]).BaseLayoutAnimationConfig}}),Object.defineProperty(e,"ComplexAnimationBuilder",{enumerable:!0,get:function(){return r(d[2]).ComplexAnimationBuilder}}),Object.defineProperty(e,"EntryAnimationsValues",{enumerable:!0,get:function(){return r(d[0]).EntryAnimationsValues}}),Object.defineProperty(e,"EntryExitAnimationFunction",{enumerable:!0,get:function(){return r(d[0]).EntryExitAnimationFunction}}),Object.defineProperty(e,"ExitAnimationsValues",{enumerable:!0,get:function(){return r(d[0]).ExitAnimationsValues}}),Object.defineProperty(e,"IEntryAnimationBuilder",{enumerable:!0,get:function(){return r(d[0]).IEntryAnimationBuilder}}),Object.defineProperty(e,"IEntryExitAnimationBuilder",{enumerable:!0,get:function(){return r(d[0]).IEntryExitAnimationBuilder}}),Object.defineProperty(e,"IExitAnimationBuilder",{enumerable:!0,get:function(){return r(d[0]).IExitAnimationBuilder}}),Object.defineProperty(e,"ILayoutAnimationBuilder",{enumerable:!0,get:function(){return r(d[0]).ILayoutAnimationBuilder}}),Object.defineProperty(e,"Keyframe",{enumerable:!0,get:function(){return r(d[3]).Keyframe}}),Object.defineProperty(e,"LayoutAnimation",{enumerable:!0,get:function(){return r(d[0]).LayoutAnimation}}),Object.defineProperty(e,"LayoutAnimationAndConfig",{enumerable:!0,get:function(){return r(d[0]).LayoutAnimationAndConfig}}),Object.defineProperty(e,"LayoutAnimationFunction",{enumerable:!0,get:function(){return r(d[0]).LayoutAnimationFunction}}),Object.defineProperty(e,"LayoutAnimationsValues",{enumerable:!0,get:function(){return r(d[0]).LayoutAnimationsValues}})},775,[776,777,778,779]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0})},776,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.BaseAnimationBuilder=void 0;var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2]));e.BaseAnimationBuilder=(function(){return(0,t.default)(function t(){(0,n.default)(this,t),this.randomizeDelay=!1,this.build=function(){throw Error('Unimplemented method in child class.')}},[{key:"duration",value:function(n){return this.durationV=n,this}},{key:"delay",value:function(n){return this.delayV=n,this}},{key:"withCallback",value:function(n){return this.callbackV=n,this}},{key:"getDuration",value:function(){var n;return null!=(n=this.durationV)?n:300}},{key:"randomDelay",value:function(){return this.randomizeDelay=!0,this}},{key:"getDelay",value:function(){var n,t;return this.randomizeDelay?Math.random()*(null!=(n=this.delayV)?n:1e3):null!=(t=this.delayV)?t:0}},{key:"getDelayFunction",value:function(){var n;return this.randomizeDelay||this.delayV?r(d[3]).withDelay:((n=function(n,t){return t})._closure={},n.asString="function _f(_,animation){return animation;}",n.__workletHash=0xcf5f76b3d39,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/BaseAnimationBuilder.ts (81:8)",n)}}],[{key:"duration",value:function(n){return this.createInstance().duration(n)}},{key:"delay",value:function(n){return this.createInstance().delay(n)}},{key:"withCallback",value:function(n){return this.createInstance().withCallback(n)}},{key:"getDuration",value:function(){return 300}},{key:"randomDelay",value:function(){return this.createInstance().randomDelay()}},{key:"build",value:function(){return this.createInstance().build()}}])})()},777,[3,6,7,719]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.BaseAnimationBuilder=void 0;var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2]));e.BaseAnimationBuilder=(function(){return(0,t.default)(function t(){(0,n.default)(this,t),this.randomizeDelay=!1,this.build=function(){throw Error('Unimplemented method in child class.')}},[{key:"duration",value:function(n){return this.durationV=n,this}},{key:"delay",value:function(n){return this.delayV=n,this}},{key:"withCallback",value:function(n){return this.callbackV=n,this}},{key:"getDuration",value:function(){var n;return null!=(n=this.durationV)?n:300}},{key:"randomDelay",value:function(){return this.randomizeDelay=!0,this}},{key:"getDelay",value:function(){var n,t;return this.randomizeDelay?Math.random()*(null!=(n=this.delayV)?n:1e3):null!=(t=this.delayV)?t:0}},{key:"getDelayFunction",value:function(){var n;return this.randomizeDelay||this.delayV?r(d[3]).withDelay:((n=function(n,t){return t})._closure={},n.asString="function _f(_,animation){return animation;}",n.__workletHash=0xcf5f76b3d39,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/BaseAnimationBuilder.ts (81:8)",n)}}],[{key:"duration",value:function(n){return this.createInstance().duration(n)}},{key:"delay",value:function(n){return this.createInstance().delay(n)}},{key:"withCallback",value:function(n){return this.createInstance().withCallback(n)}},{key:"getDuration",value:function(){return 300}},{key:"randomDelay",value:function(){return this.createInstance().randomDelay()}},{key:"build",value:function(){return this.createInstance().build()}}])})()},777,[3,6,7,719]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.ComplexAnimationBuilder=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),u=r(d[0])(r(d[5]));function o(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(o=function(){return!!e})()}_e.ComplexAnimationBuilder=(function(h){function l(){return(0,e.default)(this,l),t=this,u=l,h=arguments,u=(0,s.default)(u),(0,n.default)(t,o()?Reflect.construct(u,h||[],(0,s.default)(t).constructor):u.apply(t,h));var t,u,h}return(0,u.default)(l,h),(0,t.default)(l,[{key:"easing",value:function(e){return this.easingV=e,this}},{key:"rotate",value:function(e){return this.rotateV=e,this}},{key:"springify",value:function(){return this.type=r(d[6]).withSpring,this}},{key:"damping",value:function(e){return this.dampingV=e,this}},{key:"mass",value:function(e){return this.massV=e,this}},{key:"stiffness",value:function(e){return this.stiffnessV=e,this}},{key:"overshootClamping",value:function(e){return this.overshootClampingV=e,this}},{key:"restDisplacementThreshold",value:function(e){return this.restDisplacementThresholdV=e,this}},{key:"restSpeedThreshold",value:function(e){return this.restSpeedThresholdV=e,this}},{key:"withInitialValues",value:function(e){return this.initialValues=e,this}},{key:"getAnimationAndConfig",value:function(){var e=this.durationV,t=this.easingV,n=this.rotateV,s=this.type?this.type:r(d[6]).withTiming,u=this.dampingV,o=this.massV,h=this.stiffnessV,l=this.overshootClampingV,c=this.restDisplacementThresholdV,f=this.restSpeedThresholdV,p=s,v={};return s===r(d[6]).withTiming?(t&&(v.easing=t),e&&(v.duration=e),n&&(v.rotate=n)):(u&&(v.damping=u),o&&(v.mass=o),h&&(v.stiffness=h),l&&(v.overshootClamping=l),c&&(v.restDisplacementThreshold=c),f&&(v.restSpeedThreshold=f),n&&(v.rotate=n)),[p,v]}}],[{key:"easing",value:function(e){return this.createInstance().easing(e)}},{key:"rotate",value:function(e){return this.createInstance().rotate(e)}},{key:"springify",value:function(){return this.createInstance().springify()}},{key:"damping",value:function(e){return this.createInstance().damping(e)}},{key:"mass",value:function(e){return this.createInstance().mass(e)}},{key:"stiffness",value:function(e){return this.createInstance().stiffness(e)}},{key:"overshootClamping",value:function(e){return this.createInstance().overshootClamping(e)}},{key:"restDisplacementThreshold",value:function(e){return this.createInstance().restDisplacementThreshold(e)}},{key:"restSpeedThreshold",value:function(e){return this.createInstance().restSpeedThreshold(e)}},{key:"withInitialValues",value:function(e){return this.createInstance().withInitialValues(e)}}])})(r(d[7]).BaseAnimationBuilder)},778,[3,6,7,11,13,14,719,777]); -__d(function(g,r,i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Keyframe=void 0;var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),a=r(d[0])(r(d[3]));e.Keyframe=(function(){return(0,a.default)(function a(o){var s=this;(0,t.default)(this,a),this.build=function(){var t,a=s.delayV,o=s.getDelayFunction(),f=s.parseDefinitions(),u=f.keyframes,l=f.initialValues,c=s.callbackV;return(t=function(t){var f={},h=function(t){var l=u[t];if(0!==l.length){var c,h=o(a,1===l.length?(0,r(d[4]).withTiming)(l[0].value,{duration:l[0].duration,easing:l[0].easing?l[0].easing:r(d[5]).Easing.linear}):r(d[4]).withSequence.apply(s,l.map(function(n){return(0,r(d[4]).withTiming)(n.value,{duration:n.duration,easing:n.easing?n.easing:r(d[5]).Easing.linear})})));t.includes('transform')?('transform'in f||(f.transform=[]),null==(c=f.transform)||c.push((0,n.default)({},t.split(':')[1],h))):f[t]=h}};return Object.keys(l).forEach(function(n){n.includes('transform')?l[n].forEach(function(n,t){Object.keys(n).forEach(function(n){h(t.toString()+'_transform:'+n)})}):h(n)}),{animations:f,initialValues:l,callback:c}})._closure={keyframes:u,delayFunction:o,delay:a,withTiming:r(d[4]).withTiming,Easing:{linear:r(d[5]).Easing.linear},withSequence:r(d[4]).withSequence,_this:s,initialValues:l,callback:c},t.asString="function _f(_targetValues){const{keyframes,delayFunction,delay,withTiming,Easing,withSequence,_this,initialValues,callback}=jsThis._closure;{const animations={};const addAnimation=function(key){const keyframePoints=keyframes[key];if(keyframePoints.length===0)return;const animation=delayFunction(delay,keyframePoints.length===1?withTiming(keyframePoints[0].value,{duration:keyframePoints[0].duration,easing:keyframePoints[0].easing?keyframePoints[0].easing:Easing.linear}):withSequence.apply(_this,keyframePoints.map(function(keyframePoint){return withTiming(keyframePoint.value,{duration:keyframePoint.duration,easing:keyframePoint.easing?keyframePoint.easing:Easing.linear});})));if(key.includes('transform')){var _animations$transform;if(!('transform'in animations)){animations.transform=[];}(_animations$transform=animations.transform)===null||_animations$transform===void 0?void 0:_animations$transform.push({[key.split(':')[1]]:animation});}else{animations[key]=animation;}};Object.keys(initialValues).forEach(function(key){if(key.includes('transform')){initialValues[key].forEach(function(transformProp,index){Object.keys(transformProp).forEach(function(transformPropKey){addAnimation(index.toString()+'_transform:'+transformPropKey);});});}else{addAnimation(key);}});return{animations:animations,initialValues:initialValues,callback:callback};}}",t.__workletHash=3655231828504,t.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/Keyframe.ts (196:11)",t},this.definitions=o},[{key:"parseDefinitions",value:function(){var n=this,t={};if(this.definitions.from){if(this.definitions[0])throw Error("You cannot provide both keyframe 0 and 'from' as they both specified initial values");this.definitions[0]=this.definitions.from,delete this.definitions.from}if(this.definitions.to){if(this.definitions[100])throw Error("You cannot provide both keyframe 100 and 'to' as they both specified values at the end of the animation.");this.definitions[100]=this.definitions.to,delete this.definitions.to}if(!this.definitions[0])throw Error("Please provide 0, or 'from' keyframe with initial state of your object.");var a=this.definitions[0];Object.keys(a).forEach(function(n){var o;'transform'===n?null==(o=a[n])||o.forEach(function(n,a){Object.keys(n).forEach(function(n){t[a.toString()+'_transform:'+n]=[]})}):t[n]=[]});var o=this.durationV?this.durationV:500,s=function(n,a){return a/100*o-t[n].reduce(function(n,t){return n+t.duration},0)},f=function(n){var a=n.key,o=n.value,f=n.currentKeyPoint,u=n.easing;if(!(a in t))throw Error("Keyframe can contain only that set of properties that were provide with initial values (keyframe 0 or 'from')");t[a].push({duration:s(a,f),value:o,easing:u})};return Array.from(Object.keys(this.definitions)).filter(function(n){return 0!==parseInt(n)}).sort(function(n,t){return parseInt(n)-parseInt(t)}).forEach(function(t){if(parseInt(t)<0||parseInt(t)>100)throw Error('Keyframe should be in between range 0 - 100.');var a=n.definitions[t],o=a.easing;delete a.easing;var s=function(n,a){return f({key:n,value:a,currentKeyPoint:parseInt(t),easing:o})};Object.keys(a).forEach(function(n){var t;'transform'===n?null==(t=a[n])||t.forEach(function(n,t){Object.keys(n).forEach(function(a){s(t.toString()+'_transform:'+a,n[a])})}):s(n,a[n])})}),{initialValues:a,keyframes:t}}},{key:"duration",value:function(n){return this.durationV=n,this}},{key:"delay",value:function(n){return this.delayV=n,this}},{key:"withCallback",value:function(n){return this.callbackV=n,this}},{key:"getDelayFunction",value:function(){var n;return this.delayV?r(d[4]).withDelay:((n=function(n,t){return t})._closure={},n.asString="function _f(_,animation){return animation;}",n.__workletHash=0xcf5f76b3d39,n.__location="/Users/ipaddev/sdk/3.16.09.rc/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/Keyframe.ts (184:8)",n)}}])})()},779,[3,242,6,7,719,703]); +__d(function(g,r,i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Keyframe=void 0;var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),a=r(d[0])(r(d[3]));e.Keyframe=(function(){return(0,a.default)(function a(o){var s=this;(0,t.default)(this,a),this.build=function(){var t,a=s.delayV,o=s.getDelayFunction(),f=s.parseDefinitions(),u=f.keyframes,l=f.initialValues,c=s.callbackV;return(t=function(t){var f={},h=function(t){var l=u[t];if(0!==l.length){var c,h=o(a,1===l.length?(0,r(d[4]).withTiming)(l[0].value,{duration:l[0].duration,easing:l[0].easing?l[0].easing:r(d[5]).Easing.linear}):r(d[4]).withSequence.apply(s,l.map(function(n){return(0,r(d[4]).withTiming)(n.value,{duration:n.duration,easing:n.easing?n.easing:r(d[5]).Easing.linear})})));t.includes('transform')?('transform'in f||(f.transform=[]),null==(c=f.transform)||c.push((0,n.default)({},t.split(':')[1],h))):f[t]=h}};return Object.keys(l).forEach(function(n){n.includes('transform')?l[n].forEach(function(n,t){Object.keys(n).forEach(function(n){h(t.toString()+'_transform:'+n)})}):h(n)}),{animations:f,initialValues:l,callback:c}})._closure={keyframes:u,delayFunction:o,delay:a,withTiming:r(d[4]).withTiming,Easing:{linear:r(d[5]).Easing.linear},withSequence:r(d[4]).withSequence,_this:s,initialValues:l,callback:c},t.asString="function _f(_targetValues){const{keyframes,delayFunction,delay,withTiming,Easing,withSequence,_this,initialValues,callback}=jsThis._closure;{const animations={};const addAnimation=function(key){const keyframePoints=keyframes[key];if(keyframePoints.length===0)return;const animation=delayFunction(delay,keyframePoints.length===1?withTiming(keyframePoints[0].value,{duration:keyframePoints[0].duration,easing:keyframePoints[0].easing?keyframePoints[0].easing:Easing.linear}):withSequence.apply(_this,keyframePoints.map(function(keyframePoint){return withTiming(keyframePoint.value,{duration:keyframePoint.duration,easing:keyframePoint.easing?keyframePoint.easing:Easing.linear});})));if(key.includes('transform')){var _animations$transform;if(!('transform'in animations)){animations.transform=[];}(_animations$transform=animations.transform)===null||_animations$transform===void 0?void 0:_animations$transform.push({[key.split(':')[1]]:animation});}else{animations[key]=animation;}};Object.keys(initialValues).forEach(function(key){if(key.includes('transform')){initialValues[key].forEach(function(transformProp,index){Object.keys(transformProp).forEach(function(transformPropKey){addAnimation(index.toString()+'_transform:'+transformPropKey);});});}else{addAnimation(key);}});return{animations:animations,initialValues:initialValues,callback:callback};}}",t.__workletHash=3655231828504,t.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/Keyframe.ts (196:11)",t},this.definitions=o},[{key:"parseDefinitions",value:function(){var n=this,t={};if(this.definitions.from){if(this.definitions[0])throw Error("You cannot provide both keyframe 0 and 'from' as they both specified initial values");this.definitions[0]=this.definitions.from,delete this.definitions.from}if(this.definitions.to){if(this.definitions[100])throw Error("You cannot provide both keyframe 100 and 'to' as they both specified values at the end of the animation.");this.definitions[100]=this.definitions.to,delete this.definitions.to}if(!this.definitions[0])throw Error("Please provide 0, or 'from' keyframe with initial state of your object.");var a=this.definitions[0];Object.keys(a).forEach(function(n){var o;'transform'===n?null==(o=a[n])||o.forEach(function(n,a){Object.keys(n).forEach(function(n){t[a.toString()+'_transform:'+n]=[]})}):t[n]=[]});var o=this.durationV?this.durationV:500,s=function(n,a){return a/100*o-t[n].reduce(function(n,t){return n+t.duration},0)},f=function(n){var a=n.key,o=n.value,f=n.currentKeyPoint,u=n.easing;if(!(a in t))throw Error("Keyframe can contain only that set of properties that were provide with initial values (keyframe 0 or 'from')");t[a].push({duration:s(a,f),value:o,easing:u})};return Array.from(Object.keys(this.definitions)).filter(function(n){return 0!==parseInt(n)}).sort(function(n,t){return parseInt(n)-parseInt(t)}).forEach(function(t){if(parseInt(t)<0||parseInt(t)>100)throw Error('Keyframe should be in between range 0 - 100.');var a=n.definitions[t],o=a.easing;delete a.easing;var s=function(n,a){return f({key:n,value:a,currentKeyPoint:parseInt(t),easing:o})};Object.keys(a).forEach(function(n){var t;'transform'===n?null==(t=a[n])||t.forEach(function(n,t){Object.keys(n).forEach(function(a){s(t.toString()+'_transform:'+a,n[a])})}):s(n,a[n])})}),{initialValues:a,keyframes:t}}},{key:"duration",value:function(n){return this.durationV=n,this}},{key:"delay",value:function(n){return this.delayV=n,this}},{key:"withCallback",value:function(n){return this.callbackV=n,this}},{key:"getDelayFunction",value:function(){var n;return this.delayV?r(d[4]).withDelay:((n=function(n,t){return t})._closure={},n.asString="function _f(_,animation){return animation;}",n.__workletHash=0xcf5f76b3d39,n.__location="/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/Keyframe.ts (184:8)",n)}}])})()},779,[3,242,6,7,719,703]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(r(d[0])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[0])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[0])[n]}}))}),Object.keys(r(d[1])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[1])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[1])[n]}}))}),Object.keys(r(d[2])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[2])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[2])[n]}}))}),Object.keys(r(d[3])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[3])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[3])[n]}}))}),Object.keys(r(d[4])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[4])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[4])[n]}}))}),Object.keys(r(d[5])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[5])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[5])[n]}}))}),Object.keys(r(d[6])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[6])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[6])[n]}}))}),Object.keys(r(d[7])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[7])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[7])[n]}}))}),Object.keys(r(d[8])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[8])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[8])[n]}}))}),Object.keys(r(d[9])).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[9])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[9])[n]}}))})},780,[781,782,783,784,785,786,787,788,789,790]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.FlipOutYRight=_e.FlipOutYLeft=_e.FlipOutXUp=_e.FlipOutXDown=_e.FlipOutEasyY=_e.FlipOutEasyX=_e.FlipInYRight=_e.FlipInYLeft=_e.FlipInXUp=_e.FlipInXDown=_e.FlipInEasyY=_e.FlipInEasyX=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),e=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),c=r(d[0])(r(d[6]));function u(t,n,e){return n=(0,o.default)(n),(0,l.default)(t,s()?Reflect.construct(n,e||[],(0,o.default)(t).constructor):n.apply(t,e))}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}_e.FlipInXUp=(function(l){function o(){var e;(0,n.default)(this,o);for(var l=arguments.length,c=new Array(l),s=0;s0&&void 0!==arguments[0]?arguments[0]:{},t=e.Component,n=e.style,o=e.containerStyle,a=e.contentStyle,i=e.supportedOrientations,l=e.cancelable,s=e.onDismiss,r=e.dontUseModal,u=void 0!==r&&r;this.setState({expanded:!0,cancelable:l,Component:t,style:n,containerStyle:o,contentStyle:a,supportedOrientations:i,onDismiss:s,dontUseModal:u})}},{key:"_hide",value:function(){var e=this.state.onDismiss;"function"==typeof e&&e(),this.setState({cancelable:!0,expanded:!1,Component:null,style:void 0,contentStyle:void 0,supportedOrientations:void 0,onDismiss:void 0,dontUseModal:!1})}},{key:"render",value:function(){var e=this.state,t=e.expanded,n=e.cancelable,o=e.Component,a=e.style,i=e.containerStyle,r=e.contentStyle,f=e.supportedOrientations,p=e.dontUseModal,v={cancelable:n};n&&(v.onBackdropPress=this.hide,v.onBackButtonPress=this.hide);var y=_r(d[12]).Css.getDefaultBackgroundColor(),h=(0,_r(d[13]).jsx)(l.View,{style:r,children:o});if(p){var b=s.default.getSafeAreaInsets(),O=b.top,j=b.bottom,M=s.default.getSafeArea().height;return(0,_r(d[13]).jsx)(u.default,Object.assign({visible:t,containerStyle:i},v,{useNativeDriver:!0,children:(0,_r(d[13]).jsx)(l.View,{style:[c.ModalStyle.container,{backgroundColor:y,marginTop:O,marginBottom:j,maxHeight:M}],children:h})}))}return o?(0,_r(d[13]).jsx)(c.default,Object.assign({visible:t,supportedOrientations:f,style:a,containerStyle:i,backgroundColor:y},v,{children:(0,_r(d[13]).jsx)(_r(d[14]).GestureHandlerRootView,{children:h})})):null}}],[{key:"alert",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.title,n=e.message,o=e.buttons,a=void 0===o?[]:o,i=e.options,l=void 0===i?{}:i,s=l.cancelable,u=void 0===s||s,c=l.onDismiss,p=l.dontUseModal,v=void 0!==p&&p;f.show({Component:(0,_r(d[13]).jsx)(r.default,{title:t,message:n,buttons:a,onDismiss:f.hide}),cancelable:u,onDismiss:c,dontUseModal:v})}},{key:"show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f.instance.show(e)}},{key:"hide",value:function(){f.instance.hide()}}])})(i.default.Component);_e.CustomAlert={alert:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};v.alert({title:e,message:t,buttons:n,options:Object.assign({dontUseModal:!0},o)})}}},799,[3,6,7,11,13,14,16,18,435,800,813,814,804,181,1]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.LinearTransition=_e.Layout=void 0;var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),e=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),u=r(d[0])(r(d[6]));function c(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(n){}return(c=function(){return!!n})()}var s=_e.LinearTransition=(function(s){function f(){var e,u,s,h;(0,t.default)(this,f);for(var y=arguments.length,v=new Array(y),_=0;_0&&void 0!==arguments[0]?arguments[0]:{},t=e.Component,n=e.style,o=e.containerStyle,a=e.contentStyle,i=e.supportedOrientations,l=e.cancelable,s=e.onDismiss,r=e.dontUseModal,u=void 0!==r&&r;this.setState({expanded:!0,cancelable:l,Component:t,style:n,containerStyle:o,contentStyle:a,supportedOrientations:i,onDismiss:s,dontUseModal:u})}},{key:"_hide",value:function(){var e=this.state.onDismiss;"function"==typeof e&&e(),this.setState({cancelable:!0,expanded:!1,Component:null,style:void 0,contentStyle:void 0,supportedOrientations:void 0,onDismiss:void 0,dontUseModal:!1})}},{key:"render",value:function(){var e=this.state,t=e.expanded,n=e.cancelable,o=e.Component,a=e.style,i=e.containerStyle,r=e.contentStyle,f=e.supportedOrientations,p=e.dontUseModal,v={cancelable:n};n&&(v.onBackdropPress=this.hide,v.onBackButtonPress=this.hide);var y=_r(d[12]).Css.getDefaultBackgroundColor(),h=(0,_r(d[13]).jsx)(l.View,{style:r,children:o});if(p){var b=s.default.getSafeAreaInsets(),O=b.top,j=b.bottom,M=s.default.getSafeArea().height;return(0,_r(d[13]).jsx)(u.default,Object.assign({visible:t,containerStyle:i},v,{useNativeDriver:!0,children:(0,_r(d[13]).jsx)(l.View,{style:[c.ModalStyle.container,{backgroundColor:y,marginTop:O,marginBottom:j,maxHeight:M}],children:h})}))}return o?(0,_r(d[13]).jsx)(c.default,Object.assign({visible:t,supportedOrientations:f,style:a,containerStyle:i,backgroundColor:y},v,{children:(0,_r(d[13]).jsx)(_r(d[14]).GestureHandlerRootView,{children:h})})):null}}],[{key:"alert",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.title,n=e.message,o=e.buttons,a=void 0===o?[]:o,i=e.options,l=void 0===i?{}:i,s=l.cancelable,u=void 0===s||s,c=l.onDismiss,p=l.dontUseModal,v=void 0!==p&&p;f.show({Component:(0,_r(d[13]).jsx)(r.default,{title:t,message:n,buttons:a,onDismiss:f.hide}),cancelable:u,onDismiss:c,dontUseModal:v})}},{key:"show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f.instance.show(e)}},{key:"hide",value:function(){f.instance.hide()}}])})(i.default.Component);_e.CustomAlert={alert:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};v.alert({title:e,message:t,buttons:n,options:Object.assign({dontUseModal:!0},o)})}}},799,[3,6,7,11,13,14,16,18,435,800,814,815,804,181,1]); __d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=_r(d[0])(_r(d[1])),e=(_r(d[0])(_r(d[2])),_r(d[3])),n=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=r(e);if(n&&n.has(t))return n.get(t);var o={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var a=l?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(o,u,a):o[u]=t[u]}return o.default=t,n&&n.set(t,o),o})(_r(d[4]));function r(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(r=function(t){return t?n:e})(t)}var o=e.StyleSheet.create({modal:{padding:10},title:{fontSize:20,margin:10},text:{marginHorizontal:10,marginBottom:10},button:{flex:1,alignItems:"center",justifyContent:"center",height:50,borderWidth:.5,margin:5}});function l(t){var r=t.title,l=t.message,u=t.onDismiss,a=t.buttons;a||(a=[]),0===a.length&&a.push({text:g.strings("btn_ok")});var i=_r(d[5]).Css.getDefaultBackgroundColor(),s=_r(d[5]).Css.getDefaultForegroundColor(),f={flexDirection:"row",width:"100%"};return a.length>2&&(f.flexDirection="column",f.height=a.length*(o.button.height+2*o.button.margin)),(0,_r(d[6]).jsxs)(e.View,{style:[o.modal,{backgroundColor:i}],children:[r?(0,_r(d[6]).jsx)(n.default,{style:[o.title,{color:s}],type:n.Type.bold,children:r}):null,l?(0,_r(d[6]).jsx)(n.default,{style:[o.text,{color:s}],children:l}):null,a.length?(0,_r(d[6]).jsx)(e.View,{style:f,children:a.map(function(t,r){var l=t.Component,a=void 0===l?null:l,i=t.text,f=t.onPress,c=t.style,p=void 0===c?{}:c;return(0,_r(d[6]).jsx)(e.View,{style:{flexDirection:"row",flex:1},children:a||(0,_r(d[6]).jsx)(e.TouchableOpacity,{style:[o.button,{borderColor:s},p],onPress:function(){"function"==typeof u&&u(),"function"==typeof f&&f()},children:(0,_r(d[6]).jsx)(n.default,{style:[o.buttonText,{color:s}],type:n.Type.bold,children:i})},"ta_alert_button_"+r)},"ta_alert_button_container_"+r)})}):null]})}l.propTypes={title:t.default.string,message:t.default.string,buttons:t.default.arrayOf(t.default.shape({Component:t.default.any,text:t.default.string,onPress:t.default.func,style:t.default.oneOfType([t.default.array,t.default.object,t.default.number])})),onDismiss:t.default.func},l.defaultProps={title:"",message:"",buttons:[]};_e.default=l},800,[3,569,16,18,801,804,181]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.Type=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])),n=(r(d[0])(r(d[4])),r(d[5])),l=["type","style","onLayout","children"],u=["uppercase","lowercase","capitalize","none"],s=["flex","none"],f=_e.Type={bold:"bold",medium:"medium",regular:"regular"},y=function(t,e){var o=r(d[6]).CssUtils.getAttributeFromStyle("fontFamily",t),n=r(d[6]).CssUtils.getAttributeFromStyle("fontWeight",t),l={};if(o||(l.fontFamily="system font"),!n)switch(e){case f.bold:l.fontWeight="bold";break;case f.medium:l.fontWeight="normal";break;default:l.fontWeight="normal"}return l},p=function(t,e){var o=r(d[6]).CssUtils.getAttributeFromStyle("textTransform",e,"none",!0),n=t;"upperFirst"===o&&"string"==typeof t?n=(n=n.toLowerCase()).charAt(0).toUpperCase()+n.slice(1):u.includes(o)&&e.push({textTransform:o});var l=r(d[6]).CssUtils.getAttributeFromStyle("display",e,"",!0);return l&&(s.includes(l)||(l="flex"),e.push({display:l})),{children:n,style:e}};function c(o){var u=(0,r(d[7]).useFonts)(),s=u.allowFontScaling,c=u.fontRegular,F=u.fontMedium,b=u.fontBold,h=o.type,S=o.style,v=o.onLayout,x=o.children,A=(0,e.default)(o,l),U=[(function(t){var e={};return t===f.bold&&b?e.fontFamily=b.font:t===f.medium&&F?e.fontFamily=F.font:c&&(e.fontFamily=c.font),e})(h)];S&&(Array.isArray(S)?U.push.apply(U,(0,t.default)(S)):U.push(S)),U.push(y(U,h));var C=p(x,U);return(0,r(d[8]).jsx)(n.Text,Object.assign({onLayout:function(t){v&&v(t,U)},allowFontScaling:s,minimumFontScale:r(d[6]).FontUtils.fontMinScale,maxFontSizeMultiplier:r(d[6]).FontUtils.fontMaxScale},A,C))}c.propTypes={type:o.default.oneOf(Object.values(f)),onLayout:o.default.func,style:o.default.any,children:o.default.any,supportFontScaling:o.default.bool,useDefaultFonts:o.default.bool},c.defaultProps={type:f.regular,supportFontScaling:!0,useDefaultFonts:!1};_e.default=c},801,[3,22,4,569,16,18,439,802,181]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.FontContext=_e.DebugOperation=_e.DebugContext=void 0,_e.addDebugOperation=function(t,e,n){if(g.enableDebugger)try{u.set({enabled:!0,lastOperation:new o(t,e,n)})}catch(t){}},_e.resetDebugOperations=function(){u.set({lastOperation:void 0})},_e.setDebugOperationsEnabled=function(t){g.enableDebugger=t,u.set({enabled:t})},_e.setFonts=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n.set(t)},_e.useDebugContext=function(){return(0,r(d[3]).useReactiveContext)(u).state},_e.useFonts=function(){return(0,r(d[3]).useReactiveContext)(n).state};var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=_e.FontContext=(0,r(d[3]).createReactiveContext)({fontBold:void 0,fontMedium:void 0,fontRegular:void 0,allowFontScaling:!0});var o=_e.DebugOperation=(function(){return(0,e.default)(function e(n,o,u){(0,t.default)(this,e),this.prefix=n,this.text=o,this.type=u||"startup",this.timestamp=(new Date).getTime()},[{key:"getTimestamp",value:function(){return this.timestamp}},{key:"getType",value:function(){return this.type}},{key:"toString",value:function(){return this.text?this.prefix+" - "+this.text:this.prefix}}])})(),u=_e.DebugContext=(0,r(d[3]).createReactiveContext)({enabled:!1,lastOperation:void 0})},802,[3,6,7,803]); __d(function(g,r,_i,_a,m,e,d){function t(t){return t&&'object'==typeof t&&'default'in t?t.default:t}var n,o=r(d[0]),u=t(o),c=t(r(d[1]));function a(){return(a=Object.assign?Object.assign.bind():function(t){for(var n=1;n=0||(c[o]=t[o]);return c}!(function(t){t.equals=function(t,n){return c(t,n)}})(n||(n={}));var i,l=["value","decorator"],s=["children"];function v(t,n){var o;return"function"==typeof i&&(o=i(t,n)),{decoratedState:o,state:t}}e.createReactiveContext=function(t,c){var b,y,p=o.createContext(t),h={};function j(t){void 0===t&&(t=[]);for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{};return s.CssHelper.flatten(e,t,r)}},{key:"getStyleByCssClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.CssHelper.getStyle(e,t)}},{key:"getStyleObjByCssClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.CssHelper.getStyleObj(e,t)}},{key:"getActiveTheme",value:function(){return s.CssHelper.getActiveThemeId()}},{key:"getThemeInUse",value:function(){return s.CssHelper.getInUseThemeId()}},{key:"getThemes",value:function(){return s.CssHelper.getThemes()}},{key:"arrayToObject",value:function(e){return s.CssHelper.arrayToObject(e)}},{key:"applyCustomStyles",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=s.CssHelper.mergeRnStyles((0,_r(d[14]).getDefaultStyles)(),e,(0,_r(d[15]).getDebugStyles)());s.default.set(Object.assign({rnStyles:t},C(),{activeTheme:u.getUserTheme()}))}},{key:"updateCustomStyles",value:(function(){var t=(0,e.default)(function*(e){return e!==u.getUserTheme()&&(yield g.getNewsmemoryConfig().setTheme(e),s.default.set({activeTheme:e}),!0)});return function(e){return t.apply(this,arguments)}})()},{key:"getUserTheme",value:function(){return g.getNewsmemoryConfig().cssTheme}},{key:"getDefaultBackgroundColor",value:function(){var e=s.CssHelper.getActiveBaseColors().background;return e||(s.CssHelper.isActiveThemeDark()?_r(d[11]).colors.grey1010:_r(d[11]).colors.white)}},{key:"getAlternateDefaultBackgroundColor",value:function(){var e=s.CssHelper.getActiveBaseColors().alternateBackground;return e||(s.CssHelper.isActiveThemeDark()?_r(d[11]).colors.grey1200:_r(d[11]).colors.grey200)}},{key:"getDefaultForegroundColor",value:function(){var e=s.CssHelper.getActiveBaseColors().foreground;return e||(s.CssHelper.isActiveThemeDark()?_r(d[11]).colors.white_transparent_135:_r(d[11]).colors.black)}},{key:"isDarkTheme",value:function(){return s.CssHelper.isActiveThemeDark()}},{key:"isAutomaticTheme",value:function(){return s.CssHelper.isActiveThemeAutomatic()}},{key:"resolvePlaceholders",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.CssHelper.resolvePlaceholders(e,t)}}])})(l.default.Component);T.Provider=k,T.use=s.useCss},804,[3,272,6,7,11,13,14,805,16,437,435,439,181,551,811,812]); -__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.CssHelper=void 0,Object.defineProperty(_e,"useCss",{enumerable:!0,get:function(){return n.useCss}});var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),r=_r(d[0])(_r(d[3])),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=a?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(n,s,u):n[s]=e[s]}return n.default=e,r&&r.set(e,n),n})(_r(d[4])),a=["classes"],s=["children"],u=["style"];function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[];return _r(d[5]).CssManager.arrayToObject(e)},flatten:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return _r(d[5]).CssManager.flatten(i.get().state,e,t,r)},getStyle:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _r(d[5]).CssManager.getStyle(i.get().state,e,t)},getStyleObj:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _r(d[5]).CssManager.getStyleObj(i.get().state,e,t)},getInUseThemeId:function(){return _r(d[5]).CssManager.getInUseThemeId(i.get().state)},getInUseTheme:function(){return _r(d[5]).CssManager.getInUseTheme(i.get().state)},getActiveThemeId:function(){return _r(d[5]).CssManager.getActiveThemeId(i.get().state)},getThemes:function(){return _r(d[5]).CssManager.getThemes(i.get().state)},isActiveThemeDark:function(){return _r(d[5]).CssManager.isActiveThemeDark(i.get().state)},isActiveThemeAutomatic:function(){return _r(d[5]).CssManager.isActiveThemeAutomatic(i.get().state)},getActiveBaseColors:function(){return _r(d[5]).CssManager.getActiveBaseColors(i.get().state)},mergeRnStyles:_r(d[6]).CssUtils.mergeRnStyles,resolvePlaceholders:_r(d[6]).CssUtils.resolvePlaceholders},_e.default=i},805,[3,22,4,16,806,807,809]); +__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.Css=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),r=_r(d[0])(_r(d[3])),n=_r(d[0])(_r(d[4])),s=_r(d[0])(_r(d[5])),u=_r(d[0])(_r(d[6])),o=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var o=s?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(n,u,o):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n})(_r(d[7])),l=_r(d[0])(_r(d[8])),a=_r(d[0])(_r(d[9])),i=_r(d[0])(_r(d[10]));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function f(e,t,r){return t=(0,s.default)(t),(0,n.default)(e,v()?Reflect.construct(t,r||[],(0,s.default)(e).constructor):t.apply(e,r))}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v=function(){return!!e})()}var h=o.default,y=h.Consumer,p=h.Provider,C=function(){return{isPortrait:i.default.isPortrait(),isTablet:_r(d[11]).PlatformUtils.isTablet(),isDark:i.default.isDark()}},k=(function(e){function n(){return(0,t.default)(this,n),f(this,n,arguments)}return(0,u.default)(n,e),(0,r.default)(n,[{key:"render",value:function(){return(0,_r(d[12]).jsx)(p,Object.assign({},this.props))}}])})(l.default.Component),T=_e.Css=(function(n){function s(){return(0,t.default)(this,s),f(this,s,arguments)}return(0,u.default)(s,n),(0,r.default)(s,[{key:"componentDidMount",value:function(){this.onSizeChangeId=_r(d[13]).EventRegister.addEventListener(a.default.ON_ORIENTATION_CHANGE,function(){o.default.set(Object.assign({},C()))})}},{key:"componentWillUnmount",value:function(){this.onSizeChangeId&&_r(d[13]).EventRegister.rm(this.onSizeChangeId)}},{key:"render",value:function(){return(0,_r(d[12]).jsx)(y,Object.assign({},this.props))}}],[{key:"flatten",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return o.CssHelper.flatten(e,t,r)}},{key:"getStyleByCssClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.CssHelper.getStyle(e,t)}},{key:"getStyleObjByCssClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.CssHelper.getStyleObj(e,t)}},{key:"getActiveTheme",value:function(){return o.CssHelper.getActiveThemeId()}},{key:"getThemeInUse",value:function(){return o.CssHelper.getInUseThemeId()}},{key:"getThemeClasses",value:function(){var e=s.getThemeInUse();return e?[e,s.isDarkTheme()?"isDarkTheme":"isLightTheme"]:[]}},{key:"getThemes",value:function(){return o.CssHelper.getThemes()}},{key:"arrayToObject",value:function(e){return o.CssHelper.arrayToObject(e)}},{key:"applyCustomStyles",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o.CssHelper.mergeRnStyles((0,_r(d[14]).getDefaultStyles)(),e,(0,_r(d[15]).getDebugStyles)()),r=s.getUserTheme()||o.CssHelper.getDefaultTheme(t);o.default.set(Object.assign({rnStyles:t},C(),{activeTheme:r}))}},{key:"updateCustomStyles",value:(function(){var t=(0,e.default)(function*(e){return e!==s.getUserTheme()&&(yield g.getNewsmemoryConfig().setTheme(e),o.default.set({activeTheme:e}),!0)});return function(e){return t.apply(this,arguments)}})()},{key:"getUserTheme",value:function(){return g.getNewsmemoryConfig().cssTheme}},{key:"getDefaultBackgroundColor",value:function(){var e=o.CssHelper.getActiveBaseColors().background;return e||(o.CssHelper.isActiveThemeDark()?_r(d[11]).colors.grey1010:_r(d[11]).colors.white)}},{key:"getAlternateDefaultBackgroundColor",value:function(){var e=o.CssHelper.getActiveBaseColors().alternateBackground;return e||(o.CssHelper.isActiveThemeDark()?_r(d[11]).colors.grey1200:_r(d[11]).colors.grey200)}},{key:"getDefaultForegroundColor",value:function(){var e=o.CssHelper.getActiveBaseColors().foreground;return e||(o.CssHelper.isActiveThemeDark()?_r(d[11]).colors.white_transparent_135:_r(d[11]).colors.black)}},{key:"getDefaultSearchColor",value:function(){var e=o.CssHelper.getActiveBaseColors().search;return e||_r(d[16]).SEARCH_COLOR}},{key:"isDarkTheme",value:function(){return o.CssHelper.isActiveThemeDark()}},{key:"isAutomaticTheme",value:function(){return o.CssHelper.isActiveThemeAutomatic()}},{key:"resolvePlaceholders",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.CssHelper.resolvePlaceholders(e,t)}}])})(l.default.Component);T.Provider=k,T.use=o.useCss},804,[3,272,6,7,11,13,14,805,16,437,435,439,181,551,811,813,812]); +__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.CssHelper=void 0,Object.defineProperty(_e,"useCss",{enumerable:!0,get:function(){return n.useCss}});var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),r=_r(d[0])(_r(d[3])),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=a?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(n,s,u):n[s]=e[s]}return n.default=e,r&&r.set(e,n),n})(_r(d[4])),a=["classes"],s=["children"],u=["style"];function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[];return _r(d[5]).CssManager.arrayToObject(e)},flatten:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return _r(d[5]).CssManager.flatten(i.get().state,e,t,r)},getStyle:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _r(d[5]).CssManager.getStyle(i.get().state,e,t)},getStyleObj:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _r(d[5]).CssManager.getStyleObj(i.get().state,e,t)},getInUseThemeId:function(){return _r(d[5]).CssManager.getInUseThemeId(i.get().state)},getInUseTheme:function(){return _r(d[5]).CssManager.getInUseTheme(i.get().state)},getActiveThemeId:function(){return _r(d[5]).CssManager.getActiveThemeId(i.get().state)},getThemes:function(){return _r(d[5]).CssManager.getThemes(i.get().state)},isActiveThemeDark:function(){return _r(d[5]).CssManager.isActiveThemeDark(i.get().state)},isActiveThemeAutomatic:function(){return _r(d[5]).CssManager.isActiveThemeAutomatic(i.get().state)},getActiveBaseColors:function(){return _r(d[5]).CssManager.getActiveBaseColors(i.get().state)},mergeRnStyles:_r(d[6]).CssUtils.mergeRnStyles,resolvePlaceholders:_r(d[6]).CssUtils.resolvePlaceholders,getDefaultTheme:_r(d[6]).CssUtils.getDefaultTheme},_e.default=i},805,[3,22,4,16,806,807,809]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.useCss=function(n){return(0,r(d[0]).useReactiveContext)(t,n)};var t=(0,r(d[0]).createReactiveContext)({rnStyles:{}});e.default=t},806,[803]); -__d(function(g,r,_i2,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.CssManager=void 0;var t,n=r(d[0])(r(d[1])),i=r(d[0])(r(d[2])),o=r(d[3]),s=["tablet","phone","ios","android","native","web","windows","landscape","portrait"];!(function(t){function l(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n={},i={};return Object.keys(t).forEach(function(o){o.match(/mw[0-9]{2,}/)?n[o]=t[o]:i[o]=t[o]}),{mw:n,rest:i}}function v(t,n){var i=t.window,o={};if(i&&i.width){for(var s=[],l=Object.keys(n),v=0;v0&&void 0!==arguments[0]?arguments[0]:{},n=t.rnStyles;if(!n)return{};var i=[],o=n.base,s=n.baseLight,l=n.baseDark;null!==o&&void 0!==o&&o.colors&&i.push(u(t,o.colors));var v=h(t);return 1===(null===v||void 0===v?void 0:v.dark)?null!==l&&void 0!==l&&l.colors&&i.push(u(t,l.colors)):null!==s&&void 0!==s&&s.colors&&i.push(u(t,s.colors)),null!==v&&void 0!==v&&v.colors&&i.push(u(t,v.colors)),c(i)}function y(t,n){var i=t.rnStyles;if(!i||!n)return{};var o=[],s=i.base,l=i.baseLight,v=i.baseDark;null!==s&&void 0!==s&&s.styles&&o.push(u(t,s.styles[n]));var y,b,p=h(t);return 1===(null===p||void 0===p?void 0:p.dark)?null!==v&&void 0!==v&&v.styles&&o.push(u(t,v.styles[n])):null!==l&&void 0!==l&&l.styles&&o.push(u(t,l.styles[n])),null!==p&&void 0!==p&&p.styles&&o.push(u(t,p.styles[n])),y=c(o),b=f(t),r(d[5]).CssUtils.resolvePlaceholders(y,b)}function b(t){var i=t.classes,o=t.toggle,s=t.active,l=t.cssKey,v=[];if(i&&i.length){if(v.push.apply(v,(0,n.default)(i)),o)for(var u=0;u2&&void 0!==arguments[2]?arguments[2]:{},o=b(Object.assign({classes:n},i));return Array.isArray(o)?o.map(function(n){return y(t,n)}):[]}function j(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.ignoreKeys;return c(p(t,n,i),o)}function w(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=S(n);return null!==(t=n.rnStyles)&&void 0!==t&&t.themes&&i?n.rnStyles.themes[i]:void 0}function S(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.rnStyles,i=void 0===n?{}:n,o=t.isDark,s=t.activeTheme,l=i.themes;if("object"==typeof l){var v=Object.keys(l).filter(function(t){return"object"==typeof l[t]});v.length>0&&(s||(s=v.find(function(t){var n;return 1===(null===(n=l[t])||void 0===n?void 0:n.default)})),"automatic"===s&&(s=v.filter(function(t){var n;return"automatic"!==t&&1===(null===(n=l[t])||void 0===n?void 0:n.automatic)}).find(function(t){var n;return 1===(null===(n=l[t])||void 0===n?void 0:n.dark)===o})),s||(s=v[0]))}return s}t.arrayToObject=c,t.getActiveBaseColors=f,t.flatten=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return o.StyleSheet.flatten([].concat((0,n.default)(i),[j(t,s,l)]))},t.getStyle=j,t.getStyleObj=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.ignoreKeys;return c(p(t,n,i),o)},t.getThemes=function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return null!==n&&void 0!==n&&null!==(t=n.rnStyles)&&void 0!==t&&t.themes?Object.keys(n.rnStyles.themes).map(function(t){return Object.assign({},n.rnStyles.themes[t],{key:t})}):[]},t.isActiveThemeDark=function(){var t;return 1===(null===(t=w(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}))||void 0===t?void 0:t.dark)},t.isActiveThemeAutomatic=function(){return"automatic"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).activeTheme},t.getInUseTheme=w,t.getInUseThemeId=S,t.getActiveThemeId=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.rnStyles,i=void 0===n?{}:n,o=t.activeTheme;if(o)return o;var s=i.themes;return"object"==typeof s?Object.keys(s).find(function(t){var n;return"object"==typeof s[t]&&1===(null===(n=s[t])||void 0===n?void 0:n.default)}):void 0}})(t||(e.CssManager=t={}))},807,[3,22,4,18,808,809,810]); +__d(function(g,r,_i2,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.CssManager=void 0;var t,n=r(d[0])(r(d[1])),i=r(d[0])(r(d[2])),o=r(d[3]),s=["tablet","phone","ios","android","native","web","windows","landscape","portrait"];!(function(t){function l(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n={},i={};return Object.keys(t).forEach(function(o){o.match(/mw[0-9]{2,}/)?n[o]=t[o]:i[o]=t[o]}),{mw:n,rest:i}}function u(t,n){var i=t.window,o={};if(i&&i.width){for(var s=[],l=Object.keys(n),u=0;u0&&void 0!==arguments[0]?arguments[0]:{},n=t.rnStyles;if(!n)return{};var i=[],o=n.base,s=n.baseLight,l=n.baseDark;null!==o&&void 0!==o&&o.colors&&i.push(v(t,o.colors));var u=h(t);return 1===(null===u||void 0===u?void 0:u.dark)?null!==l&&void 0!==l&&l.colors&&i.push(v(t,l.colors)):null!==s&&void 0!==s&&s.colors&&i.push(v(t,s.colors)),null!==u&&void 0!==u&&u.colors&&i.push(v(t,u.colors)),c(i)}function y(t,n){var i=t.rnStyles;if(!i||!n)return{};var o=[],s=i.base,l=i.baseLight,u=i.baseDark;null!==s&&void 0!==s&&s.styles&&o.push(v(t,s.styles[n]));var y,b,p=h(t);return 1===(null===p||void 0===p?void 0:p.dark)?null!==u&&void 0!==u&&u.styles&&o.push(v(t,u.styles[n])):null!==l&&void 0!==l&&l.styles&&o.push(v(t,l.styles[n])),null!==p&&void 0!==p&&p.styles&&o.push(v(t,p.styles[n])),y=c(o),b=f(t),r(d[5]).CssUtils.resolvePlaceholders(y,b)}function b(t){var i=t.classes,o=t.toggle,s=t.active,l=t.cssKey,u=[];if(i&&i.length){if(u.push.apply(u,(0,n.default)(i)),o)for(var v=0;v2&&void 0!==arguments[2]?arguments[2]:{},o=b(Object.assign({classes:n},i));return Array.isArray(o)?o.map(function(n){return y(t,n)}):[]}function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.ignoreKeys;return c(p(t,n,i),o)}function j(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=S(n);return null!==(t=n.rnStyles)&&void 0!==t&&t.themes&&i?n.rnStyles.themes[i]:void 0}function S(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.rnStyles,i=void 0===n?{}:n,o=t.isDark,s=t.activeTheme,l=i.themes;if("object"==typeof l){var u=Object.keys(l).filter(function(t){return"object"==typeof l[t]});u.length>0&&(s||(s=u.find(function(t){var n;return 1===(null===(n=l[t])||void 0===n?void 0:n.default)})),"automatic"===s&&(s=u.filter(function(t){var n;return"automatic"!==t&&1===(null===(n=l[t])||void 0===n?void 0:n.automatic)}).find(function(t){var n;return 1===(null===(n=l[t])||void 0===n?void 0:n.dark)===o})),s||(s=u[0]))}return s}t.arrayToObject=c,t.getActiveBaseColors=f,t.flatten=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return o.StyleSheet.flatten([].concat((0,n.default)(i),[w(t,s,l)]))},t.getStyle=w,t.getStyleObj=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.ignoreKeys;return c(p(t,n,i),o)},t.getThemes=function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return null!==n&&void 0!==n&&null!==(t=n.rnStyles)&&void 0!==t&&t.themes?Object.keys(n.rnStyles.themes).map(function(t){return Object.assign({},n.rnStyles.themes[t],{key:t})}):[]},t.isActiveThemeDark=function(){var t;return 1===(null===(t=j(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}))||void 0===t?void 0:t.dark)},t.isActiveThemeAutomatic=function(){return"automatic"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).activeTheme},t.getInUseTheme=j,t.getInUseThemeId=S,t.getActiveThemeId=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.rnStyles,i=void 0===n?{}:n,o=t.activeTheme;return o||r(d[5]).CssUtils.getDefaultTheme(i)}})(t||(e.CssManager=t={}))},807,[3,22,4,18,808,809,810]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.dpToPx=function(o){return n.PixelRatio.roundToNearestPixel(o)*n.PixelRatio.get()},e.fontScale=function(){return n.PixelRatio.getFontScale()},e.isAndroid=function(){return"android"===n.Platform.OS},e.isIOS=function(){return"ios"===n.Platform.OS||"macos"===n.Platform.OS},e.isWeb=function(){return"web"===n.Platform.OS},e.isWindows=function(){return"windows"===n.Platform.OS},e.os=function(){return n.Platform.OS};var n=r(d[0])},808,[18]); -__d(function(g,r,i,a,m,_e,d){var CssUtils;Object.defineProperty(_e,"__esModule",{value:!0}),_e.CssUtils=void 0,(function(_CssUtils){function filterAutomaticThemes(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!r(d[0]).Utils.isEmpty(t)){var n=Object.keys(t).filter(function(e){return 1===t[e].automatic});if(!r(d[0]).Utils.isEmpty(n)){var s=n.filter(function(e){return 0===t[e].dark}),l=n.filter(function(e){return 1===t[e].dark});r(d[0]).Utils.isEmpty(s)||Object.keys(e).filter(function(t){return 1===e[t].automatic&&0===e[t].dark}).forEach(function(t){return delete e[t]}),r(d[0]).Utils.isEmpty(l)||Object.keys(e).filter(function(t){return 1===e[t].automatic&&1===e[t].dark}).forEach(function(t){return delete e[t]})}var u=Object.keys(t).filter(function(e){return 1===t[e].default});r(d[0]).Utils.isEmpty(u)||Object.keys(e).filter(function(t){return 1===e[t].default}).forEach(function(t){return delete e[t]})}}function mergeRnStyles(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s0&&void 0!==arguments[0]?arguments[0]:{},params=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},paramKeys=Object.keys(params);return 0===paramKeys.length?style:Object.keys(style).reduce(function(prev,key){var rule=style[key];if("string"!=typeof rule||!rule.match("{.+}"))return prev[key]=rule,prev;var containsParam=paramKeys.some(function(e){return rule.includes("{"+e+"}")});if(!containsParam)return prev[key]=rule,prev;var singleValue=!!rule.match(/^\{[^{]+\}$/);if(paramKeys.forEach(function(e){rule=rule.replace(new RegExp("{"+e+"}","gm"),params[e])}),singleValue)return prev[key]=rule,prev;try{prev[key]=eval(rule)}catch(e){}return prev},{})}_CssUtils.mergeRnStyles=mergeRnStyles,_CssUtils.resolvePlaceholders=resolvePlaceholders})(CssUtils||(_e.CssUtils=CssUtils={}))},809,[810]); +__d(function(g,r,i,a,m,_e,d){var CssUtils;Object.defineProperty(_e,"__esModule",{value:!0}),_e.CssUtils=void 0,(function(_CssUtils){function filterAutomaticThemes(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!r(d[0]).Utils.isEmpty(t)){var n=Object.keys(t).filter(function(e){return 1===t[e].automatic});if(!r(d[0]).Utils.isEmpty(n)){var s=n.filter(function(e){return 0===t[e].dark}),l=n.filter(function(e){return 1===t[e].dark});r(d[0]).Utils.isEmpty(s)||Object.keys(e).filter(function(t){return 1===e[t].automatic&&0===e[t].dark}).forEach(function(t){return delete e[t]}),r(d[0]).Utils.isEmpty(l)||Object.keys(e).filter(function(t){return 1===e[t].automatic&&1===e[t].dark}).forEach(function(t){return delete e[t]})}var u=Object.keys(t).filter(function(e){return 1===t[e].default});r(d[0]).Utils.isEmpty(u)||Object.keys(e).filter(function(t){return 1===e[t].default}).forEach(function(t){return delete e[t]})}}function getDefaultTheme(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).themes;if("object"==typeof e)return Object.keys(e).find(function(t){var n;return"object"==typeof e[t]&&1===(null===(n=e[t])||void 0===n?void 0:n.default)})}function mergeRnStyles(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s0&&void 0!==arguments[0]?arguments[0]:{},params=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},paramKeys=Object.keys(params);return 0===paramKeys.length?style:Object.keys(style).reduce(function(prev,key){var rule=style[key];if("string"!=typeof rule||!rule.match("{.+}"))return prev[key]=rule,prev;var containsParam=paramKeys.some(function(e){return rule.includes("{"+e+"}")});if(!containsParam)return prev[key]=rule,prev;var singleValue=!!rule.match(/^\{[^{]+\}$/);if(paramKeys.forEach(function(e){rule=rule.replace(new RegExp("{"+e+"}","gm"),params[e])}),singleValue)return prev[key]=rule,prev;try{prev[key]=eval(rule)}catch(e){}return prev},{})}_CssUtils.getDefaultTheme=getDefaultTheme,_CssUtils.mergeRnStyles=mergeRnStyles,_CssUtils.resolvePlaceholders=resolvePlaceholders})(CssUtils||(_e.CssUtils=CssUtils={}))},809,[810]); __d(function(g,r,i,_a,m,e,d){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.Utils=void 0,(function(t){function n(t){return void 0===t||null===t}t.mergeObjects=function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=Object.assign({},n);return Object.keys(o).forEach(function(f){void 0!==o[f]&&(Array.isArray(o[f])&&Array.isArray(n[f])?c[f]=o[f]:"object"==typeof o[f]&&"object"==typeof n[f]?c[f]=t(n[f],o[f]):c[f]=o[f])}),c},t.isEmpty=function(t){if(!n(t)){if("string"==typeof t)return 0===t.length;if(Array.isArray(t))return 0===t.length;if("object"==typeof t)return 0===Object.keys(t).length}return!0},t.arrayToObject=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o={};return t.forEach(function(t){Object.keys(t).forEach(function(c){n.includes(c)||(o[c]=t[c])})}),o}})(t||(e.Utils=t={}))},810,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getDefaultStyles=function(){return{base:{colors:{foreground:r(d[0]).colors.black,background:r(d[0]).colors.white,alternateBackground:r(d[0]).colors.grey200},styles:{"newsmemory-article-container-splitscreen":{borderColor:r(d[0]).colors.articleContainerBorderColor,landscape:{borderLeftWidth:1},portrait:{borderTopWidth:1}},"newsmemory-thumbnail-download-icon-disabled":{color:r(d[0]).colors.md_grey_400},"drawer-item-icon-publications":{tintColor:r(d[0]).colors.black,width:32.5,height:25},"newsmemory-article-header-icon-toggleArticleExtra":{tintColor:r(d[0]).colors.white}}},baseDark:{colors:{foreground:r(d[0]).colors.white_transparent_135,background:r(d[0]).colors.grey1010,alternateBackground:r(d[0]).colors.grey1200},styles:{spinner:{color:"{foreground}"},"hint-progress-spinner":{color:"{alternateBackground}"},"hint-progress-spinner-text":{color:"{alternateBackground}"},"newsmemory-article-container":{backgroundColor:"{alternateBackground}"},"newsmemory-article-container-splitscreen":{borderColor:"{foreground}"},"newsmemory-index-item-image":{borderColor:"{foreground}"},"newsmemory-article-footer-separator":{backgroundColor:"{foreground}"},"newsmemory-article-header-separator":{backgroundColor:"{foreground}"},"newsmemory-article-mode-sub-header":{backgroundColor:"{alternateBackground}"},"newsmemory-article-mode-sub-header-info":{color:"{foreground}"},"newsmemory-article-mode-sub-header-section":{color:"{foreground}"},"newsmemory-article-refresh-control":{backgroundColor:"{alternateBackground}",color:"{foreground}"},"newsmemory-article-text":{backgroundColor:"{background}"},"newsmemory-article-zoom-level-parent":{backgroundColor:"{background}"},"newsmemory-article-zoom-level-text":{color:"{foreground}"},"newsmemory-copyright-footer":{backgroundColor:"{background}"},"newsmemory-copyright-text":{color:"{foreground}"},"newsmemory-download-circle":{backgroundColor:"{alternateBackground}"},"newsmemory-download-circle-text":{textShadowOffset:{height:0,width:0},textShadowRadius:0,color:"{foreground}"},"newsmemory-footer":{backgroundColor:"{alternateBackground}",borderColor:"{foreground}"},"newsmemory-footer-element-active":{backgroundColor:"{foreground}"},"newsmemory-footer-element-inactive":{color:"{foreground}",tintColor:"{foreground}"},"newsmemory-footer-icon":{color:"{foreground}",tintColor:"{foreground}"},"newsmemory-footer-icon-active":{color:"{alternateBackground}",tintColor:"{alternateBackground}"},"newsmemory-footer-more-icon":{color:"{foreground}",tintColor:"{foreground}"},"newsmemory-footer-more-menu":{color:"{alternateBackground}"},"newsmemory-footer-more-menu-text":{color:"{foreground}"},"newsmemory-footer-text":{color:"{foreground}"},"newsmemory-footer-text-active":{color:"{alternateBackground}"},"newsmemory-index-container":{backgroundColor:"{background}"},"newsmemory-index-first-level-page":{color:"{foreground}"},"newsmemory-index-first-level-section":{color:"{foreground}"},"newsmemory-index-second-level-text":{color:"{foreground}"},"newsmemory-index-second-level-bullet":{color:"{foreground}"},"newsmemory-index-second-level-page":{color:"{foreground}"},"newsmemory-index-second-level-title":{color:"{foreground}"},"newsmemory-index-text":{color:"{foreground}"},"newsmemory-navigation-text":{color:"{foreground}"},"newsmemory-navigation-text-parent":{backgroundColor:"{alternateBackground}"},"newsmemory-pages-container":{backgroundColor:"{background}"},"newsmemory-screen":{backgroundColor:"{alternateBackground}",color:"{foreground}"},"newsmemory-search":{color:"{foreground}"},"newsmemory-search-container":{backgroundColor:"{alternateBackground}"},"newsmemory-search-header-container":{backgroundColor:"{alternateBackground}"},"newsmemory-search-input":{backgroundColor:"{background}",borderColor:"{alternateBackground}",color:"{foreground}"},"newsmemory-search-list":{backgroundColor:"{background}"},"newsmemory-separator":{backgroundColor:"{alternateBackground}"},"newsmemory-thumbnail-download-icon":{color:"{foreground}"},"newsmemory-thumbnails-container":{backgroundColor:"{alternateBackground}"},"newsmemory-thumbnails-page-text":{backgroundColor:"{alternateBackground}",color:"{foreground}"},"newsmemory-thumbnails-page-text-selected":{backgroundColor:r(d[0]).colors.grey400,color:"{alternateBackground}",borderWidth:1,borderColor:"{alternateBackground}"},"newsmemory-thumbnails-pages":{borderColor:"{foreground}"},"newsmemory-thumbnails-pages-selected":{borderColor:"{alternateBackground}"},"newsmemory-thumbnails-section-container":{backgroundColor:"{alternateBackground}"},"newsmemory-thumbnails-section-content":{backgroundColor:"{background}"},"newsmemory-thumbnails-section-text":{color:"{foreground}"},"system-newsmemory-navigation-bar":{backgroundColor:"{alternateBackground}"},"system-newsmemory-status-bar":{backgroundColor:"{background}"},optionspage:{backgroundColor:"{alternateBackground}"},"newsmemory-search-close-icon":{opacity:.6},"newsmemory-article-header-icon":{opacity:.6,src:"default"},"newsmemory-index-header-icon":{opacity:.6,src:"default"},"optionspage-specialsections-close-icon":{opacity:.6},"rss-tab-item":{backgroundColor:"{background}"},"rss-tab-item-text-inactive":{color:"{foreground}"},"rss-content-parent":{backgroundColor:"{alternateBackground}"},"rss-content":{backgroundColor:"{alternateBackground}"},"rss-footer-element":{backgroundColor:"{background}"},"tile-title":{color:"{foreground}"},"tile-grid-image-title":{color:r(d[0]).colors.grey300},"tile-grid-title-epaper":{color:r(d[0]).colors.grey300},"tile-card-title-epaper":{color:"{foreground}"},"tile-summary":{color:"{foreground}"},"tile-header-text-part":{color:"{foreground}"},"tile-grid-image-header-text":{color:r(d[0]).colors.grey300},"tile-halfbox-text":{color:"{foreground}"},"article-pager":{backgroundColor:"{alternateBackground}"},"article-container":{backgroundColor:"{alternateBackground}"},"article-header":{backgroundColor:"{alternateBackground}"},"article-top-content":{backgroundColor:"{alternateBackground}"},"article-header-image-date":{color:"{foreground}"},"article-title":{color:"{foreground}"},"article-body":{backgroundColor:"{alternateBackground}",color:"{foreground}"},"article-body-parent":{backgroundColor:"{background}"},"rss-drawer":{backgroundColor:"{background}"},"drawer-item-parent-inactive":{backgroundColor:"{background}"},"drawer-item-text-inactive":{color:"{foreground}"},"icon-gallery":{tintColor:r(d[0]).colors.grey300},"settings-screen":{backgroundColor:"{alternateBackground}"},"newsmemory-article-caption":{color:"{foreground}"},"navigation-icon":{color:"{foreground}"},"rss-button":{backgroundColor:"{background}"},"rss-button-icon":{color:"{foreground}"},"epaper-logo-image":{filters:[{filter:r(d[1]).FILTERS.GRAYSCALE},{filter:r(d[1]).FILTERS.INVERT}]},"navigation-header-logo":{filters:[{filter:r(d[1]).FILTERS.GRAYSCALE},{filter:r(d[1]).FILTERS.INVERT}]},"drawer-header-logo":{filters:[{filter:r(d[1]).FILTERS.GRAYSCALE},{filter:r(d[1]).FILTERS.INVERT}]},"drawer-item-icon":{filters:[{filter:r(d[1]).FILTERS.GRAYSCALE},{filter:r(d[1]).FILTERS.INVERT}],image:"inherit"}}},themes:{default:{automatic:1,dark:0,default:1,name:g.strings("theme_light"),styles:{}},darkTheme:{automatic:1,dark:1,default:0,name:g.strings("theme_dark"),styles:{}},automatic:{name:g.strings("theme_auto")}}}}},811,[439,604]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getDebugStyles=function(){if(g.cssDebug)return{};return{}}},812,[]); -__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(r,u,i):r[u]=e[u]}return r.default=e,n&&n.set(e,r),r})(_r(d[3])),r=_r(d[4]),a=["visible","useNativeDriver","onBackButtonPress","onBackdropPress","containerStyle"];function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}var u=r.StyleSheet.create({container:{position:"absolute",top:0,bottom:0,start:0,right:0,justifyContent:"center",alignItems:"center",backgroundColor:_r(d[5]).colors.transparent600}});function i(t){var o=t.visible,i=t.useNativeDriver,c=t.onBackButtonPress,s=t.onBackdropPress,f=t.containerStyle,l=(0,e.default)(t,a);if(!o)return null;var p=r.Dimensions.get("window").width,v=(0,n.useRef)(new r.Animated.Value(0)).current,y=(0,n.useRef)(0),b=(0,n.useCallback)(function(){"function"==typeof s&&s()},[]),k=(0,n.useCallback)(function(){"function"==typeof c&&c()},[]);return(0,n.useEffect)(function(){var e;e=0===y.current?1:0,r.Animated.timing(v,{toValue:e,duration:300,useNativeDriver:i}).start(function(t){t.finished&&(y.current=e)});var t=r.BackHandler.addEventListener("hardwareBackPress",k);return function(){t&&t.remove()}},[o]),(0,_r(d[6]).jsx)(r.Animated.View,Object.assign({style:[u.container,{opacity:v,padding:.05*p},f],onTouchEnd:b},l))}i.propTypes={visible:t.default.bool,useNativeDriver:t.default.bool,onBackButtonPress:t.default.func,onBackdropPress:t.default.func,containerStyle:t.default.oneOfType([t.default.object,t.default.array,t.default.number])},i.defaultProps={visible:!1,useNativeDriver:!0};_e.default=i},813,[3,4,569,16,18,439,181]); -__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.ModalStyle=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),o=_r(d[0])(_r(d[3])),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=r?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(n,a,l):n[a]=e[a]}return n.default=e,o&&o.set(e,n),n})(_r(d[4])),r=_r(d[5]),a=_r(d[0])(_r(d[6])),l=_r(d[0])(_r(d[7])),i=_r(d[0])(_r(d[8])),u=_r(d[0])(_r(d[9])),f=["visible","onClose","onCancel","onConfirm","onStateChange","onHide","hasFooter","children","supportedOrientations","backgroundColor","foregroundColor","containerStyle","style","needsKeyboardOffsetCheck","cancelable"];function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}var c=r.StyleSheet.create({modal:{padding:10,justifyContent:"center",alignItems:"center"},container:{padding:10,borderRadius:20,width:"100%",maxWidth:600,backgroundColor:_r(d[10]).colors.white,overflow:"hidden"}}),p=(0,n.forwardRef)(function(o,s){var p=o.visible,b=o.onClose,y=o.onCancel,C=o.onConfirm,h=o.onStateChange,O=o.onHide,v=o.hasFooter,k=o.children,S=o.supportedOrientations,j=o.backgroundColor,w=o.foregroundColor,P=o.containerStyle,T=o.style,_=o.needsKeyboardOffsetCheck,D=o.cancelable,M=(0,t.default)(o,f),x=l.default.getSafeAreaInsets(),F=x.top,I=x.bottom,B=l.default.getSafeArea().height,H=(0,n.useState)(!1),E=(0,e.default)(H,2),K=E[0],W=E[1],R=(0,n.useState)(F),A=(0,e.default)(R,2),N=A[0],V=A[1],L=function(){return W(!1)},U=function(e){"function"==typeof e&&e()||L()},q=function(){return"function"==typeof O&&O()},z=function(){return U(b)},G={},J={};return _r(d[10]).PlatformUtils.isIOS()&&(_&&(G.onLayout=function(e){var t=e.nativeEvent;t.layout.height=i.props.panResponderThreshold||Math.abs(t.dy)>=i.props.panResponderThreshold;return o&&i.props.onSwipeStart&&i.props.onSwipeStart(t),i.currentSwipingDirection=i.getSwipingDirection(t),e=i.createAnimationEventForSwipe(),o}return!1},onStartShouldSetPanResponder:function(e,n){return!(e._dispatchInstances&&e._dispatchInstances.some(function(e){return/scrollview|flatlist/i.test(e.type)})&&i.shouldPropagateSwipe(e,n)&&i.props.scrollTo&&i.props.scrollOffset>0)&&(i.props.onSwipeStart&&i.props.onSwipeStart(n),i.currentSwipingDirection=null,!0)},onPanResponderMove:function(n,t){if(!i.currentSwipingDirection){if(0===t.dx&&0===t.dy)return;i.currentSwipingDirection=i.getSwipingDirection(t),e=i.createAnimationEventForSwipe()}if(i.isSwipeDirectionAllowed(t)){var o=1-i.calcDistancePercentage(t);i.backdropRef&&i.backdropRef.transitionTo({opacity:i.props.backdropOpacity*o}),e(n,t),i.props.onSwipeMove&&i.props.onSwipeMove(o,t)}else if(i.props.scrollTo)if(i.props.scrollHorizontal){var r=-t.dx;r>i.props.scrollOffsetMax&&(r-=(r-i.props.scrollOffsetMax)/2),i.props.scrollTo({x:r,animated:!1})}else{var a=-t.dy;a>i.props.scrollOffsetMax&&(a-=(a-i.props.scrollOffsetMax)/2),i.props.scrollTo({y:a,animated:!1})}},onPanResponderRelease:function(e,n){if(i.getAccDistancePerDirection(n)>i.props.swipeThreshold&&i.isSwipeDirectionAllowed(n)){if(i.props.onSwipeComplete)return i.inSwipeClosingState=!0,void i.props.onSwipeComplete({swipingDirection:i.getSwipingDirection(n)},n);if(i.props.onSwipe)return i.inSwipeClosingState=!0,void i.props.onSwipe()}i.props.onSwipeCancel&&i.props.onSwipeCancel(n),i.backdropRef&&i.backdropRef.transitionTo({opacity:i.props.backdropOpacity}),s.Animated.spring(i.state.pan,{toValue:{x:0,y:0},bounciness:0,useNativeDriver:!1}).start(),i.props.scrollTo&&i.props.scrollOffset>i.props.scrollOffsetMax&&i.props.scrollTo({y:i.props.scrollOffsetMax,animated:!0})}})},i.getAccDistancePerDirection=function(e){switch(i.currentSwipingDirection){case'up':return-e.dy;case'down':return e.dy;case'right':return e.dx;case'left':return-e.dx;default:return 0}},i.getSwipingDirection=function(e){return Math.abs(e.dx)>Math.abs(e.dy)?e.dx>0?'right':'left':e.dy>0?'down':'up'},i.calcDistancePercentage=function(e){switch(i.currentSwipingDirection){case'down':return(e.moveY-e.y0)/((i.props.deviceHeight||i.state.deviceHeight)-e.y0);case'up':return(0,_r(d[12]).reversePercentage)(e.moveY/e.y0);case'left':return(0,_r(d[12]).reversePercentage)(e.moveX/e.x0);case'right':return(e.moveX-e.x0)/((i.props.deviceWidth||i.state.deviceWidth)-e.x0);default:return 0}},i.createAnimationEventForSwipe=function(){return'right'===i.currentSwipingDirection||'left'===i.currentSwipingDirection?s.Animated.event([null,{dx:i.state.pan.x}],{useNativeDriver:!1}):s.Animated.event([null,{dy:i.state.pan.y}],{useNativeDriver:!1})},i.isDirectionIncluded=function(e){return Array.isArray(i.props.swipeDirection)?i.props.swipeDirection.includes(e):i.props.swipeDirection===e},i.isSwipeDirectionAllowed=function(e){var n=e.dy,t=e.dx,o=n>0,r=n<0,a=t<0,s=t>0;return!('up'!==i.currentSwipingDirection||!i.isDirectionIncluded('up')||!r)||(!('down'!==i.currentSwipingDirection||!i.isDirectionIncluded('down')||!o)||(!('right'!==i.currentSwipingDirection||!i.isDirectionIncluded('right')||!s)||!('left'!==i.currentSwipingDirection||!i.isDirectionIncluded('left')||!a)))},i.handleDimensionsUpdate=function(){if(!i.props.deviceHeight&&!i.props.deviceWidth){var e=s.Dimensions.get('window').width,n=s.Dimensions.get('window').height;e===i.state.deviceWidth&&n===i.state.deviceHeight||i.setState({deviceWidth:e,deviceHeight:n})}},i.open=function(){i.isTransitioning||(i.isTransitioning=!0,i.backdropRef&&i.backdropRef.transitionTo({opacity:i.props.backdropOpacity},i.props.backdropTransitionInTiming),i.state.isSwipeable&&i.state.pan.setValue({x:0,y:0}),i.contentRef&&(i.props.onModalWillShow&&i.props.onModalWillShow(),null==i.interactionHandle&&(i.interactionHandle=s.InteractionManager.createInteractionHandle()),i.contentRef.animate(i.animationIn,i.props.animationInTiming).then(function(){i.isTransitioning=!1,i.interactionHandle&&(s.InteractionManager.clearInteractionHandle(i.interactionHandle),i.interactionHandle=null),i.props.isVisible?i.props.onModalShow():i.close()})))},i.close=function(){if(!i.isTransitioning){i.isTransitioning=!0,i.backdropRef&&i.backdropRef.transitionTo({opacity:0},i.props.backdropTransitionOutTiming);var e=i.animationOut;i.inSwipeClosingState&&(i.inSwipeClosingState=!1,'up'===i.currentSwipingDirection?e='slideOutUp':'down'===i.currentSwipingDirection?e='slideOutDown':'right'===i.currentSwipingDirection?e='slideOutRight':'left'===i.currentSwipingDirection&&(e='slideOutLeft')),i.contentRef&&(i.props.onModalWillHide&&i.props.onModalWillHide(),null==i.interactionHandle&&(i.interactionHandle=s.InteractionManager.createInteractionHandle()),i.contentRef.animate(e,i.props.animationOutTiming).then(function(){i.isTransitioning=!1,i.interactionHandle&&(s.InteractionManager.clearInteractionHandle(i.interactionHandle),i.interactionHandle=null),i.props.isVisible?i.open():i.setState({showContent:!1},function(){i.setState({isVisible:!1},function(){i.props.onModalHide()})})}))}},i.makeBackdrop=function(){if(!i.props.hasBackdrop)return null;i.props.customBackdrop&&!a.isValidElement(i.props.customBackdrop)&&console.warn('Invalid customBackdrop element passed to Modal. You must provide a valid React element.');var e=i.props,n=e.customBackdrop,t=e.backdropColor,o=e.useNativeDriver,r=e.useNativeDriverForBackdrop,p=e.onBackdropPress,u=!!i.props.customBackdrop,f=[{width:i.getDeviceWidth(),height:i.getDeviceHeight(),backgroundColor:i.state.showContent&&!u?t:'transparent'}],h=a.createElement(c.View,{ref:function(e){return i.backdropRef=e},useNativeDriver:void 0!==r?r:o,style:[l.default.backdrop,f]},u&&n);return u?h:a.createElement(s.TouchableWithoutFeedback,{onPress:p},h)};var f=(0,_r(d[12]).buildAnimations)(b(e)),w=f.animationIn,S=f.animationOut;return i.animationIn=w,i.animationOut=S,i.state.isSwipeable&&(i.state=Object.assign({},i.state,{pan:new s.Animated.ValueXY}),i.buildPanResponder()),e.isVisible&&(i.state=Object.assign({},i.state,{isVisible:!0,showContent:!0})),i}return(0,r.default)(h,p),(0,i.default)(h,[{key:"componentDidMount",value:function(){this.props.onSwipe&&console.warn('`` is deprecated and will be removed starting from 13.0.0. Use `` instead.'),this.didUpdateDimensionsEmitter=s.DeviceEventEmitter.addListener('didUpdateDimensions',this.handleDimensionsUpdate),this.state.isVisible&&this.open(),s.BackHandler.addEventListener('hardwareBackPress',this.onBackButtonPress)}},{key:"componentWillUnmount",value:function(){s.BackHandler.removeEventListener('hardwareBackPress',this.onBackButtonPress),this.didUpdateDimensionsEmitter&&this.didUpdateDimensionsEmitter.remove(),this.interactionHandle&&(s.InteractionManager.clearInteractionHandle(this.interactionHandle),this.interactionHandle=null)}},{key:"componentDidUpdate",value:function(e){if(this.props.animationIn!==e.animationIn||this.props.animationOut!==e.animationOut){var n=(0,_r(d[12]).buildAnimations)(b(this.props)),i=n.animationIn,t=n.animationOut;this.animationIn=i,this.animationOut=t}this.props.backdropOpacity!==e.backdropOpacity&&this.backdropRef&&this.backdropRef.transitionTo({opacity:this.props.backdropOpacity},this.props.backdropTransitionInTiming),this.props.isVisible&&!e.isVisible?this.open():!this.props.isVisible&&e.isVisible&&this.close()}},{key:"render",value:function(){var n=this,i=this.props,t=(i.animationIn,i.animationInTiming,i.animationOut,i.animationOutTiming,i.avoidKeyboard),o=i.coverScreen,r=(i.hasBackdrop,i.backdropColor,i.backdropOpacity,i.backdropTransitionInTiming,i.backdropTransitionOutTiming,i.customBackdrop,i.children),p=(i.isVisible,i.onModalShow,i.onBackButtonPress),h=i.useNativeDriver,w=(i.propagateSwipe,i.style),v=(0,e.default)(i,u),b=(v.testID,(0,e.default)(v,f)),S=[{margin:.05*this.getDeviceWidth(),transform:[{translateY:0}]},l.default.content,w],k={},D={};this.state.isSwipeable&&(k=Object.assign({},this.panResponder.panHandlers),D=h?{transform:this.state.pan.getTranslateTransform()}:this.state.pan.getLayout());var O=this.props.hideModalContentWhileAnimating&&this.props.useNativeDriver&&!this.state.showContent?a.createElement(c.View,null):r,y=a.createElement(c.View,Object.assign({},k,{ref:function(e){return n.contentRef=e},style:[D,S],pointerEvents:"box-none",useNativeDriver:h},b),O);return!o&&this.state.isVisible?a.createElement(s.View,{pointerEvents:"box-none",style:[l.default.backdrop,l.default.containerBox]},this.makeBackdrop(),y):a.createElement(s.Modal,Object.assign({transparent:!0,animationType:'none',visible:this.state.isVisible,onRequestClose:p},v),this.makeBackdrop(),t?a.createElement(s.KeyboardAvoidingView,{behavior:'ios'===s.Platform.OS?'padding':void 0,pointerEvents:"box-none",style:S.concat([{margin:0}])},y):y)}}],[{key:"getDerivedStateFromProps",value:function(e,n){return!n.isVisible&&e.isVisible?{isVisible:!0,showContent:!0}:null}}])})(a.Component);S.propTypes={animationIn:p.oneOfType([p.string,p.object]),animationInTiming:p.number,animationOut:p.oneOfType([p.string,p.object]),animationOutTiming:p.number,avoidKeyboard:p.bool,coverScreen:p.bool,hasBackdrop:p.bool,backdropColor:p.string,backdropOpacity:p.number,backdropTransitionInTiming:p.number,backdropTransitionOutTiming:p.number,customBackdrop:p.node,children:p.node.isRequired,deviceHeight:p.number,deviceWidth:p.number,isVisible:p.bool.isRequired,hideModalContentWhileAnimating:p.bool,propagateSwipe:p.oneOfType([p.bool,p.func]),onModalShow:p.func,onModalWillShow:p.func,onModalHide:p.func,onModalWillHide:p.func,onBackButtonPress:p.func,onBackdropPress:p.func,panResponderThreshold:p.number,onSwipeStart:p.func,onSwipeMove:p.func,onSwipeComplete:p.func,onSwipeCancel:p.func,swipeThreshold:p.number,swipeDirection:p.oneOfType([p.arrayOf(p.oneOf(['up','down','left','right'])),p.oneOf(['up','down','left','right'])]),useNativeDriver:p.bool,useNativeDriverForBackdrop:p.bool,style:p.any,scrollTo:p.func,scrollOffset:p.number,scrollOffsetMax:p.number,scrollHorizontal:p.bool,supportedOrientations:p.arrayOf(p.oneOf(['portrait','portrait-upside-down','landscape','landscape-left','landscape-right']))},S.defaultProps={animationIn:'slideInUp',animationInTiming:300,animationOut:'slideOutDown',animationOutTiming:300,avoidKeyboard:!1,coverScreen:!0,hasBackdrop:!0,backdropColor:'black',backdropOpacity:.7,backdropTransitionInTiming:300,backdropTransitionOutTiming:300,customBackdrop:null,useNativeDriver:!1,deviceHeight:null,deviceWidth:null,hideModalContentWhileAnimating:!1,propagateSwipe:!1,isVisible:!1,panResponderThreshold:4,swipeThreshold:100,onModalShow:function(){return null},onModalWillShow:function(){return null},onModalHide:function(){return null},onModalWillHide:function(){return null},onBackdropPress:function(){return null},onBackButtonPress:function(){return null},scrollTo:null,scrollOffset:0,scrollOffsetMax:0,scrollHorizontal:!1,statusBarTranslucent:!1,supportedOrientations:['portrait','landscape']};_e.default=S},816,[3,4,6,7,11,13,14,16,18,569,817,838,839]); -__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.createAnimatableComponent=_e.View=_e.Text=_e.Image=void 0,Object.defineProperty(_e,"createAnimation",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(_e,"initializeRegistryWithDefinitions",{enumerable:!0,get:function(){return _r(d[0]).initializeRegistryWithDefinitions}}),Object.defineProperty(_e,"registerAnimation",{enumerable:!0,get:function(){return _r(d[0]).registerAnimation}});var e=_r(d[1]),t=_r(d[2])(_r(d[3])),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var u=a?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(i,o,u):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i})(_r(d[4])),i=_r(d[2])(_r(d[5]));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}(0,_r(d[0]).initializeRegistryWithDefinitions)(n);_e.createAnimatableComponent=t.default,_e.View=(0,t.default)(e.View),_e.Text=(0,t.default)(e.Text),_e.Image=(0,t.default)(e.Image)},817,[818,18,3,821,826,819]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getAnimationByName=function(n){return t[n]},e.getAnimationNames=function(){return Object.keys(t)},e.initializeRegistryWithDefinitions=function(t){Object.keys(t).forEach(function(u){o(u,(0,n.default)(t[u]))})},e.registerAnimation=o;var n=r(d[0])(r(d[1])),t={};function o(n,o){t[n]=o}},818,[3,819]); -__d(function(g,r,_i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var f=JSON.stringify(o);if(u[f])return u[f];var s=Object.keys(o).map(a).filter(i);if(s.sort(t),s.length<2)throw new Error('Animation definitions must have at least two values.');var l={};o.easing&&(l.easing=o.easing);o.style&&(l.style=o.style);for(var c=function(){var t=s[h],i=o[t];if(i||(0===t?i=o.from:1===t&&(i=o.to)),!i)throw new Error('Missing animation keyframe, this should not happen');i=(0,n.default)(i),Object.keys(i).forEach(function(n){n in l||(l[n]={inputRange:[],outputRange:[]}),l[n].inputRange.push(t),l[n].outputRange.push(i[n])})},h=0;h1?null:t}var u={}},819,[3,820]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var f=Object.assign({},t.StyleSheet.flatten(n));f.transform&&(f.transform.forEach(function(t){var n=Object.keys(t)[0];f[n]=t[n]}),delete f.transform);return f};var t=r(d[0])},820,[18]); -__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(c){var y,S=c.displayName||c.name||'Component',E=s.Animated.createAnimatedComponent(c);return(y=(function(r){function o(n){var a,r,u,l;(0,t.default)(this,o),r=this,u=o,l=[n],u=(0,i.default)(u),(a=(0,e.default)(r,v()?Reflect.construct(u,l||[],(0,i.default)(r).constructor):u.apply(r,l))).ref=null,a.handleRef=function(t){a.ref=t};var f=new s.Animated.Value(A(0,a.props.direction)),c={},p={};return n.animation&&(p=V(n.animation),c=k(p,f)),a.state={animationValue:f,animationStyle:c,compiledAnimation:p,transitionStyle:{},transitionValues:{},currentTransitionValues:{}},n.transition&&(a.state=Object.assign({},a.state,a.initializeTransitionState(n.transition))),a.delayTimer=null,(0,_r(d[14]).getAnimationNames)().forEach(function(t){t in a||(a[t]=a.animate.bind(a,t))}),a}return(0,a.default)(o,r),(0,n.default)(o,[{key:"initializeTransitionState",value:function(t){var n={},e={},i=(0,l.default)(t,this.props.style);return Object.keys(i).forEach(function(t){var a=i[t];if(-1!==h.indexOf(t)||'number'!=typeof a)n[t]=new s.Animated.Value(0),e[t]=a;else{var r=new s.Animated.Value(a);n[t]=r,e[t]=r}}),{currentTransitionValues:i,transitionStyle:e,transitionValues:n}}},{key:"getTransitionState",value:function(t){var n=this,e='string'==typeof t?[t]:t,i=this.state,a=i.transitionValues,r=i.currentTransitionValues,o=i.transitionStyle,s=e.filter(function(t){return!n.state.transitionValues[t]});if(s.length){var u=this.initializeTransitionState(s);a=Object.assign({},a,u.transitionValues),r=Object.assign({},r,u.currentTransitionValues),o=Object.assign({},o,u.transitionStyle)}return{transitionValues:a,currentTransitionValues:r,transitionStyle:o}}},{key:"setNativeProps",value:function(t){this.ref&&this.ref.setNativeProps(t)}},{key:"componentDidMount",value:function(){var t=this,n=this.props,e=n.animation,i=n.duration,a=n.delay,r=n.onAnimationBegin,o=n.iterationDelay;if(e){var s=function(){r(),t.startAnimation(i,0,o,function(n){return t.props.onAnimationEnd(n)}),t.delayTimer=null};a?this.delayTimer=setTimeout(s,a):s()}}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){var n,e,i=this,a=t.animation,r=t.delay,o=t.duration,s=t.easing,u=t.iterationDelay,f=t.transition,c=t.onAnimationBegin;if(f){var p=(0,l.default)(f,t.style);this.transitionTo(p,o,s,r)}else n=a,e=this.props.animation,n!==e&&JSON.stringify(n)!==JSON.stringify(e)&&(a?this.delayTimer?this.setAnimation(a):(c(),this.animate(a,o,u).then(function(t){return i.props.onAnimationEnd(t)})):this.stopAnimation())}},{key:"componentWillUnmount",value:function(){this.delayTimer&&clearTimeout(this.delayTimer)}},{key:"setAnimation",value:function(t,n){var e=V(t);this.setState(function(t){return{animationStyle:k(e,t.animationValue),compiledAnimation:e}},n)}},{key:"animate",value:function(t,n,e){var i=this;return new Promise(function(a){i.setAnimation(t,function(){i.startAnimation(n,0,e,a)})})}},{key:"stopAnimation",value:function(){this.setState({scheduledAnimation:!1,animationStyle:{}}),this.state.animationValue.stopAnimation(),this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"startAnimation",value:function(t,n,e,i){var a=this,r=this.state,o=r.animationValue,u=r.compiledAnimation,l=this.props,f=l.direction,c=l.iterationCount,y=l.useNativeDriver,v=this.props.easing||u.easing||'ease',h=n||0,T=A(h,f),b=O(h,f);o.setValue(T),'string'==typeof v&&(v=p.default[v]);var V='reverse'===f||'alternate'===f&&!b||'alternate-reverse'===f&&!b;V&&(v=s.Easing.out(v));var k={toValue:b,easing:v,isInteraction:c<=1,duration:t||this.props.duration||1e3,useNativeDriver:y,delay:e||0};s.Animated.timing(o,k).start(function(n){h+=1,n.finished&&a.props.animation&&('infinite'===c||h=1?null:new Error('iterationCount must be a positive number or "infinite"')},iterationDelay:o.default.number,onAnimationBegin:o.default.func,onAnimationEnd:o.default.func,onTransitionBegin:o.default.func,onTransitionEnd:o.default.func,style:o.default.oneOfType([o.default.number,o.default.array,o.default.object]),transition:o.default.oneOfType([o.default.string,o.default.arrayOf(o.default.string)]),useNativeDriver:o.default.bool},y.defaultProps={animation:void 0,delay:0,direction:'normal',duration:void 0,easing:void 0,iterationCount:1,iterationDelay:0,onAnimationBegin:function(){},onAnimationEnd:function(){},onTransitionBegin:function(){},onTransitionEnd:function(){},style:void 0,transition:void 0,useNativeDriver:!1},y};var t=_r(d[0])(_r(d[1])),n=_r(d[0])(_r(d[2])),e=_r(d[0])(_r(d[3])),i=_r(d[0])(_r(d[4])),a=_r(d[0])(_r(d[5])),r=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=y(n);if(e&&e.has(t))return e.get(t);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if("default"!==r&&Object.prototype.hasOwnProperty.call(t,r)){var o=a?Object.getOwnPropertyDescriptor(t,r):null;o&&(o.get||o.set)?Object.defineProperty(i,r,o):i[r]=t[r]}return i.default=t,e&&e.set(t,i),i})(_r(d[6])),o=_r(d[0])(_r(d[7])),s=_r(d[8]),u=_r(d[0])(_r(d[9])),l=_r(d[0])(_r(d[10])),f=_r(d[0])(_r(d[11])),c=_r(d[0])(_r(d[12])),p=_r(d[0])(_r(d[13]));function y(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,e=new WeakMap;return(y=function(t){return t?e:n})(t)}function v(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(v=function(){return!!t})()}var h=['rotate','rotateX','rotateY','rotateZ','skewX','skewY','transformMatrix','backgroundColor','borderColor','borderTopColor','borderRightColor','borderBottomColor','borderLeftColor','shadowColor','color','textDecorationColor','tintColor'],T=['width','height'];function b(t,n){var e={};return Object.keys(n).forEach(function(i){-1===t.indexOf(i)&&(e[i]=n[i])}),e}function O(t,n){switch(n){case'reverse':return 0;case'alternate':return t%2?0:1;case'alternate-reverse':return t%2?1:0;case'normal':default:return 1}}function A(t,n){return O(t,n)?0:1}function V(t){if('string'==typeof t){var n=(0,_r(d[14]).getAnimationByName)(t);if(!n)throw new Error("No animation registred by the name of "+t);return n}return(0,c.default)(t)}function k(t,n){var e={};return Object.keys(t).forEach(function(i){'style'===i?Object.assign(e,t.style):'easing'!==i&&(e[i]=n.interpolate(t[i]))}),(0,u.default)(e)}function j(t,n,e,i,a){var r=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o=arguments.length>6?arguments[6]:void 0,u=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,f=i||a||o?s.Animated.timing(n,{toValue:e,delay:o,duration:i||1e3,easing:'function'==typeof a?a:p.default[a||'ease'],useNativeDriver:r}):s.Animated.spring(n,{toValue:e,useNativeDriver:r});setTimeout(function(){return u(t)},o),f.start(function(){return l(t)})}},821,[3,6,7,11,13,14,16,569,18,822,823,820,819,825,818,181]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(s){var o={};return Object.keys(s).forEach(function(f){-1!==n.indexOf(f)?(o.transform||(o.transform=[]),o.transform.push((0,t.default)({},f,s[f]))):o[f]=s[f]}),o};var t=r(d[0])(r(d[1])),n=['perspective','rotate','rotateX','rotateY','rotateZ','scale','scaleX','scaleY','skewX','skewY','translateX','translateY']},822,[3,242]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f,u){var o={},c=(0,t.default)(u);return('string'==typeof f?[f]:f).forEach(function(t){o[t]=t in c?c[t]:(0,n.default)(t,c)}),o};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2]))},823,[3,820,824]); -__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i,o){if('backgroundColor'===i)return'rgba(0,0,0,0)';if('color'===i||-1!==i.indexOf('Color'))return'rgba(0,0,0,1)';if(0===i.indexOf('rotate')||0===i.indexOf('skew'))return'0deg';if('opacity'===i||0===i.indexOf('scale'))return 1;if('fontSize'===i)return 14;if(0===i.indexOf('margin')||0===i.indexOf('padding'))for(var f,l=0;l0&&"0"===u.substring(0,1);)u=u.substring(1);return""+n+u}},{key:"getNextPageNumber",value:function(e){try{for(var t="",n="",u="",i=0;ie.length&&n.length>0&&(n=n.substring(0,n.length-(u.length-e.length))),t+n+u}catch(t){return e}}},{key:"getPageByPageNumber",value:function(e,t){if(e.length>0)return e.find(function(e){return i.comparePageNumber(e.getPage(),t)})}},{key:"comparePageNumber",value:function(e,t){return i.removeZerosFromPageNumber(e)===i.removeZerosFromPageNumber(t)}},{key:"comparePages",value:function(e,t){return e.modifyTime===t.modifyTime&&e.section===t.section&&e.page===t.page&&e.shownPage===t.shownPage&&e.edition===t.edition&&e.extraMd5===t.extraMd5&&e.type===t.type}},{key:"getNextPage",value:function(e,t){var n=t.findIndex(function(t){return i.comparePages(t,e)})+1;return n>0&&n0&&void 0!==arguments[0]?arguments[0]:{};(0,t.default)(this,n),this.dbDowntime=o.db_downtime||0,this.dbFilename=u.default.getNewsmemoryBaseDirectory()+o.db_filename;var s=g.getActivePSetup().pSetup;this.dbPSetup=o.db_pSetup||s,this.dbPaper=o.db_paper,this.dbIssue=o.db_issue,this.dbEdition=o.db_edition,this.dbStatus=o.db_status,this.dbSecret=o.db_secret,this.dbNetwork=o.db_network,this.editionModel=null},[{key:"getFilename",value:function(){return this.dbFilename}},{key:"getIssue",value:function(){return this.dbIssue}},{key:"getPSetup",value:function(){return this.dbPSetup}},{key:"getPaper",value:function(){return this.dbPaper}},{key:"getEdition",value:function(){return this.dbEdition}},{key:"setStatus",value:function(t){this.dbStatus=t}},{key:"getStatus",value:function(){return this.dbStatus}},{key:"getDownloadTime",value:function(){return this.dbDowntime}},{key:"getSecret",value:function(){return this.dbSecret}},{key:"setEditionModel",value:function(t){this.editionModel=t}},{key:"getEditionModel",value:function(){return this.editionModel}},{key:"getPages",value:function(){return this.editionModel?this.editionModel.getPages():[]}},{key:"updatePage",value:function(t){this.editionModel.updatePage(t)}},{key:"isEmpty",value:function(){return!this.editionModel||this.editionModel.isEmpty()}},{key:"hasOnlyDatabaseDownloaded",value:function(){return this.dbStatus===s.DB_DOWNLOADED}},{key:"hasMainComponentsDownloaded",value:function(){return(this.dbStatus&s.LOW_MID_PDF_DOWNLOADED)===s.LOW_MID_PDF_DOWNLOADED}},{key:"isHighResolutionDownloadStarted",value:function(){return this.dbStatus===s.HIGH_RES_DOWNLOAD_STARTED}},{key:"hasHighResolutionDownloaded",value:function(){return(this.dbStatus&s.HIGH_RES_DOWNLOADED)===s.HIGH_RES_DOWNLOADED}},{key:"setDbNetwork",value:function(t){this.dbNetwork=t}},{key:"getDbNetwork",value:function(){return this.dbNetwork}},{key:"isNewspaperCompleteForMode",value:function(){return o.default.isModeFull()?this.hasHighResolutionDownloaded():this.hasMainComponentsDownloaded()}},{key:"equals",value:function(t){return this.dbPSetup===t.dbPSetup&&this.dbPaper===t.dbPaper&&this.dbIssue===t.dbIssue&&this.dbEdition===t.dbEdition}}])})()},843,[3,6,7,651,655,553,614]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e,t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),c=r(d[0])(r(d[6])),l=_e.default=(function(){function e(){(0,n.default)(this,e)}return(0,u.default)(e,null,[{key:"getNewspaperDirectory",value:function(){return o.default.getNewspaperBaseDirectory()}},{key:"getDatabaseFilePath",value:function(){return o.default.getNewsmemoryBaseDirectory()+"database.db"}},{key:"getNewspaperIssueDirectory",value:function(t,n){return e.getNewspaperDirectory()+t+"/"+n+"/"}},{key:"deleteNewspaperIssueDirectory",value:(function(){var n=(0,t.default)(function*(t,n){var u=e.getNewspaperIssueDirectory(t,n);try{yield o.default.unlink(u)}catch(e){}});return function(e,t){return n.apply(this,arguments)}})()},{key:"makeNewspaperDirectory",value:(function(){var n=(0,t.default)(function*(){var t=e.getNewspaperDirectory();(yield o.default.exists(t))||(yield o.default.mkdir(t))});return function(){return n.apply(this,arguments)}})()},{key:"deleteNewspaperDirectory",value:(function(){var n=(0,t.default)(function*(){try{yield o.default.unlink(e.getNewspaperDirectory())}catch(e){}});return function(){return n.apply(this,arguments)}})()},{key:"databaseExists",value:(function(){var n=(0,t.default)(function*(){return!!e.database&&e.database.exists()});return function(){return n.apply(this,arguments)}})()},{key:"closeDatabase",value:(function(){var n=(0,t.default)(function*(){return!!e.database&&e.database.close()});return function(){return n.apply(this,arguments)}})()},{key:"deleteDatabase",value:(function(){var n=(0,t.default)(function*(){return!!e.database&&e.database.delete()});return function(){return n.apply(this,arguments)}})()},{key:"openTransaction",value:(function(){var n=(0,t.default)(function*(t,n){return e.database.transaction(t,n)});return function(e,t){return n.apply(this,arguments)}})()},{key:"checkIfColumnExists",value:(function(){var n=(0,t.default)(function*(t,n){return e.database.columnExists(t,n)});return function(e,t){return n.apply(this,arguments)}})()},{key:"createDatabasesTable",value:(function(){var n=(0,t.default)(function*(){try{var t="CREATE TABLE IF NOT EXISTS databases (db_filename VARCHAR(255), db_paper VARCHAR(50), db_issue VARCHAR(20), db_edition VARCHAR(50), db_downtime DATETIME, db_status INTEGER DEFAULT 0, db_network VARCHAR(1), UNIQUE (db_paper,db_issue,db_edition) ON CONFLICT REPLACE );";if(yield e.openTransaction(t),(yield e.checkIfColumnExists("databases","db_status"))||(t="ALTER TABLE databases ADD COLUMN db_status INTEGER DEFAULT 0;",yield e.openTransaction(t)),!(yield e.checkIfColumnExists("databases","db_network")))t="ALTER TABLE databases ADD COLUMN db_network VARCHAR(1) DEFAULT '"+g.getNewsmemoryConfig().network+"'",yield e.openTransaction(t);if(!(yield e.checkIfColumnExists("databases","db_pSetup")))t="ALTER TABLE databases ADD COLUMN db_pSetup VARCHAR(255) DEFAULT '"+g.getActivePSetup().pSetup+"'",yield e.openTransaction(t);(yield e.checkIfColumnExists("databases","db_secret"))||(t="ALTER TABLE databases ADD COLUMN db_secret VARCHAR(255) DEFAULT ''",yield e.openTransaction(t))}catch(e){throw e}});return function(){return n.apply(this,arguments)}})()},{key:"resetDatabase",value:(function(){var n=(0,t.default)(function*(){yield e.closeDatabase(),yield e.deleteDatabase(),yield e.createDatabasesTable()});return function(){return n.apply(this,arguments)}})()},{key:"updateStatus",value:(function(){var n=(0,t.default)(function*(t,n,u,s){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.getActivePSetup().pSetup;try{return yield e.openTransaction("UPDATE databases SET db_status = ? WHERE db_paper = ? AND db_issue = ? AND db_edition = ? AND db_pSetup = ?",[s,t,n,u,o]),!0}catch(e){throw e}});return function(e,t,u,s){return n.apply(this,arguments)}})()},{key:"updateNetwork",value:(function(){var n=(0,t.default)(function*(t,n,u,s){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.getActivePSetup().pSetup;try{return yield e.openTransaction("UPDATE databases SET db_network = ? WHERE db_paper = ? AND db_issue = ? AND db_edition = ? AND db_pSetup = ?",[s,t,n,u,o]),!0}catch(e){throw e}});return function(e,t,u,s){return n.apply(this,arguments)}})()},{key:"getIssueStatus",value:(function(){var n=(0,t.default)(function*(t,n,u){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.getActivePSetup().pSetup;try{var o=yield e.openTransaction("SELECT db_status FROM databases WHERE db_paper = ? AND db_issue = ? AND db_edition = ? AND db_pSetup = ?;",[t,n,u,s]);if(o&&o[0])return o[0];throw new Error("missing issue on database")}catch(e){throw e}});return function(e,t,u){return n.apply(this,arguments)}})()},{key:"insertIssue",value:(function(){var n=(0,t.default)(function*(t,n,u,s){var c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:g.getActivePSetup().pSetup,p=arguments.length>6&&void 0!==arguments[6]?arguments[6]:g.getNewsmemoryConfig().network,f=parseInt((new Date).getTime()/1e3,10);try{var y=t.replace(o.default.getNewsmemoryBaseDirectory(),"");return yield e.openTransaction("INSERT INTO databases (db_filename, db_paper, db_issue, db_edition, db_downtime, db_pSetup, db_secret, db_network) VALUES (?, ?, ?, ?, ?, ?, ?, ?);",[y,n,u,s,f,l,c,p]),!0}catch(e){throw e}});return function(e,t,u,s){return n.apply(this,arguments)}})()},{key:"getAllIssues",value:(function(){var n=(0,t.default)(function*(){try{return(yield e.openTransaction("SELECT * FROM databases ORDER BY db_issue DESC;")).map(function(e){return new c.default(e)})}catch(e){throw e}});return function(){return n.apply(this,arguments)}})()},{key:"getIssuesByDates",value:(function(){var n=(0,t.default)(function*(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n="SELECT * FROM databases WHERE db_issue IN ( "+Array(t.length).fill("?").join(",")+");";try{return(yield e.openTransaction(n,t)).map(function(e){return new c.default(e)})}catch(e){throw e}});return function(){return n.apply(this,arguments)}})()},{key:"getAllIssuesExcept",value:(function(){var n=(0,t.default)(function*(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n="SELECT * FROM databases WHERE db_issue NOT IN ( "+Array(t.length).fill("?").join(",")+") ORDER BY db_downtime DESC;";try{return(yield e.openTransaction(n,t)).map(function(e){return new c.default(e)})}catch(e){throw e}});return function(){return n.apply(this,arguments)}})()},{key:"getIssue",value:(function(){var n=(0,t.default)(function*(t,n,u){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.getActivePSetup().pSetup;try{var o=yield e.openTransaction("SELECT * FROM databases WHERE db_paper = ? AND db_issue = ? AND db_edition = ? AND db_pSetup = ?;",[t,n,u,s]);if(o&&o.length)return new c.default(o[0]);throw new Error("Issue not found")}catch(e){throw e}});return function(e,t,u){return n.apply(this,arguments)}})()},{key:"deleteIssue",value:(function(){var n=(0,t.default)(function*(t,n,u){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.getActivePSetup().pSetup;try{return yield e.openTransaction("DELETE FROM databases WHERE db_paper = ? AND db_issue = ? AND db_edition = ? AND db_pSetup = ?;",[t,n,u,s]),!0}catch(e){throw e}});return function(e,t,u){return n.apply(this,arguments)}})()},{key:"deleteIssueByFilename",value:(function(){var n=(0,t.default)(function*(t){try{return yield e.openTransaction("DELETE FROM databases WHERE db_filename = ?;",[t]),!0}catch(e){throw e}});return function(e){return n.apply(this,arguments)}})()},{key:"getIssuesByEdition",value:(function(){var n=(0,t.default)(function*(t){try{return(yield e.openTransaction("SELECT * FROM databases WHERE db_edition = ?;",[t])).map(function(e){return new c.default(e)})}catch(e){throw e}});return function(e){return n.apply(this,arguments)}})()},{key:"getIssuesByPaper",value:(function(){var n=(0,t.default)(function*(t){try{return(yield e.openTransaction("SELECT * FROM databases WHERE db_paper = ?;",[t])).map(function(e){return new c.default(e)})}catch(e){throw e}});return function(e){return n.apply(this,arguments)}})()}])})();e=l,l.database=new s.default(e.getDatabaseFilePath())},844,[3,272,6,7,845,553,843]); -__d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),i=r(d[0])(r(d[5])),o=r(d[0])(r(d[6])),c=_e.default=(function(){function c(t,n){(0,e.default)(this,c),this.path=t,this.queue=new u.default(1,1/0),this.migrations=n||[]}return(0,n.default)(c,[{key:"getPath",value:function(){return this.path}},{key:"delete",value:(function(){var e=(0,t.default)(function*(){var t,e=this;try{(yield this.exists())&&(yield new Promise(function(t,n){i.default.deleteDatabase(e.path,t,n)})),t=!0}catch(e){t=!1}return t});return function(){return e.apply(this,arguments)}})()},{key:"exists",value:(function(){var e=(0,t.default)(function*(){var t;try{t=yield o.default.exists(this.path)}catch(e){t=!1}return t});return function(){return e.apply(this,arguments)}})()},{key:"open",value:(function(){var e=(0,t.default)(function*(){var t=this,e=!1;try{this.db=yield new Promise(function(e,n){i.default.openDatabase({name:t.path},e,n)}),e=!!this.db}catch(t){}return e});return function(){return e.apply(this,arguments)}})()},{key:"close",value:(function(){var e=(0,t.default)(function*(){var t=this,e=!0;try{yield new Promise(function(e,n){t.db.close(e,n)})}catch(t){e=!1}return e});return function(){return e.apply(this,arguments)}})()},{key:"migrateDB",value:(function(){var e=(0,t.default)(function*(){var t=0;try{yield this.executeSqlNoTx("CREATE TABLE IF NOT EXISTS db_info ( key VARCHAR(255) NOT NULL, value VARCHAR(255) NOT NULL, PRIMARY KEY (key, value));");var e=yield this.executeSqlNoTx("SELECT value FROM db_info WHERE key LIKE 'version'");e.length>0&&(t=e.item(0).value||0)}catch(e){t=0}try{for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:[];return this.queue.add(function(){return new Promise((i=(0,t.default)(function*(t){if(yield n.open())try{var i=yield n.openTransaction();t(yield n.executeSql(i,e,u))}catch(e){t([])}else t([])}),function(t){return i.apply(this,arguments)}));var i})});return function(t){return e.apply(this,arguments)}})()},{key:"tableExists",value:(function(){var e=(0,t.default)(function*(t){var e=!1;try{var n="SELECT name FROM sqlite_master WHERE type='table' AND name='"+t+"';";(yield this.transaction(n,[])).length>0&&(e=!0)}catch(t){}return e});return function(t){return e.apply(this,arguments)}})()},{key:"columnExists",value:(function(){var e=(0,t.default)(function*(t,e){var n=!1;try{for(var u="PRAGMA table_info("+t+");",i=yield this.transaction(u,[]),o=0;o0&&!n.inProgress&&(n.inProgress=!0,n.queue.shift().start())}))},n.prototype.abortAllPendingTransactions=function(){var t,e,n,r;if((r=c[this.dbname])&&r.queue.length>0){for(t=0,e=(n=r.queue).length;t0&&!n.inProgress&&e.startNextTransaction()}})(this),n=(function(t){return function(){e&&e(s('Could not open database')),delete t.openDBs[t.dbname],t.abortAllPendingTransactions()}})(this),this.openDBs[this.dbname]="INIT",h.exec("open",this.openargs,r,n))},n.prototype.close=function(t,e){if(this.dbname in this.openDBs){if(c[this.dbname]&&c[this.dbname].inProgress)return void e(s('database cannot be closed while a transaction is in progress'));delete this.openDBs[this.dbname],c[this.dbname];h.exec("close",{path:this.dbname},function(e,n){if(t)return t(n)},function(t,n){if(e)return e(n)})}else{e&&l(function(){return e("cannot close: database is not open")})}},n.prototype.attach=function(t,e,n,r){if(this.dbname in this.openDBs){if(c[this.dbname]&&c[this.dbname].inProgress)return void r(s('database cannot be attached while a transaction is in progress'));h.exec("attach",{path:this.dbname,dbName:t,dbAlias:e},function(t,e){if(n)return n(e)},function(t){if(r)return r(t)})}else{r&&l(function(){return r("cannot attach: database is not open")})}},n.prototype.detach=function(t,e,n){if(this.dbname in this.openDBs){if(c[this.dbname]&&c[this.dbname].inProgress)return void n(s('database cannot be attached while a transaction is in progress'));this.executeSql('DETACH DATABASE '+t,[],function(t,n){if(e)return e(n)},function(t){if(n)return n(t)})}else{n&&l(function(){return n("cannot attach: database is not open")})}},n.prototype.executeSql=function(t,e,n,o){var i,s,c;c=function(t,e){if(n)return n(e)},i=function(t,e){if(o)return o(e)},s=function(n){n.addStatement(t,e,c,i)},this.addTransaction(new r(this,s,null,null,!1,!1))},(r=function(t,e,n,r,o,i){if("function"!=typeof e){var c=s("transaction expected a function");if(n)return n(c);throw c}this.db=t,this.fn=e,this.error=n,this.success=r,this.txlock=o,this.readOnly=i,this.executes=[],o?this.addStatement("BEGIN",[],null,function(t,e){throw s("unable to begin transaction: "+e.message,e.code)}):this.addStatement("SELECT 1",[],null,null)}).prototype.start=function(){var t;try{this.fn(this),this.run()}catch(e){t=e,c[this.db.dbname].inProgress=!1,this.db.startNextTransaction(),this.error&&this.error(s(t))}},r.prototype.executeSql=function(e,n,r,o){if(this.finalized)throw{message:"InvalidStateError: DOM Exception 11: This transaction is already finalized. Transactions are committed after its success or failure handlers are called. If you are using a Promise to handle callbacks, be aware that implementations following the A+ standard adhere to run-to-completion semantics and so Promise resolution occurs on a subsequent tick and therefore after the transaction commits.",code:11};if(this.readOnly&&t.test(e))this.handleStatementFailure(o,{message:'invalid sql for a read-only transaction'});else{this.addStatement(e,n,function(t,e){if(r)return r(t,e)},function(t,e){if(o)return o(e)})}},r.prototype.addStatement=function(t,e,n,r){var o,i,c,u,h,l;if(u='string'==typeof t?t:t.toString(),c=[],e&&e.constructor===Array)for(o=0,i=e.length;o found in addStatement()';return console.error(f),void r(s(f))}c.push(l.toString()),console.warn('addStatement - parameter of type <'+h+'> converted to string using toString()')}this.executes.push({success:n,error:r,sql:u,params:c})},r.prototype.handleStatementSuccess=function(t,e){var n;t&&t(this,{rows:{item:function(t){return n[t]},raw:function(){return n.slice()},length:(n=e.rows||[]).length},rowsAffected:e.rowsAffected||0,insertId:e.insertId||void 0})},r.prototype.handleStatementFailure=function(t,e){if(!t)throw s("a statement with no error handler failed: "+e.message,e.code);if(!1!==t(this,e))throw s("a statement error callback did not return false: "+e.message,e.code)},r.prototype.run=function(){var t,e,n,r,o,i,c,u,l;for(u=null,i=[],t=this.executes,l=t.length,this.executes=[],c=this,e=function(e,n){return function(r){if(!u){try{n?c.handleStatementSuccess(t[e].success,r):c.handleStatementFailure(t[e].error,s(r))}catch(t){var o=JSON.stringify(t);"{}"===o&&(o=t.toString())}n||(u=s(r))}0==--l&&(u?(c.executes=[],c.abort(u)):c.executes.length>0?c.run():c.finish())}},n=0,r=[];n=5&&(o=t[4],t.length>5&&(e=t[5]))):(!!(s=r).readOnly||s.location&&s.location.constructor===String&&i.hasOwnProperty(s.location)?s.dblocation=i[s.location]:s.dblocation=i.default,s.createFromLocation&&(1===s.createFromLocation?s.assetFilename="1":'string'==typeof s.createFromLocation&&(s.assetFilename=s.createFromLocation)),s.androidDatabaseImplementation&&2===s.androidDatabaseImplementation&&(s.androidOldDatabaseImplementation=1),s.androidLockWorkaround&&1===s.androidLockWorkaround&&(s.androidBugWorkaround=1),t.length>=2&&(o=t[1],t.length>2&&(e=t[2]))),new n(s,o,e))}),e.prototype.echoTest=function(t,e){h.exec("echoStringValue",{value:"test-string"},function(n){return"test-string"===n?t():e("Mismatch: got: "+n+" , expected: test-string")},function(t){return e(t)})},e.prototype.deleteDatabase=function(t,e,r){var o={};if(t.constructor===String)o.path=t,o.dblocation=i.default;else{if(!t||!t.name)throw new Error("Please specify db name via name property");o.path=t.name,t.location&&t.location.constructor===String&&i.hasOwnProperty(t.location)?o.dblocation=i[t.location]:o.dblocation=i.default}h.exec("delete",o,function(t){if(delete n.prototype.openDBs[o.path],e)return e(t)},function(t){if(r)return r(t)})},h.sqlitePlugin={SQLiteFactory:e,SQLitePluginTransaction:r,SQLitePlugin:n},m.exports=h.sqlitePlugin},847,[18]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4]));_e.default=(function(){function l(){(0,t.default)(this,l)}return(0,n.default)(l,null,[{key:"getMainBundleLocation",value:function(){return u.default.getMainBundleDirectory()+"/application"}},{key:"getDirectory",value:function(){return u.default.getNewsmemoryBaseDirectory()+"application"}},{key:"getDefaultIconsDirectory",value:function(){return"file://"+l.getDirectory()+"/code/icons/"}},{key:"getDefaultArticleTextBanner",value:function(){return"file://"+l.getDirectory()+"/code/images/article-banner.png"}},{key:"getHybridDirectory",value:function(){return l.getDirectory()+"/hybrid"}},{key:"getFontsDirectory",value:function(){return l.getDirectory()+"/fonts"}},{key:"getEditionArticleTextBanner",value:function(e){if(e&&e.length)return"file://"+l.getHybridDirectory()+"/header/logo_"+e+".gif";throw new Error("missing edition")}},{key:"getLogoPath",value:(function(){var t=(0,e.default)(function*(e){try{if(e){e=(e=(e=e.replace(/ /g,"")).replace(/\xfc/g,"u")).replace(/\\-/,"");var t=l.getEditionArticleTextBanner(e.toLowerCase());if(yield u.default.exists(t))return t}}catch(e){}return l.getDefaultArticleTextBanner()});return function(e){return t.apply(this,arguments)}})()},{key:"getHybridVersionFilePath",value:function(){return l.getHybridDirectory()+"/version.txt"}},{key:"getHybridVersion",value:(function(){var t=(0,e.default)(function*(){var e=l.getHybridVersionFilePath();return(yield u.default.exists(e))?yield u.default.readFile(e):"-1"});return function(){return t.apply(this,arguments)}})()},{key:"updateHybridVersion",value:(function(){var t=(0,e.default)(function*(e){var t=l.getHybridDirectory(),n=l.getHybridVersionFilePath();(yield u.default.exists(t))||(yield u.default.mkdir(t)),yield u.default.write(n,e)});return function(e){return t.apply(this,arguments)}})()},{key:"makeFontsDirectory",value:(function(){var t=(0,e.default)(function*(){var e=u.default.getFontsDirectory();(yield u.default.exists(e))||(yield u.default.mkdir(e))});return function(){return t.apply(this,arguments)}})()},{key:"copyApplicationFolder",value:(function(){var t=(0,e.default)(function*(){var e=l.getDirectory();try{if(yield u.default.exists(e))return!0;if(r(d[5]).PlatformUtils.isIOS()){var t=l.getMainBundleLocation();yield u.default.copyFile(t,e)}else{var n=u.default.getNewsmemoryBaseDirectory();yield u.default.assetsCopy("application",n)}var o=l.getFontsDirectory();if(yield u.default.exists(o)){var c=u.default.getFontsDirectory();try{yield u.default.unlink(c)}catch(e){}try{yield u.default.moveFile(o,c)}catch(e){}}return!0}catch(e){}return!1});return function(){return t.apply(this,arguments)}})()},{key:"deleteApplicationFolder",value:(function(){var t=(0,e.default)(function*(){var e=l.getDirectory();try{return yield u.default.unlink(e),!0}catch(e){}return!1});return function(){return t.apply(this,arguments)}})()}])})()},848,[3,272,6,7,553,439]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.Route=_e.Action=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),l=r(d[0])(r(d[8])),f=["appName","bundleId","uniqueId","version"];function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(h=function(){return!!t})()}var v=_e.Route=(function(){return(0,c.default)(function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(new Date).getTime();(0,s.default)(this,t),this.time=n,this.name=e},[{key:"getName",value:function(){return this.name}},{key:"getTime",value:function(){return this.time}},{key:"toString",value:function(){return"{\"time\": "+this.time+", \"name\": \""+this.name+"\" }"}},{key:"equals",value:function(t){return this.name===t.getName()}}])})(),p=_e.Action=(function(t){function e(t,o){var c,l,f,v,p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(new Date).getTime();return(0,s.default)(this,e),l=this,f=e,v=[t,p],f=(0,u.default)(f),(c=(0,n.default)(l,h()?Reflect.construct(f,v||[],(0,u.default)(l).constructor):f.apply(l,v))).params=o,c}return(0,o.default)(e,t),(0,c.default)(e,[{key:"getParams",value:function(){return this.params||{}}},{key:"toString",value:function(){return"{\"time\": "+this.time+", \"name\": \""+this.name+"\", \"params\": "+JSON.stringify(this.params)+" }"}},{key:"equals",value:function(t){return this.name===t.getName()&&r(d[9]).JSUtils.equals(this.params,t.getParams())}}])})(v);_e.default=(function(){return(0,c.default)(function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(new Date).getTime(),o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l.default.getCurrentOrientation();(0,s.default)(this,t),this.startTime=u,this.startOrientation=o.toLowerCase(),this.actions=e,this.navigation=n},[{key:"filterRoute",value:function(t,e){var n=e[e.length-1];return!(!n||!n.equals(t))||e.filter(function(e){return t.getTime()-e.getTime()<1e3&&e.equals(t)}).length>0}},{key:"addAction",value:function(t,e){var n=new p(t,e);this.filterRoute(n,this.actions)||this.actions.push(n)}},{key:"addRoute",value:function(t){var e=new v(t);this.filterRoute(e,this.navigation)||this.navigation.push(e)}},{key:"getActions",value:function(){return this.actions||[]}},{key:"getNavigation",value:function(){return this.navigation||[]}},{key:"getDuration",value:function(){var t=this.actions[this.actions.length-1];return t?t.getTime()-this.startTime:0}},{key:"getActionsCounters",value:function(){return this.actions.reduce(function(t,e){var n=e.getName();return t[n]=t[n]?t[n]+1:1,t},{})}},{key:"getRoutesCounters",value:function(){var t=this;return this.navigation.reduce(function(e,n,u){var o=t.navigation[u-1],s=t.navigation[u+1],c=(new Date).getTime();s&&(c=s.getTime());var l=n.getName(),f=1,h=c-n.getTime();if(e[l]){var v=e[l],p=v.times,y=v.duration;(!o||o&&l!==o.getName())&&(f=p+1),h+=y}return e[l]={times:f,duration:h},e},{})}},{key:"getOrientationInfo",value:function(){var t=[new p("rotate_"+this.startOrientation,{},this.startTime)];if(t.push.apply(t,(0,e.default)(this.actions.filter(function(t){return t.getName().startsWith("rotate_")}))),t&&t.length>0){var n=t.reduce(function(e,n,u){var o=t[u+1],s=(new Date).getTime();o&&(s=o.getTime());var c=n.getName().replace("rotate_",""),l=s-n.getTime();return e[c]&&(l+=e[c]),e[c]=l,e},{}),u=Object.keys(n).reduce(function(t,e){return t+n[e]},0);return Object.keys(n).reduce(function(t,e){return t[e]=u?n[e]/u*100:0,t},{})}return{}}},{key:"getFullReport",value:function(){var e=r(d[9]).PlatformUtils.info,n=e.appName,u=e.bundleId,o=(e.uniqueId,e.version),s=(0,t.default)(e,f),c=l.default.getAppVersion(),h={pSetup:g.getAppPSetup(),machine:g.getAppServer(),appName:n,bundleId:u,version:c};return c!==o&&(h.storeVersion=o),{startTime:this.startTime,startOrientation:this.startOrientation,duration:this.getDuration(),actions:this.actions,routes:this.navigation,orientation:this.getOrientationInfo(),deviceInfo:s,appInfo:h}}},{key:"getReport",value:function(){return Object.assign({},this.getFullReport(),{actions:this.getActionsCounters(),routes:this.getRoutesCounters()})}},{key:"toString",value:function(){return"{\"startTime\": "+this.startTime+", \"startOrientation\": \""+this.startOrientation+"\",\n \"actions\": "+JSON.stringify(this.actions.map(function(t){return t.toString()}))+", \"navigation\": "+JSON.stringify(this.navigation.map(function(t){return t.toString()}))+"}"}}])})()},849,[3,4,22,11,13,14,6,7,435,439]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.URL_TYPES=_e.SHOW_TYPES_ARTICLE=_e.RSS_ENABLED=_e.PaperSetupConfig=_e.PAGES_NAVIGATION_BUTTONS_LAYOUT=_e.NEWSMEMORY_START_MODE=_e.NEWSMEMORY_SCREENS_NAME=_e.NEWSMEMORY_SCREENS=_e.NEWSMEMORY_ENABLED=_e.MERGE_ARTICLES_TYPES=_e.MAX_SHARE_CHECK_TYPES=_e.LATEST_AVAILABLE_EDITION_FORMAT=_e.FIREBASE_DEFAULT_CUSTOM_DIMENSIONS=_e.ENCRYPT_FILENAME_TYPE=_e.DEFAULT_CUSTOM_DIMENSIONS=_e.DEFAULT=_e.BOTH_ENABLED=_e.ARTICLE_TITLE_BOX_MODE=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),n=r(d[0])(r(d[5])),o=r(d[0])(r(d[6])),h=r(d[0])(r(d[7])),u=r(d[0])(r(d[8])),_=r(d[0])(r(d[9])),c=r(d[0])(r(d[10]));function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(y=function(){return!!e})()}var p=_e.DEFAULT="0",b=_e.RSS_ENABLED="1",V=_e.NEWSMEMORY_ENABLED="2",f=_e.BOTH_ENABLED="3",E=_e.NEWSMEMORY_SCREENS={REACT:0,NATIVE:1,HTML5:2},S=(_e.NEWSMEMORY_SCREENS_NAME={REACT:"NewsmemoryScreen",NATIVE:"NewsmemoryNativeScreen",HTML5:"NewsmemoryHTML5Screen"},_e.URL_TYPES={UNDERLINE:"underline",SQUARED:"squared",ROUNDED:"rounded"}),A=_e.MERGE_ARTICLES_TYPES={NORMAL:0,MERGED:1,ONLY_FIRST:2,PAGE_REFS:3},T=_e.NEWSMEMORY_START_MODE={READ:"read",SWIPE:"swipe",BROWSE:"browse"},I=_e.SHOW_TYPES_ARTICLE={ONLY_TEXT:"0",TEXT_AND_GRAPH:"1",ALL:"2"},v=_e.PAGES_NAVIGATION_BUTTONS_LAYOUT={HIDDEN:"0",FIXED:"1",ANIMATED:"2"},w=_e.LATEST_AVAILABLE_EDITION_FORMAT={PLAIN_MESSAGE:"0",ONLY_EDITION:"1",ISSUE_AND_EDITION:"2"},k=_e.ENCRYPT_FILENAME_TYPE={NONE:0,MAIN:1,XPAPER:2},N=(_e.MAX_SHARE_CHECK_TYPES={LOCAL:1,REMOTE:2},_e.ARTICLE_TITLE_BOX_MODE={NEVER:"0",EDITORIAL_ONLY:"1",ALL:"2"}),P=_e.DEFAULT_CUSTOM_DIMENSIONS="dimension1=$deviceType&dimension2=$issue&dimension3=$edition&dimension4=$page&dimension5=$articleId&dimension6=$action&dimension7=$ePaperAccess&dimension8=$title",L=_e.FIREBASE_DEFAULT_CUSTOM_DIMENSIONS="device=$deviceType&issue=$issue&edition=$edition&page=$page&article_id=$articleId&action=$action&epaper_access=$ePaperAccess&app_mode=$appSide&title=$title&site_id=$siteId&remote_site_id=$remoteSiteId",C=["pSetup","paper","layoutStyle","layoutSubStyle","newsmemoryToUse","rssIsEnabled","newsMemoryIsEnabled","migrate","googleAnalyticsAnonymizeIP","clientGoogleAnalyticsAccount","feedbackGoogleAnalyticsAccount","tecnaviaGoogleAnalyticsAccount","TAGoogleAnalyticsEvent","comScoreId","comScorePublisherSecret","comScoreAppName","rempAccountURL","adobeAnalyticsEnabled","adobeAnalyticsConfig","matherAnalyticsEnabled","matomoEnabled","matomoConfig","matomoTrackerEnabled","matomoTrackerConfig","facebookAnalyticsEnabled","attConfig","iubendaEnabled","iubendaConfig","bundleUpdateAvailable","resetAppBundle","isGenericApp","rnStyles","fixButtonsBarToBottom","externalXPapers","pushTags","useAsymmetricCardList","preventScreenshots","showNativeOptionsPageFallbackUrl","lockPanIfNotZoomedByDegrees","showOpenArticleExtraOnTitleBox","osanoEnabled","osanoConfig"],M=["checksum"],R=["json","pSetupFileTime","checksum","lastIssue","lastEdition","demoIssue","external"],O=u.default.SP.keys;_e.PaperSetupConfig=(function(u){function x(){var e,s,n,h;(0,t.default)(this,x);for(var u=arguments.length,_=new Array(u),c=0;c0&&void 0!==arguments[0]?arguments[0]:{};if(yield(0,n.default)((0,o.default)(x.prototype),"init",this).call(this,t),this.layoutStyle=yield this.getValue(O.layout_style),!this.layoutStyle)return!1;if(this.pSetup===g.getAppPSetup()){var s=yield g.getUserSettings().getForceLayoutSubStyle();this.layoutSubStyle=s||(yield this.getValue(O.layout_sub_style))}else this.layoutSubStyle=yield this.getValue(O.layout_sub_style);var l=(yield this.getValue(O.user_ip))||"n/a";r(d[11]).NetworkUtils.setIP(l),this.isAllowedIP="1"===(yield this.getValue(O.is_allowed_ip)),this.machine=yield this.getValue(O.machine),this.premiumIconURL=this.machine.concat("/eeLayout/").concat(this.layoutStyle).concat("/").concat(this.layoutSubStyle).concat("/images/webapp/tecnavia_premium_article.png"),this.paper=yield this.getValue(O.paper),this.xpaper=yield this.getValue(O.xpaper),this.appModeSelectionPageEnabled="1"===(yield this.getValue(O.app_mode_selection_page_enabled)),this.appModeSelectionPageURL=yield this.getValue(O.app_mode_selection_page_url),this.appModeSelectionPageVersion=Number.parseInt(yield this.getValue(O.app_mode_selection_page_version),10)||0,this.poweredBy=yield this.getValue(O.powered_by),this.poweredByURL=yield this.getValue(O.powered_by_url),this.copyright=yield this.getValue(O.copyright),this.copyrightURL=yield this.getValue(O.copyright_url),this.addDisclaimer=yield this.getValue(O.add_disclaimer),this.paperName=yield this.getValue(O.paper_name),this.language=yield this.getValue(O.language),this.siteDomain=yield this.getValue(O.site_domain),this.isLite="1"===(yield this.getValue(O.is_lite)),this.initpageXpaperNotView=(yield this.getValue(O.init_x_paper_not_in_view))||"",this.externalXPapers=(yield this.getValue(O.external_xpapers))||"",this.specialBeforeIndex=yield this.getValue(O.special_before_index),this.specialBeforeIndexTablet=yield this.getValue(O.special_before_index_tablet),this.specialBeforeIndexPhone=yield this.getValue(O.special_before_index_phone),this.udb=yield this.getValue(O.udb),this.loginStatus=new(r(d[12]).LoginStatus),yield this.loginStatus.init(this.udb),this.loginStatus.setOneTimeToken(yield this.getValue(O.preview_token));var h=(yield this.getValue(O.refreshes_tauid))||"";this.refreshesTAUIDTimestamp=r(d[11]).DateUtils.getUnixTimestampFromDateTimeString(h);var u="";if("1"===(yield this.getValue(O.change_user_agent_for_oauth)))if(r(d[11]).PlatformUtils.isAndroid())u=(yield this.getValue(O.custom_user_agent_for_oauth))||"";else{var y=(yield this.getValue(O.custom_string_to_append_to_user_agent_for_oauth))||"Safari/{APPLE_WEBKIT_VERSION}";y&&(y=y.replace("{APPLE_WEBKIT_VERSION}",r(d[11]).PlatformUtils.getAppleWebKitVersion()),u=r(d[11]).PlatformUtils.getUserAgent()+" "+y)}this.overrideNewsMemoryUserAgent=u,this.newsmemoryToUse=parseInt((yield this.getValue(O.newsmemory_to_use))||E.NATIVE,10),this.newsmemoryToUseTimestamp=(yield this.getValue(O.newsmemory_to_use_timestamp))||"",this.galleryDownloadEnabled=r(d[11]).PlatformUtils.isAndroid()&&"1"===(yield this.getValue(O.gallery_download_enabled)),this.galleryThumbnailEnabled="1"!==(yield this.getValue(O.gallery_thumbnail_disabled)),this.openHttpLinkOnExternalBrowser="0"!==((yield this.getValue(O.open_http_link_on_external_browser))||"1"),this.pSetupFileTime=parseInt((yield this.getValue(O.file_time))||-1,10),this.rssIndexFileTime=parseInt((yield this.getValue(O.rss_index_file_time))||-1,10),this.customLanguagePackFileTime=parseInt((yield this.getValue(O.custom_language_pack_file_time))||-1,10),this.customFontsString=null!=(e=yield this.getValue(O.custom_fonts))?e:"",this.customFontsFileTime=parseInt((yield this.getValue(O.custom_fonts_file_time))||-1,10),this.loadEditionsUrl=yield this.getValue(O.load_editions_url);var b=parseInt(yield this.getValue(O.option_page_mode),10),C=yield this.getValue(O.option_page_url),M=(yield this.getValue(O.option_page_coordinates))||"",R="1"===(yield this.getValue(O.option_page_modal));this.optionspageConfig=new(r(d[13]).OptionspageConfig)({mode:b,baseURL:C,coordinatesString:M,modal:R}),this.optionsPageTabPath=(yield this.getValue(O.options_page_tab_path))||"";var D=yield this.getValue(O.mode_enabled);this.rssIsEnabled=yield this.checkIfRssIsEnabled(),this.newsMemoryIsEnabled=D===p||D===V||D===f,this.startupMode=yield this.getValue(O.startup_mode),this.startupModeTimestamp=(yield this.getValue(O.startup_mode_timestamp))||"";var F=yield this.getValue(O.base_rss_update_url);F=r(d[11]).NetworkUtils.addDefaultProtocol(F),F=_.default.replaceUrlPlaceHolder(F),this.baseRssUpdateURL=F,this.feedbackEnabled="1"===(yield this.getValue(O.feedback.enable)),this.feedbackEnabled&&(this.feedbackConfig=new(r(d[14]).FeedbackConfig)(this.pSetup,this.originalMachine),yield this.feedbackConfig.init(t)),this.disableFirebaseAnalytics="1"===((yield this.getValue(O.disable_firebase_analytics))||"0"),this.firebaseAnalyticsCustomDimensions=(yield this.getValue(O.firebase_analytics_custom_dimensions))||L,this.otherFirebaseProjects=[];var U=yield this.getValue(O.other_firebase_projects);if(U)try{this.otherFirebaseProjects=JSON.parse(U)}catch(e){}this.firebaseAnalyticsSendExternalId="1"===((yield this.getValue(O.firebase_analytics_send_external_id))||"0"),this.disableGoogleAnalytics3="1"===((yield this.getValue(O.disable_google_analytics_3))||"0"),this.googleAnalyticsAnonymizeIP="1"===((yield this.getValue(O.g_analytics_anonymize_ip))||"1"),this.clientGoogleAnalyticsAccount=yield this.getValue(O.g_analytics),this.feedbackGoogleAnalyticsAccount=yield this.getValue(O.g_analytics_feedback),this.tecnaviaGoogleAnalyticsAccount=yield this.getValue(O.g_analytics_tecnavia),this.TAGoogleAnalyticsEvent=yield this.getValue(O.ta_google_analytics_event),this.googleAnalyticsCustomDimensions=(yield this.getValue(O.google_analytics_custom_dimensions))||P,this.rempAccountURL=yield this.getValue(O.remp_account),this.comScoreAppName=yield this.getValue(O.comscore.app_name),this.comScoreId=yield this.getValue(O.comscore.id),this.comScorePublisherSecret=yield this.getValue(O.comscore.publisher_secret),this.comScoreBaseURL=yield this.getValue(O.comscore.base_url),this.matherAnalyticsEnabled="1"===((yield this.getValue(O.mather_analytics.enabled))||"0"),this.matherAnalyticsCustomerId=(yield this.getValue(O.mather_analytics.customer_id))||"",this.matherAnalyticsSiteId=(yield this.getValue(O.mather_analytics.site_id))||"",this.matherAnalyticsSendEmail="1"===((yield this.getValue(O.mather_analytics.send_email))||"0"),this.adobeAnalyticsEnabled="1"===((yield this.getValue(O.adobe_analytics.enabled))||"0"),this.adobeAnalyticsEnabled&&(this.adobeAnalyticsConfig=new(r(d[15]).AdobeAnalyticsConfig)(this.pSetup,this.originalMachine),yield this.adobeAnalyticsConfig.init(t)),this.matomoEnabled="1"===((yield this.getValue(O.matomo.enabled))||"0"),this.matomoEnabled&&(this.matomoConfig=new(r(d[16]).MatomoConfig)(this.pSetup,this.originalMachine),yield this.matomoConfig.init(t,this.googleAnalyticsCustomDimensions)),this.matomoTrackerEnabled="1"===((yield this.getValue(O.matomo_tracker.enabled))||"0"),this.matomoTrackerEnabled&&(this.matomoTrackerConfig=new(r(d[17]).MatomoTrackerConfig)(this.pSetup,this.originalMachine),yield this.matomoTrackerConfig.init(t));var B=(yield this.getValue(O.facebook_enabled))||"";this.facebookAnalyticsEnabled=B&&"0"!==B,this.blueConicEnabled="1"===((yield this.getValue(O.blueconic.enabled))||"0"),this.blueConicEnabled&&(this.blueConicConfig=new(r(d[18]).BlueConicConfig)(this.pSetup,this.originalMachine),yield this.blueConicConfig.init(t)),this.chartbeatConfig=new(r(d[19]).ChartbeatConfig)(this.pSetup,this.originalMachine),yield this.chartbeatConfig.init(t),this.defaultConnectivity=yield this.getValue(O.default_connectivity),this.defaultConnectivityTimestamp=(yield this.getValue(O.default_connectivity_timestamp))||"",this.urlType=(yield this.getValue(O.url_type))||S.UNDERLINE,this.showLinksHighlight="1"===((yield this.getValue(O.showLinksHighlight))||"1"),this.relabel={fitPageButton:yield this.getValue(O.relabel_fit_page_button),downloadButton:yield this.getValue(O.relabel_offline_button),helpButton:yield this.getValue(O.relabel_help_button),settingsButton:yield this.getValue(O.relabel_setting_button),editionsButton:yield this.getValue(O.relabel_option_button),specialSectionButton:yield this.getValue(O.relabel_special_sections_button),searchButton:yield this.getValue(O.relabel_search_button),indexButton:yield this.getValue(O.relabel_ebook_button),gBookButton:yield this.getValue(O.relabel_gbook_button),thumbnailButton:yield this.getValue(O.relabel_phodir_button),feedButton:yield this.getValue(O.relabel_feed_button)},this.defaultMaxIssues=parseInt(yield this.getValue(O.default_max_issues),10)||30,this.dateFormat=yield this.getValue(O.date_format),this.showWeekAfterDate="1"===(yield this.getValue(O.show_week)),this.downloadMultiZips="1"===(yield this.getValue(O.download_multi_zips)),this.showTypesArticle=(yield this.getValue(O.show_types_article))||I.TEXT_AND_GRAPH,this.enableArticleExtra="1"===((yield this.getValue(O.enable_article_extra))||"0"),this.maxZipsToDownloadEachRequest=parseInt(yield this.getValue(O.max_zips_to_download_per_request),10)||10,this.cssFilesToAdd="csscustom";var z=yield this.getValue(O.css_files_to_add);z&&(this.cssFilesToAdd+=","+z),this.emailContent=yield this.getValue(O.email_content),this.emailSubject=yield this.getValue(O.email_subject),this.twitterText=yield this.getValue(O.twitter_text),this.updateDBPercentage=parseInt(yield this.getValue(O.update_db_percentage),10)||50,this.enableAdvancedGesturesMode="1"===((yield this.getValue(O.enable_advanced_gestures_mode))||"1"),this.enableAdvancedGesturesMode?(this.twoFingersTapToArticle="1"===((yield this.getValue(O.two_fingers_tap_to_article))||"0"),this.twoFingersTapToArticle?this.singleTapToZoom="1"===((yield this.getValue(O.single_tap_to_zoom))||"1"):this.singleTapToZoom=!1):(this.twoFingersTapToArticle=!0,this.singleTapToZoom=!0),this.lockHorizontalPanIfNotZoomed="1"===((yield this.getValue(O.lock_horizontal_pan_if_not_zoomed))||"0"),this.lockPanIfNotZoomedByDegrees=yield this._getLockPanIfNotZoomedByDegrees(),this.machineForHR=(yield this.getValue(O.machine_for_hr))||this.machine,this.translationAvailable="1"===(yield this.getValue(O.translation_available)),this.translationServer=(yield this.getValue(O.translation_server))||"",this.useNativeAccessibility="1"===((yield this.getValue(O.use_native_accessibility))||"0")||g.isDebug,this.useCarMode="1"===((yield this.getValue(O.use_car_mode))||"0")||g.isDebug,this.showNativeOptionsPageFallbackUrl=yield this.getValue(O.show_native_options_page_fallback_url),this.showNativeOptionsPage="1"===((yield this.getValue(O.show_native_options_page))||"0"),this.showNativeSettingsScreen="1"===((yield this.getValue(O.show_native_settings_screen))||"0")||g.isDebug,this.showTranslationCustomization="1"===((yield this.getValue(O.enable_translation_customization))||"1"),this.showThemesCustomization="1"===((yield this.getValue(O.show_themes_customization))||"1"),this.enableZoomLevelCustomization="1"===((yield this.getValue(O.enable_zoom_level_customization))||"1"),this.enableArticleTypesCustomization="1"===((yield this.getValue(O.enable_article_types_customization))||"1"),this.showArticleColumnViewCustomization="1"===((yield this.getValue(O.show_article_column_view_customization))||"1"),this.showNavigationButtonsLayoutCustomization="1"===((yield this.getValue(O.show_navigation_buttons_layout_customization))||"1"),this.showXPaperNavigationCloseButton="1"===((yield this.getValue(O.show_xpaper_navigation_close_button))||"0"),this.showHighlightBehaviorCustomization="1"===((yield this.getValue(O.show_highlight_behavior_customization))||"1"),this.showOpenArticleExtraOnTitleBox=(yield this.getValue(O.show_open_article_extra_on_title_box))||N.NEVER,this.changeFavoriteEdition="1"===((yield this.getValue(O.change_favorite_edition))||"0"),this.favoriteEdition=(yield this.getValue(O.favorite_edition))||"",this.enableConnectivityOptions="1"===((yield this.getValue(O.enable_connectivity_options))||"1"),this.enableFontSizeCustomization="1"===((yield this.getValue(O.enable_font_size_customization))||"1"),this.enableGraphSizeCustomization="1"===((yield this.getValue(O.enable_graph_size_customization))||"1"),this.fitGraphicArticle=parseInt((yield this.getValue(O.fit_graphic_article))||"1",10),this.subPath=yield this.getValue(O.sub_path),this.extraLinkColor=(yield this.getValue(O.extra_link_color))||"255,0,0,0.25";var H=parseInt(yield this.getValue(O.background_duration_article_selected),10);this.backgroundDurationArticleSelected=r(d[11]).JSUtils.isNumber(H)?H:r(d[20]).HIDE_ANIMATION_DURATION;var G=parseInt(yield this.getValue(O.background_timer_article_selected),10);this.backgroundTimerArticleSelected=r(d[11]).JSUtils.isNumber(G)?G:r(d[20]).HIDE_ANIMATION_TIMER,this.backgroundColorArticleSelected=(yield this.getValue(O.background_color_article.selected))||"255,0,0,0.25",this.backgroundColorArticleToSelect=(yield this.getValue(O.background_color_article.to_select))||this.backgroundColorArticleSelected,this.previewHighlightEnabled="1"===((yield this.getValue(O.preview_highlight_enabled))||"0"),this.previewHighlightDurationSeconds=parseInt((yield this.getValue(O.preview_highlight_duration_seconds))||"2",10),this.zoomingFactor=parseInt(yield this.getValue(O.zooming_factor),10),this.zoomingFactor=this.zoomingFactor<=0?100:this.zoomingFactor,this.maxZoom=parseInt((yield this.getValue(O.max_zoom))||"5",10),this.pdfThumbnailRatio=parseFloat((yield this.getValue(O.pdf_thumbnail_ratio))||"0.5"),this.einkCompleteHrFactor=parseFloat((yield this.getValue(O.eink_complete_hr_factor))||"2.2"),this.hrFactor=parseInt((yield this.getValue(O.hr_factor))||"1",10),this.pdfFactor=parseFloat((yield this.getValue(O.pdf_factor))||"1.2"),this.pdfFactorLandscape=parseFloat((yield this.getValue(O.pdf_factor_landscape))||"1"),this.forcePdfInRoamingMode="1"===((yield this.getValue(O.force_pdf_in_roaming_mode))||"0"),this.lowPagesToRender=parseInt((yield this.getValue(O.low_pages_to_render))||"1",10),this.midPagesToRender=parseInt((yield this.getValue(O.mid_pages_to_render))||"1",10),this.loadMidResOnScroll="1"===((yield this.getValue(O.load_mid_res_on_scroll))||"1"),this.enableArticleTextSelection="1"===(yield this.getValue(O.enable_article_text_selection)),this.showEditionThumbs="1"===(yield this.getValue(O.show_edition_thumbs)),this.scrollTiles=r(d[11]).PlatformUtils.isTablet()?yield this.getValue(O.scroll_tiles):yield this.getValue(O.scroll_tiles_phone),this.scrollTiles=parseInt(this.scrollTiles,10),this.onLoginErrorGoTo=(yield this.getValue(O.on_login_error_go_to))||r(d[21]).tabs.home,this.onValidationErrorGoTo=(yield this.getValue(O.on_validation_error_go_to))||r(d[21]).tabs.login,this.timeLimitCheckEdition=60*(parseInt(yield this.getValue(O.time_limit_check_edition),10)||10)*1e3,this.latestEditionAvailableMessageFormat=parseInt(yield this.getValue(O.latest_edition_available_message_format),10)||w.ISSUE_AND_EDITION,this.timeLimitCheckLogin=1e3*(parseInt(yield this.getValue(O.time_limit_check_login),10)||7200),this.timeLimitForgetLogin=60*(parseInt(yield this.getValue(O.time_limit_forget_login),10)||120)*1e3,this.lastPSetup=(yield this.getValue(O.last_pSetup))||this.pSetup,this.lastIssue=yield this.getValue(O.last_issue),this.lastEdition=yield this.getValue(O.last_edition),this.demoIssue=yield this.getValue(O.demo_issue),this.articleModeDefaultFullscreenPortrait=(yield this.getValue(O.force_article_mode_fullscreen_portrait))||"0",this.articleModeDefaultFullscreenLandscape=(yield this.getValue(O.force_article_mode_fullscreen_landscape))||"0",this.enableTextToSpeech=1===parseInt((yield this.getValue(O.enable_text_to_speech))||"1",10),this.enableTextToSpeechPlayer=1===parseInt((yield this.getValue(O.enable_text_to_speech_player))||"0",10),this.textToSpeechRate=parseFloat(yield this.getValue(O.text_to_speech_rate))||0,this.textToSpeechChunkLength=parseInt(yield this.getValue(O.text_to_speech_chunk_length),10)||1e3,this.lowSpeedLimit=parseInt(yield this.getValue(O.low_speed_limit),10)||250,this.disableLowSpeedLimit=1===parseInt((yield this.getValue(O.disable_low_speed_limit))||"0",10),this.baseInAppPurchaseAPIUrl=yield this.getValue(O.base_iap_api_url),this.allAndroidSkus=yield this.getValue(O.all_skus),this.isNNB=1===parseInt(yield this.getValue(O.is_nnb),10),this.enableVmodeAndFitOrientation=1===parseInt((yield this.getValue(O.enable_vmode_and_fit_orientation))||"1",10),this.fitPageType=parseInt((yield this.getValue(O.fit_page_type))||(this.enableVmodeAndFitOrientation?"7":"6"),10),this.startInIndexMode=(yield this.getValue(O.start_in_index_mode))||"0",this.epaperStartMode=(yield this.getValue(O.epaper_start_mode))||T.READ,this.disableEPaperModeSelectionPage="1"===((yield this.getValue(O.disable_epaper_mode_selection_page))||"0"),this.cdnEnabled="1"===((yield this.getValue(O.cdn_enabled))||"1"),this.cdnServer=yield this.getValue(O.cdn_server),this.cdnVersion=parseInt((yield this.getValue(O.cdn_version))||"0",10),this.disableRnDemo="1"===((yield this.getValue(O.disable_rn_demo))||"0"),this.landingPageURL=yield this.getValue(O.landing_page_url),this.landingPageVersion=parseInt(yield this.getValue(O.landing_page_version),10)||0,this.showLandingPageOnce="1"===(yield this.getValue(O.show_landing_page_once)),this.forcedSharedSecret=yield this.getValue(O.forced_shared_secret),this.useIOSSandboxReceiptValidation="1"===(yield this.getValue(O.use_ios_sandbox_receipt_validation)),this.encryptFilenames=parseInt((yield this.getValue(O.use_cc))||k.NONE,10),this.migrate="1"===((yield this.getValue(O.migrate))||"0"),this.hybridVersion=(yield this.getValue(O.hybrid_version))||"0",this.enableAppendFirstPages=1===parseInt((yield this.getValue(O.append_first_pages))||"1",10),this.pngQualityFactor=parseFloat((yield this.getValue(O.png_quality_factor))||"1.8"),this.generatePNGBasedOnScreenDimensions="1"===((yield this.getValue(O.generate_png_based_on_screen_dimensions))||"1"),this.considerPixelRatioInPNGGeneration="1"===((yield this.getValue(O.consider_pixel_ratio_in_png_generation))||"1"),this.pngWidthLimit=parseInt((yield this.getValue(O.png_width_limit))||"1080",10),this.enablePrint="1"===((yield this.getValue(O.print_enabled))||"1"),this.printToLetter="1"===((yield this.getValue(O.print_to_letter))||"1"),this.printMargin=parseInt((yield this.getValue(O.print_margin))||"10",10),this.isGenericApp="1"===((yield this.getValue(O.generic_app_enabled))||"0"),this.publicationsPageURL=(yield this.getValue(O.store_url))||"",this.iapActive="1"===((yield this.getValue(O.iap_active))||"0");var Y=(yield this.getValue(O.payments))||"[]",$=JSON.parse(Y);this.payments=$.map(function(e){return new c.default(e)}),this.enableMultipleSubscriptionsAlert="1"===((yield this.getValue(O.enable_multiple_subscriptions_alert))||"1"),this.protectSite=parseInt((yield this.getValue(O.protect_site))||"0",10),this.protectSite>0?this.validateSite=parseInt((yield this.getValue(O.validate_site))||"0",10):this.validateSite=0,this.pagesNavigationButtonsLayout=(yield this.getValue(O.pages_navigation_buttons_layout))||v.FIXED,this.animateLayoutFooter="1"===((yield this.getValue(O.animate_layout_footer))||"0"),this.fixButtonsBarToBottom="1"===((yield this.getValue(O.fix_buttons_bar_to_bottom))||"0")&&r(d[11]).PlatformUtils.isTablet(),this.dfpReloadTime=parseInt((yield this.getValue(O.dfp_reload_time))||"20000",10),this.twoFingersTapHintEnabled="1"===((yield this.getValue(O.two_fingers_tap_hint_enabled))||"1"),this.twoFingersTapMaxHints=parseInt((yield this.getValue(O.two_fingers_tap_max_hints))||"5",10),this.enableShare="1"===((yield this.getValue(O.enable_share))||"1"),this.maxShares=parseInt((yield this.getValue(O.max_shares))||"0",10),this.maxSharesCheckType=parseInt((yield this.getValue(O.max_shares_check_type))||"1",10),this.messageMaxShare=(yield this.getValue(O.message_max_share))||"",this.downloadSinglePdf="1"===((yield this.getValue(O.download_single_pdf))||"0"),this.mergeArticles=parseInt((yield this.getValue(O.merge_articles))||A.NORMAL,10),this.columnView=parseInt((yield this.getValue(O.column_view))||"1",10),this.enablePhoneArticleLayoutOnTabletInLandscape="1"===((yield this.getValue(O.enable_phone_article_layout_on_tablet_in_landscape))||"0"),this.enableDesktopArticleLayoutOnIPadProInLandscape="1"===((yield this.getValue(O.enable_desktop_article_layout_on_ipad_pro_in_landscape))||"0"),this.showArtComplete="1"===((yield this.getValue(O.show_art_complete))||"0"),this.calculateMidAds="1"===((yield this.getValue(O.calculate_mid_ads))||"0"),this.keepArticlePositionOnRotation="1"===((yield this.getValue(O.keep_article_position_on_rotation))||"0"),this.enableArticleImageReposition="1"===((yield this.getValue(O.enable_article_image_reposition))||"0"),this.enableArticleBylineHRs="1"===((yield this.getValue(O.enable_article_byline_hrs))||"1"),this.ads=(yield this.getValue(O.ads))||"",this.enableInStoryAdMarker="1"===((yield this.getValue(O.enable_instory_ad_marker))||"0"),this.inStoryAdMarkerText=(yield this.getValue(O.instory_ad_marker_text))||g.strings("str_advertisement"),this.disableRnStyles="1"===((yield this.getValue(O.disable_rn_styles))||"0"),this.rnStyles={};var W=yield this.getValue(O.rn_styles);if(W)try{this.rnStyles=JSON.parse(W)}catch(e){}this.rnStylesFileTime=parseInt((yield this.getValue(O.rn_styles_file_time))||-1,10),this.sslCertificateFileTime=parseInt((yield this.getValue(O.ssl_certificate_file_time))||-1,10),this.deviceDpi=parseInt((yield this.getValue(O.device_dpi))||0,10),this.tocStyle=(yield this.getValue(O.toc_style))||"list",this.tocStylePreview=(yield this.getValue(O.toc_style_preview))||"all_art",this.enableTabIndexMode="1"===((yield this.getValue(O.enable_tab_index_mode))||"0"),this.showTabIndexModeCustomization="1"===((yield this.getValue(O.show_tab_index_mode_customization))||(this.enableTabIndexMode?"1":"0")),this.bundleUpdateAvailable="1"===((yield this.getValue(O.bundle_update_available))||"0"),this.resetAppBundle="1"===((yield this.getValue(O.reset_app_bundle))||"0"),this.seeNewspaperPreview=parseInt((yield this.getValue(O.see_newspaper_preview))||"0",10),this.pageSeeNewspaperPreview=parseInt(yield this.getValue(O.page_see_newspaper_preview),10)||2,this.hoursToSendPushRegistration=parseInt(yield this.getValue(O.hours_to_send_push_registration),10)||6,this.webviewIOSNativePlayer="1"===((yield this.getValue(O.webview_ios_native_player))||"0"),this.webviewAndroidAllowFullscreen="1"===((yield this.getValue(O.webview_android_allow_fullscreen))||"1"),this.webviewAllowAutoplay="1"===((yield this.getValue(O.webview_allow_autoplay))||"0"),this.webviewCustomHTTPHeaders={};var X=yield this.getValue(O.webview_custom_http_headers);X&&(this.webviewCustomHTTPHeaders=r(d[11]).StringUtils.parseQuerystring(X)),this.attConfig=new(r(d[22]).ATTConfig)(this.pSetup,this.originalMachine),yield this.attConfig.init(t),this.iubendaEnabled="1"===((yield this.getValue(O.iubenda.enabled))||"0"),this.iubendaEnabled&&(this.iubendaConfig=new(r(d[23]).IubendaConfig)(this.pSetup,this.originalMachine),yield this.iubendaConfig.init(t)),this.osanoEnabled="1"===((yield this.getValue(O.osano.enabled))||"0"),this.osanoEnabled&&(this.osanoConfig=new(r(d[24]).OsanoConfig)(this.pSetup,this.originalMachine),yield this.osanoConfig.init(t)),this.showExtrasInArticleGraphicMode="1"===((yield this.getValue(O.show_extras_in_article_graphic_mode))||"0"),this.showExtrasToLoggedUsersOnly="1"===((yield this.getValue(O.show_extras_to_logged_users_only))||"0"),this.morseTAUID="1"===((yield this.getValue(O.morse_tauid))||"0"),this.addWatermark="1"===((yield this.getValue(O.add_watermark))||"0"),this.watermarkText=(yield this.getValue(O.watermark_text))||"$extId",this.disableScreenIdleTimerDelay="1"===((yield this.getValue(O.disable_screen_idle_timer_delay))||"0");var Z=(yield this.getValue(O.startup_params))||"{}";try{this.startupParams=JSON.parse(Z)}catch(e){this.startupParams={}}return this.enableSessionCollection="1"===((yield this.getValue(O.enable_session_collection))||"0"),this.enableSessionAutoUpload="1"===((yield this.getValue(O.enable_session_auto_upload))||"0"),this.sessionUploadBaseURL=(yield this.getValue(O.session_upload_base_url))||"",this.disableReaderAppModal=!0,this.readerAppLearnMoreLink="",r(d[11]).PlatformUtils.isIOS()&&(this.disableReaderAppModal="1"===((yield this.getValue(O.disable_reader_app_modal))||"0"),this.readerAppLearnMoreLink=(yield this.getValue(O.reader_app_learn_more_link))||"https://apps.apple.com/story/id1614232807"),this.checksum=(yield this.getValue(O.checksum))||"",this.pushTags=(yield this.getValue(O.push_tags))||"",this.sslDomains=((yield this.getValue(O.ssl_domains))||"").split(","),this.useAsymmetricCardList="1"===((yield this.getValue(O.use_asymmetric_card_list))||"1"),this.preventScreenshots="1"===((yield this.getValue(O.prevent_screenshots))||"0"),!0});return function(){return t.apply(this,arguments)}})()},{key:"setLastIssue",value:function(e){this.lastIssue=e,this.setValue(O.last_issue,e)}},{key:"setLastEdition",value:function(e){this.lastEdition=e,this.setValue(O.last_edition,e)}},{key:"setLastPSetup",value:function(e){this.lastPSetup=e,this.setValue(O.last_pSetup,e)}},{key:"setDemoIssue",value:function(e){this.demoIssue=e,this.setValue(O.demo_issue,e)}},{key:"setRssIndexFileTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.rssIndexFileTime=e,this.setValue(O.rss_index_file_time,""+e)}},{key:"setCustomLanguagePackFileTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.customLanguagePackFileTime=e,this.setValue(O.custom_language_pack_file_time,""+e)}},{key:"setCustomFontsFileTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.customFontsFileTime=e,this.setValue(O.custom_fonts_file_time,""+e)}},{key:"setRNStyles",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.rnStyles=e,this.setValue(O.rn_styles,JSON.stringify(e))}},{key:"setRNStylesFileTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.rnStylesFileTime=e,this.setValue(O.rn_styles_file_time,""+e)}},{key:"setSSLCertificateFileTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.sslCertificateFileTime=e,this.setValue(O.ssl_certificate_file_time,""+e)}},{key:"setModeEnabled",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.rssIsEnabled=e===b||e===f,this.newsMemoryIsEnabled=e===p||e===V||e===f,t||this.setValue(O.mode_enabled,e)}},{key:"checkIfRssIsEnabled",value:(function(){var t=(0,e.default)(function*(){var e=yield this.getValue(O.mode_enabled);return e===b||e===f});return function(){return t.apply(this,arguments)}})()},{key:"getPaymentByProductId",value:function(e){if(this.payments)return this.payments.find(function(t){return t.checkProductId(e)})}},{key:"setExternal",value:function(e){this.external=e}},{key:"setAllowedIP",value:function(e){this.isAllowedIP=e,this.setValue(O.is_allowed_ip,e?"1":"0")}},{key:"setCDNEnabled",value:function(e){this.cdnEnabled=e,this.setValue(O.cdn_enabled,e?"1":"0")}},{key:"setCDNServer",value:function(e){this.cdnServer=e,this.setValue(O.cdn_server,e)}},{key:"setCDNVersion",value:function(e){this.cdnVersion=parseInt(e,10),this.setValue(O.cdn_version,e)}},{key:"setBundleUpdateAvailable",value:function(e){this.bundleUpdateAvailable=e,this.setValue(O.bundle_update_available,e?"1":"0")}},{key:"setMigrate",value:function(e){this.migrate=e,this.setValue(O.migrate,e?"1":"0")}},{key:"setNativeOptionspageFallbackVersion",value:function(e){this.showNativeOptionsPageFallbackUrl=e,this.setValue(O.show_native_options_page_fallback_url,e)}},{key:"_getDifferences",value:function(e){var t=this,s=[];if(e)try{(s=Object.keys(this).filter(function(s){if("function"==typeof t[s])return!1;if("object"==typeof t[s]){var l={};return t[s]instanceof r(d[25]).PaperSetupBaseConfig&&(l.skipKeys=["json"]),!r(d[11]).JSUtils.areEqualDeep(t[s],e[s],l)}return t[s]!==e[s]})).length}catch(e){}return s}},{key:"_checkIfNeedToRestart",value:function(e){return void 0!==e.find(function(e){return C.includes(e)})}},{key:"_checkIfNeedToUpdate",value:function(e){return void 0!==e.find(function(e){return!R.includes(e)})}},{key:"_checkIfNeedLayoutUpdate",value:function(e){return void 0!==e.find(function(e){return M.includes(e)})}},{key:"_getLockPanIfNotZoomedByDegrees",value:(function(){var t=(0,e.default)(function*(){try{return JSON.parse(yield this.getValue(O.lock_pan_if_not_zoomed_by_degrees))}catch(e){}return[0,90]});return function(){return t.apply(this,arguments)}})()}])})(r(d[25]).PaperSetupBaseConfig)},850,[3,272,6,7,11,79,13,14,851,852,853,439,854,856,857,859,860,861,862,863,864,865,1833,1834,1835,858]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),o=r(d[0])(r(d[2])),n=r(d[0])(r(d[3]));(e.default=(function(){return(0,n.default)(function t(){(0,o.default)(this,t)},null,[{key:"setItem",value:(function(){var o=(0,t.default)(function*(t,o,n){return r(d[4]).StorageUtils.setItem(t,o,n)});return function(t,n,s){return o.apply(this,arguments)}})()},{key:"getItem",value:(function(){var o=(0,t.default)(function*(t,o){return r(d[4]).StorageUtils.getItem(t,o)});return function(t,n){return o.apply(this,arguments)}})()}])})()).SP={keys:{app_mode_selection_page_enabled:"enableAppModeSelectionPage",app_mode_selection_page_url:"appModeSelectionPageUrl",app_mode_selection_page_version:"appModeSelectionPageVersion",base_rss_update_url:"baseRssUpdateUrl",change_user_agent_for_oauth:"changeUserAgentForOAuth",custom_string_to_append_to_user_agent_for_oauth:"customStringToAppendToUserAgentForOAuth",custom_user_agent_for_oauth:"customUserAgentForOAuth",adobe_analytics:{enabled:"enableAdobeAnalytics",props_list:"adobeAnalyticsPropsList",actions:{edition_load:"adobeAnalyticsEditionLoadActionName",double_tap_to_zoom:"adobeAnalyticsDoubleTapActionName",pinch_to_zoom:"adobeAnalyticsPinchOutActionName",tts:"adobeAnalyticsTextToSpeechActionName",skip_to_end:"adobeAnalyticsSkipToEndActionName",toggle_to_print:"adobeAnalyticsToggleToPrintActionName",toggle_to_digital:"adobeAnalyticsToggleToDigitalActionName",share:"adobeAnalyticsShareActionName",scroll_zoom:"adobeAnalyticsScrollZoomActionName",link_click:"adobeAnalyticsLinkClickActionName"},states:{scrolled:"adobeAnalyticsScrolledStateName",read:"adobeAnalyticsReadStateName",zoomed:"adobeAnalyticsZoomedStateName",index:"adobeAnalyticsIndexStateName",optionspage:"adobeAnalyticsOptionspageStateName"},send_only_edition_load:"adobeAnalyticsSendOnlyEditionLoad",user_types:{unknown:"adobeAnalyticsUserTypeUnknown",subscriber:"adobeAnalyticsUserTypeSubscriber"},media:{print:"adobeAnalyticsPrintMedium",digital:"adobeAnalyticsDigitalMedium",zoomed_suffix:"adobeAnalyticsZoomedMediumSuffix"},first_page_section_prefix:"adobeAnalyticsFirstPageSectionPrefix",content_types:{first_page:"adobeAnalyticsFirstPageContentType",page:"adobeAnalyticsPageContentType",index:"adobeAnalyticsIndexContentType",article:"adobeAnalyticsArticleContentType",optionspage:"adobeAnalyticsOptionspageContentType"},edition_type:"adobeAnalyticsEditionType",device_type:"adobeAnalyticsDeviceType"},blueconic:{enabled:"blueConicEnabled",user_profile_properties:"blueConicUserProfileProperties",view_profile_properties:"blueConicViewProfileProperties"},chartbeat:{account_id:"chartbeatAccountId",domain:"chartbeatDomain",rss_enabled:"chartbeatRssEnabled",epaper_enabled:"chartbeatEpaperEnabled",section_rss_properties:"chartbeatSectionRssProperties",section_epaper_properties:"chartbeatSectionEpaperProperties",author_rss_properties:"chartbeatAuthorRssProperties",author_epaper_properties:"chartbeatAuthorEpaperProperties",rss_title_keys:"chartbeatRssTitleKeys",epaper_title_keys:"chartbeatEpaperTitleKeys",rss_screen_key:"chartbeatRssScreenKey",epaper_screen_key:"chartbeatEpaperScreenKey",rss_custom_data:"chartbeatRssCustomData",epaper_custom_data:"chartbeatEpaperCustomData"},comscore:{app_name:"comScoreAppName",base_url:"comScoreBaseUrl",id:"comScoreID",publisher_secret:"comScorePublisherSecret"},copyright:"copyright",add_disclaimer:"addDisclaimer",copyright_url:"copyrighturl",custom_language_pack_file_time:"customLanguagePackFileTimestamp",custom_fonts:"customFonts",custom_fonts_file_time:"customFontsFileTimestamp",default_connectivity:"defaultConnectivity",default_connectivity_timestamp:"defaultConnectivityTimeStamp",default_max_issues:"DEFAULT_MAX_ISSUES",feedback:{active_days_to_show:"feedbackActiveDaysToShow",ask:"feedbackAskForFeedback",email:"feedbackEmailForFeedback",reset_timestamp:"feedbackResetTimestamp",enable:"feedbackEnable",lower_active_date_range:"feedbackLowerActiveDateRange",request_title:"feedbackRequestFeedbackTitle",request_review_title:"feedbackRequestReviewFeedbackTitle",show_dont_show_again:"feedbackShowDontShowAgain",total_days_to_show:"feedbackTotalDaysToShow",upper_active_date_range:"feedbackUpperActiveDateRange",cool_down_days:"feedbackCoolDownDays",cool_down_days_dont_show_again:"feedbackCoolDownDaysDontShowAgain"},file_time:"pSetupTime",disable_firebase_analytics:"disableFirebaseAnalytics",other_firebase_projects:"otherFirebaseProjects",disable_google_analytics_3:"disableGoogleAnalytics3",g_analytics_anonymize_ip:"googleAnalyticsAnonymizeIP",g_analytics:"googleAnalyticsAccount",g_analytics_feedback:"googleAnalyticsAccountFeedback",g_analytics_tecnavia:"googleAnalyticsAccountTecnavia",gallery_download_enabled:"galleryDownloadEnabled",gallery_thumbnail_disabled:"galleryThumbnailDisabled",open_http_link_on_external_browser:"openHttpLinkOnExternalBrowser",url_type:"urltype",showLinksHighlight:"useAutoGeneratedLinks",is_lite:"newsmemoryLite",language:"language",layout_style:"layoutStyle",layout_sub_style:"layoutSubStyle",mather_analytics:{enabled:"matherAnalyticsEnable",customer_id:"matherCustomerId",site_id:"matherSiteId",send_email:"matherSendEmail"},matomo:{enabled:"matomoEnable",site_id:"matomoSiteId",rss_site_id:"matomoRssSiteId",base_url:"matomoBaseURL",visit_custom_dimensions:"matomoVisitCustomDimensions",custom_dimensions:"matomoCustomDimensions",dispatch_interval:"matomoDispatchInterval"},matomo_tracker:{enabled:"matomoTrackerEnable",site_id:"matomoTrackerSiteId",rss_site_id:"matomoTrackerRssSiteId",base_url:"matomoTrackerBaseURL",action_base_url:"matomoTrackerActionBaseURL",edition_remapping:"matomoTrackerEditionRemapping",titles:{scrolled:"matomoTrackerScrolledTitle",read:"matomoTrackerReadTitle",rss_drawer:"matomoTrackerRssDrawerTitle",rss_read:"matomoTrackerRssReadTitle"},custom_urls:{scrolled:"matomoTrackerScrolledURL",read:"matomoTrackerReadURL",rss_drawer:"matomoTrackerRssDrawerURL",rss_read:"matomoTrackerRssReadURL"},custom_dimensions:{scrolled:"matomoTrackerScrolledCustomDimensions",read:"matomoTrackerReadCustomDimensions",rss_drawer:"matomoTrackerRssDrawerCustomDimensions",rss_read:"matomoTrackerRssReadCustomDimensions"}},mode_enabled:"rssIsEnable",option_page_coordinates:"optionpageCoordinates",option_page_modal:"loginInModalMode",option_page_mode:"optionPage",option_page_url:"optionPageUrl",options_page_tab_path:"optionsPageTabPath",load_editions_url:"loadEditionsUrl",paper_name:"paperName",powered_by:"poweredBy",powered_by_url:"poweredByurl",relabel_ebook_button:"ebook_button",relabel_feed_button:"feed_button",relabel_fit_page_button:"fitPageImg_button",relabel_gbook_button:"gbook_button",relabel_help_button:"help_button",relabel_offline_button:"OfflineActionLabel",relabel_option_button:"option_button",relabel_phodir_button:"phodir_button",relabel_search_button:"search_button",relabel_setting_button:"setting_button",relabel_special_sections_button:"specialSections_button",remp_account:"rempAccount",rss_index_file_time:"rssConfigFileTimestamp",site_domain:"siteDomain",special_before_index_tablet:"specialBeforeIndexTablet",special_before_index_phone:"specialBeforeIndexPhone",special_before_index:"specialBeforeIndex",startup_mode:"disableRssAtStartup",startup_mode_timestamp:"disableRssAtStartupTimestamp",udb:"udbDatabase",newsmemory_to_use:"newsmemoryToUse",newsmemory_to_use_timestamp:"newsmemoryToUseTimeStamp",paper:"paper",xpaper:"xpaper",date_format:"DATE_FORMAT",show_week:"SHOW_WEEK",init_x_paper_not_in_view:"initpageXpaperNotView",external_xpapers:"externalXPapers",download_multi_zips:"downloadMultiZips",translation_available:"translationAvailable",translation_server:"translationServer",use_native_accessibility:"useNativeAccessibility",use_car_mode:"useCarMode",show_native_options_page_fallback_url:"showNativeOptionsPageFallbackUrl",show_native_options_page:"showNativeOptionsPage",show_native_settings_screen:"showNativeSettingsScreen",enable_translation_customization:"enableTranslationCustomization",show_themes_customization:"showThemesCustomization",enable_zoom_level_customization:"enableZoomLevelCustomization",enable_article_types_customization:"enableArticleTypesCustomization",show_article_column_view_customization:"showArticleColumnViewCustomization",show_navigation_buttons_layout_customization:"showNavigationButtonsLayoutCustomization",show_xpaper_navigation_close_button:"showXPaperNavigationCloseButton",show_highlight_behavior_customization:"showHighlightBehaviorCustomization",show_open_article_extra_on_title_box:"showOpenArticleExtraOnTitleBox",show_tab_index_mode_customization:"showTabIndexModeCustomization",change_favorite_edition:"changeFavoriteEdition",favorite_edition:"favoriteEdition",enable_connectivity_options:"enableConnectivityOptions",enable_font_size_customization:"enableFontSizeCustomization",enable_graph_size_customization:"enableGraphSizeCustomization",show_types_article:"showTypesArticle",enable_article_extra:"enableArticleExtra",max_zips_to_download_per_request:"maxZipsToDownloadEachRequest",css_files_to_add:"cssFilesToAdd",email_content:"emailContent",email_subject:"emailSubject",facebook_enabled:"ipadFacebook",twitter_text:"twitterText",update_db_percentage:"updateDBPerc",enable_advanced_gestures_mode:"enableAdvancedGesturesMode",single_tap_to_zoom:"singleTapToZoom",two_fingers_tap_to_article:"twoFingersTapToArticle",lock_horizontal_pan_if_not_zoomed:"lockHorizontalPanIfNotZoomed",lock_pan_if_not_zoomed_by_degrees:"lockPanIfNotZoomedByDegrees",machine_for_hr:"machineForHR",fit_graphic_article:"fitGraphicArticle",machine:"machine",sub_path:"subPath",extra_link_color:"extraLinkColor",background_duration_article_selected:"backgroundDurationArticleSelected",background_timer_article_selected:"backgroundTimerArticleSelected",background_color_article:{selected:"backgroundColorArticleSelected",to_select:"backgroundColorArticleToSelect"},preview_highlight_enabled:"highlightClickableUrlEnabled",preview_highlight_duration_seconds:"showHighlightingBoxesForSeconds",zooming_factor:"zoomingFactor",max_zoom:"maxZoom",ta_google_analytics_event:"TAGoogleAnalyticsEvent",google_analytics_custom_dimensions:"googleAnalyticsCustomDimensions",firebase_analytics_custom_dimensions:"firebaseAnalyticsCustomDimensions",firebase_analytics_send_external_id:"firebaseAnalyticsSendExternalId",enable_article_text_selection:"enableArticleTextSelection",enable_article_byline_hrs:"enableArticleBylineHrs",on_login_error_go_to:"onLoginErrorGoTo",on_validation_error_go_to:"onValidationErrorGoTo",time_limit_check_edition:"timeLimitForRestart",time_limit_check_login:"timeLimitToCheckLoginOnRestart",time_limit_forget_login:"timeLimitNotRememberLoginOnRestart",last_pSetup:"lastPSetup",last_issue:"lastIssue",last_edition:"lastEdition",latest_edition_available_message_format:"latestEditionAvailableMessageFormat",demo_issue:"demoIssue",show_edition_thumbs:"showEditionThumbs",scroll_tiles_phone:"scrollTilesPhone",scroll_tiles:"scrollTiles",force_article_mode_fullscreen_portrait:"forceArticleModeFullscreenPortrait",force_article_mode_fullscreen_landscape:"forceArticleModeFullscreenLandscape",enable_text_to_speech:"enableTextToSpeech",enable_text_to_speech_player:"enableTextToSpeechPlayer",text_to_speech_rate:"textToSpeechRate",text_to_speech_chunk_length:"textToSpeechChunkLength",low_speed_limit:"lowSpeedLimit",disable_low_speed_limit:"disableLowSpeedLimit",base_iap_api_url:"baseInAppPurchaseAPIUrl",all_skus:"allSkus",is_nnb:"isNNB",enable_vmode_and_fit_orientation:"enableVmodeAndFitOrientation",fit_page_type:"xc_fitPage",start_in_index_mode:"startInIndexMode",epaper_start_mode:"epaperStartMode",disable_epaper_mode_selection_page:"disableEPaperModeSelectionPage",cdn_enabled:"cdnEnabled",cdn_server:"cdnServer",cdn_version:"cdnVersion",disable_rn_demo:"disableRnDemo",pdf_thumbnail_ratio:"pdfThumbnailRatio",eink_complete_hr_factor:"einkCompleteHrFactor",hr_factor:"hrFactor",pdf_factor:"pdfFactor",pdf_factor_landscape:"pdfFactorLandscape",force_pdf_in_roaming_mode:"forcePdfInRoamingMode",low_pages_to_render:"lowPagesToRender",mid_pages_to_render:"midPagesToRender",load_mid_res_on_scroll:"loadMidResOnScroll",show_landing_page_once:"showLandingPageOnce",landing_page_version:"landingPageVersion",landing_page_url:"landingPageURL",forced_shared_secret:"sharedSecret",use_ios_sandbox_receipt_validation:"useIOSSandboxReceiptValidation",use_cc:"useCC",migrate:"migrate",hybrid_version:"hybridVersion",append_first_pages:"appendFirstPages",png_quality_factor:"pngQualityFactor",generate_png_based_on_screen_dimensions:"generatePNGBasedOnScreenDimensions",consider_pixel_ratio_in_png_generation:"considerPixelRatioInPNGGeneration",png_width_limit:"pngWidthLimit",print_enabled:"ipadPrint",print_to_letter:"printToLetter",print_margin:"printMargin",generic_app_enabled:"storeIsEnable",store_url:"customStoreUrl",iap_active:"iapActive",payments:"payments",enable_multiple_subscriptions_alert:"enableMultipleSubscriptionsAlert",protect_site:"protectSite",validate_site:"validateSite",two_fingers_tap_hint_enabled:"twoFingersTapHintEnabled",two_fingers_tap_max_hints:"twoFingersTapMaxHints",download_single_pdf:"downloadSinglePdf",enable_share:"enableShare",max_shares:"maxShares",max_shares_check_type:"maxSharesCheckType",message_max_share:"messageMaxShare",merge_articles:"mergeArt",column_view:"columnView",show_art_complete:"showArtComplete",calculate_mid_ads:"calculateMidAds",pages_navigation_buttons_layout:"pagesNavigationButtonsLayout",animate_layout_footer:"animateLayoutFooter",fix_buttons_bar_to_bottom:"fixButtonsBarToBottom",dfp_reload_time:"dfpReloadTime",ads:"ads",enable_instory_ad_marker:"enableInStoryAdMarker",instory_ad_marker_text:"inStoryAdMarkerText",rn_styles:"rnStyles",disable_rn_styles:"disableRnStyles",rn_styles_file_time:"rnStylesFileTimestamp",ssl_certificate_file_time:"sslCertificateTimestamp",device_dpi:"deviceDpi",toc_style:"tocStyle",toc_style_preview:"tocStylePreview",enable_tab_index_mode:"enableTabIndexMode",bundle_update_available:"bundleUpdateAvailable",reset_app_bundle:"resetAppBundle",see_newspaper_preview:"seeNewspaperPreview",page_see_newspaper_preview:"pageSeeNewspaperPreview",hours_to_send_push_registration:"hoursToSendPushRegistration",preview_token:"previewToken",webview_allow_autoplay:"webviewAllowAutoplay",webview_android_allow_fullscreen:"webviewAndroidAllowFullscreen",webview_ios_native_player:"webviewIOSNativePlayer",webview_custom_http_headers:"webviewCustomHTTPHeaders",app_tracking_transparency:{force_message:"forceAppTrackingTransparencyMessage",disable_message:"disableAppTrackingTransparencyMessage",show_pre_message:"showPreAppTrackingTransparencyMessage",force_pre_message_on_app_update:"forcePreAppTrackingTransparencyMessageOnAppUpdate"},iubenda:{enabled:"iubendaEnabled",site_id:"iubendaSiteId",cookie_policy_id:"iubendaCookiePolicyId",lang:"iubendaLang",reset_consent_date:"iubendaResetConsentDate",force_consent_popup:"iubendaForceConsentPopup",ads_require_consent:"adsRequireConsent",google_ads_present:"googleAdsPresent",ref_privacy_laws:"referencePrivacyLaws"},osano:{enabled:"osanoEnabled",customer_id:"osanoCustomerId",config_id:"osanoConfigurationId",site_domain:"osanoSiteDomain",reset_consent_date:"osanoResetConsentDate"},show_extras_in_article_graphic_mode:"showExtrasInArticleGraphicMode",show_extras_to_logged_users_only:"showExtrasToLoggedUsersOnly",morse_tauid:"morseTAUID",add_watermark:"addWatermarkArticlePag",watermark_text:"watermarkText",disable_screen_idle_timer_delay:"disableScreenIdleTimerDelay",keep_article_position_on_rotation:"keepArticlePositionOnRotation",enable_article_image_reposition:"enableArticleImageReposition",refreshes_tauid:"refreshesTAUID",startup_params:"startupParams",enable_session_collection:"enableSessionCollection",enable_session_auto_upload:"enableSessionAutoUpload",session_upload_base_url:"sessionUploadBaseURL",checksum:"checksum",user_ip:"userIP",is_allowed_ip:"isAllowedIP",push_tags:"pushTags",disable_reader_app_modal:"disableReaderAppModal",reader_app_learn_more_link:"readerAppLearnMoreLink",ssl_domains:"sslDomains",use_asymmetric_card_list:"useAsymmetricCardList",prevent_screenshots:"preventScreenshots",enable_phone_article_layout_on_tablet_in_landscape:"enablePhoneArticleLayoutOnTabletInLandscape",enable_desktop_article_layout_on_ipad_pro_in_landscape:"enableDesktopArticleLayoutOnIPadProInLandscape"}}},851,[3,272,6,7,439]); -__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.WEBVIEW_BASE_URL=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),i=r(d[0])(r(d[3])),o=["load","start","ul"];e.WEBVIEW_BASE_URL="http://localhost/",e.default=(function(){function c(){(0,t.default)(this,c)}return(0,n.default)(c,null,[{key:"isExternalUrl",value:function(t){var n=r(d[4]).StringUtils.segmentUrl(t),i=n.protocol,o=n.getParams,c=n.anchorParams;return!(!i||!i.startsWith("xhttp"))||(!(!o||!r(d[4]).JSUtils.hasProperty(o,"xhttp")&&!r(d[4]).JSUtils.hasProperty(o,"xhttps"))||!(!c||!r(d[4]).JSUtils.hasProperty(c,"xhttp")&&!r(d[4]).JSUtils.hasProperty(c,"xhttps")))}},{key:"parseUniversalLink",value:function(t){var n;if(t){if(-1===t.indexOf("?"))for(var i=0;i")?t.replace("",""+n):t.replace("",""+n+"")}},{key:"appendToHead",value:function(t,n){return-1!==t.indexOf("")?t.replace("",n+""):t.replace("",""+n+"")}},{key:"addViewportStyles",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=t;if(i){var o="\n ";n&&(o+="\n "),o+="\n ",i=c.appendToHead(t,o)}return i}},{key:"getZoom",value:function(t,n,i,o){var c=i/(t>0?t:1),l=o/(n>0?n:1),s=c>l?l:c;return Math.round(10*s)/10}},{key:"getJSToZoomContent",value:function(t,n,i){return"\n document.body.style.position = 'absolute';\n document.body.style.left = '"+t+"px';\n document.body.style.top = '"+n+"px';\n document.body.style.transform = 'scale("+i+")'"}},{key:"getJSToCenterContent",value:function(t){return"\n document.body.style.margin = 'auto';\n document.body.style.display = 'table';\n document.body.style.background = '"+t+"';"}},{key:"setupHtmlForWebView",value:function(t){var n=t;return n&&(n=this.addTags(n,"body"),n=this.addTags(n,"html")),n}},{key:"addTags",value:function(t,n){var i=t;return i.includes("<"+n)||(i="<"+n+">".concat(i)+" "),i.includes("")||(i=i.concat("")),i}},{key:"addViewport",value:function(){return"\n var meta = document.createElement('meta');\n meta.name = 'viewport';\n meta.content = 'width=device-width, initial-scale=1';\n document.getElementsByTagName('head')[0].appendChild(meta);"}},{key:"replaceHttpWithHttps",value:function(t){var n,i=/http:\/\/([a-zA-Z0-9\.]+)\.newsmemory\.com/;if(t)do{if(n=i.exec(t)){var o=n[0],c=n[1],l=c.replace(/\./g,"-"),s=o.replace("http","https").replace(c,l);t=t.replace(o,s)}}while(null!==n);return t}},{key:"getRonDinoViewPort",value:function(t){return"\n var myCustomViewport = 'width="+t+", initial-scale=1.0, maximum-scale=1.0, user-scalable=no';\n var viewportElement = document.querySelector('meta[name=viewport]');\n if (viewportElement) {\n viewportElement.content = myCustomViewport;\n } else {\n viewportElement = document.createElement('meta');\n viewportElement.name = 'viewport';\n viewportElement.content = myCustomViewport;\n document.getElementsByTagName('head')[0].appendChild(viewportElement);\n };"}},{key:"getImagesInsidePage",value:function(){return"\n (function getImagesInsidePage() {\n const images = document.getElementsByTagName('img');\n const sources = [];\n for(let i=0; i < images.length; i++){\n sources.push(images[i].src);\n }\n window.ReactNativeWebView.postMessage(JSON.stringify({ content: sources, type: 'GET_RESOURCES' }));\n })();"}},{key:"replaceResourcesInPage",value:function(t){return"\n (function getImagesInsidePage(newSources) {\n const parsed = JSON.parse(newSources);\n const images = document.getElementsByTagName('img');\n for(let i=0; i < images.length; i++){\n if(parsed[images[i].src]){\n images[i].src = parsed[images[i].src];\n }\n }\n })('"+JSON.stringify(t)+"')"}},{key:"addSafeAreaToWebView",value:function(){var t=i.default.getSafeAreaInsets();return"(function() { \n document.body.style.marginTop='"+t.top+"px'; \n document.body.style.marginBottom='"+t.bottom+"px'; \n })();"}},{key:"replaceUrlPlaceHolder",value:function(t){return t.includes("?")||(t+="?"),t.includes("##PAYWALL_SUBSCRIPTION_TYPE#")?t=t.replace("##PAYWALL_SUBSCRIPTION_TYPE#",""):t+="&subType=",(t=t.includes("##MACHINEID#")?t.replace("##MACHINEID#",g.machineId):t+"&MACHINEID="+g.machineId).includes("##WORDPRESS_TOKEN#")&&(t=t.replace("##WORDPRESS_TOKEN#",c.secretTokenForWordpress())),t}},{key:"secretTokenForWordpress",value:function(){var t=(new Date).getTime();return r(d[4]).StringUtils.getMd5(r(d[4]).StringUtils.getMd5("TecnaviaSecret")+g.machineId)+"_"+r(d[4]).StringUtils.getHexOfAsciiOfLong(t/1e3)}}])})()},852,[3,6,7,435,439]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2]));_e.default=(function(){return(0,t.default)(function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";(0,e.default)(this,t);var u=n.split(",");this.type=u[0],this.price=u[1],this.startDate=u[2],this.periodTime=u[3],this.periodValue=u[4],this.recurringPattern=u[5],this.description=u[6],this.productId=u[7]},[{key:"getType",value:function(){return this.type}},{key:"getPrice",value:function(){return this.price}},{key:"getPriceNumber",value:function(){return parseFloat(this.price)||-1}},{key:"getStartDate",value:function(){return this.startDate}},{key:"getPeriodTime",value:function(){return this.periodTime}},{key:"isWeekly",value:function(){return"W"===this.periodTime}},{key:"isMonthly",value:function(){return"M"===this.periodTime}},{key:"isYearly",value:function(){return"Y"===this.periodTime}},{key:"getPeriodValue",value:function(){try{return parseInt(this.periodValue,10)||-1}catch(e){return-1}}},{key:"getRecurringPattern",value:function(){return this.recurringPattern}},{key:"getDescription",value:function(){return this.description}},{key:"getProductId",value:function(){return this.productId}},{key:"isNotConsumable",value:function(){return"NC"===this.getType()}},{key:"isConsumable",value:function(){return"A"===this.getType()}},{key:"isNonRenewingSubscription",value:function(){return"P"===this.getType()}},{key:"isRecurringSubscription",value:function(){return"R"===this.getType()}},{key:"isSubscription",value:function(){return this.isNonRenewingSubscription()||this.isRecurringSubscription()}},{key:"checkProductId",value:function(e){return e===this.productId||!(!this.isNotConsumable()||!e.startsWith(this.productId))}}])})()},853,[3,6,7]); -__d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.LoginStatus=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),n=r(d[0])(r(d[4]));_e.LoginStatus=(function(){function i(){(0,t.default)(this,i)}return(0,u.default)(i,[{key:"init",value:(function(){var t=(0,e.default)(function*(e){this.udb=e;for(var t=Object.values(n.default.SP.keys),u=0;u-1}}])})()},854,[3,272,6,7,855,439]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3]));(e.default=(function(){function l(){(0,n.default)(this,l)}return(0,u.default)(l,null,[{key:"getItem",value:(function(){var n=(0,t.default)(function*(t){return r(d[4]).StorageUtils.getItem(l.SP.name,t)});return function(t){return n.apply(this,arguments)}})()},{key:"setItem",value:(function(){var n=(0,t.default)(function*(t,n){return r(d[4]).StorageUtils.setItem(l.SP.name,t,n)});return function(t,u){return n.apply(this,arguments)}})()},{key:"removeItem",value:(function(){var n=(0,t.default)(function*(t){return r(d[4]).StorageUtils.clear(l.SP.name,t)});return function(t){return n.apply(this,arguments)}})()},{key:"updateItem",value:(function(){var n=(0,t.default)(function*(t,n){return n?l.setItem(t,n):l.removeItem(t)});return function(t,u){return n.apply(this,arguments)}})()},{key:"clearAll",value:(function(){var n=(0,t.default)(function*(){return r(d[4]).StorageUtils.clearAll(l.SP.name)});return function(){return n.apply(this,arguments)}})()}])})()).SP={name:"login",keys:{TAUID:"TAUID",TOKEN:"TOKEN",universal_link_token:"universalLinkToken",one_time_token:"oneTimeToken",iap_secret:"iapSecret",has_access:"hasAccess",receipt:"receipt",receipt_date:"receipt_date",challenge:"challenge",username:"username",password:"password",extid:"extid",extra_user_info:"extraUserInfo",last_login_time:"last_login_time",ad_free:"adFree",allowed_ip_user:"allowedIPUser"}}},855,[3,272,6,7,439]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.OptionspageConfig=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),s=r(d[0])(r(d[3]));e.OptionspageConfig=(function(){return(0,n.default)(function n(s){var o=s.mode,u=s.baseURL,l=s.coordinatesString,h=s.modal;(0,t.default)(this,n),this.mode=o,this.baseURL=u,this.modal=r(d[4]).PlatformUtils.isTablet()&&h,this.coordinatesString=l},[{key:"isDisabled",value:function(){return 0===this.mode}},{key:"alwaysOpenAtStartup",value:function(){return 1===this.mode}},{key:"getBaseURL",value:function(){return this.baseURL}},{key:"computeCoordinates",value:function(){var t,n,o,u,l,h,f,p=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.default.currentOrientation,c=s.default.getSafeArea();if(c)l=c.width,h=c.height,f=s.default.isPortrait(s.default.currentOrientation);else{var b=s.default.getScreenDimensions(v);l=b.width,h=b.height,f=b.isPortrait}var S=l,y=h,O=s.default.isPortrait(v);O!==f&&(S=h,y=l),this.modal?(u=O?S:y,o=O?S:y,n=O?0:Math.abs(S-y)/2,t=O?Math.abs(S-y)/2:0):(u=y,o=S,n=0,t=0);var k=p.split("&");if(8===k.length){var x=k[0],M=k[1],z=k[2],C=k[3],P=k[4],U=k[5],X=k[6],Y=k[7];O?(u=this.parseSize(M,y),o=this.parseSize(C,S),t=this.parseXY(Y,u,y),n=this.parseXY(U,o,S)):(u=this.parseSize(x,y),o=this.parseSize(z,S),t=this.parseXY(X,u,y),n=this.parseXY(P,o,S))}return o>l?(n=0,o=l):n+o>l&&(n=Math.max(0,(l-o)/2)),u>h?(t=0,u=h):t+u>h&&(t=Math.max(0,(h-u)/2)),{left:n,top:t,width:o,height:u}}},{key:"parseSize",value:function(t,n){var s,o=t.indexOf("%");if(o>0)s=parseInt(t.substring(0,o),10)/100*n;else{var u=t.indexOf("px");u>0&&(t=t.substring(0,u)),s=parseInt(t,10)}return s}},{key:"parseXY",value:function(t,n,s){var o,u=t.indexOf("px");if(u>0)t=t.substring(0,u),o=parseInt(t,10);else{if("-1"===t)return s-n;if("0"===t)return(s-n)/2;if("1"===t)return 0;(o=parseInt(t,10))<0&&(o=s-n+o)}return o}},{key:"getCoordinates",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.default.currentOrientation;return this.computeCoordinates(this.coordinatesString,t)}},{key:"isModal",value:function(){return this.modal}}])})()},856,[3,6,7,435,439]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.FeedbackConfig=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),n=r(d[0])(r(d[6])),u=r(d[0])(r(d[7])),h=r(d[0])(r(d[8]));function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(c=function(){return!!e})()}_e.FeedbackConfig=(function(_){function y(){return(0,t.default)(this,y),e=this,s=y,o=arguments,s=(0,n.default)(s),(0,l.default)(e,c()?Reflect.construct(s,o||[],(0,n.default)(e).constructor):s.apply(e,o));var e,s,o}return(0,u.default)(y,_),(0,s.default)(y,[{key:"getStorageKeys",value:function(){return h.default.SP.keys.feedback}},{key:"init",value:(function(){var t=(0,e.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield(0,o.default)((0,n.default)(y.prototype),"init",this).call(this,e);var t=this.getStorageKeys(),s=t.show_dont_show_again,l=t.lower_active_date_range,u=t.upper_active_date_range,h=t.active_days_to_show,c=t.total_days_to_show,_=t.request_title,f=t.request_review_title,p=t.ask,v=t.email,w=t.reset_timestamp,D=t.cool_down_days,k=t.cool_down_days_dont_show_again;return this.showDontShowAgain="1"===(yield this.getValue(s)),this.lowerActiveDateRange=(parseInt(yield this.getValue(l),10)||"1")*r(d[9]).DateUtils.DAY_IN_MILLS,this.upperActiveDateRange=(parseInt(yield this.getValue(u),10)||"3")*r(d[9]).DateUtils.DAY_IN_MILLS,this.activeDaysToShow=parseInt((yield this.getValue(h))||"6",10),this.totalDaysToShow=parseInt((yield this.getValue(c))||"15",10),this.requestFeedbackTitle=yield this.getValue(_),this.requestReviewFeedbackTitle=yield this.getValue(f),this.askForFeedback=yield this.getValue(p),this.emailForFeedback=yield this.getValue(v),this.resetTimestamp=yield this.getValue(w),this.resetTimestamp&&this.resetTimestamp.length<14&&(this.resetTimestamp=this.resetTimestamp.padEnd(14,"0")),this.coolDownDays=parseInt((yield this.getValue(D))||"60",10),this.coolDownDaysDontShowAgain=parseInt((yield this.getValue(k))||"90",10),!0});return function(){return t.apply(this,arguments)}})()}])})(r(d[10]).PaperSetupBaseConfig)},857,[3,272,6,7,11,79,13,14,851,439,858]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PaperSetupBaseConfig=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),s=r(d[0])(r(d[4]));e.PaperSetupBaseConfig=(function(){return(0,u.default)(function t(u,s){(0,n.default)(this,t),this.pSetup=u,this.originalMachine=s,this.storageKey=u+"-"+s},[{key:"getStorageKeys",value:function(){return{}}},{key:"getJSONKeys",value:function(){var t=r(d[5]).JSUtils.flattenObject(this.getStorageKeys());return Object.values(t)}},{key:"filterJSON",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n&&n.length>0?Object.keys(t).reduce(function(u,s){return n.includes(s)&&(u[s]=t[s]),u},{}):t}},{key:"init",value:(function(){var n=(0,t.default)(function*(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.json=this.filterJSON(t,this.getJSONKeys()),!0});return function(){return n.apply(this,arguments)}})()},{key:"setValue",value:(function(){var n=(0,t.default)(function*(t,n){return this.json[t]=n,s.default.setItem(this.storageKey,t,n)});return function(t,u){return n.apply(this,arguments)}})()},{key:"getValue",value:(function(){var n=(0,t.default)(function*(t){if(r(d[5]).JSUtils.hasProperty(this.json,t)){var n=this.json[t];return null!==n&&void 0!==n||(n=yield s.default.getItem(this.storageKey,t)),n}return""});return function(t){return n.apply(this,arguments)}})()}])})()},858,[3,272,6,7,851,439]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.AdobeAnalyticsConfig=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),l=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),n=r(d[0])(r(d[6])),u=r(d[0])(r(d[7])),h=r(d[0])(r(d[8]));function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(y=function(){return!!e})()}_e.AdobeAnalyticsConfig=(function(c){function p(){return(0,t.default)(this,p),e=this,l=p,s=arguments,l=(0,n.default)(l),(0,o.default)(e,y()?Reflect.construct(l,s||[],(0,n.default)(e).constructor):l.apply(e,s));var e,l,s}return(0,u.default)(p,c),(0,l.default)(p,[{key:"getStorageKeys",value:function(){return h.default.SP.keys.adobe_analytics}},{key:"init",value:(function(){var t=(0,e.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield(0,s.default)((0,n.default)(p.prototype),"init",this).call(this,e);var t=this.getStorageKeys(),l=t.props_list,o=t.send_only_edition_load,u=t.first_page_section_prefix,h=t.edition_type,y=t.device_type,c=t.user_types,f=t.actions,_=t.states,V=t.media,T=t.content_types;return this.propsList=(yield this.getValue(l))||"",this.sendOnlyEditionLoad="1"===((yield this.getValue(o))||"0"),this.userTypeUnknown=(yield this.getValue(c.unknown))||"",this.userTypeSubscriber=(yield this.getValue(c.subscriber))||"",this.editionLoadActionName=(yield this.getValue(f.edition_load))||"",this.scrollZoomActionName=(yield this.getValue(f.scroll_zoom))||"",this.doubleTapActionName=(yield this.getValue(f.double_tap_to_zoom))||"",this.pinchOutActionName=(yield this.getValue(f.pinch_to_zoom))||"",this.textToSpeechActionName=(yield this.getValue(f.tts))||"",this.skipToEndActionName=(yield this.getValue(f.skip_to_end))||"",this.toggleToPrintActionName=(yield this.getValue(f.toggle_to_print))||"",this.toggleToDigitalActionName=(yield this.getValue(f.toggle_to_digital))||"",this.shareActionName=(yield this.getValue(f.share))||"",this.linkClickActionName=(yield this.getValue(f.link_click))||"",this.scrolledStateName=(yield this.getValue(_.scrolled))||"",this.readStateName=(yield this.getValue(_.read))||"",this.zoomedStateName=(yield this.getValue(_.zoomed))||"",this.indexStateName=(yield this.getValue(_.index))||"",this.optionspageStateName=(yield this.getValue(_.optionspage))||"",this.printMedium=(yield this.getValue(V.print))||"print",this.digitalMedium=(yield this.getValue(V.digital))||"digital",this.zoomedMediumSuffix=(yield this.getValue(V.zoomed_suffix))||" zoom",this.firstPageSectionPrefix=(yield this.getValue(u))||"",this.pageContentType=(yield this.getValue(T.page))||"",this.firstPageContentType=(yield this.getValue(T.first_page))||this.pageContentType,this.indexContentType=(yield this.getValue(T.index))||"",this.articleContentType=(yield this.getValue(T.article))||"",this.optionspageContentType=(yield this.getValue(T.optionspage))||"",this.editionType=(yield this.getValue(h))||"Newspaper",this.deviceType=(yield this.getValue(y))||(r(d[9]).PlatformUtils.isTablet()?"Tablet":"Mobile Phone"),!0});return function(){return t.apply(this,arguments)}})()}])})(r(d[10]).PaperSetupBaseConfig)},859,[3,272,6,7,11,79,13,14,851,439,858]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.MatomoConfig=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),u=r(d[0])(r(d[5])),o=r(d[0])(r(d[6])),l=r(d[0])(r(d[7])),c=r(d[0])(r(d[8]));function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f=function(){return!!t})()}_e.MatomoConfig=(function(h){function y(){return(0,e.default)(this,y),t=this,n=y,u=arguments,n=(0,o.default)(n),(0,s.default)(t,f()?Reflect.construct(n,u||[],(0,o.default)(t).constructor):n.apply(t,u));var t,n,u}return(0,l.default)(y,h),(0,n.default)(y,[{key:"getStorageKeys",value:function(){return c.default.SP.keys.matomo}},{key:"init",value:(function(){var e=(0,t.default)(function*(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";yield(0,u.default)((0,o.default)(y.prototype),"init",this).call(this,t);var n=this.getStorageKeys(),s=n.site_id,l=n.rss_site_id,c=n.base_url,f=n.visit_custom_dimensions,h=n.custom_dimensions,v=n.dispatch_interval;return this.ePaperSiteId=(yield this.getValue(s))||"",this.rssSiteId=(yield this.getValue(l))||"",this.baseURL=(yield this.getValue(c))||"",this.visitCustomDimensions=(yield this.getValue(f))||"",this.customDimensions=(yield this.getValue(h))||e,this.dispatchInterval=parseFloat((yield this.getValue(v))||"30.0"),!0});return function(){return e.apply(this,arguments)}})()}])})(r(d[9]).PaperSetupBaseConfig)},860,[3,272,6,7,11,79,13,14,851,858]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.MatomoTrackerConfig=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),u=r(d[0])(r(d[5])),n=r(d[0])(r(d[6])),o=r(d[0])(r(d[7])),c=r(d[0])(r(d[8]));function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}(0,n.default)(function e(){(0,o.default)(this,e)}),_e.MatomoTrackerConfig=(function(f){function y(){return(0,o.default)(this,y),e=this,s=y,u=arguments,s=(0,l.default)(s),(0,t.default)(e,h()?Reflect.construct(s,u||[],(0,l.default)(e).constructor):s.apply(e,u));var e,s,u}return(0,u.default)(y,f),(0,n.default)(y,[{key:"getStorageKeys",value:function(){return c.default.SP.keys.matomo_tracker}},{key:"init",value:(function(){var t=(0,e.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield(0,s.default)((0,l.default)(y.prototype),"init",this).call(this,e);var t=this.getStorageKeys(),u=t.site_id,n=t.rss_site_id,o=t.base_url,c=t.action_base_url,h=t.edition_remapping,f=t.titles,_=t.custom_urls,p=t.custom_dimensions;return this.ePaperSiteId=(yield this.getValue(u))||"",this.rssSiteId=(yield this.getValue(n))||"",this.baseURL=(yield this.getValue(o))||"",this.actionBaseURL=(yield this.getValue(c))||"",this.editionRemapping=r(d[9]).StringUtils.parseQuerystring((yield this.getValue(h))||""),this.titles={scrolled:(yield this.getValue(f.scrolled))||"",read:(yield this.getValue(f.read))||"",rss_drawer:(yield this.getValue(f.rss_drawer))||"",rss_read:(yield this.getValue(f.rss_read))||""},this.customURLs={scrolled:(yield this.getValue(_.scrolled))||"",read:(yield this.getValue(_.read))||"",rss_drawer:(yield this.getValue(_.rss_drawer))||"",rss_read:(yield this.getValue(_.rss_read))||""},this.customDimensions={scrolled:(yield this.getValue(p.scrolled))||"",read:(yield this.getValue(p.read))||"",rss_drawer:(yield this.getValue(p.rss_drawer))||"",rss_read:(yield this.getValue(p.rss_read))||""},!0});return function(){return t.apply(this,arguments)}})()}])})(r(d[10]).PaperSetupBaseConfig)},861,[3,272,11,79,13,14,7,6,851,439,858]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.BlueConicConfig=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),n=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),l=r(d[0])(r(d[6])),f=r(d[0])(r(d[7])),c=r(d[0])(r(d[8]));function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(s=function(){return!!e})()}_e.BlueConicConfig=(function(p){function v(){return(0,t.default)(this,v),e=this,u=v,o=arguments,u=(0,l.default)(u),(0,n.default)(e,s()?Reflect.construct(u,o||[],(0,l.default)(e).constructor):u.apply(e,o));var e,u,o}return(0,f.default)(v,p),(0,u.default)(v,[{key:"getStorageKeys",value:function(){return c.default.SP.keys.blueconic}},{key:"init",value:(function(){var t=(0,e.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield(0,o.default)((0,l.default)(v.prototype),"init",this).call(this,e);var t=this.getStorageKeys(),u=t.user_profile_properties,n=t.view_profile_properties;return this.userProfileProperties=(yield this.getValue(u))||"",this.viewProfileProperties=(yield this.getValue(n))||"",!0});return function(){return t.apply(this,arguments)}})()}])})(r(d[9]).PaperSetupBaseConfig)},862,[3,272,6,7,11,79,13,14,851,858]); -__d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.ChartbeatConfig=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),i=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),n=r(d[0])(r(d[6])),u=r(d[0])(r(d[7])),o=r(d[0])(r(d[8]));function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}_e.ChartbeatConfig=(function(h){function c(){var i,l,u,o,h;(0,t.default)(this,c);for(var y=arguments.length,_=new Array(y),f=0;f0&&void 0!==arguments[0]?arguments[0]:{};yield(0,l.default)((0,n.default)(c.prototype),"init",this).call(this,e);var t=this.getStorageKeys(),i=t.account_id,s=t.domain,u=t.rss_enabled,o=t.epaper_enabled,p=t.author_rss_properties,h=t.author_epaper_properties,y=t.section_rss_properties,_=t.section_epaper_properties,f=t.rss_title_keys,v=t.epaper_title_keys,V=t.rss_screen_key,b=t.epaper_screen_key,k=t.rss_custom_data,C=t.epaper_custom_data;return this.accountId=(yield this.getValue(i))||"",this.domain=(yield this.getValue(s))||"",this.rssEnabled="1"===(yield this.getValue(u))||!1,this.epaperEnabled="1"===(yield this.getValue(o))||!1,this.sectionRssProperties=yield this._split(y),this.sectionEpaperProperties=yield this._split(_),this.authorRssProperties=yield this._split(p),this.authorEpaperProperties=yield this._split(h),this.rssTitleKeys=yield this._split(f),this.epaperTitleKeys=yield this._split(v),this.rssScreenKey=yield this.getValue(V),this.epaperScreenKey=yield this.getValue(b),this.rssCustomData=yield this.getValue(k),this.epaperCustomData=yield this.getValue(C),!0});return function(){return t.apply(this,arguments)}})()}])})(r(d[9]).PaperSetupBaseConfig)},863,[3,272,6,7,11,79,13,14,851,858]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.TITLE_SIZE=e.SUB_HEADER_HEIGHT=e.SEARCH_TEXT_SIZE=e.SEARCH_COLOR=e.PAGE_SIZE=e.LOGO_PARENT_HEIGHT=e.LOGO_HEIGHT=e.LIST_TITLE_SIZE=e.LIST_ITEM_SEPARATOR_HEIGHT=e.LIST_ITEM_SEPARATOR_COLOR=e.LIST_ITEM_PADDING=e.LIST_ITEM_HEIGHT=e.INFO_SIZE=e.HIDE_ANIMATION_TIMER=e.HIDE_ANIMATION_FOOTER_TIMER=e.HIDE_ANIMATION_DURATION=e.HEADER_PARENT_BUTTON_SIZE=e.HEADER_PARENT_BUTTON_PADDING=e.HEADER_PADDING=e.HEADER_HR_SIZE=e.HEADER_HEIGHT=e.HEADER_FONT_SIZE=e.HEADER_BUTTON_SIZE=e.HEADER_BG_COLOR=e.FOOTER_FONT_SIZE=void 0;e.HEADER_HEIGHT=50,e.HEADER_PADDING=10,e.SUB_HEADER_HEIGHT=40,e.HEADER_BG_COLOR=r(d[0]).colors.black,e.HEADER_PARENT_BUTTON_SIZE=45,e.HEADER_PARENT_BUTTON_PADDING=7.5,e.HEADER_BUTTON_SIZE=30,e.HEADER_HR_SIZE=1,e.HEADER_FONT_SIZE=18,e.LOGO_PARENT_HEIGHT=50,e.LOGO_HEIGHT="100%",e.LIST_TITLE_SIZE=18,e.LIST_ITEM_HEIGHT=50,e.LIST_ITEM_PADDING=6,e.LIST_ITEM_SEPARATOR_HEIGHT=.5,e.LIST_ITEM_SEPARATOR_COLOR=r(d[0]).colors.grey300,e.TITLE_SIZE=22,e.PAGE_SIZE=22,e.INFO_SIZE=16,e.SEARCH_TEXT_SIZE=16,e.SEARCH_COLOR=r(d[0]).colors.md_red_400,e.FOOTER_FONT_SIZE=16,e.HIDE_ANIMATION_FOOTER_TIMER=5e3,e.HIDE_ANIMATION_TIMER=3e3,e.HIDE_ANIMATION_DURATION=1e3},864,[439]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getDefaultStyles=function(){return{base:{colors:{foreground:r(d[0]).colors.black,background:r(d[0]).colors.white,alternateBackground:r(d[0]).colors.grey200,search:r(d[1]).SEARCH_COLOR},styles:{"newsmemory-article-container-splitscreen":{borderColor:r(d[0]).colors.articleContainerBorderColor,landscape:{borderLeftWidth:1},portrait:{borderTopWidth:1}},"newsmemory-thumbnail-download-icon-disabled":{color:r(d[0]).colors.md_grey_400},"drawer-item-icon-publications":{tintColor:r(d[0]).colors.black,width:32.5,height:25},"newsmemory-article-header-icon-toggleArticleExtra":{tintColor:r(d[0]).colors.white},"newsmemory-article-mode-header-search":{backgroundColor:"{search}"}}},baseDark:{colors:{foreground:r(d[0]).colors.white_transparent_135,background:r(d[0]).colors.grey1010,alternateBackground:r(d[0]).colors.grey1200},styles:{spinner:{color:"{foreground}"},"hint-progress-spinner":{color:"{alternateBackground}"},"hint-progress-spinner-text":{color:"{alternateBackground}"},"newsmemory-article-container":{backgroundColor:"{alternateBackground}"},"newsmemory-article-container-splitscreen":{borderColor:"{foreground}"},"newsmemory-index-item-image":{borderColor:"{foreground}"},"newsmemory-article-footer-separator":{backgroundColor:"{foreground}"},"newsmemory-article-header-separator":{backgroundColor:"{foreground}"},"newsmemory-article-mode-sub-header":{backgroundColor:"{alternateBackground}"},"newsmemory-article-mode-sub-header-info":{color:"{foreground}"},"newsmemory-article-mode-sub-header-section":{color:"{foreground}"},"newsmemory-article-refresh-control":{backgroundColor:"{alternateBackground}",color:"{foreground}"},"newsmemory-article-text":{backgroundColor:"{background}"},"newsmemory-article-zoom-level-parent":{backgroundColor:"{background}"},"newsmemory-article-zoom-level-text":{color:"{foreground}"},"newsmemory-copyright-footer":{backgroundColor:"{background}"},"newsmemory-copyright-text":{color:"{foreground}"},"newsmemory-download-circle":{backgroundColor:"{alternateBackground}"},"newsmemory-download-circle-text":{textShadowOffset:{height:0,width:0},textShadowRadius:0,color:"{foreground}"},"newsmemory-footer":{backgroundColor:"{alternateBackground}",borderColor:"{foreground}"},"newsmemory-footer-element-active":{backgroundColor:"{foreground}"},"newsmemory-footer-element-inactive":{color:"{foreground}",tintColor:"{foreground}"},"newsmemory-footer-icon":{color:"{foreground}",tintColor:"{foreground}"},"newsmemory-footer-icon-active":{color:"{alternateBackground}",tintColor:"{alternateBackground}"},"newsmemory-footer-more-icon":{color:"{foreground}",tintColor:"{foreground}"},"newsmemory-footer-more-menu":{color:"{alternateBackground}"},"newsmemory-footer-more-menu-text":{color:"{foreground}"},"newsmemory-footer-text":{color:"{foreground}"},"newsmemory-footer-text-active":{color:"{alternateBackground}"},"newsmemory-index-container":{backgroundColor:"{background}"},"newsmemory-index-first-level-page":{color:"{foreground}"},"newsmemory-index-first-level-section":{color:"{foreground}"},"newsmemory-index-second-level-text":{color:"{foreground}"},"newsmemory-index-second-level-bullet":{color:"{foreground}"},"newsmemory-index-second-level-page":{color:"{foreground}"},"newsmemory-index-second-level-title":{color:"{foreground}"},"newsmemory-index-text":{color:"{foreground}"},"newsmemory-navigation-text":{color:"{foreground}"},"newsmemory-navigation-text-parent":{backgroundColor:"{alternateBackground}"},"newsmemory-pages-container":{backgroundColor:"{background}"},"newsmemory-screen":{backgroundColor:"{alternateBackground}",color:"{foreground}"},"newsmemory-article-mode-header-search":{backgroundColor:"{alternateBackground}"},"newsmemory-search":{color:"{foreground}"},"newsmemory-search-container":{backgroundColor:"{alternateBackground}"},"newsmemory-search-header-container":{backgroundColor:"{alternateBackground}"},"newsmemory-search-input":{backgroundColor:"{background}",borderColor:"{alternateBackground}",color:"{foreground}"},"newsmemory-search-list":{backgroundColor:"{background}"},"newsmemory-separator":{backgroundColor:"{alternateBackground}"},"newsmemory-thumbnail-download-icon":{color:"{foreground}"},"newsmemory-thumbnails-container":{backgroundColor:"{alternateBackground}"},"newsmemory-thumbnails-page-text":{backgroundColor:"{alternateBackground}",color:"{foreground}"},"newsmemory-thumbnails-page-text-selected":{backgroundColor:r(d[0]).colors.grey400,color:"{alternateBackground}",borderWidth:1,borderColor:"{alternateBackground}"},"newsmemory-thumbnails-pages":{borderColor:"{foreground}"},"newsmemory-thumbnails-pages-selected":{borderColor:"{alternateBackground}"},"newsmemory-thumbnails-section-container":{backgroundColor:"{alternateBackground}"},"newsmemory-thumbnails-section-content":{backgroundColor:"{background}"},"newsmemory-thumbnails-section-text":{color:"{foreground}"},"system-newsmemory-navigation-bar":{backgroundColor:"{alternateBackground}"},"system-newsmemory-status-bar":{backgroundColor:"{background}"},optionspage:{backgroundColor:"{alternateBackground}"},"newsmemory-search-close-icon":{opacity:.6},"newsmemory-article-header-icon":{opacity:.6,src:"default"},"newsmemory-index-header-icon":{opacity:.6,src:"default"},"optionspage-specialsections-close-icon":{opacity:.6},"rss-tab-item":{backgroundColor:"{background}"},"rss-tab-item-text-inactive":{color:"{foreground}"},"rss-content-parent":{backgroundColor:"{alternateBackground}"},"rss-content":{backgroundColor:"{alternateBackground}"},"rss-footer-element":{backgroundColor:"{background}"},"tile-title":{color:"{foreground}"},"tile-grid-image-title":{color:r(d[0]).colors.grey300},"tile-grid-title-epaper":{color:r(d[0]).colors.grey300},"tile-card-title-epaper":{color:"{foreground}"},"tile-summary":{color:"{foreground}"},"tile-header-text-part":{color:"{foreground}"},"tile-grid-image-header-text":{color:r(d[0]).colors.grey300},"tile-halfbox-text":{color:"{foreground}"},"article-pager":{backgroundColor:"{alternateBackground}"},"article-container":{backgroundColor:"{alternateBackground}"},"article-header":{backgroundColor:"{alternateBackground}"},"article-top-content":{backgroundColor:"{alternateBackground}"},"article-header-image-date":{color:"{foreground}"},"article-title":{color:"{foreground}"},"article-body":{backgroundColor:"{alternateBackground}",color:"{foreground}"},"article-body-parent":{backgroundColor:"{background}"},"rss-drawer":{backgroundColor:"{background}"},"drawer-item-parent-inactive":{backgroundColor:"{background}"},"drawer-item-text-inactive":{color:"{foreground}"},"icon-gallery":{tintColor:r(d[0]).colors.grey300},"settings-screen":{backgroundColor:"{alternateBackground}"},"newsmemory-article-caption":{color:"{foreground}"},"navigation-icon":{color:"{foreground}"},"rss-button":{backgroundColor:"{background}"},"rss-button-icon":{color:"{foreground}"},"epaper-logo-image":{filters:[{filter:r(d[2]).FILTERS.GRAYSCALE},{filter:r(d[2]).FILTERS.INVERT}]},"navigation-header-logo":{filters:[{filter:r(d[2]).FILTERS.GRAYSCALE},{filter:r(d[2]).FILTERS.INVERT}]},"drawer-header-logo":{filters:[{filter:r(d[2]).FILTERS.GRAYSCALE},{filter:r(d[2]).FILTERS.INVERT}]},"drawer-item-icon":{filters:[{filter:r(d[2]).FILTERS.GRAYSCALE},{filter:r(d[2]).FILTERS.INVERT}],image:"inherit"}}},themes:{default:{automatic:1,dark:0,default:1,name:g.strings("theme_light"),styles:{}},darkTheme:{automatic:1,dark:1,default:0,name:g.strings("theme_dark"),styles:{}},automatic:{name:g.strings("theme_auto")}}}}},811,[439,812,604]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.TITLE_SIZE=e.SUB_HEADER_HEIGHT=e.SEARCH_TEXT_SIZE=e.SEARCH_COLOR=e.PAGE_SIZE=e.LOGO_PARENT_HEIGHT=e.LOGO_HEIGHT=e.LIST_TITLE_SIZE=e.LIST_ITEM_SEPARATOR_HEIGHT=e.LIST_ITEM_SEPARATOR_COLOR=e.LIST_ITEM_PADDING=e.LIST_ITEM_HEIGHT=e.INFO_SIZE=e.HIDE_ANIMATION_TIMER=e.HIDE_ANIMATION_FOOTER_TIMER=e.HIDE_ANIMATION_DURATION=e.HEADER_PARENT_BUTTON_SIZE=e.HEADER_PARENT_BUTTON_PADDING=e.HEADER_PADDING=e.HEADER_HR_SIZE=e.HEADER_HEIGHT=e.HEADER_FONT_SIZE=e.HEADER_BUTTON_SIZE=e.HEADER_BG_COLOR=e.FOOTER_FONT_SIZE=void 0;e.HEADER_HEIGHT=50,e.HEADER_PADDING=10,e.SUB_HEADER_HEIGHT=40,e.HEADER_BG_COLOR=r(d[0]).colors.black,e.HEADER_PARENT_BUTTON_SIZE=45,e.HEADER_PARENT_BUTTON_PADDING=7.5,e.HEADER_BUTTON_SIZE=30,e.HEADER_HR_SIZE=1,e.HEADER_FONT_SIZE=18,e.LOGO_PARENT_HEIGHT=50,e.LOGO_HEIGHT="100%",e.LIST_TITLE_SIZE=18,e.LIST_ITEM_HEIGHT=50,e.LIST_ITEM_PADDING=6,e.LIST_ITEM_SEPARATOR_HEIGHT=.5,e.LIST_ITEM_SEPARATOR_COLOR=r(d[0]).colors.grey300,e.TITLE_SIZE=22,e.PAGE_SIZE=22,e.INFO_SIZE=16,e.SEARCH_TEXT_SIZE=16,e.SEARCH_COLOR=r(d[0]).colors.md_red_400,e.FOOTER_FONT_SIZE=16,e.HIDE_ANIMATION_FOOTER_TIMER=5e3,e.HIDE_ANIMATION_TIMER=3e3,e.HIDE_ANIMATION_DURATION=1e3},812,[439]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getDebugStyles=function(){if(g.cssDebug)return{};return{}}},813,[]); +__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(r,u,i):r[u]=e[u]}return r.default=e,n&&n.set(e,r),r})(_r(d[3])),r=_r(d[4]),a=["visible","useNativeDriver","onBackButtonPress","onBackdropPress","containerStyle"];function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}var u=r.StyleSheet.create({container:{position:"absolute",top:0,bottom:0,start:0,right:0,justifyContent:"center",alignItems:"center",backgroundColor:_r(d[5]).colors.transparent600}});function i(t){var o=t.visible,i=t.useNativeDriver,c=t.onBackButtonPress,s=t.onBackdropPress,f=t.containerStyle,l=(0,e.default)(t,a);if(!o)return null;var p=r.Dimensions.get("window").width,v=(0,n.useRef)(new r.Animated.Value(0)).current,y=(0,n.useRef)(0),b=(0,n.useCallback)(function(){"function"==typeof s&&s()},[]),k=(0,n.useCallback)(function(){"function"==typeof c&&c()},[]);return(0,n.useEffect)(function(){var e;e=0===y.current?1:0,r.Animated.timing(v,{toValue:e,duration:300,useNativeDriver:i}).start(function(t){t.finished&&(y.current=e)});var t=r.BackHandler.addEventListener("hardwareBackPress",k);return function(){t&&t.remove()}},[o]),(0,_r(d[6]).jsx)(r.Animated.View,Object.assign({style:[u.container,{opacity:v,padding:.05*p},f],onTouchEnd:b},l))}i.propTypes={visible:t.default.bool,useNativeDriver:t.default.bool,onBackButtonPress:t.default.func,onBackdropPress:t.default.func,containerStyle:t.default.oneOfType([t.default.object,t.default.array,t.default.number])},i.defaultProps={visible:!1,useNativeDriver:!0};_e.default=i},814,[3,4,569,16,18,439,181]); +__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.ModalStyle=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),o=_r(d[0])(_r(d[3])),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=r?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(n,a,l):n[a]=e[a]}return n.default=e,o&&o.set(e,n),n})(_r(d[4])),r=_r(d[5]),a=_r(d[0])(_r(d[6])),l=_r(d[0])(_r(d[7])),i=_r(d[0])(_r(d[8])),u=_r(d[0])(_r(d[9])),f=["visible","onClose","onCancel","onConfirm","onStateChange","onHide","hasFooter","children","supportedOrientations","backgroundColor","foregroundColor","containerStyle","style","needsKeyboardOffsetCheck","cancelable"];function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}var c=r.StyleSheet.create({modal:{padding:10,justifyContent:"center",alignItems:"center"},container:{padding:10,borderRadius:20,width:"100%",maxWidth:600,backgroundColor:_r(d[10]).colors.white,overflow:"hidden"}}),p=(0,n.forwardRef)(function(o,s){var p=o.visible,b=o.onClose,y=o.onCancel,C=o.onConfirm,h=o.onStateChange,O=o.onHide,v=o.hasFooter,k=o.children,S=o.supportedOrientations,j=o.backgroundColor,w=o.foregroundColor,P=o.containerStyle,T=o.style,_=o.needsKeyboardOffsetCheck,D=o.cancelable,M=(0,t.default)(o,f),x=l.default.getSafeAreaInsets(),F=x.top,I=x.bottom,B=l.default.getSafeArea().height,H=(0,n.useState)(!1),E=(0,e.default)(H,2),K=E[0],W=E[1],R=(0,n.useState)(F),A=(0,e.default)(R,2),N=A[0],V=A[1],L=function(){return W(!1)},U=function(e){"function"==typeof e&&e()||L()},q=function(){return"function"==typeof O&&O()},z=function(){return U(b)},G={},J={};return _r(d[10]).PlatformUtils.isIOS()&&(_&&(G.onLayout=function(e){var t=e.nativeEvent;t.layout.height=i.props.panResponderThreshold||Math.abs(t.dy)>=i.props.panResponderThreshold;return o&&i.props.onSwipeStart&&i.props.onSwipeStart(t),i.currentSwipingDirection=i.getSwipingDirection(t),e=i.createAnimationEventForSwipe(),o}return!1},onStartShouldSetPanResponder:function(e,n){return!(e._dispatchInstances&&e._dispatchInstances.some(function(e){return/scrollview|flatlist/i.test(e.type)})&&i.shouldPropagateSwipe(e,n)&&i.props.scrollTo&&i.props.scrollOffset>0)&&(i.props.onSwipeStart&&i.props.onSwipeStart(n),i.currentSwipingDirection=null,!0)},onPanResponderMove:function(n,t){if(!i.currentSwipingDirection){if(0===t.dx&&0===t.dy)return;i.currentSwipingDirection=i.getSwipingDirection(t),e=i.createAnimationEventForSwipe()}if(i.isSwipeDirectionAllowed(t)){var o=1-i.calcDistancePercentage(t);i.backdropRef&&i.backdropRef.transitionTo({opacity:i.props.backdropOpacity*o}),e(n,t),i.props.onSwipeMove&&i.props.onSwipeMove(o,t)}else if(i.props.scrollTo)if(i.props.scrollHorizontal){var r=-t.dx;r>i.props.scrollOffsetMax&&(r-=(r-i.props.scrollOffsetMax)/2),i.props.scrollTo({x:r,animated:!1})}else{var a=-t.dy;a>i.props.scrollOffsetMax&&(a-=(a-i.props.scrollOffsetMax)/2),i.props.scrollTo({y:a,animated:!1})}},onPanResponderRelease:function(e,n){if(i.getAccDistancePerDirection(n)>i.props.swipeThreshold&&i.isSwipeDirectionAllowed(n)){if(i.props.onSwipeComplete)return i.inSwipeClosingState=!0,void i.props.onSwipeComplete({swipingDirection:i.getSwipingDirection(n)},n);if(i.props.onSwipe)return i.inSwipeClosingState=!0,void i.props.onSwipe()}i.props.onSwipeCancel&&i.props.onSwipeCancel(n),i.backdropRef&&i.backdropRef.transitionTo({opacity:i.props.backdropOpacity}),s.Animated.spring(i.state.pan,{toValue:{x:0,y:0},bounciness:0,useNativeDriver:!1}).start(),i.props.scrollTo&&i.props.scrollOffset>i.props.scrollOffsetMax&&i.props.scrollTo({y:i.props.scrollOffsetMax,animated:!0})}})},i.getAccDistancePerDirection=function(e){switch(i.currentSwipingDirection){case'up':return-e.dy;case'down':return e.dy;case'right':return e.dx;case'left':return-e.dx;default:return 0}},i.getSwipingDirection=function(e){return Math.abs(e.dx)>Math.abs(e.dy)?e.dx>0?'right':'left':e.dy>0?'down':'up'},i.calcDistancePercentage=function(e){switch(i.currentSwipingDirection){case'down':return(e.moveY-e.y0)/((i.props.deviceHeight||i.state.deviceHeight)-e.y0);case'up':return(0,_r(d[12]).reversePercentage)(e.moveY/e.y0);case'left':return(0,_r(d[12]).reversePercentage)(e.moveX/e.x0);case'right':return(e.moveX-e.x0)/((i.props.deviceWidth||i.state.deviceWidth)-e.x0);default:return 0}},i.createAnimationEventForSwipe=function(){return'right'===i.currentSwipingDirection||'left'===i.currentSwipingDirection?s.Animated.event([null,{dx:i.state.pan.x}],{useNativeDriver:!1}):s.Animated.event([null,{dy:i.state.pan.y}],{useNativeDriver:!1})},i.isDirectionIncluded=function(e){return Array.isArray(i.props.swipeDirection)?i.props.swipeDirection.includes(e):i.props.swipeDirection===e},i.isSwipeDirectionAllowed=function(e){var n=e.dy,t=e.dx,o=n>0,r=n<0,a=t<0,s=t>0;return!('up'!==i.currentSwipingDirection||!i.isDirectionIncluded('up')||!r)||(!('down'!==i.currentSwipingDirection||!i.isDirectionIncluded('down')||!o)||(!('right'!==i.currentSwipingDirection||!i.isDirectionIncluded('right')||!s)||!('left'!==i.currentSwipingDirection||!i.isDirectionIncluded('left')||!a)))},i.handleDimensionsUpdate=function(){if(!i.props.deviceHeight&&!i.props.deviceWidth){var e=s.Dimensions.get('window').width,n=s.Dimensions.get('window').height;e===i.state.deviceWidth&&n===i.state.deviceHeight||i.setState({deviceWidth:e,deviceHeight:n})}},i.open=function(){i.isTransitioning||(i.isTransitioning=!0,i.backdropRef&&i.backdropRef.transitionTo({opacity:i.props.backdropOpacity},i.props.backdropTransitionInTiming),i.state.isSwipeable&&i.state.pan.setValue({x:0,y:0}),i.contentRef&&(i.props.onModalWillShow&&i.props.onModalWillShow(),null==i.interactionHandle&&(i.interactionHandle=s.InteractionManager.createInteractionHandle()),i.contentRef.animate(i.animationIn,i.props.animationInTiming).then(function(){i.isTransitioning=!1,i.interactionHandle&&(s.InteractionManager.clearInteractionHandle(i.interactionHandle),i.interactionHandle=null),i.props.isVisible?i.props.onModalShow():i.close()})))},i.close=function(){if(!i.isTransitioning){i.isTransitioning=!0,i.backdropRef&&i.backdropRef.transitionTo({opacity:0},i.props.backdropTransitionOutTiming);var e=i.animationOut;i.inSwipeClosingState&&(i.inSwipeClosingState=!1,'up'===i.currentSwipingDirection?e='slideOutUp':'down'===i.currentSwipingDirection?e='slideOutDown':'right'===i.currentSwipingDirection?e='slideOutRight':'left'===i.currentSwipingDirection&&(e='slideOutLeft')),i.contentRef&&(i.props.onModalWillHide&&i.props.onModalWillHide(),null==i.interactionHandle&&(i.interactionHandle=s.InteractionManager.createInteractionHandle()),i.contentRef.animate(e,i.props.animationOutTiming).then(function(){i.isTransitioning=!1,i.interactionHandle&&(s.InteractionManager.clearInteractionHandle(i.interactionHandle),i.interactionHandle=null),i.props.isVisible?i.open():i.setState({showContent:!1},function(){i.setState({isVisible:!1},function(){i.props.onModalHide()})})}))}},i.makeBackdrop=function(){if(!i.props.hasBackdrop)return null;i.props.customBackdrop&&!a.isValidElement(i.props.customBackdrop)&&console.warn('Invalid customBackdrop element passed to Modal. You must provide a valid React element.');var e=i.props,n=e.customBackdrop,t=e.backdropColor,o=e.useNativeDriver,r=e.useNativeDriverForBackdrop,p=e.onBackdropPress,u=!!i.props.customBackdrop,f=[{width:i.getDeviceWidth(),height:i.getDeviceHeight(),backgroundColor:i.state.showContent&&!u?t:'transparent'}],h=a.createElement(c.View,{ref:function(e){return i.backdropRef=e},useNativeDriver:void 0!==r?r:o,style:[l.default.backdrop,f]},u&&n);return u?h:a.createElement(s.TouchableWithoutFeedback,{onPress:p},h)};var f=(0,_r(d[12]).buildAnimations)(b(e)),w=f.animationIn,S=f.animationOut;return i.animationIn=w,i.animationOut=S,i.state.isSwipeable&&(i.state=Object.assign({},i.state,{pan:new s.Animated.ValueXY}),i.buildPanResponder()),e.isVisible&&(i.state=Object.assign({},i.state,{isVisible:!0,showContent:!0})),i}return(0,r.default)(h,p),(0,i.default)(h,[{key:"componentDidMount",value:function(){this.props.onSwipe&&console.warn('`` is deprecated and will be removed starting from 13.0.0. Use `` instead.'),this.didUpdateDimensionsEmitter=s.DeviceEventEmitter.addListener('didUpdateDimensions',this.handleDimensionsUpdate),this.state.isVisible&&this.open(),s.BackHandler.addEventListener('hardwareBackPress',this.onBackButtonPress)}},{key:"componentWillUnmount",value:function(){s.BackHandler.removeEventListener('hardwareBackPress',this.onBackButtonPress),this.didUpdateDimensionsEmitter&&this.didUpdateDimensionsEmitter.remove(),this.interactionHandle&&(s.InteractionManager.clearInteractionHandle(this.interactionHandle),this.interactionHandle=null)}},{key:"componentDidUpdate",value:function(e){if(this.props.animationIn!==e.animationIn||this.props.animationOut!==e.animationOut){var n=(0,_r(d[12]).buildAnimations)(b(this.props)),i=n.animationIn,t=n.animationOut;this.animationIn=i,this.animationOut=t}this.props.backdropOpacity!==e.backdropOpacity&&this.backdropRef&&this.backdropRef.transitionTo({opacity:this.props.backdropOpacity},this.props.backdropTransitionInTiming),this.props.isVisible&&!e.isVisible?this.open():!this.props.isVisible&&e.isVisible&&this.close()}},{key:"render",value:function(){var n=this,i=this.props,t=(i.animationIn,i.animationInTiming,i.animationOut,i.animationOutTiming,i.avoidKeyboard),o=i.coverScreen,r=(i.hasBackdrop,i.backdropColor,i.backdropOpacity,i.backdropTransitionInTiming,i.backdropTransitionOutTiming,i.customBackdrop,i.children),p=(i.isVisible,i.onModalShow,i.onBackButtonPress),h=i.useNativeDriver,w=(i.propagateSwipe,i.style),v=(0,e.default)(i,u),b=(v.testID,(0,e.default)(v,f)),S=[{margin:.05*this.getDeviceWidth(),transform:[{translateY:0}]},l.default.content,w],k={},D={};this.state.isSwipeable&&(k=Object.assign({},this.panResponder.panHandlers),D=h?{transform:this.state.pan.getTranslateTransform()}:this.state.pan.getLayout());var O=this.props.hideModalContentWhileAnimating&&this.props.useNativeDriver&&!this.state.showContent?a.createElement(c.View,null):r,y=a.createElement(c.View,Object.assign({},k,{ref:function(e){return n.contentRef=e},style:[D,S],pointerEvents:"box-none",useNativeDriver:h},b),O);return!o&&this.state.isVisible?a.createElement(s.View,{pointerEvents:"box-none",style:[l.default.backdrop,l.default.containerBox]},this.makeBackdrop(),y):a.createElement(s.Modal,Object.assign({transparent:!0,animationType:'none',visible:this.state.isVisible,onRequestClose:p},v),this.makeBackdrop(),t?a.createElement(s.KeyboardAvoidingView,{behavior:'ios'===s.Platform.OS?'padding':void 0,pointerEvents:"box-none",style:S.concat([{margin:0}])},y):y)}}],[{key:"getDerivedStateFromProps",value:function(e,n){return!n.isVisible&&e.isVisible?{isVisible:!0,showContent:!0}:null}}])})(a.Component);S.propTypes={animationIn:p.oneOfType([p.string,p.object]),animationInTiming:p.number,animationOut:p.oneOfType([p.string,p.object]),animationOutTiming:p.number,avoidKeyboard:p.bool,coverScreen:p.bool,hasBackdrop:p.bool,backdropColor:p.string,backdropOpacity:p.number,backdropTransitionInTiming:p.number,backdropTransitionOutTiming:p.number,customBackdrop:p.node,children:p.node.isRequired,deviceHeight:p.number,deviceWidth:p.number,isVisible:p.bool.isRequired,hideModalContentWhileAnimating:p.bool,propagateSwipe:p.oneOfType([p.bool,p.func]),onModalShow:p.func,onModalWillShow:p.func,onModalHide:p.func,onModalWillHide:p.func,onBackButtonPress:p.func,onBackdropPress:p.func,panResponderThreshold:p.number,onSwipeStart:p.func,onSwipeMove:p.func,onSwipeComplete:p.func,onSwipeCancel:p.func,swipeThreshold:p.number,swipeDirection:p.oneOfType([p.arrayOf(p.oneOf(['up','down','left','right'])),p.oneOf(['up','down','left','right'])]),useNativeDriver:p.bool,useNativeDriverForBackdrop:p.bool,style:p.any,scrollTo:p.func,scrollOffset:p.number,scrollOffsetMax:p.number,scrollHorizontal:p.bool,supportedOrientations:p.arrayOf(p.oneOf(['portrait','portrait-upside-down','landscape','landscape-left','landscape-right']))},S.defaultProps={animationIn:'slideInUp',animationInTiming:300,animationOut:'slideOutDown',animationOutTiming:300,avoidKeyboard:!1,coverScreen:!0,hasBackdrop:!0,backdropColor:'black',backdropOpacity:.7,backdropTransitionInTiming:300,backdropTransitionOutTiming:300,customBackdrop:null,useNativeDriver:!1,deviceHeight:null,deviceWidth:null,hideModalContentWhileAnimating:!1,propagateSwipe:!1,isVisible:!1,panResponderThreshold:4,swipeThreshold:100,onModalShow:function(){return null},onModalWillShow:function(){return null},onModalHide:function(){return null},onModalWillHide:function(){return null},onBackdropPress:function(){return null},onBackButtonPress:function(){return null},scrollTo:null,scrollOffset:0,scrollOffsetMax:0,scrollHorizontal:!1,statusBarTranslucent:!1,supportedOrientations:['portrait','landscape']};_e.default=S},817,[3,4,6,7,11,13,14,16,18,569,818,839,840]); +__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.createAnimatableComponent=_e.View=_e.Text=_e.Image=void 0,Object.defineProperty(_e,"createAnimation",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(_e,"initializeRegistryWithDefinitions",{enumerable:!0,get:function(){return _r(d[0]).initializeRegistryWithDefinitions}}),Object.defineProperty(_e,"registerAnimation",{enumerable:!0,get:function(){return _r(d[0]).registerAnimation}});var e=_r(d[1]),t=_r(d[2])(_r(d[3])),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var u=a?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(i,o,u):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i})(_r(d[4])),i=_r(d[2])(_r(d[5]));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}(0,_r(d[0]).initializeRegistryWithDefinitions)(n);_e.createAnimatableComponent=t.default,_e.View=(0,t.default)(e.View),_e.Text=(0,t.default)(e.Text),_e.Image=(0,t.default)(e.Image)},818,[819,18,3,822,827,820]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getAnimationByName=function(n){return t[n]},e.getAnimationNames=function(){return Object.keys(t)},e.initializeRegistryWithDefinitions=function(t){Object.keys(t).forEach(function(u){o(u,(0,n.default)(t[u]))})},e.registerAnimation=o;var n=r(d[0])(r(d[1])),t={};function o(n,o){t[n]=o}},819,[3,820]); +__d(function(g,r,_i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var f=JSON.stringify(o);if(u[f])return u[f];var s=Object.keys(o).map(a).filter(i);if(s.sort(t),s.length<2)throw new Error('Animation definitions must have at least two values.');var l={};o.easing&&(l.easing=o.easing);o.style&&(l.style=o.style);for(var c=function(){var t=s[h],i=o[t];if(i||(0===t?i=o.from:1===t&&(i=o.to)),!i)throw new Error('Missing animation keyframe, this should not happen');i=(0,n.default)(i),Object.keys(i).forEach(function(n){n in l||(l[n]={inputRange:[],outputRange:[]}),l[n].inputRange.push(t),l[n].outputRange.push(i[n])})},h=0;h1?null:t}var u={}},820,[3,821]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var f=Object.assign({},t.StyleSheet.flatten(n));f.transform&&(f.transform.forEach(function(t){var n=Object.keys(t)[0];f[n]=t[n]}),delete f.transform);return f};var t=r(d[0])},821,[18]); +__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(c){var y,S=c.displayName||c.name||'Component',E=s.Animated.createAnimatedComponent(c);return(y=(function(r){function o(n){var a,r,u,l;(0,t.default)(this,o),r=this,u=o,l=[n],u=(0,i.default)(u),(a=(0,e.default)(r,v()?Reflect.construct(u,l||[],(0,i.default)(r).constructor):u.apply(r,l))).ref=null,a.handleRef=function(t){a.ref=t};var f=new s.Animated.Value(A(0,a.props.direction)),c={},p={};return n.animation&&(p=V(n.animation),c=k(p,f)),a.state={animationValue:f,animationStyle:c,compiledAnimation:p,transitionStyle:{},transitionValues:{},currentTransitionValues:{}},n.transition&&(a.state=Object.assign({},a.state,a.initializeTransitionState(n.transition))),a.delayTimer=null,(0,_r(d[14]).getAnimationNames)().forEach(function(t){t in a||(a[t]=a.animate.bind(a,t))}),a}return(0,a.default)(o,r),(0,n.default)(o,[{key:"initializeTransitionState",value:function(t){var n={},e={},i=(0,l.default)(t,this.props.style);return Object.keys(i).forEach(function(t){var a=i[t];if(-1!==h.indexOf(t)||'number'!=typeof a)n[t]=new s.Animated.Value(0),e[t]=a;else{var r=new s.Animated.Value(a);n[t]=r,e[t]=r}}),{currentTransitionValues:i,transitionStyle:e,transitionValues:n}}},{key:"getTransitionState",value:function(t){var n=this,e='string'==typeof t?[t]:t,i=this.state,a=i.transitionValues,r=i.currentTransitionValues,o=i.transitionStyle,s=e.filter(function(t){return!n.state.transitionValues[t]});if(s.length){var u=this.initializeTransitionState(s);a=Object.assign({},a,u.transitionValues),r=Object.assign({},r,u.currentTransitionValues),o=Object.assign({},o,u.transitionStyle)}return{transitionValues:a,currentTransitionValues:r,transitionStyle:o}}},{key:"setNativeProps",value:function(t){this.ref&&this.ref.setNativeProps(t)}},{key:"componentDidMount",value:function(){var t=this,n=this.props,e=n.animation,i=n.duration,a=n.delay,r=n.onAnimationBegin,o=n.iterationDelay;if(e){var s=function(){r(),t.startAnimation(i,0,o,function(n){return t.props.onAnimationEnd(n)}),t.delayTimer=null};a?this.delayTimer=setTimeout(s,a):s()}}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){var n,e,i=this,a=t.animation,r=t.delay,o=t.duration,s=t.easing,u=t.iterationDelay,f=t.transition,c=t.onAnimationBegin;if(f){var p=(0,l.default)(f,t.style);this.transitionTo(p,o,s,r)}else n=a,e=this.props.animation,n!==e&&JSON.stringify(n)!==JSON.stringify(e)&&(a?this.delayTimer?this.setAnimation(a):(c(),this.animate(a,o,u).then(function(t){return i.props.onAnimationEnd(t)})):this.stopAnimation())}},{key:"componentWillUnmount",value:function(){this.delayTimer&&clearTimeout(this.delayTimer)}},{key:"setAnimation",value:function(t,n){var e=V(t);this.setState(function(t){return{animationStyle:k(e,t.animationValue),compiledAnimation:e}},n)}},{key:"animate",value:function(t,n,e){var i=this;return new Promise(function(a){i.setAnimation(t,function(){i.startAnimation(n,0,e,a)})})}},{key:"stopAnimation",value:function(){this.setState({scheduledAnimation:!1,animationStyle:{}}),this.state.animationValue.stopAnimation(),this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"startAnimation",value:function(t,n,e,i){var a=this,r=this.state,o=r.animationValue,u=r.compiledAnimation,l=this.props,f=l.direction,c=l.iterationCount,y=l.useNativeDriver,v=this.props.easing||u.easing||'ease',h=n||0,T=A(h,f),b=O(h,f);o.setValue(T),'string'==typeof v&&(v=p.default[v]);var V='reverse'===f||'alternate'===f&&!b||'alternate-reverse'===f&&!b;V&&(v=s.Easing.out(v));var k={toValue:b,easing:v,isInteraction:c<=1,duration:t||this.props.duration||1e3,useNativeDriver:y,delay:e||0};s.Animated.timing(o,k).start(function(n){h+=1,n.finished&&a.props.animation&&('infinite'===c||h=1?null:new Error('iterationCount must be a positive number or "infinite"')},iterationDelay:o.default.number,onAnimationBegin:o.default.func,onAnimationEnd:o.default.func,onTransitionBegin:o.default.func,onTransitionEnd:o.default.func,style:o.default.oneOfType([o.default.number,o.default.array,o.default.object]),transition:o.default.oneOfType([o.default.string,o.default.arrayOf(o.default.string)]),useNativeDriver:o.default.bool},y.defaultProps={animation:void 0,delay:0,direction:'normal',duration:void 0,easing:void 0,iterationCount:1,iterationDelay:0,onAnimationBegin:function(){},onAnimationEnd:function(){},onTransitionBegin:function(){},onTransitionEnd:function(){},style:void 0,transition:void 0,useNativeDriver:!1},y};var t=_r(d[0])(_r(d[1])),n=_r(d[0])(_r(d[2])),e=_r(d[0])(_r(d[3])),i=_r(d[0])(_r(d[4])),a=_r(d[0])(_r(d[5])),r=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=y(n);if(e&&e.has(t))return e.get(t);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if("default"!==r&&Object.prototype.hasOwnProperty.call(t,r)){var o=a?Object.getOwnPropertyDescriptor(t,r):null;o&&(o.get||o.set)?Object.defineProperty(i,r,o):i[r]=t[r]}return i.default=t,e&&e.set(t,i),i})(_r(d[6])),o=_r(d[0])(_r(d[7])),s=_r(d[8]),u=_r(d[0])(_r(d[9])),l=_r(d[0])(_r(d[10])),f=_r(d[0])(_r(d[11])),c=_r(d[0])(_r(d[12])),p=_r(d[0])(_r(d[13]));function y(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,e=new WeakMap;return(y=function(t){return t?e:n})(t)}function v(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(v=function(){return!!t})()}var h=['rotate','rotateX','rotateY','rotateZ','skewX','skewY','transformMatrix','backgroundColor','borderColor','borderTopColor','borderRightColor','borderBottomColor','borderLeftColor','shadowColor','color','textDecorationColor','tintColor'],T=['width','height'];function b(t,n){var e={};return Object.keys(n).forEach(function(i){-1===t.indexOf(i)&&(e[i]=n[i])}),e}function O(t,n){switch(n){case'reverse':return 0;case'alternate':return t%2?0:1;case'alternate-reverse':return t%2?1:0;case'normal':default:return 1}}function A(t,n){return O(t,n)?0:1}function V(t){if('string'==typeof t){var n=(0,_r(d[14]).getAnimationByName)(t);if(!n)throw new Error("No animation registred by the name of "+t);return n}return(0,c.default)(t)}function k(t,n){var e={};return Object.keys(t).forEach(function(i){'style'===i?Object.assign(e,t.style):'easing'!==i&&(e[i]=n.interpolate(t[i]))}),(0,u.default)(e)}function j(t,n,e,i,a){var r=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o=arguments.length>6?arguments[6]:void 0,u=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,f=i||a||o?s.Animated.timing(n,{toValue:e,delay:o,duration:i||1e3,easing:'function'==typeof a?a:p.default[a||'ease'],useNativeDriver:r}):s.Animated.spring(n,{toValue:e,useNativeDriver:r});setTimeout(function(){return u(t)},o),f.start(function(){return l(t)})}},822,[3,6,7,11,13,14,16,569,18,823,824,821,820,826,819,181]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(s){var o={};return Object.keys(s).forEach(function(f){-1!==n.indexOf(f)?(o.transform||(o.transform=[]),o.transform.push((0,t.default)({},f,s[f]))):o[f]=s[f]}),o};var t=r(d[0])(r(d[1])),n=['perspective','rotate','rotateX','rotateY','rotateZ','scale','scaleX','scaleY','skewX','skewY','translateX','translateY']},823,[3,242]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f,u){var o={},c=(0,t.default)(u);return('string'==typeof f?[f]:f).forEach(function(t){o[t]=t in c?c[t]:(0,n.default)(t,c)}),o};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2]))},824,[3,821,825]); +__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i,o){if('backgroundColor'===i)return'rgba(0,0,0,0)';if('color'===i||-1!==i.indexOf('Color'))return'rgba(0,0,0,1)';if(0===i.indexOf('rotate')||0===i.indexOf('skew'))return'0deg';if('opacity'===i||0===i.indexOf('scale'))return 1;if('fontSize'===i)return 14;if(0===i.indexOf('margin')||0===i.indexOf('padding'))for(var f,l=0;l0&&"0"===u.substring(0,1);)u=u.substring(1);return""+n+u}},{key:"getNextPageNumber",value:function(e){try{for(var t="",n="",u="",i=0;ie.length&&n.length>0&&(n=n.substring(0,n.length-(u.length-e.length))),t+n+u}catch(t){return e}}},{key:"getPageByPageNumber",value:function(e,t){if(e.length>0)return e.find(function(e){return i.comparePageNumber(e.getPage(),t)})}},{key:"comparePageNumber",value:function(e,t){return i.removeZerosFromPageNumber(e)===i.removeZerosFromPageNumber(t)}},{key:"comparePages",value:function(e,t){return e.modifyTime===t.modifyTime&&e.section===t.section&&e.page===t.page&&e.shownPage===t.shownPage&&e.edition===t.edition&&e.extraMd5===t.extraMd5&&e.type===t.type}},{key:"getNextPage",value:function(e,t){var n=t.findIndex(function(t){return i.comparePages(t,e)})+1;return n>0&&n0&&void 0!==arguments[0]?arguments[0]:{};(0,t.default)(this,n),this.dbDowntime=o.db_downtime||0,this.dbFilename=u.default.getNewsmemoryBaseDirectory()+o.db_filename;var s=g.getActivePSetup().pSetup;this.dbPSetup=o.db_pSetup||s,this.dbPaper=o.db_paper,this.dbIssue=o.db_issue,this.dbEdition=o.db_edition,this.dbStatus=o.db_status,this.dbSecret=o.db_secret,this.dbNetwork=o.db_network,this.editionModel=null},[{key:"getFilename",value:function(){return this.dbFilename}},{key:"getIssue",value:function(){return this.dbIssue}},{key:"getPSetup",value:function(){return this.dbPSetup}},{key:"getPaper",value:function(){return this.dbPaper}},{key:"getEdition",value:function(){return this.dbEdition}},{key:"setStatus",value:function(t){this.dbStatus=t}},{key:"getStatus",value:function(){return this.dbStatus}},{key:"getDownloadTime",value:function(){return this.dbDowntime}},{key:"getSecret",value:function(){return this.dbSecret}},{key:"setEditionModel",value:function(t){this.editionModel=t}},{key:"getEditionModel",value:function(){return this.editionModel}},{key:"getPages",value:function(){return this.editionModel?this.editionModel.getPages():[]}},{key:"updatePage",value:function(t){this.editionModel.updatePage(t)}},{key:"isEmpty",value:function(){return!this.editionModel||this.editionModel.isEmpty()}},{key:"hasOnlyDatabaseDownloaded",value:function(){return this.dbStatus===s.DB_DOWNLOADED}},{key:"hasMainComponentsDownloaded",value:function(){return(this.dbStatus&s.LOW_MID_PDF_DOWNLOADED)===s.LOW_MID_PDF_DOWNLOADED}},{key:"isHighResolutionDownloadStarted",value:function(){return this.dbStatus===s.HIGH_RES_DOWNLOAD_STARTED}},{key:"hasHighResolutionDownloaded",value:function(){return(this.dbStatus&s.HIGH_RES_DOWNLOADED)===s.HIGH_RES_DOWNLOADED}},{key:"setDbNetwork",value:function(t){this.dbNetwork=t}},{key:"getDbNetwork",value:function(){return this.dbNetwork}},{key:"isNewspaperCompleteForMode",value:function(){return o.default.isModeFull()?this.hasHighResolutionDownloaded():this.hasMainComponentsDownloaded()}},{key:"equals",value:function(t){return this.dbPSetup===t.dbPSetup&&this.dbPaper===t.dbPaper&&this.dbIssue===t.dbIssue&&this.dbEdition===t.dbEdition}}])})()},844,[3,6,7,651,655,553,614]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e,t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),c=r(d[0])(r(d[6])),l=_e.default=(function(){function e(){(0,n.default)(this,e)}return(0,u.default)(e,null,[{key:"getNewspaperDirectory",value:function(){return o.default.getNewspaperBaseDirectory()}},{key:"getDatabaseFilePath",value:function(){return o.default.getNewsmemoryBaseDirectory()+"database.db"}},{key:"getNewspaperIssueDirectory",value:function(t,n){return e.getNewspaperDirectory()+t+"/"+n+"/"}},{key:"deleteNewspaperIssueDirectory",value:(function(){var n=(0,t.default)(function*(t,n){var u=e.getNewspaperIssueDirectory(t,n);try{yield o.default.unlink(u)}catch(e){}});return function(e,t){return n.apply(this,arguments)}})()},{key:"makeNewspaperDirectory",value:(function(){var n=(0,t.default)(function*(){var t=e.getNewspaperDirectory();(yield o.default.exists(t))||(yield o.default.mkdir(t))});return function(){return n.apply(this,arguments)}})()},{key:"deleteNewspaperDirectory",value:(function(){var n=(0,t.default)(function*(){try{yield o.default.unlink(e.getNewspaperDirectory())}catch(e){}});return function(){return n.apply(this,arguments)}})()},{key:"databaseExists",value:(function(){var n=(0,t.default)(function*(){return!!e.database&&e.database.exists()});return function(){return n.apply(this,arguments)}})()},{key:"closeDatabase",value:(function(){var n=(0,t.default)(function*(){return!!e.database&&e.database.close()});return function(){return n.apply(this,arguments)}})()},{key:"deleteDatabase",value:(function(){var n=(0,t.default)(function*(){return!!e.database&&e.database.delete()});return function(){return n.apply(this,arguments)}})()},{key:"openTransaction",value:(function(){var n=(0,t.default)(function*(t,n){return e.database.transaction(t,n)});return function(e,t){return n.apply(this,arguments)}})()},{key:"checkIfColumnExists",value:(function(){var n=(0,t.default)(function*(t,n){return e.database.columnExists(t,n)});return function(e,t){return n.apply(this,arguments)}})()},{key:"createDatabasesTable",value:(function(){var n=(0,t.default)(function*(){try{var t="CREATE TABLE IF NOT EXISTS databases (db_filename VARCHAR(255), db_paper VARCHAR(50), db_issue VARCHAR(20), db_edition VARCHAR(50), db_downtime DATETIME, db_status INTEGER DEFAULT 0, db_network VARCHAR(1), UNIQUE (db_paper,db_issue,db_edition) ON CONFLICT REPLACE );";if(yield e.openTransaction(t),(yield e.checkIfColumnExists("databases","db_status"))||(t="ALTER TABLE databases ADD COLUMN db_status INTEGER DEFAULT 0;",yield e.openTransaction(t)),!(yield e.checkIfColumnExists("databases","db_network")))t="ALTER TABLE databases ADD COLUMN db_network VARCHAR(1) DEFAULT '"+g.getNewsmemoryConfig().network+"'",yield e.openTransaction(t);if(!(yield e.checkIfColumnExists("databases","db_pSetup")))t="ALTER TABLE databases ADD COLUMN db_pSetup VARCHAR(255) DEFAULT '"+g.getActivePSetup().pSetup+"'",yield e.openTransaction(t);(yield e.checkIfColumnExists("databases","db_secret"))||(t="ALTER TABLE databases ADD COLUMN db_secret VARCHAR(255) DEFAULT ''",yield e.openTransaction(t))}catch(e){throw e}});return function(){return n.apply(this,arguments)}})()},{key:"resetDatabase",value:(function(){var n=(0,t.default)(function*(){yield e.closeDatabase(),yield e.deleteDatabase(),yield e.createDatabasesTable()});return function(){return n.apply(this,arguments)}})()},{key:"updateStatus",value:(function(){var n=(0,t.default)(function*(t,n,u,s){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.getActivePSetup().pSetup;try{return yield e.openTransaction("UPDATE databases SET db_status = ? WHERE db_paper = ? AND db_issue = ? AND db_edition = ? AND db_pSetup = ?",[s,t,n,u,o]),!0}catch(e){throw e}});return function(e,t,u,s){return n.apply(this,arguments)}})()},{key:"updateNetwork",value:(function(){var n=(0,t.default)(function*(t,n,u,s){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.getActivePSetup().pSetup;try{return yield e.openTransaction("UPDATE databases SET db_network = ? WHERE db_paper = ? AND db_issue = ? AND db_edition = ? AND db_pSetup = ?",[s,t,n,u,o]),!0}catch(e){throw e}});return function(e,t,u,s){return n.apply(this,arguments)}})()},{key:"getIssueStatus",value:(function(){var n=(0,t.default)(function*(t,n,u){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.getActivePSetup().pSetup;try{var o=yield e.openTransaction("SELECT db_status FROM databases WHERE db_paper = ? AND db_issue = ? AND db_edition = ? AND db_pSetup = ?;",[t,n,u,s]);if(o&&o[0])return o[0];throw new Error("missing issue on database")}catch(e){throw e}});return function(e,t,u){return n.apply(this,arguments)}})()},{key:"insertIssue",value:(function(){var n=(0,t.default)(function*(t,n,u,s){var c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:g.getActivePSetup().pSetup,p=arguments.length>6&&void 0!==arguments[6]?arguments[6]:g.getNewsmemoryConfig().network,f=parseInt((new Date).getTime()/1e3,10);try{var y=t.replace(o.default.getNewsmemoryBaseDirectory(),"");return yield e.openTransaction("INSERT INTO databases (db_filename, db_paper, db_issue, db_edition, db_downtime, db_pSetup, db_secret, db_network) VALUES (?, ?, ?, ?, ?, ?, ?, ?);",[y,n,u,s,f,l,c,p]),!0}catch(e){throw e}});return function(e,t,u,s){return n.apply(this,arguments)}})()},{key:"getAllIssues",value:(function(){var n=(0,t.default)(function*(){try{return(yield e.openTransaction("SELECT * FROM databases ORDER BY db_issue DESC;")).map(function(e){return new c.default(e)})}catch(e){throw e}});return function(){return n.apply(this,arguments)}})()},{key:"getIssuesByDates",value:(function(){var n=(0,t.default)(function*(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n="SELECT * FROM databases WHERE db_issue IN ( "+Array(t.length).fill("?").join(",")+");";try{return(yield e.openTransaction(n,t)).map(function(e){return new c.default(e)})}catch(e){throw e}});return function(){return n.apply(this,arguments)}})()},{key:"getAllIssuesExcept",value:(function(){var n=(0,t.default)(function*(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n="SELECT * FROM databases WHERE db_issue NOT IN ( "+Array(t.length).fill("?").join(",")+") ORDER BY db_downtime DESC;";try{return(yield e.openTransaction(n,t)).map(function(e){return new c.default(e)})}catch(e){throw e}});return function(){return n.apply(this,arguments)}})()},{key:"getIssue",value:(function(){var n=(0,t.default)(function*(t,n,u){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.getActivePSetup().pSetup;try{var o=yield e.openTransaction("SELECT * FROM databases WHERE db_paper = ? AND db_issue = ? AND db_edition = ? AND db_pSetup = ?;",[t,n,u,s]);if(o&&o.length)return new c.default(o[0]);throw new Error("Issue not found")}catch(e){throw e}});return function(e,t,u){return n.apply(this,arguments)}})()},{key:"deleteIssue",value:(function(){var n=(0,t.default)(function*(t,n,u){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.getActivePSetup().pSetup;try{return yield e.openTransaction("DELETE FROM databases WHERE db_paper = ? AND db_issue = ? AND db_edition = ? AND db_pSetup = ?;",[t,n,u,s]),!0}catch(e){throw e}});return function(e,t,u){return n.apply(this,arguments)}})()},{key:"deleteIssueByFilename",value:(function(){var n=(0,t.default)(function*(t){try{return yield e.openTransaction("DELETE FROM databases WHERE db_filename = ?;",[t]),!0}catch(e){throw e}});return function(e){return n.apply(this,arguments)}})()},{key:"getIssuesByEdition",value:(function(){var n=(0,t.default)(function*(t){try{return(yield e.openTransaction("SELECT * FROM databases WHERE db_edition = ?;",[t])).map(function(e){return new c.default(e)})}catch(e){throw e}});return function(e){return n.apply(this,arguments)}})()},{key:"getIssuesByPaper",value:(function(){var n=(0,t.default)(function*(t){try{return(yield e.openTransaction("SELECT * FROM databases WHERE db_paper = ?;",[t])).map(function(e){return new c.default(e)})}catch(e){throw e}});return function(e){return n.apply(this,arguments)}})()}])})();e=l,l.database=new s.default(e.getDatabaseFilePath())},845,[3,272,6,7,846,553,844]); +__d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),i=r(d[0])(r(d[5])),o=r(d[0])(r(d[6])),c=_e.default=(function(){function c(t,n){(0,e.default)(this,c),this.path=t,this.queue=new u.default(1,1/0),this.migrations=n||[]}return(0,n.default)(c,[{key:"getPath",value:function(){return this.path}},{key:"delete",value:(function(){var e=(0,t.default)(function*(){var t,e=this;try{(yield this.exists())&&(yield new Promise(function(t,n){i.default.deleteDatabase(e.path,t,n)})),t=!0}catch(e){t=!1}return t});return function(){return e.apply(this,arguments)}})()},{key:"exists",value:(function(){var e=(0,t.default)(function*(){var t;try{t=yield o.default.exists(this.path)}catch(e){t=!1}return t});return function(){return e.apply(this,arguments)}})()},{key:"open",value:(function(){var e=(0,t.default)(function*(){var t=this,e=!1;try{this.db=yield new Promise(function(e,n){i.default.openDatabase({name:t.path},e,n)}),e=!!this.db}catch(t){}return e});return function(){return e.apply(this,arguments)}})()},{key:"close",value:(function(){var e=(0,t.default)(function*(){var t=this,e=!0;try{yield new Promise(function(e,n){t.db.close(e,n)})}catch(t){e=!1}return e});return function(){return e.apply(this,arguments)}})()},{key:"migrateDB",value:(function(){var e=(0,t.default)(function*(){var t=0;try{yield this.executeSqlNoTx("CREATE TABLE IF NOT EXISTS db_info ( key VARCHAR(255) NOT NULL, value VARCHAR(255) NOT NULL, PRIMARY KEY (key, value));");var e=yield this.executeSqlNoTx("SELECT value FROM db_info WHERE key LIKE 'version'");e.length>0&&(t=e.item(0).value||0)}catch(e){t=0}try{for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:[];return this.queue.add(function(){return new Promise((i=(0,t.default)(function*(t){if(yield n.open())try{var i=yield n.openTransaction();t(yield n.executeSql(i,e,u))}catch(e){t([])}else t([])}),function(t){return i.apply(this,arguments)}));var i})});return function(t){return e.apply(this,arguments)}})()},{key:"tableExists",value:(function(){var e=(0,t.default)(function*(t){var e=!1;try{var n="SELECT name FROM sqlite_master WHERE type='table' AND name='"+t+"';";(yield this.transaction(n,[])).length>0&&(e=!0)}catch(t){}return e});return function(t){return e.apply(this,arguments)}})()},{key:"columnExists",value:(function(){var e=(0,t.default)(function*(t,e){var n=!1;try{for(var u="PRAGMA table_info("+t+");",i=yield this.transaction(u,[]),o=0;o0&&!n.inProgress&&(n.inProgress=!0,n.queue.shift().start())}))},n.prototype.abortAllPendingTransactions=function(){var t,e,n,r;if((r=c[this.dbname])&&r.queue.length>0){for(t=0,e=(n=r.queue).length;t0&&!n.inProgress&&e.startNextTransaction()}})(this),n=(function(t){return function(){e&&e(s('Could not open database')),delete t.openDBs[t.dbname],t.abortAllPendingTransactions()}})(this),this.openDBs[this.dbname]="INIT",h.exec("open",this.openargs,r,n))},n.prototype.close=function(t,e){if(this.dbname in this.openDBs){if(c[this.dbname]&&c[this.dbname].inProgress)return void e(s('database cannot be closed while a transaction is in progress'));delete this.openDBs[this.dbname],c[this.dbname];h.exec("close",{path:this.dbname},function(e,n){if(t)return t(n)},function(t,n){if(e)return e(n)})}else{e&&l(function(){return e("cannot close: database is not open")})}},n.prototype.attach=function(t,e,n,r){if(this.dbname in this.openDBs){if(c[this.dbname]&&c[this.dbname].inProgress)return void r(s('database cannot be attached while a transaction is in progress'));h.exec("attach",{path:this.dbname,dbName:t,dbAlias:e},function(t,e){if(n)return n(e)},function(t){if(r)return r(t)})}else{r&&l(function(){return r("cannot attach: database is not open")})}},n.prototype.detach=function(t,e,n){if(this.dbname in this.openDBs){if(c[this.dbname]&&c[this.dbname].inProgress)return void n(s('database cannot be attached while a transaction is in progress'));this.executeSql('DETACH DATABASE '+t,[],function(t,n){if(e)return e(n)},function(t){if(n)return n(t)})}else{n&&l(function(){return n("cannot attach: database is not open")})}},n.prototype.executeSql=function(t,e,n,o){var i,s,c;c=function(t,e){if(n)return n(e)},i=function(t,e){if(o)return o(e)},s=function(n){n.addStatement(t,e,c,i)},this.addTransaction(new r(this,s,null,null,!1,!1))},(r=function(t,e,n,r,o,i){if("function"!=typeof e){var c=s("transaction expected a function");if(n)return n(c);throw c}this.db=t,this.fn=e,this.error=n,this.success=r,this.txlock=o,this.readOnly=i,this.executes=[],o?this.addStatement("BEGIN",[],null,function(t,e){throw s("unable to begin transaction: "+e.message,e.code)}):this.addStatement("SELECT 1",[],null,null)}).prototype.start=function(){var t;try{this.fn(this),this.run()}catch(e){t=e,c[this.db.dbname].inProgress=!1,this.db.startNextTransaction(),this.error&&this.error(s(t))}},r.prototype.executeSql=function(e,n,r,o){if(this.finalized)throw{message:"InvalidStateError: DOM Exception 11: This transaction is already finalized. Transactions are committed after its success or failure handlers are called. If you are using a Promise to handle callbacks, be aware that implementations following the A+ standard adhere to run-to-completion semantics and so Promise resolution occurs on a subsequent tick and therefore after the transaction commits.",code:11};if(this.readOnly&&t.test(e))this.handleStatementFailure(o,{message:'invalid sql for a read-only transaction'});else{this.addStatement(e,n,function(t,e){if(r)return r(t,e)},function(t,e){if(o)return o(e)})}},r.prototype.addStatement=function(t,e,n,r){var o,i,c,u,h,l;if(u='string'==typeof t?t:t.toString(),c=[],e&&e.constructor===Array)for(o=0,i=e.length;o found in addStatement()';return console.error(f),void r(s(f))}c.push(l.toString()),console.warn('addStatement - parameter of type <'+h+'> converted to string using toString()')}this.executes.push({success:n,error:r,sql:u,params:c})},r.prototype.handleStatementSuccess=function(t,e){var n;t&&t(this,{rows:{item:function(t){return n[t]},raw:function(){return n.slice()},length:(n=e.rows||[]).length},rowsAffected:e.rowsAffected||0,insertId:e.insertId||void 0})},r.prototype.handleStatementFailure=function(t,e){if(!t)throw s("a statement with no error handler failed: "+e.message,e.code);if(!1!==t(this,e))throw s("a statement error callback did not return false: "+e.message,e.code)},r.prototype.run=function(){var t,e,n,r,o,i,c,u,l;for(u=null,i=[],t=this.executes,l=t.length,this.executes=[],c=this,e=function(e,n){return function(r){if(!u){try{n?c.handleStatementSuccess(t[e].success,r):c.handleStatementFailure(t[e].error,s(r))}catch(t){var o=JSON.stringify(t);"{}"===o&&(o=t.toString())}n||(u=s(r))}0==--l&&(u?(c.executes=[],c.abort(u)):c.executes.length>0?c.run():c.finish())}},n=0,r=[];n=5&&(o=t[4],t.length>5&&(e=t[5]))):(!!(s=r).readOnly||s.location&&s.location.constructor===String&&i.hasOwnProperty(s.location)?s.dblocation=i[s.location]:s.dblocation=i.default,s.createFromLocation&&(1===s.createFromLocation?s.assetFilename="1":'string'==typeof s.createFromLocation&&(s.assetFilename=s.createFromLocation)),s.androidDatabaseImplementation&&2===s.androidDatabaseImplementation&&(s.androidOldDatabaseImplementation=1),s.androidLockWorkaround&&1===s.androidLockWorkaround&&(s.androidBugWorkaround=1),t.length>=2&&(o=t[1],t.length>2&&(e=t[2]))),new n(s,o,e))}),e.prototype.echoTest=function(t,e){h.exec("echoStringValue",{value:"test-string"},function(n){return"test-string"===n?t():e("Mismatch: got: "+n+" , expected: test-string")},function(t){return e(t)})},e.prototype.deleteDatabase=function(t,e,r){var o={};if(t.constructor===String)o.path=t,o.dblocation=i.default;else{if(!t||!t.name)throw new Error("Please specify db name via name property");o.path=t.name,t.location&&t.location.constructor===String&&i.hasOwnProperty(t.location)?o.dblocation=i[t.location]:o.dblocation=i.default}h.exec("delete",o,function(t){if(delete n.prototype.openDBs[o.path],e)return e(t)},function(t){if(r)return r(t)})},h.sqlitePlugin={SQLiteFactory:e,SQLitePluginTransaction:r,SQLitePlugin:n},m.exports=h.sqlitePlugin},848,[18]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4]));_e.default=(function(){function l(){(0,t.default)(this,l)}return(0,n.default)(l,null,[{key:"getMainBundleLocation",value:function(){return u.default.getMainBundleDirectory()+"/application"}},{key:"getDirectory",value:function(){return u.default.getNewsmemoryBaseDirectory()+"application"}},{key:"getDefaultIconsDirectory",value:function(){return"file://"+l.getDirectory()+"/code/icons/"}},{key:"getDefaultArticleTextBanner",value:function(){return"file://"+l.getDirectory()+"/code/images/article-banner.png"}},{key:"getHybridDirectory",value:function(){return l.getDirectory()+"/hybrid"}},{key:"getFontsDirectory",value:function(){return l.getDirectory()+"/fonts"}},{key:"getEditionArticleTextBanner",value:function(e){if(e&&e.length)return"file://"+l.getHybridDirectory()+"/header/logo_"+e+".gif";throw new Error("missing edition")}},{key:"getLogoPath",value:(function(){var t=(0,e.default)(function*(e){try{if(e){e=(e=(e=e.replace(/ /g,"")).replace(/\xfc/g,"u")).replace(/\\-/,"");var t=l.getEditionArticleTextBanner(e.toLowerCase());if(yield u.default.exists(t))return t}}catch(e){}return l.getDefaultArticleTextBanner()});return function(e){return t.apply(this,arguments)}})()},{key:"getHybridVersionFilePath",value:function(){return l.getHybridDirectory()+"/version.txt"}},{key:"getHybridVersion",value:(function(){var t=(0,e.default)(function*(){var e=l.getHybridVersionFilePath();return(yield u.default.exists(e))?yield u.default.readFile(e):"-1"});return function(){return t.apply(this,arguments)}})()},{key:"updateHybridVersion",value:(function(){var t=(0,e.default)(function*(e){var t=l.getHybridDirectory(),n=l.getHybridVersionFilePath();(yield u.default.exists(t))||(yield u.default.mkdir(t)),yield u.default.write(n,e)});return function(e){return t.apply(this,arguments)}})()},{key:"makeFontsDirectory",value:(function(){var t=(0,e.default)(function*(){var e=u.default.getFontsDirectory();(yield u.default.exists(e))||(yield u.default.mkdir(e))});return function(){return t.apply(this,arguments)}})()},{key:"copyApplicationFolder",value:(function(){var t=(0,e.default)(function*(){var e=l.getDirectory();try{if(yield u.default.exists(e))return!0;if(r(d[5]).PlatformUtils.isIOS()){var t=l.getMainBundleLocation();yield u.default.copyFile(t,e)}else{var n=u.default.getNewsmemoryBaseDirectory();yield u.default.assetsCopy("application",n)}var o=l.getFontsDirectory();if(yield u.default.exists(o)){var c=u.default.getFontsDirectory();try{yield u.default.unlink(c)}catch(e){}try{yield u.default.moveFile(o,c)}catch(e){}}return!0}catch(e){}return!1});return function(){return t.apply(this,arguments)}})()},{key:"deleteApplicationFolder",value:(function(){var t=(0,e.default)(function*(){var e=l.getDirectory();try{return yield u.default.unlink(e),!0}catch(e){}return!1});return function(){return t.apply(this,arguments)}})()}])})()},849,[3,272,6,7,553,439]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.Route=_e.Action=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),l=r(d[0])(r(d[8])),f=["appName","bundleId","uniqueId","version"];function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(h=function(){return!!t})()}var v=_e.Route=(function(){return(0,c.default)(function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(new Date).getTime();(0,s.default)(this,t),this.time=n,this.name=e},[{key:"getName",value:function(){return this.name}},{key:"getTime",value:function(){return this.time}},{key:"toString",value:function(){return"{\"time\": "+this.time+", \"name\": \""+this.name+"\" }"}},{key:"equals",value:function(t){return this.name===t.getName()}}])})(),p=_e.Action=(function(t){function e(t,o){var c,l,f,v,p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(new Date).getTime();return(0,s.default)(this,e),l=this,f=e,v=[t,p],f=(0,u.default)(f),(c=(0,n.default)(l,h()?Reflect.construct(f,v||[],(0,u.default)(l).constructor):f.apply(l,v))).params=o,c}return(0,o.default)(e,t),(0,c.default)(e,[{key:"getParams",value:function(){return this.params||{}}},{key:"toString",value:function(){return"{\"time\": "+this.time+", \"name\": \""+this.name+"\", \"params\": "+JSON.stringify(this.params)+" }"}},{key:"equals",value:function(t){return this.name===t.getName()&&r(d[9]).JSUtils.equals(this.params,t.getParams())}}])})(v);_e.default=(function(){return(0,c.default)(function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(new Date).getTime(),o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l.default.getCurrentOrientation();(0,s.default)(this,t),this.startTime=u,this.startOrientation=o.toLowerCase(),this.actions=e,this.navigation=n},[{key:"filterRoute",value:function(t,e){var n=e[e.length-1];return!(!n||!n.equals(t))||e.filter(function(e){return t.getTime()-e.getTime()<1e3&&e.equals(t)}).length>0}},{key:"addAction",value:function(t,e){var n=new p(t,e);this.filterRoute(n,this.actions)||this.actions.push(n)}},{key:"addRoute",value:function(t){var e=new v(t);this.filterRoute(e,this.navigation)||this.navigation.push(e)}},{key:"getActions",value:function(){return this.actions||[]}},{key:"getNavigation",value:function(){return this.navigation||[]}},{key:"getDuration",value:function(){var t=this.actions[this.actions.length-1];return t?t.getTime()-this.startTime:0}},{key:"getActionsCounters",value:function(){return this.actions.reduce(function(t,e){var n=e.getName();return t[n]=t[n]?t[n]+1:1,t},{})}},{key:"getRoutesCounters",value:function(){var t=this;return this.navigation.reduce(function(e,n,u){var o=t.navigation[u-1],s=t.navigation[u+1],c=(new Date).getTime();s&&(c=s.getTime());var l=n.getName(),f=1,h=c-n.getTime();if(e[l]){var v=e[l],p=v.times,y=v.duration;(!o||o&&l!==o.getName())&&(f=p+1),h+=y}return e[l]={times:f,duration:h},e},{})}},{key:"getOrientationInfo",value:function(){var t=[new p("rotate_"+this.startOrientation,{},this.startTime)];if(t.push.apply(t,(0,e.default)(this.actions.filter(function(t){return t.getName().startsWith("rotate_")}))),t&&t.length>0){var n=t.reduce(function(e,n,u){var o=t[u+1],s=(new Date).getTime();o&&(s=o.getTime());var c=n.getName().replace("rotate_",""),l=s-n.getTime();return e[c]&&(l+=e[c]),e[c]=l,e},{}),u=Object.keys(n).reduce(function(t,e){return t+n[e]},0);return Object.keys(n).reduce(function(t,e){return t[e]=u?n[e]/u*100:0,t},{})}return{}}},{key:"getFullReport",value:function(){var e=r(d[9]).PlatformUtils.info,n=e.appName,u=e.bundleId,o=(e.uniqueId,e.version),s=(0,t.default)(e,f),c=l.default.getAppVersion(),h={pSetup:g.getAppPSetup(),machine:g.getAppServer(),appName:n,bundleId:u,version:c};return c!==o&&(h.storeVersion=o),{startTime:this.startTime,startOrientation:this.startOrientation,duration:this.getDuration(),actions:this.actions,routes:this.navigation,orientation:this.getOrientationInfo(),deviceInfo:s,appInfo:h}}},{key:"getReport",value:function(){return Object.assign({},this.getFullReport(),{actions:this.getActionsCounters(),routes:this.getRoutesCounters()})}},{key:"toString",value:function(){return"{\"startTime\": "+this.startTime+", \"startOrientation\": \""+this.startOrientation+"\",\n \"actions\": "+JSON.stringify(this.actions.map(function(t){return t.toString()}))+", \"navigation\": "+JSON.stringify(this.navigation.map(function(t){return t.toString()}))+"}"}}])})()},850,[3,4,22,11,13,14,6,7,435,439]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.URL_TYPES=_e.SHOW_TYPES_ARTICLE=_e.RSS_ENABLED=_e.PaperSetupConfig=_e.PAGES_NAVIGATION_BUTTONS_LAYOUT=_e.NEWSMEMORY_START_MODE=_e.NEWSMEMORY_SCREENS_NAME=_e.NEWSMEMORY_SCREENS=_e.NEWSMEMORY_ENABLED=_e.MERGE_ARTICLES_TYPES=_e.MAX_SHARE_CHECK_TYPES=_e.LATEST_AVAILABLE_EDITION_FORMAT=_e.FIREBASE_DEFAULT_CUSTOM_DIMENSIONS=_e.ENCRYPT_FILENAME_TYPE=_e.DEFAULT_CUSTOM_DIMENSIONS=_e.DEFAULT=_e.BOTH_ENABLED=_e.ARTICLE_TITLE_BOX_MODE=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),n=r(d[0])(r(d[5])),o=r(d[0])(r(d[6])),h=r(d[0])(r(d[7])),u=r(d[0])(r(d[8])),_=r(d[0])(r(d[9])),c=r(d[0])(r(d[10]));function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(y=function(){return!!e})()}var p=_e.DEFAULT="0",b=_e.RSS_ENABLED="1",V=_e.NEWSMEMORY_ENABLED="2",f=_e.BOTH_ENABLED="3",E=_e.NEWSMEMORY_SCREENS={REACT:0,NATIVE:1,HTML5:2},S=(_e.NEWSMEMORY_SCREENS_NAME={REACT:"NewsmemoryScreen",NATIVE:"NewsmemoryNativeScreen",HTML5:"NewsmemoryHTML5Screen"},_e.URL_TYPES={NONE:"none",UNDERLINE:"underline",SQUARED:"squared",ROUNDED:"rounded"}),A=_e.MERGE_ARTICLES_TYPES={NORMAL:0,MERGED:1,ONLY_FIRST:2,PAGE_REFS:3},T=_e.NEWSMEMORY_START_MODE={READ:"read",SWIPE:"swipe",BROWSE:"browse"},I=_e.SHOW_TYPES_ARTICLE={ONLY_TEXT:"0",TEXT_AND_GRAPH:"1",ALL:"2"},v=_e.PAGES_NAVIGATION_BUTTONS_LAYOUT={HIDDEN:"0",FIXED:"1",ANIMATED:"2"},w=_e.LATEST_AVAILABLE_EDITION_FORMAT={PLAIN_MESSAGE:"0",ONLY_EDITION:"1",ISSUE_AND_EDITION:"2"},N=_e.ENCRYPT_FILENAME_TYPE={NONE:0,MAIN:1,XPAPER:2},k=(_e.MAX_SHARE_CHECK_TYPES={LOCAL:1,REMOTE:2},_e.ARTICLE_TITLE_BOX_MODE={NEVER:"0",EDITORIAL_ONLY:"1",ALL:"2"}),P=_e.DEFAULT_CUSTOM_DIMENSIONS="dimension1=$deviceType&dimension2=$issue&dimension3=$edition&dimension4=$page&dimension5=$articleId&dimension6=$action&dimension7=$ePaperAccess&dimension8=$title",L=_e.FIREBASE_DEFAULT_CUSTOM_DIMENSIONS="device=$deviceType&issue=$issue&edition=$edition&page=$page&article_id=$articleId&action=$action&epaper_access=$ePaperAccess&app_mode=$appSide&title=$title&site_id=$siteId&remote_site_id=$remoteSiteId",C=["pSetup","paper","layoutStyle","layoutSubStyle","newsmemoryToUse","rssIsEnabled","newsMemoryIsEnabled","migrate","googleAnalyticsAnonymizeIP","clientGoogleAnalyticsAccount","feedbackGoogleAnalyticsAccount","tecnaviaGoogleAnalyticsAccount","TAGoogleAnalyticsEvent","comScoreId","comScorePublisherSecret","comScoreAppName","rempAccountURL","adobeAnalyticsEnabled","adobeAnalyticsConfig","matherAnalyticsEnabled","matomoEnabled","matomoConfig","matomoTrackerEnabled","matomoTrackerConfig","facebookAnalyticsEnabled","attConfig","iubendaEnabled","iubendaConfig","bundleUpdateAvailable","resetAppBundle","isGenericApp","rnStyles","fixButtonsBarToBottom","externalXPapers","pushTags","useAsymmetricCardList","preventScreenshots","showNativeOptionsPageFallbackUrl","lockPanIfNotZoomedByDegrees","showOpenArticleExtraOnTitleBox","osanoEnabled","osanoConfig"],M=["checksum"],R=["json","pSetupFileTime","checksum","lastIssue","lastEdition","demoIssue","external"],O=u.default.SP.keys;_e.PaperSetupConfig=(function(u){function x(){var e,s,n,h;(0,t.default)(this,x);for(var u=arguments.length,_=new Array(u),c=0;c0&&void 0!==arguments[0]?arguments[0]:{};if(yield(0,n.default)((0,o.default)(x.prototype),"init",this).call(this,t),this.layoutStyle=yield this.getValue(O.layout_style),!this.layoutStyle)return!1;if(this.pSetup===g.getAppPSetup()){var s=yield g.getUserSettings().getForceLayoutSubStyle();this.layoutSubStyle=s||(yield this.getValue(O.layout_sub_style))}else this.layoutSubStyle=yield this.getValue(O.layout_sub_style);var l=(yield this.getValue(O.user_ip))||"n/a";r(d[11]).NetworkUtils.setIP(l),this.isAllowedIP="1"===(yield this.getValue(O.is_allowed_ip)),this.machine=yield this.getValue(O.machine),this.premiumIconURL=this.machine.concat("/eeLayout/").concat(this.layoutStyle).concat("/").concat(this.layoutSubStyle).concat("/images/webapp/tecnavia_premium_article.png"),this.paper=yield this.getValue(O.paper),this.xpaper=yield this.getValue(O.xpaper),this.appModeSelectionPageEnabled="1"===(yield this.getValue(O.app_mode_selection_page_enabled)),this.appModeSelectionPageURL=yield this.getValue(O.app_mode_selection_page_url),this.appModeSelectionPageVersion=Number.parseInt(yield this.getValue(O.app_mode_selection_page_version),10)||0,this.poweredBy=yield this.getValue(O.powered_by),this.poweredByURL=yield this.getValue(O.powered_by_url),this.copyright=yield this.getValue(O.copyright),this.copyrightURL=yield this.getValue(O.copyright_url),this.addDisclaimer=yield this.getValue(O.add_disclaimer),this.paperName=yield this.getValue(O.paper_name),this.language=yield this.getValue(O.language),this.siteDomain=yield this.getValue(O.site_domain),this.isLite="1"===(yield this.getValue(O.is_lite)),this.initpageXpaperNotView=(yield this.getValue(O.init_x_paper_not_in_view))||"",this.externalXPapers=(yield this.getValue(O.external_xpapers))||"",this.specialBeforeIndex=yield this.getValue(O.special_before_index),this.specialBeforeIndexTablet=yield this.getValue(O.special_before_index_tablet),this.specialBeforeIndexPhone=yield this.getValue(O.special_before_index_phone),this.udb=yield this.getValue(O.udb),this.loginStatus=new(r(d[12]).LoginStatus),yield this.loginStatus.init(this.udb),this.loginStatus.setOneTimeToken(yield this.getValue(O.preview_token));var h=(yield this.getValue(O.refreshes_tauid))||"";this.refreshesTAUIDTimestamp=r(d[11]).DateUtils.getUnixTimestampFromDateTimeString(h);var u="";if("1"===(yield this.getValue(O.change_user_agent_for_oauth)))if(r(d[11]).PlatformUtils.isAndroid())u=(yield this.getValue(O.custom_user_agent_for_oauth))||"";else{var y=(yield this.getValue(O.custom_string_to_append_to_user_agent_for_oauth))||"Safari/{APPLE_WEBKIT_VERSION}";y&&(y=y.replace("{APPLE_WEBKIT_VERSION}",r(d[11]).PlatformUtils.getAppleWebKitVersion()),u=r(d[11]).PlatformUtils.getUserAgent()+" "+y)}this.overrideNewsMemoryUserAgent=u,this.newsmemoryToUse=parseInt((yield this.getValue(O.newsmemory_to_use))||E.NATIVE,10),this.newsmemoryToUseTimestamp=(yield this.getValue(O.newsmemory_to_use_timestamp))||"",this.galleryDownloadEnabled=r(d[11]).PlatformUtils.isAndroid()&&"1"===(yield this.getValue(O.gallery_download_enabled)),this.galleryThumbnailEnabled="1"!==(yield this.getValue(O.gallery_thumbnail_disabled)),this.openHttpLinkOnExternalBrowser="0"!==((yield this.getValue(O.open_http_link_on_external_browser))||"1"),this.pSetupFileTime=parseInt((yield this.getValue(O.file_time))||-1,10),this.rssIndexFileTime=parseInt((yield this.getValue(O.rss_index_file_time))||-1,10),this.customLanguagePackFileTime=parseInt((yield this.getValue(O.custom_language_pack_file_time))||-1,10),this.customFontsString=null!=(e=yield this.getValue(O.custom_fonts))?e:"",this.customFontsFileTime=parseInt((yield this.getValue(O.custom_fonts_file_time))||-1,10),this.loadEditionsUrl=yield this.getValue(O.load_editions_url);var b=parseInt(yield this.getValue(O.option_page_mode),10),C=yield this.getValue(O.option_page_url),M=(yield this.getValue(O.option_page_coordinates))||"",R="1"===(yield this.getValue(O.option_page_modal));this.optionspageConfig=new(r(d[13]).OptionspageConfig)({mode:b,baseURL:C,coordinatesString:M,modal:R}),this.optionsPageTabPath=(yield this.getValue(O.options_page_tab_path))||"";var F=yield this.getValue(O.mode_enabled);this.rssIsEnabled=yield this.checkIfRssIsEnabled(),this.newsMemoryIsEnabled=F===p||F===V||F===f,this.startupMode=yield this.getValue(O.startup_mode),this.startupModeTimestamp=(yield this.getValue(O.startup_mode_timestamp))||"";var D=yield this.getValue(O.base_rss_update_url);D=r(d[11]).NetworkUtils.addDefaultProtocol(D),D=_.default.replaceUrlPlaceHolder(D),this.baseRssUpdateURL=D,this.feedbackEnabled="1"===(yield this.getValue(O.feedback.enable)),this.feedbackEnabled&&(this.feedbackConfig=new(r(d[14]).FeedbackConfig)(this.pSetup,this.originalMachine),yield this.feedbackConfig.init(t)),this.disableFirebaseAnalytics="1"===((yield this.getValue(O.disable_firebase_analytics))||"0"),this.firebaseAnalyticsCustomDimensions=(yield this.getValue(O.firebase_analytics_custom_dimensions))||L,this.otherFirebaseProjects=[];var U=yield this.getValue(O.other_firebase_projects);if(U)try{this.otherFirebaseProjects=JSON.parse(U)}catch(e){}this.firebaseAnalyticsSendExternalId="1"===((yield this.getValue(O.firebase_analytics_send_external_id))||"0"),this.disableGoogleAnalytics3="1"===((yield this.getValue(O.disable_google_analytics_3))||"0"),this.googleAnalyticsAnonymizeIP="1"===((yield this.getValue(O.g_analytics_anonymize_ip))||"1"),this.clientGoogleAnalyticsAccount=yield this.getValue(O.g_analytics),this.feedbackGoogleAnalyticsAccount=yield this.getValue(O.g_analytics_feedback),this.tecnaviaGoogleAnalyticsAccount=yield this.getValue(O.g_analytics_tecnavia),this.TAGoogleAnalyticsEvent=yield this.getValue(O.ta_google_analytics_event),this.googleAnalyticsCustomDimensions=(yield this.getValue(O.google_analytics_custom_dimensions))||P,this.rempAccountURL=yield this.getValue(O.remp_account),this.comScoreAppName=yield this.getValue(O.comscore.app_name),this.comScoreId=yield this.getValue(O.comscore.id),this.comScorePublisherSecret=yield this.getValue(O.comscore.publisher_secret),this.comScoreBaseURL=yield this.getValue(O.comscore.base_url),this.matherAnalyticsEnabled="1"===((yield this.getValue(O.mather_analytics.enabled))||"0"),this.matherAnalyticsCustomerId=(yield this.getValue(O.mather_analytics.customer_id))||"",this.matherAnalyticsSiteId=(yield this.getValue(O.mather_analytics.site_id))||"",this.matherAnalyticsSendEmail="1"===((yield this.getValue(O.mather_analytics.send_email))||"0"),this.adobeAnalyticsEnabled="1"===((yield this.getValue(O.adobe_analytics.enabled))||"0"),this.adobeAnalyticsEnabled&&(this.adobeAnalyticsConfig=new(r(d[15]).AdobeAnalyticsConfig)(this.pSetup,this.originalMachine),yield this.adobeAnalyticsConfig.init(t)),this.matomoEnabled="1"===((yield this.getValue(O.matomo.enabled))||"0"),this.matomoEnabled&&(this.matomoConfig=new(r(d[16]).MatomoConfig)(this.pSetup,this.originalMachine),yield this.matomoConfig.init(t,this.googleAnalyticsCustomDimensions)),this.matomoTrackerEnabled="1"===((yield this.getValue(O.matomo_tracker.enabled))||"0"),this.matomoTrackerEnabled&&(this.matomoTrackerConfig=new(r(d[17]).MatomoTrackerConfig)(this.pSetup,this.originalMachine),yield this.matomoTrackerConfig.init(t));var B=(yield this.getValue(O.facebook_enabled))||"";this.facebookAnalyticsEnabled=B&&"0"!==B,this.blueConicEnabled="1"===((yield this.getValue(O.blueconic.enabled))||"0"),this.blueConicEnabled&&(this.blueConicConfig=new(r(d[18]).BlueConicConfig)(this.pSetup,this.originalMachine),yield this.blueConicConfig.init(t)),this.chartbeatConfig=new(r(d[19]).ChartbeatConfig)(this.pSetup,this.originalMachine),yield this.chartbeatConfig.init(t),this.defaultConnectivity=yield this.getValue(O.default_connectivity),this.defaultConnectivityTimestamp=(yield this.getValue(O.default_connectivity_timestamp))||"",this.urlType=(yield this.getValue(O.url_type))||S.UNDERLINE,this.showLinksHighlight="1"===((yield this.getValue(O.showLinksHighlight))||"1"),this.relabel={fitPageButton:yield this.getValue(O.relabel_fit_page_button),downloadButton:yield this.getValue(O.relabel_offline_button),helpButton:yield this.getValue(O.relabel_help_button),settingsButton:yield this.getValue(O.relabel_setting_button),editionsButton:yield this.getValue(O.relabel_option_button),specialSectionButton:yield this.getValue(O.relabel_special_sections_button),searchButton:yield this.getValue(O.relabel_search_button),indexButton:yield this.getValue(O.relabel_ebook_button),gBookButton:yield this.getValue(O.relabel_gbook_button),thumbnailButton:yield this.getValue(O.relabel_phodir_button),feedButton:yield this.getValue(O.relabel_feed_button)},this.defaultMaxIssues=parseInt(yield this.getValue(O.default_max_issues),10)||30,this.dateFormat=yield this.getValue(O.date_format),this.showWeekAfterDate="1"===(yield this.getValue(O.show_week)),this.downloadMultiZips="1"===(yield this.getValue(O.download_multi_zips)),this.showTypesArticle=(yield this.getValue(O.show_types_article))||I.TEXT_AND_GRAPH,this.enableArticleExtra="1"===((yield this.getValue(O.enable_article_extra))||"0"),this.maxZipsToDownloadEachRequest=parseInt(yield this.getValue(O.max_zips_to_download_per_request),10)||10,this.cssFilesToAdd="csscustom";var z=yield this.getValue(O.css_files_to_add);z&&(this.cssFilesToAdd+=","+z),this.emailContent=yield this.getValue(O.email_content),this.emailSubject=yield this.getValue(O.email_subject),this.twitterText=yield this.getValue(O.twitter_text),this.updateDBPercentage=parseInt(yield this.getValue(O.update_db_percentage),10)||50,this.enableAdvancedGesturesMode="1"===((yield this.getValue(O.enable_advanced_gestures_mode))||"1"),this.enableAdvancedGesturesMode?(this.twoFingersTapToArticle="1"===((yield this.getValue(O.two_fingers_tap_to_article))||"0"),this.twoFingersTapToArticle?this.singleTapToZoom="1"===((yield this.getValue(O.single_tap_to_zoom))||"1"):this.singleTapToZoom=!1):(this.twoFingersTapToArticle=!0,this.singleTapToZoom=!0),this.lockHorizontalPanIfNotZoomed="1"===((yield this.getValue(O.lock_horizontal_pan_if_not_zoomed))||"0"),this.lockPanIfNotZoomedByDegrees=yield this._getLockPanIfNotZoomedByDegrees(),this.machineForHR=(yield this.getValue(O.machine_for_hr))||this.machine,this.translationAvailable="1"===(yield this.getValue(O.translation_available)),this.translationServer=(yield this.getValue(O.translation_server))||"",this.useNativeAccessibility="1"===((yield this.getValue(O.use_native_accessibility))||"0")||g.isDebug,this.useCarMode="1"===((yield this.getValue(O.use_car_mode))||"0")||g.isDebug,this.showNativeOptionsPageFallbackUrl=yield this.getValue(O.show_native_options_page_fallback_url),this.showNativeOptionsPage="1"===((yield this.getValue(O.show_native_options_page))||"0"),this.showNativeSettingsScreen="1"===((yield this.getValue(O.show_native_settings_screen))||"0")||g.isDebug,this.showTranslationCustomization="1"===((yield this.getValue(O.enable_translation_customization))||"1"),this.showThemesCustomization="1"===((yield this.getValue(O.show_themes_customization))||"1"),this.enableZoomLevelCustomization="1"===((yield this.getValue(O.enable_zoom_level_customization))||"1"),this.enableArticleTypesCustomization="1"===((yield this.getValue(O.enable_article_types_customization))||"1"),this.showArticleColumnViewCustomization="1"===((yield this.getValue(O.show_article_column_view_customization))||"1"),this.showNavigationButtonsLayoutCustomization="1"===((yield this.getValue(O.show_navigation_buttons_layout_customization))||"1"),this.showXPaperNavigationCloseButton="1"===((yield this.getValue(O.show_xpaper_navigation_close_button))||"0"),this.showHighlightBehaviorCustomization="1"===((yield this.getValue(O.show_highlight_behavior_customization))||"1"),this.showOpenArticleExtraOnTitleBox=(yield this.getValue(O.show_open_article_extra_on_title_box))||k.NEVER,this.changeFavoriteEdition="1"===((yield this.getValue(O.change_favorite_edition))||"0"),this.favoriteEdition=(yield this.getValue(O.favorite_edition))||"",this.enableConnectivityOptions="1"===((yield this.getValue(O.enable_connectivity_options))||"1"),this.enableFontSizeCustomization="1"===((yield this.getValue(O.enable_font_size_customization))||"1"),this.enableGraphSizeCustomization="1"===((yield this.getValue(O.enable_graph_size_customization))||"1"),this.fitGraphicArticle=parseInt((yield this.getValue(O.fit_graphic_article))||"1",10),this.subPath=yield this.getValue(O.sub_path),this.extraLinkColor=(yield this.getValue(O.extra_link_color))||"255,0,0,0.25";var H=parseInt(yield this.getValue(O.background_duration_article_selected),10);this.backgroundDurationArticleSelected=r(d[11]).JSUtils.isNumber(H)?H:r(d[20]).HIDE_ANIMATION_DURATION;var G=parseInt(yield this.getValue(O.background_timer_article_selected),10);this.backgroundTimerArticleSelected=r(d[11]).JSUtils.isNumber(G)?G:r(d[20]).HIDE_ANIMATION_TIMER,this.backgroundColorArticleSelected=(yield this.getValue(O.background_color_article.selected))||"255,0,0,0.25",this.backgroundColorArticleToSelect=(yield this.getValue(O.background_color_article.to_select))||this.backgroundColorArticleSelected,this.previewHighlightEnabled="1"===((yield this.getValue(O.preview_highlight_enabled))||"0"),this.previewHighlightDurationSeconds=parseInt((yield this.getValue(O.preview_highlight_duration_seconds))||"2",10),this.zoomingFactor=parseInt(yield this.getValue(O.zooming_factor),10),this.zoomingFactor=this.zoomingFactor<=0?100:this.zoomingFactor,this.maxZoom=parseInt((yield this.getValue(O.max_zoom))||"5",10),this.pdfThumbnailRatio=parseFloat((yield this.getValue(O.pdf_thumbnail_ratio))||"0.5"),this.einkCompleteHrFactor=parseFloat((yield this.getValue(O.eink_complete_hr_factor))||"2.2"),this.hrFactor=parseInt((yield this.getValue(O.hr_factor))||"1",10),this.pdfFactor=parseFloat((yield this.getValue(O.pdf_factor))||"1.2"),this.pdfFactorLandscape=parseFloat((yield this.getValue(O.pdf_factor_landscape))||"1"),this.forcePdfInRoamingMode="1"===((yield this.getValue(O.force_pdf_in_roaming_mode))||"0"),this.lowPagesToRender=parseInt((yield this.getValue(O.low_pages_to_render))||"1",10),this.midPagesToRender=parseInt((yield this.getValue(O.mid_pages_to_render))||"1",10),this.loadMidResOnScroll="1"===((yield this.getValue(O.load_mid_res_on_scroll))||"1"),this.enableArticleTextSelection="1"===(yield this.getValue(O.enable_article_text_selection)),this.showEditionThumbs="1"===(yield this.getValue(O.show_edition_thumbs)),this.scrollTiles=r(d[11]).PlatformUtils.isTablet()?yield this.getValue(O.scroll_tiles):yield this.getValue(O.scroll_tiles_phone),this.scrollTiles=parseInt(this.scrollTiles,10),this.onLoginErrorGoTo=(yield this.getValue(O.on_login_error_go_to))||r(d[21]).tabs.home,this.onValidationErrorGoTo=(yield this.getValue(O.on_validation_error_go_to))||r(d[21]).tabs.login,this.timeLimitCheckEdition=60*(parseInt(yield this.getValue(O.time_limit_check_edition),10)||10)*1e3,this.latestEditionAvailableMessageFormat=parseInt(yield this.getValue(O.latest_edition_available_message_format),10)||w.ISSUE_AND_EDITION,this.timeLimitCheckLogin=1e3*(parseInt(yield this.getValue(O.time_limit_check_login),10)||7200),this.timeLimitForgetLogin=60*(parseInt(yield this.getValue(O.time_limit_forget_login),10)||120)*1e3,this.lastPSetup=(yield this.getValue(O.last_pSetup))||this.pSetup,this.lastIssue=yield this.getValue(O.last_issue),this.lastEdition=yield this.getValue(O.last_edition),this.demoIssue=yield this.getValue(O.demo_issue),this.articleModeDefaultFullscreenPortrait=(yield this.getValue(O.force_article_mode_fullscreen_portrait))||"0",this.articleModeDefaultFullscreenLandscape=(yield this.getValue(O.force_article_mode_fullscreen_landscape))||"0",this.enableTextToSpeech=1===parseInt((yield this.getValue(O.enable_text_to_speech))||"1",10),this.enableTextToSpeechPlayer=1===parseInt((yield this.getValue(O.enable_text_to_speech_player))||"0",10),this.textToSpeechRate=parseFloat(yield this.getValue(O.text_to_speech_rate))||0,this.textToSpeechChunkLength=parseInt(yield this.getValue(O.text_to_speech_chunk_length),10)||1e3,this.lowSpeedLimit=parseInt(yield this.getValue(O.low_speed_limit),10)||250,this.disableLowSpeedLimit=1===parseInt((yield this.getValue(O.disable_low_speed_limit))||"0",10),this.baseInAppPurchaseAPIUrl=yield this.getValue(O.base_iap_api_url),this.allAndroidSkus=yield this.getValue(O.all_skus),this.isNNB=1===parseInt(yield this.getValue(O.is_nnb),10),this.enableVmodeAndFitOrientation=1===parseInt((yield this.getValue(O.enable_vmode_and_fit_orientation))||"1",10),this.fitPageType=parseInt((yield this.getValue(O.fit_page_type))||(this.enableVmodeAndFitOrientation?"7":"6"),10),this.startInIndexMode=(yield this.getValue(O.start_in_index_mode))||"0",this.epaperStartMode=(yield this.getValue(O.epaper_start_mode))||T.READ,this.disableEPaperModeSelectionPage="1"===((yield this.getValue(O.disable_epaper_mode_selection_page))||"0"),this.cdnEnabled="1"===((yield this.getValue(O.cdn_enabled))||"1"),this.cdnServer=yield this.getValue(O.cdn_server),this.cdnVersion=parseInt((yield this.getValue(O.cdn_version))||"0",10),this.disableRnDemo="1"===((yield this.getValue(O.disable_rn_demo))||"0"),this.landingPageURL=yield this.getValue(O.landing_page_url),this.landingPageVersion=parseInt(yield this.getValue(O.landing_page_version),10)||0,this.showLandingPageOnce="1"===(yield this.getValue(O.show_landing_page_once)),this.forcedSharedSecret=yield this.getValue(O.forced_shared_secret),this.useIOSSandboxReceiptValidation="1"===(yield this.getValue(O.use_ios_sandbox_receipt_validation)),this.encryptFilenames=parseInt((yield this.getValue(O.use_cc))||N.NONE,10),this.migrate="1"===((yield this.getValue(O.migrate))||"0"),this.hybridVersion=(yield this.getValue(O.hybrid_version))||"0",this.enableAppendFirstPages=1===parseInt((yield this.getValue(O.append_first_pages))||"1",10),this.pngQualityFactor=parseFloat((yield this.getValue(O.png_quality_factor))||"1.8"),this.generatePNGBasedOnScreenDimensions="1"===((yield this.getValue(O.generate_png_based_on_screen_dimensions))||"1"),this.considerPixelRatioInPNGGeneration="1"===((yield this.getValue(O.consider_pixel_ratio_in_png_generation))||"1"),this.pngWidthLimit=parseInt((yield this.getValue(O.png_width_limit))||"1080",10),this.enablePrint="1"===((yield this.getValue(O.print_enabled))||"1"),this.printToLetter="1"===((yield this.getValue(O.print_to_letter))||"1"),this.printMargin=parseInt((yield this.getValue(O.print_margin))||"10",10),this.isGenericApp="1"===((yield this.getValue(O.generic_app_enabled))||"0"),this.publicationsPageURL=(yield this.getValue(O.store_url))||"",this.iapActive="1"===((yield this.getValue(O.iap_active))||"0");var Y=(yield this.getValue(O.payments))||"[]",$=JSON.parse(Y);this.payments=$.map(function(e){return new c.default(e)}),this.enableMultipleSubscriptionsAlert="1"===((yield this.getValue(O.enable_multiple_subscriptions_alert))||"1"),this.protectSite=parseInt((yield this.getValue(O.protect_site))||"0",10),this.protectSite>0?this.validateSite=parseInt((yield this.getValue(O.validate_site))||"0",10):this.validateSite=0,this.pagesNavigationButtonsLayout=(yield this.getValue(O.pages_navigation_buttons_layout))||v.FIXED,this.animateLayoutFooter="1"===((yield this.getValue(O.animate_layout_footer))||"0"),this.fixButtonsBarToBottom="1"===((yield this.getValue(O.fix_buttons_bar_to_bottom))||"0")&&r(d[11]).PlatformUtils.isTablet(),this.dfpReloadTime=parseInt((yield this.getValue(O.dfp_reload_time))||"20000",10),this.twoFingersTapHintEnabled="1"===((yield this.getValue(O.two_fingers_tap_hint_enabled))||"1"),this.twoFingersTapMaxHints=parseInt((yield this.getValue(O.two_fingers_tap_max_hints))||"5",10),this.enableShare="1"===((yield this.getValue(O.enable_share))||"1"),this.maxShares=parseInt((yield this.getValue(O.max_shares))||"0",10),this.maxSharesCheckType=parseInt((yield this.getValue(O.max_shares_check_type))||"1",10),this.messageMaxShare=(yield this.getValue(O.message_max_share))||"",this.downloadSinglePdf="1"===((yield this.getValue(O.download_single_pdf))||"0"),this.mergeArticles=parseInt((yield this.getValue(O.merge_articles))||A.NORMAL,10),this.columnView=parseInt((yield this.getValue(O.column_view))||"1",10),this.enablePhoneArticleLayoutOnTabletInLandscape="1"===((yield this.getValue(O.enable_phone_article_layout_on_tablet_in_landscape))||"0"),this.enableDesktopArticleLayoutOnIPadProInLandscape="1"===((yield this.getValue(O.enable_desktop_article_layout_on_ipad_pro_in_landscape))||"0"),this.showArtComplete="1"===((yield this.getValue(O.show_art_complete))||"0"),this.calculateMidAds="1"===((yield this.getValue(O.calculate_mid_ads))||"0"),this.keepArticlePositionOnRotation="1"===((yield this.getValue(O.keep_article_position_on_rotation))||"0"),this.enableArticleImageReposition="1"===((yield this.getValue(O.enable_article_image_reposition))||"0"),this.enableArticleBylineHRs="1"===((yield this.getValue(O.enable_article_byline_hrs))||"1"),this.ads=(yield this.getValue(O.ads))||"",this.enableInStoryAdMarker="1"===((yield this.getValue(O.enable_instory_ad_marker))||"0"),this.inStoryAdMarkerText=(yield this.getValue(O.instory_ad_marker_text))||g.strings("str_advertisement"),this.disableRnStyles="1"===((yield this.getValue(O.disable_rn_styles))||"0"),this.rnStyles={};var W=yield this.getValue(O.rn_styles);if(W)try{this.rnStyles=JSON.parse(W)}catch(e){}this.rnStylesFileTime=parseInt((yield this.getValue(O.rn_styles_file_time))||-1,10),this.sslCertificateFileTime=parseInt((yield this.getValue(O.ssl_certificate_file_time))||-1,10),this.deviceDpi=parseInt((yield this.getValue(O.device_dpi))||0,10),this.tocStyle=(yield this.getValue(O.toc_style))||"list",this.tocStylePreview=(yield this.getValue(O.toc_style_preview))||"all_art",this.enableTabIndexMode="1"===((yield this.getValue(O.enable_tab_index_mode))||"0"),this.showTabIndexModeCustomization="1"===((yield this.getValue(O.show_tab_index_mode_customization))||(this.enableTabIndexMode?"1":"0")),this.bundleUpdateAvailable="1"===((yield this.getValue(O.bundle_update_available))||"0"),this.resetAppBundle="1"===((yield this.getValue(O.reset_app_bundle))||"0"),this.seeNewspaperPreview=parseInt((yield this.getValue(O.see_newspaper_preview))||"0",10),this.pageSeeNewspaperPreview=parseInt(yield this.getValue(O.page_see_newspaper_preview),10)||2,this.hoursToSendPushRegistration=parseInt(yield this.getValue(O.hours_to_send_push_registration),10)||6,this.webviewIOSNativePlayer="1"===((yield this.getValue(O.webview_ios_native_player))||"0"),this.webviewAndroidAllowFullscreen="1"===((yield this.getValue(O.webview_android_allow_fullscreen))||"1"),this.webviewAllowAutoplay="1"===((yield this.getValue(O.webview_allow_autoplay))||"0"),this.webviewCustomHTTPHeaders={};var X=yield this.getValue(O.webview_custom_http_headers);X&&(this.webviewCustomHTTPHeaders=r(d[11]).StringUtils.parseQuerystring(X)),this.attConfig=new(r(d[22]).ATTConfig)(this.pSetup,this.originalMachine),yield this.attConfig.init(t),this.iubendaEnabled="1"===((yield this.getValue(O.iubenda.enabled))||"0"),this.iubendaEnabled&&(this.iubendaConfig=new(r(d[23]).IubendaConfig)(this.pSetup,this.originalMachine),yield this.iubendaConfig.init(t)),this.osanoEnabled="1"===((yield this.getValue(O.osano.enabled))||"0"),this.osanoEnabled&&(this.osanoConfig=new(r(d[24]).OsanoConfig)(this.pSetup,this.originalMachine),yield this.osanoConfig.init(t)),this.showExtrasInArticleGraphicMode="1"===((yield this.getValue(O.show_extras_in_article_graphic_mode))||"0"),this.showExtrasToLoggedUsersOnly="1"===((yield this.getValue(O.show_extras_to_logged_users_only))||"0"),this.morseTAUID="1"===((yield this.getValue(O.morse_tauid))||"0"),this.addWatermark="1"===((yield this.getValue(O.add_watermark))||"0"),this.watermarkText=(yield this.getValue(O.watermark_text))||"$extId",this.disableScreenIdleTimerDelay="1"===((yield this.getValue(O.disable_screen_idle_timer_delay))||"0");var Z=(yield this.getValue(O.startup_params))||"{}";try{this.startupParams=JSON.parse(Z)}catch(e){this.startupParams={}}return this.enableSessionCollection="1"===((yield this.getValue(O.enable_session_collection))||"0"),this.enableSessionAutoUpload="1"===((yield this.getValue(O.enable_session_auto_upload))||"0"),this.sessionUploadBaseURL=(yield this.getValue(O.session_upload_base_url))||"",this.disableReaderAppModal=!0,this.readerAppLearnMoreLink="",r(d[11]).PlatformUtils.isIOS()&&(this.disableReaderAppModal="1"===((yield this.getValue(O.disable_reader_app_modal))||"0"),this.readerAppLearnMoreLink=(yield this.getValue(O.reader_app_learn_more_link))||"https://apps.apple.com/story/id1614232807"),this.checksum=(yield this.getValue(O.checksum))||"",this.pushTags=(yield this.getValue(O.push_tags))||"",this.useAsymmetricCardList="1"===((yield this.getValue(O.use_asymmetric_card_list))||"1"),this.preventScreenshots="1"===((yield this.getValue(O.prevent_screenshots))||"0"),!0});return function(){return t.apply(this,arguments)}})()},{key:"setLastIssue",value:function(e){this.lastIssue=e,this.setValue(O.last_issue,e)}},{key:"setLastEdition",value:function(e){this.lastEdition=e,this.setValue(O.last_edition,e)}},{key:"setLastPSetup",value:function(e){this.lastPSetup=e,this.setValue(O.last_pSetup,e)}},{key:"setDemoIssue",value:function(e){this.demoIssue=e,this.setValue(O.demo_issue,e)}},{key:"setRssIndexFileTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.rssIndexFileTime=e,this.setValue(O.rss_index_file_time,""+e)}},{key:"setCustomLanguagePackFileTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.customLanguagePackFileTime=e,this.setValue(O.custom_language_pack_file_time,""+e)}},{key:"setCustomFontsFileTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.customFontsFileTime=e,this.setValue(O.custom_fonts_file_time,""+e)}},{key:"setRNStyles",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.rnStyles=e,this.setValue(O.rn_styles,JSON.stringify(e))}},{key:"setRNStylesFileTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.rnStylesFileTime=e,this.setValue(O.rn_styles_file_time,""+e)}},{key:"setSSLCertificateFileTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.sslCertificateFileTime=e,this.setValue(O.ssl_certificate_file_time,""+e)}},{key:"setModeEnabled",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.rssIsEnabled=e===b||e===f,this.newsMemoryIsEnabled=e===p||e===V||e===f,t||this.setValue(O.mode_enabled,e)}},{key:"checkIfRssIsEnabled",value:(function(){var t=(0,e.default)(function*(){var e=yield this.getValue(O.mode_enabled);return e===b||e===f});return function(){return t.apply(this,arguments)}})()},{key:"getPaymentByProductId",value:function(e){if(this.payments)return this.payments.find(function(t){return t.checkProductId(e)})}},{key:"setExternal",value:function(e){this.external=e}},{key:"setAllowedIP",value:function(e){this.isAllowedIP=e,this.setValue(O.is_allowed_ip,e?"1":"0")}},{key:"setCDNEnabled",value:function(e){this.cdnEnabled=e,this.setValue(O.cdn_enabled,e?"1":"0")}},{key:"setCDNServer",value:function(e){this.cdnServer=e,this.setValue(O.cdn_server,e)}},{key:"setCDNVersion",value:function(e){this.cdnVersion=parseInt(e,10),this.setValue(O.cdn_version,e)}},{key:"setBundleUpdateAvailable",value:function(e){this.bundleUpdateAvailable=e,this.setValue(O.bundle_update_available,e?"1":"0")}},{key:"setMigrate",value:function(e){this.migrate=e,this.setValue(O.migrate,e?"1":"0")}},{key:"setNativeOptionspageFallbackVersion",value:function(e){this.showNativeOptionsPageFallbackUrl=e,this.setValue(O.show_native_options_page_fallback_url,e)}},{key:"_getDifferences",value:function(e){var t=this,s=[];if(e)try{(s=Object.keys(this).filter(function(s){if("function"==typeof t[s])return!1;if("object"==typeof t[s]){var l={};return t[s]instanceof r(d[25]).PaperSetupBaseConfig&&(l.skipKeys=["json"]),!r(d[11]).JSUtils.areEqualDeep(t[s],e[s],l)}return t[s]!==e[s]})).length}catch(e){}return s}},{key:"_checkIfNeedToRestart",value:function(e){return void 0!==e.find(function(e){return C.includes(e)})}},{key:"_checkIfNeedToUpdate",value:function(e){return void 0!==e.find(function(e){return!R.includes(e)})}},{key:"_checkIfNeedLayoutUpdate",value:function(e){return void 0!==e.find(function(e){return M.includes(e)})}},{key:"_getLockPanIfNotZoomedByDegrees",value:(function(){var t=(0,e.default)(function*(){try{return JSON.parse(yield this.getValue(O.lock_pan_if_not_zoomed_by_degrees))}catch(e){}return[0,90]});return function(){return t.apply(this,arguments)}})()}])})(r(d[25]).PaperSetupBaseConfig)},851,[3,272,6,7,11,79,13,14,852,853,854,439,855,857,858,860,861,862,863,864,812,865,1722,1723,1724,859]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),o=r(d[0])(r(d[2])),n=r(d[0])(r(d[3]));(e.default=(function(){return(0,n.default)(function t(){(0,o.default)(this,t)},null,[{key:"setItem",value:(function(){var o=(0,t.default)(function*(t,o,n){return r(d[4]).StorageUtils.setItem(t,o,n)});return function(t,n,s){return o.apply(this,arguments)}})()},{key:"getItem",value:(function(){var o=(0,t.default)(function*(t,o){return r(d[4]).StorageUtils.getItem(t,o)});return function(t,n){return o.apply(this,arguments)}})()}])})()).SP={keys:{app_mode_selection_page_enabled:"enableAppModeSelectionPage",app_mode_selection_page_url:"appModeSelectionPageUrl",app_mode_selection_page_version:"appModeSelectionPageVersion",base_rss_update_url:"baseRssUpdateUrl",change_user_agent_for_oauth:"changeUserAgentForOAuth",custom_string_to_append_to_user_agent_for_oauth:"customStringToAppendToUserAgentForOAuth",custom_user_agent_for_oauth:"customUserAgentForOAuth",adobe_analytics:{enabled:"enableAdobeAnalytics",props_list:"adobeAnalyticsPropsList",actions:{edition_load:"adobeAnalyticsEditionLoadActionName",double_tap_to_zoom:"adobeAnalyticsDoubleTapActionName",pinch_to_zoom:"adobeAnalyticsPinchOutActionName",tts:"adobeAnalyticsTextToSpeechActionName",skip_to_end:"adobeAnalyticsSkipToEndActionName",toggle_to_print:"adobeAnalyticsToggleToPrintActionName",toggle_to_digital:"adobeAnalyticsToggleToDigitalActionName",share:"adobeAnalyticsShareActionName",scroll_zoom:"adobeAnalyticsScrollZoomActionName",link_click:"adobeAnalyticsLinkClickActionName"},states:{scrolled:"adobeAnalyticsScrolledStateName",read:"adobeAnalyticsReadStateName",zoomed:"adobeAnalyticsZoomedStateName",index:"adobeAnalyticsIndexStateName",optionspage:"adobeAnalyticsOptionspageStateName"},send_only_edition_load:"adobeAnalyticsSendOnlyEditionLoad",user_types:{unknown:"adobeAnalyticsUserTypeUnknown",subscriber:"adobeAnalyticsUserTypeSubscriber"},media:{print:"adobeAnalyticsPrintMedium",digital:"adobeAnalyticsDigitalMedium",zoomed_suffix:"adobeAnalyticsZoomedMediumSuffix"},first_page_section_prefix:"adobeAnalyticsFirstPageSectionPrefix",content_types:{first_page:"adobeAnalyticsFirstPageContentType",page:"adobeAnalyticsPageContentType",index:"adobeAnalyticsIndexContentType",article:"adobeAnalyticsArticleContentType",optionspage:"adobeAnalyticsOptionspageContentType"},edition_type:"adobeAnalyticsEditionType",device_type:"adobeAnalyticsDeviceType"},blueconic:{enabled:"blueConicEnabled",user_profile_properties:"blueConicUserProfileProperties",view_profile_properties:"blueConicViewProfileProperties"},chartbeat:{account_id:"chartbeatAccountId",domain:"chartbeatDomain",rss_enabled:"chartbeatRssEnabled",epaper_enabled:"chartbeatEpaperEnabled",section_rss_properties:"chartbeatSectionRssProperties",section_epaper_properties:"chartbeatSectionEpaperProperties",author_rss_properties:"chartbeatAuthorRssProperties",author_epaper_properties:"chartbeatAuthorEpaperProperties",rss_title_keys:"chartbeatRssTitleKeys",epaper_title_keys:"chartbeatEpaperTitleKeys",rss_screen_key:"chartbeatRssScreenKey",epaper_screen_key:"chartbeatEpaperScreenKey",rss_custom_data:"chartbeatRssCustomData",epaper_custom_data:"chartbeatEpaperCustomData"},comscore:{app_name:"comScoreAppName",base_url:"comScoreBaseUrl",id:"comScoreID",publisher_secret:"comScorePublisherSecret"},copyright:"copyright",add_disclaimer:"addDisclaimer",copyright_url:"copyrighturl",custom_language_pack_file_time:"customLanguagePackFileTimestamp",custom_fonts:"customFonts",custom_fonts_file_time:"customFontsFileTimestamp",default_connectivity:"defaultConnectivity",default_connectivity_timestamp:"defaultConnectivityTimeStamp",default_max_issues:"DEFAULT_MAX_ISSUES",feedback:{active_days_to_show:"feedbackActiveDaysToShow",ask:"feedbackAskForFeedback",email:"feedbackEmailForFeedback",reset_timestamp:"feedbackResetTimestamp",enable:"feedbackEnable",lower_active_date_range:"feedbackLowerActiveDateRange",request_title:"feedbackRequestFeedbackTitle",request_review_title:"feedbackRequestReviewFeedbackTitle",show_dont_show_again:"feedbackShowDontShowAgain",total_days_to_show:"feedbackTotalDaysToShow",upper_active_date_range:"feedbackUpperActiveDateRange",cool_down_days:"feedbackCoolDownDays",cool_down_days_dont_show_again:"feedbackCoolDownDaysDontShowAgain"},file_time:"pSetupTime",disable_firebase_analytics:"disableFirebaseAnalytics",other_firebase_projects:"otherFirebaseProjects",disable_google_analytics_3:"disableGoogleAnalytics3",g_analytics_anonymize_ip:"googleAnalyticsAnonymizeIP",g_analytics:"googleAnalyticsAccount",g_analytics_feedback:"googleAnalyticsAccountFeedback",g_analytics_tecnavia:"googleAnalyticsAccountTecnavia",gallery_download_enabled:"galleryDownloadEnabled",gallery_thumbnail_disabled:"galleryThumbnailDisabled",open_http_link_on_external_browser:"openHttpLinkOnExternalBrowser",url_type:"urltype",showLinksHighlight:"useAutoGeneratedLinks",is_lite:"newsmemoryLite",language:"language",layout_style:"layoutStyle",layout_sub_style:"layoutSubStyle",mather_analytics:{enabled:"matherAnalyticsEnable",customer_id:"matherCustomerId",site_id:"matherSiteId",send_email:"matherSendEmail"},matomo:{enabled:"matomoEnable",site_id:"matomoSiteId",rss_site_id:"matomoRssSiteId",base_url:"matomoBaseURL",visit_custom_dimensions:"matomoVisitCustomDimensions",custom_dimensions:"matomoCustomDimensions",dispatch_interval:"matomoDispatchInterval"},matomo_tracker:{enabled:"matomoTrackerEnable",site_id:"matomoTrackerSiteId",rss_site_id:"matomoTrackerRssSiteId",base_url:"matomoTrackerBaseURL",action_base_url:"matomoTrackerActionBaseURL",edition_remapping:"matomoTrackerEditionRemapping",titles:{scrolled:"matomoTrackerScrolledTitle",read:"matomoTrackerReadTitle",rss_drawer:"matomoTrackerRssDrawerTitle",rss_read:"matomoTrackerRssReadTitle"},custom_urls:{scrolled:"matomoTrackerScrolledURL",read:"matomoTrackerReadURL",rss_drawer:"matomoTrackerRssDrawerURL",rss_read:"matomoTrackerRssReadURL"},custom_dimensions:{scrolled:"matomoTrackerScrolledCustomDimensions",read:"matomoTrackerReadCustomDimensions",rss_drawer:"matomoTrackerRssDrawerCustomDimensions",rss_read:"matomoTrackerRssReadCustomDimensions"}},mode_enabled:"rssIsEnable",option_page_coordinates:"optionpageCoordinates",option_page_modal:"loginInModalMode",option_page_mode:"optionPage",option_page_url:"optionPageUrl",options_page_tab_path:"optionsPageTabPath",load_editions_url:"loadEditionsUrl",paper_name:"paperName",powered_by:"poweredBy",powered_by_url:"poweredByurl",relabel_ebook_button:"ebook_button",relabel_feed_button:"feed_button",relabel_fit_page_button:"fitPageImg_button",relabel_gbook_button:"gbook_button",relabel_help_button:"help_button",relabel_offline_button:"OfflineActionLabel",relabel_option_button:"option_button",relabel_phodir_button:"phodir_button",relabel_search_button:"search_button",relabel_setting_button:"setting_button",relabel_special_sections_button:"specialSections_button",remp_account:"rempAccount",rss_index_file_time:"rssConfigFileTimestamp",site_domain:"siteDomain",special_before_index_tablet:"specialBeforeIndexTablet",special_before_index_phone:"specialBeforeIndexPhone",special_before_index:"specialBeforeIndex",startup_mode:"disableRssAtStartup",startup_mode_timestamp:"disableRssAtStartupTimestamp",udb:"udbDatabase",newsmemory_to_use:"newsmemoryToUse",newsmemory_to_use_timestamp:"newsmemoryToUseTimeStamp",paper:"paper",xpaper:"xpaper",date_format:"DATE_FORMAT",show_week:"SHOW_WEEK",init_x_paper_not_in_view:"initpageXpaperNotView",external_xpapers:"externalXPapers",download_multi_zips:"downloadMultiZips",translation_available:"translationAvailable",translation_server:"translationServer",use_native_accessibility:"useNativeAccessibility",use_car_mode:"useCarMode",show_native_options_page_fallback_url:"showNativeOptionsPageFallbackUrl",show_native_options_page:"showNativeOptionsPage",show_native_settings_screen:"showNativeSettingsScreen",enable_translation_customization:"enableTranslationCustomization",show_themes_customization:"showThemesCustomization",enable_zoom_level_customization:"enableZoomLevelCustomization",enable_article_types_customization:"enableArticleTypesCustomization",show_article_column_view_customization:"showArticleColumnViewCustomization",show_navigation_buttons_layout_customization:"showNavigationButtonsLayoutCustomization",show_xpaper_navigation_close_button:"showXPaperNavigationCloseButton",show_highlight_behavior_customization:"showHighlightBehaviorCustomization",show_open_article_extra_on_title_box:"showOpenArticleExtraOnTitleBox",show_tab_index_mode_customization:"showTabIndexModeCustomization",change_favorite_edition:"changeFavoriteEdition",favorite_edition:"favoriteEdition",enable_connectivity_options:"enableConnectivityOptions",enable_font_size_customization:"enableFontSizeCustomization",enable_graph_size_customization:"enableGraphSizeCustomization",show_types_article:"showTypesArticle",enable_article_extra:"enableArticleExtra",max_zips_to_download_per_request:"maxZipsToDownloadEachRequest",css_files_to_add:"cssFilesToAdd",email_content:"emailContent",email_subject:"emailSubject",facebook_enabled:"ipadFacebook",twitter_text:"twitterText",update_db_percentage:"updateDBPerc",enable_advanced_gestures_mode:"enableAdvancedGesturesMode",single_tap_to_zoom:"singleTapToZoom",two_fingers_tap_to_article:"twoFingersTapToArticle",lock_horizontal_pan_if_not_zoomed:"lockHorizontalPanIfNotZoomed",lock_pan_if_not_zoomed_by_degrees:"lockPanIfNotZoomedByDegrees",machine_for_hr:"machineForHR",fit_graphic_article:"fitGraphicArticle",machine:"machine",sub_path:"subPath",extra_link_color:"extraLinkColor",background_duration_article_selected:"backgroundDurationArticleSelected",background_timer_article_selected:"backgroundTimerArticleSelected",background_color_article:{selected:"backgroundColorArticleSelected",to_select:"backgroundColorArticleToSelect"},preview_highlight_enabled:"highlightClickableUrlEnabled",preview_highlight_duration_seconds:"showHighlightingBoxesForSeconds",zooming_factor:"zoomingFactor",max_zoom:"maxZoom",ta_google_analytics_event:"TAGoogleAnalyticsEvent",google_analytics_custom_dimensions:"googleAnalyticsCustomDimensions",firebase_analytics_custom_dimensions:"firebaseAnalyticsCustomDimensions",firebase_analytics_send_external_id:"firebaseAnalyticsSendExternalId",enable_article_text_selection:"enableArticleTextSelection",enable_article_byline_hrs:"enableArticleBylineHrs",on_login_error_go_to:"onLoginErrorGoTo",on_validation_error_go_to:"onValidationErrorGoTo",time_limit_check_edition:"timeLimitForRestart",time_limit_check_login:"timeLimitToCheckLoginOnRestart",time_limit_forget_login:"timeLimitNotRememberLoginOnRestart",last_pSetup:"lastPSetup",last_issue:"lastIssue",last_edition:"lastEdition",latest_edition_available_message_format:"latestEditionAvailableMessageFormat",demo_issue:"demoIssue",show_edition_thumbs:"showEditionThumbs",scroll_tiles_phone:"scrollTilesPhone",scroll_tiles:"scrollTiles",force_article_mode_fullscreen_portrait:"forceArticleModeFullscreenPortrait",force_article_mode_fullscreen_landscape:"forceArticleModeFullscreenLandscape",enable_text_to_speech:"enableTextToSpeech",enable_text_to_speech_player:"enableTextToSpeechPlayer",text_to_speech_rate:"textToSpeechRate",text_to_speech_chunk_length:"textToSpeechChunkLength",low_speed_limit:"lowSpeedLimit",disable_low_speed_limit:"disableLowSpeedLimit",base_iap_api_url:"baseInAppPurchaseAPIUrl",all_skus:"allSkus",is_nnb:"isNNB",enable_vmode_and_fit_orientation:"enableVmodeAndFitOrientation",fit_page_type:"xc_fitPage",start_in_index_mode:"startInIndexMode",epaper_start_mode:"epaperStartMode",disable_epaper_mode_selection_page:"disableEPaperModeSelectionPage",cdn_enabled:"cdnEnabled",cdn_server:"cdnServer",cdn_version:"cdnVersion",disable_rn_demo:"disableRnDemo",pdf_thumbnail_ratio:"pdfThumbnailRatio",eink_complete_hr_factor:"einkCompleteHrFactor",hr_factor:"hrFactor",pdf_factor:"pdfFactor",pdf_factor_landscape:"pdfFactorLandscape",force_pdf_in_roaming_mode:"forcePdfInRoamingMode",low_pages_to_render:"lowPagesToRender",mid_pages_to_render:"midPagesToRender",load_mid_res_on_scroll:"loadMidResOnScroll",show_landing_page_once:"showLandingPageOnce",landing_page_version:"landingPageVersion",landing_page_url:"landingPageURL",forced_shared_secret:"sharedSecret",use_ios_sandbox_receipt_validation:"useIOSSandboxReceiptValidation",use_cc:"useCC",migrate:"migrate",hybrid_version:"hybridVersion",append_first_pages:"appendFirstPages",png_quality_factor:"pngQualityFactor",generate_png_based_on_screen_dimensions:"generatePNGBasedOnScreenDimensions",consider_pixel_ratio_in_png_generation:"considerPixelRatioInPNGGeneration",png_width_limit:"pngWidthLimit",print_enabled:"ipadPrint",print_to_letter:"printToLetter",print_margin:"printMargin",generic_app_enabled:"storeIsEnable",store_url:"customStoreUrl",iap_active:"iapActive",payments:"payments",enable_multiple_subscriptions_alert:"enableMultipleSubscriptionsAlert",protect_site:"protectSite",validate_site:"validateSite",two_fingers_tap_hint_enabled:"twoFingersTapHintEnabled",two_fingers_tap_max_hints:"twoFingersTapMaxHints",download_single_pdf:"downloadSinglePdf",enable_share:"enableShare",max_shares:"maxShares",max_shares_check_type:"maxSharesCheckType",message_max_share:"messageMaxShare",merge_articles:"mergeArt",column_view:"columnView",show_art_complete:"showArtComplete",calculate_mid_ads:"calculateMidAds",pages_navigation_buttons_layout:"pagesNavigationButtonsLayout",animate_layout_footer:"animateLayoutFooter",fix_buttons_bar_to_bottom:"fixButtonsBarToBottom",dfp_reload_time:"dfpReloadTime",ads:"ads",enable_instory_ad_marker:"enableInStoryAdMarker",instory_ad_marker_text:"inStoryAdMarkerText",rn_styles:"rnStyles",disable_rn_styles:"disableRnStyles",rn_styles_file_time:"rnStylesFileTimestamp",ssl_certificate_file_time:"sslCertificateTimestamp",device_dpi:"deviceDpi",toc_style:"tocStyle",toc_style_preview:"tocStylePreview",enable_tab_index_mode:"enableTabIndexMode",bundle_update_available:"bundleUpdateAvailable",reset_app_bundle:"resetAppBundle",see_newspaper_preview:"seeNewspaperPreview",page_see_newspaper_preview:"pageSeeNewspaperPreview",hours_to_send_push_registration:"hoursToSendPushRegistration",preview_token:"previewToken",webview_allow_autoplay:"webviewAllowAutoplay",webview_android_allow_fullscreen:"webviewAndroidAllowFullscreen",webview_ios_native_player:"webviewIOSNativePlayer",webview_custom_http_headers:"webviewCustomHTTPHeaders",app_tracking_transparency:{force_message:"forceAppTrackingTransparencyMessage",disable_message:"disableAppTrackingTransparencyMessage",show_pre_message:"showPreAppTrackingTransparencyMessage",force_pre_message_on_app_update:"forcePreAppTrackingTransparencyMessageOnAppUpdate"},iubenda:{enabled:"iubendaEnabled",site_id:"iubendaSiteId",cookie_policy_id:"iubendaCookiePolicyId",lang:"iubendaLang",reset_consent_date:"iubendaResetConsentDate",force_consent_popup:"iubendaForceConsentPopup",ads_require_consent:"adsRequireConsent",google_ads_present:"googleAdsPresent",ref_privacy_laws:"referencePrivacyLaws"},osano:{enabled:"osanoEnabled",customer_id:"osanoCustomerId",config_id:"osanoConfigurationId",site_domain:"osanoSiteDomain",reset_consent_date:"osanoResetConsentDate"},show_extras_in_article_graphic_mode:"showExtrasInArticleGraphicMode",show_extras_to_logged_users_only:"showExtrasToLoggedUsersOnly",morse_tauid:"morseTAUID",add_watermark:"addWatermarkArticlePag",watermark_text:"watermarkText",disable_screen_idle_timer_delay:"disableScreenIdleTimerDelay",keep_article_position_on_rotation:"keepArticlePositionOnRotation",enable_article_image_reposition:"enableArticleImageReposition",refreshes_tauid:"refreshesTAUID",startup_params:"startupParams",enable_session_collection:"enableSessionCollection",enable_session_auto_upload:"enableSessionAutoUpload",session_upload_base_url:"sessionUploadBaseURL",checksum:"checksum",user_ip:"userIP",is_allowed_ip:"isAllowedIP",push_tags:"pushTags",disable_reader_app_modal:"disableReaderAppModal",reader_app_learn_more_link:"readerAppLearnMoreLink",use_asymmetric_card_list:"useAsymmetricCardList",prevent_screenshots:"preventScreenshots",enable_phone_article_layout_on_tablet_in_landscape:"enablePhoneArticleLayoutOnTabletInLandscape",enable_desktop_article_layout_on_ipad_pro_in_landscape:"enableDesktopArticleLayoutOnIPadProInLandscape"}}},852,[3,272,6,7,439]); +__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.WEBVIEW_BASE_URL=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),i=r(d[0])(r(d[3])),o=["load","start","ul"];e.WEBVIEW_BASE_URL="http://localhost/",e.default=(function(){function s(){(0,t.default)(this,s)}return(0,n.default)(s,null,[{key:"isExternalUrl",value:function(t){var n=r(d[4]).StringUtils.segmentUrl(t),i=n.protocol,o=n.getParams,s=n.anchorParams;return!(!i||!i.startsWith("xhttp"))||(!(!o||!r(d[4]).JSUtils.hasProperty(o,"xhttp")&&!r(d[4]).JSUtils.hasProperty(o,"xhttps"))||!(!s||!r(d[4]).JSUtils.hasProperty(s,"xhttp")&&!r(d[4]).JSUtils.hasProperty(s,"xhttps")))}},{key:"parseUniversalLink",value:function(t){if(t){if(-1===t.indexOf("?"))for(var n=0;n")?t.replace("",""+n):t.replace("",""+n+"")}},{key:"appendToHead",value:function(t,n){return-1!==t.indexOf("")?t.replace("",n+""):t.replace("",""+n+"")}},{key:"addViewportStyles",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=t;if(i){var o="\n ";n&&(o+="\n "),o+="\n ",i=s.appendToHead(t,o)}return i}},{key:"getZoom",value:function(t,n,i,o){var s=i/(t>0?t:1),l=o/(n>0?n:1),c=s>l?l:s;return Math.round(10*c)/10}},{key:"getJSToZoomContent",value:function(t,n,i){return"\n document.body.style.position = 'absolute';\n document.body.style.left = '"+t+"px';\n document.body.style.top = '"+n+"px';\n document.body.style.transform = 'scale("+i+")'"}},{key:"getJSToCenterContent",value:function(t){return"\n document.body.style.margin = 'auto';\n document.body.style.display = 'table';\n document.body.style.background = '"+t+"';"}},{key:"setupHtmlForWebView",value:function(t){var n=t;return n&&(n=this.addTags(n,"body"),n=this.addTags(n,"html")),n}},{key:"addTags",value:function(t,n){var i=t;return i.includes("<"+n)||(i="<"+n+">".concat(i)+" "),i.includes("")||(i=i.concat("")),i}},{key:"addViewport",value:function(){return"\n var meta = document.createElement('meta');\n meta.name = 'viewport';\n meta.content = 'width=device-width, initial-scale=1';\n document.getElementsByTagName('head')[0].appendChild(meta);"}},{key:"replaceHttpWithHttps",value:function(t){var n,i=/http:\/\/([a-zA-Z0-9\.]+)\.newsmemory\.com/;if(t)do{if(n=i.exec(t)){var o=n[0],s=n[1],l=s.replace(/\./g,"-"),c=o.replace("http","https").replace(s,l);t=t.replace(o,c)}}while(null!==n);return t}},{key:"getRonDinoViewPort",value:function(t){return"\n var myCustomViewport = 'width="+t+", initial-scale=1.0, maximum-scale=1.0, user-scalable=no';\n var viewportElement = document.querySelector('meta[name=viewport]');\n if (viewportElement) {\n viewportElement.content = myCustomViewport;\n } else {\n viewportElement = document.createElement('meta');\n viewportElement.name = 'viewport';\n viewportElement.content = myCustomViewport;\n document.getElementsByTagName('head')[0].appendChild(viewportElement);\n };"}},{key:"getImagesInsidePage",value:function(){return"\n (function getImagesInsidePage() {\n const images = document.getElementsByTagName('img');\n const sources = [];\n for(let i=0; i < images.length; i++){\n sources.push(images[i].src);\n }\n window.ReactNativeWebView.postMessage(JSON.stringify({ content: sources, type: 'GET_RESOURCES' }));\n })();"}},{key:"replaceResourcesInPage",value:function(t){return"\n (function getImagesInsidePage(newSources) {\n const parsed = JSON.parse(newSources);\n const images = document.getElementsByTagName('img');\n for(let i=0; i < images.length; i++){\n if(parsed[images[i].src]){\n images[i].src = parsed[images[i].src];\n }\n }\n })('"+JSON.stringify(t)+"')"}},{key:"addSafeAreaToWebView",value:function(){var t=i.default.getSafeAreaInsets();return"(function() { \n document.body.style.marginTop='"+t.top+"px'; \n document.body.style.marginBottom='"+t.bottom+"px'; \n })();"}},{key:"replaceUrlPlaceHolder",value:function(t){return t.includes("?")||(t+="?"),t.includes("##PAYWALL_SUBSCRIPTION_TYPE#")?t=t.replace("##PAYWALL_SUBSCRIPTION_TYPE#",""):t+="&subType=",(t=t.includes("##MACHINEID#")?t.replace("##MACHINEID#",g.machineId):t+"&MACHINEID="+g.machineId).includes("##WORDPRESS_TOKEN#")&&(t=t.replace("##WORDPRESS_TOKEN#",s.secretTokenForWordpress())),t}},{key:"secretTokenForWordpress",value:function(){var t=(new Date).getTime();return r(d[4]).StringUtils.getMd5(r(d[4]).StringUtils.getMd5("TecnaviaSecret")+g.machineId)+"_"+r(d[4]).StringUtils.getHexOfAsciiOfLong(t/1e3)}},{key:"getTargetBlankPatch",value:function(){return"\n Array.from(document.querySelectorAll('a[target=\"_blank\"]')).forEach(link => link.removeAttribute('target'));"}},{key:"getThemeClassesScript",value:function(){var t=r(d[5]).Css.getThemeClasses();return r(d[4]).JSUtils.isEmpty(t)?"":"document.body.classList.add("+t.reduce(function(t,n){return t?t+", '"+n+"'":"'"+n+"'"},"")+");"}},{key:"getThemeClassesAttribute",value:function(){var t=r(d[5]).Css.getThemeClasses();return r(d[4]).JSUtils.isEmpty(t)?"":" class='"+t.join(" ")+"'"}}])})()},853,[3,6,7,435,439,804]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2]));_e.default=(function(){return(0,t.default)(function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";(0,e.default)(this,t);var u=n.split(",");this.type=u[0],this.price=u[1],this.startDate=u[2],this.periodTime=u[3],this.periodValue=u[4],this.recurringPattern=u[5],this.description=u[6],this.productId=u[7]},[{key:"getType",value:function(){return this.type}},{key:"getPrice",value:function(){return this.price}},{key:"getPriceNumber",value:function(){return parseFloat(this.price)||-1}},{key:"getStartDate",value:function(){return this.startDate}},{key:"getPeriodTime",value:function(){return this.periodTime}},{key:"isWeekly",value:function(){return"W"===this.periodTime}},{key:"isMonthly",value:function(){return"M"===this.periodTime}},{key:"isYearly",value:function(){return"Y"===this.periodTime}},{key:"getPeriodValue",value:function(){try{return parseInt(this.periodValue,10)||-1}catch(e){return-1}}},{key:"getRecurringPattern",value:function(){return this.recurringPattern}},{key:"getDescription",value:function(){return this.description}},{key:"getProductId",value:function(){return this.productId}},{key:"isNotConsumable",value:function(){return"NC"===this.getType()}},{key:"isConsumable",value:function(){return"A"===this.getType()}},{key:"isNonRenewingSubscription",value:function(){return"P"===this.getType()}},{key:"isRecurringSubscription",value:function(){return"R"===this.getType()}},{key:"isSubscription",value:function(){return this.isNonRenewingSubscription()||this.isRecurringSubscription()}},{key:"checkProductId",value:function(e){return e===this.productId||!(!this.isNotConsumable()||!e.startsWith(this.productId))}}])})()},854,[3,6,7]); +__d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.LoginStatus=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),n=r(d[0])(r(d[4]));_e.LoginStatus=(function(){function i(){(0,t.default)(this,i)}return(0,u.default)(i,[{key:"init",value:(function(){var t=(0,e.default)(function*(e){this.udb=e;for(var t=Object.values(n.default.SP.keys),u=0;u-1}}])})()},855,[3,272,6,7,856,439]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3]));(e.default=(function(){function l(){(0,n.default)(this,l)}return(0,u.default)(l,null,[{key:"getItem",value:(function(){var n=(0,t.default)(function*(t){return r(d[4]).StorageUtils.getItem(l.SP.name,t)});return function(t){return n.apply(this,arguments)}})()},{key:"setItem",value:(function(){var n=(0,t.default)(function*(t,n){return r(d[4]).StorageUtils.setItem(l.SP.name,t,n)});return function(t,u){return n.apply(this,arguments)}})()},{key:"removeItem",value:(function(){var n=(0,t.default)(function*(t){return r(d[4]).StorageUtils.clear(l.SP.name,t)});return function(t){return n.apply(this,arguments)}})()},{key:"updateItem",value:(function(){var n=(0,t.default)(function*(t,n){return n?l.setItem(t,n):l.removeItem(t)});return function(t,u){return n.apply(this,arguments)}})()},{key:"clearAll",value:(function(){var n=(0,t.default)(function*(){return r(d[4]).StorageUtils.clearAll(l.SP.name)});return function(){return n.apply(this,arguments)}})()}])})()).SP={name:"login",keys:{TAUID:"TAUID",TOKEN:"TOKEN",universal_link_token:"universalLinkToken",one_time_token:"oneTimeToken",iap_secret:"iapSecret",has_access:"hasAccess",receipt:"receipt",receipt_date:"receipt_date",challenge:"challenge",username:"username",password:"password",extid:"extid",extra_user_info:"extraUserInfo",last_login_time:"last_login_time",ad_free:"adFree",allowed_ip_user:"allowedIPUser"}}},856,[3,272,6,7,439]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.OptionspageConfig=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),s=r(d[0])(r(d[3]));e.OptionspageConfig=(function(){return(0,n.default)(function n(s){var o=s.mode,u=s.baseURL,l=s.coordinatesString,h=s.modal;(0,t.default)(this,n),this.mode=o,this.baseURL=u,this.modal=r(d[4]).PlatformUtils.isTablet()&&h,this.coordinatesString=l},[{key:"isDisabled",value:function(){return 0===this.mode}},{key:"alwaysOpenAtStartup",value:function(){return 1===this.mode}},{key:"getBaseURL",value:function(){return this.baseURL}},{key:"computeCoordinates",value:function(){var t,n,o,u,l,h,f,p=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.default.currentOrientation,c=s.default.getSafeArea();if(c)l=c.width,h=c.height,f=s.default.isPortrait(s.default.currentOrientation);else{var b=s.default.getScreenDimensions(v);l=b.width,h=b.height,f=b.isPortrait}var S=l,y=h,O=s.default.isPortrait(v);O!==f&&(S=h,y=l),this.modal?(u=O?S:y,o=O?S:y,n=O?0:Math.abs(S-y)/2,t=O?Math.abs(S-y)/2:0):(u=y,o=S,n=0,t=0);var k=p.split("&");if(8===k.length){var x=k[0],M=k[1],z=k[2],C=k[3],P=k[4],U=k[5],X=k[6],Y=k[7];O?(u=this.parseSize(M,y),o=this.parseSize(C,S),t=this.parseXY(Y,u,y),n=this.parseXY(U,o,S)):(u=this.parseSize(x,y),o=this.parseSize(z,S),t=this.parseXY(X,u,y),n=this.parseXY(P,o,S))}return o>l?(n=0,o=l):n+o>l&&(n=Math.max(0,(l-o)/2)),u>h?(t=0,u=h):t+u>h&&(t=Math.max(0,(h-u)/2)),{left:n,top:t,width:o,height:u}}},{key:"parseSize",value:function(t,n){var s,o=t.indexOf("%");if(o>0)s=parseInt(t.substring(0,o),10)/100*n;else{var u=t.indexOf("px");u>0&&(t=t.substring(0,u)),s=parseInt(t,10)}return s}},{key:"parseXY",value:function(t,n,s){var o,u=t.indexOf("px");if(u>0)t=t.substring(0,u),o=parseInt(t,10);else{if("-1"===t)return s-n;if("0"===t)return(s-n)/2;if("1"===t)return 0;(o=parseInt(t,10))<0&&(o=s-n+o)}return o}},{key:"getCoordinates",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.default.currentOrientation;return this.computeCoordinates(this.coordinatesString,t)}},{key:"isModal",value:function(){return this.modal}}])})()},857,[3,6,7,435,439]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.FeedbackConfig=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),n=r(d[0])(r(d[6])),u=r(d[0])(r(d[7])),h=r(d[0])(r(d[8]));function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(c=function(){return!!e})()}_e.FeedbackConfig=(function(_){function y(){return(0,t.default)(this,y),e=this,s=y,o=arguments,s=(0,n.default)(s),(0,l.default)(e,c()?Reflect.construct(s,o||[],(0,n.default)(e).constructor):s.apply(e,o));var e,s,o}return(0,u.default)(y,_),(0,s.default)(y,[{key:"getStorageKeys",value:function(){return h.default.SP.keys.feedback}},{key:"init",value:(function(){var t=(0,e.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield(0,o.default)((0,n.default)(y.prototype),"init",this).call(this,e);var t=this.getStorageKeys(),s=t.show_dont_show_again,l=t.lower_active_date_range,u=t.upper_active_date_range,h=t.active_days_to_show,c=t.total_days_to_show,_=t.request_title,f=t.request_review_title,p=t.ask,v=t.email,w=t.reset_timestamp,D=t.cool_down_days,k=t.cool_down_days_dont_show_again;return this.showDontShowAgain="1"===(yield this.getValue(s)),this.lowerActiveDateRange=(parseInt(yield this.getValue(l),10)||"1")*r(d[9]).DateUtils.DAY_IN_MILLS,this.upperActiveDateRange=(parseInt(yield this.getValue(u),10)||"3")*r(d[9]).DateUtils.DAY_IN_MILLS,this.activeDaysToShow=parseInt((yield this.getValue(h))||"6",10),this.totalDaysToShow=parseInt((yield this.getValue(c))||"15",10),this.requestFeedbackTitle=yield this.getValue(_),this.requestReviewFeedbackTitle=yield this.getValue(f),this.askForFeedback=yield this.getValue(p),this.emailForFeedback=yield this.getValue(v),this.resetTimestamp=yield this.getValue(w),this.resetTimestamp&&this.resetTimestamp.length<14&&(this.resetTimestamp=this.resetTimestamp.padEnd(14,"0")),this.coolDownDays=parseInt((yield this.getValue(D))||"60",10),this.coolDownDaysDontShowAgain=parseInt((yield this.getValue(k))||"90",10),!0});return function(){return t.apply(this,arguments)}})()}])})(r(d[10]).PaperSetupBaseConfig)},858,[3,272,6,7,11,79,13,14,852,439,859]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PaperSetupBaseConfig=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),s=r(d[0])(r(d[4]));e.PaperSetupBaseConfig=(function(){return(0,u.default)(function t(u,s){(0,n.default)(this,t),this.pSetup=u,this.originalMachine=s,this.storageKey=u+"-"+s},[{key:"getStorageKeys",value:function(){return{}}},{key:"getJSONKeys",value:function(){var t=r(d[5]).JSUtils.flattenObject(this.getStorageKeys());return Object.values(t)}},{key:"filterJSON",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n&&n.length>0?Object.keys(t).reduce(function(u,s){return n.includes(s)&&(u[s]=t[s]),u},{}):t}},{key:"init",value:(function(){var n=(0,t.default)(function*(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.json=this.filterJSON(t,this.getJSONKeys()),!0});return function(){return n.apply(this,arguments)}})()},{key:"setValue",value:(function(){var n=(0,t.default)(function*(t,n){return this.json[t]=n,s.default.setItem(this.storageKey,t,n)});return function(t,u){return n.apply(this,arguments)}})()},{key:"getValue",value:(function(){var n=(0,t.default)(function*(t){if(r(d[5]).JSUtils.hasProperty(this.json,t)){var n=this.json[t];return null!==n&&void 0!==n||(n=yield s.default.getItem(this.storageKey,t)),n}return""});return function(t){return n.apply(this,arguments)}})()}])})()},859,[3,272,6,7,852,439]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.AdobeAnalyticsConfig=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),l=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),n=r(d[0])(r(d[6])),u=r(d[0])(r(d[7])),h=r(d[0])(r(d[8]));function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(y=function(){return!!e})()}_e.AdobeAnalyticsConfig=(function(c){function p(){return(0,t.default)(this,p),e=this,l=p,s=arguments,l=(0,n.default)(l),(0,o.default)(e,y()?Reflect.construct(l,s||[],(0,n.default)(e).constructor):l.apply(e,s));var e,l,s}return(0,u.default)(p,c),(0,l.default)(p,[{key:"getStorageKeys",value:function(){return h.default.SP.keys.adobe_analytics}},{key:"init",value:(function(){var t=(0,e.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield(0,s.default)((0,n.default)(p.prototype),"init",this).call(this,e);var t=this.getStorageKeys(),l=t.props_list,o=t.send_only_edition_load,u=t.first_page_section_prefix,h=t.edition_type,y=t.device_type,c=t.user_types,f=t.actions,_=t.states,V=t.media,T=t.content_types;return this.propsList=(yield this.getValue(l))||"",this.sendOnlyEditionLoad="1"===((yield this.getValue(o))||"0"),this.userTypeUnknown=(yield this.getValue(c.unknown))||"",this.userTypeSubscriber=(yield this.getValue(c.subscriber))||"",this.editionLoadActionName=(yield this.getValue(f.edition_load))||"",this.scrollZoomActionName=(yield this.getValue(f.scroll_zoom))||"",this.doubleTapActionName=(yield this.getValue(f.double_tap_to_zoom))||"",this.pinchOutActionName=(yield this.getValue(f.pinch_to_zoom))||"",this.textToSpeechActionName=(yield this.getValue(f.tts))||"",this.skipToEndActionName=(yield this.getValue(f.skip_to_end))||"",this.toggleToPrintActionName=(yield this.getValue(f.toggle_to_print))||"",this.toggleToDigitalActionName=(yield this.getValue(f.toggle_to_digital))||"",this.shareActionName=(yield this.getValue(f.share))||"",this.linkClickActionName=(yield this.getValue(f.link_click))||"",this.scrolledStateName=(yield this.getValue(_.scrolled))||"",this.readStateName=(yield this.getValue(_.read))||"",this.zoomedStateName=(yield this.getValue(_.zoomed))||"",this.indexStateName=(yield this.getValue(_.index))||"",this.optionspageStateName=(yield this.getValue(_.optionspage))||"",this.printMedium=(yield this.getValue(V.print))||"print",this.digitalMedium=(yield this.getValue(V.digital))||"digital",this.zoomedMediumSuffix=(yield this.getValue(V.zoomed_suffix))||" zoom",this.firstPageSectionPrefix=(yield this.getValue(u))||"",this.pageContentType=(yield this.getValue(T.page))||"",this.firstPageContentType=(yield this.getValue(T.first_page))||this.pageContentType,this.indexContentType=(yield this.getValue(T.index))||"",this.articleContentType=(yield this.getValue(T.article))||"",this.optionspageContentType=(yield this.getValue(T.optionspage))||"",this.editionType=(yield this.getValue(h))||"Newspaper",this.deviceType=(yield this.getValue(y))||(r(d[9]).PlatformUtils.isTablet()?"Tablet":"Mobile Phone"),!0});return function(){return t.apply(this,arguments)}})()}])})(r(d[10]).PaperSetupBaseConfig)},860,[3,272,6,7,11,79,13,14,852,439,859]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.MatomoConfig=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),u=r(d[0])(r(d[5])),o=r(d[0])(r(d[6])),l=r(d[0])(r(d[7])),c=r(d[0])(r(d[8]));function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f=function(){return!!t})()}_e.MatomoConfig=(function(h){function y(){return(0,e.default)(this,y),t=this,n=y,u=arguments,n=(0,o.default)(n),(0,s.default)(t,f()?Reflect.construct(n,u||[],(0,o.default)(t).constructor):n.apply(t,u));var t,n,u}return(0,l.default)(y,h),(0,n.default)(y,[{key:"getStorageKeys",value:function(){return c.default.SP.keys.matomo}},{key:"init",value:(function(){var e=(0,t.default)(function*(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";yield(0,u.default)((0,o.default)(y.prototype),"init",this).call(this,t);var n=this.getStorageKeys(),s=n.site_id,l=n.rss_site_id,c=n.base_url,f=n.visit_custom_dimensions,h=n.custom_dimensions,v=n.dispatch_interval;return this.ePaperSiteId=(yield this.getValue(s))||"",this.rssSiteId=(yield this.getValue(l))||"",this.baseURL=(yield this.getValue(c))||"",this.visitCustomDimensions=(yield this.getValue(f))||"",this.customDimensions=(yield this.getValue(h))||e,this.dispatchInterval=parseFloat((yield this.getValue(v))||"30.0"),!0});return function(){return e.apply(this,arguments)}})()}])})(r(d[9]).PaperSetupBaseConfig)},861,[3,272,6,7,11,79,13,14,852,859]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.MatomoTrackerConfig=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),u=r(d[0])(r(d[5])),n=r(d[0])(r(d[6])),o=r(d[0])(r(d[7])),c=r(d[0])(r(d[8]));function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}(0,n.default)(function e(){(0,o.default)(this,e)}),_e.MatomoTrackerConfig=(function(f){function y(){return(0,o.default)(this,y),e=this,s=y,u=arguments,s=(0,l.default)(s),(0,t.default)(e,h()?Reflect.construct(s,u||[],(0,l.default)(e).constructor):s.apply(e,u));var e,s,u}return(0,u.default)(y,f),(0,n.default)(y,[{key:"getStorageKeys",value:function(){return c.default.SP.keys.matomo_tracker}},{key:"init",value:(function(){var t=(0,e.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield(0,s.default)((0,l.default)(y.prototype),"init",this).call(this,e);var t=this.getStorageKeys(),u=t.site_id,n=t.rss_site_id,o=t.base_url,c=t.action_base_url,h=t.edition_remapping,f=t.titles,_=t.custom_urls,p=t.custom_dimensions;return this.ePaperSiteId=(yield this.getValue(u))||"",this.rssSiteId=(yield this.getValue(n))||"",this.baseURL=(yield this.getValue(o))||"",this.actionBaseURL=(yield this.getValue(c))||"",this.editionRemapping=r(d[9]).StringUtils.parseQuerystring((yield this.getValue(h))||""),this.titles={scrolled:(yield this.getValue(f.scrolled))||"",read:(yield this.getValue(f.read))||"",rss_drawer:(yield this.getValue(f.rss_drawer))||"",rss_read:(yield this.getValue(f.rss_read))||""},this.customURLs={scrolled:(yield this.getValue(_.scrolled))||"",read:(yield this.getValue(_.read))||"",rss_drawer:(yield this.getValue(_.rss_drawer))||"",rss_read:(yield this.getValue(_.rss_read))||""},this.customDimensions={scrolled:(yield this.getValue(p.scrolled))||"",read:(yield this.getValue(p.read))||"",rss_drawer:(yield this.getValue(p.rss_drawer))||"",rss_read:(yield this.getValue(p.rss_read))||""},!0});return function(){return t.apply(this,arguments)}})()}])})(r(d[10]).PaperSetupBaseConfig)},862,[3,272,11,79,13,14,7,6,852,439,859]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.BlueConicConfig=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),n=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),l=r(d[0])(r(d[6])),f=r(d[0])(r(d[7])),c=r(d[0])(r(d[8]));function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(s=function(){return!!e})()}_e.BlueConicConfig=(function(p){function v(){return(0,t.default)(this,v),e=this,u=v,o=arguments,u=(0,l.default)(u),(0,n.default)(e,s()?Reflect.construct(u,o||[],(0,l.default)(e).constructor):u.apply(e,o));var e,u,o}return(0,f.default)(v,p),(0,u.default)(v,[{key:"getStorageKeys",value:function(){return c.default.SP.keys.blueconic}},{key:"init",value:(function(){var t=(0,e.default)(function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};yield(0,o.default)((0,l.default)(v.prototype),"init",this).call(this,e);var t=this.getStorageKeys(),u=t.user_profile_properties,n=t.view_profile_properties;return this.userProfileProperties=(yield this.getValue(u))||"",this.viewProfileProperties=(yield this.getValue(n))||"",!0});return function(){return t.apply(this,arguments)}})()}])})(r(d[9]).PaperSetupBaseConfig)},863,[3,272,6,7,11,79,13,14,852,859]); +__d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.ChartbeatConfig=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),i=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),n=r(d[0])(r(d[6])),u=r(d[0])(r(d[7])),o=r(d[0])(r(d[8]));function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}_e.ChartbeatConfig=(function(h){function c(){var i,l,u,o,h;(0,t.default)(this,c);for(var y=arguments.length,_=new Array(y),f=0;f0&&void 0!==arguments[0]?arguments[0]:{};yield(0,l.default)((0,n.default)(c.prototype),"init",this).call(this,e);var t=this.getStorageKeys(),i=t.account_id,s=t.domain,u=t.rss_enabled,o=t.epaper_enabled,p=t.author_rss_properties,h=t.author_epaper_properties,y=t.section_rss_properties,_=t.section_epaper_properties,f=t.rss_title_keys,v=t.epaper_title_keys,V=t.rss_screen_key,b=t.epaper_screen_key,k=t.rss_custom_data,C=t.epaper_custom_data;return this.accountId=(yield this.getValue(i))||"",this.domain=(yield this.getValue(s))||"",this.rssEnabled="1"===(yield this.getValue(u))||!1,this.epaperEnabled="1"===(yield this.getValue(o))||!1,this.sectionRssProperties=yield this._split(y),this.sectionEpaperProperties=yield this._split(_),this.authorRssProperties=yield this._split(p),this.authorEpaperProperties=yield this._split(h),this.rssTitleKeys=yield this._split(f),this.epaperTitleKeys=yield this._split(v),this.rssScreenKey=yield this.getValue(V),this.epaperScreenKey=yield this.getValue(b),this.rssCustomData=yield this.getValue(k),this.epaperCustomData=yield this.getValue(C),!0});return function(){return t.apply(this,arguments)}})()}])})(r(d[9]).PaperSetupBaseConfig)},864,[3,272,6,7,11,79,13,14,852,859]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.tabs=_e.locals=_e.default=_e.closeTypes=_e.IAPErrorMessages=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),n=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),c=["extraParams","edition"],_=_e.tabs={access:"access",accessibility:"accessibility",account:"account",archive:"archive",carousel:"carousel",contact:"contact",eenotify:"eenotify",help:"help",home:"home",impressum:"impressum",login:"login",market:"market",purchases:"purchases",puzzle:"puzzle",registration:"registration",rss:"rss",settings:"connection",specialsections:"specialsection",subscribe:"subscribe",uberabos:"uberabos",updates:"updates",validation:"validation",version:"version",generic:"generic"},l=(_e.locals={INITPAGE_SET_NEWSPAPER_AND_READ:"xc_initPage_setNewspaperAndRead",INITPAGE_SET_EXTERNAL_NEWSPAPER:"xc_initPage_setExternalNewspaper",LOAD_LATEST_PUBLICATION:"xc_loadLatestPublication",GET_SAVED_ISSUES:"getSavedIssues",DELETE_ISSUE:"deleteIssue",RETURN_FROM_LOGIN:"returnFromLogin",LOGOUT:"xc_initPage_logout",STORE_USER_INFO:"storeUserInfo",GET_USER_INFO:"getUserInfo",BUY:"xc_buy",RESUME_TRANSACTIONS:"resumeTransactions",FINISH_TRANSACTION:"finishTransaction",REQUEST_PRICE_BY_ID:"xc_requestPriceByID",RESTORE_COMPLETED_TRANSACTIONS:"restoreCompletedTransactions",SAVE_RECEIPT:"saveReceiptForRecurringPayment",GET_KEY:"getFromKey",SET_KEY:"setFromKey",REMOVE_KEY:"removeKey",SET_PREF_EDI:"setPrefEdi",CLEAR_STORAGE:"clearStorage",GET_CONFIG_DUMP:"getConfigDump",OPEN_BROWSER:"xc_openBrowser",OPEN_BROWSER_ALT:"openInAppBrowser",CLOSE:"closeOptionPage",GO_BACK:"backButtonClicked",ALERT:"alert",CONFIRM:"confirm",SET_RN_DEMO:"setRnDemo",OPEN_RSS:"xc_openRSSReader",GET_USED_SPACE:"getIssuesUsedSpace",CLOSE_WINDOW:"closeWindow",GET_PUBLICATIONS_STORED:"getPublicationStored",SET_PUBLICATION:"setPublication",DELETE_PUBLICATION:"deletePublication",OPEN_TAB_HOME:"openTabHome",OPEN_TAB_LOGIN:"openTabLogin",EXEC_JS:"xc_execJavascriptInMainApplication",SHOW_DEBUG_INFO:"showDebugInfo",OPEN_ACCESSIBILITY_MODE:"xc_openAccessibilityMode",OPEN_ARCHIVE:"xc_openArchive",RESTORE_DEFAULT_SETTINGS:"restoreDefaults",CLOSE_ARTICLE:"art_closeTextArticle",OPEN_OPTIONSPAGE:"openOptionPage",SCROLL_TO_PAGE:"xc_scrollToPage",DISPLAY_LOADER:"displayLoader",OPEN_NATIVE_SETTINGS_SCREEN:"openNativeSettingsScreen",FACEBOOK_LOGIN:"facebookLogin"},_e.IAPErrorMessages={iap_not_available:"IAP Not Available",unknown:"Unknown Error",cancelled:"Payment Cancelled",user_error:"User Error",item_unavailable:"Item Unavailable",remote_error:"Remote Error",network_error:"Network Error",service_error:"Service Error",receipt_failed:"Receipt Failed",receipt_finished_failed:"Receipt Finished Failed",not_prepared:"Not Prepared",not_ended:"Not Ended",already_owned:"Already Owned",developer_error:"Developer Error",billing_response_json_parse_error:"Error Parsing Billing Response JSON",already_active_subscription:"Already have an active subscription"});_e.closeTypes={close:"close",back:"back",none:"none"},_e.default=(function(){return(0,s.default)(function e(){(0,t.default)(this,e)},null,[{key:"getBaseURL",value:function(){var e=g.getActivePSetup().optionspageConfig;return r(d[6]).NetworkUtils.addDefaultProtocol(e.baseURL)}},{key:"getTabUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=this.getBaseURL(),n=r(d[6]).StringUtils.segmentUrl(s),o=n.protocol,c=n.domain,_=n.path,l=n.getParams,E=Object.assign({tab:e},this.getDefaultParams(),l,t);return o+"://"+c+"/"+_+"?"+r(d[6]).StringUtils.getQuerystring(E)}},{key:"getCustomUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=r(d[6]).StringUtils.segmentUrl(e),n=s.protocol,o=s.domain,c=s.path,_=s.getParams,l=Object.assign(this.getDefaultParams(),_,t);return n+"://"+o+"/"+c+"?"+r(d[6]).StringUtils.getQuerystring(l)}},{key:"getDefaultParams",value:function(){var e=g.getNewsmemoryConfig(),t=e.network,s=e.limit,o=e.connectivity,c=g.getActivePSetup(),_=c.pSetup,l=c.loginStatus.TAUID,E={pSetup:_,MACHINEID:g.machineId,useDB:1,ver:n.default.getAppVersion(),isDebug:g.isDebug,network:t,isPhone:r(d[6]).PlatformUtils.isTablet()?0:1,isKindle:n.default.isKindle()?1:void 0,limit:s,connectivity:o,accessibilityMode:r(d[6]).PlatformUtils.isSystemAccessibilityEnabled()?"1":"0"};return E[r(d[6]).PlatformUtils.isAndroid()?"isAndroid":"isXcode"]=1,l&&(E.TAUID=l),E}},{key:"getHomeTabUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.getTabUrl(_.home,e)}},{key:"getLoginTabUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.getTabUrl(_.account,e)}},{key:"getHelpTabUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.getTabUrl(_.help,e)}},{key:"getSettingsTabUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.getTabUrl(_.settings,e)}},{key:"isSamePage",value:function(e,t){var s=["r","edition"];return r(d[6]).StringUtils.removeParams(e,s)===r(d[6]).StringUtils.removeParams(t,s)}},{key:"optionPageVersion",value:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.getMainPSetup()).optionspageConfig;if(e&&e.baseURL){var t=/(?:opt|optionspage)\.[a-zA-Z0-9]+\.[a-zA-Z0-9.]+/.exec(e.baseURL);if(t)return t[0]}return"n/a"}},{key:"getIAPErrorMessage",value:function(e){var t=o.default.getIapModule().IAPErrorCode,s=l.unknown;if(e&&t){switch(e.code){case t.E_IAP_NOT_AVAILABLE:s=l.iap_not_available;break;case t.E_USER_CANCELLED:s=l.cancelled;break;case t.E_USER_ERROR:s=l.user_error;break;case t.E_ITEM_UNAVAILABLE:s=l.item_unavailable;break;case t.E_REMOTE_ERROR:s=l.remote_error;break;case t.E_NETWORK_ERROR:s=l.network_error;break;case t.E_SERVICE_ERROR:s=l.service_error;break;case t.E_RECEIPT_FAILED:s=l.receipt_failed;break;case t.E_RECEIPT_FINISHED_FAILED:s=l.receipt_finished_failed;break;case t.E_NOT_PREPARED:s=l.not_prepared;break;case t.E_NOT_ENDED:s=l.not_ended;break;case t.E_ALREADY_OWNED:s=l.already_owned;break;case t.E_DEVELOPER_ERROR:s=l.developer_error;break;case t.E_BILLING_RESPONSE_JSON_PARSE_ERROR:s=l.billing_response_json_parse_error;break;case t.E_ACTIVE_SUBSCRIPTION:s=l.already_active_subscription}e.message&&e.code!==t.E_USER_CANCELLED&&(s=e.message)}return s}},{key:"getTabByURL",value:function(e){var t=r(d[6]).StringUtils.segmentUrl(e),s=t.path,n=t.getParams,o=r(d[6]).StringUtils.fileNameFromPath(s),c=n.tab;switch(o){case"initpage.php":c=_.home;break;case"ipad_login.php":c=_.login;break;case"ipad_access.php":c=_.access;break;case"ipad_subscribe.php":c=_.subscribe;break;case"ipad_registration.php":c=_.registration;break;case"ipad_help.php":c=_.help;break;case"ipad_uberabos.php":c=_.uberabos;break;case"ipad_contact.php":c=_.contact;break;case"ipad_impressum.php":c=_.impressum;break;case"ipad_notify.php":c=_.eenotify;break;case"ipad_archive.php":c=_.archive;break;case"ipad_ss.php":c=_.specialsections;break;case"ipad_puzzle.php":c=_.puzzle;break;case"ipad_purchases.php":c=_.purchases;break;case"ipad_updates.php":c=_.updates;break;case"ipad_market.php":c=_.market;break;case"ipad_version.php":c=_.version;break;case"ipad_connection.php":c=_.settings}return c}},{key:"getOptionspageGetParams",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s={};try{var n=t.extraParams,o=t.edition,_=(0,e.default)(t,c);s=Object.assign({},_,r(d[6]).StringUtils.parseQuerystring(n)),o&&(s.edition=r(d[6]).StringUtils.decodeURIComponent(o))}catch(e){}return s}}])})()},865,[3,4,6,7,435,866,439]); -__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e,a=_r(d[0])(_r(d[1])),i=_r(d[0])(_r(d[2])),t=s(_r(d[3])),n=s(_r(d[4])),l=s(_r(d[5])),r=s(_r(d[6])),o=s(_r(d[7])),u=s(_r(d[8]));function v(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(v=function(e){return e?i:a})(e)}function s(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=v(a);if(i&&i.has(e))return i.get(e);var t={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var r=n?Object.getOwnPropertyDescriptor(e,l):null;r&&(r.get||r.set)?Object.defineProperty(t,l,r):t[l]=e[l]}return t.default=e,i&&i.set(e,t),t}_e.default=(function(){function v(){(0,a.default)(this,v)}return(0,i.default)(v,null,[{key:"getTrackingTransparency",value:function(){return v.isTrackingTransparencyAvailable()?{getTrackingStatus:(void 0).getTrackingStatus,requestTrackingPermission:(void 0).requestTrackingPermission}:{}}},{key:"getAdMob",value:function(){return v.isAdMobAvailable()?{BannerAd:(void 0).BannerAd,BannerAdSize:(void 0).BannerAdSize,InterstitialAd:(void 0).InterstitialAd,AdEventType:(void 0).AdEventType,TestIds:(void 0).TestIds,RewardedAd:(void 0).RewardedAd,RewardedAdEventType:(void 0).RewardedAdEventType}:{}}},{key:"getDFP",value:function(){return v.isDFPAvailable()?{DFPBanner:t.Banner,Interstitial:t.Interstitial}:{}}},{key:"getBaronWeather",value:function(){return v.isBaronAvailable()?(void 0).default:null}},{key:"getNativoAds",value:function(){return v.isNativoSDKAvailable()?{NativoSDK:(void 0).NativoSDK,NativoWebContent:(void 0).NativoWebContent,NativoAd:(void 0).NativoAd,NativoVideo:(void 0).NativoVideo}:{}}},{key:"getPrebid",value:function(){return v.isPrebidAvailable()?{PrebidBanner:(void 0).PrebidBanner,PrebidInterstitial:(void 0).PrebidInterstitial}:{}}},{key:"getOneSignal",value:function(){return v.isOneSignalAvailable()?(void 0).default:null}},{key:"getRNHtmlToPdf",value:function(){return v.isRNHtmlToPdfAvailable()?o.default:null}},{key:"getMatherAnalytics",value:function(){return v.isMatherAnalyticsAvailable()?{MatherAnalytics:(void 0).MatherAnalytics}:{}}},{key:"getComscore",value:function(){return v.isComScoreAvailable()?(void 0).default:null}},{key:"getAdobeAnalytics",value:function(){return v.isAdobeAnalyticsAvailable()?{Analytics:(void 0).Analytics,ADBMobileConfig:(void 0).Config}:{}}},{key:"getFacebookSDK",value:function(){return v.isFacebookSDKAvailable()?{Settings:(void 0).Settings,AppEventsLogger:(void 0).AppEventsLogger,LoginManager:(void 0).LoginManager,Profile:(void 0).Profile,AccessToken:(void 0).AccessToken,GraphRequest:(void 0).GraphRequest,GraphRequestManager:(void 0).GraphRequestManager}:{}}},{key:"getVoice",value:function(){return v.isVoiceAvailable()?{Voice:(void 0).default}:{}}},{key:"getPushLibraries",value:function(){return v.isPushAvailable()?{CloudMessaging:(void 0).FirebaseCloudMessaging,AmazonDeviceMessaging:(void 0).AmazonDeviceMessaging,HcmDeviceMessaging:(void 0).HcmDeviceMessaging,PushNotification:(void 0).default,PushNotificationIOS:(void 0).default}:{}}},{key:"getMatomo",value:function(){return v.isMatomoAvailable()?void 0:{}}},{key:"getMatomoTracker",value:function(){return v.isMatomoTrackerAvailable()?(void 0).default:{}}},{key:"getGoogleAnalytics3Tracker",value:function(){return v.isGoogleAnalytics3Available()?(void 0).GoogleAnalyticsTracker:{}}},{key:"getIapModule",value:function(){return v.isIapModuleAvailable()?{initConnection:e.initConnection,endConnection:e.endConnection,PurchaseError:e.PurchaseError,ProductPurchase:e.ProductPurchase,IAPErrorCode:e.ErrorCode,Product:e.Product,Subscription:e.Subscription,getProducts:e.getProducts,getSubscriptions:e.getSubscriptions,getPurchaseHistory:e.getPurchaseHistory,flushFailedPurchasesCachedAsPendingAndroid:e.flushFailedPurchasesCachedAsPendingAndroid,purchaseErrorListener:e.purchaseErrorListener,purchaseUpdatedListener:e.purchaseUpdatedListener,finishTransaction:e.finishTransaction,requestPurchase:e.requestPurchase,requestSubscription:e.requestSubscription,getAvailablePurchases:e.getAvailablePurchases,validateReceiptIos:e.validateReceiptIos,validateReceiptAmazon:e.validateReceiptAmazon}:{}}},{key:"getNativeOptionsPage",value:function(){return v.isNativeOptionsPageAvailable()?{OptionsPage:u.default,Methods:u.Methods,Models:u.Models}:{}}},{key:"getCrashlytics",value:function(){return v.isCrashlyticsAvailable()?(void 0).default:void 0}},{key:"getMaps",value:function(){return v.isMapsAvailable()?{Callout:(void 0).Callout,Marker:(void 0).Marker,MapView:(void 0).default}:void 0}},{key:"getIOSClassicEPaper",value:function(){return v.isIOSClassicEPaperAvailable()?(void 0).default:null}},{key:"getIOSExternalLinkAccountAPI",value:function(){return v.isIOSExternalLinkAccountAPIAvailable()?(void 0).default:null}},{key:"getIOSNewsmemorySDK",value:function(){return v.isIOSNewsmemorySDKAvailable()?l.default:null}},{key:"getViafouraWebView",value:function(){return v.isViafouraAvailable()?(void 0).default:null}},{key:"getDailymotionVideoPlayer",value:function(){return v.isDailymotionVideoPlayerAvailable()?{Player:(void 0).default,setConsentString:(void 0).setConsentString}:{}}},{key:"getIubenda",value:function(){return v.isIubendaCMPAvailable()?{Iubenda:n.default,Container:n.Container}:{}}},{key:"getOsano",value:function(){return v.isOsanoAvailable()?{Osano:(void 0).Osano,Container:(void 0).default}:{}}},{key:"getScreenshotPrevent",value:function(){return v.isScreenshotPreventAvailable()?{RNScreenshotPrevent:(void 0).default,addListener:(void 0).addListener}:{}}},{key:"getChartBeat",value:function(){return v.isChartBeatAvailable()?(void 0).default:void 0}},{key:"getFirebaseAnalytics",value:function(){return v.isFirebaseAnalyticsAvailable()?(void 0).default:void 0}},{key:"getWebAnalytics",value:function(){return v.isWebAnalyticsAvailable()?r.default:void 0}},{key:"getBlueConic",value:function(){return v.isBlueConicAvailable()?(void 0).default:void 0}},{key:"isCrashlyticsAvailable",value:function(){return v.isModuleAvailable(void 0,"@react-native-firebase/crashlytics")}},{key:"isFirebaseAnalyticsAvailable",value:function(){return v.isModuleAvailable(void 0,"@tecnavia/react-native-firebase-analytics")}},{key:"isWebAnalyticsAvailable",value:function(){return v.isModuleAvailable(r,"@tecnavia/react-native-web-analytics")}},{key:"isTrackingTransparencyAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-tracking-transparency")}},{key:"isAdMobAvailable",value:function(){return v.isModuleAvailable(void 0,"@tecnavia/react-native-admob")}},{key:"isDFPAvailable",value:function(){return v.isModuleAvailable(t,"@tecnavia/react-native-dfp")}},{key:"isBaronAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-baronweather")}},{key:"isPrebidAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-prebid")}},{key:"isNativoSDKAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-nativo-ads")}},{key:"isOneSignalAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-onesignal")}},{key:"isRNHtmlToPdfAvailable",value:function(){return v.isModuleAvailable(o,"react-native-html-to-pdf")}},{key:"isComScoreAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-comscore")}},{key:"isAdobeAnalyticsAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-adbmobile")}},{key:"isMatherAnalyticsAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-mather-analytics")}},{key:"isFacebookSDKAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-fbsdk-next")}},{key:"isVoiceAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-voice")}},{key:"isPushAvailable",value:function(){return v.isModuleAvailable(void 0,"@tecnavia/react-native-cloud-messaging")}},{key:"isMatomoAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-matomo")}},{key:"isMatomoTrackerAvailable",value:function(){return v.isModuleAvailable(void 0,"matomo-tracker-react-native")}},{key:"isGoogleAnalytics3Available",value:function(){return v.isModuleAvailable(void 0,"react-native-google-analytics-bridge")}},{key:"isIapModuleAvailable",value:function(){return v.isModuleAvailable(e,"react-native-iap")}},{key:"isMapsAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-maps")}},{key:"isNativeOptionsPageAvailable",value:function(){return v.isModuleAvailable(u,"rn-options-page")}},{key:"isIOSClassicEPaperAvailable",value:function(){return _r(d[9]).PlatformUtils.isIOS()&&v.isModuleAvailable(void 0,"@tecnavia/react-native-ios-classic-epaper")}},{key:"isIOSExternalLinkAccountAPIAvailable",value:function(){return _r(d[9]).PlatformUtils.isIOS()&&v.isModuleAvailable(void 0,"@tecnavia/react-native-external-link-account")}},{key:"isIOSNewsmemorySDKAvailable",value:function(){return _r(d[9]).PlatformUtils.isIOS()&&v.isModuleAvailable(l,"@tecnavia/react-native-newsmemory-pod")}},{key:"isViafouraAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-viafoura")}},{key:"isDailymotionVideoPlayerAvailable",value:function(){return v.isModuleAvailable(void 0,"@tecnavia/react-native-dailymotion-sdk")}},{key:"isIubendaCMPAvailable",value:function(){return v.isModuleAvailable(n,"@tecnavia/react-native-iubenda-web")}},{key:"isOsanoAvailable",value:function(){return v.isModuleAvailable(void 0,"@tecnavia/react-native-osano-web")}},{key:"isScreenshotPreventAvailable",value:function(){return v.isModuleAvailable(void 0,"@tecnavia/react-native-screenshot-prevent")}},{key:"isChartBeatAvailable",value:function(){return v.isModuleAvailable(void 0,"@tecnavia/react-native-chartbeat")}},{key:"isBlueConicAvailable",value:function(){return v.isModuleAvailable(void 0,"@blueconic/blueconic-react-native")}},{key:"isModuleAvailable",value:function(e,a){try{if(e)return!0}catch(e){}return!1}}])})()},866,[3,6,7,867,870,888,889,895,896,439]); +__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e,a=_r(d[0])(_r(d[1])),i=_r(d[0])(_r(d[2])),t=s(_r(d[3])),n=s(_r(d[4])),l=s(_r(d[5])),r=s(_r(d[6])),o=s(_r(d[7])),u=s(_r(d[8]));function v(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(v=function(e){return e?i:a})(e)}function s(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=v(a);if(i&&i.has(e))return i.get(e);var t={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var r=n?Object.getOwnPropertyDescriptor(e,l):null;r&&(r.get||r.set)?Object.defineProperty(t,l,r):t[l]=e[l]}return t.default=e,i&&i.set(e,t),t}_e.default=(function(){function v(){(0,a.default)(this,v)}return(0,i.default)(v,null,[{key:"getTrackingTransparency",value:function(){return v.isTrackingTransparencyAvailable()?{getTrackingStatus:(void 0).getTrackingStatus,requestTrackingPermission:(void 0).requestTrackingPermission}:{}}},{key:"getAdMob",value:function(){return v.isAdMobAvailable()?{BannerAd:(void 0).BannerAd,BannerAdSize:(void 0).BannerAdSize,InterstitialAd:(void 0).InterstitialAd,AdEventType:(void 0).AdEventType,TestIds:(void 0).TestIds,RewardedAd:(void 0).RewardedAd,RewardedAdEventType:(void 0).RewardedAdEventType}:{}}},{key:"getDFP",value:function(){return v.isDFPAvailable()?{DFPBanner:t.Banner,Interstitial:t.Interstitial}:{}}},{key:"getBaronWeather",value:function(){return v.isBaronAvailable()?(void 0).default:null}},{key:"getNativoAds",value:function(){return v.isNativoSDKAvailable()?{NativoSDK:(void 0).NativoSDK,NativoWebContent:(void 0).NativoWebContent,NativoAd:(void 0).NativoAd,NativoVideo:(void 0).NativoVideo}:{}}},{key:"getPrebid",value:function(){return v.isPrebidAvailable()?{PrebidBanner:(void 0).PrebidBanner,PrebidInterstitial:(void 0).PrebidInterstitial}:{}}},{key:"getOneSignal",value:function(){return v.isOneSignalAvailable()?(void 0).default:null}},{key:"getRNHtmlToPdf",value:function(){return v.isRNHtmlToPdfAvailable()?o.default:null}},{key:"getMatherAnalytics",value:function(){return v.isMatherAnalyticsAvailable()?{MatherAnalytics:(void 0).MatherAnalytics}:{}}},{key:"getComscore",value:function(){return v.isComScoreAvailable()?(void 0).default:null}},{key:"getAdobeAnalytics",value:function(){return v.isAdobeAnalyticsAvailable()?{Analytics:(void 0).Analytics,ADBMobileConfig:(void 0).Config}:{}}},{key:"getFacebookSDK",value:function(){return v.isFacebookSDKAvailable()?{Settings:(void 0).Settings,AppEventsLogger:(void 0).AppEventsLogger,LoginManager:(void 0).LoginManager,Profile:(void 0).Profile,AccessToken:(void 0).AccessToken,GraphRequest:(void 0).GraphRequest,GraphRequestManager:(void 0).GraphRequestManager}:{}}},{key:"getVoice",value:function(){return v.isVoiceAvailable()?{Voice:(void 0).default}:{}}},{key:"getPushLibraries",value:function(){return v.isPushAvailable()?{CloudMessaging:(void 0).FirebaseCloudMessaging,AmazonDeviceMessaging:(void 0).AmazonDeviceMessaging,HcmDeviceMessaging:(void 0).HcmDeviceMessaging,PushNotification:void 0,PushNotificationIOS:(void 0).default}:{}}},{key:"getMatomo",value:function(){return v.isMatomoAvailable()?void 0:{}}},{key:"getMatomoTracker",value:function(){return v.isMatomoTrackerAvailable()?(void 0).default:{}}},{key:"getGoogleAnalytics3Tracker",value:function(){return v.isGoogleAnalytics3Available()?(void 0).GoogleAnalyticsTracker:{}}},{key:"getIapModule",value:function(){return v.isIapModuleAvailable()?{initConnection:e.initConnection,endConnection:e.endConnection,PurchaseError:e.PurchaseError,ProductPurchase:e.ProductPurchase,IAPErrorCode:e.ErrorCode,Product:e.Product,Subscription:e.Subscription,getProducts:e.getProducts,getSubscriptions:e.getSubscriptions,getPurchaseHistory:e.getPurchaseHistory,flushFailedPurchasesCachedAsPendingAndroid:e.flushFailedPurchasesCachedAsPendingAndroid,purchaseErrorListener:e.purchaseErrorListener,purchaseUpdatedListener:e.purchaseUpdatedListener,finishTransaction:e.finishTransaction,requestPurchase:e.requestPurchase,requestSubscription:e.requestSubscription,getAvailablePurchases:e.getAvailablePurchases,validateReceiptIos:e.validateReceiptIos,validateReceiptAmazon:e.validateReceiptAmazon}:{}}},{key:"getNativeOptionsPage",value:function(){return v.isNativeOptionsPageAvailable()?{OptionsPage:u.default,Methods:u.Methods,Models:u.Models}:{}}},{key:"getCrashlytics",value:function(){return v.isCrashlyticsAvailable()?(void 0).default:void 0}},{key:"getMaps",value:function(){return v.isMapsAvailable()?{Callout:(void 0).Callout,Marker:(void 0).Marker,MapView:(void 0).default}:void 0}},{key:"getIOSClassicEPaper",value:function(){return v.isIOSClassicEPaperAvailable()?(void 0).default:null}},{key:"getIOSExternalLinkAccountAPI",value:function(){return v.isIOSExternalLinkAccountAPIAvailable()?(void 0).default:null}},{key:"getIOSNewsmemorySDK",value:function(){return v.isIOSNewsmemorySDKAvailable()?l.default:null}},{key:"getViafouraWebView",value:function(){return v.isViafouraAvailable()?(void 0).default:null}},{key:"getDailymotionVideoPlayer",value:function(){return v.isDailymotionVideoPlayerAvailable()?{Player:(void 0).default,setConsentString:(void 0).setConsentString}:{}}},{key:"getIubenda",value:function(){return v.isIubendaCMPAvailable()?{Iubenda:n.default,Container:n.Container}:{}}},{key:"getOsano",value:function(){return v.isOsanoAvailable()?{Osano:(void 0).Osano,Container:(void 0).default}:{}}},{key:"getScreenshotPrevent",value:function(){return v.isScreenshotPreventAvailable()?{RNScreenshotPrevent:(void 0).default,addListener:(void 0).addListener}:{}}},{key:"getChartBeat",value:function(){return v.isChartBeatAvailable()?(void 0).default:void 0}},{key:"getFirebaseAnalytics",value:function(){return v.isFirebaseAnalyticsAvailable()?(void 0).default:void 0}},{key:"getWebAnalytics",value:function(){return v.isWebAnalyticsAvailable()?r.default:void 0}},{key:"getBlueConic",value:function(){return v.isBlueConicAvailable()?(void 0).default:void 0}},{key:"isCrashlyticsAvailable",value:function(){return v.isModuleAvailable(void 0,"@react-native-firebase/crashlytics")}},{key:"isFirebaseAnalyticsAvailable",value:function(){return v.isModuleAvailable(void 0,"@tecnavia/react-native-firebase-analytics")}},{key:"isWebAnalyticsAvailable",value:function(){return v.isModuleAvailable(r,"@tecnavia/react-native-web-analytics")}},{key:"isTrackingTransparencyAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-tracking-transparency")}},{key:"isAdMobAvailable",value:function(){return v.isModuleAvailable(void 0,"@tecnavia/react-native-admob")}},{key:"isDFPAvailable",value:function(){return v.isModuleAvailable(t,"@tecnavia/react-native-dfp")}},{key:"isBaronAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-baronweather")}},{key:"isPrebidAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-prebid")}},{key:"isNativoSDKAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-nativo-ads")}},{key:"isOneSignalAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-onesignal")}},{key:"isRNHtmlToPdfAvailable",value:function(){return v.isModuleAvailable(o,"react-native-html-to-pdf")}},{key:"isComScoreAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-comscore")}},{key:"isAdobeAnalyticsAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-adbmobile")}},{key:"isMatherAnalyticsAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-mather-analytics")}},{key:"isFacebookSDKAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-fbsdk-next")}},{key:"isVoiceAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-voice")}},{key:"isPushAvailable",value:function(){return v.isModuleAvailable(void 0,"@tecnavia/react-native-cloud-messaging")}},{key:"isMatomoAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-matomo")}},{key:"isMatomoTrackerAvailable",value:function(){return v.isModuleAvailable(void 0,"matomo-tracker-react-native")}},{key:"isGoogleAnalytics3Available",value:function(){return v.isModuleAvailable(void 0,"react-native-google-analytics-bridge")}},{key:"isIapModuleAvailable",value:function(){return v.isModuleAvailable(e,"react-native-iap")}},{key:"isMapsAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-maps")}},{key:"isNativeOptionsPageAvailable",value:function(){return v.isModuleAvailable(u,"rn-options-page")}},{key:"isIOSClassicEPaperAvailable",value:function(){return _r(d[9]).PlatformUtils.isIOS()&&v.isModuleAvailable(void 0,"@tecnavia/react-native-ios-classic-epaper")}},{key:"isIOSExternalLinkAccountAPIAvailable",value:function(){return _r(d[9]).PlatformUtils.isIOS()&&v.isModuleAvailable(void 0,"@tecnavia/react-native-external-link-account")}},{key:"isIOSNewsmemorySDKAvailable",value:function(){return _r(d[9]).PlatformUtils.isIOS()&&v.isModuleAvailable(l,"@tecnavia/react-native-newsmemory-pod")}},{key:"isViafouraAvailable",value:function(){return v.isModuleAvailable(void 0,"react-native-viafoura")}},{key:"isDailymotionVideoPlayerAvailable",value:function(){return v.isModuleAvailable(void 0,"@tecnavia/react-native-dailymotion-sdk")}},{key:"isIubendaCMPAvailable",value:function(){return v.isModuleAvailable(n,"@tecnavia/react-native-iubenda-web")}},{key:"isOsanoAvailable",value:function(){return v.isModuleAvailable(void 0,"@tecnavia/react-native-osano-web")}},{key:"isScreenshotPreventAvailable",value:function(){return v.isModuleAvailable(void 0,"@tecnavia/react-native-screenshot-prevent")}},{key:"isChartBeatAvailable",value:function(){return v.isModuleAvailable(void 0,"@tecnavia/react-native-chartbeat")}},{key:"isBlueConicAvailable",value:function(){return v.isModuleAvailable(void 0,"@blueconic/blueconic-react-native")}},{key:"isModuleAvailable",value:function(e,a){try{if(e)return!0}catch(e){}return!1}}])})()},866,[3,6,7,867,870,890,891,897,898,439]); __d(function(g,r,i,a,m,e,d){var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2]));m.exports={Banner:t.default,Interstitial:n.default}},867,[3,868,869]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;r(d[0])(r(d[1]));var e=r(d[0])(r(d[2])),t=r(d[0])(r(d[3])),n=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),l=r(d[0])(r(d[7])),c=r(d[0])(r(d[8])),u=r(d[9]);function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}var f=_e.default=(function(l){function c(){var t,s,l,u;return(0,e.default)(this,c),s=this,l=c,l=(0,o.default)(l),(t=(0,n.default)(s,h()?Reflect.construct(l,u||[],(0,o.default)(s).constructor):l.apply(s,u))).onSizeChange=t.onSizeChange.bind(t),t.onDidFailToReceiveAdWithError=t.onDidFailToReceiveAdWithError.bind(t),t.onAdmobDispatchAppEvent=t.onAdmobDispatchAppEvent.bind(t),t.state={style:{}},t}return(0,s.default)(c,l),(0,t.default)(c,[{key:"onSizeChange",value:function(e){var t=e.nativeEvent,n=t.height,o=t.width;this.setState({style:{width:o,height:n}})}},{key:"onDidFailToReceiveAdWithError",value:function(e){var t=e.nativeEvent,n=this.props.onDidFailToReceiveAdWithError;"function"==typeof n&&n(t.error)}},{key:"onAdmobDispatchAppEvent",value:function(e){var t=this.props.onAdmobDispatchAppEvent;"function"==typeof t&&t(e)}},{key:"render",value:function(){var e=this.props,t=e.adUnitID,n=e.testDeviceID,o=e.dimensions,s=e.onAdViewDidReceiveAd,l=e.onAdViewWillPresentScreen,c=e.onAdViewWillDismissScreen,u=e.onAdViewDidDismissScreen,h=e.targeting,f=this.props,p=f.bannerSize,A=f.adSizes,D=this.state.style;return o&&o.width&&o.height&&(p=void 0,A=void 0),A&&A.length>0&&(p=void 0),p||o&&o.width&&o.height||A&&!(!A.length>0)||(p="smartBannerPortrait"),(0,r(d[10]).jsx)(v,{style:D,onSizeChange:this.onSizeChange,onAdViewDidReceiveAd:s,onDidFailToReceiveAdWithError:this.onDidFailToReceiveAdWithError,onAdViewWillPresentScreen:l,onAdViewWillDismissScreen:c,onAdViewDidDismissScreen:u,onAdmobDispatchAppEvent:this.onAdmobDispatchAppEvent,testDeviceID:n,adUnitID:t,adSizes:A,dimensions:o,bannerSize:p,targeting:h})}}])})(l.default.Component);f.propTypes={onDidFailToReceiveAdWithError:c.default.func,onAdmobDispatchAppEvent:c.default.func,onAdViewDidReceiveAd:c.default.func,onAdViewWillPresentScreen:c.default.func,onAdViewWillDismissScreen:c.default.func,onAdViewDidDismissScreen:c.default.func,bannerSize:c.default.string,dimensions:c.default.shape({height:c.default.number,width:c.default.number}),adSizes:c.default.array,adUnitID:c.default.string,testDeviceID:c.default.string,targeting:c.default.object};var v=(0,u.requireNativeComponent)("RNDFPBanner",f)},868,[3,226,6,7,11,13,14,16,569,18,181]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]);e.default=t.NativeModules.RNDFPInterstitial},869,[18]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Container",{enumerable:!0,get:function(){return n.default}}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2]));e.default=t.default},870,[3,871,881]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Container",{enumerable:!0,get:function(){return n.default}}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2]));e.default=t.default},870,[3,871,883]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),t=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),o=(r(d[0])(r(d[5])),r(d[0])(r(d[6]))),u=["baseUrl","googleAds","enableTcf","perPurposeConsent"];(0,t.default)(function e(){(0,s.default)(this,e)});(_e.default=(function(){function l(){(0,s.default)(this,l)}return(0,t.default)(l,null,[{key:"init",value:(function(){var e=(0,n.default)(function*(e){l.config=e;var n=e.resetConsentDate,t=(yield o.default.init()).timestamp;n&&t&&(r(d[7]).DateUtils.getDateString(t,"YYYYMMDD")0&&void 0!==arguments[0]?arguments[0]:{},s=t.consentNotNeeded,o=void 0!==s&&s,u=t.purposes,l=t.usprConsents,f=t.tcData,c=t.uspData,p={};return f&&(f.purpose&&(p=f.purpose.consents),e=f.tcString),c&&(n=c.uspString),{consentNotNeeded:o,perPurposeConsents:u||{},perTCFPurposeConsents:p,usprConsents:l||{},consentStrings:{tc:e||"",usp:n||""}}}},{key:"askConsent",value:(function(){var e=(0,n.default)(function*(){var e={},n=yield o.default.getPreference();if(r(d[7]).JSUtils.isEmpty(n)||!0===n.consentNotNeeded)(0,r(d[8]).setShowConsentUI)("ask"),e=yield l.getConsentPromise();else{var t=yield o.default.getTCData(),s=yield o.default.getUSPData();e=Object.assign({},n,{tcData:t,uspData:s})}return l.getConsent(e)});return function(){return e.apply(this,arguments)}})()},{key:"editPreferences",value:(function(){var e=(0,n.default)(function*(){var e=yield o.default.getPreference(),n=r(d[7]).JSUtils.isEmpty(e)?"ask":"edit";(0,r(d[8]).setShowConsentUI)(n);var t=yield l.getConsentPromise();return l.getConsent(t)});return function(){return e.apply(this,arguments)}})()},{key:"onDismiss",value:function(){l.listeners.onDismiss&&l.listeners.onDismiss(),(0,r(d[8]).setShowConsentUI)(void 0)}},{key:"onPreferenceExpressed",value:(function(){var e=(0,n.default)(function*(e,n,t,s){(0,r(d[8]).setShowConsentUI)(void 0);try{yield o.default.setPreference(e),n&&!r(d[7]).JSUtils.isEmpty(n)?yield o.default.setTCData(n,t):yield o.default.clearTCData(),s&&!r(d[7]).JSUtils.isEmpty(s)?yield o.default.setUSPData(s):yield o.default.clearUSData(),l.onConsentChange(Object.assign({},e,{tcData:n,uspData:s}))}catch(e){}});return function(n,t,s,o){return e.apply(this,arguments)}})()},{key:"onPreferenceNotNeeded",value:(function(){var e=(0,n.default)(function*(){return l.onPreferenceExpressed({consentNotNeeded:!0,timestamp:(new Date).toISOString()})});return function(){return e.apply(this,arguments)}})()},{key:"onOptOut",value:(function(){var e=(0,n.default)(function*(){yield o.default.setCCPAOptOut(!0)});return function(){return e.apply(this,arguments)}})()},{key:"addSafeAreaToWebView",value:function(e){var n=e.top,t=e.bottom;return n||t?"(function() { \n var sheet = document.createElement('style');\n sheet.innerHTML = \"body { margin: 0; padding-top: "+n+"px; padding-bottom: "+t+"px; }\";\n document.body.appendChild(sheet);\n })();":""}},{key:"getConsentUI",value:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{top:0,bottom:0,left:0,right:0},s=l.config,o=s.baseUrl,f=s.googleAds,c=s.enableTcf,p=s.perPurposeConsent,y=(0,e.default)(s,u),v=r(d[7]).StringUtils.appendParams(o,Object.assign({},y,{perPurposeConsent:p?1:0,googleAds:f?1:0,enableTcf:c?1:0,editPreferences:n&&"edit"===n?1:void 0}));return(0,r(d[9]).jsx)(r(d[10]).IubendaWebView,{source:{uri:v},onClose:l.onDismiss,onOptOut:l.onOptOut,onPreferenceExpressed:l.onPreferenceExpressed,onPreferenceNotNeeded:l.onPreferenceNotNeeded,injectedJavaScript:l.addSafeAreaToWebView(t)})}},{key:"addListener",value:function(e,n){return l.listeners[e]=function(e){n&&n(e)},l.listeners[e]}},{key:"addConsentChangeListener",value:function(e){return l.addListener("onConsentChange",e)}},{key:"addDismissListener",value:function(e){return l.addListener("onDismiss",e)}}])})()).listeners={onConsentChange:void 0,onDismiss:void 0}},871,[3,4,272,7,6,16,872,439,874,181,875]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),n=r(d[0])(r(d[4]));_e.default=(function(){function l(){(0,t.default)(this,l)}return(0,u.default)(l,null,[{key:"setPreference",value:(function(){var t=(0,e.default)(function*(e){l.preference=e,yield n.default.setItem(n.default.SP.keys.preference,e)});return function(e){return t.apply(this,arguments)}})()},{key:"getPreference",value:(function(){var t=(0,e.default)(function*(){if(l.preference)return l.preference;var e;try{e=JSON.parse(yield n.default.getItem(n.default.SP.keys.preference))||{}}catch(t){e={}}return l.preference=e,e});return function(){return t.apply(this,arguments)}})()},{key:"setCCPAOptOut",value:(function(){var t=(0,e.default)(function*(e){l.ccpaOptOut=e,yield n.default.setItem(n.default.SP.keys.ccpaOptOut,e?"1":"0")});return function(e){return t.apply(this,arguments)}})()},{key:"getCCPAOptOut",value:(function(){var t=(0,e.default)(function*(){var e;if(void 0!==l.ccpaOptOut)return l.ccpaOptOut;var t="1"===(null!=(e=yield n.default.getItem(n.default.SP.keys.ccpaOptOut))?e:"0");return l.ccpaOptOut=t,t});return function(){return t.apply(this,arguments)}})()},{key:"setTCData",value:function(e,t){return r(d[5]).CmpStorage.setTCData(e,t)}},{key:"getOldTCData",value:(function(){var t=(0,e.default)(function*(){var e={};try{e=JSON.parse(yield n.default.getItem(n.default.SP.keys.tcData))||{}}catch(e){}return e});return function(){return t.apply(this,arguments)}})()},{key:"getTCData",value:function(){return r(d[5]).CmpStorage.getTCData()}},{key:"clearTCData",value:function(){return r(d[5]).CmpStorage.clearTCData()}},{key:"setUSPData",value:function(e){return r(d[5]).CmpStorage.setUSPData(e)}},{key:"getOldUSPData",value:(function(){var t=(0,e.default)(function*(){var e={};try{e=JSON.parse(yield n.default.getItem(n.default.SP.keys.uspData))||{}}catch(e){}return e});return function(){return t.apply(this,arguments)}})()},{key:"getUSPData",value:function(){return r(d[5]).CmpStorage.getUSPData()}},{key:"clearUSData",value:(function(){var t=(0,e.default)(function*(){l.ccpaOptOut=void 0;var e=n.default.SP.keys.ccpaOptOut;yield n.default.clearItem(e),yield r(d[5]).CmpStorage.clearUSData()});return function(){return t.apply(this,arguments)}})()},{key:"reset",value:function(){l.preference=void 0,l.ccpaOptOut=void 0}},{key:"init",value:(function(){var t=(0,e.default)(function*(){l.reset(),r(d[5]).CmpStorage.reset();var e=yield l.getPreference();yield l.getCCPAOptOut();var t=n.default.SP.keys,u=t.tcData,c=t.uspData,f=yield l.getOldTCData();r(d[5]).JSUtils.isEmpty(f)?yield r(d[5]).CmpStorage.getTCData():(yield r(d[5]).CmpStorage.setTCData(f),yield n.default.clearItem(u));var p=yield l.getOldUSPData();return r(d[5]).JSUtils.isEmpty(p)?yield r(d[5]).CmpStorage.getUSPData():(yield r(d[5]).CmpStorage.setUSPData(p),yield n.default.clearItem(c)),e});return function(){return t.apply(this,arguments)}})()},{key:"clearAll",value:(function(){var t=(0,e.default)(function*(){l.reset();var e=n.default.SP.keys.preference;yield n.default.clearItem(e),yield r(d[5]).CmpStorage.clearAll()});return function(){return t.apply(this,arguments)}})()}])})()},872,[3,272,6,7,873,439]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3]));(e.default=(function(){function c(){(0,n.default)(this,c)}return(0,u.default)(c,null,[{key:"setStorageName",value:function(t){c.SP.name=t}},{key:"getItem",value:(function(){var n=(0,t.default)(function*(t){return r(d[4]).StorageUtils.getItem(c.SP.name,t)});return function(t){return n.apply(this,arguments)}})()},{key:"setItem",value:(function(){var n=(0,t.default)(function*(t,n){return r(d[4]).StorageUtils.setItem(c.SP.name,t,n)});return function(t,u){return n.apply(this,arguments)}})()},{key:"clearItem",value:(function(){var n=(0,t.default)(function*(t){return r(d[4]).StorageUtils.clear(c.SP.name,t)});return function(t){return n.apply(this,arguments)}})()}])})()).SP={name:"iubenda",keys:{preference:"preference",ccpaOptOut:"ccpaOptOut",tcData:"tcData",uspData:"uspData"}}},873,[3,272,6,7,439]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.setShowConsentUI=void 0,e.useConsentUI=function(){var u=(0,o.useState)(void 0),f=(0,t.default)(u,2),s=f[0],c=f[1];return(0,o.useEffect)(function(){n=c},[]),s};var n,t=r(d[0])(r(d[1])),o=r(d[2]);e.setShowConsentUI=function(t){"function"==typeof n&&n(t)}},874,[3,33,16]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.IubendaWebView=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),l=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),u=r(d[0])(r(d[8])),f=r(d[0])(r(d[9])),p=r(d[10]),h=["source","style"];function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b=function(){return!!e})()}var v=p.StyleSheet.create({absolute:{position:"absolute",top:0,left:0,right:0,bottom:0}});(_e.IubendaWebView=(function(u){function f(e){var t,o,c,u;return(0,n.default)(this,f),o=this,c=f,u=[e],c=(0,l.default)(c),(t=(0,s.default)(o,b()?Reflect.construct(c,u||[],(0,l.default)(o).constructor):c.apply(o,u))).onMessage=t._onMessage.bind(t),t.close=t._close.bind(t),t.onError=t._onError.bind(t),t.state={hidden:!1,visible:!1},t}return(0,c.default)(f,u),(0,o.default)(f,[{key:"_logDebug",value:function(e){}},{key:"_logWarn",value:function(e){}},{key:"_logError",value:function(e){}},{key:"_close",value:function(){var e,t=this.props.onClose;"function"==typeof t&&(e=t),this.setState({hidden:!0},e)}},{key:"_onMessage",value:function(e){var t=e.nativeEvent,n=this.props,o=n.onPreferenceExpressed,s=n.onPreferenceNotNeeded,l=n.onConsent,c=n.onOptOut;try{var u=JSON.parse(t.data),f=u.type,p=u.content;switch(this._logDebug(f),f){case"preference-expressed":var h=p.preference,b=p.tcData,v=p.vendorList,y=p.uspData;"function"==typeof o&&o(h,b,v,y);break;case"preference-not-needed":"function"==typeof s&&s();break;case"user-consent":var E=p.consent;"function"==typeof l&&l(E);break;case"ccpa-opt-out":"function"==typeof c&&c();break;case"banner-shown":this.setState({visible:!0});break;case"banner-closed":break;case"error":var _=p.message;this._logError(_);break;case"close":this._close()}}catch(e){this._logError(e.message)}}},{key:"_onError",value:function(e){var t=e.nativeEvent;try{this._logError(JSON.stringify(t))}catch(e){}this.close()}},{key:"render",value:function(){var n=this.props,o=n.source,s=n.style,l=(0,t.default)(n,h),c=this.state,u=c.hidden,f=c.visible,b=o.html;if(!o.uri&&!b||u)return null;var y,E=[];s&&(Array.isArray(s)?E=(0,e.default)(s):E.push(s)),E.push({backgroundColor:r(d[11]).colors.transparent});var _=null;return f?_=(0,r(d[12]).jsx)(p.ActivityIndicator,{size:"large",style:v.absolute,color:r(d[11]).colors.white}):y=0,(0,r(d[12]).jsxs)(p.View,{style:[v.absolute,{backgroundColor:"rgba(0, 0, 0, 0.8)",height:y}],children:[_,(0,r(d[12]).jsx)(r(d[13]).WebView,Object.assign({style:E,originWhitelist:["http://","https://","xhttp://","xhttps://","local://","file://"],mixedContentMode:"always",allowFileAccess:!0,allowUniversalAccessFromFileURLs:!0,thirdPartyCookiesEnabled:!0,domStorageEnabled:!0,javaScriptEnabled:!0,bounces:!1,cacheEnabled:!0},l,{startInLoadingState:!1,androidForceHasOverlappingRendering:!1,source:o,messagingEnabled:!0,onMessage:this.onMessage,onError:this.onError,onHttpError:this.onError}))]})}}])})(u.default.Component)).propTypes={style:f.default.oneOfType([f.default.object,f.default.array,f.default.number]),source:f.default.shape({uri:f.default.string,baseUrl:f.default.string,html:f.default.string}),onPreferenceExpressed:f.default.func,onPreferenceNotNeeded:f.default.func,onConsent:f.default.func,onOptOut:f.default.func,onClose:f.default.func}},875,[3,22,4,6,7,11,13,14,16,569,18,439,181,876]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"WebView",{enumerable:!0,get:function(){return t.default}}),e.default=void 0;var t=r(d[0])(r(d[1]));e.default=t.default},876,[3,877]); -__d(function(_g,r,_i,a,m,_e,_d2){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e,t=r(_d2[0])(r(_d2[1])),n=r(_d2[2]),o=r(_d2[0])(r(_d2[3])),i=r(_d2[0])(r(_d2[4])),s=this&&this.__extends||(e=function(t,n){return(e=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])})(t,n)},function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}),d=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))(function(i,s){function d(e){try{l(o.next(e))}catch(e){s(e)}}function c(e){try{l(o.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(d,c)}l((o=o.apply(e,t||[])).next())})},c=this&&this.__generator||function(e,t){var n,o,i,s,d={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function c(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");for(;d;)try{if(n=1,o&&(i=2&s[0]?o.return:s[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return d.label++,{value:s[1],done:!1};case 5:d.label++,o=s[1],s=[0];continue;case 7:s=d.ops.pop(),d.trys.pop();continue;default:if(!(i=(i=d.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){d=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]` at the top of your app.');return e},_e.useSafeAreaInsets=l,_e.withSafeAreaInsets=function(e){return t.forwardRef(function(t,r){return(0,_r(d[5]).jsx)(f,{children:function(n){return(0,_r(d[5]).jsx)(e,Object.assign({},t,{insets:n,ref:r}))}})})};var e=_r(d[0])(_r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=o?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n})(_r(d[2])),r=_r(d[3]),n=_r(d[0])(_r(d[4]));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}var o=_e.SafeAreaInsetsContext=t.createContext(null);o.displayName='SafeAreaInsetsContext';var i=_e.SafeAreaFrameContext=t.createContext(null);i.displayName='SafeAreaFrameContext';var u=r.StyleSheet.create({fill:{flex:1}});function l(){var e=t.useContext(o);if(null==e)throw new Error('No safe area insets value available. Make sure you are rendering `` at the top of your app.');return e}var f=_e.SafeAreaConsumer=o.Consumer;_e.SafeAreaContext=o},883,[3,33,16,18,884,181]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[0]);e.default=(0,o.requireNativeComponent)('RNCSafeAreaProvider')},884,[18]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SafeAreaView=void 0;var o=r(d[0]);e.SafeAreaView=(0,o.requireNativeComponent)('RNCSafeAreaView')},885,[18]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.initialWindowSafeAreaInsets=e.initialWindowMetrics=void 0;var n=r(d[0]).UIManager.getViewManagerConfig('RNCSafeAreaProvider'),t=e.initialWindowMetrics=null!=n&&null!=n.Constants?n.Constants.initialWindowMetrics:null;e.initialWindowSafeAreaInsets=null==t?void 0:t.insets},886,[18]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0})},887,[]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var n=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),t=r(d[0])(r(d[3])),u=r(d[4]),o=u.NativeModules.NewsmemorySDKBridge;_e.default=(function(){function l(){(0,e.default)(this,l)}return(0,t.default)(l,null,[{key:"isIOS",value:function(){return"ios"===u.Platform.OS}},{key:"close",value:(function(){var e=(0,n.default)(function*(){if(l.isIOS())try{yield o.close()}catch(n){console.warn(n.message)}});return function(){return e.apply(this,arguments)}})()},{key:"willOpenURL",value:(function(){var e=(0,n.default)(function*(n){if(l.isIOS())try{return yield o.willOpenURL(n)}catch(n){}return!1});return function(n){return e.apply(this,arguments)}})()},{key:"onTrackAction",value:(function(){var e=(0,n.default)(function*(n){if(l.isIOS())try{return yield o.onTrackAction(n),!0}catch(n){}return!1});return function(n){return e.apply(this,arguments)}})()},{key:"onReload",value:(function(){var e=(0,n.default)(function*(){if(l.isIOS())try{return yield o.onReload(),!0}catch(n){}return!1});return function(){return e.apply(this,arguments)}})()},{key:"onTokenExpired",value:(function(){var e=(0,n.default)(function*(){if(l.isIOS())try{return yield o.onTokenExpired()}catch(n){}return!1});return function(){return e.apply(this,arguments)}})()}])})()},888,[3,272,6,7,18]); -__d(function(g,r,i,a,m,e,d){var n;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(){return n||(n=new(r(d[0]).WebAnalytics)),n}},889,[890]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.WebAnalytics=void 0;var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),o=r(d[4]).NativeModules.WebAnalytics;e.WebAnalytics=(function(){return(0,u.default)(function n(){(0,t.default)(this,n)},[{key:"debugMode",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];o.debugMode(n)}},{key:"initializeWebMode",value:(function(){var t=(0,n.default)(function*(){return o.initializeWebMode(r(d[5]).RAW_HTML)});return function(){return t.apply(this,arguments)}})()},{key:"logEvent",value:(function(){var t=(0,n.default)(function*(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r(d[6]).eventNameValidator)(n)&&(0,r(d[6]).eventParamsValidator)(t)?o.logEvent(n,t):Promise.reject(new Error("something went wrong on tracking event"))});return function(n){return t.apply(this,arguments)}})()},{key:"logPageView",value:(function(){var t=(0,n.default)(function*(n){return(0,r(d[6]).pageObjectValidator)(n)?o.logPageView(n):Promise.reject(new Error("something went wrong on tracking page view"))});return function(n){return t.apply(this,arguments)}})()},{key:"logScreenView",value:(function(){var t=(0,n.default)(function*(n){return(0,r(d[6]).screenObjectValidator)(n)?o.logScreenView(n):Promise.reject(new Error("something went wrong on tracking screen view"))});return function(n){return t.apply(this,arguments)}})()},{key:"setUserId",value:(function(){var t=(0,n.default)(function*(n){return o.setUserId(n)});return function(n){return t.apply(this,arguments)}})()},{key:"isFirebaseInstance",value:function(n){return(0,r(d[7]).isString)(n.projectId)&&n.projectId.length>0}},{key:"addInstance",value:(function(){var t=(0,n.default)(function*(n){if(!(0,r(d[7]).isString)(n.name)||0===n.name.length)throw new Error("name must be a valid string");if(this.isFirebaseInstance(n)){if(!(0,r(d[7]).isString)(n.appId)||0===n.appId.length)throw new Error("appId must be a valid string");if(!(0,r(d[7]).isString)(n.apiKey)||0===n.apiKey.length)throw new Error("apiKey must be a valid string")}else if(!(0,r(d[7]).isString)(n.measurementId)||0===n.measurementId.length)throw new Error("measurementId must be a valid string");return o.addInstance(n)});return function(n){return t.apply(this,arguments)}})()},{key:"removeInstance",value:(function(){var t=(0,n.default)(function*(n){if(!(0,r(d[7]).isString)(n)||0===n.length)throw new Error("name must be a valid string");return o.removeInstance(n)});return function(n){return t.apply(this,arguments)}})()}])})()},890,[3,272,6,7,18,891,892,893]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.RAW_HTML=void 0;e.RAW_HTML="\n \n \n