diff --git a/build.gradle b/build.gradle index afee0ca..0b631db 100644 --- a/build.gradle +++ b/build.gradle @@ -76,7 +76,7 @@ publishing { tareactnativecommunitynetinfo(MavenPublication) { groupId 'tecnavia' artifactId 'react-native-community_netinfo' - version '5.9.10' + version '11.4.1' artifact("$libsDirName/react-native-community_netinfo-release.aar") } @@ -230,7 +230,7 @@ publishing { tareactnativetecnaviautils(MavenPublication) { groupId 'tecnavia' artifactId 'react-native-tecnavia-utils' - version '1.2.1' + version '1.3.1' artifact("$libsDirName/react-native-tecnavia-utils-release.aar") } @@ -456,7 +456,7 @@ dependencies { implementation "tecnavia:react-native-color-matrix-image-filters:6.0.9" implementation "tecnavia:react-native-community_datetimepicker:6.7.5" implementation "tecnavia:react-native-community_image-editor:2.3.0" - implementation "tecnavia:react-native-community_netinfo:5.9.10" + implementation "tecnavia:react-native-community_netinfo:11.4.1" implementation "tecnavia:react-native-community_slider:2.0.9" implementation "tecnavia:react-native-config:1.4.11" implementation "tecnavia:react-native-cookies_cookies:6.2.0" @@ -478,7 +478,7 @@ dependencies { implementation "tecnavia:react-native-splash-screen:3.2.0" implementation "tecnavia:react-native-sqlite-storage:3.3.10" implementation "tecnavia:react-native-svg:15.7.1" - implementation "tecnavia:react-native-tecnavia-utils:1.2.1" + implementation "tecnavia:react-native-tecnavia-utils:1.3.1" implementation "tecnavia:react-native-text-size:3.0.0" implementation "tecnavia:react-native-tts:4.1.0" implementation "tecnavia:react-native-uuid-generator:6.1.1" diff --git a/gradle.properties b/gradle.properties index 43b344b..5a87249 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ android.useAndroidX=true APP_NAME=Android SDK -APP_VERSION_NAME=3.16.13 -APP_VERSION_CODE=1732114058365 +APP_VERSION_NAME=3.16.14 +APP_VERSION_CODE=1734693746919 ANDROID_APP_ID=com.tecnaviaapplication IS_ADDON=true diff --git a/libs/react-native-community_netinfo-release.aar b/libs/react-native-community_netinfo-release.aar index 1ad8100..2aa28d1 100644 Binary files a/libs/react-native-community_netinfo-release.aar and b/libs/react-native-community_netinfo-release.aar differ diff --git a/src/main/assets/index.android.bundle b/src/main/assets/index.android.bundle index d9a727e..6a4ea7a 100644 --- a/src/main/assets/index.android.bundle +++ b/src/main/assets/index.android.bundle @@ -803,7 +803,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _$$_REQUIRE(_dependencyMap[1]); _$$_REQUIRE(_dependencyMap[2]); -},0,[1,404,2142]); +},0,[1,404,2133]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -47626,7 +47626,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _$$_REQUIRE(_dependencyMap[10]).Logger.initializedLogSession = false; _$$_REQUIRE(_dependencyMap[10]).Logger.logSessionFileName = ""; global.getLocaleConfig().initLocale(); -},404,[3,270,405,1863,1964,1965,1723,613,1724,443,438,1966,1980,2015,2071,2078,1854,2086,1850]); +},404,[3,270,405,1863,1931,1932,1723,627,1724,443,438,1933,1947,1993,2060,2067,1854,2075,1850]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -49010,7 +49010,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},406,[3,4,270,6,7,407,434,572,613,842,552,843,654,844,848,849,850,438,574,573,854]); +},406,[3,4,270,6,7,407,434,586,627,856,566,857,668,858,862,863,864,438,588,587,868]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -49690,7 +49690,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e API.DEFAULT_READ_TIMEOUT_4G = 60000; API.timeout = 0; API.readTimeout = 0; -},407,[3,4,270,6,7,408,434,552,438,439]); +},407,[3,4,270,6,7,408,434,566,438,439]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]); },408,[409]); @@ -51003,7 +51003,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; DeviceUtils.orientationIsLocked = false; DeviceUtils.idleTimerDisabled = false; -},434,[3,6,7,18,435,436,437,438,550]); +},434,[3,6,7,18,435,436,437,438,564]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -51319,7 +51319,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } -},438,[3,439,518,477,532,501,440,533,479,535,540,541,490,520,471]); +},438,[3,439,532,477,546,515,440,547,479,549,554,555,504,534,471]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -51554,7 +51554,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e Logger.initializedLogSession = false; Logger.BULK_TIMEOUT = 5000; Logger.insertQueue = []; -},439,[3,270,6,7,440,501,490]); +},439,[3,270,6,7,440,515,504]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -52162,7 +52162,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e FileUtils.libraryDirectory = _reactNativeFs.default.LibraryDirectoryPath; FileUtils.temporaryDirectory = _reactNativeFs.default.TemporaryDirectoryPath; FileUtils.picturesDirectory = _reactNativeFs.default.PicturesDirectoryPath; -},440,[3,270,6,7,441,444,469,470,471,490,500]); +},440,[3,270,6,7,441,444,469,470,471,504,514]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -64782,7 +64782,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e StringUtils.REGEX_RGBA = /([0-9]{1,3}),([0-9]{1,3}),([0-9]{1,3})(,([0-9\\.]+))?/; StringUtils.REGEX_HEX = /#([0-9|A-F|a-f]{2})([0-9|A-F|a-f]{2})([0-9|A-F|a-f]{2})([0-9|A-F|a-f]{2})?/; StringUtils.REGEX_HEX_SHORT = /#([0-9|A-F|a-f]{1})([0-9|A-F|a-f]{1})([0-9|A-F|a-f]{1})/; -},471,[3,270,240,6,7,472,476,477,479,480,485,489]); +},471,[3,270,240,6,7,472,476,477,479,494,499,503]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { (function () { var crypt = _$$_REQUIRE(_dependencyMap[0]), @@ -65556,6 +65556,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _reactNative = _$$_REQUIRE(_dependencyMap[5]); + var _debounce2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + function PromiseTimeout(_x) { return _PromiseTimeout.apply(this, arguments); } @@ -65927,9 +65929,302 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var power = Math.pow(10, decimals); return Math.floor(number * power) / power; } + }, { + key: "debounce", + value: function debounce(func, wait, options) { + return (0, _debounce2.default)(func, wait, options); + } + }, { + key: "debounceEventHandler", + value: function debounceEventHandler(func, wait, options) { + var debounced = JSUtils.debounce(func, wait, options); + return function (e) { + if (typeof e.persist === "function") { + e.persist(); + } + + return debounced(e); + }; + } }]); }(); -},479,[3,22,6,7,270,18]); +},479,[3,22,6,7,270,18,480]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + var FUNC_ERROR_TEXT = 'Expected a function'; + var nativeMax = Math.max, + nativeMin = Math.min; + + function debounce(func, wait, options) { + var lastArgs, + lastThis, + maxWait, + result, + timerId, + lastCallTime, + lastInvokeTime = 0, + leading = false, + maxing = false, + trailing = true; + + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + + wait = _$$_REQUIRE(_dependencyMap[0])(wait) || 0; + + if (_$$_REQUIRE(_dependencyMap[1])(options)) { + leading = !!options.leading; + maxing = 'maxWait' in options; + maxWait = maxing ? nativeMax(_$$_REQUIRE(_dependencyMap[0])(options.maxWait) || 0, wait) : maxWait; + trailing = 'trailing' in options ? !!options.trailing : trailing; + } + + function invokeFunc(time) { + var args = lastArgs, + thisArg = lastThis; + lastArgs = lastThis = undefined; + lastInvokeTime = time; + result = func.apply(thisArg, args); + return result; + } + + function leadingEdge(time) { + lastInvokeTime = time; + timerId = setTimeout(timerExpired, wait); + return leading ? invokeFunc(time) : result; + } + + function remainingWait(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime, + timeWaiting = wait - timeSinceLastCall; + return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting; + } + + function shouldInvoke(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime; + return lastCallTime === undefined || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait; + } + + function timerExpired() { + var time = _$$_REQUIRE(_dependencyMap[2])(); + + if (shouldInvoke(time)) { + return trailingEdge(time); + } + + timerId = setTimeout(timerExpired, remainingWait(time)); + } + + function trailingEdge(time) { + timerId = undefined; + + if (trailing && lastArgs) { + return invokeFunc(time); + } + + lastArgs = lastThis = undefined; + return result; + } + + function cancel() { + if (timerId !== undefined) { + clearTimeout(timerId); + } + + lastInvokeTime = 0; + lastArgs = lastCallTime = lastThis = timerId = undefined; + } + + function flush() { + return timerId === undefined ? result : trailingEdge(_$$_REQUIRE(_dependencyMap[2])()); + } + + function debounced() { + var time = _$$_REQUIRE(_dependencyMap[2])(), + isInvoking = shouldInvoke(time); + + lastArgs = arguments; + lastThis = this; + lastCallTime = time; + + if (isInvoking) { + if (timerId === undefined) { + return leadingEdge(lastCallTime); + } + + if (maxing) { + clearTimeout(timerId); + timerId = setTimeout(timerExpired, wait); + return invokeFunc(lastCallTime); + } + } + + if (timerId === undefined) { + timerId = setTimeout(timerExpired, wait); + } + + return result; + } + + debounced.cancel = cancel; + debounced.flush = flush; + return debounced; + } + + module.exports = debounce; +},480,[481,490,493]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + var NAN = 0 / 0; + var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; + var reIsBinary = /^0b[01]+$/i; + var reIsOctal = /^0o[0-7]+$/i; + var freeParseInt = parseInt; + + function toNumber(value) { + if (typeof value == 'number') { + return value; + } + + if (_$$_REQUIRE(_dependencyMap[0])(value)) { + return NAN; + } + + if (_$$_REQUIRE(_dependencyMap[1])(value)) { + var other = typeof value.valueOf == 'function' ? value.valueOf() : value; + value = _$$_REQUIRE(_dependencyMap[1])(other) ? other + '' : other; + } + + if (typeof value != 'string') { + return value === 0 ? value : +value; + } + + value = _$$_REQUIRE(_dependencyMap[2])(value); + var isBinary = reIsBinary.test(value); + return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value; + } + + module.exports = toNumber; +},481,[482,490,491]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + var symbolTag = '[object Symbol]'; + + function isSymbol(value) { + return typeof value == 'symbol' || _$$_REQUIRE(_dependencyMap[0])(value) && _$$_REQUIRE(_dependencyMap[1])(value) == symbolTag; + } + + module.exports = isSymbol; +},482,[483,484]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + function isObjectLike(value) { + return value != null && typeof value == 'object'; + } + + module.exports = isObjectLike; +},483,[]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + var nullTag = '[object Null]', + undefinedTag = '[object Undefined]'; + var symToStringTag = _$$_REQUIRE(_dependencyMap[0]) ? _$$_REQUIRE(_dependencyMap[0]).toStringTag : undefined; + + function baseGetTag(value) { + if (value == null) { + return value === undefined ? undefinedTag : nullTag; + } + + return symToStringTag && symToStringTag in Object(value) ? _$$_REQUIRE(_dependencyMap[1])(value) : _$$_REQUIRE(_dependencyMap[2])(value); + } + + module.exports = baseGetTag; +},484,[485,488,489]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + module.exports = _$$_REQUIRE(_dependencyMap[0]).Symbol; +},485,[486]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + var freeSelf = typeof self == 'object' && self && self.Object === Object && self; + var root = _$$_REQUIRE(_dependencyMap[0]) || freeSelf || Function('return this')(); + module.exports = root; +},486,[487]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; + module.exports = freeGlobal; +},487,[]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + var objectProto = Object.prototype; + var hasOwnProperty = objectProto.hasOwnProperty; + var nativeObjectToString = objectProto.toString; + var symToStringTag = _$$_REQUIRE(_dependencyMap[0]) ? _$$_REQUIRE(_dependencyMap[0]).toStringTag : undefined; + + function getRawTag(value) { + var isOwn = hasOwnProperty.call(value, symToStringTag), + tag = value[symToStringTag]; + + try { + value[symToStringTag] = undefined; + var unmasked = true; + } catch (e) {} + + var result = nativeObjectToString.call(value); + { + if (isOwn) { + value[symToStringTag] = tag; + } else { + delete value[symToStringTag]; + } + } + return result; + } + + module.exports = getRawTag; +},488,[485]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + var objectProto = Object.prototype; + var nativeObjectToString = objectProto.toString; + + function objectToString(value) { + return nativeObjectToString.call(value); + } + + module.exports = objectToString; +},489,[]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + function isObject(value) { + var type = typeof value; + return value != null && (type == 'object' || type == 'function'); + } + + module.exports = isObject; +},490,[]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + var reTrimStart = /^\s+/; + + function baseTrim(string) { + return string ? string.slice(0, _$$_REQUIRE(_dependencyMap[0])(string) + 1).replace(reTrimStart, '') : string; + } + + module.exports = baseTrim; +},491,[492]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + var reWhitespace = /\s/; + + function trimmedEndIndex(string) { + var index = string.length; + + while (index-- && reWhitespace.test(string.charAt(index))) {} + + return index; + } + + module.exports = trimmedEndIndex; +},492,[]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + var now = function now() { + return _$$_REQUIRE(_dependencyMap[0]).Date.now(); + }; + + module.exports = now; +},493,[486]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -65940,7 +66235,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e exports.Html4Entities = _$$_REQUIRE(_dependencyMap[1]).Html4Entities; exports.Html5Entities = _$$_REQUIRE(_dependencyMap[2]).Html5Entities; exports.AllHtmlEntities = _$$_REQUIRE(_dependencyMap[2]).Html5Entities; -},480,[481,483,484]); +},494,[495,497,498]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -66097,7 +66392,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); exports.XmlEntities = XmlEntities; -},481,[482]); +},495,[496]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -66116,7 +66411,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; exports.highSurrogateFrom = 0xD800; exports.highSurrogateTo = 0xDBFF; -},482,[]); +},496,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -66270,7 +66565,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); exports.Html4Entities = Html4Entities; -},483,[482]); +},497,[496]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -66479,7 +66774,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e alphaIndex[alpha] = String.fromCharCode(chr) + (chr2 ? String.fromCharCode(chr2) : ''); } } -},484,[482]); +},498,[496]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function DOMParser(options) { this.options = options || { @@ -66705,7 +67000,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e exports.XMLSerializer = _$$_REQUIRE(_dependencyMap[2]).XMLSerializer; exports.DOMParser = DOMParser; } -},485,[486,487,488]); +},499,[500,501,502]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var EntityMap = { 'lt': '<', @@ -69104,7 +69399,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e if (typeof _$$_REQUIRE == 'function') { exports.EntityMap = EntityMap; } -},486,[]); +},500,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var nameStartChar = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/; var nameChar = new RegExp("[\\-\\.0-9" + nameStartChar.source.slice(1, -1) + "\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"); @@ -69747,7 +70042,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } exports.XMLReader = XMLReader; -},487,[]); +},501,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function copy(src, dest) { for (var p in src) { @@ -71133,7 +71428,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e exports.DOMImplementation = DOMImplementation; exports.XMLSerializer = XMLSerializer; } -},488,[]); +},502,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -71228,7 +71523,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e minutes: convertTimeToMinutes(time) }; } -},489,[]); +},503,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -71847,7 +72142,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e PlatformUtils.printDefaultDpi = 300; PlatformUtils.info = {}; PlatformUtils.topBarColor = undefined; -},490,[3,270,6,7,18,491,497,498,477]); +},504,[3,270,6,7,18,505,511,512,477]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -73348,7 +73643,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = deviceInfoModule; -},491,[3,33,270,16,18,492,493,495,496]); +},505,[3,33,270,16,18,506,507,509,510]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -73606,7 +73901,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }]; var _default = exports.default = devicesWithNotch; -},492,[]); +},506,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -73628,7 +73923,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } var _default = exports.default = RNDeviceInfo; -},493,[18,494]); +},507,[18,508]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -73952,7 +74247,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var getPowerStateSync = exports.getPowerStateSync = function getPowerStateSync() { return powerState; }; -},494,[3,270,18]); +},508,[3,270,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -74047,7 +74342,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e })); }]; } -},495,[3,4,270,18]); +},509,[3,4,270,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -74119,7 +74414,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e result: result }; } -},496,[3,270,33,16,18]); +},510,[3,270,33,16,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -74141,7 +74436,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } } }; -},497,[18]); +},511,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -74161,7 +74456,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = exports.default = _$$_REQUIRE(_dependencyMap[0]).changeNavigationBarColor; -},498,[499]); +},512,[513]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -74220,7 +74515,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return _ref3.apply(this, arguments); }; }(); -},499,[3,270,18]); +},513,[3,270,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -74291,7 +74586,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var emitter = DeviceEventEmitter; return emitter.addListener("zipArchiveProgressEvent", callback); }; -},500,[3,270,18]); +},514,[3,270,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -74830,7 +75125,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return out.substring(0, 10); }; -},501,[3,6,7,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517]); +},515,[3,6,7,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -79592,7 +79887,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; return hooks; }); -},502,[]); +},516,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -79717,7 +80012,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return ar; }); -},503,[502]); +},517,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -79791,7 +80086,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return it; }); -},504,[502]); +},518,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -79847,7 +80142,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return da; }); -},505,[502]); +},519,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -79922,7 +80217,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return de; }); -},506,[502]); +},520,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -80008,7 +80303,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return fr; }); -},507,[502]); +},521,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -80088,7 +80383,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return nl; }); -},508,[502]); +},522,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -80178,7 +80473,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return es; }); -},509,[502]); +},523,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -80254,7 +80549,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return ro; }); -},510,[502]); +},524,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -80316,7 +80611,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return sv; }); -},511,[502]); +},525,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -80377,7 +80672,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return pt; }); -},512,[502]); +},526,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -80433,7 +80728,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return ptBr; }); -},513,[502]); +},527,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -80511,7 +80806,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return nlBe; }); -},514,[502]); +},528,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -80571,7 +80866,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return nn; }); -},515,[502]); +},529,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -80631,7 +80926,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return nb; }); -},516,[502]); +},530,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -80823,7 +81118,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return sl; }); -},517,[502]); +},531,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -81313,7 +81608,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); CmpStorage.attDenied = false; -},518,[3,270,6,7,439,479,519]); +},532,[3,270,6,7,439,479,533]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -81440,7 +81735,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e USPrivacy: "IABUSPrivacy_String" } }; -},519,[3,270,6,7,520]); +},533,[3,270,6,7,534]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -81713,7 +82008,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); StorageUtils.queue = new _promiseQueue.default(1, Infinity); -},520,[3,270,6,7,521,527,530,439]); +},534,[3,270,6,7,535,541,544,439]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -81729,7 +82024,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _AsyncStorage = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2])); var _default = exports.default = _AsyncStorage.default; -},521,[522,3,523]); +},535,[536,3,537]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -81770,7 +82065,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }; } -},522,[3,523]); +},536,[3,537]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -82008,7 +82303,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); var _default = exports.default = AsyncStorage; -},523,[3,33,524,526]); +},537,[3,33,538,540]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -82028,7 +82323,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } var _default = exports.default = RCTAsyncStorage; -},524,[18,525]); +},538,[18,539]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -82052,7 +82347,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return false; } -},525,[18]); +},539,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -82123,11 +82418,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return null; } } -},526,[]); +},540,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = process.env.PROMISE_QUEUE_COVERAGE ? _$$_REQUIRE(_dependencyMap[0]) : _$$_REQUIRE(_dependencyMap[1]); -},527,[528,529]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {},528,[]); +},541,[542,543]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {},542,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { (function (root, factory) { 'use strict'; @@ -82245,7 +82540,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return Queue; }); -},529,[]); +},543,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -82255,7 +82550,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _main = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = _main.default; -},530,[3,531]); +},544,[3,545]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -82386,7 +82681,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return getName; }() }; -},531,[3,240,270,18]); +},545,[3,240,270,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -82555,7 +82850,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},532,[3,6,7]); +},546,[3,6,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -82953,7 +83248,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e ios: ["San Francisco", "Academy Engraved LET", "AcademyEngravedLetPlain", "Al Nile", "AlNile-Bold", "American Typewriter", "AmericanTypewriter-Bold", "AmericanTypewriter-Condensed", "AmericanTypewriter-CondensedBold", "AmericanTypewriter-CondensedLight", "AmericanTypewriter-Light", "Apple Color Emoji", "Apple SD Gothic Neo", "AppleColorEmoji", "AppleSDGothicNeo-Bold", "AppleSDGothicNeo-Light", "AppleSDGothicNeo-Medium", "AppleSDGothicNeo-Regular", "AppleSDGothicNeo-SemiBold", "AppleSDGothicNeo-Thin", "AppleSDGothicNeo-UltraLight", "Arial", "Arial Hebrew", "Arial Rounded MT Bold", "Arial-BoldItalicMT", "Arial-BoldMT", "Arial-ItalicMT", "ArialHebrew", "ArialHebrew-Bold", "ArialHebrew-Light", "ArialMT", "ArialRoundedMTBold", "Avenir", "Avenir Next", "Avenir Next Condensed", "Avenir-Black", "Avenir-BlackOblique", "Avenir-Book", "Avenir-BookOblique", "Avenir-Heavy", "Avenir-HeavyOblique", "Avenir-Light", "Avenir-LightOblique", "Avenir-Medium", "Avenir-MediumOblique", "Avenir-Oblique", "Avenir-Roman", "AvenirNext-Bold", "AvenirNext-BoldItalic", "AvenirNext-DemiBold", "AvenirNext-DemiBoldItalic", "AvenirNext-Heavy", "AvenirNext-HeavyItalic", "AvenirNext-Italic", "AvenirNext-Medium", "AvenirNext-MediumItalic", "AvenirNext-Regular", "AvenirNext-UltraLight", "AvenirNext-UltraLightItalic", "AvenirNextCondensed-Bold", "AvenirNextCondensed-BoldItalic", "AvenirNextCondensed-DemiBold", "AvenirNextCondensed-DemiBoldItalic", "AvenirNextCondensed-Heavy", "AvenirNextCondensed-HeavyItalic", "AvenirNextCondensed-Italic", "AvenirNextCondensed-Medium", "AvenirNextCondensed-MediumItalic", "AvenirNextCondensed-Regular", "AvenirNextCondensed-UltraLight", "AvenirNextCondensed-UltraLightItalic", "Bangla Sangam MN", "Baskerville", "Baskerville-Bold", "Baskerville-BoldItalic", "Baskerville-Italic", "Baskerville-SemiBold", "Baskerville-SemiBoldItalic", "Bodoni 72", "Bodoni 72 Oldstyle", "Bodoni 72 Smallcaps", "Bodoni Ornaments", "BodoniOrnamentsITCTT", "BodoniSvtyTwoITCTT-Bold", "BodoniSvtyTwoITCTT-Book", "BodoniSvtyTwoITCTT-BookIta", "BodoniSvtyTwoOSITCTT-Bold", "BodoniSvtyTwoOSITCTT-Book", "BodoniSvtyTwoSCITCTT-Book", "Bradley Hand", "BradleyHandITCTT-Bold", "Chalkboard SE", "ChalkboardSE-Bold", "ChalkboardSE-Light", "ChalkboardSE-Regular", "Chalkduster", "Chalkduster", "Cochin", "Cochin-Bold", "Cochin-BoldItalic", "Cochin-Italic", "Copperplate", "Copperplate-Bold", "Copperplate-Light", "Courier", "Courier New", "Courier-Bold", "Courier-BoldOblique", "Courier-Oblique", "CourierNewPS-BoldItalicMT", "CourierNewPS-BoldMT", "CourierNewPS-ItalicMT", "CourierNewPSMT", "Damascus", "DamascusBold", "DamascusLight", "DamascusMedium", "DamascusSemiBold", "Devanagari Sangam MN", "DevanagariSangamMN", "DevanagariSangamMN-Bold", "Didot", "Didot-Bold", "Didot-Italic", "DiwanMishafi", "Euphemia UCAS", "EuphemiaUCAS-Bold", "EuphemiaUCAS-Italic", "Farah", "Futura", "Futura-CondensedExtraBold", "Futura-CondensedMedium", "Futura-Medium", "Futura-MediumItalic", "Geeza Pro", "GeezaPro-Bold", "Georgia", "Georgia-Bold", "Georgia-BoldItalic", "Georgia-Italic", "Gill Sans", "GillSans-Bold", "GillSans-BoldItalic", "GillSans-Italic", "GillSans-Light", "GillSans-LightItalic", "GillSans-SemiBold", "GillSans-SemiBoldItalic", "GillSans-UltraBold", "Gujarati Sangam MN", "GujaratiSangamMN", "GujaratiSangamMN-Bold", "Gurmukhi MN", "GurmukhiMN-Bold", "Heiti SC", "Heiti TC", "Helvetica", "Helvetica Neue", "Helvetica-Bold", "Helvetica-BoldOblique", "Helvetica-Light", "Helvetica-LightOblique", "Helvetica-Oblique", "HelveticaNeue-Bold", "HelveticaNeue-BoldItalic", "HelveticaNeue-CondensedBlack", "HelveticaNeue-CondensedBold", "HelveticaNeue-Italic", "HelveticaNeue-Light", "HelveticaNeue-LightItalic", "HelveticaNeue-Medium", "HelveticaNeue-MediumItalic", "HelveticaNeue-Thin", "HelveticaNeue-ThinItalic", "HelveticaNeue-UltraLight", "HelveticaNeue-UltraLightItalic", "Hiragino Mincho ProN", "Hiragino Sans", "HiraginoSans-W3", "HiraginoSans-W6", "HiraMinProN-W3", "HiraMinProN-W6", "Hoefler Text", "HoeflerText-Black", "HoeflerText-BlackItalic", "HoeflerText-Italic", "HoeflerText-Regular", "Iowan Old Style", "IowanOldStyle-Bold", "IowanOldStyle-BoldItalic", "IowanOldStyle-Italic", "IowanOldStyle-Roman", "Kailasa", "Kailasa-Bold", "Kannada Sangam MN", "KannadaSangamMN", "KannadaSangamMN-Bold", "Khmer Sangam MN", "Kohinoor Bangla", "Kohinoor Devanagari", "Kohinoor Telugu", "KohinoorBangla-Light", "KohinoorBangla-Regular", "KohinoorBangla-Semibold", "KohinoorDevanagari-Light", "KohinoorDevanagari-Regular", "KohinoorDevanagari-Semibold", "KohinoorTelugu-Light", "KohinoorTelugu-Medium", "KohinoorTelugu-Regular", "Lao Sangam MN", "Malayalam Sangam MN", "MalayalamSangamMN", "MalayalamSangamMN-Bold", "Marker Felt", "MarkerFelt-Thin", "MarkerFelt-Wide", "Menlo", "Menlo-Bold", "Menlo-BoldItalic", "Menlo-Italic", "Menlo-Regular", "Mishafi", "Noteworthy", "Noteworthy-Bold", "Noteworthy-Light", "Optima", "Optima-Bold", "Optima-BoldItalic", "Optima-ExtraBlack", "Optima-Italic", "Optima-Regular", "Oriya Sangam MN", "OriyaSangamMN", "OriyaSangamMN-Bold", "Palatino", "Palatino-Bold", "Palatino-BoldItalic", "Palatino-Italic", "Palatino-Roman", "Papyrus", "Papyrus-Condensed", "Party LET", "PartyLetPlain", "PingFang HK", "PingFang SC", "PingFang TC", "PingFangHK-Light", "PingFangHK-Medium", "PingFangHK-Regular", "PingFangHK-Semibold", "PingFangHK-Thin", "PingFangHK-Ultralight", "PingFangSC-Light", "PingFangSC-Medium", "PingFangSC-Regular", "PingFangSC-Semibold", "PingFangSC-Thin", "PingFangSC-Ultralight", "PingFangTC-Light", "PingFangTC-Medium", "PingFangTC-Regular", "PingFangTC-Semibold", "PingFangTC-Thin", "PingFangTC-Ultralight", "Savoye LET", "SavoyeLetPlain", "Sinhala Sangam MN", "SinhalaSangamMN", "SinhalaSangamMN-Bold", "Snell Roundhand", "SnellRoundhand-Black", "SnellRoundhand-Bold", "Symbol", "Tamil Sangam MN", "TamilSangamMN-Bold", "Telugu Sangam MN", "Thonburi", "Thonburi-Bold", "Thonburi-Light", "Times New Roman", "TimesNewRomanPS-BoldItalicMT", "TimesNewRomanPS-BoldMT", "TimesNewRomanPS-ItalicMT", "TimesNewRomanPSMT", "Trebuchet MS", "Trebuchet-BoldItalic", "TrebuchetMS-Bold", "TrebuchetMS-Italic", "Verdana", "Verdana-Bold", "Verdana-BoldItalic", "Verdana-Italic", "Zapf Dingbats", "ZapfDingbatsITC", "Zapfino"], android: ["normal", "notoserif", "sans-serif", "sans-serif-light", "sans-serif-thin", "sans-serif-condensed", "sans-serif-medium", "serif", "Roboto", "monospace"] }; -},533,[3,22,270,6,7,18,439,440,490,471,534]); +},547,[3,22,270,6,7,18,439,440,504,471,548]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var _require = _$$_REQUIRE(_dependencyMap[0]), NativeModules = _require.NativeModules; @@ -83016,7 +83311,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e loadFonts: loadFonts, loadFontFromFile: loadFontFromFile }; -},534,[18]); +},548,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -83092,12 +83387,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e this.watcherId = -1; Location.init(); }); -},535,[3,270,6,7,536,439]); +},549,[3,270,6,7,550,439]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var _implementation = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); module.exports = _implementation.default; -},536,[3,537]); +},550,[3,551]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); @@ -83190,7 +83485,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }; module.exports = Geolocation; -},537,[3,270,538,539]); +},551,[3,270,552,553]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var _reactNative = _$$_REQUIRE(_dependencyMap[0]); @@ -83213,7 +83508,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }; -},538,[18]); +},552,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var logError = function logError() { if (arguments.length === 1 && (arguments.length <= 0 ? undefined : arguments[0]) instanceof Error) { @@ -83232,7 +83527,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e logError: logError, warning: warning }; -},539,[]); +},553,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -83371,7 +83666,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); LongTimer._THRESHOLD = 60000; -},540,[3,270,6,7,479]); +},554,[3,270,6,7,479]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -83566,7 +83861,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e effectiveType: "unknown" }; NetworkUtils.IP = "n/a"; -},541,[3,270,6,7,542]); +},555,[3,270,6,7,556]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -83574,24 +83869,32 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _exportNames = { configure: true, fetch: true, + refresh: true, addEventListener: true, - useNetInfo: true + useNetInfo: true, + useNetInfoInstance: true }; exports.addEventListener = addEventListener; exports.configure = configure; exports.default = undefined; exports.fetch = fetch; + exports.refresh = refresh; exports.useNetInfo = useNetInfo; + exports.useNetInfoInstance = useNetInfoInstance; var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _react = _$$_REQUIRE(_dependencyMap[2]); - var _defaultConfiguration = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + var _reactNative = _$$_REQUIRE(_dependencyMap[3]); - var _state2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + var _defaultConfiguration = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - var Types = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[5])); + var _nativeInterface = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _state2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var Types = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[7])); Object.keys(Types).forEach(function (key) { if (key === "default" || key === "__esModule") return; @@ -83616,6 +83919,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return new _state2.default(_configuration); }; + var isRequestInProgress = false; + var requestQueue = []; + function configure(configuration) { _configuration = Object.assign({}, _defaultConfiguration.default, configuration); @@ -83624,6 +83930,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _state = createState(); } + + if (_reactNative.Platform.OS === 'ios') { + _nativeInterface.default.configure(configuration); + } } function fetch(requestedInterface) { @@ -83634,6 +83944,29 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return _state.latest(requestedInterface); } + function refresh() { + if (!_state) { + _state = createState(); + } + + if (isRequestInProgress) { + return new Promise(function (resolve) { + requestQueue.push(resolve); + }); + } + + isRequestInProgress = true; + return _state._fetchCurrentState().then(function (result) { + requestQueue.forEach(function (resolve) { + return resolve(result); + }); + requestQueue = []; + return result; + }).finally(function () { + isRequestInProgress = false; + }); + } + function addEventListener(listener) { if (!_state) { _state = createState(); @@ -83653,8 +83986,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _useState = (0, _react.useState)({ type: Types.NetInfoStateType.unknown, - isConnected: false, - isInternetReachable: false, + isConnected: null, + isInternetReachable: null, details: null }), _useState2 = (0, _slicedToArray2.default)(_useState, 2), @@ -83662,34 +83995,132 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e setNetInfo = _useState2[1]; (0, _react.useEffect)(function () { - return addEventListener(setNetInfo); + var unsubscribe = addEventListener(setNetInfo); + return function () { + return unsubscribe(); + }; }, []); return netInfo; } + function useNetInfoInstance() { + var isPaused = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + var configuration = arguments.length > 1 ? arguments[1] : undefined; + + var _useState3 = (0, _react.useState)(), + _useState4 = (0, _slicedToArray2.default)(_useState3, 2), + networkInfoManager = _useState4[0], + setNetworkInfoManager = _useState4[1]; + + var _useState5 = (0, _react.useState)({ + type: Types.NetInfoStateType.unknown, + isConnected: null, + isInternetReachable: null, + details: null + }), + _useState6 = (0, _slicedToArray2.default)(_useState5, 2), + netInfo = _useState6[0], + setNetInfo = _useState6[1]; + + (0, _react.useEffect)(function () { + if (isPaused) { + return; + } + + var config = Object.assign({}, _defaultConfiguration.default, configuration); + var state = new _state2.default(config); + setNetworkInfoManager(state); + state.add(setNetInfo); + return state.tearDown; + }, [isPaused, configuration]); + var refresh = (0, _react.useCallback)(function () { + if (networkInfoManager && !isRequestInProgress) { + isRequestInProgress = true; + + networkInfoManager._fetchCurrentState().finally(function () { + isRequestInProgress = false; + }); + } + }, [networkInfoManager]); + return { + netInfo: netInfo, + refresh: refresh + }; + } + var _default = exports.default = { configure: configure, fetch: fetch, + refresh: refresh, addEventListener: addEventListener, - useNetInfo: useNetInfo + useNetInfo: useNetInfo, + useNetInfoInstance: useNetInfoInstance }; -},542,[3,33,16,543,544,549]); +},556,[3,33,16,18,557,558,560,563]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + var DEFAULT_CONFIGURATION = { + reachabilityUrl: 'https://clients3.google.com/generate_204', + reachabilityMethod: 'HEAD', + reachabilityHeaders: {}, + reachabilityTest: function reachabilityTest(response) { + return Promise.resolve(response.status === 204); + }, + reachabilityShortTimeout: 5000, + reachabilityLongTimeout: 60000, + reachabilityRequestTimeout: 15000, + reachabilityShouldRun: function reachabilityShouldRun() { + return true; + }, + shouldFetchWiFiSSID: false, + useNativeReachability: true + }; + + var _default = exports.default = DEFAULT_CONFIGURATION; +},557,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true }); exports.default = undefined; - var _default = exports.default = { - reachabilityUrl: 'https://clients3.google.com/generate_204', - reachabilityTest: function reachabilityTest(response) { - return Promise.resolve(response.status === 204); - }, - reachabilityShortTimeout: 5000, - reachabilityLongTimeout: 60000, - reachabilityRequestTimeout: 15000 - }; -},543,[]); + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var _nativeModule = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2])); + + if (!_nativeModule.default) { + throw new Error("@react-native-community/netinfo: NativeModule.RNCNetInfo is null. To fix this issue try these steps:\n\n\u2022 Run `react-native link @react-native-community/netinfo` in the project root.\n\u2022 Rebuild and re-run the app.\n\u2022 If you are using CocoaPods on iOS, run `pod install` in the `ios` directory and then rebuild and re-run the app. You may also need to re-open Xcode to get the new pods.\n\u2022 Check that the library was linked correctly when you used the link command by running through the manual installation instructions in the README.\n* If you are getting this error while unit testing you need to mock the native module. Follow the guide in the README.\n\nIf none of these fix the issue, please open an issue on the Github repository: https://github.com/react-native-community/react-native-netinfo"); + } + + var nativeEventEmitter = null; + var nativeInterface = Object.assign(_nativeModule.default, { + get eventEmitter() { + if (!nativeEventEmitter) { + nativeEventEmitter = new _reactNative.NativeEventEmitter(_nativeModule.default); + } + + return nativeEventEmitter; + } + + }); + + var _default = exports.default = nativeInterface; +},558,[18,3,559]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var RNCNetInfo = _reactNative.NativeModules.RNCNetInfo; + + var _default = exports.default = RNCNetInfo; +},559,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -83757,6 +84188,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e if (!requestedInterface) { _this._latestState = convertedState; + + _this._subscriptions.forEach(function (handler) { + return handler(convertedState); + }); } return convertedState; @@ -83818,46 +84253,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e this._fetchCurrentState(); }); -},544,[3,270,7,6,545,547,548]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var _nativeModule = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2])); - - if (!_nativeModule.default) { - throw new Error("@react-native-community/netinfo: NativeModule.RNCNetInfo is null. To fix this issue try these steps:\n\n\u2022 Run `react-native link @react-native-community/netinfo` in the project root.\n\u2022 Rebuild and re-run the app.\n\u2022 If you are using CocoaPods on iOS, run `pod install` in the `ios` directory and then rebuild and re-run the app. You may also need to re-open Xcode to get the new pods.\n\u2022 Check that the library was linked correctly when you used the link command by running through the manual installation instructions in the README.\n* If you are getting this error while unit testing you need to mock the native module. Follow the guide in the README.\n\nIf none of these fix the issue, please open an issue on the Github repository: https://github.com/react-native-community/react-native-netinfo"); - } - - var nativeEventEmitter = null; - - var _default = exports.default = Object.assign({}, _nativeModule.default, { - get eventEmitter() { - if (!nativeEventEmitter) { - nativeEventEmitter = new _reactNative.NativeEventEmitter(_nativeModule.default); - } - - return nativeEventEmitter; - } - - }); -},545,[18,3,546]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var RNCNetInfo = _reactNative.NativeModules.RNCNetInfo; - - var _default = exports.default = RNCNetInfo; -},546,[18]); +},560,[3,270,7,6,558,561,562]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -83898,7 +84294,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _this._currentTimeoutHandle = null; } - if (expectsConnection) { + if (expectsConnection && _this._configuration.reachabilityShouldRun()) { if (!_this._isInternetReachable) { _this._setIsInternetReachable(null); } @@ -83910,9 +84306,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; this._checkInternetReachability = function () { + var controller = new AbortController(); var responsePromise = fetch(_this._configuration.reachabilityUrl, { - method: 'HEAD', - cache: 'no-cache' + headers: _this._configuration.reachabilityHeaders, + method: _this._configuration.reachabilityMethod, + cache: 'no-cache', + signal: controller.signal }); var timeoutHandle; var timeoutPromise = new Promise(function (_, reject) { @@ -83936,7 +84335,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var nextTimeoutInterval = _this._isInternetReachable ? _this._configuration.reachabilityLongTimeout : _this._configuration.reachabilityShortTimeout; _this._currentTimeoutHandle = setTimeout(_this._checkInternetReachability, nextTimeoutInterval); }).catch(function (error) { - if (error !== 'canceled') { + if ('canceled' === error) { + controller.abort(); + } else { + if ('timedout' === error) { + controller.abort(); + } + _this._setIsInternetReachable(false); _this._currentTimeoutHandle = setTimeout(_this._checkInternetReachability, _this._configuration.reachabilityShortTimeout); @@ -83954,7 +84359,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; this.update = function (state) { - if (typeof state.isInternetReachable === 'boolean') { + if (typeof state.isInternetReachable === 'boolean' && _this._configuration.useNativeReachability) { _this._setIsInternetReachable(state.isInternetReachable); } else { _this._setExpectsConnection(state.isConnected); @@ -83981,14 +84386,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e this._configuration = configuration; this._listener = listener; }); -},547,[3,7,6]); +},561,[3,7,6]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true }); exports.DEVICE_CONNECTIVITY_EVENT = undefined; var DEVICE_CONNECTIVITY_EVENT = exports.DEVICE_CONNECTIVITY_EVENT = 'netInfo.networkStatusDidChange'; -},548,[]); +},562,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -84012,9 +84417,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e NetInfoCellularGeneration["2g"] = "2g"; NetInfoCellularGeneration["3g"] = "3g"; NetInfoCellularGeneration["4g"] = "4g"; + NetInfoCellularGeneration["5g"] = "5g"; return NetInfoCellularGeneration; }({}); -},549,[]); +},563,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -84113,7 +84519,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e count: 0, refs: {} }; -},550,[3,6,7,551]); +},564,[3,6,7,565]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global.typeDetect = factory(); @@ -84259,7 +84665,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return typeDetect; }); -},551,[]); +},565,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -84460,7 +84866,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(_$$_REQUIRE(_dependencyMap[10]).FileUtils); -},552,[3,270,6,7,11,13,14,18,553,434,438,565]); +},566,[3,270,6,7,11,13,14,18,567,434,438,579]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -84618,7 +85024,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = RNShare; -},553,[554,3,270,555,556,557,558,559,560,563,561]); +},567,[568,3,270,569,570,571,572,573,574,577,575]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -84654,7 +85060,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e ShareAsset["BackgroundAndStickerImage"] = "shareBackgroundAndStickerImage"; return ShareAsset; }({}); -},554,[]); +},568,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -84664,7 +85070,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _reactNative = _$$_REQUIRE(_dependencyMap[0]); var _default = exports.default = _reactNative.TurboModuleRegistry.getEnforcing('RNShare'); -},555,[18]); +},569,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -84738,7 +85144,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = Overlay; -},556,[3,33,16,18,179]); +},570,[3,33,16,18,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -84782,7 +85188,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = Sheet; -},557,[3,33,16,18,179]); +},571,[3,33,16,18,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -84840,7 +85246,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e width: 28 } }); -},558,[16,18,179]); +},572,[16,18,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -84920,7 +85326,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = exports.default = ShareSheet; -},559,[16,18,3,556,557,179]); +},573,[16,18,3,570,571,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -84947,7 +85353,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return _checkPermissions.apply(this, arguments); } -},560,[3,270,561,562]); +},574,[3,270,575,576]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -84970,7 +85376,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var version = _reactNative.Platform.Version; return typeof version === 'string' ? parseInt(version, 10) : version; } -},561,[18]); +},575,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -85023,7 +85429,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function isAndroidVersionAtLeastKitKat() { return (0, _$$_REQUIRE(_dependencyMap[4]).getAndroidVersion)() >= 19; } -},562,[3,270,18,555,561]); +},576,[3,270,18,569,575]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -85058,14 +85464,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e if (options.url) options.urls = [options.url]; return options; } -},563,[3,564,561]); +},577,[3,578,575]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); } module.exports = _objectDestructuringEmpty, module.exports.__esModule = true, module.exports["default"] = module.exports; -},564,[]); +},578,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -85096,7 +85502,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _OurNativeBridge = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[3])); var _RNEventEmitter = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[4])); -},565,[18,3,566,567,571]); +},579,[18,3,580,581,585]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -85222,7 +85628,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},566,[3,270,6,7,18]); +},580,[3,270,6,7,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -85546,12 +85952,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e focusableInTouchMode: true, focusable: true }; -},567,[3,270,6,7,18,568,438]); +},581,[3,270,6,7,18,582,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { { module.exports = _$$_REQUIRE(_dependencyMap[0])(); } -},568,[569]); +},582,[583]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -85605,13 +86011,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e ReactPropTypes.PropTypes = ReactPropTypes; return ReactPropTypes; }; -},569,[570]); +},583,[584]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; module.exports = ReactPropTypesSecret; -},570,[]); +},584,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -85664,7 +86070,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e RNEventEmitter.ON_KEY_DOWN = "onKeyDown"; RNEventEmitter.ON_KEY_UP = "onKeyUp"; RNEventEmitter.ON_USER_INTERACT = "onUserInteract"; -},571,[3,6,7,18]); +},585,[3,6,7,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -86318,7 +86724,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},572,[3,270,6,7,11,13,14,61,407,552,573,574,438]); +},586,[3,270,6,7,11,13,14,61,407,566,587,588,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -86547,7 +86953,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},573,[3,6,7]); +},587,[3,6,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -86998,7 +87404,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = TecnaviaImage; -},574,[3,33,4,270,575,568,16,18,576,578,579,552,603,438,565,179]); +},588,[3,33,4,270,589,582,16,18,590,592,593,566,617,438,579,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -87027,7 +87433,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); var _default = exports.default = ImageEditor; -},575,[3,6,7,18]); +},589,[3,6,7,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -87158,7 +87564,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); module.exports = FastImage; -},576,[16,18,577,4]); +},590,[16,18,591,4]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function _extends() { module.exports = _extends = Object.assign ? Object.assign.bind() : function (target) { @@ -87178,7 +87584,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports; -},577,[]); +},591,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -87462,7 +87868,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = createImageProgress(_reactNative.Image); -},578,[3,4,6,7,11,13,14,16,568,18,179]); +},592,[3,4,6,7,11,13,14,16,582,18,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -87472,7 +87878,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _PhotoView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = _PhotoView.default; -},579,[3,580]); +},593,[3,594]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -87609,7 +88015,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }; var PhotoViewAndroid = (0, _reactNative.requireNativeComponent)('PhotoViewAndroid', PhotoView, cfg); -},580,[3,4,6,7,11,13,14,568,16,18,179,581]); +},594,[3,4,6,7,11,13,14,582,16,18,179,595]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -87643,7 +88049,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }; -},581,[582,584,588,599,600,601,589]); +},595,[596,598,602,613,614,615,603]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -87670,7 +88076,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var ColorPropType = colorPropType.bind(null, false); ColorPropType.isRequired = colorPropType.bind(null, true); module.exports = ColorPropType; -},582,[583]); +},596,[597]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88339,7 +88745,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = normalizeColor; -},583,[]); +},597,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88351,12 +88757,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); module.exports = DeprecatedEdgeInsetsPropType; -},584,[585]); +},598,[599]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { { module.exports = _$$_REQUIRE(_dependencyMap[0])(); } -},585,[586]); +},599,[600]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88411,13 +88817,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e ReactPropTypes.PropTypes = ReactPropTypes; return ReactPropTypes; }; -},586,[587]); +},600,[601]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; module.exports = ReactPropTypesSecret; -},587,[]); +},601,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88452,7 +88858,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e width: _$$_REQUIRE(_dependencyMap[1]).number }); module.exports = DeprecatedImagePropType; -},588,[589,585,584,597,591,598,582]); +},602,[603,599,598,611,605,612,596]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88560,7 +88966,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e testID: _$$_REQUIRE(_dependencyMap[0]).string }); module.exports = DeprecatedViewPropTypes; -},589,[585,590,584,591,593]); +},603,[599,604,598,605,607]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88572,7 +88978,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e RolePropType: _$$_REQUIRE(_dependencyMap[0]).oneOf(['alert', 'alertdialog', 'application', 'article', 'banner', 'button', 'cell', 'checkbox', 'columnheader', 'combobox', 'complementary', 'contentinfo', 'definition', 'dialog', 'directory', 'document', 'feed', 'figure', 'form', 'grid', 'group', 'heading', 'img', 'link', 'list', 'listitem', 'log', 'main', 'marquee', 'math', 'menu', 'menubar', 'menuitem', 'meter', 'navigation', 'none', 'note', 'option', 'presentation', 'progressbar', 'radio', 'radiogroup', 'region', 'row', 'rowgroup', 'rowheader', 'scrollbar', 'searchbox', 'separator', 'slider', 'spinbutton', 'status', 'summary', 'switch', 'tab', 'table', 'tablist', 'tabpanel', 'term', 'timer', 'toolbar', 'tooltip', 'tree', 'treegrid', 'treeitem']) }; module.exports = DeprecatedViewAccessibility; -},590,[585]); +},604,[599]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88620,7 +89026,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = DeprecatedStyleSheetPropType; -},591,[592]); +},605,[606]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88676,7 +89082,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = deprecatedCreateStrictShapeTypeChecker; -},592,[31]); +},606,[31]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88715,7 +89121,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e pointerEvents: _$$_REQUIRE(_dependencyMap[3]).oneOf(['auto', 'box-none', 'box-only', 'none']) }); module.exports = DeprecatedViewStylePropTypes; -},593,[594,595,596,585,582]); +},607,[608,609,610,599,596]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88799,7 +89205,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e zIndex: _$$_REQUIRE(_dependencyMap[0]).number }; module.exports = DeprecatedLayoutPropTypes; -},594,[585]); +},608,[599]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88813,7 +89219,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e shadowRadius: _$$_REQUIRE(_dependencyMap[1]).number }; module.exports = DeprecatedShadowPropTypesIOS; -},595,[582,585]); +},609,[596,599]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88845,7 +89251,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e })])) }; module.exports = DeprecatedTransformPropTypes; -},596,[585]); +},610,[599]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88864,7 +89270,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var ImageSourcePropType = _$$_REQUIRE(_dependencyMap[0]).oneOfType([ImageURISourcePropType, _$$_REQUIRE(_dependencyMap[0]).number, _$$_REQUIRE(_dependencyMap[0]).arrayOf(ImageURISourcePropType)]); module.exports = ImageSourcePropType; -},597,[585]); +},611,[599]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88886,7 +89292,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e resizeMode: _$$_REQUIRE(_dependencyMap[3]).oneOf(['center', 'contain', 'cover', 'repeat', 'stretch']) }); module.exports = DeprecatedImageStylePropTypes; -},598,[594,595,596,585,582]); +},612,[608,609,610,599,596]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88896,7 +89302,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); module.exports = PointPropType; -},599,[585]); +},613,[599]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -88967,7 +89373,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e value: _$$_REQUIRE(_dependencyMap[1]).string }); module.exports = DeprecatedTextInputPropTypes; -},600,[589,585,582,601]); +},614,[603,599,596,615]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -89022,7 +89428,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e textBreakStrategy: _$$_REQUIRE(_dependencyMap[0]).oneOf(['balanced', 'highQuality', 'simple']) }; module.exports = DeprecatedTextPropTypes; -},601,[585,590,584,582,591,602]); +},615,[599,604,598,596,605,616]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -89053,7 +89459,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e writingDirection: _$$_REQUIRE(_dependencyMap[2]).oneOf(['auto', 'ltr', 'rtl']) }); module.exports = DeprecatedTextStylePropTypes; -},602,[593,582,585]); +},616,[607,596,599]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -89149,7 +89555,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } var _default = exports.default = TecnaviaImageFilters; -},603,[3,22,4,240,16,604,438,179]); +},617,[3,22,4,240,16,618,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -89258,7 +89664,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var tritanopia = exports.tritanopia = _rnColorMatrices.default.tritanopia; var vintage = exports.vintage = _rnColorMatrices.default.vintage; var warm = exports.warm = _rnColorMatrices.default.warm; -},604,[605,3,606,608]); +},618,[619,3,620,622]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -89288,7 +89694,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _invariant.default)(Array.isArray(matrices) && matrices.length > 0, "Matrices should be an array of non zero length."); return matrices.reduce(concatTwoColorMatrices); }; -},605,[3,31]); +},619,[3,31]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -89498,14 +89904,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return staticFilters.achromatomaly; } }; -},606,[3,33,18,607]); +},620,[3,33,18,621]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = clamp; function clamp(value, min, max) { return min < max ? value < min ? min : value > max ? max : value : value < max ? max : value > min ? min : value; } -},607,[]); +},621,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -89814,7 +90220,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e ref: ref }, props)); }); -},608,[3,4,16,606,609,179]); +},622,[3,4,16,620,623,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -89839,7 +90245,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e ref: ref })); }); -},609,[3,4,16,610,611,179]); +},623,[3,4,16,624,625,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -89849,7 +90255,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('CMIFColorMatrixImageFilter'); -},610,[3,183]); +},624,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -89874,7 +90280,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _tsTinyInvariant.default)((0, _reactNative.processColor)(backgroundColor) !== 0, "ImageFilter: Can't use '" + String(backgroundColor) + "' backgroundColor," + " consider using '#fff0' instead."); } }; -},611,[18,3,612]); +},625,[18,3,626]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -89890,7 +90296,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e throw new Error(prefix); } -},612,[]); +},626,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -90860,7 +91266,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},613,[3,22,4,270,224,33,7,6,614,643,622,648,649,650,651,573,654,434,438,656,798,803]); +},627,[3,22,4,270,224,33,7,6,628,657,636,662,663,664,665,587,668,434,438,670,812,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -90875,7 +91281,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e })(this, function (CryptoJS) { return CryptoJS; }); -},614,[615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643,644,645,646,647]); +},628,[629,630,631,632,633,634,635,636,637,638,639,640,641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656,657,658,659,660,661]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -91175,7 +91581,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS; }); -},615,[]); +},629,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -91239,7 +91645,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS; }); -},616,[615]); +},630,[629]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -91290,7 +91696,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.lib.WordArray; }); -},617,[615]); +},631,[629]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -91364,7 +91770,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.enc.Utf16; }); -},618,[615]); +},632,[629]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -91458,7 +91864,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.enc.Base64; }); -},619,[615]); +},633,[629]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -91643,7 +92049,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.MD5; }); -},620,[615]); +},634,[629]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -91734,7 +92140,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.SHA1; }); -},621,[615]); +},635,[629]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -91868,7 +92274,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.SHA256; }); -},622,[615]); +},636,[629]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -91904,7 +92310,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.SHA224; }); -},623,[615,622]); +},637,[629,636]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -92104,7 +92510,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.SHA512; }); -},624,[615,616]); +},638,[629,630]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -92141,7 +92547,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.SHA384; }); -},625,[615,616,624]); +},639,[629,630,638]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -92368,7 +92774,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.SHA3; }); -},626,[615,616]); +},640,[629,630]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -92546,7 +92952,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.RIPEMD160; }); -},627,[615]); +},641,[629]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -92615,7 +93021,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); })(); }); -},628,[615]); +},642,[629]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -92688,7 +93094,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.PBKDF2; }); -},629,[615,621,628]); +},643,[629,635,642]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -92753,7 +93159,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.EvpKDF; }); -},630,[615,621,628]); +},644,[629,635,642]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -93076,7 +93482,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); }(); }); -},631,[615,630]); +},645,[629,644]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -93131,7 +93537,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.mode.CFB; }); -},632,[615,631]); +},646,[629,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -93173,7 +93579,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.mode.CTR; }); -},633,[615,631]); +},647,[629,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -93264,7 +93670,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.mode.CTRGladman; }); -},634,[615,631]); +},648,[629,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -93304,7 +93710,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.mode.OFB; }); -},635,[615,631]); +},649,[629,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -93334,7 +93740,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.mode.ECB; }); -},636,[615,631]); +},650,[629,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -93364,7 +93770,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; return CryptoJS.pad.Ansix923; }); -},637,[615,631]); +},651,[629,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -93390,7 +93796,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; return CryptoJS.pad.Iso10126; }); -},638,[615,631]); +},652,[629,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -93415,7 +93821,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; return CryptoJS.pad.Iso97971; }); -},639,[615,631]); +},653,[629,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -93447,7 +93853,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; return CryptoJS.pad.ZeroPadding; }); -},640,[615,631]); +},654,[629,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -93466,7 +93872,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; return CryptoJS.pad.NoPadding; }); -},641,[615,631]); +},655,[629,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -93501,7 +93907,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.format.Hex; }); -},642,[615,631]); +},656,[629,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -93671,7 +94077,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.AES; }); -},643,[615,619,620,630,631]); +},657,[629,633,634,644,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -94341,7 +94747,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.TripleDES; }); -},644,[615,619,620,630,631]); +},658,[629,633,634,644,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -94426,7 +94832,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.RC4; }); -},645,[615,619,620,630,631]); +},659,[629,633,634,644,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -94549,7 +94955,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.Rabbit; }); -},646,[615,619,620,630,631]); +},660,[629,633,634,644,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -94667,7 +95073,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return CryptoJS.RabbitLegacy; }); -},647,[615,619,620,630,631]); +},661,[629,633,634,644,645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -94730,7 +95136,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},648,[3,6,7]); +},662,[3,6,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -94909,7 +95315,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},649,[3,6,7,438]); +},663,[3,6,7,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -95284,7 +95690,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},650,[3,6,7,651,654,652]); +},664,[3,6,7,665,668,666]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -95572,7 +95978,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},651,[3,6,7,648,649,652,653,438]); +},665,[3,6,7,662,663,666,667,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -95716,7 +96122,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},652,[3,6,7]); +},666,[3,6,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -95773,7 +96179,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},653,[3,6,7]); +},667,[3,6,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -96151,7 +96557,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},654,[3,6,7,655,651,573,649,438]); +},668,[3,6,7,669,665,587,663,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -96285,7 +96691,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},655,[3,6,7,438]); +},669,[3,6,7,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -96426,7 +96832,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return pages; } -},656,[657,438]); +},670,[671,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -96470,7 +96876,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } var _default = exports.default = Animated; -},657,[658,3,748,730,749]); +},671,[672,3,762,744,763]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -96557,7 +96963,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},658,[659,3,671,725,726,727,728,729,730]); +},672,[673,3,685,739,740,741,742,743,744]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -96699,7 +97105,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } configureProps(); -},659,[660]); +},673,[674]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -96733,7 +97139,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function _f(){}"; _f.__workletHash = 16394749715515; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (40:48)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (40:48)"; return _f; }(); @@ -96785,7 +97191,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function requestFrame(frame){const{NativeReanimatedModule,pushFrame}=jsThis._closure;{if(NativeReanimatedModule.native){requestAnimationFrame(frame);}else{pushFrame(frame);}}}"; _f.__workletHash = 12115854397223; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (76:7)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (76:7)"; return _f; }(); @@ -96837,7 +97243,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function _f(){if(_frameTimestamp){return _frameTimestamp;}if(_eventTimestamp){return _eventTimestamp;}return _getCurrentTime();}"; _f.__workletHash = 7105333655134; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (123:18)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (123:18)"; return _f; }(); } @@ -96862,7 +97268,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function getTimestamp(){const{Platform,NativeReanimatedModule,_getTimestamp}=jsThis._closure;{if(Platform.OS==='web'){return NativeReanimatedModule.getTimestamp();}return _getTimestamp();}}"; _f.__workletHash = 16781279444967; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (135:7)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (135:7)"; return _f; }(); @@ -96930,7 +97336,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.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;}}}"; _f.__workletHash = 16934339415702; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (143:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (143:0)"; return _f; }(); @@ -97020,7 +97426,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.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;}}"; _f.__workletHash = 6674264901856; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (302:7)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (302:7)"; return _f; }(); @@ -97053,7 +97459,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.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);}}"; _f.__workletHash = 12797137083328; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (326:10)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/core.ts (326:10)"; return _f; }())(); } @@ -97089,7 +97495,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function jestResetJsReanimatedModule() { _NativeReanimated.default.jestResetModule(); } -},660,[3,661,18,667]); +},674,[3,675,18,681]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -97107,7 +97513,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } var _default = exports.default = exportedModule; -},661,[3,662,667,668]); +},675,[3,676,681,682]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -97163,7 +97569,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = reanimatedJS; -},662,[3,33,663]); +},676,[3,33,677]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -97343,7 +97749,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e value: function unsubscribeFromKeyboardEvents(_) {} }]); }(_$$_REQUIRE(_dependencyMap[11]).NativeReanimated); -},663,[3,22,6,7,11,13,14,664,665,666,667,668]); +},677,[3,22,6,7,11,13,14,678,679,680,681,682]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -97491,7 +97897,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e this.mapper = mapper; this.children = children; }); -},664,[3,33,22,6,7]); +},678,[3,33,22,6,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -97559,7 +97965,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); Mapper.MAPPER_ID = 1; -},665,[3,6,7,666]); +},679,[3,6,7,680]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -97611,7 +98017,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); MutableValue.MUTABLE_ID = 1; -},666,[3,6,7]); +},680,[3,6,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -97643,7 +98049,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function nativeShouldBeMock() { return isJest() || isChromeDebugger(); } -},667,[18]); +},681,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -97756,7 +98162,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},668,[3,6,7,18,669]); +},682,[3,6,7,18,683]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -97795,7 +98201,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e console.error("[Reanimated] Mismatch between JavaScript part and native part of Reanimated (" + _$$_REQUIRE(_dependencyMap[2]).version + " vs. " + cppVersion + "). Did you forget to re-build the app after upgrading react-native-reanimated? If you use Expo Go, you must downgrade to " + cppVersion + " which is bundled into Expo SDK."); } } -},669,[3,33,670]); +},683,[3,33,684]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "@react-native-community/bob": { @@ -97809,7 +98215,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "_args": [ [ "react-native-reanimated@2.17.0", - "/Users/ipaddev/sdk/3.16.13.rc" + "/Users/ipaddev/sdk/3.16.14.rc" ] ], "_from": "react-native-reanimated@2.17.0", @@ -97833,7 +98239,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex ], "_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", + "_where": "/Users/ipaddev/sdk/3.16.14.rc", "author": { "name": "Krzysztof Magiera", "email": "krzys.magiera@gmail.com" @@ -97993,7 +98399,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "version": "2.17.0" } ; -},670,[]); +},684,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -98180,7 +98586,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(){const{tag,config}=jsThis._closure;{global.LayoutAnimationRepository.registerConfig(tag,config);}}"; _f.__workletHash = 5455589887771; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/createAnimatedComponent.tsx (575:18)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/createAnimatedComponent.tsx (575:18)"; return _f; }())(); } @@ -98592,7 +98998,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e })); }); } -},671,[3,6,7,11,13,14,16,18,672,675,676,677,694,695,696,31,667,660,712,713,717,659,718,179]); +},685,[3,6,7,11,13,14,16,18,686,689,690,691,708,709,710,31,681,674,726,727,731,673,732,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -98604,7 +99010,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _reactNative = _$$_REQUIRE(_dependencyMap[2]); var _default = exports.default = new _reactNative.NativeEventEmitter(_ReanimatedModule.default); -},672,[3,673,18]); +},686,[3,687,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -98625,7 +99031,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } var _default = exports.default = exportedModule; -},673,[18,3,674,667]); +},687,[18,3,688,681]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -98737,7 +99143,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return animateNextTransition; }() }; -},674,[3,270]); +},688,[3,270]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -98902,7 +99308,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function createAnimatedEvent(argMapping, config) { return new AnimatedEvent(argMapping, config); } -},675,[3,6,7,11,13,14,18,673,676,677,31,693,692]); +},689,[3,6,7,11,13,14,18,687,690,691,31,707,706]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -99173,7 +99579,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},676,[3,6,7,673,18]); +},690,[3,6,7,687,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -99236,7 +99642,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_InternalAnimatedValue.default); -},677,[3,6,7,11,13,14,678,683,18,673,680,689,691]); +},691,[3,6,7,11,13,14,692,697,18,687,694,703,705]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -99346,7 +99752,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return output; } -},678,[3,33,31,676,679,686,688]); +},692,[3,33,31,690,693,700,702]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -99430,7 +99836,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return (0, _$$_REQUIRE(_dependencyMap[11]).createAnimatedCallFunc)(func, args, params); }; } -},679,[3,63,6,7,11,13,14,676,31,680,681,684]); +},693,[3,63,6,7,11,13,14,690,31,694,695,698]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -99440,7 +99846,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function val(v) { return v && v.__getValue ? v.__getValue() : v || 0; } -},680,[]); +},694,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -99566,7 +99972,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function createAnimatedParam() { return new AnimatedParam(); } -},681,[3,6,7,11,13,14,31,676,682,680]); +},695,[3,6,7,11,13,14,31,690,696,694]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -99708,7 +100114,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_AnimatedNode2.default); -},682,[3,6,7,11,85,13,14,683,676,680]); +},696,[3,6,7,11,85,13,14,697,690,694]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -99837,7 +100243,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_AnimatedNode2.default); -},683,[3,6,7,11,85,13,14,676,673,31,680]); +},697,[3,6,7,11,85,13,14,690,687,31,694]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -99935,7 +100341,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return (0, _$$_REQUIRE(_dependencyMap[10]).adapt)(p); }), params); } -},684,[3,22,6,7,11,13,14,676,31,680,685]); +},698,[3,22,6,7,11,13,14,690,31,694,699]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -100020,7 +100426,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return adapt(node); })) : nodify(v); } -},685,[3,6,7,11,13,14,31,676,683,680]); +},699,[3,6,7,11,13,14,31,690,697,694]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -100088,7 +100494,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var max = exports.max = _$$_REQUIRE(_dependencyMap[0]).createAnimatedOperator('max'); var min = exports.min = _$$_REQUIRE(_dependencyMap[0]).createAnimatedOperator('min'); -},686,[687]); +},700,[701]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -100284,7 +100690,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return new AnimatedOperator(name, args.map(_$$_REQUIRE(_dependencyMap[9]).adapt)); }; } -},687,[3,6,7,11,13,14,676,31,680,685]); +},701,[3,6,7,11,13,14,690,31,694,699]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -100350,7 +100756,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function createAnimatedCond(cond, ifBlock, elseBlock) { return new AnimatedCond((0, _$$_REQUIRE(_dependencyMap[9]).adapt)(cond), (0, _$$_REQUIRE(_dependencyMap[9]).adapt)(ifBlock), elseBlock === undefined ? undefined : (0, _$$_REQUIRE(_dependencyMap[9]).adapt)(elseBlock)); } -},688,[3,6,7,11,13,14,31,676,680,685]); +},702,[3,6,7,11,13,14,31,690,694,699]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -100385,7 +100791,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e alwaysNode.__attach(); } } -},689,[3,683,688,690,691,692]); +},703,[3,697,702,704,705,706]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -100478,7 +100884,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function createAnimatedCall(args, func) { return new AnimatedCall(args, func); } -},690,[3,6,7,11,85,13,14,31,672,676,680]); +},704,[3,6,7,11,85,13,14,31,686,690,694]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -100542,7 +100948,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function createAnimatedSet(what, value) { return new AnimatedSet(what, (0, _$$_REQUIRE(_dependencyMap[9]).adapt)(value)); } -},691,[3,6,7,11,13,14,676,31,680,685]); +},705,[3,6,7,11,13,14,690,31,694,699]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -100604,7 +101010,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function createAnimatedAlways(item) { return new AnimatedAlways(item); } -},692,[3,6,7,11,13,14,676,31,680]); +},706,[3,6,7,11,13,14,690,31,694]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -100672,7 +101078,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return nodesMap; } -},693,[]); +},707,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -100742,7 +101148,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},694,[3,6,7,661]); +},708,[3,6,7,675]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -100765,7 +101171,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } var _default = exports.default = setAndForwardRef; -},695,[]); +},709,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { (0, _$$_REQUIRE(_dependencyMap[0]).runOnUI)(function () { var _f = function _f() { @@ -100852,10 +101258,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.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);}};}}"; _f.__workletHash = 10033167792218; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/LayoutAnimationRepository.ts (7:8)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/LayoutAnimationRepository.ts (7:8)"; return _f; }())(); -},696,[660,697,698,699]); +},710,[674,711,712,713]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -100880,7 +101286,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(_,updates,maybeViewRef){const{_updatePropsJS}=jsThis._closure;{if(maybeViewRef){maybeViewRef.items.forEach(function(item,_){_updatePropsJS(updates,item);});}}}"; _f.__workletHash = 2597780801718; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/UpdateProps.ts (33:26)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/UpdateProps.ts (33:26)"; return _f; }(); } else { @@ -100903,7 +101309,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.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);});}}"; _f.__workletHash = 5208286904059; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/UpdateProps.ts (46:26)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/UpdateProps.ts (46:26)"; return _f; }(); } @@ -100919,7 +101325,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = updateProps; -},697,[660,667,662,698]); +},711,[674,681,676,712]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -100943,7 +101349,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function call(...args){return'\\\\(\\\\s*('+args.join(')\\\\s*,\\\\s*(')+')\\\\s*\\\\)';}"; _f.__workletHash = 17112204286815; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (29:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (29:0)"; return _f; }(); @@ -100977,7 +101383,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function getMatchers(){const{uiCachedMatchers,jsCachedMatchers,call,NUMBER,PERCENTAGE}=jsThis._closure;{const cachedMatchers=_WORKLET?uiCachedMatchers:jsCachedMatchers;if(cachedMatchers.rgb===undefined){cachedMatchers.rgb=new RegExp('rgb'+call(NUMBER,NUMBER,NUMBER));cachedMatchers.rgba=new RegExp('rgba'+call(NUMBER,NUMBER,NUMBER,NUMBER));cachedMatchers.hsl=new RegExp('hsl'+call(NUMBER,PERCENTAGE,PERCENTAGE));cachedMatchers.hsla=new RegExp('hsla'+call(NUMBER,PERCENTAGE,PERCENTAGE,NUMBER));cachedMatchers.hex3=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;cachedMatchers.hex4=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;cachedMatchers.hex6=/^#([0-9a-fA-F]{6})$/;cachedMatchers.hex8=/^#([0-9a-fA-F]{8})$/;}return cachedMatchers;}}"; _f.__workletHash = 11728480460328; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (50:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (50:0)"; return _f; }(); @@ -101011,7 +101417,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.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;}"; _f.__workletHash = 3618366985414; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (79:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (79:0)"; return _f; }(); @@ -101030,7 +101436,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.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;}}"; _f.__workletHash = 4500055963175; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (99:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (99:0)"; return _f; }(); @@ -101052,7 +101458,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function parse255(str){const int=Number.parseInt(str,10);if(int<0){return 0;}if(int>255){return 255;}return int;}"; _f.__workletHash = 7024550667346; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (114:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (114:0)"; return _f; }(); @@ -101065,7 +101471,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function parse360(str){const int=Number.parseFloat(str);return(int%360+360)%360/360;}"; _f.__workletHash = 6683812623228; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (126:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (126:0)"; return _f; }(); @@ -101087,7 +101493,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function parse1(str){const num=Number.parseFloat(str);if(num<0){return 0;}if(num>1){return 255;}return Math.round(num*255);}"; _f.__workletHash = 7197247664793; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (132:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (132:0)"; return _f; }(); @@ -101109,7 +101515,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function parsePercentage(str){const int=Number.parseFloat(str);if(int<0){return 0;}if(int>100){return 1;}return int/100;}"; _f.__workletHash = 8813932430184; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (144:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (144:0)"; return _f; }(); @@ -101335,7 +101741,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.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;}}"; _f.__workletHash = 10755688444334; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (314:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (314:0)"; return _f; }(); @@ -101347,7 +101753,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function _f(c){return(c>>24&255)/255;}"; _f.__workletHash = 14708696455524; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (426:23)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (426:23)"; return _f; }(); @@ -101359,7 +101765,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function _f(c){return c>>16&255;}"; _f.__workletHash = 12808130152281; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (431:19)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (431:19)"; return _f; }(); @@ -101371,7 +101777,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function _f(c){return c>>8&255;}"; _f.__workletHash = 3499836539046; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (436:21)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (436:21)"; return _f; }(); @@ -101383,7 +101789,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function _f(c){return c&255;}"; _f.__workletHash = 14770248723134; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (441:20)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (441:20)"; return _f; }(); @@ -101411,7 +101817,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.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;}}"; _f.__workletHash = 3685267134575; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (446:25)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (446:25)"; return _f; }(); @@ -101462,7 +101868,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function RGBtoHSV(r,g,b){if(arguments.length===1){g=r.g;b=r.b;r=r.r;}const max=Math.max(r,g,b);const min=Math.min(r,g,b);const d=max-min;const s=max===0?0:d/max;const v=max/255;let h;switch(max){default:case min:h=0;break;case r:h=g-b+d*(g0){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};}}"; _f.__workletHash = 16217306184372; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts (73:51)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts (73:51)"; return _f; }()); }; @@ -101918,10 +102324,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.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};});}}"; _f.__workletHash = 5859144058646; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts (69:7)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts (69:7)"; return _f; }(); -},699,[700,697,698,701]); +},713,[714,711,712,715]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -101970,7 +102376,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.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};}}"; _f.__workletHash = 10298453511432; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (45:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (45:0)"; return _f; }(); @@ -102123,7 +102529,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.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);};}}"; _f.__workletHash = 7767808760058; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (66:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (66:0)"; return _f; }(); @@ -102146,7 +102552,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(){const{factory,decorateAnimation}=jsThis._closure;{const animation=factory();decorateAnimation(animation);return animation;}}"; _f.__workletHash = 2441595458132; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (267:17)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (267:17)"; return _f; }(); @@ -102166,7 +102572,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.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;}}"; _f.__workletHash = 4939784890886; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (260:7)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (260:7)"; return _f; }(); @@ -102178,7 +102584,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function cancelAnimation(sharedValue){sharedValue.value=sharedValue.value;}"; _f.__workletHash = 15056882569526; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (281:7)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (281:7)"; return _f; }(); @@ -102200,7 +102606,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(){const{animation,startValue}=jsThis._closure;{if(!_WORKLET&&typeof animation==='function'){animation=animation();}animation.current=startValue;return animation;}}"; _f.__workletHash = 5374403234008; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (293:37)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (293:37)"; return _f; }()); }; @@ -102210,10 +102616,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.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;});}}"; _f.__workletHash = 5100017907325; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (288:7)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (288:7)"; return _f; }(); -},700,[3,661,698]); +},714,[3,675,712]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -102297,7 +102703,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.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};}}"; _f.__workletHash = 7771814081277; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/timing.ts (38:51)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/animation/timing.ts (38:51)"; return _f; }()); }; @@ -102311,10 +102717,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.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};});}}"; _f.__workletHash = 2875714024024; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/animation/timing.ts (31:7)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/animation/timing.ts (31:7)"; return _f; }(); -},701,[700,702]); +},715,[714,716]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -102331,7 +102737,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function linear(t){return t;}"; _f.__workletHash = 7988822508142; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (66:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (66:0)"; return _f; }(); @@ -102345,7 +102751,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function ease(t){const{Bezier}=jsThis._closure;{return Bezier(0.42,0,1,1)(t);}}"; _f.__workletHash = 13039945852153; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (77:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (77:0)"; return _f; }(); @@ -102357,7 +102763,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function quad(t){return t*t;}"; _f.__workletHash = 8628631460172; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (88:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (88:0)"; return _f; }(); @@ -102369,7 +102775,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function cubic(t){return t*t*t;}"; _f.__workletHash = 9374441307661; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (99:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (99:0)"; return _f; }(); @@ -102385,7 +102791,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(t){const{n}=jsThis._closure;{return Math.pow(t,n);}}"; _f.__workletHash = 1121339919789; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (112:9)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (112:9)"; return _f; }(); }; @@ -102393,7 +102799,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function poly(n){return function(t){'worklet';return Math.pow(t,n);};}"; _f.__workletHash = 16553371555377; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (110:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (110:0)"; return _f; }(); @@ -102405,7 +102811,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function sin(t){return 1-Math.cos(t*Math.PI/2);}"; _f.__workletHash = 8621899987563; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (123:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (123:0)"; return _f; }(); @@ -102417,7 +102823,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function circle(t){return 1-Math.sqrt(1-t*t);}"; _f.__workletHash = 15893365817828; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (133:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (133:0)"; return _f; }(); @@ -102429,7 +102835,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function exp(t){return Math.pow(2,10*(t-1));}"; _f.__workletHash = 15907471981377; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (143:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (143:0)"; return _f; }(); @@ -102447,7 +102853,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(t){const{p}=jsThis._closure;{return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);}}"; _f.__workletHash = 8897284077766; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (161:9)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (161:9)"; return _f; }(); }; @@ -102455,7 +102861,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.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);};}"; _f.__workletHash = 15898989302935; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (158:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (158:0)"; return _f; }(); @@ -102472,7 +102878,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(t){const{s}=jsThis._closure;{return t*t*((s+1)*t-s);}}"; _f.__workletHash = 9334724225624; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (177:9)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (177:9)"; return _f; }(); }; @@ -102480,7 +102886,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function back(s=1.70158){return function(t){'worklet';return t*t*((s+1)*t-s);};}"; _f.__workletHash = 2360128598492; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (175:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (175:0)"; return _f; }(); @@ -102509,7 +102915,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.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;}"; _f.__workletHash = 5721637210615; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (188:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (188:0)"; return _f; }(); @@ -102530,7 +102936,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(){const{Bezier,x1,y1,x2,y2}=jsThis._closure;{return Bezier(x1,y1,x2,y2);}}"; _f.__workletHash = 4879686787739; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (223:13)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (223:13)"; return _f; }() }; @@ -102541,7 +102947,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function bezier(x1,y1,x2,y2){const{Bezier}=jsThis._closure;{return{factory:function(){'worklet';return Bezier(x1,y1,x2,y2);}};}}"; _f.__workletHash = 853527302262; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (215:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (215:0)"; return _f; }(); @@ -102555,7 +102961,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function bezierFn(x1,y1,x2,y2){const{Bezier}=jsThis._closure;{return Bezier(x1,y1,x2,y2);}}"; _f.__workletHash = 15185855900453; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (230:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (230:0)"; return _f; }(); @@ -102567,7 +102973,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function in_(easing){return easing;}"; _f.__workletHash = 1837493474379; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (243:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (243:0)"; return _f; }(); @@ -102583,7 +102989,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(t){const{easing}=jsThis._closure;{return 1-easing(1-t);}}"; _f.__workletHash = 5726884014519; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (253:9)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (253:9)"; return _f; }(); }; @@ -102591,7 +102997,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function out(easing){return function(t){'worklet';return 1-easing(1-t);};}"; _f.__workletHash = 7718549646703; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (251:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (251:0)"; return _f; }(); @@ -102611,7 +103017,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(t){const{easing}=jsThis._closure;{if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;}}"; _f.__workletHash = 2325007799982; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (266:9)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (266:9)"; return _f; }(); }; @@ -102619,7 +103025,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function inOut(easing){return function(t){'worklet';if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;};}"; _f.__workletHash = 7048715165105; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (264:0)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (264:0)"; return _f; }(); @@ -102679,7 +103085,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function checkIfReaOne(){const{prevArgs,EasingNode,workletName,worklet,createChecker}=jsThis._closure;{if(arguments&&!_WORKLET){for(let i=0;i2){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;i 0 && arguments[0] !== undefined ? arguments[0] : {}; yield (0, _get2.default)((0, _getPrototypeOf2.default)(FeedbackConfig.prototype), "init", this).call(this, json); var _this$getStorageKeys = this.getStorageKeys(), + show_dont_show_again_first_dialog = _this$getStorageKeys.show_dont_show_again_first_dialog, show_dont_show_again = _this$getStorageKeys.show_dont_show_again, + show_not_sure_yet_first_dialog = _this$getStorageKeys.show_not_sure_yet_first_dialog, lower_active_date_range = _this$getStorageKeys.lower_active_date_range, upper_active_date_range = _this$getStorageKeys.upper_active_date_range, active_days_to_show = _this$getStorageKeys.active_days_to_show, total_days_to_show = _this$getStorageKeys.total_days_to_show, + total_days_to_show_first_time = _this$getStorageKeys.total_days_to_show_first_time, request_title = _this$getStorageKeys.request_title, request_review_title = _this$getStorageKeys.request_review_title, ask = _this$getStorageKeys.ask, email = _this$getStorageKeys.email, + link = _this$getStorageKeys.link, reset_timestamp = _this$getStorageKeys.reset_timestamp, cool_down_days = _this$getStorageKeys.cool_down_days, cool_down_days_dont_show_again = _this$getStorageKeys.cool_down_days_dont_show_again; - this.showDontShowAgain = (yield this.getValue(show_dont_show_again)) === "1"; + this.showDontShowAgainFirstDialog = ((yield this.getValue(show_dont_show_again_first_dialog)) || "0") === "1"; + this.showDontShowAgain = ((yield this.getValue(show_dont_show_again)) || "1") === "1"; + this.showNotSureYetFirstDialog = ((yield this.getValue(show_not_sure_yet_first_dialog)) || "1") === "1"; this.lowerActiveDateRange = (parseInt(yield this.getValue(lower_active_date_range), 10) || "1") * _$$_REQUIRE(_dependencyMap[9]).DateUtils.DAY_IN_MILLS; this.upperActiveDateRange = (parseInt(yield this.getValue(upper_active_date_range), 10) || "3") * _$$_REQUIRE(_dependencyMap[9]).DateUtils.DAY_IN_MILLS; this.activeDaysToShow = parseInt((yield this.getValue(active_days_to_show)) || "6", 10); this.totalDaysToShow = parseInt((yield this.getValue(total_days_to_show)) || "15", 10); - this.requestFeedbackTitle = yield this.getValue(request_title); - this.requestReviewFeedbackTitle = yield this.getValue(request_review_title); - this.askForFeedback = yield this.getValue(ask); - this.emailForFeedback = yield this.getValue(email); + this.totalDaysToShowFirstTime = parseInt((yield this.getValue(total_days_to_show_first_time)) || this.totalDaysToShow, 10); + this.coolDownDays = parseInt((yield this.getValue(cool_down_days)) || "60", 10); + this.coolDownDaysDontShowAgain = parseInt((yield this.getValue(cool_down_days_dont_show_again)) || "90", 10); + this.requestFeedbackTitle = (yield this.getValue(request_title)) || global.strings("feedback_title_request_feedback"); + this.requestReviewFeedbackTitle = (yield this.getValue(request_review_title)) || global.strings("feedback_title_request_review_feedback"); + this.askForFeedback = (yield this.getValue(ask)) || global.strings("feedback_msg_ask_for_feedback"); + this.emailForFeedback = (yield this.getValue(email)) || global.strings("feedback_email_feedback"); + this.linkForFeedback = (yield this.getValue(link)) || ""; this.resetTimestamp = yield this.getValue(reset_timestamp); - if (this.resetTimestamp && this.resetTimestamp.length < 14) { + if (((_this$resetTimestamp = this.resetTimestamp) == null ? undefined : _this$resetTimestamp.length) < 14) { this.resetTimestamp = this.resetTimestamp.padEnd(14, "0"); } - this.coolDownDays = parseInt((yield this.getValue(cool_down_days)) || "60", 10); - this.coolDownDaysDontShowAgain = parseInt((yield this.getValue(cool_down_days_dont_show_again)) || "90", 10); return true; }); @@ -128411,7 +128833,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(_$$_REQUIRE(_dependencyMap[10]).PaperSetupBaseConfig); -},857,[3,270,6,7,11,85,13,14,851,438,858]); +},871,[3,270,6,7,11,85,13,14,865,438,872]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -128517,7 +128939,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},858,[3,270,6,7,851,438]); +},872,[3,270,6,7,865,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -128616,7 +129038,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(_$$_REQUIRE(_dependencyMap[10]).PaperSetupBaseConfig); -},859,[3,270,6,7,11,85,13,14,851,438,858]); +},873,[3,270,6,7,11,85,13,14,865,438,872]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -128688,7 +129110,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(_$$_REQUIRE(_dependencyMap[9]).PaperSetupBaseConfig); -},860,[3,270,6,7,11,85,13,14,851,858]); +},874,[3,270,6,7,11,85,13,14,865,872]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -128782,7 +129204,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(_$$_REQUIRE(_dependencyMap[10]).PaperSetupBaseConfig); -},861,[3,270,11,85,13,14,7,6,851,438,858]); +},875,[3,270,11,85,13,14,7,6,865,438,872]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -128845,7 +129267,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(_$$_REQUIRE(_dependencyMap[9]).PaperSetupBaseConfig); -},862,[3,270,6,7,11,85,13,14,851,858]); +},876,[3,270,6,7,11,85,13,14,865,872]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -128955,7 +129377,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(_$$_REQUIRE(_dependencyMap[9]).PaperSetupBaseConfig); -},863,[3,270,6,7,11,85,13,14,851,858]); +},877,[3,270,6,7,11,85,13,14,865,872]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -129394,7 +129816,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},864,[3,4,6,7,434,865,438]); +},878,[3,4,6,7,434,879,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -129881,7 +130303,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},865,[3,6,7,866,869,889,890,896,438]); +},879,[3,6,7,880,883,903,904,910,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var _RNDFPBanner = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); @@ -129891,7 +130313,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e Banner: _RNDFPBanner.default, Interstitial: _RNDFPInterstitial.default }; -},866,[3,867,868]); +},880,[3,881,882]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -130036,7 +130458,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e targeting: _propTypes.default.object }; var RNBanner = (0, _reactNative.requireNativeComponent)("RNDFPBanner", DFPBanner); -},867,[3,224,6,7,11,13,14,16,568,18,179]); +},881,[3,224,6,7,11,13,14,16,582,18,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -130046,7 +130468,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _reactNative = _$$_REQUIRE(_dependencyMap[0]); var _default = exports.default = _reactNative.NativeModules.RNDFPInterstitial; -},868,[18]); +},882,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -130064,7 +130486,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _iubendaContainer = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); var _default = exports.default = _iubenda.default; -},869,[3,870,882]); +},883,[3,884,896]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -130375,7 +130797,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e onConsentChange: undefined, onDismiss: undefined }; -},870,[3,4,270,7,6,16,871,438,873,179,874]); +},884,[3,4,270,7,6,16,885,438,887,179,888]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -130613,7 +131035,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},871,[3,270,6,7,872,438]); +},885,[3,270,6,7,886,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -130687,7 +131109,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e uspData: "uspData" } }; -},872,[3,270,6,7,438]); +},886,[3,270,6,7,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -130718,7 +131140,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e onShowConsentUI(value); } }; -},873,[3,33,16]); +},887,[3,33,16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -130976,7 +131398,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e onOptOut: _propTypes.default.func, onClose: _propTypes.default.func }; -},874,[3,22,4,6,7,11,13,14,16,568,18,438,179,875]); +},888,[3,22,4,6,7,11,13,14,16,582,18,438,179,889]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -130992,7 +131414,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _WebView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = _WebView.default; -},875,[3,876]); +},889,[3,890]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -131258,7 +131680,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = exports.default = WebView; -},876,[16,18,3,37,31,877,878,879,880,179]); +},890,[16,18,3,37,31,891,892,893,894,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -131274,7 +131696,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = exports.default = (0, _codegenNativeComponent.default)('RNCWebView'); -},877,[3,183,133]); +},891,[3,183,133]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -131284,7 +131706,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _reactNative = _$$_REQUIRE(_dependencyMap[0]); var _default = exports.default = _reactNative.TurboModuleRegistry.getEnforcing('RNCWebView'); -},878,[18]); +},892,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -131326,7 +131748,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = exports.default = styles; -},879,[18]); +},893,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -131535,7 +131957,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e lastErrorEvent: lastErrorEvent }; }; -},880,[3,881,16,18,879,179]); +},894,[3,895,16,18,893,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -131548,7 +131970,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return string.replace(matchOperatorsRegex, '\\$&'); }; -},881,[]); +},895,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -131585,7 +132007,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = IubendaContainer; -},882,[3,16,568,870,873,883,179]); +},896,[3,16,582,884,887,897,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -131630,7 +132052,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},883,[884,886,887,888]); +},897,[898,900,901,902]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -131763,7 +132185,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var SafeAreaConsumer = exports.SafeAreaConsumer = SafeAreaInsetsContext.Consumer; var SafeAreaContext = exports.SafeAreaContext = SafeAreaInsetsContext; -},884,[3,33,16,18,885,179]); +},898,[3,33,16,18,899,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -131773,7 +132195,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _reactNative = _$$_REQUIRE(_dependencyMap[0]); var _default = exports.default = (0, _reactNative.requireNativeComponent)('RNCSafeAreaProvider'); -},885,[18]); +},899,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -131783,7 +132205,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _reactNative = _$$_REQUIRE(_dependencyMap[0]); var SafeAreaView = exports.SafeAreaView = (0, _reactNative.requireNativeComponent)('RNCSafeAreaView'); -},886,[18]); +},900,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -131796,12 +132218,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var initialWindowMetrics = exports.initialWindowMetrics = RNCSafeAreaProviderConfig != null && RNCSafeAreaProviderConfig.Constants != null ? RNCSafeAreaProviderConfig.Constants.initialWindowMetrics : null; var initialWindowSafeAreaInsets = exports.initialWindowSafeAreaInsets = initialWindowMetrics == null ? undefined : initialWindowMetrics.insets; -},887,[18]); +},901,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true }); -},888,[]); +},902,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -131929,7 +132351,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},889,[3,270,6,7,18]); +},903,[3,270,6,7,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -131946,7 +132368,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = analytics; -},890,[891]); +},904,[905]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -132108,14 +132530,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},891,[3,270,6,7,18,892,893,894]); +},905,[3,270,6,7,18,906,907,908]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true }); exports.RAW_HTML = undefined; var RAW_HTML = exports.RAW_HTML = "\n \n \n \n \n \n \n \n"; -},892,[]); +},906,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -132176,7 +132598,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return true; } -},893,[894,895]); +},907,[908,909]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -132281,14 +132703,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } function noop() {} -},894,[]); +},908,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true }); exports.RESERVED_EVENT_NAMES = undefined; var RESERVED_EVENT_NAMES = exports.RESERVED_EVENT_NAMES = ["ad_reward", "app_background", "app_clear_data", "app_remove", "app_store_refund", "app_store_subscription_cancel", "app_store_subscription_convert", "app_store_subscription_renew", "app_update", "app_upgrade", "dynamic_link_app_open", "dynamic_link_app_update", "dynamic_link_first_open", "error", "first_open", "in_app_purchase", "notification_dismiss", "notification_foreground", "notification_open", "notification_receive", "os_update", "session_start", "session_start_with_rollout", "user_engagement"]; -},895,[]); +},909,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -132459,13 +132881,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = Root; exports.default = _default; -},896,[3,577,4,897,16,568,18,918,1718,1719,937,929,1302,1062,1058]); +},910,[3,591,4,911,16,582,18,932,1718,1719,951,943,1316,1076,1072]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { _$$_REQUIRE(_dependencyMap[0]); -},897,[898]); +},911,[912]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { (0, _$$_REQUIRE(_dependencyMap[0]).setupURLPolyfill)(); -},898,[899]); +},912,[913]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -132509,7 +132931,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return _$$_REQUIRE(_dependencyMap[2]).URLSearchParams; }); } -},899,[900,901,916,917,70]); +},913,[914,915,930,931,70]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var _reactNative = _$$_REQUIRE(_dependencyMap[0]); @@ -132526,7 +132948,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); } } -},900,[18]); +},914,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -132557,7 +132979,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _$$_REQUIRE(_dependencyMap[1]).URL.revokeObjectURL = function revokeObjectURL(url) {}; var URL = exports.URL = _$$_REQUIRE(_dependencyMap[1]).URL; -},901,[18,902]); +},915,[18,916]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -132579,13 +133001,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e exports.setThePassword = _$$_REQUIRE(_dependencyMap[1]).setThePassword; exports.cannotHaveAUsernamePasswordPort = _$$_REQUIRE(_dependencyMap[1]).cannotHaveAUsernamePasswordPort; exports.percentDecode = _$$_REQUIRE(_dependencyMap[2]).percentDecode; -},902,[903,907,912]); +},916,[917,921,926]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; exports.URL = _$$_REQUIRE(_dependencyMap[0]); exports.URLSearchParams = _$$_REQUIRE(_dependencyMap[1]); -},903,[904,913]); +},917,[918,927]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -132998,7 +133420,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }; module.exports = iface; -},904,[905,906,6,915,7,240]); +},918,[919,920,6,929,7,240]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -133118,7 +133540,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e namedSetExisting: namedSetExisting, namedDelete: namedDelete }; -},905,[]); +},919,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -133371,7 +133793,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},906,[6,907,913,7,912]); +},920,[6,921,927,7,926]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -134705,7 +135127,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e encodingOverride: options.encodingOverride }); }; -},907,[908,909,910,912]); +},921,[922,923,924,926]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -134984,7 +135406,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e 'toUnicode': toUnicode }; module.exports = punycode; -},908,[22]); +},922,[22]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -135010,7 +135432,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e isASCIIAlphanumeric: isASCIIAlphanumeric, isASCIIHex: isASCIIHex }; -},909,[]); +},923,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { /*! * The buffer module from node.js, for the browser. @@ -136685,7 +137107,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return table; }(); -},910,[94,911]); +},924,[94,925]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { exports.read = function (buffer, offset, isLE, mLen, nBytes) { var e, m; @@ -136775,7 +137197,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e buffer[offset + i - d] |= s * 128; }; -},911,[]); +},925,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -136926,7 +137348,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, serializeUrlencoded: serializeUrlencoded }; -},912,[910,909,33]); +},926,[924,923,33]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -137450,7 +137872,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }; module.exports = iface; -},913,[905,240,33,914,6,915,7]); +},927,[919,240,33,928,6,929,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -137619,7 +138041,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(Symbol.iterator); -},914,[6,912,7]); +},928,[6,926,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -137975,7 +138397,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e exports.DOMTimeStamp = exports["unsigned long long"]; exports.Function = convertCallbackFunction; exports.VoidFunction = convertCallbackFunction; -},915,[]); +},929,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -137986,13 +138408,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return _$$_REQUIRE(_dependencyMap[0]).URLSearchParams; } }); -},916,[902]); +},930,[916]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "_args": [ [ "react-native-url-polyfill@1.3.0", - "/Users/ipaddev/sdk/3.16.13.rc" + "/Users/ipaddev/sdk/3.16.14.rc" ] ], "_from": "react-native-url-polyfill@1.3.0", @@ -138016,7 +138438,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex ], "_resolved": "https://registry.npmjs.org/react-native-url-polyfill/-/react-native-url-polyfill-1.3.0.tgz", "_spec": "1.3.0", - "_where": "/Users/ipaddev/sdk/3.16.13.rc", + "_where": "/Users/ipaddev/sdk/3.16.14.rc", "author": { "name": "Nicolas Charpentier", "email": "nicolas.charpentier079@gmail.com" @@ -138095,7 +138517,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "version": "1.3.0" } ; -},917,[]); +},931,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -138689,7 +139111,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = Container; exports.default = _default; -},918,[3,22,33,4,919,577,16,18,568,921,925,935,936,1063,1194,1196,1197,1064,1069,1065,1182,1198,924,937,1053,1706,1707,1071,1062,1328,1708]); +},932,[3,22,33,4,933,591,16,18,582,935,939,949,950,1077,1208,1210,1211,1078,1083,1079,1196,1212,938,951,1067,1706,1707,1085,1076,1342,1708]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var runtime = _$$_REQUIRE(_dependencyMap[0])(); @@ -138704,7 +139126,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e Function("r", "regeneratorRuntime = r")(runtime); } } -},919,[920]); +},933,[934]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function _regeneratorRuntime() { "use strict"; @@ -139058,7 +139480,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports; -},920,[10]); +},934,[10]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -139435,7 +139857,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = API; exports.default = _default; -},921,[3,919,577,6,7,922,923,408,924,925,926,927,928]); +},935,[3,933,591,6,7,936,937,408,938,939,940,941,942]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function _classPrivateFieldBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { @@ -139446,7 +139868,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = _classPrivateFieldBase, module.exports.__esModule = true, module.exports["default"] = module.exports; -},922,[]); +},936,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var id = 0; @@ -139455,7 +139877,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = _classPrivateFieldKey, module.exports.__esModule = true, module.exports["default"] = module.exports; -},923,[]); +},937,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -139784,7 +140206,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); exports.default = Issue; -},924,[3,6,7,922,923]); +},938,[3,6,7,936,937]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -139895,7 +140317,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e writable: true, value: {} }); -},925,[3,6,7,922,923]); +},939,[3,6,7,936,937]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -139937,7 +140359,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function dpToPx(size) { return _reactNative.PixelRatio.roundToNearestPixel(size) * _reactNative.PixelRatio.get(); } -},926,[18]); +},940,[18]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = [ { @@ -139960,7 +140382,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex } ] ; -},927,[]); +},941,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -140022,7 +140444,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var uri = segmentURL(referenceURL); return domain === uri.getDomain(); } -},928,[3,472,929,925,931]); +},942,[3,472,943,939,945]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -140145,7 +140567,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); exports.default = URI; -},929,[3,6,7,922,923,930]); +},943,[3,6,7,936,937,944]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -140499,7 +140921,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); exports.default = JSUtils; -},930,[3,33,22,6,7,919,18,925]); +},944,[3,33,22,6,7,933,18,939]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -140687,7 +141109,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } exports.decode = decode; -},931,[932,933,934]); +},945,[946,947,948]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -145077,7 +145499,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } } }; -},932,[]); +},946,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -145096,7 +145518,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; exports.highSurrogateFrom = 55296; exports.highSurrogateTo = 56319; -},933,[]); +},947,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -145133,7 +145555,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e 158: 382, 159: 376 }; -},934,[]); +},948,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -145346,7 +145768,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e Network.IP = "n/a"; var _default = Network; exports.default = _default; -},935,[3,919,6,7,542]); +},949,[3,933,6,7,556]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -145482,7 +145904,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = Errors; exports.default = _default; -},936,[3,22,33,16,568,18,937,938,925,1062,1058,928]); +},950,[3,22,33,16,582,18,951,952,939,1076,1072,942]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -145506,7 +145928,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e Events.ON_ACTION_CLICK = "on_action_click"; var _default = Events; exports.default = _default; -},937,[3,7,6]); +},951,[3,7,6]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -145672,7 +146094,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = Error; exports.default = _default; -},938,[16,3,568,18,939,1054,1059,1060,1053,1061,1058]); +},952,[16,3,582,18,953,1068,1073,1074,1067,1075,1072]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -145813,7 +146235,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e exports.TaAnimatedImageIcon = TaAnimatedImageIcon; var _default = TaImageIcon; exports.default = _default; -},939,[3,6,7,14,11,13,577,4,16,18,568,940,941,942,926]); +},953,[3,6,7,14,11,13,591,4,16,18,582,954,955,956,940]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -145858,7 +146280,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = FSImage; exports.default = _default; -},940,[3,577,4,16,576]); +},954,[3,591,4,16,590]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146046,7 +146468,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = CssStyle; exports.default = _default; -},941,[3,6,7]); +},955,[3,6,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146151,7 +146573,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function TaPath(props) { return _react.default.createElement(_reactNativeSvg.Path, props); } -},942,[3,577,4,16,18,943,1052]); +},956,[3,591,4,16,18,957,1066]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146181,7 +146603,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } -},943,[944]); +},957,[958]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146534,7 +146956,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } -},944,[945,946,974,1050,3,982,1051,976]); +},958,[959,960,988,1064,3,996,1065,990]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146584,7 +147006,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function loadLocalRawResource() { showErrorCSS('loadLocalRawResource', 'function'); } -},945,[]); +},959,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146805,7 +147227,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _FeMergeNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[26])); var _FeOffsetNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[27])); -},946,[3,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973]); +},960,[3,961,962,963,964,965,966,967,968,969,970,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,987]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146815,7 +147237,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGCircle'); -},947,[3,183]); +},961,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146825,7 +147247,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGClipPath'); -},948,[3,183]); +},962,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146835,7 +147257,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGDefs'); -},949,[3,183]); +},963,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146845,7 +147267,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGEllipse'); -},950,[3,183]); +},964,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146855,7 +147277,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGForeignObject'); -},951,[3,183]); +},965,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146865,7 +147287,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGGroup'); -},952,[3,183]); +},966,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146877,7 +147299,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGImage', { interfaceOnly: true }); -},953,[3,183]); +},967,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146887,7 +147309,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGLinearGradient'); -},954,[3,183]); +},968,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146897,7 +147319,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGLine'); -},955,[3,183]); +},969,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146907,7 +147329,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGMarker'); -},956,[3,183]); +},970,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146917,7 +147339,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGMask'); -},957,[3,183]); +},971,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146927,7 +147349,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGPath'); -},958,[3,183]); +},972,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146937,7 +147359,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGPattern'); -},959,[3,183]); +},973,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146947,7 +147369,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGRadialGradient'); -},960,[3,183]); +},974,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146957,7 +147379,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGRect'); -},961,[3,183]); +},975,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146969,7 +147391,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGSvgViewAndroid', { excludedPlatforms: ['iOS'] }); -},962,[3,183]); +},976,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146981,7 +147403,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGSvgView', { excludedPlatforms: ['android'] }); -},963,[3,183]); +},977,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -146991,7 +147413,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGSymbol'); -},964,[3,183]); +},978,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -147001,7 +147423,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGText'); -},965,[3,183]); +},979,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -147011,7 +147433,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGTextPath'); -},966,[3,183]); +},980,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -147021,7 +147443,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGTSpan'); -},967,[3,183]); +},981,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -147031,7 +147453,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGUse'); -},968,[3,183]); +},982,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -147041,7 +147463,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGFilter'); -},969,[3,183]); +},983,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -147051,7 +147473,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGFeColorMatrix'); -},970,[3,183]); +},984,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -147061,7 +147483,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGFeGaussianBlur'); -},971,[3,183]); +},985,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -147071,7 +147493,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGFeMerge'); -},972,[3,183]); +},986,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -147081,7 +147503,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSVGFeOffset'); -},973,[3,183]); +},987,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -147725,7 +148147,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return null; } -},974,[975,3,270,6,7,11,13,14,33,16,179,1050]); +},988,[989,3,270,6,7,11,13,14,33,16,179,1064]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -147779,7 +148201,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e tspan: _$$_REQUIRE(_dependencyMap[0]).TSpan, use: _$$_REQUIRE(_dependencyMap[0]).Use }; -},975,[976]); +},989,[990]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -148179,7 +148601,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _Filter = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[47])); var _default = exports.default = _Svg.default; -},976,[977,3,981,997,998,999,1000,1001,1003,1005,1006,1009,1010,1012,1013,1014,1016,1017,1018,1019,1020,1022,1023,1024,1025,1026,1027,1028,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049]); +},990,[991,3,995,1011,1012,1013,1014,1015,1017,1019,1020,1023,1024,1026,1027,1028,1030,1031,1032,1033,1034,1036,1037,1038,1039,1040,1041,1042,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -148320,7 +148742,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(FeComponentTransferFunction); FeFuncA.displayName = 'FeFuncA'; -},977,[3,6,7,11,13,14,978,979]); +},991,[3,6,7,11,13,14,992,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -148379,7 +148801,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e width: '100%', height: '100%' }; -},978,[3,7,6,11,13,14,16]); +},992,[3,7,6,11,13,14,16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -148415,7 +148837,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var warnUnimplementedFilter = exports.warnUnimplementedFilter = function warnUnimplementedFilter() { (0, _warnOnce.default)(true, "Some of the used filters are not yet supported on native platforms. Please check the USAGE.md for more info. Not implemented filters:\n", JSON.stringify(['FeBlend', 'FeComponentTransfer', 'FeComposite', 'FeConvolveMatrix', 'FeDiffuseLighting', 'FeDisplacementMap', 'FeDropShadow', 'FeFlood', 'FeFuncA', 'FeFuncB', 'FeFuncG', 'FeFuncR', 'FeImage', 'FeMorphology', 'FePointLight', 'FeSpecularLighting', 'FeSpotLight', 'FeTile', 'FeTurbulence'], null, 2)); }; -},979,[3,980]); +},993,[3,994]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var DEV = false; var warnings = new Set(); @@ -148423,7 +148845,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function warnOnce(condition) {} module.exports = warnOnce; -},980,[]); +},994,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -148490,7 +148912,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e cy: 0, r: 0 }; -},981,[3,6,7,11,13,14,16,982,947,987,179]); +},995,[3,6,7,11,13,14,16,996,961,1001,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -148881,7 +149303,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_react.Component); Shape.prototype.ownerSVGElement = ownerSVGElement; -},982,[3,11,13,14,6,7,16,983,984,18,986]); +},996,[3,11,13,14,6,7,16,997,998,18,1000]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -149016,7 +149438,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e target.state = touchableGetInitialState(); }; -},983,[18]); +},997,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -149082,7 +149504,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e console.warn("\"" + String(color) + "\" is not a valid color or brush"); return null; } -},984,[18,985]); +},998,[18,999]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -149123,7 +149545,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var isPercentageRgb = RGB_RGBA_PATTERN.test(rgbColorWithoutSpaces); return isPercentageRgb ? parsePercentageRGBColor(rgbColorWithoutSpaces) : color; }; -},985,[]); +},999,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -149133,7 +149555,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _reactNative = _$$_REQUIRE(_dependencyMap[0]); var _default = exports.default = _reactNative.TurboModuleRegistry.getEnforcing('RNSVGRenderableModule'); -},986,[18]); +},1000,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -149296,7 +149718,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e y: null }), instance); } -},987,[3,22,988,990,992,996,989,979]); +},1001,[3,22,1002,1004,1006,1010,1003,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -149340,7 +149762,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e o.fillRule = fillRule && fillRules[fillRule] === 0 ? 0 : 1; } } -},988,[3,984,989,18]); +},1002,[3,998,1003,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -149351,7 +149773,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var value = typeof opacity === 'string' && opacity.trim().endsWith('%') ? +opacity.slice(0, -1) / 100 : +opacity; return isNaN(value) || value > 1 ? 1 : Math.max(value, 0); } -},989,[]); +},1003,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -149439,7 +149861,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e o.vectorEffect = vectorEffect && vectorEffects[vectorEffect] || 0; } } -},990,[3,984,989,991]); +},1004,[3,998,1003,1005]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -149459,7 +149881,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return []; } } -},991,[]); +},1005,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -149644,7 +150066,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return props.transform; } -},992,[993,994,995]); +},1006,[1007,1008,1009]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -149754,7 +150176,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e hasInitialState = false; } } -},993,[]); +},1007,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -151479,7 +151901,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e SyntaxError: peg$SyntaxError, parse: peg$parse }; -},994,[]); +},1008,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -152846,7 +153268,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e SyntaxError: peg$SyntaxError, parse: peg$parse }; -},995,[22]); +},1009,[22]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -152900,7 +153322,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e o.responsible = true; } } -},996,[18]); +},1010,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -152952,7 +153374,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_Shape2.default); ClipPath.displayName = 'ClipPath'; -},997,[3,6,7,11,13,14,16,982,948,179,987]); +},1011,[3,6,7,11,13,14,16,996,962,179,1001]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -153001,7 +153423,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_react.Component); Defs.displayName = 'Defs'; -},998,[3,6,7,11,13,14,16,949,179]); +},1012,[3,6,7,11,13,14,16,963,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -153071,7 +153493,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e rx: 0, ry: 0 }; -},999,[3,6,7,11,13,14,16,982,950,987,179]); +},1013,[3,6,7,11,13,14,16,996,964,1001,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -153144,7 +153566,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e width: '100%', height: '100%' }; -},1000,[3,6,7,11,13,14,16,1001,951,179,987]); +},1014,[3,6,7,11,13,14,16,1015,965,179,1001]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -153241,7 +153663,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return false; }; -},1001,[3,6,7,11,13,14,16,987,992,982,952,1002,179]); +},1015,[3,6,7,11,13,14,16,1001,1006,996,966,1016,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -153376,7 +153798,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e rotate: (0, _extractLengthList.default)(rotate) }; } -},1002,[16,3,991,979,179]); +},1016,[16,3,1005,993,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -153465,7 +153887,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e height: 0, preserveAspectRatio: 'xMidYMid meet' }; -},1003,[3,6,7,11,13,14,16,18,982,953,1004,179,987]); +},1017,[3,6,7,11,13,14,16,18,996,967,1018,179,1001]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -153511,7 +153933,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e meetOrSlice: meetOrSliceTypes[meetOrSlice] || 0 }; } -},1004,[]); +},1018,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -153581,7 +154003,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e x2: 0, y2: 0 }; -},1005,[3,6,7,11,13,14,16,982,955,987,179]); +},1019,[3,6,7,11,13,14,16,996,969,1001,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -153653,7 +154075,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e x2: '100%', y2: '0%' }; -},1006,[3,6,7,11,13,14,16,1007,982,954,179]); +},1020,[3,6,7,11,13,14,16,1021,996,968,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -153758,7 +154180,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e gradientTransform: (0, _extractTransform.default)(gradientTransform || transform || props) }; } -},1007,[16,18,3,989,992,1008]); +},1021,[16,18,3,1003,1006,1022]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -153770,7 +154192,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = units; -},1008,[]); +},1022,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -153858,7 +154280,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e markerHeight: 3, markerUnits: 'strokeWidth' }; -},1009,[3,6,7,11,13,14,16,1004,982,956,179]); +},1023,[3,6,7,11,13,14,16,1018,996,970,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -153939,7 +154361,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e width: '100%', height: '100%' }; -},1010,[3,6,7,11,13,14,16,1008,982,957,1011,179,987]); +},1024,[3,6,7,11,13,14,16,1022,996,971,1025,179,1001]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -153949,7 +154371,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e luminance: 0, alpha: 1 }; -},1011,[]); +},1025,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -154007,7 +154429,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_Shape2.default); Path.displayName = 'Path'; -},1012,[3,6,7,11,13,14,16,982,958,987,179]); +},1026,[3,6,7,11,13,14,16,996,972,1001,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -154102,7 +154524,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e width: '100%', height: '100%' }; -},1013,[3,6,7,11,13,14,16,992,1004,1008,982,959,179]); +},1027,[3,6,7,11,13,14,16,1006,1018,1022,996,973,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -154178,7 +154600,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e Polygon.defaultProps = { points: '' }; -},1014,[3,6,7,11,13,14,16,1012,982,1015,179]); +},1028,[3,6,7,11,13,14,16,1026,996,1029,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -154189,7 +154611,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var polyPoints = Array.isArray(points) ? points.join(',') : points; return polyPoints.replace(/[^eE]-/, ' -').split(/(?:\s+|\s*,\s*)/g).join(' '); } -},1015,[]); +},1029,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -154265,7 +154687,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e Polyline.defaultProps = { points: '' }; -},1016,[3,6,7,11,13,14,16,1012,982,1015,179]); +},1030,[3,6,7,11,13,14,16,1026,996,1029,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -154343,7 +154765,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e cy: '50%', r: '50%' }; -},1017,[3,6,7,11,13,14,16,1007,982,960,179]); +},1031,[3,6,7,11,13,14,16,1021,996,974,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -154417,7 +154839,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e width: 0, height: 0 }; -},1018,[3,6,7,11,13,14,16,982,961,179,987]); +},1032,[3,6,7,11,13,14,16,996,975,179,1001]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -154473,7 +154895,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_react.Component); Stop.displayName = 'Stop'; -},1019,[3,6,7,11,13,14,16]); +},1033,[3,6,7,11,13,14,16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -154713,7 +155135,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e Svg.defaultProps = { preserveAspectRatio: 'xMidYMid meet' }; -},1020,[3,22,4,6,7,11,13,14,16,18,996,1004,982,1001,962,963,989,1021,992,179]); +},1034,[3,22,4,6,7,11,13,14,16,18,1010,1018,996,1015,976,977,1003,1035,1006,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -154723,7 +155145,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _reactNative = _$$_REQUIRE(_dependencyMap[0]); var _default = exports.default = _reactNative.TurboModuleRegistry.getEnforcing('RNSVGSvgViewModule'); -},1021,[18]); +},1035,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -154786,7 +155208,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_Shape2.default); Symbol.displayName = 'Symbol'; -},1022,[3,6,7,11,13,14,16,1004,982,964,179]); +},1036,[3,6,7,11,13,14,16,1018,996,978,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -154868,7 +155290,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e TSpan.displayName = 'TSpan'; (0, _extractText.setTSpan)(TSpan); -},1023,[3,6,7,11,13,14,16,987,992,1002,982,967,979,179]); +},1037,[3,6,7,11,13,14,16,1001,1006,1016,996,981,993,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -154951,7 +155373,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_Shape2.default); Text.displayName = 'Text'; -},1024,[3,6,7,11,13,14,16,1002,987,992,982,1023,965,979,179]); +},1038,[3,6,7,11,13,14,16,1016,1001,1006,996,1037,979,993,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155065,7 +155487,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_Shape2.default); TextPath.displayName = 'TextPath'; -},1025,[3,4,6,7,11,13,14,16,992,1002,982,1023,966,979,987,179]); +},1039,[3,4,6,7,11,13,14,16,1006,1016,996,1037,980,993,1001,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155149,7 +155571,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e width: 0, height: 0 }; -},1026,[3,6,7,11,13,14,16,982,968,979,179,987]); +},1040,[3,6,7,11,13,14,16,996,982,993,179,1001]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155193,7 +155615,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _FeBlend = FeBlend; FeBlend.displayName = 'FeBlend'; FeBlend.defaultProps = Object.assign({}, _FeBlend.defaultPrimitiveProps); -},1027,[3,6,7,11,13,14,978,979]); +},1041,[3,6,7,11,13,14,992,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155253,7 +155675,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e type: 'matrix', values: '' }); -},1028,[3,6,7,11,13,14,16,970,978,179,1029]); +},1042,[3,6,7,11,13,14,16,984,992,179,1043]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155356,7 +155778,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e nodes: nodes }; }; -},1029,[3,16]); +},1043,[3,16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155400,7 +155822,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _FeComponentTransfer = FeComponentTransfer; FeComponentTransfer.displayName = 'FeComponentTransfer'; FeComponentTransfer.defaultProps = Object.assign({}, _FeComponentTransfer.defaultPrimitiveProps); -},1030,[3,6,7,11,13,14,978,979]); +},1044,[3,6,7,11,13,14,992,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155444,7 +155866,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _FeComposite = FeComposite; FeComposite.displayName = 'FeComposite'; FeComposite.defaultProps = Object.assign({}, _FeComposite.defaultPrimitiveProps); -},1031,[3,6,7,11,13,14,978,979]); +},1045,[3,6,7,11,13,14,992,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155488,7 +155910,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _FeConvolveMatrix = FeConvolveMatrix; FeConvolveMatrix.displayName = 'FeConvolveMatrix'; FeConvolveMatrix.defaultProps = Object.assign({}, _FeConvolveMatrix.defaultPrimitiveProps); -},1032,[3,6,7,11,13,14,978,979]); +},1046,[3,6,7,11,13,14,992,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155532,7 +155954,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _FeDiffuseLighting = FeDiffuseLighting; FeDiffuseLighting.displayName = 'FeDiffuseLighting'; FeDiffuseLighting.defaultProps = Object.assign({}, _FeDiffuseLighting.defaultPrimitiveProps); -},1033,[3,6,7,11,13,14,978,979]); +},1047,[3,6,7,11,13,14,992,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155576,7 +155998,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _FeDisplacementMap = FeDisplacementMap; FeDisplacementMap.displayName = 'FeDisplacementMap'; FeDisplacementMap.defaultProps = Object.assign({}, _FeDisplacementMap.defaultPrimitiveProps); -},1034,[3,6,7,11,13,14,978,979]); +},1048,[3,6,7,11,13,14,992,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155617,7 +156039,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e FeDistantLight.displayName = 'FeDistantLight'; FeDistantLight.defaultProps = {}; -},1035,[3,6,7,11,13,14,16,979]); +},1049,[3,6,7,11,13,14,16,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155661,7 +156083,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _FeDropShadow = FeDropShadow; FeDropShadow.displayName = 'FeDropShadow'; FeDropShadow.defaultProps = Object.assign({}, _FeDropShadow.defaultPrimitiveProps); -},1036,[3,6,7,11,13,14,978,979]); +},1050,[3,6,7,11,13,14,992,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155705,7 +156127,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _FeFlood = FeFlood; FeFlood.displayName = 'FeFlood'; FeFlood.defaultProps = Object.assign({}, _FeFlood.defaultPrimitiveProps); -},1037,[3,6,7,11,13,14,978,979]); +},1051,[3,6,7,11,13,14,992,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155765,7 +156187,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e stdDeviation: 0, edgeMode: 'none' }); -},1038,[3,6,7,11,13,14,16,971,978,179,1029]); +},1052,[3,6,7,11,13,14,16,985,992,179,1043]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155809,7 +156231,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _FeImage = FeImage; FeImage.displayName = 'FeImage'; FeImage.defaultProps = Object.assign({}, _FeImage.defaultPrimitiveProps); -},1039,[3,6,7,11,13,14,978,979]); +},1053,[3,6,7,11,13,14,992,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155866,7 +156288,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _FeMerge = FeMerge; FeMerge.displayName = 'FeMerge'; FeMerge.defaultProps = Object.assign({}, _FeMerge.defaultPrimitiveProps); -},1040,[3,6,7,11,13,14,16,972,978,179,1029]); +},1054,[3,6,7,11,13,14,16,986,992,179,1043]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155922,7 +156344,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_FilterPrimitive2.default); FeMergeNode.displayName = 'FeMergeNode'; -},1041,[3,6,7,11,13,14,978]); +},1055,[3,6,7,11,13,14,992]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -155966,7 +156388,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _FeMorphology = FeMorphology; FeMorphology.displayName = 'FeMorphology'; FeMorphology.defaultProps = Object.assign({}, _FeMorphology.defaultPrimitiveProps); -},1042,[3,6,7,11,13,14,978,979]); +},1056,[3,6,7,11,13,14,992,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -156026,7 +156448,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e dx: 0, dy: 0 }); -},1043,[3,6,7,11,13,14,16,973,978,179,1029]); +},1057,[3,6,7,11,13,14,16,987,992,179,1043]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -156067,7 +156489,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e FePointLight.displayName = 'FePointLight'; FePointLight.defaultProps = {}; -},1044,[3,6,7,11,13,14,16,979]); +},1058,[3,6,7,11,13,14,16,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -156111,7 +156533,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _FeSpecularLighting = FeSpecularLighting; FeSpecularLighting.displayName = 'FeSpecularLighting'; FeSpecularLighting.defaultProps = Object.assign({}, _FeSpecularLighting.defaultPrimitiveProps); -},1045,[3,6,7,11,13,14,978,979]); +},1059,[3,6,7,11,13,14,992,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -156152,7 +156574,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e FeSpotLight.displayName = 'FeSpotLight'; FeSpotLight.defaultProps = {}; -},1046,[3,6,7,11,13,14,16,979]); +},1060,[3,6,7,11,13,14,16,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -156196,7 +156618,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _FeTile = FeTile; FeTile.displayName = 'FeTile'; FeTile.defaultProps = Object.assign({}, _FeTile.defaultPrimitiveProps); -},1047,[3,6,7,11,13,14,978,979]); +},1061,[3,6,7,11,13,14,992,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -156240,7 +156662,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _FeTurbulence = FeTurbulence; FeTurbulence.displayName = 'FeTurbulence'; FeTurbulence.defaultProps = Object.assign({}, _FeTurbulence.defaultPrimitiveProps); -},1048,[3,6,7,11,13,14,978,979]); +},1062,[3,6,7,11,13,14,992,993]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -156320,7 +156742,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e filterUnits: 'objectBoundingBox', primitiveUnits: 'userSpaceOnUse' }; -},1049,[3,6,7,11,13,14,16,969,982,179]); +},1063,[3,6,7,11,13,14,16,983,996,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -156374,8 +156796,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return _fetchUriData.apply(this, arguments); } -},1050,[3,270,18]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {},1051,[]); +},1064,[3,270,18]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {},1065,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -156389,7 +156811,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }; exports.icCommonProps = icCommonProps; -},1052,[1053]); +},1066,[1067]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -156840,7 +157262,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); exports.default = ColorUtils; -},1053,[3,6,7]); +},1067,[3,6,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -156914,7 +157336,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = ErrorIcon; exports.default = _default; -},1054,[3,16,568,18,939,1055,1056,1057,1058,1053]); +},1068,[3,16,582,18,953,1069,1070,1071,1072,1067]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -156934,7 +157356,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcInfo; exports.default = _default; -},1055,[3,16,942]); +},1069,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -156954,7 +157376,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcWarning; exports.default = _default; -},1056,[3,16,942]); +},1070,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -156974,7 +157396,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcError; exports.default = _default; -},1057,[3,16,942]); +},1071,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -157061,7 +157483,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }; exports.CssHelper = CssHelper; -},1058,[3,16,804]); +},1072,[3,16,818]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -157081,7 +157503,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e TaText.propTypes = (0, _extends2.default)({}, _reactNative.TextProps); var _default = TaText; exports.default = _default; -},1059,[3,577,16,18]); +},1073,[3,591,16,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -157098,7 +157520,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcCloseCircleOutline; exports.default = _default; -},1060,[3,16,942]); +},1074,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -157265,7 +157687,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); exports.commonStyles = commonStyles; -},1061,[3,577,18,1053]); +},1075,[3,591,18,1067]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -157403,7 +157825,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e refs: {} } }); -},1062,[3,6,7,922,923,925]); +},1076,[3,6,7,936,937,939]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -157784,7 +158206,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = RoutesHelper; exports.default = _default; -},1063,[3,22,577,6,7,1064,1185,1187,1188,1190,1191,1192,1193,935,1194,928,1071]); +},1077,[3,22,591,6,7,1078,1199,1201,1202,1204,1205,1206,1207,949,1208,942,1085]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -158103,7 +158525,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e writable: true, value: {} }); -},1064,[3,577,6,7,922,923,18,1053,1065,1069,1182,930,1058,1184,928,1061]); +},1078,[3,591,6,7,936,937,18,1067,1079,1083,1196,944,1072,1198,942,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -158303,7 +158725,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = LocaleConfig; exports.default = _default; -},1065,[3,919,577,6,7,922,923,1066,935,1067,925,1069,921,1164]); +},1079,[3,933,591,6,7,936,937,1080,949,1081,939,1083,935,1178]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -158419,7 +158841,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); exports.default = DateUtils; -},1066,[3,6,7,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517]); +},1080,[3,6,7,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -158599,7 +159021,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e filetime: "filetime" } }; -},1067,[3,919,6,7,1068]); +},1081,[3,933,6,7,1082]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -158931,7 +159353,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e writable: true, value: new _promiseQueue.default(1, Infinity) }); -},1068,[3,919,6,7,922,923,521,527,925]); +},1082,[3,933,6,7,936,937,535,541,939]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -159443,7 +159865,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, null, this, null, Promise); } -},1069,[3,919,577,6,7,922,923,1070,930,925,1068,921,1071]); +},1083,[3,933,591,6,7,936,937,1084,944,939,1082,935,1085]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -159528,7 +159950,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = PaperSetupHelper; exports.default = _default; -},1070,[3,919,6,7,1068]); +},1084,[3,933,6,7,1082]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -159654,7 +160076,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function navigateToValidation() { navigate(TABS.VALIDATION); } -},1071,[3,1072]); +},1085,[3,1086]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -159750,7 +160172,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e NavigationConfig.state = undefined; var _default = NavigationConfig; exports.default = _default; -},1072,[3,6,7,1073]); +},1086,[3,6,7,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -159880,7 +160302,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},1073,[3,1074,1147,1157,1159,1148,1149,1160,1161,1162,1075,1077,1163,1078]); +},1087,[3,1088,1161,1171,1173,1162,1163,1174,1175,1176,1089,1091,1177,1092]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -159927,7 +160349,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }))); } -},1074,[3,4,16,18,1075]); +},1088,[3,4,16,18,1089]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160018,7 +160440,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e onPress: onPress }; } -},1075,[16,18,3,1076,1077,1078]); +},1089,[16,18,3,1090,1091,1092]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160037,7 +160459,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e LinkingContext.displayName = 'LinkingContext'; var _default = exports.default = LinkingContext; -},1076,[16]); +},1090,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160086,7 +160508,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, [linking, navigation]); return linkTo; } -},1077,[16,3,1076,1078]); +},1091,[16,3,1090,1092]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160306,7 +160728,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},1078,[3,1079,1095,1105,1108,1083,1109,1110,1112,1120,1085,1086,1122,1087,1123,1124,1126,1125,1127,1144,1145,1146,1119,1096]); +},1092,[3,1093,1109,1119,1122,1097,1123,1124,1126,1134,1099,1100,1136,1101,1137,1138,1140,1139,1141,1158,1159,1160,1133,1110]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160656,7 +161078,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = exports.default = BaseNavigationContainer; -},1079,[3,33,4,16,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,179,1104]); +},1093,[3,33,4,16,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,179,1118]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160687,7 +161109,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return duplicates; } -},1080,[]); +},1094,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160747,7 +161169,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function checkSerializable(o) { return _checkSerializableWithoutCircularReference(o, new Set(), []); } -},1081,[3,22]); +},1095,[3,22]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160794,7 +161216,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e children: children }); } -},1082,[16,179]); +},1096,[16,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160815,7 +161237,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var route = (_current2 = current) == null ? undefined : _current2.routes[(_current$index3 = (_current3 = current) == null ? undefined : _current3.index) != null ? _current$index3 : 0]; return route; } -},1083,[]); +},1097,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160838,7 +161260,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = exports.default = NavigationBuilderContext; -},1084,[16]); +},1098,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160854,7 +161276,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var NavigationContainerRefContext = React.createContext(undefined); var _default = exports.default = NavigationContainerRefContext; -},1085,[16]); +},1099,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160870,7 +161292,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var NavigationContext = React.createContext(undefined); var _default = exports.default = NavigationContext; -},1086,[16]); +},1100,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160886,7 +161308,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var NavigationRouteContext = React.createContext(undefined); var _default = exports.default = NavigationRouteContext; -},1087,[16]); +},1101,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160925,7 +161347,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); -},1088,[16]); +},1102,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160941,7 +161363,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var UnhandledActionContext = React.createContext(undefined); var _default = exports.default = UnhandledActionContext; -},1089,[16]); +},1103,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -160973,7 +161395,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e addListener: addListener }; } -},1090,[16]); +},1104,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -161089,7 +161511,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; }, [create, emit]); } -},1091,[3,22,16]); +},1105,[3,22,16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -161120,7 +161542,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e addKeyedListener: addKeyedListener }; } -},1092,[16]); +},1106,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -161215,7 +161637,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e getCurrentOptions: getCurrentOptions }; } -},1093,[16,3,1084,1088]); +},1107,[16,3,1098,1102]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -161291,7 +161713,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e React.useDebugValue(state); return [state, getState, setState, scheduleUpdate, flushUpdates]; } -},1094,[3,33,16]); +},1108,[3,33,16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -161387,7 +161809,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, {})); return ref; } -},1095,[3,33,22,1096]); +},1109,[3,33,22,1110]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -161473,7 +161895,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } -},1096,[1097,3,1098,1100,1102,1101,1103]); +},1110,[1111,3,1112,1114,1116,1115,1117]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -161527,7 +161949,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }; } -},1097,[]); +},1111,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -161594,7 +162016,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = BaseRouter; -},1098,[1099]); +},1112,[1113]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -161628,7 +162050,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return id; }; -},1099,[]); +},1113,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -161810,7 +162232,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e actionCreators: DrawerActions }); } -},1100,[3,22,4,1101,1099]); +},1114,[3,22,4,1115,1113]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -162090,7 +162512,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return router; } -},1101,[3,1098,1099]); +},1115,[3,1112,1113]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -162424,8 +162846,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return router; } -},1102,[3,22,1098,1099]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {},1103,[]); +},1116,[3,22,1112,1113]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {},1117,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -162457,7 +162879,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e scheduleUpdate(callback); React.useEffect(flushUpdates); } -},1104,[16]); +},1118,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -162481,7 +162903,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; }; } -},1105,[3,1106,1107]); +},1119,[3,1120,1121]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -162491,7 +162913,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function Group(_) { return null; } -},1106,[]); +},1120,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -162501,7 +162923,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function Screen(_) { return null; } -},1107,[]); +},1121,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -162517,7 +162939,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var CurrentRenderContext = React.createContext(undefined); var _default = exports.default = CurrentRenderContext; -},1108,[16]); +},1122,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -162620,7 +163042,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return acc; }, {}); }; -},1109,[3,33]); +},1123,[3,33]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -162635,7 +163057,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var routeName = state ? state.routes[(_state$index = state.index) != null ? _state$index : typeof state.type === 'string' && state.type !== 'stack' ? 0 : state.routes.length - 1].name : typeof (params == null ? undefined : params.screen) === 'string' ? params.screen : undefined; return routeName; } -},1110,[1111]); +},1124,[1125]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -162683,7 +163105,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, new Map()); return Array.from(cache.current.values()); } -},1111,[3,4,16]); +},1125,[3,4,16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -162910,7 +163332,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return [name, result]; })); }; -},1112,[3,22,33,1113,1118,1119]); +},1126,[3,22,33,1127,1132,1133]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -163386,7 +163808,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; return exports.pick(input, exclusionFilter, options); }; -},1113,[22,1114,1115,1116,33,240,1117]); +},1127,[22,1128,1129,1130,33,240,1131]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -163395,7 +163817,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return "%" + x.charCodeAt(0).toString(16).toUpperCase(); }); }; -},1114,[]); +},1128,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -163477,7 +163899,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return customDecodeURIComponent(encodedURI); } }; -},1115,[]); +},1129,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -163498,7 +163920,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return [string.slice(0, separatorIndex), string.slice(separatorIndex + separator.length)]; }; -},1116,[]); +},1130,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -163518,7 +163940,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return ret; }; -},1117,[]); +},1131,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -163541,7 +163963,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return acc; }, {}); } -},1118,[3,33]); +},1132,[3,33]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -163584,7 +164006,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); } } -},1119,[3,33]); +},1133,[3,33]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -164017,7 +164439,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return Object.keys(params).length ? params : undefined; }; -},1120,[3,240,22,1121,1113,1083,1119]); +},1134,[3,240,22,1135,1127,1097,1133]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -164028,7 +164450,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return string.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&').replace(/-/g, '\\x2d'); }; -},1121,[]); +},1135,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -164044,7 +164466,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var NavigationHelpersContext = React.createContext(undefined); var _default = exports.default = NavigationHelpersContext; -},1122,[16]); +},1136,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -164058,7 +164480,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var PrivateValueStore = exports.PrivateValueStore = (0, _createClass2.default)(function PrivateValueStore() { (0, _classCallCheck2.default)(this, PrivateValueStore); }); -},1123,[3,7,6]); +},1137,[3,7,6]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -164128,7 +164550,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; }, [effect, navigation]); } -},1124,[16,3,1125]); +},1138,[16,3,1139]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -164155,7 +164577,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return navigation != null ? navigation : root; } -},1125,[16,3,1085,1086]); +},1139,[16,3,1099,1100]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -164203,7 +164625,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e React.useDebugValue(valueToReturn); return valueToReturn; } -},1126,[3,33,16,1125]); +},1140,[3,33,16,1139]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -164626,7 +165048,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e NavigationContent: NavigationContent }; } -},1127,[3,33,240,4,22,16,1106,1128,1129,1122,1087,1088,1107,1090,1130,1131,1132,1091,1136,1137,1092,1138,1139,1141,1142,1143,1104,1123,1096]); +},1141,[3,33,240,4,22,16,1120,1142,1143,1136,1101,1102,1121,1104,1144,1145,1146,1105,1150,1151,1106,1152,1153,1155,1156,1157,1118,1137,1110]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -164646,7 +165068,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return it === b[index]; }); } -},1128,[]); +},1142,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -164669,7 +165091,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return a[key] === b[key]; }); } -},1129,[]); +},1143,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -164698,7 +165120,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return (0, _$$_REQUIRE(_dependencyMap[1]).jsx)(Component, Object.assign({}, props, rest)); }).current; } -},1130,[16,179]); +},1144,[16,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -164723,7 +165145,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e current.options = descriptors[state.routes[state.index].key].options; } } -},1131,[16,3,1108]); +},1145,[16,3,1122]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -164863,7 +165285,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return acc; }, {}); } -},1132,[3,4,22,33,16,1084,1086,1087,1133,1135,1111,179]); +},1146,[3,4,22,33,16,1098,1100,1101,1147,1149,1125,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -164966,7 +165388,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }) }); } -},1133,[16,3,1082,1088,1134,1093,179]); +},1147,[16,3,1096,1102,1148,1107,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165003,7 +165425,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return true; }); -},1134,[16]); +},1148,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165108,7 +165530,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, {}); return cache.current; } -},1135,[3,240,4,16,1084,1096]); +},1149,[3,240,4,16,1098,1110]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165160,7 +165582,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return addListener == null ? undefined : addListener('focus', listener); }, [addListener, listener]); } -},1136,[16,3,1084]); +},1150,[16,3,1098]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165228,7 +165650,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); }, [currentFocusedKey, emitter, navigation]); } -},1137,[16,3,1086]); +},1151,[16,3,1100]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165293,7 +165715,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); }, [emitter.emit, getState, onAction, onUnhandledAction, parentNavigationHelpers, router]); } -},1138,[16,3,1086,1089,1123,1096]); +},1152,[16,3,1100,1103,1137,1110]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165395,7 +165817,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, [addListenerParent, onAction]); return onAction; } -},1139,[16,3,1084,1140]); +},1153,[16,3,1098,1154]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165479,7 +165901,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, [addKeyedListener, beforeRemoveListeners, emitter, getState, routeKey]); } -},1140,[3,240,16,1084,1087]); +},1154,[3,240,16,1098,1101]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165535,7 +165957,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return addKeyedListener == null ? undefined : addKeyedListener('getState', key, getRehydratedState); }, [addKeyedListener, getRehydratedState, key]); } -},1141,[16,3,1128,1084,1087]); +},1155,[16,3,1142,1098,1101]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165572,7 +165994,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, [getState, onRouteFocusParent, router, setState, sourceRouteKey]); } -},1142,[16,3,1084]); +},1156,[16,3,1098]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165610,7 +166032,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, [container, key]); return key; } -},1143,[3,33,16,1099,1082]); +},1157,[3,33,16,1113,1096]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165634,7 +166056,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return navigation.current; } -},1144,[16,3,1095]); +},1158,[16,3,1109]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165672,7 +166094,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, [navigation]); return selector(navigation.getState()); } -},1145,[3,33,16,1125]); +},1159,[3,33,16,1139]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165696,7 +166118,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return route; } -},1146,[16,3,1087]); +},1160,[16,3,1101]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165819,7 +166241,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var NavigationContainer = React.forwardRef(NavigationContainerInner); var _default = exports.default = NavigationContainer; -},1147,[3,33,4,16,1076,1148,1149,1151,1152,1153,1156,1078,179]); +},1161,[3,33,4,16,1090,1162,1163,1165,1166,1167,1170,1092,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165838,7 +166260,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = DefaultTheme; -},1148,[]); +},1162,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165861,7 +166283,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e children: children }); } -},1149,[16,3,1150,179]); +},1163,[16,3,1164,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165880,7 +166302,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e ThemeContext.displayName = 'ThemeContext'; var _default = exports.default = ThemeContext; -},1150,[16,3,1148]); +},1164,[16,3,1162]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165917,7 +166339,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; }, [ref]); } -},1151,[16,18]); +},1165,[16,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -165925,7 +166347,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e exports.default = useDocumentTitle; function useDocumentTitle() {} -},1152,[]); +},1166,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -166094,7 +166516,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e getInitialState: getInitialState }; } -},1153,[16,18,3,1154,1078]); +},1167,[16,18,3,1168,1092]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -166121,7 +166543,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return undefined; } -},1154,[3,1155]); +},1168,[3,1169]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -166132,7 +166554,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return string.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&').replace(/-/g, '\\x2d'); }; -},1155,[]); +},1169,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -166198,7 +166620,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, [promise, resolved]); return state; } -},1156,[3,270,33,16]); +},1170,[3,270,33,16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -166245,7 +166667,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }) }); }); -},1157,[16,3,1158,179,1078]); +},1171,[16,3,1172,179,1092]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -166261,7 +166683,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var ServerContext = React.createContext(undefined); var _default = exports.default = ServerContext; -},1158,[16]); +},1172,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -166280,7 +166702,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = DarkTheme; -},1159,[]); +},1173,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -166299,8 +166721,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var theme = React.useContext(_ThemeContext.default); return theme; } -},1160,[16,3,1150]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {},1161,[]); +},1174,[16,3,1164]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {},1175,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -166359,7 +166781,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, [linking, navigation]); return buildLink; } -},1162,[16,3,1076,1078]); +},1176,[16,3,1090,1092]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -166434,7 +166856,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return unsubscribe; }, [navigation, ref, route.key]); } -},1163,[16,1078]); +},1177,[16,1092]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -166523,7 +166945,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function i18nTxt(name, params) { return _i18nJs.default.t(name, params); } -},1164,[3,577,1165,1166,1167,1168,1169,1170,1171,1172,1173,1174,1175,1176,1177,1178,1179,1180,1181]); +},1178,[3,591,1179,1180,1181,1182,1183,1184,1185,1186,1187,1188,1189,1190,1191,1192,1193,1194,1195]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { ; @@ -167340,7 +167762,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e I18n.p = I18n.pluralize.bind(I18n); return I18n; }); -},1165,[]); +},1179,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_tabs": "", @@ -167365,7 +167787,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_downloaded_editions": "Downloaded" } ; -},1166,[]); +},1180,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_tabs": "", @@ -167390,7 +167812,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_downloaded_editions": "Scaricati" } ; -},1167,[]); +},1181,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_special_sections": "أقسام خاصة", @@ -167415,7 +167837,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_downloaded_editions": "تم التنزيل" } ; -},1168,[]); +},1182,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_special_sections": "Særlige sektioner", @@ -167440,7 +167862,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_downloaded_editions": "Downloadet" } ; -},1169,[]); +},1183,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_special_sections": "Prospekte", @@ -167465,7 +167887,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_downloaded_editions": "Heruntergeladen" } ; -},1170,[]); +},1184,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_special_sections": "Section Spéciale", @@ -167490,7 +167912,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_downloaded_editions": "Téléchargé" } ; -},1171,[]); +},1185,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_special_sections": "Speciale secties", @@ -167515,7 +167937,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_downloaded_editions": "gedownload" } ; -},1172,[]); +},1186,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_tabs": "", @@ -167540,7 +167962,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_downloaded_editions": "descargado" } ; -},1173,[]); +},1187,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_special_sections": "Secțiuni speciale", @@ -167565,7 +167987,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_downloaded_editions": "Descărcat" } ; -},1174,[]); +},1188,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_special_sections": "Särskilda avsnitt", @@ -167590,7 +168012,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_downloaded_editions": "Nedladdat" } ; -},1175,[]); +},1189,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_tabs": "", @@ -167615,7 +168037,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_downloaded_editions": "baixado" } ; -},1176,[]); +},1190,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_tabs": "", @@ -167640,7 +168062,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_downloaded_editions": "baixado" } ; -},1177,[]); +},1191,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_special_sections": "Speciale secties", @@ -167665,7 +168087,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_downloaded_editions": "gedownload" } ; -},1178,[]); +},1192,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_special_sections": "Spesielle seksjoner", @@ -167689,7 +168111,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_month_names_short": "Jan,feb,mars,apr,mai,jun,jul,aug,sep,okt,nov,des" } ; -},1179,[]); +},1193,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_special_sections": "Spesielle seksjoner", @@ -167714,7 +168136,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_downloaded_editions": "Lastet ned" } ; -},1180,[]); +},1194,[]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "str_tabs": "", @@ -167739,7 +168161,7 @@ __d(function(global, require, _importDefaultUnused, _importAllUnused, module, ex "str_downloaded_editions": "Preneseno" } ; -},1181,[]); +},1195,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -167979,7 +168401,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = UserConfig; exports.default = _default; -},1182,[3,919,6,7,922,923,16,925,1183]); +},1196,[3,933,6,7,936,937,16,939,1197]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -168046,7 +168468,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = UserHelper; exports.default = _default; -},1183,[3,919,6,7,1068]); +},1197,[3,933,6,7,1082]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -168058,7 +168480,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function init() { _log.default.log("Do nothing on native code"); } -},1184,[3,925]); +},1198,[3,939]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -168215,7 +168637,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_publication.default); exports.default = Edition; -},1185,[3,6,7,12,14,11,13,922,923,1186]); +},1199,[3,6,7,12,14,11,13,936,937,1200]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -168425,7 +168847,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); exports.default = Publication; -},1186,[3,6,7,922,923,924]); +},1200,[3,6,7,936,937,938]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -168588,7 +169010,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); exports.default = Route; -},1187,[3,6,7,922,923]); +},1201,[3,6,7,936,937]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -168694,7 +169116,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_routeLabeled.default); exports.default = RouteAction; -},1188,[3,577,6,7,12,85,14,11,13,922,923,1189]); +},1202,[3,591,6,7,12,85,14,11,13,936,937,1203]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -168805,7 +169227,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_route.default); exports.default = RouteLabeled; -},1189,[3,577,6,7,12,85,14,11,13,922,923,1187]); +},1203,[3,591,6,7,12,85,14,11,13,936,937,1201]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -168935,7 +169357,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_route.default); exports.default = RouteEdition; -},1190,[3,577,6,7,12,85,14,11,13,922,923,1185,1187]); +},1204,[3,591,6,7,12,85,14,11,13,936,937,1199,1201]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -169058,7 +169480,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_routeEdition.default); exports.default = RouteEditionsDate; -},1191,[3,577,6,7,12,85,14,11,13,922,923,1190]); +},1205,[3,591,6,7,12,85,14,11,13,936,937,1204]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -169182,7 +169604,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = RouteTabs; exports.default = _default; -},1192,[3,577,6,7,12,85,14,11,13,922,923,1187]); +},1206,[3,591,6,7,12,85,14,11,13,936,937,1201]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -169305,7 +169727,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_routeLabeled.default); exports.default = RouteUrl; -},1193,[3,577,6,7,12,85,14,11,13,922,923,1189]); +},1207,[3,591,6,7,12,85,14,11,13,936,937,1203]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -169855,7 +170277,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = EditionsHelper; exports.default = _default; -},1194,[3,478,22,6,7,922,923,1064,1185,924,1186,1195,1066,928]); +},1208,[3,478,22,6,7,936,937,1078,1199,938,1200,1209,1080,942]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -169919,7 +170341,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_publication.default); exports.default = Special; -},1195,[3,7,6,14,11,13,1186]); +},1209,[3,7,6,14,11,13,1200]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -169984,7 +170406,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = RouteSeparator; exports.default = _default; -},1196,[3,7,6,14,11,13,1187]); +},1210,[3,7,6,14,11,13,1201]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -170081,7 +170503,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = RouteHeader; exports.default = _default; -},1197,[3,6,7,12,14,11,13,922,923,1187]); +},1211,[3,6,7,12,14,11,13,936,937,1201]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -170205,7 +170627,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = Content; exports.default = _default; -},1198,[3,577,22,33,4,16,18,568,1187,1199,1064,1185,1058,1182]); +},1212,[3,591,22,33,4,16,18,582,1201,1213,1078,1199,1072,1196]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -170457,7 +170879,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = DrawerNavigator; exports.default = _default; -},1199,[3,33,22,577,16,18,568,1187,1200,1072,1292,1193,1300,1186,1192,1305,1308,1210,1073,1061]); +},1213,[3,33,22,591,16,18,582,1201,1214,1086,1306,1207,1314,1200,1206,1319,1322,1224,1087,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -170622,7 +171044,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = DrawerContent; exports.default = _default; -},1200,[16,3,568,18,1187,1201,925,1196,1208,1190,1193,1197,1209,1192,937,1188,1062,1058,1210]); +},1214,[16,3,582,18,1201,1215,939,1210,1222,1204,1207,1211,1223,1206,951,1202,1076,1072,1224]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -170782,7 +171204,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e DrawerItemWithState.propTypes = (0, _extends2.default)({}, DrawerItem.propTypes); var _default = DrawerItemWithState; exports.default = _default; -},1201,[3,577,33,16,568,1187,1202,1206,1207,1072,1073]); +},1215,[3,591,33,16,582,1201,1216,1220,1221,1086,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -171049,7 +171471,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = CollapseLine; exports.default = _default; -},1202,[3,22,33,16,568,18,1203,1064,1053,1058,1061]); +},1216,[3,22,33,16,582,18,1217,1078,1067,1072,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -171113,7 +171535,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = CollapseAccordion; exports.default = _default; -},1203,[3,16,568,18,939,1204,1205,1058]); +},1217,[3,16,582,18,953,1218,1219,1072]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -171130,7 +171552,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcChevronDown; exports.default = _default; -},1204,[3,16,942]); +},1218,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -171147,7 +171569,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcChevronUp; exports.default = _default; -},1205,[3,16,942]); +},1219,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -171276,7 +171698,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = DrawerItemLeft; exports.default = _default; -},1206,[3,16,568,18,1053,939,1059,1187,1064,1058]); +},1220,[3,16,582,18,1067,953,1073,1201,1078,1072]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -171293,7 +171715,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); } } -},1207,[3,1187]); +},1221,[3,1201]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -171333,7 +171755,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = DrawerSeparator; exports.default = _default; -},1208,[3,16,568,18,1196,1053,1058]); +},1222,[3,16,582,18,1210,1067,1072]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -171387,7 +171809,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = DrawerHeader; exports.default = _default; -},1209,[3,16,568,18,1197,1059,1053,1058]); +},1223,[3,16,582,18,1211,1073,1067,1072]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -171488,7 +171910,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _useDrawerProgress = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); var _useDrawerStatus = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); -},1210,[3,1211,1217,1218,1220,1219,1254,1213,1258,1260,1216,1290,1291]); +},1224,[3,1225,1231,1232,1234,1233,1268,1227,1272,1274,1230,1304,1305]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -171580,7 +172002,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } var _default = exports.default = (0, _$$_REQUIRE(_dependencyMap[5]).createNavigatorFactory)(DrawerNavigator); -},1211,[3,4,16,1212,1213,1073,179]); +},1225,[3,4,16,1226,1227,1087,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var DEV = false; var warnings = new Set(); @@ -171588,7 +172010,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function warnOnce(condition) {} module.exports = warnOnce; -},1212,[]); +},1226,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -171874,7 +172296,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e flex: 1 } }); -},1213,[3,4,22,33,16,18,657,1214,1215,1216,1217,1254,1256,179,1259,1262,883,1073,1264,1230]); +},1227,[3,4,22,33,16,18,671,1228,1229,1230,1231,1268,1270,179,1273,1276,897,1087,1278,1244]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -171888,7 +172310,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } var _default = exports.default = React.createContext(undefined); -},1214,[16]); +},1228,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -171904,7 +172326,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var DrawerStatusContext = React.createContext(undefined); var _default = exports.default = DrawerStatusContext; -},1215,[16]); +},1229,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -171923,7 +172345,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return (_ref = (_entry$status = entry == null ? undefined : entry.status) != null ? _entry$status : state.default) != null ? _ref : 'closed'; } -},1216,[]); +},1230,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -171962,7 +172384,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, rest)) })); } -},1217,[3,4,16,1218,1219,179]); +},1231,[3,4,16,1232,1233,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -172010,7 +172432,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e flex: 1 } }); -},1218,[3,4,16,18,1214,883,179]); +},1232,[3,4,16,18,1228,897,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -172080,7 +172502,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, route.key); }); } -},1219,[16,3,1220,1073,179]); +},1233,[16,3,1234,1087,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -172234,7 +172656,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e display: 'flex' } }); -},1220,[3,4,1221,16,18,179,1073,1230]); +},1234,[3,4,1235,16,18,179,1087,1244]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -172656,7 +173078,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = Color; -},1221,[1222,1226]); +},1235,[1236,1240]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var convert = {}; var models = Object.keys(_$$_REQUIRE(_dependencyMap[0])); @@ -172728,7 +173150,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); }); module.exports = convert; -},1222,[1223,1225]); +},1236,[1237,1239]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var reverseKeywords = {}; @@ -173607,7 +174029,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var val = (rgb[0] + rgb[1] + rgb[2]) / 3; return [val / 255 * 100]; }; -},1223,[1224]); +},1237,[1238]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -173761,7 +174183,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "yellow": [255, 255, 0], "yellowgreen": [154, 205, 50] }; -},1224,[]); +},1238,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function buildGraph() { var graph = {}; @@ -173842,7 +174264,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return conversion; }; -},1225,[1223]); +},1239,[1237]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var hasOwnProperty = Object.hasOwnProperty; var reverseNames = {}; @@ -174067,7 +174489,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var str = Math.round(num).toString(16).toUpperCase(); return str.length < 2 ? '0' + str : str; } -},1226,[1227,1228]); +},1240,[1241,1242]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -174221,7 +174643,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "yellow": [255, 255, 0], "yellowgreen": [154, 205, 50] }; -},1227,[]); +},1241,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -174249,7 +174671,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return fn(swizzle(arguments)); }; }; -},1228,[1229]); +},1242,[1243]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = function isArrayish(obj) { if (!obj || typeof obj === 'string') { @@ -174258,7 +174680,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return obj instanceof Array || Array.isArray(obj) || obj.length >= 0 && (obj.splice instanceof Function || Object.getOwnPropertyDescriptor(obj, obj.length - 1) && obj.constructor.name !== 'String'); }; -},1229,[]); +},1243,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -174424,7 +174846,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); }); var Assets = exports.Assets = [_$$_REQUIRE(_dependencyMap[18]), _$$_REQUIRE(_dependencyMap[19])]; -},1230,[3,1231,1232,1233,1234,1239,1246,1235,1247,1236,1238,1248,1249,1242,1250,1251,1252,1253,1243,1245]); +},1244,[3,1245,1246,1247,1248,1253,1260,1249,1261,1250,1252,1262,1263,1256,1264,1265,1266,1267,1257,1259]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -174457,7 +174879,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, style] })); } -},1231,[3,4,16,18,1073,179]); +},1245,[3,4,16,18,1087,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -174496,7 +174918,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return headerHeight + statusBarHeight; } -},1232,[18]); +},1246,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -174506,7 +174928,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function getHeaderTitle(options, fallback) { return typeof options.headerTitle === 'string' ? options.headerTitle : options.title !== undefined ? options.title : fallback; } -},1233,[]); +},1247,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -174749,7 +175171,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e flexBasis: 0 } }); -},1234,[3,4,16,18,1232,1235,1236,1238,883,179]); +},1248,[3,4,16,18,1246,1249,1250,1252,897,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -174804,7 +175226,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } })) }); -},1235,[3,4,16,18,1073,179]); +},1249,[3,4,16,18,1087,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -174816,7 +175238,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var HeaderShownContext = (0, _getNamedContext.default)('HeaderShownContext', false); var _default = exports.default = HeaderShownContext; -},1236,[3,1237]); +},1250,[3,1251]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -174846,7 +175268,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e global[contexts].set(name, context); return context; } -},1237,[16]); +},1251,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -174901,7 +175323,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }) }); -},1238,[3,4,16,18,1073,179]); +},1252,[3,4,16,18,1087,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -175123,7 +175545,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }] } }); -},1239,[3,33,16,18,1240,1242,1073,179,1243,1245]); +},1253,[3,33,16,18,1254,1256,1087,179,1257,1259]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -175136,7 +175558,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _MaskedViewNative = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); -},1240,[3,1241]); +},1254,[3,1255]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -175175,7 +175597,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return children; } -},1241,[3,4,16,18,179]); +},1255,[3,4,16,18,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -175254,7 +175676,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, style] }, rest)); } -},1242,[3,33,4,16,18,1073,179]); +},1256,[3,33,4,16,18,1087,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -175266,12 +175688,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "back-icon", "type": "png" }); -},1243,[1244]); +},1257,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; module.exports = _$$_REQUIRE(_dependencyMap[0]); -},1244,[156]); +},1258,[156]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -175283,7 +175705,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "back-icon-mask", "type": "png" }); -},1245,[1244]); +},1259,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -175295,7 +175717,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var HeaderBackContext = (0, _getNamedContext.default)('HeaderBackContext', undefined); var _default = exports.default = HeaderBackContext; -},1246,[3,1237]); +},1260,[3,1251]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -175307,7 +175729,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var HeaderHeightContext = (0, _getNamedContext.default)('HeaderHeightContext', undefined); var _default = exports.default = HeaderHeightContext; -},1247,[3,1237]); +},1261,[3,1251]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -175331,7 +175753,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return height; } -},1248,[16,3,1247]); +},1262,[16,3,1261]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -175364,7 +175786,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e backgroundColor: 'transparent' } }); -},1249,[16,18,179]); +},1263,[16,18,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -175429,7 +175851,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e top: FAR_FAR_AWAY } }); -},1250,[3,4,16,18,179]); +},1264,[3,4,16,18,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -175493,7 +175915,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e flex: 1 } }); -},1251,[16,18,883,179]); +},1265,[16,18,897,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -175589,8 +176011,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e right: 0 } }); -},1252,[3,33,16,18,1231,1232,1247,1236,883,179,1073]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {},1253,[]); +},1266,[3,33,16,18,1245,1246,1261,1250,897,179,1087]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {},1267,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -175653,7 +176075,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e marginHorizontal: 11 } }); -},1254,[3,4,16,18,1073,179,1230,1255]); +},1268,[3,4,16,18,1087,179,1244,1269]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -175665,7 +176087,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "toggle-drawer-icon", "type": "png" }); -},1255,[1244]); +},1269,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -175680,7 +176102,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},1256,[1257]); +},1270,[1271]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -175726,7 +176148,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e children: (0, _$$_REQUIRE(_dependencyMap[4]).jsx)(_$$_REQUIRE(_dependencyMap[0]).PanGestureHandler, Object.assign({}, props)) }); } -},1257,[1,16,3,1258,179]); +},1271,[1,16,3,1272,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -175740,7 +176162,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } var _default = exports.default = React.createContext(null); -},1258,[16]); +},1272,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -176171,7 +176593,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } })) }); -},1259,[3,33,6,7,11,13,14,16,18,657,1260,1261,1256,179]); +},1273,[3,33,6,7,11,13,14,16,18,671,1274,1275,1270,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -176185,7 +176607,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } var _default = exports.default = React.createContext(undefined); -},1260,[16]); +},1274,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -176251,7 +176673,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = exports.default = Overlay; -},1261,[3,4,16,18,657,179]); +},1275,[3,4,16,18,671,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -176283,7 +176705,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _f._closure = {}; _f.asString = "function _f(value,start,end){return Math.min(Math.max(value,start),end);}"; _f.__workletHash = 12387352865556; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (33:15)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (33:15)"; return _f; }(); @@ -176341,7 +176763,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(open){const{drawerPosition,drawerWidth}=jsThis._closure;{if(drawerPosition==='left'){return open?0:-drawerWidth;}return open?0:drawerWidth;}}"; _f.__workletHash = 4752955090285; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (81:4)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (81:4)"; return _f; }(), [drawerPosition, drawerWidth]); var hideStatusBar = React.useCallback(function (hide) { @@ -176427,7 +176849,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(){const{translationX,getDrawerTranslationX,runOnJS,onOpen,onClose}=jsThis._closure;{if(translationX.value===getDrawerTranslationX(true)){runOnJS(onOpen)();}else if(translationX.value===getDrawerTranslationX(false)){runOnJS(onClose)();}}}"; _f.__workletHash = 6284511356291; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (169:8)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (169:8)"; return _f; }()); }; @@ -176444,7 +176866,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(open,velocity){const{getDrawerTranslationX,touchStartX,touchX,translationX,withSpring,runOnJS,onOpen,onClose}=jsThis._closure;{const translateX=getDrawerTranslationX(open);touchStartX.value=0;touchX.value=0;translationX.value=withSpring(translateX,{velocity:velocity,stiffness:1000,damping:500,mass:3,overshootClamping:true,restDisplacementThreshold:0.01,restSpeedThreshold:0.01},function(){if(translationX.value===getDrawerTranslationX(true)){runOnJS(onOpen)();}else if(translationX.value===getDrawerTranslationX(false)){runOnJS(onClose)();}});}}"; _f.__workletHash = 16911414692686; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (151:4)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (151:4)"; return _f; }(), [getDrawerTranslationX, onClose, onOpen, touchStartX, touchX, translationX]); React.useEffect(function () { @@ -176468,7 +176890,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(event,ctx){const{translationX,gestureState,touchStartX,runOnJS,onGestureStart}=jsThis._closure;{ctx.startX=translationX.value;gestureState.value=event.state;touchStartX.value=event.x;runOnJS(onGestureStart)();}}"; _f.__workletHash = 5837278583014; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (187:13)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (187:13)"; return _f; }(), onActive: function () { @@ -176485,7 +176907,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(event,ctx){const{touchX,translationX,gestureState}=jsThis._closure;{touchX.value=event.x;translationX.value=ctx.startX+event.translationX;gestureState.value=event.state;}}"; _f.__workletHash = 16355851393191; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (194:14)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (194:14)"; return _f; }(), onEnd: function () { @@ -176506,7 +176928,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(event){const{gestureState,SWIPE_DISTANCE_MINIMUM,swipeVelocityThreshold,swipeDistanceThreshold,drawerPosition,open,toggleDrawer}=jsThis._closure;{gestureState.value=event.state;const nextOpen=Math.abs(event.translationX)>SWIPE_DISTANCE_MINIMUM&&Math.abs(event.translationX)>swipeVelocityThreshold||Math.abs(event.translationX)>swipeDistanceThreshold?drawerPosition==='left'?(event.velocityX===0?event.translationX:event.velocityX)>0:(event.velocityX===0?event.translationX:event.velocityX)<0:open;toggleDrawer(nextOpen,event.velocityX);}}"; _f.__workletHash = 8167669550273; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (199:11)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (199:11)"; return _f; }(), onFinish: function () { @@ -176520,7 +176942,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(){const{runOnJS,onGestureFinish}=jsThis._closure;{runOnJS(onGestureFinish)();}}"; _f.__workletHash = 10753070071248; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (215:14)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (215:14)"; return _f; }() }); @@ -176548,7 +176970,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(){const{drawerType,gestureState,GestureState,minmax,drawerPosition,touchStartX,drawerWidth,dimensions,translationX}=jsThis._closure;{const touchDistance=drawerType==='front'&&gestureState.value===GestureState.ACTIVE?minmax(drawerPosition==='left'?touchStartX.value-drawerWidth:dimensions.width-drawerWidth-touchStartX.value,0,dimensions.width):0;const translateX=drawerPosition==='left'?minmax(translationX.value+touchDistance,-drawerWidth,0):minmax(translationX.value-touchDistance,0,drawerWidth);return translateX;}}"; _f.__workletHash = 16881564590342; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (220:37)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (220:37)"; return _f; }()); var drawerAnimatedStyle = (0, _reactNativeReanimated.useAnimatedStyle)(function () { @@ -176575,7 +176997,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(){const{dimensions,drawerWidth,drawerType,translateX,drawerPosition,I18nManager}=jsThis._closure;{const distanceFromEdge=dimensions.width-drawerWidth;return{transform:drawerType==='permanent'?[]:[{translateX:(drawerType==='back'?0:translateX.value)+(drawerPosition==='left'?I18nManager.isRTL?-distanceFromEdge:0:I18nManager.isRTL?0:distanceFromEdge)}]};}}"; _f.__workletHash = 6560524982379; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (265:47)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (265:47)"; _f.__optimalization = 3; return _f; }()); @@ -176596,7 +177018,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(){const{drawerType,translateX,drawerWidth,drawerPosition}=jsThis._closure;{return{transform:drawerType==='permanent'?[]:[{translateX:drawerType==='front'?0:translateX.value+drawerWidth*(drawerPosition==='left'?1:-1)}]};}}"; _f.__workletHash = 10940802030343; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (291:48)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (291:48)"; _f.__optimalization = 3; return _f; }()); @@ -176613,7 +177035,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(){const{drawerType,interpolate,translateX,getDrawerTranslationX}=jsThis._closure;{return drawerType==='permanent'?1:interpolate(translateX.value,[getDrawerTranslationX(false),getDrawerTranslationX(true)],[0,1]);}}"; _f.__workletHash = 10677902672597; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (311:35)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx (311:35)"; return _f; }()); return (0, _$$_REQUIRE(_dependencyMap[7]).jsx)(_DrawerProgressContext.default.Provider, { @@ -176676,7 +177098,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } })) }); -},1262,[16,18,657,3,1260,1263,1,179]); +},1276,[16,18,671,3,1274,1277,1,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -176717,7 +177139,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(){const{progress,PROGRESS_EPSILON}=jsThis._closure;{return{opacity:progress.value,zIndex:progress.value>PROGRESS_EPSILON?0:-1};}}"; _f.__workletHash = 1802421920871; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/@react-navigation/drawer/src/views/modern/Overlay.tsx (19:41)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/@react-navigation/drawer/src/views/modern/Overlay.tsx (19:41)"; _f.__optimalization = 3; return _f; }()); @@ -176737,7 +177159,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; _f.asString = "function _f(){const{progress,PROGRESS_EPSILON}=jsThis._closure;{const active=progress.value>PROGRESS_EPSILON;return{pointerEvents:active?'auto':'none',accessibilityElementsHidden:!active,importantForAccessibility:active?'auto':'no-hide-descendants'};}}"; _f.__workletHash = 1603427272892; - _f.__location = "/Users/ipaddev/sdk/3.16.13.rc/node_modules/@react-navigation/drawer/src/views/modern/Overlay.tsx (28:41)"; + _f.__location = "/Users/ipaddev/sdk/3.16.14.rc/node_modules/@react-navigation/drawer/src/views/modern/Overlay.tsx (28:41)"; return _f; }()); return (0, _$$_REQUIRE(_dependencyMap[5]).jsx)(_reactNativeReanimated.default.View, Object.assign({}, props, { @@ -176768,7 +177190,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = exports.default = Overlay; -},1263,[3,4,16,18,657,179]); +},1277,[3,4,16,18,671,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -176831,7 +177253,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e children: children })); } -},1264,[3,4,16,18,1265,179,1230]); +},1278,[3,4,16,18,1279,179,1244]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177077,7 +177499,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } -},1265,[1266,1267,1270,1271,1272,1273,1279,3,1282,1284,1286,1288,1289]); +},1279,[1280,1281,1284,1285,1286,1287,1293,3,1296,1298,1300,1302,1303]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177091,7 +177513,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e children: props.children }); }); -},1266,[3,16,179]); +},1280,[3,16,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177158,7 +177580,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e justifyContent: 'center' } }); -},1267,[3,16,18,1268,1269,179]); +},1281,[3,16,18,1282,1283,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177168,7 +177590,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSScreenStackHeaderConfig', {}); -},1268,[3,183]); +},1282,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177178,7 +177600,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSScreenStackHeaderSubview', {}); -},1269,[3,183]); +},1283,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177228,7 +177650,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function freezeEnabled() { return ENABLE_FREEZE; } -},1270,[18]); +},1284,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177247,12 +177669,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } var isNewBackTitleImplementation = exports.isNewBackTitleImplementation = true; -},1271,[18]); +},1285,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true }); -},1272,[]); +},1286,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177415,7 +177837,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = Screen; -},1273,[3,4,16,18,1274,1275,1277,1278,1270,179]); +},1287,[3,4,16,18,1288,1289,1291,1292,1284,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177429,7 +177851,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } var _default = exports.default = React.createContext(undefined); -},1274,[16]); +},1288,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177465,7 +177887,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } var _default = exports.default = DelayedFreeze; -},1275,[3,33,16,179,1276]); +},1289,[3,33,16,179,1290]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177508,7 +177930,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }) }); } -},1276,[16,179]); +},1290,[16,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177520,7 +177942,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = exports.default = (0, _codegenNativeComponent.default)('RNSScreen', { interfaceOnly: true }); -},1277,[3,183]); +},1291,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177532,7 +177954,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = exports.default = (0, _codegenNativeComponent.default)('RNSModalScreen', { interfaceOnly: true }); -},1278,[3,183]); +},1292,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177572,7 +177994,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } var _default = exports.default = ScreenContainer; -},1279,[3,4,18,16,1280,1281,1270,179]); +},1293,[3,4,18,16,1294,1295,1284,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177582,7 +178004,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSScreenContainer', {}); -},1280,[3,183]); +},1294,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177592,7 +178014,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSScreenNavigationContainer', {}); -},1281,[3,183]); +},1295,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177645,7 +178067,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } var _default = exports.default = ScreenStack; -},1282,[3,4,16,1275,1283,1265,179]); +},1296,[3,4,16,1289,1297,1279,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177655,7 +178077,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSScreenStack', {}); -},1283,[3,183]); +},1297,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177740,7 +178162,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } var _default = exports.default = _react.default.forwardRef(SearchBar); -},1284,[3,16,18,1285,1265,179]); +},1298,[3,16,18,1299,1279,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177756,7 +178178,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSSearchBar', {}); -},1285,[3,183,133]); +},1299,[3,183,133]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177788,7 +178210,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } var _default = exports.default = FullWindowOverlay; -},1286,[3,16,18,1287,179]); +},1300,[3,16,18,1301,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177798,7 +178220,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _codegenNativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _default = exports.default = (0, _codegenNativeComponent.default)('RNSFullWindowOverlay', {}); -},1287,[3,183]); +},1301,[3,183]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177808,7 +178230,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _reactNative = _$$_REQUIRE(_dependencyMap[0]); var _default = exports.default = _reactNative.TurboModuleRegistry.get('RNSModule'); -},1288,[18]); +},1302,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177832,7 +178254,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return progress; } -},1289,[16,3,1274]); +},1303,[16,3,1288]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177856,7 +178278,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return progress; } -},1290,[16,3,1260]); +},1304,[16,3,1274]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177880,7 +178302,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return drawerStatus; } -},1291,[16,3,1215]); +},1305,[16,3,1229]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -177967,7 +178389,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = MainHeader; exports.default = _default; -},1292,[3,16,568,18,1293,1296,1297,1299,1061,1053,1058]); +},1306,[3,16,582,18,1307,1310,1311,1313,1075,1067,1072]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -178027,7 +178449,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = HamburgerButton; exports.default = _default; -},1293,[3,16,568,18,1072,1294,939,1295,1058,1053]); +},1307,[3,16,582,18,1086,1308,953,1309,1072,1067]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -178052,7 +178474,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); exports.default = _default; -},1294,[18]); +},1308,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -178069,7 +178491,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcMenu; exports.default = _default; -},1295,[3,16,942]); +},1309,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -178153,7 +178575,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = Logo; exports.default = _default; -},1296,[3,16,568,18,939,1064,1061,1058,1053]); +},1310,[3,16,582,18,953,1078,1075,1072,1067]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -178260,7 +178682,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = CloseButton; exports.default = _default; -},1297,[16,3,568,18,1294,939,1298,937,1058,1062,1053]); +},1311,[16,3,582,18,1308,953,1312,951,1072,1076,1067]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -178277,7 +178699,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcClose; exports.default = _default; -},1298,[3,16,942]); +},1312,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -178311,7 +178733,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = PlaceHolderButton; exports.default = _default; -},1299,[3,16,568,18,1294,1058,1053]); +},1313,[3,16,582,18,1308,1072,1067]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -178386,7 +178808,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = UrlPage; exports.default = _default; -},1300,[3,16,568,18,1301,935,1059,1064,1304,1073]); +},1314,[3,16,582,18,1315,949,1073,1078,1318,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -178587,7 +179009,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = TaWebView; exports.default = _default; -},1301,[3,577,16,568,875,18,925,937,1302,1064,928,1062,926,1303]); +},1315,[3,591,16,582,889,18,939,951,1316,1078,942,1076,940,1317]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -178631,7 +179053,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); exports.default = Message; -},1302,[3,6,7,922,923]); +},1316,[3,6,7,936,937]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -178641,7 +179063,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function getTargetBlankPatch() { return "\n Array.from(document.querySelectorAll('a[target=\"_blank\"]')).forEach(link => link.removeAttribute('target'));"; } -},1303,[]); +},1317,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -178658,7 +179080,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcWebOff; exports.default = _default; -},1304,[3,16,942]); +},1318,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -178778,7 +179200,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = TabNavigator; exports.default = _default; -},1305,[3,577,16,568,1191,1190,1306,1064,1308,1340,1193,1300,1681,1682]); +},1319,[3,591,16,582,1205,1204,1320,1078,1322,1354,1207,1314,1681,1682]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -178853,7 +179275,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e EditionsNested.defaultProps = {}; var _default = EditionsNested; exports.default = _default; -},1306,[3,22,16,568,1185,1307,1329,1064,924]); +},1320,[3,22,16,582,1199,1321,1343,1078,938]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -179011,7 +179433,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = IssueList; exports.default = _default; -},1307,[3,577,4,16,568,924,1308,1320,1324,1325,1326,1061,1327,1328]); +},1321,[3,591,4,16,582,938,1322,1334,1338,1339,1340,1075,1341,1342]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -179080,7 +179502,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = IssueItem; exports.default = _default; -},1308,[3,577,4,16,568,924,1309,1061]); +},1322,[3,591,4,16,582,938,1323,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -179182,7 +179604,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = BaseItemWithImage; exports.default = _default; -},1309,[3,577,4,16,568,18,1310,924,1315,1316,1058,1053,1061]); +},1323,[3,591,4,16,582,18,1324,938,1329,1330,1072,1067,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -179200,7 +179622,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var LinearGradient = exports.LinearGradient = _reactNative.Platform.OS === "ios" ? _indexIos.default : _reactNative.Platform.OS === "android" ? _indexAndroid.default : _indexWindows.default; var _default = exports.default = LinearGradient; -},1310,[18,3,1311,1313,1314]); +},1324,[18,3,1325,1327,1328]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -179310,7 +179732,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e y: 1.0 } }; -},1311,[3,4,6,7,11,13,14,16,18,1312,179]); +},1325,[3,4,6,7,11,13,14,16,18,1326,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -179320,7 +179742,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _reactNative = _$$_REQUIRE(_dependencyMap[0]); var _default = exports.default = (0, _reactNative.requireNativeComponent)('BVLinearGradient'); -},1312,[18]); +},1326,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -179453,7 +179875,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e y: 1.0 } }; -},1313,[3,4,6,7,11,13,14,16,18,1312,179]); +},1327,[3,4,6,7,11,13,14,16,18,1326,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -179570,7 +179992,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e y: 1.0 } }; -},1314,[3,4,6,7,11,13,14,16,18,1312,179]); +},1328,[3,4,6,7,11,13,14,16,18,1326,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -179645,7 +180067,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e IssueImage.defaultProps = {}; var _default = IssueImage; exports.default = _default; -},1315,[3,577,16,568,18,924,939,1058,1061,921]); +},1329,[3,591,16,582,18,938,953,1072,1075,935]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -179767,7 +180189,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = BaseItem; exports.default = _default; -},1316,[3,577,16,568,18,924,1317,1058,1061]); +},1330,[3,591,16,582,18,938,1331,1072,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -180018,7 +180440,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = Badge; exports.default = _default; -},1317,[3,33,577,16,568,18,1059,1318,1061,1053,1058]); +},1331,[3,33,591,16,582,18,1073,1332,1075,1067,1072]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -180060,7 +180482,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e DownloadedCheck.defaultProps = {}; var _default = DownloadedCheck; exports.default = _default; -},1318,[3,577,4,16,568,1319,1058]); +},1332,[3,591,4,16,582,1333,1072]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -180077,7 +180499,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcCheckCircle; exports.default = _default; -},1319,[3,16,942]); +},1333,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -180172,7 +180594,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = List; exports.default = _default; -},1320,[3,22,577,4,16,18,568,1321,1323,1058,1061]); +},1334,[3,22,591,4,16,18,582,1335,1337,1072,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -180248,7 +180670,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = HorizontalList; exports.default = _default; -},1321,[3,4,577,16,568,18,1322,1058,1061]); +},1335,[3,4,591,16,582,18,1336,1072,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -180327,7 +180749,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = HeaderList; exports.default = _default; -},1322,[3,16,568,18,1059,939,1061,1053,1058]); +},1336,[3,16,582,18,1073,953,1075,1067,1072]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -180523,7 +180945,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = VerticalList; exports.default = _default; -},1323,[3,33,4,577,16,568,18,1058,1061]); +},1337,[3,33,4,591,16,582,18,1072,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -180577,7 +180999,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IssueCardItem; exports.default = _default; -},1324,[3,577,4,16,18,1308,1317,1053,1061]); +},1338,[3,591,4,16,18,1322,1331,1067,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -180607,7 +181029,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e IssueFlatItem.propTypes = _issueItem.default.propTypes; var _default = IssueFlatItem; exports.default = _default; -},1325,[3,577,4,16,1308,1061]); +},1339,[3,591,4,16,1322,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -180801,7 +181223,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = LayoutList; exports.default = _default; -},1326,[3,577,22,33,4,16,18,568,1321,1323,941,1058,1061,1327]); +},1340,[3,591,22,33,4,16,18,582,1335,1337,955,1072,1075,1341]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -180847,7 +181269,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return size; } -},1327,[18]); +},1341,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -180859,7 +181281,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var AspectRatioContext = _react.default.createContext(1); exports.AspectRatioContext = AspectRatioContext; -},1328,[3,16]); +},1342,[3,16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -181177,7 +181599,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = EditionList; exports.default = _default; -},1329,[3,919,22,33,4,577,16,568,1326,1185,1194,1308,924,1330,1324,1064,1334,1335,1337,1327,1061,921,1328]); +},1343,[3,933,22,33,4,591,16,582,1340,1199,1208,1322,938,1344,1338,1078,1348,1349,1351,1341,1075,935,1342]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -181220,7 +181642,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e EditionBackItem.defaultProps = {}; var _default = EditionBackItem; exports.default = _default; -},1330,[3,577,16,18,1331,1332,1053,1061]); +},1344,[3,591,16,18,1345,1346,1067,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -181237,7 +181659,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcBackCircle; exports.default = _default; -},1331,[3,16,942]); +},1345,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -181324,7 +181746,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = EditionCardItemWithIcons; exports.default = _default; -},1332,[3,577,4,16,568,18,1333,1053,1058,1061]); +},1346,[3,591,4,16,582,18,1347,1067,1072,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -181382,7 +181804,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e EditionCardItem.defaultProps = (0, _extends2.default)({}, _editionItem.default.defaultProps); var _default = EditionCardItem; exports.default = _default; -},1333,[3,577,4,16,18,568,1334,1317,1053,1061]); +},1347,[3,591,4,16,18,582,1348,1331,1067,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -181499,7 +181921,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = EditionItem; exports.default = _default; -},1334,[3,577,4,16,568,1185,1316,1194,1309,1061]); +},1348,[3,591,4,16,582,1199,1330,1208,1323,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -181575,7 +181997,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e EditionFolderItem.defaultProps = (0, _extends2.default)({}, _editionCardItemWithIcons.default.defaultProps, { enableFavorite: true }); -},1335,[3,577,22,4,16,568,18,1336,1332,1053,1337]); +},1349,[3,591,22,4,16,582,18,1350,1346,1067,1351]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -181592,7 +182014,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcNewspaperMultiple; exports.default = _default; -},1336,[3,16,942]); +},1350,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -181639,7 +182061,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e EditionFavoriteItem.defaultProps = (0, _extends2.default)({}, _editionCardItemWithIcons.default.defaultProps, { selected: false }); -},1337,[3,577,22,4,16,568,18,1332,1338,1339]); +},1351,[3,591,22,4,16,582,18,1346,1352,1353]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -181656,7 +182078,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcHeartMinus; exports.default = _default; -},1338,[3,16,942]); +},1352,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -181673,7 +182095,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcHeartPlusOutline; exports.default = _default; -},1339,[3,16,942]); +},1353,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -181784,7 +182206,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = EditionDayContainer; exports.default = _default; -},1340,[3,577,33,16,568,1341,1191,1357,1194,1328]); +},1354,[3,591,33,16,582,1355,1205,1371,1208,1342]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -182149,7 +182571,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = EditionDayPage; exports.default = _default; -},1341,[3,577,478,33,22,16,568,18,1185,924,1342,1354,1355,1356,1308,1194,1351,1064,1353,1317,1061,1058,1053]); +},1355,[3,591,478,33,22,16,582,18,1199,938,1356,1368,1369,1370,1322,1208,1365,1078,1367,1331,1075,1072,1067]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -182351,7 +182773,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, _issueList.default.propTypes); var _default = EditionsSecondary; exports.default = _default; -},1342,[3,577,22,33,16,568,18,1307,1185,1194,1343,1345,1064,924,1351,1353,1344,1061,1053]); +},1356,[3,591,22,33,16,582,18,1321,1199,1208,1357,1359,1078,938,1365,1367,1358,1075,1067]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -182421,7 +182843,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = EditionsSecondaryEmpty; exports.default = _default; -},1343,[3,16,568,18,939,1344,1053,1061,1058]); +},1357,[3,16,582,18,953,1358,1067,1075,1072]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -182438,7 +182860,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcPlus; exports.default = _default; -},1344,[3,16,942]); +},1358,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -182679,7 +183101,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = EditionsSecondaryModal; exports.default = _default; -},1345,[3,33,22,16,568,18,1064,1185,1346,1194,1329,1348,1053,1058,1061,1349,1182]); +},1359,[3,33,22,16,582,18,1078,1199,1360,1208,1343,1362,1067,1072,1075,1363,1196]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -182816,7 +183238,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = EditionsSecondaryModalHeader; exports.default = _default; -},1346,[3,16,568,18,1059,939,1298,1347,1064,1061,1053,1058]); +},1360,[3,16,582,18,1073,953,1312,1361,1078,1075,1067,1072]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -182833,7 +183255,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcContentSaveOutline; exports.default = _default; -},1347,[3,16,942]); +},1361,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -182914,7 +183336,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = EditionsTags; exports.default = _default; -},1348,[3,16,568,18,1298,1059,1064,1185,1053,1061]); +},1362,[3,16,582,18,1312,1073,1078,1199,1067,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -183295,7 +183717,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e textColor: _$$_REQUIRE(_dependencyMap[14]).colors.black, autoFocus: false }; -},1349,[3,919,6,7,12,14,11,13,16,568,18,941,1350,1058,1053]); +},1363,[3,933,6,7,12,14,11,13,16,582,18,955,1364,1072,1067]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -183312,7 +183734,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcCloseCircle; exports.default = _default; -},1350,[3,16,942]); +},1364,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -183483,7 +183905,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, _issueList.default.propTypes); var _default = IssuesGrid; exports.default = _default; -},1351,[3,577,22,33,16,568,18,1307,924,1324,1352,1061]); +},1365,[3,591,22,33,16,582,18,1321,938,1338,1366,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -183648,7 +184070,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = Grid; exports.default = _default; -},1352,[3,33,16,18,568]); +},1366,[3,33,16,18,582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -183737,7 +184159,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = EditionDayHeader; exports.default = _default; -},1353,[3,577,4,16,568,18,1059,1064]); +},1367,[3,591,4,16,582,18,1073,1078]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -183791,7 +184213,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, _issueItem.default.propTypes); var _default = IssueShadowItem; exports.default = _default; -},1354,[3,577,4,16,568,18,1308,1318,1061]); +},1368,[3,591,4,16,582,18,1322,1332,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -183869,7 +184291,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); exports.default = _default; -},1355,[3,577,18,1053,1061]); +},1369,[3,591,18,1067,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -183913,7 +184335,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = EditionDayBg; exports.default = _default; -},1356,[3,16,568,18,1064,1053]); +},1370,[3,16,582,18,1078,1067]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -184091,7 +184513,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = EditionDaySelector; exports.default = _default; -},1357,[3,33,16,568,18,1064,924,1194,1358,1359,1066,1353]); +},1371,[3,33,16,582,18,1078,938,1208,1372,1373,1080,1367]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -184108,7 +184530,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcCalendarMonth; exports.default = _default; -},1358,[3,16,942]); +},1372,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -184173,7 +184595,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = TaCalendarModal; exports.default = _default; -},1359,[3,4,577,16,568,18,815,1360,1363,1058]); +},1373,[3,4,591,16,582,18,829,1374,1377,1072]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -184296,7 +184718,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e TaCalendar.defaultProps = (0, _extends2.default)({}, _calendarCommon.default.defaultProps); var _default = TaCalendar; exports.default = _default; -},1360,[3,577,4,16,1064,1066,1361,1362,1363,1364,1061]); +},1374,[3,591,4,16,1078,1080,1375,1376,1377,1378,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -184313,7 +184735,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcArrowLeft; exports.default = _default; -},1361,[3,16,942]); +},1375,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -184330,7 +184752,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = IcArrowRight; exports.default = _default; -},1362,[3,16,942]); +},1376,[3,16,956]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -184364,7 +184786,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = CalendarCommons; exports.default = _default; -},1363,[3,568]); +},1377,[3,582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -184489,7 +184911,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _xdate = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); var _Profiler = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); -},1364,[3,1365,1584,1588,1628,1637,1646,1647,1644,1652,1656,1657,1677,1577,1366,1680]); +},1378,[3,1379,1586,1590,1628,1637,1646,1647,1644,1652,1656,1657,1677,1579,1380,1680]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -184776,7 +185198,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e customHeader: _propTypes.default.any, allowSelectionOutOfRange: _propTypes.default.bool }); -},1365,[3,33,568,1366,1367,16,18,1404,1405,1406,1408,1433,1563,1430,1582,1429,179,1571,1583]); +},1379,[3,33,582,1380,1381,16,18,1410,1411,1412,1414,1435,1565,1432,1584,1431,179,1573,1585]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { /** * @preserve XDate v@VERSION @@ -185461,7 +185883,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return XDate; }(Date, Math, Array); -},1366,[]); +},1380,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var mapTag = '[object Map]', setTag = '[object Set]'; @@ -185497,14 +185919,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = isEmpty; -},1367,[1368,1378,1379,1381,1386,1388,1400,1401]); +},1381,[1382,1385,1386,1388,1392,1394,1406,1407]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function isArrayLike(value) { return value != null && _$$_REQUIRE(_dependencyMap[0])(value.length) && !_$$_REQUIRE(_dependencyMap[1])(value); } module.exports = isArrayLike; -},1368,[1369,1370]); +},1382,[1383,1384]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var MAX_SAFE_INTEGER = 9007199254740991; @@ -185513,7 +185935,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = isLength; -},1369,[]); +},1383,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var asyncTag = '[object AsyncFunction]', funcTag = '[object Function]', @@ -185531,84 +185953,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = isFunction; -},1370,[1371,1372]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - function isObject(value) { - var type = typeof value; - return value != null && (type == 'object' || type == 'function'); - } - - module.exports = isObject; -},1371,[]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - var nullTag = '[object Null]', - undefinedTag = '[object Undefined]'; - var symToStringTag = _$$_REQUIRE(_dependencyMap[0]) ? _$$_REQUIRE(_dependencyMap[0]).toStringTag : undefined; - - function baseGetTag(value) { - if (value == null) { - return value === undefined ? undefinedTag : nullTag; - } - - return symToStringTag && symToStringTag in Object(value) ? _$$_REQUIRE(_dependencyMap[1])(value) : _$$_REQUIRE(_dependencyMap[2])(value); - } - - module.exports = baseGetTag; -},1372,[1373,1376,1377]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - module.exports = _$$_REQUIRE(_dependencyMap[0]).Symbol; -},1373,[1374]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - var freeSelf = typeof self == 'object' && self && self.Object === Object && self; - var root = _$$_REQUIRE(_dependencyMap[0]) || freeSelf || Function('return this')(); - module.exports = root; -},1374,[1375]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; - module.exports = freeGlobal; -},1375,[]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - var objectProto = Object.prototype; - var hasOwnProperty = objectProto.hasOwnProperty; - var nativeObjectToString = objectProto.toString; - var symToStringTag = _$$_REQUIRE(_dependencyMap[0]) ? _$$_REQUIRE(_dependencyMap[0]).toStringTag : undefined; - - function getRawTag(value) { - var isOwn = hasOwnProperty.call(value, symToStringTag), - tag = value[symToStringTag]; - - try { - value[symToStringTag] = undefined; - var unmasked = true; - } catch (e) {} - - var result = nativeObjectToString.call(value); - { - if (isOwn) { - value[symToStringTag] = tag; - } else { - delete value[symToStringTag]; - } - } - return result; - } - - module.exports = getRawTag; -},1376,[1373]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - var objectProto = Object.prototype; - var nativeObjectToString = objectProto.toString; - - function objectToString(value) { - return nativeObjectToString.call(value); - } - - module.exports = objectToString; -},1377,[]); +},1384,[490,484]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var isArray = Array.isArray; module.exports = isArray; -},1378,[]); +},1385,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; @@ -185619,20 +185968,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var isBuffer = nativeIsBuffer || _$$_REQUIRE(_dependencyMap[1]); module.exports = isBuffer; -},1379,[1374,1380]); +},1386,[486,1387]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function stubFalse() { return false; } module.exports = stubFalse; -},1380,[]); +},1387,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var nodeIsTypedArray = _$$_REQUIRE(_dependencyMap[0]) && _$$_REQUIRE(_dependencyMap[0]).isTypedArray; var isTypedArray = nodeIsTypedArray ? _$$_REQUIRE(_dependencyMap[1])(nodeIsTypedArray) : _$$_REQUIRE(_dependencyMap[2]); module.exports = isTypedArray; -},1381,[1382,1383,1384]); +},1388,[1389,1390,1391]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; @@ -185653,7 +186002,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); module.exports = nodeUtil; -},1382,[1375]); +},1389,[487]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseUnary(func) { return function (value) { @@ -185662,7 +186011,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseUnary; -},1383,[]); +},1390,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var argsTag = '[object Arguments]', arrayTag = '[object Array]', @@ -185697,14 +186046,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseIsTypedArray; -},1384,[1385,1369,1372]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - function isObjectLike(value) { - return value != null && typeof value == 'object'; - } - - module.exports = isObjectLike; -},1385,[]); +},1391,[483,1383,484]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; @@ -185715,7 +186057,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return _$$_REQUIRE(_dependencyMap[1])(value) && hasOwnProperty.call(value, 'callee') && !propertyIsEnumerable.call(value, 'callee'); }; module.exports = isArguments; -},1386,[1387,1385]); +},1392,[1393,483]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var argsTag = '[object Arguments]'; @@ -185724,7 +186066,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseIsArguments; -},1387,[1385,1372]); +},1393,[483,484]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var mapTag = '[object Map]', objectTag = '[object Object]', @@ -185771,7 +186113,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = getTag; -},1388,[1389,1390,1396,1397,1398,1399,1372]); +},1394,[1395,1396,1402,1403,1404,1405,484]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var funcProto = Function.prototype; var funcToString = funcProto.toString; @@ -185791,12 +186133,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = toSource; -},1389,[]); +},1395,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var DataView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]), 'DataView'); module.exports = DataView; -},1390,[1391,1374]); +},1396,[1397,486]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function getNative(object, key) { var value = _$$_REQUIRE(_dependencyMap[0])(object, key); @@ -185805,14 +186147,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = getNative; -},1391,[1392,1393]); +},1397,[1398,1399]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function getValue(object, key) { return object == null ? undefined : object[key]; } module.exports = getValue; -},1392,[]); +},1398,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; var reIsHostCtor = /^\[object .+?Constructor\]$/; @@ -185832,7 +186174,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseIsNative; -},1393,[1371,1394,1370,1389]); +},1399,[490,1400,1384,1395]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var maskSrcKey = function () { var uid = /[^.]+$/.exec(_$$_REQUIRE(_dependencyMap[0]) && _$$_REQUIRE(_dependencyMap[0]).keys && _$$_REQUIRE(_dependencyMap[0]).keys.IE_PROTO || ''); @@ -185844,30 +186186,30 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = isMasked; -},1394,[1395]); +},1400,[1401]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0])['__core-js_shared__']; -},1395,[1374]); +},1401,[486]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var Map = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]), 'Map'); module.exports = Map; -},1396,[1391,1374]); +},1402,[1397,486]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var Promise = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]), 'Promise'); module.exports = Promise; -},1397,[1391,1374]); +},1403,[1397,486]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var Set = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]), 'Set'); module.exports = Set; -},1398,[1391,1374]); +},1404,[1397,486]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var WeakMap = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1]), 'WeakMap'); module.exports = WeakMap; -},1399,[1391,1374]); +},1405,[1397,486]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var objectProto = Object.prototype; @@ -185878,7 +186220,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = isPrototype; -},1400,[]); +},1406,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; @@ -185900,12 +186242,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseKeys; -},1401,[1400,1402]); +},1407,[1406,1408]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var nativeKeys = _$$_REQUIRE(_dependencyMap[0])(Object.keys, Object); module.exports = nativeKeys; -},1402,[1403]); +},1408,[1409]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function overArg(func, transform) { return function (arg) { @@ -185914,7 +186256,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = overArg; -},1403,[]); +},1409,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -186087,7 +186429,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_react.Component); var _default = exports.default = GestureRecognizer; -},1404,[3,6,7,11,13,14,16,18,179]); +},1410,[3,6,7,11,13,14,16,18,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -186114,7 +186456,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e isIOS: isIOS, isTablet: isTablet }; -},1405,[18]); +},1411,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -186155,7 +186497,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, theme['stylesheet.calendar.main'] || {})); } -},1406,[18,1407]); +},1412,[18,1413]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -186211,7 +186553,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var todayButtonTextColor = exports.todayButtonTextColor = SECONDARY_TEXT_COLOR; var todayButtonPosition = exports.todayButtonPosition = undefined; var weekVerticalMargin = exports.weekVerticalMargin = 7; -},1407,[]); +},1413,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -186458,7 +186800,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e webAriaLevel: 1, arrowsHitSlop: 20 }; -},1408,[3,1409,1366,16,18,1428,1429,179,1431,1432]); +},1414,[3,1415,1380,16,18,1430,1431,179,1433,1434]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var nativeMax = Math.max; @@ -186475,14 +186817,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = includes; -},1409,[1368,1410,1417,1423,1424]); +},1415,[1382,1416,1423,1425,1426]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function values(object) { return object == null ? [] : _$$_REQUIRE(_dependencyMap[0])(object, _$$_REQUIRE(_dependencyMap[1])(object)); } module.exports = values; -},1410,[1411,1413]); +},1416,[1417,1419]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseValues(object, props) { return _$$_REQUIRE(_dependencyMap[0])(props, function (key) { @@ -186491,7 +186833,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseValues; -},1411,[1412]); +},1417,[1418]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function arrayMap(array, iteratee) { var index = -1, @@ -186506,14 +186848,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = arrayMap; -},1412,[]); +},1418,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function keys(object) { return _$$_REQUIRE(_dependencyMap[0])(object) ? _$$_REQUIRE(_dependencyMap[1])(object) : _$$_REQUIRE(_dependencyMap[2])(object); } module.exports = keys; -},1413,[1368,1414,1401]); +},1419,[1382,1420,1407]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; @@ -186537,7 +186879,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = arrayLikeKeys; -},1414,[1378,1386,1379,1381,1415,1416]); +},1420,[1385,1392,1386,1388,1421,1422]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseTimes(n, iteratee) { var index = -1, @@ -186551,7 +186893,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseTimes; -},1415,[]); +},1421,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var MAX_SAFE_INTEGER = 9007199254740991; var reIsUint = /^(?:0|[1-9]\d*)$/; @@ -186563,7 +186905,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = isIndex; -},1416,[]); +},1422,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function toInteger(value) { var result = _$$_REQUIRE(_dependencyMap[0])(value), @@ -186573,7 +186915,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = toInteger; -},1417,[1418]); +},1423,[1424]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var INFINITY = 1 / 0, MAX_INTEGER = 1.7976931348623157e+308; @@ -186594,70 +186936,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = toFinite; -},1418,[1419]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - var NAN = 0 / 0; - var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; - var reIsBinary = /^0b[01]+$/i; - var reIsOctal = /^0o[0-7]+$/i; - var freeParseInt = parseInt; - - function toNumber(value) { - if (typeof value == 'number') { - return value; - } - - if (_$$_REQUIRE(_dependencyMap[0])(value)) { - return NAN; - } - - if (_$$_REQUIRE(_dependencyMap[1])(value)) { - var other = typeof value.valueOf == 'function' ? value.valueOf() : value; - value = _$$_REQUIRE(_dependencyMap[1])(other) ? other + '' : other; - } - - if (typeof value != 'string') { - return value === 0 ? value : +value; - } - - value = _$$_REQUIRE(_dependencyMap[2])(value); - var isBinary = reIsBinary.test(value); - return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value; - } - - module.exports = toNumber; -},1419,[1420,1371,1421]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - var symbolTag = '[object Symbol]'; - - function isSymbol(value) { - return typeof value == 'symbol' || _$$_REQUIRE(_dependencyMap[0])(value) && _$$_REQUIRE(_dependencyMap[1])(value) == symbolTag; - } - - module.exports = isSymbol; -},1420,[1385,1372]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - var reTrimStart = /^\s+/; - - function baseTrim(string) { - return string ? string.slice(0, _$$_REQUIRE(_dependencyMap[0])(string) + 1).replace(reTrimStart, '') : string; - } - - module.exports = baseTrim; -},1421,[1422]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - var reWhitespace = /\s/; - - function trimmedEndIndex(string) { - var index = string.length; - - while (index-- && reWhitespace.test(string.charAt(index))) {} - - return index; - } - - module.exports = trimmedEndIndex; -},1422,[]); +},1424,[481]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var stringTag = '[object String]'; @@ -186666,14 +186945,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = isString; -},1423,[1378,1385,1372]); +},1425,[1385,483,484]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseIndexOf(array, value, fromIndex) { return value === value ? _$$_REQUIRE(_dependencyMap[0])(array, value, fromIndex) : _$$_REQUIRE(_dependencyMap[1])(array, _$$_REQUIRE(_dependencyMap[2]), fromIndex); } module.exports = baseIndexOf; -},1424,[1425,1426,1427]); +},1426,[1427,1428,1429]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function strictIndexOf(array, value, fromIndex) { var index = fromIndex - 1, @@ -186689,7 +186968,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = strictIndexOf; -},1425,[]); +},1427,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseFindIndex(array, predicate, fromIndex, fromRight) { var length = array.length, @@ -186705,14 +186984,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseFindIndex; -},1426,[]); +},1428,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseIsNaN(value) { return value !== value; } module.exports = baseIsNaN; -},1427,[]); +},1429,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -186796,7 +187075,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, theme['stylesheet.calendar.header'] || {})); } -},1428,[18,1407,3,1405]); +},1430,[18,1413,3,1411]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -187046,7 +187325,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function getLocale() { return _$$_REQUIRE(_dependencyMap[0]).locales[_$$_REQUIRE(_dependencyMap[0]).defaultLocale]; } -},1429,[1366,1430]); +},1431,[1380,1432]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -187107,7 +187386,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return 'Invalid Date'; } -},1430,[1366]); +},1432,[1380]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -187119,7 +187398,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "previous", "type": "png" }); -},1431,[1244]); +},1433,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -187131,7 +187410,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "next", "type": "png" }); -},1432,[1244]); +},1434,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -187230,7 +187509,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = exports.default = Day; Day.displayName = 'Day'; -},1433,[3,1434,1528,1541,1366,16,1563,1575,1429,1577,1430,179]); +},1435,[3,1436,1530,1543,1380,16,1565,1577,1431,1579,1432,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var CLONE_DEEP_FLAG = 1, CLONE_FLAT_FLAG = 2, @@ -187266,19 +187545,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); module.exports = omit; -},1434,[1435,1412,1448,1478,1481,1491,1520,1522]); +},1436,[1437,1418,1450,1480,1483,1493,1522,1524]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function flatRest(func) { return _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])(func, undefined, _$$_REQUIRE(_dependencyMap[2])), func + ''); } module.exports = flatRest; -},1435,[1436,1442,1444]); +},1437,[1438,1444,1446]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var setToString = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); module.exports = setToString; -},1436,[1437,1438]); +},1438,[1439,1440]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var HOT_COUNT = 800, HOT_SPAN = 16; @@ -187305,7 +187584,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = shortOut; -},1437,[]); +},1439,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var baseSetToString = !_$$_REQUIRE(_dependencyMap[0]) ? _$$_REQUIRE(_dependencyMap[1]) : function (func, string) { return _$$_REQUIRE(_dependencyMap[0])(func, 'toString', { @@ -187316,7 +187595,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); }; module.exports = baseSetToString; -},1438,[1439,1440,1441]); +},1440,[1441,1442,1443]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var defineProperty = function () { try { @@ -187328,14 +187607,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); module.exports = defineProperty; -},1439,[1391]); +},1441,[1397]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function identity(value) { return value; } module.exports = identity; -},1440,[]); +},1442,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function constant(value) { return function () { @@ -187344,7 +187623,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = constant; -},1441,[]); +},1443,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var nativeMax = Math.max; @@ -187373,7 +187652,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = overRest; -},1442,[1443]); +},1444,[1445]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function apply(func, thisArg, args) { switch (args.length) { @@ -187394,7 +187673,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = apply; -},1443,[]); +},1445,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function flatten(array) { var length = array == null ? 0 : array.length; @@ -187402,7 +187681,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = flatten; -},1444,[1445]); +},1446,[1447]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseFlatten(array, depth, predicate, isStrict, result) { var index = -1, @@ -187428,7 +187707,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseFlatten; -},1445,[1446,1447]); +},1447,[1448,1449]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var spreadableSymbol = _$$_REQUIRE(_dependencyMap[0]) ? _$$_REQUIRE(_dependencyMap[0]).isConcatSpreadable : undefined; @@ -187437,7 +187716,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = isFlattenable; -},1446,[1373,1378,1386]); +},1448,[485,1385,1392]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function arrayPush(array, values) { var index = -1, @@ -187452,7 +187731,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = arrayPush; -},1447,[]); +},1449,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function castPath(value, object) { if (_$$_REQUIRE(_dependencyMap[0])(value)) { @@ -187463,7 +187742,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = castPath; -},1448,[1378,1449,1450,1476]); +},1450,[1385,1451,1452,1478]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/; @@ -187483,7 +187762,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = isKey; -},1449,[1378,1420]); +},1451,[1385,482]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; var reEscapeChar = /\\(\\)?/g; @@ -187502,7 +187781,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); module.exports = stringToPath; -},1450,[1451]); +},1452,[1453]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var MAX_MEMOIZE_SIZE = 500; @@ -187520,7 +187799,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = memoizeCapped; -},1451,[1452]); +},1453,[1454]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var FUNC_ERROR_TEXT = 'Expected a function'; @@ -187549,7 +187828,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e memoize.Cache = _$$_REQUIRE(_dependencyMap[0]); module.exports = memoize; -},1452,[1453]); +},1454,[1455]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function MapCache(entries) { var index = -1, @@ -187568,7 +187847,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e MapCache.prototype.has = _$$_REQUIRE(_dependencyMap[3]); MapCache.prototype.set = _$$_REQUIRE(_dependencyMap[4]); module.exports = MapCache; -},1453,[1454,1470,1473,1474,1475]); +},1455,[1456,1472,1475,1476,1477]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function mapCacheClear() { this.size = 0; @@ -187580,7 +187859,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = mapCacheClear; -},1454,[1455,1396,1462]); +},1456,[1457,1402,1464]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function Hash(entries) { var index = -1, @@ -187599,7 +187878,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e Hash.prototype.has = _$$_REQUIRE(_dependencyMap[3]); Hash.prototype.set = _$$_REQUIRE(_dependencyMap[4]); module.exports = Hash; -},1455,[1456,1458,1459,1460,1461]); +},1457,[1458,1460,1461,1462,1463]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function hashClear() { this.__data__ = _$$_REQUIRE(_dependencyMap[0]) ? _$$_REQUIRE(_dependencyMap[0])(null) : {}; @@ -187607,12 +187886,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = hashClear; -},1456,[1457]); +},1458,[1459]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var nativeCreate = _$$_REQUIRE(_dependencyMap[0])(Object, 'create'); module.exports = nativeCreate; -},1457,[1391]); +},1459,[1397]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function hashDelete(key) { var result = this.has(key) && delete this.__data__[key]; @@ -187621,7 +187900,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = hashDelete; -},1458,[]); +},1460,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var HASH_UNDEFINED = '__lodash_hash_undefined__'; var objectProto = Object.prototype; @@ -187639,7 +187918,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = hashGet; -},1459,[1457]); +},1461,[1459]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; @@ -187650,7 +187929,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = hashHas; -},1460,[1457]); +},1462,[1459]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var HASH_UNDEFINED = '__lodash_hash_undefined__'; @@ -187662,7 +187941,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = hashSet; -},1461,[1457]); +},1463,[1459]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function ListCache(entries) { var index = -1, @@ -187681,7 +187960,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e ListCache.prototype.has = _$$_REQUIRE(_dependencyMap[3]); ListCache.prototype.set = _$$_REQUIRE(_dependencyMap[4]); module.exports = ListCache; -},1462,[1463,1464,1467,1468,1469]); +},1464,[1465,1466,1469,1470,1471]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function listCacheClear() { this.__data__ = []; @@ -187689,7 +187968,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = listCacheClear; -},1463,[]); +},1465,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var arrayProto = Array.prototype; var splice = arrayProto.splice; @@ -187715,7 +187994,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = listCacheDelete; -},1464,[1465]); +},1466,[1467]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function assocIndexOf(array, key) { var length = array.length; @@ -187730,14 +188009,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = assocIndexOf; -},1465,[1466]); +},1467,[1468]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function eq(value, other) { return value === other || value !== value && other !== other; } module.exports = eq; -},1466,[]); +},1468,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function listCacheGet(key) { var data = this.__data__, @@ -187747,14 +188026,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = listCacheGet; -},1467,[1465]); +},1469,[1467]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function listCacheHas(key) { return _$$_REQUIRE(_dependencyMap[0])(this.__data__, key) > -1; } module.exports = listCacheHas; -},1468,[1465]); +},1470,[1467]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function listCacheSet(key, value) { var data = this.__data__, @@ -187771,7 +188050,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = listCacheSet; -},1469,[1465]); +},1471,[1467]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function mapCacheDelete(key) { var result = _$$_REQUIRE(_dependencyMap[0])(this, key)['delete'](key); @@ -187781,7 +188060,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = mapCacheDelete; -},1470,[1471]); +},1472,[1473]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function getMapData(map, key) { var data = map.__data__; @@ -187789,7 +188068,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = getMapData; -},1471,[1472]); +},1473,[1474]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function isKeyable(value) { var type = typeof value; @@ -187797,21 +188076,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = isKeyable; -},1472,[]); +},1474,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function mapCacheGet(key) { return _$$_REQUIRE(_dependencyMap[0])(this, key).get(key); } module.exports = mapCacheGet; -},1473,[1471]); +},1475,[1473]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function mapCacheHas(key) { return _$$_REQUIRE(_dependencyMap[0])(this, key).has(key); } module.exports = mapCacheHas; -},1474,[1471]); +},1476,[1473]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function mapCacheSet(key, value) { var data = _$$_REQUIRE(_dependencyMap[0])(this, key), @@ -187823,14 +188102,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = mapCacheSet; -},1475,[1471]); +},1477,[1473]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function toString(value) { return value == null ? '' : _$$_REQUIRE(_dependencyMap[0])(value); } module.exports = toString; -},1476,[1477]); +},1478,[1479]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var INFINITY = 1 / 0; var symbolProto = _$$_REQUIRE(_dependencyMap[0]) ? _$$_REQUIRE(_dependencyMap[0]).prototype : undefined, @@ -187854,7 +188133,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseToString; -},1477,[1373,1378,1412,1420]); +},1479,[485,1385,1418,482]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function copyObject(source, props, object, customizer) { var isNew = !object; @@ -187881,7 +188160,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = copyObject; -},1478,[1479,1480]); +},1480,[1481,1482]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseAssignValue(object, key, value) { if (key == '__proto__' && _$$_REQUIRE(_dependencyMap[0])) { @@ -187897,7 +188176,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseAssignValue; -},1479,[1439]); +},1481,[1441]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; @@ -187911,14 +188190,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = assignValue; -},1480,[1466,1479]); +},1482,[1468,1481]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function getAllKeysIn(object) { return _$$_REQUIRE(_dependencyMap[0])(object, _$$_REQUIRE(_dependencyMap[1]), _$$_REQUIRE(_dependencyMap[2])); } module.exports = getAllKeysIn; -},1481,[1482,1483,1486]); +},1483,[1484,1485,1488]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseGetAllKeys(object, keysFunc, symbolsFunc) { var result = keysFunc(object); @@ -187926,14 +188205,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseGetAllKeys; -},1482,[1378,1447]); +},1484,[1385,1449]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function keysIn(object) { return _$$_REQUIRE(_dependencyMap[0])(object) ? _$$_REQUIRE(_dependencyMap[1])(object, true) : _$$_REQUIRE(_dependencyMap[2])(object); } module.exports = keysIn; -},1483,[1368,1414,1484]); +},1485,[1382,1420,1486]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; @@ -187956,7 +188235,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseKeysIn; -},1484,[1371,1485,1400]); +},1486,[490,1487,1406]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function nativeKeysIn(object) { var result = []; @@ -187971,7 +188250,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = nativeKeysIn; -},1485,[]); +},1487,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var nativeGetSymbols = Object.getOwnPropertySymbols; var getSymbolsIn = !nativeGetSymbols ? _$$_REQUIRE(_dependencyMap[0]) : function (object) { @@ -187986,14 +188265,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return result; }; module.exports = getSymbolsIn; -},1486,[1487,1447,1488,1490]); +},1488,[1489,1449,1490,1492]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function stubArray() { return []; } module.exports = stubArray; -},1487,[]); +},1489,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var objectProto = Object.prototype; var propertyIsEnumerable = objectProto.propertyIsEnumerable; @@ -188009,7 +188288,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); }; module.exports = getSymbols; -},1488,[1487,1489]); +},1490,[1489,1491]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function arrayFilter(array, predicate) { var index = -1, @@ -188029,12 +188308,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = arrayFilter; -},1489,[]); +},1491,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var getPrototype = _$$_REQUIRE(_dependencyMap[0])(Object.getPrototypeOf, Object); module.exports = getPrototype; -},1490,[1403]); +},1492,[1409]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var CLONE_DEEP_FLAG = 1, CLONE_FLAT_FLAG = 2, @@ -188153,7 +188432,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseClone; -},1491,[1371,1378,1492,1493,1388,1379,1494,1495,1497,1498,1499,1500,1501,1508,1514,1516,1481,1518,1483,1413,1519,1480]); +},1493,[490,1385,1494,1495,1394,1386,1496,1497,1499,1500,1501,1502,1503,1510,1516,1518,1483,1520,1485,1419,1521,1482]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; @@ -188171,7 +188450,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = initCloneArray; -},1492,[]); +},1494,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function copyArray(source, array) { var index = -1, @@ -188186,7 +188465,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = copyArray; -},1493,[]); +},1495,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; @@ -188206,14 +188485,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = cloneBuffer; -},1494,[1374]); +},1496,[486]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function initCloneObject(object) { return typeof object.constructor == 'function' && !_$$_REQUIRE(_dependencyMap[0])(object) ? _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2])(object)) : {}; } module.exports = initCloneObject; -},1495,[1400,1496,1490]); +},1497,[1406,1498,1492]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var objectCreate = Object.create; @@ -188237,35 +188516,35 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); module.exports = baseCreate; -},1496,[1371]); +},1498,[490]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function copySymbolsIn(source, object) { return _$$_REQUIRE(_dependencyMap[0])(source, _$$_REQUIRE(_dependencyMap[1])(source), object); } module.exports = copySymbolsIn; -},1497,[1478,1486]); +},1499,[1480,1488]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseAssignIn(object, source) { return object && _$$_REQUIRE(_dependencyMap[0])(source, _$$_REQUIRE(_dependencyMap[1])(source), object); } module.exports = baseAssignIn; -},1498,[1478,1483]); +},1500,[1480,1485]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function copySymbols(source, object) { return _$$_REQUIRE(_dependencyMap[0])(source, _$$_REQUIRE(_dependencyMap[1])(source), object); } module.exports = copySymbols; -},1499,[1478,1488]); +},1501,[1480,1490]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseAssign(object, source) { return object && _$$_REQUIRE(_dependencyMap[0])(source, _$$_REQUIRE(_dependencyMap[1])(source), object); } module.exports = baseAssign; -},1500,[1478,1413]); +},1502,[1480,1419]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var boolTag = '[object Boolean]', dateTag = '[object Date]', @@ -188331,7 +188610,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = initCloneByTag; -},1501,[1502,1504,1505,1506,1507]); +},1503,[1504,1506,1507,1508,1509]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function cloneArrayBuffer(arrayBuffer) { var result = new arrayBuffer.constructor(arrayBuffer.byteLength); @@ -188340,10 +188619,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = cloneArrayBuffer; -},1502,[1503]); +},1504,[1505]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).Uint8Array; -},1503,[1374]); +},1505,[486]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function cloneDataView(dataView, isDeep) { var buffer = isDeep ? _$$_REQUIRE(_dependencyMap[0])(dataView.buffer) : dataView.buffer; @@ -188351,7 +188630,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = cloneDataView; -},1504,[1502]); +},1506,[1504]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function cloneTypedArray(typedArray, isDeep) { var buffer = isDeep ? _$$_REQUIRE(_dependencyMap[0])(typedArray.buffer) : typedArray.buffer; @@ -188359,7 +188638,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = cloneTypedArray; -},1505,[1502]); +},1507,[1504]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var reFlags = /\w*$/; @@ -188370,7 +188649,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = cloneRegExp; -},1506,[]); +},1508,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var symbolProto = _$$_REQUIRE(_dependencyMap[0]) ? _$$_REQUIRE(_dependencyMap[0]).prototype : undefined, symbolValueOf = symbolProto ? symbolProto.valueOf : undefined; @@ -188380,7 +188659,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = cloneSymbol; -},1507,[1373]); +},1509,[485]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function Stack(entries) { var data = this.__data__ = new (_$$_REQUIRE(_dependencyMap[0]))(entries); @@ -188393,7 +188672,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e Stack.prototype.has = _$$_REQUIRE(_dependencyMap[4]); Stack.prototype.set = _$$_REQUIRE(_dependencyMap[5]); module.exports = Stack; -},1508,[1462,1509,1510,1511,1512,1513]); +},1510,[1464,1511,1512,1513,1514,1515]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function stackClear() { this.__data__ = new (_$$_REQUIRE(_dependencyMap[0]))(); @@ -188401,7 +188680,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = stackClear; -},1509,[1462]); +},1511,[1464]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function stackDelete(key) { var data = this.__data__, @@ -188411,21 +188690,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = stackDelete; -},1510,[]); +},1512,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function stackGet(key) { return this.__data__.get(key); } module.exports = stackGet; -},1511,[]); +},1513,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function stackHas(key) { return this.__data__.has(key); } module.exports = stackHas; -},1512,[]); +},1514,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var LARGE_ARRAY_SIZE = 200; @@ -188450,13 +188729,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = stackSet; -},1513,[1462,1396,1453]); +},1515,[1464,1402,1455]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var nodeIsSet = _$$_REQUIRE(_dependencyMap[0]) && _$$_REQUIRE(_dependencyMap[0]).isSet; var isSet = nodeIsSet ? _$$_REQUIRE(_dependencyMap[1])(nodeIsSet) : _$$_REQUIRE(_dependencyMap[2]); module.exports = isSet; -},1514,[1382,1383,1515]); +},1516,[1389,1390,1517]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var setTag = '[object Set]'; @@ -188465,13 +188744,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseIsSet; -},1515,[1385,1388]); +},1517,[483,1394]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var nodeIsMap = _$$_REQUIRE(_dependencyMap[0]) && _$$_REQUIRE(_dependencyMap[0]).isMap; var isMap = nodeIsMap ? _$$_REQUIRE(_dependencyMap[1])(nodeIsMap) : _$$_REQUIRE(_dependencyMap[2]); module.exports = isMap; -},1516,[1382,1383,1517]); +},1518,[1389,1390,1519]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var mapTag = '[object Map]'; @@ -188480,14 +188759,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseIsMap; -},1517,[1385,1388]); +},1519,[483,1394]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function getAllKeys(object) { return _$$_REQUIRE(_dependencyMap[0])(object, _$$_REQUIRE(_dependencyMap[1]), _$$_REQUIRE(_dependencyMap[2])); } module.exports = getAllKeys; -},1518,[1482,1413,1488]); +},1520,[1484,1419,1490]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function arrayEach(array, iteratee) { var index = -1, @@ -188503,14 +188782,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = arrayEach; -},1519,[]); +},1521,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function customOmitClone(value) { return _$$_REQUIRE(_dependencyMap[0])(value) ? undefined : value; } module.exports = customOmitClone; -},1520,[1521]); +},1522,[1523]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var objectTag = '[object Object]'; var funcProto = Function.prototype, @@ -188535,7 +188814,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = isPlainObject; -},1521,[1385,1372,1490]); +},1523,[483,484,1492]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseUnset(object, path) { path = _$$_REQUIRE(_dependencyMap[0])(path, object); @@ -188544,14 +188823,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseUnset; -},1522,[1448,1523,1525,1527]); +},1524,[1450,1525,1527,1529]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function parent(object, path) { return path.length < 2 ? object : _$$_REQUIRE(_dependencyMap[0])(object, _$$_REQUIRE(_dependencyMap[1])(path, 0, -1)); } module.exports = parent; -},1523,[1524,1526]); +},1525,[1526,1528]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseGet(object, path) { path = _$$_REQUIRE(_dependencyMap[0])(path, object); @@ -188566,7 +188845,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseGet; -},1524,[1448,1525]); +},1526,[1450,1527]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var INFINITY = 1 / 0; @@ -188580,7 +188859,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = toKey; -},1525,[1420]); +},1527,[482]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseSlice(array, start, end) { var index = -1, @@ -188608,7 +188887,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseSlice; -},1526,[]); +},1528,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function last(array) { var length = array == null ? 0 : array.length; @@ -188616,14 +188895,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = last; -},1527,[]); +},1529,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function isEqual(value, other) { return _$$_REQUIRE(_dependencyMap[0])(value, other); } module.exports = isEqual; -},1528,[1529]); +},1530,[1531]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseIsEqual(value, other, bitmask, customizer, stack) { if (value === other) { @@ -188638,7 +188917,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseIsEqual; -},1529,[1385,1530]); +},1531,[483,1532]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var COMPARE_PARTIAL_FLAG = 1; var argsTag = '[object Arguments]', @@ -188694,7 +188973,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseIsEqualDeep; -},1530,[1378,1388,1379,1508,1381,1531,1537,1540]); +},1532,[1385,1394,1386,1510,1388,1533,1539,1542]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2; @@ -188759,7 +189038,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = equalArrays; -},1531,[1532,1535,1536]); +},1533,[1534,1537,1538]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function SetCache(values) { var index = -1, @@ -188774,7 +189053,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e SetCache.prototype.add = SetCache.prototype.push = _$$_REQUIRE(_dependencyMap[1]); SetCache.prototype.has = _$$_REQUIRE(_dependencyMap[2]); module.exports = SetCache; -},1532,[1453,1533,1534]); +},1534,[1455,1535,1536]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var HASH_UNDEFINED = '__lodash_hash_undefined__'; @@ -188785,14 +189064,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = setCacheAdd; -},1533,[]); +},1535,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function setCacheHas(value) { return this.__data__.has(value); } module.exports = setCacheHas; -},1534,[]); +},1536,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function arraySome(array, predicate) { var index = -1, @@ -188808,14 +189087,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = arraySome; -},1535,[]); +},1537,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function cacheHas(cache, key) { return cache.has(key); } module.exports = cacheHas; -},1536,[]); +},1538,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2; @@ -188898,7 +189177,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = equalByTag; -},1537,[1373,1503,1466,1538,1539,1531]); +},1539,[485,1505,1468,1540,1541,1533]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function mapToArray(map) { var index = -1, @@ -188910,7 +189189,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = mapToArray; -},1538,[]); +},1540,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function setToArray(set) { var index = -1, @@ -188922,7 +189201,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = setToArray; -},1539,[]); +},1541,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var COMPARE_PARTIAL_FLAG = 1; var objectProto = Object.prototype; @@ -188993,7 +189272,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = equalObjects; -},1540,[1518]); +},1542,[1520]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function some(collection, predicate, guard) { var func = _$$_REQUIRE(_dependencyMap[0])(collection) ? _$$_REQUIRE(_dependencyMap[1]) : _$$_REQUIRE(_dependencyMap[2]); @@ -189006,7 +189285,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = some; -},1541,[1378,1535,1542,1548,1549]); +},1543,[1385,1537,1544,1550,1551]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseSome(collection, predicate) { var result; @@ -189020,12 +189299,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseSome; -},1542,[1543]); +},1544,[1545]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var baseEach = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); module.exports = baseEach; -},1543,[1544,1545]); +},1545,[1546,1547]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function createBaseEach(eachFunc, fromRight) { return function (collection, iteratee) { @@ -189052,19 +189331,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = createBaseEach; -},1544,[1368]); +},1546,[1382]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseForOwn(object, iteratee) { return object && _$$_REQUIRE(_dependencyMap[0])(object, iteratee, _$$_REQUIRE(_dependencyMap[1])); } module.exports = baseForOwn; -},1545,[1546,1413]); +},1547,[1548,1419]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var baseFor = _$$_REQUIRE(_dependencyMap[0])(); module.exports = baseFor; -},1546,[1547]); +},1548,[1549]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function createBaseFor(fromRight) { return function (object, iteratee, keysFunc) { @@ -189086,7 +189365,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = createBaseFor; -},1547,[]); +},1549,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function isIterateeCall(value, index, object) { if (!_$$_REQUIRE(_dependencyMap[0])(object)) { @@ -189103,7 +189382,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = isIterateeCall; -},1548,[1371,1368,1416,1466]); +},1550,[490,1382,1422,1468]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseIteratee(value) { if (typeof value == 'function') { @@ -189122,7 +189401,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseIteratee; -},1549,[1440,1378,1550,1557,1560]); +},1551,[1442,1385,1552,1559,1562]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2; @@ -189140,14 +189419,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseMatchesProperty; -},1550,[1449,1551,1552,1525,1553,1554,1529]); +},1552,[1451,1553,1554,1527,1555,1556,1531]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function isStrictComparable(value) { return value === value && !_$$_REQUIRE(_dependencyMap[0])(value); } module.exports = isStrictComparable; -},1551,[1371]); +},1553,[490]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function matchesStrictComparable(key, srcValue) { return function (object) { @@ -189160,7 +189439,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = matchesStrictComparable; -},1552,[]); +},1554,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function get(object, path, defaultValue) { var result = object == null ? undefined : _$$_REQUIRE(_dependencyMap[0])(object, path); @@ -189168,14 +189447,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = get; -},1553,[1524]); +},1555,[1526]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function hasIn(object, path) { return object != null && _$$_REQUIRE(_dependencyMap[0])(object, path, _$$_REQUIRE(_dependencyMap[1])); } module.exports = hasIn; -},1554,[1555,1556]); +},1556,[1557,1558]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function hasPath(object, path, hasFunc) { path = _$$_REQUIRE(_dependencyMap[0])(path, object); @@ -189202,14 +189481,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = hasPath; -},1555,[1448,1525,1369,1416,1378,1386]); +},1557,[1450,1527,1383,1422,1385,1392]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseHasIn(object, key) { return object != null && key in Object(object); } module.exports = baseHasIn; -},1556,[]); +},1558,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseMatches(source) { var matchData = _$$_REQUIRE(_dependencyMap[0])(source); @@ -189224,7 +189503,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseMatches; -},1557,[1558,1552,1559]); +},1559,[1560,1554,1561]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function getMatchData(object) { var result = _$$_REQUIRE(_dependencyMap[0])(object), @@ -189240,7 +189519,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = getMatchData; -},1558,[1413,1551]); +},1560,[1419,1553]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2; @@ -189291,14 +189570,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseIsMatch; -},1559,[1508,1529]); +},1561,[1510,1531]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function property(path) { return _$$_REQUIRE(_dependencyMap[0])(path) ? _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2])(path)) : _$$_REQUIRE(_dependencyMap[3])(path); } module.exports = property; -},1560,[1449,1561,1525,1562]); +},1562,[1451,1563,1527,1564]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseProperty(key) { return function (object) { @@ -189307,7 +189586,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseProperty; -},1561,[]); +},1563,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function basePropertyDeep(path) { return function (object) { @@ -189316,7 +189595,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = basePropertyDeep; -},1562,[1524]); +},1564,[1526]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -189502,7 +189781,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = exports.default = BasicDay; BasicDay.displayName = 'BasicDay'; -},1563,[16,18,3,1564,1565,1430,179]); +},1565,[16,18,3,1566,1567,1432,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -189585,7 +189864,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, theme['stylesheet.day.basic'] || {})); } -},1564,[18,1407,3,1405]); +},1566,[18,1413,3,1411]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -189703,7 +189982,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e Marking.displayName = 'Marking'; Marking.markings = Markings; -},1565,[3,1566,16,18,1568,1569,179,1571]); +},1567,[3,1568,16,18,1570,1571,179,1573]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function filter(collection, predicate) { var func = _$$_REQUIRE(_dependencyMap[0])(collection) ? _$$_REQUIRE(_dependencyMap[1]) : _$$_REQUIRE(_dependencyMap[2]); @@ -189711,7 +189990,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = filter; -},1566,[1378,1489,1567,1549]); +},1568,[1385,1491,1569,1551]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseFilter(collection, predicate) { var result = []; @@ -189726,7 +190005,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseFilter; -},1567,[1543]); +},1569,[1545]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -189768,7 +190047,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, theme['stylesheet.marking'] || {})); } -},1568,[18,1406]); +},1570,[18,1412]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -189828,7 +190107,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = Dot; -},1569,[16,18,3,1570,179]); +},1571,[16,18,3,1572,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -189873,7 +190152,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, theme['stylesheet.dot'] || {})); } -},1570,[18,1407]); +},1572,[18,1413]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -190133,7 +190412,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; return reservationProps; } -},1571,[3,4,1528,1553,1434,1572,1409]); +},1573,[3,4,1530,1555,1436,1574,1415]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function pickBy(object, predicate) { if (object == null) { @@ -190151,7 +190430,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = pickBy; -},1572,[1412,1481,1549,1573]); +},1574,[1418,1483,1551,1575]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function basePickBy(object, paths, predicate) { var index = -1, @@ -190171,7 +190450,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = basePickBy; -},1573,[1524,1574,1448]); +},1575,[1526,1576,1450]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseSet(object, path, value, customizer) { if (!_$$_REQUIRE(_dependencyMap[0])(object)) { @@ -190210,7 +190489,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseSet; -},1574,[1371,1448,1525,1416,1480]); +},1576,[490,1450,1527,1422,1482]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -190455,7 +190734,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e onLongPress: _propTypes.default.func, date: _propTypes.default.string }; -},1575,[3,568,16,18,1576,1569,1430,179]); +},1577,[3,582,16,18,1578,1571,1432,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -190533,7 +190812,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, theme['stylesheet.day.period'] || {})); } -},1576,[18,1407]); +},1578,[18,1413]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -190574,20 +190853,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e getCalendarDateString: getCalendarDateString, getDefaultLocale: getDefaultLocale }; -},1577,[3,1578,1579,1423,1581,1366,1430,1429]); +},1579,[3,1580,1581,1425,1583,1380,1432,1431]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function isUndefined(value) { return value === undefined; } module.exports = isUndefined; -},1578,[]); +},1580,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var nodeIsDate = _$$_REQUIRE(_dependencyMap[0]) && _$$_REQUIRE(_dependencyMap[0]).isDate; var isDate = nodeIsDate ? _$$_REQUIRE(_dependencyMap[1])(nodeIsDate) : _$$_REQUIRE(_dependencyMap[2]); module.exports = isDate; -},1579,[1382,1383,1580]); +},1581,[1389,1390,1582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var dateTag = '[object Date]'; @@ -190596,7 +190875,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseIsDate; -},1580,[1385,1372]); +},1582,[483,484]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var numberTag = '[object Number]'; @@ -190605,7 +190884,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = isNumber; -},1581,[1385,1372]); +},1583,[483,484]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -190652,7 +190931,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return targetRef; }; -},1582,[16]); +},1584,[16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -190682,7 +190961,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return state; } -},1583,[1430,1429]); +},1585,[1432,1431]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -191036,7 +191315,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e onEndReached: _propTypes.default.func, nestedScrollEnabled: _propTypes.default.bool }); -},1584,[3,33,1585,568,1366,16,18,1405,1586,1365,1587,1408,1571,1430,1582,1429,179]); +},1586,[3,33,1587,582,1380,16,18,1411,1588,1379,1589,1414,1573,1432,1584,1431,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var nativeMax = Math.max; @@ -191057,7 +191336,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = findIndex; -},1585,[1417,1426,1549]); +},1587,[1423,1428,1551]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -191106,7 +191385,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, theme['stylesheet.calendar-list.main'] || {})); } -},1586,[18,1407]); +},1588,[18,1413]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -191205,7 +191484,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = exports.default = CalendarListItem; CalendarListItem.displayName = 'CalendarListItem'; -},1587,[16,18,3,1586,1365,1571,1430,179]); +},1589,[16,18,3,1588,1379,1573,1432,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -191439,7 +191718,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return array; } -},1588,[3,22,33,1366,16,18,1405,1365,1408,1589,1586,1571,1430,179]); +},1590,[3,22,33,1380,16,18,1411,1379,1414,1591,1588,1573,1432,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -191615,7 +191894,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = (0, _react.forwardRef)(InfiniteList); -},1589,[3,1590,1592,1594,16,1405,1595,1582,179]); +},1591,[3,1592,480,1594,16,1411,1595,1584,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function inRange(number, start, end) { start = _$$_REQUIRE(_dependencyMap[0])(start); @@ -191632,7 +191911,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = inRange; -},1590,[1418,1419,1591]); +},1592,[1424,481,1593]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var nativeMax = Math.max, nativeMin = Math.min; @@ -191642,140 +191921,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseInRange; -},1591,[]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - var FUNC_ERROR_TEXT = 'Expected a function'; - var nativeMax = Math.max, - nativeMin = Math.min; - - function debounce(func, wait, options) { - var lastArgs, - lastThis, - maxWait, - result, - timerId, - lastCallTime, - lastInvokeTime = 0, - leading = false, - maxing = false, - trailing = true; - - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - - wait = _$$_REQUIRE(_dependencyMap[0])(wait) || 0; - - if (_$$_REQUIRE(_dependencyMap[1])(options)) { - leading = !!options.leading; - maxing = 'maxWait' in options; - maxWait = maxing ? nativeMax(_$$_REQUIRE(_dependencyMap[0])(options.maxWait) || 0, wait) : maxWait; - trailing = 'trailing' in options ? !!options.trailing : trailing; - } - - function invokeFunc(time) { - var args = lastArgs, - thisArg = lastThis; - lastArgs = lastThis = undefined; - lastInvokeTime = time; - result = func.apply(thisArg, args); - return result; - } - - function leadingEdge(time) { - lastInvokeTime = time; - timerId = setTimeout(timerExpired, wait); - return leading ? invokeFunc(time) : result; - } - - function remainingWait(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime, - timeWaiting = wait - timeSinceLastCall; - return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting; - } - - function shouldInvoke(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime; - return lastCallTime === undefined || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait; - } - - function timerExpired() { - var time = _$$_REQUIRE(_dependencyMap[2])(); - - if (shouldInvoke(time)) { - return trailingEdge(time); - } - - timerId = setTimeout(timerExpired, remainingWait(time)); - } - - function trailingEdge(time) { - timerId = undefined; - - if (trailing && lastArgs) { - return invokeFunc(time); - } - - lastArgs = lastThis = undefined; - return result; - } - - function cancel() { - if (timerId !== undefined) { - clearTimeout(timerId); - } - - lastInvokeTime = 0; - lastArgs = lastCallTime = lastThis = timerId = undefined; - } - - function flush() { - return timerId === undefined ? result : trailingEdge(_$$_REQUIRE(_dependencyMap[2])()); - } - - function debounced() { - var time = _$$_REQUIRE(_dependencyMap[2])(), - isInvoking = shouldInvoke(time); - - lastArgs = arguments; - lastThis = this; - lastCallTime = time; - - if (isInvoking) { - if (timerId === undefined) { - return leadingEdge(lastCallTime); - } - - if (maxing) { - clearTimeout(timerId); - timerId = setTimeout(timerExpired, wait); - return invokeFunc(lastCallTime); - } - } - - if (timerId === undefined) { - timerId = setTimeout(timerExpired, wait); - } - - return result; - } - - debounced.cancel = cancel; - debounced.flush = flush; - return debounced; - } - - module.exports = debounce; -},1592,[1419,1371,1593]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - var now = function now() { - return _$$_REQUIRE(_dependencyMap[0]).Date.now(); - }; - - module.exports = now; -},1593,[1374]); +},1593,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function noop() {} @@ -196131,7 +196277,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e hideKnob: _propTypes.default.bool, showClosingKnob: _propTypes.default.bool }); -},1628,[3,224,240,6,7,11,13,14,1370,568,1366,241,16,18,1629,1631,1584,1632,1430,1429,179,1636,1571,1577,1635]); +},1628,[3,224,240,6,7,11,13,14,1384,582,1380,241,16,18,1629,1631,1586,1632,1432,1431,179,1636,1573,1579,1635]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -196203,7 +196349,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, theme['stylesheet.agenda.main'] || {})); } -},1629,[18,1407,3,1630]); +},1629,[18,1413,3,1630]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -196261,7 +196407,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = exports.default = WeekDaysNames; -},1631,[3,16,18,1429,179]); +},1631,[3,16,18,1431,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -196591,7 +196737,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = ReservationList; -},1632,[3,6,7,11,13,14,1370,568,1366,16,18,1633,1634,1429,1571,179,1430]); +},1632,[3,6,7,11,13,14,1384,582,1380,16,18,1633,1634,1431,1573,179,1432]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -196644,7 +196790,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, theme['stylesheet.agenda.list'] || {})); } -},1633,[18,1407]); +},1633,[18,1413]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -196795,7 +196941,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = Reservation; -},1634,[3,6,7,11,13,14,1370,568,16,18,1633,1429,1577,179,1635]); +},1634,[3,6,7,11,13,14,1384,582,16,18,1633,1431,1579,179,1635]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var PREFIX = 'native.calendar'; module.exports = { @@ -197502,7 +197648,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e closeOnDayPress: true }; ExpandableCalendar.positions = Positions; -},1637,[3,33,4,1638,1370,1581,1640,1366,16,18,1641,1631,1365,1584,1642,1643,1644,1405,1431,1432,1429,1430,1645,179]); +},1637,[3,33,4,1638,1384,1583,1640,1380,16,18,1641,1631,1379,1586,1642,1643,1644,1411,1433,1434,1431,1432,1645,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]); },1638,[1639]); @@ -197537,7 +197683,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = throttle; -},1640,[1371,1592]); +},1640,[490,480]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -197731,7 +197877,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, (theme == null ? undefined : (_theme$stylesheet = theme.stylesheet) == null ? undefined : (_theme$stylesheet$exp = _theme$stylesheet.expandable) == null ? undefined : _theme$stylesheet$exp.main) || {})); } -},1641,[18,1407,3,1405]); +},1641,[18,1413,3,1411]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -197858,7 +198004,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = exports.default = Week; Week.displayName = 'Week'; -},1642,[3,4,1366,16,18,1528,1641,1433,1429,1571,1430,179,1583]); +},1642,[3,4,1380,16,18,1530,1641,1435,1431,1573,1432,179,1585]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -198169,7 +198315,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e WeekCalendar.displayName = 'WeekCalendar'; var _default = exports.default = WeekCalendar; -},1643,[3,22,240,33,4,1366,16,18,1641,1631,1642,1405,1644,1571,1582,1645,1429,1430,179]); +},1643,[3,22,240,33,4,1380,16,18,1641,1631,1642,1411,1644,1573,1584,1645,1431,1432,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -198374,7 +198520,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return array; } -},1646,[3,564,4,33,16,18,1366,1589,1642,1631,1644,1641,1405,1645,1429,1571,179,1430]); +},1646,[3,578,4,33,16,18,1380,1591,1642,1631,1644,1641,1411,1645,1431,1573,179,1432]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -198663,7 +198809,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e sectionStyle: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.number, _propTypes.default.array]), avoidDateUpdates: _propTypes.default.bool }; -},1647,[3,568,1553,1648,1370,1578,1592,1528,1366,16,18,1405,1641,1644,1650,179,1582,1645,1430,1429,1651,1577]); +},1647,[3,582,1555,1648,1384,1580,480,1530,1380,16,18,1411,1641,1644,1650,179,1584,1645,1432,1431,1651,1579]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function map(collection, iteratee) { var func = _$$_REQUIRE(_dependencyMap[0])(collection) ? _$$_REQUIRE(_dependencyMap[1]) : _$$_REQUIRE(_dependencyMap[2]); @@ -198671,7 +198817,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = map; -},1648,[1378,1412,1649,1549]); +},1648,[1385,1418,1649,1551]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseMap(collection, iteratee) { var index = -1, @@ -198685,7 +198831,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseMap; -},1649,[1368,1543]); +},1649,[1382,1545]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -198986,7 +199132,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e sectionStyle: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.number, _propTypes.default.array]), avoidDateUpdates: _propTypes.default.bool }; -},1650,[3,22,33,568,1578,1592,1589,1366,16,1641,1644,1405,1582,1645,1430,1429,1651,1577,1601,179,1647]); +},1650,[3,22,33,582,1580,480,1591,1380,16,1641,1644,1411,1584,1645,1432,1431,1651,1579,1601,179,1647]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -199003,7 +199149,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return moment; }; -},1651,[502]); +},1651,[516]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -199121,7 +199267,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _default = exports.default = CalendarProvider; CalendarProvider.displayName = 'CalendarProvider'; -},1652,[3,33,1366,16,18,1641,1644,1653,1645,1582,1429,1430,179]); +},1652,[3,33,1380,16,18,1641,1644,1653,1645,1584,1431,1432,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -199281,7 +199427,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = (0, _react.forwardRef)(TodayButton); -},1653,[3,33,1366,16,18,1641,1644,1429,1577,1645,1654,1655,1430,179]); +},1653,[3,33,1380,16,18,1641,1644,1431,1579,1645,1654,1655,1432,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -199293,7 +199439,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "up", "type": "png" }); -},1654,[1244]); +},1654,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -199305,7 +199451,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "down", "type": "png" }); -},1655,[1244]); +},1655,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -199580,14 +199726,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = _react.default.memo(Timeline); -},1657,[3,1658,1648,1661,1663,16,18,1405,1667,1668,1674,1675,1676,1577,1672,1673,179,1429]); +},1657,[3,1658,1648,1661,1663,16,18,1411,1667,1668,1674,1675,1676,1579,1672,1673,179,1431]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function min(array) { return array && array.length ? _$$_REQUIRE(_dependencyMap[0])(array, _$$_REQUIRE(_dependencyMap[1]), _$$_REQUIRE(_dependencyMap[2])) : undefined; } module.exports = min; -},1658,[1659,1440,1660]); +},1658,[1659,1442,1660]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseExtremum(array, iteratee, comparator) { var index = -1, @@ -199607,7 +199753,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseExtremum; -},1659,[1420]); +},1659,[482]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function baseLt(value, other) { return value < other; @@ -199642,14 +199788,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = times; -},1661,[1417,1662,1415]); +},1661,[1423,1662,1421]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function castFunction(value) { return typeof value == 'function' ? value : _$$_REQUIRE(_dependencyMap[0]); } module.exports = castFunction; -},1662,[1440]); +},1662,[1442]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; @@ -199663,7 +199809,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); module.exports = groupBy; -},1663,[1664,1479]); +},1663,[1664,1481]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function createAggregator(setter, initializer) { return function (collection, iteratee) { @@ -199674,7 +199820,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = createAggregator; -},1664,[1378,1665,1666,1549]); +},1664,[1385,1665,1666,1551]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function arrayAggregator(array, setter, iteratee, accumulator) { var index = -1, @@ -199700,7 +199846,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = baseAggregator; -},1666,[1543]); +},1666,[1545]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -199828,7 +199974,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); } -},1667,[18,1407,3,1405]); +},1667,[18,1413,3,1411]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -199977,7 +200123,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = _react.default.memo(TimelineHours); -},1668,[3,1669,1661,16,18,1405,1672,1673,179]); +},1668,[3,1669,1661,16,18,1411,1672,1673,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var range = _$$_REQUIRE(_dependencyMap[0])(); @@ -200005,7 +200151,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = createRange; -},1670,[1548,1418,1671]); +},1670,[1550,1424,1671]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var nativeCeil = Math.ceil, nativeMax = Math.max; @@ -200190,7 +200336,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; }).filter(Boolean); } -},1672,[3,1590,1366,1405]); +},1672,[3,1592,1380,1411]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -200237,7 +200383,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var m = minutes != null ? minutes : now.getMinutes(); return (h + m / 60) * hourBlockHeight; } -},1673,[3,1366,1405,1429]); +},1673,[3,1380,1411,1431]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -200303,7 +200449,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = EventBlock; -},1674,[3,1366,16,18,179]); +},1674,[3,1380,16,18,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -200552,7 +200698,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = TimelineList; -},1677,[3,33,1640,1444,1678,16,1589,1644,1657,1679,1645,1429,179]); +},1677,[3,33,1640,1446,1678,16,1591,1644,1657,1679,1645,1431,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function dropRight(array, n, guard) { var length = array == null ? 0 : array.length; @@ -200567,7 +200713,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = dropRight; -},1678,[1417,1526]); +},1678,[1423,1528]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -200659,7 +200805,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = UseTimelinePages; -},1679,[3,33,16,1590,1661,1592,1405,1429]); +},1679,[3,33,16,1592,1661,480,1411,1431]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -201023,7 +201169,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = TabBar; exports.default = _default; -},1681,[3,22,33,16,18,568,1058,1061]); +},1681,[3,22,33,16,18,582,1072,1075]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -201162,7 +201308,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } var _default = exports.default = (0, _$$_REQUIRE(_dependencyMap[6]).createNavigatorFactory)(MaterialTopTabNavigator); -},1683,[3,33,4,16,1212,1684,1073,179]); +},1683,[3,33,4,16,1226,1684,1087,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -201247,7 +201393,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, sceneContainerStyle] })); } -},1684,[3,4,16,1685,179,1073,1690]); +},1684,[3,4,16,1685,179,1087,1690]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -201414,7 +201560,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e backgroundColor: 'transparent' } }); -},1685,[3,4,1686,16,18,1073,179,1690]); +},1685,[3,4,1686,16,18,1087,179,1690]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var skippedModels = ['keyword', 'gray', 'hex']; var hashedModelKeys = {}; @@ -201866,7 +202012,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = Color; -},1686,[1687,22,1226,33]); +},1686,[1687,22,1240,33]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var convert = {}; var models = Object.keys(_$$_REQUIRE(_dependencyMap[0])); @@ -202799,7 +202945,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var val = (rgb[0] + rgb[1] + rgb[2]) / 3; return [val / 255 * 100]; }; -},1688,[1227,33]); +},1688,[1241,33]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function buildGraph() { var graph = {}; @@ -204670,7 +204816,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, null, null, [[1, 10]], Promise); } -},1707,[3,919,18,1064,925,921]); +},1707,[3,933,18,1078,939,935]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -204761,7 +204907,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e width: null }, rest)); } -},1708,[3,4,577,16,1709,1064,1053]); +},1708,[3,4,591,16,1709,1078,1067]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -205012,7 +205158,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, animationType: 'spring' }; -},1710,[3,4,6,7,11,13,14,16,568,18,179]); +},1710,[3,4,6,7,11,13,14,16,582,18,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -205234,7 +205380,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = (0, _withAnimation.default)(ProgressCircle); -},1711,[3,4,6,7,11,13,14,16,568,18,1712,1713,943,179]); +},1711,[3,4,6,7,11,13,14,16,582,18,1712,1713,957,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -205349,7 +205495,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e strokeWidth: 0, direction: 'clockwise' }; -},1712,[3,4,6,7,11,13,14,16,568,179,943]); +},1712,[3,4,6,7,11,13,14,16,582,179,957]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -205504,7 +205650,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e progress: 0 }, _AnimatedComponent; } -},1713,[3,6,7,11,13,14,16,568,18,179]); +},1713,[3,6,7,11,13,14,16,582,18,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -205719,7 +205865,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e strokeCap: 'round', useNativeDriver: false }; -},1714,[3,4,6,7,11,13,14,16,568,18,1712,179,943]); +},1714,[3,4,6,7,11,13,14,16,582,18,1712,179,957]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -205858,7 +206004,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = (0, _withAnimation.default)(ProgressPie, 0.2); -},1715,[3,4,6,7,11,13,14,16,568,18,1716,1717,1713,943,179]); +},1715,[3,4,6,7,11,13,14,16,582,18,1716,1717,1713,957,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -205939,7 +206085,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e strokeWidth: 0, direction: 'clockwise' }; -},1716,[3,4,6,7,11,13,14,16,568,179,943]); +},1716,[3,4,6,7,11,13,14,16,582,179,957]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -206024,7 +206170,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e left: 0 } }; -},1717,[3,4,6,7,11,13,14,16,568,179,943]); +},1717,[3,4,6,7,11,13,14,16,582,179,957]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -206103,7 +206249,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function jsInjectionOnActiveWebViews(payload) { _$$_REQUIRE(_dependencyMap[4]).EventRegister.emit(_events.default.JS_INJECTION, payload); } -},1718,[918,3,937,1071,1062]); +},1718,[932,3,951,1085,1076]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -206196,7 +206342,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _special = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); var _uri = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); -},1719,[3,1185,924,1302,1186,1187,1190,1191,1193,1188,1195,929]); +},1719,[3,1199,938,1316,1200,1201,1204,1205,1207,1202,1209,943]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -206271,7 +206417,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(_$$_REQUIRE(_dependencyMap[10]).PaperSetupBaseConfig); -},1720,[3,270,6,7,11,85,13,14,851,438,858]); +},1720,[3,270,6,7,11,85,13,14,865,438,872]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -206409,7 +206555,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[10]).PaperSetupBaseConfig); -},1721,[3,270,6,7,11,85,13,14,851,865,858]); +},1721,[3,270,6,7,11,85,13,14,865,879,872]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -206518,7 +206664,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[9]).PaperSetupBaseConfig); -},1722,[3,270,6,7,11,85,13,14,851,858]); +},1722,[3,270,6,7,11,85,13,14,865,872]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -207398,7 +207544,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-back", "type": "png" }); -},1728,[1244]); +},1728,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207410,7 +207556,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-next", "type": "png" }); -},1729,[1244]); +},1729,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207422,7 +207568,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-up", "type": "png" }); -},1730,[1244]); +},1730,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207434,7 +207580,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-store", "type": "png" }); -},1731,[1244]); +},1731,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207446,7 +207592,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-language", "type": "png" }); -},1732,[1244]); +},1732,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207458,7 +207604,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-more", "type": "png" }); -},1733,[1244]); +},1733,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207470,7 +207616,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-rss", "type": "png" }); -},1734,[1244]); +},1734,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207482,7 +207628,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-thumbnail", "type": "png" }); -},1735,[1244]); +},1735,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207494,7 +207640,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-browse", "type": "png" }); -},1736,[1244]); +},1736,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207506,7 +207652,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-read", "type": "png" }); -},1737,[1244]); +},1737,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207518,7 +207664,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-index", "type": "png" }); -},1738,[1244]); +},1738,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207530,7 +207676,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-accessibility", "type": "png" }); -},1739,[1244]); +},1739,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207542,7 +207688,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-search", "type": "png" }); -},1740,[1244]); +},1740,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207554,7 +207700,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-supplements", "type": "png" }); -},1741,[1244]); +},1741,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207566,7 +207712,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-calendar", "type": "png" }); -},1742,[1244]); +},1742,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207578,7 +207724,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-contact", "type": "png" }); -},1743,[1244]); +},1743,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207590,7 +207736,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-login", "type": "png" }); -},1744,[1244]); +},1744,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207602,7 +207748,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-settings", "type": "png" }); -},1745,[1244]); +},1745,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207614,7 +207760,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-help", "type": "png" }); -},1746,[1244]); +},1746,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207626,7 +207772,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-archive", "type": "png" }); -},1747,[1244]); +},1747,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207638,7 +207784,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-car-mode", "type": "png" }); -},1748,[1244]); +},1748,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207650,7 +207796,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-download", "type": "png" }); -},1749,[1244]); +},1749,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207662,7 +207808,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-fit", "type": "png" }); -},1750,[1244]); +},1750,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207674,7 +207820,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-unfit", "type": "png" }); -},1751,[1244]); +},1751,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207686,7 +207832,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-up", "type": "png" }); -},1752,[1244]); +},1752,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207698,7 +207844,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-prev", "type": "png" }); -},1753,[1244]); +},1753,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207710,7 +207856,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-next", "type": "png" }); -},1754,[1244]); +},1754,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207722,7 +207868,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-share", "type": "png" }); -},1755,[1244]); +},1755,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207734,7 +207880,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-car-mode", "type": "png" }); -},1756,[1244]); +},1756,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207746,7 +207892,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-accessibility", "type": "png" }); -},1757,[1244]); +},1757,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207758,7 +207904,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-close", "type": "png" }); -},1758,[1244]); +},1758,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207770,7 +207916,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-search", "type": "png" }); -},1759,[1244]); +},1759,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207782,7 +207928,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-clear-search", "type": "png" }); -},1760,[1244]); +},1760,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207794,7 +207940,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-share", "type": "png" }); -},1761,[1244]); +},1761,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207806,7 +207952,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-share-facebook", "type": "png" }); -},1762,[1244]); +},1762,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207818,7 +207964,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-share-twitter", "type": "png" }); -},1763,[1244]); +},1763,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207830,7 +207976,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-share-reddit", "type": "png" }); -},1764,[1244]); +},1764,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207842,7 +207988,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-share-email", "type": "png" }); -},1765,[1244]); +},1765,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207854,7 +208000,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-expand", "type": "png" }); -},1766,[1244]); +},1766,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207866,7 +208012,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-collapse", "type": "png" }); -},1767,[1244]); +},1767,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207878,7 +208024,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-tts-on", "type": "png" }); -},1768,[1244]); +},1768,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207890,7 +208036,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-tts-off", "type": "png" }); -},1769,[1244]); +},1769,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207902,7 +208048,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-toggle-graphic", "type": "png" }); -},1770,[1244]); +},1770,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207914,7 +208060,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-toggle-text", "type": "png" }); -},1771,[1244]); +},1771,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207926,7 +208072,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-font-increase", "type": "png" }); -},1772,[1244]); +},1772,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207938,7 +208084,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-font-decrease", "type": "png" }); -},1773,[1244]); +},1773,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207950,7 +208096,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-graph-increase", "type": "png" }); -},1774,[1244]); +},1774,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207962,7 +208108,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-graph-decrease", "type": "png" }); -},1775,[1244]); +},1775,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207974,7 +208120,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-zoom-fit-out", "type": "png" }); -},1776,[1244]); +},1776,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207986,7 +208132,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-print", "type": "png" }); -},1777,[1244]); +},1777,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -207998,7 +208144,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-translate", "type": "png" }); -},1778,[1244]); +},1778,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208010,7 +208156,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ar", "type": "png" }); -},1779,[1244]); +},1779,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208022,7 +208168,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "cn", "type": "png" }); -},1780,[1244]); +},1780,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208034,7 +208180,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "bs", "type": "png" }); -},1781,[1244]); +},1781,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208046,7 +208192,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "da", "type": "png" }); -},1782,[1244]); +},1782,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208058,7 +208204,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "de", "type": "png" }); -},1783,[1244]); +},1783,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208070,7 +208216,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "el", "type": "png" }); -},1784,[1244]); +},1784,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208082,7 +208228,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "en", "type": "png" }); -},1785,[1244]); +},1785,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208094,7 +208240,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "es", "type": "png" }); -},1786,[1244]); +},1786,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208106,7 +208252,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "fr", "type": "png" }); -},1787,[1244]); +},1787,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208118,7 +208264,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "hr", "type": "png" }); -},1788,[1244]); +},1788,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208130,7 +208276,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "it", "type": "png" }); -},1789,[1244]); +},1789,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208142,7 +208288,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ja", "type": "png" }); -},1790,[1244]); +},1790,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208154,7 +208300,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ko", "type": "png" }); -},1791,[1244]); +},1791,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208166,7 +208312,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ms", "type": "png" }); -},1792,[1244]); +},1792,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208178,7 +208324,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "no", "type": "png" }); -},1793,[1244]); +},1793,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208190,7 +208336,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "nl", "type": "png" }); -},1794,[1244]); +},1794,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208202,7 +208348,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "pt", "type": "png" }); -},1795,[1244]); +},1795,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208214,7 +208360,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ru", "type": "png" }); -},1796,[1244]); +},1796,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208226,7 +208372,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "sl", "type": "png" }); -},1797,[1244]); +},1797,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208238,7 +208384,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "sq", "type": "png" }); -},1798,[1244]); +},1798,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208250,7 +208396,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "sr", "type": "png" }); -},1799,[1244]); +},1799,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208262,7 +208408,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "sv", "type": "png" }); -},1800,[1244]); +},1800,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208274,7 +208420,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "us", "type": "png" }); -},1801,[1244]); +},1801,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208286,7 +208432,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-warning", "type": "png" }); -},1802,[1244]); +},1802,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208298,7 +208444,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-eye-off", "type": "png" }); -},1803,[1244]); +},1803,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -208310,7 +208456,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-circle-eye", "type": "png" }); -},1804,[1244]); +},1804,[1258]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "main": { @@ -208995,7 +209141,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[10]).BaseModel); -},1806,[3,6,7,11,13,14,438,803,1726,1807,1845]); +},1806,[3,6,7,11,13,14,438,817,1726,1807,1845]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -209197,7 +209343,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = TecnaviaIcon; -},1807,[3,6,7,11,13,14,270,4,16,568,1808,1818,1820,1822,1824,1826,1831,1833,1835,1837,1839,1841,1843,552,438,179]); +},1807,[3,6,7,11,13,14,270,4,16,582,1808,1818,1820,1822,1824,1826,1831,1833,1835,1837,1839,1841,1843,566,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -209463,7 +209609,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e Icon.getFontFamily = getFontFamily; return Icon; } -},1809,[3,22,270,4,6,7,11,13,14,16,568,1810,1812,1813,1811,179]); +},1809,[3,22,270,4,6,7,11,13,14,16,582,1810,1812,1813,1811,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -209667,7 +209813,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e size: 20 }, _IconButton; } -},1813,[3,4,6,7,11,13,14,1814,1815,1816,16,568,1811,179]); +},1813,[3,4,6,7,11,13,14,1814,1815,1816,16,582,1811,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var stringTag = '[object String]'; var objectProto = Object.prototype; @@ -212753,7 +212899,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e Icon.hasIcon = hasIcon; return Icon; } -},1828,[3,6,7,11,13,14,240,16,568,1809,179]); +},1828,[3,6,7,11,13,14,240,16,582,1809,179]); __d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { module.exports = { "500px": 62062, @@ -228965,7 +229111,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},1850,[3,4,270,6,7,407,1723,1851,1854,850,438]); +},1850,[3,4,270,6,7,407,1723,1851,1854,864,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -229054,7 +229200,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return _getDataFromApiResponse.apply(this, arguments); } -},1852,[3,270,436,407,550]); +},1852,[3,270,436,407,564]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -229247,7 +229393,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},1854,[3,270,6,7,406,848,1855,1856,438]); +},1854,[3,270,6,7,406,862,1855,1856,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -229520,7 +229666,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},1856,[3,270,6,7,1855,552,438]); +},1856,[3,270,6,7,1855,566,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -230827,7 +230973,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},1863,[3,270,6,7,1165,406,1864,436,1865,434,865,1888,613,438,850,1958,550]); +},1863,[3,270,6,7,1179,406,1864,436,1865,434,879,1881,627,438,864,1900,564]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -231716,7 +231862,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var ipnResponse = yield _IAPApi.default.ipn(success, model, isSandbox); - if (ipnResponse && ipnResponse.data) { + if (ipnResponse != null && ipnResponse.data) { ipnCallSuccess = true; if (ipnResponse.data.indexOf("ERROR") === -1) { @@ -231798,19 +231944,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, { key: "showPurchaseUpdateCompletedMessage", - value: function showPurchaseUpdateCompletedMessage() { - _$$_REQUIRE(_dependencyMap[18]).LoadingOverlay.show({ - id: "purchase_update_queue", - text: IAPHelper.getPurchaseUpdateCompletedMessage() - }); - } + value: function showPurchaseUpdateCompletedMessage() {} }, { key: "hidePurchaseUpdateCompletedMessage", - value: function hidePurchaseUpdateCompletedMessage() { - _$$_REQUIRE(_dependencyMap[18]).LoadingOverlay.hide({ - id: "purchase_update_queue" - }); - } + value: function hidePurchaseUpdateCompletedMessage() {} }, { key: "onPurchaseUpdateOperationAdded", value: function onPurchaseUpdateOperationAdded(callback) { @@ -232003,7 +232140,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e purchaseToken: "purchaseToken" } }; -},1865,[3,22,270,6,7,18,853,434,865,1866,1867,438,1868,801,1869,1879,1880,798,1881]); +},1865,[3,22,270,6,7,18,867,434,879,1866,1867,438,1868,815,1869,1879,1880,812]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -232134,7 +232271,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } return _Api.default.post(IAPApi.baseUrl(endpoints.ipn), { - responseType: "text" + responseType: "text", + timeout: 30000 }, otherParams); }); @@ -232799,7 +232937,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(_IAPrnBase2.default); -},1869,[3,270,6,7,11,13,14,1870,407,853,865,406,1878]); +},1869,[3,270,6,7,11,13,14,1870,407,867,879,406,1878]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -232897,8 +233035,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e value: function _onPurchaseUpdateListener(purchase) { var _this2 = this; - _$$_REQUIRE(_dependencyMap[11]).Logger.log("Purchase update: ", purchase); - if (typeof this.purchaseUpdateAddedCallback === "function") { this.purchaseUpdateAddedCallback(purchase); } @@ -232916,7 +233052,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e if (result) { _this2.finishTransaction(purchase); - } + } else {} if (typeof _this2.purchaseUpdateCompletedCallback === "function") { _this2.purchaseUpdateCompletedCallback(purchase); @@ -233162,7 +233298,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_IAPBase2.default); -},1870,[3,270,6,7,11,13,14,1871,853,865,1867,438,1877]); +},1870,[3,270,6,7,11,13,14,1871,867,879,1867,438,1877]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -234428,7 +234564,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_IAPrnBase2.default); -},1879,[3,270,6,7,11,85,13,14,614,1870,865,406,1877,438,1878]); +},1879,[3,270,6,7,11,85,13,14,628,1870,879,406,1877,438,1878]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -234678,690 +234814,72 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(_IAPrnBase2.default); -},1880,[3,270,6,7,11,13,14,865,1870,406,1877,438,1878]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - Object.keys(_$$_REQUIRE(_dependencyMap[0])).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _$$_REQUIRE(_dependencyMap[0])[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _$$_REQUIRE(_dependencyMap[0])[key]; - } - }); - }); -},1881,[1882]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.LoadingOverlay = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[6])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[7]); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var LoadingOverlay = exports.LoadingOverlay = function (_Component) { - function LoadingOverlay(props) { - var _this; - - (0, _classCallCheck2.default)(this, LoadingOverlay); - _this = _callSuper(this, LoadingOverlay, [props]); - _this.state = { - isShow: false, - texts: {}, - callback: undefined - }; - _this.onLayout = _this._onLayout.bind(_this); - _this.getText = _this._getText.bind(_this); - return _this; - } - - (0, _inherits2.default)(LoadingOverlay, _Component); - return (0, _createClass2.default)(LoadingOverlay, [{ - key: "componentWillUnmount", - value: function componentWillUnmount() { - this.clearTimeout(); - } - }, { - key: "clearTimeout", - value: function (_clearTimeout) { - function clearTimeout() { - return _clearTimeout.apply(this, arguments); - } - - clearTimeout.toString = function () { - return _clearTimeout.toString(); - }; - - return clearTimeout; - }(function () { - if (this.timeoutId) { - clearTimeout(this.timeoutId); - } - - this.timeoutId = undefined; - }) - }, { - key: "showLoading", - value: function showLoading() { - var _this2 = this; - - var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, - _ref$id = _ref.id, - id = _ref$id === undefined ? "generic" : _ref$id, - text = _ref.text, - _ref$timeout = _ref.timeout, - timeout = _ref$timeout === undefined ? 30000 : _ref$timeout, - callback = _ref.callback; - - var texts = this.state.texts; - - if (texts[id]) { - this.clearTimeout(); - } - - texts[id] = text || global.strings("loading"); - this.setState({ - isShow: true, - texts: texts, - callback: callback - }, function () { - if (timeout !== -1) { - _this2.timeoutId = setTimeout(function () { - _this2.hideLoading({ - id: id - }); - }, timeout); - } - }); - } - }, { - key: "hideLoading", - value: function hideLoading() { - var _this3 = this; - - var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, - _ref2$id = _ref2.id, - id = _ref2$id === undefined ? "generic" : _ref2$id; - - var _this$state = this.state, - isShow = _this$state.isShow, - texts = _this$state.texts; - if (!this.isShow && !isShow) return; - - if (id && texts[id]) { - texts[id] = undefined; - } - - var activeTexts = Object.values(texts).filter(function (value) { - return value; - }); - - if (activeTexts.length > 0) { - this.setState({ - texts: texts - }); - } else { - this.setState({ - isShow: false, - texts: {}, - callback: undefined - }, function () { - _this3.clearTimeout(); - }); - } - } - }, { - key: "_onLayout", - value: function _onLayout() { - var callback = this.state.callback; - - if (typeof callback === "function") { - callback(); - } - } - }, { - key: "_getText", - value: function _getText() { - var texts = this.state.texts; - var activeTexts = Object.values(texts).filter(function (value) { - return value; - }); - return activeTexts.reduce(function (result, text) { - return result + "\n" + text; - }, ""); - } - }, { - key: "render", - value: function render() { - var isShow = this.state.isShow; - - var _global$getRssIndex = global.getRssIndex(), - borderRadius = _global$getRssIndex.borderRadius; - - return isShow ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_reactNative.View, { - style: _$$_REQUIRE(_dependencyMap[9]).styles.container, - pointerEvents: "box-only", - onLayout: this.onLayout, - children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[10]).ProgressCircle, { - spinnerColor: _$$_REQUIRE(_dependencyMap[11]).colors.white, - text: this.getText(), - parentStyle: [_$$_REQUIRE(_dependencyMap[9]).styles.content, { - borderRadius: borderRadius || 0 - }], - textStyle: _$$_REQUIRE(_dependencyMap[9]).styles.text, - showText: true - }) - }) : null; - } - }], [{ - key: "show", - value: function show() { - var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - this.loadingInstance.showLoading(params); - } - }, { - key: "hide", - value: function hide() { - var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - this.loadingInstance.hideLoading(params); - } - }]); - }(_react.Component); -},1882,[3,6,7,11,13,14,16,18,179,1883,1884,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.styles = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var styles = exports.styles = _reactNative.StyleSheet.create({ - container: { - position: "absolute", - start: 0, - end: 0, - top: 0, - bottom: 0, - flexDirection: "column", - justifyContent: "center", - alignItems: "center", - elevation: 10000, - zIndex: 10001 - }, - content: { - backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.transparent200, - borderRadius: 5, - padding: 25, - margin: 20, - flexDirection: "column", - justifyContent: "center", - alignItems: "center" - }, - text: { - fontSize: 18, - color: _$$_REQUIRE(_dependencyMap[1]).colors.white - } - }); -},1883,[18,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - Object.keys(_$$_REQUIRE(_dependencyMap[0])).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _$$_REQUIRE(_dependencyMap[0])[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _$$_REQUIRE(_dependencyMap[0])[key]; - } - }); - }); -},1884,[1885]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.ProgressCircle = undefined; - - var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[8]); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var Progress = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[10])); - - var _fontText = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - var _spinnerComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var ProgressCircle = exports.ProgressCircle = function (_React$PureComponent) { - function ProgressCircle(props) { - var _this; - - (0, _classCallCheck2.default)(this, ProgressCircle); - _this = _callSuper(this, ProgressCircle, [props]); - var advanced = props.advanced, - startProgress = props.startProgress, - hidden = props.hidden; - var progress; - - if (advanced) { - progress = startProgress; - } - - _this.state = { - progress: progress, - hidden: hidden, - retryText: "" - }; - return _this; - } - - (0, _inherits2.default)(ProgressCircle, _React$PureComponent); - return (0, _createClass2.default)(ProgressCircle, [{ - key: "updateProgress", - value: function updateProgress(progress) { - this.setState({ - progress: progress - }); - } - }, { - key: "updateRetryText", - value: function updateRetryText(retryText) { - this.setState({ - retryText: retryText - }); - } - }, { - key: "show", - value: function show() { - var hidden = this.state.hidden; - - if (hidden) { - this.setState({ - hidden: false - }); - } - } - }, { - key: "hide", - value: function hide() { - var hidden = this.state.hidden; - - if (!hidden) { - this.setState({ - hidden: true - }); - } - } - }, { - key: "_getSpinnerColor", - value: function _getSpinnerColor() { - var spinnerColor = this.props.spinnerColor; - - if (!spinnerColor) { - var _global$getRssIndex = global.getRssIndex(), - supportColor = _global$getRssIndex.supportColor; - - if (supportColor) { - spinnerColor = supportColor; - } else if (global.loadingColor) { - spinnerColor = global.loadingColor; - } else { - spinnerColor = _$$_REQUIRE(_dependencyMap[13]).colors.black; - } - } - - return spinnerColor; - } - }, { - key: "_getSpinner", - value: function _getSpinner(style) { - var _this$props = this.props, - advanced = _this$props.advanced, - spinnerSize = _this$props.spinnerSize, - spinnerTextStyle = _this$props.spinnerTextStyle, - bar = _this$props.bar, - startProgress = _this$props.startProgress, - showProgressText = _this$props.showProgressText, - indeterminate = _this$props.indeterminate, - cssClasses = _this$props.cssClasses; - - var spinnerColor = this._getSpinnerColor(); - - var progressStyle = _$$_REQUIRE(_dependencyMap[14]).Css.getStyleObjByCssClasses(["spinner"].concat((0, _toConsumableArray2.default)(cssClasses))); - - var color = progressStyle.color || spinnerColor; - - if (advanced) { - var progress = this.state.progress; - var elements = []; - - if (bar) { - elements.push((0, _$$_REQUIRE(_dependencyMap[15]).jsx)(Progress.Bar, { - width: null, - progress: progress, - borderRadius: 0, - color: color, - indeterminate: indeterminate - }, "progress_bar")); - } else { - elements.push((0, _$$_REQUIRE(_dependencyMap[15]).jsx)(Progress.Circle, { - showsText: showProgressText && (startProgress === 0 || progress > startProgress), - progress: progress, - color: color, - size: spinnerSize, - textStyle: spinnerTextStyle, - borderWidth: 0, - indeterminate: indeterminate || progress === 0 - }, "progress_circle")); - - if (!indeterminate && startProgress > 0 && progress === startProgress) { - elements.push((0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.View, { - style: _$$_REQUIRE(_dependencyMap[16]).styles.placeholderTextContainer, - children: (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_fontText.default, { - style: [_$$_REQUIRE(_dependencyMap[16]).styles.placeholderText, { - color: color - }, spinnerTextStyle], - children: Math.round(progress * 100) + "%" - }) - }, "progress")); - } - } - - return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.View, { - style: style, - children: elements - }); - } - - if (bar) { - return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.View, { - style: style, - children: (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(Progress.Bar, { - width: null, - indeterminate: true, - borderRadius: 0, - color: color - }) - }); - } - - return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_spinnerComponent.default, { - size: "large", - style: style, - color: color - }); - } - }, { - key: "render", - value: function render() { - var _this$props2 = this.props, - parentStyle = _this$props2.parentStyle, - spinnerStyle = _this$props2.spinnerStyle, - textStyle = _this$props2.textStyle, - text = _this$props2.text; - var _this$props3 = this.props, - showText = _this$props3.showText, - cssTextClasses = _this$props3.cssTextClasses; - var _this$state = this.state, - hidden = _this$state.hidden, - retryText = _this$state.retryText; - - if (hidden) { - return null; - } - - parentStyle = parentStyle || {}; - spinnerStyle = spinnerStyle || {}; - textStyle = textStyle || {}; - text = text || global.strings("loading"); - return !showText || !text ? this._getSpinner([_$$_REQUIRE(_dependencyMap[16]).styles.spinner, spinnerStyle]) : (0, _$$_REQUIRE(_dependencyMap[15]).jsxs)(_reactNative.View, { - style: [_$$_REQUIRE(_dependencyMap[16]).styles.container].concat((0, _toConsumableArray2.default)(Array.isArray(parentStyle) ? parentStyle : [parentStyle])), - children: [this._getSpinner([spinnerStyle]), (0, _$$_REQUIRE(_dependencyMap[15]).jsxs)(_$$_REQUIRE(_dependencyMap[14]).Css, { - classes: cssTextClasses, - children: [(0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_fontText.default, { - style: [_$$_REQUIRE(_dependencyMap[16]).styles.text, { - color: this._getSpinnerColor() - }, textStyle], - children: text - }), retryText ? (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_fontText.default, { - style: [_$$_REQUIRE(_dependencyMap[16]).styles.text, { - color: this._getSpinnerColor() - }, textStyle], - children: retryText - }) : null] - })] - }); - } - }]); - }(_react.default.PureComponent); - - ProgressCircle.propTypes = { - showText: _propTypes.default.bool, - showProgressText: _propTypes.default.bool, - parentStyle: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.array]), - spinnerStyle: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.array]), - spinnerTextStyle: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.array]), - spinnerColor: _propTypes.default.string, - spinnerSize: _propTypes.default.number, - textStyle: _propTypes.default.object, - text: _propTypes.default.string, - advanced: _propTypes.default.bool, - bar: _propTypes.default.bool, - startProgress: _propTypes.default.number, - hidden: _propTypes.default.bool, - indeterminate: _propTypes.default.bool, - cssClasses: _propTypes.default.arrayOf(_propTypes.default.string), - cssTextClasses: _propTypes.default.arrayOf(_propTypes.default.string) - }; - ProgressCircle.defaultProps = { - showText: false, - showProgressText: true, - parentStyle: null, - spinnerStyle: null, - spinnerTextStyle: null, - spinnerSize: 100, - textStyle: null, - spinnerColor: null, - advanced: false, - bar: false, - startProgress: 0, - hidden: false, - indeterminate: false, - cssClasses: [], - cssTextClasses: [] - }; -},1885,[3,22,6,7,11,13,14,16,18,568,1709,800,1886,438,803,179,1887]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.IOS_LARGE_ACTIVITY_INDICATOR_SIZE = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[7]); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var IOS_LARGE_ACTIVITY_INDICATOR_SIZE = exports.IOS_LARGE_ACTIVITY_INDICATOR_SIZE = 36; - - var TecnaviaSpinner = exports.default = function (_React$Component) { - function TecnaviaSpinner() { - (0, _classCallCheck2.default)(this, TecnaviaSpinner); - return _callSuper(this, TecnaviaSpinner, arguments); - } - - (0, _inherits2.default)(TecnaviaSpinner, _React$Component); - return (0, _createClass2.default)(TecnaviaSpinner, [{ - key: "render", - value: function render() { - return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_reactNative.ActivityIndicator, Object.assign({}, this.props)); - } - }]); - }(_react.default.Component); -},1886,[3,6,7,11,13,14,16,18,179]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.styles = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var styles = exports.styles = _reactNative.StyleSheet.create({ - container: { - position: "absolute", - zIndex: 2, - flexDirection: "row", - justifyContent: "center", - alignItems: "center", - alignSelf: "center" - }, - spinner: { - flex: 1 - }, - text: { - paddingStart: 10, - textShadowColor: _$$_REQUIRE(_dependencyMap[1]).colors.grey300, - textShadowOffset: { - width: -0.5, - height: 0.5 - }, - textShadowRadius: 1 - }, - placeholderTextContainer: { - position: "absolute", - top: 0, - left: 0, - bottom: 0, - right: 0, - justifyContent: "center", - alignItems: "center" - }, - placeholderText: { - color: _$$_REQUIRE(_dependencyMap[1]).colors.white - } - }); -},1887,[18,438]); +},1880,[3,270,6,7,11,13,14,879,1870,406,1877,438,1878]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true }); exports.default = undefined; - var _Paywall = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); function closeDrawer(navigation) { if (navigation) { - navigation.dispatch(_$$_REQUIRE(_dependencyMap[3]).DrawerActions.closeDrawer()); + navigation.dispatch(_$$_REQUIRE(_dependencyMap[2]).DrawerActions.closeDrawer()); } } function openDrawer(navigation) { if (navigation) { - navigation.dispatch(_$$_REQUIRE(_dependencyMap[3]).DrawerActions.openDrawer()); + navigation.dispatch(_$$_REQUIRE(_dependencyMap[2]).DrawerActions.openDrawer()); } } function navigate(navigation, routeName) { var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - if (navigation) { - if (global.unauthorized) { - routeName = "UnauthorizedScreen"; - } - - navigation.dispatch(_$$_REQUIRE(_dependencyMap[3]).CommonActions.navigate({ - name: routeName, - params: params - })); + if (!navigation) { + return; } + + if (global.unauthorized) { + routeName = "UnauthorizedScreen"; + } + + var navigateAction = _$$_REQUIRE(_dependencyMap[2]).CommonActions.navigate({ + name: routeName, + params: params + }); + + navigation.dispatch(navigateAction); } function reset(navigation, route) { var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - if (navigation) { - if (global.unauthorized) { - route = "UnauthorizedScreen"; - } + if (!navigation) { + return; + } - var resetAction = _$$_REQUIRE(_dependencyMap[3]).CommonActions.reset({ - index: 0, - routes: [{ - name: route, - params: params - }] - }); + if (global.unauthorized) { + route = "UnauthorizedScreen"; + } - navigation.dispatch(resetAction); - } else {} + var resetAction = _$$_REQUIRE(_dependencyMap[2]).CommonActions.reset({ + index: 0, + routes: [{ + name: route, + params: params + }] + }); + + navigation.dispatch(resetAction); } var _navigator; + var _onRestart; + function setMainNavigatorRef(navigatorRef) { _navigator = navigatorRef; } @@ -235381,13 +234899,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e reset(_navigator, mainNavigator, params); } + function setOnRestart(onRestart) { + _onRestart = onRestart; + } + function restart() { - _$$_REQUIRE(_dependencyMap[4]).MyBottomSheet.hide(); + if (typeof _onRestart === "function") { + _onRestart(); + } - _Paywall.default.remove(); - - global.startupTime = new Date().getTime(); - (0, _$$_REQUIRE(_dependencyMap[5]).resetDebugOperations)(); resetInMainNavigator("SplashScreen"); } @@ -235405,1047 +234925,3238 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e close: closeDrawer, open: openDrawer }, + onRestart: setOnRestart, restart: restart, navigator: { - createStack: _$$_REQUIRE(_dependencyMap[6]).createNativeStackNavigator, - createDrawer: _$$_REQUIRE(_dependencyMap[7]).createDrawerNavigator, - createBottomTab: _$$_REQUIRE(_dependencyMap[8]).createBottomTabNavigator, - createTopTab: _$$_REQUIRE(_dependencyMap[9]).createMaterialTopTabNavigator + createStack: _$$_REQUIRE(_dependencyMap[3]).createNativeStackNavigator, + createDrawer: _$$_REQUIRE(_dependencyMap[4]).createDrawerNavigator, + createBottomTab: _$$_REQUIRE(_dependencyMap[5]).createBottomTabNavigator, + createTopTab: _$$_REQUIRE(_dependencyMap[6]).createMaterialTopTabNavigator }, getStackScreenOptions: function getStackScreenOptions() { return { orientation: _deviceUtils.default.orientationIsLocked ? _deviceUtils.default.lockedOrientation.toLowerCase() : "all", - animation: _$$_REQUIRE(_dependencyMap[10]).PlatformUtils.isIOS() ? "default" : "none" + animation: _$$_REQUIRE(_dependencyMap[7]).PlatformUtils.isIOS() ? "default" : "none" }; } }; -},1888,[3,1889,434,1073,1932,801,1940,1210,1946,1682,438]); +},1881,[3,434,1087,1882,1224,1888,1682,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + Object.defineProperty(exports, "NativeStackView", { + enumerable: true, + get: function get() { + return _NativeStackView.default; + } + }); + Object.defineProperty(exports, "createNativeStackNavigator", { + enumerable: true, + get: function get() { + return _createNativeStackNavigator.default; + } + }); + + var _createNativeStackNavigator = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _NativeStackView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); +},1882,[3,1883,1884]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true }); exports.default = undefined; - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + var _NativeStackView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - var _PaywallHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _PaywallAJAX = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[7])); - - var _PaywallLoginStatus = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + var _excluded = ["initialRouteName", "children", "screenListeners", "screenOptions"]; function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - var Paywall = exports.default = function () { - function Paywall() { - (0, _classCallCheck2.default)(this, Paywall); + function NativeStackNavigator(_ref) { + var initialRouteName = _ref.initialRouteName, + children = _ref.children, + screenListeners = _ref.screenListeners, + screenOptions = _ref.screenOptions, + rest = (0, _objectWithoutProperties2.default)(_ref, _excluded); + + var _useNavigationBuilder = (0, _$$_REQUIRE(_dependencyMap[4]).useNavigationBuilder)(_$$_REQUIRE(_dependencyMap[4]).StackRouter, { + initialRouteName: initialRouteName, + children: children, + screenListeners: screenListeners, + screenOptions: screenOptions + }), + state = _useNavigationBuilder.state, + descriptors = _useNavigationBuilder.descriptors, + navigation = _useNavigationBuilder.navigation, + NavigationContent = _useNavigationBuilder.NavigationContent; + + React.useEffect(function () { + return navigation == null ? undefined : navigation.addListener == null ? undefined : navigation.addListener('tabPress', function (e) { + var isFocused = navigation.isFocused(); + requestAnimationFrame(function () { + if (state.index > 0 && isFocused && !e.defaultPrevented) { + navigation.dispatch(Object.assign({}, _$$_REQUIRE(_dependencyMap[4]).StackActions.popToTop(), { + target: state.key + })); + } + }); + }); + }, [navigation, state.index, state.key]); + return (0, _$$_REQUIRE(_dependencyMap[5]).jsx)(NavigationContent, { + children: (0, _$$_REQUIRE(_dependencyMap[5]).jsx)(_NativeStackView.default, Object.assign({}, rest, { + state: state, + navigation: navigation, + descriptors: descriptors + })) + }); + } + + var _default = exports.default = (0, _$$_REQUIRE(_dependencyMap[4]).createNavigatorFactory)(NativeStackNavigator); +},1883,[3,4,16,1884,1087,179]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = NativeStackView; + + var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[3]); + + var _warnOnce = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _DebugContainer = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _HeaderConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var isAndroid = _reactNative.Platform.OS === 'android'; + + var MaybeNestedStack = function MaybeNestedStack(_ref) { + var options = _ref.options, + route = _ref.route, + presentation = _ref.presentation, + headerHeight = _ref.headerHeight, + children = _ref.children; + + var _useTheme = (0, _$$_REQUIRE(_dependencyMap[7]).useTheme)(), + colors = _useTheme.colors; + + var header = options.header, + _options$headerShown = options.headerShown, + headerShown = _options$headerShown === undefined ? true : _options$headerShown, + contentStyle = options.contentStyle; + var isHeaderInModal = isAndroid ? false : presentation !== 'card' && headerShown === true && header === undefined; + var headerShownPreviousRef = React.useRef(headerShown); + React.useEffect(function () { + (0, _warnOnce.default)(!isAndroid && presentation !== 'card' && headerShownPreviousRef.current !== headerShown, "Dynamically changing 'headerShown' in modals will result in remounting the screen and losing all local state. See options for the screen '" + route.name + "'."); + headerShownPreviousRef.current = headerShown; + }, [headerShown, presentation, route.name]); + var content = (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_DebugContainer.default, { + style: [styles.container, presentation !== 'transparentModal' && presentation !== 'containedTransparentModal' && { + backgroundColor: colors.background + }, contentStyle], + stackPresentation: presentation === 'card' ? 'push' : presentation, + children: children + }); + + if (isHeaderInModal) { + return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).ScreenStack, { + style: styles.container, + children: (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_$$_REQUIRE(_dependencyMap[9]).Screen, { + enabled: true, + style: _reactNative.StyleSheet.absoluteFill, + children: [(0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_HeaderConfig.default, Object.assign({}, options, { + route: route, + headerHeight: headerHeight, + canGoBack: true + })), content] + }) + }); } - return (0, _createClass2.default)(Paywall, null, [{ - key: "initConfig", - value: function () { - var _initConfig = (0, _asyncToGenerator2.default)(function* () { - var appId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : global.getRssIndex().paywallAppId; + return content; + }; - _PaywallHelper.default.setStorageName("paywall_" + appId); + var SceneView = function SceneView(_ref2) { + var descriptor = _ref2.descriptor, + previousDescriptor = _ref2.previousDescriptor, + index = _ref2.index, + onWillDisappear = _ref2.onWillDisappear, + onAppear = _ref2.onAppear, + onDisappear = _ref2.onDisappear, + onDismissed = _ref2.onDismissed; + var route = descriptor.route, + navigation = descriptor.navigation, + options = descriptor.options, + render = descriptor.render; + var animation = options.animation, + _options$animationTyp = options.animationTypeForReplace, + animationTypeForReplace = _options$animationTyp === undefined ? 'push' : _options$animationTyp, + customAnimationOnGesture = options.customAnimationOnGesture, + fullScreenGestureEnabled = options.fullScreenGestureEnabled, + gestureEnabled = options.gestureEnabled, + header = options.header, + headerShown = options.headerShown, + orientation = options.orientation, + statusBarAnimation = options.statusBarAnimation, + statusBarHidden = options.statusBarHidden, + statusBarStyle = options.statusBarStyle; + var _options$presentation = options.presentation, + presentation = _options$presentation === undefined ? 'card' : _options$presentation; - var config = yield _PaywallHelper.default.getConfig(); + if (index === 0) { + presentation = 'card'; + } - if (config) { - Paywall.config = config; - } - }); + var isHeaderInPush = isAndroid ? headerShown : presentation === 'card' && headerShown !== false; + var insets = (0, _$$_REQUIRE(_dependencyMap[10]).useSafeAreaInsets)(); + var frame = (0, _$$_REQUIRE(_dependencyMap[10]).useSafeAreaFrame)(); + var isModal = presentation === 'modal' || presentation === 'formSheet'; + var isIPhone = _reactNative.Platform.OS === 'ios' && !(_reactNative.Platform.isPad && _reactNative.Platform.isTVOS); + var isLandscape = frame.width > frame.height; + var topInset = isModal || isIPhone && isLandscape ? 0 : insets.top; + var isParentHeaderShown = React.useContext(_$$_REQUIRE(_dependencyMap[11]).HeaderShownContext); + var parentHeaderHeight = React.useContext(_$$_REQUIRE(_dependencyMap[11]).HeaderHeightContext); + var defaultHeaderHeight = (0, _$$_REQUIRE(_dependencyMap[11]).getDefaultHeaderHeight)(frame, isModal, topInset); - function initConfig() { - return _initConfig.apply(this, arguments); - } + var _React$useState = React.useState(defaultHeaderHeight), + _React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2), + customHeaderHeight = _React$useState2[0], + setCustomHeaderHeight = _React$useState2[1]; - return initConfig; - }() - }, { - key: "setConfig", - value: function setConfig(config) { - Paywall.config = config; + var headerHeight = header ? customHeaderHeight : defaultHeaderHeight; + return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).Screen, { + enabled: true, + style: _reactNative.StyleSheet.absoluteFill, + customAnimationOnSwipe: customAnimationOnGesture, + fullScreenSwipeEnabled: fullScreenGestureEnabled, + gestureEnabled: isAndroid ? false : gestureEnabled, + replaceAnimation: animationTypeForReplace, + stackPresentation: presentation === 'card' ? 'push' : presentation, + stackAnimation: animation, + screenOrientation: orientation, + statusBarAnimation: statusBarAnimation, + statusBarHidden: statusBarHidden, + statusBarStyle: statusBarStyle, + onWillDisappear: onWillDisappear, + onAppear: onAppear, + onDisappear: onDisappear, + onDismissed: onDismissed, + isNativeStack: true, + children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).NavigationContext.Provider, { + value: navigation, + children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).NavigationRouteContext.Provider, { + value: route, + children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[11]).HeaderShownContext.Provider, { + value: isParentHeaderShown || isHeaderInPush !== false, + children: (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_$$_REQUIRE(_dependencyMap[11]).HeaderHeightContext.Provider, { + value: isHeaderInPush !== false ? headerHeight : parentHeaderHeight != null ? parentHeaderHeight : 0, + children: [header !== undefined && headerShown !== false ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_reactNative.View, { + onLayout: function onLayout(e) { + setCustomHeaderHeight(e.nativeEvent.layout.height); + }, + children: header({ + back: previousDescriptor ? { + title: (0, _$$_REQUIRE(_dependencyMap[11]).getHeaderTitle)(previousDescriptor.options, previousDescriptor.route.name) + } : undefined, + options: options, + route: route, + navigation: navigation + }) + }) : (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_HeaderConfig.default, Object.assign({}, options, { + route: route, + headerShown: isHeaderInPush, + headerHeight: headerHeight, + canGoBack: index !== 0 + })), (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(MaybeNestedStack, { + options: options, + route: route, + presentation: presentation, + headerHeight: headerHeight, + children: render() + })] + }) + }) + }) + }) + }, route.key); + }; - _PaywallHelper.default.setConfig(config); + function NativeStackViewInner(_ref3) { + var _state$routes$find; + + var state = _ref3.state, + navigation = _ref3.navigation, + descriptors = _ref3.descriptors; + + var _React$useState3 = React.useState(null), + _React$useState4 = (0, _slicedToArray2.default)(_React$useState3, 2), + nextDismissedKey = _React$useState4[0], + setNextDismissedKey = _React$useState4[1]; + + var dismissedRouteName = nextDismissedKey ? (_state$routes$find = state.routes.find(function (route) { + return route.key === nextDismissedKey; + })) == null ? undefined : _state$routes$find.name : null; + React.useEffect(function () { + if (dismissedRouteName) { + var message = "The screen '" + dismissedRouteName + "' was removed natively but didn't get removed from JS state. " + "This can happen if the action was prevented in a 'beforeRemove' listener, which is not fully supported in native-stack.\n\n" + "Consider using 'gestureEnabled: false' to prevent back gesture and use a custom back button with 'headerLeft' option to override the native behavior."; + console.error(message); } - }, { - key: "init", - value: function () { - var _init = (0, _asyncToGenerator2.default)(function* () { - var appId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : global.getRssIndex().paywallAppId; - var strictMode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + }, [dismissedRouteName]); + return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).ScreenStack, { + style: styles.container, + children: state.routes.map(function (route, index) { + var _state$routes; - if (appId) { - Paywall.appId = appId; - yield Paywall.initConfig(); - yield _PaywallLoginStatus.default.initUserStatus(); - - _PaywallAJAX.default.init(appId); - - Paywall.strictMode = strictMode; - Paywall.registerToConnectivityChangeEvent(); - Paywall.firstProductsLeftPopupShown = yield Paywall.isFirstProductsLeftPopupAlreadyShown(); - - if (_$$_REQUIRE(_dependencyMap[9]).NetworkUtils.isOnline()) { - var result = yield Paywall.downloadConfiguration(); - - if (Paywall.initialize) { - Paywall.checkOfflineAccessedProducts(); - - if (_PaywallLoginStatus.default.isUserLoggedIn()) { - if (_PaywallLoginStatus.default.isLoginInvalid()) { - Paywall.logout(); - } else { - Paywall.validateUser(); - } - } else { - Paywall.updateAccountLabel(false); - - if (!Paywall.autoLogin()) { - var show_welcome_popup = Paywall.config.show_welcome_popup; - - if (show_welcome_popup == 1) { - if (!Paywall.isWelcomePopupAlreadyShown()) { - Paywall.welcome(); - } - } - } - } - } - - return result; - } - - if (Paywall.config) { - var sessionString = Paywall.config.sessionString; - - if (sessionString) { - Paywall.initialize = true; - Paywall.updateAccountLabel(_PaywallLoginStatus.default.isUserLoggedIn()); - } - } - - return true; - } - - return false; - }); - - function init() { - return _init.apply(this, arguments); - } - - return init; - }() - }, { - key: "checkOfflineAccessedProducts", - value: function () { - var _checkOfflineAccessedProducts = (0, _asyncToGenerator2.default)(function* () { - Paywall.offlineAccessedProductsList = yield _PaywallHelper.default.getOfflineProductsList(); - - if (Paywall.offlineAccessedProductsList && Paywall.offlineAccessedProductsList.length > 0) { - Paywall.offlineAccessedProductsList.forEach(function (ACI) { - Paywall.validate(ACI, false); + var descriptor = descriptors[route.key]; + var previousKey = (_state$routes = state.routes[index - 1]) == null ? undefined : _state$routes.key; + var previousDescriptor = previousKey ? descriptors[previousKey] : undefined; + return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(SceneView, { + index: index, + descriptor: descriptor, + previousDescriptor: previousDescriptor, + onWillDisappear: function onWillDisappear() { + navigation.emit({ + type: 'transitionStart', + data: { + closing: true + }, + target: route.key }); - Paywall.offlineAccessedProductsList = []; - - _PaywallHelper.default.setOfflineProductsList([]); - } - }); - - function checkOfflineAccessedProducts() { - return _checkOfflineAccessedProducts.apply(this, arguments); - } - - return checkOfflineAccessedProducts; - }() - }, { - key: "registerToConnectivityChangeEvent", - value: function registerToConnectivityChangeEvent() { - _$$_REQUIRE(_dependencyMap[10]).EventRegister.rm(Paywall.onConnectivityChange); - - Paywall.onConnectivityChange = _$$_REQUIRE(_dependencyMap[10]).EventRegister.on(_events.default.ON_CONNECTIVITY_CHANGE, function (_ref) { - var online = _ref.online; - - if (online) { - Paywall.checkOfflineAccessedProducts(); - } - }); - } - }, { - key: "registerToNewsMemoryEvents", - value: function registerToNewsMemoryEvents() { - if (Paywall.loginListener) { - Paywall.loginListener.remove(); - } - - if (Paywall.logoutListener) { - Paywall.logoutListener.remove(); - } - - var IOSClassicEPaper = _optionalPackageUtils.default.getIOSClassicEPaper(); - - if (IOSClassicEPaper) { - Paywall.loginListener = IOSClassicEPaper.addListener(IOSClassicEPaper.NEWSMEMORY_LOGIN, function () { - _PaywallLoginStatus.default.getUserStatus().then(function (status) { - _PaywallLoginStatus.default.userStatus = status; - Paywall.autoLogin(); + }, + onAppear: function onAppear() { + navigation.emit({ + type: 'transitionEnd', + data: { + closing: false + }, + target: route.key }); - }); - Paywall.logoutListener = IOSClassicEPaper.addListener(IOSClassicEPaper.NEWSMEMORY_LOGOUT, Paywall.logout); - } - } - }, { - key: "downloadConfiguration", - value: function () { - var _downloadConfiguration = (0, _asyncToGenerator2.default)(function* () { - Paywall.initialize = false; - Paywall.forceAutoLogin = true; - Paywall.accessedProductsList = yield Paywall.getAccessedProductsList(); - - try { - var outcome = yield _PaywallAJAX.default.downloadConfiguration(); - Paywall.setConfig(outcome); - var _Paywall$config = Paywall.config, - sessionString = _Paywall$config.sessionString, - disable_paywall = _Paywall$config.disable_paywall, - user_info = _Paywall$config.user_info; - - if (disable_paywall == 1) { - return true; - } - - if (sessionString) { - _PaywallAJAX.default.setSessionString(sessionString); - - Paywall.initialize = true; - return true; - } - } catch (e) {} - - return false; - }); - - function downloadConfiguration() { - return _downloadConfiguration.apply(this, arguments); - } - - return downloadConfiguration; - }() - }, { - key: "getProductType", - value: function getProductType(ACI) { - var _Paywall$config2 = Paywall.config, - default_product_type = _Paywall$config2.default_product_type, - products_rules = _Paywall$config2.products_rules; - var productType = default_product_type; - - if (products_rules && products_rules.rules) { - var _loop = function _loop() { - var rule = products_rules.rules[r]; - var ruleSplit = rule.split(":"); - var condition = ruleSplit[0].trim(); - var currentProductType = ruleSplit[1].trim(); - var categoriesOR = []; - var conditionORSplit = condition.split(" OR "); - conditionORSplit.forEach(function (conditionOR) { - var conditionANDSplit = conditionOR.split(" AND "); - - if (conditionANDSplit.length > 1) { - categoriesOR.push(conditionANDSplit); - } else { - categoriesOR.push(conditionOR); - } + }, + onDisappear: function onDisappear() { + navigation.emit({ + type: 'transitionEnd', + data: { + closing: true + }, + target: route.key }); - - for (var i = 0; i < categoriesOR.length; i++) { - var categoryOR = categoriesOR[i]; - - if (Array.isArray(categoryOR)) { - var respectCondition = true; - - for (var j = 0; j < categoryOR.length; j++) { - var categoryAND = categoryOR[j]; - - if (!Paywall.checkRuleCondition(ACI, categoryAND)) { - respectCondition = false; - break; - } - } - - if (respectCondition) { - productType = currentProductType; - break; - } - } else if (Paywall.checkRuleCondition(ACI, categoryOR)) { - productType = currentProductType; - break; - } - } - }; - - for (var r = 0; r < products_rules.rules.length; r++) { - _loop(); + }, + onDismissed: function onDismissed(event) { + navigation.dispatch(Object.assign({}, _$$_REQUIRE(_dependencyMap[7]).StackActions.pop(event.nativeEvent.dismissCount), { + source: route.key, + target: state.key + })); + setNextDismissedKey(route.key); } - } else {} - - return productType; - } - }, { - key: "checkRuleCondition", - value: function checkRuleCondition(ACI, condition) { - var notCondition = condition.indexOf("NOT ") !== -1; - - if (notCondition) { - condition = condition.replace("NOT ", "").trim(); - } - - try { - var matches = ACI.match(new RegExp(condition)) !== null; - return notCondition !== matches; - } catch (e) { - return false; - } - } - }, { - key: "isFreeProduct", - value: function isFreeProduct(productType) { - return productType === Paywall.config.free_product_type; - } - }, { - key: "validate", - value: function () { - var _validate = (0, _asyncToGenerator2.default)(function* (ACI) { - var showPopups = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; - - if (Paywall.initialize) { - var productType = Paywall.getProductType(ACI); - - if (productType && !Paywall.isFreeProduct(productType) && !Paywall.isAlreadyAccessed(ACI)) { - if (_$$_REQUIRE(_dependencyMap[9]).NetworkUtils.isOnline()) { - try { - var outcome = yield _PaywallAJAX.default.validate(ACI, productType); - return Paywall.handleValidationSuccess(ACI, outcome, showPopups); - } catch (e) { - if (e instanceof _PaywallAJAX.PaywallError && e.getCode() === _$$_REQUIRE(_dependencyMap[11]).serverStatusCodes.SESSION_EXPIRED) { - var sessionResult = yield Paywall.handleSessionExpired(); - - if (sessionResult) { - if (Paywall.strictMode) { - var validationResult = yield Paywall.validate(ACI, showPopups); - return validationResult; - } - - Paywall.validate(ACI, showPopups); - } - } - } - } else { - var productsLeft = yield Paywall.getLastProductsLeft(); - - if (productsLeft && (productsLeft === _$$_REQUIRE(_dependencyMap[11]).UNLIMITED_ACCESS || productsLeft >= 0)) { - if (productsLeft !== _$$_REQUIRE(_dependencyMap[11]).UNLIMITED_ACCESS) { - Paywall.setLastProductsLeft(parseInt(productsLeft, 10) - 1); - } - - Paywall.offlineAccessedProductsList.push(ACI); - - _PaywallHelper.default.setOfflineProductsList(Paywall.offlineAccessedProductsList); - - _$$_REQUIRE(_dependencyMap[10]).EventRegister.emit(_events.default.PAYWALL_VALIDATE, { - ACI: ACI, - validated: true - }); - } else { - Paywall.showOfflineDialog(); - - _$$_REQUIRE(_dependencyMap[10]).EventRegister.emit(_events.default.PAYWALL_GO_BACK_HOME); - } - } - } else if (Paywall.isAlreadyAccessed(ACI)) { - _$$_REQUIRE(_dependencyMap[10]).EventRegister.emit(_events.default.PAYWALL_VALIDATE, { - ACI: ACI, - validated: true - }); - } - } else { - var _global$getRssIndex = global.getRssIndex(), - attachPaywallToArticle = _global$getRssIndex.attachPaywallToArticle; - - if (Paywall.shouldShowHardPaywall() && !attachPaywallToArticle) { - _$$_REQUIRE(_dependencyMap[10]).EventRegister.emit(_events.default.OPEN_OPTIONSPAGE, { - tab: _$$_REQUIRE(_dependencyMap[12]).tabs.account, - forceFullscreen: true - }); - } else {} - } - - return true; - }); - - function validate(_x) { - return _validate.apply(this, arguments); - } - - return validate; - }() - }, { - key: "handleValidationSuccess", - value: function handleValidationSuccess(ACI, outcome) { - var showPopups = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; - var hasAccess = true; - var productsLeft = outcome.productsLeft, - productType = outcome.productType; - var _Paywall$config3 = Paywall.config, - show_first_products_left_popup = _Paywall$config3.show_first_products_left_popup, - show_latest_products_left_popup = _Paywall$config3.show_latest_products_left_popup, - show_period_products_left_popup = _Paywall$config3.show_period_products_left_popup, - show_custom_products_left_popup = _Paywall$config3.show_custom_products_left_popup, - show_paywall = _Paywall$config3.show_paywall; - Paywall.setLastProductsLeft(productsLeft); - - if (productsLeft === _$$_REQUIRE(_dependencyMap[11]).UNLIMITED_ACCESS) {} else if (productsLeft >= 0) { - var min_threshold = Paywall.config.min_threshold; - - if (productType && Paywall.config[productType] && Paywall.config[productType].min_threshold !== undefined) { - min_threshold = Paywall.config[productType].min_threshold; - } - - var period = parseInt(show_period_products_left_popup || 0, 10); - var custom = !!show_custom_products_left_popup && show_custom_products_left_popup.split(",").reduce(function (prev, current) { - return prev || parseInt(current, 10) === productsLeft; - }, false); - - if (showPopups && (show_first_products_left_popup == 1 && !Paywall.firstProductsLeftPopupShown || show_latest_products_left_popup == 1 && productsLeft < min_threshold || period > 0 && productsLeft % period === 0 || custom)) { - if (!Paywall.firstProductsLeftPopupShown) { - Paywall.setFirstProductsLeftPopupAlreadyShown(); - } - - _$$_REQUIRE(_dependencyMap[13]).PaywallContainer.show({ - type: _$$_REQUIRE(_dependencyMap[11]).popupTypes.productsLeft, - productsLeft: productsLeft, - ACI: ACI - }); - } - } else { - if (showPopups && show_paywall == 1) { - if (Paywall.needToAppendPaywallPopup(ACI)) { - _$$_REQUIRE(_dependencyMap[10]).EventRegister.emit(_events.default.PAYWALL_OPEN_POPUP, { - forceAutoLogin: Paywall.forceAutoLogin - }); - } else { - _$$_REQUIRE(_dependencyMap[13]).PaywallContainer.show({ - type: _$$_REQUIRE(_dependencyMap[11]).popupTypes.blocking, - ACI: ACI, - forceAutoLogin: Paywall.forceAutoLogin - }); - } - - Paywall.forceAutoLogin = false; - } - - hasAccess = false; - } - - if (hasAccess) { - _$$_REQUIRE(_dependencyMap[10]).EventRegister.emit(_events.default.PAYWALL_VALIDATE, { - ACI: ACI, - validated: true - }); - - Paywall.addToAccessedProductsList(ACI); - } - - return hasAccess; - } - }, { - key: "handleSessionExpired", - value: function () { - var _handleSessionExpired = (0, _asyncToGenerator2.default)(function* () { - var result = yield Paywall.downloadConfiguration(); - - if (!result) {} - - return result; - }); - - function handleSessionExpired() { - return _handleSessionExpired.apply(this, arguments); - } - - return handleSessionExpired; - }() - }, { - key: "validateUser", - value: function () { - var _validateUser = (0, _asyncToGenerator2.default)(function* () { - if (Paywall.initialize) { - try { - var outcome = yield _PaywallAJAX.default.validateUser(); - Paywall.handleUserValidationSuccess(outcome); - } catch (e) { - if (e instanceof _PaywallAJAX.PaywallError && e.getCode() === _$$_REQUIRE(_dependencyMap[11]).serverStatusCodes.SESSION_EXPIRED) { - var sessionResult = yield Paywall.handleSessionExpired(); - - if (sessionResult) { - Paywall.validateUser(); - } - } - } - } else {} - }); - - function validateUser() { - return _validateUser.apply(this, arguments); - } - - return validateUser; - }() - }, { - key: "handleUserValidationSuccess", - value: function handleUserValidationSuccess(outcome) { - var isLogged = outcome.isLogged; - - if (!isLogged) { - if (!Paywall.autoLogin()) { - _$$_REQUIRE(_dependencyMap[10]).EventRegister.emit(_events.default.PAYWALL_LOGOUT); - - Paywall.handleLogoutSuccess(); - } - } else { - Paywall.updateAccountLabel(true); - } - } - }, { - key: "handleLoginSuccess", - value: function handleLoginSuccess(outcome, ACI, removePopupsAfterValidation) { - _PaywallLoginStatus.default.updateUserStatus(outcome); - - Paywall.updateAccountLabel(); - - var validationCallback = function validationCallback() {}; - - if (removePopupsAfterValidation) { - validationCallback = function validationCallback(hasAccess) { - if (hasAccess) { - Paywall.remove(); - } - }; - } else { - Paywall.remove(); - } - - if (ACI) { - Paywall.validate(ACI).then(validationCallback); - } - - _$$_REQUIRE(_dependencyMap[10]).EventRegister.emit(_events.default.CHANGE_ADS_VISIBILITY, { - hideAds: _PaywallLoginStatus.default.isAdFree() - }); - } - }, { - key: "logout", - value: function () { - var _logout = (0, _asyncToGenerator2.default)(function* (ACI, manual) { - var result = false; - - if (Paywall.initialize) { - try { - var outcome = yield _PaywallAJAX.default.logout(); - - if (manual) { - _$$_REQUIRE(_dependencyMap[10]).EventRegister.emit(_events.default.PAYWALL_LOGOUT); - } - - result = Paywall.handleLogoutSuccess(outcome, ACI, manual); - } catch (e) { - if (e instanceof _PaywallAJAX.PaywallError && e.getCode() === _$$_REQUIRE(_dependencyMap[11]).serverStatusCodes.SESSION_EXPIRED) { - var sessionResult = yield Paywall.handleSessionExpired(); - - if (sessionResult) { - result = yield Paywall.logout(ACI, manual); - } - } else {} - } - } else {} - - return result; - }); - - function logout(_x2, _x3) { - return _logout.apply(this, arguments); - } - - return logout; - }() - }, { - key: "handleLogoutSuccess", - value: function handleLogoutSuccess(outcome, ACI, manual) { - _PaywallLoginStatus.default.resetUserStatus(); - - Paywall.updateAccountLabel(); - - _$$_REQUIRE(_dependencyMap[10]).EventRegister.emit(_events.default.CHANGE_ADS_VISIBILITY, { - hideAds: false - }); - - if (outcome) { - Paywall.remove(); - - if (ACI) { - Paywall.validate(ACI); - } else if (manual) { - Paywall.account(); - } - } - } - }, { - key: "replaceExtIdInUrl", - value: function replaceExtIdInUrl(url) { - if (url && typeof url === "string") { - var _PaywallLoginStatus$g; - - return url.replace("##extid##", (_PaywallLoginStatus$g = _PaywallLoginStatus.default.getExtid()) != null ? _PaywallLoginStatus$g : ""); - } - - return url; - } - }, { - key: "updateAccountLabel", - value: function updateAccountLabel() { - var loggedIn = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _PaywallLoginStatus.default.isUserLoggedIn(); - - if (Paywall.initialize) { - var messages = Paywall.config.messages; - - if (messages) { - var userLoggedInText = messages.userLoggedInText, - userNotLoggedText = messages.userNotLoggedText; - var caption = loggedIn ? userLoggedInText : userNotLoggedText; - - _$$_REQUIRE(_dependencyMap[10]).EventRegister.emit(_events.default.PAYWALL_USER_STATUS_UPDATE, { - loggedIn: loggedIn, - caption: caption - }); - } - } - } - }, { - key: "autoLogin", - value: function autoLogin() { - if (Paywall.initialize) { - var credentials = _PaywallLoginStatus.default.getCredentials(); - - if (credentials) { - var user = credentials.user, - pwdEncrypt = credentials.pwdEncrypt, - token = credentials.token; - - if (user && pwdEncrypt || token) { - if (token) {} else {} - - _$$_REQUIRE(_dependencyMap[13]).PaywallContainer.show({ - type: _$$_REQUIRE(_dependencyMap[11]).popupTypes.login, - isInvisible: true, - forceAutoLogin: true - }); - - return true; - } - } - } - - return false; - } - }, { - key: "isAlreadyAccessed", - value: function isAlreadyAccessed(ACI) { - return Paywall.accessedProductsList.findIndex(function (product) { - return product.ACI === ACI; - }) !== -1; - } - }, { - key: "getAccessedProductsList", - value: function () { - var _getAccessedProductsList = (0, _asyncToGenerator2.default)(function* () { - var productsList = yield _PaywallHelper.default.getAccessedProductsList(); - - if (productsList) { - var filteredProductsList = productsList.filter(function (product) { - return product.addTime + _$$_REQUIRE(_dependencyMap[11]).accessedProductsDuration >= Date.now(); - }); - - if (filteredProductsList.length < productsList.length) { - _PaywallHelper.default.setAccessedProductsList(filteredProductsList); - - return filteredProductsList; - } - - return productsList; - } - - return []; - }); - - function getAccessedProductsList() { - return _getAccessedProductsList.apply(this, arguments); - } - - return getAccessedProductsList; - }() - }, { - key: "addToAccessedProductsList", - value: function addToAccessedProductsList(ACI) { - var newEntry = { - ACI: ACI, - addTime: Date.now() - }; - Paywall.accessedProductsList.push(newEntry); - - _PaywallHelper.default.setAccessedProductsList(Paywall.accessedProductsList); - } - }, { - key: "isWelcomePopupAlreadyShown", - value: function () { - var _isWelcomePopupAlreadyShown = (0, _asyncToGenerator2.default)(function* () { - return _PaywallHelper.default.isWelcomePopupAlreadyShown(); - }); - - function isWelcomePopupAlreadyShown() { - return _isWelcomePopupAlreadyShown.apply(this, arguments); - } - - return isWelcomePopupAlreadyShown; - }() - }, { - key: "setWelcomePopupAlreadyShown", - value: function setWelcomePopupAlreadyShown() { - _PaywallHelper.default.setWelcomePopupAlreadyShown(); - } - }, { - key: "isFirstProductsLeftPopupAlreadyShown", - value: function () { - var _isFirstProductsLeftPopupAlreadyShown = (0, _asyncToGenerator2.default)(function* () { - return _PaywallHelper.default.isFirstProductsLeftPopupAlreadyShown(); - }); - - function isFirstProductsLeftPopupAlreadyShown() { - return _isFirstProductsLeftPopupAlreadyShown.apply(this, arguments); - } - - return isFirstProductsLeftPopupAlreadyShown; - }() - }, { - key: "setFirstProductsLeftPopupAlreadyShown", - value: function setFirstProductsLeftPopupAlreadyShown() { - Paywall.firstProductsLeftPopupShown = true; - - _PaywallHelper.default.setFirstProductsLeftPopupAlreadyShown(); - } - }, { - key: "setLastProductsLeft", - value: function setLastProductsLeft(productsLeft) { - _PaywallHelper.default.setLastProductsLeft(productsLeft); - } - }, { - key: "getLastProductsLeft", - value: function () { - var _getLastProductsLeft = (0, _asyncToGenerator2.default)(function* () { - return _PaywallHelper.default.getLastProductsLeft(); - }); - - function getLastProductsLeft() { - return _getLastProductsLeft.apply(this, arguments); - } - - return getLastProductsLeft; - }() - }, { - key: "account", - value: function account() { - if (!_$$_REQUIRE(_dependencyMap[9]).NetworkUtils.isOnline()) { - Paywall.showOfflineDialog(); - return; - } - - if (Paywall.initialize) { - var type = _PaywallLoginStatus.default.isUserLoggedIn() ? _$$_REQUIRE(_dependencyMap[11]).popupTypes.account : _$$_REQUIRE(_dependencyMap[11]).popupTypes.login; - - _$$_REQUIRE(_dependencyMap[13]).PaywallContainer.show({ - type: type - }); - } else { - var _global$getRssIndex2 = global.getRssIndex(), - mustLoginToViewArticle = _global$getRssIndex2.mustLoginToViewArticle; - - if (mustLoginToViewArticle) { - _$$_REQUIRE(_dependencyMap[10]).EventRegister.emit(_events.default.OPEN_OPTIONSPAGE, { - tab: _$$_REQUIRE(_dependencyMap[12]).tabs.account, - forceFullscreen: true - }); - } else {} - } - } - }, { - key: "welcome", - value: function welcome() { - _$$_REQUIRE(_dependencyMap[13]).PaywallContainer.show({ - type: _$$_REQUIRE(_dependencyMap[11]).popupTypes.welcome - }); - - Paywall.setWelcomePopupAlreadyShown(); - } - }, { - key: "hidePopup", - value: function hidePopup() { - _$$_REQUIRE(_dependencyMap[13]).PaywallContainer.hide(); - } - }, { - key: "unhidePopup", - value: function unhidePopup() { - _$$_REQUIRE(_dependencyMap[13]).PaywallContainer.unhide(); - } - }, { - key: "remove", - value: function remove() { - _$$_REQUIRE(_dependencyMap[13]).PaywallContainer.remove(); - } - }, { - key: "showOfflineDialog", - value: function showOfflineDialog() { - var buttons = []; - buttons.push({ - text: global.strings("btn_ok") - }); - - _$$_REQUIRE(_dependencyMap[14]).CustomAlert.alert("", global.strings("paywall_offline_warning"), buttons, { - cancelable: false - }); - } - }, { - key: "shouldShowHardPaywall", - value: function shouldShowHardPaywall() { - var _global$getRssIndex3 = global.getRssIndex(), - mustLoginToViewArticle = _global$getRssIndex3.mustLoginToViewArticle; - - if (mustLoginToViewArticle) { - var _global$getRSSActiveP = global.getRSSActivePSetup(), - loginStatus = _global$getRSSActiveP.loginStatus; - - if (loginStatus && !loginStatus.isLoggedIn()) { - return true; - } - } - - return false; - } - }, { - key: "needToAppendHardPaywall", - value: function needToAppendHardPaywall() { - var _global$getRssIndex4 = global.getRssIndex(), - attachPaywallToArticle = _global$getRssIndex4.attachPaywallToArticle; - - return Paywall.shouldShowHardPaywall() && attachPaywallToArticle; - } - }, { - key: "shouldAppendPaywallPopup", - value: function shouldAppendPaywallPopup() { - var style = Paywall.config.style; - - if (style) { - var attachPaywallToArticle = style.attachPaywallToArticle; - return attachPaywallToArticle === "1"; - } - - return false; - } - }, { - key: "shouldShowPaywall", - value: function shouldShowPaywall(ACI) { - return Paywall.shouldShowHardPaywall() || Paywall.needToAppendPaywallPopup(ACI); - } - }, { - key: "shouldAppendPaywall", - value: function shouldAppendPaywall() { - return Paywall.needToAppendHardPaywall() || Paywall.shouldAppendPaywallPopup(); - } - }, { - key: "needToAppendPaywallPopup", - value: function needToAppendPaywallPopup(ACI) { - var productType = Paywall.getProductType(ACI); - return Paywall.shouldAppendPaywallPopup() && productType && !Paywall.isFreeProduct(productType) && !Paywall.isAlreadyAccessed(ACI); - } - }, { - key: "needToAppendPaywall", - value: function needToAppendPaywall(ACI) { - return Paywall.needToAppendHardPaywall() || Paywall.needToAppendPaywallPopup(ACI); - } - }, { - key: "getArticlePreviewLength", - value: function getArticlePreviewLength() { - if (Paywall.needToAppendHardPaywall()) { - var _global$getRssIndex5 = global.getRssIndex(), - articlePreviewLength = _global$getRssIndex5.articlePreviewLength; - - return articlePreviewLength; - } - - if (Paywall.shouldAppendPaywallPopup()) { - var style = Paywall.config.style; - - if (style) { - var protectThreshold = style.protectThreshold; - return parseInt(protectThreshold, 10); - } - } - - return 0; - } - }, { - key: "getArticlePreviewMessage", - value: function getArticlePreviewMessage() { - if (Paywall.shouldAppendPaywallPopup()) { - var style = Paywall.config.style; - - if (style) { - var protectArticleMessage = style.protectArticleMessage; - return protectArticleMessage; - } - } - - return ""; - } - }, { - key: "getDecryptionKey", - value: function () { - var _getDecryptionKey = (0, _asyncToGenerator2.default)(function* (seed) { - try { - var result = yield _PaywallAJAX.default.getDecryptionKey(seed); - - if (result) { - var status = result.status, - key = result.key; - - if (status === "OK") { - return key; - } - } - } catch (e) {} - - return ""; - }); - - function getDecryptionKey(_x4) { - return _getDecryptionKey.apply(this, arguments); - } - - return getDecryptionKey; - }() - }]); - }(); - - Paywall.initialize = false; - Paywall.strictMode = false; - Paywall.config = {}; - Paywall.accessedProductsList = []; - Paywall.offlineAccessedProductsList = []; - Paywall.firstProductsLeftPopupShown = false; - Paywall.forceAutoLogin = true; -},1889,[3,270,6,7,1890,436,865,1891,1892,438,550,1893,864,1894,798]); + }, route.key); + }) + }); + } + + function NativeStackView(props) { + return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[11]).SafeAreaProviderCompat, { + children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(NativeStackViewInner, Object.assign({}, props)) + }); + } + + var styles = _reactNative.StyleSheet.create({ + container: { + flex: 1 + } + }); +},1884,[3,33,16,18,1226,1885,1886,1087,179,1279,897,1244]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true }); exports.default = undefined; + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[3]); + + var _AppContainer = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _excluded = ["stackPresentation"]; + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var Container = _reactNative.View; + + var _default = exports.default = Container; +},1885,[3,4,16,18,336]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = HeaderConfig; + + var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[3]); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function HeaderConfig(_ref) { + var _ref2, _headerTitleStyleFlat, _headerStyleFlattened; + + var headerHeight = _ref.headerHeight, + headerBackImageSource = _ref.headerBackImageSource, + headerBackButtonMenuEnabled = _ref.headerBackButtonMenuEnabled, + headerBackTitle = _ref.headerBackTitle, + headerBackTitleStyle = _ref.headerBackTitleStyle, + _ref$headerBackTitleV = _ref.headerBackTitleVisible, + headerBackTitleVisible = _ref$headerBackTitleV === undefined ? true : _ref$headerBackTitleV, + headerBackVisible = _ref.headerBackVisible, + headerShadowVisible = _ref.headerShadowVisible, + headerLargeStyle = _ref.headerLargeStyle, + headerLargeTitle = _ref.headerLargeTitle, + headerLargeTitleShadowVisible = _ref.headerLargeTitleShadowVisible, + headerLargeTitleStyle = _ref.headerLargeTitleStyle, + headerBackground = _ref.headerBackground, + headerLeft = _ref.headerLeft, + headerRight = _ref.headerRight, + headerShown = _ref.headerShown, + headerStyle = _ref.headerStyle, + headerBlurEffect = _ref.headerBlurEffect, + headerTintColor = _ref.headerTintColor, + headerTitle = _ref.headerTitle, + headerTitleAlign = _ref.headerTitleAlign, + headerTitleStyle = _ref.headerTitleStyle, + headerTransparent = _ref.headerTransparent, + headerSearchBarOptions = _ref.headerSearchBarOptions, + route = _ref.route, + title = _ref.title, + canGoBack = _ref.canGoBack, + orientation = _ref.orientation; + var insets = (0, _$$_REQUIRE(_dependencyMap[4]).useSafeAreaInsets)(); + + var _useTheme = (0, _$$_REQUIRE(_dependencyMap[5]).useTheme)(), + colors = _useTheme.colors; + + var tintColor = headerTintColor != null ? headerTintColor : _reactNative.Platform.OS === 'ios' ? colors.primary : colors.text; + var headerBackTitleStyleFlattened = _reactNative.StyleSheet.flatten(headerBackTitleStyle) || {}; + var headerLargeTitleStyleFlattened = _reactNative.StyleSheet.flatten(headerLargeTitleStyle) || {}; + var headerTitleStyleFlattened = _reactNative.StyleSheet.flatten(headerTitleStyle) || {}; + var headerStyleFlattened = _reactNative.StyleSheet.flatten(headerStyle) || {}; + var headerLargeStyleFlattened = _reactNative.StyleSheet.flatten(headerLargeStyle) || {}; + + var _processFonts = (0, _$$_REQUIRE(_dependencyMap[6]).processFonts)([headerBackTitleStyleFlattened.fontFamily, headerLargeTitleStyleFlattened.fontFamily, headerTitleStyleFlattened.fontFamily]), + _processFonts2 = (0, _slicedToArray2.default)(_processFonts, 3), + backTitleFontFamily = _processFonts2[0], + largeTitleFontFamily = _processFonts2[1], + titleFontFamily = _processFonts2[2]; + + var titleText = title !== undefined ? title : route.name; + var titleColor = (_ref2 = (_headerTitleStyleFlat = headerTitleStyleFlattened.color) != null ? _headerTitleStyleFlat : headerTintColor) != null ? _ref2 : colors.text; + var titleFontSize = headerTitleStyleFlattened.fontSize; + var titleFontWeight = headerTitleStyleFlattened.fontWeight; + var headerTitleStyleSupported = { + color: titleColor + }; + + if (headerTitleStyleFlattened.fontFamily != null) { + headerTitleStyleSupported.fontFamily = headerTitleStyleFlattened.fontFamily; + } + + if (titleFontSize != null) { + headerTitleStyleSupported.fontSize = titleFontSize; + } + + if (titleFontWeight != null) { + headerTitleStyleSupported.fontWeight = titleFontWeight; + } + + var headerLeftElement = headerLeft == null ? undefined : headerLeft({ + tintColor: tintColor, + canGoBack: canGoBack, + label: headerBackTitle + }); + var headerRightElement = headerRight == null ? undefined : headerRight({ + tintColor: tintColor, + canGoBack: canGoBack + }); + var headerTitleElement = typeof headerTitle === 'function' ? headerTitle({ + tintColor: tintColor, + children: titleText + }) : null; + var supportsHeaderSearchBar = typeof _$$_REQUIRE(_dependencyMap[7]).isSearchBarAvailableForCurrentPlatform === 'boolean' ? _$$_REQUIRE(_dependencyMap[7]).isSearchBarAvailableForCurrentPlatform : _reactNative.Platform.OS === 'ios' && _$$_REQUIRE(_dependencyMap[7]).SearchBar != null; + var hasHeaderSearchBar = supportsHeaderSearchBar && headerSearchBarOptions != null; + + if (headerSearchBarOptions != null && !supportsHeaderSearchBar) { + throw new Error("The current version of 'react-native-screens' doesn't support SearchBar in the header. Please update to the latest version to use this option."); + } + + var backButtonInCustomView = headerBackVisible ? headerLeftElement != null : _reactNative.Platform.OS === 'android' && headerTitleElement != null; + var translucent = headerBackground != null || headerTransparent || (hasHeaderSearchBar || headerLargeTitle) && _reactNative.Platform.OS === 'ios' && headerTransparent !== false; + return (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_$$_REQUIRE(_dependencyMap[8]).Fragment, { + children: [headerBackground != null ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_reactNative.View, { + style: [styles.background, headerTransparent ? styles.translucent : null, { + height: headerHeight + }], + children: headerBackground() + }) : null, (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderConfig, { + backButtonInCustomView: backButtonInCustomView, + backgroundColor: (_headerStyleFlattened = headerStyleFlattened.backgroundColor) != null ? _headerStyleFlattened : headerBackground != null || headerTransparent ? 'transparent' : colors.card, + backTitle: headerBackTitleVisible ? headerBackTitle : ' ', + backTitleFontFamily: backTitleFontFamily, + backTitleFontSize: headerBackTitleStyleFlattened.fontSize, + blurEffect: headerBlurEffect, + color: tintColor, + direction: _reactNative.I18nManager.isRTL ? 'rtl' : 'ltr', + disableBackButtonMenu: headerBackButtonMenuEnabled === false, + hidden: headerShown === false, + hideBackButton: headerBackVisible === false, + hideShadow: headerShadowVisible === false || headerBackground != null || headerTransparent, + largeTitle: headerLargeTitle, + largeTitleBackgroundColor: headerLargeStyleFlattened.backgroundColor, + largeTitleColor: headerLargeTitleStyleFlattened.color, + largeTitleFontFamily: largeTitleFontFamily, + largeTitleFontSize: headerLargeTitleStyleFlattened.fontSize, + largeTitleFontWeight: headerLargeTitleStyleFlattened.fontWeight, + largeTitleHideShadow: headerLargeTitleShadowVisible === false, + title: typeof headerTitle === 'string' ? headerTitle : titleText, + titleColor: titleColor, + titleFontFamily: titleFontFamily, + titleFontSize: titleFontSize, + titleFontWeight: titleFontWeight, + topInsetEnabled: insets.top !== 0, + translucent: translucent === true, + screenOrientation: orientation, + children: [_reactNative.Platform.OS === 'ios' ? (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_$$_REQUIRE(_dependencyMap[8]).Fragment, { + children: [headerLeftElement != null ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderLeftView, { + children: headerLeftElement + }) : null, headerTitleElement != null ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderCenterView, { + children: headerTitleElement + }) : null] + }) : (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_$$_REQUIRE(_dependencyMap[8]).Fragment, { + children: [headerLeftElement != null || typeof headerTitle === 'function' ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderLeftView, { + children: (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_reactNative.View, { + style: styles.row, + children: [headerLeftElement, headerTitleAlign !== 'center' ? typeof headerTitle === 'function' ? headerTitleElement : (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).HeaderTitle, { + tintColor: tintColor, + style: headerTitleStyleSupported, + children: titleText + }) : null] + }) + }) : null, headerTitleAlign === 'center' ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderCenterView, { + children: typeof headerTitle === 'function' ? headerTitleElement : (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).HeaderTitle, { + tintColor: tintColor, + style: headerTitleStyleSupported, + children: titleText + }) + }) : null] + }), headerBackImageSource !== undefined ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderBackButtonImage, { + source: headerBackImageSource + }) : null, headerRightElement != null ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderRightView, { + children: headerRightElement + }) : null, hasHeaderSearchBar ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderSearchBarView, { + children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).SearchBar, Object.assign({}, headerSearchBarOptions)) + }) : null] + })] + }); + } + + var styles = _reactNative.StyleSheet.create({ + row: { + flexDirection: 'row', + alignItems: 'center' + }, + translucent: { + position: 'absolute', + top: 0, + left: 0, + right: 0, + zIndex: 1 + }, + background: { + overflow: 'hidden' + } + }); +},1886,[3,33,16,18,897,1087,1887,1279,179,1244]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.processFonts = processFonts; + + var _ReactNativeStyleAttributes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + function processFonts(fontFamilies) { + var _ReactNativeStyleAttr; + + var fontFamilyProcessor = (_ReactNativeStyleAttr = _ReactNativeStyleAttributes.default.fontFamily) == null ? undefined : _ReactNativeStyleAttr.process; + + if (typeof fontFamilyProcessor === 'function') { + return fontFamilies.map(fontFamilyProcessor); + } + + return fontFamilies; + } +},1887,[3,142]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + Object.defineProperty(exports, "BottomTabBar", { + enumerable: true, + get: function get() { + return _BottomTabBar.default; + } + }); + Object.defineProperty(exports, "BottomTabBarHeightContext", { + enumerable: true, + get: function get() { + return _BottomTabBarHeightContext.default; + } + }); + Object.defineProperty(exports, "BottomTabView", { + enumerable: true, + get: function get() { + return _BottomTabView.default; + } + }); + Object.defineProperty(exports, "createBottomTabNavigator", { + enumerable: true, + get: function get() { + return _createBottomTabNavigator.default; + } + }); + Object.defineProperty(exports, "useBottomTabBarHeight", { + enumerable: true, + get: function get() { + return _useBottomTabBarHeight.default; + } + }); + + var _createBottomTabNavigator = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _BottomTabBar = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _BottomTabView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _BottomTabBarHeightContext = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _useBottomTabBarHeight = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); +},1888,[3,1889,1893,1890,1892,1899]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); + + var _warnOnce = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _BottomTabView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _excluded = ["initialRouteName", "backBehavior", "children", "screenListeners", "screenOptions", "sceneContainerStyle"], + _excluded2 = ["lazy", "tabBarOptions"]; + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function BottomTabNavigator(_ref) { + var initialRouteName = _ref.initialRouteName, + backBehavior = _ref.backBehavior, + children = _ref.children, + screenListeners = _ref.screenListeners, + screenOptions = _ref.screenOptions, + sceneContainerStyle = _ref.sceneContainerStyle, + restWithDeprecated = (0, _objectWithoutProperties2.default)(_ref, _excluded); + var lazy = restWithDeprecated.lazy, + tabBarOptions = restWithDeprecated.tabBarOptions, + rest = (0, _objectWithoutProperties2.default)(restWithDeprecated, _excluded2); + var defaultScreenOptions = {}; + + if (tabBarOptions) { + var _tabBarOptions$labelP; + + Object.assign(defaultScreenOptions, { + tabBarHideOnKeyboard: tabBarOptions.keyboardHidesTabBar, + tabBarActiveTintColor: tabBarOptions.activeTintColor, + tabBarInactiveTintColor: tabBarOptions.inactiveTintColor, + tabBarActiveBackgroundColor: tabBarOptions.activeBackgroundColor, + tabBarInactiveBackgroundColor: tabBarOptions.inactiveBackgroundColor, + tabBarAllowFontScaling: tabBarOptions.allowFontScaling, + tabBarShowLabel: tabBarOptions.showLabel, + tabBarLabelStyle: tabBarOptions.labelStyle, + tabBarIconStyle: tabBarOptions.iconStyle, + tabBarItemStyle: tabBarOptions.tabStyle, + tabBarLabelPosition: (_tabBarOptions$labelP = tabBarOptions.labelPosition) != null ? _tabBarOptions$labelP : tabBarOptions.adaptive === false ? 'below-icon' : undefined, + tabBarStyle: [{ + display: tabBarOptions.tabBarVisible ? 'none' : 'flex' + }, defaultScreenOptions.tabBarStyle] + }); + Object.keys(defaultScreenOptions).forEach(function (key) { + if (defaultScreenOptions[key] === undefined) { + delete defaultScreenOptions[key]; + } + }); + (0, _warnOnce.default)(tabBarOptions, "Bottom Tab Navigator: 'tabBarOptions' is deprecated. Migrate the options to 'screenOptions' instead.\n\nPlace the following in 'screenOptions' in your code to keep current behavior:\n\n" + JSON.stringify(defaultScreenOptions, null, 2) + "\n\nSee https://reactnavigation.org/docs/bottom-tab-navigator#options for more details."); + } + + if (typeof lazy === 'boolean') { + defaultScreenOptions.lazy = lazy; + (0, _warnOnce.default)(true, "Bottom Tab Navigator: 'lazy' in props is deprecated. Move it to 'screenOptions' instead.\n\nSee https://reactnavigation.org/docs/bottom-tab-navigator/#lazy for more details."); + } + + var _useNavigationBuilder = (0, _$$_REQUIRE(_dependencyMap[5]).useNavigationBuilder)(_$$_REQUIRE(_dependencyMap[5]).TabRouter, { + initialRouteName: initialRouteName, + backBehavior: backBehavior, + children: children, + screenListeners: screenListeners, + screenOptions: screenOptions, + defaultScreenOptions: defaultScreenOptions + }), + state = _useNavigationBuilder.state, + descriptors = _useNavigationBuilder.descriptors, + navigation = _useNavigationBuilder.navigation, + NavigationContent = _useNavigationBuilder.NavigationContent; + + return (0, _$$_REQUIRE(_dependencyMap[6]).jsx)(NavigationContent, { + children: (0, _$$_REQUIRE(_dependencyMap[6]).jsx)(_BottomTabView.default, Object.assign({}, rest, { + state: state, + navigation: navigation, + descriptors: descriptors, + sceneContainerStyle: sceneContainerStyle + })) + }); + } + + var _default = exports.default = (0, _$$_REQUIRE(_dependencyMap[5]).createNavigatorFactory)(BottomTabNavigator); +},1889,[3,4,16,1226,1890,1087,179]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = BottomTabView; + + var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[3])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[4]); + + var _BottomTabBarHeightCallbackContext = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _BottomTabBarHeightContext = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _BottomTabBar = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[7])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function BottomTabView(props) { + var _props$tabBar = props.tabBar, + tabBar = _props$tabBar === undefined ? function (props) { + return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_BottomTabBar.default, Object.assign({}, props)); + } : _props$tabBar, + state = props.state, + navigation = props.navigation, + descriptors = props.descriptors, + safeAreaInsets = props.safeAreaInsets, + _props$detachInactive = props.detachInactiveScreens, + detachInactiveScreens = _props$detachInactive === undefined ? _reactNative.Platform.OS === 'web' || _reactNative.Platform.OS === 'android' || _reactNative.Platform.OS === 'ios' : _props$detachInactive, + sceneContainerStyle = props.sceneContainerStyle; + var focusedRouteKey = state.routes[state.index].key; + + var _React$useState = React.useState([focusedRouteKey]), + _React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2), + loaded = _React$useState2[0], + setLoaded = _React$useState2[1]; + + if (!loaded.includes(focusedRouteKey)) { + setLoaded([].concat((0, _toConsumableArray2.default)(loaded), [focusedRouteKey])); + } + + var dimensions = _$$_REQUIRE(_dependencyMap[9]).SafeAreaProviderCompat.initialMetrics.frame; + + var _React$useState3 = React.useState(function () { + return (0, _BottomTabBar.getTabBarHeight)({ + state: state, + descriptors: descriptors, + dimensions: dimensions, + layout: { + width: dimensions.width, + height: 0 + }, + insets: Object.assign({}, _$$_REQUIRE(_dependencyMap[9]).SafeAreaProviderCompat.initialMetrics.insets, props.safeAreaInsets), + style: descriptors[state.routes[state.index].key].options.tabBarStyle + }); + }), + _React$useState4 = (0, _slicedToArray2.default)(_React$useState3, 2), + tabBarHeight = _React$useState4[0], + setTabBarHeight = _React$useState4[1]; + + var renderTabBar = function renderTabBar() { + return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[10]).SafeAreaInsetsContext.Consumer, { + children: function children(insets) { + var _ref, _safeAreaInsets$top, _ref2, _safeAreaInsets$right, _ref3, _safeAreaInsets$botto, _ref4, _safeAreaInsets$left; + + return tabBar({ + state: state, + descriptors: descriptors, + navigation: navigation, + insets: { + top: (_ref = (_safeAreaInsets$top = safeAreaInsets == null ? undefined : safeAreaInsets.top) != null ? _safeAreaInsets$top : insets == null ? undefined : insets.top) != null ? _ref : 0, + right: (_ref2 = (_safeAreaInsets$right = safeAreaInsets == null ? undefined : safeAreaInsets.right) != null ? _safeAreaInsets$right : insets == null ? undefined : insets.right) != null ? _ref2 : 0, + bottom: (_ref3 = (_safeAreaInsets$botto = safeAreaInsets == null ? undefined : safeAreaInsets.bottom) != null ? _safeAreaInsets$botto : insets == null ? undefined : insets.bottom) != null ? _ref3 : 0, + left: (_ref4 = (_safeAreaInsets$left = safeAreaInsets == null ? undefined : safeAreaInsets.left) != null ? _safeAreaInsets$left : insets == null ? undefined : insets.left) != null ? _ref4 : 0 + } + }); + } + }); + }; + + var routes = state.routes; + return (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_$$_REQUIRE(_dependencyMap[9]).SafeAreaProviderCompat, { + children: [(0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[11]).MaybeScreenContainer, { + enabled: detachInactiveScreens, + hasTwoStates: true, + style: styles.container, + children: routes.map(function (route, index) { + var descriptor = descriptors[route.key]; + var _descriptor$options = descriptor.options, + _descriptor$options$l = _descriptor$options.lazy, + lazy = _descriptor$options$l === undefined ? true : _descriptor$options$l, + unmountOnBlur = _descriptor$options.unmountOnBlur; + var isFocused = state.index === index; + + if (unmountOnBlur && !isFocused) { + return null; + } + + if (lazy && !loaded.includes(route.key) && !isFocused) { + return null; + } + + var _descriptor$options$h = descriptor.options.header, + header = _descriptor$options$h === undefined ? function (_ref5) { + var layout = _ref5.layout, + options = _ref5.options; + return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).Header, Object.assign({}, options, { + layout: layout, + title: (0, _$$_REQUIRE(_dependencyMap[9]).getHeaderTitle)(options, route.name) + })); + } : _descriptor$options$h; + return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[11]).MaybeScreen, { + style: [_reactNative.StyleSheet.absoluteFill, { + zIndex: isFocused ? 0 : -1 + }], + visible: isFocused, + enabled: detachInactiveScreens, + children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_BottomTabBarHeightContext.default.Provider, { + value: tabBarHeight, + children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).Screen, { + focused: isFocused, + route: descriptor.route, + navigation: descriptor.navigation, + headerShown: descriptor.options.headerShown, + headerTransparent: descriptor.options.headerTransparent, + headerStatusBarHeight: descriptor.options.headerStatusBarHeight, + header: header({ + layout: dimensions, + route: descriptor.route, + navigation: descriptor.navigation, + options: descriptor.options + }), + style: sceneContainerStyle, + children: descriptor.render() + }) + }) + }, route.key); + }) + }), (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_BottomTabBarHeightCallbackContext.default.Provider, { + value: setTabBarHeight, + children: renderTabBar() + })] + }); + } + + var styles = _reactNative.StyleSheet.create({ + container: { + flex: 1, + overflow: 'hidden' + } + }); +},1890,[3,22,33,16,18,1891,1892,1893,179,1244,897,1898]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var _default = exports.default = React.createContext(undefined); +},1891,[16]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var _default = exports.default = React.createContext(undefined); +},1892,[16]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = BottomTabBar; + exports.getTabBarHeight = undefined; + + var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[4]); + + var _BottomTabBarHeightCallbackContext = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _useIsKeyboardShown = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _BottomTabItem = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _excluded = ["state", "descriptors", "dimensions", "insets", "style"]; + var DEFAULT_TABBAR_HEIGHT = 49; + var COMPACT_TABBAR_HEIGHT = 32; + var DEFAULT_MAX_TAB_ITEM_WIDTH = 125; + var useNativeDriver = _reactNative.Platform.OS !== 'web'; + + var shouldUseHorizontalLabels = function shouldUseHorizontalLabels(_ref) { + var state = _ref.state, + descriptors = _ref.descriptors, + layout = _ref.layout, + dimensions = _ref.dimensions; + var tabBarLabelPosition = descriptors[state.routes[state.index].key].options.tabBarLabelPosition; + + if (tabBarLabelPosition) { + switch (tabBarLabelPosition) { + case 'beside-icon': + return true; + + case 'below-icon': + return false; + } + } + + if (layout.width >= 768) { + var maxTabWidth = state.routes.reduce(function (acc, route) { + var tabBarItemStyle = descriptors[route.key].options.tabBarItemStyle; + + var flattenedStyle = _reactNative.StyleSheet.flatten(tabBarItemStyle); + + if (flattenedStyle) { + if (typeof flattenedStyle.width === 'number') { + return acc + flattenedStyle.width; + } else if (typeof flattenedStyle.maxWidth === 'number') { + return acc + flattenedStyle.maxWidth; + } + } + + return acc + DEFAULT_MAX_TAB_ITEM_WIDTH; + }, 0); + return maxTabWidth <= layout.width; + } else { + return dimensions.width > dimensions.height; + } + }; + + var getPaddingBottom = function getPaddingBottom(insets) { + return Math.max(insets.bottom - _reactNative.Platform.select({ + ios: 4, + default: 0 + }), 0); + }; + + var getTabBarHeight = exports.getTabBarHeight = function getTabBarHeight(_ref2) { + var _StyleSheet$flatten; + + var state = _ref2.state, + descriptors = _ref2.descriptors, + dimensions = _ref2.dimensions, + insets = _ref2.insets, + style = _ref2.style, + rest = (0, _objectWithoutProperties2.default)(_ref2, _excluded); + var customHeight = (_StyleSheet$flatten = _reactNative.StyleSheet.flatten(style)) == null ? undefined : _StyleSheet$flatten.height; + + if (typeof customHeight === 'number') { + return customHeight; + } + + var isLandscape = dimensions.width > dimensions.height; + var horizontalLabels = shouldUseHorizontalLabels(Object.assign({ + state: state, + descriptors: descriptors, + dimensions: dimensions + }, rest)); + var paddingBottom = getPaddingBottom(insets); + + if (_reactNative.Platform.OS === 'ios' && !_reactNative.Platform.isPad && isLandscape && horizontalLabels) { + return COMPACT_TABBAR_HEIGHT + paddingBottom; + } + + return DEFAULT_TABBAR_HEIGHT + paddingBottom; + }; + + function BottomTabBar(_ref3) { + var state = _ref3.state, + navigation = _ref3.navigation, + descriptors = _ref3.descriptors, + insets = _ref3.insets, + style = _ref3.style; + + var _useTheme = (0, _$$_REQUIRE(_dependencyMap[8]).useTheme)(), + colors = _useTheme.colors; + + var buildLink = (0, _$$_REQUIRE(_dependencyMap[8]).useLinkBuilder)(); + var focusedRoute = state.routes[state.index]; + var focusedDescriptor = descriptors[focusedRoute.key]; + var focusedOptions = focusedDescriptor.options; + var tabBarShowLabel = focusedOptions.tabBarShowLabel, + _focusedOptions$tabBa = focusedOptions.tabBarHideOnKeyboard, + tabBarHideOnKeyboard = _focusedOptions$tabBa === undefined ? false : _focusedOptions$tabBa, + tabBarVisibilityAnimationConfig = focusedOptions.tabBarVisibilityAnimationConfig, + tabBarStyle = focusedOptions.tabBarStyle, + tabBarBackground = focusedOptions.tabBarBackground, + tabBarActiveTintColor = focusedOptions.tabBarActiveTintColor, + tabBarInactiveTintColor = focusedOptions.tabBarInactiveTintColor, + tabBarActiveBackgroundColor = focusedOptions.tabBarActiveBackgroundColor, + tabBarInactiveBackgroundColor = focusedOptions.tabBarInactiveBackgroundColor; + var dimensions = (0, _$$_REQUIRE(_dependencyMap[9]).useSafeAreaFrame)(); + var isKeyboardShown = (0, _useIsKeyboardShown.default)(); + + var onHeightChange = _react.default.useContext(_BottomTabBarHeightCallbackContext.default); + + var shouldShowTabBar = !(tabBarHideOnKeyboard && isKeyboardShown); + + var visibilityAnimationConfigRef = _react.default.useRef(tabBarVisibilityAnimationConfig); + + _react.default.useEffect(function () { + visibilityAnimationConfigRef.current = tabBarVisibilityAnimationConfig; + }); + + var _React$useState = _react.default.useState(!shouldShowTabBar), + _React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2), + isTabBarHidden = _React$useState2[0], + setIsTabBarHidden = _React$useState2[1]; + + var _React$useState3 = _react.default.useState(function () { + return new _reactNative.Animated.Value(shouldShowTabBar ? 1 : 0); + }), + _React$useState4 = (0, _slicedToArray2.default)(_React$useState3, 1), + visible = _React$useState4[0]; + + _react.default.useEffect(function () { + var visibilityAnimationConfig = visibilityAnimationConfigRef.current; + + if (shouldShowTabBar) { + var _visibilityAnimationC, _visibilityAnimationC2; + + var animation = (visibilityAnimationConfig == null ? undefined : (_visibilityAnimationC = visibilityAnimationConfig.show) == null ? undefined : _visibilityAnimationC.animation) === 'spring' ? _reactNative.Animated.spring : _reactNative.Animated.timing; + animation(visible, Object.assign({ + toValue: 1, + useNativeDriver: useNativeDriver, + duration: 250 + }, visibilityAnimationConfig == null ? undefined : (_visibilityAnimationC2 = visibilityAnimationConfig.show) == null ? undefined : _visibilityAnimationC2.config)).start(function (_ref4) { + var finished = _ref4.finished; + + if (finished) { + setIsTabBarHidden(false); + } + }); + } else { + var _visibilityAnimationC3, _visibilityAnimationC4; + + setIsTabBarHidden(true); + + var _animation = (visibilityAnimationConfig == null ? undefined : (_visibilityAnimationC3 = visibilityAnimationConfig.hide) == null ? undefined : _visibilityAnimationC3.animation) === 'spring' ? _reactNative.Animated.spring : _reactNative.Animated.timing; + + _animation(visible, Object.assign({ + toValue: 0, + useNativeDriver: useNativeDriver, + duration: 200 + }, visibilityAnimationConfig == null ? undefined : (_visibilityAnimationC4 = visibilityAnimationConfig.hide) == null ? undefined : _visibilityAnimationC4.config)).start(); + } + + return function () { + return visible.stopAnimation(); + }; + }, [visible, shouldShowTabBar]); + + var _React$useState5 = _react.default.useState({ + height: 0, + width: dimensions.width + }), + _React$useState6 = (0, _slicedToArray2.default)(_React$useState5, 2), + layout = _React$useState6[0], + setLayout = _React$useState6[1]; + + var handleLayout = function handleLayout(e) { + var _e$nativeEvent$layout = e.nativeEvent.layout, + height = _e$nativeEvent$layout.height, + width = _e$nativeEvent$layout.width; + onHeightChange == null ? undefined : onHeightChange(height); + setLayout(function (layout) { + if (height === layout.height && width === layout.width) { + return layout; + } else { + return { + height: height, + width: width + }; + } + }); + }; + + var routes = state.routes; + var paddingBottom = getPaddingBottom(insets); + var tabBarHeight = getTabBarHeight({ + state: state, + descriptors: descriptors, + insets: insets, + dimensions: dimensions, + layout: layout, + style: [tabBarStyle, style] + }); + var hasHorizontalLabels = shouldUseHorizontalLabels({ + state: state, + descriptors: descriptors, + dimensions: dimensions, + layout: layout + }); + var tabBarBackgroundElement = tabBarBackground == null ? undefined : tabBarBackground(); + return (0, _$$_REQUIRE(_dependencyMap[10]).jsxs)(_reactNative.Animated.View, { + style: [styles.tabBar, { + backgroundColor: tabBarBackgroundElement != null ? 'transparent' : colors.card, + borderTopColor: colors.border + }, { + transform: [{ + translateY: visible.interpolate({ + inputRange: [0, 1], + outputRange: [layout.height + paddingBottom + _reactNative.StyleSheet.hairlineWidth, 0] + }) + }], + position: isTabBarHidden ? 'absolute' : null + }, { + height: tabBarHeight, + paddingBottom: paddingBottom, + paddingHorizontal: Math.max(insets.left, insets.right) + }, tabBarStyle], + pointerEvents: isTabBarHidden ? 'none' : 'auto', + onLayout: handleLayout, + children: [(0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_reactNative.View, { + pointerEvents: "none", + style: _reactNative.StyleSheet.absoluteFill, + children: tabBarBackgroundElement + }), (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_reactNative.View, { + accessibilityRole: "tablist", + style: styles.content, + children: routes.map(function (route, index) { + var _options$tabBarIcon; + + var focused = index === state.index; + var options = descriptors[route.key].options; + + var onPress = function onPress() { + var event = navigation.emit({ + type: 'tabPress', + target: route.key, + canPreventDefault: true + }); + + if (!focused && !event.defaultPrevented) { + navigation.dispatch(Object.assign({}, _$$_REQUIRE(_dependencyMap[8]).CommonActions.navigate({ + name: route.name, + merge: true + }), { + target: state.key + })); + } + }; + + var onLongPress = function onLongPress() { + navigation.emit({ + type: 'tabLongPress', + target: route.key + }); + }; + + var label = options.tabBarLabel !== undefined ? options.tabBarLabel : options.title !== undefined ? options.title : route.name; + var accessibilityLabel = options.tabBarAccessibilityLabel !== undefined ? options.tabBarAccessibilityLabel : typeof label === 'string' && _reactNative.Platform.OS === 'ios' ? label + ", tab, " + (index + 1) + " of " + routes.length : undefined; + return (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[8]).NavigationContext.Provider, { + value: descriptors[route.key].navigation, + children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[8]).NavigationRouteContext.Provider, { + value: route, + children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_BottomTabItem.default, { + route: route, + focused: focused, + horizontal: hasHorizontalLabels, + onPress: onPress, + onLongPress: onLongPress, + accessibilityLabel: accessibilityLabel, + to: buildLink(route.name, route.params), + testID: options.tabBarTestID, + allowFontScaling: options.tabBarAllowFontScaling, + activeTintColor: tabBarActiveTintColor, + inactiveTintColor: tabBarInactiveTintColor, + activeBackgroundColor: tabBarActiveBackgroundColor, + inactiveBackgroundColor: tabBarInactiveBackgroundColor, + button: options.tabBarButton, + icon: (_options$tabBarIcon = options.tabBarIcon) != null ? _options$tabBarIcon : function (_ref5) { + var color = _ref5.color, + size = _ref5.size; + return (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[11]).MissingIcon, { + color: color, + size: size + }); + }, + badge: options.tabBarBadge, + badgeStyle: options.tabBarBadgeStyle, + label: label, + showLabel: tabBarShowLabel, + labelStyle: options.tabBarLabelStyle, + iconStyle: options.tabBarIconStyle, + style: options.tabBarItemStyle + }) + }) + }, route.key); + }) + })] + }); + } + + var styles = _reactNative.StyleSheet.create({ + tabBar: { + left: 0, + right: 0, + bottom: 0, + borderTopWidth: _reactNative.StyleSheet.hairlineWidth, + elevation: 8 + }, + content: { + flex: 1, + flexDirection: 'row' + } + }); +},1893,[3,33,4,16,18,1891,1894,1895,1087,897,179,1244]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = useIsKeyboardShown; + + var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[3]); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function useIsKeyboardShown() { + var _React$useState = React.useState(false), + _React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2), + isKeyboardShown = _React$useState2[0], + setIsKeyboardShown = _React$useState2[1]; + + React.useEffect(function () { + var handleKeyboardShow = function handleKeyboardShow() { + return setIsKeyboardShown(true); + }; + + var handleKeyboardHide = function handleKeyboardHide() { + return setIsKeyboardShown(false); + }; + + var subscriptions; + + if (_reactNative.Platform.OS === 'ios') { + subscriptions = [_reactNative.Keyboard.addListener('keyboardWillShow', handleKeyboardShow), _reactNative.Keyboard.addListener('keyboardWillHide', handleKeyboardHide)]; + } else { + subscriptions = [_reactNative.Keyboard.addListener('keyboardDidShow', handleKeyboardShow), _reactNative.Keyboard.addListener('keyboardDidHide', handleKeyboardHide)]; + } + + return function () { + subscriptions.forEach(function (s) { + return s.remove(); + }); + }; + }, []); + return isKeyboardShown; + } +},1894,[3,33,16,18]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = BottomTabBarItem; + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _color = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[4]); + + var _TabBarIcon = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _excluded = ["children", "style", "onPress", "to", "accessibilityRole"]; + + function BottomTabBarItem(_ref) { + var focused = _ref.focused, + route = _ref.route, + label = _ref.label, + icon = _ref.icon, + badge = _ref.badge, + badgeStyle = _ref.badgeStyle, + to = _ref.to, + _ref$button = _ref.button, + button = _ref$button === undefined ? function (_ref2) { + var children = _ref2.children, + style = _ref2.style, + _onPress = _ref2.onPress, + to = _ref2.to, + accessibilityRole = _ref2.accessibilityRole, + rest = (0, _objectWithoutProperties2.default)(_ref2, _excluded); + + if (_reactNative.Platform.OS === 'web' && to) { + return (0, _$$_REQUIRE(_dependencyMap[6]).jsx)(_$$_REQUIRE(_dependencyMap[7]).Link, Object.assign({}, rest, { + to: to, + style: [styles.button, style], + onPress: function onPress(e) { + if (!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) && (e.button == null || e.button === 0)) { + e.preventDefault(); + _onPress == null ? undefined : _onPress(e); + } + }, + children: children + })); + } else { + return (0, _$$_REQUIRE(_dependencyMap[6]).jsx)(_reactNative.Pressable, Object.assign({}, rest, { + accessibilityRole: accessibilityRole, + onPress: _onPress, + style: style, + children: children + })); + } + } : _ref$button, + accessibilityLabel = _ref.accessibilityLabel, + testID = _ref.testID, + onPress = _ref.onPress, + onLongPress = _ref.onLongPress, + horizontal = _ref.horizontal, + customActiveTintColor = _ref.activeTintColor, + customInactiveTintColor = _ref.inactiveTintColor, + _ref$activeBackground = _ref.activeBackgroundColor, + activeBackgroundColor = _ref$activeBackground === undefined ? 'transparent' : _ref$activeBackground, + _ref$inactiveBackgrou = _ref.inactiveBackgroundColor, + inactiveBackgroundColor = _ref$inactiveBackgrou === undefined ? 'transparent' : _ref$inactiveBackgrou, + _ref$showLabel = _ref.showLabel, + showLabel = _ref$showLabel === undefined ? true : _ref$showLabel, + allowFontScaling = _ref.allowFontScaling, + labelStyle = _ref.labelStyle, + iconStyle = _ref.iconStyle, + style = _ref.style; + + var _useTheme = (0, _$$_REQUIRE(_dependencyMap[7]).useTheme)(), + colors = _useTheme.colors; + + var activeTintColor = customActiveTintColor === undefined ? colors.primary : customActiveTintColor; + var inactiveTintColor = customInactiveTintColor === undefined ? (0, _color.default)(colors.text).mix((0, _color.default)(colors.card), 0.5).hex() : customInactiveTintColor; + + var renderLabel = function renderLabel(_ref3) { + var focused = _ref3.focused; + + if (showLabel === false) { + return null; + } + + var color = focused ? activeTintColor : inactiveTintColor; + + if (typeof label === 'string') { + return (0, _$$_REQUIRE(_dependencyMap[6]).jsx)(_reactNative.Text, { + numberOfLines: 1, + style: [styles.label, { + color: color + }, horizontal ? styles.labelBeside : styles.labelBeneath, labelStyle], + allowFontScaling: allowFontScaling, + children: label + }); + } + + return label({ + focused: focused, + color: color, + position: horizontal ? 'beside-icon' : 'below-icon' + }); + }; + + var renderIcon = function renderIcon(_ref4) { + var focused = _ref4.focused; + + if (icon === undefined) { + return null; + } + + var activeOpacity = focused ? 1 : 0; + var inactiveOpacity = focused ? 0 : 1; + return (0, _$$_REQUIRE(_dependencyMap[6]).jsx)(_TabBarIcon.default, { + route: route, + horizontal: horizontal, + badge: badge, + badgeStyle: badgeStyle, + activeOpacity: activeOpacity, + inactiveOpacity: inactiveOpacity, + activeTintColor: activeTintColor, + inactiveTintColor: inactiveTintColor, + renderIcon: icon, + style: iconStyle + }); + }; + + var scene = { + route: route, + focused: focused + }; + var backgroundColor = focused ? activeBackgroundColor : inactiveBackgroundColor; + return button({ + to: to, + onPress: onPress, + onLongPress: onLongPress, + testID: testID, + accessibilityLabel: accessibilityLabel, + accessibilityRole: _reactNative.Platform.select({ + ios: 'button', + default: 'tab' + }), + accessibilityState: { + selected: focused + }, + accessibilityStates: focused ? ['selected'] : [], + style: [styles.tab, { + backgroundColor: backgroundColor + }, horizontal ? styles.tabLandscape : styles.tabPortrait, style], + children: (0, _$$_REQUIRE(_dependencyMap[6]).jsxs)(_react.default.Fragment, { + children: [renderIcon(scene), renderLabel(scene)] + }) + }); + } + + var styles = _reactNative.StyleSheet.create({ + tab: { + flex: 1, + alignItems: 'center' + }, + tabPortrait: { + justifyContent: 'flex-end', + flexDirection: 'column' + }, + tabLandscape: { + justifyContent: 'center', + flexDirection: 'row' + }, + label: { + textAlign: 'center', + backgroundColor: 'transparent' + }, + labelBeneath: { + fontSize: 10 + }, + labelBeside: { + fontSize: 13, + marginLeft: 20, + marginTop: 3 + }, + button: { + display: 'flex' + } + }); +},1895,[3,4,1235,16,18,1896,179,1087]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = TabBarIcon; + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[2]); + + var _Badge = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + function TabBarIcon(_ref) { + var _ = _ref.route, + horizontal = _ref.horizontal, + badge = _ref.badge, + badgeStyle = _ref.badgeStyle, + activeOpacity = _ref.activeOpacity, + inactiveOpacity = _ref.inactiveOpacity, + activeTintColor = _ref.activeTintColor, + inactiveTintColor = _ref.inactiveTintColor, + renderIcon = _ref.renderIcon, + style = _ref.style; + var size = 25; + return (0, _$$_REQUIRE(_dependencyMap[4]).jsxs)(_reactNative.View, { + style: [horizontal ? styles.iconHorizontal : styles.iconVertical, style], + children: [(0, _$$_REQUIRE(_dependencyMap[4]).jsx)(_reactNative.View, { + style: [styles.icon, { + opacity: activeOpacity + }], + children: renderIcon({ + focused: true, + size: size, + color: activeTintColor + }) + }), (0, _$$_REQUIRE(_dependencyMap[4]).jsx)(_reactNative.View, { + style: [styles.icon, { + opacity: inactiveOpacity + }], + children: renderIcon({ + focused: false, + size: size, + color: inactiveTintColor + }) + }), (0, _$$_REQUIRE(_dependencyMap[4]).jsx)(_Badge.default, { + visible: badge != null, + style: [styles.badge, horizontal ? styles.badgeHorizontal : styles.badgeVertical, badgeStyle], + size: 18.75, + children: badge + })] + }); + } + + var styles = _reactNative.StyleSheet.create({ + icon: { + position: 'absolute', + alignSelf: 'center', + alignItems: 'center', + justifyContent: 'center', + height: '100%', + width: '100%', + minWidth: 25 + }, + iconVertical: { + flex: 1 + }, + iconHorizontal: { + height: '100%', + marginTop: 3 + }, + badge: { + position: 'absolute', + left: 3 + }, + badgeVertical: { + top: 3 + }, + badgeHorizontal: { + top: 7 + } + }); +},1896,[3,16,18,1897,179]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = Badge; + + var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _color = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[4])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[5]); + + var _excluded = ["children", "style", "visible", "size"], + _excluded2 = ["backgroundColor"]; + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function Badge(_ref) { + var children = _ref.children, + style = _ref.style, + _ref$visible = _ref.visible, + visible = _ref$visible === undefined ? true : _ref$visible, + _ref$size = _ref.size, + size = _ref$size === undefined ? 18 : _ref$size, + rest = (0, _objectWithoutProperties2.default)(_ref, _excluded); + + var _React$useState = React.useState(function () { + return new _reactNative.Animated.Value(visible ? 1 : 0); + }), + _React$useState2 = (0, _slicedToArray2.default)(_React$useState, 1), + opacity = _React$useState2[0]; + + var _React$useState3 = React.useState(visible), + _React$useState4 = (0, _slicedToArray2.default)(_React$useState3, 2), + rendered = _React$useState4[0], + setRendered = _React$useState4[1]; + + var theme = (0, _$$_REQUIRE(_dependencyMap[6]).useTheme)(); + React.useEffect(function () { + if (!rendered) { + return; + } + + _reactNative.Animated.timing(opacity, { + toValue: visible ? 1 : 0, + duration: 150, + useNativeDriver: true + }).start(function (_ref2) { + var finished = _ref2.finished; + + if (finished && !visible) { + setRendered(false); + } + }); + + return function () { + return opacity.stopAnimation(); + }; + }, [opacity, rendered, visible]); + + if (!rendered) { + if (visible) { + setRendered(true); + } else { + return null; + } + } + + var _ref3 = _reactNative.StyleSheet.flatten(style) || {}, + _ref3$backgroundColor = _ref3.backgroundColor, + backgroundColor = _ref3$backgroundColor === undefined ? theme.colors.notification : _ref3$backgroundColor, + restStyle = (0, _objectWithoutProperties2.default)(_ref3, _excluded2); + + var textColor = (0, _color.default)(backgroundColor).isLight() ? 'black' : 'white'; + var borderRadius = size / 2; + var fontSize = Math.floor(size * 3 / 4); + return (0, _$$_REQUIRE(_dependencyMap[7]).jsx)(_reactNative.Animated.Text, Object.assign({ + numberOfLines: 1, + style: [{ + transform: [{ + scale: opacity.interpolate({ + inputRange: [0, 1], + outputRange: [0.5, 1] + }) + }], + color: textColor, + lineHeight: size - 1, + height: size, + minWidth: size, + opacity: opacity, + backgroundColor: backgroundColor, + fontSize: fontSize, + borderRadius: borderRadius + }, styles.container, restStyle] + }, rest, { + children: children + })); + } + + var styles = _reactNative.StyleSheet.create({ + container: { + alignSelf: 'flex-end', + textAlign: 'center', + paddingHorizontal: 4, + overflow: 'hidden' + } + }); +},1897,[3,33,4,1235,16,18,1087,179]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.MaybeScreen = MaybeScreen; + exports.MaybeScreenContainer = undefined; + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[3]); + + var _excluded = ["enabled"], + _excluded2 = ["visible", "children"]; + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var Screens; + + try { + Screens = _$$_REQUIRE(_dependencyMap[4]); + } catch (e) {} + + var MaybeScreenContainer = exports.MaybeScreenContainer = function MaybeScreenContainer(_ref) { + var _Screens; + + var enabled = _ref.enabled, + rest = (0, _objectWithoutProperties2.default)(_ref, _excluded); + + if ((_Screens = Screens) != null && _Screens.screensEnabled != null && _Screens.screensEnabled()) { + return (0, _$$_REQUIRE(_dependencyMap[5]).jsx)(Screens.ScreenContainer, Object.assign({ + enabled: enabled + }, rest)); + } + + return (0, _$$_REQUIRE(_dependencyMap[5]).jsx)(_reactNative.View, Object.assign({}, rest)); + }; + + function MaybeScreen(_ref2) { + var _Screens2; + + var visible = _ref2.visible, + children = _ref2.children, + rest = (0, _objectWithoutProperties2.default)(_ref2, _excluded2); + + if ((_Screens2 = Screens) != null && _Screens2.screensEnabled != null && _Screens2.screensEnabled()) { + return (0, _$$_REQUIRE(_dependencyMap[5]).jsx)(Screens.Screen, Object.assign({ + activityState: visible ? 2 : 0 + }, rest, { + children: children + })); + } + + return (0, _$$_REQUIRE(_dependencyMap[5]).jsx)(_$$_REQUIRE(_dependencyMap[6]).ResourceSavingView, Object.assign({ + visible: visible + }, rest, { + children: children + })); + } +},1898,[3,4,16,18,1279,179,1244]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = useFloatingBottomTabBarHeight; + + var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0])); + + var _BottomTabBarHeightContext = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function useFloatingBottomTabBarHeight() { + var height = React.useContext(_BottomTabBarHeightContext.default); + + if (height === undefined) { + throw new Error("Couldn't find the bottom tab bar height. Are you inside a screen in Bottom Tab Navigator?"); + } + + return height; + } +},1899,[16,3,1892]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.sendNewsmemoryZoom = exports.sendNewsmemoryUseBeta = exports.sendNewsmemoryTranslate = exports.sendNewsmemoryToogleArticleModeEvent = exports.sendNewsmemoryToggleFullscreenEvent = exports.sendNewsmemoryThumbnails = exports.sendNewsmemoryTTSEvent = exports.sendNewsmemoryShareEvent = exports.sendNewsmemorySectionIndex = exports.sendNewsmemoryScrollZoomedEvent = exports.sendNewsmemoryScroll = exports.sendNewsmemoryRotateEvent = exports.sendNewsmemoryPrintEvent = exports.sendNewsmemoryPinchToZoomEvent = exports.sendNewsmemoryOptionspage = exports.sendNewsmemoryLoginEvent = exports.sendNewsmemoryIndex = exports.sendNewsmemoryGraphSizeChangeEvent = exports.sendNewsmemoryGoToLastPageEvent = exports.sendNewsmemoryGallery = exports.sendNewsmemoryFontSizeChangeEvent = exports.sendNewsmemoryExtraYoutube = exports.sendNewsmemoryExtraVideo = exports.sendNewsmemoryExtraUrl = exports.sendNewsmemoryEditionLoad = exports.sendNewsmemoryDownloadPDFEvent = exports.sendNewsmemoryDownloadIpaddb = exports.sendNewsmemoryDoubleTapToZoomEvent = exports.sendNewsmemoryClearRecently = exports.sendNewsmemoryArticleGallery = exports.sendNewsmemoryArticleClickThrough = exports.sendNewsmemoryArticle = undefined; + exports.trackNewsmemoryRoute = trackNewsmemoryRoute; + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _EPaperArticle = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _Edition = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _Page = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _pageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _excluded = ["action", "event"]; + + function getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel) { + if (editionModel) { + var paper = editionModel.getPaper(); + var issue = editionModel.getIssue(); + var edition = editionModel.getEdition(); + var page; + var section; + var isFirstPage; + + if (pageModel) { + page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); + section = pageModel.getSection(); + var firstPage = editionModel.getFirstPage(); + isFirstPage = _pageUtils.default.comparePages(firstPage, pageModel); + } + + return { + paper: paper, + issue: issue, + edition: edition, + page: page, + section: section, + isFirstPage: isFirstPage + }; + } + + return {}; + } + + function trackSessionAction(params) { + var _global$getActivePSet = global.getActivePSetup(), + enableSessionCollection = _global$getActivePSet.enableSessionCollection; + + if (enableSessionCollection) { + var action = params.action, + event = params.event, + rest = (0, _objectWithoutProperties2.default)(params, _excluded); + var paper = rest.paper, + edition = rest.edition, + issue = rest.issue; + + if (paper && edition && issue) { + _$$_REQUIRE(_dependencyMap[6]).NewspaperSessionManager.addAction(action, rest); + } + } + } + + function trackSessionRoute(route, params) { + var _global$getActivePSet2 = global.getActivePSetup(), + enableSessionCollection = _global$getActivePSet2.enableSessionCollection; + + if (enableSessionCollection) { + var paper = params.paper, + edition = params.edition, + issue = params.issue; + + if (paper && edition && issue) { + _$$_REQUIRE(_dependencyMap[6]).NewspaperSessionManager.addRoute(route, params); + } + } + } + + function trackNewsmemoryRoute(route, editionModel) { + trackSessionRoute(route, getNewsmemoryAnalyticsDefaultParams(editionModel)); + } + + function sendNewsmemoryAnalytics(params) { + try { + var _screenMapping = (0, _$$_REQUIRE(_dependencyMap[7]).screenMapping)(params), + screen = _screenMapping.screen, + event = _screenMapping.event, + firebaseScreenView = _screenMapping.firebaseScreenView, + customDimensions = _screenMapping.customDimensions, + remp = _screenMapping.remp; + + if (firebaseScreenView) { + (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseScreen)(firebaseScreenView, screen, params); + } + + (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)(event); + (0, _$$_REQUIRE(_dependencyMap[8]).trackScreen)(screen, params, customDimensions); + trackSessionAction(Object.assign({}, params, { + action: params.event + })); + + if (remp) { + (0, _$$_REQUIRE(_dependencyMap[8]).trackRempAccount)(remp); + } + } catch (e) {} + } + + function getArticleTitle(article) { + var title = ""; + + if (article) { + var type = article.getType(); + + var decodedTitle = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeURIComponent(article.getTitle()); + + title = type && type.toLowerCase() === "editorial" ? decodedTitle : type; + } + + return title; + } + + var sendNewsmemoryUseBeta = exports.sendNewsmemoryUseBeta = function sendNewsmemoryUseBeta(openRN) { + (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ + customEvent: "epaper_demo", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)(), { + device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), + action: openRN ? "use_rn_demo" : "use_classic" + }) + }); + }; + + var sendNewsmemoryClearRecently = exports.sendNewsmemoryClearRecently = function sendNewsmemoryClearRecently() { + (0, _$$_REQUIRE(_dependencyMap[8]).clearRecently)(); + }; + + var sendNewsmemoryShareEvent = exports.sendNewsmemoryShareEvent = function sendNewsmemoryShareEvent(editionModel, pageModel, article, sharedApp) { + try { + var issue = editionModel.getIssue(); + + var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); + + var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); + + var article_id = article ? article.getXmlId() : -1; + var type = article ? article.getType() : ""; + var title = getArticleTitle(article); + + var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.SHARE; + + sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { + event: "epaper_share", + action: action, + remp: encodeURIComponent(article_id), + article_id: article_id, + type: type, + title: title, + platform: sharedApp, + screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ + type: action, + issue: issue, + edition: edition, + page: page, + article: article_id, + sharedApp: sharedApp + }) + })); + } catch (e) {} + }; + + var sendNewsmemoryLoginEvent = exports.sendNewsmemoryLoginEvent = function sendNewsmemoryLoginEvent(action) { + var category = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.LOGIN; + + (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)({ + category: category, + action: action, + device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), + appMode: "ePaper" + }); + (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ + customEvent: "epaper_login", + customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)({ + action: action + }) + }); + }; + + var sendNewsmemoryTTSEvent = exports.sendNewsmemoryTTSEvent = function sendNewsmemoryTTSEvent(action, editionModel, pageModel, article) { + var category = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.TTS; + + var type = article ? article.getType() : ""; + var title = getArticleTitle(article); + var params = Object.assign({ + category: category, + action: action, + device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), + appMode: "ePaper", + title: title, + type: type + }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); + (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)(params); + (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ + customEvent: "epaper_tts", + customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)({ + action: action + }) + }); + trackSessionAction(params); + }; + + var sendNewsmemoryTranslate = exports.sendNewsmemoryTranslate = function sendNewsmemoryTranslate(language, editionModel, pageModel, article) { + try { + var TRANSLATE = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.TRANSLATE; + + var params = Object.assign({ + category: TRANSLATE, + action: TRANSLATE + "_" + language, + label: article.getTitle(), + device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), + appMode: "ePaper" + }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); + (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)(params); + (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ + customEvent: "epaper_translate", + customParams: Object.assign({ + language: language + }, (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)({ + action: TRANSLATE + })) + }); + trackSessionAction(params); + } catch (e) {} + }; + + var sendNewsmemoryGoToLastPageEvent = exports.sendNewsmemoryGoToLastPageEvent = function sendNewsmemoryGoToLastPageEvent(editionModel, pageModel) { + var category = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.SKIP_TO_END; + + var commonParams = Object.assign({ + device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), + appMode: "ePaper" + }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); + (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)(Object.assign({ + category: category, + action: pageModel.getPage() + }, commonParams)); + (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ + customEvent: "epaper_go_to_last_page", + customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)(Object.assign({ + action: category + }, commonParams)) + }); + trackSessionAction(Object.assign({ + action: "go_to_last_page" + }, commonParams)); + }; + + var sendNewsmemoryToogleArticleModeEvent = exports.sendNewsmemoryToogleArticleModeEvent = function sendNewsmemoryToogleArticleModeEvent(action, editionModel, pageModel, article) { + var TOGGLE_TO_PRINT = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.TOGGLE_TO_PRINT, + TOGGLE_TO_DIGITAL = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.TOGGLE_TO_DIGITAL; + + var type = article ? article.getType() : ""; + var title = getArticleTitle(article); + + var isTextMode = action === _$$_REQUIRE(_dependencyMap[11]).NewsmemoryArticleModes.TEXT; + + var params = Object.assign({ + category: isTextMode ? TOGGLE_TO_DIGITAL : TOGGLE_TO_PRINT, + action: action, + device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), + appMode: "ePaper", + type: type, + title: title + }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); + (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)(params); + var customEvent = isTextMode ? "epaper_article_toggle_text" : "epaper_article_toggle_graphic"; + (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ + customEvent: customEvent, + customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)(params) + }); + trackSessionAction(Object.assign({}, params, { + action: customEvent + })); + }; + + var sendNewsmemoryFontSizeChangeEvent = exports.sendNewsmemoryFontSizeChangeEvent = function sendNewsmemoryFontSizeChangeEvent(action, scale, editionModel, pageModel, article) { + var FONT_SCALE = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.FONT_SCALE; + + var type = article ? article.getType() : ""; + var title = getArticleTitle(article); + var params = Object.assign({ + category: FONT_SCALE, + action: action, + label: scale, + device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), + appMode: "ePaper", + type: type, + title: title + }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); + trackSessionAction(params); + }; + + var sendNewsmemoryGraphSizeChangeEvent = exports.sendNewsmemoryGraphSizeChangeEvent = function sendNewsmemoryGraphSizeChangeEvent(action, scale, editionModel, pageModel, article) { + var GRAPH_SIZE = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.GRAPH_SIZE; + + var type = article ? article.getType() : ""; + var title = getArticleTitle(article); + var params = Object.assign({ + category: GRAPH_SIZE, + action: action, + label: scale, + device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), + appMode: "ePaper", + type: type, + title: title + }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); + trackSessionAction(params); + }; + + var sendNewsmemoryToggleFullscreenEvent = exports.sendNewsmemoryToggleFullscreenEvent = function sendNewsmemoryToggleFullscreenEvent(active, editionModel, pageModel, article) { + var TOGGLE_FULLSCREEN = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.TOGGLE_FULLSCREEN; + + var type = article ? article.getType() : ""; + var title = getArticleTitle(article); + var params = Object.assign({ + category: TOGGLE_FULLSCREEN, + action: active ? "epaper_article_fullscreen" : "epaper_article_half_screen", + device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), + appMode: "ePaper", + type: type, + title: title + }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); + trackSessionAction(params); + }; + + var sendNewsmemoryPrintEvent = exports.sendNewsmemoryPrintEvent = function sendNewsmemoryPrintEvent(editionModel, pageModel, article) { + var PRINT = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.PRINT; + + var type = article ? article.getType() : ""; + var title = getArticleTitle(article); + var params = Object.assign({ + category: PRINT, + action: PRINT, + device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), + appMode: "ePaper", + type: type, + title: title + }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); + trackSessionAction(params); + }; + + var sendNewsmemoryDownloadPDFEvent = exports.sendNewsmemoryDownloadPDFEvent = function sendNewsmemoryDownloadPDFEvent(editionModel, pageModel) { + var DOWNLOAD_PDF = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.DOWNLOAD_PDF; + + var params = Object.assign({ + category: DOWNLOAD_PDF, + action: DOWNLOAD_PDF, + device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), + appMode: "ePaper" + }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); + trackSessionAction(params); + }; + + var sendNewsmemoryRotateEvent = exports.sendNewsmemoryRotateEvent = function sendNewsmemoryRotateEvent(orietation, editionModel) { + var ROTATE = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.ROTATE; + + var params = Object.assign({ + category: ROTATE, + action: ROTATE + "_" + orietation.toLowerCase(), + device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), + appMode: "ePaper" + }, getNewsmemoryAnalyticsDefaultParams(editionModel)); + trackSessionAction(params); + }; + + var sendNewsmemoryDoubleTapToZoomEvent = exports.sendNewsmemoryDoubleTapToZoomEvent = function sendNewsmemoryDoubleTapToZoomEvent(editionModel, pageModel) { + var DOUBLE_TAP_TO_ZOOM = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.DOUBLE_TAP_TO_ZOOM; + + var ZOOM = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.ZOOM; + + var commonParams = Object.assign({ + device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), + appMode: "ePaper" + }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); + (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)(Object.assign({ + category: DOUBLE_TAP_TO_ZOOM, + action: ZOOM + }, commonParams)); + var params = Object.assign({ + action: DOUBLE_TAP_TO_ZOOM + }, commonParams); + (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ + customEvent: "epaper_double_tap_to_zoom", + customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)(params) + }); + trackSessionAction(params); + }; + + var sendNewsmemoryPinchToZoomEvent = exports.sendNewsmemoryPinchToZoomEvent = function sendNewsmemoryPinchToZoomEvent(editionModel, pageModel, scale) { + var PINCH_TO_ZOOM = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.PINCH_TO_ZOOM; + + var ZOOM = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.ZOOM; + + var commonParams = Object.assign({ + device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), + appMode: "ePaper" + }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { + scale: scale + }); + (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)(Object.assign({ + category: PINCH_TO_ZOOM, + action: ZOOM + }, commonParams)); + var params = Object.assign({ + action: PINCH_TO_ZOOM + }, commonParams); + (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ + customEvent: "epaper_pinch_to_zoom", + customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)(params) + }); + trackSessionAction(params); + }; + + var sendNewsmemoryScrollZoomedEvent = exports.sendNewsmemoryScrollZoomedEvent = function sendNewsmemoryScrollZoomedEvent(editionModel, pageModel, areas) { + var SCROLL_ZOOMED = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.SCROLL_ZOOMED; + + var ZOOM = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.ZOOM; + + var commonParams = Object.assign({ + device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), + appMode: "ePaper" + }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { + areas: areas + }); + (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)(Object.assign({ + category: SCROLL_ZOOMED, + action: ZOOM + }, commonParams)); + var params = Object.assign({ + action: SCROLL_ZOOMED + }, commonParams); + var screen = (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)(Object.assign({ + type: ZOOM + }, commonParams)); + (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseScreen)(_$$_REQUIRE(_dependencyMap[11]).firebaseAnalyticsScreenNames.ZOOM, screen, params); + (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ + customEvent: "epaper_scroll_zoomed", + customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)(params) + }); + trackSessionAction(params); + }; + + var sendNewsmemoryArticle = exports.sendNewsmemoryArticle = function sendNewsmemoryArticle(editionModel, pageModel, article, mode) { + try { + var _pageModel$getSection; + + var issue = editionModel.getIssue(); + + var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); + + var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); + + var article_id = article.getXmlId(); + var type = article ? article.getType() : ""; + var title = getArticleTitle(article); + var section = (_pageModel$getSection = pageModel.getSection()) != null ? _pageModel$getSection : ""; + + var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.READ; + + sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { + event: "epaper_read_article", + action: action, + remp: encodeURIComponent(article_id), + article_id: article_id, + type: type, + title: title, + section: section, + mode: mode, + screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ + type: action, + issue: issue, + edition: edition, + page: page, + article: article_id, + title: title + }) + })); + } catch (e) {} + }; + + var sendNewsmemoryZoom = exports.sendNewsmemoryZoom = function sendNewsmemoryZoom(editionModel, pageModel, scale) { + try { + var issue = editionModel.getIssue(); + + var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); + + var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); + + var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.ZOOM; + + sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { + event: "epaper_zoom", + action: action, + remp: encodeURIComponent(pageModel.getPageId()), + zoom: scale, + screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ + type: action, + issue: issue, + edition: edition, + page: page + }) + })); + } catch (e) {} + }; + + var sendNewsmemoryScroll = exports.sendNewsmemoryScroll = function sendNewsmemoryScroll(editionModel, pageModel, isZoomed) { + try { + var issue = editionModel.getIssue(); + + var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); + + var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); + + var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.SCROLLED; + + sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { + event: "epaper_scroll", + action: action, + remp: encodeURIComponent(pageModel.getPageId()), + screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ + type: action, + issue: issue, + edition: edition, + page: page + }), + isZoomed: isZoomed + })); + } catch (e) {} + }; + + var sendNewsmemoryDownloadIpaddb = exports.sendNewsmemoryDownloadIpaddb = function sendNewsmemoryDownloadIpaddb(paper, issue, edition, speed) { + try { + (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ + customEvent: "download_epaper_db", + customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)({ + issue: issue, + edition: edition + }) + }); + trackSessionAction({ + action: "download_db", + paper: paper, + issue: issue, + edition: edition, + speed: speed + }); + } catch (e) {} + }; + + var sendNewsmemoryIndex = exports.sendNewsmemoryIndex = function sendNewsmemoryIndex(editionModel) { + try { + var issue = editionModel.getIssue(); + + var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); + + var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.INDEX; + + sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel), { + event: "epaper_index", + action: action, + screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ + type: action, + issue: issue, + edition: edition + }) + })); + } catch (e) {} + }; + + var sendNewsmemorySectionIndex = exports.sendNewsmemorySectionIndex = function sendNewsmemorySectionIndex(editionModel, pageModel) { + try { + var issue = editionModel.getIssue(); + + var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); + + var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.SECTION_INDEX; + + var params = getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel); + sendNewsmemoryAnalytics(Object.assign({}, params, { + event: "epaper_section_index", + action: action, + screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ + type: action, + issue: issue, + edition: edition, + section: params.section + }) + })); + } catch (e) {} + }; + + var sendNewsmemoryOptionspage = exports.sendNewsmemoryOptionspage = function sendNewsmemoryOptionspage(tab, title) { + try { + var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.OPTIONSPAGE; + + sendNewsmemoryAnalytics({ + event: "epaper_optionspage", + action: action, + tab: tab, + section: title, + screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ + type: action, + page: tab + }) + }); + } catch (e) {} + }; + + var sendNewsmemoryThumbnails = exports.sendNewsmemoryThumbnails = function sendNewsmemoryThumbnails(editionModel) { + try { + var issue = editionModel.getIssue(); + + var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); + + var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.THUMBS; + + sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel), { + event: "epaper_thumbs", + action: action, + screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ + type: action, + issue: issue, + edition: edition + }) + })); + } catch (e) {} + }; + + var sendNewsmemoryGallery = exports.sendNewsmemoryGallery = function sendNewsmemoryGallery(title, image, index, editionModel, pageModel) { + try { + var issue = editionModel.getIssue(); + + var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); + + var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); + + var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.GALLERY; + + sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { + event: "epaper_enrichment_gallery", + action: action, + type: "image", + gallery_id: title, + id: image, + index: index, + screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ + type: action, + issue: issue, + edition: edition, + page: page, + title: title, + id: image, + index: index + }) + })); + } catch (e) {} + }; + + var sendNewsmemoryArticleGallery = exports.sendNewsmemoryArticleGallery = function sendNewsmemoryArticleGallery(index, editionModel, pageModel, article) { + try { + var issue = editionModel.getIssue(); + + var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); + + var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); + + var article_id = article.getXmlId(); + var title = getArticleTitle(article); + + var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.ARTICLE_GALLERY; + + sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { + event: "epaper_article_gallery", + action: action, + type: "image", + article_id: article_id, + title: title, + index: index, + screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ + type: action, + issue: issue, + edition: edition, + page: page, + article: article_id, + title: title, + index: index + }) + })); + } catch (e) {} + }; + + var sendNewsmemoryExtraYoutube = exports.sendNewsmemoryExtraYoutube = function sendNewsmemoryExtraYoutube(url, editionModel, pageModel) { + try { + var _StringUtils$segmentU = _$$_REQUIRE(_dependencyMap[9]).StringUtils.segmentUrl(url), + getParams = _StringUtils$segmentU.getParams; + + var id = getParams.v; + + if (id === undefined) { + var regExp = new RegExp(/(?:http?s?:\/\/)?(?:www\.)?(?:youtube\.com|youtu\.be)\/(?:(?:watch\?v=)|(?:v\/))+([^&]+)/g); + var m; + + while ((m = regExp.exec(url)) !== null) { + id = m[1]; + break; + } + } + + var issue = editionModel.getIssue(); + + var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); + + var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); + + var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.VIDEO; + + sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { + event: "epaper_enrichment_video", + action: action, + type: "youtube", + url: url, + video_id: id, + screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ + type: action, + issue: issue, + edition: edition, + page: page, + id: id + }) + })); + } catch (e) {} + }; + + var sendNewsmemoryExtraVideo = exports.sendNewsmemoryExtraVideo = function sendNewsmemoryExtraVideo(url, editionModel, pageModel) { + try { + var id = _$$_REQUIRE(_dependencyMap[9]).StringUtils.getLastPathSegment(url); + + var issue = editionModel.getIssue(); + + var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); + + var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); + + var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.VIDEO; + + sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { + event: "epaper_enrichment_video", + action: action, + type: "video", + url: url, + video_id: id, + screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ + type: action, + issue: issue, + edition: edition, + page: page, + id: id + }) + })); + } catch (e) {} + }; + + var sendNewsmemoryExtraUrl = exports.sendNewsmemoryExtraUrl = function sendNewsmemoryExtraUrl(url, editionModel, pageModel) { + try { + var analyticsUrl = url.replace(/\//g, "|"); + var issue = editionModel.getIssue(); + + var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); + + var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); + + var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.PAGE_CLICK; + + sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { + event: "epaper_page_clickthrough", + action: action, + url: url, + screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ + type: action, + issue: issue, + edition: edition, + page: page, + url: analyticsUrl + }) + })); + } catch (e) {} + }; + + var sendNewsmemoryArticleClickThrough = exports.sendNewsmemoryArticleClickThrough = function sendNewsmemoryArticleClickThrough(editionModel, pageModel, article, url) { + try { + var analyticsUrl = url.replace(/\//g, "|"); + var issue = editionModel.getIssue(); + + var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); + + var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); + + var article_id = article.getXmlId(); + var title = getArticleTitle(article); + + var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.ARTICLE_CLICK; + + sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { + event: "epaper_article_clickthrough", + action: action, + remp: encodeURIComponent(article_id), + article_id: article_id, + title: title, + url: url, + screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ + type: action, + issue: issue, + edition: edition, + page: page, + article: article_id, + title: title, + url: analyticsUrl + }) + })); + } catch (e) {} + }; + + var sendNewsmemoryEditionLoad = exports.sendNewsmemoryEditionLoad = function sendNewsmemoryEditionLoad(edition, page) { + var _global$getActivePSet3 = global.getActivePSetup(), + adobeAnalyticsEnabled = _global$getActivePSet3.adobeAnalyticsEnabled, + adobeAnalyticsConfig = _global$getActivePSet3.adobeAnalyticsConfig; + + if (adobeAnalyticsEnabled && adobeAnalyticsConfig) { + (0, _$$_REQUIRE(_dependencyMap[8]).resetAdobeAnalyticsFirstScrolledSent)(); + var params = getNewsmemoryAnalyticsDefaultParams(edition, page); + (0, _$$_REQUIRE(_dependencyMap[8]).trackADBMobileAction)(adobeAnalyticsConfig.editionLoadActionName, params); + } + }; +},1900,[3,4,665,664,668,856,1901,1905,1910,438,1906,1909]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.NewspaperSessionManager = undefined; + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - var PaywallHelper = exports.default = function () { - function PaywallHelper() { - (0, _classCallCheck2.default)(this, PaywallHelper); + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _NewspaperSession = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var NewspaperSessionManagerSingleton = function (_SessionManagerSingle) { + function NewspaperSessionManagerSingleton() { + (0, _classCallCheck2.default)(this, NewspaperSessionManagerSingleton); + return _callSuper(this, NewspaperSessionManagerSingleton, arguments); } - return (0, _createClass2.default)(PaywallHelper, null, [{ - key: "getOldName", - value: function getOldName() { - return _$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isIOS() ? null : PaywallHelper.androidSharedPreferences.name; + (0, _inherits2.default)(NewspaperSessionManagerSingleton, _SessionManagerSingle); + return (0, _createClass2.default)(NewspaperSessionManagerSingleton, [{ + key: "startSession", + value: function startSession(_ref) { + var paper = _ref.paper, + edition = _ref.edition, + issue = _ref.issue; + this.activeKey = this.getSessionKey(); + var session = new _NewspaperSession.default(paper, edition, issue); + this.storeSession(this.activeKey, session); + return session; } }, { - key: "getMachineIdFromUserDefaults", - value: function () { - var _getMachineIdFromUserDefaults = (0, _asyncToGenerator2.default)(function* () { - return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.getItemFromDefaultPreferences(PaywallHelper.getOldName(), _$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isIOS() ? PaywallHelper.iOSStandardUserDefaults.keys.machineId : PaywallHelper.androidSharedPreferences.keys.machineId); - }); + key: "parseSession", + value: function parseSession(rawSession) { + try { + var _JSON$parse = JSON.parse(rawSession), + paper = _JSON$parse.paper, + edition = _JSON$parse.edition, + issue = _JSON$parse.issue, + startTime = _JSON$parse.startTime, + rawActions = _JSON$parse.actions, + rawNavigation = _JSON$parse.navigation; - function getMachineIdFromUserDefaults() { - return _getMachineIdFromUserDefaults.apply(this, arguments); + var actions = rawActions.map(function (rawAction) { + var _JSON$parse2 = JSON.parse(rawAction), + name = _JSON$parse2.name, + params = _JSON$parse2.params, + time = _JSON$parse2.time; + + return new (_$$_REQUIRE(_dependencyMap[8]).Action)(name, params, time); + }); + var routes = rawNavigation.map(function (rawRoute) { + var route = rawRoute.route, + time = rawRoute.time; + return new (_$$_REQUIRE(_dependencyMap[8]).Route)(route, time); + }); + return new _NewspaperSession.default(paper, edition, issue, actions, routes, startTime); + } catch (e) {} + + return undefined; + } + }]); + }(_$$_REQUIRE(_dependencyMap[9]).SessionManagerSingleton); + + var NewspaperSessionManager = exports.NewspaperSessionManager = function () { + function NewspaperSessionManager() { + (0, _classCallCheck2.default)(this, NewspaperSessionManager); + } + + return (0, _createClass2.default)(NewspaperSessionManager, null, [{ + key: "init", + value: function init() { + NewspaperSessionManager.instance = new NewspaperSessionManagerSingleton(); + NewspaperSessionManager.instance.load(); + } + }, { + key: "getInstance", + value: function getInstance() { + if (NewspaperSessionManager.instance === undefined) { + NewspaperSessionManager.init(); } - return getMachineIdFromUserDefaults; + return NewspaperSessionManager.instance; + } + }, { + key: "addAction", + value: function addAction(name, params) { + NewspaperSessionManager.getInstance().addAction(name, params); + } + }, { + key: "addRoute", + value: function addRoute(route, params) { + NewspaperSessionManager.getInstance().addRoute(route, params); + } + }, { + key: "getActiveSessionReport", + value: function getActiveSessionReport() { + return NewspaperSessionManager.getInstance().getActiveSessionReport(); + } + }, { + key: "getActiveSessionString", + value: function getActiveSessionString() { + return NewspaperSessionManager.getInstance().getActiveSessionString(); + } + }, { + key: "flushActiveSession", + value: function () { + var _flushActiveSession = (0, _asyncToGenerator2.default)(function* () { + return NewspaperSessionManager.getInstance().flushSession(); + }); + + function flushActiveSession() { + return _flushActiveSession.apply(this, arguments); + } + + return flushActiveSession; }() }, { - key: "getUserStatusFromUserDefaults", + key: "storeActiveSessionToFile", value: function () { - var _getUserStatusFromUserDefaults = (0, _asyncToGenerator2.default)(function* () { - var _global$getRssIndex = global.getRssIndex(), - paywallAppId = _global$getRssIndex.paywallAppId; + var _storeActiveSessionToFile = (0, _asyncToGenerator2.default)(function* () { + return NewspaperSessionManager.getInstance().storeActiveSessionToFile(); + }); - var userStatus = yield _$$_REQUIRE(_dependencyMap[4]).StorageUtils.getItemFromDefaultPreferences(PaywallHelper.getOldName(), _$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isIOS() ? paywallAppId : PaywallHelper.androidSharedPreferences.keys.taUserLoginPrefix + paywallAppId); + function storeActiveSessionToFile() { + return _storeActiveSessionToFile.apply(this, arguments); + } - if (userStatus) { - if (_$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isIOS()) { - return userStatus[PaywallHelper.iOSStandardUserDefaults.keys.userStatus]; - } + return storeActiveSessionToFile; + }() + }]); + }(); +},1901,[3,270,6,7,11,13,14,1902,863,1903]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _get2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _Session2 = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[7])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var NewspaperSession = exports.default = function (_Session) { + function NewspaperSession(paper, edition, issue) { + var _this; + + var actions = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : []; + var routes = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : []; + var time = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : new Date().getTime(); + (0, _classCallCheck2.default)(this, NewspaperSession); + _this = _callSuper(this, NewspaperSession, [actions, routes, time]); + _this.paper = paper; + _this.edition = edition; + _this.issue = issue; + return _this; + } + + (0, _inherits2.default)(NewspaperSession, _Session); + return (0, _createClass2.default)(NewspaperSession, [{ + key: "getPaperInfo", + value: function getPaperInfo() { + return { + paper: this.paper, + edition: this.edition, + issue: this.issue + }; + } + }, { + key: "getOtherInfo", + value: function getOtherInfo() { + var otherInfo = {}; + var downloadAction = this.actions.find(function (action) { + return action.getName() === "download_db"; + }); + + if (downloadAction) { + var _downloadAction$getPa = downloadAction.getParams(), + speed = _downloadAction$getPa.speed; + + if (speed) { + otherInfo.downloadSpeed = speed; + } + } + + return otherInfo; + } + }, { + key: "getReport", + value: function getReport() { + var paperInfo = this.getPaperInfo(); + var otherInfo = this.getOtherInfo(); + return Object.assign({}, (0, _get2.default)((0, _getPrototypeOf2.default)(NewspaperSession.prototype), "getReport", this).call(this), paperInfo, otherInfo); + } + }, { + key: "getFullReport", + value: function getFullReport() { + var paperInfo = this.getPaperInfo(); + var otherInfo = this.getOtherInfo(); + return Object.assign({}, (0, _get2.default)((0, _getPrototypeOf2.default)(NewspaperSession.prototype), "getFullReport", this).call(this), paperInfo, otherInfo); + } + }, { + key: "toString", + value: function toString() { + return "{\"paper\": \"" + this.paper + "\", \"edition\": \"" + this.edition + "\", \"issue\": \"" + this.issue + "\", \"startTime\": " + this.startTime + ", \"startOrientation\": \"" + this.startOrientation + "\", \"actions\": " + JSON.stringify(this.actions.map(function (action) { + return action.toString(); + })) + ", \"navigation\": " + JSON.stringify(this.navigation.map(function (route) { + return route.toString(); + })) + "}"; + } + }]); + }(_Session2.default); +},1902,[3,6,7,11,85,13,14,863]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.SessionManagerSingleton = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _Session = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[4])); + + var _SessionHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _tecnaviaFileUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _NewsmemoryAJAX = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var SessionManagerSingleton = exports.SessionManagerSingleton = function () { + function SessionManagerSingleton() { + (0, _classCallCheck2.default)(this, SessionManagerSingleton); + this.sessions = {}; + } + + return (0, _createClass2.default)(SessionManagerSingleton, [{ + key: "load", + value: function () { + var _load = (0, _asyncToGenerator2.default)(function* () { + var _this = this; + + var allSessions = yield _SessionHelper.default.getAllItems(); + + if (allSessions) { + var sessionsToSend = Object.keys(allSessions).reduce(function (current, sessionKey) { + var session = _this.parseSession(allSessions[sessionKey]); + + if (session) { + current[sessionKey] = session; + } else { + _SessionHelper.default.removeItem(sessionKey); + } + + return current; + }, {}); + Object.keys(sessionsToSend).forEach(function (key) { + return _this.flushSession(key); + }); + } + }); + + function load() { + return _load.apply(this, arguments); + } + + return load; + }() + }, { + key: "getSessionKey", + value: function getSessionKey() { + return _$$_REQUIRE(_dependencyMap[8]).StringUtils.getRandomHash(); + } + }, { + key: "startSession", + value: function startSession() { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + this.activeKey = this.getSessionKey(); + var session = new _Session.default(); + this.storeSession(this.activeKey, session); + return session; + } + }, { + key: "getActiveSession", + value: function getActiveSession(params) { + return this.activeKey && this.sessions[this.activeKey] ? this.sessions[this.activeKey] : this.startSession(params); + } + }, { + key: "addAction", + value: function addAction(name, params) { + var activeSession = this.getActiveSession(params); + activeSession.addAction(name, params); + this.storeSession(this.activeKey, activeSession); + } + }, { + key: "addRoute", + value: function addRoute(name, params) { + var activeSession = this.getActiveSession(params); + activeSession.addRoute(name); + this.storeSession(this.activeKey, activeSession); + } + }, { + key: "storeSession", + value: function storeSession(key, session) { + if (key) { + this.sessions[key] = session; + + _SessionHelper.default.setItem(key, session.toString()); + } + } + }, { + key: "retrieveSession", + value: function () { + var _retrieveSession = (0, _asyncToGenerator2.default)(function* () { + var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.activeKey; + + if (key) { + var session = this.sessions[key] || (yield _SessionHelper.default.getItem(key)); + return session; + } + + return undefined; + }); + + function retrieveSession() { + return _retrieveSession.apply(this, arguments); + } + + return retrieveSession; + }() + }, { + key: "clearSession", + value: function clearSession() { + var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.activeKey; + + if (key) { + this.sessions[key] = undefined; + return _SessionHelper.default.removeItem(key); + } + + return false; + } + }, { + key: "uploadSession", + value: function () { + var _uploadSession = (0, _asyncToGenerator2.default)(function* (key, session) { + var _global$getActivePSet = global.getActivePSetup(), + enableSessionAutoUpload = _global$getActivePSet.enableSessionAutoUpload; + + if (session && enableSessionAutoUpload) { + yield _NewsmemoryAJAX.default.uploadSessionReport(key, session); + } + + return false; + }); + + function uploadSession(_x, _x2) { + return _uploadSession.apply(this, arguments); + } + + return uploadSession; + }() + }, { + key: "flushSession", + value: function () { + var _flushSession = (0, _asyncToGenerator2.default)(function* () { + var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.activeKey; + + if (key) { + var session = this.sessions[key]; + this.clearSession(key); + yield this.uploadSession(key, session); + } + }); + + function flushSession() { + return _flushSession.apply(this, arguments); + } + + return flushSession; + }() + }, { + key: "parseSession", + value: function parseSession(rawSession) { + try { + var _JSON$parse = JSON.parse(rawSession), + startTime = _JSON$parse.startTime, + rawActions = _JSON$parse.actions, + rawNavigation = _JSON$parse.navigation; + + var rawActionArray = JSON.parse(rawActions); + var actions = rawActionArray.map(function (_ref) { + var name = _ref.name, + params = _ref.params, + time = _ref.time; + return new _Session.Action(name, JSON.parse(params), time); + }); + var rawNavigationArray = JSON.parse(rawNavigation); + var routes = rawNavigationArray.map(function (_ref2) { + var name = _ref2.name, + time = _ref2.time; + return new _Session.Route(name, time); + }); + return new _Session.default(actions, routes, startTime); + } catch (e) {} + + return undefined; + } + }, { + key: "getSessionDuration", + value: function getSessionDuration() { + var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.activeKey; + var session = this.sessions[key]; + return session ? session.getDuration() : 0; + } + }, { + key: "getSessionReport", + value: function getSessionReport() { + var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.activeKey; + var session = this.sessions[key]; + return session ? session.getReport() : undefined; + } + }, { + key: "getSessionFullReport", + value: function getSessionFullReport() { + var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.activeKey; + var session = this.sessions[key]; + return session ? session.getFullReport() : undefined; + } + }, { + key: "getActiveSessionReport", + value: function getActiveSessionReport() { + return this.getSessionReport(this.activeKey); + } + }, { + key: "getActiveSessionFullReport", + value: function getActiveSessionFullReport() { + return this.getSessionFullReport(this.activeKey); + } + }, { + key: "getActiveSessionString", + value: function getActiveSessionString() { + if (this.activeKey) { + var session = this.sessions[this.activeKey]; + return session ? session.toString() : undefined; + } + + return undefined; + } + }, { + key: "storeActiveSessionToFile", + value: function () { + var _storeActiveSessionToFile = (0, _asyncToGenerator2.default)(function* () { + var fullReport = this.getActiveSessionFullReport(); + + if (fullReport) { + try { + yield _tecnaviaFileUtils.default.mkdir(_tecnaviaFileUtils.default.getDebugDirectory()); + } catch (e) {} + + var filePath = _tecnaviaFileUtils.default.getDebugDirectory() + global.machineId + "_" + this.activeKey + ".json"; try { - return JSON.parse(userStatus); + yield _tecnaviaFileUtils.default.appendFile(filePath, JSON.stringify(fullReport)); + + if (yield _tecnaviaFileUtils.default.exists(filePath)) { + return filePath; + } } catch (e) {} } return undefined; }); - function getUserStatusFromUserDefaults() { - return _getUserStatusFromUserDefaults.apply(this, arguments); + function storeActiveSessionToFile() { + return _storeActiveSessionToFile.apply(this, arguments); } - return getUserStatusFromUserDefaults; + return storeActiveSessionToFile; }() - }, { - key: "setStandardUserDefaultsValue", - value: function setStandardUserDefaultsValue(key, value) { - return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.setItemInDefaultPreferences(PaywallHelper.getOldName(), key, value); + }]); + }(); + + var SessionManager = exports.default = function () { + function SessionManager() { + (0, _classCallCheck2.default)(this, SessionManager); + } + + return (0, _createClass2.default)(SessionManager, null, [{ + key: "init", + value: function init() { + SessionManager.instance = new SessionManagerSingleton(); + SessionManager.instance.load(); } }, { - key: "clearStandardUserDefaults", - value: function clearStandardUserDefaults() { - return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.clearAllFromDefaultPreferences(PaywallHelper.getOldName()); + key: "getInstance", + value: function getInstance() { + if (SessionManager.instance === undefined) { + SessionManager.init(); + } + + return SessionManager.instance; } }, { - key: "setStorageName", - value: function setStorageName(name) { - PaywallHelper.SP.name = name; + key: "addAction", + value: function addAction(name, params) { + SessionManager.getInstance().addAction(name, params); } + }, { + key: "addRoute", + value: function addRoute(name, params) { + SessionManager.getInstance().addRoute(name, params); + } + }, { + key: "getActiveSessionReport", + value: function getActiveSessionReport() { + return SessionManager.getInstance().getActiveSessionReport(); + } + }, { + key: "getActiveSessionString", + value: function getActiveSessionString() { + return SessionManager.getInstance().getActiveSessionString(); + } + }, { + key: "storeActiveSessionToFile", + value: function () { + var _storeActiveSessionToFile2 = (0, _asyncToGenerator2.default)(function* () { + return SessionManager.getInstance().storeActiveSessionToFile(); + }); + + function storeActiveSessionToFile() { + return _storeActiveSessionToFile2.apply(this, arguments); + } + + return storeActiveSessionToFile; + }() + }]); + }(); +},1903,[3,270,6,7,863,1904,566,406,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var SessionHelper = exports.default = function () { + function SessionHelper() { + (0, _classCallCheck2.default)(this, SessionHelper); + } + + return (0, _createClass2.default)(SessionHelper, null, [{ + key: "getAllItems", + value: function () { + var _getAllItems = (0, _asyncToGenerator2.default)(function* () { + return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.multiGet(SessionHelper.SP.name); + }); + + function getAllItems() { + return _getAllItems.apply(this, arguments); + } + + return getAllItems; + }() }, { key: "getItem", value: function () { var _getItem = (0, _asyncToGenerator2.default)(function* (key) { - return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.getItemFromDefaultPreferences(PaywallHelper.SP.name, key); + return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.getItem(SessionHelper.SP.name, key); }); function getItem(_x) { @@ -236458,7 +238169,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e key: "setItem", value: function () { var _setItem = (0, _asyncToGenerator2.default)(function* (key, value) { - return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.setItemInDefaultPreferences(PaywallHelper.SP.name, key, value); + return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.setItem(SessionHelper.SP.name, key, value); }); function setItem(_x2, _x3) { @@ -236468,3133 +238179,269 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return setItem; }() }, { - key: "clearItem", + key: "removeItem", value: function () { - var _clearItem = (0, _asyncToGenerator2.default)(function* (key) { - return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.clearItemFromDefaultPreferences(PaywallHelper.SP.name, key); + var _removeItem = (0, _asyncToGenerator2.default)(function* (key) { + return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.clear(SessionHelper.SP.name, key); }); - function clearItem(_x4) { - return _clearItem.apply(this, arguments); + function removeItem(_x4) { + return _removeItem.apply(this, arguments); } - return clearItem; - }() - }, { - key: "getAccessedProductsList", - value: function () { - var _getAccessedProductsList = (0, _asyncToGenerator2.default)(function* () { - try { - var alreadyAccessedProducts = yield PaywallHelper.getItem(PaywallHelper.SP.keys.alreadyAccessedProducts); - return JSON.parse(alreadyAccessedProducts); - } catch (e) { - return []; - } - }); - - function getAccessedProductsList() { - return _getAccessedProductsList.apply(this, arguments); - } - - return getAccessedProductsList; - }() - }, { - key: "setAccessedProductsList", - value: function () { - var _setAccessedProductsList = (0, _asyncToGenerator2.default)(function* (value) { - return PaywallHelper.setItem(PaywallHelper.SP.keys.alreadyAccessedProducts, JSON.stringify(value)); - }); - - function setAccessedProductsList(_x5) { - return _setAccessedProductsList.apply(this, arguments); - } - - return setAccessedProductsList; - }() - }, { - key: "getOfflineProductsList", - value: function () { - var _getOfflineProductsList = (0, _asyncToGenerator2.default)(function* () { - try { - var offlineAccessedProducts = yield PaywallHelper.getItem(PaywallHelper.SP.keys.offlineAccessedProducts); - return JSON.parse(offlineAccessedProducts); - } catch (e) { - return []; - } - }); - - function getOfflineProductsList() { - return _getOfflineProductsList.apply(this, arguments); - } - - return getOfflineProductsList; - }() - }, { - key: "setOfflineProductsList", - value: function () { - var _setOfflineProductsList = (0, _asyncToGenerator2.default)(function* (value) { - return PaywallHelper.setItem(PaywallHelper.SP.keys.offlineAccessedProducts, JSON.stringify(value)); - }); - - function setOfflineProductsList(_x6) { - return _setOfflineProductsList.apply(this, arguments); - } - - return setOfflineProductsList; - }() - }, { - key: "isFirstProductsLeftPopupAlreadyShown", - value: function () { - var _isFirstProductsLeftPopupAlreadyShown = (0, _asyncToGenerator2.default)(function* () { - var result = yield PaywallHelper.getItem(PaywallHelper.SP.keys.firstProductsLeftPopupAlreadyShown); - return result === "1"; - }); - - function isFirstProductsLeftPopupAlreadyShown() { - return _isFirstProductsLeftPopupAlreadyShown.apply(this, arguments); - } - - return isFirstProductsLeftPopupAlreadyShown; - }() - }, { - key: "setFirstProductsLeftPopupAlreadyShown", - value: function () { - var _setFirstProductsLeftPopupAlreadyShown = (0, _asyncToGenerator2.default)(function* () { - return PaywallHelper.setItem(PaywallHelper.SP.keys.firstProductsLeftPopupAlreadyShown, "1"); - }); - - function setFirstProductsLeftPopupAlreadyShown() { - return _setFirstProductsLeftPopupAlreadyShown.apply(this, arguments); - } - - return setFirstProductsLeftPopupAlreadyShown; - }() - }, { - key: "isWelcomePopupAlreadyShown", - value: function () { - var _isWelcomePopupAlreadyShown = (0, _asyncToGenerator2.default)(function* () { - var result = yield PaywallHelper.getItem(PaywallHelper.SP.keys.welcomePopupAlreadyShown); - return result === "1"; - }); - - function isWelcomePopupAlreadyShown() { - return _isWelcomePopupAlreadyShown.apply(this, arguments); - } - - return isWelcomePopupAlreadyShown; - }() - }, { - key: "setWelcomePopupAlreadyShown", - value: function () { - var _setWelcomePopupAlreadyShown = (0, _asyncToGenerator2.default)(function* () { - return PaywallHelper.setItem(PaywallHelper.SP.keys.welcomePopupAlreadyShown, "1"); - }); - - function setWelcomePopupAlreadyShown() { - return _setWelcomePopupAlreadyShown.apply(this, arguments); - } - - return setWelcomePopupAlreadyShown; - }() - }, { - key: "getUserStatus", - value: function () { - var _getUserStatus = (0, _asyncToGenerator2.default)(function* () { - try { - var userStatus = yield PaywallHelper.getItem(PaywallHelper.SP.keys.userStatus); - - if (userStatus) { - return JSON.parse(userStatus); - } - - var oldUserStatus = yield PaywallHelper.getUserStatusFromUserDefaults(); - - if (oldUserStatus) { - var user = oldUserStatus.user, - pwdEncrypt = oldUserStatus.pwdEncrypt, - challenge = oldUserStatus.challenge, - subscription = oldUserStatus.subscription, - remember = oldUserStatus.remember; - userStatus = { - credentials: { - user: user, - pwdEncrypt: pwdEncrypt, - challenge: challenge - }, - subscriptions: [subscription], - remember: remember - }; - yield PaywallHelper.setUserStatus(userStatus); - PaywallHelper.clearStandardUserDefaults(); - } - - return userStatus; - } catch (e) { - return null; - } - }); - - function getUserStatus() { - return _getUserStatus.apply(this, arguments); - } - - return getUserStatus; - }() - }, { - key: "setUserStatus", - value: function () { - var _setUserStatus = (0, _asyncToGenerator2.default)(function* (userStatus) { - return PaywallHelper.setItem(PaywallHelper.SP.keys.userStatus, JSON.stringify(userStatus)); - }); - - function setUserStatus(_x7) { - return _setUserStatus.apply(this, arguments); - } - - return setUserStatus; - }() - }, { - key: "getConfig", - value: function () { - var _getConfig = (0, _asyncToGenerator2.default)(function* () { - try { - var config = yield PaywallHelper.getItem(PaywallHelper.SP.keys.config); - - if (config) { - return JSON.parse(config); - } - } catch (e) {} - - return {}; - }); - - function getConfig() { - return _getConfig.apply(this, arguments); - } - - return getConfig; - }() - }, { - key: "setConfig", - value: function () { - var _setConfig = (0, _asyncToGenerator2.default)(function* (config) { - return PaywallHelper.setItem(PaywallHelper.SP.keys.config, JSON.stringify(config)); - }); - - function setConfig(_x8) { - return _setConfig.apply(this, arguments); - } - - return setConfig; - }() - }, { - key: "setLastProductsLeft", - value: function () { - var _setLastProductsLeft = (0, _asyncToGenerator2.default)(function* (productsLeft) { - return PaywallHelper.setItem(PaywallHelper.SP.keys.lastProductsLeft, "" + productsLeft); - }); - - function setLastProductsLeft(_x9) { - return _setLastProductsLeft.apply(this, arguments); - } - - return setLastProductsLeft; - }() - }, { - key: "getLastProductsLeft", - value: function () { - var _getLastProductsLeft = (0, _asyncToGenerator2.default)(function* () { - return PaywallHelper.getItem(PaywallHelper.SP.keys.lastProductsLeft); - }); - - function getLastProductsLeft() { - return _getLastProductsLeft.apply(this, arguments); - } - - return getLastProductsLeft; - }() - }, { - key: "enableLogoutFlag", - value: function () { - var _enableLogoutFlag = (0, _asyncToGenerator2.default)(function* () { - return PaywallHelper.setItem(PaywallHelper.SP.keys.logout, "1"); - }); - - function enableLogoutFlag() { - return _enableLogoutFlag.apply(this, arguments); - } - - return enableLogoutFlag; - }() - }, { - key: "isLogoutFlagEnabled", - value: function () { - var _isLogoutFlagEnabled = (0, _asyncToGenerator2.default)(function* () { - var flag = yield PaywallHelper.getItem(PaywallHelper.SP.keys.logout); - return flag === "1"; - }); - - function isLogoutFlagEnabled() { - return _isLogoutFlagEnabled.apply(this, arguments); - } - - return isLogoutFlagEnabled; - }() - }, { - key: "clearLogoutFlag", - value: function () { - var _clearLogoutFlag = (0, _asyncToGenerator2.default)(function* () { - return PaywallHelper.clearItem(PaywallHelper.SP.keys.logout); - }); - - function clearLogoutFlag() { - return _clearLogoutFlag.apply(this, arguments); - } - - return clearLogoutFlag; + return removeItem; }() }]); }(); - PaywallHelper.SP = { - name: "paywall", - keys: { - welcomePopupAlreadyShown: "welcomePopupAlreadyShown", - alreadyAccessedProducts: "alreadyAccessedProducts", - offlineAccessedProducts: "offlineAccessedProducts", - firstProductsLeftPopupAlreadyShown: "firstProductsLeftPopupAlreadyShown", - userStatus: "userStatus", - config: "config", - lastProductsLeft: "lastProductsLeft", - logout: "logoutInRSS" - } + SessionHelper.SP = { + name: "sessions" }; - PaywallHelper.androidSharedPreferences = { - name: "ta_metered_paywall", - keys: { - taUserLoginPrefix: "ta_user_login_", - machineId: "ta_MACHINE_ID" - } - }; - PaywallHelper.iOSStandardUserDefaults = { - keys: { - machineId: "ta_MACHINE_ID", - userStatus: "ta_user_login" - } - }; -},1890,[3,270,6,7,438]); +},1904,[3,270,6,7,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = exports.PaywallError = undefined; + exports.screenMapping = exports.eventMapping = undefined; - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + var mapOnObjRequestedAndValidParams = function mapOnObjRequestedAndValidParams() { + var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var paramsKey = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + var mapped = {}; - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + for (var i = 0; i < paramsKey.length; i++) { + var value = obj[paramsKey[i]]; - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _wrapNativeSuper2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _axios = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _PaywallLoginStatus = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var PaywallError = exports.PaywallError = function (_Error) { - function PaywallError(code, message) { - var _this; - - (0, _classCallCheck2.default)(this, PaywallError); - _this = _callSuper(this, PaywallError); - _this.code = code; - _this.message = message; - return _this; + if (value === undefined) { + throw new Error("Analytics -> " + paramsKey[i] + " is missing or undefined"); + } else { + mapped[paramsKey[i]] = "" + value; + } } - (0, _inherits2.default)(PaywallError, _Error); - return (0, _createClass2.default)(PaywallError, [{ - key: "getCode", - value: function getCode() { - return this.code; - } - }, { - key: "getMessage", - value: function getMessage() { - return this.message; - } - }]); - }((0, _wrapNativeSuper2.default)(Error)); + return mapped; + }; - var PaywallAJAX = exports.default = function () { - function PaywallAJAX() { - (0, _classCallCheck2.default)(this, PaywallAJAX); + var mapReadOnEvent = function mapReadOnEvent(params) { + return { + customEvent: "epaper_read_article", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page", "article_id", "title", "section"]), { + mode: params.mode || _$$_REQUIRE(_dependencyMap[1]).NewsmemoryArticleModes.TEXT + }) + }; + }; + + var mapZoomOnEvent = function mapZoomOnEvent(params) { + return { + customEvent: "epaper_zoom", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page"])) + }; + }; + + var mapScrolledOnEvent = function mapScrolledOnEvent(params) { + return { + customEvent: "epaper_scroll", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page"])) + }; + }; + + var mapArticleClickThroughOnEvent = function mapArticleClickThroughOnEvent(params) { + return { + customEvent: "epaper_article_clickthrough", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page", "article_id", "url"])) + }; + }; + + var mapPageClickThroughOnEvent = function mapPageClickThroughOnEvent(params) { + return { + customEvent: "epaper_page_clickthrough", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page", "url"])) + }; + }; + + var mapShareOnEvent = function mapShareOnEvent(params) { + return { + customEvent: "epaper_share", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page", "article_id", "platform"])) + }; + }; + + var mapGalleryOnEvent = function mapGalleryOnEvent(params) { + return { + customEvent: "epaper_enrichment_gallery", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page", "gallery_id", "index", "id", "type"])) + }; + }; + + var mapArticleGalleryOnEvent = function mapArticleGalleryOnEvent(params) { + return { + customEvent: "epaper_article_gallery", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page", "article_id", "title", "index", "type"])) + }; + }; + + var mapVideoOnEvent = function mapVideoOnEvent(params) { + return { + customEvent: "epaper_enrichment_video", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page", "video_id"]), { + type: params.type || "video" + }) + }; + }; + + var mapIndexOnEvent = function mapIndexOnEvent(params) { + return { + customEvent: "epaper_index", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition"])) + }; + }; + + var mapSectionIndexOnEvent = function mapSectionIndexOnEvent(params) { + return { + customEvent: "epaper_section_index", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "section"])) + }; + }; + + var mapOptionspageOnEvent = function mapOptionspageOnEvent(params) { + return { + customEvent: "epaper_optionspage", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["tab"])) + }; + }; + + var mapThumbnailsOnEvent = function mapThumbnailsOnEvent(params) { + return { + customEvent: "epaper_thumbs", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition"])) + }; + }; + + var screenMapping = exports.screenMapping = function screenMapping() { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var action = params.action, + screen = params.screen, + remp = params.remp, + section = params.section, + tab = params.tab; + + if (!action) { + throw new Error("Analytics params is empty"); } - return (0, _createClass2.default)(PaywallAJAX, null, [{ - key: "init", - value: function init(appId) { - PaywallAJAX.appId = appId; - } - }, { - key: "setSessionString", - value: function setSessionString(sessionString) { - PaywallAJAX.sessionString = sessionString; - } - }, { - key: "handleError", - value: function handleError(error) { - var message = error.message; - } - }, { - key: "simpleGet", - value: function () { - var _simpleGet = (0, _asyncToGenerator2.default)(function* (url) { - var timeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 10000; - var message = "TIMEOUT"; - var retries = 0; - - do { - try { - var _yield$Axios$get = yield _axios.default.get(url, { - timeout: timeout - }), - status = _yield$Axios$get.status, - data = _yield$Axios$get.data; - - if (status === 200) { - if (data) { - return data; - } - } else { - message = "unexpected HTTP status code " + status + " for url " + url; - } - } catch (e) { - message = "failed to load " + url + ": " + e.message; - } - - retries++; - } while (retries < 3); - - PaywallAJAX.handleError({ - message: message - }); - return undefined; - }); - - function simpleGet(_x) { - return _simpleGet.apply(this, arguments); - } - - return simpleGet; - }() - }, { - key: "handleRequest", - value: function () { - var _handleRequest = (0, _asyncToGenerator2.default)(function* (url) { - var outcome; - var status = 0; - var message = "TIMEOUT"; - var retries = 0; - - do { - try { - var _yield$Axios$get2 = yield _axios.default.get(url, { - timeout: 30000 - }), - HTTPStatusCode = _yield$Axios$get2.status, - data = _yield$Axios$get2.data; - - if (HTTPStatusCode === 200 || HTTPStatusCode === 301 || HTTPStatusCode === 304) { - if (data) { - var error = data.error; - status = error.status; - message = error.message; - status = parseInt(status, 10); - - if (status === _$$_REQUIRE(_dependencyMap[11]).serverStatusCodes.SUCCESS) { - outcome = data.outcome; - } - } - } else { - status = HTTPStatusCode; - message = "unexpected HTTP status code " + HTTPStatusCode + " for url " + url; - } - } catch (e) { - message = "failed to load " + url + ": " + e.message; - } - - retries++; - } while (!outcome && retries < 3); - - if (outcome) { - return outcome; - } - - PaywallAJAX.handleError({ - message: message - }); - throw new PaywallError(status, message); - }); - - function handleRequest(_x2) { - return _handleRequest.apply(this, arguments); - } - - return handleRequest; - }() - }, { - key: "getBaseURL", - value: function getBaseURL() { - var baseURL; - - var _global$getUserSettin = global.getUserSettings(), - notificationEmail = _global$getUserSettin.notificationEmail; - - if (notificationEmail) { - var _StringUtils$parseNot = _$$_REQUIRE(_dependencyMap[12]).StringUtils.parseNotificationEmail(notificationEmail); - - baseURL = _StringUtils$parseNot.server; - } else if (PaywallAJAX.appId) { - var isHTTPS = global.isHTTPS(); - var appId = isHTTPS ? PaywallAJAX.appId.replace(_$$_REQUIRE(_dependencyMap[13]).HTTP_DOMAIN_SEPARATOR, _$$_REQUIRE(_dependencyMap[13]).HTTPS_DOMAIN_SEPARATOR) : PaywallAJAX.appId; - var separator = isHTTPS ? _$$_REQUIRE(_dependencyMap[13]).HTTPS_DOMAIN_SEPARATOR : _$$_REQUIRE(_dependencyMap[13]).HTTP_DOMAIN_SEPARATOR; - baseURL = appId + separator + _$$_REQUIRE(_dependencyMap[11]).serverBaseDomain; - } else { - baseURL = global.getAppServer(); - } - - return _$$_REQUIRE(_dependencyMap[12]).NetworkUtils.addDefaultProtocol(baseURL); - } - }, { - key: "getDefaultParams", - value: function getDefaultParams() { - return { - app: _$$_REQUIRE(_dependencyMap[12]).PlatformUtils.isIOS() ? "A" : "G", - appPSetup: global.getAppPSetup(), - appVersion: _deviceUtils.default.getAppVersion(), - baseVer: _$$_REQUIRE(_dependencyMap[11]).baseVer - }; - } - }, { - key: "isServiceProtected", - value: function isServiceProtected(service) { - return _$$_REQUIRE(_dependencyMap[11]).protectedServices.includes(service); - } - }, { - key: "getBaseMeterURL", - value: function getBaseMeterURL() { - var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - var meterParams = _$$_REQUIRE(_dependencyMap[12]).StringUtils.getQuerystring(Object.assign({}, PaywallAJAX.getDefaultParams(), params)); - - return PaywallAJAX.getBaseURL() + "?meter&" + meterParams; - } - }, { - key: "getServiceURL", - value: function getServiceURL(service) { - var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var _global = global, - machineId = _global.machineId; - machineId = machineId.split(",")[0]; - - var TAUID = _PaywallLoginStatus.default.getTAUID(); - - if (TAUID) { - machineId += "," + TAUID; - } - - params.ta_MACHINE_ID = machineId; - - if (PaywallAJAX.isServiceProtected(service)) { - var queryString = _$$_REQUIRE(_dependencyMap[12]).StringUtils.getQuerystring(params); - - params.mac = PaywallAJAX.computeMac(queryString); - } - - return PaywallAJAX.getBaseMeterURL(Object.assign({ - service: service - }, params)); - } - }, { - key: "getConfigURL", - value: function getConfigURL() { - return PaywallAJAX.getServiceURL(_$$_REQUIRE(_dependencyMap[11]).services.config); - } - }, { - key: "getPopupURL", - value: function getPopupURL(popup) { - var extraParams = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var params = Object.assign({ - popup: popup - }, extraParams); - - if (_PaywallLoginStatus.default.isUserLoggedIn()) { - var credentials = _PaywallLoginStatus.default.getCredentials(); - - if (credentials && credentials.user) { - params.user = credentials.user; - } - } - - return PaywallAJAX.getServiceURL(_$$_REQUIRE(_dependencyMap[11]).services.popups, params); - } - }, { - key: "getValidationURL", - value: function getValidationURL(ACI, productType) { - var params = { - ACI: ACI, - productType: productType, - locallyLoggedIn: _PaywallLoginStatus.default.isUserLoggedIn() ? "1" : "0" - }; - return PaywallAJAX.getServiceURL(_$$_REQUIRE(_dependencyMap[11]).services.validate, params); - } - }, { - key: "getUserValidationURL", - value: function getUserValidationURL() { - var params = {}; - - var credentials = _PaywallLoginStatus.default.getCredentials(); - - if (credentials && credentials.user) { - params.user = credentials.user; - } - - return PaywallAJAX.getServiceURL(_$$_REQUIRE(_dependencyMap[11]).services.user_validate, params); - } - }, { - key: "getLogoutURL", - value: function getLogoutURL(ACI) { - var params = { - ACI: ACI - }; - - var credentials = _PaywallLoginStatus.default.getCredentials(); - - if (credentials && credentials.user) { - params.user = credentials.user; - } - - return PaywallAJAX.getServiceURL(_$$_REQUIRE(_dependencyMap[11]).services.logout, params); - } - }, { - key: "computeMac", - value: function computeMac(queryString) { - return _$$_REQUIRE(_dependencyMap[12]).StringUtils.getMd5(_$$_REQUIRE(_dependencyMap[12]).StringUtils.getMd5(queryString) + PaywallAJAX.sessionString); - } - }, { - key: "getDecryptionKeyURL", - value: function getDecryptionKeyURL() { - var seed = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; - return PaywallAJAX.getBaseMeterURL({ - getkey: seed - }); - } - }, { - key: "downloadConfiguration", - value: function () { - var _downloadConfiguration = (0, _asyncToGenerator2.default)(function* () { - var getConfigURL = PaywallAJAX.getConfigURL(); - return PaywallAJAX.handleRequest(getConfigURL); - }); - - function downloadConfiguration() { - return _downloadConfiguration.apply(this, arguments); - } - - return downloadConfiguration; - }() - }, { - key: "validate", - value: function () { - var _validate = (0, _asyncToGenerator2.default)(function* (ACI, productType) { - var getValidationURL = PaywallAJAX.getValidationURL(ACI, productType); - return PaywallAJAX.handleRequest(getValidationURL); - }); - - function validate(_x3, _x4) { - return _validate.apply(this, arguments); - } - - return validate; - }() - }, { - key: "validateUser", - value: function () { - var _validateUser = (0, _asyncToGenerator2.default)(function* () { - var getUserValidationURL = PaywallAJAX.getUserValidationURL(); - return PaywallAJAX.handleRequest(getUserValidationURL); - }); - - function validateUser() { - return _validateUser.apply(this, arguments); - } - - return validateUser; - }() - }, { - key: "logout", - value: function () { - var _logout = (0, _asyncToGenerator2.default)(function* (ACI, manual) { - var getLogoutURL = PaywallAJAX.getLogoutURL(); - return PaywallAJAX.handleRequest(getLogoutURL); - }); - - function logout(_x5, _x6) { - return _logout.apply(this, arguments); - } - - return logout; - }() - }, { - key: "getDecryptionKey", - value: function () { - var _getDecryptionKey = (0, _asyncToGenerator2.default)(function* (seed) { - var getDecryptionKeyURL = PaywallAJAX.getDecryptionKeyURL(seed); - return PaywallAJAX.simpleGet(getDecryptionKeyURL); - }); - - function getDecryptionKey(_x7) { - return _getDecryptionKey.apply(this, arguments); - } - - return getDecryptionKey; - }() - }]); - }(); -},1891,[3,270,6,7,11,13,14,61,408,1892,434,1893,438,541]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _PaywallHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var PaywallLoginStatus = exports.default = function () { - function PaywallLoginStatus() { - (0, _classCallCheck2.default)(this, PaywallLoginStatus); + if (!screen) { + throw new Error("Analytics screen is empty"); } - return (0, _createClass2.default)(PaywallLoginStatus, null, [{ - key: "getUserStatus", - value: function () { - var _getUserStatus = (0, _asyncToGenerator2.default)(function* () { - return _PaywallHelper.default.getUserStatus(); - }); + var result = { + action: action, + screen: _$$_REQUIRE(_dependencyMap[2]).StringUtils.decodeURIComponent(screen), + remp: remp, + customDimensions: (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToCustomDimensions)(params) + }; - function getUserStatus() { - return _getUserStatus.apply(this, arguments); - } - - return getUserStatus; - }() - }, { - key: "getDefaultUserStatus", - value: function getDefaultUserStatus() { - return { - subscriptions: [_$$_REQUIRE(_dependencyMap[5]).unregisteredSubscriptionType] - }; - } - }, { - key: "setUserStatus", - value: function setUserStatus(userStatus) { - PaywallLoginStatus.userStatus = userStatus; - - _PaywallHelper.default.setUserStatus(userStatus); - } - }, { - key: "updateUserStatus", - value: function updateUserStatus(userStatus) { - PaywallLoginStatus.setUserStatus(Object.assign({}, PaywallLoginStatus.userStatus, userStatus)); - } - }, { - key: "resetUserStatus", - value: function resetUserStatus() { - PaywallLoginStatus.setUserStatus(PaywallLoginStatus.getDefaultUserStatus()); - } - }, { - key: "initUserStatus", - value: function () { - var _initUserStatus = (0, _asyncToGenerator2.default)(function* () { - var appId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : global.getRssIndex().paywallAppId; - - _PaywallHelper.default.setStorageName("paywall_" + appId); - - var userStatus = yield PaywallLoginStatus.getUserStatus(); - - if (userStatus) { - PaywallLoginStatus.userStatus = userStatus; - } else { - PaywallLoginStatus.resetUserStatus(); - } - }); - - function initUserStatus() { - return _initUserStatus.apply(this, arguments); - } - - return initUserStatus; - }() - }, { - key: "isLoginInvalid", - value: function isLoginInvalid() { - var _global$getRSSActiveP = global.getRSSActivePSetup(), - refreshesTAUIDTimestamp = _global$getRSSActiveP.refreshesTAUIDTimestamp; - - var _PaywallLoginStatus$u = PaywallLoginStatus.userStatus, - lastLoginTimestamp = _PaywallLoginStatus$u.lastLoginTimestamp, - logged = _PaywallLoginStatus$u.logged; - - if (refreshesTAUIDTimestamp && logged) { - var referenceTimestamp = lastLoginTimestamp || 0; - return refreshesTAUIDTimestamp >= referenceTimestamp; - } - - return false; - } - }, { - key: "remember", - value: function remember(credentials) { - PaywallLoginStatus.updateUserStatus({ - credentials: credentials - }); - } - }, { - key: "forget", - value: function forget() { - PaywallLoginStatus.updateUserStatus({ - credentials: undefined - }); - } - }, { - key: "isUserLoggedIn", - value: function isUserLoggedIn() { - if (PaywallLoginStatus.userStatus) { - var logged = PaywallLoginStatus.userStatus.logged; - return logged != null ? logged : false; - } - - return false; - } - }, { - key: "getCredentials", - value: function getCredentials() { - if (PaywallLoginStatus.userStatus) { - var credentials = PaywallLoginStatus.userStatus.credentials; - return credentials; - } - - return undefined; - } - }, { - key: "getSubscriptions", - value: function getSubscriptions() { - var _subscriptions; - - var subscriptions; - - if (PaywallLoginStatus.userStatus) { - subscriptions = PaywallLoginStatus.userStatus.subscriptions; - } - - return (_subscriptions = subscriptions) != null ? _subscriptions : [_$$_REQUIRE(_dependencyMap[5]).unregisteredSubscriptionType]; - } - }, { - key: "getTAUID", - value: function getTAUID() { - if (PaywallLoginStatus.userStatus) { - var TAUID = PaywallLoginStatus.userStatus.TAUID; - return TAUID; - } - - return undefined; - } - }, { - key: "setExtId", - value: function setExtId(extid) { - PaywallLoginStatus.updateUserStatus({ - extid: extid - }); - } - }, { - key: "getExtid", - value: function getExtid() { - if (PaywallLoginStatus.userStatus) { - var extid = PaywallLoginStatus.userStatus.extid; - return extid; - } - - return undefined; - } - }, { - key: "isAdFree", - value: function isAdFree() { - if (PaywallLoginStatus.userStatus) { - var adFree = PaywallLoginStatus.userStatus.adFree; - return adFree === "1"; - } - - return false; - } - }]); - }(); - - PaywallLoginStatus.userStatus = {}; -},1892,[3,270,6,7,1890,1893]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.unregisteredSubscriptionType = exports.services = exports.serverStatusCodes = exports.serverBaseDomain = exports.protectedServices = exports.popupTypes = exports.configKeys = exports.baseVer = exports.accessedProductsDuration = exports.UNLIMITED_ACCESS = undefined; - var serverBaseDomain = exports.serverBaseDomain = "pw.newsmemory.com"; - var baseVer = exports.baseVer = "meterapps.check.24110416"; - var accessedProductsDuration = exports.accessedProductsDuration = 86400000; - var unregisteredSubscriptionType = exports.unregisteredSubscriptionType = "UNREGISTERED"; - var services = exports.services = { - config: "get_config", - validate: "validate", - login: "login", - logout: "logout", - user_validate: "user_validate", - popups: "popups" - }; - var protectedServices = exports.protectedServices = [services.validate, services.user_validate, services.logout, services.login]; - var popupTypes = exports.popupTypes = { - account: "userProfile", - blocking: "paywall", - login: "loginForm", - productsLeft: "productsLeft", - welcome: "welcome" - }; - var serverStatusCodes = exports.serverStatusCodes = { - INTERNAL_ERROR: -5, - SESSION_EXPIRED: -4, - USER_NOT_LOGGED: -3, - WRONG_ACI: -3, - WRONG_APP_ID: -2, - SUCCESS: 0 - }; - var configKeys = exports.configKeys = { - showWelcomePopup: "show_welcome_popup", - showFirstProductsLeftPopup: "show_first_products_left_popup", - showLatestProductsLeftPopup: "show_latest_products_left_popup", - showPaywall: "show_paywall" - }; - var UNLIMITED_ACCESS = exports.UNLIMITED_ACCESS = "unlimited"; -},1893,[]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.PaywallContainer = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var PaywallContainer = exports.PaywallContainer = function (_React$Component) { - function PaywallContainer(props) { - var _this; - - (0, _classCallCheck2.default)(this, PaywallContainer); - _this = _callSuper(this, PaywallContainer, [props]); - _this.state = { - modalVisible: false, - popupConfig: undefined - }; - _this.removePopup = _this._removePopup.bind(_this); - return _this; - } - - (0, _inherits2.default)(PaywallContainer, _React$Component); - return (0, _createClass2.default)(PaywallContainer, [{ - key: "showPopup", - value: function showPopup(popupConfig) { - this.setState({ - modalVisible: true, - popupConfig: popupConfig - }); - } - }, { - key: "hidePopup", - value: function hidePopup() { - if (this.popup) { - this.popup.hide(); - } - } - }, { - key: "unhidePopup", - value: function unhidePopup() { - if (this.popup) { - this.popup.unhide(); - } - } - }, { - key: "_removePopup", - value: function _removePopup() { - this.popup = undefined; - this.setState({ - modalVisible: false, - popupConfig: undefined - }); - } - }, { - key: "render", - value: function render() { - var _this2 = this; - - var _this$props = this.props, - onOpen = _this$props.onOpen, - onClose = _this$props.onClose; - var _this$state = this.state, - modalVisible = _this$state.modalVisible, - popupConfig = _this$state.popupConfig; - - if (modalVisible && popupConfig) { - return (0, _$$_REQUIRE(_dependencyMap[7]).jsx)(_$$_REQUIRE(_dependencyMap[8]).PaywallPopup, Object.assign({ - ref: function ref(c) { - if (c) { - _this2.popup = c; - } - } - }, popupConfig, { - onOpen: onOpen, - onReopen: function onReopen() { - _this2.showPopup(popupConfig); - }, - onClose: this.removePopup - })); - } - - if (typeof onClose === "function") { - onClose(); - } - - return null; - } - }], [{ - key: "show", - value: function show(config) { - if (PaywallContainer.paywallInstance) { - PaywallContainer.paywallInstance.showPopup(config); - } - } - }, { - key: "remove", - value: function remove() { - if (PaywallContainer.paywallInstance) { - PaywallContainer.paywallInstance.removePopup(); - } - } - }, { - key: "hide", - value: function hide() { - if (PaywallContainer.paywallInstance) { - PaywallContainer.paywallInstance.hidePopup(); - } - } - }, { - key: "unhide", - value: function unhide() { - if (PaywallContainer.paywallInstance) { - PaywallContainer.paywallInstance.unhidePopup(); - } - } - }]); - }(_react.default.Component); -},1894,[3,6,7,11,13,14,16,179,1895]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.PaywallPopup = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[9]); - - var _keyboardAvoidingComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - var _PaywallAJAX = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); - - var _PaywallLoginStatus = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); - - var _paywall = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); - - var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); - - var Analytics = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[16])); - - var _webUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[17])); - - var _Paywall = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var ANIMATION_DURATION = 500; - - var PaywallPopup = exports.PaywallPopup = function (_React$Component) { - function PaywallPopup(props) { - var _this; - - (0, _classCallCheck2.default)(this, PaywallPopup); - _this = _callSuper(this, PaywallPopup, [props]); - _this.close = _this._close.bind(_this); - _this.gracefulUnhide = _this._gracefulUnhide.bind(_this); - _this.handleLocals = _this._handleLocals.bind(_this); - _this.onLinkClicked = _this._onLinkClicked.bind(_this); - _this.state = { - display: props.initialRender, - isVisible: false, - fadeAnim: new _reactNative.Animated.Value(0), - forceAutoLogin: props.forceAutoLogin - }; - return _this; - } - - (0, _inherits2.default)(PaywallPopup, _React$Component); - return (0, _createClass2.default)(PaywallPopup, [{ - key: "componentDidMount", - value: function componentDidMount() { - var _this2 = this; - - this.openPopupEvent = _$$_REQUIRE(_dependencyMap[19]).EventRegister.on(_events.default.PAYWALL_OPEN_POPUP, function (_ref) { - var config = _ref.config; - - _this2.setState(Object.assign({ - display: true - }, config)); - }); - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - _$$_REQUIRE(_dependencyMap[19]).EventRegister.rm(this.openPopupEvent); - } - }, { - key: "_handleLocals", - value: function () { - var _handleLocals2 = (0, _asyncToGenerator2.default)(function* (_ref2) { - var _this3 = this; - - var domain = _ref2.domain, - getParams = _ref2.getParams; - var isInvisible = this.props.isInvisible; - var forceAutoLogin = this.state.forceAutoLogin; - - if (domain.includes("loaded")) { - if (!isInvisible) { - this._gracefulUnhide(); - } - - if (forceAutoLogin) { - this._sendUserInfo(); - } - } else if (domain.includes("user_login")) { - PaywallPopup.log("user logging in"); - var user = getParams.user, - pwdEncrypt = getParams.pwdEncrypt, - remember = getParams.remember, - token = getParams.token, - user_subscriptions = getParams.user_subscriptions, - challenge = getParams.challenge, - extid = getParams.extid, - adFree = getParams.adFree, - ACI = getParams.ACI; - - if (!user) { - PaywallPopup.log("no user returned after login"); - return; - } - - if (remember === "1") { - PaywallPopup.log("user wants to be remembered"); - - if (token || pwdEncrypt) { - var credentials = { - user: user - }; - - if (token) { - credentials.token = token; - } - - if (pwdEncrypt) { - credentials.pwdEncrypt = pwdEncrypt; - credentials.challenge = challenge; - } - - _PaywallLoginStatus.default.remember(credentials); - } else { - PaywallPopup.log("no credentials provided!"); - } - } else { - _PaywallLoginStatus.default.remember({ - user: user - }); - } - - if (extid) { - PaywallPopup.log("store user extid: " + extid); - - _PaywallLoginStatus.default.setExtId(extid); - - yield Analytics.sendExternalIdToAnalytics(); - } - - var subscriptions = user_subscriptions ? user_subscriptions.split(",") : [_$$_REQUIRE(_dependencyMap[20]).unregisteredSubscriptionType]; - var outcome = { - logged: true, - subscriptions: subscriptions, - adFree: adFree, - lastLoginTimestamp: new Date().getTime() - }; - - _Paywall.default.handleLoginSuccess(outcome, ACI, !isInvisible && forceAutoLogin); - } else if (domain.includes("user_give_up")) { - _$$_REQUIRE(_dependencyMap[19]).EventRegister.emit(_events.default.PAYWALL_GO_BACK_HOME); - - this._gracefulClose(); - } else if (domain.includes("user_logout")) { - var _ACI = getParams.ACI; - - _Paywall.default.logout(_ACI, true); - } else if (domain.includes("user_getInfo")) { - this._sendUserInfo(); - } else if (domain.includes("session_expired")) { - _Paywall.default.handleSessionExpired(function () { - PaywallPopup.log("session refreshed, reload the popup"); - - _this3.webview.reload(); - }); - } else if (domain.includes("login_connection_error")) { - this._gracefulClose(); - } else if (domain.includes("close")) { - this._gracefulClose(); - } else if (domain.includes("openInAppPurchaseLinkClicked")) { - _NavigationService.default.main.reset("NewsmemoryNavigator", { - tab: _$$_REQUIRE(_dependencyMap[21]).tabs.access - }); - - _Paywall.default.remove(); - } else if (domain.includes("openLoginPage")) { - _NavigationService.default.main.reset("NewsmemoryNavigator", { - tab: _$$_REQUIRE(_dependencyMap[21]).tabs.account - }); - - _Paywall.default.remove(); - } else if (domain.includes("openInAppBrowser")) { - var url = getParams.url; - - this._openInAppBrowser(url); - } - }); - - function _handleLocals(_x) { - return _handleLocals2.apply(this, arguments); - } - - return _handleLocals; - }() - }, { - key: "_onLinkClicked", - value: function _onLinkClicked(url) { - this._openInAppBrowser(url); - - return true; - } - }, { - key: "_openInAppBrowser", - value: function _openInAppBrowser(url) { - var onReopen = this.props.onReopen; - this.close(); - - _NavigationService.default.main.navigate("WebScreen", { - url: url, - onClose: onReopen - }); - } - }, { - key: "hide", - value: function hide() { - this.setState({ - isVisible: false, - fadeAnim: new _reactNative.Animated.Value(0) - }); - } - }, { - key: "unhide", - value: function unhide() { - this.setState({ - isVisible: true - }); - } - }, { - key: "_gracefulUnhide", - value: function _gracefulUnhide() { - this.unhide(); - - _reactNative.Animated.timing(this.state.fadeAnim, { - toValue: 1, - duration: ANIMATION_DURATION, - useNativeDriver: true - }).start(); - } - }, { - key: "_gracefulClose", - value: function _gracefulClose() { - var _this4 = this; - - _reactNative.Animated.timing(this.state.fadeAnim, { - toValue: 0, - duration: ANIMATION_DURATION, - useNativeDriver: true - }).start(function () { - _this4._close(); - }); - } - }, { - key: "_close", - value: function _close() { - var onClose = this.props.onClose; - this.setState({ - display: false - }); - - if (onClose) { - onClose(); - } else { - PaywallPopup.log("onClose method not implemented"); - } - } - }, { - key: "_execJavaScript", - value: function _execJavaScript(jsToExec) { - if (this.webview) { - PaywallPopup.log("execute js in the webview: " + jsToExec); - this.webview.injectJavaScript(jsToExec); - } - } - }, { - key: "_sendUserInfo", - value: function _sendUserInfo() { - var credentials = _PaywallLoginStatus.default.getCredentials(); - - if (credentials) { - var user = credentials.user, - pwdEncrypt = credentials.pwdEncrypt, - challenge = credentials.challenge, - token = credentials.token; - var jsToExec = null; - - if (user && pwdEncrypt) { - jsToExec = "ta_getUserInfoPwdEncrypted('" + user + "','" + pwdEncrypt + "','" + (challenge || "") + "');"; - } else if (token) { - jsToExec = "ta_checkToken('" + token + "')"; - } - - if (jsToExec) { - this._execJavaScript(jsToExec); - } - } - } - }, { - key: "render", - value: function render() { - var _this5 = this; - - var _this$state = this.state, - display = _this$state.display, - isVisible = _this$state.isVisible, - fadeAnim = _this$state.fadeAnim; - var _this$props = this.props, - type = _this$props.type, - ACI = _this$props.ACI, - isInvisible = _this$props.isInvisible, - productsLeft = _this$props.productsLeft, - onOpen = _this$props.onOpen, - isAutoHeight = _this$props.isAutoHeight, - autoHeightWebViewProps = _this$props.autoHeightWebViewProps; - - if (display) { - var extraParams = ACI ? { - ACI: ACI, - productType: _Paywall.default.getProductType(ACI) - } : {}; - - if (productsLeft) { - extraParams = Object.assign({}, extraParams, { - productsLeft: productsLeft - }); - } - - var uri = _PaywallAJAX.default.getPopupURL(type, extraParams); - - var showPopup = !isInvisible && isVisible; - var style = showPopup ? _paywall.default.modal : _paywall.default.invisible; - - if (typeof onOpen === "function" && showPopup) { - onOpen(); - } - - var _global$getRSSActiveP = global.getRSSActivePSetup(), - overrideNewsMemoryUserAgent = _global$getRSSActiveP.overrideNewsMemoryUserAgent; - - var userAgent = overrideNewsMemoryUserAgent || _$$_REQUIRE(_dependencyMap[22]).PlatformUtils.getUserAgent(); - - var commonProps = { - source: { - uri: uri - }, - enableKeyboardResize: _$$_REQUIRE(_dependencyMap[22]).PlatformUtils.isAndroid(), - onLocal: this.handleLocals, - onLinkClicked: this.onLinkClicked, - automaticallyAdjustContentInsets: true, - startInLoadingState: _$$_REQUIRE(_dependencyMap[23]).LoadingStatePosition.none, - style: { - backgroundColor: _$$_REQUIRE(_dependencyMap[22]).colors.transparent - }, - browser: true, - userAgent: userAgent, - injectedJavaScript: _webUtils.default.getThemeClassesScript() - }; - - if (isAutoHeight) { - return (0, _$$_REQUIRE(_dependencyMap[24]).jsx)(_$$_REQUIRE(_dependencyMap[25]).AutoHeightWebView, Object.assign({ - webviewRef: function webviewRef(ref) { - _this5.webview = ref; - }, - htmlContentId: PaywallPopup.getHtmlContentIdByType(type) - }, autoHeightWebViewProps, commonProps)); - } - - return (0, _$$_REQUIRE(_dependencyMap[24]).jsx)(_reactNative.Animated.View, { - style: Object.assign({}, style, { - opacity: fadeAnim - }), - children: (0, _$$_REQUIRE(_dependencyMap[24]).jsx)(_keyboardAvoidingComponent.default, { - children: (0, _$$_REQUIRE(_dependencyMap[24]).jsx)(_$$_REQUIRE(_dependencyMap[26]).BaseWebView, Object.assign({ - innerRef: function innerRef(ref) { - _this5.webview = ref; - }, - scrollEnabled: false - }, commonProps)) - }) - }); - } - - return null; - } - }], [{ - key: "log", - value: function log(message) {} - }, { - key: "getHtmlContentIdByType", - value: function getHtmlContentIdByType(type) { - var id; - - switch (type) { - case _$$_REQUIRE(_dependencyMap[20]).popupTypes.login: - id = "ta_loginFormPopup"; - break; - - case _$$_REQUIRE(_dependencyMap[20]).popupTypes.account: - id = "ta_userProfilePopup"; - break; - - case _$$_REQUIRE(_dependencyMap[20]).popupTypes.productsLeft: - id = "ta_productsLeftPopup"; - break; - - case _$$_REQUIRE(_dependencyMap[20]).popupTypes.welcome: - id = "ta_paymentAlertPopup"; - break; - - case _$$_REQUIRE(_dependencyMap[20]).popupTypes.blocking: - default: - id = "ta_paywall"; - break; - } - - return id; - } - }]); - }(_react.default.Component); - - PaywallPopup.propTypes = { - type: _propTypes.default.string, - ACI: _propTypes.default.string, - onOpen: _propTypes.default.func, - onReopen: _propTypes.default.func, - onClose: _propTypes.default.func, - initialRender: _propTypes.default.bool, - isInvisible: _propTypes.default.bool, - productsLeft: _propTypes.default.number, - forceAutoLogin: _propTypes.default.bool, - isAutoHeight: _propTypes.default.bool, - autoHeightWebViewProps: _propTypes.default.object - }; - PaywallPopup.defaultProps = { - initialRender: true, - isInvisible: false, - forceAutoLogin: false, - isAutoHeight: false, - autoHeightWebViewProps: {} - }; -},1895,[3,270,6,7,11,13,14,568,16,18,840,436,1891,1892,1896,1888,1897,852,1889,550,1893,864,438,1919,179,1923,1927]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.HEADER_HEIGHT_NO_IMAGE = exports.HEADER_HEIGHT_BASE = exports.HEADER_HEIGHT = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var HEADER_HEIGHT = exports.HEADER_HEIGHT = 300; - var HEADER_HEIGHT_NO_IMAGE = exports.HEADER_HEIGHT_NO_IMAGE = 50; - var HEADER_HEIGHT_BASE = exports.HEADER_HEIGHT_BASE = _reactNative.StyleSheet.hairlineWidth; - - var _default = exports.default = _reactNative.StyleSheet.create({ - modal: { - position: "absolute", - top: 0, - left: 0, - right: 0, - bottom: 0, - backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.transparent - }, - invisible: { - height: 0, - backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.transparent - } - }); -},1896,[18,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.clearRecently = clearRecently; - exports.initAnalytics = initAnalytics; - exports.initGoogleAnalyticsFirebase = initGoogleAnalyticsFirebase; - exports.initMatomo = initMatomo; - exports.initMatomoTracker = initMatomoTracker; - exports.resetAdobeAnalyticsFirstScrolledSent = resetAdobeAnalyticsFirstScrolledSent; - exports.sendAdFailedError = sendAdFailedError; - exports.sendAdSuccess = sendAdSuccess; - exports.sendExternalIdToAnalytics = sendExternalIdToAnalytics; - exports.trackADBMobileAction = trackADBMobileAction; - exports.trackADBMobileState = trackADBMobileState; - exports.trackATTPermission = trackATTPermission; - exports.trackCustomFirebaseEvent = trackCustomFirebaseEvent; - exports.trackCustomFirebaseScreen = trackCustomFirebaseScreen; - exports.trackEnterBackground = trackEnterBackground; - exports.trackEnterForeground = trackEnterForeground; - exports.trackEvent = trackEvent; - exports.trackFeedback = trackFeedback; - exports.trackRempAccount = trackRempAccount; - exports.trackScreen = trackScreen; - exports.trackStartup = trackStartup; - exports.trackWebInterstitial = trackWebInterstitial; - exports.updateAnalytics = updateAnalytics; - exports.updateAnalyticsClientList = updateAnalyticsClientList; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _LiveConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _Manager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - function initAnalytics() { - return _initAnalytics.apply(this, arguments); - } - - function _initAnalytics() { - _initAnalytics = (0, _asyncToGenerator2.default)(function* () { - return _Manager.default.init(); - }); - return _initAnalytics.apply(this, arguments); - } - - function initMatomo() { try { - var _trackerManager$matom; + var SCROLLED = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.SCROLLED, + READ = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.READ, + ZOOM = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.ZOOM, + SHARE = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.SHARE, + PAGE_CLICK = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.PAGE_CLICK, + ARTICLE_CLICK = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.ARTICLE_CLICK, + VIDEO = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.VIDEO, + GALLERY = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.GALLERY, + ARTICLE_GALLERY = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.ARTICLE_GALLERY, + INDEX = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.INDEX, + SECTION_INDEX = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.SECTION_INDEX, + OPTIONSPAGE = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.OPTIONSPAGE, + THUMBS = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.THUMBS; - (_trackerManager$matom = _Manager.default.matomoTracker) == null ? undefined : _trackerManager$matom.init(); - } catch (e) {} - } + switch (action) { + case READ: + result.event = mapReadOnEvent(params); + result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.READ; + break; - function initMatomoTracker() { + case ZOOM: + result.event = mapZoomOnEvent(params); + result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.ZOOM; + break; + + case SCROLLED: + result.event = mapScrolledOnEvent(params); + result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.SCROLLED; + break; + + case ARTICLE_CLICK: + result.event = mapArticleClickThroughOnEvent(params); + break; + + case SHARE: + result.event = mapShareOnEvent(params); + break; + + case GALLERY: + result.event = mapGalleryOnEvent(params); + result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.GALLERY; + break; + + case ARTICLE_GALLERY: + result.event = mapArticleGalleryOnEvent(params); + result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.ARTICLE_GALLERY; + break; + + case VIDEO: + result.event = mapVideoOnEvent(params); + break; + + case PAGE_CLICK: + result.event = mapPageClickThroughOnEvent(params); + break; + + case INDEX: + result.event = mapIndexOnEvent(params); + result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.INDEX; + break; + + case SECTION_INDEX: + result.event = mapSectionIndexOnEvent(params); + result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.SECTION_INDEX.replace("##section##", section); + break; + + case OPTIONSPAGE: + result.event = mapOptionspageOnEvent(params); + result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.OPTIONSPAGE.replace("##tab##", tab); + break; + + case THUMBS: + result.event = mapThumbnailsOnEvent(params); + result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.THUMBS; + break; + } + } catch (e) { + throw e; + } + + return result; + }; + + var eventMapping = exports.eventMapping = function eventMapping(params) { try { - var _trackerManager$matom2; + var category = params.category; - (_trackerManager$matom2 = _Manager.default.matomoMasTracker) == null ? undefined : _trackerManager$matom2.init(); - } catch (e) {} - } + var SOCIAL_SHARE = _$$_REQUIRE(_dependencyMap[1]).analyticsEventTypes.SOCIAL_SHARE; - function initGoogleAnalyticsFirebase() { - return _initGoogleAnalyticsFirebase.apply(this, arguments); - } - - function _initGoogleAnalyticsFirebase() { - _initGoogleAnalyticsFirebase = (0, _asyncToGenerator2.default)(function* () { - var _trackerManager$fireb3, _trackerManager$webTr3; - - var force = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; - yield (_trackerManager$fireb3 = _Manager.default.firebaseTracker) == null ? undefined : _trackerManager$fireb3.init(); - yield (_trackerManager$webTr3 = _Manager.default.webTracker) == null ? undefined : _trackerManager$webTr3.init(force); - }); - return _initGoogleAnalyticsFirebase.apply(this, arguments); - } - - function updateAnalyticsClientList() { - var _trackerManager$gaTra; - - (_trackerManager$gaTra = _Manager.default.gaTracker) == null ? undefined : _trackerManager$gaTra.updateClientList(); - } - - function updateAnalytics() { - return _updateAnalytics.apply(this, arguments); - } - - function _updateAnalytics() { - _updateAnalytics = (0, _asyncToGenerator2.default)(function* () { - var _trackerManager$webTr4; - - updateAnalyticsClientList(); - yield (_trackerManager$webTr4 = _Manager.default.webTracker) == null ? undefined : _trackerManager$webTr4.init(); - (0, _$$_REQUIRE(_dependencyMap[4]).addDebugOperation)("updateAnalytics", "done"); - }); - return _updateAnalytics.apply(this, arguments); - } - - function resetAdobeAnalyticsFirstScrolledSent() { - _Manager.default.resetAdobeAnalyticsFirstScrolledSent(); - } - - function sendExternalIdToAnalytics() { - return _sendExternalIdToAnalytics.apply(this, arguments); - } - - function _sendExternalIdToAnalytics() { - _sendExternalIdToAnalytics = (0, _asyncToGenerator2.default)(function* () { - var _global$getMainPSetup = global.getMainPSetup(), - firebaseAnalyticsSendExternalId = _global$getMainPSetup.firebaseAnalyticsSendExternalId; - - if (firebaseAnalyticsSendExternalId) { - yield initGoogleAnalyticsFirebase(true); + switch (category) { + case SOCIAL_SHARE: + params.socialPlatform = (0, _$$_REQUIRE(_dependencyMap[0]).getShareTypeByApp)(params.socialPlatform); + break; } - }); - return _sendExternalIdToAnalytics.apply(this, arguments); - } - - function trackScreen(screen, params, customDimensions) { - if (_LiveConfig.default.isRssSide() || !_Manager.default.checkIfScreenIsAlreadySent("" + screen)) { - _Manager.default.addToScreenRecentlyVisited("" + screen); - - _Manager.default.trackScreen(screen, params, customDimensions); - - return true; + } catch (e) { + throw e; } - return false; - } - - function trackEvent(params) { - var str = JSON.stringify(params); - - if (!_Manager.default.checkIfEventIsAlreadySent(str)) { - _Manager.default.addToEventRecentlyVisited(str); - - _Manager.default.trackEvent(params); - - return true; - } - - return false; - } - - function trackCustomFirebaseEvent(_ref) { - var customEvent = _ref.customEvent, - customParams = _ref.customParams; - var str = customEvent + "_" + JSON.stringify(customParams); - - if (!_Manager.default.checkIfFirebaseEventIsAlreadySent(str)) { - var _trackerManager$fireb, _trackerManager$webTr; - - _Manager.default.addToFirebaseEventRecentlyVisited(str); - - (_trackerManager$fireb = _Manager.default.firebaseTracker) == null ? undefined : _trackerManager$fireb.trackEvent(customEvent, customParams); - (_trackerManager$webTr = _Manager.default.webTracker) == null ? undefined : _trackerManager$webTr.trackEvent(customEvent, customParams); - return true; - } - - return false; - } - - function sendAdFailedError(params) { - trackCustomFirebaseEvent({ - customEvent: "advertisement_failed", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[5]).mapParamsToFirebaseCustomDimensions)(params), params) - }); - } - - function sendAdSuccess(params) { - trackCustomFirebaseEvent({ - customEvent: "advertisement_loaded", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[5]).mapParamsToFirebaseCustomDimensions)(params), params) - }); - } - - function trackATTPermission(action) { - if (action !== "unavailable") { - var event = "apple_att_permission"; - var device = (0, _$$_REQUIRE(_dependencyMap[5]).gaBreakout)(); - trackEvent({ - category: event, - action: action, - device: device - }); - trackCustomFirebaseEvent({ - customEvent: event, - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[5]).mapParamsToFirebaseCustomDimensions)({ - action: action - }), { - action: action, - device: device - }) - }); - } - } - - function trackWebInterstitial(model, action) { - if (model) { - var event = model.getScreenType(); - var name = model.getScreenName(); - var id = model.getId(); - var screen = (0, _$$_REQUIRE(_dependencyMap[5]).getScreenString)({ - type: event, - name: name, - id: id - }); - var params = { - id: id, - name: name, - action: action, - screen: screen, - type: "web" - }; - trackCustomFirebaseEvent({ - customEvent: event, - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[5]).mapParamsToFirebaseCustomDimensions)(params), params) - }); - trackScreen(screen, Object.assign({ - event: event - }, params)); - } - } - - function trackADBMobileAction(action, params) { - try { - var _trackerManager$admob; - - (_trackerManager$admob = _Manager.default.admobileTracker) == null ? undefined : _trackerManager$admob.trackAction(action, params); - } catch (e) {} - } - - function trackADBMobileState(state, params) { - try { - var _trackerManager$admob2; - - (_trackerManager$admob2 = _Manager.default.admobileTracker) == null ? undefined : _trackerManager$admob2.trackState(state, params); - } catch (e) {} - } - - function trackRempAccount(rParam) { - if (!_Manager.default.checkIfRempIsAlreadySent(rParam)) { - var _trackerManager$rempT; - - _Manager.default.addToRempRecentlyVisited(rParam); - - (_trackerManager$rempT = _Manager.default.rempTracker) == null ? undefined : _trackerManager$rempT.trackScreen(rParam); - return true; - } - - return false; - } - - function trackCustomFirebaseScreen(screenName) { - var pagePath = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; - var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - var str = screenName; - - if (pagePath) { - str += "_" + pagePath; - } - - if (!_Manager.default.checkIfFirebaseScreenIsAlreadySent(str)) { - var _trackerManager$fireb2, _trackerManager$webTr2; - - _Manager.default.addToFirebaseScreenRecentlyVisited(str); - - var customParams = (0, _$$_REQUIRE(_dependencyMap[5]).mapParamsToFirebaseCustomDimensions)(params); - (_trackerManager$fireb2 = _Manager.default.firebaseTracker) == null ? undefined : _trackerManager$fireb2.trackScreen(screenName, customParams); - var pageLocation; - - var _global$getActivePSet = global.getActivePSetup(), - machine = _global$getActivePSet.machine; - - if (machine) { - pageLocation = _$$_REQUIRE(_dependencyMap[6]).NetworkUtils.addDefaultProtocol(machine) + pagePath; - } - - (_trackerManager$webTr2 = _Manager.default.webTracker) == null ? undefined : _trackerManager$webTr2.trackScreen(screenName, Object.assign({ - pageLocation: pageLocation - }, customParams)); - return true; - } - - return false; - } - - function clearRecently() { - _Manager.default.clearRecently(); - } - - function trackFeedback(screen) { - _Manager.default.trackFeedback(screen); - } - - function trackStartup() { - _Manager.default.trackStartup(); - } - - function trackEnterForeground() { - var _trackerManager$comsc, _trackerManager$admob3, _trackerManager$chart; - - (_trackerManager$comsc = _Manager.default.comscoreTracker) == null ? undefined : _trackerManager$comsc.onEnterForeground(); - (_trackerManager$admob3 = _Manager.default.admobileTracker) == null ? undefined : _trackerManager$admob3.start(); - (_trackerManager$chart = _Manager.default.chartbeatTracker) == null ? undefined : _trackerManager$chart.onEnterForeground(); - } - - function trackEnterBackground() { - var _trackerManager$comsc2, _trackerManager$admob4, _trackerManager$matom3, _trackerManager$chart2; - - (_trackerManager$comsc2 = _Manager.default.comscoreTracker) == null ? undefined : _trackerManager$comsc2.onExitForeground(); - (_trackerManager$admob4 = _Manager.default.admobileTracker) == null ? undefined : _trackerManager$admob4.pause(); - (_trackerManager$matom3 = _Manager.default.matomoTracker) == null ? undefined : _trackerManager$matom3.dispatch(); - (_trackerManager$chart2 = _Manager.default.chartbeatTracker) == null ? undefined : _trackerManager$chart2.onExitForeground(); - } -},1897,[3,270,1898,1900,801,1903,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.APP_SIDE = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _KeyEvent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var APP_SIDE = exports.APP_SIDE = { - ePaper: "ePaper", - ePaperClassic: "ePaperClassic", - ePaperHTML5: "ePaperHTML5", - rss: "rss" + return params; }; - - var LiveConfigSingleton = function () { - function LiveConfigSingleton() { - var _this = this; - - (0, _classCallCheck2.default)(this, LiveConfigSingleton); - this.rssStartingUp = true; - this.lastRssCategory = ""; - this.startupNavigator = ""; - this.deletedRssDatabase = false; - this.isDrawerOpen = false; - this.appSide = undefined; - this.idEventSetValue = undefined; - this.idEventGetValue = undefined; - this.activeKeys = {}; - this.idEventSetValue = _$$_REQUIRE(_dependencyMap[5]).EventRegister.on(_events.default.LIVE_CONFIG_SET_VALUE, function (_ref) { - var key = _ref.key, - value = _ref.value, - resolve = _ref.resolve, - reject = _ref.reject; - - if (_$$_REQUIRE(_dependencyMap[6]).JSUtils.hasProperty(_this, key)) { - _this[key] = value; - - _this._resolvePromise(resolve, _this[key]); - } else { - _this._rejectPromise(reject, key); - } - }); - this.idEventGetValue = _$$_REQUIRE(_dependencyMap[5]).EventRegister.on(_events.default.LIVE_CONFIG_GET_VALUE, function (_ref2) { - var key = _ref2.key, - resolve = _ref2.resolve, - reject = _ref2.reject; - - if (_$$_REQUIRE(_dependencyMap[6]).JSUtils.hasProperty(_this, key)) { - _this._resolvePromise(resolve, _this[key]); - } else { - _this._rejectPromise(reject, key); - } - }); - } - - return (0, _createClass2.default)(LiveConfigSingleton, [{ - key: "set", - value: function set(key, value) { - if (_$$_REQUIRE(_dependencyMap[6]).JSUtils.hasProperty(this, key)) { - this[key] = value; - } - } - }, { - key: "get", - value: function get(key) { - return this[key]; - } - }, { - key: "_resolvePromise", - value: function _resolvePromise(resolve, result) { - if (typeof resolve === "function") { - resolve(result); - } - } - }, { - key: "_rejectPromise", - value: function _rejectPromise(reject, key) { - if (typeof reject === "function") { - reject(new Error(key + " not found")); - } - } - }]); - }(); - - var LiveConfig = exports.default = function () { - function LiveConfig() { - (0, _classCallCheck2.default)(this, LiveConfig); - } - - return (0, _createClass2.default)(LiveConfig, null, [{ - key: "init", - value: function init() { - LiveConfig.instance = new LiveConfigSingleton(); - } - }, { - key: "getInstance", - value: function getInstance() { - if (LiveConfig.instance === undefined) { - LiveConfig.init(); - } - - return LiveConfig.instance; - } - }, { - key: "isDrawerOpen", - value: function isDrawerOpen() { - return LiveConfig.getInstance().get("isDrawerOpen"); - } - }, { - key: "setDrawerOpen", - value: function setDrawerOpen(value) { - LiveConfig.getInstance().set("isDrawerOpen", value); - } - }, { - key: "isRssDbDeleted", - value: function isRssDbDeleted() { - return LiveConfig.getInstance().get("deletedRssDatabase"); - } - }, { - key: "setRssDbDeleted", - value: function setRssDbDeleted(value) { - LiveConfig.getInstance().set("deletedRssDatabase", value); - } - }, { - key: "isRssStartingUp", - value: function isRssStartingUp() { - return LiveConfig.getInstance().get("rssStartingUp"); - } - }, { - key: "setRssStartingUp", - value: function setRssStartingUp(value) { - LiveConfig.getInstance().set("rssStartingUp", value); - } - }, { - key: "getLastRssCategory", - value: function getLastRssCategory() { - return LiveConfig.getInstance().get("lastRssCategory") || global.lastRssCategory; - } - }, { - key: "setLastRssCategory", - value: function setLastRssCategory(value) { - global.lastRssCategory = value; - LiveConfig.getInstance().set("lastRssCategory", value); - } - }, { - key: "resetLastRssCategory", - value: function resetLastRssCategory() { - global.lastRssCategory = undefined; - LiveConfig.getInstance().set("lastRssCategory", undefined); - } - }, { - key: "getStartUpNavigator", - value: function getStartUpNavigator() { - return LiveConfig.getInstance().get("startupNavigator"); - } - }, { - key: "setStartUpNavigator", - value: function setStartUpNavigator(value) { - LiveConfig.getInstance().set("startupNavigator", value); - } - }, { - key: "getAppSide", - value: function getAppSide() { - return LiveConfig.getInstance().get("appSide"); - } - }, { - key: "getActiveKeys", - value: function getActiveKeys() { - return LiveConfig.getInstance().get("activeKeys") || {}; - } - }, { - key: "setSide", - value: function setSide(side) { - global.lastAppSide = side; - LiveConfig.getInstance().set("appSide", side); - } - }, { - key: "setEpaperSide", - value: function setEpaperSide() { - LiveConfig.setSide(APP_SIDE.ePaper); - } - }, { - key: "setEpaperClassicSide", - value: function setEpaperClassicSide() { - LiveConfig.setSide(APP_SIDE.ePaperClassic); - } - }, { - key: "setEpaperHTML5Side", - value: function setEpaperHTML5Side() { - LiveConfig.setSide(APP_SIDE.ePaperHTML5); - } - }, { - key: "setRssSide", - value: function setRssSide() { - LiveConfig.setSide(APP_SIDE.rss); - } - }, { - key: "isEpaperSide", - value: function isEpaperSide() { - var side = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : LiveConfig.getAppSide(); - return side === APP_SIDE.ePaper; - } - }, { - key: "isEpaperClassicSide", - value: function isEpaperClassicSide() { - var side = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : LiveConfig.getAppSide(); - return side === APP_SIDE.ePaperClassic; - } - }, { - key: "isEpaperHTML5Side", - value: function isEpaperHTML5Side() { - var side = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : LiveConfig.getAppSide(); - return side === APP_SIDE.ePaperHTML5; - } - }, { - key: "isRssSide", - value: function isRssSide() { - var side = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : LiveConfig.getAppSide(); - return side === APP_SIDE.rss; - } - }, { - key: "keyDown", - value: function keyDown(event) { - var activeKeys = LiveConfig.getActiveKeys(); - activeKeys[event.keyCode] = event; - LiveConfig.getInstance().set("activeKeys", activeKeys); - } - }, { - key: "keyUp", - value: function keyUp(event) { - var activeKeys = LiveConfig.getActiveKeys(); - delete activeKeys[event.keyCode]; - LiveConfig.getInstance().set("activeKeys", activeKeys); - } - }, { - key: "getSortedKeys", - value: function getSortedKeys() { - var activeKeys = LiveConfig.getActiveKeys(); - - if (!activeKeys) { - throw new Error("no keys set"); - } - - var keysPressed = Object.values(activeKeys); - return keysPressed.sort(function (keyA, keyB) { - return keyA.downTime - keyB.downTime; - }); - } - }, { - key: "getKeysCombo", - value: function getKeysCombo() { - return LiveConfig.getSortedKeys().map(function (event) { - return event.getPressed(); - }).join("_"); - } - }, { - key: "getKeysComboNoRL", - value: function getKeysComboNoRL() { - return LiveConfig.getSortedKeys().map(function (event) { - return event.getPressed().replace(/_(LEFT|RIGHT)/g, ""); - }).join("_"); - } - }]); - }(); -},1898,[3,6,7,436,1899,550,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.VOICE_GROUPS = exports.KEY_GROUPS = exports.ANY_KEY = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[3]); - - var KEYS_MAP = _reactNative.Platform.select({ - ios: { - 4: "A", - 5: "B", - 6: "C", - 7: "D", - 8: "E", - 9: "F", - 10: "G", - 11: "H", - 12: "I", - 13: "J", - 14: "K", - 15: "L", - 16: "M", - 17: "N", - 18: "O", - 19: "P", - 20: "Q", - 21: "R", - 22: "S", - 23: "T", - 24: "U", - 25: "V", - 26: "W", - 27: "X", - 28: "Y", - 29: "Z", - 30: "1", - 31: "2", - 32: "3", - 33: "4", - 34: "5", - 35: "6", - 36: "7", - 37: "8", - 38: "9", - 39: "0", - 40: "ENTER", - 41: "ESCAPE", - 42: "DEL", - 43: "TAB", - 44: "SPACE", - 48: "+", - 56: "-", - 74: "MOVE_HOME", - 75: "PAGE_UP", - 77: "MOVE_END", - 78: "PAGE_DOWN", - 79: "DPAD_RIGHT", - 80: "DPAD_LEFT", - 81: "DPAD_DOWN", - 82: "DPAD_UP", - 86: "NUMPAD_SUBTRACT", - 87: "NUMPAD_ADD", - 88: "NUMPAD_ENTER", - 89: "NUMPAD_1", - 90: "NUMPAD_2", - 91: "NUMPAD_3", - 92: "NUMPAD_4", - 93: "NUMPAD_5", - 94: "NUMPAD_6", - 95: "NUMPAD_7", - 96: "NUMPAD_8", - 97: "NUMPAD_9", - 98: "NUMPAD_0", - 99: "NUMPAD_DOT", - 117: "HELP", - 224: "CTRL_LEFT", - 225: "SHIFT_LEFT", - 226: "ALT_LEFT", - 228: "CTRL_RIGHT", - 229: "SHIFT_RIGHT", - 230: "ALT_RIGHT" - }, - android: { - 3: "HOME", - 7: "0", - 8: "1", - 9: "2", - 10: "3", - 11: "4", - 12: "5", - 13: "6", - 14: "7", - 15: "8", - 16: "9", - 19: "DPAD_UP", - 20: "DPAD_DOWN", - 21: "DPAD_LEFT", - 22: "DPAD_RIGHT", - 23: "DPAD_CENTER", - 29: "A", - 30: "B", - 31: "C", - 32: "D", - 33: "E", - 34: "F", - 35: "G", - 36: "H", - 37: "I", - 38: "J", - 39: "K", - 40: "L", - 41: "M", - 42: "N", - 43: "O", - 44: "P", - 45: "Q", - 46: "R", - 47: "S", - 48: "T", - 49: "U", - 50: "V", - 51: "W", - 52: "X", - 53: "Y", - 54: "Z", - 57: "ALT_LEFT", - 58: "ALT_RIGHT", - 59: "SHIFT_LEFT", - 60: "SHIFT_RIGHT", - 62: "SPACE", - 61: "TAB", - 66: "ENTER", - 67: "DEL", - 69: "-", - 81: "+", - 84: "SEARCH", - 92: "PAGE_UP", - 93: "PAGE_DOWN", - 111: "ESCAPE", - 113: "CTRL_LEFT", - 114: "CTRL_RIGHT", - 122: "MOVE_HOME", - 123: "MOVE_END", - 144: "NUMPAD_0", - 145: "NUMPAD_1", - 146: "NUMPAD_2", - 147: "NUMPAD_3", - 148: "NUMPAD_4", - 149: "NUMPAD_5", - 150: "NUMPAD_6", - 151: "NUMPAD_7", - 152: "NUMPAD_8", - 153: "NUMPAD_9", - 156: "NUMPAD_SUBTRACT", - 157: "NUMPAD_ADD", - 158: "NUMPAD_DOT", - 160: "NUMPAD_ENTER", - 168: "ZOOM_IN", - 169: "ZOOM_OUT", - 176: "SETTINGS", - 259: "HELP" - } - }); - - var ANY_KEY = exports.ANY_KEY = "ANY"; - var VOICE_GROUPS = exports.VOICE_GROUPS = { - GO_UP: function GO_UP() { - return [global.strings("voice_back")]; - }, - WHAT: function WHAT() { - return [global.strings("voice_what")]; - }, - NEXT: function NEXT() { - return [global.strings("voice_next")]; - }, - NEXT_PAGE: function NEXT_PAGE() { - return [global.strings("voice_next_page")]; - }, - PREVIOUS: function PREVIOUS() { - return [global.strings("voice_previous")]; - }, - PREVIOUS_PAGE: function PREVIOUS_PAGE() { - return [global.strings("voice_previous_page")]; - }, - STOP: function STOP() { - return [global.strings("voice_stop")]; - }, - READ: function READ() { - return [global.strings("voice_read")]; - }, - CLOSE_APP: function CLOSE_APP() { - return [global.strings("voice_close")]; - }, - ITEM_UP: function ITEM_UP() { - return [global.strings("voice_up")]; - }, - ITEM_DOWN: function ITEM_DOWN() { - return [global.strings("voice_down")]; - }, - ITEM_SELECT: function ITEM_SELECT() { - return [global.strings("voice_select")]; - } - }; - var KEY_GROUPS = exports.KEY_GROUPS = { - ANY: [ANY_KEY], - CLOSE: ["ESCAPE"], - SUBMIT: ["ENTER", "NUMPAD_ENTER"], - OPEN: ["5", "NUMPAD_5", "O", "NUMPAD_DOT"], - SELECT: ["5", "NUMPAD_5", "O", "ENTER", "NUMPAD_ENTER"], - LEFT: ["4", "NUMPAD_4", "J", "DPAD_LEFT"], - RIGHT: ["6", "NUMPAD_6", "L", "DPAD_RIGHT"], - UP: ["8", "NUMPAD_8", "I", "DPAD_UP"], - DOWN: ["2", "NUMPAD_2", "K", "DPAD_DOWN"], - PAGE_UP: ["9", "NUMPAD_9", "N", "PAGE_UP"], - PAGE_DOWN: ["3", "NUMPAD_3", "M", "PAGE_DOWN"], - HOME: ["7", "NUMPAD_7", "MOVE_HOME"], - END: ["1", "NUMPAD_1", "MOVE_END"], - MORE: ["+", "NUMPAD_ADD"], - LESS: ["-", "NUMPAD_SUBTRACT"], - DELETE: ["DEL"] - }; - - var KeyEvent = exports.default = function () { - function KeyEvent(event) { - (0, _classCallCheck2.default)(this, KeyEvent); - Object.assign(this, event); - } - - return (0, _createClass2.default)(KeyEvent, [{ - key: "getPressed", - value: function getPressed() { - return KEYS_MAP[this.keyCode] || ""; - } - }]); - }(); -},1899,[3,6,7,18]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _sdkUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var isScreenValid = function isScreenValid(screen) { - return screen.split("/").filter(function (part) { - return part === "null" || part === "undefined"; - }).length === 0; - }; - - var MAX_RECENTLY_VISITED = 5; - var TrackersManager = (0, _createClass2.default)(function TrackersManager() { - var _this = this; - - (0, _classCallCheck2.default)(this, TrackersManager); - this.recentlyScreenVisited = []; - this.recentlyEventVisited = []; - this.recentlyFirebaseEventVisited = []; - this.recentlyFirebaseScreenVisited = []; - this.recentlyRempVisited = []; - this.initialized = false; - this.init = (0, _asyncToGenerator2.default)(function* () { - _this.gaTracker = yield new (_$$_REQUIRE(_dependencyMap[5]).Ga3Tracker)().init(); - _this.firebaseTracker = yield new (_$$_REQUIRE(_dependencyMap[6]).FirebaseTracker)().init(); - _this.webTracker = yield new (_$$_REQUIRE(_dependencyMap[7]).WebTracker)().init(); - _this.rempTracker = yield new (_$$_REQUIRE(_dependencyMap[8]).RempTracker)().init(); - _this.matherTracker = yield new (_$$_REQUIRE(_dependencyMap[9]).MatherTracker)().init(); - _this.matomoTracker = yield new (_$$_REQUIRE(_dependencyMap[10]).MatomoTracker)().init(); - _this.matomoMasTracker = yield new (_$$_REQUIRE(_dependencyMap[11]).MatomoMasTracker)().init(); - _this.admobileTracker = yield new (_$$_REQUIRE(_dependencyMap[12]).AdmobileTracker)().init(); - _this.facebookTracker = yield new (_$$_REQUIRE(_dependencyMap[13]).FacebookTracker)().init(); - _this.comscoreTracker = yield new (_$$_REQUIRE(_dependencyMap[14]).ComscoreTracker)().init(); - _this.chartbeatTracker = yield new (_$$_REQUIRE(_dependencyMap[15]).ChartbeatTracker)().init(); - _this.blueconicTracker = yield new (_$$_REQUIRE(_dependencyMap[16]).BlueconicTracker)().init(); - _this.initialized = true; - }); - this.checkIfIsInitialized = (0, _asyncToGenerator2.default)(function* () { - if (!_this.initialized) { - return _this.init(); - } - - return Promise.resolve(); - }); - - this.trackSDKAction = function (type, params) { - if (!params) { - return; - } - - _sdkUtils.default.onTrackAction({ - trackType: type, - data: params - }); - }; - - this.trackStartup = function () { - var _this$gaTracker; - - if (!_this.initialized) { - return; - } - - (_this$gaTracker = _this.gaTracker) == null ? undefined : _this$gaTracker.trackStartup(); - }; - - this.trackFeedback = function (screen) { - var _this$gaTracker2; - - if (!_this.initialized) { - return; - } - - (_this$gaTracker2 = _this.gaTracker) == null ? undefined : _this$gaTracker2.trackFeedback(screen); - }; - - this.trackScreen = function (screen, params, customDimensions) { - var _this$gaTracker3, _this$admobileTracker, _this$matherTracker, _this$matomoTracker, _this$matomoMasTracke, _this$facebookTracker, _this$chartbeatTracke, _this$blueconicTracke; - - if (!_this.initialized) { - return; - } - - if (!isScreenValid(screen)) { - return; - } - - _this._track((_this$gaTracker3 = _this.gaTracker) == null ? undefined : _this$gaTracker3.trackScreen, screen, params, customDimensions); - - var screenParams = Object.assign({ - screen: screen - }, params); - - _this._track((_this$admobileTracker = _this.admobileTracker) == null ? undefined : _this$admobileTracker.trackScreen, screenParams); - - _this._track((_this$matherTracker = _this.matherTracker) == null ? undefined : _this$matherTracker.trackScreen, screenParams); - - _this._track((_this$matomoTracker = _this.matomoTracker) == null ? undefined : _this$matomoTracker.trackScreen, screenParams); - - _this._track((_this$matomoMasTracke = _this.matomoMasTracker) == null ? undefined : _this$matomoMasTracke.trackScreen, screenParams); - - _this._track((_this$facebookTracker = _this.facebookTracker) == null ? undefined : _this$facebookTracker.trackScreen, screenParams); - - _this._track((_this$chartbeatTracke = _this.chartbeatTracker) == null ? undefined : _this$chartbeatTracke.trackScreen, screenParams); - - _this._track((_this$blueconicTracke = _this.blueconicTracker) == null ? undefined : _this$blueconicTracke.trackScreen, screenParams); - - _this.trackSDKAction("screen", screenParams); - }; - - this.trackEvent = function (params) { - var _this$gaTracker4, _this$matherTracker2, _this$matomoTracker2, _this$matomoMasTracke2, _this$admobileTracker2, _this$facebookTracker2, _this$comscoreTracker, _this$chartbeatTracke2, _this$blueconicTracke2; - - if (!_this.initialized) { - return; - } - - _this._track((_this$gaTracker4 = _this.gaTracker) == null ? undefined : _this$gaTracker4.trackEvent, params); - - _this._track((_this$matherTracker2 = _this.matherTracker) == null ? undefined : _this$matherTracker2.trackEvent, params); - - _this._track((_this$matomoTracker2 = _this.matomoTracker) == null ? undefined : _this$matomoTracker2.trackEvent, params); - - _this._track((_this$matomoMasTracke2 = _this.matomoMasTracker) == null ? undefined : _this$matomoMasTracke2.trackEvent, params); - - _this._track((_this$admobileTracker2 = _this.admobileTracker) == null ? undefined : _this$admobileTracker2.trackEvent, params); - - _this._track((_this$facebookTracker2 = _this.facebookTracker) == null ? undefined : _this$facebookTracker2.trackEvent, params); - - _this._track((_this$comscoreTracker = _this.comscoreTracker) == null ? undefined : _this$comscoreTracker.trackEvent, params); - - _this._track((_this$chartbeatTracke2 = _this.chartbeatTracker) == null ? undefined : _this$chartbeatTracke2.trackEvent, params); - - _this._track((_this$blueconicTracke2 = _this.blueconicTracker) == null ? undefined : _this$blueconicTracke2.trackEvent, params); - - _this.trackSDKAction("event", params); - }; - - this.addToScreenRecentlyVisited = function (str) { - _this.addToRecentlyVisited(_this.recentlyScreenVisited, str); - }; - - this.addToEventRecentlyVisited = function (str) { - _this.addToRecentlyVisited(_this.recentlyEventVisited, str); - }; - - this.addToFirebaseEventRecentlyVisited = function (str) { - _this.addToRecentlyVisited(_this.recentlyFirebaseEventVisited, str); - }; - - this.addToFirebaseScreenRecentlyVisited = function (str) { - _this.addToRecentlyVisited(_this.recentlyFirebaseScreenVisited, str); - }; - - this.addToRempRecentlyVisited = function (str) { - _this.addToRecentlyVisited(_this.recentlyRempVisited, str); - }; - - this.checkIfScreenIsAlreadySent = function (str) { - return _this.checkIfIsAlreadySent(_this.recentlyScreenVisited, str); - }; - - this.checkIfEventIsAlreadySent = function (str) { - return _this.checkIfIsAlreadySent(_this.recentlyEventVisited, str); - }; - - this.checkIfFirebaseEventIsAlreadySent = function (str) { - return _this.checkIfIsAlreadySent(_this.recentlyFirebaseEventVisited, str); - }; - - this.checkIfFirebaseScreenIsAlreadySent = function (str) { - return _this.checkIfIsAlreadySent(_this.recentlyFirebaseScreenVisited, str); - }; - - this.checkIfRempIsAlreadySent = function (str) { - return _this.checkIfIsAlreadySent(_this.recentlyRempVisited, str); - }; - - this.clearRecently = function () { - _this.recentlyEventVisited = []; - _this.recentlyFirebaseEventVisited = []; - _this.recentlyFirebaseScreenVisited = []; - _this.recentlyScreenVisited = []; - _this.recentlyRempVisited = []; - }; - - this.addToRecentlyVisited = function (recentlyVisited, str) { - recentlyVisited.push(str); - var max = MAX_RECENTLY_VISITED; - - if (recentlyVisited.length > max) { - recentlyVisited.shift(); - } - }; - - this.checkIfIsAlreadySent = function (recentlyVisited, str) { - for (var i = 0; i < recentlyVisited.length; i++) { - if (str === recentlyVisited[i]) { - return true; - } - } - - return false; - }; - - this.updateClientList = function () { - var _this$gaTracker5; - - (_this$gaTracker5 = _this.gaTracker) == null ? undefined : _this$gaTracker5.updateClientList(); - }; - - this.resetAdobeAnalyticsFirstScrolledSent = function () { - var _this$admobileTracker3; - - (_this$admobileTracker3 = _this.admobileTracker) == null ? undefined : _this$admobileTracker3.resetFirstScrolledSent(); - }; - - this._track = function (trackerMethod) { - try { - for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - trackerMethod.apply(undefined, args); - } catch (e) {} - }; - }); - - var _default = exports.default = new TrackersManager(); -},1900,[3,270,7,6,1901,1902,1907,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var WILL_OPEN_URL_TIMEOUT = 2000; - var TOKEN_EXPIRED_TIMEOUT = 2000; - - var SDKUtils = exports.default = function () { - function SDKUtils() { - (0, _classCallCheck2.default)(this, SDKUtils); - } - - return (0, _createClass2.default)(SDKUtils, null, [{ - key: "close", - value: function () { - var _close = (0, _asyncToGenerator2.default)(function* () { - if (global.isTaAddon()) { - var IOSNewsmemorySDK = _optionalPackageUtils.default.getIOSNewsmemorySDK(); - - if (IOSNewsmemorySDK) { - return IOSNewsmemorySDK.close(); - } - - return _$$_REQUIRE(_dependencyMap[5]).OurBridge.onClose(); - } - - return Promise.resolve(); - }); - - function close() { - return _close.apply(this, arguments); - } - - return close; - }() - }, { - key: "willOpenURL", - value: function () { - var _willOpenURL = (0, _asyncToGenerator2.default)(function* (url) { - if (global.isTaAddon()) { - var sdkPromise; - - var IOSNewsmemorySDK = _optionalPackageUtils.default.getIOSNewsmemorySDK(); - - if (IOSNewsmemorySDK) { - sdkPromise = IOSNewsmemorySDK.willOpenURL(url); - } else { - sdkPromise = _$$_REQUIRE(_dependencyMap[5]).OurBridge.willOpenURL(url); - } - - if (sdkPromise) { - var timeoutPromise = new Promise(function (resolve, reject) { - setTimeout(function () { - return resolve(false); - }, WILL_OPEN_URL_TIMEOUT); - }); - return Promise.race([sdkPromise, timeoutPromise]); - } - } - - return Promise.resolve(false); - }); - - function willOpenURL(_x) { - return _willOpenURL.apply(this, arguments); - } - - return willOpenURL; - }() - }, { - key: "onTrackAction", - value: function () { - var _onTrackAction = (0, _asyncToGenerator2.default)(function* (data) { - if (global.isTaAddon()) { - var IOSNewsmemorySDK = _optionalPackageUtils.default.getIOSNewsmemorySDK(); - - if (IOSNewsmemorySDK) { - return IOSNewsmemorySDK.onTrackAction(data); - } - - return _$$_REQUIRE(_dependencyMap[5]).OurBridge.onTrackAction(data); - } - - return Promise.resolve(); - }); - - function onTrackAction(_x2) { - return _onTrackAction.apply(this, arguments); - } - - return onTrackAction; - }() - }, { - key: "onReload", - value: function () { - var _onReload = (0, _asyncToGenerator2.default)(function* () { - if (global.isTaAddon()) { - var IOSNewsmemorySDK = _optionalPackageUtils.default.getIOSNewsmemorySDK(); - - if (IOSNewsmemorySDK) { - return IOSNewsmemorySDK.onReload(); - } - } - - return Promise.resolve(); - }); - - function onReload() { - return _onReload.apply(this, arguments); - } - - return onReload; - }() - }, { - key: "onTokenExpired", - value: function () { - var _onTokenExpired = (0, _asyncToGenerator2.default)(function* (url) { - if (global.isTaAddon()) { - var sdkPromise; - - var IOSNewsmemorySDK = _optionalPackageUtils.default.getIOSNewsmemorySDK(); - - if (IOSNewsmemorySDK) { - sdkPromise = IOSNewsmemorySDK.onTokenExpired(); - } else { - sdkPromise = _$$_REQUIRE(_dependencyMap[5]).OurBridge.onTokenExpired(); - } - - if (sdkPromise) { - var timeoutPromise = new Promise(function (resolve, reject) { - setTimeout(function () { - return resolve(false); - }, TOKEN_EXPIRED_TIMEOUT); - }); - return Promise.race([sdkPromise, timeoutPromise]); - } - } - - return Promise.resolve(false); - }); - - function onTokenExpired(_x3) { - return _onTokenExpired.apply(this, arguments); - } - - return onTokenExpired; - }() - }]); - }(); -},1901,[3,270,6,7,865,565]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.Ga3Tracker = undefined; - - var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[8]); - - var _LiveConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var GoogleAnalyticsTracker = _optionalPackageUtils.default.getGoogleAnalytics3Tracker(); - - var replaceValueInPattern = function replaceValueInPattern(pattern, toReplace, value) { - return pattern.replace(toReplace, value || ""); - }; - - var Ga3Tracker = exports.Ga3Tracker = function (_Tracker) { - function Ga3Tracker() { - var _this; - - (0, _classCallCheck2.default)(this, Ga3Tracker); - _this = _callSuper(this, Ga3Tracker, [_$$_REQUIRE(_dependencyMap[11]).ANALYTICS_SERVICES.GA3]); - _this.categoryEventOnlyEnabled = false; - _this.googleAnalytics3Enabled = false; - _this.clientList = []; - _this.feedbackList = []; - _this.tecnaviaList = []; - _this.rssList = []; - _this.init = (0, _asyncToGenerator2.default)(function* () { - var _global$getMainPSetup = global.getMainPSetup(), - disableGoogleAnalytics3 = _global$getMainPSetup.disableGoogleAnalytics3, - feedbackGoogleAnalyticsAccount = _global$getMainPSetup.feedbackGoogleAnalyticsAccount, - tecnaviaGoogleAnalyticsAccount = _global$getMainPSetup.tecnaviaGoogleAnalyticsAccount, - TAGoogleAnalyticsEvent = _global$getMainPSetup.TAGoogleAnalyticsEvent; - - _this.categoryEventOnlyEnabled = TAGoogleAnalyticsEvent; - _this.enabled = _optionalPackageUtils.default.isGoogleAnalytics3Available() && !disableGoogleAnalytics3 && _this._isCmpAllowed(); - - if (_this.enabled) { - var _global$getActivePSet = global.getActivePSetup(), - clientGoogleAnalyticsAccount = _global$getActivePSet.clientGoogleAnalyticsAccount; - - _this._populateList(_this.clientList, clientGoogleAnalyticsAccount); - - _this._populateList(_this.feedbackList, feedbackGoogleAnalyticsAccount); - - _this._populateList(_this.tecnaviaList, tecnaviaGoogleAnalyticsAccount); - - var _global$getRssIndex = global.getRssIndex(), - googleAnalytics = _global$getRssIndex.googleAnalytics; - - if (googleAnalytics) { - googleAnalytics.forEach(function (item) { - if (_this._isCorrectOs(item) && _this._isCorrectDevice(item)) { - var googleAccount = item.googleAccount, - pattern = item.pattern; - - var tracker = _this._createGoogleAnalyticsTracker(googleAccount); - - _this.rssList.push({ - id: googleAccount, - pattern: pattern, - tracker: tracker - }); - } - }); - } - } - - return _this; - }); - - _this.trackScreen = function (screen, params, customDimensions) { - if (!_this._isValid()) { - return; - } - - if (_this.categoryEventOnlyEnabled !== "startup") { - _this.tecnaviaList.forEach(function (analytic) { - var _analytic$tracker; - - (_analytic$tracker = analytic.tracker) == null ? undefined : _analytic$tracker.trackScreenView(screen, { - customDimensions: customDimensions - }); - }); - } - - _this.clientList.forEach(function (analytic) { - var _analytic$tracker2; - - (_analytic$tracker2 = analytic.tracker) == null ? undefined : _analytic$tracker2.trackScreenView(screen, { - customDimensions: customDimensions - }); - }); - - _this.rssList.forEach(function (analytic) { - if (_LiveConfig.default.isRssSide() && params && analytic.pattern) { - var _analytic$tracker3; - - var pattern = analytic.pattern; - pattern = replaceValueInPattern(pattern, "{apptype}", params.apptype); - pattern = replaceValueInPattern(pattern, "{devicetype}", params.devicetype); - pattern = replaceValueInPattern(pattern, "{paper}", params.paper); - pattern = replaceValueInPattern(pattern, "{psetup}", params.psetup); - pattern = replaceValueInPattern(pattern, "{category}", params.category); - pattern = replaceValueInPattern(pattern, "{date}", params.date); - pattern = replaceValueInPattern(pattern, "{layout}", params.layout); - pattern = replaceValueInPattern(pattern, "{articletitle}", params.articletitle); - pattern = pattern.replace(new RegExp("/{2,}|/{2,}|/\\|", "g"), "/"); - (_analytic$tracker3 = analytic.tracker) == null ? undefined : _analytic$tracker3.trackScreenView(pattern, { - customDimensions: customDimensions - }); - } else { - var _analytic$tracker4; - - (_analytic$tracker4 = analytic.tracker) == null ? undefined : _analytic$tracker4.trackScreenView(screen, { - customDimensions: customDimensions - }); - } - }); - - var _ref2 = params != null ? params : {}, - activePSetup = _ref2.activePSetup, - googleAnalyticsAccount = _ref2.googleAnalyticsAccount; - - if (activePSetup && googleAnalyticsAccount) { - var customList = _this._getCustomList(activePSetup, googleAnalyticsAccount); - - customList.forEach(function (analytic) { - var _analytic$tracker5; - - (_analytic$tracker5 = analytic.tracker) == null ? undefined : _analytic$tracker5.trackScreenView(screen, { - customDimensions: customDimensions - }); - }); - } - }; - - _this.trackEvent = function (params) { - if (!_this._isParamsValid(params)) { - return; - } - - var trackers = []; - - if (_this.categoryEventOnlyEnabled !== "startup") { - _this.tecnaviaList.forEach(function (analytic) { - return trackers.push(analytic.tracker); - }); - } - - _this.clientList.forEach(function (analytic) { - return trackers.push(analytic.tracker); - }); - - _this.rssList.forEach(function (analytic) { - return trackers.push(analytic.tracker); - }); - - var activePSetup = params.activePSetup, - googleAnalyticsAccount = params.googleAnalyticsAccount; - - if (activePSetup && googleAnalyticsAccount) { - var customList = _this._getCustomList(activePSetup, googleAnalyticsAccount); - - customList.forEach(function (analytic) { - return trackers.push(analytic.tracker); - }); - } - - trackers.forEach(function (tracker) { - tracker == null ? undefined : tracker.trackEvent(params.category, params.action, params.label ? { - label: params.label - } : {}); - }); - }; - - _this.trackStartup = function () { - if (!_this._isValid()) { - return; - } - - _this.tecnaviaList.forEach(function (analytic) { - var _analytic$tracker6; - - (_analytic$tracker6 = analytic.tracker) == null ? undefined : _analytic$tracker6.trackEvent(_LiveConfig.default.getAppSide(), "startup", _$$_REQUIRE(_dependencyMap[12]).PlatformUtils.model()); - }); - }; - - _this.trackFeedback = function (screen) { - if (!_this._isValid()) { - return; - } - - _this.feedbackList.forEach(function (analytic) { - analytic.tracker.trackScreenView(screen); - }); - }; - - _this.updateClientList = function () { - if (_this.enabled) { - _this.clientList = []; - - var _global$getActivePSet2 = global.getActivePSetup(), - clientGoogleAnalyticsAccount = _global$getActivePSet2.clientGoogleAnalyticsAccount; - - _this._populateList(_this.clientList, clientGoogleAnalyticsAccount); - } - }; - - _this._populateList = function (list, values) { - if (values) { - var split = values.split(","); - split.forEach(function (item) { - var tracker = _this._createGoogleAnalyticsTracker(item); - - list.push({ - id: item.trim(), - tracker: tracker - }); - }); - } - }; - - _this._createGoogleAnalyticsTracker = function (trackerId) { - var _global$getMainPSetup2 = global.getMainPSetup(), - googleAnalyticsAnonymizeIP = _global$getMainPSetup2.googleAnalyticsAnonymizeIP; - - var tracker = new GoogleAnalyticsTracker(trackerId); - tracker.setAnonymizeIp(googleAnalyticsAnonymizeIP); - tracker.allowIDFA(false); - return tracker; - }; - - _this._createCustomList = function (customGoogleAnalyticsAccount) { - var customList = []; - - if (customGoogleAnalyticsAccount) { - var clientSplit = []; - - var _global$getActivePSet3 = global.getActivePSetup(), - clientGoogleAnalyticsAccount = _global$getActivePSet3.clientGoogleAnalyticsAccount; - - if (clientGoogleAnalyticsAccount) { - clientSplit.push.apply(clientSplit, (0, _toConsumableArray2.default)(clientGoogleAnalyticsAccount.split(","))); - } - - var rssSplit = []; - - var _global$getRssIndex2 = global.getRssIndex(), - googleAnalytics = _global$getRssIndex2.googleAnalytics; - - if (googleAnalytics) { - googleAnalytics.forEach(function (item) { - var googleAccount = item.googleAccount; - - if (googleAccount) { - rssSplit.push.apply(rssSplit, (0, _toConsumableArray2.default)(googleAccount.split(","))); - } - }); - } - - var customSplit = customGoogleAnalyticsAccount.split(","); - customSplit.forEach(function (item) { - if (!clientSplit.includes(item) && !rssSplit.includes(item)) { - var tracker = _this._createGoogleAnalyticsTracker(item); - - customList.push({ - id: item.trim(), - tracker: tracker - }); - } - }); - } - - return customList; - }; - - _this._getCustomList = function (activePSetup, googleAnalyticsAccount) { - if (_this.customLists[activePSetup]) { - var _this$customLists$act = _this.customLists[activePSetup], - rawAccount = _this$customLists$act.rawAccount, - _list = _this$customLists$act.list; - - if (rawAccount === googleAnalyticsAccount) { - return _list; - } - } - - var list = _this._createCustomList(googleAnalyticsAccount); - - _this.customLists[activePSetup] = { - rawAccount: googleAnalyticsAccount, - list: list - }; - return list; - }; - - _this._isCorrectOs = function (item) { - return !item.OS || item.OS.toLowerCase() === _reactNative.Platform.OS.toLowerCase(); - }; - - _this._isCorrectDevice = function (item) { - var isTablet = _$$_REQUIRE(_dependencyMap[12]).PlatformUtils.isTablet(); - - var deviceFamily = "all"; - - if (item.deviceFamily) { - if (item.deviceFamily === "iPad") { - deviceFamily = "tablet"; - } else if (item.deviceFamily === "iPhone") { - deviceFamily = "phone"; - } - } - - return deviceFamily === "all" || deviceFamily === "tablet" && isTablet || deviceFamily === "phone" && !isTablet; - }; - - return _this; - } - - (0, _inherits2.default)(Ga3Tracker, _Tracker); - return (0, _createClass2.default)(Ga3Tracker); - }(_$$_REQUIRE(_dependencyMap[13]).Tracker); -},1902,[3,22,270,7,6,11,13,14,18,1898,865,1903,438,1905]); +},1905,[1906,1909,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -240066,7 +238913,520 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return {}; } -},1903,[1898,3,434,613,438,1904]); +},1906,[1907,3,434,627,438,1909]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.APP_SIDE = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _KeyEvent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var APP_SIDE = exports.APP_SIDE = { + ePaper: "ePaper", + ePaperClassic: "ePaperClassic", + ePaperHTML5: "ePaperHTML5", + rss: "rss" + }; + + var LiveConfigSingleton = function () { + function LiveConfigSingleton() { + var _this = this; + + (0, _classCallCheck2.default)(this, LiveConfigSingleton); + this.rssStartingUp = true; + this.lastRssCategory = ""; + this.startupNavigator = ""; + this.deletedRssDatabase = false; + this.isDrawerOpen = false; + this.appSide = undefined; + this.idEventSetValue = undefined; + this.idEventGetValue = undefined; + this.activeKeys = {}; + this.idEventSetValue = _$$_REQUIRE(_dependencyMap[5]).EventRegister.on(_events.default.LIVE_CONFIG_SET_VALUE, function (_ref) { + var key = _ref.key, + value = _ref.value, + resolve = _ref.resolve, + reject = _ref.reject; + + if (_$$_REQUIRE(_dependencyMap[6]).JSUtils.hasProperty(_this, key)) { + _this[key] = value; + + _this._resolvePromise(resolve, _this[key]); + } else { + _this._rejectPromise(reject, key); + } + }); + this.idEventGetValue = _$$_REQUIRE(_dependencyMap[5]).EventRegister.on(_events.default.LIVE_CONFIG_GET_VALUE, function (_ref2) { + var key = _ref2.key, + resolve = _ref2.resolve, + reject = _ref2.reject; + + if (_$$_REQUIRE(_dependencyMap[6]).JSUtils.hasProperty(_this, key)) { + _this._resolvePromise(resolve, _this[key]); + } else { + _this._rejectPromise(reject, key); + } + }); + } + + return (0, _createClass2.default)(LiveConfigSingleton, [{ + key: "set", + value: function set(key, value) { + if (_$$_REQUIRE(_dependencyMap[6]).JSUtils.hasProperty(this, key)) { + this[key] = value; + } + } + }, { + key: "get", + value: function get(key) { + return this[key]; + } + }, { + key: "_resolvePromise", + value: function _resolvePromise(resolve, result) { + if (typeof resolve === "function") { + resolve(result); + } + } + }, { + key: "_rejectPromise", + value: function _rejectPromise(reject, key) { + if (typeof reject === "function") { + reject(new Error(key + " not found")); + } + } + }]); + }(); + + var LiveConfig = exports.default = function () { + function LiveConfig() { + (0, _classCallCheck2.default)(this, LiveConfig); + } + + return (0, _createClass2.default)(LiveConfig, null, [{ + key: "init", + value: function init() { + LiveConfig.instance = new LiveConfigSingleton(); + } + }, { + key: "getInstance", + value: function getInstance() { + if (LiveConfig.instance === undefined) { + LiveConfig.init(); + } + + return LiveConfig.instance; + } + }, { + key: "isDrawerOpen", + value: function isDrawerOpen() { + return LiveConfig.getInstance().get("isDrawerOpen"); + } + }, { + key: "setDrawerOpen", + value: function setDrawerOpen(value) { + LiveConfig.getInstance().set("isDrawerOpen", value); + } + }, { + key: "isRssDbDeleted", + value: function isRssDbDeleted() { + return LiveConfig.getInstance().get("deletedRssDatabase"); + } + }, { + key: "setRssDbDeleted", + value: function setRssDbDeleted(value) { + LiveConfig.getInstance().set("deletedRssDatabase", value); + } + }, { + key: "isRssStartingUp", + value: function isRssStartingUp() { + return LiveConfig.getInstance().get("rssStartingUp"); + } + }, { + key: "setRssStartingUp", + value: function setRssStartingUp(value) { + LiveConfig.getInstance().set("rssStartingUp", value); + } + }, { + key: "getLastRssCategory", + value: function getLastRssCategory() { + return LiveConfig.getInstance().get("lastRssCategory") || global.lastRssCategory; + } + }, { + key: "setLastRssCategory", + value: function setLastRssCategory(value) { + global.lastRssCategory = value; + LiveConfig.getInstance().set("lastRssCategory", value); + } + }, { + key: "resetLastRssCategory", + value: function resetLastRssCategory() { + global.lastRssCategory = undefined; + LiveConfig.getInstance().set("lastRssCategory", undefined); + } + }, { + key: "getStartUpNavigator", + value: function getStartUpNavigator() { + return LiveConfig.getInstance().get("startupNavigator"); + } + }, { + key: "setStartUpNavigator", + value: function setStartUpNavigator(value) { + LiveConfig.getInstance().set("startupNavigator", value); + } + }, { + key: "getAppSide", + value: function getAppSide() { + return LiveConfig.getInstance().get("appSide"); + } + }, { + key: "getActiveKeys", + value: function getActiveKeys() { + return LiveConfig.getInstance().get("activeKeys") || {}; + } + }, { + key: "setSide", + value: function setSide(side) { + global.lastAppSide = side; + LiveConfig.getInstance().set("appSide", side); + } + }, { + key: "setEpaperSide", + value: function setEpaperSide() { + LiveConfig.setSide(APP_SIDE.ePaper); + } + }, { + key: "setEpaperClassicSide", + value: function setEpaperClassicSide() { + LiveConfig.setSide(APP_SIDE.ePaperClassic); + } + }, { + key: "setEpaperHTML5Side", + value: function setEpaperHTML5Side() { + LiveConfig.setSide(APP_SIDE.ePaperHTML5); + } + }, { + key: "setRssSide", + value: function setRssSide() { + LiveConfig.setSide(APP_SIDE.rss); + } + }, { + key: "isEpaperSide", + value: function isEpaperSide() { + var side = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : LiveConfig.getAppSide(); + return side === APP_SIDE.ePaper; + } + }, { + key: "isEpaperClassicSide", + value: function isEpaperClassicSide() { + var side = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : LiveConfig.getAppSide(); + return side === APP_SIDE.ePaperClassic; + } + }, { + key: "isEpaperHTML5Side", + value: function isEpaperHTML5Side() { + var side = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : LiveConfig.getAppSide(); + return side === APP_SIDE.ePaperHTML5; + } + }, { + key: "isRssSide", + value: function isRssSide() { + var side = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : LiveConfig.getAppSide(); + return side === APP_SIDE.rss; + } + }, { + key: "keyDown", + value: function keyDown(event) { + var activeKeys = LiveConfig.getActiveKeys(); + activeKeys[event.keyCode] = event; + LiveConfig.getInstance().set("activeKeys", activeKeys); + } + }, { + key: "keyUp", + value: function keyUp(event) { + var activeKeys = LiveConfig.getActiveKeys(); + delete activeKeys[event.keyCode]; + LiveConfig.getInstance().set("activeKeys", activeKeys); + } + }, { + key: "getSortedKeys", + value: function getSortedKeys() { + var activeKeys = LiveConfig.getActiveKeys(); + + if (!activeKeys) { + throw new Error("no keys set"); + } + + var keysPressed = Object.values(activeKeys); + return keysPressed.sort(function (keyA, keyB) { + return keyA.downTime - keyB.downTime; + }); + } + }, { + key: "getKeysCombo", + value: function getKeysCombo() { + return LiveConfig.getSortedKeys().map(function (event) { + return event.getPressed(); + }).join("_"); + } + }, { + key: "getKeysComboNoRL", + value: function getKeysComboNoRL() { + return LiveConfig.getSortedKeys().map(function (event) { + return event.getPressed().replace(/_(LEFT|RIGHT)/g, ""); + }).join("_"); + } + }]); + }(); +},1907,[3,6,7,436,1908,564,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.VOICE_GROUPS = exports.KEY_GROUPS = exports.ANY_KEY = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[3]); + + var KEYS_MAP = _reactNative.Platform.select({ + ios: { + 4: "A", + 5: "B", + 6: "C", + 7: "D", + 8: "E", + 9: "F", + 10: "G", + 11: "H", + 12: "I", + 13: "J", + 14: "K", + 15: "L", + 16: "M", + 17: "N", + 18: "O", + 19: "P", + 20: "Q", + 21: "R", + 22: "S", + 23: "T", + 24: "U", + 25: "V", + 26: "W", + 27: "X", + 28: "Y", + 29: "Z", + 30: "1", + 31: "2", + 32: "3", + 33: "4", + 34: "5", + 35: "6", + 36: "7", + 37: "8", + 38: "9", + 39: "0", + 40: "ENTER", + 41: "ESCAPE", + 42: "DEL", + 43: "TAB", + 44: "SPACE", + 48: "+", + 56: "-", + 74: "MOVE_HOME", + 75: "PAGE_UP", + 77: "MOVE_END", + 78: "PAGE_DOWN", + 79: "DPAD_RIGHT", + 80: "DPAD_LEFT", + 81: "DPAD_DOWN", + 82: "DPAD_UP", + 86: "NUMPAD_SUBTRACT", + 87: "NUMPAD_ADD", + 88: "NUMPAD_ENTER", + 89: "NUMPAD_1", + 90: "NUMPAD_2", + 91: "NUMPAD_3", + 92: "NUMPAD_4", + 93: "NUMPAD_5", + 94: "NUMPAD_6", + 95: "NUMPAD_7", + 96: "NUMPAD_8", + 97: "NUMPAD_9", + 98: "NUMPAD_0", + 99: "NUMPAD_DOT", + 117: "HELP", + 224: "CTRL_LEFT", + 225: "SHIFT_LEFT", + 226: "ALT_LEFT", + 228: "CTRL_RIGHT", + 229: "SHIFT_RIGHT", + 230: "ALT_RIGHT" + }, + android: { + 3: "HOME", + 7: "0", + 8: "1", + 9: "2", + 10: "3", + 11: "4", + 12: "5", + 13: "6", + 14: "7", + 15: "8", + 16: "9", + 19: "DPAD_UP", + 20: "DPAD_DOWN", + 21: "DPAD_LEFT", + 22: "DPAD_RIGHT", + 23: "DPAD_CENTER", + 29: "A", + 30: "B", + 31: "C", + 32: "D", + 33: "E", + 34: "F", + 35: "G", + 36: "H", + 37: "I", + 38: "J", + 39: "K", + 40: "L", + 41: "M", + 42: "N", + 43: "O", + 44: "P", + 45: "Q", + 46: "R", + 47: "S", + 48: "T", + 49: "U", + 50: "V", + 51: "W", + 52: "X", + 53: "Y", + 54: "Z", + 57: "ALT_LEFT", + 58: "ALT_RIGHT", + 59: "SHIFT_LEFT", + 60: "SHIFT_RIGHT", + 62: "SPACE", + 61: "TAB", + 66: "ENTER", + 67: "DEL", + 69: "-", + 81: "+", + 84: "SEARCH", + 92: "PAGE_UP", + 93: "PAGE_DOWN", + 111: "ESCAPE", + 113: "CTRL_LEFT", + 114: "CTRL_RIGHT", + 122: "MOVE_HOME", + 123: "MOVE_END", + 144: "NUMPAD_0", + 145: "NUMPAD_1", + 146: "NUMPAD_2", + 147: "NUMPAD_3", + 148: "NUMPAD_4", + 149: "NUMPAD_5", + 150: "NUMPAD_6", + 151: "NUMPAD_7", + 152: "NUMPAD_8", + 153: "NUMPAD_9", + 156: "NUMPAD_SUBTRACT", + 157: "NUMPAD_ADD", + 158: "NUMPAD_DOT", + 160: "NUMPAD_ENTER", + 168: "ZOOM_IN", + 169: "ZOOM_OUT", + 176: "SETTINGS", + 259: "HELP" + } + }); + + var ANY_KEY = exports.ANY_KEY = "ANY"; + var VOICE_GROUPS = exports.VOICE_GROUPS = { + GO_UP: function GO_UP() { + return [global.strings("voice_back")]; + }, + WHAT: function WHAT() { + return [global.strings("voice_what")]; + }, + NEXT: function NEXT() { + return [global.strings("voice_next")]; + }, + NEXT_PAGE: function NEXT_PAGE() { + return [global.strings("voice_next_page")]; + }, + PREVIOUS: function PREVIOUS() { + return [global.strings("voice_previous")]; + }, + PREVIOUS_PAGE: function PREVIOUS_PAGE() { + return [global.strings("voice_previous_page")]; + }, + STOP: function STOP() { + return [global.strings("voice_stop")]; + }, + READ: function READ() { + return [global.strings("voice_read")]; + }, + CLOSE_APP: function CLOSE_APP() { + return [global.strings("voice_close")]; + }, + ITEM_UP: function ITEM_UP() { + return [global.strings("voice_up")]; + }, + ITEM_DOWN: function ITEM_DOWN() { + return [global.strings("voice_down")]; + }, + ITEM_SELECT: function ITEM_SELECT() { + return [global.strings("voice_select")]; + } + }; + var KEY_GROUPS = exports.KEY_GROUPS = { + ANY: [ANY_KEY], + CLOSE: ["ESCAPE"], + SUBMIT: ["ENTER", "NUMPAD_ENTER"], + OPEN: ["5", "NUMPAD_5", "O", "NUMPAD_DOT"], + SELECT: ["5", "NUMPAD_5", "O", "ENTER", "NUMPAD_ENTER"], + LEFT: ["4", "NUMPAD_4", "J", "DPAD_LEFT"], + RIGHT: ["6", "NUMPAD_6", "L", "DPAD_RIGHT"], + UP: ["8", "NUMPAD_8", "I", "DPAD_UP"], + DOWN: ["2", "NUMPAD_2", "K", "DPAD_DOWN"], + PAGE_UP: ["9", "NUMPAD_9", "N", "PAGE_UP"], + PAGE_DOWN: ["3", "NUMPAD_3", "M", "PAGE_DOWN"], + HOME: ["7", "NUMPAD_7", "MOVE_HOME"], + END: ["1", "NUMPAD_1", "MOVE_END"], + MORE: ["+", "NUMPAD_ADD"], + LESS: ["-", "NUMPAD_SUBTRACT"], + DELETE: ["DEL"] + }; + + var KeyEvent = exports.default = function () { + function KeyEvent(event) { + (0, _classCallCheck2.default)(this, KeyEvent); + Object.assign(this, event); + } + + return (0, _createClass2.default)(KeyEvent, [{ + key: "getPressed", + value: function getPressed() { + return KEYS_MAP[this.keyCode] || ""; + } + }]); + }(); +},1908,[3,6,7,18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -240138,7 +239498,1067 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e TEXT: "text", GRAPHIC: "graphic" }; -},1904,[]); +},1909,[]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.clearRecently = clearRecently; + exports.initAnalytics = initAnalytics; + exports.initGoogleAnalyticsFirebase = initGoogleAnalyticsFirebase; + exports.initMatomo = initMatomo; + exports.initMatomoTracker = initMatomoTracker; + exports.resetAdobeAnalyticsFirstScrolledSent = resetAdobeAnalyticsFirstScrolledSent; + exports.sendAdFailedError = sendAdFailedError; + exports.sendAdSuccess = sendAdSuccess; + exports.sendExternalIdToAnalytics = sendExternalIdToAnalytics; + exports.trackADBMobileAction = trackADBMobileAction; + exports.trackADBMobileState = trackADBMobileState; + exports.trackATTPermission = trackATTPermission; + exports.trackCustomFirebaseEvent = trackCustomFirebaseEvent; + exports.trackCustomFirebaseScreen = trackCustomFirebaseScreen; + exports.trackEnterBackground = trackEnterBackground; + exports.trackEnterForeground = trackEnterForeground; + exports.trackEvent = trackEvent; + exports.trackFeedback = trackFeedback; + exports.trackRempAccount = trackRempAccount; + exports.trackScreen = trackScreen; + exports.trackStartup = trackStartup; + exports.trackWebInterstitial = trackWebInterstitial; + exports.updateAnalytics = updateAnalytics; + exports.updateAnalyticsClientList = updateAnalyticsClientList; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _LiveConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _Manager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + function initAnalytics() { + return _initAnalytics.apply(this, arguments); + } + + function _initAnalytics() { + _initAnalytics = (0, _asyncToGenerator2.default)(function* () { + return _Manager.default.init(); + }); + return _initAnalytics.apply(this, arguments); + } + + function initMatomo() { + try { + var _trackerManager$matom; + + (_trackerManager$matom = _Manager.default.matomoTracker) == null ? undefined : _trackerManager$matom.init(); + } catch (e) {} + } + + function initMatomoTracker() { + try { + var _trackerManager$matom2; + + (_trackerManager$matom2 = _Manager.default.matomoMasTracker) == null ? undefined : _trackerManager$matom2.init(); + } catch (e) {} + } + + function initGoogleAnalyticsFirebase() { + return _initGoogleAnalyticsFirebase.apply(this, arguments); + } + + function _initGoogleAnalyticsFirebase() { + _initGoogleAnalyticsFirebase = (0, _asyncToGenerator2.default)(function* () { + var _trackerManager$fireb3, _trackerManager$webTr3; + + var force = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + yield (_trackerManager$fireb3 = _Manager.default.firebaseTracker) == null ? undefined : _trackerManager$fireb3.init(); + yield (_trackerManager$webTr3 = _Manager.default.webTracker) == null ? undefined : _trackerManager$webTr3.init(force); + }); + return _initGoogleAnalyticsFirebase.apply(this, arguments); + } + + function updateAnalyticsClientList() { + var _trackerManager$gaTra; + + (_trackerManager$gaTra = _Manager.default.gaTracker) == null ? undefined : _trackerManager$gaTra.updateClientList(); + } + + function updateAnalytics() { + return _updateAnalytics.apply(this, arguments); + } + + function _updateAnalytics() { + _updateAnalytics = (0, _asyncToGenerator2.default)(function* () { + var _trackerManager$webTr4; + + updateAnalyticsClientList(); + yield (_trackerManager$webTr4 = _Manager.default.webTracker) == null ? undefined : _trackerManager$webTr4.init(); + (0, _$$_REQUIRE(_dependencyMap[4]).addDebugOperation)("updateAnalytics", "done"); + }); + return _updateAnalytics.apply(this, arguments); + } + + function resetAdobeAnalyticsFirstScrolledSent() { + _Manager.default.resetAdobeAnalyticsFirstScrolledSent(); + } + + function sendExternalIdToAnalytics() { + return _sendExternalIdToAnalytics.apply(this, arguments); + } + + function _sendExternalIdToAnalytics() { + _sendExternalIdToAnalytics = (0, _asyncToGenerator2.default)(function* () { + var _global$getMainPSetup = global.getMainPSetup(), + firebaseAnalyticsSendExternalId = _global$getMainPSetup.firebaseAnalyticsSendExternalId; + + if (firebaseAnalyticsSendExternalId) { + yield initGoogleAnalyticsFirebase(true); + } + }); + return _sendExternalIdToAnalytics.apply(this, arguments); + } + + function trackScreen(screen, params, customDimensions) { + if (_LiveConfig.default.isRssSide() || !_Manager.default.checkIfScreenIsAlreadySent("" + screen)) { + _Manager.default.addToScreenRecentlyVisited("" + screen); + + _Manager.default.trackScreen(screen, params, customDimensions); + + return true; + } + + return false; + } + + function trackEvent(params) { + var str = JSON.stringify(params); + + if (!_Manager.default.checkIfEventIsAlreadySent(str)) { + _Manager.default.addToEventRecentlyVisited(str); + + _Manager.default.trackEvent(params); + + return true; + } + + return false; + } + + function trackCustomFirebaseEvent(_ref) { + var customEvent = _ref.customEvent, + customParams = _ref.customParams; + var str = customEvent + "_" + JSON.stringify(customParams); + + if (!_Manager.default.checkIfFirebaseEventIsAlreadySent(str)) { + var _trackerManager$fireb, _trackerManager$webTr; + + _Manager.default.addToFirebaseEventRecentlyVisited(str); + + (_trackerManager$fireb = _Manager.default.firebaseTracker) == null ? undefined : _trackerManager$fireb.trackEvent(customEvent, customParams); + (_trackerManager$webTr = _Manager.default.webTracker) == null ? undefined : _trackerManager$webTr.trackEvent(customEvent, customParams); + return true; + } + + return false; + } + + function sendAdFailedError(params) { + trackCustomFirebaseEvent({ + customEvent: "advertisement_failed", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[5]).mapParamsToFirebaseCustomDimensions)(params), params) + }); + } + + function sendAdSuccess(params) { + trackCustomFirebaseEvent({ + customEvent: "advertisement_loaded", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[5]).mapParamsToFirebaseCustomDimensions)(params), params) + }); + } + + function trackATTPermission(action) { + if (action !== "unavailable") { + var event = "apple_att_permission"; + var device = (0, _$$_REQUIRE(_dependencyMap[5]).gaBreakout)(); + trackEvent({ + category: event, + action: action, + device: device + }); + trackCustomFirebaseEvent({ + customEvent: event, + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[5]).mapParamsToFirebaseCustomDimensions)({ + action: action + }), { + action: action, + device: device + }) + }); + } + } + + function trackWebInterstitial(model, action) { + if (model) { + var event = model.getScreenType(); + var name = model.getScreenName(); + var id = model.getId(); + var screen = (0, _$$_REQUIRE(_dependencyMap[5]).getScreenString)({ + type: event, + name: name, + id: id + }); + var params = { + id: id, + name: name, + action: action, + screen: screen, + type: "web" + }; + trackCustomFirebaseEvent({ + customEvent: event, + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[5]).mapParamsToFirebaseCustomDimensions)(params), params) + }); + trackScreen(screen, Object.assign({ + event: event + }, params)); + } + } + + function trackADBMobileAction(action, params) { + try { + var _trackerManager$admob; + + (_trackerManager$admob = _Manager.default.admobileTracker) == null ? undefined : _trackerManager$admob.trackAction(action, params); + } catch (e) {} + } + + function trackADBMobileState(state, params) { + try { + var _trackerManager$admob2; + + (_trackerManager$admob2 = _Manager.default.admobileTracker) == null ? undefined : _trackerManager$admob2.trackState(state, params); + } catch (e) {} + } + + function trackRempAccount(rParam) { + if (!_Manager.default.checkIfRempIsAlreadySent(rParam)) { + var _trackerManager$rempT; + + _Manager.default.addToRempRecentlyVisited(rParam); + + (_trackerManager$rempT = _Manager.default.rempTracker) == null ? undefined : _trackerManager$rempT.trackScreen(rParam); + return true; + } + + return false; + } + + function trackCustomFirebaseScreen(screenName) { + var pagePath = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; + var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var str = screenName; + + if (pagePath) { + str += "_" + pagePath; + } + + if (!_Manager.default.checkIfFirebaseScreenIsAlreadySent(str)) { + var _trackerManager$fireb2, _trackerManager$webTr2; + + _Manager.default.addToFirebaseScreenRecentlyVisited(str); + + var customParams = (0, _$$_REQUIRE(_dependencyMap[5]).mapParamsToFirebaseCustomDimensions)(params); + (_trackerManager$fireb2 = _Manager.default.firebaseTracker) == null ? undefined : _trackerManager$fireb2.trackScreen(screenName, customParams); + var pageLocation; + + var _global$getActivePSet = global.getActivePSetup(), + machine = _global$getActivePSet.machine; + + if (machine) { + pageLocation = _$$_REQUIRE(_dependencyMap[6]).NetworkUtils.addDefaultProtocol(machine) + pagePath; + } + + (_trackerManager$webTr2 = _Manager.default.webTracker) == null ? undefined : _trackerManager$webTr2.trackScreen(screenName, Object.assign({ + pageLocation: pageLocation + }, customParams)); + return true; + } + + return false; + } + + function clearRecently() { + _Manager.default.clearRecently(); + } + + function trackFeedback(screen) { + _Manager.default.trackFeedback(screen); + } + + function trackStartup() { + _Manager.default.trackStartup(); + } + + function trackEnterForeground() { + var _trackerManager$comsc, _trackerManager$admob3, _trackerManager$chart; + + (_trackerManager$comsc = _Manager.default.comscoreTracker) == null ? undefined : _trackerManager$comsc.onEnterForeground(); + (_trackerManager$admob3 = _Manager.default.admobileTracker) == null ? undefined : _trackerManager$admob3.start(); + (_trackerManager$chart = _Manager.default.chartbeatTracker) == null ? undefined : _trackerManager$chart.onEnterForeground(); + } + + function trackEnterBackground() { + var _trackerManager$comsc2, _trackerManager$admob4, _trackerManager$matom3, _trackerManager$chart2; + + (_trackerManager$comsc2 = _Manager.default.comscoreTracker) == null ? undefined : _trackerManager$comsc2.onExitForeground(); + (_trackerManager$admob4 = _Manager.default.admobileTracker) == null ? undefined : _trackerManager$admob4.pause(); + (_trackerManager$matom3 = _Manager.default.matomoTracker) == null ? undefined : _trackerManager$matom3.dispatch(); + (_trackerManager$chart2 = _Manager.default.chartbeatTracker) == null ? undefined : _trackerManager$chart2.onExitForeground(); + } +},1910,[3,270,1907,1911,815,1906,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _sdkUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var isScreenValid = function isScreenValid(screen) { + return screen.split("/").filter(function (part) { + return part === "null" || part === "undefined"; + }).length === 0; + }; + + var MAX_RECENTLY_VISITED = 5; + var TrackersManager = (0, _createClass2.default)(function TrackersManager() { + var _this = this; + + (0, _classCallCheck2.default)(this, TrackersManager); + this.recentlyScreenVisited = []; + this.recentlyEventVisited = []; + this.recentlyFirebaseEventVisited = []; + this.recentlyFirebaseScreenVisited = []; + this.recentlyRempVisited = []; + this.initialized = false; + this.init = (0, _asyncToGenerator2.default)(function* () { + _this.gaTracker = yield new (_$$_REQUIRE(_dependencyMap[5]).Ga3Tracker)().init(); + _this.firebaseTracker = yield new (_$$_REQUIRE(_dependencyMap[6]).FirebaseTracker)().init(); + _this.webTracker = yield new (_$$_REQUIRE(_dependencyMap[7]).WebTracker)().init(); + _this.rempTracker = yield new (_$$_REQUIRE(_dependencyMap[8]).RempTracker)().init(); + _this.matherTracker = yield new (_$$_REQUIRE(_dependencyMap[9]).MatherTracker)().init(); + _this.matomoTracker = yield new (_$$_REQUIRE(_dependencyMap[10]).MatomoTracker)().init(); + _this.matomoMasTracker = yield new (_$$_REQUIRE(_dependencyMap[11]).MatomoMasTracker)().init(); + _this.admobileTracker = yield new (_$$_REQUIRE(_dependencyMap[12]).AdmobileTracker)().init(); + _this.facebookTracker = yield new (_$$_REQUIRE(_dependencyMap[13]).FacebookTracker)().init(); + _this.comscoreTracker = yield new (_$$_REQUIRE(_dependencyMap[14]).ComscoreTracker)().init(); + _this.chartbeatTracker = yield new (_$$_REQUIRE(_dependencyMap[15]).ChartbeatTracker)().init(); + _this.blueconicTracker = yield new (_$$_REQUIRE(_dependencyMap[16]).BlueconicTracker)().init(); + _this.initialized = true; + }); + this.checkIfIsInitialized = (0, _asyncToGenerator2.default)(function* () { + if (!_this.initialized) { + return _this.init(); + } + + return Promise.resolve(); + }); + + this.trackSDKAction = function (type, params) { + if (!params) { + return; + } + + _sdkUtils.default.onTrackAction({ + trackType: type, + data: params + }); + }; + + this.trackStartup = function () { + var _this$gaTracker; + + if (!_this.initialized) { + return; + } + + (_this$gaTracker = _this.gaTracker) == null ? undefined : _this$gaTracker.trackStartup(); + }; + + this.trackFeedback = function (screen) { + var _this$gaTracker2; + + if (!_this.initialized) { + return; + } + + (_this$gaTracker2 = _this.gaTracker) == null ? undefined : _this$gaTracker2.trackFeedback(screen); + }; + + this.trackScreen = function (screen, params, customDimensions) { + var _this$gaTracker3, _this$admobileTracker, _this$matherTracker, _this$matomoTracker, _this$matomoMasTracke, _this$facebookTracker, _this$chartbeatTracke, _this$blueconicTracke; + + if (!_this.initialized) { + return; + } + + if (!isScreenValid(screen)) { + return; + } + + _this._track((_this$gaTracker3 = _this.gaTracker) == null ? undefined : _this$gaTracker3.trackScreen, screen, params, customDimensions); + + var screenParams = Object.assign({ + screen: screen + }, params); + + _this._track((_this$admobileTracker = _this.admobileTracker) == null ? undefined : _this$admobileTracker.trackScreen, screenParams); + + _this._track((_this$matherTracker = _this.matherTracker) == null ? undefined : _this$matherTracker.trackScreen, screenParams); + + _this._track((_this$matomoTracker = _this.matomoTracker) == null ? undefined : _this$matomoTracker.trackScreen, screenParams); + + _this._track((_this$matomoMasTracke = _this.matomoMasTracker) == null ? undefined : _this$matomoMasTracke.trackScreen, screenParams); + + _this._track((_this$facebookTracker = _this.facebookTracker) == null ? undefined : _this$facebookTracker.trackScreen, screenParams); + + _this._track((_this$chartbeatTracke = _this.chartbeatTracker) == null ? undefined : _this$chartbeatTracke.trackScreen, screenParams); + + _this._track((_this$blueconicTracke = _this.blueconicTracker) == null ? undefined : _this$blueconicTracke.trackScreen, screenParams); + + _this.trackSDKAction("screen", screenParams); + }; + + this.trackEvent = function (params) { + var _this$gaTracker4, _this$matherTracker2, _this$matomoTracker2, _this$matomoMasTracke2, _this$admobileTracker2, _this$facebookTracker2, _this$comscoreTracker, _this$chartbeatTracke2, _this$blueconicTracke2; + + if (!_this.initialized) { + return; + } + + _this._track((_this$gaTracker4 = _this.gaTracker) == null ? undefined : _this$gaTracker4.trackEvent, params); + + _this._track((_this$matherTracker2 = _this.matherTracker) == null ? undefined : _this$matherTracker2.trackEvent, params); + + _this._track((_this$matomoTracker2 = _this.matomoTracker) == null ? undefined : _this$matomoTracker2.trackEvent, params); + + _this._track((_this$matomoMasTracke2 = _this.matomoMasTracker) == null ? undefined : _this$matomoMasTracke2.trackEvent, params); + + _this._track((_this$admobileTracker2 = _this.admobileTracker) == null ? undefined : _this$admobileTracker2.trackEvent, params); + + _this._track((_this$facebookTracker2 = _this.facebookTracker) == null ? undefined : _this$facebookTracker2.trackEvent, params); + + _this._track((_this$comscoreTracker = _this.comscoreTracker) == null ? undefined : _this$comscoreTracker.trackEvent, params); + + _this._track((_this$chartbeatTracke2 = _this.chartbeatTracker) == null ? undefined : _this$chartbeatTracke2.trackEvent, params); + + _this._track((_this$blueconicTracke2 = _this.blueconicTracker) == null ? undefined : _this$blueconicTracke2.trackEvent, params); + + _this.trackSDKAction("event", params); + }; + + this.addToScreenRecentlyVisited = function (str) { + _this.addToRecentlyVisited(_this.recentlyScreenVisited, str); + }; + + this.addToEventRecentlyVisited = function (str) { + _this.addToRecentlyVisited(_this.recentlyEventVisited, str); + }; + + this.addToFirebaseEventRecentlyVisited = function (str) { + _this.addToRecentlyVisited(_this.recentlyFirebaseEventVisited, str); + }; + + this.addToFirebaseScreenRecentlyVisited = function (str) { + _this.addToRecentlyVisited(_this.recentlyFirebaseScreenVisited, str); + }; + + this.addToRempRecentlyVisited = function (str) { + _this.addToRecentlyVisited(_this.recentlyRempVisited, str); + }; + + this.checkIfScreenIsAlreadySent = function (str) { + return _this.checkIfIsAlreadySent(_this.recentlyScreenVisited, str); + }; + + this.checkIfEventIsAlreadySent = function (str) { + return _this.checkIfIsAlreadySent(_this.recentlyEventVisited, str); + }; + + this.checkIfFirebaseEventIsAlreadySent = function (str) { + return _this.checkIfIsAlreadySent(_this.recentlyFirebaseEventVisited, str); + }; + + this.checkIfFirebaseScreenIsAlreadySent = function (str) { + return _this.checkIfIsAlreadySent(_this.recentlyFirebaseScreenVisited, str); + }; + + this.checkIfRempIsAlreadySent = function (str) { + return _this.checkIfIsAlreadySent(_this.recentlyRempVisited, str); + }; + + this.clearRecently = function () { + _this.recentlyEventVisited = []; + _this.recentlyFirebaseEventVisited = []; + _this.recentlyFirebaseScreenVisited = []; + _this.recentlyScreenVisited = []; + _this.recentlyRempVisited = []; + }; + + this.addToRecentlyVisited = function (recentlyVisited, str) { + recentlyVisited.push(str); + var max = MAX_RECENTLY_VISITED; + + if (recentlyVisited.length > max) { + recentlyVisited.shift(); + } + }; + + this.checkIfIsAlreadySent = function (recentlyVisited, str) { + for (var i = 0; i < recentlyVisited.length; i++) { + if (str === recentlyVisited[i]) { + return true; + } + } + + return false; + }; + + this.updateClientList = function () { + var _this$gaTracker5; + + (_this$gaTracker5 = _this.gaTracker) == null ? undefined : _this$gaTracker5.updateClientList(); + }; + + this.resetAdobeAnalyticsFirstScrolledSent = function () { + var _this$admobileTracker3; + + (_this$admobileTracker3 = _this.admobileTracker) == null ? undefined : _this$admobileTracker3.resetFirstScrolledSent(); + }; + + this._track = function (trackerMethod) { + try { + for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + + trackerMethod.apply(undefined, args); + } catch (e) {} + }; + }); + + var _default = exports.default = new TrackersManager(); +},1911,[3,270,7,6,1912,1913,1916,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var WILL_OPEN_URL_TIMEOUT = 2000; + var TOKEN_EXPIRED_TIMEOUT = 2000; + + var SDKUtils = exports.default = function () { + function SDKUtils() { + (0, _classCallCheck2.default)(this, SDKUtils); + } + + return (0, _createClass2.default)(SDKUtils, null, [{ + key: "close", + value: function () { + var _close = (0, _asyncToGenerator2.default)(function* () { + if (global.isTaAddon()) { + var IOSNewsmemorySDK = _optionalPackageUtils.default.getIOSNewsmemorySDK(); + + if (IOSNewsmemorySDK) { + return IOSNewsmemorySDK.close(); + } + + return _$$_REQUIRE(_dependencyMap[5]).OurBridge.onClose(); + } + + return Promise.resolve(); + }); + + function close() { + return _close.apply(this, arguments); + } + + return close; + }() + }, { + key: "willOpenURL", + value: function () { + var _willOpenURL = (0, _asyncToGenerator2.default)(function* (url) { + if (global.isTaAddon()) { + var sdkPromise; + + var IOSNewsmemorySDK = _optionalPackageUtils.default.getIOSNewsmemorySDK(); + + if (IOSNewsmemorySDK) { + sdkPromise = IOSNewsmemorySDK.willOpenURL(url); + } else { + sdkPromise = _$$_REQUIRE(_dependencyMap[5]).OurBridge.willOpenURL(url); + } + + if (sdkPromise) { + var timeoutPromise = new Promise(function (resolve, reject) { + setTimeout(function () { + return resolve(false); + }, WILL_OPEN_URL_TIMEOUT); + }); + return Promise.race([sdkPromise, timeoutPromise]); + } + } + + return Promise.resolve(false); + }); + + function willOpenURL(_x) { + return _willOpenURL.apply(this, arguments); + } + + return willOpenURL; + }() + }, { + key: "onTrackAction", + value: function () { + var _onTrackAction = (0, _asyncToGenerator2.default)(function* (data) { + if (global.isTaAddon()) { + var IOSNewsmemorySDK = _optionalPackageUtils.default.getIOSNewsmemorySDK(); + + if (IOSNewsmemorySDK) { + return IOSNewsmemorySDK.onTrackAction(data); + } + + return _$$_REQUIRE(_dependencyMap[5]).OurBridge.onTrackAction(data); + } + + return Promise.resolve(); + }); + + function onTrackAction(_x2) { + return _onTrackAction.apply(this, arguments); + } + + return onTrackAction; + }() + }, { + key: "onReload", + value: function () { + var _onReload = (0, _asyncToGenerator2.default)(function* () { + if (global.isTaAddon()) { + var IOSNewsmemorySDK = _optionalPackageUtils.default.getIOSNewsmemorySDK(); + + if (IOSNewsmemorySDK) { + return IOSNewsmemorySDK.onReload(); + } + } + + return Promise.resolve(); + }); + + function onReload() { + return _onReload.apply(this, arguments); + } + + return onReload; + }() + }, { + key: "onTokenExpired", + value: function () { + var _onTokenExpired = (0, _asyncToGenerator2.default)(function* (url) { + if (global.isTaAddon()) { + var sdkPromise; + + var IOSNewsmemorySDK = _optionalPackageUtils.default.getIOSNewsmemorySDK(); + + if (IOSNewsmemorySDK) { + sdkPromise = IOSNewsmemorySDK.onTokenExpired(); + } else { + sdkPromise = _$$_REQUIRE(_dependencyMap[5]).OurBridge.onTokenExpired(); + } + + if (sdkPromise) { + var timeoutPromise = new Promise(function (resolve, reject) { + setTimeout(function () { + return resolve(false); + }, TOKEN_EXPIRED_TIMEOUT); + }); + return Promise.race([sdkPromise, timeoutPromise]); + } + } + + return Promise.resolve(false); + }); + + function onTokenExpired(_x3) { + return _onTokenExpired.apply(this, arguments); + } + + return onTokenExpired; + }() + }]); + }(); +},1912,[3,270,6,7,879,579]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.Ga3Tracker = undefined; + + var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[8]); + + var _LiveConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var GoogleAnalyticsTracker = _optionalPackageUtils.default.getGoogleAnalytics3Tracker(); + + var replaceValueInPattern = function replaceValueInPattern(pattern, toReplace, value) { + return pattern.replace(toReplace, value || ""); + }; + + var Ga3Tracker = exports.Ga3Tracker = function (_Tracker) { + function Ga3Tracker() { + var _this; + + (0, _classCallCheck2.default)(this, Ga3Tracker); + _this = _callSuper(this, Ga3Tracker, [_$$_REQUIRE(_dependencyMap[11]).ANALYTICS_SERVICES.GA3]); + _this.categoryEventOnlyEnabled = false; + _this.googleAnalytics3Enabled = false; + _this.clientList = []; + _this.feedbackList = []; + _this.tecnaviaList = []; + _this.rssList = []; + _this.init = (0, _asyncToGenerator2.default)(function* () { + var _global$getMainPSetup = global.getMainPSetup(), + disableGoogleAnalytics3 = _global$getMainPSetup.disableGoogleAnalytics3, + feedbackGoogleAnalyticsAccount = _global$getMainPSetup.feedbackGoogleAnalyticsAccount, + tecnaviaGoogleAnalyticsAccount = _global$getMainPSetup.tecnaviaGoogleAnalyticsAccount, + TAGoogleAnalyticsEvent = _global$getMainPSetup.TAGoogleAnalyticsEvent; + + _this.categoryEventOnlyEnabled = TAGoogleAnalyticsEvent; + _this.enabled = _optionalPackageUtils.default.isGoogleAnalytics3Available() && !disableGoogleAnalytics3 && _this._isCmpAllowed(); + + if (_this.enabled) { + var _global$getActivePSet = global.getActivePSetup(), + clientGoogleAnalyticsAccount = _global$getActivePSet.clientGoogleAnalyticsAccount; + + _this._populateList(_this.clientList, clientGoogleAnalyticsAccount); + + _this._populateList(_this.feedbackList, feedbackGoogleAnalyticsAccount); + + _this._populateList(_this.tecnaviaList, tecnaviaGoogleAnalyticsAccount); + + var _global$getRssIndex = global.getRssIndex(), + googleAnalytics = _global$getRssIndex.googleAnalytics; + + if (googleAnalytics) { + googleAnalytics.forEach(function (item) { + if (_this._isCorrectOs(item) && _this._isCorrectDevice(item)) { + var googleAccount = item.googleAccount, + pattern = item.pattern; + + var tracker = _this._createGoogleAnalyticsTracker(googleAccount); + + _this.rssList.push({ + id: googleAccount, + pattern: pattern, + tracker: tracker + }); + } + }); + } + } + + return _this; + }); + + _this.trackScreen = function (screen, params, customDimensions) { + if (!_this._isValid()) { + return; + } + + if (_this.categoryEventOnlyEnabled !== "startup") { + _this.tecnaviaList.forEach(function (analytic) { + var _analytic$tracker; + + (_analytic$tracker = analytic.tracker) == null ? undefined : _analytic$tracker.trackScreenView(screen, { + customDimensions: customDimensions + }); + }); + } + + _this.clientList.forEach(function (analytic) { + var _analytic$tracker2; + + (_analytic$tracker2 = analytic.tracker) == null ? undefined : _analytic$tracker2.trackScreenView(screen, { + customDimensions: customDimensions + }); + }); + + _this.rssList.forEach(function (analytic) { + if (_LiveConfig.default.isRssSide() && params && analytic.pattern) { + var _analytic$tracker3; + + var pattern = analytic.pattern; + pattern = replaceValueInPattern(pattern, "{apptype}", params.apptype); + pattern = replaceValueInPattern(pattern, "{devicetype}", params.devicetype); + pattern = replaceValueInPattern(pattern, "{paper}", params.paper); + pattern = replaceValueInPattern(pattern, "{psetup}", params.psetup); + pattern = replaceValueInPattern(pattern, "{category}", params.category); + pattern = replaceValueInPattern(pattern, "{date}", params.date); + pattern = replaceValueInPattern(pattern, "{layout}", params.layout); + pattern = replaceValueInPattern(pattern, "{articletitle}", params.articletitle); + pattern = pattern.replace(new RegExp("/{2,}|/{2,}|/\\|", "g"), "/"); + (_analytic$tracker3 = analytic.tracker) == null ? undefined : _analytic$tracker3.trackScreenView(pattern, { + customDimensions: customDimensions + }); + } else { + var _analytic$tracker4; + + (_analytic$tracker4 = analytic.tracker) == null ? undefined : _analytic$tracker4.trackScreenView(screen, { + customDimensions: customDimensions + }); + } + }); + + var _ref2 = params != null ? params : {}, + activePSetup = _ref2.activePSetup, + googleAnalyticsAccount = _ref2.googleAnalyticsAccount; + + if (activePSetup && googleAnalyticsAccount) { + var customList = _this._getCustomList(activePSetup, googleAnalyticsAccount); + + customList.forEach(function (analytic) { + var _analytic$tracker5; + + (_analytic$tracker5 = analytic.tracker) == null ? undefined : _analytic$tracker5.trackScreenView(screen, { + customDimensions: customDimensions + }); + }); + } + }; + + _this.trackEvent = function (params) { + if (!_this._isParamsValid(params)) { + return; + } + + var trackers = []; + + if (_this.categoryEventOnlyEnabled !== "startup") { + _this.tecnaviaList.forEach(function (analytic) { + return trackers.push(analytic.tracker); + }); + } + + _this.clientList.forEach(function (analytic) { + return trackers.push(analytic.tracker); + }); + + _this.rssList.forEach(function (analytic) { + return trackers.push(analytic.tracker); + }); + + var activePSetup = params.activePSetup, + googleAnalyticsAccount = params.googleAnalyticsAccount; + + if (activePSetup && googleAnalyticsAccount) { + var customList = _this._getCustomList(activePSetup, googleAnalyticsAccount); + + customList.forEach(function (analytic) { + return trackers.push(analytic.tracker); + }); + } + + trackers.forEach(function (tracker) { + tracker == null ? undefined : tracker.trackEvent(params.category, params.action, params.label ? { + label: params.label + } : {}); + }); + }; + + _this.trackStartup = function () { + if (!_this._isValid()) { + return; + } + + _this.tecnaviaList.forEach(function (analytic) { + var _analytic$tracker6; + + (_analytic$tracker6 = analytic.tracker) == null ? undefined : _analytic$tracker6.trackEvent(_LiveConfig.default.getAppSide(), "startup", _$$_REQUIRE(_dependencyMap[12]).PlatformUtils.model()); + }); + }; + + _this.trackFeedback = function (screen) { + if (!_this._isValid()) { + return; + } + + _this.feedbackList.forEach(function (analytic) { + analytic.tracker.trackScreenView(screen); + }); + }; + + _this.updateClientList = function () { + if (_this.enabled) { + _this.clientList = []; + + var _global$getActivePSet2 = global.getActivePSetup(), + clientGoogleAnalyticsAccount = _global$getActivePSet2.clientGoogleAnalyticsAccount; + + _this._populateList(_this.clientList, clientGoogleAnalyticsAccount); + } + }; + + _this._populateList = function (list, values) { + if (values) { + var split = values.split(","); + split.forEach(function (item) { + var tracker = _this._createGoogleAnalyticsTracker(item); + + list.push({ + id: item.trim(), + tracker: tracker + }); + }); + } + }; + + _this._createGoogleAnalyticsTracker = function (trackerId) { + var _global$getMainPSetup2 = global.getMainPSetup(), + googleAnalyticsAnonymizeIP = _global$getMainPSetup2.googleAnalyticsAnonymizeIP; + + var tracker = new GoogleAnalyticsTracker(trackerId); + tracker.setAnonymizeIp(googleAnalyticsAnonymizeIP); + tracker.allowIDFA(false); + return tracker; + }; + + _this._createCustomList = function (customGoogleAnalyticsAccount) { + var customList = []; + + if (customGoogleAnalyticsAccount) { + var clientSplit = []; + + var _global$getActivePSet3 = global.getActivePSetup(), + clientGoogleAnalyticsAccount = _global$getActivePSet3.clientGoogleAnalyticsAccount; + + if (clientGoogleAnalyticsAccount) { + clientSplit.push.apply(clientSplit, (0, _toConsumableArray2.default)(clientGoogleAnalyticsAccount.split(","))); + } + + var rssSplit = []; + + var _global$getRssIndex2 = global.getRssIndex(), + googleAnalytics = _global$getRssIndex2.googleAnalytics; + + if (googleAnalytics) { + googleAnalytics.forEach(function (item) { + var googleAccount = item.googleAccount; + + if (googleAccount) { + rssSplit.push.apply(rssSplit, (0, _toConsumableArray2.default)(googleAccount.split(","))); + } + }); + } + + var customSplit = customGoogleAnalyticsAccount.split(","); + customSplit.forEach(function (item) { + if (!clientSplit.includes(item) && !rssSplit.includes(item)) { + var tracker = _this._createGoogleAnalyticsTracker(item); + + customList.push({ + id: item.trim(), + tracker: tracker + }); + } + }); + } + + return customList; + }; + + _this._getCustomList = function (activePSetup, googleAnalyticsAccount) { + if (_this.customLists[activePSetup]) { + var _this$customLists$act = _this.customLists[activePSetup], + rawAccount = _this$customLists$act.rawAccount, + _list = _this$customLists$act.list; + + if (rawAccount === googleAnalyticsAccount) { + return _list; + } + } + + var list = _this._createCustomList(googleAnalyticsAccount); + + _this.customLists[activePSetup] = { + rawAccount: googleAnalyticsAccount, + list: list + }; + return list; + }; + + _this._isCorrectOs = function (item) { + return !item.OS || item.OS.toLowerCase() === _reactNative.Platform.OS.toLowerCase(); + }; + + _this._isCorrectDevice = function (item) { + var isTablet = _$$_REQUIRE(_dependencyMap[12]).PlatformUtils.isTablet(); + + var deviceFamily = "all"; + + if (item.deviceFamily) { + if (item.deviceFamily === "iPad") { + deviceFamily = "tablet"; + } else if (item.deviceFamily === "iPhone") { + deviceFamily = "phone"; + } + } + + return deviceFamily === "all" || deviceFamily === "tablet" && isTablet || deviceFamily === "phone" && !isTablet; + }; + + return _this; + } + + (0, _inherits2.default)(Ga3Tracker, _Tracker); + return (0, _createClass2.default)(Ga3Tracker); + }(_$$_REQUIRE(_dependencyMap[13]).Tracker); +},1913,[3,22,270,7,6,11,13,14,18,1907,879,1906,438,1914]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -240205,7 +240625,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e this.service = service; }); -},1905,[3,270,7,6,1906]); +},1914,[3,270,7,6,1915]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -241078,7 +241498,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e CmpUtils.googlePersonalizedAdsConsent = undefined; CmpUtils.googleNonPersonalizedAdsConsent = undefined; CmpUtils.consentNotNeeded = false; -},1906,[3,270,6,7,18,406,865,852,438,801,1903]); +},1915,[3,270,6,7,18,406,879,866,438,815,1906]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -241162,7 +241582,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(FirebaseTracker, _FirebaseBaseTracker); return (0, _createClass2.default)(FirebaseTracker); }(_$$_REQUIRE(_dependencyMap[9]).FirebaseBaseTracker); -},1907,[3,270,7,6,11,13,14,865,1903,1908]); +},1916,[3,270,7,6,11,13,14,879,1906,1917]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -241220,7 +241640,657 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(FirebaseBaseTracker, _Tracker); return (0, _createClass2.default)(FirebaseBaseTracker); }(_$$_REQUIRE(_dependencyMap[9]).Tracker); -},1908,[3,7,6,11,13,14,434,1892,438,1905]); +},1917,[3,7,6,11,13,14,434,1918,438,1914]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _PaywallHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var PaywallLoginStatus = exports.default = function () { + function PaywallLoginStatus() { + (0, _classCallCheck2.default)(this, PaywallLoginStatus); + } + + return (0, _createClass2.default)(PaywallLoginStatus, null, [{ + key: "getUserStatus", + value: function () { + var _getUserStatus = (0, _asyncToGenerator2.default)(function* () { + return _PaywallHelper.default.getUserStatus(); + }); + + function getUserStatus() { + return _getUserStatus.apply(this, arguments); + } + + return getUserStatus; + }() + }, { + key: "getDefaultUserStatus", + value: function getDefaultUserStatus() { + return { + subscriptions: [_$$_REQUIRE(_dependencyMap[5]).unregisteredSubscriptionType] + }; + } + }, { + key: "setUserStatus", + value: function setUserStatus(userStatus) { + PaywallLoginStatus.userStatus = userStatus; + + _PaywallHelper.default.setUserStatus(userStatus); + } + }, { + key: "updateUserStatus", + value: function updateUserStatus(userStatus) { + PaywallLoginStatus.setUserStatus(Object.assign({}, PaywallLoginStatus.userStatus, userStatus)); + } + }, { + key: "resetUserStatus", + value: function resetUserStatus() { + PaywallLoginStatus.setUserStatus(PaywallLoginStatus.getDefaultUserStatus()); + } + }, { + key: "initUserStatus", + value: function () { + var _initUserStatus = (0, _asyncToGenerator2.default)(function* () { + var appId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : global.getRssIndex().paywallAppId; + + _PaywallHelper.default.setStorageName("paywall_" + appId); + + var userStatus = yield PaywallLoginStatus.getUserStatus(); + + if (userStatus) { + PaywallLoginStatus.userStatus = userStatus; + } else { + PaywallLoginStatus.resetUserStatus(); + } + }); + + function initUserStatus() { + return _initUserStatus.apply(this, arguments); + } + + return initUserStatus; + }() + }, { + key: "isLoginInvalid", + value: function isLoginInvalid() { + var _PaywallLoginStatus$u = PaywallLoginStatus.userStatus, + lastLoginTimestamp = _PaywallLoginStatus$u.lastLoginTimestamp, + logged = _PaywallLoginStatus$u.logged; + + if (!logged) { + return false; + } + + var _global$getRSSActiveP = global.getRSSActivePSetup(), + refreshesTAUIDTimestamp = _global$getRSSActiveP.refreshesTAUIDTimestamp; + + if (refreshesTAUIDTimestamp) { + var referenceTimestamp = lastLoginTimestamp || 0; + return refreshesTAUIDTimestamp >= referenceTimestamp; + } + + return false; + } + }, { + key: "remember", + value: function remember(credentials) { + PaywallLoginStatus.updateUserStatus({ + credentials: credentials + }); + } + }, { + key: "forget", + value: function forget() { + PaywallLoginStatus.updateUserStatus({ + credentials: undefined + }); + } + }, { + key: "isUserLoggedIn", + value: function isUserLoggedIn() { + if (PaywallLoginStatus.userStatus) { + var logged = PaywallLoginStatus.userStatus.logged; + return logged != null ? logged : false; + } + + return false; + } + }, { + key: "getCredentials", + value: function getCredentials() { + if (PaywallLoginStatus.userStatus) { + var credentials = PaywallLoginStatus.userStatus.credentials; + return credentials; + } + + return undefined; + } + }, { + key: "getSubscriptions", + value: function getSubscriptions() { + var _subscriptions; + + var subscriptions; + + if (PaywallLoginStatus.userStatus) { + subscriptions = PaywallLoginStatus.userStatus.subscriptions; + } + + return (_subscriptions = subscriptions) != null ? _subscriptions : [_$$_REQUIRE(_dependencyMap[5]).unregisteredSubscriptionType]; + } + }, { + key: "getTAUID", + value: function getTAUID() { + if (PaywallLoginStatus.userStatus) { + var TAUID = PaywallLoginStatus.userStatus.TAUID; + return TAUID; + } + + return undefined; + } + }, { + key: "setExtId", + value: function setExtId(extid) { + PaywallLoginStatus.updateUserStatus({ + extid: extid + }); + } + }, { + key: "getExtid", + value: function getExtid() { + if (PaywallLoginStatus.userStatus) { + var extid = PaywallLoginStatus.userStatus.extid; + return extid; + } + + return undefined; + } + }, { + key: "isAdFree", + value: function isAdFree() { + if (PaywallLoginStatus.userStatus) { + var adFree = PaywallLoginStatus.userStatus.adFree; + return adFree === "1"; + } + + return false; + } + }]); + }(); + + PaywallLoginStatus.userStatus = {}; +},1918,[3,270,6,7,1919,1920]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var PaywallHelper = exports.default = function () { + function PaywallHelper() { + (0, _classCallCheck2.default)(this, PaywallHelper); + } + + return (0, _createClass2.default)(PaywallHelper, null, [{ + key: "getOldName", + value: function getOldName() { + return _$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isIOS() ? null : PaywallHelper.androidSharedPreferences.name; + } + }, { + key: "getMachineIdFromUserDefaults", + value: function () { + var _getMachineIdFromUserDefaults = (0, _asyncToGenerator2.default)(function* () { + return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.getItemFromDefaultPreferences(PaywallHelper.getOldName(), _$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isIOS() ? PaywallHelper.iOSStandardUserDefaults.keys.machineId : PaywallHelper.androidSharedPreferences.keys.machineId); + }); + + function getMachineIdFromUserDefaults() { + return _getMachineIdFromUserDefaults.apply(this, arguments); + } + + return getMachineIdFromUserDefaults; + }() + }, { + key: "getUserStatusFromUserDefaults", + value: function () { + var _getUserStatusFromUserDefaults = (0, _asyncToGenerator2.default)(function* () { + var _global$getRssIndex = global.getRssIndex(), + paywallAppId = _global$getRssIndex.paywallAppId; + + var userStatus = yield _$$_REQUIRE(_dependencyMap[4]).StorageUtils.getItemFromDefaultPreferences(PaywallHelper.getOldName(), _$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isIOS() ? paywallAppId : PaywallHelper.androidSharedPreferences.keys.taUserLoginPrefix + paywallAppId); + + if (userStatus) { + if (_$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isIOS()) { + return userStatus[PaywallHelper.iOSStandardUserDefaults.keys.userStatus]; + } + + try { + return JSON.parse(userStatus); + } catch (e) {} + } + + return undefined; + }); + + function getUserStatusFromUserDefaults() { + return _getUserStatusFromUserDefaults.apply(this, arguments); + } + + return getUserStatusFromUserDefaults; + }() + }, { + key: "setStandardUserDefaultsValue", + value: function setStandardUserDefaultsValue(key, value) { + return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.setItemInDefaultPreferences(PaywallHelper.getOldName(), key, value); + } + }, { + key: "clearStandardUserDefaults", + value: function clearStandardUserDefaults() { + return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.clearAllFromDefaultPreferences(PaywallHelper.getOldName()); + } + }, { + key: "setStorageName", + value: function setStorageName(name) { + PaywallHelper.SP.name = name; + } + }, { + key: "getItem", + value: function () { + var _getItem = (0, _asyncToGenerator2.default)(function* (key) { + return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.getItemFromDefaultPreferences(PaywallHelper.SP.name, key); + }); + + function getItem(_x) { + return _getItem.apply(this, arguments); + } + + return getItem; + }() + }, { + key: "setItem", + value: function () { + var _setItem = (0, _asyncToGenerator2.default)(function* (key, value) { + return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.setItemInDefaultPreferences(PaywallHelper.SP.name, key, value); + }); + + function setItem(_x2, _x3) { + return _setItem.apply(this, arguments); + } + + return setItem; + }() + }, { + key: "clearItem", + value: function () { + var _clearItem = (0, _asyncToGenerator2.default)(function* (key) { + return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.clearItemFromDefaultPreferences(PaywallHelper.SP.name, key); + }); + + function clearItem(_x4) { + return _clearItem.apply(this, arguments); + } + + return clearItem; + }() + }, { + key: "getAccessedProductsList", + value: function () { + var _getAccessedProductsList = (0, _asyncToGenerator2.default)(function* () { + try { + var alreadyAccessedProducts = yield PaywallHelper.getItem(PaywallHelper.SP.keys.alreadyAccessedProducts); + return JSON.parse(alreadyAccessedProducts); + } catch (e) { + return []; + } + }); + + function getAccessedProductsList() { + return _getAccessedProductsList.apply(this, arguments); + } + + return getAccessedProductsList; + }() + }, { + key: "setAccessedProductsList", + value: function () { + var _setAccessedProductsList = (0, _asyncToGenerator2.default)(function* (value) { + return PaywallHelper.setItem(PaywallHelper.SP.keys.alreadyAccessedProducts, JSON.stringify(value)); + }); + + function setAccessedProductsList(_x5) { + return _setAccessedProductsList.apply(this, arguments); + } + + return setAccessedProductsList; + }() + }, { + key: "getOfflineProductsList", + value: function () { + var _getOfflineProductsList = (0, _asyncToGenerator2.default)(function* () { + try { + var offlineAccessedProducts = yield PaywallHelper.getItem(PaywallHelper.SP.keys.offlineAccessedProducts); + return JSON.parse(offlineAccessedProducts); + } catch (e) { + return []; + } + }); + + function getOfflineProductsList() { + return _getOfflineProductsList.apply(this, arguments); + } + + return getOfflineProductsList; + }() + }, { + key: "setOfflineProductsList", + value: function () { + var _setOfflineProductsList = (0, _asyncToGenerator2.default)(function* (value) { + return PaywallHelper.setItem(PaywallHelper.SP.keys.offlineAccessedProducts, JSON.stringify(value)); + }); + + function setOfflineProductsList(_x6) { + return _setOfflineProductsList.apply(this, arguments); + } + + return setOfflineProductsList; + }() + }, { + key: "isFirstProductsLeftPopupAlreadyShown", + value: function () { + var _isFirstProductsLeftPopupAlreadyShown = (0, _asyncToGenerator2.default)(function* () { + var result = yield PaywallHelper.getItem(PaywallHelper.SP.keys.firstProductsLeftPopupAlreadyShown); + return result === "1"; + }); + + function isFirstProductsLeftPopupAlreadyShown() { + return _isFirstProductsLeftPopupAlreadyShown.apply(this, arguments); + } + + return isFirstProductsLeftPopupAlreadyShown; + }() + }, { + key: "setFirstProductsLeftPopupAlreadyShown", + value: function () { + var _setFirstProductsLeftPopupAlreadyShown = (0, _asyncToGenerator2.default)(function* () { + return PaywallHelper.setItem(PaywallHelper.SP.keys.firstProductsLeftPopupAlreadyShown, "1"); + }); + + function setFirstProductsLeftPopupAlreadyShown() { + return _setFirstProductsLeftPopupAlreadyShown.apply(this, arguments); + } + + return setFirstProductsLeftPopupAlreadyShown; + }() + }, { + key: "isWelcomePopupAlreadyShown", + value: function () { + var _isWelcomePopupAlreadyShown = (0, _asyncToGenerator2.default)(function* () { + var result = yield PaywallHelper.getItem(PaywallHelper.SP.keys.welcomePopupAlreadyShown); + return result === "1"; + }); + + function isWelcomePopupAlreadyShown() { + return _isWelcomePopupAlreadyShown.apply(this, arguments); + } + + return isWelcomePopupAlreadyShown; + }() + }, { + key: "setWelcomePopupAlreadyShown", + value: function () { + var _setWelcomePopupAlreadyShown = (0, _asyncToGenerator2.default)(function* () { + return PaywallHelper.setItem(PaywallHelper.SP.keys.welcomePopupAlreadyShown, "1"); + }); + + function setWelcomePopupAlreadyShown() { + return _setWelcomePopupAlreadyShown.apply(this, arguments); + } + + return setWelcomePopupAlreadyShown; + }() + }, { + key: "getUserStatus", + value: function () { + var _getUserStatus = (0, _asyncToGenerator2.default)(function* () { + try { + var userStatus = yield PaywallHelper.getItem(PaywallHelper.SP.keys.userStatus); + + if (userStatus) { + return JSON.parse(userStatus); + } + + var oldUserStatus = yield PaywallHelper.getUserStatusFromUserDefaults(); + + if (oldUserStatus) { + var user = oldUserStatus.user, + pwdEncrypt = oldUserStatus.pwdEncrypt, + challenge = oldUserStatus.challenge, + subscription = oldUserStatus.subscription, + remember = oldUserStatus.remember; + userStatus = { + credentials: { + user: user, + pwdEncrypt: pwdEncrypt, + challenge: challenge + }, + subscriptions: [subscription], + remember: remember + }; + yield PaywallHelper.setUserStatus(userStatus); + PaywallHelper.clearStandardUserDefaults(); + } + + return userStatus; + } catch (e) { + return null; + } + }); + + function getUserStatus() { + return _getUserStatus.apply(this, arguments); + } + + return getUserStatus; + }() + }, { + key: "setUserStatus", + value: function () { + var _setUserStatus = (0, _asyncToGenerator2.default)(function* (userStatus) { + return PaywallHelper.setItem(PaywallHelper.SP.keys.userStatus, JSON.stringify(userStatus)); + }); + + function setUserStatus(_x7) { + return _setUserStatus.apply(this, arguments); + } + + return setUserStatus; + }() + }, { + key: "getConfig", + value: function () { + var _getConfig = (0, _asyncToGenerator2.default)(function* () { + try { + var config = yield PaywallHelper.getItem(PaywallHelper.SP.keys.config); + + if (config) { + return JSON.parse(config); + } + } catch (e) {} + + return {}; + }); + + function getConfig() { + return _getConfig.apply(this, arguments); + } + + return getConfig; + }() + }, { + key: "setConfig", + value: function () { + var _setConfig = (0, _asyncToGenerator2.default)(function* (config) { + return PaywallHelper.setItem(PaywallHelper.SP.keys.config, JSON.stringify(config)); + }); + + function setConfig(_x8) { + return _setConfig.apply(this, arguments); + } + + return setConfig; + }() + }, { + key: "setLastProductsLeft", + value: function () { + var _setLastProductsLeft = (0, _asyncToGenerator2.default)(function* (productsLeft) { + return PaywallHelper.setItem(PaywallHelper.SP.keys.lastProductsLeft, "" + productsLeft); + }); + + function setLastProductsLeft(_x9) { + return _setLastProductsLeft.apply(this, arguments); + } + + return setLastProductsLeft; + }() + }, { + key: "getLastProductsLeft", + value: function () { + var _getLastProductsLeft = (0, _asyncToGenerator2.default)(function* () { + return PaywallHelper.getItem(PaywallHelper.SP.keys.lastProductsLeft); + }); + + function getLastProductsLeft() { + return _getLastProductsLeft.apply(this, arguments); + } + + return getLastProductsLeft; + }() + }, { + key: "enableLogoutFlag", + value: function () { + var _enableLogoutFlag = (0, _asyncToGenerator2.default)(function* () { + return PaywallHelper.setItem(PaywallHelper.SP.keys.logout, "1"); + }); + + function enableLogoutFlag() { + return _enableLogoutFlag.apply(this, arguments); + } + + return enableLogoutFlag; + }() + }, { + key: "isLogoutFlagEnabled", + value: function () { + var _isLogoutFlagEnabled = (0, _asyncToGenerator2.default)(function* () { + var flag = yield PaywallHelper.getItem(PaywallHelper.SP.keys.logout); + return flag === "1"; + }); + + function isLogoutFlagEnabled() { + return _isLogoutFlagEnabled.apply(this, arguments); + } + + return isLogoutFlagEnabled; + }() + }, { + key: "clearLogoutFlag", + value: function () { + var _clearLogoutFlag = (0, _asyncToGenerator2.default)(function* () { + return PaywallHelper.clearItem(PaywallHelper.SP.keys.logout); + }); + + function clearLogoutFlag() { + return _clearLogoutFlag.apply(this, arguments); + } + + return clearLogoutFlag; + }() + }]); + }(); + + PaywallHelper.SP = { + name: "paywall", + keys: { + welcomePopupAlreadyShown: "welcomePopupAlreadyShown", + alreadyAccessedProducts: "alreadyAccessedProducts", + offlineAccessedProducts: "offlineAccessedProducts", + firstProductsLeftPopupAlreadyShown: "firstProductsLeftPopupAlreadyShown", + userStatus: "userStatus", + config: "config", + lastProductsLeft: "lastProductsLeft", + logout: "logoutInRSS" + } + }; + PaywallHelper.androidSharedPreferences = { + name: "ta_metered_paywall", + keys: { + taUserLoginPrefix: "ta_user_login_", + machineId: "ta_MACHINE_ID" + } + }; + PaywallHelper.iOSStandardUserDefaults = { + keys: { + machineId: "ta_MACHINE_ID", + userStatus: "ta_user_login" + } + }; +},1919,[3,270,6,7,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.unregisteredSubscriptionType = exports.services = exports.serverStatusCodes = exports.serverBaseDomain = exports.protectedServices = exports.popupTypes = exports.configKeys = exports.baseVer = exports.accessedProductsDuration = exports.UNLIMITED_ACCESS = undefined; + var serverBaseDomain = exports.serverBaseDomain = "pw.newsmemory.com"; + var baseVer = exports.baseVer = "meterapps.check.24120213"; + var accessedProductsDuration = exports.accessedProductsDuration = 86400000; + var unregisteredSubscriptionType = exports.unregisteredSubscriptionType = "UNREGISTERED"; + var services = exports.services = { + config: "get_config", + validate: "validate", + login: "login", + logout: "logout", + user_validate: "user_validate", + popups: "popups" + }; + var protectedServices = exports.protectedServices = [services.validate, services.user_validate, services.logout, services.login]; + var popupTypes = exports.popupTypes = { + account: "userProfile", + blocking: "paywall", + login: "loginForm", + productsLeft: "productsLeft", + welcome: "welcome" + }; + var serverStatusCodes = exports.serverStatusCodes = { + INTERNAL_ERROR: -5, + SESSION_EXPIRED: -4, + USER_NOT_LOGGED: -3, + WRONG_ACI: -3, + WRONG_APP_ID: -2, + SUCCESS: 0 + }; + var configKeys = exports.configKeys = { + showWelcomePopup: "show_welcome_popup", + showFirstProductsLeftPopup: "show_first_products_left_popup", + showLatestProductsLeftPopup: "show_latest_products_left_popup", + showPaywall: "show_paywall" + }; + var UNLIMITED_ACCESS = exports.UNLIMITED_ACCESS = "unlimited"; +},1920,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -241404,7 +242474,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[12]).FirebaseBaseTracker); -},1909,[3,22,4,270,6,7,11,13,14,865,1903,438,1908]); +},1921,[3,22,4,270,6,7,11,13,14,879,1906,438,1917]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -241473,7 +242543,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(RempTracker, _Tracker); return (0, _createClass2.default)(RempTracker); }(_$$_REQUIRE(_dependencyMap[9]).Tracker); -},1910,[3,270,7,6,11,13,14,407,1903,1905]); +},1922,[3,270,7,6,11,13,14,407,1906,1914]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -241602,7 +242672,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(MatherTracker, _Tracker); return (0, _createClass2.default)(MatherTracker); }(_$$_REQUIRE(_dependencyMap[10]).Tracker); -},1911,[3,270,7,6,11,13,14,865,1903,1904,1905]); +},1923,[3,270,7,6,11,13,14,879,1906,1909,1914]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -241697,12 +242767,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } try { - var _this2; + var _this$tracker2; var category = params.category, action = params.action, label = params.label; - (_this2 = _this) == null ? undefined : _this2.tracker.trackEvent(category, action, label); + (_this$tracker2 = _this.tracker) == null ? undefined : _this$tracker2.trackEvent(category, action, label); } catch (e) {} }; @@ -241712,9 +242782,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } try { - var _this$tracker2; + var _this$tracker3; - (_this$tracker2 = _this.tracker) == null ? undefined : _this$tracker2.dispatch(); + (_this$tracker3 = _this.tracker) == null ? undefined : _this$tracker3.dispatch(); } catch (e) {} }; @@ -241724,7 +242794,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(MatomoTracker, _Tracker); return (0, _createClass2.default)(MatomoTracker); }(_$$_REQUIRE(_dependencyMap[10]).Tracker); -},1912,[3,270,7,6,11,13,14,1898,865,1903,1905]); +},1924,[3,270,7,6,11,13,14,1907,879,1906,1914]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -241895,7 +242965,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(MatomoMasTracker, _Tracker); return (0, _createClass2.default)(MatomoMasTracker); }(_$$_REQUIRE(_dependencyMap[11]).Tracker); -},1913,[3,270,7,6,11,13,14,1898,865,1903,438,1905]); +},1925,[3,270,7,6,11,13,14,1907,879,1906,438,1914]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -242325,7 +243395,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(AdmobileTracker, _Tracker); return (0, _createClass2.default)(AdmobileTracker); }(_$$_REQUIRE(_dependencyMap[12]).Tracker); -},1914,[3,270,7,6,11,13,14,436,865,1903,1904,438,1905]); +},1926,[3,270,7,6,11,13,14,436,879,1906,1909,438,1914]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -242439,7 +243509,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(FacebookTracker, _Tracker); return (0, _createClass2.default)(FacebookTracker); }(_$$_REQUIRE(_dependencyMap[10]).Tracker); -},1915,[3,4,7,6,11,13,14,865,1903,438,1905]); +},1927,[3,4,7,6,11,13,14,879,1906,438,1914]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -242513,7 +243583,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(ComscoreTracker, _Tracker); return (0, _createClass2.default)(ComscoreTracker); }(_$$_REQUIRE(_dependencyMap[8]).Tracker); -},1916,[3,7,6,11,13,14,865,1903,1905]); +},1928,[3,7,6,11,13,14,879,1906,1914]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -242703,7 +243773,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(ChartbeatTracker, _Tracker); return (0, _createClass2.default)(ChartbeatTracker); }(_$$_REQUIRE(_dependencyMap[14]).Tracker); -},1917,[3,4,270,7,6,11,13,14,865,1898,436,1903,550,438,1905]); +},1929,[3,4,270,7,6,11,13,14,879,1907,436,1906,564,438,1914]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -242891,7 +243961,19688 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[12]).Tracker); -},1918,[3,4,270,6,7,11,13,14,865,1903,1904,438,1905]); +},1930,[3,4,270,6,7,11,13,14,879,1906,1909,438,1914]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _Api = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _tecnaviaFileUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var SslConfig = exports.default = function () { + function SslConfig() { + (0, _classCallCheck2.default)(this, SslConfig); + this.enabled = false; + this.enabled = _$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isAndroid(); + } + + return (0, _createClass2.default)(SslConfig, [{ + key: "init", + value: function () { + var _init = (0, _asyncToGenerator2.default)(function* (config) { + if (!this.enabled) { + return; + } + + var directory = SslConfig.getDirectory(); + + try { + if (!(yield _tecnaviaFileUtils.default.exists(directory))) { + yield _tecnaviaFileUtils.default.assetsCopy(SslConfig.MAIN_DIRECTORY, SslConfig.getMainDirectory()); + } + } catch (e) {} + + var currentTimestamp = yield this.readTimestamp(); + var sslCertificateFileTime = config.sslCertificateFileTime; + + if (currentTimestamp < sslCertificateFileTime) { + try { + var url = _Api.default.sslCertificatesURI(config); + + var response = yield _tecnaviaFileUtils.default.fetch(url); + + if (response) { + var tmpFile = response.path(); + + try { + yield _tecnaviaFileUtils.default.unlink(directory); + } catch (e) {} + + yield _tecnaviaFileUtils.default.mkdir(directory); + yield _tecnaviaFileUtils.default.unzip(tmpFile, directory); + yield _tecnaviaFileUtils.default.clearUnusedDownloadedFiles(tmpFile); + } + } catch (e) {} + } + }); + + function init(_x) { + return _init.apply(this, arguments); + } + + return init; + }() + }, { + key: "readTimestamp", + value: function () { + var _readTimestamp = (0, _asyncToGenerator2.default)(function* () { + var timestamp = -1; + + try { + if (this.enabled) { + timestamp = yield _tecnaviaFileUtils.default.readFile(SslConfig.getDirectory() + "/" + SslConfig.FILETIME); + } + } catch (e) {} + + return timestamp; + }); + + function readTimestamp() { + return _readTimestamp.apply(this, arguments); + } + + return readTimestamp; + }() + }, { + key: "deleteFolder", + value: function () { + var _deleteFolder = (0, _asyncToGenerator2.default)(function* () { + try { + if (this.enabled) { + yield _tecnaviaFileUtils.default.unlink(SslConfig.getDirectory()); + } + } catch (e) {} + }); + + function deleteFolder() { + return _deleteFolder.apply(this, arguments); + } + + return deleteFolder; + }() + }], [{ + key: "getDirectory", + value: function getDirectory() { + return "" + SslConfig.getMainDirectory() + SslConfig.MAIN_DIRECTORY; + } + }, { + key: "getMainDirectory", + value: function getMainDirectory() { + return "" + _tecnaviaFileUtils.default.getNewsmemoryBaseDirectory(); + } + }]); + }(); + + SslConfig.MAIN_DIRECTORY = "certs"; + SslConfig.LIST = "list.json"; + SslConfig.FILETIME = "filetime.txt"; +},1931,[3,270,6,7,407,566,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _tecnaviaFileUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var ContentManager = exports.default = function () { + function ContentManager() { + (0, _classCallCheck2.default)(this, ContentManager); + this.usedSpace = 0; + this.numberOfPapersDirs = 0; + this.numberOfIssuesDirs = 0; + this.numberOfPagesDirs = 0; + } + + return (0, _createClass2.default)(ContentManager, [{ + key: "analyze", + value: function () { + var _analyze = (0, _asyncToGenerator2.default)(function* () { + try { + var result = {}; + yield this.recursiveCheck(_tecnaviaFileUtils.default.getNewspaperBaseDirectory(), 0, result); + this.usedSpace = result.size || 0; + this.numberOfPapersDirs = result["0"] || 0; + this.numberOfIssuesDirs = result["1"] || 0; + this.numberOfPagesDirs = result["2"] || 0; + } catch (e) {} + + return { + usedSpace: this.usedSpace, + numberOfPapersDirs: this.numberOfPapersDirs, + numberOfIssuesDirs: this.numberOfIssuesDirs, + numberOfPagesDirs: this.numberOfPagesDirs + }; + }); + + function analyze() { + return _analyze.apply(this, arguments); + } + + return analyze; + }() + }, { + key: "recursiveCheck", + value: function () { + var _recursiveCheck = (0, _asyncToGenerator2.default)(function* (path, depth, result) { + var paperDirs = yield _tecnaviaFileUtils.default.readDir(path); + + if (!result[depth]) { + result[depth] = 0; + } + + for (var i = 0; i < paperDirs.length; i++) { + var _paperDirs$i = paperDirs[i], + size = _paperDirs$i.size, + subPath = _paperDirs$i.path, + isDirectory = _paperDirs$i.isDirectory; + + if (!result.size) { + result.size = 0; + } + + result.size += size; + + if (isDirectory()) { + result[depth] += 1; + yield this.recursiveCheck(subPath, depth + 1, result); + } + } + }); + + function recursiveCheck(_x, _x2, _x3) { + return _recursiveCheck.apply(this, arguments); + } + + return recursiveCheck; + }() + }]); + }(); +},1932,[3,270,6,7,566]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.RssFavoritesConfig = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _IndexHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _RssActionManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var FAVORITES_STORAGE_NAME = "favorites"; + + var RssFavoritesConfig = exports.RssFavoritesConfig = function () { + function RssFavoritesConfig() { + (0, _classCallCheck2.default)(this, RssFavoritesConfig); + this.favorites = []; + this.icon = ""; + } + + return (0, _createClass2.default)(RssFavoritesConfig, [{ + key: "init", + value: function () { + var _init = (0, _asyncToGenerator2.default)(function* () { + yield this.retrieveFavorites(); + this.icon = _IndexHelper.default.SP.values.favoritesIcons.default; + + var _global$getRssIndex = global.getRssIndex(), + favoritesIconFromBBE = _global$getRssIndex.favoritesIconFromBBE; + + if (_IndexHelper.default.SP.values.favoritesIcons.supported.indexOf(favoritesIconFromBBE) !== -1) { + this.icon = favoritesIconFromBBE; + } + }); + + function init() { + return _init.apply(this, arguments); + } + + return init; + }() + }, { + key: "retrieveFavorites", + value: function () { + var _retrieveFavorites = (0, _asyncToGenerator2.default)(function* () { + var favorites = {}; + + try { + favorites = (yield _$$_REQUIRE(_dependencyMap[7]).StorageUtils.multiGet(FAVORITES_STORAGE_NAME)) || {}; + } catch (e) {} + + this.favorites = Object.values(favorites).reduce(function (results, favorite) { + try { + var parsed = JSON.parse(favorite); + + if (parsed && typeof parsed === "object") { + var article = Object.assign(new (_$$_REQUIRE(_dependencyMap[8]).Article)(), parsed); + article.action = Object.assign(new _RssActionManager.default(), article.action); + article.isHighlightedBox = false; + article.priority = { + 1: { + D: "1", + d: "1" + }, + 2: { + D: "1x1", + d: "1x1" + }, + 3: { + D: "1x1", + d: "1x1" + }, + 4: { + D: "1x1", + d: "1x1" + }, + isHighlightedBox: "0" + }; + results.push(article); + } + } catch (e) {} + + return results; + }, []); + }); + + function retrieveFavorites() { + return _retrieveFavorites.apply(this, arguments); + } + + return retrieveFavorites; + }() + }, { + key: "getIcon", + value: function getIcon() { + return this.icon; + } + }, { + key: "getFavorites", + value: function getFavorites() { + return this.favorites; + } + }, { + key: "getCount", + value: function getCount() { + return this.favorites ? this.favorites.length : 0; + } + }, { + key: "isFavorite", + value: function isFavorite(item) { + return this.favorites.findIndex(function (_ref) { + var feedId = _ref.feedId; + return feedId === item.feedId; + }) > -1; + } + }, { + key: "clearFavorites", + value: function clearFavorites() { + this.favorites = []; + + _$$_REQUIRE(_dependencyMap[9]).EventRegister.emit(_events.default.CLEAR_FAVORITES); + + _$$_REQUIRE(_dependencyMap[7]).StorageUtils.clearAll(FAVORITES_STORAGE_NAME); + } + }, { + key: "toggleFavorite", + value: function toggleFavorite(item) { + if (this.isFavorite(item)) { + this.removeFavorite(item); + } else { + this.addFavorite(item); + } + + _$$_REQUIRE(_dependencyMap[9]).EventRegister.emit(_events.default.TOGGLE_FAVORITE, { + feedId: item.feedId + }); + } + }, { + key: "addFavorite", + value: function addFavorite(item) { + this.favorites.push(item); + + _$$_REQUIRE(_dependencyMap[7]).StorageUtils.setItem(FAVORITES_STORAGE_NAME, item.feedId, JSON.stringify(item)); + } + }, { + key: "removeFavorite", + value: function removeFavorite(item) { + this.favorites = this.favorites.filter(function (_ref2) { + var feedId = _ref2.feedId; + return feedId !== item.feedId; + }); + + _$$_REQUIRE(_dependencyMap[7]).StorageUtils.clear(FAVORITES_STORAGE_NAME, item.feedId); + } + }]); + }(); +},1933,[3,270,6,7,436,1934,1935,438,1943,564]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var IndexHelper = exports.default = function () { + function IndexHelper() { + (0, _classCallCheck2.default)(this, IndexHelper); + } + + return (0, _createClass2.default)(IndexHelper, null, [{ + key: "getItem", + value: function () { + var _getItem = (0, _asyncToGenerator2.default)(function* (storageName, key) { + return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.getItem(storageName, key); + }); + + function getItem(_x, _x2) { + return _getItem.apply(this, arguments); + } + + return getItem; + }() + }, { + key: "setItem", + value: function () { + var _setItem = (0, _asyncToGenerator2.default)(function* (storageName, key, value) { + yield _$$_REQUIRE(_dependencyMap[4]).StorageUtils.setItem(storageName, key, value); + }); + + function setItem(_x3, _x4, _x5) { + return _setItem.apply(this, arguments); + } + + return setItem; + }() + }, { + key: "getDrawerContent", + value: function () { + var _getDrawerContent = (0, _asyncToGenerator2.default)(function* (storageName) { + var content = yield IndexHelper.getItem(storageName, IndexHelper.SP.keys.drawer_content); + return content; + }); + + function getDrawerContent(_x6) { + return _getDrawerContent.apply(this, arguments); + } + + return getDrawerContent; + }() + }, { + key: "getTutorials", + value: function getTutorials(tutorials) { + return IndexHelper.buildTutorialUrls(tutorials); + } + }, { + key: "buildTutorialUrls", + value: function buildTutorialUrls(items) { + var result = []; + + if (items && items.length > 0) { + var isTablet = _$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isTablet(); + + if (Array.isArray(items[0])) { + var partOne = IndexHelper.getPath(items[0]); + items[0].forEach(function (first) { + if (first[0] === "elements") { + first[1].forEach(function (second) { + var partTwo = IndexHelper.getPath(second); + var displayName = IndexHelper.getDisplayName(second); + + if (!isTablet && displayName === "iphone" || isTablet && displayName === "ipad") { + second.forEach(function (third) { + if (third[0] === "elements") { + third[1].forEach(function (fourth) { + result.push(partOne.concat(partTwo).concat("/").concat(IndexHelper.getPath(fourth))); + }); + } + }); + } + }); + } + }); + } else { + var _items$ = items[0], + path = _items$.path, + elements = _items$.elements; + + if (elements) { + elements.forEach(function (element) { + var devicePath = element.path, + displayName = element.displayName, + deviceElements = element.elements; + + if (!isTablet && displayName === "iphone" || isTablet && displayName === "ipad") { + deviceElements.forEach(function (deviceElement) { + var pagePath = deviceElement.path; + result.push("" + path + devicePath + "/" + pagePath); + }); + } + }); + } + } + } + + return result; + } + }, { + key: "getPath", + value: function getPath(item) { + var result = ""; + item.forEach(function (object) { + if (object[0] === "path") { + result = object[1]; + } + }); + return result; + } + }, { + key: "getDisplayName", + value: function getDisplayName(item) { + var result = ""; + item.forEach(function (object) { + if (object[0] === "displayName") { + result = object[1]; + } + }); + return result; + } + }]); + }(); + + IndexHelper.SP = { + name: "rssIndex", + keys: { + action_bar_background_color: "NavigationBarColor", + app_template_style: "app_template_style", + db_url: "DbPath", + db_mtime: "DbMTime", + drawer_content: "Index", + ga_json: "ga_json", + grid_title_line_limit_phone: "boxTitleLinesLimitGridPhone", + grid_title_line_limit_tablet: "boxTitleLinesLimitGridTablet", + home_category_name: "homeCategoryName", + logo: "LogoPath", + menu_background_color: "MenuBGColor", + my_home_values: "myHomeValues", + hide_drawer_button: "HideDrawerIcon", + show_home_button: "HasHomeIcon", + startup_layout: "startupLayout", + support_color: "SupportColor", + floating_button_color: "PlusButtonBgColor", + tutorials: "Resources", + animation_speed: "animSpeed", + border_radius: "BorderRadius", + border_shadow: "BorderShadow", + border_width: "BorderWidth", + border_color: "BorderColor", + has_top_panel: "hasTopPanel", + summary_in_article_body: "summaryInArticleBody", + has_columnizer: "HasColumnizer", + rn_available_layouts: "rnAvailableLayouts", + rss_footer_enabled: "footerEnabled", + ads: { + cache: "cacheAds", + background_color: "AdsBackgroundColor", + provider: "adProvider", + prebid_account_id: "adPrebidAccountId", + prebid_server_host: "adPrebidServerHost", + prebid_configuration_id: "adPrebidConfigurationId", + prebid_share_geolocation: "adPrebidShareGeolocation", + unit_id: "adUnitId", + mob_app_id: "publisherProvidedID", + bottom: "bottomAdParam", + top: "topAdParam", + default_fallback: "adDefaultFallback", + targeting: "adTargeting" + }, + email_subject: "emailSubjectCustomText", + squared_image: "squaredImage", + favorites_icon: "favoritesIcon", + article_bg_color: "BgColor", + article_top_color: "ArticleTopColor", + paywallAppId: "paywallAppId", + paywallEnabled: "paywallEnabled", + enable_share_button_on_push_notification_urls: "enableShareButtonOnPushNotificationURLs", + font_regular: _$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isIOS() ? "iosRegular" : "androidRegular", + font_medium: _$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isIOS() ? "iosMedium" : "androidMedium", + font_bold: _$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isIOS() ? "iosBold" : "androidBold", + latitude: "latitude", + longitude: "longitude", + skip_right_to_left_thumb_align_in_list: "skipRightToLeftThumbAlignInList", + list_height_multiplier_phone: "listHeightMultiplierOnPhone", + list_height_multiplier_tablet: "listHeightMultiplierOnTablet", + app_auto_refresh_minutes: "appAutoRefreshMinutes", + show_gallery_title: "showGalleryTitle", + archive_search_url: "archiveSearchURL", + must_login_to_view_article: "mustLoginToViewArticle", + attach_paywall_to_article: "attachPaywallToArticle", + article_preview_length: "articlePreviewLength", + use_phone_article_style_on_tablet: "usePhoneArticleStyleOnTablet" + }, + values: { + drawer: { + type: { + feed: "feed", + section: "section" + }, + actions: { + show_articles: "showArticles", + open_my_home: "openMyHome", + open_favorites: "openFavorites", + open_search: "openSearch", + open_url: "openURL", + open_settings: "openSettings", + open_archive_search: "openArchiveSearch", + open_full_screen: "openFullScreen", + upload_image: "uploadImage", + open_epaper: "openEpaper", + open_live_news: "openLiveNews", + open_in_app_purchase_page: "openInAppPurchasePage", + open_optionspage_tab_editions: "openOptionPageEditions", + open_optionspage_tab_login: "openOptionPageLogin", + open_optionspage_tab_contact: "openOptionPageContact", + open_optionspage_tab_help: "openOptionPageHelp", + open_optionspage_tab_archive: "openOptionPageArchive", + open_paywall_account: "openPaywallAccount", + open_publications: "openPublications", + open_drawer: "openDrawer" + }, + params: { + open_le_vedette: "openLeVedette", + open_real_estate: "openRealEstate", + open_auto_search: "openAutoSearch", + open_monster: "openMonster", + open_fair: "openFair", + open_weather: "openWeather", + open_events: "openEvents" + } + }, + favoritesIcons: { + supported: ["heart", "star", "bookmark"], + default: "heart" + } + } + }; +},1934,[3,270,6,7,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _ParserV = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _ParserV2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var RssActionManager = exports.default = function () { + function RssActionManager() { + (0, _classCallCheck2.default)(this, RssActionManager); + this.main = {}; + this.properties = []; + this.icons = []; + this.iconsFullscreen = []; + } + + return (0, _createClass2.default)(RssActionManager, [{ + key: "initActions", + value: function initActions() { + var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var find = RssActionManager.PARSER.find(function (parser) { + return parser.isParsable(data); + }); + + if (find) { + find.parse(data); + this.main = find.getMainAction(); + this.properties = find.getProperties(); + this.icons = find.getIcons(); + this.iconsFullscreen = find.getFullScreenIcons(); + } + } + }, { + key: "hasMainActionOpenGallery", + value: function hasMainActionOpenGallery() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionOpenGallery)(this.main); + } + }, { + key: "hasMainActionOpenLoadExternalUrl", + value: function hasMainActionOpenLoadExternalUrl() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionOpenLoadExternalUrl)(this.main); + } + }, { + key: "hasMainActionShared", + value: function hasMainActionShared() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionShared)(this.main); + } + }, { + key: "hasMainActionOpenEdition", + value: function hasMainActionOpenEdition() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionOpenEdition)(this.main); + } + }, { + key: "hasMainActionOpenLinkToCategory", + value: function hasMainActionOpenLinkToCategory() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionOpenLinkToCategory)(this.main); + } + }, { + key: "hasMainActionLiveStream", + value: function hasMainActionLiveStream() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionLiveStream)(this.main); + } + }, { + key: "hasMainActionHtml5Stream", + value: function hasMainActionHtml5Stream() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionHtml5Stream)(this.main); + } + }, { + key: "hasPropertyHideDate", + value: function hasPropertyHideDate() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyHideDate)(this.properties); + } + }, { + key: "hasPropertyPremiumArticle", + value: function hasPropertyPremiumArticle() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyPremiumArticle)(this.properties); + } + }, { + key: "hasPropertyDisableOpenImage", + value: function hasPropertyDisableOpenImage() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyDisableOpenImage)(this.properties); + } + }, { + key: "hasPropertyDisableColumnizer", + value: function hasPropertyDisableColumnizer() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyDisableColumnizer)(this.properties); + } + }, { + key: "hasPropertyLoadUrlInArticle", + value: function hasPropertyLoadUrlInArticle() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyLoadUrlInArticle)(this.properties); + } + }, { + key: "hasPropertyLoadNativeAd", + value: function hasPropertyLoadNativeAd() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyLoadNativeAd)(this.properties); + } + }, { + key: "hasPropertyLoadNativeAdProvider", + value: function hasPropertyLoadNativeAdProvider(provider) { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyLoadNativeAdProvider)(this.properties, provider); + } + }, { + key: "hasPropertyHideItemInFullScreen", + value: function hasPropertyHideItemInFullScreen() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyHideItemInFullScreen)(this.properties); + } + }, { + key: "hasPropertyHideImageInCardMode", + value: function hasPropertyHideImageInCardMode() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyHideImageInCardMode)(this.properties); + } + }, { + key: "hasPropertyHideSummaryInCardMode", + value: function hasPropertyHideSummaryInCardMode() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyHideSummaryInCardMode)(this.properties); + } + }, { + key: "hasPropertyTitleOnImageInCardMode", + value: function hasPropertyTitleOnImageInCardMode() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyTitleOnImageInCardMode)(this.properties); + } + }, { + key: "hasPropertyOS", + value: function hasPropertyOS() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyOS)(this.properties); + } + }, { + key: "hasPropertyIsSchedule", + value: function hasPropertyIsSchedule() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyIsSchedule)(this.properties); + } + }, { + key: "hasPropertyNotClickable", + value: function hasPropertyNotClickable() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyNotClickable)(this.properties); + } + }, { + key: "hasPropertyLatestArticleImage", + value: function hasPropertyLatestArticleImage() { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyLatestArticleImage)(this.properties); + } + }, { + key: "getGalleryIcon", + value: function getGalleryIcon() { + return this.icons.find(function (icon) { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionOpenGallery)(icon); + }); + } + }, { + key: "getTileIcons", + value: function getTileIcons() { + return this.icons.filter(function (icon) { + return !(0, _$$_REQUIRE(_dependencyMap[5]).hasActionOpenGallery)(icon); + }); + } + }, { + key: "getFullscreenGalleryIcon", + value: function getFullscreenGalleryIcon() { + return this.iconsFullscreen.find(function (icon) { + return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionOpenGallery)(icon); + }); + } + }]); + }(); + + RssActionManager.PARSER = [new _ParserV2.default(), new _ParserV.default()]; +},1935,[3,6,7,1936,1938,1939]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var Constants = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[3])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var ParserV1 = exports.default = function () { + function ParserV1() { + (0, _classCallCheck2.default)(this, ParserV1); + this.mainAction = {}; + this.properties = []; + this.icons = []; + this.fullScreenIcons = []; + } + + return (0, _createClass2.default)(ParserV1, [{ + key: "isParsable", + value: function isParsable(str) { + return !!str; + } + }, { + key: "parse", + value: function parse(str) { + this.data = (str || "").split(","); + this.parseActions(); + this.parseProperties(); + } + }, { + key: "parseActions", + value: function parseActions() { + var actions = []; + this.data.forEach(function (item) { + if (Constants.ACTIONS.indexOf(item)) { + var obj = { + action: item + }; + var matches; + + switch (item) { + case Constants.ACTION_LINK_TO_CATEGORY: + matches = item.match(Constants.REG_EX_LINK_TO_CATEGORY); + + if (matches) { + obj.category = matches[3]; + } + + break; + + case Constants.ACTION_LOAD_EXTERNAL_URL: + matches = item.match(Constants.REG_EX_LOAD_EXTERNAL_URL); + + if (matches) { + obj.url = matches[3]; + } + + break; + + case Constants.ACTION_OPEN_GALLERY: + matches = item.match(Constants.REG_EX_OPEN_GALLERY); + + if (matches) { + obj.icon = matches[3]; + } + + break; + } + + actions.push(obj); + } + }); + + if (actions.length > 0) { + this.mainAction = actions[0]; + this.icons = actions.slice(1); + } + } + }, { + key: "parseProperties", + value: function parseProperties() { + var _this = this; + + this.data.forEach(function (item) { + if (Constants.PROPERTIES.indexOf(item)) { + _this.properties.push(item); + } + }); + } + }, { + key: "getMainAction", + value: function getMainAction() { + return this.mainAction; + } + }, { + key: "getProperties", + value: function getProperties() { + return this.properties; + } + }, { + key: "getIcons", + value: function getIcons() { + return this.icons; + } + }, { + key: "getFullScreenIcons", + value: function getFullScreenIcons() { + return this.fullScreenIcons; + } + }]); + }(); +},1936,[3,6,7,1937]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.REG_EX_OPEN_GALLERY = exports.REG_EX_LOAD_EXTERNAL_URL = exports.REG_EX_LINK_TO_CATEGORY = exports.PROPERTY_TITLE_ON_IMAGE_IN_CARD_MODE = exports.PROPERTY_PREMIUM_ARTICLE = exports.PROPERTY_NOT_CLICKABLE = exports.PROPERTY_LOAD_URL_IN_ARTICLE = exports.PROPERTY_LOAD_NATIVE_AD = exports.PROPERTY_LATEST_ARTICLE_IMAGE = exports.PROPERTY_IS_SCHEDULE = exports.PROPERTY_HIDE_SUMMARY_IN_CARD_MODE = exports.PROPERTY_HIDE_ITEM_IN_FULL_SCREEN = exports.PROPERTY_HIDE_IMAGE_IN_CARD_MODE = exports.PROPERTY_HIDE_DATE = exports.PROPERTY_DISABLE_OPEN_IMAGE = exports.PROPERTY_DISABLE_COLUMNIZER = exports.PROPERTIES = exports.ACTION_SHARE = exports.ACTION_SAVE_FOR_LATER = exports.ACTION_OPEN_GALLERY = exports.ACTION_OPEN_E_EDITION = exports.ACTION_LOAD_EXTERNAL_URL = exports.ACTION_LIVE_STREAM = exports.ACTION_LINK_TO_CATEGORY = exports.ACTION_HTML5_STREAM = exports.ACTIONS = undefined; + var PROPERTY_HIDE_DATE = exports.PROPERTY_HIDE_DATE = ""; + var PROPERTY_PREMIUM_ARTICLE = exports.PROPERTY_PREMIUM_ARTICLE = "premiumArticle"; + var PROPERTY_DISABLE_OPEN_IMAGE = exports.PROPERTY_DISABLE_OPEN_IMAGE = ""; + var PROPERTY_DISABLE_COLUMNIZER = exports.PROPERTY_DISABLE_COLUMNIZER = "disableColumnizer"; + var PROPERTY_LOAD_URL_IN_ARTICLE = exports.PROPERTY_LOAD_URL_IN_ARTICLE = "loadUrlInArticle"; + var PROPERTY_LOAD_NATIVE_AD = exports.PROPERTY_LOAD_NATIVE_AD = "loadNativeAd"; + var PROPERTY_HIDE_ITEM_IN_FULL_SCREEN = exports.PROPERTY_HIDE_ITEM_IN_FULL_SCREEN = "hideItemInFullScreen"; + var PROPERTY_HIDE_IMAGE_IN_CARD_MODE = exports.PROPERTY_HIDE_IMAGE_IN_CARD_MODE = "hideImageInCardMode"; + var PROPERTY_HIDE_SUMMARY_IN_CARD_MODE = exports.PROPERTY_HIDE_SUMMARY_IN_CARD_MODE = "hideSummaryInCardMode"; + var PROPERTY_TITLE_ON_IMAGE_IN_CARD_MODE = exports.PROPERTY_TITLE_ON_IMAGE_IN_CARD_MODE = "titleOnImageInCardMode"; + var PROPERTY_IS_SCHEDULE = exports.PROPERTY_IS_SCHEDULE = "isSchedule"; + var PROPERTY_NOT_CLICKABLE = exports.PROPERTY_NOT_CLICKABLE = "notClickable"; + var PROPERTY_LATEST_ARTICLE_IMAGE = exports.PROPERTY_LATEST_ARTICLE_IMAGE = "latestArticleImage"; + var ACTION_SHARE = exports.ACTION_SHARE = "share"; + var ACTION_SAVE_FOR_LATER = exports.ACTION_SAVE_FOR_LATER = "saveForLater"; + var ACTION_OPEN_GALLERY = exports.ACTION_OPEN_GALLERY = "openGallery"; + var ACTION_LOAD_EXTERNAL_URL = exports.ACTION_LOAD_EXTERNAL_URL = "loadExternalURL"; + var ACTION_LINK_TO_CATEGORY = exports.ACTION_LINK_TO_CATEGORY = "link_to_category"; + var ACTION_OPEN_E_EDITION = exports.ACTION_OPEN_E_EDITION = "openEedition"; + var ACTION_LIVE_STREAM = exports.ACTION_LIVE_STREAM = "isLiveStream"; + var ACTION_HTML5_STREAM = exports.ACTION_HTML5_STREAM = "isHtml5VideoStream"; + var REG_EX_LINK_TO_CATEGORY = exports.REG_EX_LINK_TO_CATEGORY = /(link_to_category)(:(.*)){0,1}/; + var REG_EX_OPEN_GALLERY = exports.REG_EX_OPEN_GALLERY = /(openGallery)(##(.*)){0,1}/; + var REG_EX_LOAD_EXTERNAL_URL = exports.REG_EX_LOAD_EXTERNAL_URL = /(loadExternalURL)(:(.*)){0,1}/; + var PROPERTIES = exports.PROPERTIES = [PROPERTY_HIDE_DATE, PROPERTY_PREMIUM_ARTICLE, PROPERTY_DISABLE_OPEN_IMAGE, PROPERTY_DISABLE_COLUMNIZER, PROPERTY_LOAD_URL_IN_ARTICLE, PROPERTY_LOAD_NATIVE_AD, PROPERTY_HIDE_ITEM_IN_FULL_SCREEN, PROPERTY_HIDE_IMAGE_IN_CARD_MODE, PROPERTY_HIDE_SUMMARY_IN_CARD_MODE, PROPERTY_TITLE_ON_IMAGE_IN_CARD_MODE, PROPERTY_IS_SCHEDULE, PROPERTY_NOT_CLICKABLE]; + var ACTIONS = exports.ACTIONS = [ACTION_OPEN_GALLERY, ACTION_LOAD_EXTERNAL_URL, ACTION_LINK_TO_CATEGORY, ACTION_OPEN_E_EDITION, ACTION_SHARE, ACTION_SAVE_FOR_LATER, ACTION_LIVE_STREAM]; +},1937,[]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var ParserV2 = exports.default = function () { + function ParserV2() { + (0, _classCallCheck2.default)(this, ParserV2); + this.mainAction = {}; + this.properties = []; + this.icons = []; + this.fullScreenIcons = []; + } + + return (0, _createClass2.default)(ParserV2, [{ + key: "isParsable", + value: function isParsable(str) { + try { + this.data = JSON.parse(str); + return true; + } catch (e) { + return false; + } + } + }, { + key: "parse", + value: function parse(str) { + this.data = JSON.parse(str) || {}; + this.parseMainAction(); + this.parseActions(); + this.parseFullScreenIcons(); + this.parseProperties(); + } + }, { + key: "parseMainAction", + value: function parseMainAction() { + this.mainAction = this.data.mainAction || {}; + } + }, { + key: "parseProperties", + value: function parseProperties() { + this.properties = this.data.properties || []; + } + }, { + key: "parseActions", + value: function parseActions() { + this.icons = this.data.icons || []; + } + }, { + key: "parseFullScreenIcons", + value: function parseFullScreenIcons() { + this.fullScreenIcons = this.data.fullpage_icons || []; + } + }, { + key: "getMainAction", + value: function getMainAction() { + return this.mainAction; + } + }, { + key: "getProperties", + value: function getProperties() { + return this.properties; + } + }, { + key: "getIcons", + value: function getIcons() { + return this.icons; + } + }, { + key: "getFullScreenIcons", + value: function getFullScreenIcons() { + return this.fullScreenIcons; + } + }]); + }(); +},1938,[3,6,7]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.hasPropertyTitleOnImageInCardMode = exports.hasPropertyPremiumArticle = exports.hasPropertyOS = exports.hasPropertyNotClickable = exports.hasPropertyLoadUrlInArticle = exports.hasPropertyLoadNativeAdProvider = exports.hasPropertyLoadNativeAd = exports.hasPropertyLatestArticleImage = exports.hasPropertyIsSchedule = exports.hasPropertyHideSummaryInCardMode = exports.hasPropertyHideItemInFullScreen = exports.hasPropertyHideImageInCardMode = exports.hasPropertyHideDate = exports.hasPropertyDisableOpenImage = exports.hasPropertyDisableColumnizer = exports.hasActionShared = exports.hasActionSaveForLater = exports.hasActionOpenLoadExternalUrl = exports.hasActionOpenLinkToCategory = exports.hasActionOpenGallery = exports.hasActionOpenEdition = exports.hasActionLiveStream = exports.hasActionHtml5Stream = exports.getTitleAction = exports.getIconAction = exports.doAction = undefined; + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[2]); + + var _reactNativeShare = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var Constants = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[4])); + + var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _iconComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[7])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var share = function share(_ref) { + var source = _ref.source, + title = _ref.title, + subject = _ref.subject; + var shareOptions = { + url: source, + title: "Share", + subject: subject || title, + message: title + }; + + _reactNativeShare.default.open(shareOptions); + }; + + var hasAction = function hasAction(action, toCheck) { + return action && toCheck && action === toCheck; + }; + + var hasProperty = function hasProperty(properties, toCheck) { + return properties && toCheck && properties.indexOf(toCheck) > -1; + }; + + var getPropertyByRegex = function getPropertyByRegex(properties, regex) { + if (properties) { + return properties.find(function (property) { + return property.match(regex); + }); + } + + return undefined; + }; + + var hasPropertyOS = exports.hasPropertyOS = function hasPropertyOS(properties) { + var regex = /os-([a-z|A-Z]+)/; + var property = getPropertyByRegex(properties, regex); + + if (property) { + var match = property.match(regex); + + if (match && match[1] === _reactNative.Platform.OS) { + return true; + } + + return false; + } + + return true; + }; + + var hasPropertyHideDate = exports.hasPropertyHideDate = function hasPropertyHideDate(properties) { + return hasProperty(properties, Constants.PROPERTY_HIDE_DATE); + }; + + var hasPropertyPremiumArticle = exports.hasPropertyPremiumArticle = function hasPropertyPremiumArticle(properties) { + return hasProperty(properties, Constants.PROPERTY_PREMIUM_ARTICLE); + }; + + var hasPropertyDisableOpenImage = exports.hasPropertyDisableOpenImage = function hasPropertyDisableOpenImage(properties) { + return hasProperty(properties, Constants.PROPERTY_DISABLE_OPEN_IMAGE); + }; + + var hasPropertyDisableColumnizer = exports.hasPropertyDisableColumnizer = function hasPropertyDisableColumnizer(properties) { + return hasProperty(properties, Constants.PROPERTY_DISABLE_COLUMNIZER); + }; + + var hasPropertyLoadUrlInArticle = exports.hasPropertyLoadUrlInArticle = function hasPropertyLoadUrlInArticle(properties) { + return hasProperty(properties, Constants.PROPERTY_LOAD_URL_IN_ARTICLE); + }; + + var hasPropertyLoadNativeAd = exports.hasPropertyLoadNativeAd = function hasPropertyLoadNativeAd(properties) { + return hasProperty(properties, Constants.PROPERTY_LOAD_NATIVE_AD); + }; + + var hasPropertyLoadNativeAdProvider = exports.hasPropertyLoadNativeAdProvider = function hasPropertyLoadNativeAdProvider(properties, provider) { + return hasProperty(properties, Constants.PROPERTY_LOAD_NATIVE_AD + "-" + provider); + }; + + var hasPropertyHideItemInFullScreen = exports.hasPropertyHideItemInFullScreen = function hasPropertyHideItemInFullScreen(properties) { + return hasProperty(properties, Constants.PROPERTY_HIDE_ITEM_IN_FULL_SCREEN); + }; + + var hasPropertyHideImageInCardMode = exports.hasPropertyHideImageInCardMode = function hasPropertyHideImageInCardMode(properties) { + return hasProperty(properties, Constants.PROPERTY_HIDE_IMAGE_IN_CARD_MODE); + }; + + var hasPropertyHideSummaryInCardMode = exports.hasPropertyHideSummaryInCardMode = function hasPropertyHideSummaryInCardMode(properties) { + return hasProperty(properties, Constants.PROPERTY_HIDE_SUMMARY_IN_CARD_MODE); + }; + + var hasPropertyTitleOnImageInCardMode = exports.hasPropertyTitleOnImageInCardMode = function hasPropertyTitleOnImageInCardMode(properties) { + return hasProperty(properties, Constants.PROPERTY_TITLE_ON_IMAGE_IN_CARD_MODE); + }; + + var hasPropertyIsSchedule = exports.hasPropertyIsSchedule = function hasPropertyIsSchedule(properties) { + return hasProperty(properties, Constants.PROPERTY_IS_SCHEDULE); + }; + + var hasPropertyNotClickable = exports.hasPropertyNotClickable = function hasPropertyNotClickable(properties) { + return hasProperty(properties, Constants.PROPERTY_NOT_CLICKABLE); + }; + + var hasPropertyLatestArticleImage = exports.hasPropertyLatestArticleImage = function hasPropertyLatestArticleImage(properties) { + return hasProperty(properties, Constants.PROPERTY_LATEST_ARTICLE_IMAGE); + }; + + var hasActionSaveForLater = exports.hasActionSaveForLater = function hasActionSaveForLater(_ref2) { + var action = _ref2.action; + return hasAction(action, Constants.ACTION_SAVE_FOR_LATER); + }; + + var hasActionShared = exports.hasActionShared = function hasActionShared(_ref3) { + var action = _ref3.action; + return hasAction(action, Constants.ACTION_SHARE); + }; + + var hasActionOpenGallery = exports.hasActionOpenGallery = function hasActionOpenGallery(_ref4) { + var action = _ref4.action; + return hasAction(action, Constants.ACTION_OPEN_GALLERY); + }; + + var hasActionOpenEdition = exports.hasActionOpenEdition = function hasActionOpenEdition(_ref5) { + var action = _ref5.action; + return hasAction(action, Constants.ACTION_OPEN_E_EDITION); + }; + + var hasActionOpenLinkToCategory = exports.hasActionOpenLinkToCategory = function hasActionOpenLinkToCategory(_ref6) { + var action = _ref6.action; + return hasAction(action, Constants.ACTION_LINK_TO_CATEGORY); + }; + + var hasActionOpenLoadExternalUrl = exports.hasActionOpenLoadExternalUrl = function hasActionOpenLoadExternalUrl(_ref7) { + var action = _ref7.action; + return hasAction(action, Constants.ACTION_LOAD_EXTERNAL_URL); + }; + + var hasActionLiveStream = exports.hasActionLiveStream = function hasActionLiveStream(_ref8) { + var action = _ref8.action; + return hasAction(action, Constants.ACTION_LIVE_STREAM); + }; + + var hasActionHtml5Stream = exports.hasActionHtml5Stream = function hasActionHtml5Stream(_ref9) { + var action = _ref9.action; + return hasAction(action, Constants.ACTION_HTML5_STREAM); + }; + + var doAction = exports.doAction = function doAction(icon, _ref10) { + var tile = _ref10.tile, + navigation = _ref10.navigation; + var consumed = true; + + if (hasActionShared(icon)) { + share(tile); + } else if (hasActionSaveForLater(icon)) { + var favoritesConfig = global.getRssFavoritesConfig(); + favoritesConfig.toggleFavorite(tile); + } else if (hasActionOpenGallery(icon)) { + consumed = navigation.navigate("GalleryScreen", { + items: tile.gallery, + category: tile.category, + title: tile.title, + caller: "live_news" + }); + } else if (hasActionOpenEdition(icon)) { + var issue = icon.issue, + edition = icon.edition; + + _NavigationService.default.main.reset("NewsmemoryNavigator", { + isFromRss: true, + issue: issue, + edition: edition + }); + } else if (hasActionOpenLinkToCategory(icon)) { + consumed = navigation.navigate(icon.category); + } else if (hasActionOpenLoadExternalUrl(icon)) { + consumed = navigation.navigate("WebScreen", { + url: icon.url + }); + } else { + consumed = false; + } + + return consumed; + }; + + var getIconAction = exports.getIconAction = function getIconAction(icon, _ref11) { + var tile = _ref11.tile, + style = _ref11.style, + color = _ref11.color, + size = _ref11.size; + + var _global$getRssIndex = global.getRssIndex(), + supportColor = _global$getRssIndex.supportColor; + + var iconColor = color || supportColor; + var name = "exclamation-circle"; + var type = _iconComponent.TecnaviaIconType.FONT_AWESOME_5; + + if (hasActionSaveForLater(icon)) { + return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).IconFavorite, { + item: tile, + size: size, + color: iconColor, + style: style, + eventToggleItemChecker: function eventToggleItemChecker(currentItem, params) { + return currentItem.feedId === params.feedId; + }, + clearFavoritesEventName: _events.default.CLEAR_FAVORITES, + toggleFavoritesEventName: _events.default.TOGGLE_FAVORITE, + isFavoriteChecker: function isFavoriteChecker(item) { + var favoritesConfig = global.getRssFavoritesConfig(); + return favoritesConfig.isFavorite(item); + } + }); + } + + if (hasActionShared(icon)) { + name = "share"; + type = _iconComponent.TecnaviaIconType.MATERIAL_ICONS; + } else if (hasActionOpenEdition(icon)) { + name = "newspaper"; + } else if (hasActionOpenLinkToCategory(icon)) { + name = "anchor"; + } else if (hasActionOpenLoadExternalUrl(icon)) { + name = "link"; + } + + return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_iconComponent.default, { + type: type, + name: name, + style: [style, { + color: iconColor + }], + fontSize: size + }); + }; + + var getTitleAction = exports.getTitleAction = function getTitleAction(icon, _ref12) { + var tile = _ref12.tile; + + if (hasActionShared(icon)) { + return global.strings("action_share"); + } + + if (hasActionSaveForLater(icon)) { + var favoritesConfig = global.getRssFavoritesConfig(); + return !favoritesConfig.isFavorite(tile) ? global.strings("action_save_for_later") : global.strings("action_remove_from_favorites"); + } + + if (hasActionOpenEdition(icon)) { + return global.strings("action_open_epaper"); + } + + if (hasActionOpenLinkToCategory(icon)) { + return global.strings("action_go_to_category", { + anchor: icon.category + }); + } + + if (hasActionOpenLoadExternalUrl(icon)) { + return global.strings("action_open_link"); + } + + return global.strings("action_unknown"); + }; +},1939,[3,16,18,567,1937,1881,436,1807,179,1940]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.IconFavorite = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _imageIconChooserComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var IconFavorite = exports.IconFavorite = function (_React$Component) { + function IconFavorite(props) { + var _this; + + (0, _classCallCheck2.default)(this, IconFavorite); + _this = _callSuper(this, IconFavorite, [props]); + _this.state = { + isFavorite: props.isFavoriteChecker(props.item) + }; + return _this; + } + + (0, _inherits2.default)(IconFavorite, _React$Component); + return (0, _createClass2.default)(IconFavorite, [{ + key: "componentDidMount", + value: function componentDidMount() { + var _this2 = this; + + var _this$props = this.props, + currentItem = _this$props.item, + isFavoriteChecker = _this$props.isFavoriteChecker, + clearFavoritesEventName = _this$props.clearFavoritesEventName, + toggleFavoritesEventName = _this$props.toggleFavoritesEventName, + eventToggleItemChecker = _this$props.eventToggleItemChecker; + + if (clearFavoritesEventName) { + this.clearFavorites = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(clearFavoritesEventName, function () { + _this2.setState({ + isFavorite: false + }); + }); + } + + if (toggleFavoritesEventName) { + this.toggleFavorite = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(toggleFavoritesEventName, function (params) { + if (!eventToggleItemChecker || eventToggleItemChecker(currentItem, params)) { + var isFavorite = isFavoriteChecker(currentItem); + + _this2.setState({ + isFavorite: isFavorite + }); + } + }); + } + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + _$$_REQUIRE(_dependencyMap[9]).EventRegister.rm(this.toggleFavorite); + + _$$_REQUIRE(_dependencyMap[9]).EventRegister.rm(this.clearFavorites); + } + }, { + key: "render", + value: function render() { + var style = this.props.style; + var size = this.props.size; + var color = this.props.color; + size = size || _$$_REQUIRE(_dependencyMap[10]).CIRCULAR_MENU_ICON_SIZE; + var isFavorite = this.state.isFavorite; + var favoritesConfig = global.getRssFavoritesConfig(); + var icon = favoritesConfig.getIcon(); + var name = isFavorite ? icon : icon + "-outline"; + return (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[12]).Css, { + classes: ["icon-favorite"], + children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_imageIconChooserComponent.default, { + type: _$$_REQUIRE(_dependencyMap[13]).TecnaviaIconType.MATERIAL_COMMUNITY_ICONS, + name: name, + iconStyle: [{ + color: color + }, style], + size: size + }) + }); + } + }]); + }(_react.default.Component); + + IconFavorite.propTypes = { + item: _propTypes.default.object.isRequired, + style: _propTypes.default.any, + size: _propTypes.default.number, + color: _propTypes.default.string, + isFavoriteChecker: _propTypes.default.func.isRequired, + eventToggleItemChecker: _propTypes.default.func, + clearFavoritesEventName: _propTypes.default.string, + toggleFavoritesEventName: _propTypes.default.string + }; +},1940,[3,6,7,11,13,14,16,582,1941,564,1942,179,817,1807]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.AnimatedImageIconChooser = undefined; + exports.getBase64 = getBase64; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[8]); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _iconComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[10])); + + var _imageComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[11])); + + var _excluded = ["style", "imageStyle", "iconStyle", "type", "name", "source", "size", "tintColor"], + _excluded2 = ["Component", "getBase64Function"], + _excluded3 = ["Component", "getBase64Function"]; + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + function mapPropsOnComponent(props) { + var style = props.style, + imageStyle = props.imageStyle, + iconStyle = props.iconStyle, + type = props.type, + name = props.name, + source = props.source, + size = props.size, + tintColor = props.tintColor, + rest = (0, _objectWithoutProperties2.default)(props, _excluded); + + var library = _$$_REQUIRE(_dependencyMap[12]).CssUtils.getAttributeFromStyle("library", style, type); + + var srcFromStyle = _$$_REQUIRE(_dependencyMap[12]).CssUtils.getAttributeFromStyle("src", style); + + var src = _$$_REQUIRE(_dependencyMap[12]).JSUtils.isNull(srcFromStyle) || srcFromStyle === "inherit" ? name : srcFromStyle; + var newProps = Object.assign({ + Component: null + }, rest); + + var mergedIconStyle = _reactNative.StyleSheet.flatten([iconStyle, style]); + + if (Object.values(_iconComponent.TecnaviaIconType).includes(library) && src && src.length) { + newProps.Component = _iconComponent.default; + newProps.getBase64Function = _iconComponent.iconBase64; + newProps.style = _$$_REQUIRE(_dependencyMap[12]).CssUtils.deleteKeysFromStyle(mergedIconStyle, ["tintColor", "src"]); + newProps.size = size; + newProps.name = src; + newProps.type = library; + } else { + var newSource = source; + + if (typeof srcFromStyle === "string" && srcFromStyle.indexOf("base64") !== -1) { + newSource = { + uri: srcFromStyle + }; + } + + var mergedImageStyle = _reactNative.StyleSheet.flatten([imageStyle, style]); + + var width = _$$_REQUIRE(_dependencyMap[12]).CssUtils.getAttributeFromStyle("width", mergedImageStyle); + + var height = _$$_REQUIRE(_dependencyMap[12]).CssUtils.getAttributeFromStyle("height", mergedImageStyle); + + var fontSize = _$$_REQUIRE(_dependencyMap[12]).CssUtils.getAttributeFromStyle("fontSize", mergedIconStyle); + + var newStyle = {}; + + if (width === undefined && height === undefined) { + if (fontSize !== undefined) { + newStyle.width = fontSize; + newStyle.height = fontSize; + } + } else if (width === undefined) { + newStyle.width = height; + } else if (height === undefined) { + newStyle.height = width; + } + + newProps.Component = _imageComponent.default; + newProps.getBase64Function = _imageComponent.imageBase64; + newProps.style = _$$_REQUIRE(_dependencyMap[12]).CssUtils.deleteKeysFromStyle([mergedImageStyle, newStyle], ["color", "src", "fontSize"]); + newProps.source = newSource; + newProps.tintColor = tintColor; + } + + return newProps; + } + + function getBase64(props) { + var _mapPropsOnComponent = mapPropsOnComponent(props), + Component = _mapPropsOnComponent.Component, + getBase64Function = _mapPropsOnComponent.getBase64Function, + rest = (0, _objectWithoutProperties2.default)(_mapPropsOnComponent, _excluded2); + + if (getBase64Function) { + return getBase64Function(rest); + } + + return undefined; + } + + var ImageIconChooser = function (_React$Component) { + function ImageIconChooser() { + (0, _classCallCheck2.default)(this, ImageIconChooser); + return _callSuper(this, ImageIconChooser, arguments); + } + + (0, _inherits2.default)(ImageIconChooser, _React$Component); + return (0, _createClass2.default)(ImageIconChooser, [{ + key: "render", + value: function render() { + var _mapPropsOnComponent2 = mapPropsOnComponent(this.props), + Component = _mapPropsOnComponent2.Component, + getBase64Function = _mapPropsOnComponent2.getBase64Function, + rest = (0, _objectWithoutProperties2.default)(_mapPropsOnComponent2, _excluded3); + + if (Component) { + return (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(Component, Object.assign({}, rest)); + } + + return Component; + } + }]); + }(_react.default.Component); + + ImageIconChooser.propTypes = Object.assign({ + style: _propTypes.default.any, + imageStyle: _propTypes.default.any, + iconStyle: _propTypes.default.any, + size: _propTypes.default.number, + tintColor: _propTypes.default.string + }, _iconComponent.default.propTypes, _imageComponent.default.propTypes); + + var AnimatedImageIconChooser = exports.AnimatedImageIconChooser = _reactNative.Animated.createAnimatedComponent(ImageIconChooser); + + var _default = exports.default = ImageIconChooser; +},1941,[3,6,7,11,13,14,4,16,18,582,1807,588,438,179]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.CIRCULAR_MENU_ICON_SIZE = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var CIRCULAR_MENU_ICON_SIZE = exports.CIRCULAR_MENU_ICON_SIZE = 27; + + var _default = exports.default = _reactNative.StyleSheet.create({ + phoneItem: { + width: 36, + height: 36 + }, + tabletItem: { + width: 24, + height: 24 + }, + icon: { + fontSize: CIRCULAR_MENU_ICON_SIZE + } + }); +},1942,[18]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.Article = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var NoticeValues = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[3])); + + var _RssActionManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _Resource = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var Article = exports.Article = function () { + function Article() { + (0, _classCallCheck2.default)(this, Article); + this.isEdition = false; + this.isLinkToCategory = false; + this.isAdvertisement = false; + this.isHighlightedBox = false; + this.isPremiumArticle = false; + this.isTouchable = true; + this.isHalfBox = false; + this.hideCategory = false; + } + + return (0, _createClass2.default)(Article, [{ + key: "setExtraFields", + value: function setExtraFields(extraFields) { + try { + var fields = JSON.parse(extraFields) || {}; + this.kicker = _$$_REQUIRE(_dependencyMap[6]).StringUtils.decodeHTML(fields.kicker); + } catch (e) {} + } + }, { + key: "setResources", + value: function setResources(resources) { + this.resources = resources; + } + }, { + key: "getResources", + value: function getResources() { + return this.resources; + } + }, { + key: "getFeedId", + value: function getFeedId() { + return this.feedId; + } + }, { + key: "isLiveStream", + value: function isLiveStream() { + if (this.action) { + return this.action.hasMainActionLiveStream(); + } + + return false; + } + }, { + key: "isDailymotionLiveStreamVideo", + value: function isDailymotionLiveStreamVideo() { + return this.isLiveStream() && (0, _$$_REQUIRE(_dependencyMap[7]).galleryHasDailymotionVideo)(this.gallery); + } + }, { + key: "isHtml5Stream", + value: function isHtml5Stream() { + if (this.action) { + return this.action.hasMainActionHtml5Stream(); + } + + return false; + } + }, { + key: "isSchedule", + value: function isSchedule() { + if (this.action) { + return this.action.hasPropertyIsSchedule(); + } + + return false; + } + }, { + key: "isNotClickable", + value: function isNotClickable() { + if (this.action) { + return this.action.hasPropertyNotClickable() || this.isDailymotionLiveStreamVideo() && !this.isSchedule() || this.action.hasMainActionHtml5Stream(); + } + + return false; + } + }, { + key: "isVisibleOnFullscreen", + value: function isVisibleOnFullscreen() { + return !this.isAdvertisement && !this.isEdition && !this.isHalfBox && !this.isNotClickable() && ["Action Block", "Advertisement", "ePaper"].indexOf(this.category) === -1 && !this.isLinkToCategory; + } + }, { + key: "getDimensionsFromByline", + value: function getDimensionsFromByline() { + var width = 300; + var height = 250; + var backgroundColor; + + if (this.byline) { + var parts = this.byline.split(","); + + if (parts.length > 1) { + if (!isNaN(parts[0]) && !isNaN(parts[1])) { + width = parseInt(parts[0], 10); + height = parseInt(parts[1], 10); + } + + if (parts.length > 2) { + backgroundColor = parts[2]; + } + } + } + + return { + width: width, + height: height, + backgroundColor: backgroundColor + }; + } + }, { + key: "getTargetingFromSummary", + value: function getTargetingFromSummary() { + var _this = this; + + var targeting = {}; + + if (this.summary) { + try { + targeting = JSON.parse(this.summary); + + if (this.adIndex !== undefined) { + Object.keys(targeting).forEach(function (key) { + if (targeting[key].indexOf("##index##") !== -1) { + targeting[key] = targeting[key].replace("##index##", _this.adIndex); + } else if (targeting[key].indexOf("##position##") !== -1) { + targeting[key] = targeting[key].replace("##position##", _this.adIndex + 1); + } + }); + } + } catch (e) {} + } + + return targeting; + } + }, { + key: "getPriorityByCols", + value: function getPriorityByCols(cols) { + var greaterKey; + var keys = Object.keys(this.priority); + + for (var i = 0; i < keys.length; i++) { + if (keys[i] === cols) { + return keys[i]; + } + + if (parseInt(keys[i], 10) && (!greaterKey || keys[i] > greaterKey)) { + greaterKey = keys[i]; + } + } + + return this.priority[greaterKey]; + } + }, { + key: "setIsHalfBox", + value: function setIsHalfBox(cols, deviceKey) { + var priority = this.getPriorityByCols(cols)[deviceKey]; + var priorityComponents = priority.split("x"); + + if (priorityComponents.length > 1) { + this.isHalfBox = parseFloat(priorityComponents[1]) === 0.5; + } else if (priorityComponents.length > 0) { + this.isHalfBox = parseFloat(priorityComponents[0]) === 0.5; + } else { + this.isHalfBox = false; + } + } + }, { + key: "setHideCategory", + value: function setHideCategory(value) { + this.hideCategory = !this.category ? true : value; + } + }, { + key: "setSizes", + value: function setSizes(sizes) { + this.sizes = sizes; + } + }, { + key: "isAdvertisementNative", + value: function isAdvertisementNative() { + if (this.action) { + return this.action.hasPropertyLoadNativeAd(); + } + + return false; + } + }, { + key: "getAdvertisementProvider", + value: function getAdvertisementProvider() { + var _this2 = this; + + if (this.action) { + var providers = Object.values(NoticeValues.values.provider); + var provider = providers.find(function (item) { + return _this2.action.hasPropertyLoadNativeAdProvider(item); + }); + + if (provider) { + return provider; + } + } + + return undefined; + } + }, { + key: "getAdConfig", + value: function getAdConfig() { + if (!this.isAdvertisement) { + return undefined; + } + + var provider = this.getAdvertisementProvider(); + var isNative = provider ? true : this.isAdvertisementNative(); + return Object.assign({ + id: this.html + }, this.getDimensionsFromByline(), { + targeting: this.getTargetingFromSummary(), + provider: provider || NoticeValues.values.provider.unset, + isNative: isNative + }); + } + }, { + key: "getMainAction", + value: function getMainAction() { + if (this.action) { + return this.action.main; + } + + return undefined; + } + }]); + }(); +},1943,[3,6,7,1944,1935,1945,438,1946]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.values = exports.types = exports.keys = undefined; + var types = exports.types = { + prestitial: "prestitial", + interstitial: "interstital", + adOverPage: "ad_over_page", + instoryAd: "instory_ad", + bottom: "bottom" + }; + var keys = exports.keys = { + type: "type", + is_disabled: "is_disabled", + width: "width", + height: "height", + align: "align", + is_remove_after_x_seconds: "is_remove_after_x_seconds", + remove_after_x_seconds: "remove_after_x_seconds", + is_show_button_after_x_seconds: "is_show_button_after_x_seconds", + show_button_after_x_seconds: "show_button_after_x_seconds", + time_to_show_first: "time_to_show_first", + time_to_show_after_first: "time_to_show_after_first", + show_after_page: "show_after_page", + show_after_section: "show_after_section", + show_after_x_articles: "show_after_x_articles", + should_wait_for_local: "should_wait_for_local", + display_on_app_type_newspaper: "display_on_app_type_newspaper", + display_on_app_type_livenews: "display_on_app_type_livenews", + is_device_phonePortrait_Apple: "is_device_phonePortrait_Apple", + is_device_tabletPortrait_Android: "is_device_tabletPortrait_Android", + is_device_tabletPortrait_Apple: "is_device_tabletPortrait_Apple", + is_device_phoneLandscape_Android: "is_device_phoneLandscape_Android", + is_device_phoneLandscape_Apple: "is_device_phoneLandscape_Apple", + is_device_tabletLandscape_Android: "is_device_tabletLandscape_Android", + is_device_phonePortrait_Android: "is_device_phonePortrait_Android", + is_device_tabletLandscape_Apple: "is_device_tabletLandscape_Apple", + bgcolor: "bgcolor", + unit_id: "unit_id", + show_over_page: "show_over_page" + }; + var values = exports.values = { + type: { + between_pages: "between_pages", + bottom: "bottom", + article_mode_bottom: "article_mode_bottom" + }, + align: { + left: "left", + center: "center", + right: "right" + }, + provider: { + unset: "none", + admob: "admob", + dfp: "dfp", + prebid: "prebid", + nativo: "nativo" + } + }; +},1944,[]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.ResourceType = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var ResourceType = exports.ResourceType = { + VIAFOURA: "viafoura", + TOP_STORY: "url_top_story", + NATIVO_MOAP_AD: "nativo_moap_ad" + }; + + var Resource = exports.default = function () { + function Resource() { + (0, _classCallCheck2.default)(this, Resource); + } + + return (0, _createClass2.default)(Resource, [{ + key: "getValue", + value: function getValue() { + return this.value; + } + }, { + key: "setValue", + value: function setValue(value) { + this.value = value; + } + }, { + key: "getFeedId", + value: function getFeedId() { + return this.feedId; + } + }, { + key: "setFeedId", + value: function setFeedId(feedId) { + this.feedId = feedId; + } + }, { + key: "getType", + value: function getType() { + return this.type; + } + }, { + key: "setType", + value: function setType(type) { + this.type = type; + } + }]); + }(); +},1945,[3,6,7]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.galleryHasDailymotionVideo = galleryHasDailymotionVideo; + exports.getGallery = getGallery; + exports.itemHasHtml5StreamAction = itemHasHtml5StreamAction; + exports.itemHasLiveStreamAction = itemHasLiveStreamAction; + exports.itemHasLiveStreamDailymotionVideo = itemHasLiveStreamDailymotionVideo; + exports.itemHasPropertyIsSchedule = itemHasPropertyIsSchedule; + exports.itemHasPropertyNotClickable = itemHasPropertyNotClickable; + + function getExtension(_ref) { + var Type = _ref.Type; + return Type || "jpg"; + } + + function getPreviewText(_ref2) { + var PreviewText = _ref2.PreviewText; + return _$$_REQUIRE(_dependencyMap[0]).StringUtils.decodeHTML(PreviewText || ""); + } + + function getPreviewTextColor(_ref3) { + var PreviewTextColor = _ref3.PreviewTextColor; + return PreviewTextColor || ""; + } + + function getPreviewImage(_ref4) { + var PreviewImage = _ref4.PreviewImage; + return PreviewImage || ""; + } + + function getThumbnail(_ref5) { + var thumbnail = _ref5.thumbnail; + return thumbnail || ""; + } + + function getCaption(_ref6) { + var Caption = _ref6.Caption, + Desc = _ref6.Desc; + return _$$_REQUIRE(_dependencyMap[0]).StringUtils.decodeHTML(Caption || Desc); + } + + function getUrl(_ref7) { + var URL = _ref7.URL; + return URL || ""; + } + + function getTitle(_ref8) { + var Title = _ref8.Title; + return _$$_REQUIRE(_dependencyMap[0]).StringUtils.decodeHTML(Title || ""); + } + + function getAction(_ref9) { + var Action = _ref9.Action, + URL = _ref9.URL; + + if (Action) { + return Action; + } + + if (URL.endsWith(".mp4")) { + return "videoStream"; + } + + return "image"; + } + + function parseGalleryItem(item) { + if (!item) { + throw new Error("gallery item is undefined"); + } + + var gallery = {}; + gallery.url = getUrl(item); + + if (!gallery.url) { + throw new Error("missing url"); + } + + gallery.action = getAction(item); + + switch (gallery.action) { + case "dailymotion": + case "dailymotionPlaylist": + gallery.caption = getPreviewText(item); + gallery.thumbnail = getPreviewImage(item); + gallery.textColor = getPreviewTextColor(item); + break; + + case "videoLink": + gallery.caption = getPreviewText(item); + gallery.thumbnail = getPreviewImage(item); + gallery.textColor = getPreviewTextColor(item); + gallery.extension = getExtension(item); + break; + + case "videoEmbed": + gallery.thumbnail = getPreviewImage(item); + break; + + case "videoStream": + default: + gallery.extension = getExtension(item); + gallery.caption = getCaption(item); + gallery.thumbnail = getThumbnail(item); + gallery.title = getTitle(item); + } + + return gallery; + } + + function getGallery(str) { + var gallery = []; + + if (str) { + try { + var json = JSON.parse(str); + json.forEach(function (item, index) { + try { + var gItem = parseGalleryItem(typeof item === "string" ? JSON.parse(item) : item); + gItem.index = index; + gallery.push(gItem); + } catch (e) {} + }); + } catch (e) {} + } + + return gallery; + } + + function galleryHasDailymotionVideo(gallery) { + if (!_$$_REQUIRE(_dependencyMap[0]).JSUtils.isEmpty(gallery) && !_$$_REQUIRE(_dependencyMap[0]).JSUtils.isNull(gallery[0])) { + return gallery[0].action.startsWith("dailymotion"); + } + + return false; + } + + function itemHasLiveStreamAction(item) { + var action = item.action; + return action.hasMainActionLiveStream(); + } + + function itemHasHtml5StreamAction(item) { + var action = item.action; + return action.hasMainActionHtml5Stream(); + } + + function itemHasLiveStreamDailymotionVideo(item) { + var gallery = item.gallery; + var hasVideo = galleryHasDailymotionVideo(gallery); + return hasVideo && itemHasLiveStreamAction(item); + } + + function itemHasPropertyIsSchedule(item) { + var action = item.action; + return action.hasPropertyIsSchedule(); + } + + function itemHasPropertyNotClickable(item) { + var action = item.action; + return action.hasPropertyNotClickable(); + } +},1946,[438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.LocaleConfig = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _i18nJs = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _Api = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _en = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _it = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _ar = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _da = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _de = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + var _frFR = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + var _nlNL = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); + + var _esES = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); + + var _roRO = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); + + var _sl = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); + + var _sv = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[16])); + + var _ptPT = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[17])); + + var _ptBR = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18])); + + var _nlBE = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[19])); + + var _nnNO = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[20])); + + var _nbNO = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[21])); + + var _LocaleHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[22])); + + var _AudioManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[23])); + + var LocaleConfig = exports.LocaleConfig = function () { + function LocaleConfig() { + (0, _classCallCheck2.default)(this, LocaleConfig); + this.locale = {}; + this.audioMgr = new _AudioManager.default(); + } + + return (0, _createClass2.default)(LocaleConfig, [{ + key: "init", + value: function () { + var _init = (0, _asyncToGenerator2.default)(function* () { + var pSetupConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : global.getActivePSetup(); + var language = pSetupConfig.language, + pSetup = pSetupConfig.pSetup, + machine = pSetupConfig.machine, + paper = pSetupConfig.paper, + customLanguagePackFileTime = pSetupConfig.customLanguagePackFileTime; + this.language = language; + this.initLocale(); + yield this.audioMgr.init(_i18nJs.default.locale); + var mainLanguagePack = yield this.getMainLanguagePack(pSetupConfig); + + _LocaleHelper.default.setStorageName(paper); + + var lastCustomLanguagePackFileTime = yield _LocaleHelper.default.getFiletime(); + var activeLanguagePack = yield _LocaleHelper.default.getLanguagePack(); + + if (_$$_REQUIRE(_dependencyMap[24]).NetworkUtils.isOnline() && customLanguagePackFileTime > -1 && customLanguagePackFileTime > lastCustomLanguagePackFileTime) { + try { + var response = yield _Api.default.customLanguagePack({ + pSetup: pSetup, + machine: machine + }); + activeLanguagePack = response && response.data || {}; + } catch (e) {} + } else if (customLanguagePackFileTime === -1) { + activeLanguagePack = {}; + } + + this.locale = Object.assign({}, mainLanguagePack, activeLanguagePack); + + _LocaleHelper.default.setFiletime(customLanguagePackFileTime); + + _LocaleHelper.default.setLanguagePack(this.locale); + }); + + function init() { + return _init.apply(this, arguments); + } + + return init; + }() + }, { + key: "getMainLanguagePack", + value: function () { + var _getMainLanguagePack = (0, _asyncToGenerator2.default)(function* () { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : global.getActivePSetup(), + activePaper = _ref.paper, + activeLanguage = _ref.language; + + var _global$getMainPSetup = global.getMainPSetup(), + paper = _global$getMainPSetup.paper, + language = _global$getMainPSetup.language; + + if (activePaper !== paper && activeLanguage === language) { + _LocaleHelper.default.setStorageName(paper); + + return _LocaleHelper.default.getLanguagePack(); + } + + return {}; + }); + + function getMainLanguagePack() { + return _getMainLanguagePack.apply(this, arguments); + } + + return getMainLanguagePack; + }() + }, { + key: "getLanguage", + value: function getLanguage() { + return this.language; + } + }, { + key: "strings", + value: function strings(name) { + var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var string = this.locale[name]; + + if (string) { + string = Object.keys(params).reduce(function (result, key) { + return result.replace("{{" + key + "}}", params[key]); + }, string); + } + + var fallback = _i18nJs.default.t(name, params); + + return string || fallback; + } + }, { + key: "date", + value: function date(time) { + return _$$_REQUIRE(_dependencyMap[24]).DateUtils.fromNow(time); + } + }, { + key: "formattedDate", + value: function formattedDate(str, format) { + return _$$_REQUIRE(_dependencyMap[24]).DateUtils.fromNow(str, format); + } + }, { + key: "getCurrentLocale", + value: function getCurrentLocale() { + var locale = global.locale || "en"; + + if (this.language) { + var supportedLanguages = ["en", "it", "de", "fr-FR", "nl-NL", "es-ES", "ro-RO", "sv", "da", "pt-PT", "pt-BR", "nl-BE", "nn-NO", "nb-NO", "ar", "sl"]; + + if (this.language && this.language >= 0 && this.language < supportedLanguages.length) { + locale = supportedLanguages[this.language]; + } + } + + return locale; + } + }, { + key: "initLocale", + value: function initLocale() { + _i18nJs.default.locale = this.getCurrentLocale(); + _i18nJs.default.fallbacks = true; + _i18nJs.default.translations = { + en: _en.default, + it: _it.default, + ar: _ar.default, + da: _da.default, + de: _de.default, + "fr-FR": _frFR.default, + "nl-NL": _nlNL.default, + "es-ES": _esES.default, + "ro-RO": _roRO.default, + sv: _sv.default, + "pt-PT": _ptPT.default, + "pt-BR": _ptBR.default, + "nl-BE": _nlBE.default, + "nn-NO": _nnNO.default, + "nb-NO": _nbNO.default, + sl: _sl.default + }; + + _$$_REQUIRE(_dependencyMap[24]).DateUtils.initMomentLocale(_i18nJs.default.locale); + } + }]); + }(); +},1947,[3,270,6,7,1179,407,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1958,1959,1960,1961,1962,1963,1964,1965,438]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "android_location_usage_message": "The app uses location to provide the user search results related to the area where he/she lives", + "android_location_usage_title": "Location", + "action_go_to_category": "Go to {{anchor}}", + "action_open_epaper": "Open epaper", + "action_open_gallery": "Open gallery", + "action_open_link": "Open link", + "action_remove_from_favorites": "Remove from favorites", + "action_save_for_later": "Save for later", + "action_share": "Share", + "action_unknown": "Unknown", + "alert_message": "Are you sure?", + "all": "All", + "all_events": "All Events", + "all_jobs": "All jobs", + "animation": "Animation", + "animation_action": "Click button to change animation", + "animation_change": "Animation change", + "animation_changed": "Animation changed", + "article_count": "{{count}} articles", + "btn_accessibility": "Accessibility mode", + "btn_car_mode": "Car mode", + "btn_account": "Account", + "btn_add_event": "Add Event", + "btn_advance_filters": "Advance filters", + "btn_archive": "Archive", + "btn_ask_later": "Ask Me Later", + "btn_back": "Back", + "btn_continue": "Continue", + "btn_cancel": "Cancel", + "btn_close": "Close", + "btn_confirm": "Confirm", + "btn_contact": "Contact", + "btn_disable_log_file": "Send LOG", + "btn_do_not_show": "Don't show again", + "btn_download": "Offline", + "btn_editions": "Editions", + "btn_enable_log_file": "Enable LOG", + "btn_feed": "Live News", + "btn_feedback": "Feedback", + "btn_fit_page": "Fit", + "btn_g_book": "Browse", + "btn_go_to_news": "Go to news", + "btn_help": "Help", + "btn_index": "Index", + "btn_link": "Link", + "btn_login": "Login", + "btn_logout": "Logout", + "btn_more": "More", + "btn_no": "No", + "btn_ok": "OK", + "btn_reload": "Reload", + "btn_publications": "Publications", + "btn_read": "Read", + "btn_reset": "Reset", + "btn_search": "Search", + "btn_set_as_default": "Set as default", + "btn_settings": "Settings", + "btn_skip": "Skip", + "btn_special_section": "Special", + "btn_store": "Store", + "btn_swipe": "Swipe", + "btn_thumbnail": "Pages", + "btn_yes": "Yes", + "btn_go_back": "Go back", + "btn_go_back_article": "Previous article {{index}}", + "btn_go_back_section": "Previous section: {{section}}", + "btn_go_next": "Go next", + "btn_go_next_article": "Next article {{index}}", + "btn_go_next_section": "Next section: {{section}}", + "btn_go_up": "Previous level", + "btn_go_up_choose_issue": "Choose issue", + "btn_go_up_general_index": "Go to General Index", + "btn_go_up_section": "Go to section {{section}}", + "btn_tts": "Toggle text to speech", + "btn_close_car_mode": "Close car mode", + "btn_close_accessibility": "Close accessibility mode", + "btn_close_editions": "Close issues list", + "cache_size": "Cache size", + "card": "Card", + "mixed": "Mixed layout", + "categories": "Categories", + "labels": "Labels", + "return": "RETURN", + "change": "CHANGE", + "open": "OPEN", + "reset": "RESET", + "change_location_hint": "Change Location", + "change_radius": "Select Radius", + "clear": "CLEAR", + "clear_cache": "Clear cache", + "clear_favorites": "Clear favorites", + "confirm": "Confirm", + "connection_0": "Roaming Mode", + "connection_0_description": "Ideal when limited bandwidth is available. Textual version of the edition is downloaded, images will be shown in very low resolution.", + "connection_1": "Online Mode", + "connection_1_description": "Ideal while connected to the internet. Only pages viewed are downloaded and available for offline reading.", + "connection_2": "Offline Mode", + "connection_2_description": "Automatically downloads entire edition at startup for offline reading.", + "copy_files": "Copy Files", + "counter": "{{current}} of {{total}}", + "custom_location": "Custom Location", + "database": "Database", + "database_deleted": "Database deleted", + "default_search": "Default Search", + "dialog_location_message": "We use your location to show where you are on the map", + "dialog_location_title": "We need to access your location", + "disabled": "Disabled", + "disable_debug_overlay": "Disable debugger", + "enabled": "Enabled", + "enable_debug_overlay": "Enable debugger", + "err_voice_recognition_no_services": "No installed services found", + "err_voice_recognition_generic": "Something went wrong with voice recognition", + "err_voice_recognition": "Voice recognition error {{message}}", + "err_module_unavailable": "{{module}} not available in this app", + "err_change_animation": "Error to change animation", + "err_clear_cache": "Error to clear cache", + "err_clear_database": "Error to clear database", + "err_clear_favorites": "Error to clear favorites", + "err_download_edition": "An error occurred during the download of the edition", + "err_download_edition_db": "An error occurred during the download of the edition's database", + "err_download_psetup": "Error during download of base configurations", + "err_internet_connection": "Could not connect to the application server. Please ensure that you have internet connectivity and try again.", + "err_max_min": "Invalid filter, min must be less than max", + "err_offline": "External contents not available offline", + "err_reset_notification_email": "Reset notification email", + "err_retrieve_cache": "Error to retrieve cache", + "err_retrieve_favorites": "Error to retrieve favorites", + "err_translation": "Translation not available", + "err_translation_offline": "Translation not available offline", + "err_disabling_push_notifications": "Can't disable push notification, {{error}}", + "err_enabling_push_notifications": "Can't enable push notification, {{error}}", + "error_on_load_more": "Error when trying to loading more items", + "fast": "Fast", + "favorites": "Favorites", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_email_subject": "Feedback for {{who}}", + "feedback_msg_ask_for_feedback": "Is there anything we can do to help?", + "feedback_title_request_feedback": "Are you enjoying your time with the App?", + "feedback_title_request_review_feedback": "Glad to hear! Would you like to leave a review or rating?", + "filter_max": "Max", + "filter_min": "Min", + "filter_text": "Write text here", + "font_extra_large": "Extra large", + "font_extra_small": "Extra small", + "font_large": "Large", + "font_normal": "Normal", + "font_scale": "Font Scale", + "font_small": "Small", + "force_crash": "Force crash", + "force_sublayout": "FORCE LAYOUT SUB STYLE", + "from_most_recent": "From the most recent", + "from_oldest": "From the oldest", + "gmc_default_text": "A new issue is available. Tap here to read!", + "gmc_message_text": "The {{issue}} newspaper is now available. Tap here to read!", + "grid": "Grid", + "grid_list": "grid/list", + "hint_two_fingers_tap": "To read an article, tap on the article area with two fingers", + "home": "Home", + "label_exit_accessibility_mode": "Exit Accessibility mode", + "label_open_browser": "Open in browser", + "last_search": "Last Search", + "layout": "Layout", + "learn_more": "Learn More", + "list": "List", + "uploading": "Uploading...", + "loading": "Loading...", + "local_events": "Local Events", + "max_salary": "Max. salary", + "min_salary": "Min. salary", + "mobile_network_warning": "You are connected to a mobile network instead of WiFi", + "msg_entering_section": "Entering section {{section}}", + "msg_available_next_startup": "This configuration will be available next startup", + "msg_clear_cache": "Clear cache", + "msg_clear_favorites": "Delete favorites", + "msg_copy_to_clipboard": "Copy to clipboard", + "msg_delete_title": "Do you want to", + "msg_delete_db": "Delete database data?", + "msg_operation_completed": "Operation completed", + "msg_ok_delete_db": "All saved editions have been deleted", + "msg_delete_localstorage": "Clear personal settings?", + "msg_database_deleted": "Delete database", + "msg_download_bundle": "Downloading latest app data...", + "msg_download_bundle_error": "Download of bundle finish with error, the app will try to update date later", + "msg_press_restart": "The data was downloaded successfully, reload the app to apply changes", + "msg_download_edition": "Downloading edition...", + "msg_download_retry": "Attempt {{retry}} of {{maxRetries}}...", + "msg_download_rss": "Downloading new articles...", + "msg_empty_category": "Currently, there are no articles assigned to {{category}}! Tap to refresh", + "msg_empty_favorites": "Currently, there are no favorites!", + "msg_empty_gallery": "Clicked gallery is empty", + "msg_empty_list": "Currently, there are no elements! Tap to change some filters", + "msg_empty_searches": "Currently, there are no saved searches", + "msg_error_category": "Something went wrong, try to reopen the category or delete database from settings! Tap to refresh", + "msg_error_list": "Something went wrong, try to change some filters", + "msg_error_newspaper": "Newspaper is empty", + "msg_event_over": "The event is over.", + "msg_exit_application": "Exiting the application?", + "msg_failed": "Failed", + "msg_font_scaling": "Would you like to apply your device text size to this application?", + "msg_font_scaling_title": "It looks like you have a custom text size set on your device", + "msg_list_no_articles_available_for_category": "This not an error. Currently, there are no articles assigned to this category!", + "msg_list_no_content": "No current content", + "msg_loading_comments": "Loading comments...", + "msg_loading_more": "Loading more...", + "msg_new_issue_available_title_edition": "You are currently reading {{edition}}", + "msg_new_issue_available_title_edition_date": "You are currently reading the {{date}} edition of {{edition}}", + "msg_new_issue_available": "A new edition is now available, would you like to load it?", + "msg_new_issue_available_edition": "A new edition of {{edition}} is now available, would you like to load it?", + "msg_new_issue_available_date": "The {{date}} edition is now available, would you like to load it?", + "msg_new_issue_available_edition_date": "The {{date}} edition of {{edition}} is now available, would you like to load it?", + "msg_not_on_latest_issue": "You are not viewing the latest available edition, would you like to load it now?", + "msg_not_on_latest_issue_edition": "You are not viewing the latest available edition of {{edition}}, would you like to load it now?", + "msg_not_on_latest_issue_date": "You are not viewing the latest available edition, would you like to load the {{date}} edition?", + "msg_not_on_latest_issue_edition_date": "You are not viewing the latest available edition, would you like to load the {{date}} edition of {{edition}}?", + "msg_notification_email_warning": "A notification email is set, do you want to proceed?", + "msg_offline_article_graph": "To use this feature offline you must have downloaded the full edition or some images may be missing.", + "msg_opening_article": "Opening: {{title}}", + "msg_opening_push": "Opening push notifications...", + "msg_pending_purchases": "Completing pending purchases: {{completed}} of {{total}}", + "msg_reload_publication": "Database deleted, automatically download the latest edition?", + "msg_restore_default_settings": "Do you want to restore the default app settings?", + "msg_rss_new_articles_available": "{{count}} new articles are available", + "msg_rss_no_new_articles_available": "You are up-to-date", + "msg_rss_one_new_article_available": "1 new article is available", + "msg_rss_reload_database": "New database downloaded", + "msg_rss_update_error": "Error during update, check your internet connection and try again", + "msg_search_empty": "Nothing was searched", + "msg_search_lite": "View results on page", + "msg_search_not_found": "No article found with {{text}}", + "msg_zip_not_found": "Not found zip code for your location", + "msg_screenshots_disabled": "Screenshots are not allowed in this app", + "msg_sent": "Sent", + "msg_share_unmanaged": "Share option unmanaged", + "msg_tts_error": "An error occured, please retry later!", + "msg_tts_no_volume": "Increase volume to listen text", + "msg_tts_unsupported": "Unsupported language, try to use the default voice or check if a custom language pack exists!", + "msg_valid_notification_email": "New notification email correctly set, click 'Restart' to have the change effective.", + "msg_reset_notification_email": "Notification email correctly reset, click 'Restart' to have the change effective.", + "my_home_categories_selected": "{{categories}} categories selected for a total of {{articles}} articles", + "my_location": "Use my location", + "network": "Network", + "none": "None", + "normal": "Normal", + "offline_download_dialog": "Do you want to download the whole edition for offline reading?", + "offline_download_warning": "This edition is not fully downloaded. Some parts of the pages may appear blurry.", + "paywall_offline_warning": "This article is currently not available offline", + "permission_storage_message": "{{appName}} needs storage permission", + "permission_title": "{{appName}} permission", + "pj_from_page": "from page", + "pj_to_page": "to page", + "pj_continue_to_page": "Continue to page", + "pj_continue_to_page_parent": "Page", + "powered_by": "Powered by TECNAVIA", + "powered_by_who": "Powered by {{who}}", + "push_notification": "Push notification", + "reader_app_text": "Any accounts or purchases made outside of this app will be managed by the developer “{{developerName}}.” Your App Store account, stored payment method, and related features, such as subscription management and refund requests, will not be available. Apple is not responsible for the privacy or security of transactions made with this developer.", + "reader_app_title": "You're about to leave the app and go to an external website. You will no longer be transacting with Apple.", + "restart": "Restart", + "retry": "Retry", + "salary": "Salary: {{salary}}", + "save_search": "Save search", + "saved_searches": "Saved Searches", + "search_term": "Search Term", + "select_after_date": "Select after date", + "select_my_home_categories": "Pick your favorite categories from the list below to customize your {{category}}", + "selected_categories": "Selected Categories", + "selected_time_range": "Selected Date Range", + "settings": "Settings", + "settings_allow_font_scaling": "Allow font scaling", + "settings_startup_epaper": "E-Edition", + "settings_startup_rss": "Live News", + "settings_startup_choose": "Choose Each Time", + "share_event_url": "http://{{portal}}.cityspark.co/event/{{id}}/*", + "show": "SHOW", + "sort_by_date": "Sort by Time", + "sort_by_name": "Sort by A-Z", + "sort_by_name_reverse": "Sort by Z-A", + "sort_by_popularity": "Sort by Popularity", + "sort_date_disabled": "Sort on date disable", + "sponsored_content": "Sponsored Content", + "start_with": "Start With", + "str_advertisement": "Advertisement", + "str_custom": "Custom", + "str_default_language": "Return to original language", + "str_description": "Description:", + "str_editor_picks": "Only Editor Picks", + "str_free": "Free", + "str_from": "From", + "str_id": "ID: {{id}}", + "str_limit_label": "Number of editions to store: {{days}}", + "str_location": "Location:", + "str_next_events": "Next Events:", + "str_next_week": "Next Week", + "str_no_categories": "no categories", + "str_not_available": "Not Available", + "str_page": "Page", + "str_search": "Search", + "str_search_results": "{{text}} - {{count}} results", + "str_special_sections": "Special sections", + "str_this_week": "This Week", + "str_this_weekend": "This Weekend", + "str_time_range": "Date range", + "str_title": "Title", + "str_to": "To", + "str_today": "Today", + "str_tomorrow": "Tomorrow", + "str_translating_article": "Translating article...", + "str_published_after_date": "Published after date", + "str_select": "Select...", + "support_email": "support@tecnavia.com", + "system_error": "An error occurred", + "theme": "Theme", + "theme_auto": "Automatic Light/Dark", + "theme_dark": "Dark", + "theme_light": "Light", + "title_bottom_sheet": "Actions", + "title_offline": "No Internet connection", + "toggle": "TOGGLE", + "toggle_layout": "Toggle layout", + "toggle_list": "List View", + "toggle_map": "Map View", + "total_events": "Events: {{total}}", + "total_favorites": "Favorites: {{total}}", + "total_jobs": "Jobs: {{total}}", + "total_searches": "Saved Searches: {{total}}", + "tutorial": "Tutorial", + "unknown_salary": "Unknown Salary", + "unsave_search": "Remove saved search", + "user_tip_download_title": "User Tip", + "user_tip_download": "To automatically download all editions for offline reading, select 'More' > 'Settings' > 'Offline' as your preferred Network setting", + "version": "Version", + "vertical_job_location_hint": "Select a location", + "vertical_job_text_hint": "Enter a keyword for search", + "msg_offline_issues": "Choose an issue", + "msg_login_overlay_title": "To continue reading", + "msg_access_reserved": "Access reserved to subscribers", + "msg_continue_to_read": "Subscribe to {{paper}}", + "msg_already_subscriber": "Are you already a subscriber? Login", + "settings_translate": "Translate articles to", + "settings_themes": "Theme", + "settings_font_size": "Font size", + "settings_graph_size": "Zoom level", + "settings_zoom_level": "Zoom level", + "settings_zoom_level_normal": "Normal", + "settings_zoom_level_large": "Large", + "settings_zoom_level_larger": "Larger", + "settings_number_stored_editions": "Number of editions to store", + "settings_restore_defaults": "Restore default settings", + "settings_clear_storage": "Clear storage", + "settings_back_to_classic": "Return to Classic eEdition", + "settings_restart_from_latest": "Restart from the latest edition (min)", + "settings_article_mode": "Article mode", + "settings_article_mode_only_text": "Show articles only", + "settings_article_mode_text_and_graphics": "Show articles and graphics", + "settings_article_mode_all": "Show all", + "settings_two_fingers_tap_to_article": "Use two finger tap to open article mode", + "settings_single_tap_to_zoom": "Use single tap to zoom", + "settings_favorite_edition": "Choose your favorite edition", + "settings_favorite_edition_default_label": "Last edition available", + "settings_enable_column_view": "Enable multiple columns view of articles", + "settings_navigation_arrows": "Navigation arrows", + "settings_navigation_arrows_always": "always present", + "settings_navigation_arrows_disapper": "disappear when reading", + "settings_navigation_arrows_never": "never present", + "settings_article_highlight": "Keep current article highlighted when article mode is open", + "settings_manage_privacy_preferences": "Manage privacy preferences", + "settings_title_box": "Show article title boxes", + "general": "App Settings", + "settings_translate_original": "Original language", + "advance": "{{label}} | Advanced settings", + "send": "SEND", + "debug": "Device Info", + "write": "WRITE", + "hint_my_home_screen_config": "To personalize {{label}}", + "action_go_to_settings": "Go to settings", + "hint_restart": "The application will restart to load new configurations...", + "hint_update_ui": "The user interface will update to load new settings, you might notice a flicker...", + "voice_back": "back", + "voice_what": "what", + "voice_next": "next", + "voice_next_page": "next page", + "voice_previous": "previous", + "voice_previous_page": "previous page", + "voice_stop": "stop", + "voice_read": "read", + "voice_close": "close", + "voice_up": "up", + "voice_down": "down", + "voice_select": "select", + "selected_page_of_section": "selected page {{page}} of Section {{section}}", + "selected_page_of_index": "selected page {{page}} of index", + "msg_max_share": "You reached the daily sharing limit for this edition", + "selected_page": "selected page {{page}}", + "accessibility_issue_list_header": "Issues list", + "msg_simulate_accessibility_title": "Enable accessibility mode", + "msg_simulate_accessibility": "This is a simulation of the application as when {{accessibilityAppName}} is active.\n • double tap to select\n • single tap or finger movement to read element\n • two finger to swipe", + "accessibility": "Accessibility", + "iap_multiple_subscriptions": "Multiple Subscriptions", + "iap_go_to_subscriptions": "Go To Subscription", + "iap_multiple_subscriptions_message": "We found you have multiple active subscriptions, please disable those you don't need. When a subscription has been disabled, it will be refunded.{{subscriptions}}", + "iap_multiple_active_subscriptions_message": "You already have an active subscription, would you like to buy a new one anyway? {{subscriptions}}", + "settings_push_scopes": "Push segments", + "settings_tab_index_mode": "Enable tab layout in index mode", + "btn_from": "From", + "btn_to": "To", + "str_date": "Date", + "str_sort_by": "Sort by", + "srt_order": "Order", + "str_byline": "Byline", + "str_descending": "Descending", + "str_ascending": "Ascending", + "str_categories": "Categories", + "str_relevance": "Relevance", + "settings_enable_push_notifications": "Enable push notifications", + "edit_token": "Edit token", + "title_edit_token_confirm": "Do you want to update the token?", + "msg_edit_token_confirm": "New value: \"{{token}}\"", + "btn_not_sure_yet": "Not sure yet" +}; +},1948,[]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "action_go_to_category": "Vai a {{anchor}}", + "action_open_epaper": "Aprire il giornale", + "action_open_gallery": "Aprire la galleria", + "action_open_link": "Apri il link", + "action_remove_from_favorites": "Rimuovere dai preferiti", + "action_save_for_later": "Salva per dopo", + "action_share": "Condividi", + "action_unknown": "Sconosciuto", + "alert_message": "Sei sicuro?", + "all": "Tutti", + "all_events": "Tutti gli eventi", + "all_jobs": "Tutti i lavori", + "animation": "Animazione", + "animation_action": "Fare clic sul pulsante per cambiare l'animazione", + "animation_change": "Cambiare animazione", + "animation_changed": "Animazione cambiata", + "article_count": "{{count}} articoli", + "btn_accessibility": "Versione accessibile", + "btn_account": "Account", + "btn_advance_filters": "Filtri avanzati", + "btn_archive": "Archivio", + "btn_ask_later": "Più Tardi", + "btn_back": "Indietro", + "btn_cancel": "Annulla", + "btn_close": "Chiudi", + "btn_confirm": "Conferma", + "btn_contact": "Contatti", + "btn_disable_log_file": "Invio LOG", + "btn_do_not_show": "Non mostrare più", + "btn_download": "Scarica", + "btn_editions": "Edizioni", + "btn_enable_log_file": "Abilita il LOG", + "btn_feed": "Notizie Live", + "btn_fit_page": "Adatta", + "btn_g_book": "Sfoglia", + "btn_go_to_news": "Vai alla news", + "btn_help": "Guida", + "btn_index": "Indice", + "btn_link": "Link", + "btn_login": "Login", + "btn_logout": "Logout", + "btn_more": "Altro", + "btn_no": "No", + "btn_ok": "OK", + "btn_publications": "Pubblicazioni", + "btn_read": "Leggi", + "btn_reset": "Ripristina", + "btn_search": "Ricerca", + "btn_set_as_default": "Imposta come predefinito", + "btn_settings": "Impostazioni", + "btn_skip": "Salta", + "btn_special_section": "Speciale", + "btn_store": "Store", + "btn_thumbnail": "Pagine", + "btn_swipe": "Sfoglia", + "btn_yes": "Sì", + "cache_size": "Cache", + "card": "Scheda", + "categories": "Categorie", + "change": "CAMBIA", + "change_location_hint": "Cambia località", + "change_radius": "Seleziona raggio", + "clear": "PULISCI", + "clear_cache": "Cancella cache", + "clear_favorites": "Cancella preferiti", + "confirm": "Conferma", + "connection_0": "Modalità Mobile", + "connection_0_description": "Lettura prevalentemente testuale del giornale. Uso limitato della banda.", + "connection_1": "Modalità 3G", + "connection_1_description": "Lettura grafica/testuale del giornale. Non tutti gli elementi grafici sono scaricati.", + "connection_2": "Modalità Wifi", + "connection_2_description": "Lettura grafica/testuale del giornale. Scaricamento completo di tutte le componenti.", + "copy_files": "Copia File", + "counter": "{{current}} di {{total}}", + "custom_location": "Indirizzo Personalizzato", + "database": "Database", + "database_deleted": "Database eliminato", + "default_search": "Ricerca di default", + "dialog_location_message": "Possiamo utilizzare la tua posizione per mostrare dove ti trovi sulla mappa", + "dialog_location_title": "Abbiamo bisogno di accedere alla tua posizione", + "disabled": "Disabilitato", + "enabled": "Abilitato", + "err_change_animation": "Errore nel cambiare l'animazione", + "err_clear_cache": "Errore di cancellazione della cache", + "err_clear_database": "Errore nel cancellare il database", + "err_clear_favorites": "Errore di cancellazione dei preferiti", + "err_download_edition": "Si è verificato un errore nello scaricamento dell'edizione", + "err_download_edition_db": "Si è verificato un errore nello scaricamento del database dell'edizione", + "err_download_psetup": "Errore durante il download delle configurazioni di base", + "err_internet_connection": "Impossibile connettersi al server dell'applicazione. Assicurarsi di avere connettività internet e riprovare.", + "err_max_min": "Filtro non valido, min deve essere inferiore a max", + "err_offline": "Contenuti esterni non disponibili offline", + "err_retrieve_cache": "Errore nel recuperare la cache", + "err_retrieve_favorites": "Errore nel recuperare i preferiti", + "err_translation": "Traduzione non disponibile", + "err_translation_offline": "Traduzione non disponibile offline", + "error_on_load_more": "Errore durante il tentativo di caricamento di più elementi", + "fast": "Veloce", + "favorites": "Preferiti", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_msg_ask_for_feedback": "C'è qualcosa che possiamo fare per aiutarti?", + "feedback_title_request_feedback": "L'utilizzo dell'app è di tuo gradimento?", + "feedback_title_request_review_feedback": "Siamo felici di sentirlo! Vuoi lasciare una recensione o una valutazione?", + "filter_max": "Max", + "filter_min": "Min", + "filter_text": "Scrivere qui", + "font_extra_large": "Extra large", + "font_extra_small": "Extra small", + "font_large": "Grande", + "font_normal": "Normale", + "font_scale": "Scala del font", + "font_small": "Piccolo", + "force_crash": "Forza interruzione", + "from_most_recent": "Dalle più recenti", + "from_oldest": "Dalla più vecchia", + "gmc_default_text": "Una nuova pubblicazione è disponibile. Toccare qui per leggere!", + "gmc_message_text": "Il {{issue}} giornale è ora disponibile. Toccare qui per leggere!", + "grid": "Griglia", + "grid_list": "griglia/elenco", + "home": "Home", + "label_exit_accessibility_mode": "Esci dalla versione accessibile", + "label_open_browser": "Apri nel browser", + "last_search": "Ultima Ricerca", + "layout": "Layout", + "learn_more": "Ulteriori informazioni", + "list": "Elenco", + "loading": "Caricamento...", + "local_events": "Eventi locali", + "max_salary": "Max. stipendio", + "min_salary": "Min. stipendio", + "msg_available_next_startup": "Questa configurazione sarà disponibile al prossimo avvio", + "msg_clear_cache": "Cancella cache", + "msg_clear_favorites": "Eliminare i preferiti", + "msg_copy_to_clipboard": "Copiato negli appunti", + "msg_database_deleted": "Elimina database", + "msg_delete_db": "Cancellare il database locale?", + "msg_delete_localstorage": "Cancellare le impostazioni personali?", + "msg_delete_title": "Vuoi", + "msg_download_edition": "Download dell'edizione in corso...", + "msg_download_retry": "Tentativo {{retry}} di {{maxRetries}}...", + "msg_empty_category": "Attualmente non ci sono articoli assegnati a {{category}}! Toccare per aggiornare", + "msg_empty_favorites": "Attualmente, non ci sono preferiti!", + "msg_empty_gallery": "La galleria è vuota", + "msg_empty_list": "Attualmente non ci sono elementi!!! Toccare per modificare alcuni filtri", + "msg_empty_searches": "Attualmente non esistono ricerche salvate", + "msg_error_category": "Qualcosa è andato storto, prova a riaprire la categoria o eliminare il database dalle impostazioni! Toccare per aggiornare", + "msg_error_list": "Qualcosa è andato storto, prova a cambiare alcuni filtri", + "msg_error_newspaper": "Il giornale è vuoto", + "msg_event_over": "L'evento si è concluso", + "msg_exit_application": "Uscire dall'applicazione?", + "msg_failed": "Fallito", + "msg_font_scaling": "Vuoi mantenere questa impostazione all'interno dell'app?", + "msg_font_scaling_title": "Hai impostato nel tuo dispositivo una dimensione del testo personalizzata", + "msg_list_no_articles_available_for_category": "Questo non è un errore. Attualmente, non ci sono articoli assegnati a questa categoria!", + "msg_list_no_content": "Nessun contenuto corrente", + "msg_loading_comments": "Caricamento commenti", + "msg_loading_more": "Caricamento...", + "msg_new_issue_available_title_edition": "Stai leggendo {{edition}}", + "msg_new_issue_available_title_edition_date": "Stai leggendo l'edizione del {{date}} {{edition}}", + "msg_new_issue_available": "È disponibile una nuova edizione, vuoi scaricarla?", + "msg_new_issue_available_edition": "È disponibile una nuova edizione {{edition}}, vuoi scaricarla?", + "msg_new_issue_available_date": "È disponibile l'edizione del {{date}}, vuoi scaricarla?", + "msg_new_issue_available_edition_date": "È disponibile l'edizione del {{date}} {{edition}}, vuoi scaricarla?", + "msg_not_on_latest_issue": "Questa non è l'ultima edizione disponibile, vuoi scaricare l'edizione più recente?", + "msg_not_on_latest_issue_edition": "Questa non è l'ultima edizione disponibile, vuoi scaricare l'edizione più recente {{edition}}?", + "msg_not_on_latest_issue_date": "Questa non è l'ultima edizione disponibile, vuoi scaricare l'edizione del {{date}}?", + "msg_not_on_latest_issue_edition_date": "Questa non è l'ultima edizione disponibile, vuoi scaricare l'edizione del {{date}} {{edition}}?", + "msg_offline_article_graph": "Per utilizzare questa funzionalità in modalità non in linea è necessario scaricare l'intera edizione altrimenti immagini o testi potrebbero mancare.", + "msg_offline_issues": "Selezionare un edizione da leggere", + "msg_opening_push": "Apertura notifiche push...", + "msg_pending_purchases": "Completamento degli acquisti in sospeso: {{completed}} di {{total}}", + "msg_reload_publication": "Scaricare automaticamente l'ultima edizione?", + "msg_restore_default_settings": "Vuoi ripristinare le impostazioni iniziali dell'app?", + "msg_rss_new_articles_available": "{{count}} nuovi articoli sono disponibili", + "msg_rss_no_new_articles_available": "Non ci sono nuovi aggiornamenti", + "msg_rss_one_new_article_available": "1 nuovo articolo è disponibile", + "msg_rss_reload_database": "Nuovo database scaricato", + "msg_rss_update_error": "Errore durante l'aggiornamento, verificare la connessione a internet e riprovare", + "msg_search_empty": "Nessun risultato", + "msg_search_lite": "Visualizza i risultati sulla pagina", + "msg_search_not_found": "Nessun articolo trovato con il testo {{text}}", + "msg_sent": "Inviato", + "msg_share_unmanaged": "Opzione di condivisione non gestita", + "msg_tts_error": "Qualcosa è andato storto, riprovare più tardi!", + "msg_tts_no_volume": "Aumenta il volume per ascoltare l'articolo", + "msg_tts_unsupported": "Utilizzo lingua di default, provare a installare un pacchetto voce italiano", + "my_home_categories_selected": "{{categories}} categorie selezionate per un totale di {{articles}} articoli", + "my_location": "Usa la mia posizione", + "network": "Rete", + "none": "Nessuno", + "normal": "Normale", + "paywall_offline_warning": "Questo articolo non è al momento disponibile offline", + "permission_storage_message": "{{appName}} necessita del permesso di archiviazione dei dati", + "permission_title": "{{appName}} autorizzazione", + "pj_from_page": "da pagina", + "pj_to_page": "alla pagina", + "pj_continue_to_page": "Continua alla pagina", + "pj_continue_to_page_parent": "Pagina", + "powered_by": "Powered by TECNAVIA", + "powered_by_who": "Offerto da {{who}}", + "push_notification": "Notifiche push", + "reader_app_text": "Account e acquisti esterni a quest'app saranno gestiti da “{{developerName}}”. Il tuo account App Store, i tuoi metodi di pagamento e le attività connesse, come la gestione degli abbonamenti e le richieste di rimborso, non saranno disponibili. Apple non è responsabile per la privacy o la sicurezza delle transazioni effettuate con questo sviluppatore.", + "reader_app_title": "Stai per lasciare l'app collegandoti a un sito web esterno. Le transazioni successive non riguardano più Apple.", + "retry": "Riprova", + "salary": "Stipendio: {{salary}}", + "save_search": "Salva ricerca", + "saved_searches": "Ricerche Salvate", + "search_term": "Cerca termine", + "select_after_date": "Selezionare dopo la data di", + "select_my_home_categories": "Scegli la tua categoria preferita dall'elenco di seguito per personalizzare la tua {{category}}", + "selected_categories": "Categorie selezionate", + "selected_time_range": "Intervallo temporale selezionato", + "settings": "Impostazioni", + "settings_allow_font_scaling": "Consenti ridimensionamento caratteri", + "settings_startup_epaper": "E-Edition", + "settings_startup_rss": "Notizie in diretta", + "settings_startup_choose": "Scegli ogni volta", + "show": "MOSTRA", + "sort_by_date": "Ordina per data", + "sort_by_name": "Ordina per nome A-Z", + "sort_by_name_reverse": "Ordina per nome Z-A", + "sort_by_popularity": "Ordina per Popolarità", + "sort_date_disabled": "Ordinamento sulla data disattivato", + "sponsored_content": "Contenuto Sponsorizzato", + "start_with": "Iniziare con", + "str_custom": "Personalizzato", + "str_default_language": "Ritorna alla lingua originale", + "str_from": "Da", + "str_limit_label": "Massimo numero di edizioni immagazzinate: {{days}}", + "str_next_week": "La prossima settimana", + "str_page": "Pagina", + "str_search": "Ricerca", + "str_search_results": "{{text}} - {{count}} risultati", + "str_special_sections": "Sezioni Speciali", + "str_this_week": "Questa settimana", + "str_this_weekend": "Questo fine settimana", + "str_time_range": "Intervallo temporale", + "str_title": "Titolo", + "str_to": "A", + "str_today": "Oggi", + "str_tomorrow": "Domani", + "str_translating_article": "Traduzione di articoli in corso...", + "system_error": "Si è verificato un errore", + "theme": "Tema", + "title_bottom_sheet": "Azioni", + "title_offline": "Nessuna connessione Internet", + "toggle": "CAMBIA", + "toggle_layout": "Cambia Layout", + "toggle_list": "Cambia layou", + "toggle_map": "Alterna mappa", + "total_events": "Eventi Totali", + "total_favorites": "Preferiti: {{total}}", + "total_jobs": "Lavori: {{total}}", + "total_searches": "Ricerche: {{total}}", + "tutorial": "Tutorial", + "unknown_salary": "Stipendio Sconosciuto", + "unsave_search": "Rimuovere ricerca salvata", + "version": "Versione", + "vertical_job_location_hint": "Selezionare una posizione", + "vertical_job_text_hint": "Inserisci una parola chiave per la ricerca", + "offline_download_warning": "Questa edizione non è stata completamente scaricata. Alcune componenti delle pagine potrebbero risultare sfuocate.", + "user_tip_download_title": "Suggerimento", + "user_tip_download": "se vuoi che tutte le edizioni vengano scaricate automaticamente per essere lette anche offline premi sul pulsante 'Altro' -> 'Impostazioni' -> Seleziona 'Modalità Wifi'", + "offline_download_dialog": "Vuoi scaricare l'intera edizione per poterla leggere offline?", + "mobile_network_warning": "Sei connesso a una rete mobile anziché WiFi", + "msg_operation_completed": "Operazione completata", + "msg_ok_delete_db": "Tutte le edizione sono state cancellate", + "msg_download_rss": "Download di nuovi articoli...", + "btn_continue": "Continua", + "msg_login_overlay_title": "Per continuare a leggere", + "msg_access_reserved": "L'accesso è riservato agli abbonati", + "msg_continue_to_read": "Abbonati a {{paper}}", + "msg_already_subscriber": "Sei già abbonato? Accedi", + "settings_translate": "Traduci articoli in", + "settings_themes": "Tema", + "settings_font_size": "Dimensione del carattere", + "settings_graph_size": "Livello di zoom", + "settings_number_stored_editions": "Massimo numero di edizioni immagazzinate", + "settings_restart_from_latest": "Riavvio dall'ultima edizione disponibile (min)", + "settings_article_mode": "Modalità testuale", + "settings_article_mode_all": "Mostra tutto", + "settings_article_mode_text_and_graphics": "Mostra articoli testuali e grafici", + "settings_article_mode_only_text": "Mostra solo articoli testuali", + "settings_restore_defaults": "Ripristina impostazioni iniziali", + "settings_clear_storage": "Cancella dati", + "settings_back_to_classic": "Torna alla versione precedente dell'Edizione Digitale", + "settings_two_fingers_tap_to_article": "Usa il tap con due dita per aprire la lettura testuale", + "settings_single_tap_to_zoom": "Usa tap singolo per zoomare", + "settings_favorite_edition": "Scegli la tua edizione preferita", + "settings_favorite_edition_default_label": "Ultima edizione disponibile", + "reset": "RIPRISTINA", + "open": "APRI", + "settings_enable_column_view": "Attivare la visualizzazione a più colonne degli articoli", + "settings_navigation_arrows": "Pulsanti di navigazione", + "settings_navigation_arrows_always": "sempre presenti", + "settings_navigation_arrows_disapper": "nascosti durante la lettura", + "settings_navigation_arrows_never": "sempre nascosti", + "general": "Impostazioni App", + "settings_translate_original": "Lingua originale", + "advance": "{{label}} | Impostazioni avanzate", + "send": "INVIA", + "btn_feedback": "Feedback", + "return": "TORNA", + "settings_article_highlight": "Mantieni evidenziato l'articolo aperto in modalità testuale", + "write": "SCRIVI", + "btn_go_back": "Torna indietro", + "btn_go_next": "Vai avanti", + "btn_go_up": "Livello precedente", + "btn_reload": "Ricarica", + "action_go_to_settings": "Vai alle impostazioni", + "btn_tts": "Attiva/disattiva sintesi vocale", + "btn_close_accessibility": "Chiudi la modalità accessibile", + "err_module_unavailable": "{{module}} non disponibile", + "hint_my_home_screen_config": "Per personalizzare {{label}}", + "hint_two_fingers_tap": "Per leggere un articolo toccare l'area con due dita", + "settings_zoom_level": "Livello di zoom", + "settings_zoom_level_large": "Grande", + "settings_zoom_level_larger": "Più grande", + "settings_zoom_level_normal": "Normale", + "restart": "Riavvia", + "str_no_categories": "Senza categorie", + "msg_download_bundle": "Scaricamento del nuovo pacchetto dati...", + "msg_press_restart": "Download completato, ricarica l'app per applicare i cambiamenti", + "msg_download_bundle_error": "Download fallito, riprova più tardi", + "voice_back": "indietro", + "voice_close": "chiudi", + "voice_down": "giù", + "voice_next": "avanti", + "voice_next_page": "prossima pagina", + "voice_previous": "indietro", + "voice_previous_page": "pagina precedente", + "voice_read": "leggi", + "voice_select": "seleziona", + "voice_stop": "stop", + "voice_up": "su", + "voice_what": "cosa", + "btn_car_mode": "Modalità auto", + "btn_close_car_mode": "Chiudi modalità auto", + "btn_close_editions": "Chiudi lista edizioni", + "btn_go_back_article": "Articolo precedente numero {{index}}", + "btn_go_back_section": "Sezione precedente: {{section}}", + "btn_go_next_article": "Articolo successivo numero {{index}}", + "btn_go_next_section": "Prossima sezione: {{section}}", + "btn_go_up_choose_issue": "Selezione edizione", + "btn_go_up_section": "Vai alla sezione {{section}}", + "selected_page": "pagina {{page}}", + "selected_page_of_index": "pagina {{page}} dell'indice", + "selected_page_of_section": "pagina {{page}} della sezione {{section}}", + "accessibility_issue_list_header": "Lista edizioni", + "btn_go_up_general_index": "Vai all'indice principale", + "msg_entering_section": "Apertura sezione {{section}}", + "msg_opening_article": "Apertura: {{title}}", + "msg_simulate_accessibility_title": "Attiva modalità accessibile", + "msg_simulate_accessibility": "Questa è una simulazione dell'applicazione come quando {{accessibilityAppName}} è attivo.\n • doppio tap per selezionare\n • singolo tap o movimento continuo con il dito per leggere\n • due dita per sfogliare le liste", + "msg_max_share": "Hai raggiunto il limite giornaliero di condivisioni per questa edizione", + "hint_restart": "L'applicazione ripartirà per caricare la nuova configurazione...", + "hint_update_ui": "L'interfaccia utente verrà aggiornata per caricare le nuove impostazioni...", + "accessibility": "Accessibilità", + "iap_multiple_subscriptions": "Abbonamenti multipli", + "iap_go_to_subscriptions": "Vai agli abbonamenti", + "iap_multiple_subscriptions_message": "Sono state rilevati più abbonamenti attivi, disabilita quelle che non ti servono. Quando l'abbonamento sarà disattivato verrà rimborsato.{{subscriptions}}", + "iap_multiple_active_subscriptions_message": "Hai già un abbonamento attivo, vuoi comunque procedere all'acquisto di uno nuovo? {{subscriptions}}", + "msg_screenshots_disabled": "Non è consentita la cattura di screenshots in questa app", + "settings_tab_index_mode": "Abilita il layout a schede in modalità indice", + "settings_enable_push_notifications": "Abilita notifiche push", + "settings_manage_privacy_preferences": "Gestisci le impostazioni sulla privacy", + "theme_auto": "Automatico Chiaro/Scuro", + "theme_light": "Chiaro", + "theme_dark": "Scuro", + "str_sort_by": "Ordina per", + "str_relevance": "Rilevanza", + "btn_from": "Da", + "btn_to": "A", + "str_date": "Data", + "srt_order": "Ordine", + "str_byline": "Sottotitolo", + "str_descending": "Discendente", + "str_ascending": "Ascendente", + "str_categories": "Categorie", + "str_select": "Selezionare...", + "str_advertisement": "Annuncio", + "settings_title_box": "Mostra i box del titolo degli articoli", + "enable_debug_overlay": "Abilita il debugger", + "disable_debug_overlay": "Disabilita il debugger", + "edit_token": "Modifica token", + "title_edit_token_confirm": "Vuoi aggiornare il token?", + "msg_edit_token_confirm": "Nuovo valore: \"{{token}}\"", + "uploading": "Caricamento...", + "btn_not_sure_yet": "Non ne sono ancora sicuro" +}; +},1949,[]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "action_go_to_category": "{{anchor}} اذهب إلى", + "action_open_epaper": "الطبعة الرقمية", + "action_open_gallery": "فتح معرض", + "action_open_link": "افتح الرابط", + "action_remove_from_favorites": "إزالة من المفضلة", + "action_save_for_later": "احفظ لوقت لاحق", + "action_share": "شارك", + "action_unknown": "غير معروف", + "alert_message": "هل أنت متأكد؟", + "all": "اطباء ومستشفيات", + "all_events": "كل المناسبات", + "all_jobs": "جميع الوظائف", + "animation": "تأثيرات", + "animation_action": "انقر فوق الزر لتغيير الرسوم المتحركة", + "animation_change": "تغيير الرسوم المتحركة", + "animation_changed": "تغيرت الرسوم المتحركة", + "article_count": "{{count}} مقالة", + "btn_accessibility": "وضع الوصول", + "btn_account": "تسجيل الدخول", + "btn_add_event": "أضف حدث", + "btn_advance_filters": "مقدما المرشحات", + "btn_archive": "أرشيف", + "btn_ask_later": "تسألني لاحقا", + "btn_back": "رجوع للخلف", + "btn_cancel": "إلغاء", + "btn_close": "إغلاق", + "btn_confirm": "تأكيد", + "btn_contact": "اتصل بنا", + "btn_disable_log_file": "إرسال سجل", + "btn_do_not_show": "لا تظهر مرة أخرى", + "btn_download": "تنزيل", + "btn_editions": "الإصدارات", + "btn_enable_log_file": "تمكين تسجيل الدخول", + "btn_feed": "الاخبار العاجل", + "btn_fit_page": "نوبة. مناسب", + "btn_g_book": "استعراض", + "btn_go_to_news": "اذهب إلى الأخبار", + "btn_help": "مساعدة", + "btn_index": "فهرس", + "btn_link": "الرابط", + "btn_login": "تسجيل الدخول", + "btn_logout": "تسجيل خروج", + "btn_more": "المزيد", + "btn_no": "لا", + "btn_ok": "موافق", + "btn_publications": "المنشورات", + "btn_read": "تصفح", + "btn_reset": "إعادة تعيين", + "btn_search": "البحث", + "btn_set_as_default": "تعيين كافتراضي", + "btn_settings": "الإعدادات", + "btn_skip": "تخطى", + "btn_special_section": "خاص", + "btn_store": "متجر", + "btn_swipe": "استعراض", + "btn_thumbnail": "الصفحات", + "btn_yes": "نعم", + "cache_size": "التخزين المؤقت", + "card": "بطاقة", + "categories": "التصنيفات", + "change": "تغيير", + "change_location_hint": "تغيير الموقع", + "change_radius": "اختر نصف القطر", + "clear": "مسح", + "clear_cache": "سيتم مسح ذاكرة التخرين المؤقت", + "clear_favorites": "مسح المفضلة", + "confirm": "تأكيد", + "connection_0": "وضع الهاتف المحمول", + "connection_0_description": "بشكل رئيسي القراءة النصية للصحيفة. استخدام محدود للفرقة.", + "connection_1": "وضع 3G", + "connection_1_description": "الجرافيك / قراءة نصية للصحيفة. لا يتم تنزيل جميع الرسومات.", + "connection_2": "وضع واي فاي", + "connection_2_description": " قراءة جرافيك / نصية للصحيفة. تنزيل كامل لجميع المكونات.", + "counter": "{{current}} من {{total}}", + "custom_location": "موقع مخصص", + "database": "قاعدة البيانات", + "database_deleted": "حذف قاعدة البيانات", + "default_search": "البحث الافتراض", + "dialog_location_message": "نحن نستخدم الموقع الخاص بك لإظهار أين أنت على الخريطة", + "dialog_location_title": "نحن بحاجة إلى الوصول إلى الموقع الخاص بك", + "disabled": "معطل", + "enabled": "مفعل", + "err_change_animation": "خطأ في تغيير الرسوم المتحركة", + "err_clear_cache": "خطأ في مسح ذاكرة التخزين المؤقت", + "err_clear_database": "خطأ لمسح قاعدة البيانات", + "err_clear_favorites": "خطأ لمسح المفضلة", + "err_download_edition": "حدث خطأ أثناء تنزيل الإصدار", + "err_download_edition_db": "حدث خطأ أثناء تنزيل قاعدة بيانات الإصدار", + "err_download_psetup": "خطأ أثناء تنزيل تكوينات القاعدة", + "err_internet_connection": "لا يمكن الاتصال بخادم التطبيقات. يرجى التأكد من توفر اتصال بالإنترنت والمحاولة مرة أخرى.", + "err_max_min": "صالح مرشح,الحد الأدنى يجب أن يكون أقل من ماكس", + "err_offline": "المحتويات الخارجية غير متاحة حاليا", + "err_retrieve_cache": "خطأ لاسترداد ذاكرة التخزين المؤقت", + "err_retrieve_favorites": "خطأ في استرداد المفضلة", + "err_translation": "الترجمة غير متوفرة", + "err_translation_offline": "الترجمة غير متاحة بلا إنترنت", + "error_on_load_more": "خطأ عند محاولة تحميل المزيد من العناصر", + "fast": "بسرعة", + "favorites": "المفضلة", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_msg_ask_for_feedback": "هل هناك أي شيء يمكننا القيام به للمساعدة ؟ ", + "feedback_title_request_feedback": "أنت تتمتع وقتك مع التطبيق ؟ ", + "feedback_title_request_review_feedback": "سعداء أن نسمع! هل ترغب في ترك التعليق أو التقييم ؟ ", + "filter_max": "ماكس", + "filter_min": "مين", + "filter_text": "كتابة النص هنا", + "font_extra_large": "كبير جداً", + "font_extra_small": "صغير جداً", + "font_large": "كبير", + "font_normal": "عادي", + "font_scale": "حجم الخط", + "font_small": "صغير", + "from_most_recent": "من أحدث", + "from_oldest": "من أقدم", + "gmc_default_text": "العدد الجديد هو متاح. اضغط هنا لقراءة!", + "gmc_message_text": "صحيفة {{issue}} متاحة الآن. اضغط هنا لقراءة!", + "grid": "شبكة", + "grid_list": "عرض الشبكة / القائمة", + "home": "الصفحة الرئيسية", + "label_exit_accessibility_mode": "الخروج من وضع الوصول", + "label_open_browser": "افتح في المتصفح", + "last_search": "البحث الأخي", + "layout": "شكل الأخبار", + "learn_more": "معرفة المزيد", + "list": "قائمة", + "loading": "جارٍ التحميل ...", + "local_events": "أحداث محلية", + "max_salary": "ماكس. الراتب", + "min_salary": "دقيقة. الراتب", + "msg_available_next_startup": "سيتم تفعيل هذه الميزة بعد إعادة تشغيل التطبيق", + "msg_clear_cache": "مسح ذاكرة التخزين المؤقت", + "msg_clear_favorites": "حذف المفضلة", + "msg_copy_to_clipboard": "نسخ إلى الحافظة", + "msg_database_deleted": "سيتم حذف قاعدة البيانات", + "msg_delete_db": "حذف بيانات قاعدة البيانات؟", + "msg_delete_localstorage": "محو الإعدادات الشخصية؟", + "msg_delete_title": "هل تريد ان", + "msg_download_edition": "جارٍ تنزيل الإصدار...", + "msg_download_retry": "...{{maxRetries}} من {{retry}} محاولة", + "msg_empty_category": "حاليًا ، لا توجد مقالات مخصصة لـ {{category}}! اضغط لتحديث", + "msg_empty_favorites": "حاليا لا توجد المفضلة!", + "msg_empty_gallery": "النقر معرض فارغة", + "msg_empty_list": "حاليا لا توجد عناصر! اضغط لتغيير بعض الفلاتر", + "msg_empty_searches": "حاليا لا توجد عمليات البحث المحفوظة", + "msg_error_category": "شيء ذهب على نحو خاطئ ، في محاولة فتح فئة أو حذف قاعدة البيانات من إعدادات! اضغط على تحديث", + "msg_error_list": "شيء ذهب على نحو خاطئ ، في محاولة لتغيير بعض الفلاتر", + "msg_error_newspaper": "جريدة فارغة", + "msg_event_over": "سيدي هذا ليس البروتوكول", + "msg_exit_application": "الخروج من التطبيق؟", + "msg_failed": "فشل", + "msg_font_scaling": "هل ترغب في تطبيق حجم نص جهازك على هذا التطبيق؟", + "msg_font_scaling_title": "يبدو أن لديك حجم نص مخصص مضبوطًا على جهازك", + "msg_list_no_articles_available_for_category": "ليس هناك خطأ. حالياً لا يوجد مقالات في هذا القسم", + "msg_list_no_content": "لا يوجد محتوى", + "msg_loading_comments": "المزيد من التعليقات", + "msg_loading_more": "تحميل المزيد...", + "msg_new_issue_available": "إصدار جديد متوفر الآن ، هل ترغب في تحميله الآن؟", + "msg_not_on_latest_issue": "أنت لا تشاهد أحدث إصدار متاح ، هل ترغب في تحميله الآن؟", + "msg_offline_article_graph": "لاستخدام هذه الميزة في وضع عدم الاتصال ، يجب أن تكون قد قمت بتنزيل الإصدار الكامل أو قد تكون بعض الصور مفقودة.", + "msg_offline_issues": "حدد إصدارًا تم تنزيله لقراءة.", + "msg_opening_article": "افتتاح: {{title}}", + "msg_opening_push": "فتح إشعار الدفع", + "msg_pending_purchases": "استكمال عمليات الشراء المعلقة: {{completed}} من {{total}}", + "msg_reload_publication": "تم حذف قاعدة البيانات ، هل تريد تنزيل أحدث إصدار تلقائيًا؟", + "msg_restore_default_settings": "هل تريد استعادة إعدادات التطبيق الافتراضية؟", + "msg_rss_new_articles_available": "أخر الأخبار {{count}}", + "msg_rss_no_new_articles_available": "الأخبار مُحَدَّثَة", + "msg_rss_one_new_article_available": "مادة جديدة متاحة 1", + "msg_rss_reload_database": "تحميل أخبار جديدة", + "msg_rss_update_error": "خطأ أثناء التحديث ، لا يمكن تحديث", + "msg_search_empty": "لم يتم البحث عن شيء", + "msg_search_lite": "عرض النتائج على الصفحة", + "msg_search_not_found": "لم يتم العثور على مقالة مع {{text}}", + "msg_sent": "صندوق المرسل", + "msg_share_unmanaged": "الخيار حصة غير المدارة", + "msg_tts_error": "حدث خطأ ، أعد المحاولة لاحقًا!", + "msg_tts_no_volume": "زيادة حجم النص إلى", + "msg_tts_unsupported": "لغة غير مدعومة ، حاول استخدام الصوت الافتراضي أو تحقق من وجود حزمة لغة مخصصة!", + "my_home_categories_selected": "تم تحديد {{categories}} الفئات لما مجموعه {{articles}} من المقالات", + "my_location": "استخدام موقعي", + "network": "الشبكة", + "none": "لا شيء", + "normal": "عادي", + "permission_storage_message": "{{appName}} يحتاج إلى إذن التخزين", + "permission_title": "{{appName}} إذن", + "pj_from_page": "من صفحة", + "pj_to_page": "إلى الصفحة", + "pj_continue_to_page": "تتمة في ص", + "pj_continue_to_page_parent": "الصفحة", + "powered_by": "مشغل بواسطة TECNAVIA", + "powered_by_who": "مدعوم من {{who}}", + "push_notification": "الإشعارات", + "reader_app_text": "ستتم إدارة أي حسابات أو عمليات شراء تتم خارج هذا التطبيق بواسطة المطوّر “{{developerName}}” لن يتوفر حساب App Store الخاص بك وطريقة الدفع المحفوظة وأي من الميزات، كإدارة الاشتراك وطلبات استرداد المبلغ. Apple ليست مسؤولة عن خصوصية أو أمان المعاملات التي تتم مع هذا المطوّر.", + "reader_app_title": "أنت على وشك مغادرة التطبيق والانتقال إلى موقع ويب خارجي. تنتهي المعاملة المالية مع Apple عند هذه النقطة.", + "retry": "إعادة المحاولة", + "salary": "الراتب: {{salary}}", + "save_search": "حفظ البحث", + "saved_searches": "عمليات البحث المحفوظة", + "search_term": "مصطلح البحث", + "select_after_date": "تحديد بعد تاريخ", + "select_my_home_categories": "اختر فئاتك المفضلة من القائمة أدناه لتخصيص {{category}} الخاص بك", + "selected_categories": "الفئة المختارة", + "selected_time_range": "نطاق التاريخ المحدد", + "settings": "إعدادات", + "settings_allow_font_scaling": "السماح بتحجيم الخط", + "settings_startup_epaper": "الطبعة الرقمية", + "settings_startup_rss": "أخر أخبار", + "settings_startup_choose": "اختر في كل مرة", + "show": "إظهار", + "sort_by_date": "ترتيب حسب", + "sort_by_name": "قم بالفرز حسب أ-ي", + "sort_by_name_reverse": "قم بالفرز حسب ي-أ", + "sort_by_popularity": "فرز حسب الشعبية", + "sort_date_disabled": "فرز على تاريخ تعطيل", + "start_with": "يبدأ بـ", + "str_custom": "تخصيص", + "str_default_language": "العودة إلى اللغة الأصلي", + "str_description": "وصف", + "str_from": "من عند", + "str_id": "هوية شخصية: {{id}}", + "str_limit_label": "{{days}} :عدد الإصدارات المراد تخزينه", + "str_location": "موقعك:", + "str_next_events": "الأحداث القادمة:", + "str_next_week": "الأسبوع التالي", + "str_page": "الصفحة", + "str_search": "البحث", + "str_search_results": "{{text}} - {{count}} النتائج", + "str_special_sections": "أقسام خاصة", + "str_this_week": "هذا الأسبو", + "str_this_weekend": "في نهاية هذا الاسبوع", + "str_time_range": "نطاق زمنى", + "str_title": "الصفة", + "str_to": "إلى", + "str_today": "اليوم", + "str_tomorrow": "غدًا", + "str_translating_article": "ترجمة المقال...", + "system_error": "حدث خطأ", + "theme": "موضوع", + "title_bottom_sheet": "الإجراءات", + "title_offline": "لا يوجد اتصال بالإنترنت", + "toggle": "تغيير", + "toggle_layout": "تبديل التنسيق", + "toggle_list": "تبديل قائمة", + "toggle_map": "تبديل خريطة", + "total_events": "الأحداث: {{total}}", + "total_favorites": "لمفضلات: {{total}}", + "total_jobs": "الوظائف: {{total}}", + "total_searches": "عمليات البحث: {{total}}", + "tutorial": "كيف تستخدم التطبيق؟", + "unknown_salary": "غير معروف الراتب", + "unsave_search": "إزالة البحث المحفوظة", + "version": "الإصدار", + "vertical_job_location_hint": "حدد موقع", + "vertical_job_text_hint": "أدخل الكلمات الرئيسية في البحث", + "user_tip_download": "لتنزيل جميع الإصدارات تلقائيًا للقراءة في وضع عدم الاتصال ، حدد \"المزيد\"> \"الإعدادات\"> \"دون اتصال\" كإعداد الشبكة المفضل لديك", + "user_tip_download_title": "نصيحة المستخدم", + "offline_download_warning": "لم يتم تنزيل هذا الإصدار بالكامل.\nقد تظهر بعض أجزاء الصفحات غير واضحة.", + "offline_download_dialog": "هل تريد تنزيل الإصدار بالكامل للقراءة في وضع عدم الاتصال؟", + "mobile_network_warning": "أنت متصل بشبكة جوال بدلاً من شبكة WiFi", + "msg_operation_completed": "اكتملت العملية", + "msg_ok_delete_db": "تم حذف جميع الإصدارات المحفوظة", + "msg_download_rss": "جارٍ تنزيل مقالات جديدة...", + "settings_translate": "ترجمة المقالات إلى", + "settings_themes": "سمة", + "settings_font_size": "حجم الخط", + "settings_graph_size": "مستوى التكبير", + "settings_number_stored_editions": "الحد الأقصى لعدد الإصدارات المخزنة", + "settings_restart_from_latest": "إعادة التشغيل من آخر إصدار متوفر (دقيقة)", + "settings_article_mode": "وضع المادة", + "settings_article_mode_all": "عرض الكل", + "settings_article_mode_text_and_graphics": "إظهار المقالات والرسومات", + "settings_article_mode_only_text": "إظهار المقالات فقط", + "settings_restore_defaults": "استعادة الإعدادات الافتراضية", + "settings_clear_storage": "مسح البيانات", + "settings_back_to_classic": "العودة إلى الإصدار الكلاسيكي", + "settings_two_fingers_tap_to_article": "استخدم الصنبور بإصبعين لفتح قراءة النص", + "settings_single_tap_to_zoom": "استخدم نقرة واحدة للتكبير", + "settings_favorite_edition": "اختر نسختك المفضلة", + "settings_favorite_edition_default_label": "آخر إصدار متاح", + "reset": "إعادة تعيين", + "open": "افتح", + "settings_enable_column_view": "(تفعيل خيار عرض المقال في أعمدة متعددة)", + "settings_navigation_arrows": "أسهم التنقل", + "settings_navigation_arrows_always": "يقدم دائما", + "settings_navigation_arrows_disapper": "تختفي عند القراءة", + "settings_navigation_arrows_never": "لا يوجد ابدا", + "general": "إعدادات التطبيقات", + "settings_translate_original": "اللغة الأصلية", + "advance": "الإعدادات المتقدمة | {{label}}", + "send": "يرسل", + "btn_feedback": "استجابة", + "return": "إرجاع", + "settings_article_highlight": "احتفظ بالمقالة الحالية مميزة عندما يكون وضع المقالة مفتوحًا", + "write": "اكتب", + "btn_continue": "متابعة", + "btn_go_back": "عد", + "btn_go_next": "يذهبون المقبل", + "btn_go_up": "المستوى السابق", + "action_go_to_settings": "اذهب للاعدادات", + "btn_reload": "إعادة تحميل", + "btn_tts": "تبديل النص إلى كلام", + "btn_close_accessibility": "إغلاق وضع الوصول", + "err_module_unavailable": "{{module}} غير متوفرة في هذا التطبيق", + "force_crash": "تحطم القوة", + "hint_my_home_screen_config": "لتخصيص {{label}}", + "hint_two_fingers_tap": "لقراءة مقال ، اضغط على منطقة المقالة بإصبعين", + "hint_restart": "سيتم إعادة تشغيل التطبيق لتحميل التكوينات الجديدة", + "hint_update_ui": "سيتم تحديث واجهة المستخدم لتحميل الإعدادات الجديدة ، قد تلاحظ وميض", + "msg_access_reserved": "الوصول محفوظة للمشتركين", + "msg_already_subscriber": "هل انت مشترك بالفعل؟ تسجيل الدخول", + "msg_continue_to_read": "اشترك في {{paper}}", + "settings_zoom_level": "مستوى التكبير", + "settings_zoom_level_large": "كبير", + "settings_zoom_level_larger": "أكبر", + "settings_zoom_level_normal": "طبيعي", + "restart": "اعادة البدء", + "str_no_categories": "لا توجد فئات", + "msg_login_overlay_title": "لمواصلة القراءة", + "voice_back": "الى الخلف", + "msg_max_share": "لقد وصلت إلى حد المشاركة اليومية لهذا الإصدار", + "accessibility": "إمكانية الوصول", + "msg_simulate_accessibility_title": "تفعيل وضع الوصول", + "msg_screenshots_disabled": "لقطات الشاشة غير مسموح بها في هذا التطبيق", + "settings_tab_index_mode": "تمكين تخطيط علامة التبويب في وضع الفهرس", + "settings_enable_push_notifications": "تمكين دفع الإشعارات", + "settings_manage_privacy_preferences": "إدارة تفضيلات الخصوصية", + "theme_light": "ضوء", + "theme_dark": "مظلم", + "str_sort_by": "ترتيب حسب", + "str_relevance": "ملاءمة", + "btn_from": "من", + "btn_to": "ل", + "str_date": "تاريخ", + "srt_order": "طلب", + "str_byline": "الخط الثانوي", + "str_descending": "تنازلي", + "str_ascending": "تصاعدي", + "str_categories": "فئات", + "str_select": "...يختار", + "str_advertisement": "إعلان", + "iap_multiple_subscriptions": "اشتراكات متعددة", + "iap_go_to_subscriptions": "انتقل إلى الاشتراك", + "iap_multiple_subscriptions_message": "لقد وجدنا أن لديك عدة اشتراكات نشطة، يرجى تعطيل الاشتراكات التي لا تحتاج إليها. عندما يتم تعطيل الاشتراك، سيتم استرداده {{subscriptions}}", + "iap_multiple_active_subscriptions_message": "لديك اشتراك نشط بالفعل، هل ترغب في شراء اشتراك جديد على أية حال؟ {{subscriptions}}", + "settings_title_box": "إظهار مربعات عنوان المقالة", + "enable_debug_overlay": "تمكين مصحح الأخطاء", + "disable_debug_overlay": "تعطيل مصحح الأخطاء", + "edit_token": "تحرير الرمز المميز", + "title_edit_token_confirm": "هل تريد تحديث الرمز المميز؟", + "msg_edit_token_confirm": "القيمة الجديدة: \"{{token}}\"", + "uploading": "جارٍ التحميل...", + "btn_not_sure_yet": "لست متأكدا بعد" +}; +},1950,[]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "action_go_to_category": "Gå til {{anchor}}", + "action_open_epaper": "Åben epaper", + "action_open_gallery": "Åbn galleri", + "action_open_link": "Åbn link", + "action_remove_from_favorites": "Fjern fra favoritter", + "action_save_for_later": "Gem til senere", + "action_share": "Dele", + "action_unknown": "Ukendt", + "alert_message": "Er du sikker?", + "all": "Alle", + "all_events": "Alle Arrangementer", + "all_jobs": "Alle job", + "animation": "Hastighed", + "animation_action": "Klik på knappen for at ændre animationen", + "animation_change": "Animationsændring", + "animation_changed": "Animation ændret", + "article_count": "{{count}} artikler", + "btn_accessibility": "Tilgængelighedstilstand", + "btn_account": "Log ind", + "btn_advance_filters": "Forhånd filtre", + "btn_archive": "Arkiv", + "btn_ask_later": "Spørg Mig Senere", + "btn_back": "tilbage", + "btn_cancel": "Annuller", + "btn_close": "Tæt", + "btn_confirm": "Bekræft", + "btn_contact": "Kontakt", + "btn_disable_log_file": "Send LOG", + "btn_do_not_show": "Vis ikke Igen", + "btn_download": "Offline", + "btn_editions": "Udgaver", + "btn_enable_log_file": "Aktiver LOG", + "btn_feed": "Live nyheder", + "btn_fit_page": "Tilpas", + "btn_g_book": "Gennemse", + "btn_go_to_news": "Gå til nyheder", + "btn_help": "Hjælp", + "btn_index": "Indeks", + "btn_link": "Link", + "btn_login": "Log ind", + "btn_logout": "Log ud", + "btn_more": "Mere", + "btn_no": "Ingen", + "btn_ok": "Okay", + "btn_publications": "Publikationer", + "btn_read": "Læse", + "btn_reset": "Nulstil", + "btn_search": "Søg", + "btn_set_as_default": "Sæt som standard", + "btn_settings": "Indstillinger", + "btn_skip": "Spring over", + "btn_special_section": "Særlig", + "btn_store": "Butik", + "btn_swipe": "Gennemse", + "btn_thumbnail": "Sider", + "btn_yes": "Ja", + "cache_size": "Cache størrelse", + "card": "Kort", + "categories": "Kategorier", + "change": "ÆNDRE", + "change_location_hint": "Skift lokation", + "change_radius": "Vælg Radius", + "clear": "RYD", + "clear_cache": "Ryd cache", + "clear_favorites": "Ryd favoritter", + "confirm": "Bekræft", + "connection_0": "Mobil mode", + "connection_0_description": "Ideel når begrenset båndbredde er tilgængelig. Tekstversion af udgaven er downloadet, billeder vises i meget lav opløsning.", + "connection_1": "Online mode", + "connection_1_description": "Ideel, når du er tilsluttet internettet.Kun sider, der vises, downloades og er tilgængelige for offline læsning.", + "connection_2": "Offline mode", + "connection_2_description": "Downloader automatisk hele udgaven ved start til offline læsning.", + "counter": "{{current}} af {{total}}", + "custom_location": "Brugerdefineret placering", + "database": "Database", + "database_deleted": "Database slettet", + "default_search": "Default søgesti", + "dialog_location_message": "Vi bruger din placering til at vise, hvor du er på kortet", + "dialog_location_title": "Vi har brug for at få adgang til din placering", + "disabled": "handicappet", + "enabled": "Aktiveret", + "err_change_animation": "Fejl ved ændring af animation", + "err_clear_cache": "Fejl ved at rydde cachen", + "err_clear_database": "Fejl ved sletning af database", + "err_clear_favorites": "Fejl ved rydning af favoritter", + "err_download_edition": "Der opstod en fejl under download af udgaven", + "err_download_edition_db": "Der opstod en fejl under download af udgave database", + "err_download_psetup": "Fejl under download af basekonfigurationer", + "err_internet_connection": "Kunne ikke oprette forbindelse til applikationsserveren. Sørg for at du har internetforbindelse og prøv igen.", + "err_max_min": "Ugyldig filter, min skal være mindre end max", + "err_offline": "Eksternt indhold er ikke tilgængeligt offline", + "err_retrieve_cache": "Fejl ved hentning af cache", + "err_retrieve_favorites": "Fejl ved at hente favoritter", + "err_translation": "Oversættelse ikke tilgængelig", + "err_translation_offline": "Oversættelse ikke tilgængelig offline", + "error_on_load_more": "Fejlmeddelelse, når du forsøger at ilægge flere produkter", + "fast": "Hurtig", + "favorites": "Foretrukne", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_msg_ask_for_feedback": "Er der noget vi kan gøre for at hjælpe?", + "feedback_title_request_feedback": "Er du nyde godt af din tid med den App?", + "feedback_title_request_review_feedback": "Glad for at høre! Vil du gerne give en anmeldelse eller bedømmelse?", + "filter_max": "Antal", + "filter_min": "Min", + "filter_text": "Skriv tekst her", + "font_extra_large": "Ekstra stor", + "font_extra_small": "Ekstra lille", + "font_large": "Stor", + "font_normal": "Normal", + "font_scale": "Skriftstørrelse", + "font_small": "Lille", + "from_most_recent": "Fra den seneste", + "from_oldest": "Fra de ældste", + "gmc_default_text": "Et nyt problem er tilgængeligt. Tryk her for at læse!", + "gmc_message_text": "Det {{issue}} avis er nu tilgængelig. Tryk her for at læse!", + "grid": "Grid", + "grid_list": "grid/liste", + "home": "Hjem", + "label_exit_accessibility_mode": "Afslut Tilgængelighedstilstand", + "label_open_browser": "Åbn i browser", + "last_search": "Sidste søgning", + "layout": "Layout", + "learn_more": "Læs mere", + "list": "Liste", + "loading": "Indlæser...", + "local_events": "Lokale Events", + "max_salary": "Max. løn", + "min_salary": "Min. løn", + "msg_available_next_startup": "Denne konfiguration vil være tilgængelig næste opstart", + "msg_clear_cache": "Ryd cache", + "msg_clear_favorites": "Slet favoritter", + "msg_copy_to_clipboard": "Kopier til udklipsholder", + "msg_database_deleted": "Slet database", + "msg_delete_db": "Slet database data?", + "msg_delete_localstorage": "Ryd personlige indstillinger?", + "msg_delete_title": "vil du", + "msg_download_edition": "Henter udgave...", + "msg_download_retry": "Forsøg {{retry}} af {{maxRetries}}...", + "msg_empty_category": "I øjeblikket er der ingen artikler tildelt {{category}}! Tryk for at opdatere", + "msg_empty_favorites": "Der er i øjeblikket ingen favoritter!", + "msg_empty_gallery": "Klikket galleri er tomt", + "msg_empty_list": "Der er i øjeblikket ingen elementer! Tryk på for at ændre nogle filtre", + "msg_empty_searches": "Indtast søgeord I feltet øverst og tryk på Søg", + "msg_error_category": "Noget gik galt, prøv at genåbne kategorien eller slet database fra indstillinger! Tryk for at opdatere", + "msg_error_list": "Noget gik galt, så prøv at ændre nogle filtre", + "msg_error_newspaper": "Avisen er tom", + "msg_event_over": "Begivenheden er forbi.", + "msg_exit_application": "Afslutte ansøgningen?", + "msg_failed": "Mislykkedes", + "msg_list_no_articles_available_for_category": "Dette er ikke en fejl. I øjeblikket er der ingen artikler tildelt til denne kategori!", + "msg_list_no_content": "Intet nuværende indhold", + "msg_loading_comments": "Indlæser kommentarer...", + "msg_loading_more": "Ilægning af mere...", + "msg_new_issue_available_title_edition": "Du læser i øjeblikket {{edition}}", + "msg_new_issue_available_title_edition_date": "Du læser i øjeblikket den {{date}} udgave af {{edition}}", + "msg_new_issue_available": "En ny udgave er nu tilgængelig, vil du gerne indlæse den nu?", + "msg_new_issue_available_edition": "En ny udgave af {{edition}} er nu tilgængelig, vil du indlæse den?", + "msg_new_issue_available_date": "{{date}}-udgaven er nu tilgængelig, vil du indlæse den?", + "msg_new_issue_available_edition_date": "{{date}}-udgaven af {{edition}} er nu tilgængelig, vil du indlæse den?", + "msg_not_on_latest_issue": "Du ser ikke den seneste tilgængelige udgave, vil du gerne indlæse den nu?", + "msg_not_on_latest_issue_edition": "Du ser ikke den senest tilgængelige udgave af {{edition}}, vil du indlæse den nu?", + "msg_not_on_latest_issue_date": "Du ser ikke den seneste tilgængelige udgave, vil du indlæse den {{date}} udgave?", + "msg_not_on_latest_issue_edition_date": "Du ser ikke den seneste tilgængelige udgave, vil du indlæse den {{date}} udgave af {{edition}}?", + "msg_offline_article_graph": "For at bruge denne funktion i offline skal du have downloadet den fulde udgave, eller nogle billeder eller stykker af tekst mangler muligvis.", + "msg_offline_issues": "Vælg en downloadet udgave, der skal læses.", + "msg_opening_push": "Åbner push-meddelelser...", + "msg_pending_purchases": "Afslutter afventende køb: {{completed}} af {{total}}", + "msg_reload_publication": "automatisk downloade den nyeste udgave?", + "msg_restore_default_settings": "Vil du gendanne standardappsindstillingerne?", + "msg_rss_new_articles_available": "{{count}} nye artikler er tilgængelige", + "msg_rss_no_new_articles_available": "Du er opdateret", + "msg_rss_one_new_article_available": "1 ny artikel er tilgængelig", + "msg_rss_reload_database": "Ny database downloadet", + "msg_rss_update_error": "Fejl under opdatering, kan ikke opdateres", + "msg_search_empty": "Intet blev søgt", + "msg_search_lite": "Se resultater på side", + "msg_search_not_found": "Der blev ikke fundet nogen artikel med {{text}}", + "msg_sent": "Sendt", + "msg_share_unmanaged": "Andel ikke-administreret løsning", + "msg_tts_error": "Er treedt een fout op, probeer het later opnieuw!", + "msg_tts_no_volume": "Forøg volumen til lyttetekst", + "msg_tts_unsupported": "Niet-ondersteunde taal, probeer de standaardstem te gebruiken of controleer of er een aangepast taalpakket bestaat!", + "my_home_categories_selected": "{{categories}} kategorier valgt for i alt {{articles}} artikler", + "my_location": "Brug min placering", + "network": "Netværk", + "none": "Ingen", + "normal": "Normal", + "offline_download_warning": "Denne udgave er ikke fuldstændig downloadet. Nogle dele af siderne kan blive sløret.", + "paywall_offline_warning": "Denne artikel er i øjeblikket ikke tilgængelig offline", + "permission_storage_message": "{{appName}} behov for opbevaring tilladelse", + "permission_title": "{{appName}} tilladelse", + "pj_from_page": "fra side", + "pj_to_page": "til side", + "pj_continue_to_page": "Fortsæt til side", + "pj_continue_to_page_parent": "Side", + "powered_by": "Drives af TECNAVIA", + "powered_by_who": "Drives af {{who}}", + "push_notification": "Push notifikation", + "reader_app_text": "Konti og køb, der er oprettet eller foretaget udenfor denne app, administreres af udvikleren “{{developerName}}”. Din App Store-konto, gemte betalingsmetoder og relaterede funktioner, herunder administration af abonnementer og refunderingsanmodninger, er ikke tilgængelige. Apple er ikke ansvarlig for anonymiteten eller sikkerheden af transaktioner foretaget med denne udvikler.", + "reader_app_title": "Du er ved at forlade appen og vil blive sendt til et eksternt websted. Du vil ikke længere udveksle transaktioner med Apple.", + "retry": "Prøve igen", + "salary": "Løn: {{salary}}", + "save_search": "Gem søgning", + "saved_searches": "Gemte søgninger", + "search_term": "Søgeudtryk", + "select_after_date": "Vælg efter dato", + "select_my_home_categories": "Vælg dine foretrukne kategorier fra nedenstående liste for at tilpasse din {{category}}", + "selected_categories": "Skjule valgte kategorier", + "selected_time_range": "Valgt datointerval", + "settings": "Indstillinger", + "settings_allow_font_scaling": "Tillad skriftskalering", + "settings_startup_epaper": "E-Edition", + "settings_startup_rss": "Live News", + "settings_startup_choose": "Vælg hver gang", + "show": "VIS", + "sort_by_date": "Sorter efter dato", + "sort_by_name": "Sorter efter A-Z", + "sort_by_name_reverse": "Sorter efter Z-A", + "sort_by_popularity": "Sorter efter popularitet", + "sort_date_disabled": "Sortere på dato deaktivere", + "start_with": "Start med", + "str_custom": "Brugerdefineret", + "str_default_language": "standardsprog", + "str_from": "Fra", + "str_limit_label": "Antal udgaver, der skal gemmes: {{days}}", + "str_next_week": "Næste uge", + "str_page": "Side", + "str_search": "Søg", + "str_search_results": "{{text}} - {{count}} resultater", + "str_special_sections": "Særlige sektioner", + "str_this_week": "Denne uge", + "str_this_weekend": "Weekend", + "str_time_range": "Datointerval", + "str_title": "Titel", + "str_to": "Til", + "str_today": "I dag", + "str_tomorrow": "I morgen", + "str_translating_article": "Oversætter artikel...", + "system_error": "En fejl opstod", + "title_bottom_sheet": "Handlinger", + "title_offline": "Ingen internetforbindelse", + "toggle": "SKIFT", + "toggle_layout": "Skift layout", + "toggle_list": "Skift liste", + "toggle_map": "Skifte kort", + "total_events": "Begivenheder: {{total}}", + "total_favorites": "Favoritter: {{total}}", + "total_jobs": "Job: {{total}}", + "total_searches": "Søgninger: {{total}}", + "tutorial": "Vejledning", + "unknown_salary": "Ukendt Løn", + "unsave_search": "Fjerne gemte søgning", + "version": "Version", + "vertical_job_location_hint": "Vælg en placering", + "vertical_job_text_hint": "Indtast et søgeord for at søge", + "user_tip_download_title": "Brugertip", + "user_tip_download": "For automatisk at downloade alle udgaver til offline-læsning, vælg 'Mere' > 'Indstillinger' > 'Offline mode' som dit foretrukne netværk", + "offline_download_dialog": "Vil du downloade hele udgaven til offline læsning?", + "mobile_network_warning": "Din tilsluttet et mobilnetværk i stedet for WiFi", + "msg_ok_delete_db": "Alle gemte udgaver er blevet slettet", + "msg_operation_completed": "Drift afsluttet", + "msg_download_rss": "Downloader nye artikler...", + "settings_translate": "Oversæt artikler til", + "settings_themes": "Tema", + "settings_font_size": "Skriftstørrelse", + "settings_graph_size": "Zoomniveau", + "settings_number_stored_editions": "Maksimum antal gemte udgaver", + "settings_restart_from_latest": "Genstart fra den sidste tilgængelige udgave (min)", + "settings_article_mode": "Artikel-tilstand", + "settings_article_mode_all": "Vis alt", + "settings_article_mode_text_and_graphics": "Vis artikler og grafik", + "settings_article_mode_only_text": "Vis kun artikler", + "settings_restore_defaults": "Gendan standardindstillinger", + "settings_clear_storage": "Ryd data", + "settings_back_to_classic": "Vend tilbage til Classic eEdition", + "settings_two_fingers_tap_to_article": "Brug hanen med to fingre til at åbne tekstaflæsningen", + "settings_single_tap_to_zoom": "Brug enkelt tryk for at zoome", + "settings_favorite_edition": "Vælg din yndlingsudgave", + "settings_favorite_edition_default_label": "Sidste udgave tilgængelig", + "reset": "NULSTIL", + "open": "ÅBEN", + "settings_enable_column_view": "Aktivér flere kolonners visning af artikler.\"", + "settings_navigation_arrows": "Navigationspile", + "settings_navigation_arrows_always": "altid til stede", + "settings_navigation_arrows_disapper": "forsvinder ved læsning", + "settings_navigation_arrows_never": "aldrig til stede", + "general": "App-indstillinger", + "settings_translate_original": "Originalsprog", + "advance": "{{label}} | Avancerede indstillinger", + "send": "SENDE", + "btn_feedback": "Feedback", + "return": "VEND TILBAGE", + "settings_article_highlight": "Hold den aktuelle artikel fremhævet, når artikeltilstanden er åben", + "write": "SKRIVE", + "btn_continue": "Fortsæt", + "btn_go_back": "Gå tilbage", + "btn_go_next": "Gå næste gang", + "btn_go_up": "Tidligere niveau", + "action_go_to_settings": "اذهب للاعدادات", + "btn_reload": "Genindlæs", + "btn_tts": "Skift tekst til tale", + "btn_close_accessibility": "Luk tilgængelighedstilstand", + "err_module_unavailable": "{{module}} er ikke tilgængelig i denne app", + "force_crash": "Tving nedbrud", + "hint_my_home_screen_config": "For at tilpasse {{label}}", + "hint_two_fingers_tap": "For at læse en artikel skal du trykke på artikelområdet med to fingre", + "hint_restart": "Applikationen genstartes for at indlæse nye konfigurationer...", + "hint_update_ui": "Brugergrænsefladen opdateres for at indlæse nye indstillinger, du vil muligvis bemærke et flimmer...", + "msg_access_reserved": "Adgang forbeholdt abonnenter", + "msg_already_subscriber": "Er du allerede abonnent? Log på", + "msg_continue_to_read": "Abonner på {{paper}}", + "theme": "Tema", + "settings_zoom_level": "Zoom niveau", + "settings_zoom_level_large": "Stor", + "settings_zoom_level_larger": "Større", + "settings_zoom_level_normal": "Normal", + "restart": "Genstart", + "str_no_categories": "ingen kategorier", + "msg_login_overlay_title": "For at fortsætte med at læse", + "voice_back": "tilbage", + "voice_what": "hvad", + "voice_next": "næste", + "voice_next_page": "næste side", + "voice_previous": "forrige", + "voice_previous_page": "forrige side", + "voice_stop": "stop", + "voice_read": "læs", + "voice_close": "luk", + "voice_up": "op", + "voice_down": "ned", + "voice_select": "vælg", + "msg_max_share": "Du har nået den daglige delingsgrænse for denne udgave", + "accessibility": "Tilgængelighed", + "msg_simulate_accessibility_title": "Aktiver tilgængelighedstilstand", + "msg_screenshots_disabled": "Skærmbilleder er ikke tilladt i denne app", + "settings_tab_index_mode": "Aktiver fanelayout i indekstilstand", + "settings_enable_push_notifications": "Aktiver push-meddelelser", + "settings_manage_privacy_preferences": "Administrer privatlivspræferencer", + "theme_auto": "Automatisk lys/mørke", + "theme_light": "Lys", + "theme_dark": "Mørk", + "str_sort_by": "Sorter efter", + "str_relevance": "Relevans", + "btn_from": "Fra", + "btn_to": "Til", + "str_date": "Dato", + "srt_order": "Bestille", + "str_byline": "Byline", + "str_descending": "Aftagende", + "str_ascending": "Stigende", + "str_categories": "Kategorier", + "str_select": "Vælg...", + "str_advertisement": "Reklame", + "iap_go_to_subscriptions": "Gå til abonnement", + "iap_multiple_subscriptions": "Flere abonnementer", + "iap_multiple_subscriptions_message": "Vi fandt ud af, at du har flere aktive abonnementer. Deaktiver venligst dem, du ikke har brug for. Når et abonnement er blevet deaktiveret, vil det blive refunderet.{{subscriptions}}", + "iap_multiple_active_subscriptions_message": "Du har allerede et aktivt abonnement, vil du alligevel gerne købe et nyt? {{subscriptions}}", + "settings_title_box": "Vis artikeltitelbokse", + "enable_debug_overlay": "Aktiver debugger", + "disable_debug_overlay": "Deaktiver debugger", + "edit_token": "Rediger token", + "title_edit_token_confirm": "Vil du opdatere tokenet?", + "msg_edit_token_confirm": "Ny værdi: \"{{token}}\"", + "uploading": "Uploader...", + "btn_not_sure_yet": "Ikke sikker endnu" +}; +},1951,[]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "action_go_to_category": "Weiter zu {{anchor}}", + "action_open_epaper": "e-Paper öffnen", + "action_open_gallery": "Galerie öffnen", + "action_open_link": "Link öffnen", + "action_remove_from_favorites": "Aus den Favoriten entfernen", + "action_save_for_later": "Für später speichern", + "action_share": "Teilen", + "action_unknown": "Unbekannt", + "alert_message": "Sind Sie sicher?", + "all": "Alle", + "all_events": "Alle Events", + "all_jobs": "Alle Stellenangebote", + "animation": "Animation", + "animation_action": "Klicken Sie auf die Schaltfläche um die Animation zu ändern", + "animation_change": "Animation ändern", + "animation_changed": "Animation geändert", + "article_count": "{{count}} Artikel", + "btn_accessibility": "Accessibility-Modus", + "btn_account": "Login", + "btn_archive": "Archiv", + "btn_advance_filters": "Erweiterte Filter", + "btn_ask_later": "Fragen Sie mich später", + "btn_back": "Back", + "btn_cancel": "Abbrechen", + "btn_close": "Schließen", + "btn_confirm": "Bestätigen", + "btn_disable_log_file": "LOG senden", + "btn_do_not_show": "Nicht mehr zeigen", + "btn_link": "Link", + "btn_login": "Login", + "btn_logout": "Ausloggen", + "btn_more": "Mehr", + "btn_special_section": "Beilagen", + "btn_store": "Speichern", + "btn_thumbnail": "Seiten", + "btn_fit_page": "Zoom", + "btn_index": "Lesen", + "btn_download": "Offline", + "btn_editions": "Kiosk", + "btn_feed": "Live-Nachrichten", + "btn_g_book": "Blättern", + "btn_contact": "Kontakt", + "btn_help": "Hilfe", + "btn_settings": "Optionen", + "btn_enable_log_file": "LOG aktivieren", + "btn_go_to_news": "Zu den Nachrichten", + "btn_no": "Nein", + "btn_ok": "OKAY", + "btn_publications": "Publikationen", + "btn_read": "Durchsuche", + "btn_reset": "Zurücksetzen", + "btn_search": "Suchen", + "btn_set_as_default": "Als Standard festlegen", + "btn_skip": "Überspringen", + "btn_swipe": "Blättern", + "btn_yes": "Ja", + "cache_size": "Cache-Größe", + "card": "Karte", + "categories": "Kategorien", + "change": "ÄNDERN", + "change_location_hint": "Standort ändern", + "change_radius": "Umkreis auswählen", + "clear": "LÖSCHEN", + "clear_cache": "Cache löschen", + "clear_favorites": "Favoriten löschen", + "confirm": "Bestätigen", + "connection_0": "Roaming Modus", + "connection_0_description": "Es können nur Texte angezeigt werden. Das Datenvolumen ist auf ein Minimum beschränkt.", + "connection_1": "Online Modus", + "connection_1_description": "Texte und Bilder werden geladen, Artikel und Grafiken werden angezeigt.", + "connection_2": "Offline Modus", + "connection_2_description": "Die gesamte Ausgabe wird vollständig mit allen Funktionen geladen und angezeigt.", + "counter": "{{current}} von {{total}}", + "custom_location": "Benutzerdefinierter Ort", + "database": "Datenbank", + "database_deleted": "Datenbank gelöscht", + "default_search": "Standardsuche", + "dialog_location_message": "Wir verwenden Ihren Standort, um Ihnen auf der Karte zu zeigen wo Sie sich befinden", + "dialog_location_title": "Wir müssen auf Ihren Standort zugreifen", + "disabled": "Deaktiviert", + "enabled": "Aktiviert", + "err_change_animation": "Fehler beim ändern der Animation", + "err_clear_cache": "Fehler beim löschen des Caches", + "err_clear_database": "Fehler beim löschen der Datenbank", + "err_clear_favorites": "Fehler beim löschen von Favoriten", + "err_download_edition": "Ein Fehler ist während des Downloads der Ausgabe aufgetreten", + "err_download_edition_db": "Ein Fehler ist während des Downloads der Ausgabe Datenbank aufgetreten", + "err_download_psetup": "Fehler beim Herunterladen von Basiskonfigurationen", + "err_internet_connection": "Die Verbindung zum Anwendungsserver konnte nicht hergestellt werden. Bitte stellen Sie sicher, dass Sie über eine Internetverbindung verfügen und versuchen Sie es erneut", + "err_max_min": " Ungültiger Filter, min. muss kleiner als max. sein", + "err_offline": "Externe Inhalte sind offline nicht verfügbar", + "err_retrieve_cache": "Fehler beim Abrufen des Caches", + "err_retrieve_favorites": "Fehler beim Abrufen von Favoriten", + "err_translation": "Übersetzung nicht verfügbar", + "err_translation_offline": "Übersetzung nicht offline verfügbar", + "error_on_load_more": "Fehler beim Versuch mehr Elemente zu laden", + "fast": "Schnell", + "favorites": "Favoriten", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_msg_ask_for_feedback": "Gibt es etwas, was wir tun können, um zu helfen?", + "feedback_title_request_feedback": "Gefällt Ihnen die App?", + "feedback_title_request_review_feedback": "Schön zu hören! Möchten Sie eine Bewertung oder Beurteilung abgeben?", + "filter_max": "Max.", + "filter_min": "Min.", + "filter_text": "Schreiben Sie hier einen Text", + "font_extra_large": "Extra groß", + "font_extra_small": "Extra klein", + "font_large": "Groß", + "font_normal": "Normal", + "font_scale": "Schriftgröße", + "font_small": "Klein", + "from_most_recent": "Von den neuesten", + "from_oldest": "Von den ältesten", + "gmc_default_text": "Eine neue Ausgabe ist verfügbar. Tippen Sie hier um zu lesen!", + "gmc_message_text": "{{issue}} ist jetzt verfügbar. Tippen Sie hier um zu lesen!", + "grid": "Kacheln", + "grid_list": "kacheln/liste", + "home": "Home", + "label_exit_accessibility_mode": "Beenden Sie den Accessibility-Modus", + "label_open_browser": "Im Browser öffnen", + "last_search": "Letzte Suche", + "layout": "Layout", + "learn_more": "Weitere Informationen", + "list": "Liste", + "loading": "Laden...", + "local_events": "Lokale Events", + "max_salary": "Maximales Gehalt", + "min_salary": "Mindest Gehalt", + "msg_available_next_startup": "Diese Konfiguration wird beim nächsten Start verfügbar sein", + "msg_clear_cache": "Cache löschen", + "msg_clear_favorites": " Favoriten löschen ", + "msg_copy_to_clipboard": "Ins Klemmbrett kopieren", + "msg_database_deleted": "Datenbank löschen", + "msg_delete_db": "Wollen Sie die gespeicherten Ausgaben wirklich löschen?", + "msg_delete_localstorage": "Einstellungen löschen?", + "msg_delete_title": "Möchten Sie", + "msg_download_edition": "Ausgabe wird heruntergeladen...", + "msg_download_retry": "Versuch {{retry}} von {{maxRetries}}...", + "msg_empty_category": "Derzeit sind keine Artikel zugeordnet zu {{category}}! Tippen Sie zum aktualisieren", + "msg_empty_favorites": "Zur Zeit gibt es keine Favoriten!", + "msg_empty_gallery": "Die angeklickte Galerie ist leer", + "msg_empty_list": "Zur Zeit gibt es keine Elemente! Tippen Sie hier, um einige Filter zu ändern", + "msg_empty_searches": "Zur Zeit gibt es keine gespeicherten Suchanfragen", + "msg_error_category": "Etwas ist schief gelaufen, versuchen Sie die Kategorie wieder zu öffnen oder die Datenbank aus den Einstellungen zu löschen! Tippen Sie zum aktualisieren", + "msg_error_list": "Etwas ist schief gelaufen, versuchen Sie einige Filter zu wechseln", + "msg_error_newspaper": "Die Zeitung ist leer", + "msg_event_over": "Das Event ist vorbei.", + "msg_exit_application": "Applikation beenden?", + "msg_failed": "Fehlgeschlagen", + "msg_font_scaling": "Möchten Sie die Textgröße Ihres Geräts auf diese Applikation anwenden?", + "msg_font_scaling_title": "Sie haben eine benutzerdefinierte Textgröße auf Ihrem Gerät eingestellt", + "msg_list_no_articles_available_for_category": "Dies ist kein Fehler. Dieser Kategorie sind derzeit keine Artikel zugeordnet!", + "msg_list_no_content": "Kein aktueller Inhalt", + "msg_loading_comments": "Kommentare werden geladen...", + "msg_loading_more": "Ladevorgang...", + "msg_new_issue_available": "Eine neue Ausgabe ist jetzt verfügbar, möchten Sie diese laden?", + "msg_not_on_latest_issue": "Sie lesen nicht die letzte verfügbare Ausgabe, möchten Sie diese jetzt laden?", + "msg_new_issue_available_title_edition": "Sie lesen gerade {{edition}}", + "msg_new_issue_available_title_edition_date": "Sie lesen gerade die Ausgabe vom {{date}} des {{edition}}", + "msg_new_issue_available_edition": "Eine neue Ausgabe des {{edition}} ist jetzt verfügbar, möchten Sie sie laden?", + "msg_new_issue_available_date": "Die Ausgabe vom {{date}} ist jetzt verfügbar, möchten Sie sie laden?", + "msg_new_issue_available_edition_date": "Die {{date}} Ausgabe von {{edition}} ist jetzt verfügbar, möchten Sie sie laden?", + "msg_not_on_latest_issue_edition": "Sie lesen nicht die letzte verfügbare Ausgabe des {{edition}}, möchten Sie diese jetzt laden?", + "msg_not_on_latest_issue_date": "Sie lesen nicht die letzte verfügbare Ausgabe, möchten Sie die Ausgabe vom {{date}} laden?", + "msg_not_on_latest_issue_edition_date": "Sie sehen nicht die letzte verfügbare Ausgabe. Möchten Sie die Ausgabe vom {{date}} des {{edition}} laden?", + "msg_offline_article_graph": "Wenn Sie diese Funktion offline aktivieren möchten, müssen Sie die vollständige Version herunterladen oder einige Bilder oder Textfragmente können fehlen.", + "msg_offline_issues": "Wählen Sie eine heruntergeladene Ausgabe zum Lesen", + "msg_opening_push": "Push-Benachrichtigungen werden geöffnet...", + "msg_pending_purchases": "Ausstehende Käufe abschließen: {{completed}} von {{total}}", + "msg_reload_publication": "Automatisch die neueste Ausgabe herunterladen?", + "msg_restore_default_settings": "Möchten Sie die Standardeinstellungen der App wiederherstellen?", + "msg_rss_new_articles_available": "{{count}} neue Artikel sind verfügbar", + "msg_rss_no_new_articles_available": "Sie sind auf dem neuesten Stand", + "msg_rss_one_new_article_available": "1 neuer Artikel ist verfügbar", + "msg_rss_reload_database": "Neue Datenbank heruntergeladen", + "msg_rss_update_error": "Fehler beim Update, überprüfen Sie bitte Ihre Internetverbindung und versuchen Sie es erneut", + "msg_search_empty": "Nichts wurde durchsucht", + "msg_search_lite": "Ergebnisse auf Seite anzeigen", + "msg_search_not_found": "Kein Artikel mit {{text}} gefunden", + "msg_sent": "Gesendet", + "msg_share_unmanaged": "Option zum Teilen nicht verwaltet", + "msg_tts_error": "Ein Fehler tritt auf, später erneut versuchen!", + "msg_tts_no_volume": "Erhöhen Sie die Lautstärke auf den Listentext", + "msg_tts_unsupported": "Nicht unterstützte Sprache, versuchen Sie, die Standardstimme zu verwenden oder überprüfen Sie, ob ein benutzerdefiniertes Sprachpaket existiert!", + "my_home_categories_selected": "{{categories}} ausgewählte Kategorien für eine Gesamtzahl von {{articles}} Artikel", + "my_location": "Standort benutzen", + "network": "Netzwerk", + "none": "Keine", + "normal": "Normal", + "offline_download_warning": "Diese Ausgabe ist nicht vollständig heruntergeladen. Einige Teile der Seiten können etwas verschwommen erscheinen.", + "permission_storage_message": "{{appName}} benötigt Speichererlaubnis", + "permission_title": "{{appName}} Genehmigung", + "pj_from_page": "von Seite", + "pj_to_page": "zu Seite", + "pj_continue_to_page": "Weiter zur Seite", + "pj_continue_to_page_parent": "Seite", + "powered_by": "Powered by TECNAVIA", + "powered_by_who": "Präsentiert von {{who}}", + "push_notification": "Push-Benachrichtigung ", + "reader_app_text": "Alle Accounts und alle Käufe, die außerhalb dieser App eingerichtet bzw. getätigt werden, werden von Entwickler „{{developerName}}“ verwaltet. Dein App Store-Account, deine gespeicherte Zahlungsmethode und alle damit zusammenhängenden Features, wie das Abonnementsmanagement und die Rückerstattung, werden nicht zur Verfügung stehen. Apple ist weder für den Datenschutz noch für die Sicherheit von Transaktionen verantwortlich, die mit diesem Entwickler stattfinden.", + "reader_app_title": "Du bist dabei, die App zu verlassen und eine externe Webseite anzusteuern. Deine Transaktion findet nicht mehr mit Apple statt.", + "retry": "Wiederholen", + "salary": "Gehalt: {{salary}}", + "save_search": "Suchanfrage speichern", + "saved_searches": "Gespeicherte Suchen", + "search_term": "Suchbegriff", + "select_after_date": "Nach Datum auswählen", + "select_my_home_categories": " Wählen Sie Ihre Favoritenkategorien aus der untenstehenden {{category}} Liste aus, um Ihre Auswahl anzupassen", + "selected_categories": "Ausgewählte Kategorien", + "selected_time_range": "Ausgewählter Datumsbereich", + "settings": "Einstellungen", + "settings_allow_font_scaling": "Erlaube Schriftskalierung", + "settings_startup_epaper": "E-​Paper", + "settings_startup_rss": "Live Nachrichten", + "settings_startup_choose": "Wählen Sie jedes Mal", + "show": "ZEIGEN", + "sort_by_date": "Sortieren nach Zeit", + "sort_by_name": "Sortierung: Bitte wählen", + "sort_by_name_reverse": "Sortieren nach Z-A", + "sort_by_popularity": "Nach Beliebtheit sortieren", + "sort_date_disabled": "Sortieren nach Datum deaktivieren", + "start_with": "Start App mit", + "str_custom": "Benutzerdefiniert", + "str_default_language": "Zurück zur Originalsprache", + "str_from": "Von", + "str_limit_label": "Maximale gespeicherte Anzahl der Ausgaben: {{days}}", + "str_next_week": "Nächste Woche", + "str_page": "Seite", + "str_search": "Suche", + "str_search_results": "{{text}} - {{count}} Ergebnisse", + "str_special_sections": "Prospekte", + "str_this_week": "Diese Woche", + "str_this_weekend": "Dieses Wochenende", + "str_time_range": "Datumsbereich", + "str_title": "Titel", + "str_to": "An", + "str_today": "Heute", + "str_tomorrow": "Morgen", + "str_translating_article": "Artikel wird übersetzt...", + "system_error": "Ein Fehler ist aufgetreten", + "title_bottom_sheet": "Aktionen", + "title_offline": "Keine Internetverbindung", + "toggle": "UMSCHALTEN", + "toggle_layout": "Layout umschalten", + "toggle_list": "Liste umschalten", + "toggle_map": "Karte umschalten", + "total_events": "Ereignisse: {{total}}", + "total_favorites": "Favoriten: {{total}}", + "total_jobs": "Stellenangebote: {{total}}", + "total_searches": "Suchanfragen: {{total}}", + "tutorial": "Tutorial", + "unknown_salary": "Unbekanntes Gehalt", + "unsave_search": "Gespeicherte Suche entfernen", + "version": "Version", + "vertical_job_location_hint": "Wählen Sie einen Standort", + "vertical_job_text_hint": "Geben Sie ein Stichwort für die Suche ein", + "user_tip_download_title": "Vorschlag", + "user_tip_download": "Wenn Sie alle Ausgaben für das Offline-Lesen herunterladen möchten, drücken Sie auf den Mehr-Button -> Reiter 'Optionen' -> und wählen dann Offline Modus als Netzwerkmodus", + "offline_download_dialog": "Möchten Sie die komplette Ausgabe zum Offline-Lesen herunterladen?", + "mobile_network_warning": "Sie sind mit einem Mobilfunknetz anstelle von WiFi verbunden", + "msg_ok_delete_db": "Alle gespeicherten Ausgaben wurden gelöscht", + "msg_operation_completed": "Vorgang ausgeführt", + "msg_download_rss": "Neue Artikel herunterladen ...", + "settings_translate": "Artikel übersetzen in", + "settings_themes": "Thema", + "settings_font_size": "Schriftgröße", + "settings_graph_size": "Zoomstufe", + "settings_number_stored_editions": "Maximale gespeicherte Anzahl der Ausgaben", + "settings_restart_from_latest": "Starten Sie aus der letzten Ausgabe verfügbar (min)", + "settings_article_mode": "Artikel-Modus", + "settings_article_mode_all": "Alle anzeigen", + "settings_article_mode_text_and_graphics": "Artikel und Grafiken anzeigen", + "settings_article_mode_only_text": "Nur Artikel anzeigen", + "settings_restore_defaults": "Standardeinstellungen wiederherstellen", + "settings_clear_storage": "Speicher leeren", + "settings_back_to_classic": "Zurück zu Classic e-Paper", + "settings_two_fingers_tap_to_article": "Um Artikel lesen / Lesemodus zu aktivieren, verwenden Sie Zwei-Finger-Tap", + "settings_single_tap_to_zoom": "Um zu vergrößern, verwenden Sie Ein-Finger-Tap", + "settings_favorite_edition": "Wählen Sie Ihre Lieblingsausgabe", + "settings_favorite_edition_default_label": "Letzte ausgabe verfügbare", + "reset": "ZURÜCKSETZEN", + "open": "OFFEN", + "settings_enable_column_view": "Aktivieren Sie mehrere Spalten Ansicht von Artikeln", + "settings_navigation_arrows": "Navigationspfeile", + "settings_navigation_arrows_always": "immer vorhanden", + "settings_navigation_arrows_disapper": "verschwinden beim Lesen", + "settings_navigation_arrows_never": "nie vorhanden", + "general": "App Einstellungen", + "settings_translate_original": "Ursprache", + "advance": "{{label}} | Erweiterte Einstellungen", + "send": "SENDEN", + "btn_feedback": "Rückmeldung", + "return": "RÜCKKEHR", + "settings_article_highlight": "Aktuellen Artikel hervorgehoben lassen, wenn der Artikelmodus aktiv ist", + "write": "SCHREIBEN", + "btn_continue": "Weiter", + "btn_go_back": "Geh zurück", + "btn_go_next": "Geh als nächstes", + "btn_go_up": "Vorheriges Niveau", + "btn_reload": "Neu laden", + "err_module_unavailable": "{{module}} in dieser App nicht verfügbar", + "force_crash": "Absturz erzwingen", + "hint_my_home_screen_config": "Um {{label}} zu personalisieren", + "msg_access_reserved": "Zugang für Abonnenten reserviert", + "msg_already_subscriber": "Sind Sie bereits Abonnent? Anmeldung", + "msg_continue_to_read": "{{paper}} abonnieren", + "theme": "Thema", + "settings_zoom_level": "Zoomstufe", + "settings_zoom_level_large": "Groß", + "settings_zoom_level_larger": "Größer", + "settings_zoom_level_normal": "Normal", + "restart": "Neu starten", + "str_no_categories": "keine Kategorien", + "msg_login_overlay_title": "", + "action_go_to_settings": "Zu den Einstellungen gehen", + "btn_tts": "Text in Sprache umwandeln", + "btn_close_accessibility": "Eingabehilfemodus schliessen", + "hint_two_fingers_tap": "Um einen Artikel zu lesen, tippen Sie mit zwei Fingern auf den Artikelbereich", + "hint_restart": "Die Anwendung wird neu gestartet, um die neue Konfigurationen hochzuladen...", + "hint_update_ui": "Die Benutzeroberfläche wird aktualisiert, um neue Einstellungen hochzuladen, Sie könnten ein Flackern sehen...", + "msg_download_bundle": "Herunterladen neuerer Anwendungsdaten", + "msg_download_bundle_error": "Das Herunterladen des Pakets wird mit einem Fehler beendet, die App wird versuchen, das Datum später zu aktualisieren", + "msg_press_restart": "Die Daten wurden erfolgreich heruntergeladen, laden Sie die App neu, um die Änderungen zu übernehmen", + "voice_back": "zurück", + "voice_what": "was", + "voice_next": "nächste", + "voice_next_page": "nächste Seite", + "voice_vorher": "vorher", + "voice_vorherige_seite": "vorherige Seite", + "voice_stop": "stop", + "voice_read": "lesen", + "voice_close": "schließen", + "voice_up": "up", + "voice_down": "down", + "voice_select": "wählen", + "msg_max_share": "Sie haben das tägliche Freigabelimit für diese Ausgabe erreicht", + "accessibility": "Barrierefreiheit", + "btn_go_up_general_index": "Zum allgemeinen Index gehen", + "btn_go_next_section": "Nächster Abschnitt: {{section}}", + "btn_go_back_section": "Vorheriger Abschnitt: {{section}}", + "btn_go_next_article": "Nächster Artikel {{index}}", + "btn_go_back_article": "Vorheriger Artikel {{index}}", + "btn_close_editions": "Problemliste schließen", + "btn_go_up_section": "Gehe zu Abschnitt {{Abschnitt}}", + "btn_go_up_choose_issue": "Ausgabe wählen", + "accessibility_issue_list_header": "Editionsliste", + "msg_entering_section": "Abschnitt {{section}} betreten", + "msg_opening_article": "Eröffnung: {{title}}", + "selected_page": "gewählte Seite {{Seite}}", + "selected_page_of_index": "ausgewählte Seite {{page}} des Index", + "selected_page_of_section": "ausgewählte Seite {{page}} von Abschnitt {{section}}", + "msg_simulate_accessibility_title": "Barrierefreiheitsmodus aktivieren", + "msg_screenshots_disabled": "Screenshots sind in dieser App nicht erlaubt", + "settings_tab_index_mode": "Aktivieren Sie das Tab-Layout im Indexmodus", + "settings_enable_push_notifications": "Aktivieren Sie Push-Benachrichtigungen", + "settings_manage_privacy_preferences": "Datenschutzeinstellungen verwalten", + "theme_auto": "Automatisches Hell/Dunkel", + "theme_light": "Licht", + "theme_dark": "Dunkel", + "str_sort_by": "Sortiere nach", + "str_relevance": "Relevanz", + "btn_from": "Aus", + "btn_to": "Zu", + "str_date": "Datum", + "srt_order": "Befehl", + "str_byline": "Byline", + "str_descending": "Absteigend", + "str_ascending": "Aufsteigend", + "str_categories": "Kategorien", + "str_select": "Wählen...", + "str_advertisement": "Werbung", + "iap_go_to_subscriptions": "Zum Abonnement gehen", + "iap_multiple_subscriptions": "Mehrere Abonnements", + "iap_multiple_subscriptions_message": "Wir haben festgestellt, dass Sie mehrere aktive Abonnements haben. Bitte deaktivieren Sie die Abonnements, die Sie nicht benötigen. Wenn ein Abonnement deaktiviert wurde, wird es erstattet.{{subscriptions}}", + "iap_multiple_active_subscriptions_message": "Sie haben bereits ein aktives Abonnement, möchten Sie trotzdem ein neues abschließen? {{subscriptions}}", + "settings_title_box": "Artikeltitelfelder anzeigen", + "enable_debug_overlay": "Debugger aktivieren", + "disable_debug_overlay": "Deaktivieren Sie den Debugger", + "edit_token": "Token bearbeiten", + "title_edit_token_confirm": "Möchten Sie das Token aktualisieren?", + "msg_edit_token_confirm": "Neuer Wert: \"{{token}}\"", + "uploading": "Hochladen...", + "btn_not_sure_yet": "Noch nicht sicher" +}; +},1952,[]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "action_go_to_category": "Aller à {{anchor}}", + "action_open_epaper": "Ouvrir epaper", + "action_open_gallery": "Ouvrir la galerie", + "action_open_link": "Ouvrir le lien", + "action_remove_from_favorites": "Supprimer des favoris", + "action_save_for_later": "Enregistrer pour plus tard", + "action_share": "Partager", + "action_unknown": "Inconnu", + "alert_message": "Êtes-vous sûr?", + "all": "Tous", + "all_events": "Tous les événements", + "all_jobs": "Tous les emplois", + "animation": "Animation", + "animation_action": "Cliquez sur le bouton pour changer l'animation", + "animation_change": "Changement de l'Animation", + "animation_changed": "Animation changé", + "article_count": "{{count}} articles", + "btn_accessibility": "Mode d'accessibilité", + "btn_account": "Account", + "btn_advance_filters": "L'avance des filtres", + "btn_archive": "Archives", + "btn_ask_later": "Demandez Moi Plus Tard", + "btn_back": "Back", + "btn_cancel": "Annuler", + "btn_close": "Fermer", + "btn_confirm": "Confirmer", + "btn_contact": "Contact", + "btn_disable_log_file": "Envoi du JOURNAL", + "btn_do_not_show": "Ne pas Afficher de Nouveau", + "btn_download": "Télécharger", + "btn_editions": "Editions", + "btn_enable_log_file": "Activer le JOURNAL", + "btn_feed": "Nouvelles en direct", + "btn_fit_page": "Ajuster", + "btn_g_book": "Feuilleter", + "btn_go_to_news": "Aller aux nouvelles", + "btn_help": "Aide", + "btn_index": "Indice", + "btn_link": "Lien", + "btn_login": "Login", + "btn_logout": "Déconnexion", + "btn_more": "Plus", + "btn_no": "Pas de", + "btn_ok": "OK", + "btn_publications": "Publications", + "btn_read": "Lire", + "btn_reset": "Réinitialiser", + "btn_search": "Recherche", + "btn_set_as_default": "Définir par défaut", + "btn_settings": "Paramètres", + "btn_skip": "Sauter", + "btn_special_section": "Spécial", + "btn_store": "Enregistrez", + "btn_swipe": "Feuilleter", + "btn_thumbnail": "Pages", + "btn_yes": "Oui", + "cache_size": "Taille de la mémoire Cache", + "card": "Carte", + "categories": "Catégories", + "change": "CHANGEMENT", + "change_location_hint": "Changer l'emplacement", + "change_radius": "Rayon de recherche", + "clear": "CLAIRE", + "clear_cache": "Vider le cache", + "clear_favorites": "Claire favoris", + "confirm": "Confirmer", + "connection_0": "Mode Mobile", + "connection_0_description": "Lecture textuelle du journal. Utilisation limitée de la bande.", + "connection_1": "Mode 3G", + "connection_1_description": "Lecture graphique/textuelle du journal. Téléchargement limité à Mode Mobile.", + "connection_2": "Mode Wifi", + "connection_2_description": "Lecture graphique/textuelle du journal. Téléchargement aussi d'éléments graphiques.", + "counter": "{{current}} de {{total}}", + "custom_location": "personnalisé", + "database": "Base de données", + "database_deleted": "Base de données supprimées", + "default_search": "Recherche par défaut :", + "dialog_location_message": "Nous utilisons votre emplacement pour montrer où vous êtes sur la carte", + "dialog_location_title": "Nous avons besoin d'accéder à votre emplacement", + "disabled": "Désactivé", + "enabled": "Activé", + "err_change_animation": "Erreur pour changer l'animation", + "err_clear_cache": "Erreur de vider le cache", + "err_clear_database": "Erreur à effacer de la base de données", + "err_clear_favorites": "Erreur pour effacer les favoris", + "err_download_edition": "Une erreur est survenue pendant le téléchargement de l'édition", + "err_download_edition_db": "Une erreur est survenue pendant le téléchargement de la banque de données de l'édition", + "err_download_psetup": "Erreur pendant le téléchargement de la base de configurations", + "err_internet_connection": "Impossible de se connecter au serveur d'application. Veuillez vous assurer de disposer d'une connexion internet et réessayez.", + "err_max_min": "Filtre non valide, min doit être inférieure à max", + "err_offline": "Pas disponible offline", + "err_retrieve_cache": "Erreur de récupérer cache", + "err_retrieve_favorites": "Erreur de récupérer les favoris", + "err_translation": "Traduction non disponible", + "err_translation_offline": "Traduction non disponible hors ligne", + "error_on_load_more": "Erreur lors de la tentative de chargement de plus d'éléments", + "fast": "Rapide", + "favorites": "Favoris", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_msg_ask_for_feedback": "Est-il quelque chose que nous pouvons faire pour les aider?", + "feedback_title_request_feedback": "Êtes-vous profiter de votre temps avec l'App?", + "feedback_title_request_review_feedback": "Heureux d'entendre! Vous voulez laisser à un examen ou d'évaluation?", + "filter_max": "Max", + "filter_min": "Min", + "filter_text": "Écrire du texte ici", + "font_extra_large": "Extra large", + "font_extra_small": "Le plus petit", + "font_large": "Grand", + "font_normal": "Normal", + "font_scale": "De Police À L'Échelle", + "font_small": "Petit", + "from_most_recent": "À partir de les plus récents", + "from_oldest": "De la plus ancienne", + "gmc_default_text": "Une nouvelle version est disponible. Appuyez ici pour lire!", + "gmc_message_text": "Le {{issue}} journal est maintenant disponible. Appuyez ici pour lire!", + "grid": "Grille", + "grid_list": "grille/liste", + "home": "La maison", + "label_exit_accessibility_mode": "Quitter le mode accessibilité", + "label_open_browser": "Ouvrir dans le navigateur", + "last_search": "Dernière recherche", + "layout": "Mise en page", + "learn_more": "En savoir plus", + "list": "Liste", + "loading": "Chargement...", + "local_events": "Événements Locaux", + "max_salary": "Max. salaire", + "min_salary": "Min. salaire", + "msg_available_next_startup": "Cette configuration sera disponible au prochain démarrage", + "msg_clear_cache": "Vider le cache", + "msg_clear_favorites": "Supprimer des favoris", + "msg_copy_to_clipboard": "Copie dans le presse-papiers", + "msg_database_deleted": "Supprimer la base de données", + "msg_delete_db": "Supprimer les données de la base de données?", + "msg_delete_localstorage": "Effacer les paramètres personnels?", + "msg_delete_title": "Veux-tu", + "msg_download_edition": "Téléchargement de l'edition...", + "msg_download_retry": "Tentative {{retry}} sur {{maxRetries}}...", + "msg_empty_category": "Actuellement, il n'y a pas les articles affectés à {{category}}! Appuyez sur pour actualiser", + "msg_empty_favorites": "Actuellement, il n'y a pas de favoris!", + "msg_empty_gallery": "Cliqué galerie est vide", + "msg_empty_list": "Actuellement, il n'y a pas d'éléments! Appuyez sur pour modifier certains filtres", + "msg_empty_searches": "Actuellement, il n'existe pas de recherches enregistrées", + "msg_error_category": "Quelque chose s'est mal passé, essayez de rouvrir la catégorie ou le supprimer de la base de données de paramètres! Appuyez sur pour actualiser", + "msg_error_list": "Quelque chose s'est mal passé, essayez de changer quelques filtres", + "msg_error_newspaper": "Le journal est vide", + "msg_event_over": "L'événement est terminé", + "msg_exit_application": "Quitter l'application?", + "msg_failed": "Manqué", + "msg_list_no_articles_available_for_category": "Ce n'est pas une erreur. Actuellement, il n'y a pas d'articles affectés à cette catégorie!", + "msg_list_no_content": "Aucun contenu actuel", + "msg_loading_comments": "Chargement des commentaires...", + "msg_loading_more": "Chargement...", + "msg_new_issue_available": "Une nouvelle édition est disponible, voulez-vous la télécharger?", + "msg_not_on_latest_issue": "Celle-ci n'est pas la dernière édition disponible, voulez-vous télécharger la dernière?", + "msg_new_issue_available_title_edition": "Vous êtes en train de lire {{edition}}", + "msg_new_issue_available_title_edition_date": "Vous lisez actuellement l'édition du {{date}} du {{edition}}", + "msg_new_issue_available_edition": "Une nouvelle édition du {{edition}} est maintenant disponible, voulez-vous la télécharger?", + "msg_new_issue_available_date": "L'édition du {{date}} est maintenant disponible, voulez-vous la télécharger?", + "msg_new_issue_available_edition_date": "L'édition du {{date}} de {{edition}} est maintenant disponible, voulez-vous la télécharger?", + "msg_not_on_latest_issue_edition": "Vous n'êtes pas en train de lire la dernière édition disponible de {{edition}}, voulez-vous la télécharger maintenant?", + "msg_not_on_latest_issue_date": "Vous n'êtes pas en train de lire la dernière édition disponible, voulez-vous télécharger l'édition du {{date}}?", + "msg_not_on_latest_issue_edition_date": "Vous n'êtes pas en train de lire la dernière édition disponible, voulez-vous charger l'édition du {{date}} de {{edition}}?", + "msg_offline_article_graph": "Pour activer cette fonction en mode hors-ligne l'édition complète doit avoir été téléchargée, sinon des images ou parties de texte pourraient manquer", + "msg_offline_issues": "Sélectionnez une édition téléchargée à lire", + "msg_opening_push": "Ouverture des notifications push...", + "msg_pending_purchases": "Finalisation des achats en attente: {{completed}} sur {{total}}", + "msg_reload_publication": "télécharger automatiquement la dernière édition?", + "msg_restore_default_settings": "Voulez-vous rétablir les paramètres initiaux de l'application?", + "msg_rss_new_articles_available": "{{count}} nouveaux articles sont disponibles", + "msg_rss_no_new_articles_available": "Vous êtes à jour", + "msg_rss_one_new_article_available": "1 nouvel article est disponible", + "msg_rss_reload_database": "Nouvelle base de données téléchargées", + "msg_rss_update_error": "Erreur pendant la mise à jour, vérifiez votre connexion internet et réessayer", + "msg_search_empty": "Rien n'a été fouillé", + "msg_search_lite": "Afficher les résultats sur la page", + "msg_search_not_found": "Aucun article trouvé avec {{text}}", + "msg_sent": "Envoyé", + "msg_share_unmanaged": "L'option de partage de non géré", + "msg_tts_error": "Une erreur se produit, réessayez plus tard!", + "msg_tts_no_volume": "Augmentez la taille du texte", + "msg_tts_unsupported": "Langue non prise en charge, essayez d'utiliser la voix par défaut ou vérifiez si un pack de langues personnalisé existe!", + "my_home_categories_selected": "{{categories}} catégories sélectionnées pour un total de {{articles}} articles", + "my_location": "Utiliser ma localisation", + "network": "Réseau", + "none": "Aucun", + "normal": "Normal", + "permission_storage_message": "{{appName}} les besoins de stockage de l'autorisation", + "permission_title": "{{appName}} autorisation", + "pj_from_page": "de la page", + "pj_to_page": "à la page", + "pj_continue_to_page": "Continuer à la page", + "pj_continue_to_page_parent": "Page", + "powered_by": "Alimenté par TECNAVIA", + "powered_by_who": "Présenté par {{who}}", + "push_notification": "Notification Push", + "reader_app_text": "Tous les comptes créés et achats effectués hors de cette app seront gérés par le développeur {{developerName}}. Votre compte App Store, votre mode de paiement enregistré, ainsi que les fonctionnalités associées telles que la gestion des abonnements et les demandes de remboursement ne seront pas disponibles. Apple n'est responsable ni de la sécurité, ni de la confidentialité des transactions effectuées avec ce développeur.", + "reader_app_title": "Vous êtes sur le point de quitter l'app et d'accéder à un site web externe. Vous ne ferez plus transaction avec Apple.", + "retry": "Refaire", + "salary": "Salaire: {{salary}}", + "save_search": "Enregistrer la recherche", + "saved_searches": "Recherches sauvegardées", + "search_term": "Mots clés de recherche", + "select_after_date": "Sélectionnez à partir de la date", + "select_my_home_categories": "Choisissez votre favori catégories à partir de la liste ci-dessous pour personnaliser votre {{category}}", + "selected_categories": "Catégories sélectionnées", + "selected_time_range": "Dates sélectionnée", + "settings": "Paramètres", + "settings_allow_font_scaling": "Autoriser le changement de police", + "settings_startup_epaper": "E-Edition", + "settings_startup_rss": "Nouvelles en direct", + "settings_startup_choose": "Choisissez à chaque fois", + "show": "MONTRER", + "sort_by_date": "Trier par horaire", + "sort_by_name": "Trier par A-Z", + "sort_by_name_reverse": "Trier par Z-A", + "sort_by_popularity": "Trier par popularité", + "sort_date_disabled": "Tri sur la date de désactiver", + "start_with": "Commencer Avec", + "str_custom": "Personnalisé", + "str_default_language": "Retour à la langue d'origine", + "str_from": "Depuis", + "str_limit_label": "Max stockées éditions: {{days}}", + "str_next_week": "Prochaine semaine", + "str_page": "Page", + "str_search": "Recherche", + "str_search_results": "{{text}} - {{count}} résultats", + "str_special_sections": "Section Spéciale", + "str_this_week": "Cette semaine", + "str_this_weekend": "Ce fin de semaine", + "str_time_range": "Intervalle de dates", + "str_title": "Titre", + "str_to": "À", + "str_today": "Aujourd'hui", + "str_tomorrow": "Demain", + "str_translating_article": "Traduction de l'article ...", + "system_error": "Une erreur s'est produite", + "title_bottom_sheet": "Actions", + "title_offline": "Pas de connexion Internet", + "toggle": "BASCULE", + "toggle_layout": "La bascule de mise en page", + "toggle_list": "Basculer de la liste", + "toggle_map": "Basculer la carte", + "total_events": "Événements: {{total}}", + "total_favorites": "Favoris: {{total}}", + "total_jobs": "Emplois: {{total}}", + "total_searches": "Recherches: {{total}}", + "tutorial": "Tutoriel", + "unknown_salary": "Inconnu Salaire", + "unsave_search": "Supprimer recherche enregistrée", + "version": "Version", + "vertical_job_location_hint": "Sélectionnez un emplacement", + "vertical_job_text_hint": "Entrez un mot clé pour la recherche", + "offline_download_warning": "Cette édition n'est pas entièrement téléchargée. Quelques parties des pages pourraient apparaître floues.", + "user_tip_download_title": "Suggestion", + "user_tip_download": "Pour obtenir automatiquement toutes les éditions à télécharger pour une consultation hors ligne, appuyez sur le bouton 'Plus' -> onglet 'Paramètres' -> Sélectionnez 'Mode Wifi' comme mode réseau", + "offline_download_dialog": "Voulez-vous télécharger toute l'édition pour la lecture hors ligne?", + "mobile_network_warning": "Vous êtes connecté à un réseau mobile au lieu du WiFi", + "msg_operation_completed": "Opération terminée", + "msg_ok_delete_db": "Toutes les éditions enregistrées ont été supprimées", + "msg_font_scaling": "Souhaitez-vous appliquer la taille du texte de votre appareil à cette application?", + "msg_font_scaling_title": "Il semble que vous ayez défini une taille de texte personnalisée sur votre appareil", + "msg_download_rss": "Téléchargement de nouveaux articles...", + "settings_translate": "Traduire les articles en", + "settings_themes": "Thème", + "settings_font_size": "Taille de police", + "settings_graph_size": "Niveau de zoom", + "settings_number_stored_editions": "Max stockées éditions", + "settings_restart_from_latest": "Redémarrer à partir de la dernière édition disponible (min)", + "settings_article_mode": "Mode texte", + "settings_article_mode_all": "Affiche tout", + "settings_article_mode_text_and_graphics": "Affiche les articles textuels et les graphiques", + "settings_article_mode_only_text": "Affiche uniquement les articles textuels", + "settings_restore_defaults": "Rétablir les paramètres d'usine", + "settings_clear_storage": "Stockage clair", + "settings_back_to_classic": "Retour à l'édition classique", + "settings_two_fingers_tap_to_article": "Taper deux fois pour ouvrir l'article", + "settings_single_tap_to_zoom": "Taper pour zoomer", + "settings_favorite_edition": "Choisissez votre édition préférée", + "settings_favorite_edition_default_label": "Dernière édition disponible", + "reset": "RÉINITIALISER", + "open": "OUVERT", + "settings_enable_column_view": "Activer l'affichage sur plusieurs colonnes des articles", + "settings_navigation_arrows": "Flèches de navigation", + "settings_navigation_arrows_always": "toujours présents", + "settings_navigation_arrows_disapper": "disparaissent lors de la lecture", + "settings_navigation_arrows_never": "jamais présents", + "general": "Paramètres de l'application", + "settings_translate_original": "Langue originale", + "advance": "{{label}} | Paramètres avancés", + "send": "ENVOYER", + "btn_feedback": "Retour d'information", + "return": "REVENIR", + "settings_article_highlight": "Garder l'article actuel en surbrillance lorsque le mode article est ouvert", + "write": "ÉCRIVEZ", + "btn_continue": "Continuer", + "btn_go_back": "Retourner", + "btn_go_next": "Allez ensuite", + "btn_go_up": "Niveau précédent", + "action_go_to_settings": "Aller aux paramètres", + "btn_reload": "Recharger", + "btn_tts": "Ativar / desativar a síntese de voz", + "btn_close_accessibility": "Fermer le mode d'accessibilité", + "err_module_unavailable": "{{module}} non disponible", + "force_crash": "Forcer le crash", + "hint_my_home_screen_config": "Pour personnaliser {{label}}", + "hint_two_fingers_tap": "Pour lire un article, appuyez sur la zone avec deux doigts", + "hint_restart": "L'application va redémarrer pour charger de nouvelles configurations...", + "hint_update_ui": "L'interface utilisateur se mettra à jour pour charger de nouveaux paramètres, vous remarquerez peut-être un scintillement...", + "msg_access_reserved": "Accès réservé aux abonnés", + "msg_already_subscriber": "Êtes-vous déjà abonné? Connexion", + "msg_continue_to_read": "Abonnez-vous à {{paper}}", + "theme": "Thème", + "settings_zoom_level": "Le niveau de zoom", + "settings_zoom_level_large": "Grand", + "settings_zoom_level_larger": "Plus grand", + "settings_zoom_level_normal": "Normal", + "restart": "Redémarrage", + "str_no_categories": "aucune catégorie", + "msg_login_overlay_title": "Pour continuer la lecture", + "voice_back": "retour", + "voice_what": "quoi", + "voice_next": "suivant", + "voice_next_page": "page suivante", + "voice_previous": "précédent", + "voice_previous_page": "page précédente", + "voice_stop": "stop", + "voice_read": "lire", + "voice_close": "fermer", + "voice_up": "up", + "voice_down": "bas", + "voice_select": "select", + "msg_max_share": "Vous avez atteint la limite de partage quotidienne pour cette édition", + "accessibility": "Accessibilité", + "msg_simulate_accessibility_title": "Activer le mode d'accessibilité", + "msg_screenshots_disabled": "Les captures d'écran ne sont pas autorisées dans cette application", + "settings_tab_index_mode": "Activer la mise en page à onglets en mode indice", + "settings_enable_push_notifications": "Activer les notifications push", + "settings_manage_privacy_preferences": "Gérer les préférences de confidentialité", + "theme_auto": "Clair/foncé automatique", + "theme_light": "Lumière", + "theme_dark": "Sombre", + "str_sort_by": "Trier par", + "str_relevance": "Pertinence", + "btn_from": "Depuis", + "str_date": "Date", + "srt_order": "Commande", + "str_byline": "Byline", + "str_descending": "Descendant", + "str_ascending": "Ascendant", + "str_categories": "Catégories", + "str_select": "Sélectionner...", + "str_advertisement": "Publicité", + "iap_multiple_subscriptions": "Abonnements multiples", + "iap_go_to_subscriptions": "Aller à l'abonnement", + "iap_multiple_subscriptions_message": "Nous avons constaté que vous disposez de plusieurs abonnements actifs, veuillez désactiver ceux dont vous n'avez pas besoin. Lorsqu'un abonnement a été désactivé, il sera remboursé.{{subscriptions}}", + "iap_multiple_active_subscriptions_message": "Vous avez déjà un abonnement actif, souhaitez-vous quand même en acheter un nouveau? {{subscriptions}}", + "settings_title_box": "Afficher les zones de titre de l'article", + "enable_debug_overlay": "Activer le débogueur", + "disable_debug_overlay": "Désactiver le débogueur", + "edit_token": "Modifier le token", + "title_edit_token_confirm": "Voulez-vous mettre à jour le token?", + "msg_edit_token_confirm": "Nouvelle valeur: \"{{token}}\"", + "uploading": "Téléchargement...", + "btn_not_sure_yet": "Je ne suis pas encore sûr" +}; +},1953,[]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "action_go_to_category": "Ga naar {{anchor}}", + "action_open_epaper": "Open de e-Paper", + "action_open_gallery": "Open de galerij", + "action_open_link": "Open de link", + "action_remove_from_favorites": "Verwijder uit favorieten", + "action_save_for_later": "Bewaar voor later", + "action_share": "Delen", + "action_unknown": "Onbekend", + "alert_message": "Weet u het zeker?", + "all": "Alle", + "all_events": "Alle evenementen", + "all_jobs": "Alle vacatures", + "animation": "Animatie", + "animation_action": "Klik op de knop om de animatie te wijzigen", + "animation_change": "Animatie wijzigen", + "animation_changed": "Animation gewijzigd", + "article_count": "{{count}} artikelen", + "btn_accessibility": "Toegankelijkheidsmodus", + "btn_account": "Log in", + "btn_advance_filters": "Geavanceerde filters", + "btn_archive": "Archief", + "btn_ask_later": "Vraag het mij later", + "btn_back": "Terug", + "btn_cancel": "Annuleer", + "btn_close": "Skip", + "btn_confirm": "Bevestigen", + "btn_contact": "Contact", + "btn_disable_log_file": "Verstuur LOG", + "btn_do_not_show": "Niet meer laten zien", + "btn_download": "Download", + "btn_editions": "Edities", + "btn_enable_log_file": "Activeer LOG", + "btn_feed": "Live Nieuws", + "btn_fit_page": "Passend maken", + "btn_g_book": "Blad omslaan", + "btn_go_to_news": "Ga naar nieuws", + "btn_help": "Ondersteuning", + "btn_index": "Index", + "btn_link": "Link", + "btn_login": "Log in", + "btn_logout": "Uitloggen", + "btn_more": "Meer", + "btn_no": "Nee", + "btn_ok": "OK", + "btn_publications": "Publicaties", + "btn_read": "Lezen", + "btn_reset": "Reset", + "btn_search": "Zoeken", + "btn_set_as_default": "Als stand. inst.", + "btn_settings": "Instellingen", + "btn_skip": "Overslaan", + "btn_special_section": "Special", + "btn_store": "Bewaren", + "btn_swipe": "Blad omslaan", + "btn_thumbnail": "Pagina's", + "btn_yes": "Ja", + "cache_size": "Cache grootte", + "card": "Kaart", + "categories": "Categorieën", + "change": "VERANDER", + "change_location_hint": "Locatie wijzigen", + "change_radius": "Selecteer Radius", + "clear": "VERWIJDER", + "clear_cache": "Verwijder cache", + "clear_favorites": "Verwijder favorieten", + "confirm": "Bevestigen", + "connection_0": "Mobiele modus", + "connection_0_description": "Tekstmodus. Bij beperkte bandbreedte.", + "connection_1": "3G Modus", + "connection_1_description": "Grafische/tekstuele presentatie van de editie. Download beperkt tot mobiele modus.", + "connection_2": "Wifi Mode", + "connection_2_description": "Wifi Mode: Grafische/tekstuele presentatie van de editie. Ook grafische elementen kunnen gedownload worden", + "counter": "{{current}} van {{total}}", + "custom_location": "Gepersonaliseerde Locatie", + "database": "Database", + "database_deleted": "Database verwijderd", + "default_search": "Standaard zoeken", + "dialog_location_message": "We gebruiken uw locatie om op de kaart te laten zien waar u bent", + "dialog_location_title": "We hebben toegang tot uw locatie nodig", + "disabled": "Uitgeschakeld", + "enabled": "Ingeschakeld", + "err_change_animation": "Fout bij het wijzigen van de animatie", + "err_clear_cache": "Fout bij het wissen van de cache", + "err_clear_database": "Fout bij het wissen van de database", + "err_clear_favorites": "Fout bij het opschonen van de favorieten", + "err_download_edition": "Er is een fout opgetreden bij het downloaden van de editie", + "err_download_edition_db": "Er is een fout opgetreden bij het downloaden van de editie database", + "err_download_psetup": "Fout tijdens het downloaden van basisconfiguraties", + "err_internet_connection": "Kon geen verbinding maken met de applicatieserver. Zorg ervoor dat u verbinding heeft met het internet en probeer het opnieuw", + "err_max_min": "Ongeldig filter, min. moet kleiner zijn dan max.", + "err_offline": "Niet offline beschikbaar", + "err_retrieve_cache": "Fout bij het ophalen van de cache", + "err_retrieve_favorites": "Fout bij het ophalen van de favorieten", + "err_translation": "Vertaling niet beschikbaar", + "err_translation_offline": "Vertaling niet offline beschikbaar", + "error_on_load_more": "Fout bij het laden van meer items", + "fast": "Snel", + "favorites": "Favorieten", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_msg_ask_for_feedback": "Is er iets dat wij kunnen doen om u behulpzaam te zijn?", + "feedback_title_request_feedback": "Geniet u van de App?", + "feedback_title_request_review_feedback": "Goed om te horen! Wilt u een recensie of puntenbeoordeling achterlaten?", + "filter_max": "Max", + "filter_min": "Min", + "filter_text": "Schrijf hier uw tekst", + "font_extra_large": "Extra groot", + "font_extra_small": "Extra klein", + "font_large": "Groot", + "font_normal": "Normaal", + "font_scale": "Grootte lettertype", + "font_small": "Klein", + "from_most_recent": "Uit de meest recente", + "from_oldest": "Uit de oudste", + "gmc_default_text": "Er is een nieuwe uitgave beschikbaar. Tap hier om te lezen!", + "gmc_message_text": "De titel {{issue}} is nu beschikbaar. Tap hier om te lezen!", + "grid": "Raster", + "grid_list": "raster/lijst", + "home": "Home", + "label_exit_accessibility_mode": "Verlaat de Toegankelijkheidsmodus", + "label_open_browser": "Open in de browser", + "last_search": "Laatste zoekopdracht", + "layout": "Layout", + "learn_more": "Lees meer", + "list": "Lijst", + "loading": "Bezig met laden...", + "local_events": "Lokale evenementen", + "max_salary": "Max. salaris", + "min_salary": "Min. salaris", + "msg_available_next_startup": "Deze configuratie is beschikbaar na een herstart", + "msg_clear_cache": "Verwijder cache", + "msg_clear_favorites": "Verwijder favorieten", + "msg_copy_to_clipboard": "Kopieer naar klembord", + "msg_database_deleted": "Verwijder database", + "msg_delete_db": "Databasegegevens verwijderen?", + "msg_delete_localstorage": "Persoonlijke instellingen wissen?", + "msg_delete_title": "Wil je", + "msg_download_edition": "Bezig met downloaden van editie...", + "msg_download_retry": "Poging {{retry}} van {{maxRetries}}...", + "msg_empty_category": "Momenteel zijn er geen artikelen toegewezen aan {{category}}! Tap om te verversen", + "msg_empty_favorites": "Momenteel zijn er geen favorieten!", + "msg_empty_gallery": "De aangeklikte galerij is leeg", + "msg_empty_list": "Momenteel zijn er geen elementen beschikbaar! Tap om sommige filters te wijzigen", + "msg_empty_searches": "Momenteel zijn er geen opgeslagen zoekopdrachten!", + "msg_error_category": "Er is iets misgegaan, probeer de categorie opnieuw te openen of verwijder de database uit de instellingen ! Tap om te verversen", + "msg_error_list": "Er is iets misgegaan, probeer een aantal filters te veranderen", + "msg_error_newspaper": "Krant is leeg", + "msg_event_over": "'Het evenement is voorbij.'", + "msg_exit_application": "De applicatie verlaten?", + "msg_failed": "Mislukt", + "msg_list_no_articles_available_for_category": "Dit is geen fout. Momenteel zijn er geen artikelen aan deze categorie toegewezen!", + "msg_list_no_content": "Geen actuele inhoud", + "msg_loading_comments": "Opmerkingen laden...", + "msg_loading_more": "Meer laden...", + "msg_new_issue_available": "Een nieuwe krant is nu beschikbaar: wilt u deze downloaden?", + "msg_not_on_latest_issue": "Dit is niet de meest recente krant: wilt u deze downloaden?", + "msg_new_issue_available_title_edition": "Je leest momenteel {{edition}}", + "msg_new_issue_available_title_edition_date": "U leest momenteel het nummer van {{date}} van {{edition}}", + "msg_new_issue_available_edition": "Er is nu een nieuwe editie van {{edition}} beschikbaar, wil je hem laden?", + "msg_new_issue_available_date": "Het nummer van {{date}} is nu beschikbaar, wil je hem laden?", + "msg_new_issue_available_edition_date": "Het nummer van {{edition}} van {{date}}is nu beschikbaar, wil je hem laden?", + "msg_not_on_latest_issue_edition": "U ziet niet de laatst beschikbare editie van {{edition}}, wil je hem nu laden?", + "msg_not_on_latest_issue_date": "U kijkt niet naar de laatst beschikbare editie, wilt u het nummer van {{date}} downloaden?", + "msg_not_on_latest_issue_edition_date": "U kijkt niet naar de laatst beschikbare editie, wil je het nummer van {{date}} van {{edition}} downloaden?", + "msg_offline_article_graph": "Als u deze functie offline wilt inschakelen dan dient u de uitgave volledig te downloaden of sommige afbeeldingen of tekstfragmenten kunnen ontbreken.", + "msg_offline_issues": "Selecteer een gedownloade versie te lezen", + "msg_opening_push": "Pushmeldingen openen...", + "msg_pending_purchases": "Aankopen in behandeling afronden: {{completed}} van {{total}}", + "msg_reload_publication": "Automatisch de nieuwste editie downloaden?", + "msg_restore_default_settings": "Wilt u de standaard app-instellingen herstellen?", + "msg_rss_new_articles_available": "{{count}} nieuwe artikelen zijn beschikbaar", + "msg_rss_no_new_articles_available": "U bent up-to-date", + "msg_rss_one_new_article_available": "1 nieuw artikel is beschikbaar", + "msg_rss_reload_database": "Nieuwe database gedownload", + "msg_rss_update_error": "Fout tijdens de update, controleer uw internetverbinding en probeer opnieuw", + "msg_search_empty": "Niets werd doorzocht", + "msg_search_lite": "Bekijk resultaten op pagina", + "msg_search_not_found": "Geen artikel gevonden met {{text}}", + "msg_sent": "Verstuurd", + "msg_share_unmanaged": "Optie om te delen onbeheerd", + "msg_tts_error": "Er treedt een fout op, later proberen!", + "msg_tts_no_volume": "Verhoog volume naar luisterende tekst", + "msg_tts_unsupported": "Niet-ondersteunde taal, probeer de standaardvoice te gebruiken of controleer of er een aangepast taalpakket bestaat!", + "my_home_categories_selected": "{{categories}} categorieën geselcteerd voor een totaal aantal van {{articles}} artikelen", + "my_location": "Gebruik mijn locatie", + "network": "Netwerk", + "none": "Geen", + "normal": "Normaal", + "permission_storage_message": "{{appName}} toestemming voor opslag nodig", + "permission_title": "{{appName}} toestemming", + "pj_from_page": "van pagina", + "pj_to_page": "naar pagina", + "pj_continue_to_page": "Ga verder naar pagina", + "pj_continue_to_page_parent": "Pagina", + "powered_by": "Powered by TECNAVIA", + "powered_by_who": "Mogelijk gemaakt door {{who}}", + "push_notification": "Pushmelding", + "reader_app_text": "Alle accounts of aankopen die aangemaakt of gedaan zijn buiten deze app worden beheerd door de ontwikkelaar '{{developerName}}'. Je App Store-account, bewaarde betaalmethode en andere gerelateerde diensten, zoals abonnementsbeheer en restitutieverzoeken zijn niet beschikbaar. Apple is niet verantwoordelijk voor de privacy of beveiliging van transacties met deze ontwikkelaar.", + "reader_app_title": "Je staat op het punt om de app te verlaten en naar een externe website te gaan. Je hebt geen transacties meer met Apple.", + "retry": "Opnieuw", + "salary": "Salaris: {{salary}}", + "save_search": "Zoekopdracht opslaan", + "saved_searches": "Bewaarde Zoekopdrachten", + "search_term": "Zoekterm", + "select_after_date": "Kies na datum", + "select_my_home_categories": "Kies uit onderstaande lijst uw favoriete categorieën en personaliseer {{category}}", + "selected_categories": "Geselecteerde categorieën", + "selected_time_range": "Geselecteerd datumbereik", + "settings": "Instellingen", + "settings_allow_font_scaling": "Schalen van lettertypen toestaan", + "settings_startup_epaper": "E-Edition", + "settings_startup_rss": "Live Nieuws", + "settings_startup_choose": "Kies elke keer", + "show": "SHOW", + "sort_by_date": "Sorteer op datum:", + "sort_by_name": "Sorteer op A-Z", + "sort_by_name_reverse": "Sorteer op Z-A", + "sort_by_popularity": "Sorteren op populariteit", + "sort_date_disabled": "Sorteren op datum uitschakelen", + "start_with": "Begin met", + "str_custom": "Custom", + "str_default_language": "Keer terug naar de oorspronkelijke taal", + "str_from": "Vanaf", + "str_limit_label": "Max opgeslagen edities: {{days}}", + "str_next_week": "Volgende week", + "str_page": "Pagina", + "str_search": "Zoeken", + "str_search_results": "{{text}} - {{count}} resultaten", + "str_special_sections": "Speciale secties", + "str_this_week": "Deze Week", + "str_this_weekend": "Dit weekend", + "str_time_range": "Datumbereik", + "str_title": "Titel", + "str_to": "Tot", + "str_today": "Vandaag", + "str_tomorrow": "Morgen", + "str_translating_article": "Artikel vertalen...", + "system_error": "Er is een fout opgetreden", + "title_bottom_sheet": "Acties", + "title_offline": "Geen internet verbinding", + "toggle": "WISSELEN", + "toggle_layout": "Layout ", + "toggle_list": "Van lijst wisselen", + "toggle_map": "Van map wisselen", + "total_events": "Evenementen: {{total}}", + "total_favorites": "Favorieten: {{total}}", + "total_jobs": "Vacatures: {{total}}", + "total_searches": "Zoekopdrachten: {{total}}", + "tutorial": "Handleiding", + "unknown_salary": " Salaris onbekend", + "unsave_search": "Opgeslagen zoekopdracht verwijderen", + "version": "Versie", + "vertical_job_location_hint": "Kies een locatie", + "vertical_job_text_hint": "Voer een trefwoord in om te zoeken", + "offline_download_warning": "Deze uitgave is niet volledig gedownload. Sommige delen van de pagina's kunnen derhalve onscherp getoond worden.", + "user_tip_download_title": "Gebruikerstip", + "user_tip_download": "Gebruikerstip: Indien u alle edities automatisch wilt downloaden om offline te kunnen bekijken, druk dan op de knop 'Meer' -> 'Instellingen' -> Selecteer 'Wifi mode' als netwerkmodus", + "offline_download_dialog": "Wilt u de volledige uitgave downloaden om offline te kunnen lezen?", + "mobile_network_warning": "U bent verbonden met een mobiel netwerk in plaats van WiFi", + "msg_operation_completed": "Bewerking voltooid", + "msg_ok_delete_db": "Alle opgeslagen edities zijn verwijderd", + "msg_download_rss": "Nieuwe artikelen downloaden...", + "settings_translate": "Vertaal artikelen naar", + "settings_themes": "Thema", + "settings_font_size": "Lettertypegrootte", + "settings_graph_size": "Zoomniveau", + "settings_number_stored_editions": "Max opgeslagen edities", + "settings_restart_from_latest": "Herstart van de laatste editie beschikbaar (min)", + "settings_article_mode": "Artikelmodus", + "settings_article_mode_all": "Toon alles", + "settings_article_mode_text_and_graphics": "Toon artikelen en afbeeldingen", + "settings_article_mode_only_text": "Alleen artikelen weergeven", + "settings_restore_defaults": "Standaard instellingen terugzetten", + "settings_clear_storage": "Klar lagring", + "settings_back_to_classic": "Keer terug naar de klassieke editie", + "settings_two_fingers_tap_to_article": "Gebruik de twee vinger tap om een artikel te openen in tekstmodus", + "settings_single_tap_to_zoom": "Gebruik de enkele tap om in te zoomen", + "settings_favorite_edition": "Kies je favoriete editie", + "settings_favorite_edition_default_label": "Laatste editie beschikbaar", + "reset": "RESET", + "open": "OPEN", + "settings_enable_column_view": "Weergave van artikelen met meerdere kolommen inschakelen", + "settings_navigation_arrows": "Navigatiepijlen", + "settings_navigation_arrows_always": "altijd aanwezig", + "settings_navigation_arrows_disapper": "verdwijnen tijdens het lezen", + "settings_navigation_arrows_never": "nooit aanwezig", + "general": "App instellingen", + "settings_translate_original": "Originele taal", + "advance": "{{label}} | Geavanceerde instellingen", + "send": "VERSTUREN", + "btn_feedback": "Feedback", + "return": "OPBRENGST", + "settings_article_highlight": "Houd het huidige artikel gemarkeerd wanneer de artikelmodus is geopend", + "write": "SCHRIJVEN", + "btn_continue": "Ga door", + "btn_go_back": "Ga terug", + "btn_go_next": "Ga volgende", + "btn_go_up": "Vorig niveau", + "action_go_to_settings": "Ga naar Instellingen", + "btn_reload": "Herladen", + "btn_tts": "Schakel tekst naar spraak", + "btn_close_accessibility": "Toegankelijkheidsmodus sluiten", + "err_module_unavailable": "{{module}} niet beschikbaar in deze app", + "force_crash": "Forceer crash", + "hint_my_home_screen_config": "Om {{label}} te personaliseren", + "hint_two_fingers_tap": "Om een ​​artikel te lezen, tikt u met twee vingers op het artikelgebied", + "hint_restart": "De applicatie zal opnieuw opstarten om nieuwe configuraties te laden...", + "hint_update_ui": "De gebruikersinterface wordt bijgewerkt om nieuwe instellingen te laden, mogelijk ziet u een flikkering...", + "msg_access_reserved": "Toegang voorbehouden aan abonnees", + "msg_already_subscriber": "Ben je al abonnee? Log in", + "msg_continue_to_read": "Abonneer je op {{paper}}", + "theme": "Thema", + "settings_zoom_level": "Zoomniveau", + "settings_zoom_level_large": "Groot", + "settings_zoom_level_larger": "groter", + "settings_zoom_level_normal": "normaal", + "restart": "Herstarten", + "str_no_categories": "geen categorieën", + "msg_login_overlay_title": "Om verder te lezen", + "voice_back": "terug", + "voice_what": "wat", + "voice_next": "volgende", + "voice_next_page": "volgende pagina", + "voice_previous": "vorige", + "voice_previous_page": "vorige pagina", + "voice_stop": "stop", + "voice_read": "lezen", + "voice_close": "close", + "voice_up": "up", + "voice_down": "down", + "voice_select": "select", + "msg_max_share": "Je hebt de dagelijkse limiet voor delen voor deze editie bereikt", + "accessibility": "Toegankelijkheid", + "msg_simulate_accessibility_title": "Toegankelijkheidsmodus inschakelen", + "msg_screenshots_disabled": "Schermafbeeldingen zijn niet toegestaan ​​in deze app", + "settings_tab_index_mode": "Schakel tabbladindeling in indexmodus in", + "settings_enable_push_notifications": "Schakel pushmeldingen in", + "settings_manage_privacy_preferences": "Beheer privacyvoorkeuren", + "theme_auto": "Automatisch licht/donker", + "theme_light": "Licht", + "theme_dark": "Donker", + "str_sort_by": "Sorteer op", + "str_relevance": "Relevantie", + "btn_from": "Van", + "btn_to": "Naar", + "str_date": "Datum", + "srt_order": "Volgorde", + "str_byline": "Naamregel", + "str_descending": "Aflopend", + "str_ascending": "Oplopend", + "str_categories": "Categorieën", + "str_select": "Selecteer...", + "str_advertisement": "Advertentie", + "iap_go_to_subscriptions": "Ga naar abonnement", + "iap_multiple_subscriptions": "Meerdere abonnementen", + "iap_multiple_subscriptions_message": "We hebben vastgesteld dat u meerdere actieve abonnementen heeft. Schakel de abonnementen uit die u niet nodig heeft. Wanneer een abonnement is uitgeschakeld, wordt het terugbetaald.{{subscriptions}}", + "iap_multiple_active_subscriptions_message": "U heeft al een actief abonnement, maar wilt u toch een nieuw abonnement aanschaffen? {{subscriptions}}", + "settings_title_box": "Titelvakken van artikelen weergeven", + "enable_debug_overlay": "Schakel foutopsporing in", + "disable_debug_overlay": "Schakel foutopsporing uit", + "edit_token": "Token bewerken", + "title_edit_token_confirm": "Wilt u het token bijwerken?", + "msg_edit_token_confirm": "Nieuwe waarde: \"{{token}}\"", + "uploading": "Uploaden...", + "btn_not_sure_yet": "Nog niet zeker" +}; +},1954,[]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "action_go_to_category": "Acción ir a {{anchor}}", + "action_open_epaper": "Abrir epaper", + "action_open_gallery": "Acción abrir galería", + "action_open_link": "Acción abrir el link", + "action_remove_from_favorites": "Eliminar de favoritos", + "action_save_for_later": "Salvar para despuès", + "action_share": "Acciòn compartir", + "action_unknown": "Acciòn desconocida", + "alert_message": "Estàs seguro?", + "all": "Todo", + "all_events": "Todos los eventos", + "all_jobs": "Todos los trabajos", + "animation": "Animaciòn", + "animation_action": "Haga clic en el botón para cambiar la animación", + "animation_change": "Cambio de animación", + "animation_changed": "Animación cambiada", + "article_count": "{{count}} artículos", + "btn_accessibility": "Modo de accesibilidad", + "btn_advance_filters": "Filtros de avance", + "btn_archive": "Archivo", + "btn_ask_later": "Preguntar mas tarde", + "btn_back": "Volver", + "btn_cancel": "Cancelar", + "btn_close": "Cierra", + "btn_confirm": "Confirmar", + "btn_contact": "Contacto", + "btn_disable_log_file": "enviar registro", + "btn_do_not_show": "No mostrar de nuevo", + "btn_download": "Descargar", + "btn_editions": "Ediciones", + "btn_enable_log_file": "Habilitar registro", + "btn_feed": "Noticias en vivo", + "btn_fit_page": "Ajuste", + "btn_g_book": "Navegar", + "btn_go_to_news": "Ir a noticias", + "btn_help": "Ayuda", + "btn_index": "Índice", + "btn_link": "Link.", + "btn_more": "Más", + "btn_no": "No", + "btn_ok": "OK", + "btn_publications": "Publicaciones", + "btn_read": "Leer", + "btn_reset": "Restablecer", + "btn_search": "Busca", + "btn_set_as_default": "Establecer como predeterminado", + "btn_settings": "Configuración", + "btn_skip": "Omitir", + "btn_special_section": "Especial", + "btn_store": "Almacenar", + "btn_swipe": "Navegar", + "btn_thumbnail": "Páginas", + "btn_yes": "Sí", + "cache_size": "Tamaño del caché", + "card": "Card", + "categories": "Categorías", + "change": "Cambiar", + "change_location_hint": "Cambiar localización", + "change_radius": "Seleccionar radio", + "clear": "Limpiar", + "clear_cache": "Limpiar cache", + "clear_favorites": "Borrar favoritos", + "confirm": "Confirmar", + "connection_0": "Modo móvil", + "connection_0_description": "Lectura textual del periódico. Uso limitado de ancho de banda.", + "connection_1": "Modo 3G", + "connection_1_description": "Lectura gráfica/textual del periódico. Descarga limitada por el modo móvil.", + "connection_2": "Modo wifi", + "connection_2_description": "Lectura gráfica/textual del periódico. Descargar también elementos gráficos", + "counter": "{{current}} de {{total}}", + "custom_location": "Ubicación Personalizada", + "database": "Base de datos", + "database_deleted": "Base de datos eliminada", + "default_search": "Búsqueda predeterminada", + "dialog_location_message": "Usamos su ubicación para mostrar dónde se encuentra en el mapa", + "dialog_location_title": "Necesitamos acceder a tu ubicación", + "disabled": "Deshabilitar", + "enabled": "Habilitar", + "err_change_animation": "Error al cambiar la animación", + "err_clear_cache": "Error al borrar la caché", + "err_clear_database": "Error de borrar de la base de datos", + "err_clear_favorites": "Error para borrar favoritos", + "err_download_edition": "Ha ocurrido un error durante la descarga de la edición", + "err_download_edition_db": "Ha ocurrido un error durante la descarga de la base de datos de la edición", + "err_download_psetup": "Error durante la descarga de configuraciones base", + "err_internet_connection": "No se pudo conectar al servidor de la aplicación. Por favor, asegúrese de que tiene conexión a internet e inténtelo de nuevo.", + "err_max_min": "Filtro inválido, min debe ser menor que max ", + "err_offline": "No disponible sin conexión", + "err_retrieve_cache": "Error al recuperar la caché", + "err_retrieve_favorites": "Error al recuperar favoritos", + "err_translation": "Traducción no disponible", + "err_translation_offline": "Traducción no disponible sin conexión", + "error_on_load_more": "Error al intentar cargar más artículos", + "fast": "Rápido", + "favorites": "Favoritos", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_msg_ask_for_feedback": "¿Hay algo que podamos hacer para ayudar?", + "feedback_title_request_feedback": "Disfruta en su tiempo con la Aplicación?", + "feedback_title_request_review_feedback": "Me alegro de escuchar! Te gustaría dejar un comentario o calificación?", + "filter_max": "Max", + "filter_min": "Min", + "filter_text": "Escribe el texto aquí", + "font_extra_large": "Fuente extra grande", + "font_extra_small": "Fuente super pequeña", + "font_large": "Fuente grande", + "font_normal": "Fuente normal", + "font_scale": "Escala de fuente", + "font_small": "Pequeño", + "from_most_recent": "De los más recientes", + "from_oldest": "De los mas antiguos", + "gmc_default_text": "Una nueva edición está disponible. Pulsa aquí para leer!", + "gmc_message_text": "El {{issue}} periódico ya está disponible. Pulsa aquí para leer!", + "grid": "Cuadrícula", + "home": "Casa", + "label_exit_accessibility_mode": "Salir del modo de accesibilidad", + "label_open_browser": "Abrir en el navegador", + "last_search": "Última búsqueda", + "layout": "Diseño", + "learn_more": "Más información", + "list": "Lista", + "loading": "Cargando...", + "local_events": "Sucesos locales", + "max_salary": "Salario màximo", + "min_salary": "Salario mìnimo", + "msg_available_next_startup": "Esta configuración estará disponible la próxima puesta en marcha", + "msg_clear_cache": "Borrar cache ", + "msg_clear_favorites": "Borrar favoritos", + "msg_copy_to_clipboard": "Copiar al portapapeles", + "msg_database_deleted": "Base de datos eliminada", + "msg_delete_db": "¿Borrar el database local?", + "msg_delete_localstorage": "¿Borrar las configuraciones personales?", + "msg_delete_title": "Quieres", + "msg_download_edition": "Descargando edición...", + "msg_download_retry": "Intento {{retry}} de {{maxRetries}}...", + "msg_empty_category": "En la actualidad, no hay artículos asignados a {{category}}! Pulse para actualizar", + "msg_empty_favorites": "En la actualidad, no hay favoritos!", + "msg_empty_gallery": "La galería está vacía", + "msg_empty_list": "En la actualidad, no existen elementos! Toque para cambiar algunos filtros", + "msg_empty_searches": "Actualmente no hay búsquedas guardadas", + "msg_error_category": "Algo salió mal, intenta volver a abrir la categoría o eliminar la base de datos de la configuración. Toque para actualizar", + "msg_error_list": "Algo salió mal, intenta cambiar algunos filtros", + "msg_error_newspaper": "El periódico está vacío", + "msg_event_over": "el evento ha terminado.", + "msg_exit_application": "Salir de la aplicación?", + "msg_failed": "Falló", + "msg_font_scaling": "¿Quieres mantener esta configuración dentro de la aplicación?", + "msg_font_scaling_title": "Has configurado un tamaño de texto personalizado en tu dispositivo", + "msg_list_no_articles_available_for_category": "Esto no es un error. En la actualidad, no hay artículos asignados a esta categoría!", + "msg_list_no_content": "Ningún contenido actual", + "msg_loading_comments": "Cargando Comentarios...", + "msg_loading_more": "Cargando...", + "msg_new_issue_available_title_edition": "Actualmente estás leyendo {{edition}}", + "msg_new_issue_available_title_edition_date": "Actualmente estás leyendo la edición del {{date}} de {{edition}}", + "msg_new_issue_available": "Ya está disponible una nueva edición, ¿te gustaría cargarla?", + "msg_new_issue_available_edition": "Ya está disponible una nueva edición de {{edition}}, ¿te gustaría cargarla?", + "msg_new_issue_available_date": "Ya está disponible la edición del {{date}} de {{edition}}, ¿te gustaría cargarla?", + "msg_new_issue_available_edition_date": "La edición del {{date}} de {{edition}} ya está disponible, ¿te gustaría cargarla?", + "msg_not_on_latest_issue": "No estás viendo la última edición disponible, ¿te gustaría cargarla ahora?", + "msg_not_on_latest_issue_edition": "No estás viendo la última edición disponible de {{edition}}, ¿te gustaría cargarla ahora?", + "msg_not_on_latest_issue_date": "No estás viendo la última edición disponible, ¿te gustaría cargar la edición del {{date}} ahora?", + "msg_not_on_latest_issue_edition_date": "No estás viendo la última edición disponible, ¿te gustaría cargar la edición del {{date}} de {{edition}} ahora?", + "msg_offline_article_graph": "Para utilizar esta función en modo sin conexión debe haber descargado completamente la edición o algunas imágenes o partes de texto podrìan estar ausentes.", + "msg_offline_issues": "Elija a leer una edición descargado", + "msg_opening_push": "Abrir notificaciones push...", + "msg_pending_purchases": "Completando compras pendientes: {{completed}} de {{total}}", + "msg_reload_publication": "Descargar automáticamente la última edición", + "msg_restore_default_settings": "¿Quieres restaurar la configuración predeterminada de la aplicación?", + "msg_rss_new_articles_available": "{{count}} los nuevos artículos están disponibles", + "msg_rss_no_new_articles_available": "Usted está para arriba-a-fecha de", + "msg_rss_one_new_article_available": "1 nuevo artículo está disponible", + "msg_rss_reload_database": "Nueva base de datos descargados", + "msg_rss_update_error": "Error durante la actualización, compruebe su conexión a internet e inténtelo de nuevo", + "msg_search_empty": "Nada fue buscado", + "msg_search_lite": "Ver resultados en la página", + "msg_search_not_found": "No se ha encontrado ningún artículo con {{text}}", + "msg_sent": "expedido", + "msg_share_unmanaged": "Opción de acciones no gestionada", + "msg_tts_error": "Ocurre un error, vuelva a intentarlo más tarde", + "msg_tts_no_volume": "Aumenta el volumen para escuchar el articulo", + "msg_tts_unsupported": "Idioma no compatible, intente usar la voz predeterminada o compruebe si existe un paquete de idioma personalizado", + "my_home_categories_selected": "{{categories}} categorías seleccionadas para un total de {{articles}} artículos", + "my_location": "Usar mi ubicación", + "network": "Red", + "none": "Ninguna", + "normal": "Normal", + "offline_download_warning": "Esta edición no se descarga completamente. Algunas partes de las páginas pueden aparecer borrosas", + "permission_storage_message": "{{appName}} necesidades de almacenamiento de permiso", + "permission_title": "{{appName}} permiso", + "pj_from_page": "de la página", + "pj_to_page": "a la página", + "pj_continue_to_page": "Continuar a la página", + "pj_continue_to_page_parent": "Página", + "powered_by": "Desarrollado por TECNAVIA", + "powered_by_who": "Powered by {{who}}", + "push_notification": "Notificación de inserción", + "reader_app_text": "Las cuentas o compras hechas fuera de esta app serán administradas por el desarrollador “{{developerName}}”. Tu cuenta de App Store, el método de pago guardado y las prestaciones relacionadas con esta cuenta, tales como la administración de suscripciones y los solicitudes de reembolso, no estarán disponibles. Apple no es responsable de la privacidad ni la seguridad de las transacciones realizadas con este desarrollador.", + "reader_app_title": "Estás a punto de salir de la app y entrar en un sitio web externo. Tus transacciones ya no serán con Apple.", + "salary": "Salario: {{salary}}", + "save_search": "Salvar bùsqueda", + "saved_searches": "Búsquedas guardadas", + "search_term": "Término de la búsqueda", + "select_after_date": "Seleccione después de la fecha de", + "select_my_home_categories": "Elija su favorito categorías de la lista a continuación para personalizar tu {{category}}", + "selected_categories": "Categorías seleccionadas", + "selected_time_range": "Rango de fechas seleccionado", + "settings": "Ajustes", + "settings_allow_font_scaling": "Permitir escala de fuente", + "settings_startup_epaper": "E-Edition", + "settings_startup_rss": "Noticias en vivo", + "settings_startup_choose": "Elige cada vez", + "show": "SHOW", + "sort_by_date": "Ordenar por zona horaria", + "sort_by_name": "Ordenar por AZ", + "sort_by_name_reverse": "Ordenar por ZA", + "sort_by_popularity": "Ordenar por popularidad", + "sort_date_disabled": "Ordenar en fecha deshabilitar", + "start_with": "Empezar con", + "str_custom": "Personalizado", + "str_default_language": "Volver al idioma original", + "str_from": "De", + "str_limit_label": "Número máximo de ediciones almacenadas: {{days}}", + "str_next_week": "La próxima semana", + "str_page": "Página", + "str_search": "Buscar", + "str_search_results": "{{text}} - {{count}} resultados", + "str_special_sections": "Secciones especiales", + "str_this_week": "Esta Semana", + "str_this_weekend": "Este fin de semana", + "str_time_range": "Rango de fechas", + "str_title": "Título", + "str_to": "A", + "str_today": "Hoy", + "str_tomorrow": "Mañana", + "str_translating_article": "Traduciendo artículo...", + "system_error": "Ocurrió un error", + "theme": "Tema", + "title_bottom_sheet": "Acciones", + "title_offline": "Sin conexión a Internet", + "toggle": "PALANCA", + "toggle_layout": "Cambiar diseño", + "toggle_list": "Palanca lista", + "toggle_map": "Mapa de palanca", + "total_events": "Eventos: {{total}}", + "total_favorites": "Favorites: {{total}}", + "total_jobs": "Trabajos: {{total}}", + "total_searches": "Searches: {{total}}", + "tutorial": "Tutorial", + "unknown_salary": "Sueldo desconocido", + "unsave_search": "Eliminar búsqueda guardada", + "version": "Versiòn", + "vertical_job_location_hint": "Selecciona una ubicación", + "vertical_job_text_hint": "Introduzca una palabra clave para la búsqueda", + "user_tip_download_title": "Consejo", + "user_tip_download": "Si desea descargar todas las ediciones para poder leerla sin conexión automáticamente pulse el botón 'Más' -> 'Configuración' -> Seleccione 'Modo wifi' como modo de conexión", + "offline_download_dialog": "¿Quieres descargar toda la edición para poder leerla sin conexión?", + "mobile_network_warning": "Estás conectado a una red móvil en lugar de WiFi", + "msg_operation_completed": "Operación completada", + "msg_ok_delete_db": "Se han eliminado todas las ediciones guardadas.", + "msg_download_rss": "Descargando nuevos artículos...", + "settings_translate": "Traducir artículos a", + "settings_themes": "Tema", + "settings_font_size": "Tamaño de letra", + "settings_graph_size": "Nivel de zoom", + "settings_number_stored_editions": "Max almacenados ediciones", + "settings_restart_from_latest": "Reiniciar de la edición disponible más reciente (min)", + "settings_article_mode": "Modo articulo", + "settings_article_mode_all": "Mostrar todo", + "settings_article_mode_text_and_graphics": "Mostrar articulos textuales y graficos", + "settings_article_mode_only_text": "Mostrar solo los articulos textuales", + "settings_restore_defaults": "Restaurar la configuración predeterminada", + "settings_clear_storage": "Almacenaje vacío", + "settings_back_to_classic": "Vuelve a la versión de la Edición Digital anterior", + "settings_two_fingers_tap_to_article": "Use dos dedos para abrir el modo de artículo", + "settings_single_tap_to_zoom": "Use un solo toque para hacer zoom", + "settings_favorite_edition": "Elige tu edición favorita", + "settings_favorite_edition_default_label": "Última edición disponible", + "reset": "REINICIAR", + "open": "ABIERTO", + "settings_enable_column_view": "Habilitar modo de lectura en columnas", + "settings_navigation_arrows": "Flechas de navegación", + "settings_navigation_arrows_always": "siempre presentes", + "settings_navigation_arrows_disapper": "desaparecen al leer", + "settings_navigation_arrows_never": "nunca presentes", + "general": "Ajustes de Aplicacion", + "settings_translate_original": "Idioma original", + "advance": "{{label}} | Configuraciónes avanzadas", + "send": "ENVIAR", + "btn_feedback": "Feedback", + "return": "REGRESO", + "settings_article_highlight": "Mantener el artículo resaltado cuando el modo artículo está abierto", + "write": "ESCRIBIR", + "btn_continue": "Continuar", + "btn_go_back": "Regresa", + "btn_go_next": "Siguiente", + "btn_go_up": "Nivel anterior", + "action_go_to_settings": "Ir a configuración", + "btn_reload": "Recargar", + "btn_tts": "Alternar texto a voz", + "btn_close_accessibility": "Cerrar el modo de accesibilidad", + "err_module_unavailable": "{{module}} no está disponible en esta aplicación", + "force_crash": "Forzar bloqueo", + "hint_my_home_screen_config": "Para personalizar {{label}}", + "hint_two_fingers_tap": "Para leer un artículo, toque el área del artículo con dos dedos", + "msg_access_reserved": "Acceso reservado a suscriptores", + "msg_already_subscriber": "¿Ya eres suscriptor? Iniciar sesión", + "msg_continue_to_read": "Suscríbete a {{paper}}", + "settings_zoom_level": "Nivel de zoom", + "settings_zoom_level_large": "Grande", + "settings_zoom_level_larger": "Más grande", + "settings_zoom_level_normal": "Normal", + "restart": "Reiniciar", + "str_no_categories": "sin categorías", + "msg_login_overlay_title": "Continuar leyendo", + "msg_download_bundle": "Descargando datos de la aplicación más recientemente ...", + "msg_download_bundle_error": "La descarga del paquete terminó con error, la aplicación intentará actualizar la fecha más tarde", + "msg_press_restart": "Los datos se descargaron correctamente, vuelva a cargar la aplicación para aplicar los cambios", + "voice_back": "atrás", + "voice_what": "que", + "voice_next": "siguiente", + "voice_next_page": "siguiente página", + "voice_previous": "anterior", + "voice_previous_page": "página anterior", + "voice_stop": "para", + "voice_read": "lee", + "voice_close": "cierra", + "voice_up": "arriba", + "voice_down": "abajo", + "voice_select": "selecciona", + "btn_close_car_mode": "Cerrar el modo de coche", + "btn_car_mode": "Modo coche", + "msg_max_share": "Alcanzaste el límite de uso compartido diario para esta edición", + "accessibility_issue_list_header": "Lista de ediciones", + "btn_close_editions": "Cerrar lista de ediciones", + "btn_go_back_article": "Artículo anterior", + "btn_go_next_article": "Siguiente artículo", + "btn_go_back_section": "Sección anterior: {{section}}", + "btn_go_next_section": "Siguiente sección: {{section}}", + "btn_go_up_choose_issue": "Escoger edición", + "btn_go_up_general_index": "Ir al índice general", + "btn_go_up_section": "Ir a la sección {{section}}", + "selected_page": "Página seleccionada {{page}}", + "selected_page_of_index": "Página {{page}} del índice", + "selected_page_of_section": "Página {{page}} de la sección {{section}}", + "msg_entering_section": "Sección de entrada {{section}}", + "hint_restart": "La aplicación se reiniciará para cargar la nueva configuración...", + "hint_update_ui": "La interfaz de usuario se actualizará para cargar nuevas configuraciones, podría ver un parpadeo...", + "msg_simulate_accessibility_title": "Habilitar el modo de accesibilidad", + "msg_simulate_accessibility": "Esta es una simulación de la aplicación cuando {{accessibilityAppName}} está activo.\n • toque dos veces para seleccionar\n • un solo toque o movimiento del dedo para leer el elemento\n • dos dedos para deslizar", + "accessibility": "Accesibilidad", + "msg_screenshots_disabled": "No se permiten capturas de pantalla en esta aplicación.", + "settings_tab_index_mode": "Habilitar diseño con pestañas en modo índice", + "settings_enable_push_notifications": "Habilitar notificaciones automáticas", + "settings_manage_privacy_preferences": "Administrar preferencias de privacidad", + "theme_auto": "Claro/Oscuro Automático", + "theme_light": "Luz", + "theme_dark": "Oscuro", + "str_sort_by": "Ordenar por", + "str_relevance": "Relevancia", + "btn_from": "De", + "btn_to": "A", + "str_date": "Fecha", + "srt_order": "Orden", + "str_byline": "línea de autor", + "str_descending": "Descendente", + "str_ascending": "ascendente", + "str_categories": "Categorías", + "str_select": "Seleccionar...", + "str_advertisement": "Anuncio", + "iap_go_to_subscriptions": "Ir a suscripción", + "iap_multiple_subscriptions": "Múltiples suscripciones", + "iap_multiple_subscriptions_message": "Descubrimos que tiene varias suscripciones activas; desactive las que no necesita. Cuando una suscripción ha sido deshabilitada, se reembolsará.{{subscriptions}}", + "iap_multiple_active_subscriptions_message": "Ya tienes una suscripción activa, ¿te gustaría comprar una nueva de todos modos? {{subscriptions}}", + "settings_title_box": "Mostrar cuadros de título del artículo", + "enable_debug_overlay": "Habilitar debugger", + "disable_debug_overlay": "Deshabilitar el debugger", + "edit_token": "Editar token", + "title_edit_token_confirm": "¿Quieres actualizar el token?", + "msg_edit_token_confirm": "Nuevo valor: \"{{token}}\"", + "uploading": "Cargando...", + "btn_not_sure_yet": "No estoy seguro todavía" +}; +},1955,[]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "action_go_to_category": "Du-te la {{anchor}}", + "action_open_epaper": "Deschide epaper", + "action_open_gallery": "Deschide galeria", + "action_open_link": "Deschide link-ul", + "action_remove_from_favorites": "Eliminare din favorite", + "action_save_for_later": "Salva pentru mai târziu", + "action_share": "Cota", + "action_unknown": "Necunoscut", + "alert_message": "Ești sigur?", + "all": "Toate", + "all_events": "Toate evenimentele", + "all_jobs": "Toate locurile de muncă", + "animation": "Animație", + "animation_action": "Faceți clic pe butonul pentru a schimba animație", + "animation_change": "Animație schimba", + "animation_changed": "Animație schimbat", + "article_count": "{{count}} articole", + "btn_accessibility": "Mod accesibilitate", + "btn_account": "Login", + "btn_advance_filters": "Avans filtre", + "btn_archive": "Arhivă", + "btn_ask_later": "Întreabă-Mă Mai Târziu", + "btn_back": "înapoi", + "btn_cancel": "Anulați", + "btn_close": "Aproape", + "btn_confirm": "Confirma", + "btn_contact": "Contact", + "btn_disable_log_file": "Trimite LOG", + "btn_do_not_show": "Nu Arăta din Nou", + "btn_download": "Descarcă", + "btn_editions": "Ediții noi", + "btn_enable_log_file": "Permite LOG", + "btn_feed": "Știri live", + "btn_fit_page": "Se potrivi", + "btn_g_book": "Răsfoiește", + "btn_go_to_news": "Du-te la știri", + "btn_help": "Ajutor", + "btn_index": "Index", + "btn_link": "Link URL", + "btn_login": "Login", + "btn_logout": "Logout", + "btn_more": "Continuă", + "btn_no": "Nu", + "btn_ok": "OK", + "btn_publications": "Publicații", + "btn_read": "Citit", + "btn_reset": "Reset", + "btn_search": "Căutare", + "btn_set_as_default": "Setează ca implicit", + "btn_settings": "Setari", + "btn_skip": "Skip", + "btn_special_section": "Speciale", + "btn_store": "Salva", + "btn_swipe": "Răsfoiește", + "btn_thumbnail": "Pagini", + "btn_yes": "Da", + "cache_size": "Dimensiunea memoriei Cache", + "card": "Card", + "categories": "Categorii", + "change": "SCHIMBA", + "change_location_hint": "Schimbă locația", + "change_radius": "Selectaţi raza", + "clear": "CLAR", + "clear_cache": "Clear cache", + "clear_favorites": "Clar favorite", + "confirm": "Confirma", + "connection_0": "Modul Roaming", + "connection_0_description": "Ideal atunci când este disponibilă o lățime de bandă limitată. \nVersiunea textuală a ediției este descărcată, imaginile vor fi afișate la rezoluție foarte mică.", + "connection_1": "Modul online", + "connection_1_description": "Ideal când este conectat la internet. \nDoar paginile vizualizate sunt descărcate și disponibile pentru citire offline.", + "connection_2": "Offline-läge:", + "connection_2_description": "Descarcă automat întreaga ediție la pornire pentru citire offline.", + "counter": "{{current}} {{total}}", + "custom_location": "Judet", + "database": "Baza de date", + "database_deleted": "Baza de date șterse", + "default_search": "Căutare implicită", + "dialog_location_message": "Vom utiliza locația dvs. pentru a afișa în cazul în care vă aflați pe hartă", + "dialog_location_title": "Avem nevoie de acces la locația dvs.", + "disabled": "Dezactivate", + "enabled": "Activat", + "err_change_animation": "De eroare pentru a schimba animație", + "err_clear_cache": "Eroare la cache clar", + "err_clear_database": "De eroare pentru a șterge baza de date", + "err_clear_favorites": "Eroare la favorite clare", + "err_download_psetup": "Eroare în timpul descărcării de bază configurații", + "err_internet_connection": "Nu se putea conecta la server de aplicații. Vă rugăm să vă asigurați că aveți conexiune la internet și încercați din nou.", + "err_max_min": "Invalid filtru, min trebuie să fie mai mică decât max", + "err_retrieve_cache": "De eroare pentru a prelua cache", + "err_retrieve_favorites": "De eroare pentru a prelua favorite", + "err_translation": "Traducerea nu este disponibilă", + "err_translation_offline": "Traducerea nu este disponibilă offline", + "error_on_load_more": "Eroare atunci când încearcă să-încărcare mai multe elemente", + "fast": "Rapid", + "favorites": "Favorite", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_msg_ask_for_feedback": "Există ceva ce putem face pentru a ajuta?", + "feedback_title_request_feedback": "Te bucuri de timpul tău cu Aplicația?", + "feedback_title_request_review_feedback": "Mă bucur să aud! Doriți să lăsați un comentariu sau evaluare?", + "filter_max": "Max", + "filter_min": "Min", + "filter_text": "Scrie textul aici", + "font_extra_large": "Foarte mare", + "font_extra_small": "Extra mic", + "font_large": "Mare", + "font_normal": "Normal", + "font_scale": "Scară Font", + "font_small": "Mici", + "from_most_recent": "Din cele mai recente", + "from_oldest": "Din cele mai vechi", + "gmc_default_text": "O nouă emisiune este disponibil. Apăsați aici pentru a citi!", + "gmc_message_text": "{{issue}} ziar este acum disponibil. Apăsați aici pentru a citi!", + "grid": "Grila", + "grid_list": "grid/listă", + "home": "Acasă", + "label_exit_accessibility_mode": "Ieșiți din modul de accesibilitate", + "label_open_browser": "Deschis în browser", + "last_search": "Ultima căutare", + "layout": "Layout", + "learn_more": "Aflați mai multe", + "list": "Lista", + "loading": "Loading...", + "local_events": "Evenimente locale:", + "max_salary": "Max. salariu", + "min_salary": "Min. salariu", + "msg_available_next_startup": "Această configurație va fi disponibilă pentru lansarea următoare", + "msg_clear_cache": "Clear cache", + "msg_clear_favorites": "Șterge favorite", + "msg_copy_to_clipboard": "Copiați în clipboard", + "msg_database_deleted": "Ștergeți baza de date", + "msg_delete_db": "Ștergeți datele bazei de date?", + "msg_delete_localstorage": "Ștergeți setările personale?", + "msg_delete_title": "vrei sa", + "msg_download_edition": "Descărcând ediția...", + "msg_download_retry": "Încercați {{retry}} din {{maxRetries}}...", + "msg_empty_category": "În prezent, nu există articole atribuite {{category}}! Atingeți pentru a reîmprospăta", + "msg_empty_favorites": "În prezent, nu există favorite!", + "msg_empty_gallery": "Clic galerie este gol", + "msg_empty_list": "În prezent, nu există elemente! Atingeți pentru a schimba unele filtre", + "msg_empty_searches": "În prezent, nu există căutări salvate", + "msg_error_category": "Ceva a mers prost, încercați să redeschideți categorie sau de a șterge date din setări! Atingeți pentru a reîmprospăta", + "msg_error_list": "Ceva a mers prost, să încerce să schimbe ceva filtre", + "msg_error_newspaper": "Ziarul este gol", + "msg_event_over": "Evenimentul s-a încheiat.", + "msg_exit_application": "Ieșirea din aplicație?", + "msg_failed": "Nereușit", + "msg_list_no_articles_available_for_category": "Acest lucru nu este o eroare. În prezent, nu există articole atribuite la această categorie!", + "msg_list_no_content": "Nu de conținut curent", + "msg_loading_comments": "Se încarcă comentariile...", + "msg_loading_more": "De încărcare mai mult...", + "msg_new_issue_available_title_edition": "În prezent citiți {{edition}}", + "msg_new_issue_available_title_edition_date": "În prezent, citiți numărul din {{edition}} din {{date}}", + "msg_new_issue_available": "O nouă ediție este acum disponibilă, doriți să o descărcați?", + "msg_new_issue_available_edition": "O nouă ediție a {{edition}} este acum disponibilă. Doriți să-l încărcați?", + "msg_new_issue_available_date": "Numărul din {{date}} este acum disponibil. Doriți să-l încărcați?", + "msg_new_issue_available_edition_date": "Numărul {{edition}} din {{date}} este acum disponibil. Doriți să-l încărcați?", + "msg_not_on_latest_issue": "Nu vă uitați la cea mai recentă ediție disponibilă. Doriți să îl încărcați acum?", + "msg_not_on_latest_issue_edition": "Nu vedeți cea mai recentă ediție disponibilă a {{edition}}. Doriți să îl încărcați acum?", + "msg_not_on_latest_issue_date": "Nu vă uitați la cea mai recentă ediție disponibilă. Doriți să descărcați numărul din {{date}}?", + "msg_not_on_latest_issue_edition_date": "Nu vă uitați la cea mai recentă ediție disponibilă. Doriți să descărcați numărul {{edition}} din {{date}}?", + "msg_offline_article_graph": "Pentru a utiliza această caracteristică offline, trebuie să fi descărcat ediția completă sau unele imagini pot lipsi.", + "msg_offline_issues": "Selectați o ediție descărcată pentru a citi", + "msg_opening_push": "Deschiderea notificărilor push...", + "msg_pending_purchases": "Finalizarea achizițiilor în așteptare: {{completed}} din {{total}}", + "msg_reload_publication": "descărcați automat ultima ediție?", + "msg_restore_default_settings": "Doriți să restaurați setările implicite ale aplicației?", + "msg_rss_new_articles_available": "{{count}} noi articole sunt disponibile", + "msg_rss_no_new_articles_available": "Vă sunt de până-la-data de", + "msg_rss_one_new_article_available": "1 articol nou este disponibil", + "msg_rss_reload_database": "Noua bază de date descărcate", + "msg_rss_update_error": "Eroare in timpul update-ului, verificați conexiunea la internet și încercați din nou", + "msg_search_empty": "Nu s-a căutat nimic", + "msg_search_lite": "Vizualizați rezultatele pe pagina", + "msg_search_not_found": "Nu a fost găsit niciun articol cu {{text}}", + "msg_sent": "Trimis", + "msg_share_unmanaged": "Opțiune pe acțiuni unmanaged", + "msg_tts_error": "Se produce o eroare, Reîncercați mai târziu!", + "msg_tts_no_volume": "Măriți volumul la textul ascuns", + "msg_tts_unsupported": "Limba neacceptată, încercați să folosiți vocea prestabilită sau verificați dacă există un pachet de limbaj personalizat!", + "my_home_categories_selected": "{{categories}} categoriile selectate pentru un total de {{articles}} articole", + "my_location": "Utilizați locația mea", + "network": "Reţea", + "none": "Nici unul", + "normal": "Normal", + "permission_storage_message": "{{appName}} are nevoie de permisiunea de stocare", + "permission_title": "{{appName}} permisiunea", + "pj_from_page": "din pagina", + "pj_to_page": "la pagina", + "pj_continue_to_page": "Continuați cu pagina", + "pj_continue_to_page_parent": "Pagina", + "powered_by": "Traduceți descrierea înapoi în engleză", + "powered_by_who": "Powered by {{who}}", + "push_notification": "Notificare Push", + "reader_app_text": "Orice conturi sau achiziții efectuate în afara acestei aplicații vor fi gestionate de dezvoltatorul {{developerName}}. Contul dvs. App Store, metoda de plată înregistrată și alte funcționalități asociate, precum gestionarea abonamentelor și solicitările de rambursare nu vor fi disponibile. Apple nu este responsabil pentru confidențialitatea sau securitatea tranzacțiilor efectuate cu acest dezvoltator.", + "reader_app_title": "Sunteți pe punctul de a părăsi aplicația și a accesa un site extern. Nu veți mai tranzacționa cu Apple.", + "salary": "Salariu: {{salary}}", + "save_search": "Salva de căutare", + "saved_searches": "Căutări Salvate", + "search_term": "Caută termenul", + "select_after_date": "Selectați după data", + "select_my_home_categories": "Alege categoriile tale preferate din lista de mai jos pentru a personaliza {{category}}", + "selected_categories": "Categorii selectate", + "selected_time_range": "Interval de date selectat", + "settings": "Setări", + "settings_allow_font_scaling": "Permite scalarea fonturilor", + "settings_startup_epaper": "E-Edition", + "settings_startup_rss": "Live News", + "settings_startup_choose": "Alege de fiecare dată", + "show": "SHOW", + "sort_by_date": "Sortare după dată", + "sort_by_name": "Sortează după A-Z", + "sort_by_name_reverse": "Sortează după Z-A", + "sort_by_popularity": "Sortare după Popularitate", + "sort_date_disabled": "Sortare pe data dezactiva", + "start_with": "Începe Cu", + "str_custom": "Personalizat", + "str_default_language": "Revenire la limba originală", + "str_from": "De la", + "str_limit_label": "Număr de ediții stocate: {{days}}", + "str_next_week": "saptamana viitoare", + "str_page": "Pagina", + "str_search": "Căutare", + "str_search_results": "{{text}} - {{count}} rezultate", + "str_special_sections": "Secțiuni speciale", + "str_this_week": "Săptămâna aceasta", + "str_this_weekend": "Weekendul ăsta", + "str_time_range": "Interval dată", + "str_title": "Titlu", + "str_to": "Catre", + "str_today": "Astăzi", + "str_tomorrow": "Mâine", + "str_translating_article": "Traducerea articolului...", + "system_error": "A apărut o eroare", + "title_bottom_sheet": "Acțiunile", + "title_offline": "Fără conexiune internet", + "toggle": "COMUTARE", + "toggle_layout": "Comutare aspect", + "toggle_list": "Comuta lista", + "toggle_map": "Comutare hartă", + "total_events": "Evenimente: {{total}}", + "total_favorites": "Favorite: {{total}}", + "total_jobs": "Locuri de munca: {{total}}", + "total_searches": "Căutări: {{total}}", + "tutorial": "Tutorial", + "unknown_salary": "Necunoscut Salariu", + "unsave_search": "Elimina salvat de căutare", + "version": "Versiune", + "vertical_job_location_hint": "Selectați o locație", + "vertical_job_text_hint": "Introduceți un cuvânt cheie pentru căutare", + "mobile_network_warning": "Sunteți conectat la o rețea mobilă în loc de WiFi", + "msg_operation_completed": "Operațiunea finalizată", + "msg_ok_delete_db": "Toate edițiile salvate au fost șterse", + "msg_download_rss": "Se descarcă articole noi...", + "settings_translate": "Traduceți articole în", + "settings_themes": "Temă", + "settings_graph_size": "Nivel de zoom", + "settings_number_stored_editions": "Numărul de ediții de stocat", + "settings_restart_from_latest": "Reporniți de la cea mai recentă ediție (min)", + "settings_article_mode": "Mod articol", + "settings_article_mode_all": "Arata tot", + "settings_article_mode_text_and_graphics": "Afișați articole și grafică", + "settings_article_mode_only_text": "Afișați numai articole", + "settings_restore_defaults": "Restabilește setările implicite", + "settings_clear_storage": "Spațiu de depozitare liber", + "settings_back_to_classic": "Reveniți la ediția clasică", + "settings_two_fingers_tap_to_article": "Atingeți cu două degete pentru a deschide modul articol", + "settings_single_tap_to_zoom": "Folosiți o singură atingere pentru a mări", + "settings_favorite_edition": "Alegeți ediția preferată", + "settings_favorite_edition_default_label": "Ultima ediție disponibilă", + "reset": "RESET", + "open": "DESCHIS", + "settings_enable_column_view": "Activați vizualizarea pe mai multe coloane a articolelor", + "settings_navigation_arrows": "Săgeți de navigare", + "settings_navigation_arrows_always": "mereu prezent", + "settings_navigation_arrows_disapper": "dispar la citire", + "settings_navigation_arrows_never": "niciodată prezent", + "general": "Setările aplicației", + "settings_translate_original": "Limba originală", + "advance": "{{label}} | Setări avansate", + "send": "TRIMITE", + "btn_feedback": "Părere", + "return": "ÎNTOARCERE", + "settings_article_highlight": "Păstrați articolul curent evidențiat când modul articol este deschis", + "write": "SCRIE", + "btn_continue": "Continuați", + "btn_go_back": "Întoarce-te", + "btn_go_next": "Du-te mai departe", + "btn_go_up": "Nivelul anterior", + "btn_reload": "Reîncărcați", + "action_go_to_settings": "Mergi la Setari", + "btn_tts": "Comutați text în vorbire", + "btn_close_accessibility": "Închideți modul de accesibilitate", + "err_module_unavailable": "{{module}} nu este disponibil în această aplicație", + "force_crash": "Prăbușire forțată", + "hint_my_home_screen_config": "Pentru a personaliza {{label}}", + "hint_two_fingers_tap": "Pentru a citi un articol, atingeți zona articolului cu două degete", + "hint_restart": "Aplicația va reporni pentru a încărca noi configurații...", + "hint_update_ui": "Interfața de utilizator se va actualiza pentru a încărca noi setări, este posibil să observați o pâlpâire.", + "msg_access_reserved": "Acces rezervat abonaților", + "msg_already_subscriber": "Ești deja abonat? \nAutentificare", + "msg_continue_to_read": "Abonați-vă la {{paper}}", + "theme": "Temă", + "settings_zoom_level": "Nivel de zoom", + "settings_zoom_level_large": "Mare", + "settings_zoom_level_larger": "Mai mare", + "settings_zoom_level_normal": "Normal", + "restart": "Repornire", + "str_no_categories": "fara categorii", + "msg_login_overlay_title": "Pentru a continua lectura", + "voice_back": "înapoi", + "voice_what": "ce", + "voice_next": "urmatorul", + "voice_next_page": "pagina următoare", + "voice_previous": "anterior", + "voice_previous_page": "pagina anterioară", + "voice_stop": "opriți", + "voice_read": "citește", + "voice_close": "închidere", + "voice_up": "sus", + "voice_down": "jos", + "voice_select": "selectați", + "msg_max_share": "Ați atins limita zilnică de distribuire pentru această ediție", + "accessibility": "Accesibilitate", + "msg_simulate_accessibility_title": "Activați modul de accesibilitate", + "msg_screenshots_disabled": "Capturile de ecran nu sunt permise în această aplicație", + "settings_tab_index_mode": "Activați aspectul filei în modul index", + "settings_enable_push_notifications": "Activați notificările push", + "settings_manage_privacy_preferences": "Gestionați preferințele de confidențialitate", + "theme_auto": "Lumină/Întuneric automat", + "theme_light": "Ușoară", + "theme_dark": "Întuneric", + "str_sort_by": "Filtrează după", + "str_relevance": "Relevanţă", + "btn_from": "Din", + "btn_to": "La", + "str_date": "Data", + "srt_order": "Ordin", + "str_byline": "Byline", + "str_descending": "Descendentă", + "str_ascending": "Ascendent", + "str_categories": "Categorii", + "str_select": "Selectați...", + "str_advertisement": "Publicitate", + "iap_go_to_subscriptions": "Accesați Abonament", + "iap_multiple_subscriptions": "Abonamente multiple", + "iap_multiple_subscriptions_message": "Am descoperit că aveți mai multe abonamente active, vă rugăm să dezactivați-le pe cele de care nu aveți nevoie. Când un abonament a fost dezactivat, acesta va fi rambursat.{{subscriptions}}", + "iap_multiple_active_subscriptions_message": "Aveți deja un abonament activ, oricum doriți să cumpărați unul nou? {{subscriptions}}", + "settings_title_box": "Afișați casetele cu titlul articolului", + "enable_debug_overlay": "Activați depanatorul", + "disable_debug_overlay": "Dezactivați depanatorul", + "edit_token": "Editați token", + "title_edit_token_confirm": "Doriți să actualizați token?", + "msg_edit_token_confirm": "Valoare nouă: \"{{token}}\"", + "uploading": "Se încarcă...", + "btn_not_sure_yet": "Încă nu sunt sigur" +}; +},1956,[]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "action_go_to_category": "Pojdi na {{anchor}}", + "action_open_epaper": "Odpri časopis", + "action_open_gallery": "Odpri galerijo", + "action_open_link": "Sledi povezavi", + "action_remove_from_favorites": "Odstrani iz priljubljenih", + "action_save_for_later": "Shrani za pozneje", + "action_share": "Deli", + "action_unknown": "Neznano", + "alert_message": "Ste prepričani?", + "all": "Vse", + "all_events": "Vsi dogodki", + "all_jobs": "Vsa delovna mesta", + "animation": "Animacija", + "animation_action": "Kliknitete za spremembo", + "animation_change": "Sprememba animacije", + "animation_changed": "Animacija spremenjena", + "article_count": "{{count}} člankov", + "btn_accessibility": "Način dostopanja", + "btn_car_mode": "Avtomobilski način", + "btn_account": "Račun", + "btn_add_event": "Dodaj dogodek", + "btn_advance_filters": "Napredni filtri", + "btn_archive": "Arhiv", + "btn_ask_later": "Vprašaj me pozneje", + "btn_back": "Nazaj", + "btn_continue": "Nadaljuj", + "btn_cancel": "Prekliči", + "btn_close": "Zapri", + "btn_confirm": "Potrdite", + "btn_contact": "Pišite na", + "btn_disable_log_file": "Pošlji LOG", + "btn_do_not_show": "Ne prikazati znova", + "btn_download": "Brez povezave", + "btn_editions": "Izdaje", + "btn_enable_log_file": "Omogočite LOG", + "btn_feed": "Novice v živo", + "btn_feedback": "Povratne informacije", + "btn_fit_page": "Fit", + "btn_g_book": "Brskaj", + "btn_go_to_news": "Pojdi na novice", + "btn_help": "Pomoč", + "btn_index": "Kazalo", + "btn_link": "Povezava", + "btn_login": "Prijava", + "btn_logout": "Odjava", + "btn_more": "Več", + "btn_no": "Ne", + "btn_ok": "V REDU", + "btn_reload": "Ponovno naložite", + "btn_publications": "Publikacije", + "btn_read": "Preberite", + "btn_reset": "Ponastavitev", + "btn_search": "Iskanje", + "btn_set_as_default": "Nastavite kot privzeto", + "btn_settings": "Nastavitve", + "btn_skip": "Preskoči", + "btn_special_section": "Posebnosti", + "btn_store": "Shranjevanje", + "btn_swipe": "Podrsajte", + "btn_thumbnail": "Strani", + "btn_yes": "Da", + "btn_go_back": "Pojdi nazaj", + "btn_go_back_article": "Prejšnji članek {{index}}", + "btn_go_back_section": "Prejšnji razdelek: {{section}}", + "btn_go_next": "Pojdi na naslednjega", + "btn_go_next_article": "Naslednji članek {{index}}", + "btn_go_next_section": "Naslednji razdelek: {{section}}", + "btn_go_up": "Prejšnji nivo", + "btn_go_up_choose_issue": "Izberite vprašanje", + "btn_go_up_general_index": "Pojdi na splošno kazalo", + "btn_go_up_section": "Pojdi na razdelek {{section}}", + "btn_tts": "Preklop Pretvroba besedila v govor", + "btn_close_car_mode": "Zapri avtomobilski način", + "btn_close_accessibility": "Zapri način dostopnosti", + "btn_close_editions": "Zapri seznam vprašanj", + "cache_size": "Velikost predpomnilnika", + "card": "Kartica", + "mixed": "Mešana postavitev", + "categories": "Kategorije", + "labels": "Oznake", + "return": "VRNITEV", + "change": "SPREMEMBA", + "open": "ODPRI", + "reset": "PONASTAVI", + "change_location_hint": "Sprememba lokacije", + "change_radius": "Izberite radius", + "clear": "POČISTIT", + "clear_cache": "Počisti predpomnilnik", + "clear_favorites": "Počisti priljubljene", + "confirm": "Potrdite", + "connection_0": "Način gostovanja", + "connection_0_description": "Optimalno delovanje, če je na voljo omejena pasovna širina. Prenesena je besedilna različica izdaje, slike bodo prikazane v zelo nizki ločljivosti.", + "connection_1": "Spletni način", + "connection_1_description": "Optimalno delovanje z internetno povezavo. Prenesejo se samo ogledane strani, ki so na voljo za branje brez povezave.", + "connection_2": "Način brez povezave", + "connection_2_description": "Ob zagonu samodejno prenese celotno izdajo za branje brez povezave.", + "copy_files": "Kopiranje datotek", + "counter": "{{current}} od {{total}}", + "custom_location": "Lokacija po meri", + "database": "Podatkovna baza", + "database_deleted": "Zbirka podatkov izbrisana", + "default_search": "Privzeto iskanje", + "dialog_location_message": "Vašo lokacijo uporabljamo za prikaz vaše pozicije na zemljevidu", + "dialog_location_title": "Potrebujemo dostop do vaše lokacije", + "disabled": "Onemogočeno", + "enabled": "Omogočeno", + "err_voice_recognition_no_services": "Najdena ni bila nobena nameščena storitev", + "err_voice_recognition_generic": "Nekaj je narobe pri prepoznavanju glasu", + "err_voice_recognition": "Napaka pri prepoznavanju glasu {{message}}", + "err_module_unavailable": "{{module}} ni na voljo v tej aplikaciji", + "err_change_animation": "Napaka pri spreminjanju animacije", + "err_clear_cache": "Napaka pri čiščenju predpomnilnika", + "err_clear_database": "Napaka pri čiščenju podatkovne zbirke", + "err_clear_favorites": "Napaka pri brisanju priljubljenih", + "err_download_edition": "Med prenosom izdaje je prišlo do napake", + "err_download_edition_db": "Med prenosom podatkovne zbirke izdaje je prišlo do napake", + "err_download_psetup": "Napaka med prenosom osnovnih konfiguracij", + "err_internet_connection": "Povezava z strežnikom aplikacij ni mogoča. Prepričajte se, da je vse v redu z vašo internetno povezavo, in poskusite znova.", + "err_max_min": "Neustrezni filter, kriterij 'min' mora biti manjši od 'max'", + "err_offline": "Zunanja vsebina ni na voljo brez povezave", + "err_reset_notification_email": "Ponastavite e-poštno sporočilo z obvestilom", + "err_retrieve_cache": "Napaka pri pridobivanju predpomnilnika", + "err_retrieve_favorites": "Napaka pri pridobivanju priljubljenih vsebin", + "err_translation": "Prevod ni na voljo", + "err_translation_offline": "Prevod ni na voljo brez povezave", + "error_on_load_more": "Napaka pri poskusu nalaganja več elementov", + "fast": "Hitro", + "favorites": "Priljubljene", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_email_subject": "Povratne informacije za {{who}}", + "feedback_msg_ask_for_feedback": "Ali vam lahko kako pomagamo?", + "feedback_title_request_feedback": "Ali vam je aplikacija všeč?", + "feedback_title_request_review_feedback": "Odziv nas veseli! Bi rad posredoval komentar ali oceno?", + "filter_max": "Max", + "filter_min": "Min", + "filter_text": "Besedilo vpišite sem", + "font_extra_large": "Zelo velik", + "font_extra_small": "Zelo majhen", + "font_large": "Veliko", + "font_normal": "Normalno", + "font_scale": "Lestvica pisav", + "font_small": "Majhna", + "force_crash": "Zrušitev sistema", + "force_sublayout": "VSILJEN PODSTIL POSTAVITVE", + "from_most_recent": "Iz najnovejšega", + "from_oldest": "Od najstarejšega", + "gmc_default_text": "Na voljo je nova številka. Tapnite tukaj za branje!", + "gmc_message_text": "Časopis {{issue}} je zdaj na voljo. Tapnite tukaj za branje!", + "grid": "Mreža", + "grid_list": "Mreža/Seznam", + "hint_two_fingers_tap": "Če želite prebrati članek, se z dvema prstoma tapnite na območje članka", + "home": "Domov", + "label_exit_accessibility_mode": "Izhod iz načina dostopnosti", + "label_open_browser": "Odprite v brskalniku", + "last_search": "Zadnje iskanje", + "layout": "Postavitev", + "learn_more": "Več informacij", + "list": "Seznam", + "uploading": "Nalaganje...", + "loading": "Nalaganje...", + "local_events": "Lokalni dogodki", + "max_salary": "Največja plača", + "min_salary": "Najmanjša plača", + "mobile_network_warning": "Povezani ste z mobilnim omrežjem namesto z omrežjem WiFi", + "msg_entering_section": "Vstopate v razdelek {{section}}", + "msg_available_next_startup": "Ta konfiguracija bo na voljo ob naslednjem zagonu", + "msg_clear_cache": "Počistite predpomnilnik", + "msg_clear_favorites": "Počistite priljubljene", + "msg_copy_to_clipboard": "Kopiraj v odložišče", + "msg_delete_title": "Ali želite", + "msg_delete_db": "Naj izbrišemo podatke iz zbirke?", + "msg_operation_completed": "Operacija je zaključena", + "msg_ok_delete_db": "Vse shranjene izdaje so bile izbrisane", + "msg_delete_localstorage": "Brisanje osebnih nastavitev?", + "msg_database_deleted": "Izbriši zbirko podatkov", + "msg_download_bundle": "Prenos novejših podatkov o aplikacijah...", + "msg_download_bundle_error": "Prenos paketa se zaključi z napako, aplikacija bo poskusila posodobiti datum pozneje", + "msg_press_restart": "Prenos izdaje je bil uspešen, za uporabo sprememb ponovno naložite aplikacijo", + "msg_download_edition": "Prenos izdaje...", + "msg_download_retry": "Poskus {{retry}} od {{maxRetries}}...", + "msg_download_rss": "Prenos novih člankov...", + "msg_empty_category": "Trenutno ni nobenega članka, v kategoriji {{category}}! Tapnite za osvežitev", + "msg_empty_favorites": "Trenutno ni priljubljenih!", + "msg_empty_gallery": "Ta galerija je prazna", + "msg_empty_list": "Trenutno ni elementov! Tapnite za spremembo nekaterih filtrov", + "msg_empty_searches": "Trenutno ni shranjenih iskanj", + "msg_error_category": "Nekaj je šlo narobe, ponovno poskusite odpreti kategorijo ali izbrišite zbirko podatkov iz nastavitev! Tapnite za osvežitev", + "msg_error_list": "Nekaj je šlo narobe, poskusite spremeniti nekatere filtre", + "msg_error_newspaper": "Časopis je prazen", + "msg_event_over": "Dogodek je zaključen.", + "msg_exit_application": "Zapuščate aplikacijo?", + "msg_failed": "Neuspešno", + "msg_font_scaling": "Ali želite za to aplikacijo uporabiti velikost besedila v napravi?", + "msg_font_scaling_title": "Videti je, da imate v napravi nastavljeno velikost besedila po meri", + "msg_list_no_articles_available_for_category": "To ni napaka. Trenutno v tej kategoriji ni nobenih člankov!", + "msg_list_no_content": "Trenutno ni nobene vsebine", + "msg_loading_comments": "Nalaganje komentarjev...", + "msg_loading_more": "Dodatno nalagnje...", + "msg_new_issue_available_title_edition": "Trenutno berete {{edition}}", + "msg_new_issue_available_title_edition_date": "Trenutno berete {{date}} izdajo {{edition}}", + "msg_new_issue_available": "Na voljo je nova izdaja, ali jo želite naložiti?", + "msg_new_issue_available_edition": "Na voljo je nova izdaja {{edition}}, jo želite naložiti?", + "msg_new_issue_available_date": "Na voljo je izdaja {{date}}, jo želite naložiti?", + "msg_new_issue_available_edition_date": "Na voljo je {{date}} izdaja {{edition}}, ali jo želite naložiti?", + "msg_not_on_latest_issue": "Ne prikazujete zadnje razpoložljive izdaje, bi jo radi naložili zdaj?", + "msg_not_on_latest_issue_edition": "Ne ogledujete si zadnje razpoložljive izdaje {{edition}}, si ne ogledujete, jo želite naložiti zdaj?", + "msg_not_on_latest_issue_date": "Ne ogledujete si zadnje razpoložljive izdaje {{date}}, jo želite naložiti?", + "msg_not_on_latest_issue_edition_date": "Ne ogledujete si zadnje razpoložljive izdaje, ali želite naložiti izdajo {{date}} izdaje {{edition}}?", + "msg_notification_email_warning": "Nastavljeno je e-poštno sporočilo z obvestilom, ali želite nadaljevati?", + "msg_offline_article_graph": "Če želite to funkcijo uporabljati brez povezave, morate prenesti celotno izdajo, sicer lahko nekatere slike manjkajo.", + "msg_opening_article": "Odpiranje: {{title}}", + "msg_opening_push": "Odpiranje potisnih obvestil...", + "msg_pending_purchases": "Dokončanje čakajočih nakupov: {{completed}} od {{total}}", + "msg_reload_publication": "Zbirka podatkov izbrisana, samodejno prenesti najnovejšo izdajo?", + "msg_restore_default_settings": "Ali želite obnoviti privzete nastavitve aplikacije?", + "msg_rss_new_articles_available": "Na voljo so {{count}} novi članki", + "msg_rss_no_new_articles_available": "Podatki so posodobljeni", + "msg_rss_one_new_article_available": "Na voljo je 1 nov članek", + "msg_rss_reload_database": "Prenesena nova zbirka podatkov", + "msg_rss_update_error": "Napaka med posodobitvijo, preverite internetno povezavo in poskusite znova", + "msg_search_empty": "Ni bilo iskalne zahteve", + "msg_search_lite": "Oglejte si rezultate na strani", + "msg_search_not_found": "Najden ni bil noben članek s {{text}}", + "msg_zip_not_found": "Poštna številka za vašo lokacijo ni bila najdena", + "msg_screenshots_disabled": "Slike zaslona v tej aplikaciji niso dovoljene", + "msg_sent": "Poslano", + "msg_share_unmanaged": "Možnost souporabe ni upravljana", + "msg_tts_error": "Pojavila se je napaka, poskusite pozneje!", + "msg_tts_no_volume": "Za poslušanje branja besedila zvišajte glasnost", + "msg_tts_unsupported": "Nepodprt jezik, poskusite uporabiti privzeti jezik ali preverite, ali obstaja jezikovni paket po meri!", + "msg_valid_notification_email": "Novo e-poštno sporočilo z obvestilom je pravilno nastavljeno, kliknite 'Ponovni zagon', da bo sprememba učinkovala.", + "msg_reset_notification_email": "E-pošta za obvestila je pravilno ponastavljena, kliknite 'Ponovni zagon', da bo sprememba učinkovala.", + "my_home_categories_selected": "Izbrane so {{categories}} kategorije za skupno {{articles}} člankov", + "my_location": "Uporabi mojo lokacijo", + "network": "Omrežje", + "none": "Noben", + "normal": "Običajno", + "offline_download_dialog": "Želite prenesti celotno izdajo za branje brez povezave?", + "offline_download_warning": "Ta izdaja ni v celoti prenesena. Nekateri deli strani so lahko zamegljeni.", + "paywall_offline_warning": "Ta članek trenutno ni na voljo brez povezave", + "permission_storage_message": "{{appName}} potrebuje dovoljenje za shranjevanje", + "permission_title": "dovoljenje {{appName}}", + "pj_from_page": "s strani", + "pj_to_page": "na stran", + "pj_continue_to_page": "Nadaljuj na stran", + "pj_continue_to_page_parent": "Stran", + "powered_by": "Powered by TECNAVIA", + "powered_by_who": "Powered by {{who}}", + "push_notification": "Potisno obvestilo", + "reader_app_text": "Vse račune ali nakupe zunaj te aplikacije bo upravljal razvijalec '{{developerName}}'. Vaš račun v App Store, shranjen način plačila in povezane funkcije, kot so upravljanje naročnine in zahtevki za vračilo denarja, ne bodo na voljo. Apple ni odgovoren za zasebnost ali varnost transakcij, opravljenih pri tem razvijalcu.", + "reader_app_title": "Zapustili boste aplikacijo in prešli na spletno mesto zunaj aplikacije. Z družbo Apple ne boste več opravljali transakcij.", + "restart": "Ponovni zagon", + "retry": "Ponovite", + "salary": "Plača: {{salary}}", + "save_search": "Shrani iskanje", + "saved_searches": "Shranjena iskanja", + "search_term": "Iskalni izraz", + "select_after_date": "Izberite po datumu", + "select_my_home_categories": "Izberite najljubše kategorije s spodnjega seznama in prilagodite svoje {{category}}", + "selected_categories": "Izbrane kategorije", + "selected_time_range": "Izbrano časovno obdobje", + "settings": "Nastavitve", + "settings_allow_font_scaling": "Omogoči spreminjanje velikosti pisave", + "settings_startup_epaper": "E-izdaja", + "settings_startup_rss": "Novice v živo", + "settings_startup_choose": "Vsakič izberite", + "share_event_url": "http://{{portal}}.cityspark.co/event/{{id}}/*", + "show": "POKAŽI", + "sort_by_date": "Razvrsti po času", + "sort_by_name": "Razvrsti od A do Z", + "sort_by_name_reverse": "Razvrsti od Z do A", + "sort_by_popularity": "Razvrsti po priljubljenosti", + "sort_date_disabled": "Opusti razvrščanje po datumu", + "sponsored_content": "Sponzorirana vsebina", + "start_with": "Začnite z", + "str_custom": "Po meri", + "str_default_language": "Nazaj v izvirni jezik", + "str_description": "Opis:", + "str_editor_picks": "Samo izbori urednika", + "str_free": "Brezplačno", + "str_from": "Od", + "str_id": "ID: {{id}}", + "str_limit_label": "Število izdaj za shranjevanje: {{days}}", + "str_location": "Lokacija:", + "str_next_events": "Naslednji dogodki:", + "str_next_week": "Naslednji teden", + "str_no_categories": "ni kategorij", + "str_not_available": "Ni na voljo", + "str_page": "Stran", + "str_search": "Iskanje", + "str_search_results": "{{text}} - {{count}} rezultati", + "str_special_sections": "Posebne rubrike", + "str_this_week": "Ta teden", + "str_this_weekend": "Ta vikend", + "str_time_range": "Razpon datumov", + "str_title": "Naslov", + "str_to": "Na", + "str_today": "Danes", + "str_tomorrow": "Jutri", + "str_translating_article": "Prevajanje članka...", + "str_published_after_date": "Objavljeno po datumu", + "support_email": "support@tecnavia.com", + "system_error": "Zgodila se je napaka", + "theme": "Tema", + "title_bottom_sheet": "Dejanja", + "title_offline": "Ni internetne povezave", + "toggle": "PREKLAPLJANJE", + "toggle_layout": "Preklapljanje postavitve", + "toggle_list": "Prikaz seznama", + "toggle_map": "Pogled na zemljevid", + "total_events": "Dogodki: {{total}}", + "total_favorites": "Priljubljene: {{total}}", + "total_jobs": "Delovna mesta: {{total}}", + "total_searches": "Shranjena iskanja: {{total}}", + "tutorial": "Vadnica", + "unknown_salary": "Neznana plača", + "unsave_search": "Odstrani shranjeno iskanje", + "user_tip_download_title": "Nasvet za uporabnike", + "user_tip_download": "Če želite samodejno prenesti vse izdaje za branje brez povezave, izberite 'Več' > 'Nastavitve' > 'Brez povezave' kot želeno nastavitev omrežja.", + "version": "Različica", + "vertical_job_location_hint": "Izberite lokacijo", + "vertical_job_text_hint": "Vnesite ključno besedo za iskanje", + "msg_offline_issues": "Izberite izdajo", + "msg_login_overlay_title": "Za nadaljevanje branja", + "msg_access_reserved": "Dostop je rezerviran za naročnike", + "msg_continue_to_read": "Naročite se na {{paper}}", + "msg_already_subscriber": "Ste že naročeni? Prijava", + "settings_translate": "Prevajanje člankov v", + "settings_themes": "Tema", + "settings_font_size": "Velikost pisave", + "settings_graph_size": "Stopnja povečave", + "settings_zoom_level": "Stopnja povečave", + "settings_zoom_level_normal": "Normalno", + "settings_zoom_level_large": "Velika", + "settings_zoom_level_larger": "Večja", + "settings_number_stored_editions": "Število izdaj za shranjevanje", + "settings_restore_defaults": "Obnovitev privzetih nastavitev", + "settings_clear_storage": "Počisti shrambo", + "settings_back_to_classic": "Vrnitev na klasično e-izdajo", + "settings_restart_from_latest": "Ponovni zagon od zadnje izdaje (min)", + "settings_article_mode": "Način članka", + "settings_article_mode_only_text": "Prikaži samo članke", + "settings_article_mode_text_and_graphics": "Prikaži članke in grafike", + "settings_article_mode_all": "Prikaži vse", + "settings_two_fingers_tap_to_article": "Z dotikom dveh prstov odprite način za članke", + "settings_single_tap_to_zoom": "Z enim dotikom povečajte", + "settings_favorite_edition": "Izberite najljubšo izdajo", + "settings_favorite_edition_default_label": "Zadnja razpoložljiva izdaja", + "settings_enable_column_view": "Omogočite prikaz člankov v več stolpcih", + "settings_navigation_arrows": "Navigacijske puščice", + "settings_navigation_arrows_always": "vedno prisotne", + "settings_navigation_arrows_disapper": "med branjem izginejo", + "settings_navigation_arrows_never": "nikoli prisotna", + "settings_article_highlight": "Trenutni članek ohrani poudarjen, ko je odprt način članka", + "general": "Nastavitve aplikacije", + "settings_translate_original": "Izvirni jezik", + "advance": "{{label}} | Dodatne nastavitve", + "send": "POŠLJI", + "debug": "Informacije o napravi", + "write": "NAPISI", + "hint_my_home_screen_config": "Prilagajanje {{label}}", + "action_go_to_settings": "Pojdite v nastavitve", + "hint_restart": "Aplikacija se bo ponovno zagnala, da se naložijo nove konfiguracije...", + "hint_update_ui": "Uporabniški vmesnik se posodablja zaradi nalaganja nastavitev, morda se bo pojavilo utripanje...", + "voice_back": "nazaj", + "voice_what": "kaj", + "voice_next": "naslednji", + "voice_next_page": "naslednja stran", + "voice_previous": "prejšnja", + "voice_previous_page": "prejšnja stran", + "voice_stop": "ustavite", + "voice_read": "preberite", + "voice_close": "zapri", + "voice_up": "navzgor", + "voice_down": "navzdol", + "voice_select": "izberite", + "selected_page_of_section": "izbrana stran {{page}} razdelka {{section}}", + "selected_page_of_index": "sizbrana stran {{page}} kazala", + "msg_max_share": "Dosegli ste dnevno omejitev deljenja za to izdajo", + "selected_page": "izbrana stran {{page}}", + "accessibility_issue_list_header": "Seznam izdaj", + "msg_simulate_accessibility_title": "Omogoči način dostopnosti", + "msg_simulate_accessibility": "To je simulacija aplikacije, ko je aktivna {{accessibilityAppName}}.\n • dvojni dotik za izbiro\n • enojni dotik ali premik prsta za branje elementa\n • dva prsta za poteg", + "accessibility": "Dostopnost", + "iap_multiple_subscriptions": "Več naročnin", + "iap_go_to_subscriptions": "Pojdi na naročninon", + "iap_multiple_subscriptions_message": "Ugotovili smo, da imate več aktivnih naročnin, zato onemogočite tiste, ki jih ne potrebujete. Ko bo naročnina onemogočena, vam bomo vrnili plačano vsoto.{{subscriptions}}", + "iap_multiple_active_subscriptions_message": "Aktivno naročnino že imate, ali bi vseeno radi kupili novo? {{subscriptions}}", + "settings_push_scopes": "Potisni segmenti", + "settings_tab_index_mode": "Omogoči postavitev zavihkov v indeksnem načinu", + "settings_enable_push_notifications": "Omogoči potisna obvestila", + "theme_auto": "Samodejno Svetla/Temna", + "theme_light": "Svetla", + "theme_dark": "Temna", + "str_sort_by": "Razvrsti po", + "str_relevance": "Pomembnosti", + "btn_from": "Od", + "btn_to": "Za", + "str_date": "Datumu", + "srt_order": "Zaporedje", + "str_byline": "Linija avtorja", + "str_descending": "Padajoče", + "str_ascending": "Naraščajoče", + "str_categories": "Sekcijah", + "str_select": "Izberi...", + "str_advertisement": "Oglaševanje", + "settings_title_box": "Pokaži naslovna polja za članke", + "enable_debug_overlay": "Omogoči razhroščevalnik", + "disable_debug_overlay": "Onemogoči razhroščevalnik", + "edit_token": "Uredi token", + "title_edit_token_confirm": "Ali želite posodobiti token?", + "msg_edit_token_confirm": "Nova vrednost: \"{{token}}\"", + "btn_not_sure_yet": "Nisem še prepričan" +}; +},1957,[]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "action_go_to_category": "Gå till {{anchor}}", + "action_open_epaper": "Öppna epaper", + "action_open_gallery": "Öppna galleri", + "action_open_link": "Öppna länk", + "action_remove_from_favorites": "Ta bort från favoriter", + "action_save_for_later": "Spara till senare", + "action_share": "Dela", + "action_unknown": "Okänd", + "alert_message": "Är du säker?", + "all": "Alla", + "all_events": "Alla Evenemang", + "all_jobs": "Alla jobb", + "animation": "Animation", + "animation_action": "Klicka på knappen för att ändra animering", + "animation_change": "Animation ändra", + "animation_changed": "Animation förändrats", + "article_count": "{{count}} artiklar", + "btn_accessibility": "Tillgänglighetsläge", + "btn_account": "Konto", + "btn_add_event": "Lägg till händelse", + "btn_advance_filters": "Förväg filter", + "btn_archive": "Arkivera", + "btn_ask_later": "Fråga Mig Senare", + "btn_back": "Tillbaka", + "btn_cancel": "Avbryt", + "btn_close": "Stäng", + "btn_confirm": "Bekräfta", + "btn_contact": "Kontaktuppgifter", + "btn_disable_log_file": "Skicka LOGGA in", + "btn_do_not_show": "Visa inte Igen", + "btn_download": "Ladda ner", + "btn_editions": "Utgåvor", + "btn_enable_log_file": "Aktivera LOGG", + "btn_feed": "Live nyheter", + "btn_fit_page": "Passa", + "btn_g_book": "Bläddra", + "btn_go_to_news": "Gå till nyheter", + "btn_help": "Hjälp", + "btn_index": "Index", + "btn_link": "Länk", + "btn_login": "Logga in", + "btn_logout": "Logga ut", + "btn_more": "Mer", + "btn_no": "Inga", + "btn_ok": "OK", + "btn_publications": "Publikationer", + "btn_read": "Läsa", + "btn_reset": "Återställ", + "btn_search": "Sök", + "btn_set_as_default": "Sätt som standard", + "btn_settings": "Inställningar", + "btn_skip": "Hoppa över", + "btn_special_section": "Speciella", + "btn_store": "Butik", + "btn_swipe": "Bläddra", + "btn_thumbnail": "Sidor", + "btn_yes": "Ja", + "cache_size": "Cache-storlek", + "card": "Kort", + "categories": "Kategorier", + "labels": "Etiketter", + "change": "ÄNDRA", + "change_location_hint": "Ändra Plats", + "change_radius": "Välj radie", + "clear": "KLART", + "clear_cache": "Rensa cache", + "clear_favorites": "Tydliga favoriter", + "confirm": "Bekräfta", + "connection_0": "Roaming Mode", + "connection_0_description": "Perfekt när begränsad bandbredd är tillgänglig. Textversionen av upplagan laddas ner, bilderna visas i mycket låg upplösning.", + "connection_1": "Online-läge", + "connection_1_description": "Perfekt när du är ansluten till internet. Endast visade sidor laddas ner och är tillgängliga för offline-läsning.", + "connection_2": "Offline-läge", + "connection_2_description": "Offline-läge: hämtar automatiskt hela upplagan vid start för offline läsning.", + "counter": "{{current}} av {{total}}", + "custom_location": "Anpassad plats", + "database": "Databas", + "database_deleted": "Databasen raderas", + "default_search": "Standardsökande", + "dialog_location_message": "Vi använder din position för att visa var du är på kartan", + "dialog_location_title": "Vi behöver åtkomst till din plats", + "disabled": "Funktionshindrade", + "enabled": "Aktiverad", + "err_module_unavailable": "{{module}} inte tillgänglig i den här appen", + "err_change_animation": "Fel att byta animation", + "err_clear_cache": "Fel att rensa cache", + "err_clear_database": "Fel att rensa databasen", + "err_clear_favorites": "Fel att rensa favoriter", + "err_download_edition": "Ett fel inträffade under nedladdningen av upplagan Mais", + "err_download_edition_db": "Ett fel inträffade under nedladdningen av upplagans databas", + "err_download_psetup": "Fel under nerladdningen av bas-konfigurationer", + "err_internet_connection": "Kunde inte ansluta till application server. Vänligen se till att du har internet-anslutning och försök igen.", + "err_max_min": "Ogiltiga filter, min måste vara mindre än max", + "err_offline": "Externt innehåll är inte tillgängligt offline", + "err_reset_notification_email": "Återställ e-postmeddelandet", + "err_retrieve_cache": "Fel för att hämta cache", + "err_retrieve_favorites": "Fel för att hämta favoriter", + "err_translation": "Översättningen är inte tillgänglig", + "err_translation_offline": "Översättningen är inte tillgänglig offline", + "error_on_load_more": "Fel när du försöker att fylla på fler objekt", + "fast": "Snabbt", + "favorites": "Favoriter", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_email_subject": "Feedback för {{who}}", + "feedback_msg_ask_for_feedback": "Är det något vi kan göra för att hjälpa?", + "feedback_title_request_feedback": "Njuter du av din tid med appen?", + "feedback_title_request_review_feedback": "Kul att höra! Skulle du vilja lämna en recension eller betyg?", + "filter_max": "Max", + "filter_min": "Min", + "filter_text": "Skriv din text här", + "font_extra_large": "Extra stor", + "font_extra_small": "Extra liten", + "font_large": "Stor", + "font_normal": "Normal", + "font_scale": "Font Skala", + "font_small": "Stor", + "force_crash": "Force krasch", + "force_sublayout": "FORCE LAYOUT SUB STYLE", + "from_most_recent": "Från den senaste", + "from_oldest": "Från de äldsta", + "gmc_default_text": "En ny fråga är tillgängliga. Tryck här för att läsa!", + "gmc_message_text": "{{issue}} tidningen finns nu tillgänglig. Tryck här för att läsa!", + "grid": "Nätet", + "grid_list": "grid/lista", + "hint_two_fingers_tap": "För att läsa en artikel, tryck på artikelområdet med två fingrar", + "home": "Hem", + "label_exit_accessibility_mode": "Avsluta tillgänglighetsläget", + "label_open_browser": "Öppna i webbläsaren", + "last_search": "Senaste sökning", + "layout": "Layout", + "learn_more": "Läs mer", + "list": "Listan", + "loading": "Laddar...", + "local_events": "Lokala evenemang", + "max_salary": "Max. lön", + "min_salary": "Min. lön", + "mobile_network_warning": "Du är ansluten till ett mobilnätverk istället för WiFi", + "msg_available_next_startup": "Denna konfiguration kommer att finnas tillgänglig nästa start", + "msg_clear_cache": "Rensa cache", + "msg_clear_favorites": "Radera favoriter", + "msg_copy_to_clipboard": "Kopiera till urklipp", + "msg_delete_title": "vill du", + "msg_delete_db": "Radera databasdata?", + "msg_operation_completed": "Driften slutförd", + "msg_ok_delete_db": "Alla sparade utgåvor har tagits bort", + "msg_delete_localstorage": "Rensa personliga inställningar?", + "msg_database_deleted": "Ta bort databas", + "msg_download_edition": "Hämtar upplagan...", + "msg_download_retry": "Försök {{retry}} av {{maxRetries}}...", + "msg_download_rss": "Hämtar nya artiklar...", + "msg_empty_category": "För närvarande finns det inga artiklar som tilldelats{{category}}! Tryck för att uppdatera", + "msg_empty_favorites": "För närvarande finns det inga favoriter!", + "msg_empty_gallery": "Klickat galleri är tomt", + "msg_empty_list": "För närvarande finns det inga element! Tryck för att ändra vissa filter", + "msg_empty_searches": "För närvarande finns inga sparade sökningar", + "msg_error_category": "Något gick fel, försök att öppna kategorin igen eller ta bort databasen från inställningarna! Tryck för att uppdatera", + "msg_error_list": "Något gick fel, försök att ändra några filter", + "msg_error_newspaper": "Tidningen är tom", + "msg_event_over": "Händelsen är över.", + "msg_exit_application": "Att avsluta programmet?", + "msg_failed": "Misslyckad", + "msg_font_scaling": "Vill du tillämpa enhetens textstorlek på det här programmet?", + "msg_font_scaling_title": "Det verkar som om du har en anpassad textstorlek inställd på din enhet", + "msg_list_no_articles_available_for_category": "Detta inte ett fel. Det finns för närvarande inga artiklar har hänförts till denna kategori!", + "msg_list_no_content": "Inga aktuella innehåll", + "msg_loading_comments": "Laddar kommentarer...", + "msg_loading_more": "Laddar upp mer...", + "msg_new_issue_available": "En ny upplaga är nu tillgänglig, vill du ladda den nu?", + "msg_not_on_latest_issue": "Du är inte tittar på senast tillgängliga utgåvan, skulle du vilja läsa det nu?", + "msg_new_issue_available_title_edition": "Du läser för närvarande {{edition}}", + "msg_new_issue_available_title_edition_date": "Du läser för närvarande den {{date}} upplagan av {{edition}}", + "msg_new_issue_available_edition": "En ny upplaga av {{edition}} är nu tillgänglig, vill du ladda den?", + "msg_new_issue_available_date": "Den {{date}} upplagan är nu tillgänglig, vill du ladda den?", + "msg_new_issue_available_edition_date": "Den {{date}} av {{edition}} upplagan är nu tillgänglig, vill du ladda den?", + "msg_not_on_latest_issue_edition": "Du är inte tittar på senast tillgängliga utgåvan av {{edition}}, skulle du vilja läsa det nu?", + "msg_not_on_latest_issue_date": "Du är inte tittar på senast tillgängliga utgåvan, vill du ladda {{date}} upplaga?", + "msg_not_on_latest_issue_edition_date": "Du är inte tittar på senast tillgängliga utgåvan, vill du ladda {{date}} upplagan av {{edition}}?", + "msg_notification_email_warning": "Ett e-postmeddelande har ställts in, vill du fortsätta?", + "msg_offline_article_graph": "För att kunna använda den här funktionen offline måste du ha laddat ner hela upplagan, annars kan vissa bilder saknas.", + "msg_opening_article": "Öppning: {{title}}", + "msg_opening_push": "Öppnar push-aviseringar...", + "msg_pending_purchases": "Slutför väntande köp: {{completed}} av {{total}}", + "msg_reload_publication": "ladda ner den senaste upplagan automatiskt?", + "msg_restore_default_settings": "Vill du återställa standardinställningarna för appen?", + "msg_rss_new_articles_available": "{{count}} nya artiklar finns tillgängliga", + "msg_rss_no_new_articles_available": "Du är up-to-date", + "msg_rss_one_new_article_available": "1 ny artikel tillgänglig", + "msg_rss_reload_database": "Nya databasen laddas ner", + "msg_rss_update_error": "Felmeddelande under uppdateringen ska du kontrollera internetanslutningen och försök igen", + "msg_search_empty": "Inget sökte", + "msg_search_lite": "Visa resultat på sidan", + "msg_search_not_found": "Ingen artikel hittades med {{text}}", + "msg_zip_not_found": "Hittade inte postnummer för din plats", + "msg_sent": "Skickad", + "msg_share_unmanaged": "Share option opåverkad", + "msg_tts_error": "Ett fel uppstår, försök senare!", + "msg_tts_no_volume": "Öka volumen till listad text", + "msg_tts_unsupported": "Språk som inte stöds, försök att använda standardröst eller kontrollera om ett anpassat språkpaket finns!", + "msg_valid_notification_email": "Ny e-postmeddelande är korrekt inställd, klicka på 'Starta om' för att ändringen ska gälla.", + "msg_reset_notification_email": "Meddelande-e-postmeddelandet återställs korrekt, klicka på 'Starta om' för att ändringen ska gälla.", + "my_home_categories_selected": "{{categories}} kategorier som valts för en summa av {{articles}} artiklar", + "my_location": "Använd min plats", + "network": "Nätverk", + "none": "Ingen", + "normal": "Normal", + "offline_download_dialog": "Vill du ladda ner hela upplagan för offline-läsning?", + "offline_download_warning": "Denna utgåva laddas inte ner helt. Vissa delar av sidorna kan se suddiga ut.", + "paywall_offline_warning": "Den här artikeln är för närvarande inte tillgänglig offline", + "permission_storage_message": "{{appName}} behov lagring tillstånd", + "permission_title": "{{appName}} tillstånd", + "pj_from_page": "från sidan", + "pj_to_page": "till sida", + "pj_continue_to_page": "Fortsätt till sidan", + "pj_continue_to_page_parent": "Sidan", + "powered_by": "Drivs av TECNAVIA", + "powered_by_who": "Drivs av {{who}}", + "push_notification": "Push-meddelande", + "restart": "Omstart", + "retry": "Försök igen", + "reader_app_text": "Konton och köp utanför den här appen kommer att hanteras av “{{developerName}}”. Ditt App Store-konto, sparade betalningsmetoder och andra funktioner, som t.ex. prenumerationshantering och begäranden om återbetalningar kommer inte att vara tillgängliga. Apple ansvarar inte för integriteten eller säkerheten för transaktioner med den här utvecklaren.", + "reader_app_title": "Du lämnar nu appen för en extern webbsida. Eventuella transaktioner kommer inte att hanteras av Apple.", + "salary": "Lön: {{salary}}", + "save_search": "Spara sökning", + "saved_searches": "Sparade Sökningar", + "search_term": "Sökterm", + "select_after_date": "Välj efter datum", + "select_my_home_categories": "Välj din favorit kategorier från listan nedan för att anpassa din {{category}}", + "selected_categories": "Valda kategorier", + "selected_time_range": "Valt datumintervall", + "settings": "Inställningar", + "settings_allow_font_scaling": "Tillåt skalskalor", + "settings_startup_epaper": "E-Edition", + "settings_startup_rss": "Live nyheter", + "settings_startup_choose": "Välj varje gång", + "share_event_url": "http://{{portal}}.cityspark.co/event/{{id}}/*", + "show": "VISA", + "sort_by_date": "Sortera efter", + "sort_by_name": "Sortera efter A-Z", + "sort_by_name_reverse": "Sortera efter Z-A", + "sort_by_popularity": "Sortera efter Popularitet", + "sort_date_disabled": "Sortera på datum inaktivera", + "sponsored_content": "Sponsrat innehåll", + "start_with": "Börja Med", + "str_custom": "Anpassad", + "str_default_language": "Återgå till originalspråket", + "str_description": "Beskrivning:", + "str_editor_picks": "Endast redaktörens val", + "str_free": "Fri", + "str_from": "Från", + "str_id": "ID: {{id}}", + "str_limit_label": "Antal utgåvor att lagra:: {{days}}", + "str_location": "Plats:", + "str_next_events": "Nästa händelser:", + "str_next_week": "Nästa vecka", + "str_no_categories": "Inga kategorier", + "str_not_available": "Inte tillgänglig", + "str_page": "Sida", + "str_search": "Sök", + "str_search_results": "{{text}} - {{count}} resultat", + "str_special_sections": "Särskilda avsnitt", + "str_this_week": "Denna vecka", + "str_this_weekend": "Veckoslut", + "str_time_range": "Datumintervall", + "str_title": "Titel", + "str_to": "Till", + "str_today": "Idag", + "str_tomorrow": "Imorgon", + "str_translating_article": "Översätter artikel...", + "str_published_after_date": "Publicerad efter datum", + "support_email": "support@tecnavia.com", + "system_error": "Ett fel uppstod", + "theme": "Tema", + "title_bottom_sheet": "Åtgärder", + "title_offline": "Ingen internetanslutning", + "toggle": "VÄXLA", + "toggle_layout": "Växla layout", + "toggle_list": "Växla lista", + "toggle_map": "Växla karta", + "total_events": "Händelser: {{total}}", + "total_favorites": "Favoriter: {{total}}", + "total_jobs": "Sysselsättning: {{total}}", + "total_searches": "Sökningar: {{total}}", + "tutorial": "Handledning", + "unknown_salary": "Okänd Lön", + "unsave_search": "Ta bort sparade sökningen", + "user_tip_download_title": "Användar Tip", + "user_tip_download": "För att automatiskt ladda ner alla utgåvor för offline-läsning, välj 'Mer'> 'Inställningar'> 'Offline' som din föredragna nätverksinställning", + "version": "Version", + "vertical_job_location_hint": "Välj en plats", + "vertical_job_text_hint": "Ange ett sökord för sökning", + "msg_offline_issues": "Välj en nedladdad utgåva att läsa", + "settings_translate": "Översätt artiklar till", + "settings_themes": "Tema", + "settings_font_size": "Fontstorlek", + "settings_graph_size": "Zoom nivå", + "settings_number_stored_editions": "Maximalt antal problem sparade", + "settings_restart_from_latest": "Starta om från senaste upplagan (min)", + "settings_article_mode": "Artikelläge", + "settings_article_mode_all": "Visa allt", + "settings_clear_storage": "Rensa lagring", + "settings_back_to_classic": "Återgå till Classic e-Edition", + "settings_two_fingers_tap_to_article": "Använd två peka finger för att öppna artikeln läge", + "settings_single_tap_to_zoom": "Använd enda tryck för att zooma", + "settings_favorite_edition": "Välj din favorit edition", + "settings_favorite_edition_default_label": "Sista upplagan tillgänglig", + "reset": "ÅTERSTÄLLA", + "open": "ÖPPEN", + "settings_enable_column_view": "Aktivera flera kolumner läs artiklar", + "settings_navigation_arrows_always": "alltid närvarande", + "settings_navigation_arrows_disapper": "försvinner när du läser", + "settings_navigation_arrows_never": "aldrig närvarande", + "general": "App inställningar", + "settings_translate_original": "Originalspråk", + "advance": "{{label}} | Förhandsinställningar", + "send": "SKICKA", + "btn_feedback": "Respons", + "return": "LÄMNA TILLBAKA", + "settings_article_highlight": "Håll aktuell artikel markerad när artikelläget är öppet", + "write": "SKRIVA", + "btn_continue": "Fortsätt", + "btn_go_back": "Gå tillbaka", + "btn_go_next": "Gå nästa", + "btn_go_up": "Tidigare nivå", + "btn_reload": "Ladda om", + "action_go_to_settings": "Gå till Inställningar", + "btn_tts": "Växla text till tal", + "btn_close_accessibility": "Stäng tillgänglighetsläget", + "hint_my_home_screen_config": "För att anpassa {{label}}", + "hint_restart": "Applikationen kommer att starta om för att ladda nya konfigurationer...", + "hint_update_ui": "Användargränssnittet kommer att uppdateras för att ladda nya inställningar, du kanske märker ett flimmer...", + "msg_access_reserved": "Åtkomst reserverad för prenumeranter", + "msg_already_subscriber": "Är du redan prenumerant? Logga in", + "msg_continue_to_read": "Prenumerera på {{paper}}", + "settings_zoom_level": "Zoomnivå", + "settings_zoom_level_large": "Stor", + "settings_zoom_level_larger": "Större", + "settings_zoom_level_normal": "Vanligt", + "msg_login_overlay_title": "För att fortsätta läsa", + "voice_back": "tillbaka", + "voice_what": "vad", + "voice_next": "nästa", + "voice_next_page": "nästa sida", + "voice_previous": "föregående", + "voice_previous_page": "föregående sida", + "voice_stop": "stopp", + "voice_read": "läs", + "voice_close": "stäng", + "voice_up": "upp", + "voice_down": "ner", + "voice_select": "välj", + "msg_max_share": "Du har nått den dagliga delningsgränsen för den här utgåvan", + "accessibility": "Tillgänglighet", + "msg_simulate_accessibility_title": "Aktivera tillgänglighetsläge", + "msg_screenshots_disabled": "Skärmdumpar är inte tillåtna i denna app", + "settings_tab_index_mode": "Aktivera fliklayout i indexläge", + "settings_enable_push_notifications": "Aktivera push-meddelanden", + "settings_manage_privacy_preferences": "Hantera integritetsinställningar", + "theme_auto": "Automatisk ljus/mörker", + "theme_light": "Ljus", + "theme_dark": "Mörk", + "str_sort_by": "Sortera efter", + "str_relevance": "Relevans", + "btn_from": "Från", + "btn_to": "Till", + "str_date": "Datum", + "srt_order": "Beställa", + "str_byline": "Byline", + "str_descending": "Nedåtgående", + "str_ascending": "Stigande", + "str_categories": "Kategorier", + "str_select": "Välj...", + "str_advertisement": "Annons", + "iap_go_to_subscriptions": "Gå till Prenumeration", + "iap_multiple_subscriptions": "Flera prenumerationer", + "iap_multiple_subscriptions_message": "Vi upptäckte att du har flera aktiva prenumerationer, vänligen inaktivera de du inte behöver. När en prenumeration har inaktiverats kommer den att återbetalas.{{subscriptions}}", + "iap_multiple_active_subscriptions_message": "Du har redan ett aktivt abonnemang, skulle du vilja köpa ett nytt ändå? {{subscriptions}}", + "settings_title_box": "Visa artikelrutor", + "enable_debug_overlay": "Aktivera debugger", + "disable_debug_overlay": "Inaktivera debugger", + "edit_token": "Redigera token", + "title_edit_token_confirm": "Vill du uppdatera token?", + "msg_edit_token_confirm": "Nytt värde: \"{{token}}\"", + "uploading": "Laddar upp...", + "btn_not_sure_yet": "Inte säker än" +}; +},1958,[]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "action_go_to_category": "Vai para {{anchor}}", + "action_open_epaper": "Abrir epaper", + "action_open_gallery": "Abrir Galeria", + "action_open_link": "Abrir link", + "action_remove_from_favorites": "Remover dos favoritos", + "action_save_for_later": "Guardar para depois", + "action_share": "Partilhar", + "action_unknown": "Desconhecido", + "alert_message": "Tem a certeza?", + "all": "Toda", + "all_events": "Todos eventos", + "all_jobs": "Todos os Empregos", + "animation": "Animação", + "animation_action": "Clique no botão para mudar a animação", + "animation_change": "Mudar de animação", + "animation_changed": "Animação alterada", + "article_count": "{{count}} artigos", + "btn_accessibility": "Modo acessibilidade", + "btn_account": "Login", + "btn_advance_filters": "Filtros avançados", + "btn_archive": "Arquivo", + "btn_ask_later": "Pergunta-me depois", + "btn_back": "Voltar", + "btn_cancel": "Cancelar", + "btn_close": "Fechar", + "btn_confirm": "Confirmar", + "btn_contact": "Contacto", + "btn_disable_log_file": "Enviar LOG", + "btn_do_not_show": "Não mostrar novamente", + "btn_download": "Descarregar", + "btn_editions": "Edições", + "btn_enable_log_file": "Ativar LOG", + "btn_feed": "Notícias ao vivo", + "btn_fit_page": "Ajustar", + "btn_g_book": "Percorrer", + "btn_go_to_news": "Vai a Notícias", + "btn_help": "Ajuda", + "btn_index": "Índice", + "btn_link": "Link", + "btn_login": "Login", + "btn_logout": "Logout", + "btn_more": "Mais", + "btn_no": "Não", + "btn_ok": "Ok", + "btn_publications": "Publicações", + "btn_read": "Lê", + "btn_reset": "Reiniciar", + "btn_search": "Pesquisa", + "btn_set_as_default": "Selecionar como padrão", + "btn_settings": "Configurações", + "btn_skip": "Saltar", + "btn_special_section": "Especial", + "btn_store": "Loja", + "btn_swipe": "Percorrer", + "btn_thumbnail": "Páginas", + "btn_yes": "Sim", + "cache_size": "Tamanho da Cache", + "card": "Cartão", + "categories": "Categorias", + "change": "ALTERAR", + "change_location_hint": "Alterar Localização", + "change_radius": "Selecionar Raio", + "clear": "LIMPAR", + "clear_cache": "Limpar cache", + "clear_favorites": "Limpar favoritos", + "confirm": "Confirmar", + "connection_0": "Modalidade Roaming", + "connection_0_description": "Ideal quando tem largura de banda limitada. Texto é descarregado, imagens são descarregadas com resolução baixa.", + "connection_1": "Modalidade Online", + "connection_1_description": "Ideal quando ligado á internet.Só páginas visualizadas são descarregadas e estarão disponíveis em modalidade offline.", + "connection_2": "Modalidade Offline", + "connection_2_description": "Modalidade Offline: Descarrega automaticamente a edição inteira no arranque para leitura offline.", + "counter": "{{current}} de {{total}}", + "custom_location": "Localização personalizada", + "database": "Base de dados", + "database_deleted": "Base de dados eliminado", + "default_search": "Pesquisa padrão", + "dialog_location_message": "Usamos a sua localização para mostrar onde está no mapa", + "dialog_location_title": "Precisamos de aceder à sua localização", + "disabled": "Desativado", + "enabled": "Ativado", + "err_change_animation": "Erro ao alterar animação", + "err_clear_cache": "Erro ao limpar cache", + "err_clear_database": "Erro ao limpar base de dados", + "err_clear_favorites": "Erro ao limpar favoritos", + "err_download_psetup": "Erro durante o download de configurações base", + "err_internet_connection": "Não foi possível conectar-se ao servidor de aplicativos. Por favor, verifique se tem uma ligação á Internet e tente novamente.", + "err_max_min": "Filtro inválido, min deve ser menor que max", + "err_offline": "Não disponível offline", + "err_retrieve_cache": "Erro ao recuperar o cache ", + "err_retrieve_favorites": "Erro ao recuperar favoritos", + "err_translation": "Tradução não disponível", + "err_translation_offline": "Tradução não disponível offline", + "error_on_load_more": "Erro ao tentar carregar mais itens", + "fast": "Rápido", + "favorites": "Favoritos", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_msg_ask_for_feedback": "Existe alguma coisa que possamos fazer para ajudar?", + "feedback_title_request_feedback": "Está a gostar desta aplicação?", + "feedback_title_request_review_feedback": "Ficamos felizes em saber! Gostaria de deixar uma crítica ou classificação?", + "filter_max": "Max", + "filter_min": "Min", + "filter_text": "Escreva texto aqui", + "font_extra_large": "Extra grande", + "font_extra_small": "Extra pequeno", + "font_large": "Grande", + "font_normal": "Normal", + "font_scale": "Tamanho da fonte", + "font_small": "Pequeno", + "from_most_recent": "Do mais recente", + "from_oldest": "Do mais antigo", + "gmc_default_text": "Uma nova edição está disponível. Clique aqui para ler!", + "gmc_message_text": "O {{issue}} do jornal está disponível. Clique aqui para ler!", + "grid": "Grelha", + "grid_list": "Grelha/Lista", + "home": "Home", + "label_exit_accessibility_mode": "Sair do modo de acessibilidade", + "label_open_browser": "Abra no navegador", + "last_search": "Última Procura", + "layout": "Layout", + "learn_more": "Saiba mais", + "list": "Lista", + "loading": "A carregar...", + "local_events": "Eventos Locais", + "max_salary": "Salário máximo", + "min_salary": "Salário mínimo", + "msg_available_next_startup": "Esta configuração estará disponível na próxima sessão", + "msg_clear_cache": "Limpar cache", + "msg_clear_favorites": "Eliminar favoritos", + "msg_copy_to_clipboard": "Copiar par clipboard", + "msg_database_deleted": "Eliminar base de dados", + "msg_delete_db": "Eliminar a base de dados local?", + "msg_delete_localstorage": "Eliminar configurações pessoais?", + "msg_delete_title": "Você quer", + "msg_download_edition": "Fazendo download da edição...", + "msg_download_retry": "Tentativa {{retry}} de {{maxRetries}}...", + "msg_empty_category": "Atualmente, não há artigos atribuídos a {{category}}! Clique para atualizar", + "msg_empty_favorites": "Atualmente, não há favoritos!", + "msg_empty_gallery": "A galeria clicada está vazia", + "msg_empty_list": "Atualmente, não há elementos! Clique para alterar alguns filtros", + "msg_empty_searches": "Atualmente, não há pesquisas guardadas", + "msg_error_category": "Algo deu errado, tente reabrir a categoria ou eliminar a base de dados atrvés das definições! Clique para atualizar", + "msg_error_list": "Algo deu errado, tente mudar alguns filtros", + "msg_error_newspaper": "O jornal está vazio", + "msg_event_over": "o evento acabou", + "msg_exit_application": "Sair da aplicação?", + "msg_failed": "Falhada", + "msg_list_no_articles_available_for_category": "Isso não é um erro. Atualmente, não há artigos atribuídos a esta categoria!", + "msg_list_no_content": "Nenhum conteúdo atual", + "msg_loading_comments": "Carregando comentários...", + "msg_loading_more": "Carregar mais...", + "msg_new_issue_available_title_edition": "Está actualmente a ler {{edition}}", + "msg_new_issue_available_title_edition_date": "Está actualmente a ler a edição {{date}} de {{edition}}", + "msg_new_issue_available": "Uma nova edição está agora disponível, gostaria de a carregar?", + "msg_new_issue_available_edition": "Uma nova edição de {{edition}} está agora disponível, gostaria de a carregar?", + "msg_new_issue_available_date": "A edição de {{date}} está agora disponível, gostaria de a carregar?", + "msg_new_issue_available_edition_date": "A edição de {{date}} de {{edition}} está agora disponível, gostaria de a carregar?", + "msg_not_on_latest_issue": "Não está a ver a última edição disponível, gostaria de a carregar agora?", + "msg_not_on_latest_issue_edition": "Não está a ver a última edição disponível de {{edition}}, gostaria de carregá-la agora?", + "msg_not_on_latest_issue_date": "Não está a ver a última edição disponível, gostaria de carregar a edição de {{date}}?", + "msg_not_on_latest_issue_edition_date": "Não está a ver a última edição disponível, gostaria de carregar a edição {{date}} de {{edition}}?", + "msg_offline_article_graph": "Para utilizar esta função em offline deverà ter descarregado a edição completa enquanto ou algumas imagens ou textos poderão faltar", + "msg_offline_issues": "Seleciona uma edição para ler", + "msg_opening_push": "Abrindo notificações push...", + "msg_pending_purchases": "Concluindo compras pendentes: {{completed}} de {{total}}", + "msg_reload_publication": "descarregar automaticamente a última edição", + "msg_restore_default_settings": "Quer restaurar as configurações padrão?", + "msg_rss_new_articles_available": "{{count}} novos artigos estão disponíveis", + "msg_rss_no_new_articles_available": "Você está atualizado", + "msg_rss_one_new_article_available": "1 novo artigo disponível", + "msg_rss_reload_database": "Nova base de dados carregada", + "msg_rss_update_error": "Erro durante a atualização, verifique sua ligação Internet e tente novamente", + "msg_search_empty": "Nada foi pesquisado", + "msg_search_lite": "Ver resultados na página", + "msg_search_not_found": "Nenhum artigo encontrado com {{text}}", + "msg_sent": "Enviado", + "msg_share_unmanaged": "Opção de compartilhamento não suportada", + "msg_tts_error": "Ocorreu um erro durante o inicio da leitura. Tente mais tarde!", + "msg_tts_no_volume": "Aumentar volument para texto", + "msg_tts_unsupported": "Língua não suportada, tente ler com a voz de default ou verifique se existe outro pacote de voz", + "my_home_categories_selected": "{{categories}} categorias selecionadas para um total de {{articles}} artigos", + "my_location": "Use a minha localização", + "network": "Rede", + "none": "Nenhum", + "normal": "Normal", + "pj_from_page": "da página", + "pj_to_page": "até à página", + "pj_continue_to_page": "Continue para a página", + "pj_continue_to_page_parent": "Página", + "permission_storage_message": "{{appName}} precisa de permissão de armazenamento", + "permission_title": "{{appName}} permissão", + "powered_by": "Powered by TECNAVIA", + "powered_by_who": "Powered by {{who}}", + "push_notification": "Notificação", + "reader_app_text": "Quaisquer contas ou compras efetuadas fora desta app serão geridas pelo programador {{developerName}}. A sua conta da App Store, o método de pagamento armazenado e as funcionalidades relacionadas, tais como a gestão de assinaturas e os pedidos de reembolso, não estarão disponíveis. A Apple não é responsável pela privacidade e segurança das transações efetuadas com este programador.", + "reader_app_title": "Está prestes a sair da app e a ir para um site externo. Deixará de efetuar transações com a Apple.", + "salary": "Salário: {{salary}}", + "save_search": "Guardar pesquisa", + "saved_searches": "Pesquisas guardadas", + "search_term": "Pesquisar Termo", + "select_after_date": "Selecione após a data", + "select_my_home_categories": "Escolha suas categorias favoritas na lista abaixo para personalizar a sua {{category}}", + "selected_categories": "Categorias selecionadas", + "selected_time_range": "Período selecionado", + "settings": "Definições", + "settings_allow_font_scaling": "Permitir escala de fonte", + "settings_startup_epaper": "E-Edition", + "settings_startup_rss": "Live News", + "settings_startup_choose": "Escolha cada vez", + "show": "MOSTRAR", + "sort_by_date": "Ordenar por", + "sort_by_name": "Classificar por A-Z", + "sort_by_name_reverse": "Classificar por Z-A", + "sort_by_popularity": "Ordenar por Popularidade", + "sort_date_disabled": "Ordenar na data desabilitado", + "start_with": "Começar com", + "str_custom": "Personalizadas", + "str_default_language": "Retornar ao idioma original", + "str_from": "De", + "str_limit_label": "Número de edições para armazenar: {{days}}", + "str_next_week": "Semana seguinte", + "str_page": "Página", + "str_search": "Pesquisar", + "str_search_results": "Resultados de {{text}} - {{count}}", + "str_special_sections": "Seções especiais", + "str_this_week": "Uma semana", + "str_this_weekend": "Este fim de semana", + "str_time_range": "Intervalo de datas", + "str_title": "Título", + "str_to": "Para", + "str_today": "Hoje", + "str_tomorrow": "Amanhã", + "str_translating_article": "Traduzindo artigo...", + "system_error": "Ocorreu um erro", + "theme": "Tema", + "title_bottom_sheet": "Ações", + "title_offline": "Sem conexão com a Internet", + "toggle": "TOGGLE", + "toggle_layout": "Toggle layout", + "toggle_list": "Toggle lista", + "toggle_map": "Toggle mapa", + "total_events": "Eventos: {{total}}", + "total_favorites": "Favoritos: {{total}}", + "total_jobs": "Empregos: {{total}}", + "total_searches": "Pesquisas: {{total}}", + "tutorial": "Tutorial", + "unknown_salary": "Salário Desconhecido", + "unsave_search": "Remover pesquisa guardada", + "version": "Versão", + "vertical_job_location_hint": "Selecione um local", + "vertical_job_text_hint": "Insira uma palavra-chave para pesquisa", + "offline_download_warning": "Esta edição não é totalmente baixado. Algumas partes das páginas pode parecer desfocada.", + "offline_download_dialog": "Quer descarregar a edição completa para leitura offline?", + "user_tip_download_title": "Dica do Utilizador", + "user_tip_download": "Para descarregar automaticamente todas as edições para leitura offline, seleccione 'Opções' > 'Definições' > 'Offline' como a sua configuração de rede preferida", + "mobile_network_warning": "Está ligado a uma rede móvel em vez de WiFi", + "msg_operation_completed": "Operação concluída", + "msg_ok_delete_db": "Todas as edições guardadas foram eliminadas", + "msg_font_scaling": "Quer manter este parâmetro dentro desta aplicação?", + "msg_font_scaling_title": "Definiu um tamanho de texto personalizado no seu dispositivo", + "msg_download_rss": "Baixando novos artigos...", + "settings_translate": "Traduzir o artigo em", + "settings_themes": "Tema", + "settings_font_size": "Tamanho dos caracteres", + "settings_graph_size": "Nível de zoom", + "settings_number_stored_editions": "Número máximo de edições guardadas", + "settings_restart_from_latest": "Reiniciar da última edição disponível (min)", + "settings_article_mode": "Modo artigo", + "settings_article_mode_all": "Mostrar tudo", + "settings_article_mode_text_and_graphics": "Mostrar artigos e gráficos", + "settings_article_mode_only_text": "Mostrar apenas artigos", + "settings_restore_defaults": "Restaurar configurações", + "settings_clear_storage": "Limpar dados", + "settings_back_to_classic": "Voltar à eEdition Clássica", + "settings_two_fingers_tap_to_article": "Usa toque com dois dedos para abrir a modo artigo", + "settings_single_tap_to_zoom": "Usa um tap para zoomar", + "settings_favorite_edition": "Escolha a sua edição favorita", + "settings_favorite_edition_default_label": "Última edição disponível", + "reset": "REDEFINIR", + "open": "ABRIR", + "settings_enable_column_view": "Habilitar modo de leitura em colunas", + "settings_navigation_arrows": "Setas de navegação", + "settings_navigation_arrows_always": "sempre presentes", + "settings_navigation_arrows_disapper": "desaparecem quando em leitura", + "settings_navigation_arrows_never": "nunca presentes", + "general": "Configurações do aplicativo", + "settings_translate_original": "Língua original", + "advance": "{{label}} | Configurações avançadas", + "send": "MANDAR", + "btn_feedback": "Feedback", + "return": "RETORNA", + "settings_article_highlight": "Manter o artigo actual em destaque quando o modo de artigo estiver aberto", + "write": "ESCREVER", + "btn_continue": "Continuar", + "btn_go_back": "Volte", + "btn_go_next": "Próximo", + "btn_go_up": "Nível anterior", + "action_go_to_settings": "Ir para definições", + "btn_reload": "Recarregar", + "btn_tts": "Ativare/desativare text to speech", + "btn_close_accessibility": "Fechar modo de acessibilidade", + "err_module_unavailable": "{{module}} não disponível nesta aplicação", + "force_crash": "Forçar crash", + "hint_my_home_screen_config": "Para personalizar {{label}}", + "hint_two_fingers_tap": "Para ler um artigo toque na área do artigo com dois dedos", + "msg_access_reserved": "Acesso reservado a subscritores", + "msg_already_subscriber": "Já é um assinante? Login", + "msg_continue_to_read": "Subscrever {{paper}}", + "settings_zoom_level": "Zoom nível", + "settings_zoom_level_large": "Grande", + "settings_zoom_level_larger": "Maiores", + "settings_zoom_level_normal": "Normal", + "restart": "Reiniciar", + "str_no_categories": "sem categorias", + "msg_login_overlay_title": "Para continuar a ler", + "msg_download_bundle": "Descarregar dados da aplicação mais recentemente...", + "msg_download_bundle_error": "Descarregamento do bundle com erro, a aplicação tentará actualizar os dados mais tarde", + "msg_press_restart": "Os dados foram descarregados com sucesso, recarregar a aplicação para aplicar as alterações", + "voice_back": " voltar", + "voice_next": "seguinte", + "voice_next_page": "página seguinte", + "voice_previous": "anterior", + "voice_previous_page": "página anterior", + "voice_stop": "stop", + "voice_read": "ler", + "voice_close": "fechar", + "voice_up": "para cima", + "voice_down": "para baixo", + "voice_select": "seleccionar", + "voice_what": "o quê", + "btn_car_mode": "Modo carro", + "btn_close_car_mode": "Fechar modo carro", + "msg_max_share": "Você atingiu o limite diário de compartilhamento para esta edição", + "accessibility_issue_list_header": "Lista de edições", + "btn_close_editions": "Fechar lista de edições", + "btn_go_back_article": "Artigo anterior {{index}}", + "btn_go_next_article": "Próximo artigo {{index}}", + "btn_go_back_section": "Secção anterior: {section}}", + "btn_go_next_section": "Secção seguinte: {{section}}", + "btn_go_up_choose_issue": "Escolha a edição", + "btn_go_up_general_index": "Ir para Índice Geral", + "btn_go_up_section": "Vá para a seção {{section}}", + "selected_page": "página seleccionada {{page}}", + "selected_page_of_index": "página seleccionada {{page}} do índice", + "selected_page_of_section": "página seleccionada {{page}} da secção {{section}}", + "msg_entering_section": "Entrando na secção {{section}}", + "hint_restart": "A aplicação será reiniciada para carregar novas configurações...", + "hint_update_ui": "A interface será actualizada para carregar novas configurações...", + "msg_simulate_accessibility_title": "Ativar o modo de acessibilidade", + "msg_simulate_accessibility": "Esta é uma simulação da aplicação como quando o {{accessibilityAppName}} está activo.\n • toque duplo para seleccionar\n • toque único ou movimento de dedos para ler elemento\n • dois dedos para deslizar", + "accessibility": "Acessibilidade", + "msg_screenshots_disabled": "Capturas de tela não são permitidas neste app", + "settings_tab_index_mode": "Ativar layout de guia no modo de índice", + "settings_enable_push_notifications": "Ativar notificações push", + "settings_manage_privacy_preferences": "Gerenciar preferências de privacidade", + "theme_auto": "Claro/Escuro Automático", + "theme_light": "Luz", + "theme_dark": "Escuro", + "str_sort_by": "Ordenar por", + "str_relevance": "Relevância", + "btn_from": "De", + "btn_to": "Para", + "str_date": "Data", + "srt_order": "Ordem", + "str_byline": "Assinatura", + "str_descending": "descendente", + "str_ascending": "Ascendente", + "str_categories": "Categorias", + "str_select": "Selecione...", + "str_advertisement": "Anúncio", + "iap_multiple_subscriptions": "Subscrições múltiplas", + "iap_go_to_subscriptions": "Ir para a subscrição", + "iap_multiple_subscriptions_message": "Descobrimos que tem várias subscrições activas, por favor desactive as que não precisa. Quando uma subscrição tiver sido desactivada, será reembolsada.{{subscriptions}}", + "iap_multiple_active_subscriptions_message": "Já tem uma subscrição ativa, gostaria de comprar outra? {{subscriptions}}", + "settings_title_box": "Mostrar caixas de título do artigo", + "enable_debug_overlay": "Ativar debugger", + "disable_debug_overlay": "Desativar debugger", + "edit_token": "Editar token", + "title_edit_token_confirm": "Deseja atualizar o token?", + "msg_edit_token_confirm": "Novo valor: \"{{token}}\"", + "uploading": "Carregando...", + "btn_not_sure_yet": "Ainda não tenho certeza" +}; +},1959,[]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "action_go_to_category": "Vai para {{anchor}}", + "action_open_epaper": "Abrir epaper", + "action_open_gallery": "Abrir Galeria", + "action_open_link": "Abrir link", + "action_remove_from_favorites": "Remover dos favoritos", + "action_save_for_later": "Guardar para depois", + "action_share": "Partilhar", + "action_unknown": "Desconhecido", + "alert_message": "Tem a certeza?", + "all": "Toda", + "all_events": "Todos eventos", + "all_jobs": "Todos os Empregos", + "animation": "Animação", + "animation_action": "Clique no botão para mudar a animação", + "animation_change": "Mudar de animação", + "animation_changed": "Animação alterada", + "article_count": "{{count}} artigos", + "btn_accessibility": "Modo acessibilidade", + "btn_advance_filters": "Filtros avançados", + "btn_account": "Login", + "btn_archive": "Arquivo", + "btn_ask_later": "Pergunta-me depois", + "btn_back": "Voltar", + "btn_cancel": "Cancelar", + "btn_close": "Fechar", + "btn_confirm": "Confirmar", + "btn_contact": "Contacto", + "btn_disable_log_file": "Enviar LOG", + "btn_do_not_show": "Não mostrar novamente", + "btn_download": "Descarregar", + "btn_editions": "Edições", + "btn_enable_log_file": "Ativar LOG", + "btn_feed": "Notícias ao vivo", + "btn_fit_page": "Ajustar", + "btn_g_book": "Percorrer", + "btn_go_to_news": "Vai a Notícias", + "btn_help": "Ajuda", + "btn_index": "Índice", + "btn_link": "Link", + "btn_login": "Login", + "btn_logout": "Logout", + "btn_more": "Mais", + "btn_no": "Não", + "btn_ok": "Ok", + "btn_publications": "Publicações", + "btn_read": "Lê", + "btn_reset": "Reiniciar", + "btn_search": "Pesquisa", + "btn_set_as_default": "Selecionar como padrão", + "btn_settings": "Configurações", + "btn_skip": "Saltar", + "btn_special_section": "Especial", + "btn_store": "Loja", + "btn_swipe": "Percorrer", + "btn_thumbnail": "Páginas", + "btn_yes": "Sim", + "cache_size": "Tamanho da Cache", + "card": "Cartão", + "categories": "Categorias", + "change": "ALTERAR", + "change_location_hint": "Alterar Localização", + "change_radius": "Selecionar Raio", + "clear": "LIMPAR", + "clear_cache": "Limpar cache", + "clear_favorites": "Limpar favoritos", + "confirm": "Confirmar", + "connection_0": "Modalidade Roaming", + "connection_0_description": "Ideal quando tem largura de banda limitada. Texto é descarregado, imagens são descarregadas com resolução baixa.", + "connection_1": "Modalidade Online", + "connection_1_description": "Ideal quando ligado á internet.Só páginas visualizadas são descarregadas e estarão disponíveis em modalidade offline.", + "connection_2": "Modalidade Offline", + "connection_2_description": "Modalidade Offline: Descarrega automaticamente a edição inteira no arranque para leitura offline.", + "counter": "{{current}} de {{total}}", + "custom_location": "Localização personalizada", + "database": "Base de dados", + "database_deleted": "Base de dados eliminado", + "default_search": "Pesquisa padrão", + "dialog_location_message": "Usamos a sua localização para mostrar onde está no mapa", + "dialog_location_title": "Precisamos de aceder à sua localização", + "disabled": "Desativado", + "enabled": "Ativado", + "err_change_animation": "Erro ao alterar animação", + "err_clear_cache": "Erro ao limpar cache", + "err_clear_database": "Erro ao limpar base de dados", + "err_clear_favorites": "Erro ao limpar favoritos", + "err_download_psetup": "Erro durante o download de configurações base", + "err_internet_connection": "Não foi possível conectar-se ao servidor de aplicativos. Por favor, verifique se tem uma ligação á Internet e tente novamente.", + "err_max_min": "Filtro inválido, min deve ser menor que max", + "err_offline": "Não disponível offline", + "err_retrieve_cache": "Erro ao recuperar o cache ", + "err_retrieve_favorites": "Erro ao recuperar favoritos", + "err_translation": "Tradução não disponível", + "err_translation_offline": "Tradução não disponível offline", + "error_on_load_more": "Erro ao tentar carregar mais itens", + "fast": "Rápido", + "favorites": "Favoritos", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_msg_ask_for_feedback": "Existe alguma coisa que possamos fazer para ajudar?", + "feedback_title_request_feedback": "Está a gostar desta aplicação?", + "feedback_title_request_review_feedback": "Ficamos felizes em saber! Gostaria de deixar uma crítica ou classificação?", + "filter_max": "Max", + "filter_min": "Min", + "filter_text": "Escreva texto aqui", + "font_extra_large": "Extra grande", + "font_extra_small": "Extra pequeno", + "font_large": "Grande", + "font_normal": "Normal", + "font_scale": "Tamanho da fonte", + "font_small": "Pequeno", + "from_most_recent": "Do mais recente", + "from_oldest": "Do mais antigo", + "gmc_default_text": "Uma nova edição está disponível. Clique aqui para ler!", + "gmc_message_text": "O {{issue}} do jornal está disponível. Clique aqui para ler!", + "grid": "Grelha", + "grid_list": "Grelha/Lista", + "home": "Home", + "label_exit_accessibility_mode": "Sair do modo de acessibilidade", + "label_open_browser": "Abra no navegador", + "last_search": "Última Procura", + "layout": "Layout", + "learn_more": "Saiba mais", + "list": "Lista", + "loading": "A carregar...", + "local_events": "Eventos Locais", + "max_salary": "Salário máximo", + "min_salary": "Salário mínimo", + "msg_available_next_startup": "Esta configuração estará disponível na próxima sessão", + "msg_clear_cache": "Limpar cache", + "msg_clear_favorites": "Eliminar favoritos", + "msg_copy_to_clipboard": "Copiar par clipboard", + "msg_database_deleted": "Eliminar base de dados", + "msg_delete_db": "Eliminar a base de dados local?", + "msg_delete_localstorage": "Eliminar configurações pessoais?", + "msg_delete_title": "Você quer", + "msg_download_edition": "Fazendo download da edição...", + "msg_download_retry": "Tentativa {{retry}} de {{maxRetries}}...", + "msg_empty_category": "Atualmente, não há artigos atribuídos a {{category}}! Clique para atualizar", + "msg_empty_favorites": "Atualmente, não há favoritos!", + "msg_empty_gallery": "A galeria clicada está vazia", + "msg_empty_list": "Atualmente, não há elementos! Clique para alterar alguns filtros", + "msg_empty_searches": "Atualmente, não há pesquisas guardadas", + "msg_error_category": "Algo deu errado, tente reabrir a categoria ou eliminar a base de dados atrvés das definições! Clique para atualizar", + "msg_error_list": "Algo deu errado, tente mudar alguns filtros", + "msg_error_newspaper": "O jornal está vazio", + "msg_event_over": "o evento acabou", + "msg_exit_application": "Sair da aplicação?", + "msg_failed": "Falhada", + "msg_list_no_articles_available_for_category": "Isso não é um erro. Atualmente, não há artigos atribuídos a esta categoria!", + "msg_list_no_content": "Nenhum conteúdo atual", + "msg_loading_comments": "Carregando comentários...", + "msg_loading_more": "Carregar mais...", + "msg_new_issue_available_title_edition": "Está actualmente a ler {{edition}}", + "msg_new_issue_available_title_edition_date": "Está actualmente a ler a edição {{date}} de {{edition}}", + "msg_new_issue_available": "Uma nova edição está agora disponível, gostaria de a carregar?", + "msg_new_issue_available_edition": "Uma nova edição de {{edition}} está agora disponível, gostaria de a carregar?", + "msg_new_issue_available_date": "A edição de {{date}} está agora disponível, gostaria de a carregar?", + "msg_new_issue_available_edition_date": "A edição de {{date}} de {{edition}} está agora disponível, gostaria de a carregar?", + "msg_not_on_latest_issue": "Não está a ver a última edição disponível, gostaria de a carregar agora?", + "msg_not_on_latest_issue_edition": "Não está a ver a última edição disponível de {{edition}}, gostaria de carregá-la agora?", + "msg_not_on_latest_issue_date": "Não está a ver a última edição disponível, gostaria de carregar a edição de {{date}}?", + "msg_not_on_latest_issue_edition_date": "Não está a ver a última edição disponível, gostaria de carregar a edição {{date}} de {{edition}}?", + "msg_offline_article_graph": "Para utilizar esta função em offline deverà ter descarregado a edição completa enquanto ou algumas imagens ou textos poderão faltar", + "msg_offline_issues": "Seleciona uma edição para ler", + "msg_opening_push": "Abrindo notificações push...", + "msg_pending_purchases": "Concluindo compras pendentes: {{completed}} de {{total}}", + "msg_reload_publication": "descarregar automaticamente a última edição", + "msg_restore_default_settings": "Quer restaurar as configurações padrão?", + "msg_rss_new_articles_available": "{{count}} novos artigos estão disponíveis", + "msg_rss_no_new_articles_available": "Você está atualizado", + "msg_rss_one_new_article_available": "1 novo artigo disponível", + "msg_rss_reload_database": "Nova base de dados carregada", + "msg_rss_update_error": "Erro durante a atualização, verifique sua ligação Internet e tente novamente", + "msg_search_empty": "Nada foi pesquisado", + "msg_search_lite": "Ver resultados na página", + "msg_search_not_found": "Nenhum artigo encontrado com {{text}}", + "msg_sent": "Enviado", + "msg_share_unmanaged": "Opção de compartilhamento não suportada", + "msg_tts_error": "Ocorreu um erro durante o inicio da leitura. Tente mais tarde!", + "msg_tts_no_volume": "Aumentar volument para texto", + "msg_tts_unsupported": "Língua não suportada, tente ler com a voz de default ou verifique se existe outro pacote de voz", + "my_home_categories_selected": "{{categories}} categorias selecionadas para um total de {{articles}} artigos", + "my_location": "Use a minha localização", + "network": "Rede", + "none": "Nenhum", + "normal": "Normal", + "permission_storage_message": "{{appName}} precisa de permissão de armazenamento", + "permission_title": "{{appName}} permissão", + "pj_from_page": "da página", + "pj_to_page": "até à página", + "pj_continue_to_page": "Continue para a página", + "pj_continue_to_page_parent": "Página", + "powered_by": "Powered by TECNAVIA", + "powered_by_who": "Powered by {{who}}", + "push_notification": "Notificação", + "reader_app_text": "Quaisquer contas ou compras efetuadas fora deste app serão gerenciadas pelo “{{developerName}}.” A sua conta da App Store, a forma de pagamento vinculada e os recursos relacionados, tais como o gerenciamento da assinatura e solicitações de reembolso, não estarão disponíveis. A Apple não é responsável pela privacidade ou segurança das transações efetuadas com esse desenvolvedor.", + "reader_app_title": "Você está prestes a sair do app e acessar um site externo. Portanto, você não estará mais realizando transações com a Apple.", + "salary": "Salário: {{salary}}", + "save_search": "Guardar pesquisa", + "saved_searches": "Pesquisas guardadas", + "search_term": "Pesquisar Termo", + "select_after_date": "Selecione após a data", + "select_my_home_categories": "Escolha suas categorias favoritas na lista abaixo para personalizar a sua {{category}}", + "selected_categories": "Categorias selecionadas", + "selected_time_range": "Período selecionado", + "settings": "Definições", + "settings_allow_font_scaling": "Permitir escala de fonte", + "settings_startup_epaper": "E-Edition", + "settings_startup_rss": "Live News", + "settings_startup_choose": "Escolha cada vez", + "show": "MOSTRAR", + "sort_by_date": "Ordenar por", + "sort_by_name": "Classificar por A-Z", + "sort_by_name_reverse": "Classificar por Z-A", + "sort_by_popularity": "Ordenar por Popularidade", + "sort_date_disabled": "Ordenar na data desabilitado", + "start_with": "Começar com", + "str_custom": "Personalizadas", + "str_default_language": "Retornar ao idioma original", + "str_from": "De", + "str_limit_label": "Número de edições para armazenar: {{days}}", + "str_next_week": "Semana seguinte", + "str_page": "Página", + "str_search": "Pesquisar", + "str_search_results": "Resultados de {{text}} - {{count}}", + "str_special_sections": "Seções especiais", + "str_this_week": "Uma semana", + "str_this_weekend": "Este fim de semana", + "str_time_range": "Intervalo de datas", + "str_title": "Título", + "str_to": "Para", + "str_today": "Hoje", + "str_tomorrow": "Amanhã", + "str_translating_article": "Traduzindo artigo...", + "system_error": "Ocorreu um erro", + "theme": "Tema", + "title_bottom_sheet": "Ações", + "title_offline": "Sem conexão com a Internet", + "toggle": "TOGGLE", + "toggle_layout": "Toggle layout", + "toggle_list": "Toggle lista", + "toggle_map": "Toggle mapa", + "total_events": "Eventos: {{total}}", + "total_favorites": "Favoritos: {{total}}", + "total_jobs": "Empregos: {{total}}", + "total_searches": "Pesquisas: {{total}}", + "tutorial": "Tutorial", + "unknown_salary": "Salário Desconhecido", + "unsave_search": "Remover pesquisa guardada", + "version": "Versão", + "vertical_job_location_hint": "Selecione um local", + "vertical_job_text_hint": "Insira uma palavra-chave para pesquisa", + "offline_download_warning": "Esta edição não é totalmente baixado. Algumas partes das páginas pode parecer desfocada.", + "offline_download_dialog": "Quer descarregar a edição completa para leitura offline?", + "user_tip_download_title": "Dica do Utilizador", + "user_tip_download": "Para descarregar automaticamente todas as edições para leitura offline, seleccione 'Mais' > 'Configurações' > 'Offline' como a sua configuração de rede preferida", + "mobile_network_warning": "Está ligado a uma rede móvel em vez de WiFi", + "msg_operation_completed": "Operação concluída", + "msg_ok_delete_db": "Todas as edições guardadas foram eliminadas", + "msg_font_scaling": "Quer manter este parâmetro dentro desta aplicação?", + "msg_font_scaling_title": "Definiu um tamanho de texto personalizado no seu dispositivo", + "msg_download_rss": "Baixando novos artigos...", + "settings_translate": "Traduzir o artigo em", + "settings_themes": "Tema", + "settings_font_size": "Tamanho dos caracteres", + "settings_graph_size": "Nível de zoom", + "settings_number_stored_editions": "Número máximo de edições guardadas", + "settings_restart_from_latest": "Reiniciar da última edição disponível (min)", + "settings_article_mode": "Modo artigo", + "settings_article_mode_all": "Mostrar tudo", + "settings_article_mode_text_and_graphics": "Mostrar artigos e gráficos", + "settings_article_mode_only_text": "Mostrar apenas artigos", + "settings_restore_defaults": "Restaurar configurações", + "settings_clear_storage": "Limpar dados", + "settings_back_to_classic": "Voltar à eEdition Clássica", + "settings_two_fingers_tap_to_article": "Usa toque com dois dedos para abrir a modo artigo", + "settings_single_tap_to_zoom": "Usa um tap para zoomar", + "settings_favorite_edition": "Escolha a sua edição favorita", + "settings_favorite_edition_default_label": "Última edição disponível", + "reset": "REDEFINIR", + "open": "ABRIR", + "settings_enable_column_view": "Habilitar modo de leitura em colunas", + "settings_navigation_arrows": "Setas de navegação", + "settings_navigation_arrows_always": "sempre presentes", + "settings_navigation_arrows_disapper": "desaparecem quando em leitura", + "settings_navigation_arrows_never": "nunca presentes", + "general": "Configurações do aplicativo", + "settings_translate_original": "Língua original", + "advance": "{{label}} | Configurações avançadas", + "send": "MANDAR", + "btn_feedback": "Feedback", + "return": "RETORNA", + "settings_article_highlight": "Manter o artigo actual em destaque quando o modo de artigo estiver aberto", + "write": "ESCREVER", + "btn_continue": "Continue", + "btn_go_back": "Volte", + "btn_go_next": "Próximo", + "btn_go_up": "Nível anterior", + "action_go_to_settings": "Ir para definições", + "btn_reload": "Recarregar", + "btn_tts": "Ativare/desativare text to speech", + "btn_close_accessibility": "Fechar modo de acessibilidade", + "err_module_unavailable": "{{module}} não disponível nesta aplicação", + "force_crash": "Forçar crash", + "hint_my_home_screen_config": "Para personalizar {{label}}", + "hint_two_fingers_tap": "Para ler um artigo toque na área do artigo com dois dedos", + "msg_access_reserved": "Acesso reservado a subscritores", + "msg_already_subscriber": "Já é um assinante? Login", + "msg_continue_to_read": "Subscrever {{paper}}", + "settings_zoom_level": "Zoom nível", + "settings_zoom_level_large": "Grande", + "settings_zoom_level_larger": "Maiores", + "settings_zoom_level_normal": "Normal", + "restart": "Reiniciar", + "str_no_categories": "sem categorias", + "msg_login_overlay_title": "Para continuar a ler", + "msg_download_bundle": "Descarregar dados da aplicação mais recentemente...", + "msg_download_bundle_error": "Descarregamento do bundle com erro, a aplicação tentará actualizar os dados mais tarde", + "msg_press_restart": "Os dados foram descarregados com sucesso, recarregar a aplicação para aplicar as alterações", + "voice_back": " voltar", + "voice_next": "seguinte", + "voice_next_page": "página seguinte", + "voice_previous": "anterior", + "voice_previous_page": "página anterior", + "voice_stop": "stop", + "voice_read": "ler", + "voice_close": "fechar", + "voice_up": "para cima", + "voice_down": "para baixo", + "voice_select": "seleccionar", + "voice_what": "o quê", + "msg_max_share": "Você atingiu o limite diário de compartilhamento para esta edição", + "accessibility_issue_list_header": "Lista de edições", + "btn_close_editions": "Fechar lista de edições", + "btn_go_back_article": "Artigo anterior {{index}}", + "btn_go_next_article": "Próximo artigo {{index}}", + "btn_go_back_section": "Secção anterior: {section}}", + "btn_go_next_section": "Secção seguinte: {{section}}", + "btn_go_up_choose_issue": "Escolha a edição", + "btn_go_up_general_index": "Ir para Índice Geral", + "btn_go_up_section": "Vá para a seção {{section}}", + "selected_page": "página seleccionada {{page}}", + "selected_page_of_index": "página seleccionada {{page}} do índice", + "selected_page_of_section": "página seleccionada {{page}} da secção {{section}}", + "msg_entering_section": "Entrando na secção {{section}}", + "hint_restart": "A aplicação será reiniciada para carregar novas configurações...", + "hint_update_ui": "A interface será actualizada para carregar novas configurações...", + "msg_simulate_accessibility_title": "Ativar o modo de acessibilidade", + "msg_simulate_accessibility": "Esta é uma simulação da aplicação como quando o {{accessibilityAppName}} está activo.\n • toque duplo para seleccionar\n • toque único ou movimento de dedos para ler elemento\n • dois dedos para deslizar", + "accessibility": "Acessibilidade", + "msg_screenshots_disabled": "Capturas de tela não são permitidas neste app", + "settings_tab_index_mode": "Ativar layout de guia no modo de índice", + "settings_enable_push_notifications": "Ativar notificações push", + "settings_manage_privacy_preferences": "Gerenciar preferências de privacidade", + "theme_auto": "Claro/Escuro Automático", + "theme_light": "Luz", + "theme_dark": "Escuro", + "str_sort_by": "Ordenar por", + "str_relevance": "Relevância", + "btn_from": "De", + "btn_to": "Para", + "str_date": "Data", + "srt_order": "Ordem", + "str_byline": "Assinatura", + "str_descending": "descendente", + "str_ascending": "Ascendente", + "str_categories": "Categorias", + "str_select": "Selecione...", + "str_advertisement": "Anúncio", + "iap_multiple_subscriptions": "Subscrições múltiplas", + "iap_go_to_subscriptions": "Ir para a subscrição", + "iap_multiple_subscriptions_message": "Descobrimos que tem várias subscrições activas, por favor desactive as que não precisa. Quando uma subscrição tiver sido desactivada, será reembolsada.{{subscriptions}}", + "iap_multiple_active_subscriptions_message": "Já tem uma subscrição ativa, gostaria de comprar outra? {{subscriptions}}", + "settings_title_box": "Mostrar caixas de título do artigo", + "enable_debug_overlay": "Habilitar debugger", + "disable_debug_overlay": "Desativar debugger", + "edit_token": "Editar token", + "title_edit_token_confirm": "Deseja atualizar o token?", + "msg_edit_token_confirm": "Novo valor: \"{{token}}\"", + "uploading": "Carregando...", + "btn_not_sure_yet": "Ainda não tenho certeza" +}; +},1960,[]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "action_go_to_category": "Ga naar {{anchor}}", + "action_open_epaper": "Open de e-Paper", + "action_open_gallery": "Open de galerij", + "action_open_link": "Open de link", + "action_remove_from_favorites": "Verwijder uit favorieten", + "action_save_for_later": "Bewaar voor later", + "action_share": "Delen", + "action_unknown": "Onbekend", + "alert_message": "Weet u het zeker?", + "all": "Alle", + "all_events": "Alle evenementen", + "all_jobs": "Alle vacatures", + "animation": "Animatie", + "animation_action": "Klik op de knop om de animatie te wijzigen", + "animation_change": "Animatie wijzigen", + "animation_changed": "Animation gewijzigd", + "article_count": "{{count}} artikelen", + "btn_accessibility": "Toegankelijkheidsmodus", + "btn_account": "Log in", + "btn_advance_filters": "Geavanceerde filters", + "btn_archive": "Archief", + "btn_ask_later": "Vraag het mij later", + "btn_back": "Terug", + "btn_cancel": "Annuleer", + "btn_close": "Skip", + "btn_confirm": "Bevestigen", + "btn_contact": "Contact", + "btn_disable_log_file": "Verstuur LOG", + "btn_do_not_show": "Niet meer laten zien", + "btn_download": "Download", + "btn_editions": "Edities", + "btn_enable_log_file": "Activeer LOG", + "btn_feed": "Live Nieuws", + "btn_fit_page": "Passend maken", + "btn_g_book": "Blad omslaan", + "btn_go_to_news": "Ga naar nieuws", + "btn_help": "Ondersteuning", + "btn_index": "Index", + "btn_link": "Link", + "btn_login": "Log in", + "btn_logout": "Uitloggen", + "btn_more": "Meer", + "btn_no": "Nee", + "btn_ok": "OK", + "btn_publications": "Publicaties", + "btn_read": "Lezen", + "btn_reset": "Reset", + "btn_search": "Zoeken", + "btn_set_as_default": "Als stand. inst.", + "btn_settings": "Instellingen", + "btn_skip": "Overslaan", + "btn_special_section": "Special", + "btn_store": "Bewaren", + "btn_swipe": "Blad omslaan", + "btn_thumbnail": "Pagina's", + "btn_yes": "Ja", + "cache_size": "Cache grootte", + "card": "Kaart", + "categories": "Categorieën", + "change": "VERANDER", + "change_location_hint": "Locatie wijzigen", + "change_radius": "Selecteer Radius", + "clear": "VERWIJDER", + "clear_cache": "Verwijder cache", + "clear_favorites": "Verwijder favorieten", + "confirm": "Bevestigen", + "connection_0": "Mobiele modus", + "connection_0_description": "Tekstmodus. Bij beperkte bandbreedte.", + "connection_1": "3G Modus", + "connection_1_description": "Grafische/tekstuele presentatie van de editie. Download beperkt tot mobiele modus.", + "connection_2": "Wifi Mode", + "connection_2_description": "Wifi Mode: Grafische/tekstuele presentatie van de editie. Ook grafische elementen kunnen gedownload worden", + "counter": "{{current}} van {{total}}", + "custom_location": "Gepersonaliseerde Locatie", + "database": "Database", + "database_deleted": "Database verwijderd", + "default_search": "Standaard zoeken", + "dialog_location_message": "We gebruiken uw locatie om op de kaart te laten zien waar u bent", + "dialog_location_title": "We hebben toegang tot uw locatie nodig", + "disabled": "Uitgeschakeld", + "enabled": "Ingeschakeld", + "err_change_animation": "Fout bij het wijzigen van de animatie", + "err_clear_cache": "Fout bij het wissen van de cache", + "err_clear_database": "Fout bij het wissen van de database", + "err_clear_favorites": "Fout bij het opschonen van de favorieten", + "err_download_edition": "Er is een fout opgetreden bij het downloaden van de editie", + "err_download_edition_db": "Er is een fout opgetreden bij het downloaden van de editie database", + "err_download_psetup": "Fout tijdens het downloaden van basisconfiguraties", + "err_internet_connection": "Kon geen verbinding maken met de applicatieserver. Zorg ervoor dat u verbinding heeft met het internet en probeer het opnieuw", + "err_max_min": "Ongeldig filter, min. moet kleiner zijn dan max.", + "err_offline": "Niet offline beschikbaar", + "err_retrieve_cache": "Fout bij het ophalen van de cache", + "err_retrieve_favorites": "Fout bij het ophalen van de favorieten", + "err_translation": "Vertaling niet beschikbaar", + "err_translation_offline": "Vertaling niet offline beschikbaar", + "error_on_load_more": "Fout bij het laden van meer items", + "fast": "Snel", + "favorites": "Favorieten", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_msg_ask_for_feedback": "Is er iets dat wij kunnen doen om u behulpzaam te zijn?", + "feedback_title_request_feedback": "Geniet u van de App?", + "feedback_title_request_review_feedback": "Goed om te horen! Wilt u een recensie of puntenbeoordeling achterlaten?", + "filter_max": "Max", + "filter_min": "Min", + "filter_text": "Schrijf hier uw tekst", + "font_extra_large": "Extra groot", + "font_extra_small": "Extra klein", + "font_large": "Groot", + "font_normal": "Normaal", + "font_scale": "Grootte lettertype", + "font_small": "Klein", + "from_most_recent": "Uit de meest recente", + "from_oldest": "Uit de oudste", + "gmc_default_text": "Er is een nieuwe uitgave beschikbaar. Tap hier om te lezen!", + "gmc_message_text": "De titel {{issue}} is nu beschikbaar. Tap hier om te lezen!", + "grid": "Raster", + "grid_list": "raster/lijst", + "home": "Home", + "label_exit_accessibility_mode": "Verlaat de Toegankelijkheidsmodus", + "label_open_browser": "Open in de browser", + "last_search": "Laatste zoekopdracht", + "layout": "Layout", + "learn_more": "Lees meer", + "list": "Lijst", + "loading": "Bezig met laden...", + "local_events": "Lokale evenementen", + "max_salary": "Max. salaris", + "min_salary": "Min. salaris", + "msg_available_next_startup": "Deze configuratie is beschikbaar na een herstart", + "msg_clear_cache": "Verwijder cache", + "msg_clear_favorites": "Verwijder favorieten", + "msg_copy_to_clipboard": "Kopieer naar klembord", + "msg_database_deleted": "Verwijder database", + "msg_delete_db": "Databasegegevens verwijderen?", + "msg_delete_localstorage": "Persoonlijke instellingen wissen?", + "msg_delete_title": "Wil je", + "msg_download_edition": "Bezig met downloaden van editie...", + "msg_download_retry": "Poging {{retry}} van {{maxRetries}}...", + "msg_empty_category": "Momenteel zijn er geen artikelen toegewezen aan {{category}}! Tap om te verversen", + "msg_empty_favorites": "Momenteel zijn er geen favorieten!", + "msg_empty_gallery": "De aangeklikte galerij is leeg", + "msg_empty_list": "Momenteel zijn er geen elementen beschikbaar! Tap om sommige filters te wijzigen", + "msg_empty_searches": "Momenteel zijn er geen opgeslagen zoekopdrachten!", + "msg_error_category": "Er is iets misgegaan, probeer de categorie opnieuw te openen of verwijder de database uit de instellingen ! Tap om te verversen", + "msg_error_list": "Er is iets misgegaan, probeer een aantal filters te veranderen", + "msg_error_newspaper": "Krant is leeg", + "msg_event_over": "'Het evenement is voorbij.'", + "msg_exit_application": "De applicatie verlaten?", + "msg_failed": "Mislukt", + "msg_list_no_articles_available_for_category": "Dit is geen fout. Momenteel zijn er geen artikelen aan deze categorie toegewezen!", + "msg_list_no_content": "Geen actuele inhoud", + "msg_loading_comments": "Opmerkingen laden...", + "msg_loading_more": "Meer laden...", + "msg_new_issue_available": "Een nieuwe krant is nu beschikbaar: wilt u deze downloaden?", + "msg_not_on_latest_issue": "Dit is niet de meest recente krant: wilt u deze downloaden?", + "msg_new_issue_available_title_edition": "Je leest momenteel {{edition}}", + "msg_new_issue_available_title_edition_date": "U leest momenteel het nummer van {{date}} van {{edition}}", + "msg_new_issue_available_edition": "Er is nu een nieuwe editie van {{edition}} beschikbaar, wil je hem laden?", + "msg_new_issue_available_date": "Het nummer van {{date}} is nu beschikbaar, wil je hem laden?", + "msg_new_issue_available_edition_date": "Het nummer van {{edition}} van {{date}}is nu beschikbaar, wil je hem laden?", + "msg_not_on_latest_issue_edition": "U ziet niet de laatst beschikbare editie van {{edition}}, wil je hem nu laden?", + "msg_not_on_latest_issue_date": "U kijkt niet naar de laatst beschikbare editie, wilt u het nummer van {{date}} downloaden?", + "msg_not_on_latest_issue_edition_date": "U kijkt niet naar de laatst beschikbare editie, wil je het nummer van {{date}} van {{edition}} downloaden?", + "msg_offline_article_graph": "Als u deze functie offline wilt inschakelen dan dient u de uitgave volledig te downloaden of sommige afbeeldingen of tekstfragmenten kunnen ontbreken.", + "msg_offline_issues": "Selecteer een gedownloade versie te lezen", + "msg_opening_push": "Pushmeldingen openen...", + "msg_pending_purchases": "Aankopen in behandeling afronden: {{completed}} van {{total}}", + "msg_reload_publication": "Automatisch de nieuwste editie downloaden?", + "msg_restore_default_settings": "Wilt u de standaard app-instellingen herstellen?", + "msg_rss_new_articles_available": "{{count}} nieuwe artikelen zijn beschikbaar", + "msg_rss_no_new_articles_available": "U bent up-to-date", + "msg_rss_one_new_article_available": "1 nieuw artikel is beschikbaar", + "msg_rss_reload_database": "Nieuwe database gedownload", + "msg_rss_update_error": "Fout tijdens de update, controleer uw internetverbinding en probeer opnieuw", + "msg_search_empty": "Niets werd doorzocht", + "msg_search_lite": "Bekijk resultaten op pagina", + "msg_search_not_found": "Geen artikel gevonden met {{text}}", + "msg_sent": "Verstuurd", + "msg_share_unmanaged": "Optie om te delen onbeheerd", + "msg_tts_error": "Er treedt een fout op, later proberen!", + "msg_tts_no_volume": "Verhoog volume naar luisterende tekst", + "msg_tts_unsupported": "Niet-ondersteunde taal, probeer de standaardvoice te gebruiken of controleer of er een aangepast taalpakket bestaat!", + "my_home_categories_selected": "{{categories}} categorieën geselcteerd voor een totaal aantal van {{articles}} artikelen", + "my_location": "Gebruik mijn locatie", + "network": "Netwerk", + "none": "Geen", + "normal": "Normaal", + "permission_storage_message": "{{appName}} toestemming voor opslag nodig", + "permission_title": "{{appName}} toestemming", + "pj_from_page": "van pagina", + "pj_to_page": "naar pagina", + "pj_continue_to_page": "Ga verder naar pagina", + "pj_continue_to_page_parent": "Pagina", + "powered_by": "Powered by TECNAVIA", + "powered_by_who": "Mogelijk gemaakt door {{who}}", + "push_notification": "Pushmelding", + "reader_app_text": "Alle accounts of aankopen die aangemaakt of gedaan zijn buiten deze app worden beheerd door de ontwikkelaar '{{developerName}}'. Je App Store-account, bewaarde betaalmethode en andere gerelateerde diensten, zoals abonnementsbeheer en restitutieverzoeken zijn niet beschikbaar. Apple is niet verantwoordelijk voor de privacy of beveiliging van transacties met deze ontwikkelaar.", + "reader_app_title": "Je staat op het punt om de app te verlaten en naar een externe website te gaan. Je hebt geen transacties meer met Apple.", + "retry": "Opnieuw", + "salary": "Salaris: {{salary}}", + "save_search": "Zoekopdracht opslaan", + "saved_searches": "Bewaarde Zoekopdrachten", + "search_term": "Zoekterm", + "select_after_date": "Kies na datum", + "select_my_home_categories": "Kies uit onderstaande lijst uw favoriete categorieën en personaliseer {{category}}", + "selected_categories": "Geselecteerde categorieën", + "selected_time_range": "Geselecteerd datumbereik", + "settings": "Instellingen", + "settings_allow_font_scaling": "Schalen van lettertypen toestaan", + "settings_startup_epaper": "E-Edition", + "settings_startup_rss": "Live Nieuws", + "settings_startup_choose": "Kies elke keer", + "show": "SHOW", + "sort_by_date": "Sorteer op datum:", + "sort_by_name": "Sorteer op A-Z", + "sort_by_name_reverse": "Sorteer op Z-A", + "sort_by_popularity": "Sorteren op populariteit", + "sort_date_disabled": "Sorteren op datum uitschakelen", + "start_with": "Begin met", + "str_custom": "Custom", + "str_default_language": "Keer terug naar de oorspronkelijke taal", + "str_from": "Vanaf", + "str_limit_label": "Max opgeslagen edities: {{days}}", + "str_next_week": "Volgende week", + "str_page": "Pagina", + "str_search": "Zoeken", + "str_search_results": "{{text}} - {{count}} resultaten", + "str_special_sections": "Speciale secties", + "str_this_week": "Deze Week", + "str_this_weekend": "Dit weekend", + "str_time_range": "Datumbereik", + "str_title": "Titel", + "str_to": "Tot", + "str_today": "Vandaag", + "str_tomorrow": "Morgen", + "str_translating_article": "Artikel vertalen...", + "system_error": "Er is een fout opgetreden", + "title_bottom_sheet": "Acties", + "title_offline": "Geen internet verbinding", + "toggle": "WISSELEN", + "toggle_layout": "Layout ", + "toggle_list": "Van lijst wisselen", + "toggle_map": "Van map wisselen", + "total_events": "Evenementen: {{total}}", + "total_favorites": "Favorieten: {{total}}", + "total_jobs": "Vacatures: {{total}}", + "total_searches": "Zoekopdrachten: {{total}}", + "tutorial": "Handleiding", + "unknown_salary": " Salaris onbekend", + "unsave_search": "Opgeslagen zoekopdracht verwijderen", + "version": "Versie", + "vertical_job_location_hint": "Kies een locatie", + "vertical_job_text_hint": "Voer een trefwoord in om te zoeken", + "offline_download_warning": "Deze uitgave is niet volledig gedownload. Sommige delen van de pagina's kunnen derhalve onscherp getoond worden.", + "user_tip_download_title": "Gebruikerstip", + "user_tip_download": "Indien u alle edities automatisch wilt downloaden om offline te kunnen bekijken, druk dan op de knop 'Meer' -> 'Instellingen' -> Selecteer 'Wifi mode' als netwerkmodus", + "offline_download_dialog": "Wilt u de volledige uitgave downloaden om offline te kunnen lezen?", + "mobile_network_warning": "U bent verbonden met een mobiel netwerk in plaats van WiFi", + "msg_operation_completed": "Bewerking voltooid", + "msg_ok_delete_db": "Alle opgeslagen edities zijn verwijderd", + "msg_download_rss": "Nieuwe artikelen downloaden...", + "settings_translate": "Vertaal artikelen naar", + "settings_themes": "Thema", + "settings_font_size": "Lettertypegrootte", + "settings_graph_size": "Zoomniveau", + "settings_number_stored_editions": "Max opgeslagen edities", + "settings_restart_from_latest": "Herstart van de laatste editie beschikbaar (min)", + "settings_article_mode": "Artikelmodus", + "settings_article_mode_all": "Toon alles", + "settings_article_mode_text_and_graphics": "Toon artikelen en afbeeldingen", + "settings_article_mode_only_text": "Alleen artikelen weergeven", + "settings_restore_defaults": "Standaard instellingen terugzetten", + "settings_clear_storage": "Klar lagring", + "settings_back_to_classic": "Keer terug naar de klassieke editie", + "settings_two_fingers_tap_to_article": "Gebruik de twee vinger tap om een artikel te openen in tekstmodus", + "settings_single_tap_to_zoom": "Gebruik de enkele tap om in te zoomen", + "settings_favorite_edition": "Kies je favoriete editie", + "settings_favorite_edition_default_label": "Laatste editie beschikbaar", + "reset": "RESET", + "open": "OPEN", + "settings_enable_column_view": "Weergave van artikelen met meerdere kolommen inschakelen", + "settings_navigation_arrows": "Navigatiepijlen", + "settings_navigation_arrows_always": "altijd aanwezig", + "settings_navigation_arrows_disapper": "verdwijnen tijdens het lezen", + "settings_navigation_arrows_never": "nooit aanwezig", + "general": "App instellingen", + "settings_translate_original": "Originele taal", + "advance": "{{label}} | Geavanceerde instellingen", + "send": "VERSTUREN", + "btn_feedback": "Feedback", + "return": "OPBRENGST", + "settings_article_highlight": "Houd het huidige artikel gemarkeerd wanneer de artikelmodus is geopend", + "write": "SCHRIJVEN", + "btn_continue": "Ga door", + "btn_go_back": "Ga terug", + "btn_go_next": "Ga volgende", + "btn_go_up": "Vorig niveau", + "action_go_to_settings": "Ga naar Instellingen", + "btn_reload": "Herladen", + "btn_tts": "Schakel tekst naar spraak", + "btn_close_accessibility": "Toegankelijkheidsmodus sluiten", + "err_module_unavailable": "{{module}} niet beschikbaar in deze app", + "force_crash": "Forceer crash", + "hint_my_home_screen_config": "Om {{label}} te personaliseren", + "hint_two_fingers_tap": "Om een ​​artikel te lezen, tikt u met twee vingers op het artikelgebied", + "hint_restart": "De applicatie zal opnieuw opstarten om nieuwe configuraties te laden...", + "hint_update_ui": "De gebruikersinterface wordt bijgewerkt om nieuwe instellingen te laden, mogelijk ziet u een flikkering...", + "msg_access_reserved": "Toegang voorbehouden aan abonnees", + "msg_already_subscriber": "Ben je al abonnee? Log in", + "msg_continue_to_read": "Abonneer je op {{paper}}", + "theme": "Thema", + "settings_zoom_level": "Zoomniveau", + "settings_zoom_level_large": "Groot", + "settings_zoom_level_larger": "groter", + "settings_zoom_level_normal": "normaal", + "restart": "Herstarten", + "str_no_categories": "geen categorieën", + "msg_login_overlay_title": "Om verder te lezen", + "voice_back": "terug", + "voice_what": "wat", + "voice_next": "volgende", + "voice_next_page": "volgende pagina", + "voice_previous": "vorige", + "voice_previous_page": "vorige pagina", + "voice_stop": "stop", + "voice_read": "lezen", + "voice_close": "close", + "voice_up": "up", + "voice_down": "down", + "voice_select": "select", + "msg_max_share": "Je hebt de dagelijkse limiet voor delen voor deze editie bereikt", + "accessibility": "Toegankelijkheid", + "msg_simulate_accessibility_title": "Toegankelijkheidsmodus inschakelen", + "msg_screenshots_disabled": "Schermafbeeldingen zijn niet toegestaan ​​in deze app", + "settings_tab_index_mode": "Schakel tabbladindeling in indexmodus in", + "settings_enable_push_notifications": "Schakel pushmeldingen in", + "settings_manage_privacy_preferences": "Beheer privacyvoorkeuren", + "theme_auto": "Automatisch licht/donker", + "theme_light": "Licht", + "theme_dark": "Donker", + "str_sort_by": "Sorteer op", + "str_relevance": "Relevantie", + "btn_from": "Van", + "btn_to": "Naar", + "str_date": "Datum", + "srt_order": "Volgorde", + "str_byline": "Naamregel", + "str_descending": "Aflopend", + "str_ascending": "Oplopend", + "str_categories": "Categorieën", + "str_select": "Selecteer...", + "str_advertisement": "Advertentie", + "iap_go_to_subscriptions": "Ga naar abonnement", + "iap_multiple_subscriptions": "Meerdere abonnementen", + "iap_multiple_subscriptions_message": "We hebben vastgesteld dat u meerdere actieve abonnementen heeft. Schakel de abonnementen uit die u niet nodig heeft. Wanneer een abonnement is uitgeschakeld, wordt het terugbetaald.{{subscriptions}}", + "iap_multiple_active_subscriptions_message": "U heeft al een actief abonnement, maar wilt u toch een nieuw abonnement aanschaffen? {{subscriptions}}", + "settings_title_box": "Titelvakken van artikelen weergeven", + "enable_debug_overlay": "Schakel foutopsporing in", + "disable_debug_overlay": "Schakel foutopsporing uit", + "edit_token": "Token bewerken", + "title_edit_token_confirm": "Wilt u het token bijwerken?", + "msg_edit_token_confirm": "Nieuwe waarde: \"{{token}}\"", + "uploading": "Uploaden...", + "btn_not_sure_yet": "Nog niet zeker" +}; +},1961,[]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "action_go_to_category": "Gå til {{anchor}}", + "action_open_epaper": "Åpne epaper", + "action_open_gallery": "Åpne galleri", + "action_open_link": "Åpne lenke", + "action_remove_from_favorites": "Fjern fra favoritter", + "action_save_for_later": "Lagre til senere", + "action_share": "Dele", + "action_unknown": "Ukjent", + "alert_message": "Er du sikker?", + "all": "Alt", + "all_events": "&Hendingar", + "all_jobs": "Alle jobber", + "animation": "Animasjon", + "animation_action": "Klikk på knappen for å endre animasjon", + "animation_change": "Animasjon endre", + "animation_changed": "Animasjon endret", + "article_count": "{{count}} artikler", + "btn_accessibility": "Tilgjengelighetsmodus", + "btn_account": "Logg Inn", + "btn_advance_filters": "Forhånd filtre", + "btn_archive": "Arkiv", + "btn_ask_later": "Spør Meg Senere", + "btn_back": "tilbake", + "btn_cancel": "Avbryt", + "btn_close": "Lukk", + "btn_confirm": "Bekreft", + "btn_contact": "Kontakt", + "btn_disable_log_file": "Send LOGG", + "btn_do_not_show": "Ikke Vis Igjen", + "btn_download": "Nedlasting", + "btn_editions": "Editions", + "btn_enable_log_file": "Aktiver LOGG", + "btn_feed": "Live News", + "btn_fit_page": "Filter", + "btn_g_book": "Bla gjennom", + "btn_go_to_news": "Gå til nyheter", + "btn_help": "Hjelp", + "btn_index": "Indeks", + "btn_link": "Lenkje", + "btn_login": "Logg inn", + "btn_logout": "Logg ut", + "btn_more": "Meir", + "btn_no": "Nei", + "btn_ok": "Ja", + "btn_publications": "Publikasjoner", + "btn_read": "Lese", + "btn_reset": "Tilbakestill", + "btn_search": "Søke", + "btn_set_as_default": "Sett som standard", + "btn_settings": "Innstillingar", + "btn_skip": "Hopp", + "btn_special_section": "Spesial", + "btn_store": "Lagra", + "btn_swipe": "Bla gjennom", + "btn_thumbnail": "Sider", + "btn_yes": "Ja:", + "cache_size": "Cache-størrelse", + "card": "Kort", + "categories": "Kategoriler", + "change": "ENDRE", + "change_location_hint": "Velg nytt sted", + "change_radius": "Velg Radius", + "clear": "KLART", + "clear_cache": "Slett cache", + "clear_favorites": "Klare favoritter", + "confirm": "Bekreft", + "connection_0": "Roaming-modus", + "connection_0_description": "Ideell når begrenset båndbredde er tilgjengelig. Tekstversjonen av utgaven er lastet ned, bilder vil bli vist med svært lav oppløsning.", + "connection_1": "Online-modus", + "connection_1_description": "Ideell mens du er koblet til Internett. Bare sider som vises er lastet ned og tilgjengelig for offline lesing.", + "connection_2": "Frakoblet modus", + "connection_2_description": "Frakoblet modus: Laster automatisk ned hele utgaven ved oppstart for offline lesing.", + "counter": "{{current}} av {{total}}", + "custom_location": "Eigendefinert stad", + "database": "Database", + "database_deleted": "Database slettet", + "default_search": "Standard søk", + "dialog_location_message": "Vi bruker din posisjon til å vise hvor du er på kartet", + "dialog_location_title": "Vi trenger å få tilgang til posisjonen din", + "disabled": "Funksjonshemmede", + "enabled": "Aktivert", + "err_change_animation": "Feil å endre animasjon", + "err_clear_cache": "Feil å tømme cache", + "err_clear_database": "Feil å fjerne database", + "err_clear_favorites": "Feil å klare favoritter", + "err_download_edition": "Det oppstod en feil under nedlastingen av utgåven", + "err_download_edition_db": "Det oppstod en feil under nedlasting av utgåveens database", + "err_download_psetup": "Feil under nedlasting av base-konfigurasjoner", + "err_internet_connection": "Kan ikke koble til server program. Vennligst kontroller at du har internett-tilkobling, og prøv på nytt.", + "err_max_min": "Ugyldig filter, min må være mindre enn maks", + "err_offline": "Eksternt innhold ikke tilgjengelig offline", + "err_retrieve_cache": "Feil å hente cache", + "err_retrieve_favorites": "Feil å hente favoritter", + "err_translation": "Oversettelse ikke tilgjengelig", + "err_translation_offline": "Oversettelse ikke tilgjengelig offline", + "error_on_load_more": "Feilmelding når du prøver å legge flere elementer", + "fast": "Rask", + "favorites": "Favoritter", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_msg_ask_for_feedback": "Er det noe vi kan gjøre for å hjelpe?", + "feedback_title_request_feedback": "Er du nyter din tid med App?", + "feedback_title_request_review_feedback": "Glad for å høre! Ønsker du å legge igjen en anmeldelse eller vurdering?", + "filter_max": "Max", + "filter_min": "Min", + "filter_text": "Skriv tekst her", + "font_extra_large": "Extra large", + "font_extra_small": "Ekstra liten", + "font_large": "Stor", + "font_normal": "Normal", + "font_scale": "Skrift Skala", + "font_small": "Liten", + "from_most_recent": "Fra den siste", + "from_oldest": "Fra de eldste", + "gmc_default_text": "En ny utgave er tilgjengelig. Trykk her for å lese!", + "gmc_message_text": "{{issue}} avis er nå tilgjengelig. Trykk her for å lese!", + "grid": "Rutenett", + "grid_list": "grid/liste", + "home": "Hjem", + "label_exit_accessibility_mode": "Gå ut av Tilgjengelighetsmodus", + "label_open_browser": "Åpne i nettleseren", + "last_search": "Førre søk", + "layout": "Layout", + "learn_more": "Lees mer", + "list": "Listen", + "loading": "Laster...", + "local_events": "Lokale arrangementer", + "max_salary": "Maks. lønn", + "min_salary": "Min. lønn", + "msg_available_next_startup": "Denne konfigurasjonen vil være tilgjengelig neste oppstart", + "msg_clear_cache": "Slett cache", + "msg_clear_favorites": "Slett favoritter", + "msg_copy_to_clipboard": "Kopier til utklippstavle", + "msg_database_deleted": "Slette database", + "msg_delete_db": "Slett DataBase Data?", + "msg_delete_localstorage": "Slett personlige innstillinger?", + "msg_delete_title": "vil du", + "msg_download_edition": "Laster ned utgave...", + "msg_download_retry": "Forsøk på {{retry}} av {{maxRetries}}...", + "msg_empty_category": "Foreløpig er det ingen artikler som er tilordnet til {{category}}! Ta hurtig på for å oppdatere", + "msg_empty_favorites": "Foreløpig er det ingen favoritter!", + "msg_empty_gallery": "Klikket gallery er tom", + "msg_empty_list": "Foreløpig er det ingen elementer! Trykk for å endre noen filtre", + "msg_empty_searches": "Foreløpig er det ingen lagrede søk", + "msg_error_category": "Noe gikk galt, prøver å åpne kategorien eller slette database fra innstillinger! Ta hurtig på for å oppdatere", + "msg_error_list": "Noe gikk feil, prøv å endre noen filtre", + "msg_error_newspaper": "Avisen er tom", + "msg_event_over": "Arrangementet er over.", + "msg_exit_application": "Avslutte programmet?", + "msg_failed": "Feila", + "msg_list_no_articles_available_for_category": "Dette er ikke en feil. Foreløpig er det ingen artikler lagt til i denne kategorien!", + "msg_list_no_content": "Ingen nåværende innhold", + "msg_loading_comments": "Lastar inn kommentarer...", + "msg_loading_more": "Legge i mer...", + "msg_new_issue_available": "En ny utgave er nå tilgjengelig, vil du laste den ned?", + "msg_not_on_latest_issue": "Du ser ikke på den siste tilgjengelige utgaven, vil du laste den nå?", + "msg_new_issue_available_title_edition": "Du leser for øyeblikket {{edition}}", + "msg_new_issue_available_title_edition_date": "Du leser for øyeblikket {{date}}-utgaven av {{edition}}", + "msg_new_issue_available_edition": "En ny utgave av {{edition}} er nå tilgjengelig, vil du laste den?", + "msg_new_issue_available_date": "{{date}}-utgaven er nå tilgjengelig. Vil du laste den?", + "msg_new_issue_available_edition_date": "{{date}}-utgaven av {{edition}} er nå tilgjengelig, vil du laste den?", + "msg_not_on_latest_issue_edition": "Du ser ikke den siste tilgjengelige utgaven av {{edition}}, vil du laste den nå?", + "msg_not_on_latest_issue_date": "Du ser ikke på den siste tilgjengelige utgaven, vil du laste ned {{date}}-utgaven?", + "msg_not_on_latest_issue_edition_date": "Du ser ikke på den siste tilgjengelige utgaven, vil du laste ned {{date}}-utgaven av {{edition}}?", + "msg_offline_article_graph": "Hvis du vil bruke denne funksjonen i frakoblet modus, må du ha lastet ned hele utgaven, eller noen bilder eller tekststykker kan mangle.", + "msg_offline_issues": "Velg en nedlastet utgave for å lese", + "msg_opening_push": "Åpner push-varsler...", + "msg_pending_purchases": "Fullfører ventende kjøp: {{completed}} av {{total}}", + "msg_reload_publication": "last ned automatisk den nyeste utgaven?", + "msg_restore_default_settings": "Vil du gjenopprette standard appinnstillinger?", + "msg_rss_new_articles_available": "{{count}} nye artikler er tilgjengelig", + "msg_rss_no_new_articles_available": "Du er up-to-date", + "msg_rss_one_new_article_available": "1 ny artikkel er tilgjengelig", + "msg_rss_reload_database": "Ny database lastet ned", + "msg_rss_update_error": "Feilmelding under oppdateringen, må du kontrollere internett-tilkoblingen, og prøv igjen", + "msg_search_empty": "Ingenting ble søkt", + "msg_search_lite": "Se resultater på side", + "msg_search_not_found": "Ingen artikkel funnet med {{text}}", + "msg_sent": "Sendt", + "msg_share_unmanaged": "Dele alternativet ikke-administrerte", + "msg_tts_error": "En feil oppstår, prøv igjen!", + "msg_tts_no_volume": "Øk volumet til lystetekst", + "msg_tts_unsupported": "Ikke støttet språk, prøv å bruke standard stemme eller sjekk om det finnes en tilpasset språkpakke!", + "my_home_categories_selected": "{{categories}} kategorier som er valgt for en sum av {{articles}} artikler", + "my_location": "Bruk min plassering", + "network": "Nettverk", + "none": "Ingen", + "normal": "Normal", + "permission_storage_message": "{{appName}} behov lagring tillatelse", + "permission_title": "{{appName}} tillatelse", + "pj_from_page": "fra side", + "pj_to_page": "til side", + "pj_continue_to_page": "Fortsett til siden", + "pj_continue_to_page_parent": "Side", + "powered_by": "Drevet av TECNAVIA", + "powered_by_who": "Powered by {{who}}", + "push_notification": "Push-varsling", + "reader_app_text": "Kontoer og kjøp utenfor denne appen kommer til å håndteres av “{{developerName}}”. Din App Store-konto, lagrede betalingsmåter og andre funksjoner, som for eksempel administrasjon av abonnementer og refunderinger, kommer ikke til å være tilgjengelige. Apple er ikke ansvarlig for personvern eller sikkerhet ved transaksjoner med denne utvikleren.", + "reader_app_title": "Du forlater nå appen og går til en ekstern nettside. Eventuelle transaksjoner kommer ikke til å håndteres av Apple.", + "retry": "Prøv på nytt", + "salary": "Lønn: {{salary}}", + "save_search": "Lagre søk", + "saved_searches": "Lagra Søk", + "search_term": "Søk etter begrep", + "select_after_date": "Velg etter dato", + "select_my_home_categories": "Plukke din favoritt kategorier fra listen nedenfor for å tilpasse {{category}}", + "selected_categories": "Valgte kategorier", + "selected_time_range": "Valgt datointervall", + "settings": "Innstillinger", + "settings_allow_font_scaling": "Tillat skrift skalering", + "settings_startup_epaper": "E-utgave", + "settings_startup_rss": "Live News", + "settings_startup_choose": "Velg hver gang", + "show": "VIS", + "sort_by_date": "Sorter etter tid", + "sort_by_name": "Sorter etter A-Z", + "sort_by_name_reverse": "Sorter etter Z-A", + "sort_by_popularity": "Sorter etter popularitet", + "sort_date_disabled": "Sortere på dato deaktivere", + "start_with": "Start Med", + "str_custom": "Eigendefinert", + "str_default_language": "Gå tilbake til originalspråket", + "str_from": "Frå", + "str_limit_label": "Antall utgaver som skal lagres: {{}}", + "str_next_week": "Neste uke", + "str_page": "Side", + "str_search": "Søk", + "str_search_results": "{{text}} - {{count}} resultater", + "str_special_sections": "Spesielle seksjoner", + "str_this_week": "Denne veka@ label", + "str_this_weekend": "Denne helgen", + "str_time_range": "Datointervall", + "str_title": "Tittel", + "str_to": "Til", + "str_today": "I dag", + "str_tomorrow": "I morgon", + "str_translating_article": "Oversetter artikkelen...", + "system_error": "Det har oppstått en feil", + "title_bottom_sheet": "Handlinger", + "title_offline": "Ingen Internett-tilkobling", + "toggle": "VEKSLE", + "toggle_layout": "Veksle layout", + "toggle_list": "Veksle til liste", + "toggle_map": "Veksle kart", + "total_events": "Arrangementer: {{total}}", + "total_favorites": "Favoritter: {{total}}", + "total_jobs": "Jobber: {{total}}", + "total_searches": "Søker: {{total}}", + "tutorial": "Opplæringen", + "unknown_salary": "Ukjent Lønn", + "unsave_search": "Fjerne lagrede søk", + "version": "Versjon", + "vertical_job_location_hint": "Velg et sted", + "vertical_job_text_hint": "Skriv inn et søkeord for søk", + "offline_download_warning": "Denne utgåven er ikke fullstendig nedlastet. Noen deler av sidene kan virke uklare.", + "user_tip_download_title": "Bruker Tips", + "user_tip_download": "Hvis du vil laste ned alle utgåver automatisk for offline lesing, velger du 'Meir' > 'Innstillingar' > 'Frakoblet modus' som foretrukket Nettverksinnstilling", + "offline_download_dialog": "Ønsker du å laste ned hele utgåven for offline lesing?", + "mobile_network_warning": "Du er koblet til et mobilnettverk i stedet for WiFi", + "msg_operation_completed": "Drift fullført", + "msg_ok_delete_db": "Alle lagrede utgaver er slettet", + "msg_download_rss": "Laster ned nye artikler...", + "settings_translate": "Oversett artikler til", + "settings_themes": "Tema", + "settings_font_size": "Skriftstørrelse", + "settings_graph_size": "Zoom nivå", + "settings_number_stored_editions": "Antall utgaver som skal lagres", + "settings_restart_from_latest": "Start på nytt fra siste utgave (min)", + "settings_article_mode": "Artikkelmodus", + "settings_article_mode_all": "Vis alt", + "settings_article_mode_text_and_graphics": "Vis artikler og grafikk", + "settings_article_mode_only_text": "Vis kun artikler", + "settings_restore_defaults": "Gjenopprett standardinnstillinger", + "settings_clear_storage": "Klar lagring", + "settings_back_to_classic": "Gå tilbake til Classic eEdition", + "settings_two_fingers_tap_to_article": "Bruk tofinger trykk for å åpne artikkel modus", + "settings_single_tap_to_zoom": "Bruk enkelt trykk for å zoome", + "settings_favorite_edition": "Velg din favorittutgave", + "settings_favorite_edition_default_label": "Siste utgave tilgjengelig", + "reset": "NULLSTILLE", + "open": "ÅPEN", + "settings_enable_column_view": "Aktiver fleire kolonnevisingar av artiklar.", + "settings_navigation_arrows": "Navigasjonspiler", + "settings_navigation_arrows_always": "alltid til stede", + "settings_navigation_arrows_disapper": "forsvinner når du leser", + "settings_navigation_arrows_never": "aldri til stede", + "general": "Appinnstillinger", + "settings_translate_original": "Originalspråk", + "advance": "{{label}} | Forhåndsinnstillinger", + "send": "SENDE", + "btn_feedback": "Tilbakemelding", + "return": "KOMME TILBAKE", + "settings_article_highlight": "Hold gjeldende artikkel uthevet når artikkelmodus er åpen", + "write": "SKRIVE", + "btn_continue": "Fortsett", + "btn_go_back": "Gå tilbake", + "btn_go_next": "Gå neste", + "btn_go_up": "Forrige nivå", + "action_go_to_settings": "Gå till Inställningar", + "btn_tts": "Bytt tekst til tale", + "btn_close_accessibility": "Lukk tilgjengelighetsmodus", + "err_module_unavailable": "{{module}} er ikke tilgjengelig i denne appen", + "force_crash": "Tving krasj", + "hint_my_home_screen_config": "For å tilpasse {{label}}", + "hint_two_fingers_tap": "For å lese en artikkel, trykk på artikkelområdet med to fingre", + "hint_restart": "Applikasjonen vil starte på nytt for å laste inn nye konfigurasjoner...", + "hint_update_ui": "Brukergrensesnittet vil oppdateres for å laste inn nye innstillinger, du kan merke et flimmer...", + "msg_access_reserved": "Tilgang reservert for abonnenter", + "msg_already_subscriber": "Er du allerede abonnent? Logg Inn", + "msg_continue_to_read": "Abonner på {{paper}}", + "theme": "Tema", + "settings_zoom_level": "Zoomnivå", + "settings_zoom_level_large": "Stor", + "settings_zoom_level_larger": "Større", + "settings_zoom_level_normal": "Vanlig", + "restart": "Omstart", + "str_no_categories": "ingen kategorier", + "msg_login_overlay_title": "For å fortsette å lese", + "voice_back": "tilbake", + "voice_what": "hva", + "voice_next": "neste", + "voice_next_page": "neste side", + "voice_previous": "forrige", + "voice_previous_page": "forrige side", + "voice_stop": "stopp", + "voice_read": "les", + "voice_close": "lukk", + "voice_up": "opp", + "voice_down": "ned", + "voice_select": "velg", + "msg_max_share": "Du har nådd delingsgrensen for denne utgaven i dag", + "accessibility": "tilgjengelighet", + "msg_simulate_accessibility_title": "Aktiver tilgjengelighetsmodus", + "msg_screenshots_disabled": "Skjermbilder er ikke tillatt i denne appen", + "settings_tab_index_mode": "Aktiver faneoppsett i indeksmodus", + "settings_enable_push_notifications": "Aktiver push-varsler", + "settings_manage_privacy_preferences": "Administrer personvernpreferanser", + "theme_auto": "Automatisk lys/mørke", + "theme_light": "Lys", + "theme_dark": "Mørk", + "str_sort_by": "Sorter etter", + "str_relevance": "Relevans", + "btn_from": "Fra", + "btn_to": "Til", + "srt_order": "Rekkefølge", + "str_byline": "Byline", + "str_descending": "Synkende", + "str_ascending": "Stigende", + "str_categories": "Kategorier", + "str_select": "Plukke ut...", + "str_advertisement": "Annonse", + "iap_go_to_subscriptions": "Gå til abonnement", + "iap_multiple_subscriptions": "Flere abonnementer", + "iap_multiple_subscriptions_message": "Vi fant ut at du har flere aktive abonnementer, vennligst deaktiver de du ikke trenger. Når et abonnement har blitt deaktivert, vil det bli refundert.{{subscriptions}}", + "iap_multiple_active_subscriptions_message": "Du har allerede et aktivt abonnement, vil du uansett kjøpe et nytt? {{subscriptions}}", + "settings_title_box": "Vis artikkeltittelbokser", + "enable_debug_overlay": "Aktiver debugger", + "disable_debug_overlay": "Deaktiver debugger", + "edit_token": "Rediger token", + "title_edit_token_confirm": "Vil du oppdatere tokenet?", + "msg_edit_token_confirm": "Ny verdi: \"{{token}}\"", + "uploading": "Laster opp ...", + "btn_not_sure_yet": "Ikke sikker ennå" +}; +},1962,[]); +__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { + module.exports = { + "action_go_to_category": "Gå til {{anchor}}", + "action_open_epaper": "Åpne epaper", + "action_open_gallery": "Åpne galleri", + "action_open_link": "Åpne lenke", + "action_remove_from_favorites": "Fjern fra favoritter", + "action_save_for_later": "Lagre til senere", + "action_share": "Dele", + "action_unknown": "Ukjent", + "alert_message": "Er du sikker?", + "all": "Alt", + "all_events": "Alle aktiviteter", + "all_jobs": "Alle jobber", + "animation": "Animasjon", + "animation_action": "Klikk på knappen for å endre animasjon", + "animation_change": "Animasjon endre", + "animation_changed": "Animasjon endret", + "article_count": "{{count}} artikler", + "btn_accessibility": "Tilgjengelighetsmodus", + "btn_account": "Logg Inn", + "btn_archive": "Arkiv", + "btn_advance_filters": "Forhånd filtre", + "btn_ask_later": "Spør Meg Senere", + "btn_back": "tilbake", + "btn_cancel": "Avbryt", + "btn_close": "Lukk", + "btn_confirm": "Bekreft", + "btn_contact": "Kontakt", + "btn_disable_log_file": "Send LOGG", + "btn_do_not_show": "Ikke Vis Igjen", + "btn_download": "Nedlasting", + "btn_editions": "Editions", + "btn_enable_log_file": "Aktiver LOGG", + "btn_feed": "Live News", + "btn_fit_page": "Tilpasse", + "btn_g_book": "Bla gjennom", + "btn_go_to_news": "Gå til nyheter", + "btn_help": "Hjelp", + "btn_index": "Indeks", + "btn_link": "Lenke", + "btn_login": "Logg inn", + "btn_logout": "Logg ut", + "btn_more": "Mer", + "btn_no": "Nei", + "btn_ok": "Ja", + "btn_publications": "Publikasjoner", + "btn_read": "Lese", + "btn_reset": "Nullstill", + "btn_search": "Søke", + "btn_set_as_default": "Angi som standard", + "btn_settings": "Innstillinger", + "btn_skip": "Hopp", + "btn_special_section": "Spesiell", + "btn_store": "Bewaren", + "btn_swipe": "Bla gjennom", + "btn_thumbnail": "Sider", + "btn_yes": "Ja:", + "cache_size": "Cache-størrelse", + "card": "Kort", + "categories": "Kategorier", + "change": "ENDRE", + "change_location_hint": "Velg nytt sted", + "change_radius": "Velg Radius", + "clear": "KLART", + "clear_cache": "Slett cache", + "clear_favorites": "Klare favoritter", + "confirm": "Bekreft", + "connection_0": "Roaming-modus", + "connection_0_description": "Ideell når begrenset båndbredde er tilgjengelig. Tekstversjonen av utgaven er lastet ned, bilder vil bli vist med svært lav oppløsning.", + "connection_1": "Online-modus", + "connection_1_description": "Ideell mens du er koblet til Internett. Bare sider som vises er lastet ned og tilgjengelig for offline lesing.", + "connection_2": "Frakoblet modus", + "connection_2_description": "Frakoblet modus: Laster automatisk ned hele utgaven ved oppstart for offline lesing.", + "counter": "{{current}} av {{total}}", + "custom_location": "Eigendefinert stad", + "database": "Database", + "database_deleted": "Database slettet", + "default_search": "Standard søk", + "dialog_location_message": "Vi bruker din posisjon til å vise hvor du er på kartet", + "dialog_location_title": "Vi trenger å få tilgang til posisjonen din", + "disabled": "Funksjonshemmede", + "enabled": "Aktivert", + "err_change_animation": "Feil å endre animasjon", + "err_clear_cache": "Feil å tømme cache", + "err_clear_database": "Feil å fjerne database", + "err_clear_favorites": "Feil å klare favoritter", + "err_download_edition": "Det oppstod en feil under nedlastingen av utgaven", + "err_download_edition_db": "Det oppstod en feil under nedlasting av utgaveens database", + "err_download_psetup": "Feil under nedlasting av base-konfigurasjoner", + "err_internet_connection": "Kan ikke koble til server program. Vennligst kontroller at du har internett-tilkobling, og prøv på nytt.", + "err_max_min": "Ugyldig filter, min må være mindre enn maks", + "err_offline": "Eksternt innhold ikke tilgjengelig offline", + "err_retrieve_cache": "Feil å hente cache", + "err_retrieve_favorites": "Feil å hente favoritter", + "err_translation": "Oversettelse ikke tilgjengelig", + "err_translation_offline": "Oversettelse ikke tilgjengelig offline", + "error_on_load_more": "Feilmelding når du prøver å legge flere elementer", + "fast": "Rask", + "favorites": "Favoritter", + "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", + "feedback_msg_ask_for_feedback": "Er det noe vi kan gjøre for å hjelpe?", + "feedback_title_request_feedback": "Er du nyter din tid med App?", + "feedback_title_request_review_feedback": "Glad for å høre! Ønsker du å legge igjen en anmeldelse eller vurdering?", + "filter_max": "Max", + "filter_min": "Min", + "filter_text": "Skriv tekst her", + "font_extra_large": "Extra large", + "font_extra_small": "Ekstra liten", + "font_large": "Stor", + "font_normal": "Normal", + "font_scale": "Skrift Skala", + "font_small": "Liten", + "from_most_recent": "Fra den siste", + "from_oldest": "Fra de eldste", + "gmc_default_text": "En ny utgave er tilgjengelig. Trykk her for å lese!", + "gmc_message_text": "{{issue}} avis er nå tilgjengelig. Trykk her for å lese!", + "grid": "Rutenett", + "grid_list": "grid/liste", + "home": "Hjem", + "label_exit_accessibility_mode": "Gå ut av Tilgjengelighetsmodus", + "label_open_browser": "Åpne i nettleseren", + "last_search": "Siste søk", + "layout": "Layout", + "learn_more": "Lees mer", + "list": "Listen", + "loading": "Laster...", + "local_events": "Lokale arrangementer", + "max_salary": "Maks. lønn", + "min_salary": "Min. lønn", + "msg_available_next_startup": "Denne konfigurasjonen vil være tilgjengelig neste oppstart", + "msg_clear_cache": "Slett cache", + "msg_clear_favorites": "Slett favoritter", + "msg_copy_to_clipboard": "Kopier til utklippstavle", + "msg_database_deleted": "Slette database", + "msg_delete_db": "Slett DataBase Data?", + "msg_delete_localstorage": "Slett personlige innstillinger?", + "msg_delete_title": "vil du", + "msg_download_edition": "Laster ned utgave...", + "msg_download_retry": "Forsøk på {{retry}} av {{maxRetries}}...", + "msg_empty_category": "Foreløpig er det ingen artikler som er tilordnet til {{category}}! Ta hurtig på for å oppdatere", + "msg_empty_favorites": "Foreløpig er det ingen favoritter!", + "msg_empty_gallery": "Klikket gallery er tom", + "msg_empty_list": "Foreløpig er det ingen elementer! Trykk for å endre noen filtre", + "msg_empty_searches": "Foreløpig er det ingen lagrede søk", + "msg_error_category": "Noe gikk galt, prøver å åpne kategorien eller slette database fra innstillinger! Ta hurtig på for å oppdatere", + "msg_error_list": "Noe gikk feil, prøv å endre noen filtre", + "msg_error_newspaper": "Avisen er tom", + "msg_event_over": "Arrangementet er over.", + "msg_exit_application": "Avslutte programmet?", + "msg_failed": "Mislyktes", + "msg_list_no_articles_available_for_category": "Dette er ikke en feil. Foreløpig er det ingen artikler lagt til i denne kategorien!", + "msg_list_no_content": "Ingen nåværende innhold", + "msg_loading_comments": "Laster inn kommentarer...", + "msg_loading_more": "Legge i mer...", + "msg_new_issue_available": "En ny utgave er nå tilgjengelig, vil du laste den ned?", + "msg_not_on_latest_issue": "Du ser ikke på den siste tilgjengelige utgaven, vil du laste den nå?", + "msg_new_issue_available_title_edition": "Du leser for øyeblikket {{edition}}", + "msg_new_issue_available_title_edition_date": "Du leser for øyeblikket {{date}}-utgaven av {{edition}}", + "msg_new_issue_available_edition": "En ny utgave av {{edition}} er nå tilgjengelig, vil du laste den?", + "msg_new_issue_available_date": "{{date}}-utgaven er nå tilgjengelig. Vil du laste den?", + "msg_new_issue_available_edition_date": "{{date}}-utgaven av {{edition}} er nå tilgjengelig, vil du laste den?", + "msg_not_on_latest_issue_edition": "Du ser ikke den siste tilgjengelige utgaven av {{edition}}, vil du laste den nå?", + "msg_not_on_latest_issue_date": "Du ser ikke på den siste tilgjengelige utgaven, vil du laste ned {{date}}-utgaven?", + "msg_not_on_latest_issue_edition_date": "Du ser ikke på den siste tilgjengelige utgaven, vil du laste ned {{date}}-utgaven av {{edition}}?", + "msg_offline_article_graph": "Hvis du vil bruke denne funksjonen i frakoblet modus, må du ha lastet ned hele utgaven, eller noen bilder eller tekststykker kan mangle.", + "msg_offline_issues": "Velg en nedlastet utgave for å lese", + "msg_opening_push": "Åpner push-varsler...", + "msg_pending_purchases": "Fullfører ventende kjøp: {{completed}} av {{total}}", + "msg_reload_publication": "last ned automatisk den nyeste utgaven?", + "msg_restore_default_settings": "Vil du gjenopprette standard appinnstillinger?", + "msg_rss_new_articles_available": "{{count}} nye artikler er tilgjengelig", + "msg_rss_no_new_articles_available": "Du er up-to-date", + "msg_rss_one_new_article_available": "1 ny artikkel er tilgjengelig", + "msg_rss_reload_database": "Ny database lastet ned", + "msg_rss_update_error": "Feilmelding under oppdateringen, må du kontrollere internett-tilkoblingen, og prøv igjen", + "msg_search_empty": "Ingenting ble søkt", + "msg_search_lite": "Se resultater på side", + "msg_search_not_found": "Ingen artikkel funnet med {{text}}", + "msg_sent": "Sendt", + "msg_share_unmanaged": "Dele alternativet ikke-administrerte", + "msg_tts_error": "En feil oppstår, prøv igjen!", + "msg_tts_no_volume": "Øk volumet til lystetekst", + "msg_tts_unsupported": "Ikke støttet språk, prøv å bruke standard stemme eller sjekk om det finnes en tilpasset språkpakke!", + "my_home_categories_selected": "{{categories}} kategorier som er valgt for en sum av {{articles}} artikler", + "my_location": "Bruk min plassering", + "network": "Nettverk", + "none": "Ingen", + "normal": "Normal", + "permission_storage_message": "{{appName}} behov lagring tillatelse", + "permission_title": "{{appName}} tillatelse", + "pj_from_page": "fra side", + "pj_to_page": "til side", + "pj_continue_to_page": "Fortsett til siden", + "pj_continue_to_page_parent": "Side", + "powered_by": "Drevet av TECNAVIA", + "powered_by_who": "Drevet av {{who}}", + "push_notification": "Push-varsling", + "reader_app_text": "Kontoer og kjøp utenfor denne appen kommer til å håndteres av “{{developerName}}”. Din App Store-konto, lagrede betalingsmåter og andre funksjoner, som for eksempel administrasjon av abonnementer og refunderinger, kommer ikke til å være tilgjengelige. Apple er ikke ansvarlig for personvern eller sikkerhet ved transaksjoner med denne utvikleren.", + "reader_app_title": "Du forlater nå appen og går til en ekstern nettside. Eventuelle transaksjoner kommer ikke til å håndteres av Apple.", + "retry": "Prøv på nytt", + "salary": "Lønn: {{salary}}", + "save_search": "Lagre søk", + "saved_searches": "Lagra søk", + "search_term": "Søk etter begrep", + "select_after_date": "Velg etter dato", + "select_my_home_categories": "Plukke din favoritt kategorier fra listen nedenfor for å tilpasse {{category}}", + "selected_categories": "Valgte kategorier", + "selected_time_range": "Valgt datointervall", + "settings": "Innstillinger", + "settings_allow_font_scaling": "Tillat skrift skalering", + "settings_startup_epaper": "E-utgave", + "settings_startup_rss": "Live News", + "settings_startup_choose": "Velg hver gang", + "show": "VIS", + "sort_by_date": "Sorter etter gegevens", + "sort_by_name": "Sorter etter A-Z", + "sort_by_name_reverse": "Sorter etter Z-A", + "sort_by_popularity": "Sorter etter popularitet", + "sort_date_disabled": "Sortere på dato deaktivere", + "start_with": "Start Med", + "str_custom": "Egendefinert", + "str_default_language": "Gå tilbake til originalspråket", + "str_from": "Fra", + "str_limit_label": "Antall utgaver som skal lagres: {{days}}", + "str_next_week": "Neste uke", + "str_page": "Side", + "str_search": "Søk", + "str_search_results": "{{text}} - {{count}} resultater", + "str_special_sections": "Spesielle seksjoner", + "str_this_week": "Denne uken", + "str_this_weekend": "Helg", + "str_time_range": "Datointervall", + "str_title": "Tittel", + "str_to": "Til", + "str_today": "I dag", + "str_tomorrow": "I morgen", + "str_translating_article": "Oversetter artikkelen...", + "system_error": "Det har oppstått en feil", + "title_bottom_sheet": "Handlinger", + "title_offline": "Ingen Internett-tilkobling", + "toggle": "VEKSLE", + "toggle_layout": "Veksle layout", + "toggle_list": "Veksle til liste", + "toggle_map": "Veksle kart", + "total_events": "Arrangementer: {{total}}", + "total_favorites": "Favoritter: {{total}}", + "total_jobs": "Jobber: {{total}}", + "total_searches": "Søker: {{total}}", + "tutorial": "Opplæringen", + "unknown_salary": "Ukjent Lønn", + "unsave_search": "Fjerne lagrede søk", + "version": "Versjon", + "vertical_job_location_hint": "Velg et sted", + "vertical_job_text_hint": "Skriv inn et søkeord for søk", + "offline_download_warning": "Denne utgaven er ikke fullstendig nedlastet. Noen deler av sidene kan virke uklare.", + "user_tip_download_title": "Bruker Tips", + "user_tip_download": "Hvis du vil laste ned alle utgaver automatisk for offline lesing, velger du 'Mer' > 'Innstillinger' > 'Frakoblet modus' som foretrukket Nettverksinnstilling", + "offline_download_dialog": "Ønsker du å laste ned hele utgaven for offline lesing?", + "mobile_network_warning": "Du er koblet til et mobilnettverk i stedet for WiFi", + "msg_operation_completed": "Drift fullført", + "msg_ok_delete_db": "Alle lagrede utgaver er slettet", + "msg_download_rss": "Laster ned nye artikler...", + "settings_translate": "Oversett artikler til", + "settings_themes": "Tema", + "settings_font_size": "Skriftstørrelse", + "settings_graph_size": "Zoom nivå", + "settings_number_stored_editions": "Antall utgaver som skal lagres", + "settings_restart_from_latest": "Start på nytt fra siste utgave (min)", + "settings_article_mode": "Artikkelmodus", + "settings_article_mode_all": "Vis alt", + "settings_article_mode_text_and_graphics": "Vis artikler og grafikk", + "settings_article_mode_only_text": "Vis kun artikler", + "settings_restore_defaults": "Gjenopprett standardinnstillinger", + "settings_clear_storage": "Klar lagring", + "settings_back_to_classic": "Gå tilbake til Classic eEdition", + "settings_two_fingers_tap_to_article": "Bruk tofinger trykk for å åpne artikkel modus", + "settings_single_tap_to_zoom": "Bruk enkelt trykk for å zoome", + "settings_favorite_edition": "Velg din favorittutgave", + "settings_favorite_edition_default_label": "Siste utgave tilgjengelig", + "reset": "NULLSTILLE", + "open": "ÅPEN", + "settings_enable_column_view": "Aktiver fleire kolonnevisingar av artiklar.", + "settings_navigation_arrows": "Navigasjonspiler", + "settings_navigation_arrows_always": "alltid til stede", + "settings_navigation_arrows_disapper": "forsvinner når du leser", + "settings_navigation_arrows_never": "aldri til stede", + "general": "Appinnstillinger", + "settings_translate_original": "Originalspråk", + "advance": "{{label}} | Forhåndsinnstillinger", + "send": "SENDE", + "btn_feedback": "Tilbakemelding", + "return": "KOMME TILBAKE", + "settings_article_highlight": "Hold gjeldende artikkel uthevet når artikkelmodus er åpen", + "write": "SKRIVE", + "btn_continue": "Fortsett", + "btn_go_back": "Gå tilbake", + "btn_go_next": "Gå neste", + "btn_go_up": "Forrige nivå", + "action_go_to_settings": "Gå till Inställningar", + "btn_reload": "Last inn på nytt", + "btn_tts": "Bytt tekst til tale", + "btn_close_accessibility": "Lukk tilgjengelighetsmodus", + "err_module_unavailable": "{{module}} er ikke tilgjengelig i denne appen", + "force_crash": "Tving krasj", + "hint_my_home_screen_config": "For å tilpasse {{label}}", + "hint_two_fingers_tap": "For å lese en artikkel, trykk på artikkelområdet med to fingre", + "hint_restart": "Applikasjonen vil starte på nytt for å laste inn nye konfigurasjoner...", + "hint_update_ui": "Brukergrensesnittet vil oppdateres for å laste inn nye innstillinger, du kan merke et flimmer...", + "msg_access_reserved": "Tilgang reservert for abonnenter", + "msg_already_subscriber": "Er du allerede abonnent? Logg Inn", + "msg_continue_to_read": "Abonner på {{paper}}", + "theme": "Tema", + "settings_zoom_level": "Zoomnivå", + "settings_zoom_level_large": "Stor", + "settings_zoom_level_larger": "Større", + "settings_zoom_level_normal": "Vanlig", + "restart": "Omstart", + "str_no_categories": "ingen kategorier", + "msg_login_overlay_title": "For å fortsette å lese", + "voice_back": "tilbake", + "voice_what": "hva", + "voice_next": "neste", + "voice_next_page": "neste side", + "voice_previous": "forrige", + "voice_previous_page": "forrige side", + "voice_stop": "stopp", + "voice_read": "les", + "voice_close": "lukk", + "voice_up": "opp", + "voice_down": "ned", + "voice_select": "velg", + "msg_max_share": "Du har nådd den daglige delingsgrensen for denne utgaven", + "accessibility": "tilgjengelighet", + "msg_simulate_accessibility_title": "Aktiver tilgjengelighetsmodus", + "msg_screenshots_disabled": "Skjermbilder er ikke tillatt i denne appen", + "settings_tab_index_mode": "Aktiver faneoppsett i indeksmodus", + "settings_enable_push_notifications": "Aktiver push-varsler", + "settings_manage_privacy_preferences": "Administrer personvernpreferanser", + "theme_auto": "Automatisk lys/mørke", + "theme_light": "Lys", + "theme_dark": "Mørk", + "str_sort_by": "Sorter etter", + "str_relevance": "Relevans", + "btn_from": "Fra", + "btn_to": "Til", + "srt_order": "Rekkefølge", + "str_byline": "Byline", + "str_descending": "Synkende", + "str_ascending": "Stigende", + "str_categories": "Kategorier", + "str_select": "Plukke ut...", + "str_advertisement": "Annonse", + "iap_go_to_subscriptions": "Gå til abonnement", + "iap_multiple_subscriptions": "Flere abonnementer", + "iap_multiple_subscriptions_message": "Vi fant ut at du har flere aktive abonnementer, vennligst deaktiver de du ikke trenger. Når et abonnement har blitt deaktivert, vil det bli refundert.{{subscriptions}}", + "iap_multiple_active_subscriptions_message": "Du har allerede et aktivt abonnement, vil du uansett kjøpe et nytt? {{subscriptions}}", + "settings_title_box": "Vis artikkeltittelbokser", + "enable_debug_overlay": "Aktiver debugger", + "disable_debug_overlay": "Deaktiver debugger", + "edit_token": "Rediger token", + "title_edit_token_confirm": "Vil du oppdatere tokenet?", + "msg_edit_token_confirm": "Ny verdi: \"{{token}}\"", + "uploading": "Laster opp ...", + "btn_not_sure_yet": "Ikke sikker ennå" +}; +},1963,[]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var LANGUAGE_PACK_BASE_STORAGE_NAME = "languagePack"; + + var LocaleHelper = exports.default = function () { + function LocaleHelper() { + (0, _classCallCheck2.default)(this, LocaleHelper); + } + + return (0, _createClass2.default)(LocaleHelper, null, [{ + key: "setStorageName", + value: function setStorageName(prefix) { + var storageName = LANGUAGE_PACK_BASE_STORAGE_NAME; + + if (prefix) { + storageName = prefix + "_" + storageName; + } + + LocaleHelper.SP.name = storageName; + } + }, { + key: "getItem", + value: function () { + var _getItem = (0, _asyncToGenerator2.default)(function* (key) { + return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.getItem(LocaleHelper.SP.name, key); + }); + + function getItem(_x) { + return _getItem.apply(this, arguments); + } + + return getItem; + }() + }, { + key: "setItem", + value: function () { + var _setItem = (0, _asyncToGenerator2.default)(function* (key, value) { + yield _$$_REQUIRE(_dependencyMap[4]).StorageUtils.setItem(LocaleHelper.SP.name, key, value); + }); + + function setItem(_x2, _x3) { + return _setItem.apply(this, arguments); + } + + return setItem; + }() + }, { + key: "getFiletime", + value: function () { + var _getFiletime = (0, _asyncToGenerator2.default)(function* () { + var filetime = parseInt((yield LocaleHelper.getItem(LocaleHelper.SP.keys.filetime)) || -1, 10); + return filetime; + }); + + function getFiletime() { + return _getFiletime.apply(this, arguments); + } + + return getFiletime; + }() + }, { + key: "setFiletime", + value: function () { + var _setFiletime = (0, _asyncToGenerator2.default)(function* (filetime) { + return LocaleHelper.setItem(LocaleHelper.SP.keys.filetime, "" + filetime); + }); + + function setFiletime(_x4) { + return _setFiletime.apply(this, arguments); + } + + return setFiletime; + }() + }, { + key: "getLanguagePack", + value: function () { + var _getLanguagePack = (0, _asyncToGenerator2.default)(function* () { + var strings = yield LocaleHelper.getItem(LocaleHelper.SP.keys.strings); + + if (strings) { + try { + return JSON.parse(strings); + } catch (e) {} + } + + return {}; + }); + + function getLanguagePack() { + return _getLanguagePack.apply(this, arguments); + } + + return getLanguagePack; + }() + }, { + key: "setLanguagePack", + value: function () { + var _setLanguagePack = (0, _asyncToGenerator2.default)(function* (strings) { + return LocaleHelper.setItem(LocaleHelper.SP.keys.strings, JSON.stringify(strings)); + }); + + function setLanguagePack(_x5) { + return _setLanguagePack.apply(this, arguments); + } + + return setLanguagePack; + }() + }]); + }(); + + LocaleHelper.SP = { + name: LANGUAGE_PACK_BASE_STORAGE_NAME, + keys: { + strings: "strings", + filetime: "filetime" + } + }; +},1964,[3,270,6,7,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _TTSManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _VoiceManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var AudioManager = exports.default = function () { + function AudioManager() { + (0, _classCallCheck2.default)(this, AudioManager); + this.ttsManager = new _TTSManager.default(); + this.voiceManager = new _VoiceManager.default(); + this.resolveStopPromise = this._resolveStopPromise.bind(this); + this.rejectStopPromise = this._rejectStopPromise.bind(this); + this.stopPromise = undefined; + this.stopResolve = undefined; + this.stopReject = undefined; + } + + return (0, _createClass2.default)(AudioManager, [{ + key: "init", + value: function () { + var _init = (0, _asyncToGenerator2.default)(function* (locale) { + if (this.ttsManager) { + yield this.ttsManager.initTTS(locale); + this.ttsManager.register(); + } + }); + + function init(_x) { + return _init.apply(this, arguments); + } + + return init; + }() + }, { + key: "setLanguage", + value: function setLanguage(language) { + if (this.ttsManager) { + this.ttsManager.setLanguage(language); + } + } + }, { + key: "setLocale", + value: function setLocale(locale) { + if (this.ttsManager) { + this.ttsManager.setLocale(locale); + } + } + }, { + key: "ttsIsPaused", + value: function ttsIsPaused() { + return this.ttsManager && this.ttsManager.isPaused(); + } + }, { + key: "ttsIsUserPaused", + value: function ttsIsUserPaused() { + return this.ttsManager && this.ttsManager.isUserPaused(); + } + }, { + key: "ttsIsSpeaking", + value: function ttsIsSpeaking() { + return this.ttsManager && this.ttsManager.isSpeaking(); + } + }, { + key: "ttsIsAutoRestart", + value: function ttsIsAutoRestart() { + return this.ttsManager && this.ttsManager.isAutoRestart(); + } + }, { + key: "ttsWhat", + value: function () { + var _ttsWhat = (0, _asyncToGenerator2.default)(function* () { + if (this.ttsManager) { + return this.ttsManager.what(); + } + + return Promise.resolve(); + }); + + function ttsWhat() { + return _ttsWhat.apply(this, arguments); + } + + return ttsWhat; + }() + }, { + key: "_resolveStopPromise", + value: function _resolveStopPromise() { + if (this.stopResolve) { + this.stopResolve(); + } + + this.stopResolve = undefined; + this.stopReject = undefined; + this.stopPromise = undefined; + } + }, { + key: "_rejectStopPromise", + value: function _rejectStopPromise() { + if (this.stopReject) { + this.stopReject(); + } + + this.stopResolve = undefined; + this.stopReject = undefined; + this.stopPromise = undefined; + } + }, { + key: "ttsStart", + value: function () { + var _ttsStart = (0, _asyncToGenerator2.default)(function* (text) { + if (this.ttsManager) { + if (this.stopPromise) { + try { + yield this.stopPromise; + } catch (e) {} + } + + return this.ttsManager.start(text); + } + + return Promise.resolve(); + }); + + function ttsStart(_x2) { + return _ttsStart.apply(this, arguments); + } + + return ttsStart; + }() + }, { + key: "ttsStop", + value: function () { + var _ttsStop = (0, _asyncToGenerator2.default)(function* (autoRestartEnabled) { + var _this = this; + + if (this.ttsManager) { + this.rejectStopPromise(); + + if (autoRestartEnabled) { + this.stopPromise = new Promise(function (resolve, reject) { + _this.stopResolve = resolve; + _this.stopReject = reject; + + _this.ttsManager.stop(autoRestartEnabled).then(_this.resolveStopPromise).catch(_this.rejectStopPromise); + }); + return this.stopPromise; + } + + return this.ttsManager.stop(); + } + + return Promise.resolve(); + }); + + function ttsStop(_x3) { + return _ttsStop.apply(this, arguments); + } + + return ttsStop; + }() + }, { + key: "ttsResume", + value: function () { + var _ttsResume = (0, _asyncToGenerator2.default)(function* () { + if (this.ttsManager) { + return this.ttsManager.resume(); + } + + return Promise.resolve(); + }); + + function ttsResume() { + return _ttsResume.apply(this, arguments); + } + + return ttsResume; + }() + }, { + key: "ttsPause", + value: function () { + var _ttsPause = (0, _asyncToGenerator2.default)(function* () { + if (this.ttsManager) { + return this.ttsManager.pause(); + } + + return Promise.resolve(); + }); + + function ttsPause() { + return _ttsPause.apply(this, arguments); + } + + return ttsPause; + }() + }, { + key: "ttsDestroy", + value: function () { + var _ttsDestroy = (0, _asyncToGenerator2.default)(function* () { + if (this.ttsManager) { + return this.ttsManager.destroy(); + } + + return Promise.resolve(); + }); + + function ttsDestroy() { + return _ttsDestroy.apply(this, arguments); + } + + return ttsDestroy; + }() + }, { + key: "ttsShowPlayer", + value: function ttsShowPlayer() { + if (this.ttsManager) { + this.ttsManager.showPlayer(); + } + } + }, { + key: "ttsPlayerProps", + value: function ttsPlayerProps() { + if (this.ttsManager) { + return this.ttsManager.getPlayerProps(); + } + + return {}; + } + }, { + key: "srIsRunning", + value: function srIsRunning() { + return this.voiceManager && this.voiceManager.isRunning(); + } + }, { + key: "srIsLooping", + value: function srIsLooping() { + return this.voiceManager && this.voiceManager.loop; + } + }, { + key: "srStart", + value: function () { + var _srStart = (0, _asyncToGenerator2.default)(function* (loop) { + if (this.voiceManager) { + yield this.ttsPause(); + return this.voiceManager.start(loop); + } + + return Promise.resolve(); + }); + + function srStart(_x4) { + return _srStart.apply(this, arguments); + } + + return srStart; + }() + }, { + key: "srStop", + value: function () { + var _srStop = (0, _asyncToGenerator2.default)(function* () { + if (this.voiceManager) { + yield this.ttsResume(); + return this.voiceManager.stop(); + } + + return Promise.resolve(); + }); + + function srStop() { + return _srStop.apply(this, arguments); + } + + return srStop; + }() + }]); + }(); +},1965,[3,270,6,7,1966,1982]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _player = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _TTS = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var TTSManager = exports.default = function () { + function TTSManager() { + var _this = this; + + (0, _classCallCheck2.default)(this, TTSManager); + this._tts = new _TTS.default(); + this._autoRestart = false; + this._text = undefined; + this._pausedIndex = 0; + this._paused = false; + this._userPaused = false; + + this._onSpeakStart = function (event) { + _$$_REQUIRE(_dependencyMap[8]).LoadingOverlay.hide({ + id: "tts" + }); + + _deviceUtils.default.disableIdleTimer(); + + if (_this._player) { + _this._player.show(); + + _this._player.playing(); + + _this._paused = false; + } + }; + + this._onSpeakStop = function () { + var event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + + _$$_REQUIRE(_dependencyMap[8]).LoadingOverlay.hide({ + id: "tts" + }); + + _deviceUtils.default.enableIdleTimer(); + + if (!_this._paused && _this._player) { + _this._player.hide(); + } + }; + + this._onSpeakProgress = function (event) { + if (event) { + var location = event.location, + progress = event.progress, + percentage = event.percentage; + _this._pausedIndex = location; + + if (percentage >= 100) { + _this._autoRestart = false; + } + + if (_this._player) { + _this._player.setProgress(progress); + } + } + }; + + this._onPlayer = function (player) { + _this._player = player; + }; + + this._onPlayerResume = function () { + _this._userPaused = false; + + _this.resume(); + }; + + this._onPlayerPause = function () { + _this._userPaused = true; + + _this.pause(); + }; + + this._onPlayerClose = function () { + _this.stop(); + }; + } + + return (0, _createClass2.default)(TTSManager, [{ + key: "_hidePlayer", + value: function _hidePlayer() { + if (this._player) { + this._player.hide(); + } + } + }, { + key: "_resetPlayer", + value: function _resetPlayer() { + if (this._player) { + this._player.initWithState({ + progress: 0, + playing: true, + visible: false + }); + } + } + }, { + key: "_reset", + value: function _reset() { + this._pausedIndex = 0; + this._text = undefined; + } + }, { + key: "register", + value: function register() { + if (!this._onTTSStartId) { + this._onTTSStartId = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(_events.default.TTS_ENGINE_STARTED, this._onSpeakStart); + } + + if (!this._onTTSStopId) { + this._onTTSStopId = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(_events.default.TTS_ENGINE_STOPPED, this._onSpeakStop); + } + + if (!this._onTTSProgressId) { + this._onTTSProgressId = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(_events.default.TTS_ENGINE_PROGRESS, this._onSpeakProgress); + } + } + }, { + key: "initTTS", + value: function () { + var _initTTS = (0, _asyncToGenerator2.default)(function* (locale) { + if (this._tts) { + this._tts.setMaxChunkLength(global.getActivePSetup().textToSpeechChunkLength); + + return this._tts.init(locale); + } + + return Promise.resolve(); + }); + + function initTTS(_x) { + return _initTTS.apply(this, arguments); + } + + return initTTS; + }() + }, { + key: "what", + value: function () { + var _what = (0, _asyncToGenerator2.default)(function* () { + if (yield this.pause()) { + yield this.resume(); + } + }); + + function what() { + return _what.apply(this, arguments); + } + + return what; + }() + }, { + key: "start", + value: function () { + var _start = (0, _asyncToGenerator2.default)(function* (text) { + var resume = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + if (!resume) { + this._reset(); + } + + try { + this._text = text.trim(); + + if (this._text) { + if (!resume) { + _$$_REQUIRE(_dependencyMap[8]).LoadingOverlay.show({ + id: "tts" + }); + + yield this._tts.speak(this._text, 0); + } else { + yield this._tts.speak(this._text, this._pausedIndex); + } + + if (this._player) { + this._player.show(); + } + } + } catch (e) { + if (!resume) { + _$$_REQUIRE(_dependencyMap[8]).LoadingOverlay.hide({ + id: "tts" + }); + } + } + }); + + function start(_x2) { + return _start.apply(this, arguments); + } + + return start; + }() + }, { + key: "stop", + value: function () { + var _stop = (0, _asyncToGenerator2.default)(function* () { + var autoRestartEnabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + + try { + this._autoRestart = autoRestartEnabled && this.isSpeaking(); + + _$$_REQUIRE(_dependencyMap[8]).LoadingOverlay.hide({ + id: "tts" + }); + + yield this._tts.stop(); + } catch (e) {} + + this._hidePlayer(); + }); + + function stop() { + return _stop.apply(this, arguments); + } + + return stop; + }() + }, { + key: "pause", + value: function () { + var _pause = (0, _asyncToGenerator2.default)(function* () { + try { + if (!this._paused) { + this._paused = true; + yield this._tts.stop(); + } + + return true; + } catch (e) {} + + return false; + }); + + function pause() { + return _pause.apply(this, arguments); + } + + return pause; + }() + }, { + key: "resume", + value: function () { + var _resume = (0, _asyncToGenerator2.default)(function* () { + try { + if (this._paused) { + this._paused = false; + this._userPaused = false; + this.start(this._text, true); + } + } catch (e) {} + }); + + function resume() { + return _resume.apply(this, arguments); + } + + return resume; + }() + }, { + key: "getPlayerProps", + value: function getPlayerProps() { + return { + ref: this._onPlayer, + onResume: this._onPlayerResume, + onPause: this._onPlayerPause, + onClose: this._onPlayerClose + }; + } + }, { + key: "showPlayer", + value: function showPlayer() { + if (this._player) { + if (this._userPaused) { + this._player.initWithState({ + progress: this._tts.getReadingProgress(), + playing: false, + visible: true + }); + } else { + this._player.show(); + } + } + } + }, { + key: "setLanguage", + value: function setLanguage(language) { + if (this._tts) { + this._tts.setLanguage(language); + } + } + }, { + key: "setLocale", + value: function setLocale(locale) { + if (this._tts) { + this._tts.setLocale(locale); + } + } + }, { + key: "isAutoRestart", + value: function isAutoRestart() { + return this._autoRestart; + } + }, { + key: "isSpeaking", + value: function isSpeaking() { + return this._tts.isSpeaking(); + } + }, { + key: "isPaused", + value: function isPaused() { + return this._paused; + } + }, { + key: "isUserPaused", + value: function isUserPaused() { + return this._userPaused; + } + }, { + key: "destroy", + value: function () { + var _destroy = (0, _asyncToGenerator2.default)(function* () { + yield this.stop(); + this._paused = false; + this._userPaused = false; + + this._reset(); + + this._resetPlayer(); + }); + + function destroy() { + return _destroy.apply(this, arguments); + } + + return destroy; + }() + }]); + }(); +},1966,[3,270,6,7,436,434,1967,1972,1979,564]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _readOnlyError2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[9]); + + var _iconComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[10])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var styles = _reactNative.StyleSheet.create({ + parent: { + height: 50, + position: "absolute", + bottom: 0, + start: 0, + end: 0, + flexDirection: "row", + alignItems: "center", + borderTopColor: "black", + borderTopWidth: 1, + backgroundColor: "white" + }, + icon: { + fontSize: 20, + margin: 10, + color: "black" + }, + progress: { + flex: 1, + height: 50, + paddingVertical: 10, + paddingHorizontal: 5 + } + }); + + var Player = exports.default = function (_React$Component) { + function Player(props) { + var _this; + + (0, _classCallCheck2.default)(this, Player); + _this = _callSuper(this, Player, [props]); + _this.state = { + progress: 0, + playing: true, + visible: false + }; + _this.onProgressRef = _this._onProgressRef.bind(_this); + _this.onToggle = _this._onToggle.bind(_this); + _this.toggleCallback = _this._toggleCallback.bind(_this); + _this.onClose = _this._onClose.bind(_this); + return _this; + } + + (0, _inherits2.default)(Player, _React$Component); + return (0, _createClass2.default)(Player, [{ + key: "initWithState", + value: function initWithState(_ref) { + var progress = _ref.progress, + playing = _ref.playing, + visible = _ref.visible; + this.setState({ + progress: progress, + playing: playing, + visible: visible + }); + } + }, { + key: "show", + value: function show() { + this._setVisibility(true); + } + }, { + key: "hide", + value: function hide() { + this._setVisibility(false); + } + }, { + key: "toggle", + value: function toggle() { + this.onToggle(); + } + }, { + key: "playing", + value: function playing() { + var playing = this.state.playing; + + if (!playing) { + this.setState({ + playing: true + }, this.toggleCallback); + } + } + }, { + key: "setProgress", + value: function setProgress(progress) { + if (this.progressRef) { + this.progressRef.updateProgress(progress); + } + } + }, { + key: "_setVisibility", + value: function _setVisibility(visibility) { + var visible = this.state.visible; + + if (visibility !== visible) { + this.setState({ + visible: visibility + }); + } + } + }, { + key: "_toggleCallback", + value: function _toggleCallback() { + var playing = this.state.playing; + var _this$props = this.props, + onResume = _this$props.onResume, + onPause = _this$props.onPause; + + if (playing) { + if (typeof onResume === "function") { + onResume(); + } + } else { + if (typeof onPause === "function") { + onPause(); + } + } + } + }, { + key: "_onToggle", + value: function _onToggle() { + this.setState(function (prevState) { + return { + playing: !prevState.playing + }; + }, this.toggleCallback); + } + }, { + key: "_onClose", + value: function _onClose() { + this.hide(); + var onClose = this.props.onClose; + + if (typeof onClose === "function") { + onClose(); + } + } + }, { + key: "_onProgressRef", + value: function _onProgressRef(ref) { + this.progressRef = ref; + } + }, { + key: "render", + value: function render() { + var _this$state = this.state, + progress = _this$state.progress, + playing = _this$state.playing, + visible = _this$state.visible; + + var _global$getActivePSet = global.getActivePSetup(), + enableTextToSpeechPlayer = _global$getActivePSet.enableTextToSpeechPlayer; + + if (!enableTextToSpeechPlayer) { + return null; + } + + if (!visible) { + return null; + } + + var spinnerStyle = _$$_REQUIRE(_dependencyMap[11]).Css.getStyleObjByCssClasses(["tts-player-spinner-parent"]); + + return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[11]).Css, { + classes: ["tts-player-parent"], + children: (0, _$$_REQUIRE(_dependencyMap[12]).jsxs)(_reactNative.View, { + style: styles.parent, + children: [(0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[11]).Css, { + classes: ["tts-player-icon-parent"], + children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_reactNative.TouchableOpacity, { + onPress: this.onToggle, + children: !playing ? (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[11]).Css, { + classes: ["tts-player-icon", "tts-player-icon-resume"], + children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_iconComponent.default, { + name: "play", + style: styles.icon, + type: _iconComponent.TecnaviaIconType.MATERIAL_COMMUNITY_ICONS + }) + }) : (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[11]).Css, { + classes: ["tts-player-icon", "tts-player-icon-pause"], + children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_iconComponent.default, { + name: "pause", + style: styles.icon, + type: _iconComponent.TecnaviaIconType.MATERIAL_COMMUNITY_ICONS + }) + }) + }) + }), (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[13]).ProgressCircle, { + ref: this.onProgressRef, + bar: true, + advanced: true, + spinnerStyle: spinnerStyle, + cssClasses: ["tts-player-spinner"], + startProgress: progress + }), (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[11]).Css, { + classes: ["tts-player-icon-parent"], + children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_reactNative.TouchableOpacity, { + onPress: this.onClose, + children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[11]).Css, { + classes: ["tts-player-icon", "tts-player-icon-close"], + children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_iconComponent.default, { + name: "close", + style: styles.icon, + type: _iconComponent.TecnaviaIconType.MATERIAL_COMMUNITY_ICONS + }) + }) + }) + })] + }) + }); + } + }]); + }(_react.default.Component); + + Player.propTypes = { + onResume: _propTypes.default.func, + onPause: _propTypes.default.func, + onClose: _propTypes.default.func + }; +},1967,[3,224,6,7,11,13,14,16,582,18,1807,817,179,1968]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + Object.keys(_$$_REQUIRE(_dependencyMap[0])).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _$$_REQUIRE(_dependencyMap[0])[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _$$_REQUIRE(_dependencyMap[0])[key]; + } + }); + }); +},1968,[1969]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ProgressCircle = undefined; + + var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[8]); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var Progress = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[10])); + + var _fontText = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + var _spinnerComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var ProgressCircle = exports.ProgressCircle = function (_React$PureComponent) { + function ProgressCircle(props) { + var _this; + + (0, _classCallCheck2.default)(this, ProgressCircle); + _this = _callSuper(this, ProgressCircle, [props]); + var advanced = props.advanced, + startProgress = props.startProgress, + hidden = props.hidden; + var progress; + + if (advanced) { + progress = startProgress; + } + + _this.state = { + progress: progress, + hidden: hidden, + retryText: "" + }; + return _this; + } + + (0, _inherits2.default)(ProgressCircle, _React$PureComponent); + return (0, _createClass2.default)(ProgressCircle, [{ + key: "updateProgress", + value: function updateProgress(progress) { + this.setState({ + progress: progress + }); + } + }, { + key: "updateRetryText", + value: function updateRetryText(retryText) { + this.setState({ + retryText: retryText + }); + } + }, { + key: "show", + value: function show() { + var hidden = this.state.hidden; + + if (hidden) { + this.setState({ + hidden: false + }); + } + } + }, { + key: "hide", + value: function hide() { + var hidden = this.state.hidden; + + if (!hidden) { + this.setState({ + hidden: true + }); + } + } + }, { + key: "_getSpinnerColor", + value: function _getSpinnerColor() { + var spinnerColor = this.props.spinnerColor; + + if (!spinnerColor) { + var _global$getRssIndex = global.getRssIndex(), + supportColor = _global$getRssIndex.supportColor; + + if (supportColor) { + spinnerColor = supportColor; + } else if (global.loadingColor) { + spinnerColor = global.loadingColor; + } else { + spinnerColor = _$$_REQUIRE(_dependencyMap[13]).colors.black; + } + } + + return spinnerColor; + } + }, { + key: "_getSpinner", + value: function _getSpinner(style) { + var _this$props = this.props, + advanced = _this$props.advanced, + spinnerSize = _this$props.spinnerSize, + spinnerTextStyle = _this$props.spinnerTextStyle, + bar = _this$props.bar, + startProgress = _this$props.startProgress, + showProgressText = _this$props.showProgressText, + indeterminate = _this$props.indeterminate, + cssClasses = _this$props.cssClasses; + + var spinnerColor = this._getSpinnerColor(); + + var progressStyle = _$$_REQUIRE(_dependencyMap[14]).Css.getStyleObjByCssClasses(["spinner"].concat((0, _toConsumableArray2.default)(cssClasses))); + + var color = progressStyle.color || spinnerColor; + + if (advanced) { + var progress = this.state.progress; + var elements = []; + + if (bar) { + elements.push((0, _$$_REQUIRE(_dependencyMap[15]).jsx)(Progress.Bar, { + width: null, + progress: progress, + borderRadius: 0, + color: color, + indeterminate: indeterminate + }, "progress_bar")); + } else { + elements.push((0, _$$_REQUIRE(_dependencyMap[15]).jsx)(Progress.Circle, { + showsText: showProgressText && (startProgress === 0 || progress > startProgress), + progress: progress, + color: color, + size: spinnerSize, + textStyle: spinnerTextStyle, + borderWidth: 0, + indeterminate: indeterminate || progress === 0 + }, "progress_circle")); + + if (!indeterminate && startProgress > 0 && progress === startProgress) { + elements.push((0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.View, { + style: _$$_REQUIRE(_dependencyMap[16]).styles.placeholderTextContainer, + children: (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_fontText.default, { + style: [_$$_REQUIRE(_dependencyMap[16]).styles.placeholderText, { + color: color + }, spinnerTextStyle], + children: Math.round(progress * 100) + "%" + }) + }, "progress")); + } + } + + return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.View, { + style: style, + children: elements + }); + } + + if (bar) { + return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.View, { + style: style, + children: (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(Progress.Bar, { + width: null, + indeterminate: true, + borderRadius: 0, + color: color + }) + }); + } + + return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_spinnerComponent.default, { + size: "large", + style: style, + color: color + }); + } + }, { + key: "render", + value: function render() { + var _this$props2 = this.props, + parentStyle = _this$props2.parentStyle, + spinnerStyle = _this$props2.spinnerStyle, + textStyle = _this$props2.textStyle, + text = _this$props2.text; + var _this$props3 = this.props, + showText = _this$props3.showText, + cssTextClasses = _this$props3.cssTextClasses; + var _this$state = this.state, + hidden = _this$state.hidden, + retryText = _this$state.retryText; + + if (hidden) { + return null; + } + + parentStyle = parentStyle || {}; + spinnerStyle = spinnerStyle || {}; + textStyle = textStyle || {}; + text = text || global.strings("loading"); + return !showText || !text ? this._getSpinner([_$$_REQUIRE(_dependencyMap[16]).styles.spinner, spinnerStyle]) : (0, _$$_REQUIRE(_dependencyMap[15]).jsxs)(_reactNative.View, { + style: [_$$_REQUIRE(_dependencyMap[16]).styles.container].concat((0, _toConsumableArray2.default)(Array.isArray(parentStyle) ? parentStyle : [parentStyle])), + children: [this._getSpinner([spinnerStyle]), (0, _$$_REQUIRE(_dependencyMap[15]).jsxs)(_$$_REQUIRE(_dependencyMap[14]).Css, { + classes: cssTextClasses, + children: [(0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_fontText.default, { + style: [_$$_REQUIRE(_dependencyMap[16]).styles.text, { + color: this._getSpinnerColor() + }, textStyle], + children: text + }), retryText ? (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_fontText.default, { + style: [_$$_REQUIRE(_dependencyMap[16]).styles.text, { + color: this._getSpinnerColor() + }, textStyle], + children: retryText + }) : null] + })] + }); + } + }]); + }(_react.default.PureComponent); + + ProgressCircle.propTypes = { + showText: _propTypes.default.bool, + showProgressText: _propTypes.default.bool, + parentStyle: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.array]), + spinnerStyle: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.array]), + spinnerTextStyle: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.array]), + spinnerColor: _propTypes.default.string, + spinnerSize: _propTypes.default.number, + textStyle: _propTypes.default.object, + text: _propTypes.default.string, + advanced: _propTypes.default.bool, + bar: _propTypes.default.bool, + startProgress: _propTypes.default.number, + hidden: _propTypes.default.bool, + indeterminate: _propTypes.default.bool, + cssClasses: _propTypes.default.arrayOf(_propTypes.default.string), + cssTextClasses: _propTypes.default.arrayOf(_propTypes.default.string) + }; + ProgressCircle.defaultProps = { + showText: false, + showProgressText: true, + parentStyle: null, + spinnerStyle: null, + spinnerTextStyle: null, + spinnerSize: 100, + textStyle: null, + spinnerColor: null, + advanced: false, + bar: false, + startProgress: 0, + hidden: false, + indeterminate: false, + cssClasses: [], + cssTextClasses: [] + }; +},1969,[3,22,6,7,11,13,14,16,18,582,1709,814,1970,438,817,179,1971]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.IOS_LARGE_ACTIVITY_INDICATOR_SIZE = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[7]); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var IOS_LARGE_ACTIVITY_INDICATOR_SIZE = exports.IOS_LARGE_ACTIVITY_INDICATOR_SIZE = 36; + + var TecnaviaSpinner = exports.default = function (_React$Component) { + function TecnaviaSpinner() { + (0, _classCallCheck2.default)(this, TecnaviaSpinner); + return _callSuper(this, TecnaviaSpinner, arguments); + } + + (0, _inherits2.default)(TecnaviaSpinner, _React$Component); + return (0, _createClass2.default)(TecnaviaSpinner, [{ + key: "render", + value: function render() { + return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_reactNative.ActivityIndicator, Object.assign({}, this.props)); + } + }]); + }(_react.default.Component); +},1970,[3,6,7,11,13,14,16,18,179]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.styles = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var styles = exports.styles = _reactNative.StyleSheet.create({ + container: { + position: "absolute", + zIndex: 2, + flexDirection: "row", + justifyContent: "center", + alignItems: "center", + alignSelf: "center" + }, + spinner: { + flex: 1 + }, + text: { + paddingStart: 10, + textShadowColor: _$$_REQUIRE(_dependencyMap[1]).colors.grey300, + textShadowOffset: { + width: -0.5, + height: 0.5 + }, + textShadowRadius: 1 + }, + placeholderTextContainer: { + position: "absolute", + top: 0, + left: 0, + bottom: 0, + right: 0, + justifyContent: "center", + alignItems: "center" + }, + placeholderText: { + color: _$$_REQUIRE(_dependencyMap[1]).colors.white + } + }); +},1971,[18,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _reactNativeTts = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var TTSUtils = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[6])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var SHOW_LOG = true; + + function log(message) { + {} + } + + function error(message) { + {} + } + + var TTS = exports.default = function () { + function TTS() { + var _this = this; + + (0, _classCallCheck2.default)(this, TTS); + this._ttsText = ""; + this._ttsChunks = []; + this._ttsChunkDelta = 0; + this._ttsStartIndex = 0; + this._ttsMaxChunkLength = 500; + this._ttsSpeakingId = ""; + this._ttsSpeaking = false; + this._ttsProgress = 0; + this._currentUtteranceId = ""; + this._currentUtteranceIndex = -1; + this._utteranceIdsToSpeak = []; + this._iosStop = false; + + this._onStart = function (_ref) { + var utteranceId = _ref.utteranceId; + log("start utterance " + utteranceId); + _this._currentUtteranceId = utteranceId; + _this._currentUtteranceIndex = _this._findUtteranceIndex(utteranceId); + log("start chunks length: " + _this._ttsChunks.length); + log("start index: " + _this._currentUtteranceIndex); + log("start chunk: " + _this._ttsChunks[_this._currentUtteranceIndex]); + + if (!_this._speaking && _this._ttsChunks[_this._currentUtteranceIndex]) { + _this._speaking = true; + log("start send global utterance " + _this._ttsSpeakingId); + + _$$_REQUIRE(_dependencyMap[7]).EventRegister.emit(_events.default.TTS_ENGINE_STARTED, { + speaking: true, + utteranceId: _this._ttsSpeakingId + }); + } + }; + + this._onProgress = function (_ref2) { + var utteranceId = _ref2.utteranceId, + start = _ref2.start, + end = _ref2.end, + location = _ref2.location, + length = _ref2.length; + + try { + var utteranceStart = _$$_REQUIRE(_dependencyMap[8]).PlatformUtils.isAndroid() ? start : location; + + var index = _this._getGlobalIndex(utteranceStart) + _this._ttsChunkDelta; + + var readingLength = _$$_REQUIRE(_dependencyMap[8]).PlatformUtils.isAndroid() ? end - start : length; + log("progress " + utteranceStart + ", length " + readingLength + ", index " + index + ", delta " + _this._ttsChunkDelta); + + if (_this._ttsText && _this._ttsText.length > 0) { + _this._ttsProgress = (index + readingLength) / _this._ttsText.length; + var relativeProgress = (utteranceStart + readingLength) / _this._ttsChunks[_this._currentUtteranceIndex].length; + log("progress: global progress " + _this._ttsProgress + ", chunk " + relativeProgress); + + _$$_REQUIRE(_dependencyMap[7]).EventRegister.emit(_events.default.TTS_ENGINE_PROGRESS, { + location: index, + end: index + readingLength, + length: readingLength, + utteranceId: _this._ttsSpeakingId, + progress: _this._ttsProgress, + percentage: TTSUtils.getPercentage(_this._ttsProgress), + relativeProgress: relativeProgress + }); + } else { + log("Skip progress, text is void"); + } + } catch (e) {} + }; + + this._onFinish = function (_ref3) { + var utteranceId = _ref3.utteranceId; + log("finish " + utteranceId); + _this._ttsChunkDelta = 0; + + var isLast = _this._isLastChunk(utteranceId); + + if (isLast) { + _this._speaking = false; + log("finish send global utterance " + _this._ttsSpeakingId); + } + + if (isLast || _this._iosStopResolve) { + _$$_REQUIRE(_dependencyMap[7]).EventRegister.emit(_events.default.TTS_ENGINE_STOPPED, { + utteranceId: _this._ttsSpeakingId + }); + + _this._initValues(); + } + + if (_this._iosStopResolve) { + _this._iosStopResolve(); + + _this._iosStopResolve = undefined; + } + }; + + this._onCancel = function (_ref4) { + var utteranceId = _ref4.utteranceId; + log("cancel " + utteranceId); + + var isLast = _this._isLastChunk(utteranceId); + + if (isLast) { + log("cancel send global utterance " + _this._ttsSpeakingId); + } + + if (isLast || _this._iosStopResolve) { + _$$_REQUIRE(_dependencyMap[7]).EventRegister.emit(_events.default.TTS_ENGINE_STOPPED, { + utteranceId: _this._ttsSpeakingId + }); + + _this._initValues(); + } + + if (_this._iosStopResolve) { + _this._iosStopResolve(); + + _this._iosStopResolve = undefined; + } + }; + + this._initialized = false; + } + + return (0, _createClass2.default)(TTS, [{ + key: "init", + value: function init(locale) { + this.setLocale(locale); + + if (!this._initialized) { + log("init"); + + _reactNativeTts.default.addEventListener("tts-start", this._onStart); + + _reactNativeTts.default.addEventListener("tts-progress", this._onProgress); + + _reactNativeTts.default.addEventListener("tts-finish", this._onFinish); + + _reactNativeTts.default.addEventListener("tts-cancel", this._onCancel); + + this._initialized = true; + } + } + }, { + key: "_initValues", + value: function _initValues() { + this._ttsText = ""; + this._ttsStartIndex = 0; + this._ttsChunkDelta = 0; + this._currentUtteranceId = ""; + this._currentUtteranceIndex = -1; + this._speaking = false; + this._utteranceIdsToSpeak = []; + } + }, { + key: "_getGlobalIndex", + value: function _getGlobalIndex() { + var currentUtterancePos = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; + var size = currentUtterancePos; + + for (var i = 0; i < this._currentUtteranceIndex; i++) { + size += this._ttsChunks[i].length; + } + + return size; + } + }, { + key: "_findUtteranceIndex", + value: function _findUtteranceIndex(utteranceId) { + return this._utteranceIdsToSpeak.findIndex(function (id) { + return id === utteranceId; + }); + } + }, { + key: "_isLastChunk", + value: function _isLastChunk(utteranceId) { + return this._utteranceIdsToSpeak[this._utteranceIdsToSpeak.length - 1] === utteranceId; + } + }, { + key: "stop", + value: function () { + var _stop = (0, _asyncToGenerator2.default)(function* () { + var _this2 = this; + + log("Manual stop"); + + if (_$$_REQUIRE(_dependencyMap[8]).PlatformUtils.isIOS() && this.isSpeaking()) { + return new Promise(function (resolve, reject) { + _this2._iosStopResolve = resolve; + + _reactNativeTts.default.stop().catch(function () { + _this2._iosStopResolve = undefined; + reject(); + }); + }); + } + + return _reactNativeTts.default.stop(); + }); + + function stop() { + return _stop.apply(this, arguments); + } + + return stop; + }() + }, { + key: "speak", + value: function () { + var _speak = (0, _asyncToGenerator2.default)(function* () { + var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; + var fromIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; + log("speak text length " + text.length + " from index " + fromIndex); + var started = true; + this._iosStopResolve = undefined; + + try { + yield _reactNativeTts.default.getInitStatus(); + yield _reactNativeTts.default.stop(); + yield TTSUtils.checkVolume(); + var available = yield TTSUtils.setLanguage(this._locale); + + if (available) { + yield TTSUtils.setRate(); + this._ttsText = text; + this._ttsStartIndex = fromIndex; + this._ttsSpeakingId = _$$_REQUIRE(_dependencyMap[8]).StringUtils.getMd5(text); + this._ttsChunks = TTSUtils.getChunkedString(this._ttsText, this._ttsMaxChunkLength); + log("speak split text into " + this._ttsChunks.length + " chunks"); + var startFrom = 0; + + for (var i = 0; i < this._ttsChunks.length; i++) { + var utteranceId = undefined; + + if (fromIndex <= startFrom) { + utteranceId = yield _reactNativeTts.default.speak(this._ttsChunks[i]); + } else if (fromIndex < startFrom + this._ttsChunks[i].length) { + this._ttsChunkDelta = TTSUtils.getIndexForNonWordCharacter(this._ttsChunks[i], fromIndex - startFrom); + log("speak " + i + " start from " + fromIndex + ", delta " + this._ttsChunkDelta); + utteranceId = yield _reactNativeTts.default.speak(this._ttsChunks[i].substring(this._ttsChunkDelta)); + } else { + utteranceId = "already_spoke_utterance_" + i; + } + + startFrom += this._ttsChunks[i].length; + + this._utteranceIdsToSpeak.push(utteranceId); + + log("Enqueue chunk " + i + ", length " + this._ttsChunks[i].length + " with utterance " + utteranceId); + } + } else { + started = false; + } + } catch (err) { + error("speak error " + err); + started = false; + yield TTSUtils.handleError(err); + } + + if (started) { + return started; + } + + _$$_REQUIRE(_dependencyMap[7]).EventRegister.emit(_events.default.TTS_ENGINE_STOPPED); + + throw new Error(new Error("impossible to start speaking")); + }); + + function speak() { + return _speak.apply(this, arguments); + } + + return speak; + }() + }, { + key: "setMaxChunkLength", + value: function setMaxChunkLength() { + var length = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1000; + this._ttsMaxChunkLength = length; + } + }, { + key: "getReadingLength", + value: function getReadingLength() { + return this._ttsText.length; + } + }, { + key: "getReadingProgress", + value: function getReadingProgress() { + return this._ttsProgress; + } + }, { + key: "isSpeaking", + value: function isSpeaking() { + return this._speaking; + } + }, { + key: "setLocale", + value: function setLocale(locale) { + this._locale = locale; + } + }, { + key: "setLanguage", + value: function setLanguage(language) { + if (language === "en") { + if (_$$_REQUIRE(_dependencyMap[8]).StringUtils.isUSTecnaviaDomain()) { + this._locale = "en-US"; + } else { + this._locale = "en-GB"; + } + } else { + this._locale = language; + } + } + }]); + }(); +},1972,[3,270,6,7,1973,436,1974,564,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[6]); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var TextToSpeech = _reactNative.NativeModules.TextToSpeech; + + var Tts = function (_NativeEventEmitter) { + function Tts() { + (0, _classCallCheck2.default)(this, Tts); + return _callSuper(this, Tts, [TextToSpeech]); + } + + (0, _inherits2.default)(Tts, _NativeEventEmitter); + return (0, _createClass2.default)(Tts, [{ + key: "getInitStatus", + value: function getInitStatus() { + if (_reactNative.Platform.OS === 'ios' || _reactNative.Platform.OS === 'windows') { + return Promise.resolve(true); + } + + return TextToSpeech.getInitStatus(); + } + }, { + key: "requestInstallEngine", + value: function requestInstallEngine() { + if (_reactNative.Platform.OS === 'ios' || _reactNative.Platform.OS === 'windows') { + return Promise.resolve(true); + } + + return TextToSpeech.requestInstallEngine(); + } + }, { + key: "requestInstallData", + value: function requestInstallData() { + if (_reactNative.Platform.OS === 'ios' || _reactNative.Platform.OS === 'windows') { + return Promise.resolve(true); + } + + return TextToSpeech.requestInstallData(); + } + }, { + key: "setDucking", + value: function setDucking(enabled) { + if (_reactNative.Platform.OS === 'windows') { + return Promise.resolve(true); + } + + return TextToSpeech.setDucking(enabled); + } + }, { + key: "setDefaultEngine", + value: function setDefaultEngine(engineName) { + if (_reactNative.Platform.OS === 'ios' || _reactNative.Platform.OS === 'windows') { + return Promise.resolve(true); + } + + return TextToSpeech.setDefaultEngine(engineName); + } + }, { + key: "setDefaultVoice", + value: function setDefaultVoice(voiceId) { + return TextToSpeech.setDefaultVoice(voiceId); + } + }, { + key: "setDefaultRate", + value: function setDefaultRate(rate, skipTransform) { + return TextToSpeech.setDefaultRate(rate, !!skipTransform); + } + }, { + key: "setDefaultPitch", + value: function setDefaultPitch(pitch) { + return TextToSpeech.setDefaultPitch(pitch); + } + }, { + key: "setDefaultLanguage", + value: function setDefaultLanguage(language) { + return TextToSpeech.setDefaultLanguage(language); + } + }, { + key: "setIgnoreSilentSwitch", + value: function setIgnoreSilentSwitch(ignoreSilentSwitch) { + if (_reactNative.Platform.OS === 'ios' || _reactNative.Platform.OS === 'windows') { + return TextToSpeech.setIgnoreSilentSwitch(ignoreSilentSwitch); + } + + return Promise.resolve(true); + } + }, { + key: "voices", + value: function voices() { + return TextToSpeech.voices(); + } + }, { + key: "engines", + value: function engines() { + if (_reactNative.Platform.OS === 'ios' || _reactNative.Platform.OS === 'windows') { + return Promise.resolve([]); + } + + return TextToSpeech.engines(); + } + }, { + key: "speak", + value: function speak(utterance) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + if (typeof options === 'string') { + if (_reactNative.Platform.OS === 'ios') { + return TextToSpeech.speak(utterance, { + iosVoiceId: options + }); + } else { + return TextToSpeech.speak(utterance, {}); + } + } else { + if (_reactNative.Platform.OS === 'ios' || _reactNative.Platform.OS === 'windows') { + return TextToSpeech.speak(utterance, options); + } else { + return TextToSpeech.speak(utterance, options.androidParams || {}); + } + } + } + }, { + key: "stop", + value: function stop(onWordBoundary) { + if (_reactNative.Platform.OS === 'ios') { + return TextToSpeech.stop(onWordBoundary); + } else { + return TextToSpeech.stop(); + } + } + }, { + key: "pause", + value: function pause(onWordBoundary) { + if (_reactNative.Platform.OS === 'ios') { + return TextToSpeech.pause(onWordBoundary); + } + + return Promise.resolve(false); + } + }, { + key: "resume", + value: function resume() { + if (_reactNative.Platform.OS === 'ios') { + return TextToSpeech.resume(); + } + + return Promise.resolve(false); + } + }, { + key: "addEventListener", + value: function addEventListener(type, handler) { + return this.addListener(type, handler); + } + }, { + key: "removeEventListener", + value: function removeEventListener(type, handler) { + this.removeListener(type, handler); + } + }]); + }(_reactNative.NativeEventEmitter); + + var _default = exports.default = new Tts(); +},1973,[3,6,7,11,13,14,18]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.checkVolume = checkVolume; + exports.getChunkedString = getChunkedString; + exports.getIndexForNonWordCharacter = getIndexForNonWordCharacter; + exports.getLengthOfChunks = getLengthOfChunks; + exports.getPercentage = getPercentage; + exports.handleError = handleError; + exports.setLanguage = setLanguage; + exports.setRate = setRate; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _reactNativeTts = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _reactNativeVolumeControl = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + function splitInSentencesByRegex() { + var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; + var regex = arguments.length > 1 ? arguments[1] : undefined; + var maxSize = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : -1; + var sentences = []; + var temporarySentence = ""; + + for (var i = 0; i < text.length; i++) { + var current = text[i]; + var next = text[i + 1]; + temporarySentence += current; + + if (current && current.match(regex) && (!next || next.match(/[ \n]/)) && temporarySentence.length > maxSize * 0.25 || maxSize > -1 && temporarySentence.length >= maxSize) { + sentences.push(temporarySentence); + temporarySentence = ""; + } + } + + if (temporarySentence) { + sentences.push(temporarySentence); + } + + return sentences; + } + + function getChunkedString() { + var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; + var size = arguments.length > 1 ? arguments[1] : undefined; + var fixedText = text.replace(/[\n]+/g, ".\n"); + fixedText = fixedText.replace(/\.+[\n]+/g, ".\n"); + var sentences = splitInSentencesByRegex(fixedText, /[.!?;]/, size); + sentences = sentences.reduce(function (result, sentence) { + if (sentence.length > size) { + result.push.apply(result, (0, _toConsumableArray2.default)(splitInSentencesByRegex(sentence, /,/, size))); + } else { + result.push(sentence); + } + + return result; + }, []); + return sentences; + } + + function getLengthOfChunks() { + var chunks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + return chunks.reduce(function (result, chunk) { + return result + chunk.length; + }, 0); + } + + function checkVolume() { + return _checkVolume.apply(this, arguments); + } + + function _checkVolume() { + _checkVolume = (0, _asyncToGenerator2.default)(function* () { + var volume = yield _reactNativeVolumeControl.default.getVolume(); + + if (volume === 0) { + _$$_REQUIRE(_dependencyMap[5]).Toast.show(global.strings("msg_tts_no_volume")); + } + }); + return _checkVolume.apply(this, arguments); + } + + function setLanguage(_x) { + return _setLanguage.apply(this, arguments); + } + + function _setLanguage() { + _setLanguage = (0, _asyncToGenerator2.default)(function* (locale) { + try { + yield _reactNativeTts.default.setDefaultLanguage(locale); + return true; + } catch (error) { + _$$_REQUIRE(_dependencyMap[5]).Toast.show(global.strings("msg_tts_unsupported")); + + return false; + } + }); + return _setLanguage.apply(this, arguments); + } + + function setRate() { + return _setRate.apply(this, arguments); + } + + function _setRate() { + _setRate = (0, _asyncToGenerator2.default)(function* () { + var _global$getActivePSet = global.getActivePSetup(), + textToSpeechRate = _global$getActivePSet.textToSpeechRate; + + if (textToSpeechRate) { + try { + yield _reactNativeTts.default.setDefaultRate(textToSpeechRate); + } catch (e) {} + } + }); + return _setRate.apply(this, arguments); + } + + function handleError(_x2) { + return _handleError.apply(this, arguments); + } + + function _handleError() { + _handleError = (0, _asyncToGenerator2.default)(function* (err) { + if (err.code === "no_engine") { + try { + yield _reactNativeTts.default.requestInstallEngine(); + } catch (e) { + _$$_REQUIRE(_dependencyMap[5]).Toast.show(global.strings("msg_tts_error")); + } + } + }); + return _handleError.apply(this, arguments); + } + + function getPercentage() { + var progress = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; + + try { + return parseInt(Math.ceil(progress * 100).toFixed(0), 10); + } catch (e) { + return Math.ceil(progress * 100); + } + } + + function getIndexForNonWordCharacter() { + var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; + var fromIndex = arguments.length > 1 ? arguments[1] : undefined; + + for (var i = fromIndex; i >= 0; i--) { + var character = text[i]; + + if (character && !character.match(/\w/)) { + return i; + } + } + + return 0; + } +},1974,[3,270,22,1973,1975,1976]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.VolumeControlEvents = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var VolumeControl = _reactNative.NativeModules.VolumeControl; + var VolumeControlEvents = exports.VolumeControlEvents = new _reactNative.NativeEventEmitter(_reactNative.NativeModules.VolumeControl); + + var _default = exports.default = VolumeControl; +},1975,[18]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + Object.keys(_$$_REQUIRE(_dependencyMap[0])).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _$$_REQUIRE(_dependencyMap[0])[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _$$_REQUIRE(_dependencyMap[0])[key]; + } + }); + }); +},1976,[1977]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.Toast = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[6])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[7]); + + var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _fontText = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var _Dimensions$get = _reactNative.Dimensions.get("window"), + height = _Dimensions$get.height; + + var BASE_POSITION_VALUE = 64; + + var Toast = exports.Toast = function (_Component) { + function Toast(props) { + var _this; + + (0, _classCallCheck2.default)(this, Toast); + _this = _callSuper(this, Toast, [props]); + _this.state = { + isShow: false, + text: "" + }; + _this.opacity = new _reactNative.Animated.Value(0.0); + return _this; + } + + (0, _inherits2.default)(Toast, _Component); + return (0, _createClass2.default)(Toast, [{ + key: "componentWillUnmount", + value: function componentWillUnmount() { + this.clearTimeout(); + } + }, { + key: "clearTimeout", + value: function (_clearTimeout) { + function clearTimeout() { + return _clearTimeout.apply(this, arguments); + } + + clearTimeout.toString = function () { + return _clearTimeout.toString(); + }; + + return clearTimeout; + }(function () { + if (this.timer) { + clearTimeout(this.timer); + } + }) + }, { + key: "showToast", + value: function showToast(text) { + var _this2 = this; + + var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var millisecs = arguments.length > 2 ? arguments[2] : undefined; + var callback = arguments.length > 3 ? arguments[3] : undefined; + var duration = millisecs || Math.max(Toast.defaultParams.duration, _$$_REQUIRE(_dependencyMap[10]).StringUtils.getReadingTime(text).time); + var opacity = params.opacity || Toast.defaultParams.opacity; + var fadeDuration = params.fadeDuration || Toast.defaultParams.fadeDuration; + var position = params.position || Toast.defaultParams.position; + var positionValue = params.positionValue || Toast.defaultParams.positionValue; + var textStyle = params.textStyle, + parentStyle = params.parentStyle; + this.setState({ + isShow: true, + position: position, + positionValue: positionValue, + text: text, + textStyle: textStyle, + parentStyle: parentStyle + }, function () { + _reactNative.Animated.timing(_this2.opacity, { + toValue: opacity, + duration: fadeDuration, + useNativeDriver: true + }).start(function () { + _this2.isShow = true; + + _this2.closeToast({ + duration: duration, + fadeDuration: fadeDuration, + callback: callback + }); + }); + }); + } + }, { + key: "closeToast", + value: function closeToast(_ref) { + var _this3 = this; + + var duration = _ref.duration, + fadeDuration = _ref.fadeDuration, + callback = _ref.callback; + var isShow = this.state.isShow; + if (!this.isShow && !isShow) return; + this.clearTimeout(); + this.timer = setTimeout(function () { + _reactNative.Animated.timing(_this3.opacity, { + toValue: 0.0, + duration: fadeDuration, + useNativeDriver: true + }).start(function () { + _this3.setState({ + isShow: false + }); + + _this3.isShow = false; + + if (typeof callback === "function") { + callback(); + } + }); + }, duration); + } + }, { + key: "_getTopByPosition", + value: function _getTopByPosition(_ref2) { + var position = _ref2.position, + positionValue = _ref2.positionValue; + var pos; + + var _DeviceUtils$getSafeA = _deviceUtils.default.getSafeAreaInsets(), + top = _DeviceUtils$getSafeA.top, + bottom = _DeviceUtils$getSafeA.bottom; + + switch (position) { + case "top": + pos = positionValue + top; + break; + + case "center": + pos = height / 2; + break; + + case "bottom": + pos = height - bottom - positionValue; + break; + } + + return pos; + } + }, { + key: "render", + value: function render() { + var _this$state = this.state, + isShow = _this$state.isShow, + text = _this$state.text; + var _this$state2 = this.state, + textStyle = _this$state2.textStyle, + parentStyle = _this$state2.parentStyle; + + var _global$getRssIndex = global.getRssIndex(), + borderRadius = _global$getRssIndex.borderRadius, + borderWidth = _global$getRssIndex.borderWidth, + borderColor = _global$getRssIndex.borderColor; + + var backgroundColor = _$$_REQUIRE(_dependencyMap[11]).Css.getDefaultBackgroundColor(); + + var foregroundColor = _$$_REQUIRE(_dependencyMap[11]).Css.getDefaultForegroundColor(); + + parentStyle = parentStyle || { + backgroundColor: backgroundColor, + borderColor: borderColor || foregroundColor, + borderRadius: borderRadius || 0, + borderWidth: borderWidth || 0.5, + elevation: 1, + shadowColor: _$$_REQUIRE(_dependencyMap[10]).colors.black, + shadowOpacity: 0.5, + shadowRadius: 0.5, + shadowOffset: { + height: 2, + width: 2 + } + }; + var color = _$$_REQUIRE(_dependencyMap[11]).Css.isDarkTheme() ? foregroundColor : _$$_REQUIRE(_dependencyMap[10]).ColorUtils.determineTextColor(backgroundColor); + textStyle = textStyle || { + color: color + }; + var view = isShow ? (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_reactNative.View, { + style: [_$$_REQUIRE(_dependencyMap[13]).styles.container, { + top: this._getTopByPosition(this.state) + }], + pointerEvents: "none", + children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_reactNative.Animated.View, { + style: [_$$_REQUIRE(_dependencyMap[13]).styles.content, { + opacity: this.opacity + }, parentStyle], + children: _react.default.isValidElement(text) ? text : (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_fontText.default, { + style: textStyle, + children: text + }) + }) + }) : null; + return view; + } + }], [{ + key: "show", + value: function show(text, params, duration, callback) { + this.toastInstance.showToast(text, params, duration, callback); + } + }]); + }(_react.Component); + + Toast.defaultParams = { + position: "top", + positionValue: BASE_POSITION_VALUE, + duration: 3000, + fadeDuration: 500, + opacity: 1 + }; +},1977,[3,6,7,11,13,14,16,18,434,814,438,817,179,1978]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.styles = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var styles = exports.styles = _reactNative.StyleSheet.create({ + container: { + position: "absolute", + left: 5, + right: 5, + elevation: 999, + alignItems: "center", + zIndex: 10000 + }, + content: { + borderRadius: 5, + padding: 10 + } + }); +},1978,[18]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + Object.keys(_$$_REQUIRE(_dependencyMap[0])).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _$$_REQUIRE(_dependencyMap[0])[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _$$_REQUIRE(_dependencyMap[0])[key]; + } + }); + }); +},1979,[1980]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.LoadingOverlay = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[6])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[7]); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var LoadingOverlay = exports.LoadingOverlay = function (_Component) { + function LoadingOverlay(props) { + var _this; + + (0, _classCallCheck2.default)(this, LoadingOverlay); + _this = _callSuper(this, LoadingOverlay, [props]); + _this.state = { + isShow: false, + texts: {}, + callback: undefined + }; + _this.onLayout = _this._onLayout.bind(_this); + _this.getText = _this._getText.bind(_this); + return _this; + } + + (0, _inherits2.default)(LoadingOverlay, _Component); + return (0, _createClass2.default)(LoadingOverlay, [{ + key: "componentWillUnmount", + value: function componentWillUnmount() { + this.clearTimeout(); + } + }, { + key: "clearTimeout", + value: function (_clearTimeout) { + function clearTimeout() { + return _clearTimeout.apply(this, arguments); + } + + clearTimeout.toString = function () { + return _clearTimeout.toString(); + }; + + return clearTimeout; + }(function () { + if (this.timeoutId) { + clearTimeout(this.timeoutId); + } + + this.timeoutId = undefined; + }) + }, { + key: "showLoading", + value: function showLoading() { + var _this2 = this; + + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + _ref$id = _ref.id, + id = _ref$id === undefined ? "generic" : _ref$id, + text = _ref.text, + _ref$timeout = _ref.timeout, + timeout = _ref$timeout === undefined ? 30000 : _ref$timeout, + callback = _ref.callback; + + var texts = this.state.texts; + + if (texts[id]) { + this.clearTimeout(); + } + + texts[id] = text || global.strings("loading"); + this.setState({ + isShow: true, + texts: texts, + callback: callback + }, function () { + if (timeout !== -1) { + _this2.timeoutId = setTimeout(function () { + _this2.hideLoading({ + id: id + }); + }, timeout); + } + }); + } + }, { + key: "hideLoading", + value: function hideLoading() { + var _this3 = this; + + var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + _ref2$id = _ref2.id, + id = _ref2$id === undefined ? "generic" : _ref2$id; + + var _this$state = this.state, + isShow = _this$state.isShow, + texts = _this$state.texts; + if (!this.isShow && !isShow) return; + + if (id && texts[id]) { + texts[id] = undefined; + } + + var activeTexts = Object.values(texts).filter(function (value) { + return value; + }); + + if (activeTexts.length > 0) { + this.setState({ + texts: texts + }); + } else { + this.setState({ + isShow: false, + texts: {}, + callback: undefined + }, function () { + _this3.clearTimeout(); + }); + } + } + }, { + key: "_onLayout", + value: function _onLayout() { + var callback = this.state.callback; + + if (typeof callback === "function") { + callback(); + } + } + }, { + key: "_getText", + value: function _getText() { + var texts = this.state.texts; + var activeTexts = Object.values(texts).filter(function (value) { + return value; + }); + return activeTexts.reduce(function (result, text) { + return result + "\n" + text; + }, ""); + } + }, { + key: "render", + value: function render() { + var isShow = this.state.isShow; + + var _global$getRssIndex = global.getRssIndex(), + borderRadius = _global$getRssIndex.borderRadius; + + return isShow ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_reactNative.View, { + style: _$$_REQUIRE(_dependencyMap[9]).styles.container, + pointerEvents: "box-only", + onLayout: this.onLayout, + children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[10]).ProgressCircle, { + spinnerColor: _$$_REQUIRE(_dependencyMap[11]).colors.white, + text: this.getText(), + parentStyle: [_$$_REQUIRE(_dependencyMap[9]).styles.content, { + borderRadius: borderRadius || 0 + }], + textStyle: _$$_REQUIRE(_dependencyMap[9]).styles.text, + showText: true + }) + }) : null; + } + }], [{ + key: "show", + value: function show() { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + this.loadingInstance.showLoading(params); + } + }, { + key: "hide", + value: function hide() { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + this.loadingInstance.hideLoading(params); + } + }]); + }(_react.Component); +},1980,[3,6,7,11,13,14,16,18,179,1981,1968,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.styles = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var styles = exports.styles = _reactNative.StyleSheet.create({ + container: { + position: "absolute", + start: 0, + end: 0, + top: 0, + bottom: 0, + flexDirection: "column", + justifyContent: "center", + alignItems: "center", + elevation: 10000, + zIndex: 10001 + }, + content: { + backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.transparent200, + borderRadius: 5, + padding: 25, + margin: 20, + flexDirection: "column", + justifyContent: "center", + alignItems: "center" + }, + text: { + fontSize: 18, + color: _$$_REQUIRE(_dependencyMap[1]).colors.white + } + }); +},1981,[18,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _hintKeys = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var MAX_RESTART_RETRY = 5; + + var _OptionalPackages$get = _optionalPackageUtils.default.getVoice(), + Voice = _OptionalPackages$get.Voice; + + var VoiceManager = exports.default = function () { + function VoiceManager() { + var _this = this; + + (0, _classCallCheck2.default)(this, VoiceManager); + this.loop = false; + this.retry = 0; + this.running = false; + + this._onSpeechStart = function (event) { + _this.retry = 0; + _this.running = true; + + _this._log("started", "onSpeechStart"); + + _$$_REQUIRE(_dependencyMap[7]).EventRegister.emit(_events.default.ON_VOICE_RECOGNITION_START); + }; + + this._onSpeechError = function (_ref) { + var error = _ref.error; + + _this._log(error.message, "onSpeechError"); + + if (_this.running) { + _this.running = false; + + if (error.code === "7") { + _this.start(_this.loop); + } else if (_this.retry < MAX_RESTART_RETRY && _this.loop) { + _this._showHint({ + config: _hintKeys.default.voiceRecognitionError({ + message: error.message + }) + }); + + _this.retry += 1; + + _this.start(_this.loop); + } else { + _this.stop(); + } + } + }; + + this._onSpeechPartialResults = function (event) { + _this._log(event.value, "onSpeechPartialResults"); + }; + + this._onSpeechResults = function () { + var _ref2 = (0, _asyncToGenerator2.default)(function* (event) { + _this.running = false; + + _this._log(event.value, "onSpeechResults"); + + try { + var foundSpeech = _$$_REQUIRE(_dependencyMap[8]).ShortcutManager.onVoiceRecognized(event); + + _$$_REQUIRE(_dependencyMap[7]).EventRegister.emit(_events.default.ON_VOICE_RECOGNITION, { + values: foundSpeech + }); + } catch (e) { + _this._log(e.message, "onSpeechResults"); + } + + if (_$$_REQUIRE(_dependencyMap[9]).PlatformUtils.isIOS()) { + yield _this.stop(); + } + + if (_this.loop && !(yield _this._isRecognizing())) { + _this.start(_this.loop); + } + }); + + return function (_x) { + return _ref2.apply(this, arguments); + }; + }(); + + this._onSpeechEnd = function (event) { + _this.running = false; + + _this._log(event, "onSpeechEnd"); + }; + + this._onSpeechRecognized = function (event) { + _this._log(event, "onSpeechRecognized"); + }; + + this._onSpeechVolumeChanged = function (event) {}; + + if (Voice) { + Voice.onSpeechStart = this._onSpeechStart; + Voice.onSpeechError = this._onSpeechError; + Voice.onSpeechPartialResults = this._onSpeechPartialResults; + Voice.onSpeechResults = this._onSpeechResults; + Voice.onSpeechRecognized = this._onSpeechRecognized; + Voice.onSpeechVolumeChanged = this._onSpeechVolumeChanged; + Voice.onSpeechEnd = this._onSpeechEnd; + } + } + + return (0, _createClass2.default)(VoiceManager, [{ + key: "_showHint", + value: function _showHint() { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + + _$$_REQUIRE(_dependencyMap[10]).HintOverlay.show(Object.assign({ + iconProps: { + type: _$$_REQUIRE(_dependencyMap[11]).TecnaviaIconType.MATERIAL_COMMUNITY_ICONS, + name: "information" + } + }, params)); + } + }, { + key: "_log", + value: function _log(event) { + var method = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; + } + }, { + key: "_getServices", + value: function () { + var _getServices2 = (0, _asyncToGenerator2.default)(function* () { + if (Voice) { + return Voice.getSpeechRecognitionServices(); + } + + return []; + }); + + function _getServices() { + return _getServices2.apply(this, arguments); + } + + return _getServices; + }() + }, { + key: "_isRecognizing", + value: function () { + var _isRecognizing2 = (0, _asyncToGenerator2.default)(function* () { + if (Voice) { + try { + var result = yield Voice.isRecognizing(); + + this._log("is recognizing " + result); + + return result; + } catch (e) { + return false; + } + } + + return false; + }); + + function _isRecognizing() { + return _isRecognizing2.apply(this, arguments); + } + + return _isRecognizing; + }() + }, { + key: "_isAvailable", + value: function () { + var _isAvailable2 = (0, _asyncToGenerator2.default)(function* () { + if (Voice) { + try { + var result = yield Voice.isAvailable(); + + this._log("is available " + result); + + return result; + } catch (e) { + return false; + } + } + + return false; + }); + + function _isAvailable() { + return _isAvailable2.apply(this, arguments); + } + + return _isAvailable; + }() + }, { + key: "isRunning", + value: function isRunning() { + return this.running; + } + }, { + key: "stop", + value: function () { + var _stop = (0, _asyncToGenerator2.default)(function* () { + if (Voice) { + try { + this.running = false; + this.retry = 0; + this.loop = false; + + _$$_REQUIRE(_dependencyMap[12]).VoiceOverlay.hide(); + + yield Voice.stop(); + } catch (e) { + this._log("no services available"); + } + } + }); + + function stop() { + return _stop.apply(this, arguments); + } + + return stop; + }() + }, { + key: "start", + value: function () { + var _start = (0, _asyncToGenerator2.default)(function* () { + var loop = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + var result = false; + + if (Voice) { + try { + this.loop = loop; + var available = yield this._isAvailable(); + + if (available) { + _$$_REQUIRE(_dependencyMap[12]).VoiceOverlay.show(); + + yield Voice.start(global.getLocaleConfig().getCurrentLocale(), { + RECOGNIZER_ENGINE: "GOOGLE", + EXTRA_PARTIAL_RESULTS: true + }); + result = true; + this.running = true; + } else { + var services = yield this._getServices(); + + if ((!services || !services.length) && _$$_REQUIRE(_dependencyMap[9]).PlatformUtils.isAndroid()) { + this._showHint({ + config: _hintKeys.default.voiceRecognitionNoServices(), + onActionPress: _$$_REQUIRE(_dependencyMap[13]).NativeSettingsNavigation.appInputMethodSettings + }); + + this._log("no installed services"); + } else { + this._showHint({ + config: _hintKeys.default.voiceRecognitionSomethingWrong() + }); + + this._log("service is available but something went wrong"); + } + } + } catch (e) { + this._log(e.message); + } + } + + return result; + }); + + function start() { + return _start.apply(this, arguments); + } + + return start; + }() + }]); + }(); +},1982,[3,270,6,7,436,879,1983,564,1984,438,1985,1807,1989,1991]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var HintKeys = { + rssDbDownloadProgress: function rssDbDownloadProgress() { + return { + key: "rss_db_download_progress", + hint: global.strings("msg_download_rss"), + showAlways: true, + event: _events.default.ON_RSS_DB_DOWNLOAD + }; + }, + myHomeScreenConfig: function myHomeScreenConfig() { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + return { + key: "my_home_screen_config", + hint: global.strings("hint_my_home_screen_config", params), + hintAction: global.strings("action_go_to_settings", params) + }; + }, + voiceRecognitionNoServices: function voiceRecognitionNoServices() { + return { + key: "voice_recognition_no_services", + hint: global.strings("err_voice_recognition_no_services"), + hintAction: global.strings("action_go_to_settings"), + showAlways: true + }; + }, + voiceRecognitionSomethingWrong: function voiceRecognitionSomethingWrong() { + return { + key: "voice_recognition_something_wrong", + hint: global.strings("err_voice_recognition_generic"), + showAlways: true + }; + }, + voiceRecognitionError: function voiceRecognitionError(params) { + return { + key: "voice_recognition_error", + hint: global.strings("err_voice_recognition", params), + showAlways: true + }; + } + }; + + var _default = exports.default = HintKeys; +},1983,[3,436]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ShortcutManager = exports.Shortcut = exports.SHORTCUT_TIMEOUT_REPEAT = exports.PureShortcut = undefined; + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _LiveConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var SHORTCUT_TIMEOUT_REPEAT = exports.SHORTCUT_TIMEOUT_REPEAT = 300; + + var ShortcutManager = exports.ShortcutManager = function () { + function ShortcutManager() { + (0, _classCallCheck2.default)(this, ShortcutManager); + } + + return (0, _createClass2.default)(ShortcutManager, null, [{ + key: "register", + value: function register(instance) { + var id = _$$_REQUIRE(_dependencyMap[10]).JSUtils.generateId(); + + ShortcutManager.listeners[id] = instance; + return id; + } + }, { + key: "unregister", + value: function unregister(id) { + if (ShortcutManager.listeners[id]) { + ShortcutManager.listeners[id] = undefined; + delete ShortcutManager.listeners[id]; + } + } + }, { + key: "getName", + value: function getName(listener) { + if (listener) { + try { + return listener.constructor.name; + } catch (e) {} + } + + return ""; + } + }, { + key: "enable", + value: function enable() { + ShortcutManager.enabled = true; + } + }, { + key: "disable", + value: function disable() { + ShortcutManager.enabled = false; + } + }, { + key: "getListeners", + value: function getListeners() { + return Object.values(ShortcutManager.listeners).filter(function (listener) { + var shortcutEnabled = listener.props.shortcutEnabled; + return shortcutEnabled && typeof listener.handleShortcut === "function"; + }).sort(function (listenerA, listenerB) { + var shortcutPriorityA = listenerA.props.shortcutPriority; + var shortcutPriorityB = listenerB.props.shortcutPriority; + + if (shortcutPriorityA !== undefined && shortcutPriorityB !== undefined) { + return shortcutPriorityB - shortcutPriorityA; + } + + if (shortcutPriorityA !== undefined) { + return -1; + } + + if (shortcutPriorityB !== undefined) { + return 1; + } + + return 0; + }); + } + }, { + key: "onVoiceRecognized", + value: function onVoiceRecognized(_ref) { + var _ref$value = _ref.value, + value = _ref$value === undefined ? [] : _ref$value; + var found = value; + + if (ShortcutManager.enabled) { + var listeners = ShortcutManager.getListeners(); + + for (var i = 0; i < listeners.length; i++) { + var listener = listeners[i]; + var shortcut = undefined; + + var _loop = function _loop() { + if (value[j]) { + var sentence = value[j].toLowerCase(); + shortcut = listener.handleShortcut(sentence, sentence).find(function (_ref2) { + var callback = _ref2.callback, + keys = _ref2.keys; + return typeof callback === "function" && keys.includes(sentence); + }); + } + }; + + for (var j = 0; j < listeners.length && !shortcut; j++) { + _loop(); + } + + if (shortcut) { + var _shortcut = shortcut, + callback = _shortcut.callback, + stopPropagation = _shortcut.stopPropagation, + keys = _shortcut.keys; + found = keys; + + if (typeof callback === "function") { + callback(); + } + + if (stopPropagation) { + break; + } + } else {} + } + } + + return found; + } + }, { + key: "onKeyDown", + value: function onKeyDown(_ref3) { + var combo = _ref3.combo, + comboNoRL = _ref3.comboNoRL; + + if (ShortcutManager.enabled) { + var listeners = ShortcutManager.getListeners(); + + for (var i = 0; i < listeners.length; i++) { + var listener = listeners[i]; + var shortcuts = listener.handleShortcut(combo, comboNoRL); + var shortcut = shortcuts.find(function (_ref4) { + var callback = _ref4.callback, + callbackRepeat = _ref4.callbackRepeat, + keys = _ref4.keys; + return (typeof callback === "function" || typeof callbackRepeat === "function") && (keys.includes(combo) || keys.includes(comboNoRL) || keys.includes(_$$_REQUIRE(_dependencyMap[11]).ANY_KEY)); + }); + + if (shortcut) { + var callback = shortcut.callback, + callbackRepeat = shortcut.callbackRepeat, + stopPropagation = shortcut.stopPropagation; + + if (typeof callback === "function") { + callback(); + } else if (typeof callbackRepeat === "function") { + var promise = callbackRepeat(); + + if (promise instanceof Promise) { + promise.then(function () { + ShortcutManager.onKeyDown({ + combo: _LiveConfig.default.getKeysCombo(), + comboNoRL: _LiveConfig.default.getKeysComboNoRL() + }); + }); + } + } + + if (stopPropagation) { + break; + } + } else {} + } + } + } + }, { + key: "getCallbackRepeatPromise", + value: function () { + var _getCallbackRepeatPromise = (0, _asyncToGenerator2.default)(function* () { + var duration = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : SHORTCUT_TIMEOUT_REPEAT; + return new Promise(function (resolve, reject) { + setTimeout(resolve, duration); + }); + }); + + function getCallbackRepeatPromise() { + return _getCallbackRepeatPromise.apply(this, arguments); + } + + return getCallbackRepeatPromise; + }() + }]); + }(); + + ShortcutManager.propTypes = { + shortcutEnabled: _propTypes.default.bool, + shortcutPriority: _propTypes.default.number + }; + ShortcutManager.defaultProps = { + shortcutEnabled: false, + shortcutPriority: 0 + }; + ShortcutManager.listeners = {}; + ShortcutManager.enabled = true; + + var PureShortcut = exports.PureShortcut = function (_React$PureComponent) { + function PureShortcut(props) { + var _this; + + (0, _classCallCheck2.default)(this, PureShortcut); + _this = _callSuper(this, PureShortcut, [props]); + _this.handleShortcut = _this._handleShortcut.bind(_this); + _this.getCallbackRepeatPromise = _this._getCallbackRepeatPromise.bind(_this); + _this.setStatePromise = _this._setStatePromise.bind(_this); + _this.noop = _this._noop.bind(_this); + return _this; + } + + (0, _inherits2.default)(PureShortcut, _React$PureComponent); + return (0, _createClass2.default)(PureShortcut, [{ + key: "componentDidMount", + value: function componentDidMount() { + this.listenerId = ShortcutManager.register(this); + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + ShortcutManager.unregister(this.listenerId); + } + }, { + key: "_handleShortcut", + value: function _handleShortcut() { + return []; + } + }, { + key: "_noop", + value: function _noop() {} + }, { + key: "_getCallbackRepeatPromise", + value: function _getCallbackRepeatPromise(duration) { + return ShortcutManager.getCallbackRepeatPromise(duration); + } + }, { + key: "_setStatePromise", + value: function () { + var _setStatePromise2 = (0, _asyncToGenerator2.default)(function* (state) { + var _this2 = this; + + return new Promise(function (resolve) { + _this2.setState(state, function () { + return setTimeout(resolve, SHORTCUT_TIMEOUT_REPEAT); + }); + }); + }); + + function _setStatePromise(_x) { + return _setStatePromise2.apply(this, arguments); + } + + return _setStatePromise; + }() + }]); + }(_react.default.PureComponent); + + PureShortcut.propTypes = Object.assign({}, ShortcutManager.propTypes); + PureShortcut.defaultProps = Object.assign({}, ShortcutManager.defaultProps); + + var Shortcut = exports.Shortcut = function (_React$Component) { + function Shortcut(props) { + var _this3; + + (0, _classCallCheck2.default)(this, Shortcut); + _this3 = _callSuper(this, Shortcut, [props]); + _this3.handleShortcut = _this3._handleShortcut.bind(_this3); + _this3.getCallbackRepeatPromise = _this3._getCallbackRepeatPromise.bind(_this3); + _this3.setStatePromise = _this3._setStatePromise.bind(_this3); + _this3.noop = _this3._noop.bind(_this3); + return _this3; + } + + (0, _inherits2.default)(Shortcut, _React$Component); + return (0, _createClass2.default)(Shortcut, [{ + key: "componentDidMount", + value: function componentDidMount() { + this.listenerId = ShortcutManager.register(this); + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + ShortcutManager.unregister(this.listenerId); + } + }, { + key: "_handleShortcut", + value: function _handleShortcut() { + return []; + } + }, { + key: "_noop", + value: function _noop() {} + }, { + key: "_getCallbackRepeatPromise", + value: function _getCallbackRepeatPromise(duration) { + return ShortcutManager.getCallbackRepeatPromise(duration); + } + }, { + key: "_setStatePromise", + value: function () { + var _setStatePromise3 = (0, _asyncToGenerator2.default)(function* (state) { + var _this4 = this; + + return new Promise(function (resolve) { + _this4.setState(state, function () { + return setTimeout(resolve, SHORTCUT_TIMEOUT_REPEAT); + }); + }); + }); + + function _setStatePromise(_x2) { + return _setStatePromise3.apply(this, arguments); + } + + return _setStatePromise; + }() + }]); + }(_react.default.Component); + + Shortcut.propTypes = Object.assign({}, ShortcutManager.propTypes); + Shortcut.defaultProps = Object.assign({}, ShortcutManager.defaultProps); +},1984,[3,11,13,14,270,6,7,16,582,1907,438,1908]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.HintOverlay = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[6])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[7]); + + var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _hintComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[9])); + + var _hintProgressComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var styles = _reactNative.StyleSheet.create({ + container: { + position: "absolute", + start: 0, + end: 0, + top: 0, + bottom: 0, + flexDirection: "column", + elevation: 20000, + zIndex: 20001 + } + }); + + var HintOverlay = exports.HintOverlay = function (_Component) { + function HintOverlay(props) { + var _this; + + (0, _classCallCheck2.default)(this, HintOverlay); + _this = _callSuper(this, HintOverlay, [props]); + _this.state = { + isShow: false, + hintConfig: undefined + }; + _this.onHide = _this._onHide.bind(_this); + return _this; + } + + (0, _inherits2.default)(HintOverlay, _Component); + return (0, _createClass2.default)(HintOverlay, [{ + key: "showHint", + value: function showHint() { + var _this2 = this; + + var hintConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + this.backgroundColor = (0, _hintComponent.getHintBackgroundColor)(); + this.setState({ + isShow: true, + hintConfig: hintConfig + }, function () { + _this2.previousTopBarColor = _$$_REQUIRE(_dependencyMap[11]).PlatformUtils.topBarColor; + + _$$_REQUIRE(_dependencyMap[11]).PlatformUtils.colorTopBar(_this2.backgroundColor); + }); + } + }, { + key: "hideHint", + value: function hideHint() { + var isShow = this.state.isShow; + + _$$_REQUIRE(_dependencyMap[11]).PlatformUtils.colorTopBar(this.previousTopBarColor); + + if (!this.isShow && !isShow) { + return; + } + + this.setState({ + isShow: false, + hintConfig: undefined + }); + } + }, { + key: "_onHide", + value: function _onHide() { + var hintConfig = this.state.hintConfig; + + if (hintConfig && typeof hintConfig.onHide === "function") { + hintConfig.onHide(); + } + + this.hideHint(); + } + }, { + key: "_renderHint", + value: function _renderHint() { + var hintConfig = this.state.hintConfig; + return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_hintComponent.default, Object.assign({}, hintConfig, { + onHide: this.onHide + })); + } + }, { + key: "_renderHintProgress", + value: function _renderHintProgress() { + var hintConfig = this.state.hintConfig; + return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_hintProgressComponent.default, Object.assign({}, hintConfig, { + visible: true, + onHide: this.onHide + })); + } + }, { + key: "render", + value: function render() { + var _this$state = this.state, + isShow = _this$state.isShow, + hintConfig = _this$state.hintConfig; + + if (isShow && hintConfig) { + var _DeviceUtils$getSafeA = _deviceUtils.default.getSafeAreaInsets(), + top = _DeviceUtils$getSafeA.top; + + return (0, _$$_REQUIRE(_dependencyMap[12]).jsxs)(_reactNative.View, { + style: styles.container, + children: [(0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_reactNative.View, { + style: { + width: "100%", + height: top, + backgroundColor: this.backgroundColor + } + }), hintConfig.progress ? this._renderHintProgress() : this._renderHint()] + }); + } + + return null; + } + }], [{ + key: "show", + value: function show(params) { + HintOverlay.instance.showHint(params); + } + }, { + key: "hide", + value: function hide() { + HintOverlay.instance.hideHint(); + } + }]); + }(_react.Component); +},1985,[3,6,7,11,13,14,16,18,434,1986,1988,438,179]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + exports.getHintBackgroundColor = getHintBackgroundColor; + + var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[3])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[4]); + + var _progressCountDown = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _fontText = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _iconComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[7])); + + var _imageIconChooserComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var PADDING = 15; + + var styles = _reactNative.StyleSheet.create({ + parent: { + minHeight: 50, + backgroundColor: _$$_REQUIRE(_dependencyMap[9]).colors.hintBackgroundColor, + flexDirection: "row", + alignItems: "center", + padding: PADDING, + elevation: 2 + }, + hintParent: { + flex: 1, + justifyContent: "center", + paddingRight: 15 + }, + hint: { + fontSize: 16 + }, + action: { + fontSize: 16 + }, + touchable: { + width: 40, + height: 40, + justifyContent: "center", + alignItems: "center" + }, + helpIconParent: { + width: 40, + height: 40, + marginRight: 15, + justifyContent: "center", + alignItems: "center" + }, + helpIcon: { + fontSize: 20 + }, + icon: { + fontSize: 20 + } + }); + + function getHintBackgroundColor() { + var parentStyle = _$$_REQUIRE(_dependencyMap[10]).Css.getStyleObjByCssClasses(["hint-parent"]); + + return parentStyle.backgroundColor || _$$_REQUIRE(_dependencyMap[9]).colors.hintBackgroundColor; + } + + var Hint = function Hint(props) { + var defaultVisible = props.visible, + style = props.style, + config = props.config, + MainComponent = props.MainComponent, + IconComponent = props.IconComponent, + actionStyle = props.actionStyle, + onActionPress = props.onActionPress, + iconProps = props.iconProps, + onHide = props.onHide; + + var _useState = (0, _react.useState)(defaultVisible), + _useState2 = (0, _slicedToArray2.default)(_useState, 2), + visible = _useState2[0], + setVisibility = _useState2[1]; + + if (!config) { + return null; + } + + var key = config.key, + hint = config.hint, + hintAction = config.hintAction, + _config$showAlways = config.showAlways, + showAlways = _config$showAlways === undefined ? false : _config$showAlways, + _config$autoHideTime = config.autoHideTime, + autoHideTime = _config$autoHideTime === undefined ? 0 : _config$autoHideTime; + var userSettings = global.getUserSettings(); + + if (userSettings.isHintShown(key) && !showAlways || !visible || !hint) { + return null; + } + + var onClose = function onClose() { + var animation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + userSettings.setShowedHint(key); + + if (animation) { + _reactNative.LayoutAnimation.configureNext(_reactNative.LayoutAnimation.Presets.easeInEaseOut); + } + + setVisibility(false); + + if (typeof onHide === "function") { + onHide(); + } + }; + + var onAction = function onAction() { + onClose(false); + + if (typeof onActionPress === "function") { + onActionPress(); + } + }; + + var progressStyle = _$$_REQUIRE(_dependencyMap[10]).Css.getStyleObjByCssClasses(["hint-close-progress"]); + + var progressTextStyle = _$$_REQUIRE(_dependencyMap[10]).Css.getStyleObjByCssClasses(["hint-close-progress-text"]); + + var color = _$$_REQUIRE(_dependencyMap[10]).Css.getDefaultForegroundColor(); + + var backgroundColor = getHintBackgroundColor(); + + if (_$$_REQUIRE(_dependencyMap[9]).ColorUtils.isClearColor(color) === _$$_REQUIRE(_dependencyMap[9]).ColorUtils.isClearColor(backgroundColor)) { + color = _$$_REQUIRE(_dependencyMap[9]).ColorUtils.determineTextColor(backgroundColor); + } + + return (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_reactNative.View, { + style: [_$$_REQUIRE(_dependencyMap[9]).PlatformUtils.isIOS() ? { + zIndex: 1000, + shadowColor: _$$_REQUIRE(_dependencyMap[9]).colors.black, + shadowOpacity: 0.5, + shadowRadius: 0.5, + shadowOffset: { + height: 1, + width: 0 + } + } : {}, style], + children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: ["hint-parent"], + children: (0, _$$_REQUIRE(_dependencyMap[11]).jsxs)(_reactNative.View, { + style: styles.parent, + children: [iconProps ? (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: ["hint-icon-parent"], + children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_reactNative.View, { + style: styles.helpIconParent, + children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: ["hint-icon"], + children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_imageIconChooserComponent.default, Object.assign({ + style: [styles.helpIcon, { + color: color + }] + }, iconProps)) + }) + }) + }) : null, (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: ["hint-main-element-parent"], + children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_reactNative.View, { + style: styles.hintParent, + children: MainComponent ? MainComponent : (0, _$$_REQUIRE(_dependencyMap[11]).jsxs)(_$$_REQUIRE(_dependencyMap[11]).Fragment, { + children: [(0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: ["hint-main-element-text"], + children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_fontText.default, { + style: [styles.hint, { + color: color + }], + children: hint + }) + }), hintAction ? (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_reactNative.TouchableOpacity, { + onPress: onAction, + children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: ["hint-main-element-action"], + children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_fontText.default, { + style: [styles.action, { + fontWeight: "bold", + color: color + }, actionStyle], + children: hintAction + }) + }) + }) : null] + }) + }) + }), (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: ["hint-right-parent"], + children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_reactNative.TouchableOpacity, { + style: styles.touchable, + hitSlop: { + top: PADDING, + bottom: PADDING, + left: PADDING, + right: PADDING + }, + onPress: onClose, + children: IconComponent ? IconComponent : (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[11]).Fragment, { + children: autoHideTime ? (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_progressCountDown.default, { + viewSize: progressStyle.width, + progressWidth: progressStyle.borderWidth, + progressRadius: progressStyle.borderRadius, + progressTextStyle: progressTextStyle, + progressColor: progressStyle.color || color, + progressDuration: autoHideTime, + onProgressFinish: onClose + }) : (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: ["hint-close-icon"], + children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_iconComponent.default, { + type: _iconComponent.TecnaviaIconType.MATERIAL_COMMUNITY_ICONS, + name: "close", + style: [styles.icon, { + position: "absolute", + color: color + }] + }) + }) + }) + }) + })] + }) + }) + }); + }; + + Hint.propTypes = { + config: _propTypes.default.shape({ + key: _propTypes.default.string.isRequired, + hint: _propTypes.default.string.isRequired, + hintAction: _propTypes.default.string, + showAlways: _propTypes.default.bool, + autoHideTime: _propTypes.default.number + }).isRequired, + visible: _propTypes.default.bool, + style: _propTypes.default.any, + IconComponent: _propTypes.default.node, + MainComponent: _propTypes.default.node, + actionText: _propTypes.default.string, + actionStyle: _propTypes.default.any, + onActionPress: _propTypes.default.func, + onHide: _propTypes.default.func, + iconProps: _propTypes.default.shape(Object.assign({}, _imageIconChooserComponent.default.propTypes)) + }; + Hint.defaultProps = { + visible: true + }; + + var _default = exports.default = Hint; +},1986,[3,33,582,16,18,1987,814,1807,1941,438,817,179]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[4]); + + var _reactNativeSvg = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[5])); + + var _fontText = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var AnimatedCircle = _reactNative.Animated.createAnimatedComponent(_reactNativeSvg.Circle); + + var getText = function getText(mills) { + return Math.round(mills / 1000).toFixed(0); + }; + + var ProgressCountDown = function ProgressCountDown(props) { + var viewSize = props.viewSize, + viewStyle = props.viewStyle, + progressRadius = props.progressRadius, + progressWidth = props.progressWidth, + progressDuration = props.progressDuration, + progressColor = props.progressColor, + progressTextStyle = props.progressTextStyle, + onProgressFinish = props.onProgressFinish; + + var _useState = (0, _react.useState)(getText(progressDuration)), + _useState2 = (0, _slicedToArray2.default)(_useState, 2), + text = _useState2[0], + setText = _useState2[1]; + + var circumf = progressRadius * 2 * Math.PI; + var value = (0, _react.useRef)(new _reactNative.Animated.Value(0)).current; + var listenerId = value.addListener(function (param) { + var newText = ""; + + if (param.value === 0) { + newText = "" + progressDuration; + } else { + newText = getText(progressDuration - param.value * progressDuration); + } + + if (newText !== text) { + setText(newText); + } + }); + (0, _react.useEffect)(function () { + var animation = _reactNative.Animated.timing(value, { + toValue: 1, + duration: progressDuration, + useNativeDriver: false + }).start(function (_ref) { + var finished = _ref.finished; + + if (finished && typeof onProgressFinish === "function") { + onProgressFinish(); + } + }); + + return function () { + if (animation) { + animation.stop(); + } + + if (value) { + value.removeListener(listenerId); + } + }; + }, []); + return (0, _$$_REQUIRE(_dependencyMap[7]).jsxs)(_reactNative.View, { + style: { + justifyContent: "center", + alignItems: "center" + }, + children: [(0, _$$_REQUIRE(_dependencyMap[7]).jsx)(_reactNativeSvg.default, { + height: viewSize, + width: viewSize, + viewBox: "0 0 100 100", + style: viewStyle, + children: (0, _$$_REQUIRE(_dependencyMap[7]).jsx)(AnimatedCircle, { + stroke: progressColor, + fill: "none", + cx: viewSize, + cy: viewSize, + r: progressRadius, + strokeDasharray: circumf + " " + circumf, + strokeDashoffset: value.interpolate({ + inputRange: [0, 1], + outputRange: [0, circumf] + }), + transform: "rotate(-90, " + viewSize + ", " + viewSize + ")", + strokeWidth: progressWidth + }) + }), (0, _$$_REQUIRE(_dependencyMap[7]).jsx)(_fontText.default, { + style: [{ + position: "absolute", + color: progressColor + }, progressTextStyle], + children: text + })] + }); + }; + + ProgressCountDown.propTypes = { + viewSize: _propTypes.default.number, + viewStyle: _propTypes.default.any, + progressRadius: _propTypes.default.number, + progressWidth: _propTypes.default.number, + progressDuration: _propTypes.default.number, + progressColor: _propTypes.default.string, + progressTextStyle: _propTypes.default.any, + onProgressFinish: _propTypes.default.func + }; + ProgressCountDown.defaultProps = { + viewSize: 50, + progressRadius: 30, + progressWidth: 5, + progressDuration: 10000, + progressColor: _$$_REQUIRE(_dependencyMap[8]).colors.black + }; + + var _default = exports.default = ProgressCountDown; +},1987,[3,33,16,582,18,957,814,179,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[5])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[6]); + + var _hintComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _excluded = ["color", "size", "cssProgressClasses", "cssProgressTextClasses", "config", "onHide"], + _excluded2 = ["event"]; + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var SPINNER_SIZE = 40; + + var SPINNER_COLOR = _$$_REQUIRE(_dependencyMap[8]).colors.black; + + var styles = _reactNative.StyleSheet.create({ + parent: { + flex: 1 + }, + spinner: { + flex: 0 + } + }); + + function HintProgress(props) { + var color = props.color, + size = props.size, + cssProgressClasses = props.cssProgressClasses, + cssProgressTextClasses = props.cssProgressTextClasses, + config = props.config, + onHide = props.onHide, + rest = (0, _objectWithoutProperties2.default)(props, _excluded); + var event = config.event, + restConfig = (0, _objectWithoutProperties2.default)(config, _excluded2); + + var _useState = (0, _react.useState)(rest.visible), + _useState2 = (0, _slicedToArray2.default)(_useState, 2), + visible = _useState2[0], + setVisible = _useState2[1]; + + var onProgressChangeId; + var progressRef; + var onProgressChange = (0, _react.useCallback)(function (_ref) { + var progress = _ref.progress; + var inProgress = progress > 0 && progress < 100; + + if (visible && !inProgress && typeof onHide === "function") { + onHide(); + } + + if (progressRef) { + progressRef.updateProgress(progress); + } + + if (visible !== inProgress) { + setVisible(inProgress); + } + }, [progressRef, visible]); + var onProgressRef = (0, _react.useCallback)(function (ref) { + progressRef = ref; + }); + (0, _react.useEffect)(function () { + if (event) { + onProgressChangeId = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(event, onProgressChange); + } + + return function () { + _$$_REQUIRE(_dependencyMap[9]).EventRegister.rm(onProgressChangeId); + }; + }, [visible]); + + var cssHintProgressParent = _$$_REQUIRE(_dependencyMap[10]).Css.getStyleObjByCssClasses(["hint-progress-parent"]); + + var cssHintProgressSpinner = _$$_REQUIRE(_dependencyMap[10]).Css.getStyleObjByCssClasses(["hint-progress-spinner"]); + + var cssHintProgressSpinnerText = _$$_REQUIRE(_dependencyMap[10]).Css.getStyleObjByCssClasses(["hint-progress-spinner-text"]); + + if (!visible) { + return null; + } + + return (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_hintComponent.default, Object.assign({ + config: restConfig + }, rest, { + visible: visible, + IconComponent: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[12]).ProgressCircle, { + ref: onProgressRef, + parentStyle: [styles.parent, cssHintProgressParent], + spinnerStyle: [styles.spinner, cssHintProgressSpinner], + spinnerTextStyle: cssHintProgressSpinnerText, + spinnerColor: cssHintProgressSpinner.color || color, + spinnerSize: cssHintProgressSpinner.size || size, + showText: false, + advanced: true, + cssClasses: ["hint-progress-spinner"].concat((0, _toConsumableArray2.default)(cssProgressClasses)), + cssTextClasses: ["hint-progress-spinner-text"].concat((0, _toConsumableArray2.default)(cssProgressTextClasses)) + }) + })); + } + + HintProgress.propTypes = Object.assign({ + color: _propTypes.default.string, + size: _propTypes.default.number, + visible: _propTypes.default.bool, + event: _propTypes.default.string, + cssProgressClasses: _propTypes.default.array, + cssProgressTextClasses: _propTypes.default.array + }, _hintComponent.default.propTypes); + HintProgress.defaultProps = Object.assign({ + color: SPINNER_COLOR, + size: SPINNER_SIZE, + visible: false, + cssProgressClasses: [], + cssProgressTextClasses: [] + }, _hintComponent.default.defaultProps); + + var _default = exports.default = HintProgress; +},1988,[3,22,33,4,582,16,18,1986,438,564,817,179,1968]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.VoiceOverlay = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[7])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[8]); + + var _voiceIconComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var styles = _reactNative.StyleSheet.create({ + container: { + position: "absolute", + start: 0, + end: 0, + bottom: 0, + flexDirection: "column", + elevation: 50000, + zIndex: 50001 + } + }); + + var VoiceOverlay = exports.VoiceOverlay = function (_Component) { + function VoiceOverlay(props) { + var _this; + + (0, _classCallCheck2.default)(this, VoiceOverlay); + _this = _callSuper(this, VoiceOverlay, [props]); + _this.state = { + isShow: false + }; + _this.onPress = _this._onPress.bind(_this); + return _this; + } + + (0, _inherits2.default)(VoiceOverlay, _Component); + return (0, _createClass2.default)(VoiceOverlay, [{ + key: "show", + value: function show() { + var isShow = this.state.isShow; + + if (!isShow) { + this.setState({ + isShow: true + }); + } + } + }, { + key: "hide", + value: function hide() { + var isShow = this.state.isShow; + + if (isShow) { + this.setState({ + isShow: false + }); + } + } + }, { + key: "_onPress", + value: function () { + var _onPress2 = (0, _asyncToGenerator2.default)(function* () { + if (global.getAudio()) { + if (global.getAudio().srIsRunning()) { + yield global.getAudio().srStop(); + } else { + yield global.getAudio().srStart(global.getAudio().srIsLooping()); + } + } + }); + + function _onPress() { + return _onPress2.apply(this, arguments); + } + + return _onPress; + }() + }, { + key: "render", + value: function render() { + var isShow = this.state.isShow; + return isShow ? (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_reactNative.View, { + style: styles.container, + children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_voiceIconComponent.default, { + onIconPress: this.onPress + }) + }) : null; + } + }], [{ + key: "show", + value: function show() { + VoiceOverlay.instance.show(); + } + }, { + key: "hide", + value: function hide() { + VoiceOverlay.instance.hide(); + } + }]); + }(_react.Component); +},1989,[3,270,6,7,11,13,14,16,18,1990,179]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[4]); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _fontText = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[6])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var HEIGHT = 120; + var ICON_HEIGHT = 84; + var ICON_SIZE = 50.4; + var ICON_END = 18; + + var styles = _reactNative.StyleSheet.create({ + parent: { + height: HEIGHT, + alignItems: "center", + justifyContent: "center" + }, + topBar: { + flex: 1, + width: "100%" + }, + bottomBar: { + flex: 1, + width: "100%", + backgroundColor: _$$_REQUIRE(_dependencyMap[7]).colors.white, + borderTopColor: _$$_REQUIRE(_dependencyMap[7]).colors.black, + borderTopWidth: 1, + justifyContent: "center" + }, + bottomBarText: { + fontSize: 20, + padding: 10 + }, + iconParent: { + position: "absolute", + height: ICON_HEIGHT, + width: ICON_HEIGHT, + end: ICON_END, + backgroundColor: _$$_REQUIRE(_dependencyMap[7]).colors.white, + borderRadius: ICON_HEIGHT, + borderWidth: 1, + borderColor: _$$_REQUIRE(_dependencyMap[7]).colors.black, + justifyContent: "center", + alignItems: "center" + } + }); + + var VoiceIcon = function VoiceIcon(props) { + var onIconPress = props.onIconPress; + + var _useState = (0, _react.useState)(""), + _useState2 = (0, _slicedToArray2.default)(_useState, 2), + text = _useState2[0], + setText = _useState2[1]; + + var iconStyle = _$$_REQUIRE(_dependencyMap[8]).Css.getStyleObjByCssClasses(["voice-icon"]); + + var colorAnim = (0, _react.useRef)(new _reactNative.Animated.Value(0)).current; + var animation; + + var _startAnimation = function startAnimation(destination) { + animation = _reactNative.Animated.timing(colorAnim, { + toValue: destination, + duration: 1000, + useNativeDriver: false + }).start(function (_ref) { + var finished = _ref.finished; + + if (finished) { + _startAnimation(Math.abs(destination - 1)); + } + }); + }; + + var onPress = function onPress() { + if (typeof onIconPress === "function") { + onIconPress(); + } + }; + + var onVoiceRecognition; + var onVoiceRecognitionRestart; + (0, _react.useEffect)(function () { + _startAnimation(1); + + onVoiceRecognition = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(_events.default.ON_VOICE_RECOGNITION, function (_ref2) { + var _ref2$values = _ref2.values, + values = _ref2$values === undefined ? [] : _ref2$values; + setText(values[0] || ""); + }); + onVoiceRecognitionRestart = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(_events.default.ON_VOICE_RECOGNITION_START, function () {}); + return function () { + _$$_REQUIRE(_dependencyMap[9]).EventRegister.rm(onVoiceRecognition); + + _$$_REQUIRE(_dependencyMap[9]).EventRegister.rm(onVoiceRecognitionRestart); + + if (animation) { + animation.stop(); + } + }; + }); + return (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[8]).Css, { + classes: ["voice-parent"], + children: (0, _$$_REQUIRE(_dependencyMap[10]).jsxs)(_reactNative.View, { + style: styles.parent, + children: [(0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[8]).Css, { + classes: ["voice-top-bar"], + children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_reactNative.View, { + style: styles.topBar + }) + }), (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[8]).Css, { + classes: ["voice-bottom-bar"], + children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_reactNative.View, { + style: styles.bottomBar, + children: text ? (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[8]).Css, { + classes: ["voice-bottom-bar-text"], + children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_fontText.default, { + type: _fontText.Type.bold, + style: styles.bottomBarText, + numberOfLines: 1, + ellipsizeMode: "tail", + children: text + "..." + }) + }) : null + }) + }), (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[8]).Css, { + classes: ["voice-icon-parent"], + children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_reactNative.TouchableOpacity, { + onPress: onPress, + style: styles.iconParent, + children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[11]).AnimatedImageIconChooser, { + type: _$$_REQUIRE(_dependencyMap[12]).TecnaviaIconType.MATERIAL_COMMUNITY_ICONS, + name: "microphone", + size: ICON_SIZE, + style: [iconStyle, { + color: colorAnim.interpolate({ + inputRange: [0, 1], + outputRange: [_$$_REQUIRE(_dependencyMap[7]).colors.black, iconStyle.color || _$$_REQUIRE(_dependencyMap[7]).colors.red] + }) + }] + }) + }) + })] + }) + }); + }; + + VoiceIcon.propTypes = { + onIconPress: _propTypes.default.func + }; + + var _default = exports.default = VoiceIcon; +},1990,[3,33,16,582,18,436,814,438,817,564,179,1941,1807]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.NativeSettingsNavigation = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[3]); + + var _reactNativeAndroidOpenSettings = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var NativeSettingsNavigation = exports.NativeSettingsNavigation = function () { + function NativeSettingsNavigation() { + (0, _classCallCheck2.default)(this, NativeSettingsNavigation); + } + + return (0, _createClass2.default)(NativeSettingsNavigation, null, [{ + key: "appNotificationSettings", + value: function appNotificationSettings() { + if (_$$_REQUIRE(_dependencyMap[5]).PlatformUtils.isAndroid()) { + _reactNativeAndroidOpenSettings.default.appNotificationSettings(); + } else { + _reactNative.Linking.openSettings(); + } + } + }, { + key: "accessibilitySettings", + value: function accessibilitySettings() { + if (_$$_REQUIRE(_dependencyMap[5]).PlatformUtils.isAndroid()) { + _reactNativeAndroidOpenSettings.default.accessibilitySettings(); + } + } + }, { + key: "appInputMethodSettings", + value: function appInputMethodSettings() { + if (_$$_REQUIRE(_dependencyMap[5]).PlatformUtils.isAndroid()) { + _reactNativeAndroidOpenSettings.default.inputMethodSettings(); + } + } + }]); + }(); +},1991,[3,6,7,18,1992,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var RNAndroidOpenSettings = _reactNative.NativeModules.RNAndroidOpenSettings; + + var generalSettings = function generalSettings() { + return RNAndroidOpenSettings.generalSettings(); + }; + + var homeSettings = function homeSettings() { + return RNAndroidOpenSettings.homeSettings(); + }; + + var appDetailsSettings = function appDetailsSettings() { + return RNAndroidOpenSettings.appDetailsSettings(); + }; + + var wifiSettings = function wifiSettings() { + return RNAndroidOpenSettings.wifiSettings(); + }; + + var locationSourceSettings = function locationSourceSettings() { + return RNAndroidOpenSettings.locationSourceSettings(); + }; + + var wirelessSettings = function wirelessSettings() { + return RNAndroidOpenSettings.wirelessSettings(); + }; + + var airplaneModeSettings = function airplaneModeSettings() { + return RNAndroidOpenSettings.airplaneModeSettings(); + }; + + var apnSettings = function apnSettings() { + return RNAndroidOpenSettings.apnSettings(); + }; + + var bluetoothSettings = function bluetoothSettings() { + return RNAndroidOpenSettings.bluetoothSettings(); + }; + + var dateSettings = function dateSettings() { + return RNAndroidOpenSettings.dateSettings(); + }; + + var localeSettings = function localeSettings() { + return RNAndroidOpenSettings.localeSettings(); + }; + + var inputMethodSettings = function inputMethodSettings() { + return RNAndroidOpenSettings.inputMethodSettings(); + }; + + var displaySettings = function displaySettings() { + return RNAndroidOpenSettings.displaySettings(); + }; + + var securitySettings = function securitySettings() { + return RNAndroidOpenSettings.securitySettings(); + }; + + var internalStorageSettings = function internalStorageSettings() { + return RNAndroidOpenSettings.internalStorageSettings(); + }; + + var memoryCardSettings = function memoryCardSettings() { + return RNAndroidOpenSettings.memoryCardSettings(); + }; + + var accessibilitySettings = function accessibilitySettings() { + return RNAndroidOpenSettings.accessibilitySettings(); + }; + + var applicationSettings = function applicationSettings() { + return RNAndroidOpenSettings.applicationSettings(); + }; + + var deviceInfoSettings = function deviceInfoSettings() { + return RNAndroidOpenSettings.deviceInfoSettings(); + }; + + var appNotificationSettings = function appNotificationSettings() { + return RNAndroidOpenSettings.appNotificationSettings(); + }; + + module.exports = { + generalSettings: generalSettings, + homeSettings: homeSettings, + appDetailsSettings: appDetailsSettings, + wifiSettings: wifiSettings, + locationSourceSettings: locationSourceSettings, + wirelessSettings: wirelessSettings, + airplaneModeSettings: airplaneModeSettings, + apnSettings: apnSettings, + bluetoothSettings: bluetoothSettings, + dateSettings: dateSettings, + localeSettings: localeSettings, + inputMethodSettings: inputMethodSettings, + displaySettings: displaySettings, + securitySettings: securitySettings, + internalStorageSettings: internalStorageSettings, + memoryCardSettings: memoryCardSettings, + accessibilitySettings: accessibilitySettings, + applicationSettings: applicationSettings, + deviceInfoSettings: deviceInfoSettings, + appNotificationSettings: appNotificationSettings + }; +},1992,[18]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.AdsConfig = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[5]); + + var _NoticeHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _InStoryAd = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[7])); + + var NoticeValues = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[8])); + + var _NoticesManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _NoticeInstoryAd = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + var _Notice = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + var _NoticePrestitial = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); + + var _NoticeInterstitial = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); + + var _NoticeAdOverPage = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); + + var _adnativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); + + var _adwebComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[16])); + + var _LiveConfig = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[17])); + + var _LoginManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18])); + + var _fontText = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[19])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var AdsConfig = exports.AdsConfig = function () { + function AdsConfig() { + (0, _classCallCheck2.default)(this, AdsConfig); + } + + return (0, _createClass2.default)(AdsConfig, [{ + key: "init", + value: function () { + var _init = (0, _asyncToGenerator2.default)(function* () { + var _global$getRssIndex = global.getRssIndex(), + cacheAds = _global$getRssIndex.cacheAds, + adProvider = _global$getRssIndex.adProvider, + adPrebidAccountId = _global$getRssIndex.adPrebidAccountId, + adPrebidServerHost = _global$getRssIndex.adPrebidServerHost, + adPrebidConfigurationId = _global$getRssIndex.adPrebidConfigurationId, + adPrebidShareGeolocation = _global$getRssIndex.adPrebidShareGeolocation, + adUnitId = _global$getRssIndex.adUnitId, + adTargeting = _global$getRssIndex.adTargeting, + topAd = _global$getRssIndex.topAd, + bottomAd = _global$getRssIndex.bottomAd, + adDefaultFallback = _global$getRssIndex.adDefaultFallback, + adsBackgroundColor = _global$getRssIndex.adsBackgroundColor; + + this.cacheAds = cacheAds; + this.adProvider = adProvider; + this.adPrebidAccountId = adPrebidAccountId; + this.adPrebidServerHost = adPrebidServerHost; + this.adPrebidConfigurationId = adPrebidConfigurationId; + this.adPrebidShareGeolocation = adPrebidShareGeolocation; + this.adUnitId = adUnitId; + this.adTargeting = adTargeting; + this.topAd = topAd; + this.bottomAd = bottomAd; + this.adDefaultFallback = adDefaultFallback; + this.adsBackgroundColor = adsBackgroundColor; + yield this.initNotices(); + }); + + function init() { + return _init.apply(this, arguments); + } + + return init; + }() + }, { + key: "initNotices", + value: function () { + var _initNotices = (0, _asyncToGenerator2.default)(function* () { + try { + var _global$getActivePSet = global.getActivePSetup(), + ads = _global$getActivePSet.ads; + + var noticesJSON; + + if (ads) { + try { + noticesJSON = JSON.parse(ads); + } catch (e) { + noticesJSON = []; + } + + _NoticeHelper.default.setNotices(noticesJSON); + } else { + noticesJSON = yield _NoticeHelper.default.download(); + } + + this.noticesManager = new _NoticesManager.default(noticesJSON["noticeconfig.cfg"]); + yield this.noticesManager.parse(); + } catch (e) {} + }); + + function initNotices() { + return _initNotices.apply(this, arguments); + } + + return initNotices; + }() + }, { + key: "isUserAdDisabled", + value: function isUserAdDisabled() { + return _LoginManager.default.isAdFree(); + } + }, { + key: "setNoticeCoolDown", + value: function setNoticeCoolDown(noticeNumber, timestamp) { + if (this.noticesManager) { + this.noticesManager.setCoolDown(noticeNumber, timestamp); + } + } + }, { + key: "incrementNoticeUnitIdIndex", + value: function incrementNoticeUnitIdIndex(noticeNumber) { + if (this.noticesManager) { + this.noticesManager.changeAdUnitId(noticeNumber); + } + } + }, { + key: "getNoticeUnitId", + value: function getNoticeUnitId(noticeNumber) { + if (this.noticesManager) { + return this.noticesManager.getAdUnitId(noticeNumber); + } + + return undefined; + } + }, { + key: "getPrestitial", + value: function getPrestitial() { + return this.getNoticeByType(NoticeValues.types.prestitial, {}, _LiveConfig.default.getAppSide()); + } + }, { + key: "getInterstitial", + value: function getInterstitial() { + return this.getNoticeByType(NoticeValues.types.interstitial, {}, _LiveConfig.default.getAppSide()); + } + }, { + key: "getAdOverPage", + value: function getAdOverPage(config) { + return this.getNoticeByType(NoticeValues.types.adOverPage, config, _LiveConfig.default.getAppSide()); + } + }, { + key: "getInterstitialEpaper", + value: function getInterstitialEpaper(config) { + return this.getNoticeByType(NoticeValues.types.interstitial, config, _LiveConfig.default.getAppSide()); + } + }, { + key: "getNoticeByType", + value: function getNoticeByType(type, config, appSide) { + if (!this.isUserAdDisabled() && this.noticesManager) { + return this.noticesManager.getNoticeByType(type, config, appSide); + } + + return undefined; + } + }, { + key: "getInStoryAd", + value: function getInStoryAd(positions, appSide) { + var notice = this.getNoticeByType(NoticeValues.types.instoryAd, { + positions: positions + }, appSide); + + if (notice) { + var _notice$getSize = notice.getSize(), + width = _notice$getSize.width, + height = _notice$getSize.height; + + var model = new _InStoryAd.default(); + model.setAlignment(notice.getAlignment()); + model.setHeight(height); + model.setWidth(width); + model.setType(notice.getType()); + model.setUrl(notice.getUri()); + model.setUnitId(notice.getAdUnitId()); + model.setProvider(notice.getAdProvider()); + model.setTargeting(notice.getTargeting()); + return model; + } + + return undefined; + } + }, { + key: "getAdEvent", + value: function getAdEvent() { + var model = this.getInStoryAd(_InStoryAd.InStoryAdType.EPAPER_NORMAL, _LiveConfig.APP_SIDE.rss); + model.isWeb = true; + model.useAutoHeight = true; + model.html = undefined; + return model; + } + }, { + key: "getInStoryAdTop", + value: function getInStoryAdTop() { + return this.getInStoryAd(_InStoryAd.InStoryAdType.TOP, _LiveConfig.APP_SIDE.ePaper); + } + }, { + key: "getInStoryAdMiddle", + value: function getInStoryAdMiddle() { + return this.getInStoryAd(_InStoryAd.InStoryAdType.MIDDLE, _LiveConfig.APP_SIDE.ePaper); + } + }, { + key: "getInStoryAdBottom", + value: function getInStoryAdBottom() { + return this.getInStoryAd(_InStoryAd.InStoryAdType.BOTTOM, _LiveConfig.APP_SIDE.ePaper); + } + }, { + key: "getEpaperBottomAd", + value: function getEpaperBottomAd() { + return this.getInStoryAd(_InStoryAd.InStoryAdType.EPAPER_BOTTOM, _LiveConfig.APP_SIDE.ePaper); + } + }, { + key: "getEpaperTopAd", + value: function getEpaperTopAd() { + return this.getInStoryAd(_InStoryAd.InStoryAdType.EPAPER_TOP, _LiveConfig.APP_SIDE.ePaper); + } + }, { + key: "getEpaperTopIndexAd", + value: function getEpaperTopIndexAd() { + return this.getInStoryAd(_InStoryAd.InStoryAdType.TOP_INDEX, _LiveConfig.APP_SIDE.ePaper); + } + }, { + key: "useAdMob", + value: function useAdMob(provider) { + return this.useProvider(provider, [NoticeValues.values.provider.admob]); + } + }, { + key: "useDFP", + value: function useDFP(provider) { + return this.useProvider(provider, [NoticeValues.values.provider.dfp, NoticeValues.values.provider.unset]); + } + }, { + key: "usePrebid", + value: function usePrebid(provider) { + return this.useProvider(provider, [NoticeValues.values.provider.prebid]); + } + }, { + key: "useNativo", + value: function useNativo(provider) { + return this.useProvider(provider, [NoticeValues.values.provider.nativo]); + } + }, { + key: "useProvider", + value: function useProvider(provider) { + var providerRequesteds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + var providerToUse = provider || this.getProvider(); + return providerRequesteds.includes(providerToUse); + } + }, { + key: "hasAdsForProviders", + value: function hasAdsForProviders() { + var providers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + + if (providers && providers.length > 0) { + if (this.adProvider && providers.includes(this.adProvider)) { + return true; + } + + var _global$getRssIndex2 = global.getRssIndex(), + drawerItemsFlat = _global$getRssIndex2.drawerItemsFlat; + + if (drawerItemsFlat) { + var adUnitIds = drawerItemsFlat.filter(function (item) { + return !!item.adUnitId; + }).map(function (_ref) { + var adUnitId = _ref.adUnitId; + return adUnitId; + }); + + if (!_$$_REQUIRE(_dependencyMap[20]).JSUtils.isEmpty(adUnitIds)) { + for (var i = 0; i < adUnitIds.length; i++) { + try { + var adUnitId = JSON.parse(adUnitIds[i]); + + if (!_$$_REQUIRE(_dependencyMap[20]).JSUtils.isEmpty(adUnitId)) { + var version = adUnitId.version, + items = adUnitId.items; + + if (version === "2" && !_$$_REQUIRE(_dependencyMap[20]).JSUtils.isEmpty(items)) { + for (var j = 0; j < items.length; j++) { + var _items$j = items[j], + type = _items$j.type, + provider = _items$j.provider; + + if (providers.includes(provider) || providers.includes("dfp") && type === "native" && provider === "none") { + return true; + } + } + } + } + } catch (e) {} + } + } + + var rawItems = JSON.stringify(drawerItemsFlat); + + if (rawItems) { + for (var _i = 0; _i < providers.length; _i++) { + if (rawItems.indexOf("\\\"provider\\\":\\\"" + providers[_i] + "\\\"}") !== -1) { + return true; + } + } + } + } + + if (this.noticesManager) { + var json = this.noticesManager.json; + + if (!_$$_REQUIRE(_dependencyMap[20]).JSUtils.isEmpty(json)) { + var noticesKeys = Object.keys(json); + + for (var _i2 = 0; _i2 < noticesKeys.length; _i2++) { + var _json$noticesKeys$_i = json[noticesKeys[_i2]], + is_disabled = _json$noticesKeys$_i.is_disabled, + ad_provider = _json$noticesKeys$_i.ad_provider, + unit_id = _json$noticesKeys$_i.unit_id; + + if (is_disabled === "0" && !_$$_REQUIRE(_dependencyMap[20]).JSUtils.isEmpty(unit_id) && (providers.includes(ad_provider) || providers.includes("dfp") && ad_provider === "none")) { + return true; + } + } + + var rawNotices = JSON.stringify(json); + + if (rawNotices) { + for (var _i3 = 0; _i3 < providers.length; _i3++) { + if (rawNotices.indexOf("\"ad_provider\":\"" + providers[_i3] + "\"") !== -1) { + return true; + } + } + } + } + } + } else {} + + return false; + } + }, { + key: "hasAdsRequiringIDFAPermissions", + value: function hasAdsRequiringIDFAPermissions() { + return this.hasAdsForProviders(["admob", "dfp", "prebid"]); + } + }, { + key: "hasGoogleAds", + value: function hasGoogleAds() { + return this.hasAdsForProviders(["admob", "dfp"]); + } + }, { + key: "getProvider", + value: function getProvider() { + return this.adProvider; + } + }, { + key: "getPrebidAccountId", + value: function getPrebidAccountId() { + return this.adPrebidAccountId; + } + }, { + key: "getPrebidConfigurationId", + value: function getPrebidConfigurationId() { + return this.adPrebidConfigurationId; + } + }, { + key: "getPrebidServerHost", + value: function getPrebidServerHost() { + return this.adPrebidServerHost; + } + }, { + key: "getPrebidShareGeolocation", + value: function getPrebidShareGeolocation() { + return this.adPrebidShareGeolocation; + } + }, { + key: "getRefreshTime", + value: function getRefreshTime() { + return 0; + } + }, { + key: "getDefaultAdUnitId", + value: function getDefaultAdUnitId() { + return this.adUnitId; + } + }, { + key: "getDefaultAdTargeting", + value: function getDefaultAdTargeting() { + return this.adTargeting; + } + }, { + key: "getDefaultAdFallback", + value: function getDefaultAdFallback() { + return this.adDefaultFallback; + } + }, { + key: "getBackgroundColor", + value: function getBackgroundColor() { + return this.adsBackgroundColor || _$$_REQUIRE(_dependencyMap[21]).Css.getDefaultBackgroundColor(); + } + }, { + key: "isDefaultTopAdEnabled", + value: function isDefaultTopAdEnabled() { + return this.topAd === "atf"; + } + }, { + key: "isDefaultBottomAdEnabled", + value: function isDefaultBottomAdEnabled() { + return this.bottomAd === "btf"; + } + }, { + key: "getAdMarker", + value: function getAdMarker() { + var backgroundColor = _$$_REQUIRE(_dependencyMap[21]).Css.getDefaultBackgroundColor(); + + var color = _$$_REQUIRE(_dependencyMap[21]).Css.getDefaultForegroundColor(); + + var borderColor = _$$_REQUIRE(_dependencyMap[21]).Css.isDarkTheme() ? color : _$$_REQUIRE(_dependencyMap[20]).colors.transparent600; + + var customTextStyle = _$$_REQUIRE(_dependencyMap[21]).Css.getStyleObjByCssClasses(["ad-marker-text"]); + + var markerText = _$$_REQUIRE(_dependencyMap[20]).CssUtils.getAttributeFromStyle("content", customTextStyle, "Ad", true); + + return (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_$$_REQUIRE(_dependencyMap[21]).Css, { + classes: ["ad-marker"], + children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_reactNative.View, { + style: { + position: "absolute", + top: 0, + right: 0, + backgroundColor: backgroundColor, + borderColor: borderColor, + borderWidth: 1, + padding: 2, + opacity: 0.6 + }, + children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_fontText.default, { + style: Object.assign({ + color: color, + fontSize: 10 + }, customTextStyle), + type: _fontText.Type.regular, + children: markerText + }) + }) + }); + } + }, { + key: "getAdComponent", + value: function getAdComponent(model) { + var configuration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + if (!model || this.isUserAdDisabled()) { + return null; + } + + var caller = configuration.caller, + onShow = configuration.onShow, + onHide = configuration.onHide; + var isWeb = model.isWeb, + width = model.width, + height = model.height, + marked = model.marked; + var adComponent; + + if (isWeb) { + var html = model.html, + url = model.url, + unitId = model.unitId, + _model$useAutoHeight = model.useAutoHeight, + useAutoHeight = _model$useAutoHeight === undefined ? false : _model$useAutoHeight; + var source = {}; + + if (html) { + source.html = html; + source.baseUrl = global.getAppServer(); + } else { + source.uri = url || unitId; + } + + adComponent = (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_adwebComponent.default, { + model: { + width: width, + height: height, + useAutoHeight: useAutoHeight + }, + source: source, + caller: caller, + onShow: onShow, + onHide: onHide + }); + } else { + var key = model.key, + _model$index = model.index, + index = _model$index === undefined ? 0 : _model$index, + provider = model.provider, + _unitId = model.unitId, + fallback = model.fallback, + targeting = model.targeting; + var defaultFallback = configuration.fallback, + _onAdLoaded = configuration.onAdLoaded, + _onAdFailed = configuration.onAdFailed, + _configuration$grid = configuration.grid, + grid = _configuration$grid === undefined ? false : _configuration$grid, + _configuration$card = configuration.card, + card = _configuration$card === undefined ? false : _configuration$card, + headerText = configuration.headerText, + _configuration$screen = configuration.screen, + screen = _configuration$screen === undefined ? "unknown_screen" : _configuration$screen, + _configuration$positi = configuration.position, + position = _configuration$positi === undefined ? "unknown_position" : _configuration$positi; + adComponent = (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_adnativeComponent.default, { + model: { + key: key, + index: index, + provider: provider, + unitId: _unitId, + width: width, + height: height, + targeting: targeting + }, + caller: caller, + tag: screen + "_" + position + "_" + index, + fallback: fallback || defaultFallback, + onAdLoaded: function onAdLoaded(adModel) { + if (typeof _onAdLoaded === "function") { + _onAdLoaded(adModel); + } + + if (typeof onShow === "function") { + onShow(height); + } + }, + onAdFailed: function onAdFailed(adModel, adError) { + if (typeof _onAdFailed === "function") { + _onAdFailed(adModel, adError); + } + + if (typeof onHide === "function") { + onHide(); + } + }, + nativo: { + grid: grid, + card: card, + headerText: headerText + } + }); + } + + if (marked) { + return (0, _$$_REQUIRE(_dependencyMap[22]).jsxs)(_reactNative.View, { + children: [adComponent, this.getAdMarker()] + }); + } + + return adComponent; + } + }, { + key: "getAdView", + value: function getAdView(model, viewWidth) { + if (!model || this.isUserAdDisabled()) { + return null; + } + + var isWeb = model.getUnitId() ? false : true; + return this.getAdComponent({ + isWeb: isWeb, + width: isWeb ? viewWidth : model.getWidth(), + height: model.getHeight(), + unitId: model.getUnitId(), + url: model.getUrl(), + targeting: model.getTargeting() + }, { + screen: "epaper", + position: model.getType(), + caller: "LAYOUT_MANAGER" + }); + } + }]); + }(); +},1993,[3,270,6,7,16,18,1994,1998,1944,1999,2005,2002,2004,2003,2000,2006,2038,1907,2056,814,438,817,179]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _NoticeService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var NoticeHelper = exports.default = function () { + function NoticeHelper() { + (0, _classCallCheck2.default)(this, NoticeHelper); + } + + return (0, _createClass2.default)(NoticeHelper, null, [{ + key: "setNotices", + value: function () { + var _setNotices = (0, _asyncToGenerator2.default)(function* (json) { + if (json && json.length) { + yield _$$_REQUIRE(_dependencyMap[5]).StorageUtils.setItem(NoticeHelper.SP.name, NoticeHelper.SP.keys.notices, json); + } + }); + + function setNotices(_x) { + return _setNotices.apply(this, arguments); + } + + return setNotices; + }() + }, { + key: "getNotices", + value: function () { + var _getNotices = (0, _asyncToGenerator2.default)(function* () { + var notices = yield _$$_REQUIRE(_dependencyMap[5]).StorageUtils.getItem(NoticeHelper.SP.keys.notices); + return notices; + }); + + function getNotices() { + return _getNotices.apply(this, arguments); + } + + return getNotices; + }() + }, { + key: "getItem", + value: function () { + var _getItem = (0, _asyncToGenerator2.default)(function* (key) { + return _$$_REQUIRE(_dependencyMap[5]).StorageUtils.getItem(NoticeHelper.SP.name, key); + }); + + function getItem(_x2) { + return _getItem.apply(this, arguments); + } + + return getItem; + }() + }, { + key: "setCoolDown", + value: function () { + var _setCoolDown = (0, _asyncToGenerator2.default)(function* (noticeNumber, timestamp) { + yield _$$_REQUIRE(_dependencyMap[5]).StorageUtils.setItem(NoticeHelper.SP.cooldowns, "notice_" + noticeNumber, timestamp); + }); + + function setCoolDown(_x3, _x4) { + return _setCoolDown.apply(this, arguments); + } + + return setCoolDown; + }() + }, { + key: "getCoolDown", + value: function () { + var _getCoolDown = (0, _asyncToGenerator2.default)(function* (noticeNumber) { + var result = yield _$$_REQUIRE(_dependencyMap[5]).StorageUtils.getItem(NoticeHelper.SP.cooldowns, "notice_" + noticeNumber); + return parseInt(result, 10); + }); + + function getCoolDown(_x5) { + return _getCoolDown.apply(this, arguments); + } + + return getCoolDown; + }() + }, { + key: "setCallsCount", + value: function () { + var _setCallsCount = (0, _asyncToGenerator2.default)(function* (noticeNumber, count) { + yield _$$_REQUIRE(_dependencyMap[5]).StorageUtils.setItem(NoticeHelper.SP.callscount, "notice_" + noticeNumber, count); + }); + + function setCallsCount(_x6, _x7) { + return _setCallsCount.apply(this, arguments); + } + + return setCallsCount; + }() + }, { + key: "getCallsCount", + value: function () { + var _getCallsCount = (0, _asyncToGenerator2.default)(function* (noticeNumber) { + var result = yield _$$_REQUIRE(_dependencyMap[5]).StorageUtils.getItem(NoticeHelper.SP.callscount, "notice_" + noticeNumber); + return parseInt(result, 10); + }); + + function getCallsCount(_x8) { + return _getCallsCount.apply(this, arguments); + } + + return getCallsCount; + }() + }, { + key: "download", + value: function () { + var _download = (0, _asyncToGenerator2.default)(function* () { + var json = {}; + + var isLive = _$$_REQUIRE(_dependencyMap[5]).NetworkUtils.isOnline(); + + if (isLive) { + try { + json = yield _NoticeService.default.getJson(); + NoticeHelper.setNotices(json); + } catch (e) { + isLive = false; + } + } + + if (!isLive) { + json = yield NoticeHelper.getNotices(); + } + + try { + json = JSON.parse(json); + } catch (e) {} + + return json || []; + }); + + function download() { + return _download.apply(this, arguments); + } + + return download; + }() + }]); + }(); + + NoticeHelper.SP = { + name: "notices", + cooldowns: "notices_cooldowns", + callscount: "notices_callscount", + keys: { + notices: "notices" + } + }; +},1994,[3,270,6,7,1995,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var api = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[4])); + + var parser = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[5])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var NoticeService = exports.default = function () { + function NoticeService() { + (0, _classCallCheck2.default)(this, NoticeService); + } + + return (0, _createClass2.default)(NoticeService, null, [{ + key: "getJson", + value: function () { + var _getJson = (0, _asyncToGenerator2.default)(function* () { + var data = yield api.getDataFromApiResponse(); + return parser.parse(data); + }); + + function getJson() { + return _getJson.apply(this, arguments); + } + + return getJson; + }() + }]); + }(); +},1995,[3,270,6,7,1996,1997]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.getDataFromApiResponse = getDataFromApiResponse; + exports.getNoticeBaseURI = getNoticeBaseURI; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _Api = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + function getNoticeParams() { + var params = {}; + + if (_$$_REQUIRE(_dependencyMap[3]).PaperSetupManager.isGenericAppConfigured()) { + var _global$getActivePSet = global.getActivePSetup(), + pSetup = _global$getActivePSet.pSetup, + machine = _global$getActivePSet.machine; + + params.pSetup = pSetup; + params.machine = machine; + } + + return params; + } + + function getDataFromApiResponse() { + return _getDataFromApiResponse.apply(this, arguments); + } + + function _getDataFromApiResponse() { + _getDataFromApiResponse = (0, _asyncToGenerator2.default)(function* () { + try { + var response = yield _Api.default.notices(getNoticeParams()); + return response.data; + } catch (error) { + return {}; + } + }); + return _getDataFromApiResponse.apply(this, arguments); + } + + function getNoticeBaseURI() { + return _Api.default.noticeURI(getNoticeParams()); + } +},1996,[3,270,407,1850]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.parse = parse; + + function parse(json) { + return JSON.stringify(json.result); + } +},1997,[]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.InStoryAdType = exports.InStoryAdAlign = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var InStoryAdType = exports.InStoryAdType = { + EPAPER_BOTTOM: ["bottom"], + EPAPER_TOP: ["top_of_page", "mobile_top_of_page"], + TOP_INDEX: ["above_index"], + TOP: ["instory_top"], + MIDDLE: ["instory_middle"], + BOTTOM: ["instory_bottom"], + EPAPER_NORMAL: ["normal"] + }; + var InStoryAdAlign = exports.InStoryAdAlign = { + UNSET: "none", + LEFT: "left", + CENTER: "center", + RIGHT: "right" + }; + + var InStoryAd = exports.default = function () { + function InStoryAd() { + (0, _classCallCheck2.default)(this, InStoryAd); + } + + return (0, _createClass2.default)(InStoryAd, [{ + key: "setAlignment", + value: function setAlignment(align) { + this.align = align || InStoryAdAlign.UNSET; + } + }, { + key: "getAlignment", + value: function getAlignment() { + return this.align; + } + }, { + key: "setHeight", + value: function setHeight(height) { + this.height = height; + } + }, { + key: "getHeight", + value: function getHeight() { + return this.height; + } + }, { + key: "setWidth", + value: function setWidth(width) { + this.width = width; + } + }, { + key: "getWidth", + value: function getWidth() { + return this.width; + } + }, { + key: "setUrl", + value: function setUrl(url) { + this.url = url; + } + }, { + key: "getUrl", + value: function getUrl() { + return this.url; + } + }, { + key: "setType", + value: function setType(type) { + this.type = type; + } + }, { + key: "getType", + value: function getType() { + return this.type; + } + }, { + key: "setUnitId", + value: function setUnitId(unitId) { + this.unitId = unitId; + } + }, { + key: "getUnitId", + value: function getUnitId() { + return this.unitId; + } + }, { + key: "setProvider", + value: function setProvider(provider) { + this.provider = provider || _$$_REQUIRE(_dependencyMap[3]).values.provider.unset; + } + }, { + key: "getProvider", + value: function getProvider() { + return this.provider; + } + }, { + key: "setTargeting", + value: function setTargeting(targeting) { + this.targeting = targeting || {}; + } + }, { + key: "getTargeting", + value: function getTargeting() { + return this.targeting; + } + }]); + }(); +},1998,[3,6,7,1944]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _NoticeAdOverPage = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _NoticeInterstitial = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _NoticePrestitial = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var NoticeValues = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[8])); + + var _Notice = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _NoticeInstoryAd = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + var _NoticeHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + var _NoticeFullscreen = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); + + var NoticeApi = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[13])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var NoticesManager = exports.default = function () { + function NoticesManager(json) { + (0, _classCallCheck2.default)(this, NoticesManager); + this.json = json; + } + + return (0, _createClass2.default)(NoticesManager, [{ + key: "parse", + value: function () { + var _parse = (0, _asyncToGenerator2.default)(function* () { + this.notices = []; + var keys = Object.keys(this.json); + + for (var i = 0; i < keys.length; i++) { + var jsonNotice = this.json[keys[i]]; + var numberNotice = keys[i].split("_")[1]; + var is_disabled = jsonNotice.is_disabled; + + if (is_disabled !== "1" && numberNotice !== undefined) { + var notice = undefined; + + if (this.isAdOverPage(jsonNotice)) { + notice = new _NoticeAdOverPage.default(numberNotice, jsonNotice); + } else if (this.isInterstitial(jsonNotice)) { + notice = new _NoticeInterstitial.default(numberNotice, jsonNotice); + } else if (this.isInstoryAd(jsonNotice)) { + notice = new _NoticeInstoryAd.default(numberNotice, jsonNotice); + } else if (this.isPrestitial(jsonNotice)) { + notice = new _NoticePrestitial.default(numberNotice, jsonNotice); + } else {} + + if (notice) { + notice.setUri(this.getUriFromNotice(notice)); + + if (notice instanceof _NoticeFullscreen.default) { + notice.setCoolDown(yield this.getCoolDown(numberNotice)); + notice.setCallsCount(yield this.getCallsCount(numberNotice)); + } + + this.notices.push(notice); + } + } + } + }); + + function parse() { + return _parse.apply(this, arguments); + } + + return parse; + }() + }, { + key: "getCoolDown", + value: function () { + var _getCoolDown = (0, _asyncToGenerator2.default)(function* (id) { + return _NoticeHelper.default.getCoolDown(id); + }); + + function getCoolDown(_x) { + return _getCoolDown.apply(this, arguments); + } + + return getCoolDown; + }() + }, { + key: "getCallsCount", + value: function () { + var _getCallsCount = (0, _asyncToGenerator2.default)(function* (id) { + return _NoticeHelper.default.getCallsCount(id); + }); + + function getCallsCount(_x2) { + return _getCallsCount.apply(this, arguments); + } + + return getCallsCount; + }() + }, { + key: "setCoolDown", + value: function setCoolDown(id, timestamp) { + var notice = this.getNoticeById(id); + + if (notice) { + notice.setCoolDown(timestamp); + } + + _NoticeHelper.default.setCoolDown(id, "" + timestamp); + } + }, { + key: "setCallsCount", + value: function setCallsCount(id, count) { + var notice = this.getNoticeById(id); + + if (notice) { + notice.setCallsCount(count); + } + } + }, { + key: "changeAdUnitId", + value: function changeAdUnitId(id) { + var notice = this.getNoticeById(id); + + if (notice) { + return notice.incrementIndex(); + } + + return undefined; + } + }, { + key: "getAdUnitId", + value: function getAdUnitId(id) { + var notice = this.getNoticeById(id); + + if (notice) { + return notice.getAdUnitId(); + } + + return undefined; + } + }, { + key: "getNoticeById", + value: function getNoticeById(id) { + if (this.notices) { + return this.notices.find(function (notice) { + return id === notice.getId(); + }); + } + + return undefined; + } + }, { + key: "getNoticeByType", + value: function getNoticeByType(type, config, appSide) { + try { + if (!this.isEmpty()) { + var notices = this.getNotices(type, appSide); + + if (notices) { + return notices.find(function (notice) { + return notice.validate(config); + }); + } + } + } catch (e) {} + + return undefined; + } + }, { + key: "getNotices", + value: function getNotices(type, appSide) { + var appSideKey = this.getAppSideKey(appSide); + var deviceKey = this.getDeviceKey(); + + if (!this.notices) { + throw new Error("notices are not initialized or empty"); + } + + var founds; + + if (type === NoticeValues.types.prestitial) { + founds = this.notices.filter(function (notice) { + return notice instanceof _NoticePrestitial.default && notice.isValid(appSideKey, deviceKey); + }); + } else if (type === NoticeValues.types.interstitial) { + founds = this.notices.filter(function (notice) { + return notice instanceof _NoticeInterstitial.default && notice.isValid(appSideKey, deviceKey); + }); + } else if (type === NoticeValues.types.adOverPage) { + founds = this.notices.filter(function (notice) { + return notice instanceof _NoticeAdOverPage.default && notice.isValid(appSideKey, deviceKey); + }); + } else if (type === NoticeValues.types.instoryAd) { + founds = this.notices.filter(function (notice) { + return notice instanceof _NoticeInstoryAd.default && notice.isValid(appSideKey, deviceKey); + }); + } else { + throw new Error("the type is not managed: " + type); + } + + if (!founds) { + throw new Error("no notice found"); + } + + return founds; + } + }, { + key: "getNotice", + value: function getNotice(type, appSide) { + return this.getNotices(type, appSide)[0]; + } + }, { + key: "getUriFromNotice", + value: function getUriFromNotice(notice) { + var uri = ""; + + if (notice.getAdUnitIds().length === 0) { + if (notice.isUseCustomUrl() && notice.getCustomUrl()) { + uri = notice.getCustomUrl(); + } else { + uri = NoticeApi.getNoticeBaseURI(); + } + } + + return uri; + } + }, { + key: "getDeviceKey", + value: function getDeviceKey() { + var deviceOrientation = _deviceUtils.default.isPortrait() ? "Portrait" : "Landscape"; + var deviceType = _$$_REQUIRE(_dependencyMap[14]).PlatformUtils.isTablet() ? "tablet" : "phone"; + var deviceOS = _$$_REQUIRE(_dependencyMap[14]).PlatformUtils.isIOS() ? "Apple" : "Android"; + return "is_device_" + deviceType + deviceOrientation + "_" + deviceOS; + } + }, { + key: "getAppSideKey", + value: function getAppSideKey() { + var appSide = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _$$_REQUIRE(_dependencyMap[15]).APP_SIDE.rss; + var appType = appSide === _$$_REQUIRE(_dependencyMap[15]).APP_SIDE.ePaper ? "newspaper" : "livenews"; + return "display_on_app_type_" + appType; + } + }, { + key: "isPrestitial", + value: function isPrestitial(noticeJson) { + var type = noticeJson.type, + time_to_show_first = noticeJson.time_to_show_first; + return type === NoticeValues.values.type.between_pages && time_to_show_first >= 0; + } + }, { + key: "isInterstitial", + value: function isInterstitial(noticeJson) { + var type = noticeJson.type, + show_after_x_articles = noticeJson.show_after_x_articles, + show_after_section = noticeJson.show_after_section, + show_after_page = noticeJson.show_after_page, + time_to_show_first = noticeJson.time_to_show_first; + return type === NoticeValues.values.type.between_pages && (show_after_x_articles >= 0 || show_after_section || show_after_page) && (time_to_show_first === undefined || isNaN(time_to_show_first)); + } + }, { + key: "isAdOverPage", + value: function isAdOverPage(noticeJson) { + var type = noticeJson.type, + show_over_page = noticeJson.show_over_page; + return type === NoticeValues.values.type.between_pages && show_over_page !== undefined; + } + }, { + key: "isInstoryAd", + value: function isInstoryAd(noticeJson) { + var type = noticeJson.type, + display_on_app_type_newspaper = noticeJson.display_on_app_type_newspaper; + var foundType = Object.keys(_$$_REQUIRE(_dependencyMap[16]).InStoryAdType).findIndex(function (instoryType) { + return _$$_REQUIRE(_dependencyMap[16]).InStoryAdType[instoryType].includes(type); + }) > -1; + return type === NoticeValues.values.type.bottom ? display_on_app_type_newspaper === "1" && foundType : foundType; + } + }, { + key: "isEmpty", + value: function isEmpty() { + return !this.notices || !this.notices.length; + } + }]); + }(); +},1999,[3,270,6,7,2000,2003,2004,434,1944,2002,2005,1994,2001,1996,438,1907,1998]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _pageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _NoticeFullscreen2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var NoticeAdOverPageModel = exports.default = function (_NoticeFullscreen) { + function NoticeAdOverPageModel() { + (0, _classCallCheck2.default)(this, NoticeAdOverPageModel); + return _callSuper(this, NoticeAdOverPageModel, arguments); + } + + (0, _inherits2.default)(NoticeAdOverPageModel, _NoticeFullscreen); + return (0, _createClass2.default)(NoticeAdOverPageModel, [{ + key: "getShowOverPage", + value: function getShowOverPage() { + return this.json[_$$_REQUIRE(_dependencyMap[8]).KEYS.SHOW_OVER_PAGE]; + } + }, { + key: "validate", + value: function validate() { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + page = _ref.page; + + var expired = this.isCoolDownExpired(); + this.print("over page: " + this.getShowOverPage() + ", page: " + page + ", cool down: " + expired); + + if (this.getShowOverPage() && _pageUtils.default.comparePageNumber(page, this.getShowOverPage()) && expired) { + return true; + } + + return false; + } + }, { + key: "getScreenName", + value: function getScreenName() { + return NoticeAdOverPageModel.TAG; + } + }]); + }(_NoticeFullscreen2.default); + + NoticeAdOverPageModel.TAG = "ad_over_page"; +},2000,[3,6,7,11,13,14,856,2001,2002]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _Notice2 = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[6])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var NoticeFullscreen = exports.default = function (_Notice) { + function NoticeFullscreen() { + var _this; + + (0, _classCallCheck2.default)(this, NoticeFullscreen); + + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + _this = _callSuper(this, NoticeFullscreen, [].concat(args)); + _this.callsCount = 0; + return _this; + } + + (0, _inherits2.default)(NoticeFullscreen, _Notice); + return (0, _createClass2.default)(NoticeFullscreen, [{ + key: "isRemoveAfterSeconds", + value: function isRemoveAfterSeconds() { + return this.json[_Notice2.KEYS.IS_REMOVE_AFTER_X_SECONDS] === "1"; + } + }, { + key: "isShowButtonAfterSeconds", + value: function isShowButtonAfterSeconds() { + return this.json[_Notice2.KEYS.IS_SHOW_BUTTON_AFTER_X_SECONDS] === "1"; + } + }, { + key: "getRemoveAfterSeconds", + value: function getRemoveAfterSeconds() { + return parseInt(this.json[_Notice2.KEYS.REMOVE_AFTER_X_SECONDS], 10) * 1000 || undefined; + } + }, { + key: "getShowButtonAfterSeconds", + value: function getShowButtonAfterSeconds() { + return parseInt(this.json[_Notice2.KEYS.SHOW_BUTTON_AFTER_X_SECONDS], 10) * 1000 || 0; + } + }, { + key: "shouldWaitForLocal", + value: function shouldWaitForLocal() { + return this.json[_Notice2.KEYS.SHOULD_WAIT_FOR_LOCAL] === "1"; + } + }, { + key: "getTimeToShowAfterFirst", + value: function getTimeToShowAfterFirst() { + return parseInt(this.json[_Notice2.KEYS.TIME_TO_SHOW_AFTER_FIRST], 10) * 1000 || 0; + } + }, { + key: "getTimeToShowFirst", + value: function getTimeToShowFirst() { + return parseInt(this.json[_Notice2.KEYS.TIME_TO_SHOW_FIRST], 10) * 1000 || 0; + } + }, { + key: "setCoolDown", + value: function setCoolDown(coolDown) { + this.coolDown = coolDown || 0; + } + }, { + key: "getCoolDown", + value: function getCoolDown() { + return this.coolDown; + } + }, { + key: "setCallsCount", + value: function setCallsCount(callsCount) { + this.callsCount = callsCount || 0; + } + }, { + key: "getCallsCount", + value: function getCallsCount() { + return this.callsCount; + } + }, { + key: "isCoolDownExpired", + value: function isCoolDownExpired() { + var coolDown = this.getCoolDown(); + var timeToShowAfterFirst = this.getTimeToShowAfterFirst(); + var threshold = coolDown + timeToShowAfterFirst; + return !coolDown || !timeToShowAfterFirst || Date.now() > threshold; + } + }, { + key: "getScreenType", + value: function getScreenType() { + return "notice_fullscreen"; + } + }, { + key: "getScreenName", + value: function getScreenName() { + return "generic"; + } + }]); + }(_Notice2.default); +},2001,[3,6,7,11,13,14,2002]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.KEYS = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var InterstitialsKeysAndValues = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[3])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var KEYS = exports.KEYS = { + AD_PROVIDER: "ad_provider", + ALIGN: "align", + BACKGROUND_COLOR: "bgcolor", + DISPLAY_ON_APP_TYPE_LIVENEWS: "display_on_app_type_livenews", + DISPLAY_ON_APP_TYPE_NEWSPAPER: "display_on_app_type_newspaper", + HEIGHT: "height", + IS_ANDROID: "is_android", + IS_DEVICE_PHONE_LANDSCAPE_ANDROID: "is_device_phoneLandscape_Android", + IS_DEVICE_PHONE_LANDSCAPE_APPLE: "is_device_phoneLandscape_Apple", + IS_DEVICE_PHONE_PORTRAIT_ANDROID: "is_device_phonePortrait_Android", + IS_DEVICE_PHONE_PORTRAIT_APPLE: "is_device_phonePortrait_Apple", + IS_DEVICE_TABLET_LANDSCAPE_ANDROID: "is_device_tabletLandscape_Android", + IS_DEVICE_TABLET_LANDSCAPE_APPLE: "is_device_tabletLandscape_Apple", + IS_DEVICE_TABLET_PORTRAIT_ANDROID: "is_device_tabletPortrait_Android", + IS_DEVICE_TABLET_PORTRAIT_APPLE: "is_device_tabletPortrait_Apple", + IS_DISABLED: "is_disabled", + IS_IPAD: "is_ipad", + IS_IPHONE: "is_iphone", + IS_REMOVE_AFTER_X_SECONDS: "is_remove_after_x_seconds", + IS_SHOW_BUTTON_AFTER_X_SECONDS: "is_show_button_after_x_seconds", + LAST_MODIFIED: "last_modified", + NAME: "name", + NO_IFRAME: "no_iframe", + ORDER: "order", + PREBID_SHARE_GEOLOCATION: "prebid_share_geolocation", + PREBID_CONFIGURATION_ID: "prebid_configuration_id", + PREBID_ACCOUNT_ID: "prebid_account_id", + PREBID_SERVER_HOST: "prebid_server_host", + PROMO_ENABLED: "promo_enabled", + REMOVE_AFTER_X_SECONDS: "remove_after_x_seconds", + SHOULD_WAIT_FOR_LOCAL: "should_wait_for_local", + SHOW_AFTER_PAGE: "show_after_page", + SHOW_AFTER_SECTION: "show_after_section", + SHOW_AFTER_X_ARTICLES: "show_after_x_articles", + SHOW_BUTTON_AFTER_X_SECONDS: "show_button_after_x_seconds", + SHOW_OVER_PAGE: "show_over_page", + TARGETING: "targeting", + TEMPLATE_ID: "notice_template_id", + TIME_TO_SHOW_AFTER_FIRST: "time_to_show_after_first", + TIME_TO_SHOW_FIRST: "time_to_show_first", + TYPE: "type", + UNIT_ID: "unit_id", + USE_CUSTOME_URL: "use_custom_url", + CUSTOME_URL: "custom_url", + WIDTH: "width" + }; + + var Notice = exports.default = function () { + function Notice(number) { + var json = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + (0, _classCallCheck2.default)(this, Notice); + this.index = 0; + this.id = parseInt(number, 10); + this.json = json; + } + + return (0, _createClass2.default)(Notice, [{ + key: "getId", + value: function getId() { + return this.id; + } + }, { + key: "isDisabled", + value: function isDisabled() { + return this.json[KEYS.IS_DISABLED] === "1"; + } + }, { + key: "getAdProvider", + value: function getAdProvider() { + return this.json[KEYS.AD_PROVIDER] || InterstitialsKeysAndValues.values.provider.unset; + } + }, { + key: "getBackgroundColor", + value: function getBackgroundColor() { + return this.json[KEYS.BACKGROUND_COLOR] || _$$_REQUIRE(_dependencyMap[4]).colors.transparent; + } + }, { + key: "getLastModified", + value: function getLastModified() { + return this.json[KEYS.LAST_MODIFIED]; + } + }, { + key: "getName", + value: function getName() { + return this.json[KEYS.NAME]; + } + }, { + key: "getOrder", + value: function getOrder() { + return this.json[KEYS.ORDER]; + } + }, { + key: "getType", + value: function getType() { + return this.json[KEYS.TYPE]; + } + }, { + key: "isPrebidShareGeolocation", + value: function isPrebidShareGeolocation() { + return this.json[KEYS.PREBID_SHARE_GEOLOCATION] === "1"; + } + }, { + key: "getPrebidConfigurationId", + value: function getPrebidConfigurationId() { + return this.json[KEYS.PREBID_CONFIGURATION_ID]; + } + }, { + key: "getPrebidAccount", + value: function getPrebidAccount() { + return this.json[KEYS.PREBID_ACCOUNT_ID]; + } + }, { + key: "getPrebidHost", + value: function getPrebidHost() { + return this.json[KEYS.PREBID_SERVER_HOST]; + } + }, { + key: "isUseCustomUrl", + value: function isUseCustomUrl() { + return this.json[KEYS.USE_CUSTOME_URL] === "1"; + } + }, { + key: "getCustomUrl", + value: function getCustomUrl() { + return this.json[KEYS.CUSTOM_URL]; + } + }, { + key: "getAdUnitIds", + value: function getAdUnitIds() { + var adUnitId = this.json[KEYS.UNIT_ID] || ""; + + if (adUnitId) { + return adUnitId.split(";"); + } + + return []; + } + }, { + key: "getValueByKey", + value: function getValueByKey(key) { + return this.json[key] || ""; + } + }, { + key: "getAdUnitId", + value: function getAdUnitId() { + var ids = this.getAdUnitIds(); + + if (this.index >= ids.length) { + this.index = 0; + } + + return ids[this.index]; + } + }, { + key: "getTargeting", + value: function getTargeting() { + var _this = this; + + var targeting = Object.assign({}, this.json[KEYS.TARGETING]); + + if (targeting) { + Object.keys(targeting).forEach(function (key) { + if (targeting[key].indexOf("##index##") !== -1) { + targeting[key] = targeting[key].replace("##index##", _this.index); + } else if (targeting[key].indexOf("##position##") !== -1) { + targeting[key] = targeting[key].replace("##position##", _this.index + 1); + } + }); + return targeting; + } + + return {}; + } + }, { + key: "incrementIndex", + value: function incrementIndex() { + var ids = this.getAdUnitIds(); + this.index += 1; + + if (this.index >= ids.length) { + this.index = 0; + } + } + }, { + key: "setUri", + value: function setUri(uri) { + this.uri = uri; + } + }, { + key: "getUri", + value: function getUri() { + if (this.uri) { + return _$$_REQUIRE(_dependencyMap[4]).StringUtils.appendParams(this.uri, { + n: this.getId(), + t: new Date().getTime() + }); + } + + return ""; + } + }, { + key: "isWeb", + value: function isWeb() { + return this.getAdUnitIds().length === 0; + } + }, { + key: "isValid", + value: function isValid(appSideKey, deviceKey) { + var isEnabled = !this.isDisabled(); + + var newMethod = _$$_REQUIRE(_dependencyMap[4]).JSUtils.hasProperty(this.json, deviceKey) && _$$_REQUIRE(_dependencyMap[4]).JSUtils.hasProperty(this.json, appSideKey); + + var result = false; + + if (newMethod) { + result = this.json[deviceKey] === "1" && this.json[appSideKey] === "1"; + } else { + result = this.isValidOldMethod(deviceKey); + } + + return isEnabled && result; + } + }, { + key: "isValidOldMethod", + value: function isValidOldMethod(deviceKey) { + var isTablet = deviceKey.includes("Tablet"); + var isAndroid = deviceKey.includes("Android"); + var _this$json = this.json, + is_android = _this$json.is_android, + is_ipad = _this$json.is_ipad, + is_iphone = _this$json.is_iphone; + var isValidForAndroid = is_android === "1" && isAndroid; + var isValidForTablet = isTablet && is_ipad === "1"; + var isValidForPhone = !isTablet && is_iphone === "1"; + var isValidForIOS = (isValidForTablet || isValidForPhone) && !isAndroid; + return isValidForAndroid || isValidForIOS; + } + }, { + key: "validate", + value: function validate() { + var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + this.print("no check required for this notice " + config); + return true; + } + }, { + key: "print", + value: function print(text) {} + }]); + }(); +},2002,[3,6,7,1944,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _newsmemoryUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _pageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _NoticeFullscreen2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _Page = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var NoticeInterstitialModel = exports.default = function (_NoticeFullscreen) { + function NoticeInterstitialModel() { + (0, _classCallCheck2.default)(this, NoticeInterstitialModel); + return _callSuper(this, NoticeInterstitialModel, arguments); + } + + (0, _inherits2.default)(NoticeInterstitialModel, _NoticeFullscreen); + return (0, _createClass2.default)(NoticeInterstitialModel, [{ + key: "getShowAfterPage", + value: function getShowAfterPage() { + return this.json[_$$_REQUIRE(_dependencyMap[10]).KEYS.SHOW_AFTER_PAGE]; + } + }, { + key: "getShowAfterSection", + value: function getShowAfterSection() { + return this.json[_$$_REQUIRE(_dependencyMap[10]).KEYS.SHOW_AFTER_SECTION]; + } + }, { + key: "getShowAfterXArticles", + value: function getShowAfterXArticles() { + return parseInt(this.json[_$$_REQUIRE(_dependencyMap[10]).KEYS.SHOW_AFTER_X_ARTICLES], 10); + } + }, { + key: "validate", + value: function validate() { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + pages = _ref.pages, + prevPages = _ref.prevPages, + isLastPage = _ref.isLastPage; + + var expired = this.isCoolDownExpired(); + + if (expired) { + if (this.getShowAfterXArticles()) { + var callsCount = this.getCallsCount(); + this.print("x articles: " + (callsCount + 1) + " - " + this.getShowAfterXArticles() + ", cool down: " + expired); + + if (callsCount >= this.getShowAfterXArticles() - 1) { + this.setCallsCount(0); + return true; + } + + this.setCallsCount(callsCount + 1); + } else if (Array.isArray(prevPages)) { + var showAfterPage = this.getShowAfterPage(); + var showAfterSection = this.getShowAfterSection(); + + if (showAfterPage) { + var numPages = prevPages.map(function (page) { + return _pageUtils.default.removeZerosFromPageNumber(page.getPage()); + }); + var found = numPages.find(function (p) { + return _pageUtils.default.comparePageNumber(p, showAfterPage); + }); + this.print("after page: " + JSON.stringify(numPages) + " - " + showAfterPage + ", cool down: " + expired); + + if (found) { + return true; + } + } else if (showAfterSection && pages.length > 0) { + var afterSection = showAfterSection.toLowerCase().trim(); + var isLastTwoPagesVisible = isLastPage && pages.length > 1; + var prevSectionLetters = prevPages.reduce(function (current, page) { + var _NewsmemoryUtils$pars = _newsmemoryUtils.default.parsePageInfo(page.getPage()), + sectionLetter = _NewsmemoryUtils$pars.section; + + sectionLetter = sectionLetter.toLowerCase(); + + if (sectionLetter && !current.includes(sectionLetter)) { + current.push(sectionLetter); + } + + return current; + }, []); + + if (prevSectionLetters.length > 0) { + var _NewsmemoryUtils$pars2 = _newsmemoryUtils.default.parsePageInfo(pages[0]), + sectionLetter = _NewsmemoryUtils$pars2.section; + + sectionLetter = sectionLetter.toLowerCase(); + this.print("after section letter: " + JSON.stringify(prevSectionLetters) + " - " + showAfterSection + ", first visible page section letter: " + sectionLetter + ", cool down: " + expired); + + if (prevSectionLetters.includes(afterSection)) { + if (sectionLetter && !prevSectionLetters.includes(sectionLetter)) { + return true; + } + + if (isLastTwoPagesVisible) { + var _NewsmemoryUtils$pars3 = _newsmemoryUtils.default.parsePageInfo(pages[1]), + lastSectionLetter = _NewsmemoryUtils$pars3.section; + + lastSectionLetter = lastSectionLetter.toLowerCase(); + + if (lastSectionLetter && !prevSectionLetters.includes(lastSectionLetter)) { + return true; + } + } + } else if (isLastTwoPagesVisible && sectionLetter && sectionLetter === afterSection) { + var _NewsmemoryUtils$pars4 = _newsmemoryUtils.default.parsePageInfo(pages[1]), + _lastSectionLetter = _NewsmemoryUtils$pars4.section; + + _lastSectionLetter = _lastSectionLetter.toLowerCase(); + + if (_lastSectionLetter !== sectionLetter) { + return true; + } + } + } + + var prevSections = prevPages.reduce(function (current, page) { + var _page$getSection; + + var section = ((_page$getSection = page.getSection()) != null ? _page$getSection : "").toLowerCase(); + + if (section && !current.includes(section)) { + current.push(section); + } + + return current; + }, []); + + if (prevSections.length > 0) { + var _pages$0$getSection; + + var section = ((_pages$0$getSection = pages[0].getSection()) != null ? _pages$0$getSection : "").toLowerCase(); + this.print("after section: " + JSON.stringify(prevSections) + " - " + showAfterSection + ", first visible page section: " + section + ", cool down: " + expired); + + if (prevSections.includes(afterSection)) { + if (section && !prevSections.includes(section)) { + return true; + } + + if (isLastTwoPagesVisible) { + var _pages$1$getSection; + + var lastPageSection = ((_pages$1$getSection = pages[1].getSection()) != null ? _pages$1$getSection : "").toLowerCase(); + + if (lastPageSection && !prevSections.includes(lastPageSection)) { + return true; + } + } + } else if (isLastTwoPagesVisible && section && section === afterSection) { + var _pages$1$getSection2; + + var _lastPageSection = ((_pages$1$getSection2 = pages[1].getSection()) != null ? _pages$1$getSection2 : "").toLowerCase(); + + if (_lastPageSection !== section) { + return true; + } + } + } + } + } + } + + return false; + } + }, { + key: "getScreenName", + value: function getScreenName() { + return NoticeInterstitialModel.TAG; + } + }]); + }(_NoticeFullscreen2.default); + + NoticeInterstitialModel.TAG = "interstitial"; +},2003,[3,6,7,11,13,14,627,856,2001,668,2002]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _NoticeFullscreen2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var NoticePrestitialModel = exports.default = function (_NoticeFullscreen) { + function NoticePrestitialModel() { + (0, _classCallCheck2.default)(this, NoticePrestitialModel); + return _callSuper(this, NoticePrestitialModel, arguments); + } + + (0, _inherits2.default)(NoticePrestitialModel, _NoticeFullscreen); + return (0, _createClass2.default)(NoticePrestitialModel, [{ + key: "validate", + value: function validate() { + var expired = this.isCoolDownExpired(); + this.print("cool down: " + expired); + return expired; + } + }, { + key: "getScreenName", + value: function getScreenName() { + return NoticePrestitialModel.TAG; + } + }]); + }(_NoticeFullscreen2.default); + + NoticePrestitialModel.TAG = "prestitial"; +},2004,[3,6,7,11,13,14,2001]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _Notice2 = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[6])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var NoticeInstoryAdModel = exports.default = function (_Notice) { + function NoticeInstoryAdModel() { + (0, _classCallCheck2.default)(this, NoticeInstoryAdModel); + return _callSuper(this, NoticeInstoryAdModel, arguments); + } + + (0, _inherits2.default)(NoticeInstoryAdModel, _Notice); + return (0, _createClass2.default)(NoticeInstoryAdModel, [{ + key: "getAlignment", + value: function getAlignment() { + return this.json[_Notice2.KEYS.ALIGN] || _$$_REQUIRE(_dependencyMap[7]).InStoryAdAlign.UNSET; + } + }, { + key: "getSize", + value: function getSize() { + return { + width: parseInt(this.json[_Notice2.KEYS.WIDTH], 10), + height: parseInt(this.json[_Notice2.KEYS.HEIGHT], 10) + }; + } + }, { + key: "validate", + value: function validate() { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + _ref$positions = _ref.positions, + positions = _ref$positions === undefined ? [] : _ref$positions; + + this.print("type: " + this.getType() + ", positions: " + JSON.stringify(positions)); + return positions.includes(this.getType()); + } + }, { + key: "getScreenName", + value: function getScreenName() { + return NoticeInstoryAdModel.TAG; + } + }]); + }(_Notice2.default); + + NoticeInstoryAdModel.TAG = "instory_ad"; +},2005,[3,6,7,11,13,14,2002,1998]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[8]); + + var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _imageComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); + + var _NativeAdTemplate = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); + + var _NativeVideoAdTemplate = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); + + var _StandardDisplayAdTemplate = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var _OptionalPackages$get = _optionalPackageUtils.default.getPrebid(), + PrebidBanner = _OptionalPackages$get.PrebidBanner; + + var _OptionalPackages$get2 = _optionalPackageUtils.default.getNativoAds(), + NativoAd = _OptionalPackages$get2.NativoAd; + + var _OptionalPackages$get3 = _optionalPackageUtils.default.getAdMob(), + BannerAd = _OptionalPackages$get3.BannerAd, + BannerAdSize = _OptionalPackages$get3.BannerAdSize, + TestIds = _OptionalPackages$get3.TestIds; + + var _OptionalPackages$get4 = _optionalPackageUtils.default.getDFP(), + DFPBanner = _OptionalPackages$get4.DFPBanner; + + var AdNativeComponent = exports.default = function (_React$Component) { + function AdNativeComponent(props) { + var _this; + + (0, _classCallCheck2.default)(this, AdNativeComponent); + _this = _callSuper(this, AdNativeComponent, [props]); + _this.loading = true; + _this.loaded = false; + _this.ref = undefined; + _this.onAdMobAdLoaded = _this._onAdMobAdLoaded.bind(_this); + _this.onAdMobAdError = _this._onAdMobAdError.bind(_this); + _this.onDFPAdLoaded = _this._onDFPAdLoaded.bind(_this); + _this.onDFPAdError = _this._onDFPAdError.bind(_this); + _this.onPrebidAdLoaded = _this._onPrebidAdLoaded.bind(_this); + _this.onPrebidAdError = _this._onPrebidAdError.bind(_this); + _this.onNativoAdRemoved = _this._onNativoAdRemoved.bind(_this); + _this.onNativoAdRendered = _this._onNativoAdRendered.bind(_this); + _this.onNativoAdClick = _this._onNativoAdClick.bind(_this); + _this.onNativoDisplayAdClick = _this._onNativoDisplayAdClick.bind(_this); + _this.onRef = _this._onRef.bind(_this); + _this.onDFPReload = _this._DFPReloadBanner.bind(_this); + _this.onAdLoaded = _this._onAdLoaded.bind(_this); + _this.onAdError = _this._onAdError.bind(_this); + _this.startAdTime = undefined; + _this.state = { + error: false, + hidden: false + }; + return _this; + } + + (0, _inherits2.default)(AdNativeComponent, _React$Component); + return (0, _createClass2.default)(AdNativeComponent, [{ + key: "componentDidMount", + value: function componentDidMount() { + var _this2 = this; + + this.changeAdsVisibility = _$$_REQUIRE(_dependencyMap[16]).EventRegister.on(_events.default.CHANGE_ADS_VISIBILITY, function (_ref) { + var hideAds = _ref.hideAds; + var hidden = _this2.state.hidden; + + if (hideAds && !hidden) { + _this2.setState({ + hidden: true + }); + } else if (!hideAds && hidden) { + _this2.setState({ + hidden: false + }); + } + }); + var model = this.props.model; + var key = model.key; + + if (key) { + (0, _$$_REQUIRE(_dependencyMap[17]).addDebugOperation)("AdNativeComponent", "componentDidMount " + key, "ads"); + } + + this.startAdTime = new Date().getTime(); + } + }, { + key: "shouldComponentUpdate", + value: function shouldComponentUpdate(nextProps, nextState) { + var model = this.props.model; + var updateComponent = !_$$_REQUIRE(_dependencyMap[18]).JSUtils.areEqualShallow(nextProps.model, model) || !_$$_REQUIRE(_dependencyMap[18]).JSUtils.areEqualShallow(nextState, this.state); + + if (!updateComponent && this.loaded) { + this.onAdLoaded(false); + } + + return updateComponent; + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + if (this.dfpReloadTimeoutId) { + clearTimeout(this.dfpReloadTimeoutId); + } + + _$$_REQUIRE(_dependencyMap[16]).EventRegister.rm(this.changeAdsVisibility); + } + }, { + key: "getAdMobBanner", + value: function getAdMobBanner() { + if (!_optionalPackageUtils.default.isAdMobAvailable()) { + return null; + } + + var model = this.props.model; + var unitId = model.unitId, + width = model.width, + height = model.height; + var bannerType = width + "x" + height; + + if (width === 320 && height === 50) { + bannerType = BannerAdSize.BANNER; + } else if (width === 300 && height === 250) { + bannerType = BannerAdSize.MEDIUM_RECTANGLE; + } + + return (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(BannerAd, { + unitId: global.__DEV__ ? TestIds.BANNER : unitId, + size: bannerType, + onAdLoaded: this.onAdMobAdLoaded, + onAdFailedToLoad: this.onAdMobAdError + }); + } + }, { + key: "getDFPBanner", + value: function getDFPBanner() { + if (!_optionalPackageUtils.default.isDFPAvailable()) { + return null; + } + + var model = this.props.model; + var unitId = model.unitId, + width = model.width, + height = model.height, + targeting = model.targeting; + var dimensions = { + width: width, + height: height + }; + var bannerSize = null; + + if (width === 320 && height === 50) { + bannerSize = "banner"; + } else if (width === 300 && height === 250) { + bannerSize = "mediumRectangle"; + } + + var other = {}; + + if (bannerSize) { + other.bannerSize = bannerSize; + } else { + other.dimensions = dimensions; + } + + if (typeof targeting === "string" && targeting.length > 0) { + try { + other.targeting = JSON.parse(targeting); + } catch (e) {} + } else if (typeof targeting === "object" && !_$$_REQUIRE(_dependencyMap[18]).JSUtils.isEmpty(targeting)) { + other.targeting = targeting; + } + + return (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(DFPBanner, Object.assign({ + ref: this.onRef, + onAdViewDidReceiveAd: this.onDFPAdLoaded, + onDidFailToReceiveAdWithError: this.onDFPAdError, + adUnitID: unitId, + testDeviceID: global.adsTestDevices[0] + }, other)); + } + }, { + key: "getPrebidBanner", + value: function getPrebidBanner() { + if (!_optionalPackageUtils.default.isPrebidAvailable()) { + return null; + } + + var adsConfig = global.getAdsConfig(); + + if (!adsConfig) { + return null; + } + + var _this$props = this.props, + model = _this$props.model, + tag = _this$props.tag; + var width = model.width, + height = model.height; + var bannerSize = null; + + if (width === 300 && height === 250) { + bannerSize = "MEDIUM_RECTANGLE"; + } else { + bannerSize = "BANNER"; + } + + return (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(PrebidBanner, { + tag: "" + tag, + onGoogleAdLoaded: this.onPrebidAdLoaded, + onGoogleAdError: this.onPrebidAdError, + serverAccountId: adsConfig.getPrebidAccountId(), + serverHost: adsConfig.getPrebidServerHost(), + shareGeolocation: adsConfig.getPrebidShareGeolocation(), + refreshMills: adsConfig.getRefreshTime(), + configurationId: adsConfig.getPrebidConfigurationId(), + adUnitID: adsConfig.getDefaultAdUnitId(), + bannerSize: bannerSize + }); + } + }, { + key: "getNativoBanner", + value: function getNativoBanner() { + if (!_optionalPackageUtils.default.isNativoSDKAvailable()) { + return null; + } + + var _this$props2 = this.props, + model = _this$props2.model, + nativo = _this$props2.nativo; + var index = model.index, + unitId = model.unitId, + width = model.width, + height = model.height; + var grid = nativo.grid, + card = nativo.card, + headerText = nativo.headerText; + + if (index === undefined) { + return null; + } + + var nativoIndex = index; + + if (grid) { + nativoIndex += 1000; + } else if (card) { + nativoIndex += 2000; + } + + var dimensions = { + width: width, + height: height + }; + var text = headerText || global.strings("sponsored_content"); + return (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(NativoAd, { + style: dimensions, + index: nativoIndex, + sectionUrl: unitId, + onNativeAdClick: this.onNativoAdClick, + onDisplayAdClick: this.onNativoDisplayAdClick, + onAdRemoved: this.onNativoAdRemoved, + onAdRendered: this.onNativoAdRendered, + nativeAdTemplate: _NativeAdTemplate.default, + videoAdTemplate: _NativeVideoAdTemplate.default, + standardDisplayAdTemplate: _StandardDisplayAdTemplate.default, + extraTemplateProps: { + index: index, + grid: grid, + card: card, + dimensions: dimensions, + headerText: text + } + }, "nativoAd_" + nativoIndex); + } + }, { + key: "_onNativoAdClick", + value: function _onNativoAdClick(event) { + _NavigationService.default.main.navigate("NativoLandingPageScreen", event); + } + }, { + key: "_onNativoDisplayAdClick", + value: function _onNativoDisplayAdClick(event) { + if (event != null && event.url) { + _NavigationService.default.main.navigate("WebScreen", { + url: event.url + }); + } + } + }, { + key: "_onNativoAdRendered", + value: function _onNativoAdRendered() { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + } + }, { + key: "_onNativoAdRemoved", + value: function _onNativoAdRemoved() { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + this.onAdError(); + var _this$props3 = this.props, + onAdFailed = _this$props3.onAdFailed, + model = _this$props3.model; + + if (onAdFailed) { + onAdFailed(model, "", true); + } + } + }, { + key: "_onAdMobAdLoaded", + value: function _onAdMobAdLoaded() { + this.onAdLoaded(); + } + }, { + key: "_onAdMobAdError", + value: function _onAdMobAdError(error) { + this.onAdError(error); + } + }, { + key: "_onDFPAdLoaded", + value: function _onDFPAdLoaded() { + var _global$getActivePSet = global.getActivePSetup(), + dfpReloadTime = _global$getActivePSet.dfpReloadTime; + + var shouldReloadOnError = dfpReloadTime >= 0; + this.onAdLoaded(!shouldReloadOnError); + } + }, { + key: "_onDFPAdError", + value: function _onDFPAdError(error) { + var _global$getActivePSet2 = global.getActivePSetup(), + dfpReloadTime = _global$getActivePSet2.dfpReloadTime; + + var shouldReloadOnError = dfpReloadTime >= 0; + + if (this.dfpReloadTimeoutId) { + clearTimeout(this.dfpReloadTimeoutId); + } + + if (shouldReloadOnError) { + this.dfpReloadTimeoutId = setTimeout(this.onDFPReload, dfpReloadTime); + } + + this.onAdError(error, !shouldReloadOnError); + } + }, { + key: "_DFPReloadBanner", + value: function _DFPReloadBanner() { + if (!this.ref) { + return; + } + + this.dfpReloadTimeoutId = undefined; + + _reactNative.UIManager.dispatchViewManagerCommand((0, _reactNative.findNodeHandle)(this.ref), _reactNative.UIManager.RNDFPBanner.Commands.reloadBanner, []); + } + }, { + key: "_onPrebidAdLoaded", + value: function _onPrebidAdLoaded() { + this.onAdLoaded(); + } + }, { + key: "_onPrebidAdError", + value: function _onPrebidAdError(error) { + this.onAdError(error); + } + }, { + key: "_onAdLoaded", + value: function _onAdLoaded() { + var showError = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + var _this$props4 = this.props, + onAdLoaded = _this$props4.onAdLoaded, + model = _this$props4.model; + var unitId = model.unitId, + width = model.width, + height = model.height; + + if (this.loading && this.startAdTime) { + model.firstLoadTime = new Date().getTime() - this.startAdTime; + } + + this.loading = false; + this.loaded = true; + + if (showError) { + this.setState({ + error: false + }); + } + + if (onAdLoaded) { + onAdLoaded(model); + } + + (0, _$$_REQUIRE(_dependencyMap[20]).sendAdSuccess)({ + unitId: unitId, + size: width + "x" + height + }); + } + }, { + key: "_onAdError", + value: function _onAdError(error) { + var showError = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; + var _this$props5 = this.props, + onAdFailed = _this$props5.onAdFailed, + model = _this$props5.model; + + if (this.loading && this.startAdTime) { + model.firstLoadTime = new Date().getTime() - this.startAdTime; + } + + this.loading = false; + this.loaded = false; + + if (showError) { + this.setState({ + error: true + }); + } + + if (onAdFailed) { + onAdFailed(model, error); + } + + if (error != null && error.code) { + var unitId = model.unitId, + width = model.width, + height = model.height; + (0, _$$_REQUIRE(_dependencyMap[20]).sendAdFailedError)({ + unitId: unitId, + error: error.code, + size: width + "x" + height + }); + } + } + }, { + key: "_onRef", + value: function _onRef(ref) { + this.ref = ref; + } + }, { + key: "render", + value: function render() { + var _this$state = this.state, + error = _this$state.error, + hidden = _this$state.hidden; + var _this$props6 = this.props, + model = _this$props6.model, + fallback = _this$props6.fallback; + var width = model.width, + height = model.height, + provider = model.provider; + + if (hidden) { + return null; + } + + if (error) { + if (fallback) { + return (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(_imageComponent.default, { + source: { + uri: fallback + }, + style: { + width: width, + height: height + } + }); + } + + return null; + } + + var adsConfig = global.getAdsConfig(); + + if (!adsConfig) { + return null; + } + + if (adsConfig.useDFP(provider)) { + return this.getDFPBanner(); + } + + if (adsConfig.useAdMob(provider)) { + return this.getAdMobBanner(); + } + + if (adsConfig.usePrebid(provider)) { + return this.getPrebidBanner(); + } + + if (adsConfig.useNativo(provider)) { + return this.getNativoBanner(); + } + + return null; + } + }]); + }(_react.default.Component); + + AdNativeComponent.propTypes = { + model: _propTypes.default.shape({ + index: _propTypes.default.number, + provider: _propTypes.default.string, + unitId: _propTypes.default.string, + width: _propTypes.default.number, + height: _propTypes.default.number, + targeting: _propTypes.default.object, + key: _propTypes.default.string, + firstLoadTime: _propTypes.default.number + }), + nativo: _propTypes.default.shape({ + headerText: _propTypes.default.string, + grid: _propTypes.default.bool, + card: _propTypes.default.bool + }), + tag: _propTypes.default.string, + fallback: _propTypes.default.string, + caller: _propTypes.default.string, + onAdLoaded: _propTypes.default.func, + onAdFailed: _propTypes.default.func + }; + AdNativeComponent.defaultProps = { + nativo: { + grid: false, + card: false + } + }; +},2006,[3,6,7,11,13,14,582,16,18,1881,588,436,879,2007,2036,2037,564,815,438,179,1910]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[2]); + + var _tileListNativo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _tileGridNativo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _cardNativo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var styles = _reactNative.StyleSheet.create({ + textRow: { + flexDirection: "row", + alignItems: "center", + marginHorizontal: _$$_REQUIRE(_dependencyMap[8]).HORIZONTAL_MARGIN + } + }); + + var NativeAdTemplate = function NativeAdTemplate(props) { + if (!_optionalPackageUtils.default.isNativoSDKAvailable()) { + return null; + } + + var adDate = props.adDate, + adTitle = props.adTitle, + adDescription = props.adDescription, + adAuthorName = props.adAuthorName, + index = props.index, + grid = props.grid, + card = props.card, + dimensions = props.dimensions, + headerText = props.headerText; + var item = { + titleNativeID: "adTitle", + summaryNativeID: "adDescription", + title: adTitle, + summary: adDescription, + gridIndex: index + }; + var cssClasses = ["rss-nativo-ad-template"]; + var cssHeaderClasses = ["rss-nativo-ad-template-header"]; + var cssHeaderTextClasses = ["rss-nativo-ad-template-header-text"]; + var cssChoicesImageClasses = ["rss-nativo-ad-template-choices-image"]; + var cssImageClasses = ["rss-nativo-ad-template-image"]; + var cssBottomClasses = ["rss-nativo-ad-template-bottom"]; + var cssDateClasses = ["rss-nativo-ad-template-date"]; + var cssAuthorImageClasses = ["rss-nativo-ad-template-author-image"]; + var cssAuthorNameClasses = ["rss-nativo-ad-template-author-name"]; + var imageStyle = {}; + var adAuthorImageStyle = { + minWidth: 20, + height: 20 + }; + var layoutSuffix; + + if (card) { + layoutSuffix = "card"; + imageStyle = { + width: "100%", + height: 300 + }; + } else if (grid) { + layoutSuffix = "grid"; + imageStyle = { + flex: 1 + }; + } else { + layoutSuffix = "list"; + imageStyle = { + flex: 1, + margin: 4 + }; + adAuthorImageStyle = { + width: 0, + height: 20 + }; + } + + cssClasses.push("rss-nativo-ad-template-" + layoutSuffix); + cssHeaderClasses.push("rss-nativo-ad-template-header-" + layoutSuffix); + cssHeaderTextClasses.push("rss-nativo-ad-template-header-text-" + layoutSuffix); + cssChoicesImageClasses.push("rss-nativo-ad-template-choices-image-" + layoutSuffix); + cssImageClasses.push("rss-nativo-ad-template-image-" + layoutSuffix); + cssBottomClasses.push("rss-nativo-ad-template-bottom-" + layoutSuffix); + cssDateClasses.push("rss-nativo-ad-template-date-" + layoutSuffix); + cssAuthorImageClasses.push("rss-nativo-ad-template-author-image-" + layoutSuffix); + cssAuthorNameClasses.push("rss-nativo-ad-template-author-name-" + layoutSuffix); + var TopComponent = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssHeaderClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_reactNative.View, { + style: styles.textRow, + children: [(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssHeaderTextClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Text, { + style: { + fontWeight: "bold", + flex: 1 + }, + children: headerText + }) + }), (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssChoicesImageClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Image, { + nativeID: "adChoicesImage", + style: { + height: 20, + width: 20 + } + }) + })] + }) + }); + var BottomComponent = (0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssBottomClasses, + children: [(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.View, { + style: styles.textRow, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssDateClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Text, { + nativeID: "adDate", + style: { + flex: 1 + }, + children: (0, _$$_REQUIRE(_dependencyMap[11]).formatDate)(adDate / 1000) + }) + }) + }), (0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_reactNative.View, { + style: styles.textRow, + children: [(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssAuthorImageClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Image, { + nativeID: "adAuthorImage", + resizeMode: "contain", + style: adAuthorImageStyle + }) + }), (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssAuthorNameClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Text, { + nativeID: "adAuthorName", + children: adAuthorName + }) + })] + })] + }); + var ImageComponent = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssImageClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Image, { + style: imageStyle, + nativeID: "adImage" + }) + }); + var ad; + + if (card) { + ad = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_cardNativo.default, { + item: item, + TopComponent: TopComponent, + BottomComponent: BottomComponent, + ImageComponent: ImageComponent + }); + } else if (grid) { + ad = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_tileGridNativo.default, { + roundedBorder: true, + item: item, + TopComponent: TopComponent, + BottomComponent: BottomComponent, + ImageComponent: ImageComponent + }); + } else { + ad = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_tileListNativo.default, { + item: item, + TopComponent: TopComponent, + BottomComponent: BottomComponent, + ImageComponent: ImageComponent + }); + } + + var key = card ? "card" : grid; + var style = card ? { + width: (0, _$$_REQUIRE(_dependencyMap[12]).getRssCardBoxWidth)() + } : dimensions; + return (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.View, { + nativeID: "nativoAdView", + style: style, + children: ad + }, "nativo_" + index + "_" + key) + }); + }; + + var _default = exports.default = NativeAdTemplate; +},2007,[3,16,18,2008,2024,2030,434,879,2014,179,817,2033,2020]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[7]); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _iconGallery = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _tileList = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + var _tilePreview = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + var _imageComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var TileListNativo = exports.default = function (_React$PureComponent) { + function TileListNativo(props) { + var _this; + + (0, _classCallCheck2.default)(this, TileListNativo); + _this = _callSuper(this, TileListNativo, [props]); + _this.fontSize = _$$_REQUIRE(_dependencyMap[13]).FONT_SIZE.TEXT(); + _this.fontSizeTitle = _$$_REQUIRE(_dependencyMap[13]).FONT_SIZE.TITLE(); + return _this; + } + + (0, _inherits2.default)(TileListNativo, _React$PureComponent); + return (0, _createClass2.default)(TileListNativo, [{ + key: "_getTopComponent", + value: function _getTopComponent() { + var TopComponent = this.props.TopComponent; + + if (TopComponent) { + return TopComponent; + } + + return null; + } + }, { + key: "_getBottomComponent", + value: function _getBottomComponent() { + var BottomComponent = this.props.BottomComponent; + + if (BottomComponent) { + return BottomComponent; + } + + return null; + } + }, { + key: "_getImage", + value: function _getImage() { + var _this$props = this.props, + item = _this$props.item, + ImageComponent = _this$props.ImageComponent, + imageContainerStyle = _this$props.imageContainerStyle; + + if (item.image || ImageComponent) { + var style = { + margin: 4, + flex: _$$_REQUIRE(_dependencyMap[14]).PlatformUtils.isTablet() ? 1 : 2 + }; + return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.View, { + style: [style, imageContainerStyle], + children: ImageComponent || (0, _$$_REQUIRE(_dependencyMap[15]).jsxs)(_react.default.Fragment, { + children: [(0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_imageComponent.default, { + style: style, + source: { + uri: item.image + } + }), (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_iconGallery.default, { + item: item, + inline: false + })] + }) + }); + } + + return null; + } + }, { + key: "render", + value: function render() { + var item = this.props.item; + + var isTablet = _$$_REQUIRE(_dependencyMap[14]).PlatformUtils.isTablet(); + + var _global$getRssIndex = global.getRssIndex(), + putImageOnListRightSide = _global$getRssIndex.putImageOnListRightSide; + + var summary = isTablet ? { + text: item.summary, + classes: ["tile-summary", "list-tile-summary", "tile-list-summary"], + style: { + fontSize: this.fontSize + }, + nativeID: item.summaryNativeID + } : {}; + return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_$$_REQUIRE(_dependencyMap[16]).Css, { + classes: ["tile", "tile-list", "tile-list-nativo"], + children: (0, _$$_REQUIRE(_dependencyMap[15]).jsxs)(_$$_REQUIRE(_dependencyMap[17]).TileParent, { + index: item.gridIndex, + bgColorByIndex: true, + enableBorderEffect: false, + style: { + flexDirection: putImageOnListRightSide ? "row" : "row-reverse" + }, + children: [(0, _$$_REQUIRE(_dependencyMap[15]).jsxs)(_reactNative.View, { + style: [_tileList.default.container, { + paddingHorizontal: isTablet ? 8 : 0 + }], + children: [this._getTopComponent(), (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_tilePreview.default, { + title: { + text: item.title, + classes: ["tile-title", "list-tile-title", "tile-list-title"], + style: { + fontSize: this.fontSizeTitle + }, + nativeID: item.titleNativeID + }, + summary: summary, + verticalPaddingSize: _$$_REQUIRE(_dependencyMap[18]).TITLE_TOP_PADDING, + containerStyle: !isTablet ? { + justifyContent: "center" + } : {} + }), this._getBottomComponent()] + }), this._getImage()] + }) + }); + } + }]); + }(_react.default.PureComponent); + + TileListNativo.propTypes = { + item: _propTypes.default.shape({ + title: _propTypes.default.string, + summary: _propTypes.default.string, + image: _propTypes.default.string, + gridIndex: _propTypes.default.number, + titleNativeID: _propTypes.default.string, + summaryNativeID: _propTypes.default.string + }), + TopComponent: _propTypes.default.node, + BottomComponent: _propTypes.default.node, + ImageComponent: _propTypes.default.node, + imageContainerStyle: _propTypes.default.any + }; + TileListNativo.defaultProps = { + TopComponent: undefined, + BottomComponent: undefined, + ImageComponent: undefined, + imageContainerStyle: undefined + }; +},2008,[3,6,7,11,13,14,16,18,582,2009,2013,2015,588,2020,438,179,817,2021,2016]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.PositionType = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[7]); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _iconGallery = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _RssActionManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + var _imageIconChooserComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var PositionType = exports.PositionType = { + tile: "tile", + article: "article" + }; + + var IconGallery = function (_React$Component) { + function IconGallery() { + (0, _classCallCheck2.default)(this, IconGallery); + return _callSuper(this, IconGallery, arguments); + } + + (0, _inherits2.default)(IconGallery, _React$Component); + return (0, _createClass2.default)(IconGallery, [{ + key: "_onPress", + value: function _onPress() { + var _this$props = this.props, + item = _this$props.item, + navigation = _this$props.navigation; + navigation.navigate("GalleryScreen", { + items: item.gallery, + category: item.category, + title: item.title, + caller: "live_news" + }); + } + }, { + key: "render", + value: function render() { + var _this = this; + + var _this$props2 = this.props, + item = _this$props2.item, + inline = _this$props2.inline, + parentStyle = _this$props2.parentStyle, + imageStyle = _this$props2.imageStyle, + position = _this$props2.position, + _onLayout = _this$props2.onLayout; + var rssAction = item.action; + var icon = position === PositionType.tile ? rssAction.getGalleryIcon() : rssAction.getFullscreenGalleryIcon(); + + if (!icon) { + return null; + } + + return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[13]).Css, { + classes: ["icon-gallery-parent"], + children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_reactNative.TouchableOpacity, { + style: [inline ? _iconGallery.default.iconParent_inline : _iconGallery.default.iconParent, parentStyle], + onLayout: function onLayout(_ref) { + var nativeEvent = _ref.nativeEvent; + + if (_onLayout) { + _onLayout(nativeEvent.layout); + } + }, + onPress: function onPress() { + _this._onPress(); + }, + children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[13]).Css, { + classes: ["icon-gallery"], + children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_imageIconChooserComponent.default, { + style: [_iconGallery.default.gallery, imageStyle], + source: icon && icon.icon ? { + uri: icon.icon + } : _$$_REQUIRE(_dependencyMap[14]) + }) + }) + }) + }); + } + }]); + }(_react.default.Component); + + IconGallery.defaultProps = { + inline: false, + parentStyle: {}, + imageStyle: {}, + position: PositionType.tile + }; + IconGallery.propTypes = { + onLayout: _propTypes.default.func, + item: _propTypes.default.object, + navigation: _propTypes.default.object, + inline: _propTypes.default.bool, + imageStyle: _propTypes.default.object, + parentStyle: _propTypes.default.object, + position: _propTypes.default.oneOf([PositionType.tile, PositionType.article]) + }; + + var _default = exports.default = function _default(props) { + var navigation = (0, _$$_REQUIRE(_dependencyMap[15]).useNavigation)(); + return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(IconGallery, Object.assign({}, props, { + navigation: navigation + })); + }; +},2009,[3,6,7,11,13,14,16,18,582,2010,1935,1941,179,817,2012,1087]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var ICON_CONTAINER = _$$_REQUIRE(_dependencyMap[1]).ICON + _$$_REQUIRE(_dependencyMap[1]).ICON_PADDING * 2; + + var _default = exports.default = _reactNative.StyleSheet.create({ + iconParent: { + width: ICON_CONTAINER, + height: ICON_CONTAINER, + top: 0, + end: 0, + padding: _$$_REQUIRE(_dependencyMap[1]).ICON_PADDING, + position: "absolute" + }, + iconParent_inline: { + width: ICON_CONTAINER, + height: ICON_CONTAINER, + padding: _$$_REQUIRE(_dependencyMap[1]).ICON_PADDING + }, + gallery: { + width: _$$_REQUIRE(_dependencyMap[1]).ICON, + height: _$$_REQUIRE(_dependencyMap[1]).ICON, + shadowColor: _$$_REQUIRE(_dependencyMap[2]).colors.grey900, + shadowOffset: { + width: 0, + height: 0 + }, + shadowRadius: 5 + } + }); +},2010,[18,2011,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.MARGIN = exports.ICON_SIZE = exports.ICON_PADDING = exports.ICON = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var ICON = exports.ICON = 30; + var ICON_PADDING = exports.ICON_PADDING = 5; + var MARGIN = exports.MARGIN = 5; + var ICON_SIZE = exports.ICON_SIZE = ICON - ICON_PADDING * 2; + + var _default = exports.default = _reactNative.StyleSheet.create({ + parent: { + marginStart: MARGIN, + marginEnd: MARGIN, + flexDirection: "row", + justifyContent: "center", + alignItems: "center", + borderRadius: ICON + }, + iconParent: { + height: ICON, + bottom: -(ICON / 2), + end: 0, + position: "absolute" + }, + icon: { + height: ICON, + width: ICON, + fontSize: ICON_SIZE, + padding: ICON_PADDING + } + }); +},2011,[18]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ + "__packager_asset": true, + "httpServerLocation": "/assets/src/views/rss/icon-gallery/img", + "width": 96, + "height": 96, + "scales": [1], + "hash": "f390cf51f6b56bf0a0c61fb97d38cbea", + "name": "ic_gallery_white", + "type": "png" + }); +},2012,[1258]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var _default = exports.default = _reactNative.StyleSheet.create({ + outline: { + flexDirection: "row" + }, + container: { + flex: _$$_REQUIRE(_dependencyMap[1]).CONTAINER_LIST_FLEX, + flexDirection: "column", + justifyContent: "space-between", + paddingVertical: _$$_REQUIRE(_dependencyMap[1]).CONTAINER_VERTICAL_PADDING + } + }); +},2013,[18,2014]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.TITLE_VERTICAL_PADDING = exports.SUMMARY_VERTICAL_MARGIN = exports.HORIZONTAL_MARGIN = exports.CONTAINER_VERTICAL_PADDING = exports.CONTAINER_LIST_FLEX = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var CONTAINER_VERTICAL_PADDING = exports.CONTAINER_VERTICAL_PADDING = 8; + var CONTAINER_LIST_FLEX = exports.CONTAINER_LIST_FLEX = 3; + var TITLE_VERTICAL_PADDING = exports.TITLE_VERTICAL_PADDING = 8; + var SUMMARY_VERTICAL_MARGIN = exports.SUMMARY_VERTICAL_MARGIN = 8; + var HORIZONTAL_MARGIN = exports.HORIZONTAL_MARGIN = 8; + + var _default = exports.default = _reactNative.StyleSheet.create({ + icon: { + height: 30, + width: 30, + marginStart: 5, + marginEnd: 5 + }, + details: { + marginHorizontal: HORIZONTAL_MARGIN, + textAlign: "left", + color: _$$_REQUIRE(_dependencyMap[1]).colors.details, + flex: 1 + } + }); +},2014,[18,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _tilePreview = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[4])); + + var _doubleTextAutoMeasured = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _excluded = ["title", "summary"]; + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function TilePreview(props) { + var title = props.title, + summary = props.summary, + rest = (0, _objectWithoutProperties2.default)(props, _excluded); + return (0, _$$_REQUIRE(_dependencyMap[6]).jsx)(_doubleTextAutoMeasured.default, Object.assign({}, rest, { + top: title ? Object.assign({ + type: _$$_REQUIRE(_dependencyMap[7]).Type.medium + }, title, { + classes: ["tile-title"].concat((0, _toConsumableArray2.default)(title.classes || [])) + }) : undefined, + bottom: summary ? Object.assign({}, summary, { + classes: ["tile-summary"].concat((0, _toConsumableArray2.default)(summary.classes || [])) + }) : undefined, + containerStyle: _tilePreview.default.container, + topPadding: _tilePreview.TITLE_TOP_PADDING + })); + } + + TilePreview.propTypes = Object.assign({}, _doubleTextAutoMeasured.default.propTypes, { + title: _doubleTextAutoMeasured.default.propTypes.top, + summary: _doubleTextAutoMeasured.default.propTypes.bottom + }); + + var _default = exports.default = TilePreview; +},2015,[3,22,4,16,2016,2017,179,814]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.TITLE_TOP_PADDING = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var TITLE_TOP_PADDING = exports.TITLE_TOP_PADDING = 8; + + var _default = exports.default = _reactNative.StyleSheet.create({ + container: { + marginHorizontal: _$$_REQUIRE(_dependencyMap[1]).HORIZONTAL_MARGIN + }, + title: { + textAlign: "left", + color: _$$_REQUIRE(_dependencyMap[2]).colors.title + }, + titlePadding: { + paddingTop: TITLE_TOP_PADDING + }, + summary: { + fontSize: 20, + color: _$$_REQUIRE(_dependencyMap[2]).colors.summary + }, + summary_container: { + flex: 1, + justifyContent: "center" + } + }); +},2016,[18,2014,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[9]); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + var _doubleTextAutoMeasured = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + var _excluded = ["numberOfLines"], + _excluded2 = ["numberOfLines"]; + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var DoubleTextAutoMeasured = exports.default = function (_React$Component) { + function DoubleTextAutoMeasured(props) { + var _this; + + (0, _classCallCheck2.default)(this, DoubleTextAutoMeasured); + _this = _callSuper(this, DoubleTextAutoMeasured, [props]); + _this._isMounted = true; + _this.state = { + topStyle: {}, + topProps: {}, + bottomStyle: {}, + bottomProps: {}, + measured: false + }; + return _this; + } + + (0, _inherits2.default)(DoubleTextAutoMeasured, _React$Component); + return (0, _createClass2.default)(DoubleTextAutoMeasured, [{ + key: "componentDidMount", + value: function componentDidMount() { + this._isMounted = true; + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + this._isMounted = false; + } + }, { + key: "_handleWrap", + value: function _handleWrap(newState) { + var handleWrap = false; + var handleTextWrap = this.props.handleTextWrap; + + if (typeof handleTextWrap === "function" && this.topMeasure) { + var topProps = newState.topProps, + bottomProps = newState.bottomProps; + var wrap = false; + var topNumberOfLines = topProps.numberOfLines; + + if (!_$$_REQUIRE(_dependencyMap[12]).JSUtils.isNull(topNumberOfLines)) { + wrap = topNumberOfLines < this.topMeasure.lineCount; + } + + if (!wrap && this.bottomMeasure) { + var bottomNumberOfLines = bottomProps.numberOfLines; + + if (!_$$_REQUIRE(_dependencyMap[12]).JSUtils.isNull(bottomNumberOfLines)) { + wrap = bottomNumberOfLines < this.bottomMeasure.lineCount; + } + } + + if (wrap) { + handleWrap = handleTextWrap(); + } + } + + return handleWrap; + } + }, { + key: "checkOverflow", + value: function checkOverflow() { + var _this$props = this.props, + verticalPaddingSize = _this$props.verticalPaddingSize, + topPadding = _this$props.topPadding, + top = _this$props.top, + bottom = _this$props.bottom; + var measured = this.state.measured; + + if (!measured && this.parentHeight && this.topMeasure && (this.bottomMeasure || !bottom)) { + var totalVerticalPadding = verticalPaddingSize; + var availableHeight = this.parentHeight - totalVerticalPadding; + var maxTopLine = this.topMeasure.measuredHeight > availableHeight ? Math.floor(availableHeight * this.topMeasure.lineCount / this.topMeasure.measuredHeight) : this.topMeasure.lineCount; + var topHeight = Math.min(this.topMeasure.measuredHeight, availableHeight); + var newState = {}; + newState.topStyle = { + height: topHeight + (top.disablePadding ? 0 : topPadding) + }; + newState.topProps = { + numberOfLines: maxTopLine + }; + + if (bottom) { + var bottomAvailableSpace = availableHeight - topHeight; + var maxBottomLine = Math.floor(bottomAvailableSpace * this.bottomMeasure.lineCount / this.bottomMeasure.measuredHeight); + newState.bottomStyle = { + maxHeight: bottomAvailableSpace, + lineHeight: bottomAvailableSpace / maxBottomLine + }; + newState.bottomProps = { + numberOfLines: maxBottomLine + }; + } + + newState.measured = true; + + if (this._isMounted && !this._handleWrap(newState)) { + this.setState(newState); + } + } + } + }, { + key: "_getTopProps", + value: function _getTopProps() { + var top = this.props.top; + var _this$state = this.state, + _this$state$topProps = _this$state.topProps, + topProps = _this$state$topProps === undefined ? {} : _this$state$topProps, + _this$state$topStyle = _this$state.topStyle, + topStyle = _this$state$topStyle === undefined ? {} : _this$state$topStyle; + var _top$props = top.props, + topDefaultProps = _top$props === undefined ? {} : _top$props; + var defaultNumberOfLines = topDefaultProps.numberOfLines, + restDefaultProps = (0, _objectWithoutProperties2.default)(topDefaultProps, _excluded); + var evaluatedNumberOfLines = topProps.numberOfLines, + restTopProps = (0, _objectWithoutProperties2.default)(topProps, _excluded2); + var numberOfLines = evaluatedNumberOfLines; + + if (defaultNumberOfLines >= 0 && evaluatedNumberOfLines) { + numberOfLines = Math.min(defaultNumberOfLines, evaluatedNumberOfLines); + } + + if (top && top.nativeID) { + restTopProps.nativeID = top.nativeID; + } + + var newProps = Object.assign({}, restDefaultProps, restTopProps); + + if (numberOfLines !== undefined) { + newProps.numberOfLines = numberOfLines; + + if (evaluatedNumberOfLines && topStyle.height) { + topStyle.height = topStyle.height / evaluatedNumberOfLines * numberOfLines; + } + } + + return { + props: newProps, + style: topStyle + }; + } + }, { + key: "render", + value: function render() { + var _this2 = this; + + var _this$props2 = this.props, + top = _this$props2.top, + bottom = _this$props2.bottom, + containerStyle = _this$props2.containerStyle, + topPadding = _this$props2.topPadding; + var _this$state2 = this.state, + bottomProps = _this$state2.bottomProps, + bottomStyle = _this$state2.bottomStyle; + + if (bottom && bottom.nativeID) { + bottomProps.nativeID = bottom.nativeID; + } + + var paddingStyles = top.disablePadding ? {} : topPadding; + + var textEvaluated = this._getTopProps(); + + var bottomClasses = []; + + if (bottom && bottom.classes) { + bottomClasses.push.apply(bottomClasses, (0, _toConsumableArray2.default)(bottom.classes)); + } + + var topClasses = []; + + if (top && top.classes) { + topClasses.push.apply(topClasses, (0, _toConsumableArray2.default)(top.classes)); + } + + return (0, _$$_REQUIRE(_dependencyMap[13]).jsxs)(_reactNative.View, { + style: [_doubleTextAutoMeasured.default.container, containerStyle], + onLayout: function onLayout(_ref) { + var nativeEvent = _ref.nativeEvent; + _this2.parentHeight = nativeEvent.layout.height; + + _this2.checkOverflow(); + }, + children: [(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_reactNative.View, { + style: top.parentStyle || {}, + children: (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_$$_REQUIRE(_dependencyMap[14]).Css, { + classes: topClasses, + children: (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_$$_REQUIRE(_dependencyMap[15]).TextAutoMeasure, Object.assign({ + style: [paddingStyles, top.style, textEvaluated.style], + onMeasured: function onMeasured(info) { + _this2.topMeasure = info; + + _this2.checkOverflow(); + }, + text: top.text + }, textEvaluated.props)) + }) + }), bottom ? (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_reactNative.View, { + style: bottom.parentStyle || {}, + children: (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_$$_REQUIRE(_dependencyMap[14]).Css, { + classes: bottomClasses, + children: (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_$$_REQUIRE(_dependencyMap[15]).TextAutoMeasure, Object.assign({ + style: [bottom.style, bottomStyle], + onMeasured: function onMeasured(info) { + _this2.bottomMeasure = info; + + _this2.checkOverflow(); + }, + text: bottom.text + }, bottomProps)) + }) + }) : null] + }); + } + }]); + }(_react.default.Component); + + DoubleTextAutoMeasured.propTypes = { + top: _propTypes.default.shape({ + text: _propTypes.default.string, + classes: _propTypes.default.array, + style: _propTypes.default.oneOfType([_propTypes.default.array, _propTypes.default.object, _propTypes.default.number]), + parentStyle: _propTypes.default.oneOfType([_propTypes.default.array, _propTypes.default.object, _propTypes.default.number]), + props: _propTypes.default.object, + nativeID: _propTypes.default.string, + disablePadding: _propTypes.default.bool + }), + bottom: _propTypes.default.shape({ + text: _propTypes.default.string, + classes: _propTypes.default.array, + style: _propTypes.default.oneOfType([_propTypes.default.array, _propTypes.default.object, _propTypes.default.number]), + parentStyle: _propTypes.default.oneOfType([_propTypes.default.array, _propTypes.default.object, _propTypes.default.number]), + props: _propTypes.default.object, + nativeID: _propTypes.default.string + }), + topPadding: _propTypes.default.number, + containerStyle: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object]), + verticalPaddingSize: _propTypes.default.number, + handleTextWrap: _propTypes.default.func + }; + DoubleTextAutoMeasured.defaultProps = { + topPadding: 0, + verticalPaddingSize: 0 + }; +},2017,[3,22,4,6,7,11,13,14,16,18,582,2018,438,179,817,2019]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var _default = exports.default = _reactNative.StyleSheet.create({ + container: { + flex: 1, + flexDirection: "column" + } + }); +},2018,[18]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.TextAutoMeasure = undefined; + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _fontText = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + var _excluded = ["onMeasured", "numberOfLines", "text"]; + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var TextAutoMeasure = exports.TextAutoMeasure = function (_React$Component) { + function TextAutoMeasure() { + (0, _classCallCheck2.default)(this, TextAutoMeasure); + return _callSuper(this, TextAutoMeasure, arguments); + } + + (0, _inherits2.default)(TextAutoMeasure, _React$Component); + return (0, _createClass2.default)(TextAutoMeasure, [{ + key: "shouldComponentUpdate", + value: function shouldComponentUpdate(nextProps) { + var _this$props = this.props, + numberOfLines = _this$props.numberOfLines, + text = _this$props.text; + var newNumberOfLines = nextProps.numberOfLines, + newText = nextProps.text; + return numberOfLines !== newNumberOfLines || text !== newText; + } + }, { + key: "_returnStyleTextInfo", + value: function _returnStyleTextInfo(textStyle) { + var _this = this; + + var result = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { + allowFontScaling: global.getUserSettings().allowFontScaling, + includeFontPadding: true + }; + textStyle.forEach(function (item) { + if (Array.isArray(item)) { + result = Object.assign({}, result, _this._returnStyleTextInfo(item)); + } else if (typeof item !== "number") { + if (item.fontFamily) { + result.fontFamily = item.fontFamily; + } + + if (item.fontSize) { + result.fontSize = item.fontSize; + } + + if (item.fontWeight) { + result.fontWeight = item.fontWeight; + } + + if (item.fontStyle) { + result.fontStyle = item.fontStyle; + } + + if (item.lineHeight) { + result.lineHeight = item.lineHeight; + } + } + }); + return result; + } + }, { + key: "measureText", + value: function () { + var _measureText = (0, _asyncToGenerator2.default)(function* (layout, textStyle) { + var _this$props2 = this.props, + text = _this$props2.text, + onMeasured = _this$props2.onMeasured; + + var info = this._returnStyleTextInfo(textStyle); + + var size = yield _$$_REQUIRE(_dependencyMap[11]).StringUtils.textSize(text, layout.width, info); + var lineCount = size.lineCount, + height = size.height; + onMeasured(Object.assign({ + lineCount: lineCount, + measuredHeight: height + }, info)); + }); + + function measureText(_x, _x2) { + return _measureText.apply(this, arguments); + } + + return measureText; + }() + }, { + key: "render", + value: function render() { + var _this2 = this; + + var _this$props3 = this.props, + onMeasured = _this$props3.onMeasured, + numberOfLines = _this$props3.numberOfLines, + text = _this$props3.text, + rest = (0, _objectWithoutProperties2.default)(_this$props3, _excluded); + + if (numberOfLines === 0 || !text || !text.length) { + onMeasured({ + lineCount: 0, + lineHeight: 0, + height: 0, + measuredHeight: 0 + }); + return null; + } + + return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_fontText.default, Object.assign({ + onLayout: function onLayout(_ref, textStyle) { + var nativeEvent = _ref.nativeEvent; + + _this2.measureText(nativeEvent.layout, textStyle); + }, + numberOfLines: numberOfLines + }, rest, { + children: text + })); + } + }]); + }(_react.default.Component); + + TextAutoMeasure.propTypes = { + onMeasured: _propTypes.default.func.isRequired, + text: _propTypes.default.string, + numberOfLines: _propTypes.default.number + }; + TextAutoMeasure.defaultProps = { + numberOfLines: 1 + }; +},2019,[3,4,270,6,7,11,13,14,16,582,814,438,179]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.RSS_HEADER_HEIGHT = exports.FONT_SIZE = exports.DRAWER_WIDTH = exports.DRAWER_ITEM_HEIGHT = exports.DRAWER_IMAGE_SIZE = exports.CARD_RADIUS = exports.CARD_MARGIN_SIZE = exports.BOX_OPTIMAL_WIDTH = undefined; + exports.getRssCardBoxPadding = getRssCardBoxPadding; + exports.getRssCardBoxWidth = getRssCardBoxWidth; + exports.getRssGridBoxPadding = getRssGridBoxPadding; + exports.getRssHorizontalpadding = getRssHorizontalpadding; + exports.getRssListBoxPadding = getRssListBoxPadding; + exports.getRssNumberOfColumns = getRssNumberOfColumns; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var _deviceUtils = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2])); + + var BOX_OPTIMAL_WIDTH = exports.BOX_OPTIMAL_WIDTH = 300; + var RSS_HEADER_HEIGHT = exports.RSS_HEADER_HEIGHT = 50; + var DRAWER_ITEM_HEIGHT = exports.DRAWER_ITEM_HEIGHT = 50; + var DRAWER_IMAGE_SIZE = exports.DRAWER_IMAGE_SIZE = 25; + var CARD_MARGIN_SIZE = exports.CARD_MARGIN_SIZE = 15; + var CARD_RADIUS = exports.CARD_RADIUS = 5; + var DRAWER_WIDTH = exports.DRAWER_WIDTH = 250; + var FONT_SIZE = exports.FONT_SIZE = { + HIGHLIGHT: function HIGHLIGHT() { + return _$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet() ? 30 : 24; + }, + TITLE: function TITLE() { + return _$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet() ? 22 : 18; + }, + HEADER: function HEADER() { + return _$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet() ? 18 : 14; + }, + TEXT: function TEXT() { + return _$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet() ? 18 : 14; + } + }; + + var _default = exports.default = _reactNative.StyleSheet.create({ + shadow: { + elevation: 1, + backgroundColor: _$$_REQUIRE(_dependencyMap[3]).colors.transparent, + shadowColor: _$$_REQUIRE(_dependencyMap[3]).colors.black, + shadowOpacity: 0.5, + shadowRadius: 0.5, + shadowOffset: { + height: 0, + width: 0 + } + } + }); + + function getRssGridBoxPadding() { + if (_$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet()) { + return 5; + } + + return 3; + } + + function getRssListBoxPadding() { + return 0; + } + + function getRssCardBoxPadding() { + return CARD_MARGIN_SIZE / 2; + } + + function getRssCardBoxWidth() { + var _DeviceUtils$getSafeA = _deviceUtils.default.getSafeArea(), + width = _DeviceUtils$getSafeA.width; + + return width - getRssCardBoxPadding() * 2 - _$$_REQUIRE(_dependencyMap[4]).HORIZONTAL_MARGIN * 2; + } + + function getRssHorizontalpadding(orientation) { + var paddingPortrait = 0; + var paddingLandscape = 0; + + var _DeviceUtils$getSafeA2 = _deviceUtils.default.getSafeArea(), + width = _DeviceUtils$getSafeA2.width; + + if (_$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTabletTenInches()) { + paddingLandscape = width * 0.15; + } else if (_$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet()) { + paddingLandscape = width * 0.1; + } + + return _deviceUtils.default.isPortrait(orientation) ? paddingPortrait : paddingLandscape; + } + + function getRssNumberOfColumns() { + var itemsPerRowPortrait = _$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet() ? 3 : 2; + var itemsPerRowLandscape = 2; + + if (_$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTabletTenInches()) { + itemsPerRowLandscape = 4; + } else if (_$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet()) { + itemsPerRowLandscape = 3; + } + + return _deviceUtils.default.isPortrait() ? itemsPerRowPortrait : itemsPerRowLandscape; + } +},2020,[18,3,434,438,2014]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + Object.keys(_$$_REQUIRE(_dependencyMap[0])).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _$$_REQUIRE(_dependencyMap[0])[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _$$_REQUIRE(_dependencyMap[0])[key]; + } + }); + }); +},2021,[2022]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.TileParent = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[7]); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _tileParent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _rssBaseStyle = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var TileParent = exports.TileParent = function (_React$Component) { + function TileParent() { + (0, _classCallCheck2.default)(this, TileParent); + return _callSuper(this, TileParent, arguments); + } + + (0, _inherits2.default)(TileParent, _React$Component); + return (0, _createClass2.default)(TileParent, [{ + key: "_itemBackgroundColor", + value: function _itemBackgroundColor(index) { + var _this$props = this.props, + bgColor = _this$props.bgColor, + bgColorByIndex = _this$props.bgColorByIndex; + + var defaultBgColor = _$$_REQUIRE(_dependencyMap[11]).Css.getDefaultBackgroundColor(); + + if (bgColorByIndex) { + return index % 2 === 0 ? defaultBgColor : _$$_REQUIRE(_dependencyMap[11]).Css.getAlternateDefaultBackgroundColor(); + } + + return bgColor || defaultBgColor; + } + }, { + key: "render", + value: function render() { + var _this$props2 = this.props, + index = _this$props2.index, + bgUrl = _this$props2.bgUrl, + enableBorderEffect = _this$props2.enableBorderEffect, + hideBottomLine = _this$props2.hideBottomLine, + style = _this$props2.style, + _onLayout = _this$props2.onLayout, + children = _this$props2.children; + + var _global$getRssIndex = global.getRssIndex(), + borderRadius = _global$getRssIndex.borderRadius, + borderColor = _global$getRssIndex.borderColor, + borderWidth = _global$getRssIndex.borderWidth, + borderShadow = _global$getRssIndex.borderShadow; + + var radiusStyle = { + borderRadius: enableBorderEffect ? borderRadius : 0, + overflow: "hidden" + }; + var imageCustomProps = bgUrl ? { + source: { + uri: bgUrl + }, + imageStyle: radiusStyle + } : {}; + var enableShadow = borderShadow && enableBorderEffect; + var enableBottomBorder = (!enableBorderEffect || !borderShadow) && !hideBottomLine; + var enableBorder = !borderShadow && enableBorderEffect; + var Child = bgUrl ? _reactNative.ImageBackground : _reactNative.View; + return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_reactNative.View, { + style: [{ + flex: 1, + justifyContent: "center", + borderRadius: enableBorder ? borderRadius : 0 + }, _$$_REQUIRE(_dependencyMap[13]).PlatformUtils.isIOS() && enableShadow ? _rssBaseStyle.default.shadow : {}], + children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(Child, Object.assign({}, imageCustomProps, { + style: [_tileParent.default.container, _$$_REQUIRE(_dependencyMap[13]).PlatformUtils.isAndroid() && enableShadow ? _rssBaseStyle.default.shadow : {}, { + width: "100%", + height: "100%", + backgroundColor: this._itemBackgroundColor(index), + borderRadius: enableBorder ? borderRadius : 0, + borderTopWidth: enableBorder ? borderWidth : 0, + borderStartWidth: enableBorder ? borderWidth : 0, + borderEndWidth: enableBorder ? borderWidth : 0, + borderBottomWidth: enableBottomBorder ? borderWidth : 0, + borderColor: borderColor + }, radiusStyle, style], + onLayout: function onLayout(event) { + if (_onLayout) { + _onLayout(event); + } + }, + children: children + })) + }); + } + }]); + }(_react.default.Component); + + TileParent.propTypes = { + index: _propTypes.default.number, + bgColor: _propTypes.default.string, + bgColorByIndex: _propTypes.default.bool, + bgUrl: _propTypes.default.string, + enableBorderEffect: _propTypes.default.bool.isRequired, + hideBottomLine: _propTypes.default.bool, + style: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.array]), + onLayout: _propTypes.default.func, + children: _propTypes.default.any + }; + TileParent.defaultProps = { + bgColorByIndex: false, + bgUrl: "", + hideBottomLine: false + }; +},2022,[3,6,7,11,13,14,16,18,582,2023,2020,817,179,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var _default = exports.default = _reactNative.StyleSheet.create({ + container: { + flex: 1 + } + }); +},2023,[18]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[7]); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _fontText = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[9])); + + var _RssIndexConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + var _tileGridImage = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var TileGridImageNativo = exports.default = function (_React$PureComponent) { + function TileGridImageNativo(props) { + var _this; + + (0, _classCallCheck2.default)(this, TileGridImageNativo); + _this = _callSuper(this, TileGridImageNativo, [props]); + var item = props.item; + _this.isTablet = _$$_REQUIRE(_dependencyMap[12]).PlatformUtils.isTablet(); + _this.fontSize = _$$_REQUIRE(_dependencyMap[13]).FONT_SIZE.TEXT(); + _this.fontSizeTitle = item.isHighlightedBox ? _$$_REQUIRE(_dependencyMap[13]).FONT_SIZE.HIGHLIGHT() : _$$_REQUIRE(_dependencyMap[13]).FONT_SIZE.TITLE(); + return _this; + } + + (0, _inherits2.default)(TileGridImageNativo, _React$PureComponent); + return (0, _createClass2.default)(TileGridImageNativo, [{ + key: "titleNumberOfLines", + value: function titleNumberOfLines() { + var _global$getRssIndex = global.getRssIndex(), + gridTitleMaxLines = _global$getRssIndex.gridTitleMaxLines; + + return gridTitleMaxLines; + } + }, { + key: "_getContent", + value: function _getContent() { + var item = this.props.item; + var style = [{ + fontSize: this.fontSizeTitle, + color: "black", + marginHorizontal: _$$_REQUIRE(_dependencyMap[14]).HORIZONTAL_MARGIN, + paddingVertical: _$$_REQUIRE(_dependencyMap[14]).TITLE_VERTICAL_PADDING, + textAlign: "left" + }]; + + if (!this.isTablet) { + style.push(_tileGridImage.default.title_phone); + } + + return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.View, { + style: { + paddingHorizontal: 0 + }, + children: (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_$$_REQUIRE(_dependencyMap[16]).Css, { + classes: ["tile-title", "grid-tile-title"], + children: (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_fontText.default, { + nativeID: item.titleNativeID, + type: _fontText.Type.medium, + numberOfLines: this.titleNumberOfLines(), + style: style, + children: item.title + }) + }) + }); + } + }, { + key: "render", + value: function render() { + var _this$props = this.props, + roundedBorder = _this$props.roundedBorder, + TopComponent = _this$props.TopComponent, + BottomComponent = _this$props.BottomComponent, + ImageComponent = _this$props.ImageComponent; + return (0, _$$_REQUIRE(_dependencyMap[15]).jsxs)(_$$_REQUIRE(_dependencyMap[17]).TileParent, { + bgColor: _$$_REQUIRE(_dependencyMap[12]).colors.white, + enableBorderEffect: roundedBorder, + style: { + flexDirection: "column" + }, + children: [TopComponent, this._getContent(), ImageComponent, BottomComponent] + }); + } + }]); + }(_react.default.PureComponent); + + TileGridImageNativo.propTypes = { + roundedBorder: _propTypes.default.bool, + item: _propTypes.default.shape({ + category: _propTypes.default.string, + date: _propTypes.default.string, + title: _propTypes.default.string, + image: _propTypes.default.string, + sizes: _propTypes.default.object, + position: _propTypes.default.number, + hideCategory: _propTypes.default.bool, + isHighlightedBox: _propTypes.default.bool, + titleNativeID: _propTypes.default.string, + summaryNativeID: _propTypes.default.string + }), + TopComponent: _propTypes.default.node, + BottomComponent: _propTypes.default.node, + ImageComponent: _propTypes.default.node + }; + TileGridImageNativo.defaultProps = { + roundedBorder: false, + TopComponent: undefined, + BottomComponent: undefined, + ImageComponent: undefined + }; +},2024,[3,6,7,11,13,14,16,18,582,814,2025,2029,438,2020,2014,179,817,2021]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.RssIndexConfig = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _navigationUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _IndexHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var RssIndexConfig = exports.RssIndexConfig = function () { + function RssIndexConfig(pSetup) { + (0, _classCallCheck2.default)(this, RssIndexConfig); + this.storageName = _IndexHelper.default.SP.name + "_" + pSetup; + } + + return (0, _createClass2.default)(RssIndexConfig, [{ + key: "mustSkipRTLOnRssList", + value: function () { + var _mustSkipRTLOnRssList = (0, _asyncToGenerator2.default)(function* () { + return !_$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isRTL() || (yield this.getValue(_IndexHelper.default.SP.keys.skip_right_to_left_thumb_align_in_list)) === "1"; + }); + + function mustSkipRTLOnRssList() { + return _mustSkipRTLOnRssList.apply(this, arguments); + } + + return mustSkipRTLOnRssList; + }() + }, { + key: "getHomeCategory", + value: function () { + var _getHomeCategory = (0, _asyncToGenerator2.default)(function* () { + return _navigationUtils.default.getInitialRouteNameForRss(this.drawerItemsFlat, this.homeCategoryName); + }); + + function getHomeCategory() { + return _getHomeCategory.apply(this, arguments); + } + + return getHomeCategory; + }() + }, { + key: "parseValue", + value: function parseValue(key, value) { + var _IndexHelper$SP$keys = _IndexHelper.default.SP.keys, + tutorials = _IndexHelper$SP$keys.tutorials, + drawer_content = _IndexHelper$SP$keys.drawer_content, + rn_styles = _IndexHelper$SP$keys.rn_styles, + ga_json = _IndexHelper$SP$keys.ga_json; + var toParse = false; + + switch (key) { + case ga_json: + if (value) { + value = value.replace(/"/g, '"'); + toParse = true; + } + + break; + + case tutorials: + case drawer_content: + case rn_styles: + toParse = true; + break; + } + + if (toParse) { + try { + var rawValue = value || {}; + value = JSON.parse(rawValue); + } catch (e) { + value = {}; + } + } + + return value; + } + }, { + key: "init", + value: function () { + var _init = (0, _asyncToGenerator2.default)(function* () { + var json = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + this.json = json; + var keys = _IndexHelper.default.SP.keys; + + var isTablet = _$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isTablet(); + + this.fontRegular = yield this.getValue(keys.font_regular); + this.fontMedium = yield this.getValue(keys.font_medium); + this.fontBold = yield this.getValue(keys.font_bold); + this.paywallEnabled = false; + this.style = yield this.getValue(keys.app_template_style); + + if (!this.style) { + return false; + } + + try { + this.dbURL = yield this.getValue(keys.db_url); + this.dbMTime = parseInt((yield this.getValue(keys.db_mtime)) || 0, 10); + this.tutorials = _IndexHelper.default.getTutorials(yield this.getValue(keys.tutorials)); + this.paywallAppId = yield this.getValue(keys.paywallAppId); + this.paywallEnabled = (yield this.getValue(keys.paywallEnabled)) === "1"; + this.mustLoginToViewArticle = (yield this.getValue(keys.must_login_to_view_article)) === "1"; + + if (this.mustLoginToViewArticle) { + this.attachPaywallToArticle = ((yield this.getValue(keys.attach_paywall_to_article)) || "0") === "1"; + this.articlePreviewLength = (yield this.getValue(keys.article_preview_length)) || "0"; + } else { + this.attachPaywallToArticle = false; + this.articlePreviewLength = "0"; + } + + var _IndexHelper$SP$value = _IndexHelper.default.SP.values.drawer.actions, + open_paywall_account = _IndexHelper$SP$value.open_paywall_account, + open_publications = _IndexHelper$SP$value.open_publications; + this.drawerItems = yield _navigationUtils.default.getDrawerItemsForRss(yield this.getValue(keys.drawer_content)); + this.drawerItemsFlat = _navigationUtils.default.getFlatDrawerItems(this.drawerItems); + + if (!this.paywallEnabled && !this.mustLoginToViewArticle) { + this.drawerItemsFlat = this.drawerItemsFlat.filter(function (_ref) { + var action = _ref.action; + return action !== open_paywall_account; + }); + } + + if (_$$_REQUIRE(_dependencyMap[7]).PaperSetupManager.isGenericAppConfigured() && this.drawerItemsFlat.find(function (_ref2) { + var action = _ref2.action; + return action === open_publications; + }) === undefined) { + this.drawerItemsFlat.push((0, _$$_REQUIRE(_dependencyMap[8]).getPublicationsButton)(this.drawerItemsFlat.length)); + } + + this.actionBarItems = _navigationUtils.default.getRssActionBarItems(this.drawerItemsFlat); + this.footerEnabled = (yield this.getValue(keys.rss_footer_enabled)) === "1"; + + if (this.footerEnabled) { + var _NavigationUtils$getR = _navigationUtils.default.getRssFooterButton(this.drawerItemsFlat), + footerItems = _NavigationUtils$getR.footerItems, + drawerItemsFlat = _NavigationUtils$getR.drawerItemsFlat; + + this.footerItems = footerItems; + this.drawerItemsFlat = drawerItemsFlat; + } + + var numberOfLinesRaw = yield this.getValue(isTablet ? keys.grid_title_line_limit_tablet : keys.grid_title_line_limit_phone); + var numberOfLines = isTablet ? 3 : 2; + + try { + if (numberOfLinesRaw) { + numberOfLines = Number.parseInt(numberOfLinesRaw, 10); + } + } catch (error) {} + + this.gridTitleMaxLines = numberOfLines; + this.homeCategoryName = yield this.getValue(keys.home_category_name); + this.shareButtonOnPushNotificationURLs = (yield this.getValue(keys.enable_share_button_on_push_notification_urls)) === "1"; + this.summaryInArticleBody = (yield this.getValue(keys.summary_in_article_body)) === "1"; + this.hasColumnizer = (yield this.getValue(keys.has_columnizer)) === "1"; + this.customSubject = yield this.getValue(keys.email_subject); + this.latitude = yield this.getValue(keys.latitude); + this.longitude = yield this.getValue(keys.longitude); + this.putImageOnListRightSide = yield this.mustSkipRTLOnRssList(); + var listHeightMultiplier = yield this.getValue(isTablet ? keys.list_height_multiplier_tablet : keys.list_height_multiplier_phone); + this.listHeightMultipliers = parseFloat(listHeightMultiplier) || 1; + this.appAutoRefreshMinutes = parseInt(yield this.getValue(keys.app_auto_refresh_minutes), 10) || 0; + var hideDrawerIcon = ((yield this.getValue(keys.hide_drawer_button)) || "0") === "1"; + this.showDrawerButton = !hideDrawerIcon; + this.showHomeButton = (yield this.getValue(keys.show_home_button)) === "1"; + this.headerLogoURL = yield this.getValue(keys.logo); + this.hasTopPanel = (yield this.getValue(keys.has_top_panel)) === "1"; + this.hasSquaredImage = _$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isPreviousMarshmallow() || (yield this.getValue(keys.squared_image)) === "1"; + this.borderColor = (yield this.getValue(keys.border_color)) || _$$_REQUIRE(_dependencyMap[6]).colors.grey1200; + this.borderWidth = Number.parseFloat((yield this.getValue(keys.border_width)) || "0.5"); + this.borderShadow = ((yield this.getValue(keys.border_shadow)) || "1") === "1"; + this.borderRadius = _$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isPreviousMarshmallow() ? 0 : Number.parseInt((yield this.getValue(keys.border_radius)) || 0, 10); + this.usePhoneArticleStyleOnTablet = ((yield this.getValue(keys.use_phone_article_style_on_tablet)) || "0") === "1"; + this.actionBarBackgroundColor = (yield this.getValue(keys.action_bar_background_color)) || _$$_REQUIRE(_dependencyMap[6]).colors.white; + this.supportColor = (yield this.getValue(keys.support_color)) || _$$_REQUIRE(_dependencyMap[6]).colors.black; + this.articleTopColor = (yield this.getValue(keys.article_top_color)) || this.supportColor; + this.articleBgColor = (yield this.getValue(keys.article_bg_color)) || _$$_REQUIRE(_dependencyMap[6]).colors.white; + this.buttonBackgroundColor = this.is1_0() ? _$$_REQUIRE(_dependencyMap[6]).colors.transparent : _$$_REQUIRE(_dependencyMap[6]).colors.grey; + this.menuBackgroundColor = (yield this.getValue(keys.menu_background_color)) || _$$_REQUIRE(_dependencyMap[6]).colors.white; + this.floatingButtonColor = (yield this.getValue(keys.floating_button_color)) || _$$_REQUIRE(_dependencyMap[6]).colors.black; + this.cacheAds = (yield this.getValue(keys.ads.cache)) === "1"; + this.adProvider = yield this.getValue(keys.ads.provider); + this.adPrebidAccountId = yield this.getValue(keys.ads.prebid_account_id); + this.adPrebidServerHost = yield this.getValue(keys.ads.prebid_server_host); + this.adPrebidConfigurationId = yield this.getValue(keys.ads.prebid_configuration_id); + this.adPrebidShareGeolocation = (yield this.getValue(keys.ads.prebid_share_geolocation)) === "1"; + this.adUnitId = yield this.getValue(keys.ads.unit_id); + this.adTargeting = {}; + var adTargetingRaw = yield this.getValue(keys.ads.targeting); + + if (adTargetingRaw) { + try { + this.adTargeting = JSON.parse(adTargetingRaw); + } catch (error) {} + } + + this.topAd = yield this.getValue(keys.ads.top); + this.bottomAd = yield this.getValue(keys.ads.bottom); + this.adDefaultFallback = yield this.getValue(keys.ads.default_fallback); + this.adsBackgroundColor = yield this.getValue(keys.ads.background_color); + this.showGalleryTitle = (yield this.getValue(keys.show_gallery_title)) === "1"; + this.googleAnalytics = yield this.getValue(keys.ga_json); + this.availableLayouts = yield this.getValue(keys.rn_available_layouts); + this.homeCategory = yield this.getHomeCategory(); + this.archiveSearchURL = yield this.getValue(keys.archive_search_url); + this.favoritesIconFromBBE = yield this.getValue(keys.favorites_icon); + } catch (e) { + return false; + } + + return true; + }); + + function init() { + return _init.apply(this, arguments); + } + + return init; + }() + }, { + key: "getValue", + value: function () { + var _getValue = (0, _asyncToGenerator2.default)(function* (key) { + if (_$$_REQUIRE(_dependencyMap[6]).JSUtils.hasProperty(this.json, key)) { + var value = this.json[key]; + + if (value === null || value === undefined) { + value = yield _IndexHelper.default.getItem(this.storageName, key); + } + + return this.parseValue(key, value); + } + + return ""; + }); + + function getValue(_x) { + return _getValue.apply(this, arguments); + } + + return getValue; + }() + }, { + key: "setDbMTime", + value: function setDbMTime(value) { + this.dbMTime = value; + + _IndexHelper.default.setItem(this.storageName, _IndexHelper.default.SP.keys.db_mtime, "" + value); + } + }, { + key: "getFullDbURL", + value: function getFullDbURL() { + if (this.dbMTime) { + var mtime = parseInt(this.dbMTime, 10); + + if (!Number.isNaN(mtime)) { + mtime = (mtime & -2).toString(16); + return _$$_REQUIRE(_dependencyMap[6]).StringUtils.appendParams(this.dbURL, { + mtime: mtime + }); + } + } + + return this.dbURL; + } + }, { + key: "drawerContainsVerticals", + value: function drawerContainsVerticals() { + var _IndexHelper$SP$value2 = _IndexHelper.default.SP.values.drawer.params, + open_le_vedette = _IndexHelper$SP$value2.open_le_vedette, + open_real_estate = _IndexHelper$SP$value2.open_real_estate, + open_auto_search = _IndexHelper$SP$value2.open_auto_search, + open_monster = _IndexHelper$SP$value2.open_monster, + open_events = _IndexHelper$SP$value2.open_events; + var actionsVertical = [open_le_vedette, open_real_estate, open_auto_search, open_monster, open_events]; + var drawerItemsFlat = this.drawerItemsFlat, + footerItems = this.footerItems; + var found = false; + + if (drawerItemsFlat) { + found = drawerItemsFlat.find(function (item) { + return actionsVertical.includes(item.params); + }) !== undefined; + } + + if (!found && footerItems) { + found = footerItems.find(function (item) { + return actionsVertical.includes(item.params); + }) !== undefined; + } + + return found; + } + }, { + key: "is1_0", + value: function is1_0() { + return this.style && this.style === "1.0"; + } + }, { + key: "is1_1_LVRJ", + value: function is1_1_LVRJ() { + return this.style && this.style === "1.1_lvrj"; + } + }, { + key: "is1_1", + value: function is1_1() { + return this.style && this.style === "1.1"; + } + }, { + key: "is2_0", + value: function is2_0() { + return this.style && this.style === "2.0"; + } + }, { + key: "is2_1", + value: function is2_1() { + return this.style && this.style === "2.1"; + } + }, { + key: "is2_2", + value: function is2_2() { + return this.style && this.style === "2.2"; + } + }, { + key: "is3_0", + value: function is3_0() { + return this.style && this.style === "3.0"; + } + }, { + key: "needToShowLayoutButton", + value: function needToShowLayoutButton() { + if (!_$$_REQUIRE(_dependencyMap[6]).JSUtils.isEmpty(this.availableLayouts)) { + var splitted = this.availableLayouts.split(","); + return splitted.length > 1; + } + + return false; + } + }]); + }(); +},2025,[3,270,6,7,2026,1934,438,1850,2028]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _IndexHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var NavigationUtils = exports.default = function () { + function NavigationUtils() { + (0, _classCallCheck2.default)(this, NavigationUtils); + } + + return (0, _createClass2.default)(NavigationUtils, null, [{ + key: "hasItems", + value: function hasItems(item) { + return item && item.items && item.items.length; + } + }, { + key: "getDrawerItem", + value: function getDrawerItem(items, key) { + return items.find(function (item, index) { + return item.drawerItemKey === key || item.drawerItemKey + "_" + index === key; + }); + } + }, { + key: "isItemEnabled", + value: function isItemEnabled(item) { + if ((item.visibleOnAndroid === undefined || item.visibleOnAndroid === "1") && _$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isAndroid()) { + return true; + } + + if ((item.visibleOnIOS === undefined || item.visibleOnIOS === "1") && _$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isIOS()) { + return true; + } + + return false; + } + }, { + key: "getFlatDrawerItems", + value: function getFlatDrawerItems(items) { + var result = []; + items.forEach(function (item) { + if (NavigationUtils.isItemEnabled(item)) { + result.push(item); + } + + if (NavigationUtils.hasItems(item)) { + result.push.apply(result, (0, _toConsumableArray2.default)(NavigationUtils.getFlatDrawerItems(item.items))); + } + }); + return result; + } + }, { + key: "getDrawerItemsForRss", + value: function () { + var _getDrawerItemsForRss = (0, _asyncToGenerator2.default)(function* (content) { + var items = []; + + if (content) { + try { + items = yield NavigationUtils.parseDrawerContent(content); + } catch (e) {} + } + + return items; + }); + + function getDrawerItemsForRss(_x) { + return _getDrawerItemsForRss.apply(this, arguments); + } + + return getDrawerItemsForRss; + }() + }, { + key: "getCollapsedStateKeyForDrawerItem", + value: function getCollapsedStateKeyForDrawerItem(item) { + return "drawer_item_" + item.drawerItemKey.replace(" ", "_").toLowerCase() + "_collapsed"; + } + }, { + key: "getRssFooterButton", + value: function getRssFooterButton(drawerItemsFlat) { + var footerItems = []; + drawerItemsFlat = drawerItemsFlat.filter(function (item) { + if (!item.position || item.position == "0") { + return true; + } + + footerItems.push(item); + return item.position !== "1"; + }); + return { + footerItems: footerItems, + drawerItemsFlat: drawerItemsFlat + }; + } + }, { + key: "getRssActionBarItems", + value: function getRssActionBarItems(drawerItemsFlat) { + return drawerItemsFlat.filter(function (item) { + return item.showInActionBar === "1"; + }); + } + }, { + key: "isHiddenCategory", + value: function isHiddenCategory(drawerItemKey) { + return drawerItemKey && drawerItemKey.substring(0, 1) === _$$_REQUIRE(_dependencyMap[6]).StringUtils.TILDE; + } + }, { + key: "parseDrawerContent", + value: function () { + var _parseDrawerContent = (0, _asyncToGenerator2.default)(function* (content) { + var parent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; + var parentRouteIndex = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ""; + var depth = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0; + var navigationLevel = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0; + var result = []; + + var _loop = function* _loop() { + var entry = content[i]; + var object = {}; + object.parent = parent; + object.depth = depth; + object.navigationLevel = navigationLevel; + + if (Array.isArray(entry)) { + entry.forEach(function (setting) { + object[setting[0]] = setting[1]; + }); + } else { + object = Object.assign({}, object, entry); + } + + var _object = object, + action = _object.action, + displayName = _object.displayName, + params = _object.params, + image = _object.image; + object.drawerItemKey = displayName; + + if (action === _IndexHelper.default.SP.values.drawer.actions.show_articles) { + if (params) { + if (Array.isArray(params)) { + if (params.length > 0) { + object.drawerItemKey = params[0]; + } + } else { + object.drawerItemKey = params; + } + } + } + + if (typeof image === "string" && image.startsWith("/")) { + var _global$getRSSActiveP = global.getRSSActivePSetup(), + machine = _global$getRSSActiveP.machine; + + object.image = _$$_REQUIRE(_dependencyMap[6]).NetworkUtils.addDefaultProtocol(machine) + image; + } + + var routeIndex = "" + (parentRouteIndex || "0") + i; + object.routeKey = object.drawerItemKey + "_" + routeIndex; + object.neverShowInDrawer = NavigationUtils.isHiddenCategory(object.drawerItemKey); + object.displayName = _$$_REQUIRE(_dependencyMap[6]).StringUtils.removeTilde(object.displayName); + + if (NavigationUtils.hasChildren(object)) { + var restoredStateCollapsed; + + try { + restoredStateCollapsed = yield global.getUserSettings().getValue(NavigationUtils.getCollapsedStateKeyForDrawerItem(object)); + } catch (e) { + restoredStateCollapsed = false; + } + + object.collapse = restoredStateCollapsed ? restoredStateCollapsed === "1" : "autocollapse" in object && object.autocollapse === 1; + + try { + var nextNavigationLevel = navigationLevel; + + if (object.layout === "tab" && object.type === "section") { + nextNavigationLevel += 1; + } + + object.items = yield NavigationUtils.parseDrawerContent(object.elements, object.drawerItemKey, routeIndex, depth + 1, nextNavigationLevel); + } catch (e) { + object.items = []; + } + + result.push(object); + } else { + result.push(object); + } + }; + + for (var i = 0; i < content.length; i++) { + yield* _loop(); + } + + return result; + }); + + function parseDrawerContent(_x2) { + return _parseDrawerContent.apply(this, arguments); + } + + return parseDrawerContent; + }() + }, { + key: "hasChildren", + value: function hasChildren(item) { + return "elements" in item && item.elements !== ""; + } + }, { + key: "getInitialRouteNameForRss", + value: function () { + var _getInitialRouteNameForRss = (0, _asyncToGenerator2.default)(function* (items, homeCategoryName) { + if (items.length > 0) { + if (homeCategoryName) { + var found = items.find(function (item) { + return item.drawerItemKey === homeCategoryName; + }); + + if (found) { + return homeCategoryName; + } + } + + return items.find(function (item) { + return item.type === "feed"; + }).drawerItemKey; + } + + return ""; + }); + + function getInitialRouteNameForRss(_x3, _x4) { + return _getInitialRouteNameForRss.apply(this, arguments); + } + + return getInitialRouteNameForRss; + }() + }, { + key: "getAdsPatter", + value: function getAdsPatter(_ref) { + var adsPattern = _ref.adsPattern; + var result = { + max: 10, + after: 4, + offset: 3, + first: 1 + }; + + if (adsPattern && adsPattern.length === 4) { + result.max = adsPattern[0]; + result.after = adsPattern[1] > 0 ? adsPattern[1] : result.after; + + if (adsPattern[2] > result.after / 2) { + result.offset = result.after / 2; + } else if (adsPattern[2] > 0) { + result.offset = adsPattern[2]; + } else { + result.offset = result.after; + } + + result.first = adsPattern[3] > 0 ? adsPattern[3] : result.first; + } + + return result; + } + }, { + key: "getActiveRouteFromState", + value: function getActiveRouteFromState() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var index = state.index, + _state$routes = state.routes, + routes = _state$routes === undefined ? [] : _state$routes; + var route = routes[index]; + + if (route) { + return route.name; + } + + return undefined; + } + }, { + key: "getRoutesTo", + value: function getRoutesTo(items, routeName) { + for (var i = 0; i < items.length; i++) { + var item = items[i]; + + if (item) { + if (item.drawerItemKey === routeName) { + return { + screen: item.routeKey, + level: item.navigationLevel + }; + } + + if (NavigationUtils.hasItems(item)) { + var route = NavigationUtils.getRoutesTo(item.items, routeName); + + if (route && route.screen) { + if (route.level === item.navigationLevel) { + return route; + } + + return { + screen: item.routeKey, + params: route, + level: item.navigationLevel + }; + } + } + } + } + + return {}; + } + }, { + key: "getRoutesToHome", + value: function getRoutesToHome() { + var _global$getRssIndex = global.getRssIndex(), + drawerItems = _global$getRssIndex.drawerItems, + homeCategory = _global$getRssIndex.homeCategory; + + return NavigationUtils.getRoutesTo(drawerItems, homeCategory); + } + }, { + key: "getScreenTo", + value: function getScreenTo(items, routeName) { + for (var i = 0; i < items.length; i++) { + var item = items[i]; + + if (item) { + if (item.drawerItemKey === routeName) { + return item.routeKey; + } + + if (NavigationUtils.hasItems(item)) { + return NavigationUtils.getScreenTo(item.items, routeName); + } + } + } + + return ""; + } + }, { + key: "getScreenToHome", + value: function getScreenToHome() { + var _global$getRssIndex2 = global.getRssIndex(), + drawerItems = _global$getRssIndex2.drawerItems, + homeCategory = _global$getRssIndex2.homeCategory; + + return NavigationUtils.getScreenTo(drawerItems, homeCategory); + } + }, { + key: "navigateToHome", + value: function navigateToHome(navigation) { + if (navigation) { + var routes = NavigationUtils.getRoutesToHome(); + + if (routes && routes.screen) { + navigation.navigate(routes.screen, routes.params); + } + } + } + }, { + key: "navigateToSettings", + value: function navigateToSettings(navigation, module) { + var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + + if (global.getMainPSetup().showNativeSettingsScreen) { + navigation == null ? undefined : navigation.navigate("GeneralSettingsScreen", Object.assign({ + module: module + }, params)); + } else { + navigation == null ? undefined : navigation.navigate("SettingsScreen", params); + } + } + }, { + key: "navigateToRssSettings", + value: function navigateToRssSettings(navigation) { + var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + NavigationUtils.navigateToSettings(navigation, _$$_REQUIRE(_dependencyMap[7]).GeneralSettingsModules.RSS, params); + } + }, { + key: "navigateToEPaperSettings", + value: function navigateToEPaperSettings(navigation) { + var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + NavigationUtils.navigateToSettings(navigation, _$$_REQUIRE(_dependencyMap[7]).GeneralSettingsModules.EPAPER, params); + } + }]); + }(); +},2026,[3,270,22,6,7,1934,438,2027]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.GeneralSettingsModules = undefined; + var GeneralSettingsModules = exports.GeneralSettingsModules = { + RSS: 1, + EPAPER: 2 + }; +},2027,[]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.getDrawerAction = getDrawerAction; + exports.getDrawerItemFromStructureAndState = getDrawerItemFromStructureAndState; + exports.getDrawerStructure = getDrawerStructure; + exports.getEpaperLabel = getEpaperLabel; + exports.getInitialRouteFromStructure = getInitialRouteFromStructure; + exports.getMyHomeLabel = getMyHomeLabel; + exports.getNameFromRoute = getNameFromRoute; + exports.getNavigationRouteKeyByName = getNavigationRouteKeyByName; + exports.getNavigationRoutes = getNavigationRoutes; + exports.getNavigationScreenByName = getNavigationScreenByName; + exports.getPublicationsButton = getPublicationsButton; + exports.navigateToCategory = navigateToCategory; + exports.openMyHome = openMyHome; + exports.parseExtra = parseExtra; + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _IndexHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _navigationUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + function openFavorite(item) { + return _IndexHelper.default.SP.values.drawer.actions.open_favorites === item.feedUrl || _IndexHelper.default.SP.values.drawer.actions.open_favorites === item.action || item.drawerItemKey === "Favorites" || item.category === "Favorites" || item.params === "Favorites"; + } + + function openMyHome(item) { + return _IndexHelper.default.SP.values.drawer.actions.open_my_home === item.feedUrl; + } + + function getDrawerAction(item) { + var action = item.action; + var shouldUseFullscreenLayout = item.shouldUseFullscreenLayout; + + if (shouldUseFullscreenLayout === "1") { + action = _IndexHelper.default.SP.values.drawer.actions.open_full_screen; + } else if (openFavorite(item)) { + action = _IndexHelper.default.SP.values.drawer.actions.open_favorites; + } else if (openMyHome(item)) { + action = _IndexHelper.default.SP.values.drawer.actions.open_my_home; + } + + return action; + } + + function parseExtra(extra, key, defaultValue) { + var _value; + + var value; + + if (extra) { + if (Array.isArray(extra)) { + var extraArray = extra.find(function (e) { + return e[0] === key; + }); + + if (extraArray) { + value = extraArray[1]; + } + } else if (typeof extra === "object") { + value = extra[key]; + } + } + + return (_value = value) != null ? _value : defaultValue; + } + + function getMyHomeLabel() { + var _global$getRssIndex = global.getRssIndex(), + drawerItemsFlat = _global$getRssIndex.drawerItemsFlat, + footerItems = _global$getRssIndex.footerItems; + + var found = drawerItemsFlat.find(function (drawerItem) { + return openMyHome(drawerItem); + }); + + if (!found && footerItems) { + found = footerItems.find(function (drawerItem) { + return openMyHome(drawerItem); + }); + } + + if (found) { + return found.displayName; + } + + return ""; + } + + function getEpaperLabel() { + var _global$getRssIndex2 = global.getRssIndex(), + drawerItemsFlat = _global$getRssIndex2.drawerItemsFlat, + footerItems = _global$getRssIndex2.footerItems; + + var open_epaper = _IndexHelper.default.SP.values.drawer.actions.open_epaper; + var found = drawerItemsFlat.find(function (drawerItem) { + return getDrawerAction(drawerItem) === open_epaper; + }); + + if (!found && footerItems) { + found = footerItems.find(function (drawerItem) { + return getDrawerAction(drawerItem) === open_epaper; + }); + } + + if (found) { + return found.displayName; + } + + return ""; + } + + function getNameFromRoute(route) { + return route.substr(0, route.lastIndexOf("_")); + } + + function getDrawerItemFromStructureAndState(structure, state) { + var routeName = _navigationUtils.default.getActiveRouteFromState(state); + + return _navigationUtils.default.getDrawerItem(structure.map(function (_ref) { + var item = _ref.item; + return item; + }), getNameFromRoute(routeName)); + } + + function getNavigationRoutes() { + var _global$getRssIndex3 = global.getRssIndex(), + items = _global$getRssIndex3.drawerItemsFlat, + footerItems = _global$getRssIndex3.footerItems; + + var routes = []; + var footerRoutesToAdd = []; + + if (footerItems) { + footerRoutesToAdd = footerItems.filter(function (footerItem) { + return items.find(function (item) { + return item.drawerItemKey === footerItem.drawerItemKey; + }) === undefined; + }); + } + + if (items) { + items.forEach(function (item, index) { + routes.push({ + item: item, + route: item.routeKey, + inDrawer: true + }); + }); + routes.push({ + item: { + displayName: global.strings("str_search"), + drawerItemKey: global.strings("str_search"), + action: _IndexHelper.default.SP.values.drawer.actions.open_search + }, + route: "search", + inDrawer: false + }); + footerRoutesToAdd.forEach(function (item, index) { + routes.push({ + item: item, + route: item.routeKey, + inDrawer: false + }); + }); + } + + return routes; + } + + function getNavigationScreenByName(name) { + var screens = getNavigationRoutes(); + var screen = screens.find(function (_ref2) { + var route = _ref2.route; + return route.startsWith(name + "_"); + }); + return screen; + } + + function getNavigationRouteKeyByName(name) { + var screen = getNavigationScreenByName(name); + + if (screen) { + return screen.route; + } + + return name; + } + + function navigateToCategory(navigation, category) { + var route = category; + var categoryScreen = getNavigationScreenByName(category); + + if (categoryScreen) { + route = categoryScreen.route; + + if (categoryScreen.item && categoryScreen.item.parent) { + var parentScreen = getNavigationScreenByName(categoryScreen.item.parent); + + if (parentScreen && parentScreen.item && parentScreen.item.type === "section" && parentScreen.item.layout === "tab") { + navigation.navigate(parentScreen.route, { + screen: route + }); + return; + } + } + } + + navigation.navigate(route); + } + + function getInitialRouteFromStructure(structure) { + try { + return structure.find(function (_ref3) { + var isInitialRoute = _ref3.isInitialRoute; + return isInitialRoute; + }).route; + } catch (e) { + return ""; + } + } + + function getDrawerStructure(routes, initialRoute) { + var structure = []; + var currentSection; + routes.forEach(function (route) { + var isSection = route.item.type === "section"; + var isFeed = route.item.type === "feed"; + var isInitialRoute = route.route === initialRoute; + route.isInitialRoute = isInitialRoute; + + if (isSection) { + if (route.item.layout === "tab") { + route.tabs = []; + currentSection = route; + } + + structure.push(route); + } else if (isFeed && currentSection && currentSection.tabs && !route.item.neverShowInDrawer && route.item.parent === currentSection.item.drawerItemKey) { + currentSection.tabs.push(route); + + if (isInitialRoute) { + currentSection.isInitialRoute = true; + } + } else { + structure.push(route); + } + }); + return structure; + } + + function getPublicationsButton(index) { + return { + action: _IndexHelper.default.SP.values.drawer.actions.open_publications, + depth: 0, + displayName: global.strings("btn_publications"), + drawerItemKey: global.strings("btn_publications"), + routeKey: global.strings("btn_publications") + "_" + index, + extra: [], + image: _$$_REQUIRE(_dependencyMap[4]), + neverShowInDrawer: false, + parent: "", + textAlign: "left", + type: "button", + visibleOnAndroid: "1", + visibleOnIOS: "1", + cssKey: "publications" + }; + } +},2028,[3,16,1934,2026,1731]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var _default = exports.default = _reactNative.StyleSheet.create({ + image_full: { + position: "absolute", + top: 0, + start: 0, + end: 0, + bottom: 0, + margin: 0 + }, + container_full: { + flex: 1, + flexDirection: "column", + justifyContent: "space-between", + paddingBottom: _$$_REQUIRE(_dependencyMap[1]).CONTAINER_VERTICAL_PADDING + }, + title_full: { + color: "white", + textAlign: "left", + textShadowColor: _$$_REQUIRE(_dependencyMap[2]).colors.black, + textShadowOffset: { + width: 1, + height: 1 + }, + textShadowRadius: 5 + }, + title_phone: { + marginEnd: _$$_REQUIRE(_dependencyMap[1]).HORIZONTAL_MARGIN + }, + details: { + color: _$$_REQUIRE(_dependencyMap[2]).colors.white, + textShadowColor: _$$_REQUIRE(_dependencyMap[2]).colors.black, + textShadowOffset: { + width: 1, + height: 1 + }, + textShadowRadius: 2 + }, + gradient: { + backgroundColor: _$$_REQUIRE(_dependencyMap[2]).colors.transparent, + position: "absolute", + top: 0, + start: 0, + end: 0, + bottom: 0 + } + }); +},2029,[18,2014,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.NATIVO_CARD_HEIGHT = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[7]); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _fontText = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[9])); + + var _card = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[10])); + + var _blurImageComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var NATIVO_CARD_HEIGHT = exports.NATIVO_CARD_HEIGHT = 550; + + var CardNativo = exports.default = function (_React$PureComponent) { + function CardNativo(props) { + var _this; + + (0, _classCallCheck2.default)(this, CardNativo); + _this = _callSuper(this, CardNativo, [props]); + _this.fontSize = _$$_REQUIRE(_dependencyMap[12]).FONT_SIZE.TEXT(); + _this.fontSizeTitle = _$$_REQUIRE(_dependencyMap[12]).FONT_SIZE.TITLE(); + return _this; + } + + (0, _inherits2.default)(CardNativo, _React$PureComponent); + return (0, _createClass2.default)(CardNativo, [{ + key: "_getTopComponent", + value: function _getTopComponent() { + var TopComponent = this.props.TopComponent; + + if (TopComponent) { + return TopComponent; + } + + return null; + } + }, { + key: "_getBottomComponent", + value: function _getBottomComponent() { + var BottomComponent = this.props.BottomComponent; + + if (BottomComponent) { + return BottomComponent; + } + + return null; + } + }, { + key: "render", + value: function render() { + var _this$props = this.props, + item = _this$props.item, + ImageComponent = _this$props.ImageComponent; + var title = item.title, + summary = item.summary; + var image; + + if (ImageComponent) { + image = ImageComponent; + } else { + image = (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_blurImageComponent.default, { + image: item.image, + style: _card.default.image, + height: _card.IMAGE_HEIGHT + }); + } + + var titleProps = {}; + + if (title && title.nativeID) { + titleProps.nativeID = title.nativeID; + } + + var summaryProps = {}; + + if (summary && summary.nativeID) { + summaryProps.nativeID = summary.nativeID; + } + + return (0, _$$_REQUIRE(_dependencyMap[13]).jsxs)(_reactNative.View, { + style: { + height: NATIVO_CARD_HEIGHT, + flexDirection: "column" + }, + children: [this._getTopComponent(), (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_reactNative.View, { + style: { + flex: 0, + width: "100%", + height: 300 + }, + children: image + }), (0, _$$_REQUIRE(_dependencyMap[13]).jsxs)(_reactNative.View, { + style: { + flex: 1 + }, + children: [(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_$$_REQUIRE(_dependencyMap[14]).Css, { + classes: ["card-title"], + children: (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_fontText.default, Object.assign({ + style: [_card.default.title, { + fontSize: this.fontSizeTitle + }], + type: _fontText.Type.medium + }, titleProps, { + children: item.title + })) + }), (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_$$_REQUIRE(_dependencyMap[14]).Css, { + classes: ["card-summary"], + children: (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_fontText.default, Object.assign({ + style: [_card.default.summary, { + fontSize: this.fontSize + }] + }, summaryProps, { + children: item.summary + })) + })] + }), this._getBottomComponent()] + }); + } + }]); + }(_react.default.PureComponent); + + CardNativo.propTypes = { + item: _propTypes.default.shape({ + title: _propTypes.default.string, + image: _propTypes.default.string, + thumbnail: _propTypes.default.string, + summary: _propTypes.default.string + }), + TopComponent: _propTypes.default.node, + BottomComponent: _propTypes.default.node, + ImageComponent: _propTypes.default.node + }; + CardNativo.defaultProps = { + TopComponent: undefined, + BottomComponent: undefined, + ImageComponent: undefined + }; +},2030,[3,6,7,11,13,14,16,18,582,814,2031,2032,2020,179,817]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.IMAGE_HEIGHT = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var IMAGE_HEIGHT = exports.IMAGE_HEIGHT = 300; + + var _default = exports.default = _reactNative.StyleSheet.create({ + outline: { + flexDirection: "column" + }, + image: { + height: IMAGE_HEIGHT, + width: null, + flex: 1 + }, + gradient: { + height: IMAGE_HEIGHT, + backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.transparent, + position: "absolute", + top: 0, + start: 0, + end: 0, + bottom: 0 + }, + title: { + start: 0, + margin: _$$_REQUIRE(_dependencyMap[2]).HORIZONTAL_MARGIN, + color: _$$_REQUIRE(_dependencyMap[1]).colors.title + }, + titleOverImage: { + margin: _$$_REQUIRE(_dependencyMap[2]).HORIZONTAL_MARGIN, + color: _$$_REQUIRE(_dependencyMap[1]).colors.white, + position: "absolute", + bottom: 0, + start: 0, + end: 0, + textShadowColor: _$$_REQUIRE(_dependencyMap[1]).colors.black, + textShadowOffset: { + width: 1, + height: 1 + }, + textShadowRadius: 5 + }, + summary: { + start: 0, + fontSize: 20, + margin: _$$_REQUIRE(_dependencyMap[2]).SUMMARY_VERTICAL_MARGIN, + color: _$$_REQUIRE(_dependencyMap[1]).colors.summary + }, + icon: { + height: 30, + width: 30, + marginStart: 5, + marginEnd: 5 + } + }); +},2031,[18,438,2014]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[8]); + + var _imageComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[9])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var BlurImage = exports.default = function (_React$Component) { + function BlurImage(props) { + var _this; + + (0, _classCallCheck2.default)(this, BlurImage); + _this = _callSuper(this, BlurImage, [props]); + _this.onLayout = _this._onLayout.bind(_this); + _this.state = { + loading: true, + enableBlur: false + }; + return _this; + } + + (0, _inherits2.default)(BlurImage, _React$Component); + return (0, _createClass2.default)(BlurImage, [{ + key: "_getBackgroundImage", + value: function _getBackgroundImage(uri) { + var _this2 = this; + + var _this$props = this.props, + height = _this$props.height, + blurRadius = _this$props.blurRadius, + style = _this$props.style; + var enableBlur = this.state.enableBlur; + var imageStyle = [{ + height: height, + width: null, + flex: 1 + }, style]; + return (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_imageComponent.default, { + style: imageStyle, + source: { + uri: uri + }, + resizeMode: "cover", + onLoadEnd: function onLoadEnd() { + var onRendered = _this2.props.onRendered; + + if (onRendered) { + onRendered(); + } + }, + blurRadius: enableBlur ? blurRadius : 0 + }); + } + }, { + key: "_getForegroundImage", + value: function _getForegroundImage(uri) { + var _this$props2 = this.props, + height = _this$props2.height, + style = _this$props2.style, + onImageError = _this$props2.onImageError; + var enableBlur = this.state.enableBlur; + var imageStyle = [{ + height: height, + width: null, + position: "absolute", + top: 0, + start: 0, + end: 0 + }, style]; + return enableBlur ? (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_imageComponent.default, { + resizeMethod: "scale", + style: imageStyle, + source: { + uri: uri + }, + resizeMode: "contain", + onError: function onError() { + if (typeof onImageError === "function") { + onImageError(); + } + } + }) : null; + } + }, { + key: "_onLayout", + value: function _onLayout(_ref) { + var _this3 = this; + + var nativeEvent = _ref.nativeEvent; + var image = this.props.image; + var _nativeEvent$layout = nativeEvent.layout, + containerWidth = _nativeEvent$layout.width, + containerHeight = _nativeEvent$layout.height; + (0, _imageComponent.getSize)(image, function (imageWidth, imageHeight) { + var enableBlur = false; + + if (imageWidth <= imageHeight) { + enableBlur = true; + } else { + var scaleWidthFactor = containerWidth / imageWidth; + var scaleHeightFactor = containerHeight / imageHeight; + + if (scaleWidthFactor > 2 || scaleHeightFactor > 2) { + enableBlur = true; + } else { + var scaledHeight = imageHeight * scaleWidthFactor; + var heightDiff = scaledHeight - containerHeight; + + if (heightDiff > 0 && heightDiff / scaledHeight > 0.5) { + enableBlur = true; + } + } + } + + _this3.setState({ + loading: false, + enableBlur: enableBlur + }); + }, function () { + _this3.setState({ + loading: false + }); + }); + } + }, { + key: "_getImage", + value: function _getImage(uri) { + var _this$props3 = this.props, + onImagePress = _this$props3.onImagePress, + height = _this$props3.height; + + if (onImagePress) { + return (0, _$$_REQUIRE(_dependencyMap[10]).jsxs)(_reactNative.TouchableOpacity, { + style: { + height: height + }, + onPress: onImagePress, + children: [this._getBackgroundImage(uri), this._getForegroundImage(uri)] + }); + } + + return (0, _$$_REQUIRE(_dependencyMap[10]).jsxs)(_reactNative.View, { + children: [this._getBackgroundImage(uri), this._getForegroundImage(uri)] + }); + } + }, { + key: "render", + value: function render() { + var _this$props4 = this.props, + image = _this$props4.image, + height = _this$props4.height; + var loading = this.state.loading; + return !loading ? this._getImage(image) : (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_reactNative.View, { + style: { + height: height + }, + onLayout: this.onLayout + }); + } + }]); + }(_react.default.Component); + + BlurImage.propTypes = { + height: _propTypes.default.number, + blurRadius: _propTypes.default.number, + image: _propTypes.default.string, + onRendered: _propTypes.default.func, + onImagePress: _propTypes.default.func, + onImageError: _propTypes.default.func, + style: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object, _propTypes.default.array]) + }; + BlurImage.defaultProps = { + height: 300, + blurRadius: 10 + }; +},2032,[3,6,7,11,13,14,582,16,18,588,179]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.parsePriority = exports.getCategoryLabel = exports.formatResourcesToDTO = exports.formatResourceToDTO = exports.formatDate = exports.formatArticlesToDTO = exports.formatArticleToDTO = exports.formatAction = exports.decodeField = undefined; + + var _RssActionManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _Resource = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _navigationUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var formatAction = exports.formatAction = function formatAction(action) { + var actionManager = new _RssActionManager.default(); + actionManager.initActions(action); + return actionManager; + }; + + var formatDate = exports.formatDate = function formatDate(articleDate, lastUpdate, hideDate) { + if (hideDate) { + return ""; + } + + if (lastUpdate) { + return global.date(lastUpdate); + } + + if (articleDate) { + return global.date(articleDate); + } + + return ""; + }; + + var parsePriority = exports.parsePriority = function parsePriority(rawPriority) { + var priority = {}; + var row = "1"; + + try { + priority = JSON.parse(rawPriority); + + if (!priority[1]) { + priority[1] = { + D: row, + d: row + }; + } + } catch (error) { + var matches = rawPriority.match(/([0-9]+(?:.5)?)x([0-9]+(?:.5)?)/); + var col = "1"; + + if (matches.length > 2) { + col = matches[1]; + row = matches[2]; + } + + var rowCol = col + "x" + row; + priority = { + 1: { + D: row, + d: row + }, + 2: { + D: rowCol, + d: rowCol + }, + 3: { + D: rowCol, + d: rowCol + }, + 4: { + D: rowCol, + d: rowCol + }, + isHighlightedBox: "0" + }; + } + + return priority; + }; + + var decodeField = exports.decodeField = function decodeField(field) { + return field ? _$$_REQUIRE(_dependencyMap[4]).StringUtils.decodeHTML(field) : undefined; + }; + + var getCategoryLabel = exports.getCategoryLabel = function getCategoryLabel(caLabel) { + var label; + + try { + var _global$getRssIndex = global.getRssIndex(), + drawerItemsFlat = _global$getRssIndex.drawerItemsFlat; + + var drawerItem = _navigationUtils.default.getDrawerItem(drawerItemsFlat, caLabel); + + if (drawerItem) { + label = drawerItem.displayName; + } + } catch (e) {} + + return decodeField(label || caLabel); + }; + + var formatArticleToDTO = exports.formatArticleToDTO = function formatArticleToDTO(article) { + var mArticle = new (_$$_REQUIRE(_dependencyMap[5]).Article)(); + mArticle.position = article.pl_id ? article.pl_id : undefined; + mArticle.feedId = article.ar_feedId ? article.ar_feedId : undefined; + mArticle.categoryId = article.ca_id ? article.ca_id : undefined; + mArticle.action = formatAction(article.ar_action); + mArticle.priority = article.pl_priority ? parsePriority(article.pl_priority) : undefined; + mArticle.byline = decodeField(article.ar_byline); + mArticle.category = getCategoryLabel(article.ca_label); + mArticle.summary = decodeField(article.ar_summary); + mArticle.title = decodeField(article.ar_title); + mArticle.unixDate = article.ar_updatedate || article.ar_articledate; + mArticle.insertDate = article.ar_insertdate ? article.ar_insertdate : undefined; + mArticle.read = article.ar_read ? article.ar_read : undefined; + mArticle.source = article.ar_source ? article.ar_source : undefined; + mArticle.thumbnail = article.ar_thumb ? article.ar_thumb : undefined; + mArticle.image = article.ar_image ? article.ar_image : undefined; + mArticle.gallery = (0, _$$_REQUIRE(_dependencyMap[6]).rssGallery)(article.ar_gallery); + mArticle.html = article.ar_htmlbody ? article.ar_htmlbody : undefined; + mArticle.isBreaking = article.ar_isBreaking ? article.ar_isBreaking === 1 : undefined; + mArticle.isHtmlArticle = article.ar_isHtmlArticle ? article.ar_isHtmlArticle === 1 : undefined; + mArticle.isEdition = article.ar_catId === 9999; + mArticle.isLinkToCategory = article.ar_catId === 8888; + mArticle.isAdvertisement = article.ar_catId === 7777; + mArticle.isHighlightedBox = mArticle.priority && mArticle.priority.isHighlightedBox === "1"; + mArticle.isPremiumArticle = mArticle.action.hasPropertyPremiumArticle(); + mArticle.isTouchable = !mArticle.isAdvertisement; + mArticle.setExtraFields(article.ar_extraFields); + mArticle.date = formatDate(article.ar_articledate, article.ar_updatedate, mArticle.isAdvertisement || mArticle.action.hasPropertyHideDate()); + return mArticle; + }; + + var formatResourceToDTO = exports.formatResourceToDTO = function formatResourceToDTO(resource) { + var dto = new _Resource.default(); + dto.setFeedId(resource.rr_feedId); + dto.setValue(resource.re_value); + dto.setType(resource.rt_name); + return dto; + }; + + var formatArticlesToDTO = exports.formatArticlesToDTO = function formatArticlesToDTO(articles) { + var adIndex = 0; + return articles.map(function (article) { + return formatArticleToDTO(article); + }).filter(function (article) { + return article.action.hasPropertyOS(); + }).map(function (article) { + if (article.isAdvertisement) { + article.adIndex = adIndex; + adIndex += 1; + } + + return article; + }); + }; + + var formatResourcesToDTO = exports.formatResourcesToDTO = function formatResourcesToDTO(resources) { + return resources.map(function (resource) { + return formatResourceToDTO(resource); + }); + }; +},2033,[3,1935,1945,2026,438,1943,2034]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.newsmemoryArticleGallery = newsmemoryArticleGallery; + exports.newsmemoryGallery = newsmemoryGallery; + exports.rssGallery = rssGallery; + + var RssParser = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0])); + + var NewsMemoryParser = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[1])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function rssGallery(json) { + return RssParser.getGallery(json); + } + + function newsmemoryGallery(json) { + return NewsMemoryParser.getGallery(json); + } + + function newsmemoryArticleGallery(json) { + return NewsMemoryParser.getArticleGallery(json); + } +},2034,[1946,2035]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.getArticleGallery = getArticleGallery; + exports.getGallery = getGallery; + + function getMedia(item) { + return item.media ? item.media : []; + } + + function getTitle(item) { + return item.title ? item.title : ""; + } + + function getThumbnail(item) { + var url = ""; + + if (typeof item.thumb === "string") { + url = item.thumb; + } else if (typeof item.thumb === "object") { + url = item.thumb.src || ""; + } + + return _$$_REQUIRE(_dependencyMap[0]).StringUtils.convertNewsmemoryDomainToHTTPS(url); + } + + function getCaption(item) { + return item.hd_summary ? item.hd_summary : ""; + } + + function getUrl() { + var item = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var url = ""; + + if (typeof item.image === "string") { + url = item.image; + } else if (typeof item.image === "object") { + url = item.image.url || ""; + } + + return _$$_REQUIRE(_dependencyMap[0]).StringUtils.convertNewsmemoryDomainToHTTPS(url); + } + + function parseGalleryItem(item, title) { + if (!item) { + throw new Error("gallery item is undefined"); + } + + var gallery = {}; + gallery.url = getUrl(item); + + if (!gallery.url) { + throw new Error("missing url"); + } + + gallery.title = title; + gallery.action = "image"; + gallery.extension = "jpg"; + gallery.caption = getCaption(item); + gallery.thumbnail = getThumbnail(item); + return gallery; + } + + function getGallery(json) { + var gallery = []; + + if (Array.isArray(json) && json.length > 0) { + json = json[0]; + } + + if (json) { + var title = getTitle(json); + var media = getMedia(json); + media.forEach(function (item, index) { + try { + var gItem = parseGalleryItem(item, title); + gItem.index = index; + gallery.push(gItem); + } catch (e) {} + }); + } + + return gallery; + } + + function getArticleGallery(json) { + if (json) { + return json.map(function (item) { + return { + url: item.hrUrl || item.url, + action: "image", + extension: "jpg", + width: item.width, + height: item.height, + caption: _$$_REQUIRE(_dependencyMap[0]).StringUtils.decodeHTML(item.caption) + }; + }).filter(function (item) { + return !_$$_REQUIRE(_dependencyMap[0]).JSUtils.isEmpty(item.url); + }); + } + + return []; + } +},2035,[438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[2]); + + var _tileGridNativo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _tileListNativo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _cardNativo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _OptionalPackages$get = _optionalPackageUtils.default.getNativoAds(), + NativoVideo = _OptionalPackages$get.NativoVideo; + + var styles = _reactNative.StyleSheet.create({ + textRow: { + flexDirection: "row", + alignItems: "center", + marginHorizontal: _$$_REQUIRE(_dependencyMap[8]).HORIZONTAL_MARGIN + } + }); + + var NativeVideoAdTemplate = function NativeVideoAdTemplate(props) { + if (!_optionalPackageUtils.default.isNativoSDKAvailable()) { + return null; + } + + var adDate = props.adDate, + adTitle = props.adTitle, + adDescription = props.adDescription, + adAuthorName = props.adAuthorName, + index = props.index, + grid = props.grid, + card = props.card, + dimensions = props.dimensions, + headerText = props.headerText; + var item = { + titleNativeID: "adTitle", + summaryNativeID: "adDescription", + title: adTitle, + summary: adDescription, + gridIndex: index + }; + var cssClasses = ["rss-nativo-ad-template", "rss-nativo-video-ad-template"]; + var cssHeaderClasses = ["rss-nativo-ad-template-header", "rss-nativo-video-ad-template-header"]; + var cssHeaderTextClasses = ["rss-nativo-ad-template-header-text", "rss-nativo-video-ad-template-header-text"]; + var cssChoicesImageClasses = ["rss-nativo-ad-template-choices-image", "rss-nativo-video-ad-template-choices-image"]; + var cssVideoClasses = ["rss-nativo-video-ad-template-video"]; + var cssBottomClasses = ["rss-nativo-ad-template-bottom", "rss-nativo-video-ad-template-bottom"]; + var cssDateClasses = ["rss-nativo-ad-template-date", "rss-nativo-video-ad-template-date"]; + var cssAuthorImageClasses = ["rss-nativo-ad-template-author-image", "rss-nativo-video-ad-template-author-image"]; + var cssAuthorNameClasses = ["rss-nativo-ad-template-author-name", "rss-nativo-video-ad-template-author-name"]; + var videoStyle = {}; + var adAuthorImageStyle = { + width: 40, + height: 20 + }; + var layoutSuffix; + + if (card) { + layoutSuffix = "card"; + videoStyle = { + flex: 1 + }; + } else if (grid) { + layoutSuffix = "grid"; + videoStyle = { + flex: 1 + }; + } else { + layoutSuffix = "list"; + videoStyle = { + flex: 1, + margin: 4 + }; + adAuthorImageStyle = { + width: 0, + height: 20 + }; + } + + cssClasses.push("rss-nativo-ad-template-" + layoutSuffix, "rss-nativo-video-ad-template-" + layoutSuffix); + cssHeaderClasses.push("rss-nativo-ad-template-header-" + layoutSuffix, "rss-nativo-video-ad-template-header-" + layoutSuffix); + cssHeaderTextClasses.push("rss-nativo-ad-template-header-text-" + layoutSuffix, "rss-nativo-video-ad-template-header-text-" + layoutSuffix); + cssChoicesImageClasses.push("rss-nativo-ad-template-choices-image-" + layoutSuffix, "rss-nativo-video-ad-template-choices-image-" + layoutSuffix); + cssVideoClasses.push("rss-nativo-video-ad-template-video-" + layoutSuffix); + cssBottomClasses.push("rss-nativo-ad-template-bottom-" + layoutSuffix, "rss-nativo-video-ad-template-bottom-" + layoutSuffix); + cssDateClasses.push("rss-nativo-ad-template-date-" + layoutSuffix, "rss-nativo-video-ad-template-date-" + layoutSuffix); + cssAuthorImageClasses.push("rss-nativo-ad-template-author-image-" + layoutSuffix, "rss-nativo-video-ad-template-author-image-" + layoutSuffix); + cssAuthorNameClasses.push("rss-nativo-ad-template-author-name-" + layoutSuffix, "rss-nativo-video-ad-template-author-name-" + layoutSuffix); + var TopComponent = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssHeaderClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_reactNative.View, { + style: styles.textRow, + children: [(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssHeaderTextClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Text, { + style: { + fontWeight: "bold", + flex: 1 + }, + children: headerText + }) + }), (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssChoicesImageClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Image, { + nativeID: "adChoicesImage", + style: { + height: 20, + width: 20 + } + }) + })] + }) + }); + var BottomComponent = (0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssBottomClasses, + children: [(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.View, { + style: styles.textRow, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssDateClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Text, { + nativeID: "adDate", + style: { + flex: 1 + }, + children: (0, _$$_REQUIRE(_dependencyMap[11]).formatDate)(adDate / 1000) + }) + }) + }), (0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_reactNative.View, { + style: styles.textRow, + children: [(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssAuthorImageClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Image, { + nativeID: "adAuthorImage", + resizeMode: "contain", + style: adAuthorImageStyle + }) + }), (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssAuthorNameClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Text, { + nativeID: "adAuthorName", + children: adAuthorName + }) + })] + })] + }); + var ImageComponent = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssVideoClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(NativoVideo, { + style: videoStyle + }) + }); + var ad; + + if (card) { + ad = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_cardNativo.default, { + item: item, + TopComponent: TopComponent, + BottomComponent: BottomComponent, + ImageComponent: ImageComponent + }); + } else if (grid) { + ad = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_tileGridNativo.default, { + roundedBorder: true, + item: item, + TopComponent: TopComponent, + BottomComponent: BottomComponent, + ImageComponent: ImageComponent + }); + } else { + ad = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_tileListNativo.default, { + item: item, + TopComponent: TopComponent, + BottomComponent: BottomComponent, + ImageComponent: ImageComponent + }); + } + + var key = card ? "card" : grid; + + var _DeviceUtils$getScree = _deviceUtils.default.getScreenDimensions(), + width = _DeviceUtils$getScree.width; + + var style = card ? { + width: width - _$$_REQUIRE(_dependencyMap[8]).HORIZONTAL_MARGIN + } : dimensions; + return (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { + classes: cssClasses, + children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.View, { + nativeID: "nativoVideoAdView", + style: style, + children: ad + }, "nativo_" + index + "_" + key) + }); + }; + + var _default = exports.default = NativeVideoAdTemplate; +},2036,[3,16,18,2024,2008,2030,434,879,2014,179,817,2033]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[2]); + + var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _tileListNativo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _OptionalPackages$get = _optionalPackageUtils.default.getNativoAds(), + NativoWebContent = _OptionalPackages$get.NativoWebContent; + + var StandardDisplayAdTemplate = function StandardDisplayAdTemplate(props) { + if (!_optionalPackageUtils.default.isNativoSDKAvailable()) { + return null; + } + + var width = props.displayWidth, + height = props.displayHeight, + index = props.index, + grid = props.grid, + card = props.card, + dimensions = props.dimensions, + headerText = props.headerText; + var item = { + titleNativeID: "adTitle", + title: headerText, + gridIndex: index + }; + var cssClasses = ["rss-nativo-ad-std-template"]; + var cssWebClasses = ["rss-nativo-ad-std-template-web"]; + var layoutSuffix; + + if (card) { + layoutSuffix = "card"; + } else if (grid) { + layoutSuffix = "grid"; + } else { + layoutSuffix = "list"; + } + + cssClasses.push("rss-nativo-ad-std-template-" + layoutSuffix); + cssWebClasses.push("rss-nativo-ad-std-template-web-" + layoutSuffix); + var marginTop = 0; + var imageContainerWidth = width; + var modeStyles = {}; + + if (!card && !grid) { + var widthRatio = (dimensions.width - _$$_REQUIRE(_dependencyMap[6]).HORIZONTAL_MARGIN * 2) / width; + var heightRatio = (dimensions.height - _$$_REQUIRE(_dependencyMap[6]).HORIZONTAL_MARGIN * 2) / height; + var ratio = Math.min(widthRatio, heightRatio); + + if (ratio < 1) { + imageContainerWidth = width * ratio; + modeStyles = { + transform: [{ + scale: ratio + }, { + translateX: -(width - width * ratio) + }, { + translateY: -(height - height * ratio) + }, { + translateX: _$$_REQUIRE(_dependencyMap[6]).HORIZONTAL_MARGIN + }, { + translateY: _$$_REQUIRE(_dependencyMap[6]).HORIZONTAL_MARGIN + }] + }; + } else { + marginTop = Math.max((dimensions.height - _$$_REQUIRE(_dependencyMap[6]).HORIZONTAL_MARGIN * 2 - height) / 2, 0); + } + } else { + modeStyles = { + alignSelf: "center", + justifyContent: "center" + }; + + if (card) { + marginTop = Math.max((_$$_REQUIRE(_dependencyMap[7]).NATIVO_CARD_HEIGHT - height) / 2, 0); + } else { + marginTop = Math.max((dimensions.height - height) / 2, 0); + } + } + + var webContent = (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).Css, { + classes: cssWebClasses, + children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(NativoWebContent, Object.assign({}, props, { + style: Object.assign({ + width: width, + height: height, + marginTop: marginTop + }, modeStyles) + })) + }); + var key = card ? "card" : grid; + var style = card ? { + width: (0, _$$_REQUIRE(_dependencyMap[10]).getRssCardBoxWidth)(), + height: _$$_REQUIRE(_dependencyMap[7]).NATIVO_CARD_HEIGHT + } : dimensions; + return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).Css, { + classes: cssClasses, + children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_reactNative.View, { + nativeID: "nativoSDAdView", + style: style, + children: grid || card ? webContent : (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_tileListNativo.default, { + item: item, + ImageComponent: webContent, + imageContainerStyle: { + margin: _$$_REQUIRE(_dependencyMap[6]).HORIZONTAL_MARGIN, + width: imageContainerWidth, + flex: 0, + flexDirection: "row" + } + }) + }, "nativo_" + index + "_" + key) + }); + }; + + var _default = exports.default = StandardDisplayAdTemplate; +},2037,[3,16,18,434,879,2008,2014,2030,179,817,2020]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[8]); + + var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + var _cmpUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); + + var _tecnaviaPlatformUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); + + var _webUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var AdWebComponent = function (_React$PureComponent) { + function AdWebComponent(props) { + var _source$uri; + + var _this; + + (0, _classCallCheck2.default)(this, AdWebComponent); + _this = _callSuper(this, AdWebComponent, [props]); + var source = props.source; + var isVisibleAtFirstRender = (source == null ? undefined : (_source$uri = source.uri) == null ? undefined : _source$uri.indexOf("shouldWaitForLocal=1")) === -1; + _this.state = { + hidden: false, + visible: isVisibleAtFirstRender + }; + _this.setWidthToDeviceOne = _this._setWidthToDeviceOne.bind(_this); + _this.onMessage = _this._onMessage.bind(_this); + return _this; + } + + (0, _inherits2.default)(AdWebComponent, _React$PureComponent); + return (0, _createClass2.default)(AdWebComponent, [{ + key: "componentDidMount", + value: function componentDidMount() { + var _this2 = this; + + this.orientationListener = _$$_REQUIRE(_dependencyMap[15]).EventRegister.on(_events.default.ON_ORIENTATION_CHANGE, this.setWidthToDeviceOne); + this.changeAdsVisibility = _$$_REQUIRE(_dependencyMap[15]).EventRegister.on(_events.default.CHANGE_ADS_VISIBILITY, function (_ref) { + var hideAds = _ref.hideAds; + var hidden = _this2.state.hidden; + + if (hideAds && !hidden) { + _this2.setState({ + hidden: true + }); + } else if (!hideAds && hidden) { + _this2.setState({ + hidden: false + }); + } + }); + + this._handleVisibilityCallbacks(); + } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate() { + this._handleVisibilityCallbacks(); + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + _$$_REQUIRE(_dependencyMap[15]).EventRegister.rm(this.orientationListener); + + _$$_REQUIRE(_dependencyMap[15]).EventRegister.rm(this.changeAdsVisibility); + } + }, { + key: "_handleVisibilityCallbacks", + value: function _handleVisibilityCallbacks() { + var _this$props = this.props, + source = _this$props.source, + onHide = _this$props.onHide, + onShow = _this$props.onShow; + + if (typeof onHide !== "function" || typeof onShow !== "function") { + return; + } + + var _this$state = this.state, + hidden = _this$state.hidden, + visible = _this$state.visible; + var uri = source.uri, + html = source.html; + + if (!uri && !html || hidden || !visible) { + onHide(); + return; + } + + onShow(this._getHeight()); + } + }, { + key: "_setWidthToDeviceOne", + value: function _setWidthToDeviceOne() { + this.forceUpdate(); + } + }, { + key: "_changeVisibility", + value: function _changeVisibility(visible) { + var currentVisible = this.state.visible; + + if (currentVisible !== visible) { + this.setState({ + visible: visible + }); + } + } + }, { + key: "_onMessage", + value: function _onMessage(data) { + try { + var type = data.type, + content = data.content; + + if (!type) { + return; + } + + switch (type) { + case "setViewVisibility": + var visibleParam = content.visible; + + if (visibleParam !== undefined) { + this._changeVisibility(visibleParam === 1); + } + + break; + } + } catch (e) {} + } + }, { + key: "_getHeight", + value: function _getHeight() { + var visible = this.state.visible; + + if (!visible) { + return 0; + } + + var model = this.props.model; + var height = parseInt(model.height, 10) || 150; + return height; + } + }, { + key: "render", + value: function render() { + var _this3 = this; + + var _this$props2 = this.props, + model = _this$props2.model, + source = _this$props2.source; + var hidden = this.state.hidden; + var uri = source.uri; + var html = source.html; + + if (!uri && !html || hidden) { + return null; + } + + if (html) { + var alignStyle = "\n body { \n text-align: center\n }"; + html = _webUtils.default.addViewportStyles(html, alignStyle); + source.html = _cmpUtils.default.addCMPScript(html); + } + + var settings = { + defaultHeight: 150, + cacheEnabled: false, + startInLoadingState: _$$_REQUIRE(_dependencyMap[16]).LoadingStatePosition.none, + innerRef: function innerRef(ref) { + _this3.webView = ref; + }, + onLocal: function onLocal(_ref2) { + var domain = _ref2.domain, + _ref2$getParams = _ref2.getParams, + getParams = _ref2$getParams === undefined ? {} : _ref2$getParams; + var navigation = _this3.props.navigation; + var issue = getParams.issue, + edition = getParams.edition, + data = getParams.data, + position = getParams.position, + category = getParams.category, + url = getParams.url, + visibleParam = getParams.visible; + + switch (domain) { + case "openEedition": + _NavigationService.default.main.reset("NewsmemoryNavigator", { + isFromRss: true, + issue: issue, + edition: edition + }); + + break; + + case "openAlertNewsArticle": + try { + var articles = (0, _$$_REQUIRE(_dependencyMap[17]).formatArticlesToDTO)(JSON.parse(_$$_REQUIRE(_dependencyMap[18]).StringUtils.decodeURIComponent(data))); + var clickedPosition = articles[position]; + navigation.navigate("ArticleScreen", { + items: articles, + item: clickedPosition, + orientation: _deviceUtils.default.currentOrientation + }); + } catch (e) {} + + break; + + case "openCategory": + try { + var screen = (0, _$$_REQUIRE(_dependencyMap[19]).getNavigationScreenByName)(category); + + if (screen) { + (0, _$$_REQUIRE(_dependencyMap[20]).performNavigation)(navigation, screen.item); + } + } catch (e) {} + + break; + + case "openLink": + _tecnaviaPlatformUtils.default.openURL(url); + + break; + + case "openInAppBrowser": + navigation.navigate("WebScreen", url); + break; + + case "setViewVisibility": + _this3._changeVisibility(visibleParam === "1"); + + break; + } + }, + injectedJavaScriptBeforeContentLoaded: !html ? _cmpUtils.default.getCMPScript() : undefined, + onLoadEnd: function onLoadEnd() { + if (_this3.webView && !html) { + _this3.webView.injectJavaScript("try{ document.body.style.textAlign = 'center'; }catch(e){}"); + + _this3.webView.injectJavaScript(_webUtils.default.addViewport()); + } + }, + onMessage: this.onMessage, + source: source, + onLinkClicked: function onLinkClicked(url) { + _tecnaviaPlatformUtils.default.openURL(url); + + return true; + } + }; + + if (model.useAutoHeight) { + return (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_$$_REQUIRE(_dependencyMap[22]).AutoHeightWebView, Object.assign({}, settings)); + } + + var width = model.width ? parseInt(model.width, 10) : "100%"; + + var height = this._getHeight(); + + return (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_reactNative.View, { + style: { + width: width, + height: height, + overflow: "hidden" + }, + children: (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_$$_REQUIRE(_dependencyMap[23]).BaseWebView, Object.assign({}, settings)) + }); + } + }]); + }(_react.default.PureComponent); + + AdWebComponent.propTypes = { + model: _propTypes.default.shape({ + width: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]), + height: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]), + useAutoHeight: _propTypes.default.bool + }), + source: _propTypes.default.shape({ + html: _propTypes.default.string, + uri: _propTypes.default.string + }), + navigation: _propTypes.default.shape({ + navigate: _propTypes.default.func + }), + onShow: _propTypes.default.func, + onHide: _propTypes.default.func + }; + AdWebComponent.defaultProps = { + source: {} + }; + + var _default = exports.default = function _default(props) { + var navigation = (0, _$$_REQUIRE(_dependencyMap[24]).useNavigation)(); + return (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(AdWebComponent, Object.assign({}, props, { + navigation: navigation + })); + }; +},2038,[3,6,7,11,13,14,582,16,18,1881,436,1915,434,2039,866,564,2040,2033,438,2028,2044,179,2052,2055,1087]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[4]); + + var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _sdkUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var IOSExternalLinkAccount = _optionalPackageUtils.default.getIOSExternalLinkAccountAPI(); + + var TecnaviaPlatformUtils = exports.default = function () { + function TecnaviaPlatformUtils() { + (0, _classCallCheck2.default)(this, TecnaviaPlatformUtils); + } + + return (0, _createClass2.default)(TecnaviaPlatformUtils, null, [{ + key: "getFallbackConfig", + value: function getFallbackConfig() { + var _global$getMainPSetup = global.getMainPSetup(), + readerAppLearnMoreLink = _global$getMainPSetup.readerAppLearnMoreLink; + + return { + safeArea: _deviceUtils.default.getSafeArea(), + moreLink: readerAppLearnMoreLink, + title: global.strings("reader_app_title"), + text: global.strings("reader_app_text", { + developerName: global.developerName + }), + learnMoreText: global.strings("learn_more"), + continueText: global.strings("btn_continue"), + cancelText: global.strings("btn_cancel"), + notAvailableText: global.strings("str_not_available"), + showModal: _$$_REQUIRE(_dependencyMap[8]).ModalOverlay.show, + hideModal: _$$_REQUIRE(_dependencyMap[8]).ModalOverlay.hide + }; + } + }, { + key: "isExternalLinkAccountURL", + value: function isExternalLinkAccountURL(url) { + return global.externalLinkAccountURL && _$$_REQUIRE(_dependencyMap[9]).StringUtils.removeLastSlash(url) === _$$_REQUIRE(_dependencyMap[9]).StringUtils.removeLastSlash(global.externalLinkAccountURL); + } + }, { + key: "externalLinkAccountCheck", + value: function externalLinkAccountCheck(url) { + return _$$_REQUIRE(_dependencyMap[9]).PlatformUtils.isIOS() && TecnaviaPlatformUtils.isExternalLinkAccountURL(url); + } + }, { + key: "isExternalLinkAccountAllowed", + value: function () { + var _isExternalLinkAccountAllowed = (0, _asyncToGenerator2.default)(function* (url) { + var _global$getMainPSetup2 = global.getMainPSetup(), + disableReaderAppModal = _global$getMainPSetup2.disableReaderAppModal; + + if (IOSExternalLinkAccount && !disableReaderAppModal && TecnaviaPlatformUtils.externalLinkAccountCheck(url)) { + yield IOSExternalLinkAccount.isExternalLinkAccountAllowed(url, TecnaviaPlatformUtils.getFallbackConfig()); + return true; + } + + return false; + }); + + function isExternalLinkAccountAllowed(_x) { + return _isExternalLinkAccountAllowed.apply(this, arguments); + } + + return isExternalLinkAccountAllowed; + }() + }, { + key: "isExternalLinkAccountAllowedSync", + value: function isExternalLinkAccountAllowedSync(url) { + var _global$getMainPSetup3 = global.getMainPSetup(), + disableReaderAppModal = _global$getMainPSetup3.disableReaderAppModal; + + if (IOSExternalLinkAccount && !disableReaderAppModal && TecnaviaPlatformUtils.externalLinkAccountCheck(url)) { + IOSExternalLinkAccount.isExternalLinkAccountAllowedSync(url, TecnaviaPlatformUtils.getFallbackConfig()); + return true; + } + + return false; + } + }, { + key: "openURL", + value: function () { + var _openURL = (0, _asyncToGenerator2.default)(function* (url) { + if (!url) { + return false; + } + + if (url.startsWith("HTTP://")) { + url = url.replace(/^HTTP:\/\//, "http://"); + } else if (url.startsWith("HTTPS://")) { + url = url.replace(/^HTTPS:\/\//, "https://"); + } + + if (yield _sdkUtils.default.willOpenURL(url)) { + return false; + } + + if (!(yield _reactNative.Linking.canOpenURL(url))) { + return false; + } + + try { + var isExternalLinkAccount = yield TecnaviaPlatformUtils.isExternalLinkAccountAllowed(url); + + if (!isExternalLinkAccount) { + yield _reactNative.Linking.openURL(url); + } + + return true; + } catch (e) { + _$$_REQUIRE(_dependencyMap[10]).Toast.show(global.strings("system_error"), { + position: "top" + }); + } + + return false; + }); + + function openURL(_x2) { + return _openURL.apply(this, arguments); + } + + return openURL; + }() + }]); + }(); +},2039,[3,270,6,7,18,434,879,1912,812,438,1976]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -242980,7 +263731,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e WebViewProgress.defaultProps = { loadingPosition: LoadingStatePosition.center }; -},1919,[3,568,16,18,1920,179]); +},2040,[3,582,16,18,2041,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -242995,7 +263746,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},1920,[1921]); +},2041,[2042]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -243135,7 +263886,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e advanced: false, hidden: false }; -},1921,[3,6,7,11,13,14,16,18,568,1922,179,1885]); +},2042,[3,6,7,11,13,14,16,18,582,2043,179,1969]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -243163,22 +263914,3049 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e height: 50 } }); -},1922,[18,438]); +},2043,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true }); - Object.keys(_$$_REQUIRE(_dependencyMap[0])).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _$$_REQUIRE(_dependencyMap[0])[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _$$_REQUIRE(_dependencyMap[0])[key]; + exports.performNavigation = performNavigation; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _RssContentHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _IndexHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _Paywall = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _navigationUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _tecnaviaPlatformUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _locationPermission = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + function dispatchNavigationToParent(navigation, screen) { + var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + navigation.navigate(screen, params); + } + + var navigateDirectlyToFullScreen = function () { + var _ref = (0, _asyncToGenerator2.default)(function* (navigation, settings) { + var displayName = settings.displayName, + drawerItemKey = settings.drawerItemKey, + disableAds = settings.disableAds; + var items = yield _RssContentHelper.default.getArticlesByCategory(drawerItemKey, disableAds === "1"); + + if (items && items.length) { + dispatchNavigationToParent(navigation, "ArticleScreen", { + items: items, + item: items[0], + settings: settings + }); + } else { + _$$_REQUIRE(_dependencyMap[10]).Toast.show(global.strings("msg_empty_category", { + category: displayName + }), { + position: "top" + }); } }); + + return function navigateDirectlyToFullScreen(_x, _x2) { + return _ref.apply(this, arguments); + }; + }(); + + function openEPaper(item) { + var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + (0, _$$_REQUIRE(_dependencyMap[11]).sendToAnalytics)(Object.assign({ + event_action: "drawer" + }, item)); + + _NavigationService.default.main.reset("NewsmemoryNavigator", Object.assign({ + isFromRss: true + }, params)); + } + + function performNavigation(navigation, item) { + var params = item.params, + drawerItemKey = item.drawerItemKey; + var routeName = (0, _$$_REQUIRE(_dependencyMap[12]).getNavigationRouteKeyByName)(drawerItemKey); + var action = (0, _$$_REQUIRE(_dependencyMap[12]).getDrawerAction)(item); + var _IndexHelper$SP$value = _IndexHelper.default.SP.values.drawer.actions, + open_settings = _IndexHelper$SP$value.open_settings, + open_url = _IndexHelper$SP$value.open_url, + open_archive_search = _IndexHelper$SP$value.open_archive_search, + open_in_app_purchase_page = _IndexHelper$SP$value.open_in_app_purchase_page, + open_optionspage_tab_editions = _IndexHelper$SP$value.open_optionspage_tab_editions, + open_optionspage_tab_login = _IndexHelper$SP$value.open_optionspage_tab_login, + open_optionspage_tab_contact = _IndexHelper$SP$value.open_optionspage_tab_contact, + open_optionspage_tab_help = _IndexHelper$SP$value.open_optionspage_tab_help, + open_optionspage_tab_archive = _IndexHelper$SP$value.open_optionspage_tab_archive, + open_paywall_account = _IndexHelper$SP$value.open_paywall_account, + upload_image = _IndexHelper$SP$value.upload_image, + open_epaper = _IndexHelper$SP$value.open_epaper, + open_live_news = _IndexHelper$SP$value.open_live_news, + open_full_screen = _IndexHelper$SP$value.open_full_screen, + open_publications = _IndexHelper$SP$value.open_publications, + open_drawer = _IndexHelper$SP$value.open_drawer; + var _IndexHelper$SP$value2 = _IndexHelper.default.SP.values.drawer.params, + open_le_vedette = _IndexHelper$SP$value2.open_le_vedette, + open_real_estate = _IndexHelper$SP$value2.open_real_estate, + open_auto_search = _IndexHelper$SP$value2.open_auto_search, + open_monster = _IndexHelper$SP$value2.open_monster, + open_fair = _IndexHelper$SP$value2.open_fair, + open_weather = _IndexHelper$SP$value2.open_weather, + open_events = _IndexHelper$SP$value2.open_events; + + var _global$getRssIndex = global.getRssIndex(), + latitude = _global$getRssIndex.latitude, + longitude = _global$getRssIndex.longitude, + archiveSearchURL = _global$getRssIndex.archiveSearchURL; + + var parsedParams; + + if (Array.isArray(params) && params.length > 0) { + parsedParams = params[0]; + } else if (typeof params === "string") { + parsedParams = params; + } + + var skipCloseDrawer = false; + + switch (action) { + case open_settings: + (0, _$$_REQUIRE(_dependencyMap[11]).sendToAnalytics)(Object.assign({ + event_action: "drawer" + }, item)); + + _navigationUtils.default.navigateToRssSettings(navigation, { + epaperLabel: (0, _$$_REQUIRE(_dependencyMap[12]).getEpaperLabel)() + }); + + break; + + case open_url: + (0, _$$_REQUIRE(_dependencyMap[11]).sendToAnalytics)(Object.assign({ + event_action: "drawer" + }, item)); + + switch (parsedParams) { + case open_le_vedette: + break; + + case open_real_estate: + break; + + case open_auto_search: + break; + + case open_monster: + dispatchNavigationToParent(navigation, "JobNavigator"); + break; + + case open_events: + var extra = { + user: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "externalAPIUsername", ""), + pass: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "externalAPIPassword", ""), + portal: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "externalAPIPortal", ""), + adUnitId: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "externalAdUnitId", ""), + adFallback: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "externalAdFallback", ""), + adWidth: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "externalAdWidth", 300), + adHeight: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "externalAdHeight", 250), + apiHomeOverride: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "HomeOverride", ""), + extraSearchField: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "ExtraSearchField", "[]") + }; + navigation.dispatch(_$$_REQUIRE(_dependencyMap[13]).CommonActions.navigate("EventNavigator", { + screen: "VerticalTabNavigator", + params: extra + })); + break; + + case open_fair: + break; + + case open_weather: + if (_optionalPackageUtils.default.isBaronAvailable()) { + _locationPermission.default.ask().then(function (result) { + _optionalPackageUtils.default.getBaronWeather().openWeather({ + server: global.getAppServer(), + latitude: latitude, + longitude: longitude + }); + }); + } else { + _$$_REQUIRE(_dependencyMap[10]).Toast.show(global.strings("err_module_unavailable", { + module: "Baron weather" + })); + } + + break; + + default: + if (parsedParams) { + var url = parsedParams; + (0, _$$_REQUIRE(_dependencyMap[11]).sendToAnalytics)({ + event_action: "open_link", + label: item.drawerItemKey + }); + var openInExternalBrowser = (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "target", "") === "_blank"; + + if (openInExternalBrowser) { + _tecnaviaPlatformUtils.default.openURL(url); + } else { + dispatchNavigationToParent(navigation, "WebScreen", { + url: url, + extra: { + ronDinoPromotionsAAK: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "ronDinoPromotionsAAK", "") + }, + shareButtonIsEnabled: item.enableShareButton === "1" + }); + } + } + + } + + break; + + case open_archive_search: + (0, _$$_REQUIRE(_dependencyMap[11]).sendToAnalytics)(Object.assign({ + event_action: "drawer" + }, item)); + + if (archiveSearchURL) { + dispatchNavigationToParent(navigation, "WebScreen", { + url: archiveSearchURL + }); + } else {} + + break; + + case open_optionspage_tab_editions: + openEPaper(item, { + tab: _$$_REQUIRE(_dependencyMap[14]).tabs.home + }); + break; + + case open_in_app_purchase_page: + case open_optionspage_tab_login: + openEPaper(item, { + tab: _$$_REQUIRE(_dependencyMap[14]).tabs.login + }); + break; + + case open_optionspage_tab_contact: + openEPaper(item, { + tab: _$$_REQUIRE(_dependencyMap[14]).tabs.contact + }); + break; + + case open_optionspage_tab_help: + openEPaper(item, { + tab: _$$_REQUIRE(_dependencyMap[14]).tabs.help + }); + break; + + case open_optionspage_tab_archive: + openEPaper(item, { + tab: _$$_REQUIRE(_dependencyMap[14]).tabs.archive + }); + break; + + case open_epaper: + var tab = (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "optionPageTab", ""); + openEPaper(item, { + tab: tab + }); + break; + + case open_paywall_account: + _Paywall.default.account(); + + break; + + case upload_image: + break; + + case open_full_screen: + navigateDirectlyToFullScreen(navigation, item); + break; + + case open_live_news: + _navigationUtils.default.navigateToHome(navigation); + + break; + + case open_drawer: + navigation.openDrawer(); + skipCloseDrawer = true; + break; + + case open_publications: + _NavigationService.default.main.navigate("PublicationsPageScreen"); + + break; + + default: + navigation.navigate(routeName); + } + + try { + if (!skipCloseDrawer) { + navigation.closeDrawer(); + } + } catch (e) {} + } +},2044,[3,270,2045,1934,2049,2026,879,2039,1881,2051,1976,2048,2028,1087,878]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true }); -},1923,[1924]); + exports.default = exports.SORT = exports.ORDER = exports.DbDownloadPriority = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _RssContentManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var api = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[5])); + + var _downloadUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _tecnaviaFileUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _Resource = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _hintKeys = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var DbDownloadPriority = exports.DbDownloadPriority = { + HIGH: 1, + MEDIUM: 2, + LOW: 3 + }; + var SORT = exports.SORT = { + BY_RELEVANCE: "0", + BY_DATE: "1", + BY_CATEGORIES: "2" + }; + var ORDER = exports.ORDER = { + ASC: "0", + DESC: "1" + }; + + var RssContentHelper = exports.default = function () { + function RssContentHelper() { + (0, _classCallCheck2.default)(this, RssContentHelper); + } + + return (0, _createClass2.default)(RssContentHelper, null, [{ + key: "getSortByValues", + value: function getSortByValues() { + return [{ + value: SORT.BY_RELEVANCE, + label: global.strings("str_relevance") + }, { + value: SORT.BY_DATE, + label: global.strings("str_date") + }, { + value: SORT.BY_CATEGORIES, + label: global.strings("str_categories") + }]; + } + }, { + key: "getOrderValues", + value: function getOrderValues() { + return [{ + value: ORDER.ASC, + label: global.strings("str_ascending") + }, { + value: ORDER.DESC, + label: global.strings("str_descending") + }]; + } + }, { + key: "databaseExists", + value: function () { + var _databaseExists = (0, _asyncToGenerator2.default)(function* () { + return _RssContentManager.default.databaseExists(); + }); + + function databaseExists() { + return _databaseExists.apply(this, arguments); + } + + return databaseExists; + }() + }, { + key: "replaceDatabase", + value: function () { + var _replaceDatabase = (0, _asyncToGenerator2.default)(function* (dbURL) { + try { + _$$_REQUIRE(_dependencyMap[11]).HintOverlay.show({ + config: _hintKeys.default.rssDbDownloadProgress(), + progress: true + }); + + yield _downloadUtils.default.getDatabase(dbURL, _RssContentManager.default.getDatabaseFolder(), { + progressCallback: function progressCallback(received, total) { + _$$_REQUIRE(_dependencyMap[12]).EventRegister.emit(_events.default.ON_RSS_DB_DOWNLOAD, { + progress: received / total, + downloading: true + }); + }, + callbackAfterUnzip: function () { + var _callbackAfterUnzip = (0, _asyncToGenerator2.default)(function* (downloadedDbPath) { + try { + yield _RssContentManager.default.deleteDatabase(); + } catch (e) {} + + try { + yield _tecnaviaFileUtils.default.moveFile(downloadedDbPath, _RssContentManager.default.getDatabaseFilePath()); + } catch (e) {} + + try { + yield _RssContentManager.default.migrateDB(); + } catch (e) {} + + _$$_REQUIRE(_dependencyMap[12]).EventRegister.emit(_events.default.ON_RSS_DB_DOWNLOAD, { + progress: 100, + downloading: false + }); + }); + + function callbackAfterUnzip(_x2) { + return _callbackAfterUnzip.apply(this, arguments); + } + + return callbackAfterUnzip; + }() + }); + + var _StringUtils$getUrlIn = _$$_REQUIRE(_dependencyMap[13]).StringUtils.getUrlInfo(dbURL), + domain = _StringUtils$getUrlIn.domain; + + (0, _$$_REQUIRE(_dependencyMap[14]).sendToAnalytics)({ + event_action: "download_rss_db", + domain: domain + }); + } catch (e) { + _$$_REQUIRE(_dependencyMap[11]).HintOverlay.hide(); + + throw e; + } + }); + + function replaceDatabase(_x) { + return _replaceDatabase.apply(this, arguments); + } + + return replaceDatabase; + }() + }, { + key: "download", + value: function () { + var _download = (0, _asyncToGenerator2.default)(function* (categoryName) { + var forceDownload = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var callbackForPush = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function () {}; + var hideRefresh = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : function () {}; + var result = {}; + + try { + var databaseExists = yield _RssContentManager.default.databaseExists(); + var rssIndexConfig = global.getRssIndex(); + var dbURL = rssIndexConfig.getFullDbURL(); + + if (forceDownload || !databaseExists) { + yield RssContentHelper.replaceDatabase(dbURL); + result.msg = global.strings("msg_rss_reload_database"); + result.code = this.NEW_ITEMS_AVAILABLE; + result.priority = DbDownloadPriority.HIGH; + hideRefresh(); + callbackForPush(); + } else { + var categoryIds = yield _RssContentManager.default.getCategoryIdFromName(categoryName); + var newestEntry = yield _RssContentManager.default.newestEntry(categoryIds); + + var _yield$api$getJsonDbU = yield api.getJsonDbUpdate(newestEntry, categoryIds), + reloadAll = _yield$api$getJsonDbU.reloadAll, + newArticles = _yield$api$getJsonDbU.newArticles, + newArticlesCount = _yield$api$getJsonDbU.newArticlesCount, + playlists = _yield$api$getJsonDbU.playlists, + resources = _yield$api$getJsonDbU.resources, + resourceRels = _yield$api$getJsonDbU.resourceRels, + resourceTypes = _yield$api$getJsonDbU.resourceTypes, + dbMTime = _yield$api$getJsonDbU.dbMTime; + + hideRefresh(); + + if (dbMTime) { + rssIndexConfig.setDbMTime(dbMTime); + dbURL = rssIndexConfig.getFullDbURL(); + } + + if (reloadAll) { + yield RssContentHelper.replaceDatabase(dbURL); + result.msg = global.strings("msg_rss_reload_database"); + result.code = this.NEW_ITEMS_AVAILABLE; + result.priority = DbDownloadPriority.HIGH; + callbackForPush(); + } else if (newArticlesCount >= 0 || newArticles && newArticles.length) { + var counter = newArticlesCount !== undefined ? newArticlesCount : newArticles.length; + + if (counter === 0) { + result.msg = global.strings("msg_rss_no_new_articles_available", { + count: 0 + }); + result.code = this.NO_NEW_ITEMS_AVAILABLE; + result.priority = DbDownloadPriority.LOW; + } else { + if (counter === 1) { + result.msg = global.strings("msg_rss_one_new_article_available", { + count: counter + }); + } else { + result.msg = global.strings("msg_rss_new_articles_available", { + count: counter + }); + } + + result.code = this.NEW_ITEMS_AVAILABLE; + result.priority = DbDownloadPriority.MEDIUM; + } + + yield _RssContentManager.default.storeUpdate(newArticles, playlists, categoryIds, resources, resourceRels, resourceTypes, callbackForPush); + } else { + result.msg = global.strings("msg_rss_no_new_articles_available", { + count: 0 + }); + result.code = this.NO_NEW_ITEMS_AVAILABLE; + result.priority = DbDownloadPriority.LOW; + callbackForPush(); + } + } + } catch (e) { + result.error = global.strings("msg_rss_update_error"); + result.code = this.ERROR; + result.priority = DbDownloadPriority.HIGH; + hideRefresh(); + callbackForPush(); + } + + return result; + }); + + function download(_x3) { + return _download.apply(this, arguments); + } + + return download; + }() + }, { + key: "deleteDatabase", + value: function () { + var _deleteDatabase = (0, _asyncToGenerator2.default)(function* () { + return _RssContentManager.default.deleteDatabase(); + }); + + function deleteDatabase() { + return _deleteDatabase.apply(this, arguments); + } + + return deleteDatabase; + }() + }, { + key: "initDatabase", + value: function () { + var _initDatabase = (0, _asyncToGenerator2.default)(function* () { + return _RssContentManager.default.initDatabase(); + }); + + function initDatabase() { + return _initDatabase.apply(this, arguments); + } + + return initDatabase; + }() + }, { + key: "mergeArticlesAndResources", + value: function mergeArticlesAndResources(articles, resources) { + return articles.map(function (article) { + var currentArticleResources = resources.filter(function (resource) { + return resource.getFeedId() === article.getFeedId(); + }); + article.setResources(currentArticleResources); + return article; + }); + } + }, { + key: "getArticlesBySearch", + value: function () { + var _getArticlesBySearch = (0, _asyncToGenerator2.default)(function* (text, searchData) { + var articles = yield _RssContentManager.default.searchArticles(text); + articles = articles.filter(function (article) { + return RssContentHelper.filterArticleByCriteria(article, searchData); + }).filter(function (item, index, items) { + return items.find(function (_item, _i) { + return _i > index && item.getFeedId() === _item.getFeedId(); + }) === undefined; + }).filter(function (item) { + return !item.isLiveStream(); + }).sort(function (itemA, itemB) { + return RssContentHelper.sortArticlesByCriteria(itemA, itemB, Object.assign({}, searchData, { + text: text + })); + }); + var resources = yield _RssContentManager.default.getResources(articles); + return RssContentHelper.mergeArticlesAndResources(articles, resources); + }); + + function getArticlesBySearch(_x4, _x5) { + return _getArticlesBySearch.apply(this, arguments); + } + + return getArticlesBySearch; + }() + }, { + key: "getFirstArticleByCategory", + value: function () { + var _getFirstArticleByCategory = (0, _asyncToGenerator2.default)(function* (category) { + var withImage = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var articles = yield _RssContentManager.default.getArticlesByCategory(category, true); + + if (withImage) { + articles = articles.filter(function (article) { + return !!article.image; + }); + } + + return articles.length > 0 ? articles[0] : undefined; + }); + + function getFirstArticleByCategory(_x6) { + return _getFirstArticleByCategory.apply(this, arguments); + } + + return getFirstArticleByCategory; + }() + }, { + key: "getArticlesByCategory", + value: function () { + var _getArticlesByCategory = (0, _asyncToGenerator2.default)(function* (category, removeAdvertisements) { + var articles = yield _RssContentManager.default.getArticlesByCategory(category, removeAdvertisements); + var resources = yield _RssContentManager.default.getResources(articles); + return RssContentHelper.mergeArticlesAndResources(articles, resources); + }); + + function getArticlesByCategory(_x7, _x8) { + return _getArticlesByCategory.apply(this, arguments); + } + + return getArticlesByCategory; + }() + }, { + key: "getArticleByFeedId", + value: function () { + var _getArticleByFeedId = (0, _asyncToGenerator2.default)(function* (feedId) { + var articles = yield _RssContentManager.default.getArticleByFeedId(feedId); + var resources = yield _RssContentManager.default.getResources(articles); + return RssContentHelper.mergeArticlesAndResources(articles, resources); + }); + + function getArticleByFeedId(_x9) { + return _getArticleByFeedId.apply(this, arguments); + } + + return getArticleByFeedId; + }() + }, { + key: "getArticleBySource", + value: function () { + var _getArticleBySource = (0, _asyncToGenerator2.default)(function* (source) { + var articles = yield _RssContentManager.default.getArticleBySource(source); + var resources = yield _RssContentManager.default.getResources(articles); + return RssContentHelper.mergeArticlesAndResources(articles, resources); + }); + + function getArticleBySource(_x10) { + return _getArticleBySource.apply(this, arguments); + } + + return getArticleBySource; + }() + }, { + key: "getArticlesInHomeCategory", + value: function () { + var _getArticlesInHomeCategory = (0, _asyncToGenerator2.default)(function* (category, removeAdvertisements) { + var articles = yield _RssContentManager.default.getArticlesInHomeCategory(category, removeAdvertisements); + var resources = yield _RssContentManager.default.getResources(articles); + return RssContentHelper.mergeArticlesAndResources(articles, resources); + }); + + function getArticlesInHomeCategory(_x11, _x12) { + return _getArticlesInHomeCategory.apply(this, arguments); + } + + return getArticlesInHomeCategory; + }() + }, { + key: "getArticlesInMyHome", + value: function () { + var _getArticlesInMyHome = (0, _asyncToGenerator2.default)(function* (categories) { + var articles = yield _RssContentManager.default.getArticlesInMyHome(categories); + var resources = yield _RssContentManager.default.getResources(articles); + return RssContentHelper.mergeArticlesAndResources(articles, resources); + }); + + function getArticlesInMyHome(_x13) { + return _getArticlesInMyHome.apply(this, arguments); + } + + return getArticlesInMyHome; + }() + }, { + key: "getCategoryByArticleFeed", + value: function () { + var _getCategoryByArticleFeed = (0, _asyncToGenerator2.default)(function* (feedId) { + return _RssContentManager.default.getCategoryFromFeedId(feedId); + }); + + function getCategoryByArticleFeed(_x14) { + return _getCategoryByArticleFeed.apply(this, arguments); + } + + return getCategoryByArticleFeed; + }() + }, { + key: "getMyHomeCategoryContent", + value: function () { + var _getMyHomeCategoryContent = (0, _asyncToGenerator2.default)(function* () { + var result = []; + var content = yield _RssContentManager.default.getCategoryContent(); + content.forEach(function (item) { + result.push({ + name: item.label, + count: item.count, + image: item.image.split("#").find(function (element) { + return element !== ""; + }) + }); + }); + return result; + }); + + function getMyHomeCategoryContent() { + return _getMyHomeCategoryContent.apply(this, arguments); + } + + return getMyHomeCategoryContent; + }() + }, { + key: "getCategories", + value: function () { + var _getCategories = (0, _asyncToGenerator2.default)(function* () { + var result = []; + + try { + (yield _RssContentManager.default.getCategories()).forEach(function (_ref) { + var ca_id = _ref.ca_id, + ca_label = _ref.ca_label; + + if (!ca_label.startsWith(_$$_REQUIRE(_dependencyMap[13]).StringUtils.TILDE)) { + result.push({ + label: ca_label, + value: ca_id + }); + } + }); + } catch (e) { + console.warn(e); + } + + return result; + }); + + function getCategories() { + return _getCategories.apply(this, arguments); + } + + return getCategories; + }() + }, { + key: "getCategoriesForSearch", + value: function () { + var _getCategoriesForSearch = (0, _asyncToGenerator2.default)(function* (categoriesNotSearchable) { + try { + return (yield RssContentHelper.getCategories()).filter(function (_ref2) { + var label = _ref2.label; + return !categoriesNotSearchable.includes(label); + }); + } catch (e) { + console.warn(e); + } + + return []; + }); + + function getCategoriesForSearch(_x15) { + return _getCategoriesForSearch.apply(this, arguments); + } + + return getCategoriesForSearch; + }() + }, { + key: "getBylines", + value: function () { + var _getBylines = (0, _asyncToGenerator2.default)(function* () { + var result = []; + + try { + (yield _RssContentManager.default.getBylines()).forEach(function (_ref3) { + var ar_byline = _ref3.ar_byline; + result.push({ + label: ar_byline, + value: ar_byline + }); + }); + } catch (e) { + console.warn(e); + } + + return result; + }); + + function getBylines() { + return _getBylines.apply(this, arguments); + } + + return getBylines; + }() + }, { + key: "getRangeDates", + value: function () { + var _getRangeDates = (0, _asyncToGenerator2.default)(function* () { + var dates = yield _RssContentManager.default.getDates(); + var result = []; + + if (dates) { + if (dates[0]) { + result.push(dates[0].ar_articledate * 1000); + } + + if (dates[dates.length - 1]) { + result.push(dates[dates.length - 1].ar_articledate * 1000); + } + } + + return result; + }); + + function getRangeDates() { + return _getRangeDates.apply(this, arguments); + } + + return getRangeDates; + }() + }, { + key: "filterArticleByCriteria", + value: function filterArticleByCriteria(article) { + var criteria = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var include = true; + + if (criteria.startDate) { + include = article.unixDate * 1000 >= _$$_REQUIRE(_dependencyMap[13]).DateUtils.toDate(criteria.startDate).getTime(); + } + + if (include && criteria.endDate) { + include = article.unixDate * 1000 <= _$$_REQUIRE(_dependencyMap[13]).DateUtils.toDate(criteria.endDate).getTime(); + } + + if (include && criteria.byline) { + include = criteria.byline.includes(article.byline); + } + + if (include && criteria.categories) { + include = criteria.categories.includes(article.categoryId); + } + + return include; + } + }, { + key: "sortArticlesByCriteria", + value: function sortArticlesByCriteria(itemA, itemB) { + var criteria = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var result = 0; + + if (criteria.sortBy === SORT.BY_CATEGORIES) { + if (itemA.category < itemB.category) { + result = -1; + } else if (itemA.category > itemB.category) { + result = 1; + } + } else if (criteria.sortBy === SORT.BY_RELEVANCE && criteria.text) { + var occurrenceInA = (itemA.title + " " + itemA.byline + " " + itemA.summary + " " + itemA.html).toLocaleLowerCase().search(criteria.text.toLocaleLowerCase()); + var occurrenceInB = (itemB.title + " " + itemB.byline + " " + itemB.summary + " " + itemB.html).toLocaleLowerCase().search(criteria.text.toLocaleLowerCase()); + result = occurrenceInB - occurrenceInA; + } else { + result = itemB.unixDate - itemA.unixDate; + } + + return criteria.order === ORDER.ASC ? result * -1 : result; + } + }]); + }(); + + RssContentHelper.ERROR = -1; + RssContentHelper.NO_NEW_ITEMS_AVAILABLE = 0; + RssContentHelper.NEW_ITEMS_AVAILABLE = 1; +},2045,[3,270,6,7,2046,2047,586,566,1945,436,1983,1985,564,438,2048]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _Database = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _tecnaviaFileUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var RSS_DB_NAME = "rss.db"; + + var RssContentManager = exports.default = function () { + function RssContentManager() { + (0, _classCallCheck2.default)(this, RssContentManager); + } + + return (0, _createClass2.default)(RssContentManager, null, [{ + key: "initDatabase", + value: function () { + var _initDatabase = (0, _asyncToGenerator2.default)(function* () { + RssContentManager.database = new _Database.default(RssContentManager.getDatabaseFilePath(), RssContentManager.MIGRATIONS); + + try { + if (yield RssContentManager.databaseExists()) { + yield RssContentManager.migrateDB(); + } + } catch (e) {} + }); + + function initDatabase() { + return _initDatabase.apply(this, arguments); + } + + return initDatabase; + }() + }, { + key: "getDatabaseFilePath", + value: function getDatabaseFilePath() { + return "" + RssContentManager.getDatabaseFolder() + RSS_DB_NAME; + } + }, { + key: "getDatabaseFolder", + value: function getDatabaseFolder() { + if (_$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isIOS()) { + return _tecnaviaFileUtils.default.libraryDirectory + "/LocalDatabase/"; + } + + return _tecnaviaFileUtils.default.documentDirectory + "/"; + } + }, { + key: "databaseExists", + value: function () { + var _databaseExists = (0, _asyncToGenerator2.default)(function* () { + return RssContentManager.database.exists(); + }); + + function databaseExists() { + return _databaseExists.apply(this, arguments); + } + + return databaseExists; + }() + }, { + key: "deleteDatabase", + value: function () { + var _deleteDatabase = (0, _asyncToGenerator2.default)(function* () { + return RssContentManager.database.delete(); + }); + + function deleteDatabase() { + return _deleteDatabase.apply(this, arguments); + } + + return deleteDatabase; + }() + }, { + key: "migrateDB", + value: function () { + var _migrateDB = (0, _asyncToGenerator2.default)(function* () { + return RssContentManager.database.migrateDB(); + }); + + function migrateDB() { + return _migrateDB.apply(this, arguments); + } + + return migrateDB; + }() + }, { + key: "openTransaction", + value: function () { + var _openTransaction = (0, _asyncToGenerator2.default)(function* (query, params) { + return RssContentManager.database.transaction(query, params); + }); + + function openTransaction(_x, _x2) { + return _openTransaction.apply(this, arguments); + } + + return openTransaction; + }() + }, { + key: "checkIfColumnExists", + value: function () { + var _checkIfColumnExists = (0, _asyncToGenerator2.default)(function* (table, column) { + return RssContentManager.database.columnExists(table, column); + }); + + function checkIfColumnExists(_x3, _x4) { + return _checkIfColumnExists.apply(this, arguments); + } + + return checkIfColumnExists; + }() + }, { + key: "replaceInto", + value: function () { + var _replaceInto = (0, _asyncToGenerator2.default)(function* (table, items) { + return RssContentManager.database.replaceInto(table, Object.keys(items[0]), items.map(function (item) { + return Object.values(item); + })); + }); + + function replaceInto(_x5, _x6) { + return _replaceInto.apply(this, arguments); + } + + return replaceInto; + }() + }, { + key: "storeUpdate", + value: function () { + var _storeUpdate = (0, _asyncToGenerator2.default)(function* () { + var articles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + var playlists = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + var categoryIds = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; + var resources = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : []; + var resourceRels = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : []; + var resourceTypes = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : []; + var callback = arguments.length > 6 ? arguments[6] : undefined; + + if (articles.length && playlists.length) { + articles.forEach(function (article) { + if (!article.ar_updatedate) { + article.ar_updatedate = null; + } + }); + yield RssContentManager.replaceInto("article", articles); + callback(); + + if (resources.length) { + yield RssContentManager.replaceInto("resource", resources); + } + + if (resourceTypes.length) { + yield RssContentManager.replaceInto("resource_type", resourceTypes); + } + + if (resourceRels.length) { + yield RssContentManager.database.deleteFrom("resource_rel", ""); + yield RssContentManager.replaceInto("resource_rel", resourceRels); + } + + yield RssContentManager.database.deleteFrom("playlist", categoryIds.length ? "pl_catListId IN ( " + categoryIds.join() + ")" : ""); + yield RssContentManager.replaceInto("playlist", playlists); + } else { + callback(); + } + }); + + function storeUpdate() { + return _storeUpdate.apply(this, arguments); + } + + return storeUpdate; + }() + }, { + key: "getCategoryIdFromName", + value: function () { + var _getCategoryIdFromName = (0, _asyncToGenerator2.default)(function* (name) { + if (name) { + var query = "SELECT ca_id FROM category AS c WHERE c.ca_label = ?;"; + var categories = yield RssContentManager.openTransaction(query, [name]); + return categories.map(function (category) { + return category.ca_id; + }); + } + + return []; + }); + + function getCategoryIdFromName(_x7) { + return _getCategoryIdFromName.apply(this, arguments); + } + + return getCategoryIdFromName; + }() + }, { + key: "getResources", + value: function () { + var _getResources = (0, _asyncToGenerator2.default)(function* () { + var articles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + var inCondition = articles.map(function (article) { + return "'" + article.getFeedId() + "'"; + }).join(); + var query = "SELECT DISTINCT * FROM resource_rel AS rl, resource AS r, resource_type AS rt WHERE rl.rr_resourceId = r.re_id AND r.re_typeId = rt.rt_id AND rl.rr_feedId IN (" + inCondition + ") ORDER BY r.re_typeId"; + return (0, _$$_REQUIRE(_dependencyMap[7]).formatResourcesToDTO)(yield RssContentManager.openTransaction(query, [])); + }); + + function getResources() { + return _getResources.apply(this, arguments); + } + + return getResources; + }() + }, { + key: "getArticlesByCategory", + value: function () { + var _getArticlesByCategory = (0, _asyncToGenerator2.default)(function* (category, removeAdvertisements) { + if (category) { + var query = "SELECT * FROM playlist AS p JOIN article AS a ON a.ar_feedId = p.pl_feedId JOIN category AS c ON c.ca_id = p.pl_catListId WHERE ( c.ca_label = ? OR c.ca_label = ? ) AND a.ar_catId != 9999 " + (removeAdvertisements ? " AND a.ar_catId != 7777 " : "") + " AND ( pl_priority NOT LIKE '%\"p\"%' OR pl_priority LIKE '%show%') ORDER BY p.pl_id ASC;"; + return (0, _$$_REQUIRE(_dependencyMap[7]).formatArticlesToDTO)(yield RssContentManager.openTransaction(query, [category, "" + _$$_REQUIRE(_dependencyMap[6]).StringUtils.TILDE + category])); + } + + return []; + }); + + function getArticlesByCategory(_x8, _x9) { + return _getArticlesByCategory.apply(this, arguments); + } + + return getArticlesByCategory; + }() + }, { + key: "getArticleByFeedId", + value: function () { + var _getArticleByFeedId = (0, _asyncToGenerator2.default)(function* (feedId) { + if (feedId) { + var query = "SELECT * FROM article WHERE ar_feedId LIKE '" + feedId + "';"; + return (0, _$$_REQUIRE(_dependencyMap[7]).formatArticlesToDTO)(yield RssContentManager.openTransaction(query, [])); + } + + return []; + }); + + function getArticleByFeedId(_x10) { + return _getArticleByFeedId.apply(this, arguments); + } + + return getArticleByFeedId; + }() + }, { + key: "getArticleBySource", + value: function () { + var _getArticleBySource = (0, _asyncToGenerator2.default)(function* (source) { + if (source) { + var updateColExists = yield RssContentManager.checkIfColumnExists("article", "ar_updatedate"); + var orderStmt = "" + (updateColExists ? "COALESCE( NULLIF( ar_updatedate,'' ), ar_articledate )" : "ar_articledate"); + var query = "SELECT * FROM article WHERE ar_source LIKE '" + source + "' ORDER BY " + orderStmt + " DESC LIMIT 1;"; + return (0, _$$_REQUIRE(_dependencyMap[7]).formatArticlesToDTO)(yield RssContentManager.openTransaction(query, [])); + } + + return []; + }); + + function getArticleBySource(_x11) { + return _getArticleBySource.apply(this, arguments); + } + + return getArticleBySource; + }() + }, { + key: "getCategoryFromFeedId", + value: function () { + var _getCategoryFromFeedId = (0, _asyncToGenerator2.default)(function* (feedId) { + if (feedId) { + var query = "SELECT ca_label AS label FROM article, category WHERE ar_feedId = ? AND ar_catId = ca_id LIMIT 1;"; + + try { + var result = (yield RssContentManager.openTransaction(query, [feedId]))[0]; + return result.label; + } catch (e) { + return ""; + } + } + + return ""; + }); + + function getCategoryFromFeedId(_x12) { + return _getCategoryFromFeedId.apply(this, arguments); + } + + return getCategoryFromFeedId; + }() + }, { + key: "getArticlesInHomeCategory", + value: function () { + var _getArticlesInHomeCategory = (0, _asyncToGenerator2.default)(function* (category, removeAdvertisements) { + if (category) { + var query = "SELECT a.*, p.*, c2.* FROM playlist AS p JOIN article AS a ON a.ar_feedId = p.pl_feedId JOIN category AS c ON c.ca_id = p.pl_catListId JOIN category AS c2 ON c2.ca_id = a.ar_catId WHERE c.ca_label = ?" + (removeAdvertisements ? " AND a.ar_catId != 7777" : "") + " ORDER BY p.pl_id ASC;"; + return (0, _$$_REQUIRE(_dependencyMap[7]).formatArticlesToDTO)(yield RssContentManager.openTransaction(query, [category])); + } + + return []; + }); + + function getArticlesInHomeCategory(_x13, _x14) { + return _getArticlesInHomeCategory.apply(this, arguments); + } + + return getArticlesInHomeCategory; + }() + }, { + key: "getArticlesInMyHome", + value: function () { + var _getArticlesInMyHome = (0, _asyncToGenerator2.default)(function* (categories) { + if (categories) { + var inCondition = categories.map(function (category) { + return "'" + category + "'"; + }).join(); + var query = "SELECT * FROM ( SELECT *, CASE ar_updatedate WHEN '' THEN NULL ELSE ar_updatedate END Date FROM playlist JOIN article ON playlist.pl_feedId = article.ar_feedId JOIN category ON category.ca_id = playlist.pl_catListId " + (" WHERE ca_label IN ( " + inCondition + " ) ") + " AND ( pl_priority NOT LIKE '%\"p\"%' OR pl_priority LIKE '%show%' ) " + " AND ar_catId != '7777' " + " GROUP BY ar_title " + "UNION ALL " + " SELECT *,CASE ar_updatedate WHEN '' THEN NULL ELSE ar_updatedate END Date " + " FROM playlist JOIN article ON playlist.pl_feedId = article.ar_feedId " + " JOIN category ON category.ca_id = playlist.pl_catListId " + (" WHERE ca_label IN ( " + inCondition + " ) ") + " AND (pl_priority NOT LIKE '%\"p\"%' OR pl_priority LIKE '%show%') " + " AND ar_catId =='7777' " + ") " + "ORDER BY COALESCE ( Date,ar_articledate ) DESC;"; + return (0, _$$_REQUIRE(_dependencyMap[7]).formatArticlesToDTO)(yield RssContentManager.openTransaction(query, [])); + } + + return []; + }); + + function getArticlesInMyHome(_x15) { + return _getArticlesInMyHome.apply(this, arguments); + } + + return getArticlesInMyHome; + }() + }, { + key: "getCategoryContent", + value: function () { + var _getCategoryContent = (0, _asyncToGenerator2.default)(function* () { + return RssContentManager.openTransaction("SELECT c.ca_label AS label, COUNT(a.ar_id) AS count, GROUP_CONCAT(a.ar_image, '#') AS image \n FROM playlist AS p\n LEFT JOIN article AS a ON a.ar_feedId = p.pl_feedId\n LEFT JOIN category AS c ON a.ar_catId = c.ca_id\n WHERE c.ca_id < 7777\n GROUP BY c.ca_id\n "); + }); + + function getCategoryContent() { + return _getCategoryContent.apply(this, arguments); + } + + return getCategoryContent; + }() + }, { + key: "searchArticles", + value: function () { + var _searchArticles = (0, _asyncToGenerator2.default)(function* () { + var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; + var query = "\n SELECT *\n FROM \n article AS a\n JOIN playlist AS p ON p.pl_feedId = a.ar_feedId\n JOIN category AS c ON c.ca_id = p.pl_catListId\n WHERE a.ar_htmlbody LIKE '%" + text + "%' OR a.ar_title LIKE '%" + text + "%'\n ORDER BY p.pl_id\n "; + return (0, _$$_REQUIRE(_dependencyMap[7]).formatArticlesToDTO)(yield RssContentManager.openTransaction(query, [])); + }); + + function searchArticles() { + return _searchArticles.apply(this, arguments); + } + + return searchArticles; + }() + }, { + key: "newestEntry", + value: function () { + var _newestEntry = (0, _asyncToGenerator2.default)(function* (categoryIds) { + var updateColExists = yield RssContentManager.checkIfColumnExists("article", "ar_updatedate"); + var selectColStmt = "" + (updateColExists ? "COALESCE( NULLIF( ar_updatedate,'' ), ar_insertdate )" : "ar_insertdate"); + var query = "SELECT " + selectColStmt + " as ar_insertdate " + "FROM article LEFT JOIN playlist ON ar_feedId = pl_feedId " + "WHERE ar_catId != 7777 "; + + if (categoryIds && categoryIds.length) { + query += "AND pl_catListId IN ( " + categoryIds.join() + " )"; + } + + query += " ORDER BY ar_insertdate DESC LIMIT 1"; + var result = yield RssContentManager.openTransaction(query); + return result && result.length ? result[0].ar_insertdate : -1; + }); + + function newestEntry(_x16) { + return _newestEntry.apply(this, arguments); + } + + return newestEntry; + }() + }, { + key: "getBylines", + value: function () { + var _getBylines = (0, _asyncToGenerator2.default)(function* () { + return RssContentManager.openTransaction("SELECT DISTINCT ar_byline FROM article WHERE ca_id < 7777"); + }); + + function getBylines() { + return _getBylines.apply(this, arguments); + } + + return getBylines; + }() + }, { + key: "getCategories", + value: function () { + var _getCategories = (0, _asyncToGenerator2.default)(function* () { + return RssContentManager.openTransaction("SELECT DISTINCT ca_label, ca_id FROM category WHERE ca_id < 7777"); + }); + + function getCategories() { + return _getCategories.apply(this, arguments); + } + + return getCategories; + }() + }, { + key: "getDates", + value: function () { + var _getDates = (0, _asyncToGenerator2.default)(function* () { + var updateColExists = yield RssContentManager.checkIfColumnExists("article", "ar_updatedate"); + var selectColStmt = "" + (updateColExists ? "COALESCE( NULLIF( ar_updatedate,'' ), ar_articledate )" : "ar_articledate"); + return RssContentManager.openTransaction("SELECT DISTINCT " + selectColStmt + " as ar_articledate FROM article ORDER BY ar_articledate ASC"); + }); + + function getDates() { + return _getDates.apply(this, arguments); + } + + return getDates; + }() + }]); + }(); + + RssContentManager.MIGRATIONS = [{ + version: 29400, + queries: ["CREATE TABLE IF NOT EXISTS resource ( re_id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, re_typeId INTEGER NOT NULL, re_value TEXT NOT NULL );", "CREATE TABLE IF NOT EXISTS resource_rel ( rr_id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, rr_feedId INTEGER NOT NULL, rr_resourceId INTEGER NOT NULL );", "CREATE TABLE IF NOT EXISTS resource_type ( rt_id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, rt_name VARCHAR(255) );"] + }]; +},2046,[3,270,6,7,859,566,438,2033]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.getJsonDbUpdate = getJsonDbUpdate; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _axios = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + function getJsonDbUpdate(_x, _x2) { + return _getJsonDbUpdate.apply(this, arguments); + } + + function _getJsonDbUpdate() { + _getJsonDbUpdate = (0, _asyncToGenerator2.default)(function* (newestEntry, categoryIds) { + var _global$getRSSActiveP = global.getRSSActivePSetup(), + baseRssUpdateURL = _global$getRSSActiveP.baseRssUpdateURL; + + if (categoryIds && categoryIds.length) { + baseRssUpdateURL += "&catIds=" + categoryIds.join(); + } + + baseRssUpdateURL += "&newestEntry=" + newestEntry; + var response = yield _axios.default.get(baseRssUpdateURL); + return response.data; + }); + return _getJsonDbUpdate.apply(this, arguments); + } +},2047,[3,270,408]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.sendToAnalytics = undefined; + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _excluded = ["event_action"]; + + var getGalleryAnalytics = function getGalleryAnalytics(params) { + var _global$getActivePSet = global.getActivePSetup(), + xpaper = _global$getActivePSet.xpaper; + + var category = params.category || ""; + var title = params.title || ""; + var type = params.type || ""; + var gallery_id = params.gallery_id || ""; + var index = params.index, + screen_name = params.screen_name; + var screen = "/rssapp/" + (0, _$$_REQUIRE(_dependencyMap[2]).gaBreakout)() + "/" + xpaper + "/" + category + "/gallery/" + title + "/" + index + "/" + type + "/" + gallery_id; + return { + screen: screen, + firebaseEvent: { + customEvent: "live_news_gallery", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[2]).mapParamsToFirebaseCustomDimensions)(params), { + xpaper: xpaper, + category: category, + title: title, + index: index, + type: type, + gallery_id: gallery_id + }) + }, + firebaseScreenView: screen_name + }; + }; + + var getDrawerAnalytics = function getDrawerAnalytics(params) { + var _global$getActivePSet2 = global.getActivePSetup(), + xpaper = _global$getActivePSet2.xpaper; + + var layout = params.layout, + action = params.action, + extra = params.extra, + screen_name = params.screen_name; + var feedUrl = params.feedUrl, + drawerItemKey = params.drawerItemKey; + drawerItemKey = (0, _$$_REQUIRE(_dependencyMap[3]).parseExtra)(extra, "analyticsSectionName", drawerItemKey); + feedUrl = (0, _$$_REQUIRE(_dependencyMap[3]).parseExtra)(extra, "analyticsSectionURL", feedUrl); + var screen = "/rssapp/" + (0, _$$_REQUIRE(_dependencyMap[2]).gaBreakout)() + "/" + xpaper + "/" + drawerItemKey; + + if (layout) { + screen = screen + "/" + layout; + } + + return { + screen: screen, + params: { + action: _$$_REQUIRE(_dependencyMap[4]).analyticsScreenTypes.RSS_DRAWER, + type: "read", + apptype: "rss", + displayName: drawerItemKey, + feedUrl: feedUrl + }, + remp: drawerItemKey, + firebaseEvent: { + customEvent: "live_news_drawer", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[2]).mapParamsToFirebaseCustomDimensions)(params), { + xpaper: xpaper, + name: drawerItemKey, + layout: layout, + action: action + }) + }, + firebaseScreenView: screen_name + }; + }; + + var getDrawerLinkAnalytics = function getDrawerLinkAnalytics(params) { + return { + firebaseEvent: { + customEvent: "open_link", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[2]).mapParamsToFirebaseCustomDimensions)(params), { + label: params.label + }) + } + }; + }; + + var getDownloadRssDbAnalytics = function getDownloadRssDbAnalytics(params) { + return { + firebaseEvent: { + customEvent: "download_rss_db", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[2]).mapParamsToFirebaseCustomDimensions)(params), { + domain: params.domain + }) + } + }; + }; + + var getFullscreenAnalytics = function getFullscreenAnalytics(params) { + var _global$getActivePSet3 = global.getActivePSetup(), + xpaper = _global$getActivePSet3.xpaper; + + var unixDate = params.unixDate, + category = params.category, + title = params.title, + source = params.source, + screen_name = params.screen_name; + + var date = _$$_REQUIRE(_dependencyMap[5]).DateUtils.unixToString(unixDate, "YYYYMMDD_HHmm"); + + var device = (0, _$$_REQUIRE(_dependencyMap[2]).gaBreakout)(); + var screen = "/rssapp/" + device + "/" + category + "/" + date + "/" + title; + return { + screen: screen, + params: { + action: _$$_REQUIRE(_dependencyMap[4]).analyticsScreenTypes.RSS_ARTICLE_READ, + type: "read", + apptype: "rss", + date: date, + category: category, + articletitle: title, + articlesource: source, + devicetype: device + }, + remp: title, + firebaseEvent: { + customEvent: "live_news_read_article", + customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[2]).mapParamsToFirebaseCustomDimensions)(params), { + xpaper: xpaper, + category: category, + date: date, + title: title + }) + }, + firebaseScreenView: screen_name + }; + }; + + var sendToAnalytics = exports.sendToAnalytics = function sendToAnalytics() { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var event_action = params.event_action, + rest = (0, _objectWithoutProperties2.default)(params, _excluded); + + if (!event_action) {} else { + var result = {}; + var eventParams = Object.assign({}, rest, { + action: event_action + }); + + switch (event_action) { + case "live_news_gallery": + case "epaper_gallery": + result = getGalleryAnalytics(eventParams); + break; + + case "fullscreen": + result = getFullscreenAnalytics(eventParams); + break; + + case "drawer": + result = getDrawerAnalytics(rest); + break; + + case "open_link": + result = getDrawerLinkAnalytics(eventParams); + break; + + case "download_rss_db": + result = getDownloadRssDbAnalytics(eventParams); + break; + } + + var _result = result, + screen = _result.screen, + remp = _result.remp, + event = _result.event, + analyticsParams = _result.params, + firebaseEvent = _result.firebaseEvent, + firebaseScreenView = _result.firebaseScreenView; + + if (screen) { + (0, _$$_REQUIRE(_dependencyMap[6]).trackScreen)(screen, analyticsParams); + } + + if (remp) { + (0, _$$_REQUIRE(_dependencyMap[6]).trackRempAccount)(remp); + } + + if (event) { + (0, _$$_REQUIRE(_dependencyMap[6]).trackEvent)(event); + } + + if (firebaseEvent) { + (0, _$$_REQUIRE(_dependencyMap[6]).trackCustomFirebaseEvent)(firebaseEvent); + } + + if (firebaseScreenView) { + (0, _$$_REQUIRE(_dependencyMap[6]).trackCustomFirebaseScreen)(firebaseScreenView, screen, eventParams); + } + } + }; +},2048,[3,4,1906,2028,1909,438,1910]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _PaywallHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _PaywallAJAX = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[8])); + + var _PaywallLoginStatus = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _excluded = ["user"]; + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + var Paywall = exports.default = function () { + function Paywall() { + (0, _classCallCheck2.default)(this, Paywall); + } + + return (0, _createClass2.default)(Paywall, null, [{ + key: "setContainerInstance", + value: function setContainerInstance(instance) { + Paywall.containerInstance = instance; + } + }, { + key: "initConfig", + value: function () { + var _initConfig = (0, _asyncToGenerator2.default)(function* () { + var appId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : global.getRssIndex().paywallAppId; + + _PaywallHelper.default.setStorageName("paywall_" + appId); + + var config = yield _PaywallHelper.default.getConfig(); + + if (config) { + Paywall.config = config; + } + }); + + function initConfig() { + return _initConfig.apply(this, arguments); + } + + return initConfig; + }() + }, { + key: "setConfig", + value: function setConfig(config) { + Paywall.config = config; + + _PaywallHelper.default.setConfig(config); + } + }, { + key: "init", + value: function () { + var _init = (0, _asyncToGenerator2.default)(function* () { + var appId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : global.getRssIndex().paywallAppId; + var strictMode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + if (!appId) { + return false; + } + + Paywall.appId = appId; + yield Paywall.initConfig(); + yield _PaywallLoginStatus.default.initUserStatus(); + + _PaywallAJAX.default.init(appId); + + Paywall.strictMode = strictMode; + Paywall.registerToConnectivityChangeEvent(); + Paywall.firstProductsLeftPopupShown = yield Paywall.isFirstProductsLeftPopupAlreadyShown(); + + if (_$$_REQUIRE(_dependencyMap[10]).NetworkUtils.isOnline()) { + var result = yield Paywall.downloadConfiguration(); + + if (Paywall.initialize) { + Paywall.checkOfflineAccessedProducts(); + + if (_PaywallLoginStatus.default.isUserLoggedIn()) { + if (_PaywallLoginStatus.default.isLoginInvalid()) { + Paywall.logout(); + } else { + Paywall.validateUser(); + } + } else { + Paywall.updateAccountLabel(false); + + if (!Paywall.autoLogin()) { + var show_welcome_popup = Paywall.config.show_welcome_popup; + + if (show_welcome_popup == 1) { + if (!Paywall.isWelcomePopupAlreadyShown()) { + Paywall.welcome(); + } + } + } + } + } + + return result; + } + + if (Paywall.config) { + var sessionString = Paywall.config.sessionString; + + if (sessionString) { + Paywall.initialize = true; + Paywall.updateAccountLabel(_PaywallLoginStatus.default.isUserLoggedIn()); + } + } + + return true; + }); + + function init() { + return _init.apply(this, arguments); + } + + return init; + }() + }, { + key: "checkOfflineAccessedProducts", + value: function () { + var _checkOfflineAccessedProducts = (0, _asyncToGenerator2.default)(function* () { + Paywall.offlineAccessedProductsList = yield _PaywallHelper.default.getOfflineProductsList(); + + if (Paywall.offlineAccessedProductsList && Paywall.offlineAccessedProductsList.length > 0) { + Paywall.offlineAccessedProductsList.forEach(function (ACI) { + Paywall.validate(ACI, false); + }); + Paywall.offlineAccessedProductsList = []; + + _PaywallHelper.default.setOfflineProductsList([]); + } + }); + + function checkOfflineAccessedProducts() { + return _checkOfflineAccessedProducts.apply(this, arguments); + } + + return checkOfflineAccessedProducts; + }() + }, { + key: "registerToConnectivityChangeEvent", + value: function registerToConnectivityChangeEvent() { + _$$_REQUIRE(_dependencyMap[11]).EventRegister.rm(Paywall.onConnectivityChange); + + Paywall.onConnectivityChange = _$$_REQUIRE(_dependencyMap[11]).EventRegister.on(_events.default.ON_CONNECTIVITY_CHANGE, function (_ref) { + var online = _ref.online; + + if (online) { + Paywall.checkOfflineAccessedProducts(); + } + }); + } + }, { + key: "registerToNewsMemoryEvents", + value: function registerToNewsMemoryEvents() { + var _Paywall$loginListene, _Paywall$logoutListen; + + (_Paywall$loginListene = Paywall.loginListener) == null ? undefined : _Paywall$loginListene.remove(); + (_Paywall$logoutListen = Paywall.logoutListener) == null ? undefined : _Paywall$logoutListen.remove(); + + var IOSClassicEPaper = _optionalPackageUtils.default.getIOSClassicEPaper(); + + if (IOSClassicEPaper) { + Paywall.loginListener = IOSClassicEPaper.addListener(IOSClassicEPaper.NEWSMEMORY_LOGIN, function () { + _PaywallLoginStatus.default.getUserStatus().then(function (status) { + _PaywallLoginStatus.default.userStatus = status; + Paywall.autoLogin(); + }); + }); + Paywall.logoutListener = IOSClassicEPaper.addListener(IOSClassicEPaper.NEWSMEMORY_LOGOUT, Paywall.logout); + } + } + }, { + key: "downloadConfiguration", + value: function () { + var _downloadConfiguration = (0, _asyncToGenerator2.default)(function* () { + Paywall.initialize = false; + Paywall.forceAutoLogin = true; + Paywall.accessedProductsList = yield Paywall.getAccessedProductsList(); + + try { + var outcome = yield _PaywallAJAX.default.downloadConfiguration(); + Paywall.setConfig(outcome); + var _Paywall$config = Paywall.config, + sessionString = _Paywall$config.sessionString, + disable_paywall = _Paywall$config.disable_paywall, + user_info = _Paywall$config.user_info; + + if (disable_paywall == 1) { + return true; + } + + if (sessionString) { + _PaywallAJAX.default.setSessionString(sessionString); + + Paywall.initialize = true; + return true; + } + } catch (e) {} + + return false; + }); + + function downloadConfiguration() { + return _downloadConfiguration.apply(this, arguments); + } + + return downloadConfiguration; + }() + }, { + key: "getProductType", + value: function getProductType(ACI) { + var _productType; + + var _Paywall$config2 = Paywall.config, + default_product_type = _Paywall$config2.default_product_type, + products_rules = _Paywall$config2.products_rules; + + if (_$$_REQUIRE(_dependencyMap[10]).JSUtils.isEmpty(products_rules == null ? undefined : products_rules.rules)) { + return default_product_type; + } + + var productType; + + var _loop = function _loop() { + var rule = products_rules.rules[r]; + var ruleSplit = rule.split(":"); + var condition = ruleSplit[0].trim(); + var currentProductType = ruleSplit[1].trim(); + var categoriesOR = []; + var conditionORSplit = condition.split(" OR "); + conditionORSplit.forEach(function (conditionOR) { + var conditionANDSplit = conditionOR.split(" AND "); + + if (conditionANDSplit.length > 1) { + categoriesOR.push(conditionANDSplit); + } else { + categoriesOR.push(conditionOR); + } + }); + + for (var i = 0; i < categoriesOR.length; i++) { + var categoryOR = categoriesOR[i]; + + if (Array.isArray(categoryOR)) { + var respectCondition = true; + + for (var j = 0; j < categoryOR.length; j++) { + var categoryAND = categoryOR[j]; + + if (!Paywall.checkRuleCondition(ACI, categoryAND)) { + respectCondition = false; + break; + } + } + + if (respectCondition) { + productType = currentProductType; + break; + } + } else if (Paywall.checkRuleCondition(ACI, categoryOR)) { + productType = currentProductType; + break; + } + } + }; + + for (var r = 0; r < products_rules.rules.length; r++) { + _loop(); + } + + return (_productType = productType) != null ? _productType : default_product_type; + } + }, { + key: "checkRuleCondition", + value: function checkRuleCondition(ACI, condition) { + var notCondition = condition.indexOf("NOT ") !== -1; + + if (notCondition) { + condition = condition.replace("NOT ", "").trim(); + } + + try { + var matches = ACI.match(new RegExp(condition)) !== null; + return notCondition !== matches; + } catch (e) { + return false; + } + } + }, { + key: "isFreeProduct", + value: function isFreeProduct(productType) { + return productType === Paywall.config.free_product_type; + } + }, { + key: "validate", + value: function () { + var _validate = (0, _asyncToGenerator2.default)(function* (ACI) { + var showPopups = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; + + if (!Paywall.initialize) { + var _global$getRssIndex = global.getRssIndex(), + attachPaywallToArticle = _global$getRssIndex.attachPaywallToArticle; + + if (Paywall.shouldShowHardPaywall() && !attachPaywallToArticle) { + _$$_REQUIRE(_dependencyMap[11]).EventRegister.emit(_events.default.OPEN_OPTIONSPAGE, { + tab: _$$_REQUIRE(_dependencyMap[12]).tabs.account, + forceFullscreen: true + }); + } else {} + + return true; + } + + if (Paywall.isAlreadyAccessed(ACI)) { + _$$_REQUIRE(_dependencyMap[11]).EventRegister.emit(_events.default.PAYWALL_VALIDATE, { + ACI: ACI, + validated: true + }); + + return true; + } + + var productType = Paywall.getProductType(ACI); + + if (!productType || Paywall.isFreeProduct(productType)) { + return true; + } + + if (_$$_REQUIRE(_dependencyMap[10]).NetworkUtils.isOnline()) { + try { + var outcome = yield _PaywallAJAX.default.validate(ACI, productType); + return Paywall.handleValidationSuccess(ACI, outcome, showPopups); + } catch (e) { + if (e instanceof _PaywallAJAX.PaywallError && e.getCode() === _$$_REQUIRE(_dependencyMap[13]).serverStatusCodes.SESSION_EXPIRED) { + var sessionResult = yield Paywall.handleSessionExpired(); + + if (sessionResult) { + if (Paywall.strictMode) { + var validationResult = yield Paywall.validate(ACI, showPopups); + return validationResult; + } + + Paywall.validate(ACI, showPopups); + } + } + } + + return true; + } + + var productsLeft = yield Paywall.getLastProductsLeft(); + + if (productsLeft && (productsLeft === _$$_REQUIRE(_dependencyMap[13]).UNLIMITED_ACCESS || productsLeft >= 0)) { + if (productsLeft !== _$$_REQUIRE(_dependencyMap[13]).UNLIMITED_ACCESS) { + Paywall.setLastProductsLeft(parseInt(productsLeft, 10) - 1); + } + + Paywall.offlineAccessedProductsList.push(ACI); + + _PaywallHelper.default.setOfflineProductsList(Paywall.offlineAccessedProductsList); + + _$$_REQUIRE(_dependencyMap[11]).EventRegister.emit(_events.default.PAYWALL_VALIDATE, { + ACI: ACI, + validated: true + }); + } else { + Paywall.showOfflineDialog(true); + + _$$_REQUIRE(_dependencyMap[11]).EventRegister.emit(_events.default.PAYWALL_GO_BACK_HOME); + } + + return true; + }); + + function validate(_x) { + return _validate.apply(this, arguments); + } + + return validate; + }() + }, { + key: "handleValidationSuccess", + value: function handleValidationSuccess(ACI, outcome) { + var showPopups = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; + var hasAccess = true; + var productsLeft = outcome.productsLeft, + productType = outcome.productType; + var _Paywall$config3 = Paywall.config, + show_first_products_left_popup = _Paywall$config3.show_first_products_left_popup, + show_latest_products_left_popup = _Paywall$config3.show_latest_products_left_popup, + show_period_products_left_popup = _Paywall$config3.show_period_products_left_popup, + show_custom_products_left_popup = _Paywall$config3.show_custom_products_left_popup, + show_paywall = _Paywall$config3.show_paywall; + Paywall.setLastProductsLeft(productsLeft); + + if (productsLeft === _$$_REQUIRE(_dependencyMap[13]).UNLIMITED_ACCESS) {} else if (productsLeft >= 0) { + var min_threshold = Paywall.config.min_threshold; + + if (productType && Paywall.config[productType] && Paywall.config[productType].min_threshold !== undefined) { + min_threshold = Paywall.config[productType].min_threshold; + } + + var period = parseInt(show_period_products_left_popup || 0, 10); + var custom = !!show_custom_products_left_popup && show_custom_products_left_popup.split(",").reduce(function (prev, current) { + return prev || parseInt(current, 10) === productsLeft; + }, false); + + if (showPopups && (show_first_products_left_popup == 1 && !Paywall.firstProductsLeftPopupShown || show_latest_products_left_popup == 1 && productsLeft < min_threshold || period > 0 && productsLeft % period === 0 || custom)) { + var _Paywall$containerIns; + + if (!Paywall.firstProductsLeftPopupShown) { + Paywall.setFirstProductsLeftPopupAlreadyShown(); + } + + (_Paywall$containerIns = Paywall.containerInstance) == null ? undefined : _Paywall$containerIns.showPopup({ + type: _$$_REQUIRE(_dependencyMap[13]).popupTypes.productsLeft, + productsLeft: productsLeft, + ACI: ACI + }); + } + } else { + if (showPopups && show_paywall == 1) { + if (Paywall.needToAppendPaywallPopup(ACI)) { + _$$_REQUIRE(_dependencyMap[11]).EventRegister.emit(_events.default.PAYWALL_OPEN_POPUP, { + forceAutoLogin: Paywall.forceAutoLogin + }); + } else { + var _Paywall$containerIns2; + + (_Paywall$containerIns2 = Paywall.containerInstance) == null ? undefined : _Paywall$containerIns2.showPopup({ + type: _$$_REQUIRE(_dependencyMap[13]).popupTypes.blocking, + ACI: ACI, + forceAutoLogin: Paywall.forceAutoLogin + }); + } + + Paywall.forceAutoLogin = false; + } + + hasAccess = false; + } + + if (hasAccess) { + _$$_REQUIRE(_dependencyMap[11]).EventRegister.emit(_events.default.PAYWALL_VALIDATE, { + ACI: ACI, + validated: true + }); + + Paywall.addToAccessedProductsList(ACI); + } + + return hasAccess; + } + }, { + key: "handleSessionExpired", + value: function () { + var _handleSessionExpired = (0, _asyncToGenerator2.default)(function* () { + var result = yield Paywall.downloadConfiguration(); + + if (!result) {} + + return result; + }); + + function handleSessionExpired() { + return _handleSessionExpired.apply(this, arguments); + } + + return handleSessionExpired; + }() + }, { + key: "validateUser", + value: function () { + var _validateUser = (0, _asyncToGenerator2.default)(function* () { + if (!Paywall.initialize) { + return; + } + + try { + var outcome = yield _PaywallAJAX.default.validateUser(); + Paywall.handleUserValidationSuccess(outcome); + } catch (e) { + if (e instanceof _PaywallAJAX.PaywallError && e.getCode() === _$$_REQUIRE(_dependencyMap[13]).serverStatusCodes.SESSION_EXPIRED) { + var sessionResult = yield Paywall.handleSessionExpired(); + + if (sessionResult) { + Paywall.validateUser(); + } + } + } + }); + + function validateUser() { + return _validateUser.apply(this, arguments); + } + + return validateUser; + }() + }, { + key: "handleUserValidationSuccess", + value: function handleUserValidationSuccess(outcome) { + var username = outcome.user, + isLogged = outcome.isLogged; + + if (!isLogged) { + if (!Paywall.autoLogin()) { + _$$_REQUIRE(_dependencyMap[11]).EventRegister.emit(_events.default.PAYWALL_LOGOUT); + + Paywall.handleLogoutSuccess(); + } + } else { + var _PaywallLoginStatus$g = _PaywallLoginStatus.default.getCredentials(), + user = _PaywallLoginStatus$g.user, + rest = (0, _objectWithoutProperties2.default)(_PaywallLoginStatus$g, _excluded); + + if (!user && username) { + _PaywallLoginStatus.default.remember(Object.assign({ + user: username + }, rest)); + } + + Paywall.updateAccountLabel(true); + } + } + }, { + key: "handleLoginSuccess", + value: function handleLoginSuccess(outcome, ACI, removePopupsAfterValidation) { + _PaywallLoginStatus.default.updateUserStatus(outcome); + + Paywall.updateAccountLabel(); + + var validationCallback = function validationCallback() {}; + + if (removePopupsAfterValidation) { + validationCallback = function validationCallback(hasAccess) { + if (hasAccess) { + Paywall.remove(); + } + }; + } else { + Paywall.remove(); + } + + if (ACI) { + Paywall.validate(ACI).then(validationCallback); + } + + _$$_REQUIRE(_dependencyMap[11]).EventRegister.emit(_events.default.CHANGE_ADS_VISIBILITY, { + hideAds: _PaywallLoginStatus.default.isAdFree() + }); + } + }, { + key: "logout", + value: function () { + var _logout = (0, _asyncToGenerator2.default)(function* (ACI, manual) { + var result = false; + + if (Paywall.initialize) { + try { + var outcome = yield _PaywallAJAX.default.logout(); + + if (manual) { + _$$_REQUIRE(_dependencyMap[11]).EventRegister.emit(_events.default.PAYWALL_LOGOUT); + } + + result = Paywall.handleLogoutSuccess(outcome, ACI, manual); + } catch (e) { + if (e instanceof _PaywallAJAX.PaywallError && e.getCode() === _$$_REQUIRE(_dependencyMap[13]).serverStatusCodes.SESSION_EXPIRED) { + var sessionResult = yield Paywall.handleSessionExpired(); + + if (sessionResult) { + result = yield Paywall.logout(ACI, manual); + } + } else {} + } + } else {} + + return result; + }); + + function logout(_x2, _x3) { + return _logout.apply(this, arguments); + } + + return logout; + }() + }, { + key: "handleLogoutSuccess", + value: function handleLogoutSuccess(outcome, ACI, manual) { + _PaywallLoginStatus.default.resetUserStatus(); + + Paywall.updateAccountLabel(); + + _$$_REQUIRE(_dependencyMap[11]).EventRegister.emit(_events.default.CHANGE_ADS_VISIBILITY, { + hideAds: false + }); + + if (outcome) { + Paywall.remove(); + + if (ACI) { + Paywall.validate(ACI); + } else if (manual) { + Paywall.account(); + } + } + } + }, { + key: "replaceExtIdInUrl", + value: function replaceExtIdInUrl(url) { + if (url && typeof url === "string") { + var _PaywallLoginStatus$g2; + + return url.replace("##extid##", (_PaywallLoginStatus$g2 = _PaywallLoginStatus.default.getExtid()) != null ? _PaywallLoginStatus$g2 : ""); + } + + return url; + } + }, { + key: "updateAccountLabel", + value: function updateAccountLabel() { + var loggedIn = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _PaywallLoginStatus.default.isUserLoggedIn(); + + if (Paywall.initialize) { + var messages = Paywall.config.messages; + + if (messages) { + var userLoggedInText = messages.userLoggedInText, + userNotLoggedText = messages.userNotLoggedText; + var caption = loggedIn ? userLoggedInText : userNotLoggedText; + + _$$_REQUIRE(_dependencyMap[11]).EventRegister.emit(_events.default.PAYWALL_USER_STATUS_UPDATE, { + loggedIn: loggedIn, + caption: caption + }); + } + } + } + }, { + key: "autoLogin", + value: function autoLogin() { + var _Paywall$containerIns3; + + if (!Paywall.initialize) { + return false; + } + + var credentials = _PaywallLoginStatus.default.getCredentials(); + + if (!credentials) { + return false; + } + + var user = credentials.user, + pwdEncrypt = credentials.pwdEncrypt, + token = credentials.token; + + if (!token && (!user || !pwdEncrypt)) { + return false; + } + + if (token) {} else {} + + (_Paywall$containerIns3 = Paywall.containerInstance) == null ? undefined : _Paywall$containerIns3.showPopup({ + type: _$$_REQUIRE(_dependencyMap[13]).popupTypes.login, + isInvisible: true, + forceAutoLogin: true + }); + return true; + } + }, { + key: "isAlreadyAccessed", + value: function isAlreadyAccessed(ACI) { + return Paywall.accessedProductsList.findIndex(function (product) { + return product.ACI === ACI; + }) !== -1; + } + }, { + key: "getAccessedProductsList", + value: function () { + var _getAccessedProductsList = (0, _asyncToGenerator2.default)(function* () { + var productsList = yield _PaywallHelper.default.getAccessedProductsList(); + + if (productsList) { + var filteredProductsList = productsList.filter(function (product) { + return product.addTime + _$$_REQUIRE(_dependencyMap[13]).accessedProductsDuration >= Date.now(); + }); + + if (filteredProductsList.length < productsList.length) { + _PaywallHelper.default.setAccessedProductsList(filteredProductsList); + + return filteredProductsList; + } + + return productsList; + } + + return []; + }); + + function getAccessedProductsList() { + return _getAccessedProductsList.apply(this, arguments); + } + + return getAccessedProductsList; + }() + }, { + key: "addToAccessedProductsList", + value: function addToAccessedProductsList(ACI) { + var newEntry = { + ACI: ACI, + addTime: Date.now() + }; + Paywall.accessedProductsList.push(newEntry); + + _PaywallHelper.default.setAccessedProductsList(Paywall.accessedProductsList); + } + }, { + key: "isWelcomePopupAlreadyShown", + value: function () { + var _isWelcomePopupAlreadyShown = (0, _asyncToGenerator2.default)(function* () { + return _PaywallHelper.default.isWelcomePopupAlreadyShown(); + }); + + function isWelcomePopupAlreadyShown() { + return _isWelcomePopupAlreadyShown.apply(this, arguments); + } + + return isWelcomePopupAlreadyShown; + }() + }, { + key: "setWelcomePopupAlreadyShown", + value: function setWelcomePopupAlreadyShown() { + _PaywallHelper.default.setWelcomePopupAlreadyShown(); + } + }, { + key: "isFirstProductsLeftPopupAlreadyShown", + value: function () { + var _isFirstProductsLeftPopupAlreadyShown = (0, _asyncToGenerator2.default)(function* () { + return _PaywallHelper.default.isFirstProductsLeftPopupAlreadyShown(); + }); + + function isFirstProductsLeftPopupAlreadyShown() { + return _isFirstProductsLeftPopupAlreadyShown.apply(this, arguments); + } + + return isFirstProductsLeftPopupAlreadyShown; + }() + }, { + key: "setFirstProductsLeftPopupAlreadyShown", + value: function setFirstProductsLeftPopupAlreadyShown() { + Paywall.firstProductsLeftPopupShown = true; + + _PaywallHelper.default.setFirstProductsLeftPopupAlreadyShown(); + } + }, { + key: "setLastProductsLeft", + value: function setLastProductsLeft(productsLeft) { + _PaywallHelper.default.setLastProductsLeft(productsLeft); + } + }, { + key: "getLastProductsLeft", + value: function () { + var _getLastProductsLeft = (0, _asyncToGenerator2.default)(function* () { + return _PaywallHelper.default.getLastProductsLeft(); + }); + + function getLastProductsLeft() { + return _getLastProductsLeft.apply(this, arguments); + } + + return getLastProductsLeft; + }() + }, { + key: "account", + value: function account() { + if (!_$$_REQUIRE(_dependencyMap[10]).NetworkUtils.isOnline()) { + Paywall.showOfflineDialog(); + return; + } + + if (Paywall.initialize) { + var _Paywall$containerIns4; + + var type = _PaywallLoginStatus.default.isUserLoggedIn() ? _$$_REQUIRE(_dependencyMap[13]).popupTypes.account : _$$_REQUIRE(_dependencyMap[13]).popupTypes.login; + (_Paywall$containerIns4 = Paywall.containerInstance) == null ? undefined : _Paywall$containerIns4.showPopup({ + type: type + }); + } else { + var _global$getRssIndex2 = global.getRssIndex(), + mustLoginToViewArticle = _global$getRssIndex2.mustLoginToViewArticle; + + if (mustLoginToViewArticle) { + _$$_REQUIRE(_dependencyMap[11]).EventRegister.emit(_events.default.OPEN_OPTIONSPAGE, { + tab: _$$_REQUIRE(_dependencyMap[12]).tabs.account, + forceFullscreen: true + }); + } else {} + } + } + }, { + key: "welcome", + value: function welcome() { + var _Paywall$containerIns5; + + (_Paywall$containerIns5 = Paywall.containerInstance) == null ? undefined : _Paywall$containerIns5.showPopup({ + type: _$$_REQUIRE(_dependencyMap[13]).popupTypes.welcome + }); + Paywall.setWelcomePopupAlreadyShown(); + } + }, { + key: "hidePopup", + value: function hidePopup() { + var _Paywall$containerIns6; + + (_Paywall$containerIns6 = Paywall.containerInstance) == null ? undefined : _Paywall$containerIns6.hidePopup(); + } + }, { + key: "unhidePopup", + value: function unhidePopup() { + var _Paywall$containerIns7; + + (_Paywall$containerIns7 = Paywall.containerInstance) == null ? undefined : _Paywall$containerIns7.unhidePopup(); + } + }, { + key: "remove", + value: function remove() { + var _Paywall$containerIns8; + + (_Paywall$containerIns8 = Paywall.containerInstance) == null ? undefined : _Paywall$containerIns8.removePopup(); + } + }, { + key: "showOfflineDialog", + value: function showOfflineDialog() { + var validate = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + var buttons = [{ + text: global.strings("btn_ok") + }]; + var message = validate ? global.strings("paywall_offline_warning") : global.strings("err_offline"); + + _$$_REQUIRE(_dependencyMap[14]).CustomAlert.alert("", message, buttons, { + cancelable: false + }); + } + }, { + key: "shouldShowHardPaywall", + value: function shouldShowHardPaywall() { + var _global$getRssIndex3 = global.getRssIndex(), + mustLoginToViewArticle = _global$getRssIndex3.mustLoginToViewArticle; + + if (mustLoginToViewArticle) { + var _global$getRSSActiveP = global.getRSSActivePSetup(), + loginStatus = _global$getRSSActiveP.loginStatus; + + if (loginStatus && !loginStatus.isLoggedIn()) { + return true; + } + } + + return false; + } + }, { + key: "needToAppendHardPaywall", + value: function needToAppendHardPaywall() { + var _global$getRssIndex4 = global.getRssIndex(), + attachPaywallToArticle = _global$getRssIndex4.attachPaywallToArticle; + + return Paywall.shouldShowHardPaywall() && attachPaywallToArticle; + } + }, { + key: "shouldAppendPaywallPopup", + value: function shouldAppendPaywallPopup() { + var style = Paywall.config.style; + + if (style) { + var attachPaywallToArticle = style.attachPaywallToArticle; + return attachPaywallToArticle === "1"; + } + + return false; + } + }, { + key: "shouldShowPaywall", + value: function shouldShowPaywall(ACI) { + return Paywall.shouldShowHardPaywall() || Paywall.needToAppendPaywallPopup(ACI); + } + }, { + key: "shouldAppendPaywall", + value: function shouldAppendPaywall() { + return Paywall.needToAppendHardPaywall() || Paywall.shouldAppendPaywallPopup(); + } + }, { + key: "needToAppendPaywallPopup", + value: function needToAppendPaywallPopup(ACI) { + var productType = Paywall.getProductType(ACI); + return Paywall.shouldAppendPaywallPopup() && productType && !Paywall.isFreeProduct(productType) && !Paywall.isAlreadyAccessed(ACI); + } + }, { + key: "needToAppendPaywall", + value: function needToAppendPaywall(ACI) { + return Paywall.needToAppendHardPaywall() || Paywall.needToAppendPaywallPopup(ACI); + } + }, { + key: "getArticlePreviewLength", + value: function getArticlePreviewLength() { + if (Paywall.needToAppendHardPaywall()) { + var _global$getRssIndex5 = global.getRssIndex(), + articlePreviewLength = _global$getRssIndex5.articlePreviewLength; + + return articlePreviewLength; + } + + if (Paywall.shouldAppendPaywallPopup()) { + var style = Paywall.config.style; + + if (style) { + var protectThreshold = style.protectThreshold; + return parseInt(protectThreshold, 10); + } + } + + return 0; + } + }, { + key: "getArticlePreviewMessage", + value: function getArticlePreviewMessage() { + if (Paywall.shouldAppendPaywallPopup()) { + var style = Paywall.config.style; + + if (style) { + var protectArticleMessage = style.protectArticleMessage; + return protectArticleMessage; + } + } + + return ""; + } + }, { + key: "getDecryptionKey", + value: function () { + var _getDecryptionKey = (0, _asyncToGenerator2.default)(function* (seed) { + try { + var result = yield _PaywallAJAX.default.getDecryptionKey(seed); + + if (result) { + var status = result.status, + key = result.key; + + if (status === "OK") { + return key; + } + } + } catch (e) {} + + return ""; + }); + + function getDecryptionKey(_x4) { + return _getDecryptionKey.apply(this, arguments); + } + + return getDecryptionKey; + }() + }]); + }(); + + Paywall.initialize = false; + Paywall.strictMode = false; + Paywall.config = {}; + Paywall.accessedProductsList = []; + Paywall.offlineAccessedProductsList = []; + Paywall.firstProductsLeftPopupShown = false; + Paywall.forceAutoLogin = true; +},2049,[3,4,270,6,7,1919,436,879,2050,1918,438,564,878,1920,812]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.PaywallError = undefined; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _wrapNativeSuper2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _axios = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _PaywallLoginStatus = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var PaywallError = exports.PaywallError = function (_Error) { + function PaywallError(code, message) { + var _this; + + (0, _classCallCheck2.default)(this, PaywallError); + _this = _callSuper(this, PaywallError); + _this.code = code; + _this.message = message; + return _this; + } + + (0, _inherits2.default)(PaywallError, _Error); + return (0, _createClass2.default)(PaywallError, [{ + key: "getCode", + value: function getCode() { + return this.code; + } + }, { + key: "getMessage", + value: function getMessage() { + return this.message; + } + }]); + }((0, _wrapNativeSuper2.default)(Error)); + + var PaywallAJAX = exports.default = function () { + function PaywallAJAX() { + (0, _classCallCheck2.default)(this, PaywallAJAX); + } + + return (0, _createClass2.default)(PaywallAJAX, null, [{ + key: "init", + value: function init(appId) { + PaywallAJAX.appId = appId; + } + }, { + key: "setSessionString", + value: function setSessionString(sessionString) { + PaywallAJAX.sessionString = sessionString; + } + }, { + key: "handleError", + value: function handleError(error) { + var message = error.message; + } + }, { + key: "simpleGet", + value: function () { + var _simpleGet = (0, _asyncToGenerator2.default)(function* (url) { + var timeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 10000; + var message = "TIMEOUT"; + var retries = 0; + + do { + try { + var _yield$Axios$get = yield _axios.default.get(url, { + timeout: timeout + }), + status = _yield$Axios$get.status, + data = _yield$Axios$get.data; + + if (status === 200) { + if (data) { + return data; + } + } else { + message = "unexpected HTTP status code " + status + " for url " + url; + } + } catch (e) { + message = "failed to load " + url + ": " + e.message; + } + + retries++; + } while (retries < 3); + + PaywallAJAX.handleError({ + message: message + }); + return undefined; + }); + + function simpleGet(_x) { + return _simpleGet.apply(this, arguments); + } + + return simpleGet; + }() + }, { + key: "handleRequest", + value: function () { + var _handleRequest = (0, _asyncToGenerator2.default)(function* (url) { + var outcome; + var status = 0; + var message = "TIMEOUT"; + var retries = 0; + + do { + try { + var _yield$Axios$get2 = yield _axios.default.get(url, { + timeout: 30000 + }), + HTTPStatusCode = _yield$Axios$get2.status, + data = _yield$Axios$get2.data; + + if (HTTPStatusCode === 200 || HTTPStatusCode === 301 || HTTPStatusCode === 304) { + if (data) { + var error = data.error; + status = error.status; + message = error.message; + status = parseInt(status, 10); + + if (status === _$$_REQUIRE(_dependencyMap[11]).serverStatusCodes.SUCCESS) { + outcome = data.outcome; + } + } + } else { + status = HTTPStatusCode; + message = "unexpected HTTP status code " + HTTPStatusCode + " for url " + url; + } + } catch (e) { + message = "failed to load " + url + ": " + e.message; + } + + retries++; + } while (!outcome && retries < 3); + + if (outcome) { + return outcome; + } + + PaywallAJAX.handleError({ + message: message + }); + throw new PaywallError(status, message); + }); + + function handleRequest(_x2) { + return _handleRequest.apply(this, arguments); + } + + return handleRequest; + }() + }, { + key: "getBaseURL", + value: function getBaseURL() { + var baseURL; + + var _global$getUserSettin = global.getUserSettings(), + notificationEmail = _global$getUserSettin.notificationEmail; + + if (notificationEmail) { + var _StringUtils$parseNot = _$$_REQUIRE(_dependencyMap[12]).StringUtils.parseNotificationEmail(notificationEmail); + + baseURL = _StringUtils$parseNot.server; + } else if (PaywallAJAX.appId) { + var isHTTPS = global.isHTTPS(); + var appId = isHTTPS ? PaywallAJAX.appId.replace(_$$_REQUIRE(_dependencyMap[13]).HTTP_DOMAIN_SEPARATOR, _$$_REQUIRE(_dependencyMap[13]).HTTPS_DOMAIN_SEPARATOR) : PaywallAJAX.appId; + var separator = isHTTPS ? _$$_REQUIRE(_dependencyMap[13]).HTTPS_DOMAIN_SEPARATOR : _$$_REQUIRE(_dependencyMap[13]).HTTP_DOMAIN_SEPARATOR; + baseURL = appId + separator + _$$_REQUIRE(_dependencyMap[11]).serverBaseDomain; + } else { + baseURL = global.getAppServer(); + } + + return _$$_REQUIRE(_dependencyMap[12]).NetworkUtils.addDefaultProtocol(baseURL); + } + }, { + key: "getDefaultParams", + value: function getDefaultParams() { + var app = "A"; + + if (_$$_REQUIRE(_dependencyMap[12]).PlatformUtils.isAndroid()) { + app = _deviceUtils.default.isKindle() ? "K" : "G"; + } + + return { + app: app, + appPSetup: global.getAppPSetup(), + appVersion: _deviceUtils.default.getAppVersion(), + baseVer: _$$_REQUIRE(_dependencyMap[11]).baseVer + }; + } + }, { + key: "isServiceProtected", + value: function isServiceProtected(service) { + return _$$_REQUIRE(_dependencyMap[11]).protectedServices.includes(service); + } + }, { + key: "getBaseMeterURL", + value: function getBaseMeterURL() { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + + var meterParams = _$$_REQUIRE(_dependencyMap[12]).StringUtils.getQuerystring(Object.assign({}, PaywallAJAX.getDefaultParams(), params)); + + return PaywallAJAX.getBaseURL() + "?meter&" + meterParams; + } + }, { + key: "getServiceURL", + value: function getServiceURL(service) { + var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _global = global, + machineId = _global.machineId; + machineId = machineId.split(",")[0]; + + var TAUID = _PaywallLoginStatus.default.getTAUID(); + + if (TAUID) { + machineId += "," + TAUID; + } + + params.ta_MACHINE_ID = machineId; + + if (PaywallAJAX.isServiceProtected(service)) { + var queryString = _$$_REQUIRE(_dependencyMap[12]).StringUtils.getQuerystring(params); + + params.mac = PaywallAJAX.computeMac(queryString); + } + + return PaywallAJAX.getBaseMeterURL(Object.assign({ + service: service + }, params)); + } + }, { + key: "getConfigURL", + value: function getConfigURL() { + return PaywallAJAX.getServiceURL(_$$_REQUIRE(_dependencyMap[11]).services.config); + } + }, { + key: "getPopupURL", + value: function getPopupURL(popup) { + var extraParams = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var params = Object.assign({ + popup: popup + }, extraParams); + + if (_PaywallLoginStatus.default.isUserLoggedIn()) { + var credentials = _PaywallLoginStatus.default.getCredentials(); + + if (credentials != null && credentials.user) { + params.user = credentials.user; + } + + if (credentials != null && credentials.soPass) { + params.soPass = credentials.soPass; + } + } + + return PaywallAJAX.getServiceURL(_$$_REQUIRE(_dependencyMap[11]).services.popups, params); + } + }, { + key: "getValidationURL", + value: function getValidationURL(ACI, productType) { + var params = { + ACI: ACI, + productType: productType, + locallyLoggedIn: _PaywallLoginStatus.default.isUserLoggedIn() ? "1" : "0" + }; + return PaywallAJAX.getServiceURL(_$$_REQUIRE(_dependencyMap[11]).services.validate, params); + } + }, { + key: "getUserValidationURL", + value: function getUserValidationURL() { + var params = {}; + + var credentials = _PaywallLoginStatus.default.getCredentials(); + + if (credentials != null && credentials.user) { + params.user = credentials.user; + } + + return PaywallAJAX.getServiceURL(_$$_REQUIRE(_dependencyMap[11]).services.user_validate, params); + } + }, { + key: "getLogoutURL", + value: function getLogoutURL(ACI) { + var params = { + ACI: ACI + }; + + var credentials = _PaywallLoginStatus.default.getCredentials(); + + if (credentials != null && credentials.user) { + params.user = credentials.user; + } + + return PaywallAJAX.getServiceURL(_$$_REQUIRE(_dependencyMap[11]).services.logout, params); + } + }, { + key: "computeMac", + value: function computeMac(queryString) { + return _$$_REQUIRE(_dependencyMap[12]).StringUtils.getMd5(_$$_REQUIRE(_dependencyMap[12]).StringUtils.getMd5(queryString) + PaywallAJAX.sessionString); + } + }, { + key: "getDecryptionKeyURL", + value: function getDecryptionKeyURL() { + var seed = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; + return PaywallAJAX.getBaseMeterURL({ + getkey: seed + }); + } + }, { + key: "downloadConfiguration", + value: function () { + var _downloadConfiguration = (0, _asyncToGenerator2.default)(function* () { + var getConfigURL = PaywallAJAX.getConfigURL(); + return PaywallAJAX.handleRequest(getConfigURL); + }); + + function downloadConfiguration() { + return _downloadConfiguration.apply(this, arguments); + } + + return downloadConfiguration; + }() + }, { + key: "validate", + value: function () { + var _validate = (0, _asyncToGenerator2.default)(function* (ACI, productType) { + var getValidationURL = PaywallAJAX.getValidationURL(ACI, productType); + return PaywallAJAX.handleRequest(getValidationURL); + }); + + function validate(_x3, _x4) { + return _validate.apply(this, arguments); + } + + return validate; + }() + }, { + key: "validateUser", + value: function () { + var _validateUser = (0, _asyncToGenerator2.default)(function* () { + var getUserValidationURL = PaywallAJAX.getUserValidationURL(); + return PaywallAJAX.handleRequest(getUserValidationURL); + }); + + function validateUser() { + return _validateUser.apply(this, arguments); + } + + return validateUser; + }() + }, { + key: "logout", + value: function () { + var _logout = (0, _asyncToGenerator2.default)(function* (ACI, manual) { + var getLogoutURL = PaywallAJAX.getLogoutURL(); + return PaywallAJAX.handleRequest(getLogoutURL); + }); + + function logout(_x5, _x6) { + return _logout.apply(this, arguments); + } + + return logout; + }() + }, { + key: "getDecryptionKey", + value: function () { + var _getDecryptionKey = (0, _asyncToGenerator2.default)(function* (seed) { + var getDecryptionKeyURL = PaywallAJAX.getDecryptionKeyURL(seed); + return PaywallAJAX.simpleGet(getDecryptionKeyURL); + }); + + function getDecryptionKey(_x7) { + return _getDecryptionKey.apply(this, arguments); + } + + return getDecryptionKey; + }() + }]); + }(); +},2050,[3,270,6,7,11,13,14,61,408,434,1918,1920,438,555]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var taRequest = function () { + var _ref = (0, _asyncToGenerator2.default)(function* () { + return new Promise(function (resolve, reject) { + _$$_REQUIRE(_dependencyMap[4]).CustomAlert.alert(global.strings("android_location_usage_title"), global.strings("android_location_usage_message"), [{ + text: global.strings("btn_ok"), + onPress: resolve + }], { + cancelable: false, + dontUseModal: true + }); + }); + }); + + return function taRequest() { + return _ref.apply(this, arguments); + }; + }(); + + var LocationPermission = exports.default = function () { + function LocationPermission() { + (0, _classCallCheck2.default)(this, LocationPermission); + } + + return (0, _createClass2.default)(LocationPermission, null, [{ + key: "ask", + value: function () { + var _ask = (0, _asyncToGenerator2.default)(function* () { + if (_$$_REQUIRE(_dependencyMap[5]).PlatformUtils.isIOS()) { + return; + } + + var _global$getUserSettin = global.getUserSettings(), + userAlreadySetLocationPermission = _global$getUserSettin.userAlreadySetLocationPermission; + + if (!userAlreadySetLocationPermission) { + yield taRequest(); + } + + global.getUserSettings().setUserAlreadySetLocationPermission(); + }); + + function ask() { + return _ask.apply(this, arguments); + } + + return ask; + }() + }]); + }(); +},2051,[3,6,7,270,812,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -243358,14 +267136,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e htmlContentId: "", disableStartAutoHeightEvaluation: false }; -},1924,[3,33,4,16,568,1925,1926,179,1927]); +},2052,[3,33,4,16,582,2053,2054,179,2055]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true }); exports.checkContentHeight = undefined; var checkContentHeight = exports.checkContentHeight = "\n function (id, oneShot) {\n if(oneShot === undefined){\n oneShot = false;\n }\n var MILLS_TO_CHECK = 500;\n var STEP_CHECK_COUNTER = 40;\n var step = 1;\n var counter = 0;\n var oldHeight = 0;\n var getHeight = function(param) {\n var currentHeight = 0;\n try {\n var element; \n if (param) { \n element = document.getElementById(param); \n } \n if (!element) {\n element = document.body;\n }\n currentHeight = Math.max(element.scrollHeight, element.offsetHeight, element.clientHeight);\n console.log(param+' - '+currentHeight);\n } catch (e) {}\n return currentHeight;\n };\n var sendHeight = function(height) {\n try {\n if (window.ReactNativeWebView) {\n window.ReactNativeWebView.postMessage(JSON.stringify({ content: height, type: 'HEIGHT' }));\n return true;\n }\n } catch (e) {}\n\n return false;\n };\n var checkHeight = function(param) {\n var newHeight = getHeight(param);\n if (oneShot) {\n sendHeight(newHeight);\n } else {\n counter += 1;\n if (oldHeight !== newHeight) {\n var success = sendHeight(newHeight);\n if (success) {\n oldHeight = newHeight;\n }\n \n step = 1;\n counter = 0;\n } else if (counter > STEP_CHECK_COUNTER) {\n step += 1;\n counter = 0;\n }\n setTimeout(function() {checkHeight(param);}, MILLS_TO_CHECK * step);\n }\n };\n checkHeight(id);\n }\n"; -},1925,[]); +},2053,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -243417,7 +267195,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e didMountRef.current = true; }, watcher); } -},1926,[3,33,16,436,434,550]); +},2054,[3,33,16,436,434,564]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -244148,25282 +267926,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e ignoreUrls: [], progressHidden: false }, _$$_REQUIRE(_dependencyMap[21]).OurBridge.customDefaultProps); -},1927,[3,22,4,270,6,7,11,13,14,568,16,18,436,1928,852,1888,550,438,864,179,1919,565,875]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[4]); - - var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _sdkUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var IOSExternalLinkAccount = _optionalPackageUtils.default.getIOSExternalLinkAccountAPI(); - - var TecnaviaPlatformUtils = exports.default = function () { - function TecnaviaPlatformUtils() { - (0, _classCallCheck2.default)(this, TecnaviaPlatformUtils); - } - - return (0, _createClass2.default)(TecnaviaPlatformUtils, null, [{ - key: "getFallbackConfig", - value: function getFallbackConfig() { - var _global$getMainPSetup = global.getMainPSetup(), - readerAppLearnMoreLink = _global$getMainPSetup.readerAppLearnMoreLink; - - return { - safeArea: _deviceUtils.default.getSafeArea(), - moreLink: readerAppLearnMoreLink, - title: global.strings("reader_app_title"), - text: global.strings("reader_app_text", { - developerName: global.developerName - }), - learnMoreText: global.strings("learn_more"), - continueText: global.strings("btn_continue"), - cancelText: global.strings("btn_cancel"), - notAvailableText: global.strings("str_not_available"), - showModal: _$$_REQUIRE(_dependencyMap[8]).ModalOverlay.show, - hideModal: _$$_REQUIRE(_dependencyMap[8]).ModalOverlay.hide - }; - } - }, { - key: "isExternalLinkAccountURL", - value: function isExternalLinkAccountURL(url) { - return global.externalLinkAccountURL && _$$_REQUIRE(_dependencyMap[9]).StringUtils.removeLastSlash(url) === _$$_REQUIRE(_dependencyMap[9]).StringUtils.removeLastSlash(global.externalLinkAccountURL); - } - }, { - key: "externalLinkAccountCheck", - value: function externalLinkAccountCheck(url) { - return _$$_REQUIRE(_dependencyMap[9]).PlatformUtils.isIOS() && TecnaviaPlatformUtils.isExternalLinkAccountURL(url); - } - }, { - key: "isExternalLinkAccountAllowed", - value: function () { - var _isExternalLinkAccountAllowed = (0, _asyncToGenerator2.default)(function* (url) { - var _global$getMainPSetup2 = global.getMainPSetup(), - disableReaderAppModal = _global$getMainPSetup2.disableReaderAppModal; - - if (IOSExternalLinkAccount && !disableReaderAppModal && TecnaviaPlatformUtils.externalLinkAccountCheck(url)) { - yield IOSExternalLinkAccount.isExternalLinkAccountAllowed(url, TecnaviaPlatformUtils.getFallbackConfig()); - return true; - } - - return false; - }); - - function isExternalLinkAccountAllowed(_x) { - return _isExternalLinkAccountAllowed.apply(this, arguments); - } - - return isExternalLinkAccountAllowed; - }() - }, { - key: "isExternalLinkAccountAllowedSync", - value: function isExternalLinkAccountAllowedSync(url) { - var _global$getMainPSetup3 = global.getMainPSetup(), - disableReaderAppModal = _global$getMainPSetup3.disableReaderAppModal; - - if (IOSExternalLinkAccount && !disableReaderAppModal && TecnaviaPlatformUtils.externalLinkAccountCheck(url)) { - IOSExternalLinkAccount.isExternalLinkAccountAllowedSync(url, TecnaviaPlatformUtils.getFallbackConfig()); - return true; - } - - return false; - } - }, { - key: "openURL", - value: function () { - var _openURL = (0, _asyncToGenerator2.default)(function* (url) { - if (!url) { - return false; - } - - if (url.startsWith("HTTP://")) { - url = url.replace(/^HTTP:\/\//, "http://"); - } else if (url.startsWith("HTTPS://")) { - url = url.replace(/^HTTPS:\/\//, "https://"); - } - - if (yield _sdkUtils.default.willOpenURL(url)) { - return false; - } - - if (!(yield _reactNative.Linking.canOpenURL(url))) { - return false; - } - - try { - var isExternalLinkAccount = yield TecnaviaPlatformUtils.isExternalLinkAccountAllowed(url); - - if (!isExternalLinkAccount) { - yield _reactNative.Linking.openURL(url); - } - - return true; - } catch (e) { - _$$_REQUIRE(_dependencyMap[10]).Toast.show(global.strings("system_error"), { - position: "top" - }); - } - - return false; - }); - - function openURL(_x2) { - return _openURL.apply(this, arguments); - } - - return openURL; - }() - }]); - }(); -},1928,[3,270,6,7,18,434,865,1901,798,438,1929]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - Object.keys(_$$_REQUIRE(_dependencyMap[0])).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _$$_REQUIRE(_dependencyMap[0])[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _$$_REQUIRE(_dependencyMap[0])[key]; - } - }); - }); -},1929,[1930]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.Toast = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[6])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[7]); - - var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _fontText = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var _Dimensions$get = _reactNative.Dimensions.get("window"), - height = _Dimensions$get.height; - - var BASE_POSITION_VALUE = 64; - - var Toast = exports.Toast = function (_Component) { - function Toast(props) { - var _this; - - (0, _classCallCheck2.default)(this, Toast); - _this = _callSuper(this, Toast, [props]); - _this.state = { - isShow: false, - text: "" - }; - _this.opacity = new _reactNative.Animated.Value(0.0); - return _this; - } - - (0, _inherits2.default)(Toast, _Component); - return (0, _createClass2.default)(Toast, [{ - key: "componentWillUnmount", - value: function componentWillUnmount() { - this.clearTimeout(); - } - }, { - key: "clearTimeout", - value: function (_clearTimeout) { - function clearTimeout() { - return _clearTimeout.apply(this, arguments); - } - - clearTimeout.toString = function () { - return _clearTimeout.toString(); - }; - - return clearTimeout; - }(function () { - if (this.timer) { - clearTimeout(this.timer); - } - }) - }, { - key: "showToast", - value: function showToast(text) { - var _this2 = this; - - var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var millisecs = arguments.length > 2 ? arguments[2] : undefined; - var callback = arguments.length > 3 ? arguments[3] : undefined; - var duration = millisecs || Math.max(Toast.defaultParams.duration, _$$_REQUIRE(_dependencyMap[10]).StringUtils.getReadingTime(text).time); - var opacity = params.opacity || Toast.defaultParams.opacity; - var fadeDuration = params.fadeDuration || Toast.defaultParams.fadeDuration; - var position = params.position || Toast.defaultParams.position; - var positionValue = params.positionValue || Toast.defaultParams.positionValue; - var textStyle = params.textStyle, - parentStyle = params.parentStyle; - this.setState({ - isShow: true, - position: position, - positionValue: positionValue, - text: text, - textStyle: textStyle, - parentStyle: parentStyle - }, function () { - _reactNative.Animated.timing(_this2.opacity, { - toValue: opacity, - duration: fadeDuration, - useNativeDriver: true - }).start(function () { - _this2.isShow = true; - - _this2.closeToast({ - duration: duration, - fadeDuration: fadeDuration, - callback: callback - }); - }); - }); - } - }, { - key: "closeToast", - value: function closeToast(_ref) { - var _this3 = this; - - var duration = _ref.duration, - fadeDuration = _ref.fadeDuration, - callback = _ref.callback; - var isShow = this.state.isShow; - if (!this.isShow && !isShow) return; - this.clearTimeout(); - this.timer = setTimeout(function () { - _reactNative.Animated.timing(_this3.opacity, { - toValue: 0.0, - duration: fadeDuration, - useNativeDriver: true - }).start(function () { - _this3.setState({ - isShow: false - }); - - _this3.isShow = false; - - if (typeof callback === "function") { - callback(); - } - }); - }, duration); - } - }, { - key: "_getTopByPosition", - value: function _getTopByPosition(_ref2) { - var position = _ref2.position, - positionValue = _ref2.positionValue; - var pos; - - var _DeviceUtils$getSafeA = _deviceUtils.default.getSafeAreaInsets(), - top = _DeviceUtils$getSafeA.top, - bottom = _DeviceUtils$getSafeA.bottom; - - switch (position) { - case "top": - pos = positionValue + top; - break; - - case "center": - pos = height / 2; - break; - - case "bottom": - pos = height - bottom - positionValue; - break; - } - - return pos; - } - }, { - key: "render", - value: function render() { - var _this$state = this.state, - isShow = _this$state.isShow, - text = _this$state.text; - var _this$state2 = this.state, - textStyle = _this$state2.textStyle, - parentStyle = _this$state2.parentStyle; - - var _global$getRssIndex = global.getRssIndex(), - borderRadius = _global$getRssIndex.borderRadius, - borderWidth = _global$getRssIndex.borderWidth, - borderColor = _global$getRssIndex.borderColor; - - var backgroundColor = _$$_REQUIRE(_dependencyMap[11]).Css.getDefaultBackgroundColor(); - - var foregroundColor = _$$_REQUIRE(_dependencyMap[11]).Css.getDefaultForegroundColor(); - - parentStyle = parentStyle || { - backgroundColor: backgroundColor, - borderColor: borderColor || foregroundColor, - borderRadius: borderRadius || 0, - borderWidth: borderWidth || 0.5, - elevation: 1, - shadowColor: _$$_REQUIRE(_dependencyMap[10]).colors.black, - shadowOpacity: 0.5, - shadowRadius: 0.5, - shadowOffset: { - height: 2, - width: 2 - } - }; - var color = _$$_REQUIRE(_dependencyMap[11]).Css.isDarkTheme() ? foregroundColor : _$$_REQUIRE(_dependencyMap[10]).ColorUtils.determineTextColor(backgroundColor); - textStyle = textStyle || { - color: color - }; - var view = isShow ? (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_reactNative.View, { - style: [_$$_REQUIRE(_dependencyMap[13]).styles.container, { - top: this._getTopByPosition(this.state) - }], - pointerEvents: "none", - children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_reactNative.Animated.View, { - style: [_$$_REQUIRE(_dependencyMap[13]).styles.content, { - opacity: this.opacity - }, parentStyle], - children: _react.default.isValidElement(text) ? text : (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_fontText.default, { - style: textStyle, - children: text - }) - }) - }) : null; - return view; - } - }], [{ - key: "show", - value: function show(text, params, duration, callback) { - this.toastInstance.showToast(text, params, duration, callback); - } - }]); - }(_react.Component); - - Toast.defaultParams = { - position: "top", - positionValue: BASE_POSITION_VALUE, - duration: 3000, - fadeDuration: 500, - opacity: 1 - }; -},1930,[3,6,7,11,13,14,16,18,434,800,438,803,179,1931]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.styles = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var styles = exports.styles = _reactNative.StyleSheet.create({ - container: { - position: "absolute", - left: 5, - right: 5, - elevation: 999, - alignItems: "center", - zIndex: 10000 - }, - content: { - borderRadius: 5, - padding: 10 - } - }); -},1931,[18]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - Object.keys(_$$_REQUIRE(_dependencyMap[0])).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _$$_REQUIRE(_dependencyMap[0])[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _$$_REQUIRE(_dependencyMap[0])[key]; - } - }); - }); -},1932,[1933]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.MyBottomSheet = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _bottomSheet = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var MyBottomSheet = exports.MyBottomSheet = function (_React$Component) { - function MyBottomSheet(props) { - var _this; - - (0, _classCallCheck2.default)(this, MyBottomSheet); - _this = _callSuper(this, MyBottomSheet, [props]); - _this.state = { - title: global.strings("title_bottom_sheet"), - options: [], - styleContainer: {}, - textStyle: {}, - modalProps: {} - }; - return _this; - } - - (0, _inherits2.default)(MyBottomSheet, _React$Component); - return (0, _createClass2.default)(MyBottomSheet, [{ - key: "hideBottomSheet", - value: function hideBottomSheet() { - if (this.bottomSheet) { - this.bottomSheet.close(); - } - } - }, { - key: "showBottomSheet", - value: function showBottomSheet(_ref) { - var _this2 = this; - - var title = _ref.title, - _ref$options = _ref.options, - options = _ref$options === undefined ? [] : _ref$options, - _ref$styleContainer = _ref.styleContainer, - styleContainer = _ref$styleContainer === undefined ? {} : _ref$styleContainer, - _ref$textStyle = _ref.textStyle, - textStyle = _ref$textStyle === undefined ? {} : _ref$textStyle, - _ref$modalProps = _ref.modalProps, - modalProps = _ref$modalProps === undefined ? {} : _ref$modalProps; - this.setState(function (prevState) { - return { - title: title || prevState.title, - options: options, - styleContainer: styleContainer, - textStyle: textStyle, - modalProps: modalProps - }; - }, function () { - if (_this2.bottomSheet) { - _this2.bottomSheet.open(); - } - }); - } - }, { - key: "render", - value: function render() { - var _this3 = this; - - var _this$state = this.state, - options = _this$state.options, - styleContainer = _this$state.styleContainer, - textStyle = _this$state.textStyle, - modalProps = _this$state.modalProps; - - var _global$getRssIndex = global.getRssIndex(), - borderRadius = _global$getRssIndex.borderRadius; - - return (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_bottomSheet.default, { - styleContainer: Object.assign({ - backgroundColor: _$$_REQUIRE(_dependencyMap[10]).colors.white, - borderTopStartRadius: borderRadius || 0, - borderTopEndRadius: borderRadius || 0, - paddingBottom: _deviceUtils.default.insets.bottom, - overflow: "hidden" - }, styleContainer), - ref: function ref(_ref2) { - _this3.bottomSheet = _ref2; - }, - textStyle: textStyle, - backButtonEnabled: true, - coverScreen: false, - options: options, - isOpen: false, - modalProps: modalProps - }); - } - }], [{ - key: "show", - value: function show(config) { - if (MyBottomSheet.bottomSheetInstance) { - MyBottomSheet.bottomSheetInstance.showBottomSheet(config); - } - } - }, { - key: "hide", - value: function hide() { - if (MyBottomSheet.bottomSheetInstance) { - MyBottomSheet.bottomSheetInstance.hideBottomSheet(); - } - } - }]); - }(_react.default.Component); -},1933,[3,6,7,11,13,14,16,434,1934,179,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _get2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[10]); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - var _bottomSheet = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); - - var _fontText = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); - - var _shortcutList = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); - - var _modal = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var BottomSheet = function (_PureShortcut) { - function BottomSheet(props) { - var _this; - - (0, _classCallCheck2.default)(this, BottomSheet); - _this = _callSuper(this, BottomSheet, [props]); - _this.close = _this._close.bind(_this); - _this.open = _this._open.bind(_this); - _this.onModalHide = _this._onModalHide.bind(_this); - _this.onPress = _this._onPress.bind(_this); - _this.pressedItem = undefined; - _this.state = { - isOpen: props.isOpen - }; - return _this; - } - - (0, _inherits2.default)(BottomSheet, _PureShortcut); - return (0, _createClass2.default)(BottomSheet, [{ - key: "componentDidMount", - value: function componentDidMount() { - (0, _get2.default)((0, _getPrototypeOf2.default)(BottomSheet.prototype), "componentDidMount", this).call(this); - this.onOrientationChange = _$$_REQUIRE(_dependencyMap[16]).EventRegister.on(_events.default.ON_ORIENTATION_CHANGE, this.close); - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - (0, _get2.default)((0, _getPrototypeOf2.default)(BottomSheet.prototype), "componentWillUnmount", this).call(this); - - _$$_REQUIRE(_dependencyMap[16]).EventRegister.rm(this.onOrientationChange); - } - }, { - key: "_handleShortcut", - value: function _handleShortcut() { - var isOpen = this.state.isOpen; - - if (isOpen) { - var CLOSE = _$$_REQUIRE(_dependencyMap[17]).KEY_GROUPS.CLOSE, - ANY = _$$_REQUIRE(_dependencyMap[17]).KEY_GROUPS.ANY; - - return [{ - callback: this.close, - keys: CLOSE, - stopPropagation: true - }, { - callback: this.noop, - keys: ANY, - stopPropagation: true - }]; - } - - return []; - } - }, { - key: "_open", - value: function _open() { - this.pressedItem = undefined; - - this._toggle(true); - } - }, { - key: "_close", - value: function _close() { - this._toggle(false); - } - }, { - key: "_toggle", - value: function _toggle(state) { - var isOpen = this.state.isOpen; - - if (state !== isOpen) { - this.setState({ - isOpen: state - }); - } - } - }, { - key: "_onModalHide", - value: function _onModalHide() { - if (this.pressedItem && typeof this.pressedItem.onPress === "function" && this.pressedItem.waitModalHide) { - this.pressedItem.onPress(); - } - - this._close(); - - this.pressedItem = undefined; - } - }, { - key: "_onPress", - value: function _onPress(item) { - this.pressedItem = item; - - this._close(); - - if (item.waitModalHide === undefined || item.waitModalHide === false) { - item.onPress(); - } - } - }, { - key: "renderContent", - value: function renderContent() { - var _this2 = this; - - var _this$props = this.props, - options = _this$props.options, - children = _this$props.children, - textStyle = _this$props.textStyle, - itemDivider = _this$props.itemDivider, - shortcutPriority = _this$props.shortcutPriority; - var isOpen = this.state.isOpen; - - if (options && options.length) { - return (0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_shortcutList.default, { - data: options, - plainData: options, - keyExtractor: function keyExtractor(item, index) { - return "bottom_sheet_item_" + index; - }, - shortcutEnabled: isOpen, - shortcutPriority: shortcutPriority + 1, - onPress: this.onPress, - renderItem: function renderItem(_ref) { - var item = _ref.item, - index = _ref.index, - focusedItem = _ref.focusedItem; - var tStyle = [_bottomSheet.default.text]; - - if (Array.isArray(textStyle)) { - tStyle.push.apply(tStyle, (0, _toConsumableArray2.default)(textStyle)); - } else { - tStyle.push(textStyle); - } - - if (item.textStyle) { - tStyle.push(item.textStyle); - } - - var focused = _$$_REQUIRE(_dependencyMap[19]).JSUtils.areEqualShallow(item, focusedItem); - - var focusStyle = {}; - - if (focused) { - focusStyle.backgroundColor = _$$_REQUIRE(_dependencyMap[19]).colors.keyboardHighlight; - } - - return (0, _$$_REQUIRE(_dependencyMap[18]).jsxs)(_reactNative.View, { - style: [{ - flexDirection: "column" - }, item.containerStyle], - children: [(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.TouchableOpacity, { - onPress: function onPress() { - _this2.onPress(item); - }, - activeOpacity: 0.5, - children: (0, _$$_REQUIRE(_dependencyMap[18]).jsxs)(_reactNative.View, { - style: [_bottomSheet.default.item, item.style, focusStyle], - children: [item.icon, (0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_fontText.default, { - style: tStyle, - children: item.title - })] - }) - }), itemDivider === index + 1 && (0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.View, { - style: _bottomSheet.default.separator - })] - }, index); - } - }); - } - - return children; - } - }, { - key: "render", - value: function render() { - var _this$props2 = this.props, - styleContainer = _this$props2.styleContainer, - _this$props2$modalPro = _this$props2.modalProps, - modalProps = _this$props2$modalPro === undefined ? {} : _this$props2$modalPro; - var isOpen = this.state.isOpen; - return (0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_modal.default, Object.assign({ - visible: isOpen, - onHide: this.onModalHide - }, modalProps, { - style: { - justifyContent: "flex-end", - margin: 0, - padding: 0 - }, - containerStyle: { - borderBottomLeftRadius: 0, - borderBottomRightRadius: 0, - padding: 0, - marginBottom: 0 - }, - children: (0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.View, { - collapsable: false, - style: styleContainer, - children: this.renderContent() - }) - })); - } - }]); - }(_$$_REQUIRE(_dependencyMap[20]).PureShortcut); - - BottomSheet.propTypes = Object.assign({ - options: _propTypes.default.arrayOf(_propTypes.default.shape({ - onPress: _propTypes.default.func, - icon: _propTypes.default.node, - waitModalHide: _propTypes.default.bool, - title: _propTypes.default.string, - style: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object, _propTypes.default.array]), - containerStyle: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object, _propTypes.default.array]), - textStyle: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object, _propTypes.default.array]) - })), - isOpen: _propTypes.default.bool, - itemDivider: _propTypes.default.number, - styleContainer: _propTypes.default.object, - textStyle: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object, _propTypes.default.array]), - children: _propTypes.default.any, - modalProps: _propTypes.default.object - }, _$$_REQUIRE(_dependencyMap[20]).PureShortcut.propTypes); - BottomSheet.defaultProps = { - isOpen: false, - modalProps: {}, - shortcutEnabled: true, - shortcutPriority: 100 - }; - - var _default = exports.default = BottomSheet; -},1934,[3,22,6,7,11,85,13,14,16,568,18,436,1935,800,1936,814,550,1899,179,438,1939]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var _default = exports.default = _reactNative.StyleSheet.create({ - text: { - paddingHorizontal: 32, - textAlignVertical: "center", - color: "#000" - }, - item: { - flexDirection: "row", - height: 48, - alignItems: "center", - paddingLeft: 16, - paddingRight: 16 - }, - title: { - height: 42, - color: "#000", - opacity: 0.54, - marginLeft: 16 - }, - separator: { - height: 1 / _reactNative.PixelRatio.get(), - backgroundColor: "#CCCCCC", - marginTop: 7, - marginBottom: 8, - width: "100%" - } - }); -},1935,[18]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[11]); - - var _excluded = ["plainData", "renderItem", "accessibilityEnabled", "contentContainerStyle", "ListHeaderComponent", "refreshControl"]; - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var ShortcutList = exports.default = function (_Shortcut) { - function ShortcutList(props) { - var _this; - - (0, _classCallCheck2.default)(this, ShortcutList); - _this = _callSuper(this, ShortcutList, [props]); - _this._listRef = _react.default.createRef(); - _this._itemsLayout = []; - _this._scrollOffsetY = 0; - _this._scrollHeight = 0; - _this._fingerItemIndex = -1; - _this.what = _this._what.bind(_this); - _this.focusUpItem = _this._focusUpItem.bind(_this); - _this.focusDownItem = _this._focusDownItem.bind(_this); - _this.selectFocusedItem = _this._selectFocusedItem.bind(_this); - _this.resetFocusedItem = _this._resetFocusedItem.bind(_this); - _this.onRef = _this._onRef.bind(_this); - _this.onScroll = _this._onScroll.bind(_this); - _this.onMomentumScrollEnd = _this._onMomentumScrollEnd.bind(_this); - _this.onHeaderLayout = _this._onHeaderLayout.bind(_this); - _this.onPanEvent = _this._onPanEvent.bind(_this); - _this.onContentSizeChange = _this._onContentSizeChange.bind(_this); - _this.onLayout = _this._onLayout.bind(_this); - _this.state = { - focusedItem: undefined, - snapToOffsets: undefined - }; - return _this; - } - - (0, _inherits2.default)(ShortcutList, _Shortcut); - return (0, _createClass2.default)(ShortcutList, [{ - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps, prevState) { - var focusedItem = this.state.focusedItem; - - if (focusedItem !== prevState.focusedItem) { - this._what(); - } - } - }, { - key: "scrollDown", - value: function scrollDown() { - if (this._listRef) { - try { - this._listRef.scrollToOffset({ - animated: !_$$_REQUIRE(_dependencyMap[12]).PlatformUtils.isEInk(), - offset: this._scrollOffsetY + this._listLayout.height - }); - } catch (e) {} - } - } - }, { - key: "scrollUp", - value: function scrollUp() { - if (this._listRef) { - try { - this._listRef.scrollToOffset({ - animated: !_$$_REQUIRE(_dependencyMap[12]).PlatformUtils.isEInk(), - offset: this._scrollOffsetY - this._listLayout.height - }); - } catch (e) {} - } - } - }, { - key: "_what", - value: function _what() { - var _this$props = this.props, - readFocusedItem = _this$props.readFocusedItem, - onRead = _this$props.onRead; - var focusedItem = this.state.focusedItem; - - if (readFocusedItem && focusedItem) { - if (typeof focusedItem === "string") { - global.getAudio().ttsStart(focusedItem); - } else if (typeof onRead === "function") { - var toRead = onRead(focusedItem); - - if (toRead) { - global.getAudio().ttsStart(toRead); - } - } else {} - } - } - }, { - key: "_handleShortcut", - value: function _handleShortcut() { - var isActive = this.props.isActive; - - if (isActive()) { - var focusedItem = this.state.focusedItem; - - var UP = _$$_REQUIRE(_dependencyMap[13]).KEY_GROUPS.UP, - DOWN = _$$_REQUIRE(_dependencyMap[13]).KEY_GROUPS.DOWN, - SELECT = _$$_REQUIRE(_dependencyMap[13]).KEY_GROUPS.SELECT; - - var ITEM_UP = _$$_REQUIRE(_dependencyMap[13]).VOICE_GROUPS.ITEM_UP, - ITEM_DOWN = _$$_REQUIRE(_dependencyMap[13]).VOICE_GROUPS.ITEM_DOWN, - ITEM_SELECT = _$$_REQUIRE(_dependencyMap[13]).VOICE_GROUPS.ITEM_SELECT, - WHAT = _$$_REQUIRE(_dependencyMap[13]).VOICE_GROUPS.WHAT; - - return [{ - callbackRepeat: this.focusUpItem, - keys: UP - }, { - callback: this.focusUpItem, - keys: ITEM_UP() - }, { - callback: this.what, - keys: WHAT() - }, { - callbackRepeat: this.focusDownItem, - keys: ["TAB"].concat((0, _toConsumableArray2.default)(DOWN)) - }, { - callback: this.focusDownItem, - keys: ITEM_DOWN() - }, { - callback: this.selectFocusedItem, - keys: SELECT, - stopPropagation: !!focusedItem - }, { - callback: this.selectFocusedItem, - keys: ITEM_SELECT(), - stopPropagation: !!focusedItem - }]; - } - - return []; - } - }, { - key: "_onRef", - value: function _onRef(ref) { - this._listRef = ref; - } - }, { - key: "_onHeaderLayout", - value: function _onHeaderLayout(_ref) { - var nativeEvent = _ref.nativeEvent; - this._headerLayout = nativeEvent.layout; - } - }, { - key: "_onItemLayout", - value: function _onItemLayout(_ref2, index) { - var nativeEvent = _ref2.nativeEvent; - this._itemsLayout[index] = nativeEvent.layout; - } - }, { - key: "_onLayout", - value: function _onLayout(_ref3) { - var nativeEvent = _ref3.nativeEvent; - this._listLayout = nativeEvent.layout; - - this._evaluateSnapToOffset(); - } - }, { - key: "_onScroll", - value: function _onScroll(_ref4) { - var nativeEvent = _ref4.nativeEvent; - this._scrollOffsetY = nativeEvent.contentOffset.y; - } - }, { - key: "_onMomentumScrollEnd", - value: function _onMomentumScrollEnd(_ref5) { - var nativeEvent = _ref5.nativeEvent; - var _this$props2 = this.props, - onPageChange = _this$props2.onPageChange, - onPageRead = _this$props2.onPageRead; - var scrollY = nativeEvent.contentOffset.y; - var pageSize = nativeEvent.layoutMeasurement.height; - var page = scrollY % pageSize === 0 ? scrollY / pageSize : Math.floor(scrollY / pageSize) + 1; - - if (typeof onPageChange === "function") { - onPageChange(page); - } - - if (typeof onPageRead === "function") { - var toRead = onPageRead(page); - - if (toRead) { - global.getAudio().ttsStart(toRead); - } - } - } - }, { - key: "_onPanEvent", - value: function _onPanEvent(_ref6) { - var nativeEvent = _ref6.nativeEvent; - - try { - if (nativeEvent.state === _$$_REQUIRE(_dependencyMap[14]).State.ACTIVE) { - var plainData = this.props.plainData; - var y = nativeEvent.y; - var scrollY; - - if (this._headerLayout) { - scrollY = y + this._scrollOffsetY - (this._headerLayout.height || 0); - } else { - scrollY = y + this._scrollOffsetY; - } - - var progressiveHeight = 0; - var fingerItemIndex = -1; - - for (var i = 0; i < this._itemsLayout.length; i++) { - var height = this._getItemHeight(i); - - if (scrollY >= progressiveHeight && scrollY <= progressiveHeight + height) { - fingerItemIndex = i; - break; - } - - progressiveHeight += height; - } - - if (this._fingerItemIndex !== fingerItemIndex) { - this._fingerItemIndex = fingerItemIndex; - var focusedItem = plainData[fingerItemIndex]; - - if (focusedItem) { - this.setState({ - focusedItem: focusedItem - }); - } - } - } - } catch (e) {} - } - }, { - key: "_getItemHeight", - value: function _getItemHeight(index) { - var plainData = this.props.plainData; - var itemHeight; - - if (this._itemsLayout[index]) { - itemHeight = this._itemsLayout[index].height; - } else { - itemHeight = this._scrollHeight / plainData.length; - } - - return itemHeight; - } - }, { - key: "_onContentSizeChange", - value: function _onContentSizeChange(width, height) { - this._scrollHeight = height; - - this._evaluateSnapToOffset(); - } - }, { - key: "_evaluateSnapToOffset", - value: function _evaluateSnapToOffset() { - var accessibilityEnabled = this.props.accessibilityEnabled; - - if (this._listLayout && this._listLayout.height && this._scrollHeight && accessibilityEnabled && !_$$_REQUIRE(_dependencyMap[12]).PlatformUtils.isSystemAccessibilityEnabled()) { - var pages = Math.ceil(this._scrollHeight, this._listLayout.height); - var rest = this._scrollHeight % this._listLayout.height; - var snapToOffsets = []; - - for (var i = 0; i < pages; i++) { - if (i === pages - 1) { - snapToOffsets[i] = rest; - } else { - snapToOffsets[i] = this._listLayout.height; - } - } - - this.setState({ - snapToOffsets: snapToOffsets - }); - } - } - }, { - key: "_getFocusedViewIndex", - value: function _getFocusedViewIndex(focusedItem) { - var list = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.props.plainData; - - if (focusedItem) { - return list.findIndex(function (item) { - return _$$_REQUIRE(_dependencyMap[12]).JSUtils.equals(item, focusedItem); - }); - } - - return -1; - } - }, { - key: "_getCurrentItemPosition", - value: function _getCurrentItemPosition() { - var focusedItem = this.state.focusedItem; - return this._getFocusedViewIndex(focusedItem); - } - }, { - key: "_scrollToFocused", - value: function _scrollToFocused(focusedItem) { - var _this2 = this; - - var _this$props3 = this.props, - data = _this$props3.data, - plainData = _this$props3.plainData; - var index; - - if (_$$_REQUIRE(_dependencyMap[12]).JSUtils.equals(data, plainData)) { - index = this._getFocusedViewIndex(focusedItem); - } else { - index = data.findIndex(function (subData) { - return _this2._getFocusedViewIndex(focusedItem, subData) !== -1; - }); - } - - index = Math.max(0, index); - - this._scrollToIndex(index); - } - }, { - key: "_focusUpItem", - value: function () { - var _focusUpItem2 = (0, _asyncToGenerator2.default)(function* () { - var plainData = this.props.plainData; - - var index = this._getCurrentItemPosition(); - - if (index <= 0) { - index = plainData.length; - } - - var focusedItem = plainData[index - 1]; - - this._scrollToFocused(focusedItem); - - return this.setStatePromise({ - focusedItem: focusedItem - }); - }); - - function _focusUpItem() { - return _focusUpItem2.apply(this, arguments); - } - - return _focusUpItem; - }() - }, { - key: "_focusDownItem", - value: function () { - var _focusDownItem2 = (0, _asyncToGenerator2.default)(function* () { - var plainData = this.props.plainData; - - var index = this._getCurrentItemPosition(); - - if (index >= plainData.length - 1) { - index = -1; - } - - var focusedItem = plainData[index + 1]; - - this._scrollToFocused(focusedItem); - - return this.setStatePromise({ - focusedItem: focusedItem - }); - }); - - function _focusDownItem() { - return _focusDownItem2.apply(this, arguments); - } - - return _focusDownItem; - }() - }, { - key: "_selectFocusedItem", - value: function _selectFocusedItem() { - var focusedItem = this.state.focusedItem; - var onPress = this.props.onPress; - - if (typeof onPress === "function" && focusedItem) { - onPress(focusedItem, Math.max(0, this._getCurrentItemPosition(focusedItem))); - } - } - }, { - key: "_resetFocusedItem", - value: function _resetFocusedItem() { - var _this3 = this; - - var focusedItem = this.state.focusedItem; - - if (focusedItem !== undefined) { - this.setState({ - focusedItem: undefined - }, function () { - _this3._scrollToIndex(0); - }); - } - } - }, { - key: "_scrollToIndex", - value: function _scrollToIndex(index) { - if (this._listRef) { - try { - this._listRef.scrollToIndex({ - index: index - }); - } catch (e) {} - } - } - }, { - key: "render", - value: function render() { - var _this4 = this; - - var _this$props4 = this.props, - plainData = _this$props4.plainData, - renderItem = _this$props4.renderItem, - accessibilityEnabled = _this$props4.accessibilityEnabled, - contentContainerStyle = _this$props4.contentContainerStyle, - ListHeaderComponent = _this$props4.ListHeaderComponent, - refreshControl = _this$props4.refreshControl, - rest = (0, _objectWithoutProperties2.default)(_this$props4, _excluded); - var _this$state = this.state, - focusedItem = _this$state.focusedItem, - snapToOffsets = _this$state.snapToOffsets; - var simulateAccessibility = accessibilityEnabled && !_$$_REQUIRE(_dependencyMap[12]).PlatformUtils.isSystemAccessibilityEnabled(); - var listProps = {}; - - if (simulateAccessibility) { - listProps.pagingEnabled = true; - listProps.onMomentumScrollEnd = this.onMomentumScrollEnd; - - listProps.renderScrollComponent = function (props) { - return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_$$_REQUIRE(_dependencyMap[16]).TecnaviaScrollView, Object.assign({}, props, { - minPointers: 2 - })); - }; - - listProps.ListHeaderComponent = ListHeaderComponent ? (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.View, { - onLayout: this.onHeaderLayout, - children: ListHeaderComponent - }) : null; - - listProps.renderItem = function (_ref7) { - var item = _ref7.item, - index = _ref7.index; - return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.View, { - onLayout: function onLayout(e) { - _this4._onItemLayout(e, index); - }, - children: renderItem({ - item: item, - index: index, - focusedItem: focusedItem - }) - }); - }; - - if (snapToOffsets) { - listProps.snapToOffsets = snapToOffsets; - } - } else { - if (!accessibilityEnabled) { - listProps.refreshControl = refreshControl; - } - - listProps.renderScrollComponent = function (props) { - return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_$$_REQUIRE(_dependencyMap[16]).TecnaviaScrollView, Object.assign({}, props)); - }; - - listProps.ListHeaderComponent = ListHeaderComponent; - - listProps.renderItem = function (_ref8) { - var item = _ref8.item, - index = _ref8.index; - return renderItem({ - item: item, - index: index, - focusedItem: focusedItem - }); - }; - } - - var ScrollComponent = (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_$$_REQUIRE(_dependencyMap[17]).TecnaviaFlatList, Object.assign({}, rest, { - ref: this.onRef, - onLayout: this.onLayout, - onContentSizeChange: this.onContentSizeChange, - onScroll: this.onScroll, - scrollEventThrottle: 16, - contentContainerStyle: contentContainerStyle - }, listProps)); - - if (simulateAccessibility) { - return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_$$_REQUIRE(_dependencyMap[14]).PanGestureHandler, { - maxPointers: 1, - onGestureEvent: this.onPanEvent, - children: (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.Animated.View, { - collapsable: false, - style: contentContainerStyle, - children: ScrollComponent - }) - }); - } - - return ScrollComponent; - } - }]); - }(_$$_REQUIRE(_dependencyMap[18]).Shortcut); - - ShortcutList.propTypes = Object.assign({ - plainData: _propTypes.default.array.isRequired, - readFocusedItem: _propTypes.default.bool, - onRead: _propTypes.default.func, - isActive: _propTypes.default.func, - onPageRead: _propTypes.default.func, - onPageChange: _propTypes.default.func - }, _$$_REQUIRE(_dependencyMap[18]).Shortcut.propTypes); - ShortcutList.defaultProps = Object.assign({}, _$$_REQUIRE(_dependencyMap[18]).Shortcut.defaultProps, { - shortcutEnabled: true, - readFocusedItem: false, - isActive: function isActive() { - return true; - } - }); -},1936,[3,4,270,22,6,7,11,13,14,16,568,18,438,1899,1,179,1937,1938,1939]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.TecnaviaScrollView = exports.TecnaviaGestureHandlerScrollview = exports.TecnaviaAnimatedScrollView = undefined; - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[4]); - - var _excluded = ["minPointers"]; - - var TecnaviaScrollView = exports.TecnaviaScrollView = _react.default.forwardRef(function (props, _ref) { - var minPointers = props.minPointers, - rest = (0, _objectWithoutProperties2.default)(props, _excluded); - return (0, _$$_REQUIRE(_dependencyMap[5]).jsx)(_reactNative.ScrollView, Object.assign({}, rest, { - overScrollMode: "never", - ref: function ref(scrollRef) { - if (typeof _ref === "function") { - _ref(scrollRef); - } - - _$$_REQUIRE(_dependencyMap[6]).OurBridge.setCustomOnTouch(scrollRef, { - minPointers: minPointers - }); - } - })); - }); - - TecnaviaScrollView.propTypes = Object.assign({}, _reactNative.ScrollViewProps, { - minPointers: _propTypes.default.number, - keyboardShouldPersistTaps: _propTypes.default.string - }); - TecnaviaScrollView.defaultProps = { - keyboardShouldPersistTaps: "handled" - }; - var TecnaviaGestureHandlerScrollview = exports.TecnaviaGestureHandlerScrollview = (0, _$$_REQUIRE(_dependencyMap[7]).createNativeWrapper)(TecnaviaScrollView, { - disallowInterruption: true, - shouldCancelWhenOutside: false - }); - - var TecnaviaAnimatedScrollView = exports.TecnaviaAnimatedScrollView = _reactNative.Animated.createAnimatedComponent(TecnaviaScrollView); -},1937,[3,4,16,568,18,179,565,1]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.TecnaviaSectionList = exports.TecnaviaFlatList = undefined; - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[2]); - - var TecnaviaFlatList = exports.TecnaviaFlatList = _react.default.forwardRef(function (props, ref) { - return (0, _$$_REQUIRE(_dependencyMap[3]).jsx)(_reactNative.FlatList, Object.assign({ - overScrollMode: "never" - }, props, { - ref: ref - })); - }); - - TecnaviaFlatList.displayName = "FlatList"; - - var TecnaviaSectionList = exports.TecnaviaSectionList = _react.default.forwardRef(function (props, ref) { - return (0, _$$_REQUIRE(_dependencyMap[3]).jsx)(_reactNative.SectionList, Object.assign({ - overScrollMode: "never" - }, props, { - ref: ref - })); - }); - - TecnaviaSectionList.displayName = "SectionList"; -},1938,[3,16,18,179]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.ShortcutManager = exports.Shortcut = exports.SHORTCUT_TIMEOUT_REPEAT = exports.PureShortcut = undefined; - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _LiveConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var SHORTCUT_TIMEOUT_REPEAT = exports.SHORTCUT_TIMEOUT_REPEAT = 300; - - var ShortcutManager = exports.ShortcutManager = function () { - function ShortcutManager() { - (0, _classCallCheck2.default)(this, ShortcutManager); - } - - return (0, _createClass2.default)(ShortcutManager, null, [{ - key: "register", - value: function register(instance) { - var id = _$$_REQUIRE(_dependencyMap[10]).JSUtils.generateId(); - - ShortcutManager.listeners[id] = instance; - return id; - } - }, { - key: "unregister", - value: function unregister(id) { - if (ShortcutManager.listeners[id]) { - ShortcutManager.listeners[id] = undefined; - delete ShortcutManager.listeners[id]; - } - } - }, { - key: "getName", - value: function getName(listener) { - if (listener) { - try { - return listener.constructor.name; - } catch (e) {} - } - - return ""; - } - }, { - key: "enable", - value: function enable() { - ShortcutManager.enabled = true; - } - }, { - key: "disable", - value: function disable() { - ShortcutManager.enabled = false; - } - }, { - key: "getListeners", - value: function getListeners() { - return Object.values(ShortcutManager.listeners).filter(function (listener) { - var shortcutEnabled = listener.props.shortcutEnabled; - return shortcutEnabled && typeof listener.handleShortcut === "function"; - }).sort(function (listenerA, listenerB) { - var shortcutPriorityA = listenerA.props.shortcutPriority; - var shortcutPriorityB = listenerB.props.shortcutPriority; - - if (shortcutPriorityA !== undefined && shortcutPriorityB !== undefined) { - return shortcutPriorityB - shortcutPriorityA; - } - - if (shortcutPriorityA !== undefined) { - return -1; - } - - if (shortcutPriorityB !== undefined) { - return 1; - } - - return 0; - }); - } - }, { - key: "onVoiceRecognized", - value: function onVoiceRecognized(_ref) { - var _ref$value = _ref.value, - value = _ref$value === undefined ? [] : _ref$value; - var found = value; - - if (ShortcutManager.enabled) { - var listeners = ShortcutManager.getListeners(); - - for (var i = 0; i < listeners.length; i++) { - var listener = listeners[i]; - var shortcut = undefined; - - var _loop = function _loop() { - if (value[j]) { - var sentence = value[j].toLowerCase(); - shortcut = listener.handleShortcut(sentence, sentence).find(function (_ref2) { - var callback = _ref2.callback, - keys = _ref2.keys; - return typeof callback === "function" && keys.includes(sentence); - }); - } - }; - - for (var j = 0; j < listeners.length && !shortcut; j++) { - _loop(); - } - - if (shortcut) { - var _shortcut = shortcut, - callback = _shortcut.callback, - stopPropagation = _shortcut.stopPropagation, - keys = _shortcut.keys; - found = keys; - - if (typeof callback === "function") { - callback(); - } - - if (stopPropagation) { - break; - } - } else {} - } - } - - return found; - } - }, { - key: "onKeyDown", - value: function onKeyDown(_ref3) { - var combo = _ref3.combo, - comboNoRL = _ref3.comboNoRL; - - if (ShortcutManager.enabled) { - var listeners = ShortcutManager.getListeners(); - - for (var i = 0; i < listeners.length; i++) { - var listener = listeners[i]; - var shortcuts = listener.handleShortcut(combo, comboNoRL); - var shortcut = shortcuts.find(function (_ref4) { - var callback = _ref4.callback, - callbackRepeat = _ref4.callbackRepeat, - keys = _ref4.keys; - return (typeof callback === "function" || typeof callbackRepeat === "function") && (keys.includes(combo) || keys.includes(comboNoRL) || keys.includes(_$$_REQUIRE(_dependencyMap[11]).ANY_KEY)); - }); - - if (shortcut) { - var callback = shortcut.callback, - callbackRepeat = shortcut.callbackRepeat, - stopPropagation = shortcut.stopPropagation; - - if (typeof callback === "function") { - callback(); - } else if (typeof callbackRepeat === "function") { - var promise = callbackRepeat(); - - if (promise instanceof Promise) { - promise.then(function () { - ShortcutManager.onKeyDown({ - combo: _LiveConfig.default.getKeysCombo(), - comboNoRL: _LiveConfig.default.getKeysComboNoRL() - }); - }); - } - } - - if (stopPropagation) { - break; - } - } else {} - } - } - } - }, { - key: "getCallbackRepeatPromise", - value: function () { - var _getCallbackRepeatPromise = (0, _asyncToGenerator2.default)(function* () { - var duration = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : SHORTCUT_TIMEOUT_REPEAT; - return new Promise(function (resolve, reject) { - setTimeout(resolve, duration); - }); - }); - - function getCallbackRepeatPromise() { - return _getCallbackRepeatPromise.apply(this, arguments); - } - - return getCallbackRepeatPromise; - }() - }]); - }(); - - ShortcutManager.propTypes = { - shortcutEnabled: _propTypes.default.bool, - shortcutPriority: _propTypes.default.number - }; - ShortcutManager.defaultProps = { - shortcutEnabled: false, - shortcutPriority: 0 - }; - ShortcutManager.listeners = {}; - ShortcutManager.enabled = true; - - var PureShortcut = exports.PureShortcut = function (_React$PureComponent) { - function PureShortcut(props) { - var _this; - - (0, _classCallCheck2.default)(this, PureShortcut); - _this = _callSuper(this, PureShortcut, [props]); - _this.handleShortcut = _this._handleShortcut.bind(_this); - _this.getCallbackRepeatPromise = _this._getCallbackRepeatPromise.bind(_this); - _this.setStatePromise = _this._setStatePromise.bind(_this); - _this.noop = _this._noop.bind(_this); - return _this; - } - - (0, _inherits2.default)(PureShortcut, _React$PureComponent); - return (0, _createClass2.default)(PureShortcut, [{ - key: "componentDidMount", - value: function componentDidMount() { - this.listenerId = ShortcutManager.register(this); - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - ShortcutManager.unregister(this.listenerId); - } - }, { - key: "_handleShortcut", - value: function _handleShortcut() { - return []; - } - }, { - key: "_noop", - value: function _noop() {} - }, { - key: "_getCallbackRepeatPromise", - value: function _getCallbackRepeatPromise(duration) { - return ShortcutManager.getCallbackRepeatPromise(duration); - } - }, { - key: "_setStatePromise", - value: function () { - var _setStatePromise2 = (0, _asyncToGenerator2.default)(function* (state) { - var _this2 = this; - - return new Promise(function (resolve) { - _this2.setState(state, function () { - return setTimeout(resolve, SHORTCUT_TIMEOUT_REPEAT); - }); - }); - }); - - function _setStatePromise(_x) { - return _setStatePromise2.apply(this, arguments); - } - - return _setStatePromise; - }() - }]); - }(_react.default.PureComponent); - - PureShortcut.propTypes = Object.assign({}, ShortcutManager.propTypes); - PureShortcut.defaultProps = Object.assign({}, ShortcutManager.defaultProps); - - var Shortcut = exports.Shortcut = function (_React$Component) { - function Shortcut(props) { - var _this3; - - (0, _classCallCheck2.default)(this, Shortcut); - _this3 = _callSuper(this, Shortcut, [props]); - _this3.handleShortcut = _this3._handleShortcut.bind(_this3); - _this3.getCallbackRepeatPromise = _this3._getCallbackRepeatPromise.bind(_this3); - _this3.setStatePromise = _this3._setStatePromise.bind(_this3); - _this3.noop = _this3._noop.bind(_this3); - return _this3; - } - - (0, _inherits2.default)(Shortcut, _React$Component); - return (0, _createClass2.default)(Shortcut, [{ - key: "componentDidMount", - value: function componentDidMount() { - this.listenerId = ShortcutManager.register(this); - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - ShortcutManager.unregister(this.listenerId); - } - }, { - key: "_handleShortcut", - value: function _handleShortcut() { - return []; - } - }, { - key: "_noop", - value: function _noop() {} - }, { - key: "_getCallbackRepeatPromise", - value: function _getCallbackRepeatPromise(duration) { - return ShortcutManager.getCallbackRepeatPromise(duration); - } - }, { - key: "_setStatePromise", - value: function () { - var _setStatePromise3 = (0, _asyncToGenerator2.default)(function* (state) { - var _this4 = this; - - return new Promise(function (resolve) { - _this4.setState(state, function () { - return setTimeout(resolve, SHORTCUT_TIMEOUT_REPEAT); - }); - }); - }); - - function _setStatePromise(_x2) { - return _setStatePromise3.apply(this, arguments); - } - - return _setStatePromise; - }() - }]); - }(_react.default.Component); - - Shortcut.propTypes = Object.assign({}, ShortcutManager.propTypes); - Shortcut.defaultProps = Object.assign({}, ShortcutManager.defaultProps); -},1939,[3,11,13,14,270,6,7,16,568,1898,438,1899]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - Object.defineProperty(exports, "NativeStackView", { - enumerable: true, - get: function get() { - return _NativeStackView.default; - } - }); - Object.defineProperty(exports, "createNativeStackNavigator", { - enumerable: true, - get: function get() { - return _createNativeStackNavigator.default; - } - }); - - var _createNativeStackNavigator = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _NativeStackView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); -},1940,[3,1941,1942]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); - - var _NativeStackView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _excluded = ["initialRouteName", "children", "screenListeners", "screenOptions"]; - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function NativeStackNavigator(_ref) { - var initialRouteName = _ref.initialRouteName, - children = _ref.children, - screenListeners = _ref.screenListeners, - screenOptions = _ref.screenOptions, - rest = (0, _objectWithoutProperties2.default)(_ref, _excluded); - - var _useNavigationBuilder = (0, _$$_REQUIRE(_dependencyMap[4]).useNavigationBuilder)(_$$_REQUIRE(_dependencyMap[4]).StackRouter, { - initialRouteName: initialRouteName, - children: children, - screenListeners: screenListeners, - screenOptions: screenOptions - }), - state = _useNavigationBuilder.state, - descriptors = _useNavigationBuilder.descriptors, - navigation = _useNavigationBuilder.navigation, - NavigationContent = _useNavigationBuilder.NavigationContent; - - React.useEffect(function () { - return navigation == null ? undefined : navigation.addListener == null ? undefined : navigation.addListener('tabPress', function (e) { - var isFocused = navigation.isFocused(); - requestAnimationFrame(function () { - if (state.index > 0 && isFocused && !e.defaultPrevented) { - navigation.dispatch(Object.assign({}, _$$_REQUIRE(_dependencyMap[4]).StackActions.popToTop(), { - target: state.key - })); - } - }); - }); - }, [navigation, state.index, state.key]); - return (0, _$$_REQUIRE(_dependencyMap[5]).jsx)(NavigationContent, { - children: (0, _$$_REQUIRE(_dependencyMap[5]).jsx)(_NativeStackView.default, Object.assign({}, rest, { - state: state, - navigation: navigation, - descriptors: descriptors - })) - }); - } - - var _default = exports.default = (0, _$$_REQUIRE(_dependencyMap[4]).createNavigatorFactory)(NativeStackNavigator); -},1941,[3,4,16,1942,1073,179]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = NativeStackView; - - var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[3]); - - var _warnOnce = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _DebugContainer = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _HeaderConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var isAndroid = _reactNative.Platform.OS === 'android'; - - var MaybeNestedStack = function MaybeNestedStack(_ref) { - var options = _ref.options, - route = _ref.route, - presentation = _ref.presentation, - headerHeight = _ref.headerHeight, - children = _ref.children; - - var _useTheme = (0, _$$_REQUIRE(_dependencyMap[7]).useTheme)(), - colors = _useTheme.colors; - - var header = options.header, - _options$headerShown = options.headerShown, - headerShown = _options$headerShown === undefined ? true : _options$headerShown, - contentStyle = options.contentStyle; - var isHeaderInModal = isAndroid ? false : presentation !== 'card' && headerShown === true && header === undefined; - var headerShownPreviousRef = React.useRef(headerShown); - React.useEffect(function () { - (0, _warnOnce.default)(!isAndroid && presentation !== 'card' && headerShownPreviousRef.current !== headerShown, "Dynamically changing 'headerShown' in modals will result in remounting the screen and losing all local state. See options for the screen '" + route.name + "'."); - headerShownPreviousRef.current = headerShown; - }, [headerShown, presentation, route.name]); - var content = (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_DebugContainer.default, { - style: [styles.container, presentation !== 'transparentModal' && presentation !== 'containedTransparentModal' && { - backgroundColor: colors.background - }, contentStyle], - stackPresentation: presentation === 'card' ? 'push' : presentation, - children: children - }); - - if (isHeaderInModal) { - return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).ScreenStack, { - style: styles.container, - children: (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_$$_REQUIRE(_dependencyMap[9]).Screen, { - enabled: true, - style: _reactNative.StyleSheet.absoluteFill, - children: [(0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_HeaderConfig.default, Object.assign({}, options, { - route: route, - headerHeight: headerHeight, - canGoBack: true - })), content] - }) - }); - } - - return content; - }; - - var SceneView = function SceneView(_ref2) { - var descriptor = _ref2.descriptor, - previousDescriptor = _ref2.previousDescriptor, - index = _ref2.index, - onWillDisappear = _ref2.onWillDisappear, - onAppear = _ref2.onAppear, - onDisappear = _ref2.onDisappear, - onDismissed = _ref2.onDismissed; - var route = descriptor.route, - navigation = descriptor.navigation, - options = descriptor.options, - render = descriptor.render; - var animation = options.animation, - _options$animationTyp = options.animationTypeForReplace, - animationTypeForReplace = _options$animationTyp === undefined ? 'push' : _options$animationTyp, - customAnimationOnGesture = options.customAnimationOnGesture, - fullScreenGestureEnabled = options.fullScreenGestureEnabled, - gestureEnabled = options.gestureEnabled, - header = options.header, - headerShown = options.headerShown, - orientation = options.orientation, - statusBarAnimation = options.statusBarAnimation, - statusBarHidden = options.statusBarHidden, - statusBarStyle = options.statusBarStyle; - var _options$presentation = options.presentation, - presentation = _options$presentation === undefined ? 'card' : _options$presentation; - - if (index === 0) { - presentation = 'card'; - } - - var isHeaderInPush = isAndroid ? headerShown : presentation === 'card' && headerShown !== false; - var insets = (0, _$$_REQUIRE(_dependencyMap[10]).useSafeAreaInsets)(); - var frame = (0, _$$_REQUIRE(_dependencyMap[10]).useSafeAreaFrame)(); - var isModal = presentation === 'modal' || presentation === 'formSheet'; - var isIPhone = _reactNative.Platform.OS === 'ios' && !(_reactNative.Platform.isPad && _reactNative.Platform.isTVOS); - var isLandscape = frame.width > frame.height; - var topInset = isModal || isIPhone && isLandscape ? 0 : insets.top; - var isParentHeaderShown = React.useContext(_$$_REQUIRE(_dependencyMap[11]).HeaderShownContext); - var parentHeaderHeight = React.useContext(_$$_REQUIRE(_dependencyMap[11]).HeaderHeightContext); - var defaultHeaderHeight = (0, _$$_REQUIRE(_dependencyMap[11]).getDefaultHeaderHeight)(frame, isModal, topInset); - - var _React$useState = React.useState(defaultHeaderHeight), - _React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2), - customHeaderHeight = _React$useState2[0], - setCustomHeaderHeight = _React$useState2[1]; - - var headerHeight = header ? customHeaderHeight : defaultHeaderHeight; - return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).Screen, { - enabled: true, - style: _reactNative.StyleSheet.absoluteFill, - customAnimationOnSwipe: customAnimationOnGesture, - fullScreenSwipeEnabled: fullScreenGestureEnabled, - gestureEnabled: isAndroid ? false : gestureEnabled, - replaceAnimation: animationTypeForReplace, - stackPresentation: presentation === 'card' ? 'push' : presentation, - stackAnimation: animation, - screenOrientation: orientation, - statusBarAnimation: statusBarAnimation, - statusBarHidden: statusBarHidden, - statusBarStyle: statusBarStyle, - onWillDisappear: onWillDisappear, - onAppear: onAppear, - onDisappear: onDisappear, - onDismissed: onDismissed, - isNativeStack: true, - children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).NavigationContext.Provider, { - value: navigation, - children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).NavigationRouteContext.Provider, { - value: route, - children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[11]).HeaderShownContext.Provider, { - value: isParentHeaderShown || isHeaderInPush !== false, - children: (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_$$_REQUIRE(_dependencyMap[11]).HeaderHeightContext.Provider, { - value: isHeaderInPush !== false ? headerHeight : parentHeaderHeight != null ? parentHeaderHeight : 0, - children: [header !== undefined && headerShown !== false ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_reactNative.View, { - onLayout: function onLayout(e) { - setCustomHeaderHeight(e.nativeEvent.layout.height); - }, - children: header({ - back: previousDescriptor ? { - title: (0, _$$_REQUIRE(_dependencyMap[11]).getHeaderTitle)(previousDescriptor.options, previousDescriptor.route.name) - } : undefined, - options: options, - route: route, - navigation: navigation - }) - }) : (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_HeaderConfig.default, Object.assign({}, options, { - route: route, - headerShown: isHeaderInPush, - headerHeight: headerHeight, - canGoBack: index !== 0 - })), (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(MaybeNestedStack, { - options: options, - route: route, - presentation: presentation, - headerHeight: headerHeight, - children: render() - })] - }) - }) - }) - }) - }, route.key); - }; - - function NativeStackViewInner(_ref3) { - var _state$routes$find; - - var state = _ref3.state, - navigation = _ref3.navigation, - descriptors = _ref3.descriptors; - - var _React$useState3 = React.useState(null), - _React$useState4 = (0, _slicedToArray2.default)(_React$useState3, 2), - nextDismissedKey = _React$useState4[0], - setNextDismissedKey = _React$useState4[1]; - - var dismissedRouteName = nextDismissedKey ? (_state$routes$find = state.routes.find(function (route) { - return route.key === nextDismissedKey; - })) == null ? undefined : _state$routes$find.name : null; - React.useEffect(function () { - if (dismissedRouteName) { - var message = "The screen '" + dismissedRouteName + "' was removed natively but didn't get removed from JS state. " + "This can happen if the action was prevented in a 'beforeRemove' listener, which is not fully supported in native-stack.\n\n" + "Consider using 'gestureEnabled: false' to prevent back gesture and use a custom back button with 'headerLeft' option to override the native behavior."; - console.error(message); - } - }, [dismissedRouteName]); - return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).ScreenStack, { - style: styles.container, - children: state.routes.map(function (route, index) { - var _state$routes; - - var descriptor = descriptors[route.key]; - var previousKey = (_state$routes = state.routes[index - 1]) == null ? undefined : _state$routes.key; - var previousDescriptor = previousKey ? descriptors[previousKey] : undefined; - return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(SceneView, { - index: index, - descriptor: descriptor, - previousDescriptor: previousDescriptor, - onWillDisappear: function onWillDisappear() { - navigation.emit({ - type: 'transitionStart', - data: { - closing: true - }, - target: route.key - }); - }, - onAppear: function onAppear() { - navigation.emit({ - type: 'transitionEnd', - data: { - closing: false - }, - target: route.key - }); - }, - onDisappear: function onDisappear() { - navigation.emit({ - type: 'transitionEnd', - data: { - closing: true - }, - target: route.key - }); - }, - onDismissed: function onDismissed(event) { - navigation.dispatch(Object.assign({}, _$$_REQUIRE(_dependencyMap[7]).StackActions.pop(event.nativeEvent.dismissCount), { - source: route.key, - target: state.key - })); - setNextDismissedKey(route.key); - } - }, route.key); - }) - }); - } - - function NativeStackView(props) { - return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[11]).SafeAreaProviderCompat, { - children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(NativeStackViewInner, Object.assign({}, props)) - }); - } - - var styles = _reactNative.StyleSheet.create({ - container: { - flex: 1 - } - }); -},1942,[3,33,16,18,1212,1943,1944,1073,179,1265,883,1230]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[3]); - - var _AppContainer = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _excluded = ["stackPresentation"]; - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var Container = _reactNative.View; - - var _default = exports.default = Container; -},1943,[3,4,16,18,336]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = HeaderConfig; - - var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[3]); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function HeaderConfig(_ref) { - var _ref2, _headerTitleStyleFlat, _headerStyleFlattened; - - var headerHeight = _ref.headerHeight, - headerBackImageSource = _ref.headerBackImageSource, - headerBackButtonMenuEnabled = _ref.headerBackButtonMenuEnabled, - headerBackTitle = _ref.headerBackTitle, - headerBackTitleStyle = _ref.headerBackTitleStyle, - _ref$headerBackTitleV = _ref.headerBackTitleVisible, - headerBackTitleVisible = _ref$headerBackTitleV === undefined ? true : _ref$headerBackTitleV, - headerBackVisible = _ref.headerBackVisible, - headerShadowVisible = _ref.headerShadowVisible, - headerLargeStyle = _ref.headerLargeStyle, - headerLargeTitle = _ref.headerLargeTitle, - headerLargeTitleShadowVisible = _ref.headerLargeTitleShadowVisible, - headerLargeTitleStyle = _ref.headerLargeTitleStyle, - headerBackground = _ref.headerBackground, - headerLeft = _ref.headerLeft, - headerRight = _ref.headerRight, - headerShown = _ref.headerShown, - headerStyle = _ref.headerStyle, - headerBlurEffect = _ref.headerBlurEffect, - headerTintColor = _ref.headerTintColor, - headerTitle = _ref.headerTitle, - headerTitleAlign = _ref.headerTitleAlign, - headerTitleStyle = _ref.headerTitleStyle, - headerTransparent = _ref.headerTransparent, - headerSearchBarOptions = _ref.headerSearchBarOptions, - route = _ref.route, - title = _ref.title, - canGoBack = _ref.canGoBack, - orientation = _ref.orientation; - var insets = (0, _$$_REQUIRE(_dependencyMap[4]).useSafeAreaInsets)(); - - var _useTheme = (0, _$$_REQUIRE(_dependencyMap[5]).useTheme)(), - colors = _useTheme.colors; - - var tintColor = headerTintColor != null ? headerTintColor : _reactNative.Platform.OS === 'ios' ? colors.primary : colors.text; - var headerBackTitleStyleFlattened = _reactNative.StyleSheet.flatten(headerBackTitleStyle) || {}; - var headerLargeTitleStyleFlattened = _reactNative.StyleSheet.flatten(headerLargeTitleStyle) || {}; - var headerTitleStyleFlattened = _reactNative.StyleSheet.flatten(headerTitleStyle) || {}; - var headerStyleFlattened = _reactNative.StyleSheet.flatten(headerStyle) || {}; - var headerLargeStyleFlattened = _reactNative.StyleSheet.flatten(headerLargeStyle) || {}; - - var _processFonts = (0, _$$_REQUIRE(_dependencyMap[6]).processFonts)([headerBackTitleStyleFlattened.fontFamily, headerLargeTitleStyleFlattened.fontFamily, headerTitleStyleFlattened.fontFamily]), - _processFonts2 = (0, _slicedToArray2.default)(_processFonts, 3), - backTitleFontFamily = _processFonts2[0], - largeTitleFontFamily = _processFonts2[1], - titleFontFamily = _processFonts2[2]; - - var titleText = title !== undefined ? title : route.name; - var titleColor = (_ref2 = (_headerTitleStyleFlat = headerTitleStyleFlattened.color) != null ? _headerTitleStyleFlat : headerTintColor) != null ? _ref2 : colors.text; - var titleFontSize = headerTitleStyleFlattened.fontSize; - var titleFontWeight = headerTitleStyleFlattened.fontWeight; - var headerTitleStyleSupported = { - color: titleColor - }; - - if (headerTitleStyleFlattened.fontFamily != null) { - headerTitleStyleSupported.fontFamily = headerTitleStyleFlattened.fontFamily; - } - - if (titleFontSize != null) { - headerTitleStyleSupported.fontSize = titleFontSize; - } - - if (titleFontWeight != null) { - headerTitleStyleSupported.fontWeight = titleFontWeight; - } - - var headerLeftElement = headerLeft == null ? undefined : headerLeft({ - tintColor: tintColor, - canGoBack: canGoBack, - label: headerBackTitle - }); - var headerRightElement = headerRight == null ? undefined : headerRight({ - tintColor: tintColor, - canGoBack: canGoBack - }); - var headerTitleElement = typeof headerTitle === 'function' ? headerTitle({ - tintColor: tintColor, - children: titleText - }) : null; - var supportsHeaderSearchBar = typeof _$$_REQUIRE(_dependencyMap[7]).isSearchBarAvailableForCurrentPlatform === 'boolean' ? _$$_REQUIRE(_dependencyMap[7]).isSearchBarAvailableForCurrentPlatform : _reactNative.Platform.OS === 'ios' && _$$_REQUIRE(_dependencyMap[7]).SearchBar != null; - var hasHeaderSearchBar = supportsHeaderSearchBar && headerSearchBarOptions != null; - - if (headerSearchBarOptions != null && !supportsHeaderSearchBar) { - throw new Error("The current version of 'react-native-screens' doesn't support SearchBar in the header. Please update to the latest version to use this option."); - } - - var backButtonInCustomView = headerBackVisible ? headerLeftElement != null : _reactNative.Platform.OS === 'android' && headerTitleElement != null; - var translucent = headerBackground != null || headerTransparent || (hasHeaderSearchBar || headerLargeTitle) && _reactNative.Platform.OS === 'ios' && headerTransparent !== false; - return (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_$$_REQUIRE(_dependencyMap[8]).Fragment, { - children: [headerBackground != null ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_reactNative.View, { - style: [styles.background, headerTransparent ? styles.translucent : null, { - height: headerHeight - }], - children: headerBackground() - }) : null, (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderConfig, { - backButtonInCustomView: backButtonInCustomView, - backgroundColor: (_headerStyleFlattened = headerStyleFlattened.backgroundColor) != null ? _headerStyleFlattened : headerBackground != null || headerTransparent ? 'transparent' : colors.card, - backTitle: headerBackTitleVisible ? headerBackTitle : ' ', - backTitleFontFamily: backTitleFontFamily, - backTitleFontSize: headerBackTitleStyleFlattened.fontSize, - blurEffect: headerBlurEffect, - color: tintColor, - direction: _reactNative.I18nManager.isRTL ? 'rtl' : 'ltr', - disableBackButtonMenu: headerBackButtonMenuEnabled === false, - hidden: headerShown === false, - hideBackButton: headerBackVisible === false, - hideShadow: headerShadowVisible === false || headerBackground != null || headerTransparent, - largeTitle: headerLargeTitle, - largeTitleBackgroundColor: headerLargeStyleFlattened.backgroundColor, - largeTitleColor: headerLargeTitleStyleFlattened.color, - largeTitleFontFamily: largeTitleFontFamily, - largeTitleFontSize: headerLargeTitleStyleFlattened.fontSize, - largeTitleFontWeight: headerLargeTitleStyleFlattened.fontWeight, - largeTitleHideShadow: headerLargeTitleShadowVisible === false, - title: typeof headerTitle === 'string' ? headerTitle : titleText, - titleColor: titleColor, - titleFontFamily: titleFontFamily, - titleFontSize: titleFontSize, - titleFontWeight: titleFontWeight, - topInsetEnabled: insets.top !== 0, - translucent: translucent === true, - screenOrientation: orientation, - children: [_reactNative.Platform.OS === 'ios' ? (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_$$_REQUIRE(_dependencyMap[8]).Fragment, { - children: [headerLeftElement != null ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderLeftView, { - children: headerLeftElement - }) : null, headerTitleElement != null ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderCenterView, { - children: headerTitleElement - }) : null] - }) : (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_$$_REQUIRE(_dependencyMap[8]).Fragment, { - children: [headerLeftElement != null || typeof headerTitle === 'function' ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderLeftView, { - children: (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_reactNative.View, { - style: styles.row, - children: [headerLeftElement, headerTitleAlign !== 'center' ? typeof headerTitle === 'function' ? headerTitleElement : (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).HeaderTitle, { - tintColor: tintColor, - style: headerTitleStyleSupported, - children: titleText - }) : null] - }) - }) : null, headerTitleAlign === 'center' ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderCenterView, { - children: typeof headerTitle === 'function' ? headerTitleElement : (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).HeaderTitle, { - tintColor: tintColor, - style: headerTitleStyleSupported, - children: titleText - }) - }) : null] - }), headerBackImageSource !== undefined ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderBackButtonImage, { - source: headerBackImageSource - }) : null, headerRightElement != null ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderRightView, { - children: headerRightElement - }) : null, hasHeaderSearchBar ? (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).ScreenStackHeaderSearchBarView, { - children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[7]).SearchBar, Object.assign({}, headerSearchBarOptions)) - }) : null] - })] - }); - } - - var styles = _reactNative.StyleSheet.create({ - row: { - flexDirection: 'row', - alignItems: 'center' - }, - translucent: { - position: 'absolute', - top: 0, - left: 0, - right: 0, - zIndex: 1 - }, - background: { - overflow: 'hidden' - } - }); -},1944,[3,33,16,18,883,1073,1945,1265,179,1230]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.processFonts = processFonts; - - var _ReactNativeStyleAttributes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - function processFonts(fontFamilies) { - var _ReactNativeStyleAttr; - - var fontFamilyProcessor = (_ReactNativeStyleAttr = _ReactNativeStyleAttributes.default.fontFamily) == null ? undefined : _ReactNativeStyleAttr.process; - - if (typeof fontFamilyProcessor === 'function') { - return fontFamilies.map(fontFamilyProcessor); - } - - return fontFamilies; - } -},1945,[3,142]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - Object.defineProperty(exports, "BottomTabBar", { - enumerable: true, - get: function get() { - return _BottomTabBar.default; - } - }); - Object.defineProperty(exports, "BottomTabBarHeightContext", { - enumerable: true, - get: function get() { - return _BottomTabBarHeightContext.default; - } - }); - Object.defineProperty(exports, "BottomTabView", { - enumerable: true, - get: function get() { - return _BottomTabView.default; - } - }); - Object.defineProperty(exports, "createBottomTabNavigator", { - enumerable: true, - get: function get() { - return _createBottomTabNavigator.default; - } - }); - Object.defineProperty(exports, "useBottomTabBarHeight", { - enumerable: true, - get: function get() { - return _useBottomTabBarHeight.default; - } - }); - - var _createBottomTabNavigator = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _BottomTabBar = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _BottomTabView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _BottomTabBarHeightContext = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _useBottomTabBarHeight = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); -},1946,[3,1947,1951,1948,1950,1957]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); - - var _warnOnce = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _BottomTabView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _excluded = ["initialRouteName", "backBehavior", "children", "screenListeners", "screenOptions", "sceneContainerStyle"], - _excluded2 = ["lazy", "tabBarOptions"]; - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function BottomTabNavigator(_ref) { - var initialRouteName = _ref.initialRouteName, - backBehavior = _ref.backBehavior, - children = _ref.children, - screenListeners = _ref.screenListeners, - screenOptions = _ref.screenOptions, - sceneContainerStyle = _ref.sceneContainerStyle, - restWithDeprecated = (0, _objectWithoutProperties2.default)(_ref, _excluded); - var lazy = restWithDeprecated.lazy, - tabBarOptions = restWithDeprecated.tabBarOptions, - rest = (0, _objectWithoutProperties2.default)(restWithDeprecated, _excluded2); - var defaultScreenOptions = {}; - - if (tabBarOptions) { - var _tabBarOptions$labelP; - - Object.assign(defaultScreenOptions, { - tabBarHideOnKeyboard: tabBarOptions.keyboardHidesTabBar, - tabBarActiveTintColor: tabBarOptions.activeTintColor, - tabBarInactiveTintColor: tabBarOptions.inactiveTintColor, - tabBarActiveBackgroundColor: tabBarOptions.activeBackgroundColor, - tabBarInactiveBackgroundColor: tabBarOptions.inactiveBackgroundColor, - tabBarAllowFontScaling: tabBarOptions.allowFontScaling, - tabBarShowLabel: tabBarOptions.showLabel, - tabBarLabelStyle: tabBarOptions.labelStyle, - tabBarIconStyle: tabBarOptions.iconStyle, - tabBarItemStyle: tabBarOptions.tabStyle, - tabBarLabelPosition: (_tabBarOptions$labelP = tabBarOptions.labelPosition) != null ? _tabBarOptions$labelP : tabBarOptions.adaptive === false ? 'below-icon' : undefined, - tabBarStyle: [{ - display: tabBarOptions.tabBarVisible ? 'none' : 'flex' - }, defaultScreenOptions.tabBarStyle] - }); - Object.keys(defaultScreenOptions).forEach(function (key) { - if (defaultScreenOptions[key] === undefined) { - delete defaultScreenOptions[key]; - } - }); - (0, _warnOnce.default)(tabBarOptions, "Bottom Tab Navigator: 'tabBarOptions' is deprecated. Migrate the options to 'screenOptions' instead.\n\nPlace the following in 'screenOptions' in your code to keep current behavior:\n\n" + JSON.stringify(defaultScreenOptions, null, 2) + "\n\nSee https://reactnavigation.org/docs/bottom-tab-navigator#options for more details."); - } - - if (typeof lazy === 'boolean') { - defaultScreenOptions.lazy = lazy; - (0, _warnOnce.default)(true, "Bottom Tab Navigator: 'lazy' in props is deprecated. Move it to 'screenOptions' instead.\n\nSee https://reactnavigation.org/docs/bottom-tab-navigator/#lazy for more details."); - } - - var _useNavigationBuilder = (0, _$$_REQUIRE(_dependencyMap[5]).useNavigationBuilder)(_$$_REQUIRE(_dependencyMap[5]).TabRouter, { - initialRouteName: initialRouteName, - backBehavior: backBehavior, - children: children, - screenListeners: screenListeners, - screenOptions: screenOptions, - defaultScreenOptions: defaultScreenOptions - }), - state = _useNavigationBuilder.state, - descriptors = _useNavigationBuilder.descriptors, - navigation = _useNavigationBuilder.navigation, - NavigationContent = _useNavigationBuilder.NavigationContent; - - return (0, _$$_REQUIRE(_dependencyMap[6]).jsx)(NavigationContent, { - children: (0, _$$_REQUIRE(_dependencyMap[6]).jsx)(_BottomTabView.default, Object.assign({}, rest, { - state: state, - navigation: navigation, - descriptors: descriptors, - sceneContainerStyle: sceneContainerStyle - })) - }); - } - - var _default = exports.default = (0, _$$_REQUIRE(_dependencyMap[5]).createNavigatorFactory)(BottomTabNavigator); -},1947,[3,4,16,1212,1948,1073,179]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = BottomTabView; - - var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[3])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[4]); - - var _BottomTabBarHeightCallbackContext = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _BottomTabBarHeightContext = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _BottomTabBar = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[7])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function BottomTabView(props) { - var _props$tabBar = props.tabBar, - tabBar = _props$tabBar === undefined ? function (props) { - return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_BottomTabBar.default, Object.assign({}, props)); - } : _props$tabBar, - state = props.state, - navigation = props.navigation, - descriptors = props.descriptors, - safeAreaInsets = props.safeAreaInsets, - _props$detachInactive = props.detachInactiveScreens, - detachInactiveScreens = _props$detachInactive === undefined ? _reactNative.Platform.OS === 'web' || _reactNative.Platform.OS === 'android' || _reactNative.Platform.OS === 'ios' : _props$detachInactive, - sceneContainerStyle = props.sceneContainerStyle; - var focusedRouteKey = state.routes[state.index].key; - - var _React$useState = React.useState([focusedRouteKey]), - _React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2), - loaded = _React$useState2[0], - setLoaded = _React$useState2[1]; - - if (!loaded.includes(focusedRouteKey)) { - setLoaded([].concat((0, _toConsumableArray2.default)(loaded), [focusedRouteKey])); - } - - var dimensions = _$$_REQUIRE(_dependencyMap[9]).SafeAreaProviderCompat.initialMetrics.frame; - - var _React$useState3 = React.useState(function () { - return (0, _BottomTabBar.getTabBarHeight)({ - state: state, - descriptors: descriptors, - dimensions: dimensions, - layout: { - width: dimensions.width, - height: 0 - }, - insets: Object.assign({}, _$$_REQUIRE(_dependencyMap[9]).SafeAreaProviderCompat.initialMetrics.insets, props.safeAreaInsets), - style: descriptors[state.routes[state.index].key].options.tabBarStyle - }); - }), - _React$useState4 = (0, _slicedToArray2.default)(_React$useState3, 2), - tabBarHeight = _React$useState4[0], - setTabBarHeight = _React$useState4[1]; - - var renderTabBar = function renderTabBar() { - return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[10]).SafeAreaInsetsContext.Consumer, { - children: function children(insets) { - var _ref, _safeAreaInsets$top, _ref2, _safeAreaInsets$right, _ref3, _safeAreaInsets$botto, _ref4, _safeAreaInsets$left; - - return tabBar({ - state: state, - descriptors: descriptors, - navigation: navigation, - insets: { - top: (_ref = (_safeAreaInsets$top = safeAreaInsets == null ? undefined : safeAreaInsets.top) != null ? _safeAreaInsets$top : insets == null ? undefined : insets.top) != null ? _ref : 0, - right: (_ref2 = (_safeAreaInsets$right = safeAreaInsets == null ? undefined : safeAreaInsets.right) != null ? _safeAreaInsets$right : insets == null ? undefined : insets.right) != null ? _ref2 : 0, - bottom: (_ref3 = (_safeAreaInsets$botto = safeAreaInsets == null ? undefined : safeAreaInsets.bottom) != null ? _safeAreaInsets$botto : insets == null ? undefined : insets.bottom) != null ? _ref3 : 0, - left: (_ref4 = (_safeAreaInsets$left = safeAreaInsets == null ? undefined : safeAreaInsets.left) != null ? _safeAreaInsets$left : insets == null ? undefined : insets.left) != null ? _ref4 : 0 - } - }); - } - }); - }; - - var routes = state.routes; - return (0, _$$_REQUIRE(_dependencyMap[8]).jsxs)(_$$_REQUIRE(_dependencyMap[9]).SafeAreaProviderCompat, { - children: [(0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[11]).MaybeScreenContainer, { - enabled: detachInactiveScreens, - hasTwoStates: true, - style: styles.container, - children: routes.map(function (route, index) { - var descriptor = descriptors[route.key]; - var _descriptor$options = descriptor.options, - _descriptor$options$l = _descriptor$options.lazy, - lazy = _descriptor$options$l === undefined ? true : _descriptor$options$l, - unmountOnBlur = _descriptor$options.unmountOnBlur; - var isFocused = state.index === index; - - if (unmountOnBlur && !isFocused) { - return null; - } - - if (lazy && !loaded.includes(route.key) && !isFocused) { - return null; - } - - var _descriptor$options$h = descriptor.options.header, - header = _descriptor$options$h === undefined ? function (_ref5) { - var layout = _ref5.layout, - options = _ref5.options; - return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).Header, Object.assign({}, options, { - layout: layout, - title: (0, _$$_REQUIRE(_dependencyMap[9]).getHeaderTitle)(options, route.name) - })); - } : _descriptor$options$h; - return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[11]).MaybeScreen, { - style: [_reactNative.StyleSheet.absoluteFill, { - zIndex: isFocused ? 0 : -1 - }], - visible: isFocused, - enabled: detachInactiveScreens, - children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_BottomTabBarHeightContext.default.Provider, { - value: tabBarHeight, - children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).Screen, { - focused: isFocused, - route: descriptor.route, - navigation: descriptor.navigation, - headerShown: descriptor.options.headerShown, - headerTransparent: descriptor.options.headerTransparent, - headerStatusBarHeight: descriptor.options.headerStatusBarHeight, - header: header({ - layout: dimensions, - route: descriptor.route, - navigation: descriptor.navigation, - options: descriptor.options - }), - style: sceneContainerStyle, - children: descriptor.render() - }) - }) - }, route.key); - }) - }), (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_BottomTabBarHeightCallbackContext.default.Provider, { - value: setTabBarHeight, - children: renderTabBar() - })] - }); - } - - var styles = _reactNative.StyleSheet.create({ - container: { - flex: 1, - overflow: 'hidden' - } - }); -},1948,[3,22,33,16,18,1949,1950,1951,179,1230,883,1956]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var _default = exports.default = React.createContext(undefined); -},1949,[16]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var _default = exports.default = React.createContext(undefined); -},1950,[16]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = BottomTabBar; - exports.getTabBarHeight = undefined; - - var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[4]); - - var _BottomTabBarHeightCallbackContext = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _useIsKeyboardShown = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _BottomTabItem = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _excluded = ["state", "descriptors", "dimensions", "insets", "style"]; - var DEFAULT_TABBAR_HEIGHT = 49; - var COMPACT_TABBAR_HEIGHT = 32; - var DEFAULT_MAX_TAB_ITEM_WIDTH = 125; - var useNativeDriver = _reactNative.Platform.OS !== 'web'; - - var shouldUseHorizontalLabels = function shouldUseHorizontalLabels(_ref) { - var state = _ref.state, - descriptors = _ref.descriptors, - layout = _ref.layout, - dimensions = _ref.dimensions; - var tabBarLabelPosition = descriptors[state.routes[state.index].key].options.tabBarLabelPosition; - - if (tabBarLabelPosition) { - switch (tabBarLabelPosition) { - case 'beside-icon': - return true; - - case 'below-icon': - return false; - } - } - - if (layout.width >= 768) { - var maxTabWidth = state.routes.reduce(function (acc, route) { - var tabBarItemStyle = descriptors[route.key].options.tabBarItemStyle; - - var flattenedStyle = _reactNative.StyleSheet.flatten(tabBarItemStyle); - - if (flattenedStyle) { - if (typeof flattenedStyle.width === 'number') { - return acc + flattenedStyle.width; - } else if (typeof flattenedStyle.maxWidth === 'number') { - return acc + flattenedStyle.maxWidth; - } - } - - return acc + DEFAULT_MAX_TAB_ITEM_WIDTH; - }, 0); - return maxTabWidth <= layout.width; - } else { - return dimensions.width > dimensions.height; - } - }; - - var getPaddingBottom = function getPaddingBottom(insets) { - return Math.max(insets.bottom - _reactNative.Platform.select({ - ios: 4, - default: 0 - }), 0); - }; - - var getTabBarHeight = exports.getTabBarHeight = function getTabBarHeight(_ref2) { - var _StyleSheet$flatten; - - var state = _ref2.state, - descriptors = _ref2.descriptors, - dimensions = _ref2.dimensions, - insets = _ref2.insets, - style = _ref2.style, - rest = (0, _objectWithoutProperties2.default)(_ref2, _excluded); - var customHeight = (_StyleSheet$flatten = _reactNative.StyleSheet.flatten(style)) == null ? undefined : _StyleSheet$flatten.height; - - if (typeof customHeight === 'number') { - return customHeight; - } - - var isLandscape = dimensions.width > dimensions.height; - var horizontalLabels = shouldUseHorizontalLabels(Object.assign({ - state: state, - descriptors: descriptors, - dimensions: dimensions - }, rest)); - var paddingBottom = getPaddingBottom(insets); - - if (_reactNative.Platform.OS === 'ios' && !_reactNative.Platform.isPad && isLandscape && horizontalLabels) { - return COMPACT_TABBAR_HEIGHT + paddingBottom; - } - - return DEFAULT_TABBAR_HEIGHT + paddingBottom; - }; - - function BottomTabBar(_ref3) { - var state = _ref3.state, - navigation = _ref3.navigation, - descriptors = _ref3.descriptors, - insets = _ref3.insets, - style = _ref3.style; - - var _useTheme = (0, _$$_REQUIRE(_dependencyMap[8]).useTheme)(), - colors = _useTheme.colors; - - var buildLink = (0, _$$_REQUIRE(_dependencyMap[8]).useLinkBuilder)(); - var focusedRoute = state.routes[state.index]; - var focusedDescriptor = descriptors[focusedRoute.key]; - var focusedOptions = focusedDescriptor.options; - var tabBarShowLabel = focusedOptions.tabBarShowLabel, - _focusedOptions$tabBa = focusedOptions.tabBarHideOnKeyboard, - tabBarHideOnKeyboard = _focusedOptions$tabBa === undefined ? false : _focusedOptions$tabBa, - tabBarVisibilityAnimationConfig = focusedOptions.tabBarVisibilityAnimationConfig, - tabBarStyle = focusedOptions.tabBarStyle, - tabBarBackground = focusedOptions.tabBarBackground, - tabBarActiveTintColor = focusedOptions.tabBarActiveTintColor, - tabBarInactiveTintColor = focusedOptions.tabBarInactiveTintColor, - tabBarActiveBackgroundColor = focusedOptions.tabBarActiveBackgroundColor, - tabBarInactiveBackgroundColor = focusedOptions.tabBarInactiveBackgroundColor; - var dimensions = (0, _$$_REQUIRE(_dependencyMap[9]).useSafeAreaFrame)(); - var isKeyboardShown = (0, _useIsKeyboardShown.default)(); - - var onHeightChange = _react.default.useContext(_BottomTabBarHeightCallbackContext.default); - - var shouldShowTabBar = !(tabBarHideOnKeyboard && isKeyboardShown); - - var visibilityAnimationConfigRef = _react.default.useRef(tabBarVisibilityAnimationConfig); - - _react.default.useEffect(function () { - visibilityAnimationConfigRef.current = tabBarVisibilityAnimationConfig; - }); - - var _React$useState = _react.default.useState(!shouldShowTabBar), - _React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2), - isTabBarHidden = _React$useState2[0], - setIsTabBarHidden = _React$useState2[1]; - - var _React$useState3 = _react.default.useState(function () { - return new _reactNative.Animated.Value(shouldShowTabBar ? 1 : 0); - }), - _React$useState4 = (0, _slicedToArray2.default)(_React$useState3, 1), - visible = _React$useState4[0]; - - _react.default.useEffect(function () { - var visibilityAnimationConfig = visibilityAnimationConfigRef.current; - - if (shouldShowTabBar) { - var _visibilityAnimationC, _visibilityAnimationC2; - - var animation = (visibilityAnimationConfig == null ? undefined : (_visibilityAnimationC = visibilityAnimationConfig.show) == null ? undefined : _visibilityAnimationC.animation) === 'spring' ? _reactNative.Animated.spring : _reactNative.Animated.timing; - animation(visible, Object.assign({ - toValue: 1, - useNativeDriver: useNativeDriver, - duration: 250 - }, visibilityAnimationConfig == null ? undefined : (_visibilityAnimationC2 = visibilityAnimationConfig.show) == null ? undefined : _visibilityAnimationC2.config)).start(function (_ref4) { - var finished = _ref4.finished; - - if (finished) { - setIsTabBarHidden(false); - } - }); - } else { - var _visibilityAnimationC3, _visibilityAnimationC4; - - setIsTabBarHidden(true); - - var _animation = (visibilityAnimationConfig == null ? undefined : (_visibilityAnimationC3 = visibilityAnimationConfig.hide) == null ? undefined : _visibilityAnimationC3.animation) === 'spring' ? _reactNative.Animated.spring : _reactNative.Animated.timing; - - _animation(visible, Object.assign({ - toValue: 0, - useNativeDriver: useNativeDriver, - duration: 200 - }, visibilityAnimationConfig == null ? undefined : (_visibilityAnimationC4 = visibilityAnimationConfig.hide) == null ? undefined : _visibilityAnimationC4.config)).start(); - } - - return function () { - return visible.stopAnimation(); - }; - }, [visible, shouldShowTabBar]); - - var _React$useState5 = _react.default.useState({ - height: 0, - width: dimensions.width - }), - _React$useState6 = (0, _slicedToArray2.default)(_React$useState5, 2), - layout = _React$useState6[0], - setLayout = _React$useState6[1]; - - var handleLayout = function handleLayout(e) { - var _e$nativeEvent$layout = e.nativeEvent.layout, - height = _e$nativeEvent$layout.height, - width = _e$nativeEvent$layout.width; - onHeightChange == null ? undefined : onHeightChange(height); - setLayout(function (layout) { - if (height === layout.height && width === layout.width) { - return layout; - } else { - return { - height: height, - width: width - }; - } - }); - }; - - var routes = state.routes; - var paddingBottom = getPaddingBottom(insets); - var tabBarHeight = getTabBarHeight({ - state: state, - descriptors: descriptors, - insets: insets, - dimensions: dimensions, - layout: layout, - style: [tabBarStyle, style] - }); - var hasHorizontalLabels = shouldUseHorizontalLabels({ - state: state, - descriptors: descriptors, - dimensions: dimensions, - layout: layout - }); - var tabBarBackgroundElement = tabBarBackground == null ? undefined : tabBarBackground(); - return (0, _$$_REQUIRE(_dependencyMap[10]).jsxs)(_reactNative.Animated.View, { - style: [styles.tabBar, { - backgroundColor: tabBarBackgroundElement != null ? 'transparent' : colors.card, - borderTopColor: colors.border - }, { - transform: [{ - translateY: visible.interpolate({ - inputRange: [0, 1], - outputRange: [layout.height + paddingBottom + _reactNative.StyleSheet.hairlineWidth, 0] - }) - }], - position: isTabBarHidden ? 'absolute' : null - }, { - height: tabBarHeight, - paddingBottom: paddingBottom, - paddingHorizontal: Math.max(insets.left, insets.right) - }, tabBarStyle], - pointerEvents: isTabBarHidden ? 'none' : 'auto', - onLayout: handleLayout, - children: [(0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_reactNative.View, { - pointerEvents: "none", - style: _reactNative.StyleSheet.absoluteFill, - children: tabBarBackgroundElement - }), (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_reactNative.View, { - accessibilityRole: "tablist", - style: styles.content, - children: routes.map(function (route, index) { - var _options$tabBarIcon; - - var focused = index === state.index; - var options = descriptors[route.key].options; - - var onPress = function onPress() { - var event = navigation.emit({ - type: 'tabPress', - target: route.key, - canPreventDefault: true - }); - - if (!focused && !event.defaultPrevented) { - navigation.dispatch(Object.assign({}, _$$_REQUIRE(_dependencyMap[8]).CommonActions.navigate({ - name: route.name, - merge: true - }), { - target: state.key - })); - } - }; - - var onLongPress = function onLongPress() { - navigation.emit({ - type: 'tabLongPress', - target: route.key - }); - }; - - var label = options.tabBarLabel !== undefined ? options.tabBarLabel : options.title !== undefined ? options.title : route.name; - var accessibilityLabel = options.tabBarAccessibilityLabel !== undefined ? options.tabBarAccessibilityLabel : typeof label === 'string' && _reactNative.Platform.OS === 'ios' ? label + ", tab, " + (index + 1) + " of " + routes.length : undefined; - return (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[8]).NavigationContext.Provider, { - value: descriptors[route.key].navigation, - children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[8]).NavigationRouteContext.Provider, { - value: route, - children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_BottomTabItem.default, { - route: route, - focused: focused, - horizontal: hasHorizontalLabels, - onPress: onPress, - onLongPress: onLongPress, - accessibilityLabel: accessibilityLabel, - to: buildLink(route.name, route.params), - testID: options.tabBarTestID, - allowFontScaling: options.tabBarAllowFontScaling, - activeTintColor: tabBarActiveTintColor, - inactiveTintColor: tabBarInactiveTintColor, - activeBackgroundColor: tabBarActiveBackgroundColor, - inactiveBackgroundColor: tabBarInactiveBackgroundColor, - button: options.tabBarButton, - icon: (_options$tabBarIcon = options.tabBarIcon) != null ? _options$tabBarIcon : function (_ref5) { - var color = _ref5.color, - size = _ref5.size; - return (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[11]).MissingIcon, { - color: color, - size: size - }); - }, - badge: options.tabBarBadge, - badgeStyle: options.tabBarBadgeStyle, - label: label, - showLabel: tabBarShowLabel, - labelStyle: options.tabBarLabelStyle, - iconStyle: options.tabBarIconStyle, - style: options.tabBarItemStyle - }) - }) - }, route.key); - }) - })] - }); - } - - var styles = _reactNative.StyleSheet.create({ - tabBar: { - left: 0, - right: 0, - bottom: 0, - borderTopWidth: _reactNative.StyleSheet.hairlineWidth, - elevation: 8 - }, - content: { - flex: 1, - flexDirection: 'row' - } - }); -},1951,[3,33,4,16,18,1949,1952,1953,1073,883,179,1230]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = useIsKeyboardShown; - - var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[3]); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function useIsKeyboardShown() { - var _React$useState = React.useState(false), - _React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2), - isKeyboardShown = _React$useState2[0], - setIsKeyboardShown = _React$useState2[1]; - - React.useEffect(function () { - var handleKeyboardShow = function handleKeyboardShow() { - return setIsKeyboardShown(true); - }; - - var handleKeyboardHide = function handleKeyboardHide() { - return setIsKeyboardShown(false); - }; - - var subscriptions; - - if (_reactNative.Platform.OS === 'ios') { - subscriptions = [_reactNative.Keyboard.addListener('keyboardWillShow', handleKeyboardShow), _reactNative.Keyboard.addListener('keyboardWillHide', handleKeyboardHide)]; - } else { - subscriptions = [_reactNative.Keyboard.addListener('keyboardDidShow', handleKeyboardShow), _reactNative.Keyboard.addListener('keyboardDidHide', handleKeyboardHide)]; - } - - return function () { - subscriptions.forEach(function (s) { - return s.remove(); - }); - }; - }, []); - return isKeyboardShown; - } -},1952,[3,33,16,18]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = BottomTabBarItem; - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _color = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[4]); - - var _TabBarIcon = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _excluded = ["children", "style", "onPress", "to", "accessibilityRole"]; - - function BottomTabBarItem(_ref) { - var focused = _ref.focused, - route = _ref.route, - label = _ref.label, - icon = _ref.icon, - badge = _ref.badge, - badgeStyle = _ref.badgeStyle, - to = _ref.to, - _ref$button = _ref.button, - button = _ref$button === undefined ? function (_ref2) { - var children = _ref2.children, - style = _ref2.style, - _onPress = _ref2.onPress, - to = _ref2.to, - accessibilityRole = _ref2.accessibilityRole, - rest = (0, _objectWithoutProperties2.default)(_ref2, _excluded); - - if (_reactNative.Platform.OS === 'web' && to) { - return (0, _$$_REQUIRE(_dependencyMap[6]).jsx)(_$$_REQUIRE(_dependencyMap[7]).Link, Object.assign({}, rest, { - to: to, - style: [styles.button, style], - onPress: function onPress(e) { - if (!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) && (e.button == null || e.button === 0)) { - e.preventDefault(); - _onPress == null ? undefined : _onPress(e); - } - }, - children: children - })); - } else { - return (0, _$$_REQUIRE(_dependencyMap[6]).jsx)(_reactNative.Pressable, Object.assign({}, rest, { - accessibilityRole: accessibilityRole, - onPress: _onPress, - style: style, - children: children - })); - } - } : _ref$button, - accessibilityLabel = _ref.accessibilityLabel, - testID = _ref.testID, - onPress = _ref.onPress, - onLongPress = _ref.onLongPress, - horizontal = _ref.horizontal, - customActiveTintColor = _ref.activeTintColor, - customInactiveTintColor = _ref.inactiveTintColor, - _ref$activeBackground = _ref.activeBackgroundColor, - activeBackgroundColor = _ref$activeBackground === undefined ? 'transparent' : _ref$activeBackground, - _ref$inactiveBackgrou = _ref.inactiveBackgroundColor, - inactiveBackgroundColor = _ref$inactiveBackgrou === undefined ? 'transparent' : _ref$inactiveBackgrou, - _ref$showLabel = _ref.showLabel, - showLabel = _ref$showLabel === undefined ? true : _ref$showLabel, - allowFontScaling = _ref.allowFontScaling, - labelStyle = _ref.labelStyle, - iconStyle = _ref.iconStyle, - style = _ref.style; - - var _useTheme = (0, _$$_REQUIRE(_dependencyMap[7]).useTheme)(), - colors = _useTheme.colors; - - var activeTintColor = customActiveTintColor === undefined ? colors.primary : customActiveTintColor; - var inactiveTintColor = customInactiveTintColor === undefined ? (0, _color.default)(colors.text).mix((0, _color.default)(colors.card), 0.5).hex() : customInactiveTintColor; - - var renderLabel = function renderLabel(_ref3) { - var focused = _ref3.focused; - - if (showLabel === false) { - return null; - } - - var color = focused ? activeTintColor : inactiveTintColor; - - if (typeof label === 'string') { - return (0, _$$_REQUIRE(_dependencyMap[6]).jsx)(_reactNative.Text, { - numberOfLines: 1, - style: [styles.label, { - color: color - }, horizontal ? styles.labelBeside : styles.labelBeneath, labelStyle], - allowFontScaling: allowFontScaling, - children: label - }); - } - - return label({ - focused: focused, - color: color, - position: horizontal ? 'beside-icon' : 'below-icon' - }); - }; - - var renderIcon = function renderIcon(_ref4) { - var focused = _ref4.focused; - - if (icon === undefined) { - return null; - } - - var activeOpacity = focused ? 1 : 0; - var inactiveOpacity = focused ? 0 : 1; - return (0, _$$_REQUIRE(_dependencyMap[6]).jsx)(_TabBarIcon.default, { - route: route, - horizontal: horizontal, - badge: badge, - badgeStyle: badgeStyle, - activeOpacity: activeOpacity, - inactiveOpacity: inactiveOpacity, - activeTintColor: activeTintColor, - inactiveTintColor: inactiveTintColor, - renderIcon: icon, - style: iconStyle - }); - }; - - var scene = { - route: route, - focused: focused - }; - var backgroundColor = focused ? activeBackgroundColor : inactiveBackgroundColor; - return button({ - to: to, - onPress: onPress, - onLongPress: onLongPress, - testID: testID, - accessibilityLabel: accessibilityLabel, - accessibilityRole: _reactNative.Platform.select({ - ios: 'button', - default: 'tab' - }), - accessibilityState: { - selected: focused - }, - accessibilityStates: focused ? ['selected'] : [], - style: [styles.tab, { - backgroundColor: backgroundColor - }, horizontal ? styles.tabLandscape : styles.tabPortrait, style], - children: (0, _$$_REQUIRE(_dependencyMap[6]).jsxs)(_react.default.Fragment, { - children: [renderIcon(scene), renderLabel(scene)] - }) - }); - } - - var styles = _reactNative.StyleSheet.create({ - tab: { - flex: 1, - alignItems: 'center' - }, - tabPortrait: { - justifyContent: 'flex-end', - flexDirection: 'column' - }, - tabLandscape: { - justifyContent: 'center', - flexDirection: 'row' - }, - label: { - textAlign: 'center', - backgroundColor: 'transparent' - }, - labelBeneath: { - fontSize: 10 - }, - labelBeside: { - fontSize: 13, - marginLeft: 20, - marginTop: 3 - }, - button: { - display: 'flex' - } - }); -},1953,[3,4,1221,16,18,1954,179,1073]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = TabBarIcon; - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[2]); - - var _Badge = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - function TabBarIcon(_ref) { - var _ = _ref.route, - horizontal = _ref.horizontal, - badge = _ref.badge, - badgeStyle = _ref.badgeStyle, - activeOpacity = _ref.activeOpacity, - inactiveOpacity = _ref.inactiveOpacity, - activeTintColor = _ref.activeTintColor, - inactiveTintColor = _ref.inactiveTintColor, - renderIcon = _ref.renderIcon, - style = _ref.style; - var size = 25; - return (0, _$$_REQUIRE(_dependencyMap[4]).jsxs)(_reactNative.View, { - style: [horizontal ? styles.iconHorizontal : styles.iconVertical, style], - children: [(0, _$$_REQUIRE(_dependencyMap[4]).jsx)(_reactNative.View, { - style: [styles.icon, { - opacity: activeOpacity - }], - children: renderIcon({ - focused: true, - size: size, - color: activeTintColor - }) - }), (0, _$$_REQUIRE(_dependencyMap[4]).jsx)(_reactNative.View, { - style: [styles.icon, { - opacity: inactiveOpacity - }], - children: renderIcon({ - focused: false, - size: size, - color: inactiveTintColor - }) - }), (0, _$$_REQUIRE(_dependencyMap[4]).jsx)(_Badge.default, { - visible: badge != null, - style: [styles.badge, horizontal ? styles.badgeHorizontal : styles.badgeVertical, badgeStyle], - size: 18.75, - children: badge - })] - }); - } - - var styles = _reactNative.StyleSheet.create({ - icon: { - position: 'absolute', - alignSelf: 'center', - alignItems: 'center', - justifyContent: 'center', - height: '100%', - width: '100%', - minWidth: 25 - }, - iconVertical: { - flex: 1 - }, - iconHorizontal: { - height: '100%', - marginTop: 3 - }, - badge: { - position: 'absolute', - left: 3 - }, - badgeVertical: { - top: 3 - }, - badgeHorizontal: { - top: 7 - } - }); -},1954,[3,16,18,1955,179]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = Badge; - - var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _color = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[4])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[5]); - - var _excluded = ["children", "style", "visible", "size"], - _excluded2 = ["backgroundColor"]; - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function Badge(_ref) { - var children = _ref.children, - style = _ref.style, - _ref$visible = _ref.visible, - visible = _ref$visible === undefined ? true : _ref$visible, - _ref$size = _ref.size, - size = _ref$size === undefined ? 18 : _ref$size, - rest = (0, _objectWithoutProperties2.default)(_ref, _excluded); - - var _React$useState = React.useState(function () { - return new _reactNative.Animated.Value(visible ? 1 : 0); - }), - _React$useState2 = (0, _slicedToArray2.default)(_React$useState, 1), - opacity = _React$useState2[0]; - - var _React$useState3 = React.useState(visible), - _React$useState4 = (0, _slicedToArray2.default)(_React$useState3, 2), - rendered = _React$useState4[0], - setRendered = _React$useState4[1]; - - var theme = (0, _$$_REQUIRE(_dependencyMap[6]).useTheme)(); - React.useEffect(function () { - if (!rendered) { - return; - } - - _reactNative.Animated.timing(opacity, { - toValue: visible ? 1 : 0, - duration: 150, - useNativeDriver: true - }).start(function (_ref2) { - var finished = _ref2.finished; - - if (finished && !visible) { - setRendered(false); - } - }); - - return function () { - return opacity.stopAnimation(); - }; - }, [opacity, rendered, visible]); - - if (!rendered) { - if (visible) { - setRendered(true); - } else { - return null; - } - } - - var _ref3 = _reactNative.StyleSheet.flatten(style) || {}, - _ref3$backgroundColor = _ref3.backgroundColor, - backgroundColor = _ref3$backgroundColor === undefined ? theme.colors.notification : _ref3$backgroundColor, - restStyle = (0, _objectWithoutProperties2.default)(_ref3, _excluded2); - - var textColor = (0, _color.default)(backgroundColor).isLight() ? 'black' : 'white'; - var borderRadius = size / 2; - var fontSize = Math.floor(size * 3 / 4); - return (0, _$$_REQUIRE(_dependencyMap[7]).jsx)(_reactNative.Animated.Text, Object.assign({ - numberOfLines: 1, - style: [{ - transform: [{ - scale: opacity.interpolate({ - inputRange: [0, 1], - outputRange: [0.5, 1] - }) - }], - color: textColor, - lineHeight: size - 1, - height: size, - minWidth: size, - opacity: opacity, - backgroundColor: backgroundColor, - fontSize: fontSize, - borderRadius: borderRadius - }, styles.container, restStyle] - }, rest, { - children: children - })); - } - - var styles = _reactNative.StyleSheet.create({ - container: { - alignSelf: 'flex-end', - textAlign: 'center', - paddingHorizontal: 4, - overflow: 'hidden' - } - }); -},1955,[3,33,4,1221,16,18,1073,179]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.MaybeScreen = MaybeScreen; - exports.MaybeScreenContainer = undefined; - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[3]); - - var _excluded = ["enabled"], - _excluded2 = ["visible", "children"]; - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var Screens; - - try { - Screens = _$$_REQUIRE(_dependencyMap[4]); - } catch (e) {} - - var MaybeScreenContainer = exports.MaybeScreenContainer = function MaybeScreenContainer(_ref) { - var _Screens; - - var enabled = _ref.enabled, - rest = (0, _objectWithoutProperties2.default)(_ref, _excluded); - - if ((_Screens = Screens) != null && _Screens.screensEnabled != null && _Screens.screensEnabled()) { - return (0, _$$_REQUIRE(_dependencyMap[5]).jsx)(Screens.ScreenContainer, Object.assign({ - enabled: enabled - }, rest)); - } - - return (0, _$$_REQUIRE(_dependencyMap[5]).jsx)(_reactNative.View, Object.assign({}, rest)); - }; - - function MaybeScreen(_ref2) { - var _Screens2; - - var visible = _ref2.visible, - children = _ref2.children, - rest = (0, _objectWithoutProperties2.default)(_ref2, _excluded2); - - if ((_Screens2 = Screens) != null && _Screens2.screensEnabled != null && _Screens2.screensEnabled()) { - return (0, _$$_REQUIRE(_dependencyMap[5]).jsx)(Screens.Screen, Object.assign({ - activityState: visible ? 2 : 0 - }, rest, { - children: children - })); - } - - return (0, _$$_REQUIRE(_dependencyMap[5]).jsx)(_$$_REQUIRE(_dependencyMap[6]).ResourceSavingView, Object.assign({ - visible: visible - }, rest, { - children: children - })); - } -},1956,[3,4,16,18,1265,179,1230]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = useFloatingBottomTabBarHeight; - - var React = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0])); - - var _BottomTabBarHeightContext = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function useFloatingBottomTabBarHeight() { - var height = React.useContext(_BottomTabBarHeightContext.default); - - if (height === undefined) { - throw new Error("Couldn't find the bottom tab bar height. Are you inside a screen in Bottom Tab Navigator?"); - } - - return height; - } -},1957,[16,3,1950]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.sendNewsmemoryZoom = exports.sendNewsmemoryUseBeta = exports.sendNewsmemoryTranslate = exports.sendNewsmemoryToogleArticleModeEvent = exports.sendNewsmemoryToggleFullscreenEvent = exports.sendNewsmemoryThumbnails = exports.sendNewsmemoryTTSEvent = exports.sendNewsmemoryShareEvent = exports.sendNewsmemorySectionIndex = exports.sendNewsmemoryScrollZoomedEvent = exports.sendNewsmemoryScroll = exports.sendNewsmemoryRotateEvent = exports.sendNewsmemoryPrintEvent = exports.sendNewsmemoryPinchToZoomEvent = exports.sendNewsmemoryOptionspage = exports.sendNewsmemoryLoginEvent = exports.sendNewsmemoryIndex = exports.sendNewsmemoryGraphSizeChangeEvent = exports.sendNewsmemoryGoToLastPageEvent = exports.sendNewsmemoryGallery = exports.sendNewsmemoryFontSizeChangeEvent = exports.sendNewsmemoryExtraYoutube = exports.sendNewsmemoryExtraVideo = exports.sendNewsmemoryExtraUrl = exports.sendNewsmemoryEditionLoad = exports.sendNewsmemoryDownloadPDFEvent = exports.sendNewsmemoryDownloadIpaddb = exports.sendNewsmemoryDoubleTapToZoomEvent = exports.sendNewsmemoryClearRecently = exports.sendNewsmemoryArticleGallery = exports.sendNewsmemoryArticleClickThrough = exports.sendNewsmemoryArticle = undefined; - exports.trackNewsmemoryRoute = trackNewsmemoryRoute; - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _EPaperArticle = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _Edition = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _Page = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _pageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _excluded = ["action", "event"]; - - function getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel) { - if (editionModel) { - var paper = editionModel.getPaper(); - var issue = editionModel.getIssue(); - var edition = editionModel.getEdition(); - var page; - var section; - var isFirstPage; - - if (pageModel) { - page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); - section = pageModel.getSection(); - var firstPage = editionModel.getFirstPage(); - isFirstPage = _pageUtils.default.comparePages(firstPage, pageModel); - } - - return { - paper: paper, - issue: issue, - edition: edition, - page: page, - section: section, - isFirstPage: isFirstPage - }; - } - - return {}; - } - - function trackSessionAction(params) { - var _global$getActivePSet = global.getActivePSetup(), - enableSessionCollection = _global$getActivePSet.enableSessionCollection; - - if (enableSessionCollection) { - var action = params.action, - event = params.event, - rest = (0, _objectWithoutProperties2.default)(params, _excluded); - var paper = rest.paper, - edition = rest.edition, - issue = rest.issue; - - if (paper && edition && issue) { - _$$_REQUIRE(_dependencyMap[6]).NewspaperSessionManager.addAction(action, rest); - } - } - } - - function trackSessionRoute(route, params) { - var _global$getActivePSet2 = global.getActivePSetup(), - enableSessionCollection = _global$getActivePSet2.enableSessionCollection; - - if (enableSessionCollection) { - var paper = params.paper, - edition = params.edition, - issue = params.issue; - - if (paper && edition && issue) { - _$$_REQUIRE(_dependencyMap[6]).NewspaperSessionManager.addRoute(route, params); - } - } - } - - function trackNewsmemoryRoute(route, editionModel) { - trackSessionRoute(route, getNewsmemoryAnalyticsDefaultParams(editionModel)); - } - - function sendNewsmemoryAnalytics(params) { - try { - var _screenMapping = (0, _$$_REQUIRE(_dependencyMap[7]).screenMapping)(params), - screen = _screenMapping.screen, - event = _screenMapping.event, - firebaseScreenView = _screenMapping.firebaseScreenView, - customDimensions = _screenMapping.customDimensions, - remp = _screenMapping.remp; - - if (firebaseScreenView) { - (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseScreen)(firebaseScreenView, screen, params); - } - - (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)(event); - (0, _$$_REQUIRE(_dependencyMap[8]).trackScreen)(screen, params, customDimensions); - trackSessionAction(Object.assign({}, params, { - action: params.event - })); - - if (remp) { - (0, _$$_REQUIRE(_dependencyMap[8]).trackRempAccount)(remp); - } - } catch (e) {} - } - - function getArticleTitle(article) { - var title = ""; - - if (article) { - var type = article.getType(); - - var decodedTitle = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeURIComponent(article.getTitle()); - - title = type && type.toLowerCase() === "editorial" ? decodedTitle : type; - } - - return title; - } - - var sendNewsmemoryUseBeta = exports.sendNewsmemoryUseBeta = function sendNewsmemoryUseBeta(openRN) { - (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ - customEvent: "epaper_demo", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)(), { - device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), - action: openRN ? "use_rn_demo" : "use_classic" - }) - }); - }; - - var sendNewsmemoryClearRecently = exports.sendNewsmemoryClearRecently = function sendNewsmemoryClearRecently() { - (0, _$$_REQUIRE(_dependencyMap[8]).clearRecently)(); - }; - - var sendNewsmemoryShareEvent = exports.sendNewsmemoryShareEvent = function sendNewsmemoryShareEvent(editionModel, pageModel, article, sharedApp) { - try { - var issue = editionModel.getIssue(); - - var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); - - var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); - - var article_id = article ? article.getXmlId() : -1; - var type = article ? article.getType() : ""; - var title = getArticleTitle(article); - - var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.SHARE; - - sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { - event: "epaper_share", - action: action, - remp: encodeURIComponent(article_id), - article_id: article_id, - type: type, - title: title, - platform: sharedApp, - screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ - type: action, - issue: issue, - edition: edition, - page: page, - article: article_id, - sharedApp: sharedApp - }) - })); - } catch (e) {} - }; - - var sendNewsmemoryLoginEvent = exports.sendNewsmemoryLoginEvent = function sendNewsmemoryLoginEvent(action) { - var category = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.LOGIN; - - (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)({ - category: category, - action: action, - device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), - appMode: "ePaper" - }); - (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ - customEvent: "epaper_login", - customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)({ - action: action - }) - }); - }; - - var sendNewsmemoryTTSEvent = exports.sendNewsmemoryTTSEvent = function sendNewsmemoryTTSEvent(action, editionModel, pageModel, article) { - var category = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.TTS; - - var type = article ? article.getType() : ""; - var title = getArticleTitle(article); - var params = Object.assign({ - category: category, - action: action, - device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), - appMode: "ePaper", - title: title, - type: type - }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); - (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)(params); - (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ - customEvent: "epaper_tts", - customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)({ - action: action - }) - }); - trackSessionAction(params); - }; - - var sendNewsmemoryTranslate = exports.sendNewsmemoryTranslate = function sendNewsmemoryTranslate(language, editionModel, pageModel, article) { - try { - var TRANSLATE = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.TRANSLATE; - - var params = Object.assign({ - category: TRANSLATE, - action: TRANSLATE + "_" + language, - label: article.getTitle(), - device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), - appMode: "ePaper" - }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); - (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)(params); - (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ - customEvent: "epaper_translate", - customParams: Object.assign({ - language: language - }, (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)({ - action: TRANSLATE - })) - }); - trackSessionAction(params); - } catch (e) {} - }; - - var sendNewsmemoryGoToLastPageEvent = exports.sendNewsmemoryGoToLastPageEvent = function sendNewsmemoryGoToLastPageEvent(editionModel, pageModel) { - var category = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.SKIP_TO_END; - - var commonParams = Object.assign({ - device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), - appMode: "ePaper" - }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); - (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)(Object.assign({ - category: category, - action: pageModel.getPage() - }, commonParams)); - (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ - customEvent: "epaper_go_to_last_page", - customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)(Object.assign({ - action: category - }, commonParams)) - }); - trackSessionAction(Object.assign({ - action: "go_to_last_page" - }, commonParams)); - }; - - var sendNewsmemoryToogleArticleModeEvent = exports.sendNewsmemoryToogleArticleModeEvent = function sendNewsmemoryToogleArticleModeEvent(action, editionModel, pageModel, article) { - var TOGGLE_TO_PRINT = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.TOGGLE_TO_PRINT, - TOGGLE_TO_DIGITAL = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.TOGGLE_TO_DIGITAL; - - var type = article ? article.getType() : ""; - var title = getArticleTitle(article); - - var isTextMode = action === _$$_REQUIRE(_dependencyMap[11]).NewsmemoryArticleModes.TEXT; - - var params = Object.assign({ - category: isTextMode ? TOGGLE_TO_DIGITAL : TOGGLE_TO_PRINT, - action: action, - device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), - appMode: "ePaper", - type: type, - title: title - }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); - (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)(params); - var customEvent = isTextMode ? "epaper_article_toggle_text" : "epaper_article_toggle_graphic"; - (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ - customEvent: customEvent, - customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)(params) - }); - trackSessionAction(Object.assign({}, params, { - action: customEvent - })); - }; - - var sendNewsmemoryFontSizeChangeEvent = exports.sendNewsmemoryFontSizeChangeEvent = function sendNewsmemoryFontSizeChangeEvent(action, scale, editionModel, pageModel, article) { - var FONT_SCALE = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.FONT_SCALE; - - var type = article ? article.getType() : ""; - var title = getArticleTitle(article); - var params = Object.assign({ - category: FONT_SCALE, - action: action, - label: scale, - device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), - appMode: "ePaper", - type: type, - title: title - }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); - trackSessionAction(params); - }; - - var sendNewsmemoryGraphSizeChangeEvent = exports.sendNewsmemoryGraphSizeChangeEvent = function sendNewsmemoryGraphSizeChangeEvent(action, scale, editionModel, pageModel, article) { - var GRAPH_SIZE = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.GRAPH_SIZE; - - var type = article ? article.getType() : ""; - var title = getArticleTitle(article); - var params = Object.assign({ - category: GRAPH_SIZE, - action: action, - label: scale, - device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), - appMode: "ePaper", - type: type, - title: title - }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); - trackSessionAction(params); - }; - - var sendNewsmemoryToggleFullscreenEvent = exports.sendNewsmemoryToggleFullscreenEvent = function sendNewsmemoryToggleFullscreenEvent(active, editionModel, pageModel, article) { - var TOGGLE_FULLSCREEN = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.TOGGLE_FULLSCREEN; - - var type = article ? article.getType() : ""; - var title = getArticleTitle(article); - var params = Object.assign({ - category: TOGGLE_FULLSCREEN, - action: active ? "epaper_article_fullscreen" : "epaper_article_half_screen", - device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), - appMode: "ePaper", - type: type, - title: title - }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); - trackSessionAction(params); - }; - - var sendNewsmemoryPrintEvent = exports.sendNewsmemoryPrintEvent = function sendNewsmemoryPrintEvent(editionModel, pageModel, article) { - var PRINT = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.PRINT; - - var type = article ? article.getType() : ""; - var title = getArticleTitle(article); - var params = Object.assign({ - category: PRINT, - action: PRINT, - device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), - appMode: "ePaper", - type: type, - title: title - }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); - trackSessionAction(params); - }; - - var sendNewsmemoryDownloadPDFEvent = exports.sendNewsmemoryDownloadPDFEvent = function sendNewsmemoryDownloadPDFEvent(editionModel, pageModel) { - var DOWNLOAD_PDF = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.DOWNLOAD_PDF; - - var params = Object.assign({ - category: DOWNLOAD_PDF, - action: DOWNLOAD_PDF, - device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), - appMode: "ePaper" - }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); - trackSessionAction(params); - }; - - var sendNewsmemoryRotateEvent = exports.sendNewsmemoryRotateEvent = function sendNewsmemoryRotateEvent(orietation, editionModel) { - var ROTATE = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.ROTATE; - - var params = Object.assign({ - category: ROTATE, - action: ROTATE + "_" + orietation.toLowerCase(), - device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), - appMode: "ePaper" - }, getNewsmemoryAnalyticsDefaultParams(editionModel)); - trackSessionAction(params); - }; - - var sendNewsmemoryDoubleTapToZoomEvent = exports.sendNewsmemoryDoubleTapToZoomEvent = function sendNewsmemoryDoubleTapToZoomEvent(editionModel, pageModel) { - var DOUBLE_TAP_TO_ZOOM = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.DOUBLE_TAP_TO_ZOOM; - - var ZOOM = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.ZOOM; - - var commonParams = Object.assign({ - device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), - appMode: "ePaper" - }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel)); - (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)(Object.assign({ - category: DOUBLE_TAP_TO_ZOOM, - action: ZOOM - }, commonParams)); - var params = Object.assign({ - action: DOUBLE_TAP_TO_ZOOM - }, commonParams); - (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ - customEvent: "epaper_double_tap_to_zoom", - customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)(params) - }); - trackSessionAction(params); - }; - - var sendNewsmemoryPinchToZoomEvent = exports.sendNewsmemoryPinchToZoomEvent = function sendNewsmemoryPinchToZoomEvent(editionModel, pageModel, scale) { - var PINCH_TO_ZOOM = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.PINCH_TO_ZOOM; - - var ZOOM = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.ZOOM; - - var commonParams = Object.assign({ - device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), - appMode: "ePaper" - }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { - scale: scale - }); - (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)(Object.assign({ - category: PINCH_TO_ZOOM, - action: ZOOM - }, commonParams)); - var params = Object.assign({ - action: PINCH_TO_ZOOM - }, commonParams); - (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ - customEvent: "epaper_pinch_to_zoom", - customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)(params) - }); - trackSessionAction(params); - }; - - var sendNewsmemoryScrollZoomedEvent = exports.sendNewsmemoryScrollZoomedEvent = function sendNewsmemoryScrollZoomedEvent(editionModel, pageModel, areas) { - var SCROLL_ZOOMED = _$$_REQUIRE(_dependencyMap[11]).analyticsEventTypes.SCROLL_ZOOMED; - - var ZOOM = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.ZOOM; - - var commonParams = Object.assign({ - device: (0, _$$_REQUIRE(_dependencyMap[10]).gaBreakout)(), - appMode: "ePaper" - }, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { - areas: areas - }); - (0, _$$_REQUIRE(_dependencyMap[8]).trackEvent)(Object.assign({ - category: SCROLL_ZOOMED, - action: ZOOM - }, commonParams)); - var params = Object.assign({ - action: SCROLL_ZOOMED - }, commonParams); - var screen = (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)(Object.assign({ - type: ZOOM - }, commonParams)); - (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseScreen)(_$$_REQUIRE(_dependencyMap[11]).firebaseAnalyticsScreenNames.ZOOM, screen, params); - (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ - customEvent: "epaper_scroll_zoomed", - customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)(params) - }); - trackSessionAction(params); - }; - - var sendNewsmemoryArticle = exports.sendNewsmemoryArticle = function sendNewsmemoryArticle(editionModel, pageModel, article, mode) { - try { - var _pageModel$getSection; - - var issue = editionModel.getIssue(); - - var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); - - var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); - - var article_id = article.getXmlId(); - var type = article ? article.getType() : ""; - var title = getArticleTitle(article); - var section = (_pageModel$getSection = pageModel.getSection()) != null ? _pageModel$getSection : ""; - - var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.READ; - - sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { - event: "epaper_read_article", - action: action, - remp: encodeURIComponent(article_id), - article_id: article_id, - type: type, - title: title, - section: section, - mode: mode, - screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ - type: action, - issue: issue, - edition: edition, - page: page, - article: article_id, - title: title - }) - })); - } catch (e) {} - }; - - var sendNewsmemoryZoom = exports.sendNewsmemoryZoom = function sendNewsmemoryZoom(editionModel, pageModel, scale) { - try { - var issue = editionModel.getIssue(); - - var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); - - var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); - - var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.ZOOM; - - sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { - event: "epaper_zoom", - action: action, - remp: encodeURIComponent(pageModel.getPageId()), - zoom: scale, - screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ - type: action, - issue: issue, - edition: edition, - page: page - }) - })); - } catch (e) {} - }; - - var sendNewsmemoryScroll = exports.sendNewsmemoryScroll = function sendNewsmemoryScroll(editionModel, pageModel, isZoomed) { - try { - var issue = editionModel.getIssue(); - - var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); - - var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); - - var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.SCROLLED; - - sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { - event: "epaper_scroll", - action: action, - remp: encodeURIComponent(pageModel.getPageId()), - screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ - type: action, - issue: issue, - edition: edition, - page: page - }), - isZoomed: isZoomed - })); - } catch (e) {} - }; - - var sendNewsmemoryDownloadIpaddb = exports.sendNewsmemoryDownloadIpaddb = function sendNewsmemoryDownloadIpaddb(paper, issue, edition, speed) { - try { - (0, _$$_REQUIRE(_dependencyMap[8]).trackCustomFirebaseEvent)({ - customEvent: "download_epaper_db", - customParams: (0, _$$_REQUIRE(_dependencyMap[10]).mapParamsToFirebaseCustomDimensions)({ - issue: issue, - edition: edition - }) - }); - trackSessionAction({ - action: "download_db", - paper: paper, - issue: issue, - edition: edition, - speed: speed - }); - } catch (e) {} - }; - - var sendNewsmemoryIndex = exports.sendNewsmemoryIndex = function sendNewsmemoryIndex(editionModel) { - try { - var issue = editionModel.getIssue(); - - var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); - - var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.INDEX; - - sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel), { - event: "epaper_index", - action: action, - screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ - type: action, - issue: issue, - edition: edition - }) - })); - } catch (e) {} - }; - - var sendNewsmemorySectionIndex = exports.sendNewsmemorySectionIndex = function sendNewsmemorySectionIndex(editionModel, pageModel) { - try { - var issue = editionModel.getIssue(); - - var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); - - var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.SECTION_INDEX; - - var params = getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel); - sendNewsmemoryAnalytics(Object.assign({}, params, { - event: "epaper_section_index", - action: action, - screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ - type: action, - issue: issue, - edition: edition, - section: params.section - }) - })); - } catch (e) {} - }; - - var sendNewsmemoryOptionspage = exports.sendNewsmemoryOptionspage = function sendNewsmemoryOptionspage(tab, title) { - try { - var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.OPTIONSPAGE; - - sendNewsmemoryAnalytics({ - event: "epaper_optionspage", - action: action, - tab: tab, - section: title, - screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ - type: action, - page: tab - }) - }); - } catch (e) {} - }; - - var sendNewsmemoryThumbnails = exports.sendNewsmemoryThumbnails = function sendNewsmemoryThumbnails(editionModel) { - try { - var issue = editionModel.getIssue(); - - var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); - - var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.THUMBS; - - sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel), { - event: "epaper_thumbs", - action: action, - screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ - type: action, - issue: issue, - edition: edition - }) - })); - } catch (e) {} - }; - - var sendNewsmemoryGallery = exports.sendNewsmemoryGallery = function sendNewsmemoryGallery(title, image, index, editionModel, pageModel) { - try { - var issue = editionModel.getIssue(); - - var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); - - var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); - - var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.GALLERY; - - sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { - event: "epaper_enrichment_gallery", - action: action, - type: "image", - gallery_id: title, - id: image, - index: index, - screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ - type: action, - issue: issue, - edition: edition, - page: page, - title: title, - id: image, - index: index - }) - })); - } catch (e) {} - }; - - var sendNewsmemoryArticleGallery = exports.sendNewsmemoryArticleGallery = function sendNewsmemoryArticleGallery(index, editionModel, pageModel, article) { - try { - var issue = editionModel.getIssue(); - - var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); - - var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); - - var article_id = article.getXmlId(); - var title = getArticleTitle(article); - - var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.ARTICLE_GALLERY; - - sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { - event: "epaper_article_gallery", - action: action, - type: "image", - article_id: article_id, - title: title, - index: index, - screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ - type: action, - issue: issue, - edition: edition, - page: page, - article: article_id, - title: title, - index: index - }) - })); - } catch (e) {} - }; - - var sendNewsmemoryExtraYoutube = exports.sendNewsmemoryExtraYoutube = function sendNewsmemoryExtraYoutube(url, editionModel, pageModel) { - try { - var _StringUtils$segmentU = _$$_REQUIRE(_dependencyMap[9]).StringUtils.segmentUrl(url), - getParams = _StringUtils$segmentU.getParams; - - var id = getParams.v; - - if (id === undefined) { - var regExp = new RegExp(/(?:http?s?:\/\/)?(?:www\.)?(?:youtube\.com|youtu\.be)\/(?:(?:watch\?v=)|(?:v\/))+([^&]+)/g); - var m; - - while ((m = regExp.exec(url)) !== null) { - id = m[1]; - break; - } - } - - var issue = editionModel.getIssue(); - - var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); - - var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); - - var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.VIDEO; - - sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { - event: "epaper_enrichment_video", - action: action, - type: "youtube", - url: url, - video_id: id, - screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ - type: action, - issue: issue, - edition: edition, - page: page, - id: id - }) - })); - } catch (e) {} - }; - - var sendNewsmemoryExtraVideo = exports.sendNewsmemoryExtraVideo = function sendNewsmemoryExtraVideo(url, editionModel, pageModel) { - try { - var id = _$$_REQUIRE(_dependencyMap[9]).StringUtils.getLastPathSegment(url); - - var issue = editionModel.getIssue(); - - var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); - - var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); - - var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.VIDEO; - - sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { - event: "epaper_enrichment_video", - action: action, - type: "video", - url: url, - video_id: id, - screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ - type: action, - issue: issue, - edition: edition, - page: page, - id: id - }) - })); - } catch (e) {} - }; - - var sendNewsmemoryExtraUrl = exports.sendNewsmemoryExtraUrl = function sendNewsmemoryExtraUrl(url, editionModel, pageModel) { - try { - var analyticsUrl = url.replace(/\//g, "|"); - var issue = editionModel.getIssue(); - - var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); - - var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); - - var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.PAGE_CLICK; - - sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { - event: "epaper_page_clickthrough", - action: action, - url: url, - screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ - type: action, - issue: issue, - edition: edition, - page: page, - url: analyticsUrl - }) - })); - } catch (e) {} - }; - - var sendNewsmemoryArticleClickThrough = exports.sendNewsmemoryArticleClickThrough = function sendNewsmemoryArticleClickThrough(editionModel, pageModel, article, url) { - try { - var analyticsUrl = url.replace(/\//g, "|"); - var issue = editionModel.getIssue(); - - var edition = _$$_REQUIRE(_dependencyMap[9]).StringUtils.decodeHTML(editionModel.getEdition()); - - var page = _pageUtils.default.removeZerosFromPageNumber(pageModel.getPage()); - - var article_id = article.getXmlId(); - var title = getArticleTitle(article); - - var action = _$$_REQUIRE(_dependencyMap[11]).analyticsScreenTypes.ARTICLE_CLICK; - - sendNewsmemoryAnalytics(Object.assign({}, getNewsmemoryAnalyticsDefaultParams(editionModel, pageModel), { - event: "epaper_article_clickthrough", - action: action, - remp: encodeURIComponent(article_id), - article_id: article_id, - title: title, - url: url, - screen: (0, _$$_REQUIRE(_dependencyMap[10]).getScreenString)({ - type: action, - issue: issue, - edition: edition, - page: page, - article: article_id, - title: title, - url: analyticsUrl - }) - })); - } catch (e) {} - }; - - var sendNewsmemoryEditionLoad = exports.sendNewsmemoryEditionLoad = function sendNewsmemoryEditionLoad(edition, page) { - var _global$getActivePSet3 = global.getActivePSetup(), - adobeAnalyticsEnabled = _global$getActivePSet3.adobeAnalyticsEnabled, - adobeAnalyticsConfig = _global$getActivePSet3.adobeAnalyticsConfig; - - if (adobeAnalyticsEnabled && adobeAnalyticsConfig) { - (0, _$$_REQUIRE(_dependencyMap[8]).resetAdobeAnalyticsFirstScrolledSent)(); - var params = getNewsmemoryAnalyticsDefaultParams(edition, page); - (0, _$$_REQUIRE(_dependencyMap[8]).trackADBMobileAction)(adobeAnalyticsConfig.editionLoadActionName, params); - } - }; -},1958,[3,4,651,650,654,842,1959,1963,1897,438,1903,1904]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.NewspaperSessionManager = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _NewspaperSession = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var NewspaperSessionManagerSingleton = function (_SessionManagerSingle) { - function NewspaperSessionManagerSingleton() { - (0, _classCallCheck2.default)(this, NewspaperSessionManagerSingleton); - return _callSuper(this, NewspaperSessionManagerSingleton, arguments); - } - - (0, _inherits2.default)(NewspaperSessionManagerSingleton, _SessionManagerSingle); - return (0, _createClass2.default)(NewspaperSessionManagerSingleton, [{ - key: "startSession", - value: function startSession(_ref) { - var paper = _ref.paper, - edition = _ref.edition, - issue = _ref.issue; - this.activeKey = this.getSessionKey(); - var session = new _NewspaperSession.default(paper, edition, issue); - this.storeSession(this.activeKey, session); - return session; - } - }, { - key: "parseSession", - value: function parseSession(rawSession) { - try { - var _JSON$parse = JSON.parse(rawSession), - paper = _JSON$parse.paper, - edition = _JSON$parse.edition, - issue = _JSON$parse.issue, - startTime = _JSON$parse.startTime, - rawActions = _JSON$parse.actions, - rawNavigation = _JSON$parse.navigation; - - var actions = rawActions.map(function (rawAction) { - var _JSON$parse2 = JSON.parse(rawAction), - name = _JSON$parse2.name, - params = _JSON$parse2.params, - time = _JSON$parse2.time; - - return new (_$$_REQUIRE(_dependencyMap[8]).Action)(name, params, time); - }); - var routes = rawNavigation.map(function (rawRoute) { - var route = rawRoute.route, - time = rawRoute.time; - return new (_$$_REQUIRE(_dependencyMap[8]).Route)(route, time); - }); - return new _NewspaperSession.default(paper, edition, issue, actions, routes, startTime); - } catch (e) {} - - return undefined; - } - }]); - }(_$$_REQUIRE(_dependencyMap[9]).SessionManagerSingleton); - - var NewspaperSessionManager = exports.NewspaperSessionManager = function () { - function NewspaperSessionManager() { - (0, _classCallCheck2.default)(this, NewspaperSessionManager); - } - - return (0, _createClass2.default)(NewspaperSessionManager, null, [{ - key: "init", - value: function init() { - NewspaperSessionManager.instance = new NewspaperSessionManagerSingleton(); - NewspaperSessionManager.instance.load(); - } - }, { - key: "getInstance", - value: function getInstance() { - if (NewspaperSessionManager.instance === undefined) { - NewspaperSessionManager.init(); - } - - return NewspaperSessionManager.instance; - } - }, { - key: "addAction", - value: function addAction(name, params) { - NewspaperSessionManager.getInstance().addAction(name, params); - } - }, { - key: "addRoute", - value: function addRoute(route, params) { - NewspaperSessionManager.getInstance().addRoute(route, params); - } - }, { - key: "getActiveSessionReport", - value: function getActiveSessionReport() { - return NewspaperSessionManager.getInstance().getActiveSessionReport(); - } - }, { - key: "getActiveSessionString", - value: function getActiveSessionString() { - return NewspaperSessionManager.getInstance().getActiveSessionString(); - } - }, { - key: "flushActiveSession", - value: function () { - var _flushActiveSession = (0, _asyncToGenerator2.default)(function* () { - return NewspaperSessionManager.getInstance().flushSession(); - }); - - function flushActiveSession() { - return _flushActiveSession.apply(this, arguments); - } - - return flushActiveSession; - }() - }, { - key: "storeActiveSessionToFile", - value: function () { - var _storeActiveSessionToFile = (0, _asyncToGenerator2.default)(function* () { - return NewspaperSessionManager.getInstance().storeActiveSessionToFile(); - }); - - function storeActiveSessionToFile() { - return _storeActiveSessionToFile.apply(this, arguments); - } - - return storeActiveSessionToFile; - }() - }]); - }(); -},1959,[3,270,6,7,11,13,14,1960,849,1961]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _get2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _Session2 = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[7])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var NewspaperSession = exports.default = function (_Session) { - function NewspaperSession(paper, edition, issue) { - var _this; - - var actions = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : []; - var routes = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : []; - var time = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : new Date().getTime(); - (0, _classCallCheck2.default)(this, NewspaperSession); - _this = _callSuper(this, NewspaperSession, [actions, routes, time]); - _this.paper = paper; - _this.edition = edition; - _this.issue = issue; - return _this; - } - - (0, _inherits2.default)(NewspaperSession, _Session); - return (0, _createClass2.default)(NewspaperSession, [{ - key: "getPaperInfo", - value: function getPaperInfo() { - return { - paper: this.paper, - edition: this.edition, - issue: this.issue - }; - } - }, { - key: "getOtherInfo", - value: function getOtherInfo() { - var otherInfo = {}; - var downloadAction = this.actions.find(function (action) { - return action.getName() === "download_db"; - }); - - if (downloadAction) { - var _downloadAction$getPa = downloadAction.getParams(), - speed = _downloadAction$getPa.speed; - - if (speed) { - otherInfo.downloadSpeed = speed; - } - } - - return otherInfo; - } - }, { - key: "getReport", - value: function getReport() { - var paperInfo = this.getPaperInfo(); - var otherInfo = this.getOtherInfo(); - return Object.assign({}, (0, _get2.default)((0, _getPrototypeOf2.default)(NewspaperSession.prototype), "getReport", this).call(this), paperInfo, otherInfo); - } - }, { - key: "getFullReport", - value: function getFullReport() { - var paperInfo = this.getPaperInfo(); - var otherInfo = this.getOtherInfo(); - return Object.assign({}, (0, _get2.default)((0, _getPrototypeOf2.default)(NewspaperSession.prototype), "getFullReport", this).call(this), paperInfo, otherInfo); - } - }, { - key: "toString", - value: function toString() { - return "{\"paper\": \"" + this.paper + "\", \"edition\": \"" + this.edition + "\", \"issue\": \"" + this.issue + "\", \"startTime\": " + this.startTime + ", \"startOrientation\": \"" + this.startOrientation + "\", \"actions\": " + JSON.stringify(this.actions.map(function (action) { - return action.toString(); - })) + ", \"navigation\": " + JSON.stringify(this.navigation.map(function (route) { - return route.toString(); - })) + "}"; - } - }]); - }(_Session2.default); -},1960,[3,6,7,11,85,13,14,849]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.SessionManagerSingleton = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _Session = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[4])); - - var _SessionHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _tecnaviaFileUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _NewsmemoryAJAX = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var SessionManagerSingleton = exports.SessionManagerSingleton = function () { - function SessionManagerSingleton() { - (0, _classCallCheck2.default)(this, SessionManagerSingleton); - this.sessions = {}; - } - - return (0, _createClass2.default)(SessionManagerSingleton, [{ - key: "load", - value: function () { - var _load = (0, _asyncToGenerator2.default)(function* () { - var _this = this; - - var allSessions = yield _SessionHelper.default.getAllItems(); - - if (allSessions) { - var sessionsToSend = Object.keys(allSessions).reduce(function (current, sessionKey) { - var session = _this.parseSession(allSessions[sessionKey]); - - if (session) { - current[sessionKey] = session; - } else { - _SessionHelper.default.removeItem(sessionKey); - } - - return current; - }, {}); - Object.keys(sessionsToSend).forEach(function (key) { - return _this.flushSession(key); - }); - } - }); - - function load() { - return _load.apply(this, arguments); - } - - return load; - }() - }, { - key: "getSessionKey", - value: function getSessionKey() { - return _$$_REQUIRE(_dependencyMap[8]).StringUtils.getRandomHash(); - } - }, { - key: "startSession", - value: function startSession() { - var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - this.activeKey = this.getSessionKey(); - var session = new _Session.default(); - this.storeSession(this.activeKey, session); - return session; - } - }, { - key: "getActiveSession", - value: function getActiveSession(params) { - return this.activeKey && this.sessions[this.activeKey] ? this.sessions[this.activeKey] : this.startSession(params); - } - }, { - key: "addAction", - value: function addAction(name, params) { - var activeSession = this.getActiveSession(params); - activeSession.addAction(name, params); - this.storeSession(this.activeKey, activeSession); - } - }, { - key: "addRoute", - value: function addRoute(name, params) { - var activeSession = this.getActiveSession(params); - activeSession.addRoute(name); - this.storeSession(this.activeKey, activeSession); - } - }, { - key: "storeSession", - value: function storeSession(key, session) { - if (key) { - this.sessions[key] = session; - - _SessionHelper.default.setItem(key, session.toString()); - } - } - }, { - key: "retrieveSession", - value: function () { - var _retrieveSession = (0, _asyncToGenerator2.default)(function* () { - var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.activeKey; - - if (key) { - var session = this.sessions[key] || (yield _SessionHelper.default.getItem(key)); - return session; - } - - return undefined; - }); - - function retrieveSession() { - return _retrieveSession.apply(this, arguments); - } - - return retrieveSession; - }() - }, { - key: "clearSession", - value: function clearSession() { - var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.activeKey; - - if (key) { - this.sessions[key] = undefined; - return _SessionHelper.default.removeItem(key); - } - - return false; - } - }, { - key: "uploadSession", - value: function () { - var _uploadSession = (0, _asyncToGenerator2.default)(function* (key, session) { - var _global$getActivePSet = global.getActivePSetup(), - enableSessionAutoUpload = _global$getActivePSet.enableSessionAutoUpload; - - if (session && enableSessionAutoUpload) { - yield _NewsmemoryAJAX.default.uploadSessionReport(key, session); - } - - return false; - }); - - function uploadSession(_x, _x2) { - return _uploadSession.apply(this, arguments); - } - - return uploadSession; - }() - }, { - key: "flushSession", - value: function () { - var _flushSession = (0, _asyncToGenerator2.default)(function* () { - var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.activeKey; - - if (key) { - var session = this.sessions[key]; - this.clearSession(key); - yield this.uploadSession(key, session); - } - }); - - function flushSession() { - return _flushSession.apply(this, arguments); - } - - return flushSession; - }() - }, { - key: "parseSession", - value: function parseSession(rawSession) { - try { - var _JSON$parse = JSON.parse(rawSession), - startTime = _JSON$parse.startTime, - rawActions = _JSON$parse.actions, - rawNavigation = _JSON$parse.navigation; - - var rawActionArray = JSON.parse(rawActions); - var actions = rawActionArray.map(function (_ref) { - var name = _ref.name, - params = _ref.params, - time = _ref.time; - return new _Session.Action(name, JSON.parse(params), time); - }); - var rawNavigationArray = JSON.parse(rawNavigation); - var routes = rawNavigationArray.map(function (_ref2) { - var name = _ref2.name, - time = _ref2.time; - return new _Session.Route(name, time); - }); - return new _Session.default(actions, routes, startTime); - } catch (e) {} - - return undefined; - } - }, { - key: "getSessionDuration", - value: function getSessionDuration() { - var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.activeKey; - var session = this.sessions[key]; - return session ? session.getDuration() : 0; - } - }, { - key: "getSessionReport", - value: function getSessionReport() { - var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.activeKey; - var session = this.sessions[key]; - return session ? session.getReport() : undefined; - } - }, { - key: "getSessionFullReport", - value: function getSessionFullReport() { - var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.activeKey; - var session = this.sessions[key]; - return session ? session.getFullReport() : undefined; - } - }, { - key: "getActiveSessionReport", - value: function getActiveSessionReport() { - return this.getSessionReport(this.activeKey); - } - }, { - key: "getActiveSessionFullReport", - value: function getActiveSessionFullReport() { - return this.getSessionFullReport(this.activeKey); - } - }, { - key: "getActiveSessionString", - value: function getActiveSessionString() { - if (this.activeKey) { - var session = this.sessions[this.activeKey]; - return session ? session.toString() : undefined; - } - - return undefined; - } - }, { - key: "storeActiveSessionToFile", - value: function () { - var _storeActiveSessionToFile = (0, _asyncToGenerator2.default)(function* () { - var fullReport = this.getActiveSessionFullReport(); - - if (fullReport) { - try { - yield _tecnaviaFileUtils.default.mkdir(_tecnaviaFileUtils.default.getDebugDirectory()); - } catch (e) {} - - var filePath = _tecnaviaFileUtils.default.getDebugDirectory() + global.machineId + "_" + this.activeKey + ".json"; - - try { - yield _tecnaviaFileUtils.default.appendFile(filePath, JSON.stringify(fullReport)); - - if (yield _tecnaviaFileUtils.default.exists(filePath)) { - return filePath; - } - } catch (e) {} - } - - return undefined; - }); - - function storeActiveSessionToFile() { - return _storeActiveSessionToFile.apply(this, arguments); - } - - return storeActiveSessionToFile; - }() - }]); - }(); - - var SessionManager = exports.default = function () { - function SessionManager() { - (0, _classCallCheck2.default)(this, SessionManager); - } - - return (0, _createClass2.default)(SessionManager, null, [{ - key: "init", - value: function init() { - SessionManager.instance = new SessionManagerSingleton(); - SessionManager.instance.load(); - } - }, { - key: "getInstance", - value: function getInstance() { - if (SessionManager.instance === undefined) { - SessionManager.init(); - } - - return SessionManager.instance; - } - }, { - key: "addAction", - value: function addAction(name, params) { - SessionManager.getInstance().addAction(name, params); - } - }, { - key: "addRoute", - value: function addRoute(name, params) { - SessionManager.getInstance().addRoute(name, params); - } - }, { - key: "getActiveSessionReport", - value: function getActiveSessionReport() { - return SessionManager.getInstance().getActiveSessionReport(); - } - }, { - key: "getActiveSessionString", - value: function getActiveSessionString() { - return SessionManager.getInstance().getActiveSessionString(); - } - }, { - key: "storeActiveSessionToFile", - value: function () { - var _storeActiveSessionToFile2 = (0, _asyncToGenerator2.default)(function* () { - return SessionManager.getInstance().storeActiveSessionToFile(); - }); - - function storeActiveSessionToFile() { - return _storeActiveSessionToFile2.apply(this, arguments); - } - - return storeActiveSessionToFile; - }() - }]); - }(); -},1961,[3,270,6,7,849,1962,552,406,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var SessionHelper = exports.default = function () { - function SessionHelper() { - (0, _classCallCheck2.default)(this, SessionHelper); - } - - return (0, _createClass2.default)(SessionHelper, null, [{ - key: "getAllItems", - value: function () { - var _getAllItems = (0, _asyncToGenerator2.default)(function* () { - return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.multiGet(SessionHelper.SP.name); - }); - - function getAllItems() { - return _getAllItems.apply(this, arguments); - } - - return getAllItems; - }() - }, { - key: "getItem", - value: function () { - var _getItem = (0, _asyncToGenerator2.default)(function* (key) { - return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.getItem(SessionHelper.SP.name, key); - }); - - function getItem(_x) { - return _getItem.apply(this, arguments); - } - - return getItem; - }() - }, { - key: "setItem", - value: function () { - var _setItem = (0, _asyncToGenerator2.default)(function* (key, value) { - return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.setItem(SessionHelper.SP.name, key, value); - }); - - function setItem(_x2, _x3) { - return _setItem.apply(this, arguments); - } - - return setItem; - }() - }, { - key: "removeItem", - value: function () { - var _removeItem = (0, _asyncToGenerator2.default)(function* (key) { - return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.clear(SessionHelper.SP.name, key); - }); - - function removeItem(_x4) { - return _removeItem.apply(this, arguments); - } - - return removeItem; - }() - }]); - }(); - - SessionHelper.SP = { - name: "sessions" - }; -},1962,[3,270,6,7,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.screenMapping = exports.eventMapping = undefined; - - var mapOnObjRequestedAndValidParams = function mapOnObjRequestedAndValidParams() { - var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var paramsKey = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; - var mapped = {}; - - for (var i = 0; i < paramsKey.length; i++) { - var value = obj[paramsKey[i]]; - - if (value === undefined) { - throw new Error("Analytics -> " + paramsKey[i] + " is missing or undefined"); - } else { - mapped[paramsKey[i]] = "" + value; - } - } - - return mapped; - }; - - var mapReadOnEvent = function mapReadOnEvent(params) { - return { - customEvent: "epaper_read_article", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page", "article_id", "title", "section"]), { - mode: params.mode || _$$_REQUIRE(_dependencyMap[1]).NewsmemoryArticleModes.TEXT - }) - }; - }; - - var mapZoomOnEvent = function mapZoomOnEvent(params) { - return { - customEvent: "epaper_zoom", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page"])) - }; - }; - - var mapScrolledOnEvent = function mapScrolledOnEvent(params) { - return { - customEvent: "epaper_scroll", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page"])) - }; - }; - - var mapArticleClickThroughOnEvent = function mapArticleClickThroughOnEvent(params) { - return { - customEvent: "epaper_article_clickthrough", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page", "article_id", "url"])) - }; - }; - - var mapPageClickThroughOnEvent = function mapPageClickThroughOnEvent(params) { - return { - customEvent: "epaper_page_clickthrough", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page", "url"])) - }; - }; - - var mapShareOnEvent = function mapShareOnEvent(params) { - return { - customEvent: "epaper_share", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page", "article_id", "platform"])) - }; - }; - - var mapGalleryOnEvent = function mapGalleryOnEvent(params) { - return { - customEvent: "epaper_enrichment_gallery", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page", "gallery_id", "index", "id", "type"])) - }; - }; - - var mapArticleGalleryOnEvent = function mapArticleGalleryOnEvent(params) { - return { - customEvent: "epaper_article_gallery", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page", "article_id", "title", "index", "type"])) - }; - }; - - var mapVideoOnEvent = function mapVideoOnEvent(params) { - return { - customEvent: "epaper_enrichment_video", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "page", "video_id"]), { - type: params.type || "video" - }) - }; - }; - - var mapIndexOnEvent = function mapIndexOnEvent(params) { - return { - customEvent: "epaper_index", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition"])) - }; - }; - - var mapSectionIndexOnEvent = function mapSectionIndexOnEvent(params) { - return { - customEvent: "epaper_section_index", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition", "section"])) - }; - }; - - var mapOptionspageOnEvent = function mapOptionspageOnEvent(params) { - return { - customEvent: "epaper_optionspage", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["tab"])) - }; - }; - - var mapThumbnailsOnEvent = function mapThumbnailsOnEvent(params) { - return { - customEvent: "epaper_thumbs", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToFirebaseCustomDimensions)(params), mapOnObjRequestedAndValidParams(params, ["issue", "edition"])) - }; - }; - - var screenMapping = exports.screenMapping = function screenMapping() { - var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var action = params.action, - screen = params.screen, - remp = params.remp, - section = params.section, - tab = params.tab; - - if (!action) { - throw new Error("Analytics params is empty"); - } - - if (!screen) { - throw new Error("Analytics screen is empty"); - } - - var result = { - action: action, - screen: _$$_REQUIRE(_dependencyMap[2]).StringUtils.decodeURIComponent(screen), - remp: remp, - customDimensions: (0, _$$_REQUIRE(_dependencyMap[0]).mapParamsToCustomDimensions)(params) - }; - - try { - var SCROLLED = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.SCROLLED, - READ = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.READ, - ZOOM = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.ZOOM, - SHARE = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.SHARE, - PAGE_CLICK = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.PAGE_CLICK, - ARTICLE_CLICK = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.ARTICLE_CLICK, - VIDEO = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.VIDEO, - GALLERY = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.GALLERY, - ARTICLE_GALLERY = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.ARTICLE_GALLERY, - INDEX = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.INDEX, - SECTION_INDEX = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.SECTION_INDEX, - OPTIONSPAGE = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.OPTIONSPAGE, - THUMBS = _$$_REQUIRE(_dependencyMap[1]).analyticsScreenTypes.THUMBS; - - switch (action) { - case READ: - result.event = mapReadOnEvent(params); - result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.READ; - break; - - case ZOOM: - result.event = mapZoomOnEvent(params); - result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.ZOOM; - break; - - case SCROLLED: - result.event = mapScrolledOnEvent(params); - result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.SCROLLED; - break; - - case ARTICLE_CLICK: - result.event = mapArticleClickThroughOnEvent(params); - break; - - case SHARE: - result.event = mapShareOnEvent(params); - break; - - case GALLERY: - result.event = mapGalleryOnEvent(params); - result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.GALLERY; - break; - - case ARTICLE_GALLERY: - result.event = mapArticleGalleryOnEvent(params); - result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.ARTICLE_GALLERY; - break; - - case VIDEO: - result.event = mapVideoOnEvent(params); - break; - - case PAGE_CLICK: - result.event = mapPageClickThroughOnEvent(params); - break; - - case INDEX: - result.event = mapIndexOnEvent(params); - result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.INDEX; - break; - - case SECTION_INDEX: - result.event = mapSectionIndexOnEvent(params); - result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.SECTION_INDEX.replace("##section##", section); - break; - - case OPTIONSPAGE: - result.event = mapOptionspageOnEvent(params); - result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.OPTIONSPAGE.replace("##tab##", tab); - break; - - case THUMBS: - result.event = mapThumbnailsOnEvent(params); - result.firebaseScreenView = _$$_REQUIRE(_dependencyMap[1]).firebaseAnalyticsScreenNames.THUMBS; - break; - } - } catch (e) { - throw e; - } - - return result; - }; - - var eventMapping = exports.eventMapping = function eventMapping(params) { - try { - var category = params.category; - - var SOCIAL_SHARE = _$$_REQUIRE(_dependencyMap[1]).analyticsEventTypes.SOCIAL_SHARE; - - switch (category) { - case SOCIAL_SHARE: - params.socialPlatform = (0, _$$_REQUIRE(_dependencyMap[0]).getShareTypeByApp)(params.socialPlatform); - break; - } - } catch (e) { - throw e; - } - - return params; - }; -},1963,[1903,1904,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _Api = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _tecnaviaFileUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var SslConfig = exports.default = function () { - function SslConfig() { - (0, _classCallCheck2.default)(this, SslConfig); - this.enabled = false; - this.enabled = _$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isAndroid(); - } - - return (0, _createClass2.default)(SslConfig, [{ - key: "init", - value: function () { - var _init = (0, _asyncToGenerator2.default)(function* (config) { - if (!this.enabled) { - return; - } - - var directory = SslConfig.getDirectory(); - - try { - if (!(yield _tecnaviaFileUtils.default.exists(directory))) { - yield _tecnaviaFileUtils.default.assetsCopy(SslConfig.MAIN_DIRECTORY, SslConfig.getMainDirectory()); - } - } catch (e) {} - - var currentTimestamp = yield this.readTimestamp(); - var sslCertificateFileTime = config.sslCertificateFileTime; - - if (currentTimestamp < sslCertificateFileTime) { - try { - var url = _Api.default.sslCertificatesURI(config); - - var response = yield _tecnaviaFileUtils.default.fetch(url); - - if (response) { - var tmpFile = response.path(); - - try { - yield _tecnaviaFileUtils.default.unlink(directory); - } catch (e) {} - - yield _tecnaviaFileUtils.default.mkdir(directory); - yield _tecnaviaFileUtils.default.unzip(tmpFile, directory); - yield _tecnaviaFileUtils.default.clearUnusedDownloadedFiles(tmpFile); - } - } catch (e) {} - } - }); - - function init(_x) { - return _init.apply(this, arguments); - } - - return init; - }() - }, { - key: "readTimestamp", - value: function () { - var _readTimestamp = (0, _asyncToGenerator2.default)(function* () { - var timestamp = -1; - - try { - if (this.enabled) { - timestamp = yield _tecnaviaFileUtils.default.readFile(SslConfig.getDirectory() + "/" + SslConfig.FILETIME); - } - } catch (e) {} - - return timestamp; - }); - - function readTimestamp() { - return _readTimestamp.apply(this, arguments); - } - - return readTimestamp; - }() - }, { - key: "deleteFolder", - value: function () { - var _deleteFolder = (0, _asyncToGenerator2.default)(function* () { - try { - if (this.enabled) { - yield _tecnaviaFileUtils.default.unlink(SslConfig.getDirectory()); - } - } catch (e) {} - }); - - function deleteFolder() { - return _deleteFolder.apply(this, arguments); - } - - return deleteFolder; - }() - }], [{ - key: "getDirectory", - value: function getDirectory() { - return "" + SslConfig.getMainDirectory() + SslConfig.MAIN_DIRECTORY; - } - }, { - key: "getMainDirectory", - value: function getMainDirectory() { - return "" + _tecnaviaFileUtils.default.getNewsmemoryBaseDirectory(); - } - }]); - }(); - - SslConfig.MAIN_DIRECTORY = "certs"; - SslConfig.LIST = "list.json"; - SslConfig.FILETIME = "filetime.txt"; -},1964,[3,270,6,7,407,552,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _tecnaviaFileUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var ContentManager = exports.default = function () { - function ContentManager() { - (0, _classCallCheck2.default)(this, ContentManager); - this.usedSpace = 0; - this.numberOfPapersDirs = 0; - this.numberOfIssuesDirs = 0; - this.numberOfPagesDirs = 0; - } - - return (0, _createClass2.default)(ContentManager, [{ - key: "analyze", - value: function () { - var _analyze = (0, _asyncToGenerator2.default)(function* () { - try { - var result = {}; - yield this.recursiveCheck(_tecnaviaFileUtils.default.getNewspaperBaseDirectory(), 0, result); - this.usedSpace = result.size || 0; - this.numberOfPapersDirs = result["0"] || 0; - this.numberOfIssuesDirs = result["1"] || 0; - this.numberOfPagesDirs = result["2"] || 0; - } catch (e) {} - - return { - usedSpace: this.usedSpace, - numberOfPapersDirs: this.numberOfPapersDirs, - numberOfIssuesDirs: this.numberOfIssuesDirs, - numberOfPagesDirs: this.numberOfPagesDirs - }; - }); - - function analyze() { - return _analyze.apply(this, arguments); - } - - return analyze; - }() - }, { - key: "recursiveCheck", - value: function () { - var _recursiveCheck = (0, _asyncToGenerator2.default)(function* (path, depth, result) { - var paperDirs = yield _tecnaviaFileUtils.default.readDir(path); - - if (!result[depth]) { - result[depth] = 0; - } - - for (var i = 0; i < paperDirs.length; i++) { - var _paperDirs$i = paperDirs[i], - size = _paperDirs$i.size, - subPath = _paperDirs$i.path, - isDirectory = _paperDirs$i.isDirectory; - - if (!result.size) { - result.size = 0; - } - - result.size += size; - - if (isDirectory()) { - result[depth] += 1; - yield this.recursiveCheck(subPath, depth + 1, result); - } - } - }); - - function recursiveCheck(_x, _x2, _x3) { - return _recursiveCheck.apply(this, arguments); - } - - return recursiveCheck; - }() - }]); - }(); -},1965,[3,270,6,7,552]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.RssFavoritesConfig = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _IndexHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _RssActionManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var FAVORITES_STORAGE_NAME = "favorites"; - - var RssFavoritesConfig = exports.RssFavoritesConfig = function () { - function RssFavoritesConfig() { - (0, _classCallCheck2.default)(this, RssFavoritesConfig); - this.favorites = []; - this.icon = ""; - } - - return (0, _createClass2.default)(RssFavoritesConfig, [{ - key: "init", - value: function () { - var _init = (0, _asyncToGenerator2.default)(function* () { - yield this.retrieveFavorites(); - this.icon = _IndexHelper.default.SP.values.favoritesIcons.default; - - var _global$getRssIndex = global.getRssIndex(), - favoritesIconFromBBE = _global$getRssIndex.favoritesIconFromBBE; - - if (_IndexHelper.default.SP.values.favoritesIcons.supported.indexOf(favoritesIconFromBBE) !== -1) { - this.icon = favoritesIconFromBBE; - } - }); - - function init() { - return _init.apply(this, arguments); - } - - return init; - }() - }, { - key: "retrieveFavorites", - value: function () { - var _retrieveFavorites = (0, _asyncToGenerator2.default)(function* () { - var favorites = {}; - - try { - favorites = (yield _$$_REQUIRE(_dependencyMap[7]).StorageUtils.multiGet(FAVORITES_STORAGE_NAME)) || {}; - } catch (e) {} - - this.favorites = Object.values(favorites).reduce(function (results, favorite) { - try { - var parsed = JSON.parse(favorite); - - if (parsed && typeof parsed === "object") { - var article = Object.assign(new (_$$_REQUIRE(_dependencyMap[8]).Article)(), parsed); - article.action = Object.assign(new _RssActionManager.default(), article.action); - article.isHighlightedBox = false; - article.priority = { - 1: { - D: "1", - d: "1" - }, - 2: { - D: "1x1", - d: "1x1" - }, - 3: { - D: "1x1", - d: "1x1" - }, - 4: { - D: "1x1", - d: "1x1" - }, - isHighlightedBox: "0" - }; - results.push(article); - } - } catch (e) {} - - return results; - }, []); - }); - - function retrieveFavorites() { - return _retrieveFavorites.apply(this, arguments); - } - - return retrieveFavorites; - }() - }, { - key: "getIcon", - value: function getIcon() { - return this.icon; - } - }, { - key: "getFavorites", - value: function getFavorites() { - return this.favorites; - } - }, { - key: "getCount", - value: function getCount() { - return this.favorites ? this.favorites.length : 0; - } - }, { - key: "isFavorite", - value: function isFavorite(item) { - return this.favorites.findIndex(function (_ref) { - var feedId = _ref.feedId; - return feedId === item.feedId; - }) > -1; - } - }, { - key: "clearFavorites", - value: function clearFavorites() { - this.favorites = []; - - _$$_REQUIRE(_dependencyMap[9]).EventRegister.emit(_events.default.CLEAR_FAVORITES); - - _$$_REQUIRE(_dependencyMap[7]).StorageUtils.clearAll(FAVORITES_STORAGE_NAME); - } - }, { - key: "toggleFavorite", - value: function toggleFavorite(item) { - if (this.isFavorite(item)) { - this.removeFavorite(item); - } else { - this.addFavorite(item); - } - - _$$_REQUIRE(_dependencyMap[9]).EventRegister.emit(_events.default.TOGGLE_FAVORITE, { - feedId: item.feedId - }); - } - }, { - key: "addFavorite", - value: function addFavorite(item) { - this.favorites.push(item); - - _$$_REQUIRE(_dependencyMap[7]).StorageUtils.setItem(FAVORITES_STORAGE_NAME, item.feedId, JSON.stringify(item)); - } - }, { - key: "removeFavorite", - value: function removeFavorite(item) { - this.favorites = this.favorites.filter(function (_ref2) { - var feedId = _ref2.feedId; - return feedId !== item.feedId; - }); - - _$$_REQUIRE(_dependencyMap[7]).StorageUtils.clear(FAVORITES_STORAGE_NAME, item.feedId); - } - }]); - }(); -},1966,[3,270,6,7,436,1967,1968,438,1976,550]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var IndexHelper = exports.default = function () { - function IndexHelper() { - (0, _classCallCheck2.default)(this, IndexHelper); - } - - return (0, _createClass2.default)(IndexHelper, null, [{ - key: "getItem", - value: function () { - var _getItem = (0, _asyncToGenerator2.default)(function* (storageName, key) { - return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.getItem(storageName, key); - }); - - function getItem(_x, _x2) { - return _getItem.apply(this, arguments); - } - - return getItem; - }() - }, { - key: "setItem", - value: function () { - var _setItem = (0, _asyncToGenerator2.default)(function* (storageName, key, value) { - yield _$$_REQUIRE(_dependencyMap[4]).StorageUtils.setItem(storageName, key, value); - }); - - function setItem(_x3, _x4, _x5) { - return _setItem.apply(this, arguments); - } - - return setItem; - }() - }, { - key: "getDrawerContent", - value: function () { - var _getDrawerContent = (0, _asyncToGenerator2.default)(function* (storageName) { - var content = yield IndexHelper.getItem(storageName, IndexHelper.SP.keys.drawer_content); - return content; - }); - - function getDrawerContent(_x6) { - return _getDrawerContent.apply(this, arguments); - } - - return getDrawerContent; - }() - }, { - key: "getTutorials", - value: function getTutorials(tutorials) { - return IndexHelper.buildTutorialUrls(tutorials); - } - }, { - key: "buildTutorialUrls", - value: function buildTutorialUrls(items) { - var result = []; - - if (items && items.length > 0) { - var isTablet = _$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isTablet(); - - if (Array.isArray(items[0])) { - var partOne = IndexHelper.getPath(items[0]); - items[0].forEach(function (first) { - if (first[0] === "elements") { - first[1].forEach(function (second) { - var partTwo = IndexHelper.getPath(second); - var displayName = IndexHelper.getDisplayName(second); - - if (!isTablet && displayName === "iphone" || isTablet && displayName === "ipad") { - second.forEach(function (third) { - if (third[0] === "elements") { - third[1].forEach(function (fourth) { - result.push(partOne.concat(partTwo).concat("/").concat(IndexHelper.getPath(fourth))); - }); - } - }); - } - }); - } - }); - } else { - var _items$ = items[0], - path = _items$.path, - elements = _items$.elements; - - if (elements) { - elements.forEach(function (element) { - var devicePath = element.path, - displayName = element.displayName, - deviceElements = element.elements; - - if (!isTablet && displayName === "iphone" || isTablet && displayName === "ipad") { - deviceElements.forEach(function (deviceElement) { - var pagePath = deviceElement.path; - result.push("" + path + devicePath + "/" + pagePath); - }); - } - }); - } - } - } - - return result; - } - }, { - key: "getPath", - value: function getPath(item) { - var result = ""; - item.forEach(function (object) { - if (object[0] === "path") { - result = object[1]; - } - }); - return result; - } - }, { - key: "getDisplayName", - value: function getDisplayName(item) { - var result = ""; - item.forEach(function (object) { - if (object[0] === "displayName") { - result = object[1]; - } - }); - return result; - } - }]); - }(); - - IndexHelper.SP = { - name: "rssIndex", - keys: { - action_bar_background_color: "NavigationBarColor", - app_template_style: "app_template_style", - db_url: "DbPath", - db_mtime: "DbMTime", - drawer_content: "Index", - ga_json: "ga_json", - grid_title_line_limit_phone: "boxTitleLinesLimitGridPhone", - grid_title_line_limit_tablet: "boxTitleLinesLimitGridTablet", - home_category_name: "homeCategoryName", - logo: "LogoPath", - menu_background_color: "MenuBGColor", - my_home_values: "myHomeValues", - hide_drawer_button: "HideDrawerIcon", - show_home_button: "HasHomeIcon", - startup_layout: "startupLayout", - support_color: "SupportColor", - floating_button_color: "PlusButtonBgColor", - tutorials: "Resources", - animation_speed: "animSpeed", - border_radius: "BorderRadius", - border_shadow: "BorderShadow", - border_width: "BorderWidth", - border_color: "BorderColor", - has_top_panel: "hasTopPanel", - summary_in_article_body: "summaryInArticleBody", - has_columnizer: "HasColumnizer", - rn_available_layouts: "rnAvailableLayouts", - rss_footer_enabled: "footerEnabled", - ads: { - cache: "cacheAds", - background_color: "AdsBackgroundColor", - provider: "adProvider", - prebid_account_id: "adPrebidAccountId", - prebid_server_host: "adPrebidServerHost", - prebid_configuration_id: "adPrebidConfigurationId", - prebid_share_geolocation: "adPrebidShareGeolocation", - unit_id: "adUnitId", - mob_app_id: "publisherProvidedID", - bottom: "bottomAdParam", - top: "topAdParam", - default_fallback: "adDefaultFallback", - targeting: "adTargeting" - }, - email_subject: "emailSubjectCustomText", - squared_image: "squaredImage", - favorites_icon: "favoritesIcon", - article_bg_color: "BgColor", - article_top_color: "ArticleTopColor", - paywallAppId: "paywallAppId", - paywallEnabled: "paywallEnabled", - enable_share_button_on_push_notification_urls: "enableShareButtonOnPushNotificationURLs", - font_regular: _$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isIOS() ? "iosRegular" : "androidRegular", - font_medium: _$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isIOS() ? "iosMedium" : "androidMedium", - font_bold: _$$_REQUIRE(_dependencyMap[4]).PlatformUtils.isIOS() ? "iosBold" : "androidBold", - latitude: "latitude", - longitude: "longitude", - skip_right_to_left_thumb_align_in_list: "skipRightToLeftThumbAlignInList", - list_height_multiplier_phone: "listHeightMultiplierOnPhone", - list_height_multiplier_tablet: "listHeightMultiplierOnTablet", - app_auto_refresh_minutes: "appAutoRefreshMinutes", - show_gallery_title: "showGalleryTitle", - archive_search_url: "archiveSearchURL", - must_login_to_view_article: "mustLoginToViewArticle", - attach_paywall_to_article: "attachPaywallToArticle", - article_preview_length: "articlePreviewLength", - use_phone_article_style_on_tablet: "usePhoneArticleStyleOnTablet" - }, - values: { - drawer: { - type: { - feed: "feed", - section: "section" - }, - actions: { - show_articles: "showArticles", - open_my_home: "openMyHome", - open_favorites: "openFavorites", - open_search: "openSearch", - open_url: "openURL", - open_settings: "openSettings", - open_archive_search: "openArchiveSearch", - open_full_screen: "openFullScreen", - upload_image: "uploadImage", - open_epaper: "openEpaper", - open_live_news: "openLiveNews", - open_in_app_purchase_page: "openInAppPurchasePage", - open_optionspage_tab_editions: "openOptionPageEditions", - open_optionspage_tab_login: "openOptionPageLogin", - open_optionspage_tab_contact: "openOptionPageContact", - open_optionspage_tab_help: "openOptionPageHelp", - open_optionspage_tab_archive: "openOptionPageArchive", - open_paywall_account: "openPaywallAccount", - open_publications: "openPublications", - open_drawer: "openDrawer" - }, - params: { - open_le_vedette: "openLeVedette", - open_real_estate: "openRealEstate", - open_auto_search: "openAutoSearch", - open_monster: "openMonster", - open_fair: "openFair", - open_weather: "openWeather", - open_events: "openEvents" - } - }, - favoritesIcons: { - supported: ["heart", "star", "bookmark"], - default: "heart" - } - } - }; -},1967,[3,270,6,7,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _ParserV = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _ParserV2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var RssActionManager = exports.default = function () { - function RssActionManager() { - (0, _classCallCheck2.default)(this, RssActionManager); - this.main = {}; - this.properties = []; - this.icons = []; - this.iconsFullscreen = []; - } - - return (0, _createClass2.default)(RssActionManager, [{ - key: "initActions", - value: function initActions() { - var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var find = RssActionManager.PARSER.find(function (parser) { - return parser.isParsable(data); - }); - - if (find) { - find.parse(data); - this.main = find.getMainAction(); - this.properties = find.getProperties(); - this.icons = find.getIcons(); - this.iconsFullscreen = find.getFullScreenIcons(); - } - } - }, { - key: "hasMainActionOpenGallery", - value: function hasMainActionOpenGallery() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionOpenGallery)(this.main); - } - }, { - key: "hasMainActionOpenLoadExternalUrl", - value: function hasMainActionOpenLoadExternalUrl() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionOpenLoadExternalUrl)(this.main); - } - }, { - key: "hasMainActionShared", - value: function hasMainActionShared() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionShared)(this.main); - } - }, { - key: "hasMainActionOpenEdition", - value: function hasMainActionOpenEdition() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionOpenEdition)(this.main); - } - }, { - key: "hasMainActionOpenLinkToCategory", - value: function hasMainActionOpenLinkToCategory() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionOpenLinkToCategory)(this.main); - } - }, { - key: "hasMainActionLiveStream", - value: function hasMainActionLiveStream() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionLiveStream)(this.main); - } - }, { - key: "hasMainActionHtml5Stream", - value: function hasMainActionHtml5Stream() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionHtml5Stream)(this.main); - } - }, { - key: "hasPropertyHideDate", - value: function hasPropertyHideDate() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyHideDate)(this.properties); - } - }, { - key: "hasPropertyPremiumArticle", - value: function hasPropertyPremiumArticle() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyPremiumArticle)(this.properties); - } - }, { - key: "hasPropertyDisableOpenImage", - value: function hasPropertyDisableOpenImage() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyDisableOpenImage)(this.properties); - } - }, { - key: "hasPropertyDisableColumnizer", - value: function hasPropertyDisableColumnizer() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyDisableColumnizer)(this.properties); - } - }, { - key: "hasPropertyLoadUrlInArticle", - value: function hasPropertyLoadUrlInArticle() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyLoadUrlInArticle)(this.properties); - } - }, { - key: "hasPropertyLoadNativeAd", - value: function hasPropertyLoadNativeAd() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyLoadNativeAd)(this.properties); - } - }, { - key: "hasPropertyLoadNativeAdProvider", - value: function hasPropertyLoadNativeAdProvider(provider) { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyLoadNativeAdProvider)(this.properties, provider); - } - }, { - key: "hasPropertyHideItemInFullScreen", - value: function hasPropertyHideItemInFullScreen() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyHideItemInFullScreen)(this.properties); - } - }, { - key: "hasPropertyHideImageInCardMode", - value: function hasPropertyHideImageInCardMode() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyHideImageInCardMode)(this.properties); - } - }, { - key: "hasPropertyHideSummaryInCardMode", - value: function hasPropertyHideSummaryInCardMode() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyHideSummaryInCardMode)(this.properties); - } - }, { - key: "hasPropertyTitleOnImageInCardMode", - value: function hasPropertyTitleOnImageInCardMode() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyTitleOnImageInCardMode)(this.properties); - } - }, { - key: "hasPropertyOS", - value: function hasPropertyOS() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyOS)(this.properties); - } - }, { - key: "hasPropertyIsSchedule", - value: function hasPropertyIsSchedule() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyIsSchedule)(this.properties); - } - }, { - key: "hasPropertyNotClickable", - value: function hasPropertyNotClickable() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyNotClickable)(this.properties); - } - }, { - key: "hasPropertyLatestArticleImage", - value: function hasPropertyLatestArticleImage() { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasPropertyLatestArticleImage)(this.properties); - } - }, { - key: "getGalleryIcon", - value: function getGalleryIcon() { - return this.icons.find(function (icon) { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionOpenGallery)(icon); - }); - } - }, { - key: "getTileIcons", - value: function getTileIcons() { - return this.icons.filter(function (icon) { - return !(0, _$$_REQUIRE(_dependencyMap[5]).hasActionOpenGallery)(icon); - }); - } - }, { - key: "getFullscreenGalleryIcon", - value: function getFullscreenGalleryIcon() { - return this.iconsFullscreen.find(function (icon) { - return (0, _$$_REQUIRE(_dependencyMap[5]).hasActionOpenGallery)(icon); - }); - } - }]); - }(); - - RssActionManager.PARSER = [new _ParserV2.default(), new _ParserV.default()]; -},1968,[3,6,7,1969,1971,1972]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var Constants = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[3])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var ParserV1 = exports.default = function () { - function ParserV1() { - (0, _classCallCheck2.default)(this, ParserV1); - this.mainAction = {}; - this.properties = []; - this.icons = []; - this.fullScreenIcons = []; - } - - return (0, _createClass2.default)(ParserV1, [{ - key: "isParsable", - value: function isParsable(str) { - return !!str; - } - }, { - key: "parse", - value: function parse(str) { - this.data = (str || "").split(","); - this.parseActions(); - this.parseProperties(); - } - }, { - key: "parseActions", - value: function parseActions() { - var actions = []; - this.data.forEach(function (item) { - if (Constants.ACTIONS.indexOf(item)) { - var obj = { - action: item - }; - var matches; - - switch (item) { - case Constants.ACTION_LINK_TO_CATEGORY: - matches = item.match(Constants.REG_EX_LINK_TO_CATEGORY); - - if (matches) { - obj.category = matches[3]; - } - - break; - - case Constants.ACTION_LOAD_EXTERNAL_URL: - matches = item.match(Constants.REG_EX_LOAD_EXTERNAL_URL); - - if (matches) { - obj.url = matches[3]; - } - - break; - - case Constants.ACTION_OPEN_GALLERY: - matches = item.match(Constants.REG_EX_OPEN_GALLERY); - - if (matches) { - obj.icon = matches[3]; - } - - break; - } - - actions.push(obj); - } - }); - - if (actions.length > 0) { - this.mainAction = actions[0]; - this.icons = actions.slice(1); - } - } - }, { - key: "parseProperties", - value: function parseProperties() { - var _this = this; - - this.data.forEach(function (item) { - if (Constants.PROPERTIES.indexOf(item)) { - _this.properties.push(item); - } - }); - } - }, { - key: "getMainAction", - value: function getMainAction() { - return this.mainAction; - } - }, { - key: "getProperties", - value: function getProperties() { - return this.properties; - } - }, { - key: "getIcons", - value: function getIcons() { - return this.icons; - } - }, { - key: "getFullScreenIcons", - value: function getFullScreenIcons() { - return this.fullScreenIcons; - } - }]); - }(); -},1969,[3,6,7,1970]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.REG_EX_OPEN_GALLERY = exports.REG_EX_LOAD_EXTERNAL_URL = exports.REG_EX_LINK_TO_CATEGORY = exports.PROPERTY_TITLE_ON_IMAGE_IN_CARD_MODE = exports.PROPERTY_PREMIUM_ARTICLE = exports.PROPERTY_NOT_CLICKABLE = exports.PROPERTY_LOAD_URL_IN_ARTICLE = exports.PROPERTY_LOAD_NATIVE_AD = exports.PROPERTY_LATEST_ARTICLE_IMAGE = exports.PROPERTY_IS_SCHEDULE = exports.PROPERTY_HIDE_SUMMARY_IN_CARD_MODE = exports.PROPERTY_HIDE_ITEM_IN_FULL_SCREEN = exports.PROPERTY_HIDE_IMAGE_IN_CARD_MODE = exports.PROPERTY_HIDE_DATE = exports.PROPERTY_DISABLE_OPEN_IMAGE = exports.PROPERTY_DISABLE_COLUMNIZER = exports.PROPERTIES = exports.ACTION_SHARE = exports.ACTION_SAVE_FOR_LATER = exports.ACTION_OPEN_GALLERY = exports.ACTION_OPEN_E_EDITION = exports.ACTION_LOAD_EXTERNAL_URL = exports.ACTION_LIVE_STREAM = exports.ACTION_LINK_TO_CATEGORY = exports.ACTION_HTML5_STREAM = exports.ACTIONS = undefined; - var PROPERTY_HIDE_DATE = exports.PROPERTY_HIDE_DATE = ""; - var PROPERTY_PREMIUM_ARTICLE = exports.PROPERTY_PREMIUM_ARTICLE = "premiumArticle"; - var PROPERTY_DISABLE_OPEN_IMAGE = exports.PROPERTY_DISABLE_OPEN_IMAGE = ""; - var PROPERTY_DISABLE_COLUMNIZER = exports.PROPERTY_DISABLE_COLUMNIZER = "disableColumnizer"; - var PROPERTY_LOAD_URL_IN_ARTICLE = exports.PROPERTY_LOAD_URL_IN_ARTICLE = "loadUrlInArticle"; - var PROPERTY_LOAD_NATIVE_AD = exports.PROPERTY_LOAD_NATIVE_AD = "loadNativeAd"; - var PROPERTY_HIDE_ITEM_IN_FULL_SCREEN = exports.PROPERTY_HIDE_ITEM_IN_FULL_SCREEN = "hideItemInFullScreen"; - var PROPERTY_HIDE_IMAGE_IN_CARD_MODE = exports.PROPERTY_HIDE_IMAGE_IN_CARD_MODE = "hideImageInCardMode"; - var PROPERTY_HIDE_SUMMARY_IN_CARD_MODE = exports.PROPERTY_HIDE_SUMMARY_IN_CARD_MODE = "hideSummaryInCardMode"; - var PROPERTY_TITLE_ON_IMAGE_IN_CARD_MODE = exports.PROPERTY_TITLE_ON_IMAGE_IN_CARD_MODE = "titleOnImageInCardMode"; - var PROPERTY_IS_SCHEDULE = exports.PROPERTY_IS_SCHEDULE = "isSchedule"; - var PROPERTY_NOT_CLICKABLE = exports.PROPERTY_NOT_CLICKABLE = "notClickable"; - var PROPERTY_LATEST_ARTICLE_IMAGE = exports.PROPERTY_LATEST_ARTICLE_IMAGE = "latestArticleImage"; - var ACTION_SHARE = exports.ACTION_SHARE = "share"; - var ACTION_SAVE_FOR_LATER = exports.ACTION_SAVE_FOR_LATER = "saveForLater"; - var ACTION_OPEN_GALLERY = exports.ACTION_OPEN_GALLERY = "openGallery"; - var ACTION_LOAD_EXTERNAL_URL = exports.ACTION_LOAD_EXTERNAL_URL = "loadExternalURL"; - var ACTION_LINK_TO_CATEGORY = exports.ACTION_LINK_TO_CATEGORY = "link_to_category"; - var ACTION_OPEN_E_EDITION = exports.ACTION_OPEN_E_EDITION = "openEedition"; - var ACTION_LIVE_STREAM = exports.ACTION_LIVE_STREAM = "isLiveStream"; - var ACTION_HTML5_STREAM = exports.ACTION_HTML5_STREAM = "isHtml5VideoStream"; - var REG_EX_LINK_TO_CATEGORY = exports.REG_EX_LINK_TO_CATEGORY = /(link_to_category)(:(.*)){0,1}/; - var REG_EX_OPEN_GALLERY = exports.REG_EX_OPEN_GALLERY = /(openGallery)(##(.*)){0,1}/; - var REG_EX_LOAD_EXTERNAL_URL = exports.REG_EX_LOAD_EXTERNAL_URL = /(loadExternalURL)(:(.*)){0,1}/; - var PROPERTIES = exports.PROPERTIES = [PROPERTY_HIDE_DATE, PROPERTY_PREMIUM_ARTICLE, PROPERTY_DISABLE_OPEN_IMAGE, PROPERTY_DISABLE_COLUMNIZER, PROPERTY_LOAD_URL_IN_ARTICLE, PROPERTY_LOAD_NATIVE_AD, PROPERTY_HIDE_ITEM_IN_FULL_SCREEN, PROPERTY_HIDE_IMAGE_IN_CARD_MODE, PROPERTY_HIDE_SUMMARY_IN_CARD_MODE, PROPERTY_TITLE_ON_IMAGE_IN_CARD_MODE, PROPERTY_IS_SCHEDULE, PROPERTY_NOT_CLICKABLE]; - var ACTIONS = exports.ACTIONS = [ACTION_OPEN_GALLERY, ACTION_LOAD_EXTERNAL_URL, ACTION_LINK_TO_CATEGORY, ACTION_OPEN_E_EDITION, ACTION_SHARE, ACTION_SAVE_FOR_LATER, ACTION_LIVE_STREAM]; -},1970,[]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var ParserV2 = exports.default = function () { - function ParserV2() { - (0, _classCallCheck2.default)(this, ParserV2); - this.mainAction = {}; - this.properties = []; - this.icons = []; - this.fullScreenIcons = []; - } - - return (0, _createClass2.default)(ParserV2, [{ - key: "isParsable", - value: function isParsable(str) { - try { - this.data = JSON.parse(str); - return true; - } catch (e) { - return false; - } - } - }, { - key: "parse", - value: function parse(str) { - this.data = JSON.parse(str) || {}; - this.parseMainAction(); - this.parseActions(); - this.parseFullScreenIcons(); - this.parseProperties(); - } - }, { - key: "parseMainAction", - value: function parseMainAction() { - this.mainAction = this.data.mainAction || {}; - } - }, { - key: "parseProperties", - value: function parseProperties() { - this.properties = this.data.properties || []; - } - }, { - key: "parseActions", - value: function parseActions() { - this.icons = this.data.icons || []; - } - }, { - key: "parseFullScreenIcons", - value: function parseFullScreenIcons() { - this.fullScreenIcons = this.data.fullpage_icons || []; - } - }, { - key: "getMainAction", - value: function getMainAction() { - return this.mainAction; - } - }, { - key: "getProperties", - value: function getProperties() { - return this.properties; - } - }, { - key: "getIcons", - value: function getIcons() { - return this.icons; - } - }, { - key: "getFullScreenIcons", - value: function getFullScreenIcons() { - return this.fullScreenIcons; - } - }]); - }(); -},1971,[3,6,7]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.hasPropertyTitleOnImageInCardMode = exports.hasPropertyPremiumArticle = exports.hasPropertyOS = exports.hasPropertyNotClickable = exports.hasPropertyLoadUrlInArticle = exports.hasPropertyLoadNativeAdProvider = exports.hasPropertyLoadNativeAd = exports.hasPropertyLatestArticleImage = exports.hasPropertyIsSchedule = exports.hasPropertyHideSummaryInCardMode = exports.hasPropertyHideItemInFullScreen = exports.hasPropertyHideImageInCardMode = exports.hasPropertyHideDate = exports.hasPropertyDisableOpenImage = exports.hasPropertyDisableColumnizer = exports.hasActionShared = exports.hasActionSaveForLater = exports.hasActionOpenLoadExternalUrl = exports.hasActionOpenLinkToCategory = exports.hasActionOpenGallery = exports.hasActionOpenEdition = exports.hasActionLiveStream = exports.hasActionHtml5Stream = exports.getTitleAction = exports.getIconAction = exports.doAction = undefined; - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[2]); - - var _reactNativeShare = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var Constants = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[4])); - - var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _iconComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[7])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var share = function share(_ref) { - var source = _ref.source, - title = _ref.title, - subject = _ref.subject; - var shareOptions = { - url: source, - title: "Share", - subject: subject || title, - message: title - }; - - _reactNativeShare.default.open(shareOptions); - }; - - var hasAction = function hasAction(action, toCheck) { - return action && toCheck && action === toCheck; - }; - - var hasProperty = function hasProperty(properties, toCheck) { - return properties && toCheck && properties.indexOf(toCheck) > -1; - }; - - var getPropertyByRegex = function getPropertyByRegex(properties, regex) { - if (properties) { - return properties.find(function (property) { - return property.match(regex); - }); - } - - return undefined; - }; - - var hasPropertyOS = exports.hasPropertyOS = function hasPropertyOS(properties) { - var regex = /os-([a-z|A-Z]+)/; - var property = getPropertyByRegex(properties, regex); - - if (property) { - var match = property.match(regex); - - if (match && match[1] === _reactNative.Platform.OS) { - return true; - } - - return false; - } - - return true; - }; - - var hasPropertyHideDate = exports.hasPropertyHideDate = function hasPropertyHideDate(properties) { - return hasProperty(properties, Constants.PROPERTY_HIDE_DATE); - }; - - var hasPropertyPremiumArticle = exports.hasPropertyPremiumArticle = function hasPropertyPremiumArticle(properties) { - return hasProperty(properties, Constants.PROPERTY_PREMIUM_ARTICLE); - }; - - var hasPropertyDisableOpenImage = exports.hasPropertyDisableOpenImage = function hasPropertyDisableOpenImage(properties) { - return hasProperty(properties, Constants.PROPERTY_DISABLE_OPEN_IMAGE); - }; - - var hasPropertyDisableColumnizer = exports.hasPropertyDisableColumnizer = function hasPropertyDisableColumnizer(properties) { - return hasProperty(properties, Constants.PROPERTY_DISABLE_COLUMNIZER); - }; - - var hasPropertyLoadUrlInArticle = exports.hasPropertyLoadUrlInArticle = function hasPropertyLoadUrlInArticle(properties) { - return hasProperty(properties, Constants.PROPERTY_LOAD_URL_IN_ARTICLE); - }; - - var hasPropertyLoadNativeAd = exports.hasPropertyLoadNativeAd = function hasPropertyLoadNativeAd(properties) { - return hasProperty(properties, Constants.PROPERTY_LOAD_NATIVE_AD); - }; - - var hasPropertyLoadNativeAdProvider = exports.hasPropertyLoadNativeAdProvider = function hasPropertyLoadNativeAdProvider(properties, provider) { - return hasProperty(properties, Constants.PROPERTY_LOAD_NATIVE_AD + "-" + provider); - }; - - var hasPropertyHideItemInFullScreen = exports.hasPropertyHideItemInFullScreen = function hasPropertyHideItemInFullScreen(properties) { - return hasProperty(properties, Constants.PROPERTY_HIDE_ITEM_IN_FULL_SCREEN); - }; - - var hasPropertyHideImageInCardMode = exports.hasPropertyHideImageInCardMode = function hasPropertyHideImageInCardMode(properties) { - return hasProperty(properties, Constants.PROPERTY_HIDE_IMAGE_IN_CARD_MODE); - }; - - var hasPropertyHideSummaryInCardMode = exports.hasPropertyHideSummaryInCardMode = function hasPropertyHideSummaryInCardMode(properties) { - return hasProperty(properties, Constants.PROPERTY_HIDE_SUMMARY_IN_CARD_MODE); - }; - - var hasPropertyTitleOnImageInCardMode = exports.hasPropertyTitleOnImageInCardMode = function hasPropertyTitleOnImageInCardMode(properties) { - return hasProperty(properties, Constants.PROPERTY_TITLE_ON_IMAGE_IN_CARD_MODE); - }; - - var hasPropertyIsSchedule = exports.hasPropertyIsSchedule = function hasPropertyIsSchedule(properties) { - return hasProperty(properties, Constants.PROPERTY_IS_SCHEDULE); - }; - - var hasPropertyNotClickable = exports.hasPropertyNotClickable = function hasPropertyNotClickable(properties) { - return hasProperty(properties, Constants.PROPERTY_NOT_CLICKABLE); - }; - - var hasPropertyLatestArticleImage = exports.hasPropertyLatestArticleImage = function hasPropertyLatestArticleImage(properties) { - return hasProperty(properties, Constants.PROPERTY_LATEST_ARTICLE_IMAGE); - }; - - var hasActionSaveForLater = exports.hasActionSaveForLater = function hasActionSaveForLater(_ref2) { - var action = _ref2.action; - return hasAction(action, Constants.ACTION_SAVE_FOR_LATER); - }; - - var hasActionShared = exports.hasActionShared = function hasActionShared(_ref3) { - var action = _ref3.action; - return hasAction(action, Constants.ACTION_SHARE); - }; - - var hasActionOpenGallery = exports.hasActionOpenGallery = function hasActionOpenGallery(_ref4) { - var action = _ref4.action; - return hasAction(action, Constants.ACTION_OPEN_GALLERY); - }; - - var hasActionOpenEdition = exports.hasActionOpenEdition = function hasActionOpenEdition(_ref5) { - var action = _ref5.action; - return hasAction(action, Constants.ACTION_OPEN_E_EDITION); - }; - - var hasActionOpenLinkToCategory = exports.hasActionOpenLinkToCategory = function hasActionOpenLinkToCategory(_ref6) { - var action = _ref6.action; - return hasAction(action, Constants.ACTION_LINK_TO_CATEGORY); - }; - - var hasActionOpenLoadExternalUrl = exports.hasActionOpenLoadExternalUrl = function hasActionOpenLoadExternalUrl(_ref7) { - var action = _ref7.action; - return hasAction(action, Constants.ACTION_LOAD_EXTERNAL_URL); - }; - - var hasActionLiveStream = exports.hasActionLiveStream = function hasActionLiveStream(_ref8) { - var action = _ref8.action; - return hasAction(action, Constants.ACTION_LIVE_STREAM); - }; - - var hasActionHtml5Stream = exports.hasActionHtml5Stream = function hasActionHtml5Stream(_ref9) { - var action = _ref9.action; - return hasAction(action, Constants.ACTION_HTML5_STREAM); - }; - - var doAction = exports.doAction = function doAction(icon, _ref10) { - var tile = _ref10.tile, - navigation = _ref10.navigation; - var consumed = true; - - if (hasActionShared(icon)) { - share(tile); - } else if (hasActionSaveForLater(icon)) { - var favoritesConfig = global.getRssFavoritesConfig(); - favoritesConfig.toggleFavorite(tile); - } else if (hasActionOpenGallery(icon)) { - consumed = navigation.navigate("GalleryScreen", { - items: tile.gallery, - category: tile.category, - title: tile.title, - caller: "live_news" - }); - } else if (hasActionOpenEdition(icon)) { - var issue = icon.issue, - edition = icon.edition; - - _NavigationService.default.main.reset("NewsmemoryNavigator", { - isFromRss: true, - issue: issue, - edition: edition - }); - } else if (hasActionOpenLinkToCategory(icon)) { - consumed = navigation.navigate(icon.category); - } else if (hasActionOpenLoadExternalUrl(icon)) { - consumed = navigation.navigate("WebScreen", { - url: icon.url - }); - } else { - consumed = false; - } - - return consumed; - }; - - var getIconAction = exports.getIconAction = function getIconAction(icon, _ref11) { - var tile = _ref11.tile, - style = _ref11.style, - color = _ref11.color, - size = _ref11.size; - - var _global$getRssIndex = global.getRssIndex(), - supportColor = _global$getRssIndex.supportColor; - - var iconColor = color || supportColor; - var name = "exclamation-circle"; - var type = _iconComponent.TecnaviaIconType.FONT_AWESOME_5; - - if (hasActionSaveForLater(icon)) { - return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).IconFavorite, { - item: tile, - size: size, - color: iconColor, - style: style, - eventToggleItemChecker: function eventToggleItemChecker(currentItem, params) { - return currentItem.feedId === params.feedId; - }, - clearFavoritesEventName: _events.default.CLEAR_FAVORITES, - toggleFavoritesEventName: _events.default.TOGGLE_FAVORITE, - isFavoriteChecker: function isFavoriteChecker(item) { - var favoritesConfig = global.getRssFavoritesConfig(); - return favoritesConfig.isFavorite(item); - } - }); - } - - if (hasActionShared(icon)) { - name = "share"; - type = _iconComponent.TecnaviaIconType.MATERIAL_ICONS; - } else if (hasActionOpenEdition(icon)) { - name = "newspaper"; - } else if (hasActionOpenLinkToCategory(icon)) { - name = "anchor"; - } else if (hasActionOpenLoadExternalUrl(icon)) { - name = "link"; - } - - return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_iconComponent.default, { - type: type, - name: name, - style: [style, { - color: iconColor - }], - fontSize: size - }); - }; - - var getTitleAction = exports.getTitleAction = function getTitleAction(icon, _ref12) { - var tile = _ref12.tile; - - if (hasActionShared(icon)) { - return global.strings("action_share"); - } - - if (hasActionSaveForLater(icon)) { - var favoritesConfig = global.getRssFavoritesConfig(); - return !favoritesConfig.isFavorite(tile) ? global.strings("action_save_for_later") : global.strings("action_remove_from_favorites"); - } - - if (hasActionOpenEdition(icon)) { - return global.strings("action_open_epaper"); - } - - if (hasActionOpenLinkToCategory(icon)) { - return global.strings("action_go_to_category", { - anchor: icon.category - }); - } - - if (hasActionOpenLoadExternalUrl(icon)) { - return global.strings("action_open_link"); - } - - return global.strings("action_unknown"); - }; -},1972,[3,16,18,553,1970,1888,436,1807,179,1973]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.IconFavorite = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _imageIconChooserComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var IconFavorite = exports.IconFavorite = function (_React$Component) { - function IconFavorite(props) { - var _this; - - (0, _classCallCheck2.default)(this, IconFavorite); - _this = _callSuper(this, IconFavorite, [props]); - _this.state = { - isFavorite: props.isFavoriteChecker(props.item) - }; - return _this; - } - - (0, _inherits2.default)(IconFavorite, _React$Component); - return (0, _createClass2.default)(IconFavorite, [{ - key: "componentDidMount", - value: function componentDidMount() { - var _this2 = this; - - var _this$props = this.props, - currentItem = _this$props.item, - isFavoriteChecker = _this$props.isFavoriteChecker, - clearFavoritesEventName = _this$props.clearFavoritesEventName, - toggleFavoritesEventName = _this$props.toggleFavoritesEventName, - eventToggleItemChecker = _this$props.eventToggleItemChecker; - - if (clearFavoritesEventName) { - this.clearFavorites = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(clearFavoritesEventName, function () { - _this2.setState({ - isFavorite: false - }); - }); - } - - if (toggleFavoritesEventName) { - this.toggleFavorite = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(toggleFavoritesEventName, function (params) { - if (!eventToggleItemChecker || eventToggleItemChecker(currentItem, params)) { - var isFavorite = isFavoriteChecker(currentItem); - - _this2.setState({ - isFavorite: isFavorite - }); - } - }); - } - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - _$$_REQUIRE(_dependencyMap[9]).EventRegister.rm(this.toggleFavorite); - - _$$_REQUIRE(_dependencyMap[9]).EventRegister.rm(this.clearFavorites); - } - }, { - key: "render", - value: function render() { - var style = this.props.style; - var size = this.props.size; - var color = this.props.color; - size = size || _$$_REQUIRE(_dependencyMap[10]).CIRCULAR_MENU_ICON_SIZE; - var isFavorite = this.state.isFavorite; - var favoritesConfig = global.getRssFavoritesConfig(); - var icon = favoritesConfig.getIcon(); - var name = isFavorite ? icon : icon + "-outline"; - return (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[12]).Css, { - classes: ["icon-favorite"], - children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_imageIconChooserComponent.default, { - type: _$$_REQUIRE(_dependencyMap[13]).TecnaviaIconType.MATERIAL_COMMUNITY_ICONS, - name: name, - iconStyle: [{ - color: color - }, style], - size: size - }) - }); - } - }]); - }(_react.default.Component); - - IconFavorite.propTypes = { - item: _propTypes.default.object.isRequired, - style: _propTypes.default.any, - size: _propTypes.default.number, - color: _propTypes.default.string, - isFavoriteChecker: _propTypes.default.func.isRequired, - eventToggleItemChecker: _propTypes.default.func, - clearFavoritesEventName: _propTypes.default.string, - toggleFavoritesEventName: _propTypes.default.string - }; -},1973,[3,6,7,11,13,14,16,568,1974,550,1975,179,803,1807]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.AnimatedImageIconChooser = undefined; - exports.getBase64 = getBase64; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[8]); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _iconComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[10])); - - var _imageComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[11])); - - var _excluded = ["style", "imageStyle", "iconStyle", "type", "name", "source", "size", "tintColor"], - _excluded2 = ["Component", "getBase64Function"], - _excluded3 = ["Component", "getBase64Function"]; - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - function mapPropsOnComponent(props) { - var style = props.style, - imageStyle = props.imageStyle, - iconStyle = props.iconStyle, - type = props.type, - name = props.name, - source = props.source, - size = props.size, - tintColor = props.tintColor, - rest = (0, _objectWithoutProperties2.default)(props, _excluded); - - var library = _$$_REQUIRE(_dependencyMap[12]).CssUtils.getAttributeFromStyle("library", style, type); - - var srcFromStyle = _$$_REQUIRE(_dependencyMap[12]).CssUtils.getAttributeFromStyle("src", style); - - var src = _$$_REQUIRE(_dependencyMap[12]).JSUtils.isNull(srcFromStyle) || srcFromStyle === "inherit" ? name : srcFromStyle; - var newProps = Object.assign({ - Component: null - }, rest); - - var mergedIconStyle = _reactNative.StyleSheet.flatten([iconStyle, style]); - - if (Object.values(_iconComponent.TecnaviaIconType).includes(library) && src && src.length) { - newProps.Component = _iconComponent.default; - newProps.getBase64Function = _iconComponent.iconBase64; - newProps.style = _$$_REQUIRE(_dependencyMap[12]).CssUtils.deleteKeysFromStyle(mergedIconStyle, ["tintColor", "src"]); - newProps.size = size; - newProps.name = src; - newProps.type = library; - } else { - var newSource = source; - - if (typeof srcFromStyle === "string" && srcFromStyle.indexOf("base64") !== -1) { - newSource = { - uri: srcFromStyle - }; - } - - var mergedImageStyle = _reactNative.StyleSheet.flatten([imageStyle, style]); - - var width = _$$_REQUIRE(_dependencyMap[12]).CssUtils.getAttributeFromStyle("width", mergedImageStyle); - - var height = _$$_REQUIRE(_dependencyMap[12]).CssUtils.getAttributeFromStyle("height", mergedImageStyle); - - var fontSize = _$$_REQUIRE(_dependencyMap[12]).CssUtils.getAttributeFromStyle("fontSize", mergedIconStyle); - - var newStyle = {}; - - if (width === undefined && height === undefined) { - if (fontSize !== undefined) { - newStyle.width = fontSize; - newStyle.height = fontSize; - } - } else if (width === undefined) { - newStyle.width = height; - } else if (height === undefined) { - newStyle.height = width; - } - - newProps.Component = _imageComponent.default; - newProps.getBase64Function = _imageComponent.imageBase64; - newProps.style = _$$_REQUIRE(_dependencyMap[12]).CssUtils.deleteKeysFromStyle([mergedImageStyle, newStyle], ["color", "src", "fontSize"]); - newProps.source = newSource; - newProps.tintColor = tintColor; - } - - return newProps; - } - - function getBase64(props) { - var _mapPropsOnComponent = mapPropsOnComponent(props), - Component = _mapPropsOnComponent.Component, - getBase64Function = _mapPropsOnComponent.getBase64Function, - rest = (0, _objectWithoutProperties2.default)(_mapPropsOnComponent, _excluded2); - - if (getBase64Function) { - return getBase64Function(rest); - } - - return undefined; - } - - var ImageIconChooser = function (_React$Component) { - function ImageIconChooser() { - (0, _classCallCheck2.default)(this, ImageIconChooser); - return _callSuper(this, ImageIconChooser, arguments); - } - - (0, _inherits2.default)(ImageIconChooser, _React$Component); - return (0, _createClass2.default)(ImageIconChooser, [{ - key: "render", - value: function render() { - var _mapPropsOnComponent2 = mapPropsOnComponent(this.props), - Component = _mapPropsOnComponent2.Component, - getBase64Function = _mapPropsOnComponent2.getBase64Function, - rest = (0, _objectWithoutProperties2.default)(_mapPropsOnComponent2, _excluded3); - - if (Component) { - return (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(Component, Object.assign({}, rest)); - } - - return Component; - } - }]); - }(_react.default.Component); - - ImageIconChooser.propTypes = Object.assign({ - style: _propTypes.default.any, - imageStyle: _propTypes.default.any, - iconStyle: _propTypes.default.any, - size: _propTypes.default.number, - tintColor: _propTypes.default.string - }, _iconComponent.default.propTypes, _imageComponent.default.propTypes); - - var AnimatedImageIconChooser = exports.AnimatedImageIconChooser = _reactNative.Animated.createAnimatedComponent(ImageIconChooser); - - var _default = exports.default = ImageIconChooser; -},1974,[3,6,7,11,13,14,4,16,18,568,1807,574,438,179]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.CIRCULAR_MENU_ICON_SIZE = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var CIRCULAR_MENU_ICON_SIZE = exports.CIRCULAR_MENU_ICON_SIZE = 27; - - var _default = exports.default = _reactNative.StyleSheet.create({ - phoneItem: { - width: 36, - height: 36 - }, - tabletItem: { - width: 24, - height: 24 - }, - icon: { - fontSize: CIRCULAR_MENU_ICON_SIZE - } - }); -},1975,[18]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.Article = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var NoticeValues = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[3])); - - var _RssActionManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _Resource = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var Article = exports.Article = function () { - function Article() { - (0, _classCallCheck2.default)(this, Article); - this.isEdition = false; - this.isLinkToCategory = false; - this.isAdvertisement = false; - this.isHighlightedBox = false; - this.isPremiumArticle = false; - this.isTouchable = true; - this.isHalfBox = false; - this.hideCategory = false; - } - - return (0, _createClass2.default)(Article, [{ - key: "setExtraFields", - value: function setExtraFields(extraFields) { - try { - var fields = JSON.parse(extraFields) || {}; - this.kicker = _$$_REQUIRE(_dependencyMap[6]).StringUtils.decodeHTML(fields.kicker); - } catch (e) {} - } - }, { - key: "setResources", - value: function setResources(resources) { - this.resources = resources; - } - }, { - key: "getResources", - value: function getResources() { - return this.resources; - } - }, { - key: "getFeedId", - value: function getFeedId() { - return this.feedId; - } - }, { - key: "isLiveStream", - value: function isLiveStream() { - if (this.action) { - return this.action.hasMainActionLiveStream(); - } - - return false; - } - }, { - key: "isDailymotionLiveStreamVideo", - value: function isDailymotionLiveStreamVideo() { - return this.isLiveStream() && (0, _$$_REQUIRE(_dependencyMap[7]).galleryHasDailymotionVideo)(this.gallery); - } - }, { - key: "isHtml5Stream", - value: function isHtml5Stream() { - if (this.action) { - return this.action.hasMainActionHtml5Stream(); - } - - return false; - } - }, { - key: "isSchedule", - value: function isSchedule() { - if (this.action) { - return this.action.hasPropertyIsSchedule(); - } - - return false; - } - }, { - key: "isNotClickable", - value: function isNotClickable() { - if (this.action) { - return this.action.hasPropertyNotClickable() || this.isDailymotionLiveStreamVideo() && !this.isSchedule() || this.action.hasMainActionHtml5Stream(); - } - - return false; - } - }, { - key: "isVisibleOnFullscreen", - value: function isVisibleOnFullscreen() { - return !this.isAdvertisement && !this.isEdition && !this.isHalfBox && !this.isNotClickable() && ["Action Block", "Advertisement", "ePaper"].indexOf(this.category) === -1 && !this.isLinkToCategory; - } - }, { - key: "getDimensionsFromByline", - value: function getDimensionsFromByline() { - var width = 300; - var height = 250; - var backgroundColor; - - if (this.byline) { - var parts = this.byline.split(","); - - if (parts.length > 1) { - if (!isNaN(parts[0]) && !isNaN(parts[1])) { - width = parseInt(parts[0], 10); - height = parseInt(parts[1], 10); - } - - if (parts.length > 2) { - backgroundColor = parts[2]; - } - } - } - - return { - width: width, - height: height, - backgroundColor: backgroundColor - }; - } - }, { - key: "getTargetingFromSummary", - value: function getTargetingFromSummary() { - var _this = this; - - var targeting = {}; - - if (this.summary) { - try { - targeting = JSON.parse(this.summary); - - if (this.adIndex !== undefined) { - Object.keys(targeting).forEach(function (key) { - if (targeting[key].indexOf("##index##") !== -1) { - targeting[key] = targeting[key].replace("##index##", _this.adIndex); - } else if (targeting[key].indexOf("##position##") !== -1) { - targeting[key] = targeting[key].replace("##position##", _this.adIndex + 1); - } - }); - } - } catch (e) {} - } - - return targeting; - } - }, { - key: "getPriorityByCols", - value: function getPriorityByCols(cols) { - var greaterKey; - var keys = Object.keys(this.priority); - - for (var i = 0; i < keys.length; i++) { - if (keys[i] === cols) { - return keys[i]; - } - - if (parseInt(keys[i], 10) && (!greaterKey || keys[i] > greaterKey)) { - greaterKey = keys[i]; - } - } - - return this.priority[greaterKey]; - } - }, { - key: "setIsHalfBox", - value: function setIsHalfBox(cols, deviceKey) { - var priority = this.getPriorityByCols(cols)[deviceKey]; - var priorityComponents = priority.split("x"); - - if (priorityComponents.length > 1) { - this.isHalfBox = parseFloat(priorityComponents[1]) === 0.5; - } else if (priorityComponents.length > 0) { - this.isHalfBox = parseFloat(priorityComponents[0]) === 0.5; - } else { - this.isHalfBox = false; - } - } - }, { - key: "setHideCategory", - value: function setHideCategory(value) { - this.hideCategory = !this.category ? true : value; - } - }, { - key: "setSizes", - value: function setSizes(sizes) { - this.sizes = sizes; - } - }, { - key: "isAdvertisementNative", - value: function isAdvertisementNative() { - if (this.action) { - return this.action.hasPropertyLoadNativeAd(); - } - - return false; - } - }, { - key: "getAdvertisementProvider", - value: function getAdvertisementProvider() { - var _this2 = this; - - if (this.action) { - var providers = Object.values(NoticeValues.values.provider); - var provider = providers.find(function (item) { - return _this2.action.hasPropertyLoadNativeAdProvider(item); - }); - - if (provider) { - return provider; - } - } - - return undefined; - } - }, { - key: "getAdConfig", - value: function getAdConfig() { - if (!this.isAdvertisement) { - return undefined; - } - - var provider = this.getAdvertisementProvider(); - var isNative = provider ? true : this.isAdvertisementNative(); - return Object.assign({ - id: this.html - }, this.getDimensionsFromByline(), { - targeting: this.getTargetingFromSummary(), - provider: provider || NoticeValues.values.provider.unset, - isNative: isNative - }); - } - }, { - key: "getMainAction", - value: function getMainAction() { - if (this.action) { - return this.action.main; - } - - return undefined; - } - }]); - }(); -},1976,[3,6,7,1977,1968,1978,438,1979]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.values = exports.types = exports.keys = undefined; - var types = exports.types = { - prestitial: "prestitial", - interstitial: "interstital", - adOverPage: "ad_over_page", - instoryAd: "instory_ad", - bottom: "bottom" - }; - var keys = exports.keys = { - type: "type", - is_disabled: "is_disabled", - width: "width", - height: "height", - align: "align", - is_remove_after_x_seconds: "is_remove_after_x_seconds", - remove_after_x_seconds: "remove_after_x_seconds", - is_show_button_after_x_seconds: "is_show_button_after_x_seconds", - show_button_after_x_seconds: "show_button_after_x_seconds", - time_to_show_first: "time_to_show_first", - time_to_show_after_first: "time_to_show_after_first", - show_after_page: "show_after_page", - show_after_section: "show_after_section", - show_after_x_articles: "show_after_x_articles", - should_wait_for_local: "should_wait_for_local", - display_on_app_type_newspaper: "display_on_app_type_newspaper", - display_on_app_type_livenews: "display_on_app_type_livenews", - is_device_phonePortrait_Apple: "is_device_phonePortrait_Apple", - is_device_tabletPortrait_Android: "is_device_tabletPortrait_Android", - is_device_tabletPortrait_Apple: "is_device_tabletPortrait_Apple", - is_device_phoneLandscape_Android: "is_device_phoneLandscape_Android", - is_device_phoneLandscape_Apple: "is_device_phoneLandscape_Apple", - is_device_tabletLandscape_Android: "is_device_tabletLandscape_Android", - is_device_phonePortrait_Android: "is_device_phonePortrait_Android", - is_device_tabletLandscape_Apple: "is_device_tabletLandscape_Apple", - bgcolor: "bgcolor", - unit_id: "unit_id", - show_over_page: "show_over_page" - }; - var values = exports.values = { - type: { - between_pages: "between_pages", - bottom: "bottom", - article_mode_bottom: "article_mode_bottom" - }, - align: { - left: "left", - center: "center", - right: "right" - }, - provider: { - unset: "none", - admob: "admob", - dfp: "dfp", - prebid: "prebid", - nativo: "nativo" - } - }; -},1977,[]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.ResourceType = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var ResourceType = exports.ResourceType = { - VIAFOURA: "viafoura", - TOP_STORY: "url_top_story", - NATIVO_MOAP_AD: "nativo_moap_ad" - }; - - var Resource = exports.default = function () { - function Resource() { - (0, _classCallCheck2.default)(this, Resource); - } - - return (0, _createClass2.default)(Resource, [{ - key: "getValue", - value: function getValue() { - return this.value; - } - }, { - key: "setValue", - value: function setValue(value) { - this.value = value; - } - }, { - key: "getFeedId", - value: function getFeedId() { - return this.feedId; - } - }, { - key: "setFeedId", - value: function setFeedId(feedId) { - this.feedId = feedId; - } - }, { - key: "getType", - value: function getType() { - return this.type; - } - }, { - key: "setType", - value: function setType(type) { - this.type = type; - } - }]); - }(); -},1978,[3,6,7]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.galleryHasDailymotionVideo = galleryHasDailymotionVideo; - exports.getGallery = getGallery; - exports.itemHasHtml5StreamAction = itemHasHtml5StreamAction; - exports.itemHasLiveStreamAction = itemHasLiveStreamAction; - exports.itemHasLiveStreamDailymotionVideo = itemHasLiveStreamDailymotionVideo; - exports.itemHasPropertyIsSchedule = itemHasPropertyIsSchedule; - exports.itemHasPropertyNotClickable = itemHasPropertyNotClickable; - - function getExtension(_ref) { - var Type = _ref.Type; - return Type || "jpg"; - } - - function getPreviewText(_ref2) { - var PreviewText = _ref2.PreviewText; - return _$$_REQUIRE(_dependencyMap[0]).StringUtils.decodeHTML(PreviewText || ""); - } - - function getPreviewTextColor(_ref3) { - var PreviewTextColor = _ref3.PreviewTextColor; - return PreviewTextColor || ""; - } - - function getPreviewImage(_ref4) { - var PreviewImage = _ref4.PreviewImage; - return PreviewImage || ""; - } - - function getThumbnail(_ref5) { - var thumbnail = _ref5.thumbnail; - return thumbnail || ""; - } - - function getCaption(_ref6) { - var Caption = _ref6.Caption, - Desc = _ref6.Desc; - return _$$_REQUIRE(_dependencyMap[0]).StringUtils.decodeHTML(Caption || Desc); - } - - function getUrl(_ref7) { - var URL = _ref7.URL; - return URL || ""; - } - - function getTitle(_ref8) { - var Title = _ref8.Title; - return _$$_REQUIRE(_dependencyMap[0]).StringUtils.decodeHTML(Title || ""); - } - - function getAction(_ref9) { - var Action = _ref9.Action, - URL = _ref9.URL; - - if (Action) { - return Action; - } - - if (URL.endsWith(".mp4")) { - return "videoStream"; - } - - return "image"; - } - - function parseGalleryItem(item) { - if (!item) { - throw new Error("gallery item is undefined"); - } - - var gallery = {}; - gallery.url = getUrl(item); - - if (!gallery.url) { - throw new Error("missing url"); - } - - gallery.action = getAction(item); - - switch (gallery.action) { - case "dailymotion": - case "dailymotionPlaylist": - gallery.caption = getPreviewText(item); - gallery.thumbnail = getPreviewImage(item); - gallery.textColor = getPreviewTextColor(item); - break; - - case "videoLink": - gallery.caption = getPreviewText(item); - gallery.thumbnail = getPreviewImage(item); - gallery.textColor = getPreviewTextColor(item); - gallery.extension = getExtension(item); - break; - - case "videoEmbed": - gallery.thumbnail = getPreviewImage(item); - break; - - case "videoStream": - default: - gallery.extension = getExtension(item); - gallery.caption = getCaption(item); - gallery.thumbnail = getThumbnail(item); - gallery.title = getTitle(item); - } - - return gallery; - } - - function getGallery(str) { - var gallery = []; - - if (str) { - try { - var json = JSON.parse(str); - json.forEach(function (item, index) { - try { - var gItem = parseGalleryItem(typeof item === "string" ? JSON.parse(item) : item); - gItem.index = index; - gallery.push(gItem); - } catch (e) {} - }); - } catch (e) {} - } - - return gallery; - } - - function galleryHasDailymotionVideo(gallery) { - if (!_$$_REQUIRE(_dependencyMap[0]).JSUtils.isEmpty(gallery) && !_$$_REQUIRE(_dependencyMap[0]).JSUtils.isNull(gallery[0])) { - return gallery[0].action.startsWith("dailymotion"); - } - - return false; - } - - function itemHasLiveStreamAction(item) { - var action = item.action; - return action.hasMainActionLiveStream(); - } - - function itemHasHtml5StreamAction(item) { - var action = item.action; - return action.hasMainActionHtml5Stream(); - } - - function itemHasLiveStreamDailymotionVideo(item) { - var gallery = item.gallery; - var hasVideo = galleryHasDailymotionVideo(gallery); - return hasVideo && itemHasLiveStreamAction(item); - } - - function itemHasPropertyIsSchedule(item) { - var action = item.action; - return action.hasPropertyIsSchedule(); - } - - function itemHasPropertyNotClickable(item) { - var action = item.action; - return action.hasPropertyNotClickable(); - } -},1979,[438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.LocaleConfig = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _i18nJs = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _Api = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _en = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _it = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _ar = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _da = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _de = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _frFR = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - var _nlNL = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); - - var _esES = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); - - var _roRO = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); - - var _sl = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); - - var _sv = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[16])); - - var _ptPT = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[17])); - - var _ptBR = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18])); - - var _nlBE = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[19])); - - var _nnNO = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[20])); - - var _nbNO = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[21])); - - var _LocaleHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[22])); - - var _AudioManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[23])); - - var LocaleConfig = exports.LocaleConfig = function () { - function LocaleConfig() { - (0, _classCallCheck2.default)(this, LocaleConfig); - this.locale = {}; - this.audioMgr = new _AudioManager.default(); - } - - return (0, _createClass2.default)(LocaleConfig, [{ - key: "init", - value: function () { - var _init = (0, _asyncToGenerator2.default)(function* () { - var pSetupConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : global.getActivePSetup(); - var language = pSetupConfig.language, - pSetup = pSetupConfig.pSetup, - machine = pSetupConfig.machine, - paper = pSetupConfig.paper, - customLanguagePackFileTime = pSetupConfig.customLanguagePackFileTime; - this.language = language; - this.initLocale(); - yield this.audioMgr.init(_i18nJs.default.locale); - var mainLanguagePack = yield this.getMainLanguagePack(pSetupConfig); - - _LocaleHelper.default.setStorageName(paper); - - var lastCustomLanguagePackFileTime = yield _LocaleHelper.default.getFiletime(); - var activeLanguagePack = yield _LocaleHelper.default.getLanguagePack(); - - if (_$$_REQUIRE(_dependencyMap[24]).NetworkUtils.isOnline() && customLanguagePackFileTime > -1 && customLanguagePackFileTime > lastCustomLanguagePackFileTime) { - try { - var response = yield _Api.default.customLanguagePack({ - pSetup: pSetup, - machine: machine - }); - activeLanguagePack = response && response.data || {}; - } catch (e) {} - } else if (customLanguagePackFileTime === -1) { - activeLanguagePack = {}; - } - - this.locale = Object.assign({}, mainLanguagePack, activeLanguagePack); - - _LocaleHelper.default.setFiletime(customLanguagePackFileTime); - - _LocaleHelper.default.setLanguagePack(this.locale); - }); - - function init() { - return _init.apply(this, arguments); - } - - return init; - }() - }, { - key: "getMainLanguagePack", - value: function () { - var _getMainLanguagePack = (0, _asyncToGenerator2.default)(function* () { - var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : global.getActivePSetup(), - activePaper = _ref.paper, - activeLanguage = _ref.language; - - var _global$getMainPSetup = global.getMainPSetup(), - paper = _global$getMainPSetup.paper, - language = _global$getMainPSetup.language; - - if (activePaper !== paper && activeLanguage === language) { - _LocaleHelper.default.setStorageName(paper); - - return _LocaleHelper.default.getLanguagePack(); - } - - return {}; - }); - - function getMainLanguagePack() { - return _getMainLanguagePack.apply(this, arguments); - } - - return getMainLanguagePack; - }() - }, { - key: "getLanguage", - value: function getLanguage() { - return this.language; - } - }, { - key: "strings", - value: function strings(name) { - var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var string = this.locale[name]; - - if (string) { - string = Object.keys(params).reduce(function (result, key) { - return result.replace("{{" + key + "}}", params[key]); - }, string); - } - - var fallback = _i18nJs.default.t(name, params); - - return string || fallback; - } - }, { - key: "date", - value: function date(time) { - return _$$_REQUIRE(_dependencyMap[24]).DateUtils.fromNow(time); - } - }, { - key: "formattedDate", - value: function formattedDate(str, format) { - return _$$_REQUIRE(_dependencyMap[24]).DateUtils.fromNow(str, format); - } - }, { - key: "getCurrentLocale", - value: function getCurrentLocale() { - var locale = global.locale || "en"; - - if (this.language) { - var supportedLanguages = ["en", "it", "de", "fr-FR", "nl-NL", "es-ES", "ro-RO", "sv", "da", "pt-PT", "pt-BR", "nl-BE", "nn-NO", "nb-NO", "ar", "sl"]; - - if (this.language && this.language >= 0 && this.language < supportedLanguages.length) { - locale = supportedLanguages[this.language]; - } - } - - return locale; - } - }, { - key: "initLocale", - value: function initLocale() { - _i18nJs.default.locale = this.getCurrentLocale(); - _i18nJs.default.fallbacks = true; - _i18nJs.default.translations = { - en: _en.default, - it: _it.default, - ar: _ar.default, - da: _da.default, - de: _de.default, - "fr-FR": _frFR.default, - "nl-NL": _nlNL.default, - "es-ES": _esES.default, - "ro-RO": _roRO.default, - sv: _sv.default, - "pt-PT": _ptPT.default, - "pt-BR": _ptBR.default, - "nl-BE": _nlBE.default, - "nn-NO": _nnNO.default, - "nb-NO": _nbNO.default, - sl: _sl.default - }; - - _$$_REQUIRE(_dependencyMap[24]).DateUtils.initMomentLocale(_i18nJs.default.locale); - } - }]); - }(); -},1980,[3,270,6,7,1165,407,1981,1982,1983,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,438]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "android_location_usage_message": "The app uses location to provide the user search results related to the area where he/she lives", - "android_location_usage_title": "Location", - "action_go_to_category": "Go to {{anchor}}", - "action_open_epaper": "Open epaper", - "action_open_gallery": "Open gallery", - "action_open_link": "Open link", - "action_remove_from_favorites": "Remove from favorites", - "action_save_for_later": "Save for later", - "action_share": "Share", - "action_unknown": "Unknown", - "alert_message": "Are you sure?", - "all": "All", - "all_events": "All Events", - "all_jobs": "All jobs", - "animation": "Animation", - "animation_action": "Click button to change animation", - "animation_change": "Animation change", - "animation_changed": "Animation changed", - "article_count": "{{count}} articles", - "btn_accessibility": "Accessibility mode", - "btn_car_mode": "Car mode", - "btn_account": "Account", - "btn_add_event": "Add Event", - "btn_advance_filters": "Advance filters", - "btn_archive": "Archive", - "btn_ask_later": "Ask Me Later", - "btn_back": "Back", - "btn_continue": "Continue", - "btn_cancel": "Cancel", - "btn_close": "Close", - "btn_confirm": "Confirm", - "btn_contact": "Contact", - "btn_disable_log_file": "Send LOG", - "btn_do_not_show": "Don't show again", - "btn_download": "Offline", - "btn_editions": "Editions", - "btn_enable_log_file": "Enable LOG", - "btn_feed": "Live News", - "btn_feedback": "Feedback", - "btn_fit_page": "Fit", - "btn_g_book": "Browse", - "btn_go_to_news": "Go to news", - "btn_help": "Help", - "btn_index": "Index", - "btn_link": "Link", - "btn_login": "Login", - "btn_logout": "Logout", - "btn_more": "More", - "btn_no": "No", - "btn_ok": "OK", - "btn_reload": "Reload", - "btn_publications": "Publications", - "btn_read": "Read", - "btn_reset": "Reset", - "btn_search": "Search", - "btn_set_as_default": "Set as default", - "btn_settings": "Settings", - "btn_skip": "Skip", - "btn_special_section": "Special", - "btn_store": "Store", - "btn_swipe": "Swipe", - "btn_thumbnail": "Pages", - "btn_yes": "Yes", - "btn_go_back": "Go back", - "btn_go_back_article": "Previous article {{index}}", - "btn_go_back_section": "Previous section: {{section}}", - "btn_go_next": "Go next", - "btn_go_next_article": "Next article {{index}}", - "btn_go_next_section": "Next section: {{section}}", - "btn_go_up": "Previous level", - "btn_go_up_choose_issue": "Choose issue", - "btn_go_up_general_index": "Go to General Index", - "btn_go_up_section": "Go to section {{section}}", - "btn_tts": "Toggle text to speech", - "btn_close_car_mode": "Close car mode", - "btn_close_accessibility": "Close accessibility mode", - "btn_close_editions": "Close issues list", - "cache_size": "Cache size", - "card": "Card", - "mixed": "Mixed layout", - "categories": "Categories", - "labels": "Labels", - "return": "RETURN", - "change": "CHANGE", - "open": "OPEN", - "reset": "RESET", - "change_location_hint": "Change Location", - "change_radius": "Select Radius", - "clear": "CLEAR", - "clear_cache": "Clear cache", - "clear_favorites": "Clear favorites", - "confirm": "Confirm", - "connection_0": "Roaming Mode", - "connection_0_description": "Ideal when limited bandwidth is available. Textual version of the edition is downloaded, images will be shown in very low resolution.", - "connection_1": "Online Mode", - "connection_1_description": "Ideal while connected to the internet. Only pages viewed are downloaded and available for offline reading.", - "connection_2": "Offline Mode", - "connection_2_description": "Automatically downloads entire edition at startup for offline reading.", - "copy_files": "Copy Files", - "counter": "{{current}} of {{total}}", - "custom_location": "Custom Location", - "database": "Database", - "database_deleted": "Database deleted", - "default_search": "Default Search", - "dialog_location_message": "We use your location to show where you are on the map", - "dialog_location_title": "We need to access your location", - "disabled": "Disabled", - "disable_debug_overlay": "Disable debugger", - "enabled": "Enabled", - "enable_debug_overlay": "Enable debugger", - "err_voice_recognition_no_services": "No installed services found", - "err_voice_recognition_generic": "Something went wrong with voice recognition", - "err_voice_recognition": "Voice recognition error {{message}}", - "err_module_unavailable": "{{module}} not available in this app", - "err_change_animation": "Error to change animation", - "err_clear_cache": "Error to clear cache", - "err_clear_database": "Error to clear database", - "err_clear_favorites": "Error to clear favorites", - "err_download_edition": "An error occurred during the download of the edition", - "err_download_edition_db": "An error occurred during the download of the edition's database", - "err_download_psetup": "Error during download of base configurations", - "err_internet_connection": "Could not connect to the application server. Please ensure that you have internet connectivity and try again.", - "err_max_min": "Invalid filter, min must be less than max", - "err_offline": "External contents not available offline", - "err_reset_notification_email": "Reset notification email", - "err_retrieve_cache": "Error to retrieve cache", - "err_retrieve_favorites": "Error to retrieve favorites", - "err_translation": "Translation not available", - "err_translation_offline": "Translation not available offline", - "err_disabling_push_notifications": "Can't disable push notification, {{error}}", - "err_enabling_push_notifications": "Can't enable push notification, {{error}}", - "error_on_load_more": "Error when trying to loading more items", - "fast": "Fast", - "favorites": "Favorites", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_email_subject": "Feedback for {{who}}", - "feedback_msg_ask_for_feedback": "Is there anything we can do to help?", - "feedback_title_request_feedback": "Are you enjoying your time with the App?", - "feedback_title_request_review_feedback": "Glad to hear! Would you like to leave a review or rating?", - "filter_max": "Max", - "filter_min": "Min", - "filter_text": "Write text here", - "font_extra_large": "Extra large", - "font_extra_small": "Extra small", - "font_large": "Large", - "font_normal": "Normal", - "font_scale": "Font Scale", - "font_small": "Small", - "force_crash": "Force crash", - "force_sublayout": "FORCE LAYOUT SUB STYLE", - "from_most_recent": "From the most recent", - "from_oldest": "From the oldest", - "gmc_default_text": "A new issue is available. Tap here to read!", - "gmc_message_text": "The {{issue}} newspaper is now available. Tap here to read!", - "grid": "Grid", - "grid_list": "grid/list", - "hint_two_fingers_tap": "To read an article, tap on the article area with two fingers", - "home": "Home", - "label_exit_accessibility_mode": "Exit Accessibility mode", - "label_open_browser": "Open in browser", - "last_search": "Last Search", - "layout": "Layout", - "learn_more": "Learn More", - "list": "List", - "uploading": "Uploading...", - "loading": "Loading...", - "local_events": "Local Events", - "max_salary": "Max. salary", - "min_salary": "Min. salary", - "mobile_network_warning": "You are connected to a mobile network instead of WiFi", - "msg_entering_section": "Entering section {{section}}", - "msg_available_next_startup": "This configuration will be available next startup", - "msg_clear_cache": "Clear cache", - "msg_clear_favorites": "Delete favorites", - "msg_copy_to_clipboard": "Copy to clipboard", - "msg_delete_title": "Do you want to", - "msg_delete_db": "Delete database data?", - "msg_operation_completed": "Operation completed", - "msg_ok_delete_db": "All saved editions have been deleted", - "msg_delete_localstorage": "Clear personal settings?", - "msg_database_deleted": "Delete database", - "msg_download_bundle": "Downloading latest app data...", - "msg_download_bundle_error": "Download of bundle finish with error, the app will try to update date later", - "msg_press_restart": "The data was downloaded successfully, reload the app to apply changes", - "msg_download_edition": "Downloading edition...", - "msg_download_retry": "Attempt {{retry}} of {{maxRetries}}...", - "msg_download_rss": "Downloading new articles...", - "msg_empty_category": "Currently, there are no articles assigned to {{category}}! Tap to refresh", - "msg_empty_favorites": "Currently, there are no favorites!", - "msg_empty_gallery": "Clicked gallery is empty", - "msg_empty_list": "Currently, there are no elements! Tap to change some filters", - "msg_empty_searches": "Currently, there are no saved searches", - "msg_error_category": "Something went wrong, try to reopen the category or delete database from settings! Tap to refresh", - "msg_error_list": "Something went wrong, try to change some filters", - "msg_error_newspaper": "Newspaper is empty", - "msg_event_over": "The event is over.", - "msg_exit_application": "Exiting the application?", - "msg_failed": "Failed", - "msg_font_scaling": "Would you like to apply your device text size to this application?", - "msg_font_scaling_title": "It looks like you have a custom text size set on your device", - "msg_list_no_articles_available_for_category": "This not an error. Currently, there are no articles assigned to this category!", - "msg_list_no_content": "No current content", - "msg_loading_comments": "Loading comments...", - "msg_loading_more": "Loading more...", - "msg_new_issue_available_title_edition": "You are currently reading {{edition}}", - "msg_new_issue_available_title_edition_date": "You are currently reading the {{date}} edition of {{edition}}", - "msg_new_issue_available": "A new edition is now available, would you like to load it?", - "msg_new_issue_available_edition": "A new edition of {{edition}} is now available, would you like to load it?", - "msg_new_issue_available_date": "The {{date}} edition is now available, would you like to load it?", - "msg_new_issue_available_edition_date": "The {{date}} edition of {{edition}} is now available, would you like to load it?", - "msg_not_on_latest_issue": "You are not viewing the latest available edition, would you like to load it now?", - "msg_not_on_latest_issue_edition": "You are not viewing the latest available edition of {{edition}}, would you like to load it now?", - "msg_not_on_latest_issue_date": "You are not viewing the latest available edition, would you like to load the {{date}} edition?", - "msg_not_on_latest_issue_edition_date": "You are not viewing the latest available edition, would you like to load the {{date}} edition of {{edition}}?", - "msg_notification_email_warning": "A notification email is set, do you want to proceed?", - "msg_offline_article_graph": "To use this feature offline you must have downloaded the full edition or some images may be missing.", - "msg_opening_article": "Opening: {{title}}", - "msg_opening_push": "Opening push notifications...", - "msg_pending_purchases": "Completing pending purchases: {{completed}} of {{total}}", - "msg_reload_publication": "Database deleted, automatically download the latest edition?", - "msg_restore_default_settings": "Do you want to restore the default app settings?", - "msg_rss_new_articles_available": "{{count}} new articles are available", - "msg_rss_no_new_articles_available": "You are up-to-date", - "msg_rss_one_new_article_available": "1 new article is available", - "msg_rss_reload_database": "New database downloaded", - "msg_rss_update_error": "Error during update, check your internet connection and try again", - "msg_search_empty": "Nothing was searched", - "msg_search_lite": "View results on page", - "msg_search_not_found": "No article found with {{text}}", - "msg_zip_not_found": "Not found zip code for your location", - "msg_screenshots_disabled": "Screenshots are not allowed in this app", - "msg_sent": "Sent", - "msg_share_unmanaged": "Share option unmanaged", - "msg_tts_error": "An error occured, please retry later!", - "msg_tts_no_volume": "Increase volume to listen text", - "msg_tts_unsupported": "Unsupported language, try to use the default voice or check if a custom language pack exists!", - "msg_valid_notification_email": "New notification email correctly set, click 'Restart' to have the change effective.", - "msg_reset_notification_email": "Notification email correctly reset, click 'Restart' to have the change effective.", - "my_home_categories_selected": "{{categories}} categories selected for a total of {{articles}} articles", - "my_location": "Use my location", - "network": "Network", - "none": "None", - "normal": "Normal", - "offline_download_dialog": "Do you want to download the whole edition for offline reading?", - "offline_download_warning": "This edition is not fully downloaded. Some parts of the pages may appear blurry.", - "paywall_offline_warning": "This article is currently not available offline", - "permission_storage_message": "{{appName}} needs storage permission", - "permission_title": "{{appName}} permission", - "pj_from_page": "from page", - "pj_to_page": "to page", - "pj_continue_to_page": "Continue to page", - "pj_continue_to_page_parent": "Page", - "powered_by": "Powered by TECNAVIA", - "powered_by_who": "Powered by {{who}}", - "push_notification": "Push notification", - "reader_app_text": "Any accounts or purchases made outside of this app will be managed by the developer “{{developerName}}.” Your App Store account, stored payment method, and related features, such as subscription management and refund requests, will not be available. Apple is not responsible for the privacy or security of transactions made with this developer.", - "reader_app_title": "You're about to leave the app and go to an external website. You will no longer be transacting with Apple.", - "restart": "Restart", - "retry": "Retry", - "salary": "Salary: {{salary}}", - "save_search": "Save search", - "saved_searches": "Saved Searches", - "search_term": "Search Term", - "select_after_date": "Select after date", - "select_my_home_categories": "Pick your favorite categories from the list below to customize your {{category}}", - "selected_categories": "Selected Categories", - "selected_time_range": "Selected Date Range", - "settings": "Settings", - "settings_allow_font_scaling": "Allow font scaling", - "settings_startup_epaper": "E-Edition", - "settings_startup_rss": "Live News", - "settings_startup_choose": "Choose Each Time", - "share_event_url": "http://{{portal}}.cityspark.co/event/{{id}}/*", - "show": "SHOW", - "sort_by_date": "Sort by Time", - "sort_by_name": "Sort by A-Z", - "sort_by_name_reverse": "Sort by Z-A", - "sort_by_popularity": "Sort by Popularity", - "sort_date_disabled": "Sort on date disable", - "sponsored_content": "Sponsored Content", - "start_with": "Start With", - "str_advertisement": "Advertisement", - "str_custom": "Custom", - "str_default_language": "Return to original language", - "str_description": "Description:", - "str_editor_picks": "Only Editor Picks", - "str_free": "Free", - "str_from": "From", - "str_id": "ID: {{id}}", - "str_limit_label": "Number of editions to store: {{days}}", - "str_location": "Location:", - "str_next_events": "Next Events:", - "str_next_week": "Next Week", - "str_no_categories": "no categories", - "str_not_available": "Not Available", - "str_page": "Page", - "str_search": "Search", - "str_search_results": "{{text}} - {{count}} results", - "str_special_sections": "Special sections", - "str_this_week": "This Week", - "str_this_weekend": "This Weekend", - "str_time_range": "Date range", - "str_title": "Title", - "str_to": "To", - "str_today": "Today", - "str_tomorrow": "Tomorrow", - "str_translating_article": "Translating article...", - "str_published_after_date": "Published after date", - "str_select": "Select...", - "support_email": "support@tecnavia.com", - "system_error": "An error occurred", - "theme": "Theme", - "theme_auto": "Automatic Light/Dark", - "theme_dark": "Dark", - "theme_light": "Light", - "title_bottom_sheet": "Actions", - "title_offline": "No Internet connection", - "toggle": "TOGGLE", - "toggle_layout": "Toggle layout", - "toggle_list": "List View", - "toggle_map": "Map View", - "total_events": "Events: {{total}}", - "total_favorites": "Favorites: {{total}}", - "total_jobs": "Jobs: {{total}}", - "total_searches": "Saved Searches: {{total}}", - "tutorial": "Tutorial", - "unknown_salary": "Unknown Salary", - "unsave_search": "Remove saved search", - "user_tip_download_title": "User Tip", - "user_tip_download": "To automatically download all editions for offline reading, select 'More' > 'Settings' > 'Offline' as your preferred Network setting", - "version": "Version", - "vertical_job_location_hint": "Select a location", - "vertical_job_text_hint": "Enter a keyword for search", - "msg_offline_issues": "Choose an issue", - "msg_login_overlay_title": "To continue reading", - "msg_access_reserved": "Access reserved to subscribers", - "msg_continue_to_read": "Subscribe to {{paper}}", - "msg_already_subscriber": "Are you already a subscriber? Login", - "settings_translate": "Translate articles to", - "settings_themes": "Theme", - "settings_font_size": "Font size", - "settings_graph_size": "Zoom level", - "settings_zoom_level": "Zoom level", - "settings_zoom_level_normal": "Normal", - "settings_zoom_level_large": "Large", - "settings_zoom_level_larger": "Larger", - "settings_number_stored_editions": "Number of editions to store", - "settings_restore_defaults": "Restore default settings", - "settings_clear_storage": "Clear storage", - "settings_back_to_classic": "Return to Classic eEdition", - "settings_restart_from_latest": "Restart from the latest edition (min)", - "settings_article_mode": "Article mode", - "settings_article_mode_only_text": "Show articles only", - "settings_article_mode_text_and_graphics": "Show articles and graphics", - "settings_article_mode_all": "Show all", - "settings_two_fingers_tap_to_article": "Use two finger tap to open article mode", - "settings_single_tap_to_zoom": "Use single tap to zoom", - "settings_favorite_edition": "Choose your favorite edition", - "settings_favorite_edition_default_label": "Last edition available", - "settings_enable_column_view": "Enable multiple columns view of articles", - "settings_navigation_arrows": "Navigation arrows", - "settings_navigation_arrows_always": "always present", - "settings_navigation_arrows_disapper": "disappear when reading", - "settings_navigation_arrows_never": "never present", - "settings_article_highlight": "Keep current article highlighted when article mode is open", - "settings_manage_privacy_preferences": "Manage privacy preferences", - "settings_title_box": "Show article title boxes", - "general": "App Settings", - "settings_translate_original": "Original language", - "advance": "{{label}} | Advanced settings", - "send": "SEND", - "debug": "Device Info", - "write": "WRITE", - "hint_my_home_screen_config": "To personalize {{label}}", - "action_go_to_settings": "Go to settings", - "hint_restart": "The application will restart to load new configurations...", - "hint_update_ui": "The user interface will update to load new settings, you might notice a flicker...", - "voice_back": "back", - "voice_what": "what", - "voice_next": "next", - "voice_next_page": "next page", - "voice_previous": "previous", - "voice_previous_page": "previous page", - "voice_stop": "stop", - "voice_read": "read", - "voice_close": "close", - "voice_up": "up", - "voice_down": "down", - "voice_select": "select", - "selected_page_of_section": "selected page {{page}} of Section {{section}}", - "selected_page_of_index": "selected page {{page}} of index", - "msg_max_share": "You reached the daily sharing limit for this edition", - "selected_page": "selected page {{page}}", - "accessibility_issue_list_header": "Issues list", - "msg_simulate_accessibility_title": "Enable accessibility mode", - "msg_simulate_accessibility": "This is a simulation of the application as when {{accessibilityAppName}} is active.\n • double tap to select\n • single tap or finger movement to read element\n • two finger to swipe", - "accessibility": "Accessibility", - "iap_multiple_subscriptions": "Multiple Subscriptions", - "iap_go_to_subscriptions": "Go To Subscription", - "iap_multiple_subscriptions_message": "We found you have multiple active subscriptions, please disable those you don't need. When a subscription has been disabled, it will be refunded.{{subscriptions}}", - "iap_multiple_active_subscriptions_message": "You already have an active subscription, would you like to buy a new one anyway? {{subscriptions}}", - "settings_push_scopes": "Push segments", - "settings_tab_index_mode": "Enable tab layout in index mode", - "btn_from": "From", - "btn_to": "To", - "str_date": "Date", - "str_sort_by": "Sort by", - "srt_order": "Order", - "str_byline": "Byline", - "str_descending": "Descending", - "str_ascending": "Ascending", - "str_categories": "Categories", - "str_relevance": "Relevance", - "settings_enable_push_notifications": "Enable push notifications", - "edit_token": "Edit token", - "title_edit_token_confirm": "Do you want to update the token?", - "msg_edit_token_confirm": "New value: \"{{token}}\"" -}; -},1981,[]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "action_go_to_category": "Vai a {{anchor}}", - "action_open_epaper": "Aprire il giornale", - "action_open_gallery": "Aprire la galleria", - "action_open_link": "Apri il link", - "action_remove_from_favorites": "Rimuovere dai preferiti", - "action_save_for_later": "Salva per dopo", - "action_share": "Condividi", - "action_unknown": "Sconosciuto", - "alert_message": "Sei sicuro?", - "all": "Tutti", - "all_events": "Tutti gli eventi", - "all_jobs": "Tutti i lavori", - "animation": "Animazione", - "animation_action": "Fare clic sul pulsante per cambiare l'animazione", - "animation_change": "Cambiare animazione", - "animation_changed": "Animazione cambiata", - "article_count": "{{count}} articoli", - "btn_accessibility": "Versione accessibile", - "btn_account": "Account", - "btn_advance_filters": "Filtri avanzati", - "btn_archive": "Archivio", - "btn_ask_later": "Più Tardi", - "btn_back": "Indietro", - "btn_cancel": "Annulla", - "btn_close": "Chiudi", - "btn_confirm": "Conferma", - "btn_contact": "Contatti", - "btn_disable_log_file": "Invio LOG", - "btn_do_not_show": "Non mostrare più", - "btn_download": "Scarica", - "btn_editions": "Edizioni", - "btn_enable_log_file": "Abilita il LOG", - "btn_feed": "Notizie Live", - "btn_fit_page": "Adatta", - "btn_g_book": "Sfoglia", - "btn_go_to_news": "Vai alla news", - "btn_help": "Guida", - "btn_index": "Indice", - "btn_link": "Link", - "btn_login": "Login", - "btn_logout": "Logout", - "btn_more": "Altro", - "btn_no": "No", - "btn_ok": "OK", - "btn_publications": "Pubblicazioni", - "btn_read": "Leggi", - "btn_reset": "Ripristina", - "btn_search": "Ricerca", - "btn_set_as_default": "Imposta come predefinito", - "btn_settings": "Impostazioni", - "btn_skip": "Salta", - "btn_special_section": "Speciale", - "btn_store": "Store", - "btn_thumbnail": "Pagine", - "btn_swipe": "Sfoglia", - "btn_yes": "Sì", - "cache_size": "Cache", - "card": "Scheda", - "categories": "Categorie", - "change": "CAMBIA", - "change_location_hint": "Cambia località", - "change_radius": "Seleziona raggio", - "clear": "PULISCI", - "clear_cache": "Cancella cache", - "clear_favorites": "Cancella preferiti", - "confirm": "Conferma", - "connection_0": "Modalità Mobile", - "connection_0_description": "Lettura prevalentemente testuale del giornale. Uso limitato della banda.", - "connection_1": "Modalità 3G", - "connection_1_description": "Lettura grafica/testuale del giornale. Non tutti gli elementi grafici sono scaricati.", - "connection_2": "Modalità Wifi", - "connection_2_description": "Lettura grafica/testuale del giornale. Scaricamento completo di tutte le componenti.", - "copy_files": "Copia File", - "counter": "{{current}} di {{total}}", - "custom_location": "Indirizzo Personalizzato", - "database": "Database", - "database_deleted": "Database eliminato", - "default_search": "Ricerca di default", - "dialog_location_message": "Possiamo utilizzare la tua posizione per mostrare dove ti trovi sulla mappa", - "dialog_location_title": "Abbiamo bisogno di accedere alla tua posizione", - "disabled": "Disabilitato", - "enabled": "Abilitato", - "err_change_animation": "Errore nel cambiare l'animazione", - "err_clear_cache": "Errore di cancellazione della cache", - "err_clear_database": "Errore nel cancellare il database", - "err_clear_favorites": "Errore di cancellazione dei preferiti", - "err_download_edition": "Si è verificato un errore nello scaricamento dell'edizione", - "err_download_edition_db": "Si è verificato un errore nello scaricamento del database dell'edizione", - "err_download_psetup": "Errore durante il download delle configurazioni di base", - "err_internet_connection": "Impossibile connettersi al server dell'applicazione. Assicurarsi di avere connettività internet e riprovare.", - "err_max_min": "Filtro non valido, min deve essere inferiore a max", - "err_offline": "Contenuti esterni non disponibili offline", - "err_retrieve_cache": "Errore nel recuperare la cache", - "err_retrieve_favorites": "Errore nel recuperare i preferiti", - "err_translation": "Traduzione non disponibile", - "err_translation_offline": "Traduzione non disponibile offline", - "error_on_load_more": "Errore durante il tentativo di caricamento di più elementi", - "fast": "Veloce", - "favorites": "Preferiti", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_msg_ask_for_feedback": "C'è qualcosa che possiamo fare per aiutarti?", - "feedback_title_request_feedback": "L'utilizzo dell'app è di tuo gradimento?", - "feedback_title_request_review_feedback": "Siamo felici di sentirlo! Vuoi lasciare una recensione o una valutazione?", - "filter_max": "Max", - "filter_min": "Min", - "filter_text": "Scrivere qui", - "font_extra_large": "Extra large", - "font_extra_small": "Extra small", - "font_large": "Grande", - "font_normal": "Normale", - "font_scale": "Scala del font", - "font_small": "Piccolo", - "force_crash": "Forza interruzione", - "from_most_recent": "Dalle più recenti", - "from_oldest": "Dalla più vecchia", - "gmc_default_text": "Una nuova pubblicazione è disponibile. Toccare qui per leggere!", - "gmc_message_text": "Il {{issue}} giornale è ora disponibile. Toccare qui per leggere!", - "grid": "Griglia", - "grid_list": "griglia/elenco", - "home": "Home", - "label_exit_accessibility_mode": "Esci dalla versione accessibile", - "label_open_browser": "Apri nel browser", - "last_search": "Ultima Ricerca", - "layout": "Layout", - "learn_more": "Ulteriori informazioni", - "list": "Elenco", - "loading": "Caricamento...", - "local_events": "Eventi locali", - "max_salary": "Max. stipendio", - "min_salary": "Min. stipendio", - "msg_available_next_startup": "Questa configurazione sarà disponibile al prossimo avvio", - "msg_clear_cache": "Cancella cache", - "msg_clear_favorites": "Eliminare i preferiti", - "msg_copy_to_clipboard": "Copiato negli appunti", - "msg_database_deleted": "Elimina database", - "msg_delete_db": "Cancellare il database locale?", - "msg_delete_localstorage": "Cancellare le impostazioni personali?", - "msg_delete_title": "Vuoi", - "msg_download_edition": "Download dell'edizione in corso...", - "msg_download_retry": "Tentativo {{retry}} di {{maxRetries}}...", - "msg_empty_category": "Attualmente non ci sono articoli assegnati a {{category}}! Toccare per aggiornare", - "msg_empty_favorites": "Attualmente, non ci sono preferiti!", - "msg_empty_gallery": "La galleria è vuota", - "msg_empty_list": "Attualmente non ci sono elementi!!! Toccare per modificare alcuni filtri", - "msg_empty_searches": "Attualmente non esistono ricerche salvate", - "msg_error_category": "Qualcosa è andato storto, prova a riaprire la categoria o eliminare il database dalle impostazioni! Toccare per aggiornare", - "msg_error_list": "Qualcosa è andato storto, prova a cambiare alcuni filtri", - "msg_error_newspaper": "Il giornale è vuoto", - "msg_event_over": "L'evento si è concluso", - "msg_exit_application": "Uscire dall'applicazione?", - "msg_failed": "Fallito", - "msg_font_scaling": "Vuoi mantenere questa impostazione all'interno dell'app?", - "msg_font_scaling_title": "Hai impostato nel tuo dispositivo una dimensione del testo personalizzata", - "msg_list_no_articles_available_for_category": "Questo non è un errore. Attualmente, non ci sono articoli assegnati a questa categoria!", - "msg_list_no_content": "Nessun contenuto corrente", - "msg_loading_comments": "Caricamento commenti", - "msg_loading_more": "Caricamento...", - "msg_new_issue_available_title_edition": "Stai leggendo {{edition}}", - "msg_new_issue_available_title_edition_date": "Stai leggendo l'edizione del {{date}} {{edition}}", - "msg_new_issue_available": "È disponibile una nuova edizione, vuoi scaricarla?", - "msg_new_issue_available_edition": "È disponibile una nuova edizione {{edition}}, vuoi scaricarla?", - "msg_new_issue_available_date": "È disponibile l'edizione del {{date}}, vuoi scaricarla?", - "msg_new_issue_available_edition_date": "È disponibile l'edizione del {{date}} {{edition}}, vuoi scaricarla?", - "msg_not_on_latest_issue": "Questa non è l'ultima edizione disponibile, vuoi scaricare l'edizione più recente?", - "msg_not_on_latest_issue_edition": "Questa non è l'ultima edizione disponibile, vuoi scaricare l'edizione più recente {{edition}}?", - "msg_not_on_latest_issue_date": "Questa non è l'ultima edizione disponibile, vuoi scaricare l'edizione del {{date}}?", - "msg_not_on_latest_issue_edition_date": "Questa non è l'ultima edizione disponibile, vuoi scaricare l'edizione del {{date}} {{edition}}?", - "msg_offline_article_graph": "Per utilizzare questa funzionalità in modalità non in linea è necessario scaricare l'intera edizione altrimenti immagini o testi potrebbero mancare.", - "msg_offline_issues": "Selezionare un edizione da leggere", - "msg_opening_push": "Apertura notifiche push...", - "msg_pending_purchases": "Completamento degli acquisti in sospeso: {{completed}} di {{total}}", - "msg_reload_publication": "Scaricare automaticamente l'ultima edizione?", - "msg_restore_default_settings": "Vuoi ripristinare le impostazioni iniziali dell'app?", - "msg_rss_new_articles_available": "{{count}} nuovi articoli sono disponibili", - "msg_rss_no_new_articles_available": "Non ci sono nuovi aggiornamenti", - "msg_rss_one_new_article_available": "1 nuovo articolo è disponibile", - "msg_rss_reload_database": "Nuovo database scaricato", - "msg_rss_update_error": "Errore durante l'aggiornamento, verificare la connessione a internet e riprovare", - "msg_search_empty": "Nessun risultato", - "msg_search_lite": "Visualizza i risultati sulla pagina", - "msg_search_not_found": "Nessun articolo trovato con il testo {{text}}", - "msg_sent": "Inviato", - "msg_share_unmanaged": "Opzione di condivisione non gestita", - "msg_tts_error": "Qualcosa è andato storto, riprovare più tardi!", - "msg_tts_no_volume": "Aumenta il volume per ascoltare l'articolo", - "msg_tts_unsupported": "Utilizzo lingua di default, provare a installare un pacchetto voce italiano", - "my_home_categories_selected": "{{categories}} categorie selezionate per un totale di {{articles}} articoli", - "my_location": "Usa la mia posizione", - "network": "Rete", - "none": "Nessuno", - "normal": "Normale", - "paywall_offline_warning": "Questo articolo non è al momento disponibile offline", - "permission_storage_message": "{{appName}} necessita del permesso di archiviazione dei dati", - "permission_title": "{{appName}} autorizzazione", - "pj_from_page": "da pagina", - "pj_to_page": "alla pagina", - "pj_continue_to_page": "Continua alla pagina", - "pj_continue_to_page_parent": "Pagina", - "powered_by": "Powered by TECNAVIA", - "powered_by_who": "Offerto da {{who}}", - "push_notification": "Notifiche push", - "reader_app_text": "Account e acquisti esterni a quest'app saranno gestiti da “{{developerName}}”. Il tuo account App Store, i tuoi metodi di pagamento e le attività connesse, come la gestione degli abbonamenti e le richieste di rimborso, non saranno disponibili. Apple non è responsabile per la privacy o la sicurezza delle transazioni effettuate con questo sviluppatore.", - "reader_app_title": "Stai per lasciare l'app collegandoti a un sito web esterno. Le transazioni successive non riguardano più Apple.", - "retry": "Riprova", - "salary": "Stipendio: {{salary}}", - "save_search": "Salva ricerca", - "saved_searches": "Ricerche Salvate", - "search_term": "Cerca termine", - "select_after_date": "Selezionare dopo la data di", - "select_my_home_categories": "Scegli la tua categoria preferita dall'elenco di seguito per personalizzare la tua {{category}}", - "selected_categories": "Categorie selezionate", - "selected_time_range": "Intervallo temporale selezionato", - "settings": "Impostazioni", - "settings_allow_font_scaling": "Consenti ridimensionamento caratteri", - "settings_startup_epaper": "E-Edition", - "settings_startup_rss": "Notizie in diretta", - "settings_startup_choose": "Scegli ogni volta", - "show": "MOSTRA", - "sort_by_date": "Ordina per data", - "sort_by_name": "Ordina per nome A-Z", - "sort_by_name_reverse": "Ordina per nome Z-A", - "sort_by_popularity": "Ordina per Popolarità", - "sort_date_disabled": "Ordinamento sulla data disattivato", - "sponsored_content": "Contenuto Sponsorizzato", - "start_with": "Iniziare con", - "str_custom": "Personalizzato", - "str_default_language": "Ritorna alla lingua originale", - "str_from": "Da", - "str_limit_label": "Massimo numero di edizioni immagazzinate: {{days}}", - "str_next_week": "La prossima settimana", - "str_page": "Pagina", - "str_search": "Ricerca", - "str_search_results": "{{text}} - {{count}} risultati", - "str_special_sections": "Sezioni Speciali", - "str_this_week": "Questa settimana", - "str_this_weekend": "Questo fine settimana", - "str_time_range": "Intervallo temporale", - "str_title": "Titolo", - "str_to": "A", - "str_today": "Oggi", - "str_tomorrow": "Domani", - "str_translating_article": "Traduzione di articoli in corso...", - "system_error": "Si è verificato un errore", - "theme": "Tema", - "title_bottom_sheet": "Azioni", - "title_offline": "Nessuna connessione Internet", - "toggle": "CAMBIA", - "toggle_layout": "Cambia Layout", - "toggle_list": "Cambia layou", - "toggle_map": "Alterna mappa", - "total_events": "Eventi Totali", - "total_favorites": "Preferiti: {{total}}", - "total_jobs": "Lavori: {{total}}", - "total_searches": "Ricerche: {{total}}", - "tutorial": "Tutorial", - "unknown_salary": "Stipendio Sconosciuto", - "unsave_search": "Rimuovere ricerca salvata", - "version": "Versione", - "vertical_job_location_hint": "Selezionare una posizione", - "vertical_job_text_hint": "Inserisci una parola chiave per la ricerca", - "offline_download_warning": "Questa edizione non è stata completamente scaricata. Alcune componenti delle pagine potrebbero risultare sfuocate.", - "user_tip_download_title": "Suggerimento", - "user_tip_download": "se vuoi che tutte le edizioni vengano scaricate automaticamente per essere lette anche offline premi sul pulsante 'Altro' -> 'Impostazioni' -> Seleziona 'Modalità Wifi'", - "offline_download_dialog": "Vuoi scaricare l'intera edizione per poterla leggere offline?", - "mobile_network_warning": "Sei connesso a una rete mobile anziché WiFi", - "msg_operation_completed": "Operazione completata", - "msg_ok_delete_db": "Tutte le edizione sono state cancellate", - "msg_download_rss": "Download di nuovi articoli...", - "btn_continue": "Continua", - "msg_login_overlay_title": "Per continuare a leggere", - "msg_access_reserved": "L'accesso è riservato agli abbonati", - "msg_continue_to_read": "Abbonati a {{paper}}", - "msg_already_subscriber": "Sei già abbonato? Accedi", - "settings_translate": "Traduci articoli in", - "settings_themes": "Tema", - "settings_font_size": "Dimensione del carattere", - "settings_graph_size": "Livello di zoom", - "settings_number_stored_editions": "Massimo numero di edizioni immagazzinate", - "settings_restart_from_latest": "Riavvio dall'ultima edizione disponibile (min)", - "settings_article_mode": "Modalità testuale", - "settings_article_mode_all": "Mostra tutto", - "settings_article_mode_text_and_graphics": "Mostra articoli testuali e grafici", - "settings_article_mode_only_text": "Mostra solo articoli testuali", - "settings_restore_defaults": "Ripristina impostazioni iniziali", - "settings_clear_storage": "Cancella dati", - "settings_back_to_classic": "Torna alla versione precedente dell'Edizione Digitale", - "settings_two_fingers_tap_to_article": "Usa il tap con due dita per aprire la lettura testuale", - "settings_single_tap_to_zoom": "Usa tap singolo per zoomare", - "settings_favorite_edition": "Scegli la tua edizione preferita", - "settings_favorite_edition_default_label": "Ultima edizione disponibile", - "reset": "RIPRISTINA", - "open": "APRI", - "settings_enable_column_view": "Attivare la visualizzazione a più colonne degli articoli", - "settings_navigation_arrows": "Pulsanti di navigazione", - "settings_navigation_arrows_always": "sempre presenti", - "settings_navigation_arrows_disapper": "nascosti durante la lettura", - "settings_navigation_arrows_never": "sempre nascosti", - "general": "Impostazioni App", - "settings_translate_original": "Lingua originale", - "advance": "{{label}} | Impostazioni avanzate", - "send": "INVIA", - "btn_feedback": "Feedback", - "return": "TORNA", - "settings_article_highlight": "Mantieni evidenziato l'articolo aperto in modalità testuale", - "write": "SCRIVI", - "btn_go_back": "Torna indietro", - "btn_go_next": "Vai avanti", - "btn_go_up": "Livello precedente", - "btn_reload": "Ricarica", - "action_go_to_settings": "Vai alle impostazioni", - "btn_tts": "Attiva/disattiva sintesi vocale", - "btn_close_accessibility": "Chiudi la modalità accessibile", - "err_module_unavailable": "{{module}} non disponibile", - "hint_my_home_screen_config": "Per personalizzare {{label}}", - "hint_two_fingers_tap": "Per leggere un articolo toccare l'area con due dita", - "settings_zoom_level": "Livello di zoom", - "settings_zoom_level_large": "Grande", - "settings_zoom_level_larger": "Più grande", - "settings_zoom_level_normal": "Normale", - "restart": "Riavvia", - "str_no_categories": "Senza categorie", - "msg_download_bundle": "Scaricamento del nuovo pacchetto dati...", - "msg_press_restart": "Download completato, ricarica l'app per applicare i cambiamenti", - "msg_download_bundle_error": "Download fallito, riprova più tardi", - "voice_back": "indietro", - "voice_close": "chiudi", - "voice_down": "giù", - "voice_next": "avanti", - "voice_next_page": "prossima pagina", - "voice_previous": "indietro", - "voice_previous_page": "pagina precedente", - "voice_read": "leggi", - "voice_select": "seleziona", - "voice_stop": "stop", - "voice_up": "su", - "voice_what": "cosa", - "btn_car_mode": "Modalità auto", - "btn_close_car_mode": "Chiudi modalità auto", - "btn_close_editions": "Chiudi lista edizioni", - "btn_go_back_article": "Articolo precedente numero {{index}}", - "btn_go_back_section": "Sezione precedente: {{section}}", - "btn_go_next_article": "Articolo successivo numero {{index}}", - "btn_go_next_section": "Prossima sezione: {{section}}", - "btn_go_up_choose_issue": "Selezione edizione", - "btn_go_up_section": "Vai alla sezione {{section}}", - "selected_page": "pagina {{page}}", - "selected_page_of_index": "pagina {{page}} dell'indice", - "selected_page_of_section": "pagina {{page}} della sezione {{section}}", - "accessibility_issue_list_header": "Lista edizioni", - "btn_go_up_general_index": "Vai all'indice principale", - "msg_entering_section": "Apertura sezione {{section}}", - "msg_opening_article": "Apertura: {{title}}", - "msg_simulate_accessibility_title": "Attiva modalità accessibile", - "msg_simulate_accessibility": "Questa è una simulazione dell'applicazione come quando {{accessibilityAppName}} è attivo.\n • doppio tap per selezionare\n • singolo tap o movimento continuo con il dito per leggere\n • due dita per sfogliare le liste", - "msg_max_share": "Hai raggiunto il limite giornaliero di condivisioni per questa edizione", - "hint_restart": "L'applicazione ripartirà per caricare la nuova configurazione...", - "hint_update_ui": "L'interfaccia utente verrà aggiornata per caricare le nuove impostazioni...", - "accessibility": "Accessibilità", - "iap_multiple_subscriptions": "Abbonamenti multipli", - "iap_go_to_subscriptions": "Vai agli abbonamenti", - "iap_multiple_subscriptions_message": "Sono state rilevati più abbonamenti attivi, disabilita quelle che non ti servono. Quando l'abbonamento sarà disattivato verrà rimborsato.{{subscriptions}}", - "iap_multiple_active_subscriptions_message": "Hai già un abbonamento attivo, vuoi comunque procedere all'acquisto di uno nuovo? {{subscriptions}}", - "msg_screenshots_disabled": "Non è consentita la cattura di screenshots in questa app", - "settings_tab_index_mode": "Abilita il layout a schede in modalità indice", - "settings_enable_push_notifications": "Abilita notifiche push", - "settings_manage_privacy_preferences": "Gestisci le impostazioni sulla privacy", - "theme_auto": "Automatico Chiaro/Scuro", - "theme_light": "Chiaro", - "theme_dark": "Scuro", - "str_sort_by": "Ordina per", - "str_relevance": "Rilevanza", - "btn_from": "Da", - "btn_to": "A", - "str_date": "Data", - "srt_order": "Ordine", - "str_byline": "Sottotitolo", - "str_descending": "Discendente", - "str_ascending": "Ascendente", - "str_categories": "Categorie", - "str_select": "Selezionare...", - "str_advertisement": "Annuncio", - "settings_title_box": "Mostra i box del titolo degli articoli", - "enable_debug_overlay": "Abilita il debugger", - "disable_debug_overlay": "Disabilita il debugger", - "edit_token": "Modifica token", - "title_edit_token_confirm": "Vuoi aggiornare il token?", - "msg_edit_token_confirm": "Nuovo valore: \"{{token}}\"", - "uploading": "Caricamento..." -} -; -},1982,[]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "action_go_to_category": "{{anchor}} اذهب إلى", - "action_open_epaper": "الطبعة الرقمية", - "action_open_gallery": "فتح معرض", - "action_open_link": "افتح الرابط", - "action_remove_from_favorites": "إزالة من المفضلة", - "action_save_for_later": "احفظ لوقت لاحق", - "action_share": "شارك", - "action_unknown": "غير معروف", - "alert_message": "هل أنت متأكد؟", - "all": "اطباء ومستشفيات", - "all_events": "كل المناسبات", - "all_jobs": "جميع الوظائف", - "animation": "تأثيرات", - "animation_action": "انقر فوق الزر لتغيير الرسوم المتحركة", - "animation_change": "تغيير الرسوم المتحركة", - "animation_changed": "تغيرت الرسوم المتحركة", - "article_count": "{{count}} مقالة", - "btn_accessibility": "وضع الوصول", - "btn_account": "تسجيل الدخول", - "btn_add_event": "أضف حدث", - "btn_advance_filters": "مقدما المرشحات", - "btn_archive": "أرشيف", - "btn_ask_later": "تسألني لاحقا", - "btn_back": "رجوع للخلف", - "btn_cancel": "إلغاء", - "btn_close": "إغلاق", - "btn_confirm": "تأكيد", - "btn_contact": "اتصل بنا", - "btn_disable_log_file": "إرسال سجل", - "btn_do_not_show": "لا تظهر مرة أخرى", - "btn_download": "تنزيل", - "btn_editions": "الإصدارات", - "btn_enable_log_file": "تمكين تسجيل الدخول", - "btn_feed": "الاخبار العاجل", - "btn_fit_page": "نوبة. مناسب", - "btn_g_book": "استعراض", - "btn_go_to_news": "اذهب إلى الأخبار", - "btn_help": "مساعدة", - "btn_index": "فهرس", - "btn_link": "الرابط", - "btn_login": "تسجيل الدخول", - "btn_logout": "تسجيل خروج", - "btn_more": "المزيد", - "btn_no": "لا", - "btn_ok": "موافق", - "btn_publications": "المنشورات", - "btn_read": "تصفح", - "btn_reset": "إعادة تعيين", - "btn_search": "البحث", - "btn_set_as_default": "تعيين كافتراضي", - "btn_settings": "الإعدادات", - "btn_skip": "تخطى", - "btn_special_section": "خاص", - "btn_store": "متجر", - "btn_swipe": "استعراض", - "btn_thumbnail": "الصفحات", - "btn_yes": "نعم", - "cache_size": "التخزين المؤقت", - "card": "بطاقة", - "categories": "التصنيفات", - "change": "تغيير", - "change_location_hint": "تغيير الموقع", - "change_radius": "اختر نصف القطر", - "clear": "مسح", - "clear_cache": "سيتم مسح ذاكرة التخرين المؤقت", - "clear_favorites": "مسح المفضلة", - "confirm": "تأكيد", - "connection_0": "وضع الهاتف المحمول", - "connection_0_description": "بشكل رئيسي القراءة النصية للصحيفة. استخدام محدود للفرقة.", - "connection_1": "وضع 3G", - "connection_1_description": "الجرافيك / قراءة نصية للصحيفة. لا يتم تنزيل جميع الرسومات.", - "connection_2": "وضع واي فاي", - "connection_2_description": " قراءة جرافيك / نصية للصحيفة. تنزيل كامل لجميع المكونات.", - "counter": "{{current}} من {{total}}", - "custom_location": "موقع مخصص", - "database": "قاعدة البيانات", - "database_deleted": "حذف قاعدة البيانات", - "default_search": "البحث الافتراض", - "dialog_location_message": "نحن نستخدم الموقع الخاص بك لإظهار أين أنت على الخريطة", - "dialog_location_title": "نحن بحاجة إلى الوصول إلى الموقع الخاص بك", - "disabled": "معطل", - "enabled": "مفعل", - "err_change_animation": "خطأ في تغيير الرسوم المتحركة", - "err_clear_cache": "خطأ في مسح ذاكرة التخزين المؤقت", - "err_clear_database": "خطأ لمسح قاعدة البيانات", - "err_clear_favorites": "خطأ لمسح المفضلة", - "err_download_edition": "حدث خطأ أثناء تنزيل الإصدار", - "err_download_edition_db": "حدث خطأ أثناء تنزيل قاعدة بيانات الإصدار", - "err_download_psetup": "خطأ أثناء تنزيل تكوينات القاعدة", - "err_internet_connection": "لا يمكن الاتصال بخادم التطبيقات. يرجى التأكد من توفر اتصال بالإنترنت والمحاولة مرة أخرى.", - "err_max_min": "صالح مرشح,الحد الأدنى يجب أن يكون أقل من ماكس", - "err_offline": "المحتويات الخارجية غير متاحة حاليا", - "err_retrieve_cache": "خطأ لاسترداد ذاكرة التخزين المؤقت", - "err_retrieve_favorites": "خطأ في استرداد المفضلة", - "err_translation": "الترجمة غير متوفرة", - "err_translation_offline": "الترجمة غير متاحة بلا إنترنت", - "error_on_load_more": "خطأ عند محاولة تحميل المزيد من العناصر", - "fast": "بسرعة", - "favorites": "المفضلة", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_msg_ask_for_feedback": "هل هناك أي شيء يمكننا القيام به للمساعدة ؟ ", - "feedback_title_request_feedback": "أنت تتمتع وقتك مع التطبيق ؟ ", - "feedback_title_request_review_feedback": "سعداء أن نسمع! هل ترغب في ترك التعليق أو التقييم ؟ ", - "filter_max": "ماكس", - "filter_min": "مين", - "filter_text": "كتابة النص هنا", - "font_extra_large": "كبير جداً", - "font_extra_small": "صغير جداً", - "font_large": "كبير", - "font_normal": "عادي", - "font_scale": "حجم الخط", - "font_small": "صغير", - "from_most_recent": "من أحدث", - "from_oldest": "من أقدم", - "gmc_default_text": "العدد الجديد هو متاح. اضغط هنا لقراءة!", - "gmc_message_text": "صحيفة {{issue}} متاحة الآن. اضغط هنا لقراءة!", - "grid": "شبكة", - "grid_list": "عرض الشبكة / القائمة", - "home": "الصفحة الرئيسية", - "label_exit_accessibility_mode": "الخروج من وضع الوصول", - "label_open_browser": "افتح في المتصفح", - "last_search": "البحث الأخي", - "layout": "شكل الأخبار", - "learn_more": "معرفة المزيد", - "list": "قائمة", - "loading": "جارٍ التحميل ...", - "local_events": "أحداث محلية", - "max_salary": "ماكس. الراتب", - "min_salary": "دقيقة. الراتب", - "msg_available_next_startup": "سيتم تفعيل هذه الميزة بعد إعادة تشغيل التطبيق", - "msg_clear_cache": "مسح ذاكرة التخزين المؤقت", - "msg_clear_favorites": "حذف المفضلة", - "msg_copy_to_clipboard": "نسخ إلى الحافظة", - "msg_database_deleted": "سيتم حذف قاعدة البيانات", - "msg_delete_db": "حذف بيانات قاعدة البيانات؟", - "msg_delete_localstorage": "محو الإعدادات الشخصية؟", - "msg_delete_title": "هل تريد ان", - "msg_download_edition": "جارٍ تنزيل الإصدار...", - "msg_download_retry": "...{{maxRetries}} من {{retry}} محاولة", - "msg_empty_category": "حاليًا ، لا توجد مقالات مخصصة لـ {{category}}! اضغط لتحديث", - "msg_empty_favorites": "حاليا لا توجد المفضلة!", - "msg_empty_gallery": "النقر معرض فارغة", - "msg_empty_list": "حاليا لا توجد عناصر! اضغط لتغيير بعض الفلاتر", - "msg_empty_searches": "حاليا لا توجد عمليات البحث المحفوظة", - "msg_error_category": "شيء ذهب على نحو خاطئ ، في محاولة فتح فئة أو حذف قاعدة البيانات من إعدادات! اضغط على تحديث", - "msg_error_list": "شيء ذهب على نحو خاطئ ، في محاولة لتغيير بعض الفلاتر", - "msg_error_newspaper": "جريدة فارغة", - "msg_event_over": "سيدي هذا ليس البروتوكول", - "msg_exit_application": "الخروج من التطبيق؟", - "msg_failed": "فشل", - "msg_font_scaling": "هل ترغب في تطبيق حجم نص جهازك على هذا التطبيق؟", - "msg_font_scaling_title": "يبدو أن لديك حجم نص مخصص مضبوطًا على جهازك", - "msg_list_no_articles_available_for_category": "ليس هناك خطأ. حالياً لا يوجد مقالات في هذا القسم", - "msg_list_no_content": "لا يوجد محتوى", - "msg_loading_comments": "المزيد من التعليقات", - "msg_loading_more": "تحميل المزيد...", - "msg_new_issue_available": "إصدار جديد متوفر الآن ، هل ترغب في تحميله الآن؟", - "msg_not_on_latest_issue": "أنت لا تشاهد أحدث إصدار متاح ، هل ترغب في تحميله الآن؟", - "msg_offline_article_graph": "لاستخدام هذه الميزة في وضع عدم الاتصال ، يجب أن تكون قد قمت بتنزيل الإصدار الكامل أو قد تكون بعض الصور مفقودة.", - "msg_offline_issues": "حدد إصدارًا تم تنزيله لقراءة.", - "msg_opening_article": "افتتاح: {{title}}", - "msg_opening_push": "فتح إشعار الدفع", - "msg_pending_purchases": "استكمال عمليات الشراء المعلقة: {{completed}} من {{total}}", - "msg_reload_publication": "تم حذف قاعدة البيانات ، هل تريد تنزيل أحدث إصدار تلقائيًا؟", - "msg_restore_default_settings": "هل تريد استعادة إعدادات التطبيق الافتراضية؟", - "msg_rss_new_articles_available": "أخر الأخبار {{count}}", - "msg_rss_no_new_articles_available": "الأخبار مُحَدَّثَة", - "msg_rss_one_new_article_available": "مادة جديدة متاحة 1", - "msg_rss_reload_database": "تحميل أخبار جديدة", - "msg_rss_update_error": "خطأ أثناء التحديث ، لا يمكن تحديث", - "msg_search_empty": "لم يتم البحث عن شيء", - "msg_search_lite": "عرض النتائج على الصفحة", - "msg_search_not_found": "لم يتم العثور على مقالة مع {{text}}", - "msg_sent": "صندوق المرسل", - "msg_share_unmanaged": "الخيار حصة غير المدارة", - "msg_tts_error": "حدث خطأ ، أعد المحاولة لاحقًا!", - "msg_tts_no_volume": "زيادة حجم النص إلى", - "msg_tts_unsupported": "لغة غير مدعومة ، حاول استخدام الصوت الافتراضي أو تحقق من وجود حزمة لغة مخصصة!", - "my_home_categories_selected": "تم تحديد {{categories}} الفئات لما مجموعه {{articles}} من المقالات", - "my_location": "استخدام موقعي", - "network": "الشبكة", - "none": "لا شيء", - "normal": "عادي", - "permission_storage_message": "{{appName}} يحتاج إلى إذن التخزين", - "permission_title": "{{appName}} إذن", - "pj_from_page": "من صفحة", - "pj_to_page": "إلى الصفحة", - "pj_continue_to_page": "تتمة في ص", - "pj_continue_to_page_parent": "الصفحة", - "powered_by": "مشغل بواسطة TECNAVIA", - "powered_by_who": "مدعوم من {{who}}", - "push_notification": "الإشعارات", - "reader_app_text": "ستتم إدارة أي حسابات أو عمليات شراء تتم خارج هذا التطبيق بواسطة المطوّر “{{developerName}}” لن يتوفر حساب App Store الخاص بك وطريقة الدفع المحفوظة وأي من الميزات، كإدارة الاشتراك وطلبات استرداد المبلغ. Apple ليست مسؤولة عن خصوصية أو أمان المعاملات التي تتم مع هذا المطوّر.", - "reader_app_title": "أنت على وشك مغادرة التطبيق والانتقال إلى موقع ويب خارجي. تنتهي المعاملة المالية مع Apple عند هذه النقطة.", - "retry": "إعادة المحاولة", - "salary": "الراتب: {{salary}}", - "save_search": "حفظ البحث", - "saved_searches": "عمليات البحث المحفوظة", - "search_term": "مصطلح البحث", - "select_after_date": "تحديد بعد تاريخ", - "select_my_home_categories": "اختر فئاتك المفضلة من القائمة أدناه لتخصيص {{category}} الخاص بك", - "selected_categories": "الفئة المختارة", - "selected_time_range": "نطاق التاريخ المحدد", - "settings": "إعدادات", - "settings_allow_font_scaling": "السماح بتحجيم الخط", - "settings_startup_epaper": "الطبعة الرقمية", - "settings_startup_rss": "أخر أخبار", - "settings_startup_choose": "اختر في كل مرة", - "show": "إظهار", - "sort_by_date": "ترتيب حسب", - "sort_by_name": "قم بالفرز حسب أ-ي", - "sort_by_name_reverse": "قم بالفرز حسب ي-أ", - "sort_by_popularity": "فرز حسب الشعبية", - "sort_date_disabled": "فرز على تاريخ تعطيل", - "start_with": "يبدأ بـ", - "str_custom": "تخصيص", - "str_default_language": "العودة إلى اللغة الأصلي", - "str_description": "وصف", - "str_from": "من عند", - "str_id": "هوية شخصية: {{id}}", - "str_limit_label": "{{days}} :عدد الإصدارات المراد تخزينه", - "str_location": "موقعك:", - "str_next_events": "الأحداث القادمة:", - "str_next_week": "الأسبوع التالي", - "str_page": "الصفحة", - "str_search": "البحث", - "str_search_results": "{{text}} - {{count}} النتائج", - "str_special_sections": "أقسام خاصة", - "str_this_week": "هذا الأسبو", - "str_this_weekend": "في نهاية هذا الاسبوع", - "str_time_range": "نطاق زمنى", - "str_title": "الصفة", - "str_to": "إلى", - "str_today": "اليوم", - "str_tomorrow": "غدًا", - "str_translating_article": "ترجمة المقال...", - "system_error": "حدث خطأ", - "theme": "موضوع", - "title_bottom_sheet": "الإجراءات", - "title_offline": "لا يوجد اتصال بالإنترنت", - "toggle": "تغيير", - "toggle_layout": "تبديل التنسيق", - "toggle_list": "تبديل قائمة", - "toggle_map": "تبديل خريطة", - "total_events": "الأحداث: {{total}}", - "total_favorites": "لمفضلات: {{total}}", - "total_jobs": "الوظائف: {{total}}", - "total_searches": "عمليات البحث: {{total}}", - "tutorial": "كيف تستخدم التطبيق؟", - "unknown_salary": "غير معروف الراتب", - "unsave_search": "إزالة البحث المحفوظة", - "version": "الإصدار", - "vertical_job_location_hint": "حدد موقع", - "vertical_job_text_hint": "أدخل الكلمات الرئيسية في البحث", - "user_tip_download": "لتنزيل جميع الإصدارات تلقائيًا للقراءة في وضع عدم الاتصال ، حدد \"المزيد\"> \"الإعدادات\"> \"دون اتصال\" كإعداد الشبكة المفضل لديك", - "user_tip_download_title": "نصيحة المستخدم", - "offline_download_warning": "لم يتم تنزيل هذا الإصدار بالكامل.\nقد تظهر بعض أجزاء الصفحات غير واضحة.", - "offline_download_dialog": "هل تريد تنزيل الإصدار بالكامل للقراءة في وضع عدم الاتصال؟", - "mobile_network_warning": "أنت متصل بشبكة جوال بدلاً من شبكة WiFi", - "msg_operation_completed": "اكتملت العملية", - "msg_ok_delete_db": "تم حذف جميع الإصدارات المحفوظة", - "msg_download_rss": "جارٍ تنزيل مقالات جديدة...", - "settings_translate": "ترجمة المقالات إلى", - "settings_themes": "سمة", - "settings_font_size": "حجم الخط", - "settings_graph_size": "مستوى التكبير", - "settings_number_stored_editions": "الحد الأقصى لعدد الإصدارات المخزنة", - "settings_restart_from_latest": "إعادة التشغيل من آخر إصدار متوفر (دقيقة)", - "settings_article_mode": "وضع المادة", - "settings_article_mode_all": "عرض الكل", - "settings_article_mode_text_and_graphics": "إظهار المقالات والرسومات", - "settings_article_mode_only_text": "إظهار المقالات فقط", - "settings_restore_defaults": "استعادة الإعدادات الافتراضية", - "settings_clear_storage": "مسح البيانات", - "settings_back_to_classic": "العودة إلى الإصدار الكلاسيكي", - "settings_two_fingers_tap_to_article": "استخدم الصنبور بإصبعين لفتح قراءة النص", - "settings_single_tap_to_zoom": "استخدم نقرة واحدة للتكبير", - "settings_favorite_edition": "اختر نسختك المفضلة", - "settings_favorite_edition_default_label": "آخر إصدار متاح", - "reset": "إعادة تعيين", - "open": "افتح", - "settings_enable_column_view": "(تفعيل خيار عرض المقال في أعمدة متعددة)", - "settings_navigation_arrows": "أسهم التنقل", - "settings_navigation_arrows_always": "يقدم دائما", - "settings_navigation_arrows_disapper": "تختفي عند القراءة", - "settings_navigation_arrows_never": "لا يوجد ابدا", - "general": "إعدادات التطبيقات", - "settings_translate_original": "اللغة الأصلية", - "advance": "الإعدادات المتقدمة | {{label}}", - "send": "يرسل", - "btn_feedback": "استجابة", - "return": "إرجاع", - "settings_article_highlight": "احتفظ بالمقالة الحالية مميزة عندما يكون وضع المقالة مفتوحًا", - "write": "اكتب", - "btn_continue": "متابعة", - "btn_go_back": "عد", - "btn_go_next": "يذهبون المقبل", - "btn_go_up": "المستوى السابق", - "action_go_to_settings": "اذهب للاعدادات", - "btn_reload": "إعادة تحميل", - "btn_tts": "تبديل النص إلى كلام", - "btn_close_accessibility": "إغلاق وضع الوصول", - "err_module_unavailable": "{{module}} غير متوفرة في هذا التطبيق", - "force_crash": "تحطم القوة", - "hint_my_home_screen_config": "لتخصيص {{label}}", - "hint_two_fingers_tap": "لقراءة مقال ، اضغط على منطقة المقالة بإصبعين", - "hint_restart": "سيتم إعادة تشغيل التطبيق لتحميل التكوينات الجديدة", - "hint_update_ui": "سيتم تحديث واجهة المستخدم لتحميل الإعدادات الجديدة ، قد تلاحظ وميض", - "msg_access_reserved": "الوصول محفوظة للمشتركين", - "msg_already_subscriber": "هل انت مشترك بالفعل؟ تسجيل الدخول", - "msg_continue_to_read": "اشترك في {{paper}}", - "settings_zoom_level": "مستوى التكبير", - "settings_zoom_level_large": "كبير", - "settings_zoom_level_larger": "أكبر", - "settings_zoom_level_normal": "طبيعي", - "restart": "اعادة البدء", - "str_no_categories": "لا توجد فئات", - "msg_login_overlay_title": "لمواصلة القراءة", - "voice_back": "الى الخلف", - "msg_max_share": "لقد وصلت إلى حد المشاركة اليومية لهذا الإصدار", - "accessibility": "إمكانية الوصول", - "msg_simulate_accessibility_title": "تفعيل وضع الوصول", - "msg_screenshots_disabled": "لقطات الشاشة غير مسموح بها في هذا التطبيق", - "settings_tab_index_mode": "تمكين تخطيط علامة التبويب في وضع الفهرس", - "settings_enable_push_notifications": "تمكين دفع الإشعارات", - "settings_manage_privacy_preferences": "إدارة تفضيلات الخصوصية", - "theme_light": "ضوء", - "theme_dark": "مظلم", - "str_sort_by": "ترتيب حسب", - "str_relevance": "ملاءمة", - "btn_from": "من", - "btn_to": "ل", - "str_date": "تاريخ", - "srt_order": "طلب", - "str_byline": "الخط الثانوي", - "str_descending": "تنازلي", - "str_ascending": "تصاعدي", - "str_categories": "فئات", - "str_select": "...يختار", - "str_advertisement": "إعلان", - "iap_multiple_subscriptions": "اشتراكات متعددة", - "iap_go_to_subscriptions": "انتقل إلى الاشتراك", - "iap_multiple_subscriptions_message": "لقد وجدنا أن لديك عدة اشتراكات نشطة، يرجى تعطيل الاشتراكات التي لا تحتاج إليها. عندما يتم تعطيل الاشتراك، سيتم استرداده {{subscriptions}}", - "iap_multiple_active_subscriptions_message": "لديك اشتراك نشط بالفعل، هل ترغب في شراء اشتراك جديد على أية حال؟ {{subscriptions}}", - "settings_title_box": "إظهار مربعات عنوان المقالة", - "enable_debug_overlay": "تمكين مصحح الأخطاء", - "disable_debug_overlay": "تعطيل مصحح الأخطاء", - "edit_token": "تحرير الرمز المميز", - "title_edit_token_confirm": "هل تريد تحديث الرمز المميز؟", - "msg_edit_token_confirm": "القيمة الجديدة: \"{{token}}\"", - "uploading": "جارٍ التحميل..." -} -; -},1983,[]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "action_go_to_category": "Gå til {{anchor}}", - "action_open_epaper": "Åben epaper", - "action_open_gallery": "Åbn galleri", - "action_open_link": "Åbn link", - "action_remove_from_favorites": "Fjern fra favoritter", - "action_save_for_later": "Gem til senere", - "action_share": "Dele", - "action_unknown": "Ukendt", - "alert_message": "Er du sikker?", - "all": "Alle", - "all_events": "Alle Arrangementer", - "all_jobs": "Alle job", - "animation": "Hastighed", - "animation_action": "Klik på knappen for at ændre animationen", - "animation_change": "Animationsændring", - "animation_changed": "Animation ændret", - "article_count": "{{count}} artikler", - "btn_accessibility": "Tilgængelighedstilstand", - "btn_account": "Log ind", - "btn_advance_filters": "Forhånd filtre", - "btn_archive": "Arkiv", - "btn_ask_later": "Spørg Mig Senere", - "btn_back": "tilbage", - "btn_cancel": "Annuller", - "btn_close": "Tæt", - "btn_confirm": "Bekræft", - "btn_contact": "Kontakt", - "btn_disable_log_file": "Send LOG", - "btn_do_not_show": "Vis ikke Igen", - "btn_download": "Offline", - "btn_editions": "Udgaver", - "btn_enable_log_file": "Aktiver LOG", - "btn_feed": "Live nyheder", - "btn_fit_page": "Tilpas", - "btn_g_book": "Gennemse", - "btn_go_to_news": "Gå til nyheder", - "btn_help": "Hjælp", - "btn_index": "Indeks", - "btn_link": "Link", - "btn_login": "Log ind", - "btn_logout": "Log ud", - "btn_more": "Mere", - "btn_no": "Ingen", - "btn_ok": "Okay", - "btn_publications": "Publikationer", - "btn_read": "Læse", - "btn_reset": "Nulstil", - "btn_search": "Søg", - "btn_set_as_default": "Sæt som standard", - "btn_settings": "Indstillinger", - "btn_skip": "Spring over", - "btn_special_section": "Særlig", - "btn_store": "Butik", - "btn_swipe": "Gennemse", - "btn_thumbnail": "Sider", - "btn_yes": "Ja", - "cache_size": "Cache størrelse", - "card": "Kort", - "categories": "Kategorier", - "change": "ÆNDRE", - "change_location_hint": "Skift lokation", - "change_radius": "Vælg Radius", - "clear": "RYD", - "clear_cache": "Ryd cache", - "clear_favorites": "Ryd favoritter", - "confirm": "Bekræft", - "connection_0": "Mobil mode", - "connection_0_description": "Ideel når begrenset båndbredde er tilgængelig. Tekstversion af udgaven er downloadet, billeder vises i meget lav opløsning.", - "connection_1": "Online mode", - "connection_1_description": "Ideel, når du er tilsluttet internettet.Kun sider, der vises, downloades og er tilgængelige for offline læsning.", - "connection_2": "Offline mode", - "connection_2_description": "Downloader automatisk hele udgaven ved start til offline læsning.", - "counter": "{{current}} af {{total}}", - "custom_location": "Brugerdefineret placering", - "database": "Database", - "database_deleted": "Database slettet", - "default_search": "Default søgesti", - "dialog_location_message": "Vi bruger din placering til at vise, hvor du er på kortet", - "dialog_location_title": "Vi har brug for at få adgang til din placering", - "disabled": "handicappet", - "enabled": "Aktiveret", - "err_change_animation": "Fejl ved ændring af animation", - "err_clear_cache": "Fejl ved at rydde cachen", - "err_clear_database": "Fejl ved sletning af database", - "err_clear_favorites": "Fejl ved rydning af favoritter", - "err_download_edition": "Der opstod en fejl under download af udgaven", - "err_download_edition_db": "Der opstod en fejl under download af udgave database", - "err_download_psetup": "Fejl under download af basekonfigurationer", - "err_internet_connection": "Kunne ikke oprette forbindelse til applikationsserveren. Sørg for at du har internetforbindelse og prøv igen.", - "err_max_min": "Ugyldig filter, min skal være mindre end max", - "err_offline": "Eksternt indhold er ikke tilgængeligt offline", - "err_retrieve_cache": "Fejl ved hentning af cache", - "err_retrieve_favorites": "Fejl ved at hente favoritter", - "err_translation": "Oversættelse ikke tilgængelig", - "err_translation_offline": "Oversættelse ikke tilgængelig offline", - "error_on_load_more": "Fejlmeddelelse, når du forsøger at ilægge flere produkter", - "fast": "Hurtig", - "favorites": "Foretrukne", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_msg_ask_for_feedback": "Er der noget vi kan gøre for at hjælpe?", - "feedback_title_request_feedback": "Er du nyde godt af din tid med den App?", - "feedback_title_request_review_feedback": "Glad for at høre! Vil du gerne give en anmeldelse eller bedømmelse?", - "filter_max": "Antal", - "filter_min": "Min", - "filter_text": "Skriv tekst her", - "font_extra_large": "Ekstra stor", - "font_extra_small": "Ekstra lille", - "font_large": "Stor", - "font_normal": "Normal", - "font_scale": "Skriftstørrelse", - "font_small": "Lille", - "from_most_recent": "Fra den seneste", - "from_oldest": "Fra de ældste", - "gmc_default_text": "Et nyt problem er tilgængeligt. Tryk her for at læse!", - "gmc_message_text": "Det {{issue}} avis er nu tilgængelig. Tryk her for at læse!", - "grid": "Grid", - "grid_list": "grid/liste", - "home": "Hjem", - "label_exit_accessibility_mode": "Afslut Tilgængelighedstilstand", - "label_open_browser": "Åbn i browser", - "last_search": "Sidste søgning", - "layout": "Layout", - "learn_more": "Læs mere", - "list": "Liste", - "loading": "Indlæser...", - "local_events": "Lokale Events", - "max_salary": "Max. løn", - "min_salary": "Min. løn", - "msg_available_next_startup": "Denne konfiguration vil være tilgængelig næste opstart", - "msg_clear_cache": "Ryd cache", - "msg_clear_favorites": "Slet favoritter", - "msg_copy_to_clipboard": "Kopier til udklipsholder", - "msg_database_deleted": "Slet database", - "msg_delete_db": "Slet database data?", - "msg_delete_localstorage": "Ryd personlige indstillinger?", - "msg_delete_title": "vil du", - "msg_download_edition": "Henter udgave...", - "msg_download_retry": "Forsøg {{retry}} af {{maxRetries}}...", - "msg_empty_category": "I øjeblikket er der ingen artikler tildelt {{category}}! Tryk for at opdatere", - "msg_empty_favorites": "Der er i øjeblikket ingen favoritter!", - "msg_empty_gallery": "Klikket galleri er tomt", - "msg_empty_list": "Der er i øjeblikket ingen elementer! Tryk på for at ændre nogle filtre", - "msg_empty_searches": "Indtast søgeord I feltet øverst og tryk på Søg", - "msg_error_category": "Noget gik galt, prøv at genåbne kategorien eller slet database fra indstillinger! Tryk for at opdatere", - "msg_error_list": "Noget gik galt, så prøv at ændre nogle filtre", - "msg_error_newspaper": "Avisen er tom", - "msg_event_over": "Begivenheden er forbi.", - "msg_exit_application": "Afslutte ansøgningen?", - "msg_failed": "Mislykkedes", - "msg_list_no_articles_available_for_category": "Dette er ikke en fejl. I øjeblikket er der ingen artikler tildelt til denne kategori!", - "msg_list_no_content": "Intet nuværende indhold", - "msg_loading_comments": "Indlæser kommentarer...", - "msg_loading_more": "Ilægning af mere...", - "msg_new_issue_available_title_edition": "Du læser i øjeblikket {{edition}}", - "msg_new_issue_available_title_edition_date": "Du læser i øjeblikket den {{date}} udgave af {{edition}}", - "msg_new_issue_available": "En ny udgave er nu tilgængelig, vil du gerne indlæse den nu?", - "msg_new_issue_available_edition": "En ny udgave af {{edition}} er nu tilgængelig, vil du indlæse den?", - "msg_new_issue_available_date": "{{date}}-udgaven er nu tilgængelig, vil du indlæse den?", - "msg_new_issue_available_edition_date": "{{date}}-udgaven af {{edition}} er nu tilgængelig, vil du indlæse den?", - "msg_not_on_latest_issue": "Du ser ikke den seneste tilgængelige udgave, vil du gerne indlæse den nu?", - "msg_not_on_latest_issue_edition": "Du ser ikke den senest tilgængelige udgave af {{edition}}, vil du indlæse den nu?", - "msg_not_on_latest_issue_date": "Du ser ikke den seneste tilgængelige udgave, vil du indlæse den {{date}} udgave?", - "msg_not_on_latest_issue_edition_date": "Du ser ikke den seneste tilgængelige udgave, vil du indlæse den {{date}} udgave af {{edition}}?", - "msg_offline_article_graph": "For at bruge denne funktion i offline skal du have downloadet den fulde udgave, eller nogle billeder eller stykker af tekst mangler muligvis.", - "msg_offline_issues": "Vælg en downloadet udgave, der skal læses.", - "msg_opening_push": "Åbner push-meddelelser...", - "msg_pending_purchases": "Afslutter afventende køb: {{completed}} af {{total}}", - "msg_reload_publication": "automatisk downloade den nyeste udgave?", - "msg_restore_default_settings": "Vil du gendanne standardappsindstillingerne?", - "msg_rss_new_articles_available": "{{count}} nye artikler er tilgængelige", - "msg_rss_no_new_articles_available": "Du er opdateret", - "msg_rss_one_new_article_available": "1 ny artikel er tilgængelig", - "msg_rss_reload_database": "Ny database downloadet", - "msg_rss_update_error": "Fejl under opdatering, kan ikke opdateres", - "msg_search_empty": "Intet blev søgt", - "msg_search_lite": "Se resultater på side", - "msg_search_not_found": "Der blev ikke fundet nogen artikel med {{text}}", - "msg_sent": "Sendt", - "msg_share_unmanaged": "Andel ikke-administreret løsning", - "msg_tts_error": "Er treedt een fout op, probeer het later opnieuw!", - "msg_tts_no_volume": "Forøg volumen til lyttetekst", - "msg_tts_unsupported": "Niet-ondersteunde taal, probeer de standaardstem te gebruiken of controleer of er een aangepast taalpakket bestaat!", - "my_home_categories_selected": "{{categories}} kategorier valgt for i alt {{articles}} artikler", - "my_location": "Brug min placering", - "network": "Netværk", - "none": "Ingen", - "normal": "Normal", - "offline_download_warning": "Denne udgave er ikke fuldstændig downloadet. Nogle dele af siderne kan blive sløret.", - "paywall_offline_warning": "Denne artikel er i øjeblikket ikke tilgængelig offline", - "permission_storage_message": "{{appName}} behov for opbevaring tilladelse", - "permission_title": "{{appName}} tilladelse", - "pj_from_page": "fra side", - "pj_to_page": "til side", - "pj_continue_to_page": "Fortsæt til side", - "pj_continue_to_page_parent": "Side", - "powered_by": "Drives af TECNAVIA", - "powered_by_who": "Drives af {{who}}", - "push_notification": "Push notifikation", - "reader_app_text": "Konti og køb, der er oprettet eller foretaget udenfor denne app, administreres af udvikleren “{{developerName}}”. Din App Store-konto, gemte betalingsmetoder og relaterede funktioner, herunder administration af abonnementer og refunderingsanmodninger, er ikke tilgængelige. Apple er ikke ansvarlig for anonymiteten eller sikkerheden af transaktioner foretaget med denne udvikler.", - "reader_app_title": "Du er ved at forlade appen og vil blive sendt til et eksternt websted. Du vil ikke længere udveksle transaktioner med Apple.", - "retry": "Prøve igen", - "salary": "Løn: {{salary}}", - "save_search": "Gem søgning", - "saved_searches": "Gemte søgninger", - "search_term": "Søgeudtryk", - "select_after_date": "Vælg efter dato", - "select_my_home_categories": "Vælg dine foretrukne kategorier fra nedenstående liste for at tilpasse din {{category}}", - "selected_categories": "Skjule valgte kategorier", - "selected_time_range": "Valgt datointerval", - "settings": "Indstillinger", - "settings_allow_font_scaling": "Tillad skriftskalering", - "settings_startup_epaper": "E-Edition", - "settings_startup_rss": "Live News", - "settings_startup_choose": "Vælg hver gang", - "show": "VIS", - "sort_by_date": "Sorter efter dato", - "sort_by_name": "Sorter efter A-Z", - "sort_by_name_reverse": "Sorter efter Z-A", - "sort_by_popularity": "Sorter efter popularitet", - "sort_date_disabled": "Sortere på dato deaktivere", - "start_with": "Start med", - "str_custom": "Brugerdefineret", - "str_default_language": "standardsprog", - "str_from": "Fra", - "str_limit_label": "Antal udgaver, der skal gemmes: {{days}}", - "str_next_week": "Næste uge", - "str_page": "Side", - "str_search": "Søg", - "str_search_results": "{{text}} - {{count}} resultater", - "str_special_sections": "Særlige sektioner", - "str_this_week": "Denne uge", - "str_this_weekend": "Weekend", - "str_time_range": "Datointerval", - "str_title": "Titel", - "str_to": "Til", - "str_today": "I dag", - "str_tomorrow": "I morgen", - "str_translating_article": "Oversætter artikel...", - "system_error": "En fejl opstod", - "title_bottom_sheet": "Handlinger", - "title_offline": "Ingen internetforbindelse", - "toggle": "SKIFT", - "toggle_layout": "Skift layout", - "toggle_list": "Skift liste", - "toggle_map": "Skifte kort", - "total_events": "Begivenheder: {{total}}", - "total_favorites": "Favoritter: {{total}}", - "total_jobs": "Job: {{total}}", - "total_searches": "Søgninger: {{total}}", - "tutorial": "Vejledning", - "unknown_salary": "Ukendt Løn", - "unsave_search": "Fjerne gemte søgning", - "version": "Version", - "vertical_job_location_hint": "Vælg en placering", - "vertical_job_text_hint": "Indtast et søgeord for at søge", - "user_tip_download_title": "Brugertip", - "user_tip_download": "For automatisk at downloade alle udgaver til offline-læsning, vælg 'Mere' > 'Indstillinger' > 'Offline mode' som dit foretrukne netværk", - "offline_download_dialog": "Vil du downloade hele udgaven til offline læsning?", - "mobile_network_warning": "Din tilsluttet et mobilnetværk i stedet for WiFi", - "msg_ok_delete_db": "Alle gemte udgaver er blevet slettet", - "msg_operation_completed": "Drift afsluttet", - "msg_download_rss": "Downloader nye artikler...", - "settings_translate": "Oversæt artikler til", - "settings_themes": "Tema", - "settings_font_size": "Skriftstørrelse", - "settings_graph_size": "Zoomniveau", - "settings_number_stored_editions": "Maksimum antal gemte udgaver", - "settings_restart_from_latest": "Genstart fra den sidste tilgængelige udgave (min)", - "settings_article_mode": "Artikel-tilstand", - "settings_article_mode_all": "Vis alt", - "settings_article_mode_text_and_graphics": "Vis artikler og grafik", - "settings_article_mode_only_text": "Vis kun artikler", - "settings_restore_defaults": "Gendan standardindstillinger", - "settings_clear_storage": "Ryd data", - "settings_back_to_classic": "Vend tilbage til Classic eEdition", - "settings_two_fingers_tap_to_article": "Brug hanen med to fingre til at åbne tekstaflæsningen", - "settings_single_tap_to_zoom": "Brug enkelt tryk for at zoome", - "settings_favorite_edition": "Vælg din yndlingsudgave", - "settings_favorite_edition_default_label": "Sidste udgave tilgængelig", - "reset": "NULSTIL", - "open": "ÅBEN", - "settings_enable_column_view": "Aktivér flere kolonners visning af artikler.\"", - "settings_navigation_arrows": "Navigationspile", - "settings_navigation_arrows_always": "altid til stede", - "settings_navigation_arrows_disapper": "forsvinder ved læsning", - "settings_navigation_arrows_never": "aldrig til stede", - "general": "App-indstillinger", - "settings_translate_original": "Originalsprog", - "advance": "{{label}} | Avancerede indstillinger", - "send": "SENDE", - "btn_feedback": "Feedback", - "return": "VEND TILBAGE", - "settings_article_highlight": "Hold den aktuelle artikel fremhævet, når artikeltilstanden er åben", - "write": "SKRIVE", - "btn_continue": "Fortsæt", - "btn_go_back": "Gå tilbage", - "btn_go_next": "Gå næste gang", - "btn_go_up": "Tidligere niveau", - "action_go_to_settings": "اذهب للاعدادات", - "btn_reload": "Genindlæs", - "btn_tts": "Skift tekst til tale", - "btn_close_accessibility": "Luk tilgængelighedstilstand", - "err_module_unavailable": "{{module}} er ikke tilgængelig i denne app", - "force_crash": "Tving nedbrud", - "hint_my_home_screen_config": "For at tilpasse {{label}}", - "hint_two_fingers_tap": "For at læse en artikel skal du trykke på artikelområdet med to fingre", - "hint_restart": "Applikationen genstartes for at indlæse nye konfigurationer...", - "hint_update_ui": "Brugergrænsefladen opdateres for at indlæse nye indstillinger, du vil muligvis bemærke et flimmer...", - "msg_access_reserved": "Adgang forbeholdt abonnenter", - "msg_already_subscriber": "Er du allerede abonnent? Log på", - "msg_continue_to_read": "Abonner på {{paper}}", - "theme": "Tema", - "settings_zoom_level": "Zoom niveau", - "settings_zoom_level_large": "Stor", - "settings_zoom_level_larger": "Større", - "settings_zoom_level_normal": "Normal", - "restart": "Genstart", - "str_no_categories": "ingen kategorier", - "msg_login_overlay_title": "For at fortsætte med at læse", - "voice_back": "tilbage", - "voice_what": "hvad", - "voice_next": "næste", - "voice_next_page": "næste side", - "voice_previous": "forrige", - "voice_previous_page": "forrige side", - "voice_stop": "stop", - "voice_read": "læs", - "voice_close": "luk", - "voice_up": "op", - "voice_down": "ned", - "voice_select": "vælg", - "msg_max_share": "Du har nået den daglige delingsgrænse for denne udgave", - "accessibility": "Tilgængelighed", - "msg_simulate_accessibility_title": "Aktiver tilgængelighedstilstand", - "msg_screenshots_disabled": "Skærmbilleder er ikke tilladt i denne app", - "settings_tab_index_mode": "Aktiver fanelayout i indekstilstand", - "settings_enable_push_notifications": "Aktiver push-meddelelser", - "settings_manage_privacy_preferences": "Administrer privatlivspræferencer", - "theme_auto": "Automatisk lys/mørke", - "theme_light": "Lys", - "theme_dark": "Mørk", - "str_sort_by": "Sorter efter", - "str_relevance": "Relevans", - "btn_from": "Fra", - "btn_to": "Til", - "str_date": "Dato", - "srt_order": "Bestille", - "str_byline": "Byline", - "str_descending": "Aftagende", - "str_ascending": "Stigende", - "str_categories": "Kategorier", - "str_select": "Vælg...", - "str_advertisement": "Reklame", - "iap_go_to_subscriptions": "Gå til abonnement", - "iap_multiple_subscriptions": "Flere abonnementer", - "iap_multiple_subscriptions_message": "Vi fandt ud af, at du har flere aktive abonnementer. Deaktiver venligst dem, du ikke har brug for. Når et abonnement er blevet deaktiveret, vil det blive refunderet.{{subscriptions}}", - "iap_multiple_active_subscriptions_message": "Du har allerede et aktivt abonnement, vil du alligevel gerne købe et nyt? {{subscriptions}}", - "settings_title_box": "Vis artikeltitelbokse", - "enable_debug_overlay": "Aktiver debugger", - "disable_debug_overlay": "Deaktiver debugger", - "edit_token": "Rediger token", - "title_edit_token_confirm": "Vil du opdatere tokenet?", - "msg_edit_token_confirm": "Ny værdi: \"{{token}}\"", - "uploading": "Uploader..." -} -; -},1984,[]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "action_go_to_category": "Weiter zu {{anchor}}", - "action_open_epaper": "e-Paper öffnen", - "action_open_gallery": "Galerie öffnen", - "action_open_link": "Link öffnen", - "action_remove_from_favorites": "Aus den Favoriten entfernen", - "action_save_for_later": "Für später speichern", - "action_share": "Teilen", - "action_unknown": "Unbekannt", - "alert_message": "Sind Sie sicher?", - "all": "Alle", - "all_events": "Alle Events", - "all_jobs": "Alle Stellenangebote", - "animation": "Animation", - "animation_action": "Klicken Sie auf die Schaltfläche um die Animation zu ändern", - "animation_change": "Animation ändern", - "animation_changed": "Animation geändert", - "article_count": "{{count}} Artikel", - "btn_accessibility": "Accessibility-Modus", - "btn_account": "Login", - "btn_archive": "Archiv", - "btn_advance_filters": "Erweiterte Filter", - "btn_ask_later": "Fragen Sie mich später", - "btn_back": "Back", - "btn_cancel": "Abbrechen", - "btn_close": "Schließen", - "btn_confirm": "Bestätigen", - "btn_disable_log_file": "LOG senden", - "btn_do_not_show": "Nicht mehr zeigen", - "btn_link": "Link", - "btn_login": "Login", - "btn_logout": "Ausloggen", - "btn_more": "Mehr", - "btn_special_section": "Beilagen", - "btn_store": "Speichern", - "btn_thumbnail": "Seiten", - "btn_fit_page": "Zoom", - "btn_index": "Lesen", - "btn_download": "Offline", - "btn_editions": "Kiosk", - "btn_feed": "Live-Nachrichten", - "btn_g_book": "Blättern", - "btn_contact": "Kontakt", - "btn_help": "Hilfe", - "btn_settings": "Optionen", - "btn_enable_log_file": "LOG aktivieren", - "btn_go_to_news": "Zu den Nachrichten", - "btn_no": "Nein", - "btn_ok": "OKAY", - "btn_publications": "Publikationen", - "btn_read": "Durchsuche", - "btn_reset": "Zurücksetzen", - "btn_search": "Suchen", - "btn_set_as_default": "Als Standard festlegen", - "btn_skip": "Überspringen", - "btn_swipe": "Blättern", - "btn_yes": "Ja", - "cache_size": "Cache-Größe", - "card": "Karte", - "categories": "Kategorien", - "change": "ÄNDERN", - "change_location_hint": "Standort ändern", - "change_radius": "Umkreis auswählen", - "clear": "LÖSCHEN", - "clear_cache": "Cache löschen", - "clear_favorites": "Favoriten löschen", - "confirm": "Bestätigen", - "connection_0": "Roaming Modus", - "connection_0_description": "Es können nur Texte angezeigt werden. Das Datenvolumen ist auf ein Minimum beschränkt.", - "connection_1": "Online Modus", - "connection_1_description": "Texte und Bilder werden geladen, Artikel und Grafiken werden angezeigt.", - "connection_2": "Offline Modus", - "connection_2_description": "Die gesamte Ausgabe wird vollständig mit allen Funktionen geladen und angezeigt.", - "counter": "{{current}} von {{total}}", - "custom_location": "Benutzerdefinierter Ort", - "database": "Datenbank", - "database_deleted": "Datenbank gelöscht", - "default_search": "Standardsuche", - "dialog_location_message": "Wir verwenden Ihren Standort, um Ihnen auf der Karte zu zeigen wo Sie sich befinden", - "dialog_location_title": "Wir müssen auf Ihren Standort zugreifen", - "disabled": "Deaktiviert", - "enabled": "Aktiviert", - "err_change_animation": "Fehler beim ändern der Animation", - "err_clear_cache": "Fehler beim löschen des Caches", - "err_clear_database": "Fehler beim löschen der Datenbank", - "err_clear_favorites": "Fehler beim löschen von Favoriten", - "err_download_edition": "Ein Fehler ist während des Downloads der Ausgabe aufgetreten", - "err_download_edition_db": "Ein Fehler ist während des Downloads der Ausgabe Datenbank aufgetreten", - "err_download_psetup": "Fehler beim Herunterladen von Basiskonfigurationen", - "err_internet_connection": "Die Verbindung zum Anwendungsserver konnte nicht hergestellt werden. Bitte stellen Sie sicher, dass Sie über eine Internetverbindung verfügen und versuchen Sie es erneut", - "err_max_min": " Ungültiger Filter, min. muss kleiner als max. sein", - "err_offline": "Externe Inhalte sind offline nicht verfügbar", - "err_retrieve_cache": "Fehler beim Abrufen des Caches", - "err_retrieve_favorites": "Fehler beim Abrufen von Favoriten", - "err_translation": "Übersetzung nicht verfügbar", - "err_translation_offline": "Übersetzung nicht offline verfügbar", - "error_on_load_more": "Fehler beim Versuch mehr Elemente zu laden", - "fast": "Schnell", - "favorites": "Favoriten", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_msg_ask_for_feedback": "Gibt es etwas, was wir tun können, um zu helfen?", - "feedback_title_request_feedback": "Gefällt Ihnen die App?", - "feedback_title_request_review_feedback": "Schön zu hören! Möchten Sie eine Bewertung oder Beurteilung abgeben?", - "filter_max": "Max.", - "filter_min": "Min.", - "filter_text": "Schreiben Sie hier einen Text", - "font_extra_large": "Extra groß", - "font_extra_small": "Extra klein", - "font_large": "Groß", - "font_normal": "Normal", - "font_scale": "Schriftgröße", - "font_small": "Klein", - "from_most_recent": "Von den neuesten", - "from_oldest": "Von den ältesten", - "gmc_default_text": "Eine neue Ausgabe ist verfügbar. Tippen Sie hier um zu lesen!", - "gmc_message_text": "{{issue}} ist jetzt verfügbar. Tippen Sie hier um zu lesen!", - "grid": "Kacheln", - "grid_list": "kacheln/liste", - "home": "Home", - "label_exit_accessibility_mode": "Beenden Sie den Accessibility-Modus", - "label_open_browser": "Im Browser öffnen", - "last_search": "Letzte Suche", - "layout": "Layout", - "learn_more": "Weitere Informationen", - "list": "Liste", - "loading": "Laden...", - "local_events": "Lokale Events", - "max_salary": "Maximales Gehalt", - "min_salary": "Mindest Gehalt", - "msg_available_next_startup": "Diese Konfiguration wird beim nächsten Start verfügbar sein", - "msg_clear_cache": "Cache löschen", - "msg_clear_favorites": " Favoriten löschen ", - "msg_copy_to_clipboard": "Ins Klemmbrett kopieren", - "msg_database_deleted": "Datenbank löschen", - "msg_delete_db": "Wollen Sie die gespeicherten Ausgaben wirklich löschen?", - "msg_delete_localstorage": "Einstellungen löschen?", - "msg_delete_title": "Möchten Sie", - "msg_download_edition": "Ausgabe wird heruntergeladen...", - "msg_download_retry": "Versuch {{retry}} von {{maxRetries}}...", - "msg_empty_category": "Derzeit sind keine Artikel zugeordnet zu {{category}}! Tippen Sie zum aktualisieren", - "msg_empty_favorites": "Zur Zeit gibt es keine Favoriten!", - "msg_empty_gallery": "Die angeklickte Galerie ist leer", - "msg_empty_list": "Zur Zeit gibt es keine Elemente! Tippen Sie hier, um einige Filter zu ändern", - "msg_empty_searches": "Zur Zeit gibt es keine gespeicherten Suchanfragen", - "msg_error_category": "Etwas ist schief gelaufen, versuchen Sie die Kategorie wieder zu öffnen oder die Datenbank aus den Einstellungen zu löschen! Tippen Sie zum aktualisieren", - "msg_error_list": "Etwas ist schief gelaufen, versuchen Sie einige Filter zu wechseln", - "msg_error_newspaper": "Die Zeitung ist leer", - "msg_event_over": "Das Event ist vorbei.", - "msg_exit_application": "Applikation beenden?", - "msg_failed": "Fehlgeschlagen", - "msg_font_scaling": "Möchten Sie die Textgröße Ihres Geräts auf diese Applikation anwenden?", - "msg_font_scaling_title": "Sie haben eine benutzerdefinierte Textgröße auf Ihrem Gerät eingestellt", - "msg_list_no_articles_available_for_category": "Dies ist kein Fehler. Dieser Kategorie sind derzeit keine Artikel zugeordnet!", - "msg_list_no_content": "Kein aktueller Inhalt", - "msg_loading_comments": "Kommentare werden geladen...", - "msg_loading_more": "Ladevorgang...", - "msg_new_issue_available": "Eine neue Ausgabe ist jetzt verfügbar, möchten Sie diese laden?", - "msg_not_on_latest_issue": "Sie lesen nicht die letzte verfügbare Ausgabe, möchten Sie diese jetzt laden?", - "msg_new_issue_available_title_edition": "Sie lesen gerade {{edition}}", - "msg_new_issue_available_title_edition_date": "Sie lesen gerade die Ausgabe vom {{date}} des {{edition}}", - "msg_new_issue_available_edition": "Eine neue Ausgabe des {{edition}} ist jetzt verfügbar, möchten Sie sie laden?", - "msg_new_issue_available_date": "Die Ausgabe vom {{date}} ist jetzt verfügbar, möchten Sie sie laden?", - "msg_new_issue_available_edition_date": "Die {{date}} Ausgabe von {{edition}} ist jetzt verfügbar, möchten Sie sie laden?", - "msg_not_on_latest_issue_edition": "Sie lesen nicht die letzte verfügbare Ausgabe des {{edition}}, möchten Sie diese jetzt laden?", - "msg_not_on_latest_issue_date": "Sie lesen nicht die letzte verfügbare Ausgabe, möchten Sie die Ausgabe vom {{date}} laden?", - "msg_not_on_latest_issue_edition_date": "Sie sehen nicht die letzte verfügbare Ausgabe. Möchten Sie die Ausgabe vom {{date}} des {{edition}} laden?", - "msg_offline_article_graph": "Wenn Sie diese Funktion offline aktivieren möchten, müssen Sie die vollständige Version herunterladen oder einige Bilder oder Textfragmente können fehlen.", - "msg_offline_issues": "Wählen Sie eine heruntergeladene Ausgabe zum Lesen", - "msg_opening_push": "Push-Benachrichtigungen werden geöffnet...", - "msg_pending_purchases": "Ausstehende Käufe abschließen: {{completed}} von {{total}}", - "msg_reload_publication": "Automatisch die neueste Ausgabe herunterladen?", - "msg_restore_default_settings": "Möchten Sie die Standardeinstellungen der App wiederherstellen?", - "msg_rss_new_articles_available": "{{count}} neue Artikel sind verfügbar", - "msg_rss_no_new_articles_available": "Sie sind auf dem neuesten Stand", - "msg_rss_one_new_article_available": "1 neuer Artikel ist verfügbar", - "msg_rss_reload_database": "Neue Datenbank heruntergeladen", - "msg_rss_update_error": "Fehler beim Update, überprüfen Sie bitte Ihre Internetverbindung und versuchen Sie es erneut", - "msg_search_empty": "Nichts wurde durchsucht", - "msg_search_lite": "Ergebnisse auf Seite anzeigen", - "msg_search_not_found": "Kein Artikel mit {{text}} gefunden", - "msg_sent": "Gesendet", - "msg_share_unmanaged": "Option zum Teilen nicht verwaltet", - "msg_tts_error": "Ein Fehler tritt auf, später erneut versuchen!", - "msg_tts_no_volume": "Erhöhen Sie die Lautstärke auf den Listentext", - "msg_tts_unsupported": "Nicht unterstützte Sprache, versuchen Sie, die Standardstimme zu verwenden oder überprüfen Sie, ob ein benutzerdefiniertes Sprachpaket existiert!", - "my_home_categories_selected": "{{categories}} ausgewählte Kategorien für eine Gesamtzahl von {{articles}} Artikel", - "my_location": "Standort benutzen", - "network": "Netzwerk", - "none": "Keine", - "normal": "Normal", - "offline_download_warning": "Diese Ausgabe ist nicht vollständig heruntergeladen. Einige Teile der Seiten können etwas verschwommen erscheinen.", - "permission_storage_message": "{{appName}} benötigt Speichererlaubnis", - "permission_title": "{{appName}} Genehmigung", - "pj_from_page": "von Seite", - "pj_to_page": "zu Seite", - "pj_continue_to_page": "Weiter zur Seite", - "pj_continue_to_page_parent": "Seite", - "powered_by": "Powered by TECNAVIA", - "powered_by_who": "Präsentiert von {{who}}", - "push_notification": "Push-Benachrichtigung ", - "reader_app_text": "Alle Accounts und alle Käufe, die außerhalb dieser App eingerichtet bzw. getätigt werden, werden von Entwickler „{{developerName}}“ verwaltet. Dein App Store-Account, deine gespeicherte Zahlungsmethode und alle damit zusammenhängenden Features, wie das Abonnementsmanagement und die Rückerstattung, werden nicht zur Verfügung stehen. Apple ist weder für den Datenschutz noch für die Sicherheit von Transaktionen verantwortlich, die mit diesem Entwickler stattfinden.", - "reader_app_title": "Du bist dabei, die App zu verlassen und eine externe Webseite anzusteuern. Deine Transaktion findet nicht mehr mit Apple statt.", - "retry": "Wiederholen", - "salary": "Gehalt: {{salary}}", - "save_search": "Suchanfrage speichern", - "saved_searches": "Gespeicherte Suchen", - "search_term": "Suchbegriff", - "select_after_date": "Nach Datum auswählen", - "select_my_home_categories": " Wählen Sie Ihre Favoritenkategorien aus der untenstehenden {{category}} Liste aus, um Ihre Auswahl anzupassen", - "selected_categories": "Ausgewählte Kategorien", - "selected_time_range": "Ausgewählter Datumsbereich", - "settings": "Einstellungen", - "settings_allow_font_scaling": "Erlaube Schriftskalierung", - "settings_startup_epaper": "E-​Paper", - "settings_startup_rss": "Live Nachrichten", - "settings_startup_choose": "Wählen Sie jedes Mal", - "show": "ZEIGEN", - "sort_by_date": "Sortieren nach Zeit", - "sort_by_name": "Sortierung: Bitte wählen", - "sort_by_name_reverse": "Sortieren nach Z-A", - "sort_by_popularity": "Nach Beliebtheit sortieren", - "sort_date_disabled": "Sortieren nach Datum deaktivieren", - "start_with": "Start App mit", - "str_custom": "Benutzerdefiniert", - "str_default_language": "Zurück zur Originalsprache", - "str_from": "Von", - "str_limit_label": "Maximale gespeicherte Anzahl der Ausgaben: {{days}}", - "str_next_week": "Nächste Woche", - "str_page": "Seite", - "str_search": "Suche", - "str_search_results": "{{text}} - {{count}} Ergebnisse", - "str_special_sections": "Prospekte", - "str_this_week": "Diese Woche", - "str_this_weekend": "Dieses Wochenende", - "str_time_range": "Datumsbereich", - "str_title": "Titel", - "str_to": "An", - "str_today": "Heute", - "str_tomorrow": "Morgen", - "str_translating_article": "Artikel wird übersetzt...", - "system_error": "Ein Fehler ist aufgetreten", - "title_bottom_sheet": "Aktionen", - "title_offline": "Keine Internetverbindung", - "toggle": "UMSCHALTEN", - "toggle_layout": "Layout umschalten", - "toggle_list": "Liste umschalten", - "toggle_map": "Karte umschalten", - "total_events": "Ereignisse: {{total}}", - "total_favorites": "Favoriten: {{total}}", - "total_jobs": "Stellenangebote: {{total}}", - "total_searches": "Suchanfragen: {{total}}", - "tutorial": "Tutorial", - "unknown_salary": "Unbekanntes Gehalt", - "unsave_search": "Gespeicherte Suche entfernen", - "version": "Version", - "vertical_job_location_hint": "Wählen Sie einen Standort", - "vertical_job_text_hint": "Geben Sie ein Stichwort für die Suche ein", - "user_tip_download_title": "Vorschlag", - "user_tip_download": "Wenn Sie alle Ausgaben für das Offline-Lesen herunterladen möchten, drücken Sie auf den Mehr-Button -> Reiter 'Optionen' -> und wählen dann Offline Modus als Netzwerkmodus", - "offline_download_dialog": "Möchten Sie die komplette Ausgabe zum Offline-Lesen herunterladen?", - "mobile_network_warning": "Sie sind mit einem Mobilfunknetz anstelle von WiFi verbunden", - "msg_ok_delete_db": "Alle gespeicherten Ausgaben wurden gelöscht", - "msg_operation_completed": "Vorgang ausgeführt", - "msg_download_rss": "Neue Artikel herunterladen ...", - "settings_translate": "Artikel übersetzen in", - "settings_themes": "Thema", - "settings_font_size": "Schriftgröße", - "settings_graph_size": "Zoomstufe", - "settings_number_stored_editions": "Maximale gespeicherte Anzahl der Ausgaben", - "settings_restart_from_latest": "Starten Sie aus der letzten Ausgabe verfügbar (min)", - "settings_article_mode": "Artikel-Modus", - "settings_article_mode_all": "Alle anzeigen", - "settings_article_mode_text_and_graphics": "Artikel und Grafiken anzeigen", - "settings_article_mode_only_text": "Nur Artikel anzeigen", - "settings_restore_defaults": "Standardeinstellungen wiederherstellen", - "settings_clear_storage": "Speicher leeren", - "settings_back_to_classic": "Zurück zu Classic e-Paper", - "settings_two_fingers_tap_to_article": "Um Artikel lesen / Lesemodus zu aktivieren, verwenden Sie Zwei-Finger-Tap", - "settings_single_tap_to_zoom": "Um zu vergrößern, verwenden Sie Ein-Finger-Tap", - "settings_favorite_edition": "Wählen Sie Ihre Lieblingsausgabe", - "settings_favorite_edition_default_label": "Letzte ausgabe verfügbare", - "reset": "ZURÜCKSETZEN", - "open": "OFFEN", - "settings_enable_column_view": "Aktivieren Sie mehrere Spalten Ansicht von Artikeln", - "settings_navigation_arrows": "Navigationspfeile", - "settings_navigation_arrows_always": "immer vorhanden", - "settings_navigation_arrows_disapper": "verschwinden beim Lesen", - "settings_navigation_arrows_never": "nie vorhanden", - "general": "App Einstellungen", - "settings_translate_original": "Ursprache", - "advance": "{{label}} | Erweiterte Einstellungen", - "send": "SENDEN", - "btn_feedback": "Rückmeldung", - "return": "RÜCKKEHR", - "settings_article_highlight": "Aktuellen Artikel hervorgehoben lassen, wenn der Artikelmodus aktiv ist", - "write": "SCHREIBEN", - "btn_continue": "Weiter", - "btn_go_back": "Geh zurück", - "btn_go_next": "Geh als nächstes", - "btn_go_up": "Vorheriges Niveau", - "btn_reload": "Neu laden", - "err_module_unavailable": "{{module}} in dieser App nicht verfügbar", - "force_crash": "Absturz erzwingen", - "hint_my_home_screen_config": "Um {{label}} zu personalisieren", - "msg_access_reserved": "Zugang für Abonnenten reserviert", - "msg_already_subscriber": "Sind Sie bereits Abonnent? Anmeldung", - "msg_continue_to_read": "{{paper}} abonnieren", - "theme": "Thema", - "settings_zoom_level": "Zoomstufe", - "settings_zoom_level_large": "Groß", - "settings_zoom_level_larger": "Größer", - "settings_zoom_level_normal": "Normal", - "restart": "Neu starten", - "str_no_categories": "keine Kategorien", - "msg_login_overlay_title": "", - "action_go_to_settings": "Zu den Einstellungen gehen", - "btn_tts": "Text in Sprache umwandeln", - "btn_close_accessibility": "Eingabehilfemodus schliessen", - "hint_two_fingers_tap": "Um einen Artikel zu lesen, tippen Sie mit zwei Fingern auf den Artikelbereich", - "hint_restart": "Die Anwendung wird neu gestartet, um die neue Konfigurationen hochzuladen...", - "hint_update_ui": "Die Benutzeroberfläche wird aktualisiert, um neue Einstellungen hochzuladen, Sie könnten ein Flackern sehen...", - "msg_download_bundle": "Herunterladen neuerer Anwendungsdaten", - "msg_download_bundle_error": "Das Herunterladen des Pakets wird mit einem Fehler beendet, die App wird versuchen, das Datum später zu aktualisieren", - "msg_press_restart": "Die Daten wurden erfolgreich heruntergeladen, laden Sie die App neu, um die Änderungen zu übernehmen", - "voice_back": "zurück", - "voice_what": "was", - "voice_next": "nächste", - "voice_next_page": "nächste Seite", - "voice_vorher": "vorher", - "voice_vorherige_seite": "vorherige Seite", - "voice_stop": "stop", - "voice_read": "lesen", - "voice_close": "schließen", - "voice_up": "up", - "voice_down": "down", - "voice_select": "wählen", - "msg_max_share": "Sie haben das tägliche Freigabelimit für diese Ausgabe erreicht", - "accessibility": "Barrierefreiheit", - "btn_go_up_general_index": "Zum allgemeinen Index gehen", - "btn_go_next_section": "Nächster Abschnitt: {{section}}", - "btn_go_back_section": "Vorheriger Abschnitt: {{section}}", - "btn_go_next_article": "Nächster Artikel {{index}}", - "btn_go_back_article": "Vorheriger Artikel {{index}}", - "btn_close_editions": "Problemliste schließen", - "btn_go_up_section": "Gehe zu Abschnitt {{Abschnitt}}", - "btn_go_up_choose_issue": "Ausgabe wählen", - "accessibility_issue_list_header": "Editionsliste", - "msg_entering_section": "Abschnitt {{section}} betreten", - "msg_opening_article": "Eröffnung: {{title}}", - "selected_page": "gewählte Seite {{Seite}}", - "selected_page_of_index": "ausgewählte Seite {{page}} des Index", - "selected_page_of_section": "ausgewählte Seite {{page}} von Abschnitt {{section}}", - "msg_simulate_accessibility_title": "Barrierefreiheitsmodus aktivieren", - "msg_screenshots_disabled": "Screenshots sind in dieser App nicht erlaubt", - "settings_tab_index_mode": "Aktivieren Sie das Tab-Layout im Indexmodus", - "settings_enable_push_notifications": "Aktivieren Sie Push-Benachrichtigungen", - "settings_manage_privacy_preferences": "Datenschutzeinstellungen verwalten", - "theme_auto": "Automatisches Hell/Dunkel", - "theme_light": "Licht", - "theme_dark": "Dunkel", - "str_sort_by": "Sortiere nach", - "str_relevance": "Relevanz", - "btn_from": "Aus", - "btn_to": "Zu", - "str_date": "Datum", - "srt_order": "Befehl", - "str_byline": "Byline", - "str_descending": "Absteigend", - "str_ascending": "Aufsteigend", - "str_categories": "Kategorien", - "str_select": "Wählen...", - "str_advertisement": "Werbung", - "iap_go_to_subscriptions": "Zum Abonnement gehen", - "iap_multiple_subscriptions": "Mehrere Abonnements", - "iap_multiple_subscriptions_message": "Wir haben festgestellt, dass Sie mehrere aktive Abonnements haben. Bitte deaktivieren Sie die Abonnements, die Sie nicht benötigen. Wenn ein Abonnement deaktiviert wurde, wird es erstattet.{{subscriptions}}", - "iap_multiple_active_subscriptions_message": "Sie haben bereits ein aktives Abonnement, möchten Sie trotzdem ein neues abschließen? {{subscriptions}}", - "settings_title_box": "Artikeltitelfelder anzeigen", - "enable_debug_overlay": "Debugger aktivieren", - "disable_debug_overlay": "Deaktivieren Sie den Debugger", - "edit_token": "Token bearbeiten", - "title_edit_token_confirm": "Möchten Sie das Token aktualisieren?", - "msg_edit_token_confirm": "Neuer Wert: \"{{token}}\"", - "uploading": "Hochladen..." -} -; -},1985,[]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "action_go_to_category": "Aller à {{anchor}}", - "action_open_epaper": "Ouvrir epaper", - "action_open_gallery": "Ouvrir la galerie", - "action_open_link": "Ouvrir le lien", - "action_remove_from_favorites": "Supprimer des favoris", - "action_save_for_later": "Enregistrer pour plus tard", - "action_share": "Partager", - "action_unknown": "Inconnu", - "alert_message": "Êtes-vous sûr?", - "all": "Tous", - "all_events": "Tous les événements", - "all_jobs": "Tous les emplois", - "animation": "Animation", - "animation_action": "Cliquez sur le bouton pour changer l'animation", - "animation_change": "Changement de l'Animation", - "animation_changed": "Animation changé", - "article_count": "{{count}} articles", - "btn_accessibility": "Mode d'accessibilité", - "btn_account": "Account", - "btn_advance_filters": "L'avance des filtres", - "btn_archive": "Archives", - "btn_ask_later": "Demandez Moi Plus Tard", - "btn_back": "Back", - "btn_cancel": "Annuler", - "btn_close": "Fermer", - "btn_confirm": "Confirmer", - "btn_contact": "Contact", - "btn_disable_log_file": "Envoi du JOURNAL", - "btn_do_not_show": "Ne pas Afficher de Nouveau", - "btn_download": "Télécharger", - "btn_editions": "Editions", - "btn_enable_log_file": "Activer le JOURNAL", - "btn_feed": "Nouvelles en direct", - "btn_fit_page": "Ajuster", - "btn_g_book": "Feuilleter", - "btn_go_to_news": "Aller aux nouvelles", - "btn_help": "Aide", - "btn_index": "Indice", - "btn_link": "Lien", - "btn_login": "Login", - "btn_logout": "Déconnexion", - "btn_more": "Plus", - "btn_no": "Pas de", - "btn_ok": "OK", - "btn_publications": "Publications", - "btn_read": "Lire", - "btn_reset": "Réinitialiser", - "btn_search": "Recherche", - "btn_set_as_default": "Définir par défaut", - "btn_settings": "Paramètres", - "btn_skip": "Sauter", - "btn_special_section": "Spécial", - "btn_store": "Enregistrez", - "btn_swipe": "Feuilleter", - "btn_thumbnail": "Pages", - "btn_yes": "Oui", - "cache_size": "Taille de la mémoire Cache", - "card": "Carte", - "categories": "Catégories", - "change": "CHANGEMENT", - "change_location_hint": "Changer l'emplacement", - "change_radius": "Rayon de recherche", - "clear": "CLAIRE", - "clear_cache": "Vider le cache", - "clear_favorites": "Claire favoris", - "confirm": "Confirmer", - "connection_0": "Mode Mobile", - "connection_0_description": "Lecture textuelle du journal. Utilisation limitée de la bande.", - "connection_1": "Mode 3G", - "connection_1_description": "Lecture graphique/textuelle du journal. Téléchargement limité à Mode Mobile.", - "connection_2": "Mode Wifi", - "connection_2_description": "Lecture graphique/textuelle du journal. Téléchargement aussi d'éléments graphiques.", - "counter": "{{current}} de {{total}}", - "custom_location": "personnalisé", - "database": "Base de données", - "database_deleted": "Base de données supprimées", - "default_search": "Recherche par défaut :", - "dialog_location_message": "Nous utilisons votre emplacement pour montrer où vous êtes sur la carte", - "dialog_location_title": "Nous avons besoin d'accéder à votre emplacement", - "disabled": "Désactivé", - "enabled": "Activé", - "err_change_animation": "Erreur pour changer l'animation", - "err_clear_cache": "Erreur de vider le cache", - "err_clear_database": "Erreur à effacer de la base de données", - "err_clear_favorites": "Erreur pour effacer les favoris", - "err_download_edition": "Une erreur est survenue pendant le téléchargement de l'édition", - "err_download_edition_db": "Une erreur est survenue pendant le téléchargement de la banque de données de l'édition", - "err_download_psetup": "Erreur pendant le téléchargement de la base de configurations", - "err_internet_connection": "Impossible de se connecter au serveur d'application. Veuillez vous assurer de disposer d'une connexion internet et réessayez.", - "err_max_min": "Filtre non valide, min doit être inférieure à max", - "err_offline": "Pas disponible offline", - "err_retrieve_cache": "Erreur de récupérer cache", - "err_retrieve_favorites": "Erreur de récupérer les favoris", - "err_translation": "Traduction non disponible", - "err_translation_offline": "Traduction non disponible hors ligne", - "error_on_load_more": "Erreur lors de la tentative de chargement de plus d'éléments", - "fast": "Rapide", - "favorites": "Favoris", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_msg_ask_for_feedback": "Est-il quelque chose que nous pouvons faire pour les aider?", - "feedback_title_request_feedback": "Êtes-vous profiter de votre temps avec l'App?", - "feedback_title_request_review_feedback": "Heureux d'entendre! Vous voulez laisser à un examen ou d'évaluation?", - "filter_max": "Max", - "filter_min": "Min", - "filter_text": "Écrire du texte ici", - "font_extra_large": "Extra large", - "font_extra_small": "Le plus petit", - "font_large": "Grand", - "font_normal": "Normal", - "font_scale": "De Police À L'Échelle", - "font_small": "Petit", - "from_most_recent": "À partir de les plus récents", - "from_oldest": "De la plus ancienne", - "gmc_default_text": "Une nouvelle version est disponible. Appuyez ici pour lire!", - "gmc_message_text": "Le {{issue}} journal est maintenant disponible. Appuyez ici pour lire!", - "grid": "Grille", - "grid_list": "grille/liste", - "home": "La maison", - "label_exit_accessibility_mode": "Quitter le mode accessibilité", - "label_open_browser": "Ouvrir dans le navigateur", - "last_search": "Dernière recherche", - "layout": "Mise en page", - "learn_more": "En savoir plus", - "list": "Liste", - "loading": "Chargement...", - "local_events": "Événements Locaux", - "max_salary": "Max. salaire", - "min_salary": "Min. salaire", - "msg_available_next_startup": "Cette configuration sera disponible au prochain démarrage", - "msg_clear_cache": "Vider le cache", - "msg_clear_favorites": "Supprimer des favoris", - "msg_copy_to_clipboard": "Copie dans le presse-papiers", - "msg_database_deleted": "Supprimer la base de données", - "msg_delete_db": "Supprimer les données de la base de données?", - "msg_delete_localstorage": "Effacer les paramètres personnels?", - "msg_delete_title": "Veux-tu", - "msg_download_edition": "Téléchargement de l'edition...", - "msg_download_retry": "Tentative {{retry}} sur {{maxRetries}}...", - "msg_empty_category": "Actuellement, il n'y a pas les articles affectés à {{category}}! Appuyez sur pour actualiser", - "msg_empty_favorites": "Actuellement, il n'y a pas de favoris!", - "msg_empty_gallery": "Cliqué galerie est vide", - "msg_empty_list": "Actuellement, il n'y a pas d'éléments! Appuyez sur pour modifier certains filtres", - "msg_empty_searches": "Actuellement, il n'existe pas de recherches enregistrées", - "msg_error_category": "Quelque chose s'est mal passé, essayez de rouvrir la catégorie ou le supprimer de la base de données de paramètres! Appuyez sur pour actualiser", - "msg_error_list": "Quelque chose s'est mal passé, essayez de changer quelques filtres", - "msg_error_newspaper": "Le journal est vide", - "msg_event_over": "L'événement est terminé", - "msg_exit_application": "Quitter l'application?", - "msg_failed": "Manqué", - "msg_list_no_articles_available_for_category": "Ce n'est pas une erreur. Actuellement, il n'y a pas d'articles affectés à cette catégorie!", - "msg_list_no_content": "Aucun contenu actuel", - "msg_loading_comments": "Chargement des commentaires...", - "msg_loading_more": "Chargement...", - "msg_new_issue_available": "Une nouvelle édition est disponible, voulez-vous la télécharger?", - "msg_not_on_latest_issue": "Celle-ci n'est pas la dernière édition disponible, voulez-vous télécharger la dernière?", - "msg_new_issue_available_title_edition": "Vous êtes en train de lire {{edition}}", - "msg_new_issue_available_title_edition_date": "Vous lisez actuellement l'édition du {{date}} du {{edition}}", - "msg_new_issue_available_edition": "Une nouvelle édition du {{edition}} est maintenant disponible, voulez-vous la télécharger?", - "msg_new_issue_available_date": "L'édition du {{date}} est maintenant disponible, voulez-vous la télécharger?", - "msg_new_issue_available_edition_date": "L'édition du {{date}} de {{edition}} est maintenant disponible, voulez-vous la télécharger?", - "msg_not_on_latest_issue_edition": "Vous n'êtes pas en train de lire la dernière édition disponible de {{edition}}, voulez-vous la télécharger maintenant?", - "msg_not_on_latest_issue_date": "Vous n'êtes pas en train de lire la dernière édition disponible, voulez-vous télécharger l'édition du {{date}}?", - "msg_not_on_latest_issue_edition_date": "Vous n'êtes pas en train de lire la dernière édition disponible, voulez-vous charger l'édition du {{date}} de {{edition}}?", - "msg_offline_article_graph": "Pour activer cette fonction en mode hors-ligne l'édition complète doit avoir été téléchargée, sinon des images ou parties de texte pourraient manquer", - "msg_offline_issues": "Sélectionnez une édition téléchargée à lire", - "msg_opening_push": "Ouverture des notifications push...", - "msg_pending_purchases": "Finalisation des achats en attente: {{completed}} sur {{total}}", - "msg_reload_publication": "télécharger automatiquement la dernière édition?", - "msg_restore_default_settings": "Voulez-vous rétablir les paramètres initiaux de l'application?", - "msg_rss_new_articles_available": "{{count}} nouveaux articles sont disponibles", - "msg_rss_no_new_articles_available": "Vous êtes à jour", - "msg_rss_one_new_article_available": "1 nouvel article est disponible", - "msg_rss_reload_database": "Nouvelle base de données téléchargées", - "msg_rss_update_error": "Erreur pendant la mise à jour, vérifiez votre connexion internet et réessayer", - "msg_search_empty": "Rien n'a été fouillé", - "msg_search_lite": "Afficher les résultats sur la page", - "msg_search_not_found": "Aucun article trouvé avec {{text}}", - "msg_sent": "Envoyé", - "msg_share_unmanaged": "L'option de partage de non géré", - "msg_tts_error": "Une erreur se produit, réessayez plus tard!", - "msg_tts_no_volume": "Augmentez la taille du texte", - "msg_tts_unsupported": "Langue non prise en charge, essayez d'utiliser la voix par défaut ou vérifiez si un pack de langues personnalisé existe!", - "my_home_categories_selected": "{{categories}} catégories sélectionnées pour un total de {{articles}} articles", - "my_location": "Utiliser ma localisation", - "network": "Réseau", - "none": "Aucun", - "normal": "Normal", - "permission_storage_message": "{{appName}} les besoins de stockage de l'autorisation", - "permission_title": "{{appName}} autorisation", - "pj_from_page": "de la page", - "pj_to_page": "à la page", - "pj_continue_to_page": "Continuer à la page", - "pj_continue_to_page_parent": "Page", - "powered_by": "Alimenté par TECNAVIA", - "powered_by_who": "Présenté par {{who}}", - "push_notification": "Notification Push", - "reader_app_text": "Tous les comptes créés et achats effectués hors de cette app seront gérés par le développeur {{developerName}}. Votre compte App Store, votre mode de paiement enregistré, ainsi que les fonctionnalités associées telles que la gestion des abonnements et les demandes de remboursement ne seront pas disponibles. Apple n'est responsable ni de la sécurité, ni de la confidentialité des transactions effectuées avec ce développeur.", - "reader_app_title": "Vous êtes sur le point de quitter l'app et d'accéder à un site web externe. Vous ne ferez plus transaction avec Apple.", - "retry": "Refaire", - "salary": "Salaire: {{salary}}", - "save_search": "Enregistrer la recherche", - "saved_searches": "Recherches sauvegardées", - "search_term": "Mots clés de recherche", - "select_after_date": "Sélectionnez à partir de la date", - "select_my_home_categories": "Choisissez votre favori catégories à partir de la liste ci-dessous pour personnaliser votre {{category}}", - "selected_categories": "Catégories sélectionnées", - "selected_time_range": "Dates sélectionnée", - "settings": "Paramètres", - "settings_allow_font_scaling": "Autoriser le changement de police", - "settings_startup_epaper": "E-Edition", - "settings_startup_rss": "Nouvelles en direct", - "settings_startup_choose": "Choisissez à chaque fois", - "show": "MONTRER", - "sort_by_date": "Trier par horaire", - "sort_by_name": "Trier par A-Z", - "sort_by_name_reverse": "Trier par Z-A", - "sort_by_popularity": "Trier par popularité", - "sort_date_disabled": "Tri sur la date de désactiver", - "start_with": "Commencer Avec", - "str_custom": "Personnalisé", - "str_default_language": "Retour à la langue d'origine", - "str_from": "Depuis", - "str_limit_label": "Max stockées éditions: {{days}}", - "str_next_week": "Prochaine semaine", - "str_page": "Page", - "str_search": "Recherche", - "str_search_results": "{{text}} - {{count}} résultats", - "str_special_sections": "Section Spéciale", - "str_this_week": "Cette semaine", - "str_this_weekend": "Ce fin de semaine", - "str_time_range": "Intervalle de dates", - "str_title": "Titre", - "str_to": "À", - "str_today": "Aujourd'hui", - "str_tomorrow": "Demain", - "str_translating_article": "Traduction de l'article ...", - "system_error": "Une erreur s'est produite", - "title_bottom_sheet": "Actions", - "title_offline": "Pas de connexion Internet", - "toggle": "BASCULE", - "toggle_layout": "La bascule de mise en page", - "toggle_list": "Basculer de la liste", - "toggle_map": "Basculer la carte", - "total_events": "Événements: {{total}}", - "total_favorites": "Favoris: {{total}}", - "total_jobs": "Emplois: {{total}}", - "total_searches": "Recherches: {{total}}", - "tutorial": "Tutoriel", - "unknown_salary": "Inconnu Salaire", - "unsave_search": "Supprimer recherche enregistrée", - "version": "Version", - "vertical_job_location_hint": "Sélectionnez un emplacement", - "vertical_job_text_hint": "Entrez un mot clé pour la recherche", - "offline_download_warning": "Cette édition n'est pas entièrement téléchargée. Quelques parties des pages pourraient apparaître floues.", - "user_tip_download_title": "Suggestion", - "user_tip_download": "Pour obtenir automatiquement toutes les éditions à télécharger pour une consultation hors ligne, appuyez sur le bouton 'Plus' -> onglet 'Paramètres' -> Sélectionnez 'Mode Wifi' comme mode réseau", - "offline_download_dialog": "Voulez-vous télécharger toute l'édition pour la lecture hors ligne?", - "mobile_network_warning": "Vous êtes connecté à un réseau mobile au lieu du WiFi", - "msg_operation_completed": "Opération terminée", - "msg_ok_delete_db": "Toutes les éditions enregistrées ont été supprimées", - "msg_font_scaling": "Souhaitez-vous appliquer la taille du texte de votre appareil à cette application?", - "msg_font_scaling_title": "Il semble que vous ayez défini une taille de texte personnalisée sur votre appareil", - "msg_download_rss": "Téléchargement de nouveaux articles...", - "settings_translate": "Traduire les articles en", - "settings_themes": "Thème", - "settings_font_size": "Taille de police", - "settings_graph_size": "Niveau de zoom", - "settings_number_stored_editions": "Max stockées éditions", - "settings_restart_from_latest": "Redémarrer à partir de la dernière édition disponible (min)", - "settings_article_mode": "Mode texte", - "settings_article_mode_all": "Affiche tout", - "settings_article_mode_text_and_graphics": "Affiche les articles textuels et les graphiques", - "settings_article_mode_only_text": "Affiche uniquement les articles textuels", - "settings_restore_defaults": "Rétablir les paramètres d'usine", - "settings_clear_storage": "Stockage clair", - "settings_back_to_classic": "Retour à l'édition classique", - "settings_two_fingers_tap_to_article": "Taper deux fois pour ouvrir l'article", - "settings_single_tap_to_zoom": "Taper pour zoomer", - "settings_favorite_edition": "Choisissez votre édition préférée", - "settings_favorite_edition_default_label": "Dernière édition disponible", - "reset": "RÉINITIALISER", - "open": "OUVERT", - "settings_enable_column_view": "Activer l'affichage sur plusieurs colonnes des articles", - "settings_navigation_arrows": "Flèches de navigation", - "settings_navigation_arrows_always": "toujours présents", - "settings_navigation_arrows_disapper": "disparaissent lors de la lecture", - "settings_navigation_arrows_never": "jamais présents", - "general": "Paramètres de l'application", - "settings_translate_original": "Langue originale", - "advance": "{{label}} | Paramètres avancés", - "send": "ENVOYER", - "btn_feedback": "Retour d'information", - "return": "REVENIR", - "settings_article_highlight": "Garder l'article actuel en surbrillance lorsque le mode article est ouvert", - "write": "ÉCRIVEZ", - "btn_continue": "Continuer", - "btn_go_back": "Retourner", - "btn_go_next": "Allez ensuite", - "btn_go_up": "Niveau précédent", - "action_go_to_settings": "Aller aux paramètres", - "btn_reload": "Recharger", - "btn_tts": "Ativar / desativar a síntese de voz", - "btn_close_accessibility": "Fermer le mode d'accessibilité", - "err_module_unavailable": "{{module}} non disponible", - "force_crash": "Forcer le crash", - "hint_my_home_screen_config": "Pour personnaliser {{label}}", - "hint_two_fingers_tap": "Pour lire un article, appuyez sur la zone avec deux doigts", - "hint_restart": "L'application va redémarrer pour charger de nouvelles configurations...", - "hint_update_ui": "L'interface utilisateur se mettra à jour pour charger de nouveaux paramètres, vous remarquerez peut-être un scintillement...", - "msg_access_reserved": "Accès réservé aux abonnés", - "msg_already_subscriber": "Êtes-vous déjà abonné? Connexion", - "msg_continue_to_read": "Abonnez-vous à {{paper}}", - "theme": "Thème", - "settings_zoom_level": "Le niveau de zoom", - "settings_zoom_level_large": "Grand", - "settings_zoom_level_larger": "Plus grand", - "settings_zoom_level_normal": "Normal", - "restart": "Redémarrage", - "str_no_categories": "aucune catégorie", - "msg_login_overlay_title": "Pour continuer la lecture", - "voice_back": "retour", - "voice_what": "quoi", - "voice_next": "suivant", - "voice_next_page": "page suivante", - "voice_previous": "précédent", - "voice_previous_page": "page précédente", - "voice_stop": "stop", - "voice_read": "lire", - "voice_close": "fermer", - "voice_up": "up", - "voice_down": "bas", - "voice_select": "select", - "msg_max_share": "Vous avez atteint la limite de partage quotidienne pour cette édition", - "accessibility": "Accessibilité", - "msg_simulate_accessibility_title": "Activer le mode d'accessibilité", - "msg_screenshots_disabled": "Les captures d'écran ne sont pas autorisées dans cette application", - "settings_tab_index_mode": "Activer la mise en page à onglets en mode indice", - "settings_enable_push_notifications": "Activer les notifications push", - "settings_manage_privacy_preferences": "Gérer les préférences de confidentialité", - "theme_auto": "Clair/foncé automatique", - "theme_light": "Lumière", - "theme_dark": "Sombre", - "str_sort_by": "Trier par", - "str_relevance": "Pertinence", - "btn_from": "Depuis", - "str_date": "Date", - "srt_order": "Commande", - "str_byline": "Byline", - "str_descending": "Descendant", - "str_ascending": "Ascendant", - "str_categories": "Catégories", - "str_select": "Sélectionner...", - "str_advertisement": "Publicité", - "iap_multiple_subscriptions": "Abonnements multiples", - "iap_go_to_subscriptions": "Aller à l'abonnement", - "iap_multiple_subscriptions_message": "Nous avons constaté que vous disposez de plusieurs abonnements actifs, veuillez désactiver ceux dont vous n'avez pas besoin. Lorsqu'un abonnement a été désactivé, il sera remboursé.{{subscriptions}}", - "iap_multiple_active_subscriptions_message": "Vous avez déjà un abonnement actif, souhaitez-vous quand même en acheter un nouveau? {{subscriptions}}", - "settings_title_box": "Afficher les zones de titre de l'article", - "enable_debug_overlay": "Activer le débogueur", - "disable_debug_overlay": "Désactiver le débogueur", - "edit_token": "Modifier le token", - "title_edit_token_confirm": "Voulez-vous mettre à jour le token?", - "msg_edit_token_confirm": "Nouvelle valeur: \"{{token}}\"", - "uploading": "Téléchargement..." -} -; -},1986,[]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "action_go_to_category": "Ga naar {{anchor}}", - "action_open_epaper": "Open de e-Paper", - "action_open_gallery": "Open de galerij", - "action_open_link": "Open de link", - "action_remove_from_favorites": "Verwijder uit favorieten", - "action_save_for_later": "Bewaar voor later", - "action_share": "Delen", - "action_unknown": "Onbekend", - "alert_message": "Weet u het zeker?", - "all": "Alle", - "all_events": "Alle evenementen", - "all_jobs": "Alle vacatures", - "animation": "Animatie", - "animation_action": "Klik op de knop om de animatie te wijzigen", - "animation_change": "Animatie wijzigen", - "animation_changed": "Animation gewijzigd", - "article_count": "{{count}} artikelen", - "btn_accessibility": "Toegankelijkheidsmodus", - "btn_account": "Log in", - "btn_advance_filters": "Geavanceerde filters", - "btn_archive": "Archief", - "btn_ask_later": "Vraag het mij later", - "btn_back": "Terug", - "btn_cancel": "Annuleer", - "btn_close": "Skip", - "btn_confirm": "Bevestigen", - "btn_contact": "Contact", - "btn_disable_log_file": "Verstuur LOG", - "btn_do_not_show": "Niet meer laten zien", - "btn_download": "Download", - "btn_editions": "Edities", - "btn_enable_log_file": "Activeer LOG", - "btn_feed": "Live Nieuws", - "btn_fit_page": "Passend maken", - "btn_g_book": "Blad omslaan", - "btn_go_to_news": "Ga naar nieuws", - "btn_help": "Ondersteuning", - "btn_index": "Index", - "btn_link": "Link", - "btn_login": "Log in", - "btn_logout": "Uitloggen", - "btn_more": "Meer", - "btn_no": "Nee", - "btn_ok": "OK", - "btn_publications": "Publicaties", - "btn_read": "Lezen", - "btn_reset": "Reset", - "btn_search": "Zoeken", - "btn_set_as_default": "Als stand. inst.", - "btn_settings": "Instellingen", - "btn_skip": "Overslaan", - "btn_special_section": "Special", - "btn_store": "Bewaren", - "btn_swipe": "Blad omslaan", - "btn_thumbnail": "Pagina's", - "btn_yes": "Ja", - "cache_size": "Cache grootte", - "card": "Kaart", - "categories": "Categorieën", - "change": "VERANDER", - "change_location_hint": "Locatie wijzigen", - "change_radius": "Selecteer Radius", - "clear": "VERWIJDER", - "clear_cache": "Verwijder cache", - "clear_favorites": "Verwijder favorieten", - "confirm": "Bevestigen", - "connection_0": "Mobiele modus", - "connection_0_description": "Tekstmodus. Bij beperkte bandbreedte.", - "connection_1": "3G Modus", - "connection_1_description": "Grafische/tekstuele presentatie van de editie. Download beperkt tot mobiele modus.", - "connection_2": "Wifi Mode", - "connection_2_description": "Wifi Mode: Grafische/tekstuele presentatie van de editie. Ook grafische elementen kunnen gedownload worden", - "counter": "{{current}} van {{total}}", - "custom_location": "Gepersonaliseerde Locatie", - "database": "Database", - "database_deleted": "Database verwijderd", - "default_search": "Standaard zoeken", - "dialog_location_message": "We gebruiken uw locatie om op de kaart te laten zien waar u bent", - "dialog_location_title": "We hebben toegang tot uw locatie nodig", - "disabled": "Uitgeschakeld", - "enabled": "Ingeschakeld", - "err_change_animation": "Fout bij het wijzigen van de animatie", - "err_clear_cache": "Fout bij het wissen van de cache", - "err_clear_database": "Fout bij het wissen van de database", - "err_clear_favorites": "Fout bij het opschonen van de favorieten", - "err_download_edition": "Er is een fout opgetreden bij het downloaden van de editie", - "err_download_edition_db": "Er is een fout opgetreden bij het downloaden van de editie database", - "err_download_psetup": "Fout tijdens het downloaden van basisconfiguraties", - "err_internet_connection": "Kon geen verbinding maken met de applicatieserver. Zorg ervoor dat u verbinding heeft met het internet en probeer het opnieuw", - "err_max_min": "Ongeldig filter, min. moet kleiner zijn dan max.", - "err_offline": "Niet offline beschikbaar", - "err_retrieve_cache": "Fout bij het ophalen van de cache", - "err_retrieve_favorites": "Fout bij het ophalen van de favorieten", - "err_translation": "Vertaling niet beschikbaar", - "err_translation_offline": "Vertaling niet offline beschikbaar", - "error_on_load_more": "Fout bij het laden van meer items", - "fast": "Snel", - "favorites": "Favorieten", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_msg_ask_for_feedback": "Is er iets dat wij kunnen doen om u behulpzaam te zijn?", - "feedback_title_request_feedback": "Geniet u van de App?", - "feedback_title_request_review_feedback": "Goed om te horen! Wilt u een recensie of puntenbeoordeling achterlaten?", - "filter_max": "Max", - "filter_min": "Min", - "filter_text": "Schrijf hier uw tekst", - "font_extra_large": "Extra groot", - "font_extra_small": "Extra klein", - "font_large": "Groot", - "font_normal": "Normaal", - "font_scale": "Grootte lettertype", - "font_small": "Klein", - "from_most_recent": "Uit de meest recente", - "from_oldest": "Uit de oudste", - "gmc_default_text": "Er is een nieuwe uitgave beschikbaar. Tap hier om te lezen!", - "gmc_message_text": "De titel {{issue}} is nu beschikbaar. Tap hier om te lezen!", - "grid": "Raster", - "grid_list": "raster/lijst", - "home": "Home", - "label_exit_accessibility_mode": "Verlaat de Toegankelijkheidsmodus", - "label_open_browser": "Open in de browser", - "last_search": "Laatste zoekopdracht", - "layout": "Layout", - "learn_more": "Lees meer", - "list": "Lijst", - "loading": "Bezig met laden...", - "local_events": "Lokale evenementen", - "max_salary": "Max. salaris", - "min_salary": "Min. salaris", - "msg_available_next_startup": "Deze configuratie is beschikbaar na een herstart", - "msg_clear_cache": "Verwijder cache", - "msg_clear_favorites": "Verwijder favorieten", - "msg_copy_to_clipboard": "Kopieer naar klembord", - "msg_database_deleted": "Verwijder database", - "msg_delete_db": "Databasegegevens verwijderen?", - "msg_delete_localstorage": "Persoonlijke instellingen wissen?", - "msg_delete_title": "Wil je", - "msg_download_edition": "Bezig met downloaden van editie...", - "msg_download_retry": "Poging {{retry}} van {{maxRetries}}...", - "msg_empty_category": "Momenteel zijn er geen artikelen toegewezen aan {{category}}! Tap om te verversen", - "msg_empty_favorites": "Momenteel zijn er geen favorieten!", - "msg_empty_gallery": "De aangeklikte galerij is leeg", - "msg_empty_list": "Momenteel zijn er geen elementen beschikbaar! Tap om sommige filters te wijzigen", - "msg_empty_searches": "Momenteel zijn er geen opgeslagen zoekopdrachten!", - "msg_error_category": "Er is iets misgegaan, probeer de categorie opnieuw te openen of verwijder de database uit de instellingen ! Tap om te verversen", - "msg_error_list": "Er is iets misgegaan, probeer een aantal filters te veranderen", - "msg_error_newspaper": "Krant is leeg", - "msg_event_over": "'Het evenement is voorbij.'", - "msg_exit_application": "De applicatie verlaten?", - "msg_failed": "Mislukt", - "msg_list_no_articles_available_for_category": "Dit is geen fout. Momenteel zijn er geen artikelen aan deze categorie toegewezen!", - "msg_list_no_content": "Geen actuele inhoud", - "msg_loading_comments": "Opmerkingen laden...", - "msg_loading_more": "Meer laden...", - "msg_new_issue_available": "Een nieuwe krant is nu beschikbaar: wilt u deze downloaden?", - "msg_not_on_latest_issue": "Dit is niet de meest recente krant: wilt u deze downloaden?", - "msg_new_issue_available_title_edition": "Je leest momenteel {{edition}}", - "msg_new_issue_available_title_edition_date": "U leest momenteel het nummer van {{date}} van {{edition}}", - "msg_new_issue_available_edition": "Er is nu een nieuwe editie van {{edition}} beschikbaar, wil je hem laden?", - "msg_new_issue_available_date": "Het nummer van {{date}} is nu beschikbaar, wil je hem laden?", - "msg_new_issue_available_edition_date": "Het nummer van {{edition}} van {{date}}is nu beschikbaar, wil je hem laden?", - "msg_not_on_latest_issue_edition": "U ziet niet de laatst beschikbare editie van {{edition}}, wil je hem nu laden?", - "msg_not_on_latest_issue_date": "U kijkt niet naar de laatst beschikbare editie, wilt u het nummer van {{date}} downloaden?", - "msg_not_on_latest_issue_edition_date": "U kijkt niet naar de laatst beschikbare editie, wil je het nummer van {{date}} van {{edition}} downloaden?", - "msg_offline_article_graph": "Als u deze functie offline wilt inschakelen dan dient u de uitgave volledig te downloaden of sommige afbeeldingen of tekstfragmenten kunnen ontbreken.", - "msg_offline_issues": "Selecteer een gedownloade versie te lezen", - "msg_opening_push": "Pushmeldingen openen...", - "msg_pending_purchases": "Aankopen in behandeling afronden: {{completed}} van {{total}}", - "msg_reload_publication": "Automatisch de nieuwste editie downloaden?", - "msg_restore_default_settings": "Wilt u de standaard app-instellingen herstellen?", - "msg_rss_new_articles_available": "{{count}} nieuwe artikelen zijn beschikbaar", - "msg_rss_no_new_articles_available": "U bent up-to-date", - "msg_rss_one_new_article_available": "1 nieuw artikel is beschikbaar", - "msg_rss_reload_database": "Nieuwe database gedownload", - "msg_rss_update_error": "Fout tijdens de update, controleer uw internetverbinding en probeer opnieuw", - "msg_search_empty": "Niets werd doorzocht", - "msg_search_lite": "Bekijk resultaten op pagina", - "msg_search_not_found": "Geen artikel gevonden met {{text}}", - "msg_sent": "Verstuurd", - "msg_share_unmanaged": "Optie om te delen onbeheerd", - "msg_tts_error": "Er treedt een fout op, later proberen!", - "msg_tts_no_volume": "Verhoog volume naar luisterende tekst", - "msg_tts_unsupported": "Niet-ondersteunde taal, probeer de standaardvoice te gebruiken of controleer of er een aangepast taalpakket bestaat!", - "my_home_categories_selected": "{{categories}} categorieën geselcteerd voor een totaal aantal van {{articles}} artikelen", - "my_location": "Gebruik mijn locatie", - "network": "Netwerk", - "none": "Geen", - "normal": "Normaal", - "permission_storage_message": "{{appName}} toestemming voor opslag nodig", - "permission_title": "{{appName}} toestemming", - "pj_from_page": "van pagina", - "pj_to_page": "naar pagina", - "pj_continue_to_page": "Ga verder naar pagina", - "pj_continue_to_page_parent": "Pagina", - "powered_by": "Powered by TECNAVIA", - "powered_by_who": "Mogelijk gemaakt door {{who}}", - "push_notification": "Pushmelding", - "reader_app_text": "Alle accounts of aankopen die aangemaakt of gedaan zijn buiten deze app worden beheerd door de ontwikkelaar '{{developerName}}'. Je App Store-account, bewaarde betaalmethode en andere gerelateerde diensten, zoals abonnementsbeheer en restitutieverzoeken zijn niet beschikbaar. Apple is niet verantwoordelijk voor de privacy of beveiliging van transacties met deze ontwikkelaar.", - "reader_app_title": "Je staat op het punt om de app te verlaten en naar een externe website te gaan. Je hebt geen transacties meer met Apple.", - "retry": "Opnieuw", - "salary": "Salaris: {{salary}}", - "save_search": "Zoekopdracht opslaan", - "saved_searches": "Bewaarde Zoekopdrachten", - "search_term": "Zoekterm", - "select_after_date": "Kies na datum", - "select_my_home_categories": "Kies uit onderstaande lijst uw favoriete categorieën en personaliseer {{category}}", - "selected_categories": "Geselecteerde categorieën", - "selected_time_range": "Geselecteerd datumbereik", - "settings": "Instellingen", - "settings_allow_font_scaling": "Schalen van lettertypen toestaan", - "settings_startup_epaper": "E-Edition", - "settings_startup_rss": "Live Nieuws", - "settings_startup_choose": "Kies elke keer", - "show": "SHOW", - "sort_by_date": "Sorteer op datum:", - "sort_by_name": "Sorteer op A-Z", - "sort_by_name_reverse": "Sorteer op Z-A", - "sort_by_popularity": "Sorteren op populariteit", - "sort_date_disabled": "Sorteren op datum uitschakelen", - "start_with": "Begin met", - "str_custom": "Custom", - "str_default_language": "Keer terug naar de oorspronkelijke taal", - "str_from": "Vanaf", - "str_limit_label": "Max opgeslagen edities: {{days}}", - "str_next_week": "Volgende week", - "str_page": "Pagina", - "str_search": "Zoeken", - "str_search_results": "{{text}} - {{count}} resultaten", - "str_special_sections": "Speciale secties", - "str_this_week": "Deze Week", - "str_this_weekend": "Dit weekend", - "str_time_range": "Datumbereik", - "str_title": "Titel", - "str_to": "Tot", - "str_today": "Vandaag", - "str_tomorrow": "Morgen", - "str_translating_article": "Artikel vertalen...", - "system_error": "Er is een fout opgetreden", - "title_bottom_sheet": "Acties", - "title_offline": "Geen internet verbinding", - "toggle": "WISSELEN", - "toggle_layout": "Layout ", - "toggle_list": "Van lijst wisselen", - "toggle_map": "Van map wisselen", - "total_events": "Evenementen: {{total}}", - "total_favorites": "Favorieten: {{total}}", - "total_jobs": "Vacatures: {{total}}", - "total_searches": "Zoekopdrachten: {{total}}", - "tutorial": "Handleiding", - "unknown_salary": " Salaris onbekend", - "unsave_search": "Opgeslagen zoekopdracht verwijderen", - "version": "Versie", - "vertical_job_location_hint": "Kies een locatie", - "vertical_job_text_hint": "Voer een trefwoord in om te zoeken", - "offline_download_warning": "Deze uitgave is niet volledig gedownload. Sommige delen van de pagina's kunnen derhalve onscherp getoond worden.", - "user_tip_download_title": "Gebruikerstip", - "user_tip_download": "Gebruikerstip: Indien u alle edities automatisch wilt downloaden om offline te kunnen bekijken, druk dan op de knop 'Meer' -> 'Instellingen' -> Selecteer 'Wifi mode' als netwerkmodus", - "offline_download_dialog": "Wilt u de volledige uitgave downloaden om offline te kunnen lezen?", - "mobile_network_warning": "U bent verbonden met een mobiel netwerk in plaats van WiFi", - "msg_operation_completed": "Bewerking voltooid", - "msg_ok_delete_db": "Alle opgeslagen edities zijn verwijderd", - "msg_download_rss": "Nieuwe artikelen downloaden...", - "settings_translate": "Vertaal artikelen naar", - "settings_themes": "Thema", - "settings_font_size": "Lettertypegrootte", - "settings_graph_size": "Zoomniveau", - "settings_number_stored_editions": "Max opgeslagen edities", - "settings_restart_from_latest": "Herstart van de laatste editie beschikbaar (min)", - "settings_article_mode": "Artikelmodus", - "settings_article_mode_all": "Toon alles", - "settings_article_mode_text_and_graphics": "Toon artikelen en afbeeldingen", - "settings_article_mode_only_text": "Alleen artikelen weergeven", - "settings_restore_defaults": "Standaard instellingen terugzetten", - "settings_clear_storage": "Klar lagring", - "settings_back_to_classic": "Keer terug naar de klassieke editie", - "settings_two_fingers_tap_to_article": "Gebruik de twee vinger tap om een artikel te openen in tekstmodus", - "settings_single_tap_to_zoom": "Gebruik de enkele tap om in te zoomen", - "settings_favorite_edition": "Kies je favoriete editie", - "settings_favorite_edition_default_label": "Laatste editie beschikbaar", - "reset": "RESET", - "open": "OPEN", - "settings_enable_column_view": "Weergave van artikelen met meerdere kolommen inschakelen", - "settings_navigation_arrows": "Navigatiepijlen", - "settings_navigation_arrows_always": "altijd aanwezig", - "settings_navigation_arrows_disapper": "verdwijnen tijdens het lezen", - "settings_navigation_arrows_never": "nooit aanwezig", - "general": "App instellingen", - "settings_translate_original": "Originele taal", - "advance": "{{label}} | Geavanceerde instellingen", - "send": "VERSTUREN", - "btn_feedback": "Feedback", - "return": "OPBRENGST", - "settings_article_highlight": "Houd het huidige artikel gemarkeerd wanneer de artikelmodus is geopend", - "write": "SCHRIJVEN", - "btn_continue": "Ga door", - "btn_go_back": "Ga terug", - "btn_go_next": "Ga volgende", - "btn_go_up": "Vorig niveau", - "action_go_to_settings": "Ga naar Instellingen", - "btn_reload": "Herladen", - "btn_tts": "Schakel tekst naar spraak", - "btn_close_accessibility": "Toegankelijkheidsmodus sluiten", - "err_module_unavailable": "{{module}} niet beschikbaar in deze app", - "force_crash": "Forceer crash", - "hint_my_home_screen_config": "Om {{label}} te personaliseren", - "hint_two_fingers_tap": "Om een ​​artikel te lezen, tikt u met twee vingers op het artikelgebied", - "hint_restart": "De applicatie zal opnieuw opstarten om nieuwe configuraties te laden...", - "hint_update_ui": "De gebruikersinterface wordt bijgewerkt om nieuwe instellingen te laden, mogelijk ziet u een flikkering...", - "msg_access_reserved": "Toegang voorbehouden aan abonnees", - "msg_already_subscriber": "Ben je al abonnee? Log in", - "msg_continue_to_read": "Abonneer je op {{paper}}", - "theme": "Thema", - "settings_zoom_level": "Zoomniveau", - "settings_zoom_level_large": "Groot", - "settings_zoom_level_larger": "groter", - "settings_zoom_level_normal": "normaal", - "restart": "Herstarten", - "str_no_categories": "geen categorieën", - "msg_login_overlay_title": "Om verder te lezen", - "voice_back": "terug", - "voice_what": "wat", - "voice_next": "volgende", - "voice_next_page": "volgende pagina", - "voice_previous": "vorige", - "voice_previous_page": "vorige pagina", - "voice_stop": "stop", - "voice_read": "lezen", - "voice_close": "close", - "voice_up": "up", - "voice_down": "down", - "voice_select": "select", - "msg_max_share": "Je hebt de dagelijkse limiet voor delen voor deze editie bereikt", - "accessibility": "Toegankelijkheid", - "msg_simulate_accessibility_title": "Toegankelijkheidsmodus inschakelen", - "msg_screenshots_disabled": "Schermafbeeldingen zijn niet toegestaan ​​in deze app", - "settings_tab_index_mode": "Schakel tabbladindeling in indexmodus in", - "settings_enable_push_notifications": "Schakel pushmeldingen in", - "settings_manage_privacy_preferences": "Beheer privacyvoorkeuren", - "theme_auto": "Automatisch licht/donker", - "theme_light": "Licht", - "theme_dark": "Donker", - "str_sort_by": "Sorteer op", - "str_relevance": "Relevantie", - "btn_from": "Van", - "btn_to": "Naar", - "str_date": "Datum", - "srt_order": "Volgorde", - "str_byline": "Naamregel", - "str_descending": "Aflopend", - "str_ascending": "Oplopend", - "str_categories": "Categorieën", - "str_select": "Selecteer...", - "str_advertisement": "Advertentie", - "iap_go_to_subscriptions": "Ga naar abonnement", - "iap_multiple_subscriptions": "Meerdere abonnementen", - "iap_multiple_subscriptions_message": "We hebben vastgesteld dat u meerdere actieve abonnementen heeft. Schakel de abonnementen uit die u niet nodig heeft. Wanneer een abonnement is uitgeschakeld, wordt het terugbetaald.{{subscriptions}}", - "iap_multiple_active_subscriptions_message": "U heeft al een actief abonnement, maar wilt u toch een nieuw abonnement aanschaffen? {{subscriptions}}", - "settings_title_box": "Titelvakken van artikelen weergeven", - "enable_debug_overlay": "Schakel foutopsporing in", - "disable_debug_overlay": "Schakel foutopsporing uit", - "edit_token": "Token bewerken", - "title_edit_token_confirm": "Wilt u het token bijwerken?", - "msg_edit_token_confirm": "Nieuwe waarde: \"{{token}}\"", - "uploading": "Uploaden..." -} -; -},1987,[]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "action_go_to_category": "Acción ir a {{anchor}}", - "action_open_epaper": "Abrir epaper", - "action_open_gallery": "Acción abrir galería", - "action_open_link": "Acción abrir el link", - "action_remove_from_favorites": "Eliminar de favoritos", - "action_save_for_later": "Salvar para despuès", - "action_share": "Acciòn compartir", - "action_unknown": "Acciòn desconocida", - "alert_message": "Estàs seguro?", - "all": "Todo", - "all_events": "Todos los eventos", - "all_jobs": "Todos los trabajos", - "animation": "Animaciòn", - "animation_action": "Haga clic en el botón para cambiar la animación", - "animation_change": "Cambio de animación", - "animation_changed": "Animación cambiada", - "article_count": "{{count}} artículos", - "btn_accessibility": "Modo de accesibilidad", - "btn_advance_filters": "Filtros de avance", - "btn_archive": "Archivo", - "btn_ask_later": "Preguntar mas tarde", - "btn_back": "Volver", - "btn_cancel": "Cancelar", - "btn_close": "Cierra", - "btn_confirm": "Confirmar", - "btn_contact": "Contacto", - "btn_disable_log_file": "enviar registro", - "btn_do_not_show": "No mostrar de nuevo", - "btn_download": "Descargar", - "btn_editions": "Ediciones", - "btn_enable_log_file": "Habilitar registro", - "btn_feed": "Noticias en vivo", - "btn_fit_page": "Ajuste", - "btn_g_book": "Navegar", - "btn_go_to_news": "Ir a noticias", - "btn_help": "Ayuda", - "btn_index": "Índice", - "btn_link": "Link.", - "btn_more": "Más", - "btn_no": "No", - "btn_ok": "OK", - "btn_publications": "Publicaciones", - "btn_read": "Leer", - "btn_reset": "Restablecer", - "btn_search": "Busca", - "btn_set_as_default": "Establecer como predeterminado", - "btn_settings": "Configuración", - "btn_skip": "Omitir", - "btn_special_section": "Especial", - "btn_store": "Almacenar", - "btn_swipe": "Navegar", - "btn_thumbnail": "Páginas", - "btn_yes": "Sí", - "cache_size": "Tamaño del caché", - "card": "Card", - "categories": "Categorías", - "change": "Cambiar", - "change_location_hint": "Cambiar localización", - "change_radius": "Seleccionar radio", - "clear": "Limpiar", - "clear_cache": "Limpiar cache", - "clear_favorites": "Borrar favoritos", - "confirm": "Confirmar", - "connection_0": "Modo móvil", - "connection_0_description": "Lectura textual del periódico. Uso limitado de ancho de banda.", - "connection_1": "Modo 3G", - "connection_1_description": "Lectura gráfica/textual del periódico. Descarga limitada por el modo móvil.", - "connection_2": "Modo wifi", - "connection_2_description": "Lectura gráfica/textual del periódico. Descargar también elementos gráficos", - "counter": "{{current}} de {{total}}", - "custom_location": "Ubicación Personalizada", - "database": "Base de datos", - "database_deleted": "Base de datos eliminada", - "default_search": "Búsqueda predeterminada", - "dialog_location_message": "Usamos su ubicación para mostrar dónde se encuentra en el mapa", - "dialog_location_title": "Necesitamos acceder a tu ubicación", - "disabled": "Deshabilitar", - "enabled": "Habilitar", - "err_change_animation": "Error al cambiar la animación", - "err_clear_cache": "Error al borrar la caché", - "err_clear_database": "Error de borrar de la base de datos", - "err_clear_favorites": "Error para borrar favoritos", - "err_download_edition": "Ha ocurrido un error durante la descarga de la edición", - "err_download_edition_db": "Ha ocurrido un error durante la descarga de la base de datos de la edición", - "err_download_psetup": "Error durante la descarga de configuraciones base", - "err_internet_connection": "No se pudo conectar al servidor de la aplicación. Por favor, asegúrese de que tiene conexión a internet e inténtelo de nuevo.", - "err_max_min": "Filtro inválido, min debe ser menor que max ", - "err_offline": "No disponible sin conexión", - "err_retrieve_cache": "Error al recuperar la caché", - "err_retrieve_favorites": "Error al recuperar favoritos", - "err_translation": "Traducción no disponible", - "err_translation_offline": "Traducción no disponible sin conexión", - "error_on_load_more": "Error al intentar cargar más artículos", - "fast": "Rápido", - "favorites": "Favoritos", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_msg_ask_for_feedback": "¿Hay algo que podamos hacer para ayudar?", - "feedback_title_request_feedback": "Disfruta en su tiempo con la Aplicación?", - "feedback_title_request_review_feedback": "Me alegro de escuchar! Te gustaría dejar un comentario o calificación?", - "filter_max": "Max", - "filter_min": "Min", - "filter_text": "Escribe el texto aquí", - "font_extra_large": "Fuente extra grande", - "font_extra_small": "Fuente super pequeña", - "font_large": "Fuente grande", - "font_normal": "Fuente normal", - "font_scale": "Escala de fuente", - "font_small": "Pequeño", - "from_most_recent": "De los más recientes", - "from_oldest": "De los mas antiguos", - "gmc_default_text": "Una nueva edición está disponible. Pulsa aquí para leer!", - "gmc_message_text": "El {{issue}} periódico ya está disponible. Pulsa aquí para leer!", - "grid": "Cuadrícula", - "home": "Casa", - "label_exit_accessibility_mode": "Salir del modo de accesibilidad", - "label_open_browser": "Abrir en el navegador", - "last_search": "Última búsqueda", - "layout": "Diseño", - "learn_more": "Más información", - "list": "Lista", - "loading": "Cargando...", - "local_events": "Sucesos locales", - "max_salary": "Salario màximo", - "min_salary": "Salario mìnimo", - "msg_available_next_startup": "Esta configuración estará disponible la próxima puesta en marcha", - "msg_clear_cache": "Borrar cache ", - "msg_clear_favorites": "Borrar favoritos", - "msg_copy_to_clipboard": "Copiar al portapapeles", - "msg_database_deleted": "Base de datos eliminada", - "msg_delete_db": "¿Borrar el database local?", - "msg_delete_localstorage": "¿Borrar las configuraciones personales?", - "msg_delete_title": "Quieres", - "msg_download_edition": "Descargando edición...", - "msg_download_retry": "Intento {{retry}} de {{maxRetries}}...", - "msg_empty_category": "En la actualidad, no hay artículos asignados a {{category}}! Pulse para actualizar", - "msg_empty_favorites": "En la actualidad, no hay favoritos!", - "msg_empty_gallery": "La galería está vacía", - "msg_empty_list": "En la actualidad, no existen elementos! Toque para cambiar algunos filtros", - "msg_empty_searches": "Actualmente no hay búsquedas guardadas", - "msg_error_category": "Algo salió mal, intenta volver a abrir la categoría o eliminar la base de datos de la configuración. Toque para actualizar", - "msg_error_list": "Algo salió mal, intenta cambiar algunos filtros", - "msg_error_newspaper": "El periódico está vacío", - "msg_event_over": "el evento ha terminado.", - "msg_exit_application": "Salir de la aplicación?", - "msg_failed": "Falló", - "msg_font_scaling": "¿Quieres mantener esta configuración dentro de la aplicación?", - "msg_font_scaling_title": "Has configurado un tamaño de texto personalizado en tu dispositivo", - "msg_list_no_articles_available_for_category": "Esto no es un error. En la actualidad, no hay artículos asignados a esta categoría!", - "msg_list_no_content": "Ningún contenido actual", - "msg_loading_comments": "Cargando Comentarios...", - "msg_loading_more": "Cargando...", - "msg_new_issue_available_title_edition": "Actualmente estás leyendo {{edition}}", - "msg_new_issue_available_title_edition_date": "Actualmente estás leyendo la edición del {{date}} de {{edition}}", - "msg_new_issue_available": "Ya está disponible una nueva edición, ¿te gustaría cargarla?", - "msg_new_issue_available_edition": "Ya está disponible una nueva edición de {{edition}}, ¿te gustaría cargarla?", - "msg_new_issue_available_date": "Ya está disponible la edición del {{date}} de {{edition}}, ¿te gustaría cargarla?", - "msg_new_issue_available_edition_date": "La edición del {{date}} de {{edition}} ya está disponible, ¿te gustaría cargarla?", - "msg_not_on_latest_issue": "No estás viendo la última edición disponible, ¿te gustaría cargarla ahora?", - "msg_not_on_latest_issue_edition": "No estás viendo la última edición disponible de {{edition}}, ¿te gustaría cargarla ahora?", - "msg_not_on_latest_issue_date": "No estás viendo la última edición disponible, ¿te gustaría cargar la edición del {{date}} ahora?", - "msg_not_on_latest_issue_edition_date": "No estás viendo la última edición disponible, ¿te gustaría cargar la edición del {{date}} de {{edition}} ahora?", - "msg_offline_article_graph": "Para utilizar esta función en modo sin conexión debe haber descargado completamente la edición o algunas imágenes o partes de texto podrìan estar ausentes.", - "msg_offline_issues": "Elija a leer una edición descargado", - "msg_opening_push": "Abrir notificaciones push...", - "msg_pending_purchases": "Completando compras pendientes: {{completed}} de {{total}}", - "msg_reload_publication": "Descargar automáticamente la última edición", - "msg_restore_default_settings": "¿Quieres restaurar la configuración predeterminada de la aplicación?", - "msg_rss_new_articles_available": "{{count}} los nuevos artículos están disponibles", - "msg_rss_no_new_articles_available": "Usted está para arriba-a-fecha de", - "msg_rss_one_new_article_available": "1 nuevo artículo está disponible", - "msg_rss_reload_database": "Nueva base de datos descargados", - "msg_rss_update_error": "Error durante la actualización, compruebe su conexión a internet e inténtelo de nuevo", - "msg_search_empty": "Nada fue buscado", - "msg_search_lite": "Ver resultados en la página", - "msg_search_not_found": "No se ha encontrado ningún artículo con {{text}}", - "msg_sent": "expedido", - "msg_share_unmanaged": "Opción de acciones no gestionada", - "msg_tts_error": "Ocurre un error, vuelva a intentarlo más tarde", - "msg_tts_no_volume": "Aumenta el volumen para escuchar el articulo", - "msg_tts_unsupported": "Idioma no compatible, intente usar la voz predeterminada o compruebe si existe un paquete de idioma personalizado", - "my_home_categories_selected": "{{categories}} categorías seleccionadas para un total de {{articles}} artículos", - "my_location": "Usar mi ubicación", - "network": "Red", - "none": "Ninguna", - "normal": "Normal", - "offline_download_warning": "Esta edición no se descarga completamente. Algunas partes de las páginas pueden aparecer borrosas", - "permission_storage_message": "{{appName}} necesidades de almacenamiento de permiso", - "permission_title": "{{appName}} permiso", - "pj_from_page": "de la página", - "pj_to_page": "a la página", - "pj_continue_to_page": "Continuar a la página", - "pj_continue_to_page_parent": "Página", - "powered_by": "Desarrollado por TECNAVIA", - "powered_by_who": "Powered by {{who}}", - "push_notification": "Notificación de inserción", - "reader_app_text": "Las cuentas o compras hechas fuera de esta app serán administradas por el desarrollador “{{developerName}}”. Tu cuenta de App Store, el método de pago guardado y las prestaciones relacionadas con esta cuenta, tales como la administración de suscripciones y los solicitudes de reembolso, no estarán disponibles. Apple no es responsable de la privacidad ni la seguridad de las transacciones realizadas con este desarrollador.", - "reader_app_title": "Estás a punto de salir de la app y entrar en un sitio web externo. Tus transacciones ya no serán con Apple.", - "salary": "Salario: {{salary}}", - "save_search": "Salvar bùsqueda", - "saved_searches": "Búsquedas guardadas", - "search_term": "Término de la búsqueda", - "select_after_date": "Seleccione después de la fecha de", - "select_my_home_categories": "Elija su favorito categorías de la lista a continuación para personalizar tu {{category}}", - "selected_categories": "Categorías seleccionadas", - "selected_time_range": "Rango de fechas seleccionado", - "settings": "Ajustes", - "settings_allow_font_scaling": "Permitir escala de fuente", - "settings_startup_epaper": "E-Edition", - "settings_startup_rss": "Noticias en vivo", - "settings_startup_choose": "Elige cada vez", - "show": "SHOW", - "sort_by_date": "Ordenar por zona horaria", - "sort_by_name": "Ordenar por AZ", - "sort_by_name_reverse": "Ordenar por ZA", - "sort_by_popularity": "Ordenar por popularidad", - "sort_date_disabled": "Ordenar en fecha deshabilitar", - "start_with": "Empezar con", - "str_custom": "Personalizado", - "str_default_language": "Volver al idioma original", - "str_from": "De", - "str_limit_label": "Número máximo de ediciones almacenadas: {{days}}", - "str_next_week": "La próxima semana", - "str_page": "Página", - "str_search": "Buscar", - "str_search_results": "{{text}} - {{count}} resultados", - "str_special_sections": "Secciones especiales", - "str_this_week": "Esta Semana", - "str_this_weekend": "Este fin de semana", - "str_time_range": "Rango de fechas", - "str_title": "Título", - "str_to": "A", - "str_today": "Hoy", - "str_tomorrow": "Mañana", - "str_translating_article": "Traduciendo artículo...", - "system_error": "Ocurrió un error", - "theme": "Tema", - "title_bottom_sheet": "Acciones", - "title_offline": "Sin conexión a Internet", - "toggle": "PALANCA", - "toggle_layout": "Cambiar diseño", - "toggle_list": "Palanca lista", - "toggle_map": "Mapa de palanca", - "total_events": "Eventos: {{total}}", - "total_favorites": "Favorites: {{total}}", - "total_jobs": "Trabajos: {{total}}", - "total_searches": "Searches: {{total}}", - "tutorial": "Tutorial", - "unknown_salary": "Sueldo desconocido", - "unsave_search": "Eliminar búsqueda guardada", - "version": "Versiòn", - "vertical_job_location_hint": "Selecciona una ubicación", - "vertical_job_text_hint": "Introduzca una palabra clave para la búsqueda", - "user_tip_download_title": "Consejo", - "user_tip_download": "Si desea descargar todas las ediciones para poder leerla sin conexión automáticamente pulse el botón 'Más' -> 'Configuración' -> Seleccione 'Modo wifi' como modo de conexión", - "offline_download_dialog": "¿Quieres descargar toda la edición para poder leerla sin conexión?", - "mobile_network_warning": "Estás conectado a una red móvil en lugar de WiFi", - "msg_operation_completed": "Operación completada", - "msg_ok_delete_db": "Se han eliminado todas las ediciones guardadas.", - "msg_download_rss": "Descargando nuevos artículos...", - "settings_translate": "Traducir artículos a", - "settings_themes": "Tema", - "settings_font_size": "Tamaño de letra", - "settings_graph_size": "Nivel de zoom", - "settings_number_stored_editions": "Max almacenados ediciones", - "settings_restart_from_latest": "Reiniciar de la edición disponible más reciente (min)", - "settings_article_mode": "Modo articulo", - "settings_article_mode_all": "Mostrar todo", - "settings_article_mode_text_and_graphics": "Mostrar articulos textuales y graficos", - "settings_article_mode_only_text": "Mostrar solo los articulos textuales", - "settings_restore_defaults": "Restaurar la configuración predeterminada", - "settings_clear_storage": "Almacenaje vacío", - "settings_back_to_classic": "Vuelve a la versión de la Edición Digital anterior", - "settings_two_fingers_tap_to_article": "Use dos dedos para abrir el modo de artículo", - "settings_single_tap_to_zoom": "Use un solo toque para hacer zoom", - "settings_favorite_edition": "Elige tu edición favorita", - "settings_favorite_edition_default_label": "Última edición disponible", - "reset": "REINICIAR", - "open": "ABIERTO", - "settings_enable_column_view": "Habilitar modo de lectura en columnas", - "settings_navigation_arrows": "Flechas de navegación", - "settings_navigation_arrows_always": "siempre presentes", - "settings_navigation_arrows_disapper": "desaparecen al leer", - "settings_navigation_arrows_never": "nunca presentes", - "general": "Ajustes de Aplicacion", - "settings_translate_original": "Idioma original", - "advance": "{{label}} | Configuraciónes avanzadas", - "send": "ENVIAR", - "btn_feedback": "Feedback", - "return": "REGRESO", - "settings_article_highlight": "Mantener el artículo resaltado cuando el modo artículo está abierto", - "write": "ESCRIBIR", - "btn_continue": "Continuar", - "btn_go_back": "Regresa", - "btn_go_next": "Siguiente", - "btn_go_up": "Nivel anterior", - "action_go_to_settings": "Ir a configuración", - "btn_reload": "Recargar", - "btn_tts": "Alternar texto a voz", - "btn_close_accessibility": "Cerrar el modo de accesibilidad", - "err_module_unavailable": "{{module}} no está disponible en esta aplicación", - "force_crash": "Forzar bloqueo", - "hint_my_home_screen_config": "Para personalizar {{label}}", - "hint_two_fingers_tap": "Para leer un artículo, toque el área del artículo con dos dedos", - "msg_access_reserved": "Acceso reservado a suscriptores", - "msg_already_subscriber": "¿Ya eres suscriptor? Iniciar sesión", - "msg_continue_to_read": "Suscríbete a {{paper}}", - "settings_zoom_level": "Nivel de zoom", - "settings_zoom_level_large": "Grande", - "settings_zoom_level_larger": "Más grande", - "settings_zoom_level_normal": "Normal", - "restart": "Reiniciar", - "str_no_categories": "sin categorías", - "msg_login_overlay_title": "Continuar leyendo", - "msg_download_bundle": "Descargando datos de la aplicación más recientemente ...", - "msg_download_bundle_error": "La descarga del paquete terminó con error, la aplicación intentará actualizar la fecha más tarde", - "msg_press_restart": "Los datos se descargaron correctamente, vuelva a cargar la aplicación para aplicar los cambios", - "voice_back": "atrás", - "voice_what": "que", - "voice_next": "siguiente", - "voice_next_page": "siguiente página", - "voice_previous": "anterior", - "voice_previous_page": "página anterior", - "voice_stop": "para", - "voice_read": "lee", - "voice_close": "cierra", - "voice_up": "arriba", - "voice_down": "abajo", - "voice_select": "selecciona", - "btn_close_car_mode": "Cerrar el modo de coche", - "btn_car_mode": "Modo coche", - "msg_max_share": "Alcanzaste el límite de uso compartido diario para esta edición", - "accessibility_issue_list_header": "Lista de ediciones", - "btn_close_editions": "Cerrar lista de ediciones", - "btn_go_back_article": "Artículo anterior", - "btn_go_next_article": "Siguiente artículo", - "btn_go_back_section": "Sección anterior: {{section}}", - "btn_go_next_section": "Siguiente sección: {{section}}", - "btn_go_up_choose_issue": "Escoger edición", - "btn_go_up_general_index": "Ir al índice general", - "btn_go_up_section": "Ir a la sección {{section}}", - "selected_page": "Página seleccionada {{page}}", - "selected_page_of_index": "Página {{page}} del índice", - "selected_page_of_section": "Página {{page}} de la sección {{section}}", - "msg_entering_section": "Sección de entrada {{section}}", - "hint_restart": "La aplicación se reiniciará para cargar la nueva configuración...", - "hint_update_ui": "La interfaz de usuario se actualizará para cargar nuevas configuraciones, podría ver un parpadeo...", - "msg_simulate_accessibility_title": "Habilitar el modo de accesibilidad", - "msg_simulate_accessibility": "Esta es una simulación de la aplicación cuando {{accessibilityAppName}} está activo.\n • toque dos veces para seleccionar\n • un solo toque o movimiento del dedo para leer el elemento\n • dos dedos para deslizar", - "accessibility": "Accesibilidad", - "msg_screenshots_disabled": "No se permiten capturas de pantalla en esta aplicación.", - "settings_tab_index_mode": "Habilitar diseño con pestañas en modo índice", - "settings_enable_push_notifications": "Habilitar notificaciones automáticas", - "settings_manage_privacy_preferences": "Administrar preferencias de privacidad", - "theme_auto": "Claro/Oscuro Automático", - "theme_light": "Luz", - "theme_dark": "Oscuro", - "str_sort_by": "Ordenar por", - "str_relevance": "Relevancia", - "btn_from": "De", - "btn_to": "A", - "str_date": "Fecha", - "srt_order": "Orden", - "str_byline": "línea de autor", - "str_descending": "Descendente", - "str_ascending": "ascendente", - "str_categories": "Categorías", - "str_select": "Seleccionar...", - "str_advertisement": "Anuncio", - "iap_go_to_subscriptions": "Ir a suscripción", - "iap_multiple_subscriptions": "Múltiples suscripciones", - "iap_multiple_subscriptions_message": "Descubrimos que tiene varias suscripciones activas; desactive las que no necesita. Cuando una suscripción ha sido deshabilitada, se reembolsará.{{subscriptions}}", - "iap_multiple_active_subscriptions_message": "Ya tienes una suscripción activa, ¿te gustaría comprar una nueva de todos modos? {{subscriptions}}", - "settings_title_box": "Mostrar cuadros de título del artículo", - "enable_debug_overlay": "Habilitar debugger", - "disable_debug_overlay": "Deshabilitar el debugger", - "edit_token": "Editar token", - "title_edit_token_confirm": "¿Quieres actualizar el token?", - "msg_edit_token_confirm": "Nuevo valor: \"{{token}}\"", - "uploading": "Cargando..." -}; -},1988,[]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "action_go_to_category": "Du-te la {{anchor}}", - "action_open_epaper": "Deschide epaper", - "action_open_gallery": "Deschide galeria", - "action_open_link": "Deschide link-ul", - "action_remove_from_favorites": "Eliminare din favorite", - "action_save_for_later": "Salva pentru mai târziu", - "action_share": "Cota", - "action_unknown": "Necunoscut", - "alert_message": "Ești sigur?", - "all": "Toate", - "all_events": "Toate evenimentele", - "all_jobs": "Toate locurile de muncă", - "animation": "Animație", - "animation_action": "Faceți clic pe butonul pentru a schimba animație", - "animation_change": "Animație schimba", - "animation_changed": "Animație schimbat", - "article_count": "{{count}} articole", - "btn_accessibility": "Mod accesibilitate", - "btn_account": "Login", - "btn_advance_filters": "Avans filtre", - "btn_archive": "Arhivă", - "btn_ask_later": "Întreabă-Mă Mai Târziu", - "btn_back": "înapoi", - "btn_cancel": "Anulați", - "btn_close": "Aproape", - "btn_confirm": "Confirma", - "btn_contact": "Contact", - "btn_disable_log_file": "Trimite LOG", - "btn_do_not_show": "Nu Arăta din Nou", - "btn_download": "Descarcă", - "btn_editions": "Ediții noi", - "btn_enable_log_file": "Permite LOG", - "btn_feed": "Știri live", - "btn_fit_page": "Se potrivi", - "btn_g_book": "Răsfoiește", - "btn_go_to_news": "Du-te la știri", - "btn_help": "Ajutor", - "btn_index": "Index", - "btn_link": "Link URL", - "btn_login": "Login", - "btn_logout": "Logout", - "btn_more": "Continuă", - "btn_no": "Nu", - "btn_ok": "OK", - "btn_publications": "Publicații", - "btn_read": "Citit", - "btn_reset": "Reset", - "btn_search": "Căutare", - "btn_set_as_default": "Setează ca implicit", - "btn_settings": "Setari", - "btn_skip": "Skip", - "btn_special_section": "Speciale", - "btn_store": "Salva", - "btn_swipe": "Răsfoiește", - "btn_thumbnail": "Pagini", - "btn_yes": "Da", - "cache_size": "Dimensiunea memoriei Cache", - "card": "Card", - "categories": "Categorii", - "change": "SCHIMBA", - "change_location_hint": "Schimbă locația", - "change_radius": "Selectaţi raza", - "clear": "CLAR", - "clear_cache": "Clear cache", - "clear_favorites": "Clar favorite", - "confirm": "Confirma", - "connection_0": "Modul Roaming", - "connection_0_description": "Ideal atunci când este disponibilă o lățime de bandă limitată. \nVersiunea textuală a ediției este descărcată, imaginile vor fi afișate la rezoluție foarte mică.", - "connection_1": "Modul online", - "connection_1_description": "Ideal când este conectat la internet. \nDoar paginile vizualizate sunt descărcate și disponibile pentru citire offline.", - "connection_2": "Offline-läge:", - "connection_2_description": "Descarcă automat întreaga ediție la pornire pentru citire offline.", - "counter": "{{current}} {{total}}", - "custom_location": "Judet", - "database": "Baza de date", - "database_deleted": "Baza de date șterse", - "default_search": "Căutare implicită", - "dialog_location_message": "Vom utiliza locația dvs. pentru a afișa în cazul în care vă aflați pe hartă", - "dialog_location_title": "Avem nevoie de acces la locația dvs.", - "disabled": "Dezactivate", - "enabled": "Activat", - "err_change_animation": "De eroare pentru a schimba animație", - "err_clear_cache": "Eroare la cache clar", - "err_clear_database": "De eroare pentru a șterge baza de date", - "err_clear_favorites": "Eroare la favorite clare", - "err_download_psetup": "Eroare în timpul descărcării de bază configurații", - "err_internet_connection": "Nu se putea conecta la server de aplicații. Vă rugăm să vă asigurați că aveți conexiune la internet și încercați din nou.", - "err_max_min": "Invalid filtru, min trebuie să fie mai mică decât max", - "err_retrieve_cache": "De eroare pentru a prelua cache", - "err_retrieve_favorites": "De eroare pentru a prelua favorite", - "err_translation": "Traducerea nu este disponibilă", - "err_translation_offline": "Traducerea nu este disponibilă offline", - "error_on_load_more": "Eroare atunci când încearcă să-încărcare mai multe elemente", - "fast": "Rapid", - "favorites": "Favorite", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_msg_ask_for_feedback": "Există ceva ce putem face pentru a ajuta?", - "feedback_title_request_feedback": "Te bucuri de timpul tău cu Aplicația?", - "feedback_title_request_review_feedback": "Mă bucur să aud! Doriți să lăsați un comentariu sau evaluare?", - "filter_max": "Max", - "filter_min": "Min", - "filter_text": "Scrie textul aici", - "font_extra_large": "Foarte mare", - "font_extra_small": "Extra mic", - "font_large": "Mare", - "font_normal": "Normal", - "font_scale": "Scară Font", - "font_small": "Mici", - "from_most_recent": "Din cele mai recente", - "from_oldest": "Din cele mai vechi", - "gmc_default_text": "O nouă emisiune este disponibil. Apăsați aici pentru a citi!", - "gmc_message_text": "{{issue}} ziar este acum disponibil. Apăsați aici pentru a citi!", - "grid": "Grila", - "grid_list": "grid/listă", - "home": "Acasă", - "label_exit_accessibility_mode": "Ieșiți din modul de accesibilitate", - "label_open_browser": "Deschis în browser", - "last_search": "Ultima căutare", - "layout": "Layout", - "learn_more": "Aflați mai multe", - "list": "Lista", - "loading": "Loading...", - "local_events": "Evenimente locale:", - "max_salary": "Max. salariu", - "min_salary": "Min. salariu", - "msg_available_next_startup": "Această configurație va fi disponibilă pentru lansarea următoare", - "msg_clear_cache": "Clear cache", - "msg_clear_favorites": "Șterge favorite", - "msg_copy_to_clipboard": "Copiați în clipboard", - "msg_database_deleted": "Ștergeți baza de date", - "msg_delete_db": "Ștergeți datele bazei de date?", - "msg_delete_localstorage": "Ștergeți setările personale?", - "msg_delete_title": "vrei sa", - "msg_download_edition": "Descărcând ediția...", - "msg_download_retry": "Încercați {{retry}} din {{maxRetries}}...", - "msg_empty_category": "În prezent, nu există articole atribuite {{category}}! Atingeți pentru a reîmprospăta", - "msg_empty_favorites": "În prezent, nu există favorite!", - "msg_empty_gallery": "Clic galerie este gol", - "msg_empty_list": "În prezent, nu există elemente! Atingeți pentru a schimba unele filtre", - "msg_empty_searches": "În prezent, nu există căutări salvate", - "msg_error_category": "Ceva a mers prost, încercați să redeschideți categorie sau de a șterge date din setări! Atingeți pentru a reîmprospăta", - "msg_error_list": "Ceva a mers prost, să încerce să schimbe ceva filtre", - "msg_error_newspaper": "Ziarul este gol", - "msg_event_over": "Evenimentul s-a încheiat.", - "msg_exit_application": "Ieșirea din aplicație?", - "msg_failed": "Nereușit", - "msg_list_no_articles_available_for_category": "Acest lucru nu este o eroare. În prezent, nu există articole atribuite la această categorie!", - "msg_list_no_content": "Nu de conținut curent", - "msg_loading_comments": "Se încarcă comentariile...", - "msg_loading_more": "De încărcare mai mult...", - "msg_new_issue_available_title_edition": "În prezent citiți {{edition}}", - "msg_new_issue_available_title_edition_date": "În prezent, citiți numărul din {{edition}} din {{date}}", - "msg_new_issue_available": "O nouă ediție este acum disponibilă, doriți să o descărcați?", - "msg_new_issue_available_edition": "O nouă ediție a {{edition}} este acum disponibilă. Doriți să-l încărcați?", - "msg_new_issue_available_date": "Numărul din {{date}} este acum disponibil. Doriți să-l încărcați?", - "msg_new_issue_available_edition_date": "Numărul {{edition}} din {{date}} este acum disponibil. Doriți să-l încărcați?", - "msg_not_on_latest_issue": "Nu vă uitați la cea mai recentă ediție disponibilă. Doriți să îl încărcați acum?", - "msg_not_on_latest_issue_edition": "Nu vedeți cea mai recentă ediție disponibilă a {{edition}}. Doriți să îl încărcați acum?", - "msg_not_on_latest_issue_date": "Nu vă uitați la cea mai recentă ediție disponibilă. Doriți să descărcați numărul din {{date}}?", - "msg_not_on_latest_issue_edition_date": "Nu vă uitați la cea mai recentă ediție disponibilă. Doriți să descărcați numărul {{edition}} din {{date}}?", - "msg_offline_article_graph": "Pentru a utiliza această caracteristică offline, trebuie să fi descărcat ediția completă sau unele imagini pot lipsi.", - "msg_offline_issues": "Selectați o ediție descărcată pentru a citi", - "msg_opening_push": "Deschiderea notificărilor push...", - "msg_pending_purchases": "Finalizarea achizițiilor în așteptare: {{completed}} din {{total}}", - "msg_reload_publication": "descărcați automat ultima ediție?", - "msg_restore_default_settings": "Doriți să restaurați setările implicite ale aplicației?", - "msg_rss_new_articles_available": "{{count}} noi articole sunt disponibile", - "msg_rss_no_new_articles_available": "Vă sunt de până-la-data de", - "msg_rss_one_new_article_available": "1 articol nou este disponibil", - "msg_rss_reload_database": "Noua bază de date descărcate", - "msg_rss_update_error": "Eroare in timpul update-ului, verificați conexiunea la internet și încercați din nou", - "msg_search_empty": "Nu s-a căutat nimic", - "msg_search_lite": "Vizualizați rezultatele pe pagina", - "msg_search_not_found": "Nu a fost găsit niciun articol cu {{text}}", - "msg_sent": "Trimis", - "msg_share_unmanaged": "Opțiune pe acțiuni unmanaged", - "msg_tts_error": "Se produce o eroare, Reîncercați mai târziu!", - "msg_tts_no_volume": "Măriți volumul la textul ascuns", - "msg_tts_unsupported": "Limba neacceptată, încercați să folosiți vocea prestabilită sau verificați dacă există un pachet de limbaj personalizat!", - "my_home_categories_selected": "{{categories}} categoriile selectate pentru un total de {{articles}} articole", - "my_location": "Utilizați locația mea", - "network": "Reţea", - "none": "Nici unul", - "normal": "Normal", - "permission_storage_message": "{{appName}} are nevoie de permisiunea de stocare", - "permission_title": "{{appName}} permisiunea", - "pj_from_page": "din pagina", - "pj_to_page": "la pagina", - "pj_continue_to_page": "Continuați cu pagina", - "pj_continue_to_page_parent": "Pagina", - "powered_by": "Traduceți descrierea înapoi în engleză", - "powered_by_who": "Powered by {{who}}", - "push_notification": "Notificare Push", - "reader_app_text": "Orice conturi sau achiziții efectuate în afara acestei aplicații vor fi gestionate de dezvoltatorul {{developerName}}. Contul dvs. App Store, metoda de plată înregistrată și alte funcționalități asociate, precum gestionarea abonamentelor și solicitările de rambursare nu vor fi disponibile. Apple nu este responsabil pentru confidențialitatea sau securitatea tranzacțiilor efectuate cu acest dezvoltator.", - "reader_app_title": "Sunteți pe punctul de a părăsi aplicația și a accesa un site extern. Nu veți mai tranzacționa cu Apple.", - "salary": "Salariu: {{salary}}", - "save_search": "Salva de căutare", - "saved_searches": "Căutări Salvate", - "search_term": "Caută termenul", - "select_after_date": "Selectați după data", - "select_my_home_categories": "Alege categoriile tale preferate din lista de mai jos pentru a personaliza {{category}}", - "selected_categories": "Categorii selectate", - "selected_time_range": "Interval de date selectat", - "settings": "Setări", - "settings_allow_font_scaling": "Permite scalarea fonturilor", - "settings_startup_epaper": "E-Edition", - "settings_startup_rss": "Live News", - "settings_startup_choose": "Alege de fiecare dată", - "show": "SHOW", - "sort_by_date": "Sortare după dată", - "sort_by_name": "Sortează după A-Z", - "sort_by_name_reverse": "Sortează după Z-A", - "sort_by_popularity": "Sortare după Popularitate", - "sort_date_disabled": "Sortare pe data dezactiva", - "start_with": "Începe Cu", - "str_custom": "Personalizat", - "str_default_language": "Revenire la limba originală", - "str_from": "De la", - "str_limit_label": "Număr de ediții stocate: {{days}}", - "str_next_week": "saptamana viitoare", - "str_page": "Pagina", - "str_search": "Căutare", - "str_search_results": "{{text}} - {{count}} rezultate", - "str_special_sections": "Secțiuni speciale", - "str_this_week": "Săptămâna aceasta", - "str_this_weekend": "Weekendul ăsta", - "str_time_range": "Interval dată", - "str_title": "Titlu", - "str_to": "Catre", - "str_today": "Astăzi", - "str_tomorrow": "Mâine", - "str_translating_article": "Traducerea articolului...", - "system_error": "A apărut o eroare", - "title_bottom_sheet": "Acțiunile", - "title_offline": "Fără conexiune internet", - "toggle": "COMUTARE", - "toggle_layout": "Comutare aspect", - "toggle_list": "Comuta lista", - "toggle_map": "Comutare hartă", - "total_events": "Evenimente: {{total}}", - "total_favorites": "Favorite: {{total}}", - "total_jobs": "Locuri de munca: {{total}}", - "total_searches": "Căutări: {{total}}", - "tutorial": "Tutorial", - "unknown_salary": "Necunoscut Salariu", - "unsave_search": "Elimina salvat de căutare", - "version": "Versiune", - "vertical_job_location_hint": "Selectați o locație", - "vertical_job_text_hint": "Introduceți un cuvânt cheie pentru căutare", - "mobile_network_warning": "Sunteți conectat la o rețea mobilă în loc de WiFi", - "msg_operation_completed": "Operațiunea finalizată", - "msg_ok_delete_db": "Toate edițiile salvate au fost șterse", - "msg_download_rss": "Se descarcă articole noi...", - "settings_translate": "Traduceți articole în", - "settings_themes": "Temă", - "settings_graph_size": "Nivel de zoom", - "settings_number_stored_editions": "Numărul de ediții de stocat", - "settings_restart_from_latest": "Reporniți de la cea mai recentă ediție (min)", - "settings_article_mode": "Mod articol", - "settings_article_mode_all": "Arata tot", - "settings_article_mode_text_and_graphics": "Afișați articole și grafică", - "settings_article_mode_only_text": "Afișați numai articole", - "settings_restore_defaults": "Restabilește setările implicite", - "settings_clear_storage": "Spațiu de depozitare liber", - "settings_back_to_classic": "Reveniți la ediția clasică", - "settings_two_fingers_tap_to_article": "Atingeți cu două degete pentru a deschide modul articol", - "settings_single_tap_to_zoom": "Folosiți o singură atingere pentru a mări", - "settings_favorite_edition": "Alegeți ediția preferată", - "settings_favorite_edition_default_label": "Ultima ediție disponibilă", - "reset": "RESET", - "open": "DESCHIS", - "settings_enable_column_view": "Activați vizualizarea pe mai multe coloane a articolelor", - "settings_navigation_arrows": "Săgeți de navigare", - "settings_navigation_arrows_always": "mereu prezent", - "settings_navigation_arrows_disapper": "dispar la citire", - "settings_navigation_arrows_never": "niciodată prezent", - "general": "Setările aplicației", - "settings_translate_original": "Limba originală", - "advance": "{{label}} | Setări avansate", - "send": "TRIMITE", - "btn_feedback": "Părere", - "return": "ÎNTOARCERE", - "settings_article_highlight": "Păstrați articolul curent evidențiat când modul articol este deschis", - "write": "SCRIE", - "btn_continue": "Continuați", - "btn_go_back": "Întoarce-te", - "btn_go_next": "Du-te mai departe", - "btn_go_up": "Nivelul anterior", - "btn_reload": "Reîncărcați", - "action_go_to_settings": "Mergi la Setari", - "btn_tts": "Comutați text în vorbire", - "btn_close_accessibility": "Închideți modul de accesibilitate", - "err_module_unavailable": "{{module}} nu este disponibil în această aplicație", - "force_crash": "Prăbușire forțată", - "hint_my_home_screen_config": "Pentru a personaliza {{label}}", - "hint_two_fingers_tap": "Pentru a citi un articol, atingeți zona articolului cu două degete", - "hint_restart": "Aplicația va reporni pentru a încărca noi configurații...", - "hint_update_ui": "Interfața de utilizator se va actualiza pentru a încărca noi setări, este posibil să observați o pâlpâire.", - "msg_access_reserved": "Acces rezervat abonaților", - "msg_already_subscriber": "Ești deja abonat? \nAutentificare", - "msg_continue_to_read": "Abonați-vă la {{paper}}", - "theme": "Temă", - "settings_zoom_level": "Nivel de zoom", - "settings_zoom_level_large": "Mare", - "settings_zoom_level_larger": "Mai mare", - "settings_zoom_level_normal": "Normal", - "restart": "Repornire", - "str_no_categories": "fara categorii", - "msg_login_overlay_title": "Pentru a continua lectura", - "voice_back": "înapoi", - "voice_what": "ce", - "voice_next": "urmatorul", - "voice_next_page": "pagina următoare", - "voice_previous": "anterior", - "voice_previous_page": "pagina anterioară", - "voice_stop": "opriți", - "voice_read": "citește", - "voice_close": "închidere", - "voice_up": "sus", - "voice_down": "jos", - "voice_select": "selectați", - "msg_max_share": "Ați atins limita zilnică de distribuire pentru această ediție", - "accessibility": "Accesibilitate", - "msg_simulate_accessibility_title": "Activați modul de accesibilitate", - "msg_screenshots_disabled": "Capturile de ecran nu sunt permise în această aplicație", - "settings_tab_index_mode": "Activați aspectul filei în modul index", - "settings_enable_push_notifications": "Activați notificările push", - "settings_manage_privacy_preferences": "Gestionați preferințele de confidențialitate", - "theme_auto": "Lumină/Întuneric automat", - "theme_light": "Ușoară", - "theme_dark": "Întuneric", - "str_sort_by": "Filtrează după", - "str_relevance": "Relevanţă", - "btn_from": "Din", - "btn_to": "La", - "str_date": "Data", - "srt_order": "Ordin", - "str_byline": "Byline", - "str_descending": "Descendentă", - "str_ascending": "Ascendent", - "str_categories": "Categorii", - "str_select": "Selectați...", - "str_advertisement": "Publicitate", - "iap_go_to_subscriptions": "Accesați Abonament", - "iap_multiple_subscriptions": "Abonamente multiple", - "iap_multiple_subscriptions_message": "Am descoperit că aveți mai multe abonamente active, vă rugăm să dezactivați-le pe cele de care nu aveți nevoie. Când un abonament a fost dezactivat, acesta va fi rambursat.{{subscriptions}}", - "iap_multiple_active_subscriptions_message": "Aveți deja un abonament activ, oricum doriți să cumpărați unul nou? {{subscriptions}}", - "settings_title_box": "Afișați casetele cu titlul articolului", - "enable_debug_overlay": "Activați depanatorul", - "disable_debug_overlay": "Dezactivați depanatorul", - "edit_token": "Editați token", - "title_edit_token_confirm": "Doriți să actualizați token?", - "msg_edit_token_confirm": "Valoare nouă: \"{{token}}\"", - "uploading": "Se încarcă..." -}; -},1989,[]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "action_go_to_category": "Pojdi na {{anchor}}", - "action_open_epaper": "Odpri časopis", - "action_open_gallery": "Odpri galerijo", - "action_open_link": "Sledi povezavi", - "action_remove_from_favorites": "Odstrani iz priljubljenih", - "action_save_for_later": "Shrani za pozneje", - "action_share": "Deli", - "action_unknown": "Neznano", - "alert_message": "Ste prepričani?", - "all": "Vse", - "all_events": "Vsi dogodki", - "all_jobs": "Vsa delovna mesta", - "animation": "Animacija", - "animation_action": "Kliknitete za spremembo", - "animation_change": "Sprememba animacije", - "animation_changed": "Animacija spremenjena", - "article_count": "{{count}} člankov", - "btn_accessibility": "Način dostopanja", - "btn_car_mode": "Avtomobilski način", - "btn_account": "Račun", - "btn_add_event": "Dodaj dogodek", - "btn_advance_filters": "Napredni filtri", - "btn_archive": "Arhiv", - "btn_ask_later": "Vprašaj me pozneje", - "btn_back": "Nazaj", - "btn_continue": "Nadaljuj", - "btn_cancel": "Prekliči", - "btn_close": "Zapri", - "btn_confirm": "Potrdite", - "btn_contact": "Pišite na", - "btn_disable_log_file": "Pošlji LOG", - "btn_do_not_show": "Ne prikazati znova", - "btn_download": "Brez povezave", - "btn_editions": "Izdaje", - "btn_enable_log_file": "Omogočite LOG", - "btn_feed": "Novice v živo", - "btn_feedback": "Povratne informacije", - "btn_fit_page": "Fit", - "btn_g_book": "Brskaj", - "btn_go_to_news": "Pojdi na novice", - "btn_help": "Pomoč", - "btn_index": "Kazalo", - "btn_link": "Povezava", - "btn_login": "Prijava", - "btn_logout": "Odjava", - "btn_more": "Več", - "btn_no": "Ne", - "btn_ok": "V REDU", - "btn_reload": "Ponovno naložite", - "btn_publications": "Publikacije", - "btn_read": "Preberite", - "btn_reset": "Ponastavitev", - "btn_search": "Iskanje", - "btn_set_as_default": "Nastavite kot privzeto", - "btn_settings": "Nastavitve", - "btn_skip": "Preskoči", - "btn_special_section": "Posebnosti", - "btn_store": "Shranjevanje", - "btn_swipe": "Podrsajte", - "btn_thumbnail": "Strani", - "btn_yes": "Da", - "btn_go_back": "Pojdi nazaj", - "btn_go_back_article": "Prejšnji članek {{index}}", - "btn_go_back_section": "Prejšnji razdelek: {{section}}", - "btn_go_next": "Pojdi na naslednjega", - "btn_go_next_article": "Naslednji članek {{index}}", - "btn_go_next_section": "Naslednji razdelek: {{section}}", - "btn_go_up": "Prejšnji nivo", - "btn_go_up_choose_issue": "Izberite vprašanje", - "btn_go_up_general_index": "Pojdi na splošno kazalo", - "btn_go_up_section": "Pojdi na razdelek {{section}}", - "btn_tts": "Preklop Pretvroba besedila v govor", - "btn_close_car_mode": "Zapri avtomobilski način", - "btn_close_accessibility": "Zapri način dostopnosti", - "btn_close_editions": "Zapri seznam vprašanj", - "cache_size": "Velikost predpomnilnika", - "card": "Kartica", - "mixed": "Mešana postavitev", - "categories": "Kategorije", - "labels": "Oznake", - "return": "VRNITEV", - "change": "SPREMEMBA", - "open": "ODPRI", - "reset": "PONASTAVI", - "change_location_hint": "Sprememba lokacije", - "change_radius": "Izberite radius", - "clear": "POČISTIT", - "clear_cache": "Počisti predpomnilnik", - "clear_favorites": "Počisti priljubljene", - "confirm": "Potrdite", - "connection_0": "Način gostovanja", - "connection_0_description": "Optimalno delovanje, če je na voljo omejena pasovna širina. Prenesena je besedilna različica izdaje, slike bodo prikazane v zelo nizki ločljivosti.", - "connection_1": "Spletni način", - "connection_1_description": "Optimalno delovanje z internetno povezavo. Prenesejo se samo ogledane strani, ki so na voljo za branje brez povezave.", - "connection_2": "Način brez povezave", - "connection_2_description": "Ob zagonu samodejno prenese celotno izdajo za branje brez povezave.", - "copy_files": "Kopiranje datotek", - "counter": "{{current}} od {{total}}", - "custom_location": "Lokacija po meri", - "database": "Podatkovna baza", - "database_deleted": "Zbirka podatkov izbrisana", - "default_search": "Privzeto iskanje", - "dialog_location_message": "Vašo lokacijo uporabljamo za prikaz vaše pozicije na zemljevidu", - "dialog_location_title": "Potrebujemo dostop do vaše lokacije", - "disabled": "Onemogočeno", - "enabled": "Omogočeno", - "err_voice_recognition_no_services": "Najdena ni bila nobena nameščena storitev", - "err_voice_recognition_generic": "Nekaj je narobe pri prepoznavanju glasu", - "err_voice_recognition": "Napaka pri prepoznavanju glasu {{message}}", - "err_module_unavailable": "{{module}} ni na voljo v tej aplikaciji", - "err_change_animation": "Napaka pri spreminjanju animacije", - "err_clear_cache": "Napaka pri čiščenju predpomnilnika", - "err_clear_database": "Napaka pri čiščenju podatkovne zbirke", - "err_clear_favorites": "Napaka pri brisanju priljubljenih", - "err_download_edition": "Med prenosom izdaje je prišlo do napake", - "err_download_edition_db": "Med prenosom podatkovne zbirke izdaje je prišlo do napake", - "err_download_psetup": "Napaka med prenosom osnovnih konfiguracij", - "err_internet_connection": "Povezava z strežnikom aplikacij ni mogoča. Prepričajte se, da je vse v redu z vašo internetno povezavo, in poskusite znova.", - "err_max_min": "Neustrezni filter, kriterij 'min' mora biti manjši od 'max'", - "err_offline": "Zunanja vsebina ni na voljo brez povezave", - "err_reset_notification_email": "Ponastavite e-poštno sporočilo z obvestilom", - "err_retrieve_cache": "Napaka pri pridobivanju predpomnilnika", - "err_retrieve_favorites": "Napaka pri pridobivanju priljubljenih vsebin", - "err_translation": "Prevod ni na voljo", - "err_translation_offline": "Prevod ni na voljo brez povezave", - "error_on_load_more": "Napaka pri poskusu nalaganja več elementov", - "fast": "Hitro", - "favorites": "Priljubljene", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_email_subject": "Povratne informacije za {{who}}", - "feedback_msg_ask_for_feedback": "Ali vam lahko kako pomagamo?", - "feedback_title_request_feedback": "Ali vam je aplikacija všeč?", - "feedback_title_request_review_feedback": "Odziv nas veseli! Bi rad posredoval komentar ali oceno?", - "filter_max": "Max", - "filter_min": "Min", - "filter_text": "Besedilo vpišite sem", - "font_extra_large": "Zelo velik", - "font_extra_small": "Zelo majhen", - "font_large": "Veliko", - "font_normal": "Normalno", - "font_scale": "Lestvica pisav", - "font_small": "Majhna", - "force_crash": "Zrušitev sistema", - "force_sublayout": "VSILJEN PODSTIL POSTAVITVE", - "from_most_recent": "Iz najnovejšega", - "from_oldest": "Od najstarejšega", - "gmc_default_text": "Na voljo je nova številka. Tapnite tukaj za branje!", - "gmc_message_text": "Časopis {{issue}} je zdaj na voljo. Tapnite tukaj za branje!", - "grid": "Mreža", - "grid_list": "Mreža/Seznam", - "hint_two_fingers_tap": "Če želite prebrati članek, se z dvema prstoma tapnite na območje članka", - "home": "Domov", - "label_exit_accessibility_mode": "Izhod iz načina dostopnosti", - "label_open_browser": "Odprite v brskalniku", - "last_search": "Zadnje iskanje", - "layout": "Postavitev", - "learn_more": "Več informacij", - "list": "Seznam", - "uploading": "Nalaganje...", - "loading": "Nalaganje...", - "local_events": "Lokalni dogodki", - "max_salary": "Največja plača", - "min_salary": "Najmanjša plača", - "mobile_network_warning": "Povezani ste z mobilnim omrežjem namesto z omrežjem WiFi", - "msg_entering_section": "Vstopate v razdelek {{section}}", - "msg_available_next_startup": "Ta konfiguracija bo na voljo ob naslednjem zagonu", - "msg_clear_cache": "Počistite predpomnilnik", - "msg_clear_favorites": "Počistite priljubljene", - "msg_copy_to_clipboard": "Kopiraj v odložišče", - "msg_delete_title": "Ali želite", - "msg_delete_db": "Naj izbrišemo podatke iz zbirke?", - "msg_operation_completed": "Operacija je zaključena", - "msg_ok_delete_db": "Vse shranjene izdaje so bile izbrisane", - "msg_delete_localstorage": "Brisanje osebnih nastavitev?", - "msg_database_deleted": "Izbriši zbirko podatkov", - "msg_download_bundle": "Prenos novejših podatkov o aplikacijah...", - "msg_download_bundle_error": "Prenos paketa se zaključi z napako, aplikacija bo poskusila posodobiti datum pozneje", - "msg_press_restart": "Prenos izdaje je bil uspešen, za uporabo sprememb ponovno naložite aplikacijo", - "msg_download_edition": "Prenos izdaje...", - "msg_download_retry": "Poskus {{retry}} od {{maxRetries}}...", - "msg_download_rss": "Prenos novih člankov...", - "msg_empty_category": "Trenutno ni nobenega članka, v kategoriji {{category}}! Tapnite za osvežitev", - "msg_empty_favorites": "Trenutno ni priljubljenih!", - "msg_empty_gallery": "Ta galerija je prazna", - "msg_empty_list": "Trenutno ni elementov! Tapnite za spremembo nekaterih filtrov", - "msg_empty_searches": "Trenutno ni shranjenih iskanj", - "msg_error_category": "Nekaj je šlo narobe, ponovno poskusite odpreti kategorijo ali izbrišite zbirko podatkov iz nastavitev! Tapnite za osvežitev", - "msg_error_list": "Nekaj je šlo narobe, poskusite spremeniti nekatere filtre", - "msg_error_newspaper": "Časopis je prazen", - "msg_event_over": "Dogodek je zaključen.", - "msg_exit_application": "Zapuščate aplikacijo?", - "msg_failed": "Neuspešno", - "msg_font_scaling": "Ali želite za to aplikacijo uporabiti velikost besedila v napravi?", - "msg_font_scaling_title": "Videti je, da imate v napravi nastavljeno velikost besedila po meri", - "msg_list_no_articles_available_for_category": "To ni napaka. Trenutno v tej kategoriji ni nobenih člankov!", - "msg_list_no_content": "Trenutno ni nobene vsebine", - "msg_loading_comments": "Nalaganje komentarjev...", - "msg_loading_more": "Dodatno nalagnje...", - "msg_new_issue_available_title_edition": "Trenutno berete {{edition}}", - "msg_new_issue_available_title_edition_date": "Trenutno berete {{date}} izdajo {{edition}}", - "msg_new_issue_available": "Na voljo je nova izdaja, ali jo želite naložiti?", - "msg_new_issue_available_edition": "Na voljo je nova izdaja {{edition}}, jo želite naložiti?", - "msg_new_issue_available_date": "Na voljo je izdaja {{date}}, jo želite naložiti?", - "msg_new_issue_available_edition_date": "Na voljo je {{date}} izdaja {{edition}}, ali jo želite naložiti?", - "msg_not_on_latest_issue": "Ne prikazujete zadnje razpoložljive izdaje, bi jo radi naložili zdaj?", - "msg_not_on_latest_issue_edition": "Ne ogledujete si zadnje razpoložljive izdaje {{edition}}, si ne ogledujete, jo želite naložiti zdaj?", - "msg_not_on_latest_issue_date": "Ne ogledujete si zadnje razpoložljive izdaje {{date}}, jo želite naložiti?", - "msg_not_on_latest_issue_edition_date": "Ne ogledujete si zadnje razpoložljive izdaje, ali želite naložiti izdajo {{date}} izdaje {{edition}}?", - "msg_notification_email_warning": "Nastavljeno je e-poštno sporočilo z obvestilom, ali želite nadaljevati?", - "msg_offline_article_graph": "Če želite to funkcijo uporabljati brez povezave, morate prenesti celotno izdajo, sicer lahko nekatere slike manjkajo.", - "msg_opening_article": "Odpiranje: {{title}}", - "msg_opening_push": "Odpiranje potisnih obvestil...", - "msg_pending_purchases": "Dokončanje čakajočih nakupov: {{completed}} od {{total}}", - "msg_reload_publication": "Zbirka podatkov izbrisana, samodejno prenesti najnovejšo izdajo?", - "msg_restore_default_settings": "Ali želite obnoviti privzete nastavitve aplikacije?", - "msg_rss_new_articles_available": "Na voljo so {{count}} novi članki", - "msg_rss_no_new_articles_available": "Podatki so posodobljeni", - "msg_rss_one_new_article_available": "Na voljo je 1 nov članek", - "msg_rss_reload_database": "Prenesena nova zbirka podatkov", - "msg_rss_update_error": "Napaka med posodobitvijo, preverite internetno povezavo in poskusite znova", - "msg_search_empty": "Ni bilo iskalne zahteve", - "msg_search_lite": "Oglejte si rezultate na strani", - "msg_search_not_found": "Najden ni bil noben članek s {{text}}", - "msg_zip_not_found": "Poštna številka za vašo lokacijo ni bila najdena", - "msg_screenshots_disabled": "Slike zaslona v tej aplikaciji niso dovoljene", - "msg_sent": "Poslano", - "msg_share_unmanaged": "Možnost souporabe ni upravljana", - "msg_tts_error": "Pojavila se je napaka, poskusite pozneje!", - "msg_tts_no_volume": "Za poslušanje branja besedila zvišajte glasnost", - "msg_tts_unsupported": "Nepodprt jezik, poskusite uporabiti privzeti jezik ali preverite, ali obstaja jezikovni paket po meri!", - "msg_valid_notification_email": "Novo e-poštno sporočilo z obvestilom je pravilno nastavljeno, kliknite 'Ponovni zagon', da bo sprememba učinkovala.", - "msg_reset_notification_email": "E-pošta za obvestila je pravilno ponastavljena, kliknite 'Ponovni zagon', da bo sprememba učinkovala.", - "my_home_categories_selected": "Izbrane so {{categories}} kategorije za skupno {{articles}} člankov", - "my_location": "Uporabi mojo lokacijo", - "network": "Omrežje", - "none": "Noben", - "normal": "Običajno", - "offline_download_dialog": "Želite prenesti celotno izdajo za branje brez povezave?", - "offline_download_warning": "Ta izdaja ni v celoti prenesena. Nekateri deli strani so lahko zamegljeni.", - "paywall_offline_warning": "Ta članek trenutno ni na voljo brez povezave", - "permission_storage_message": "{{appName}} potrebuje dovoljenje za shranjevanje", - "permission_title": "dovoljenje {{appName}}", - "pj_from_page": "s strani", - "pj_to_page": "na stran", - "pj_continue_to_page": "Nadaljuj na stran", - "pj_continue_to_page_parent": "Stran", - "powered_by": "Powered by TECNAVIA", - "powered_by_who": "Powered by {{who}}", - "push_notification": "Potisno obvestilo", - "reader_app_text": "Vse račune ali nakupe zunaj te aplikacije bo upravljal razvijalec '{{developerName}}'. Vaš račun v App Store, shranjen način plačila in povezane funkcije, kot so upravljanje naročnine in zahtevki za vračilo denarja, ne bodo na voljo. Apple ni odgovoren za zasebnost ali varnost transakcij, opravljenih pri tem razvijalcu.", - "reader_app_title": "Zapustili boste aplikacijo in prešli na spletno mesto zunaj aplikacije. Z družbo Apple ne boste več opravljali transakcij.", - "restart": "Ponovni zagon", - "retry": "Ponovite", - "salary": "Plača: {{salary}}", - "save_search": "Shrani iskanje", - "saved_searches": "Shranjena iskanja", - "search_term": "Iskalni izraz", - "select_after_date": "Izberite po datumu", - "select_my_home_categories": "Izberite najljubše kategorije s spodnjega seznama in prilagodite svoje {{category}}", - "selected_categories": "Izbrane kategorije", - "selected_time_range": "Izbrano časovno obdobje", - "settings": "Nastavitve", - "settings_allow_font_scaling": "Omogoči spreminjanje velikosti pisave", - "settings_startup_epaper": "E-izdaja", - "settings_startup_rss": "Novice v živo", - "settings_startup_choose": "Vsakič izberite", - "share_event_url": "http://{{portal}}.cityspark.co/event/{{id}}/*", - "show": "POKAŽI", - "sort_by_date": "Razvrsti po času", - "sort_by_name": "Razvrsti od A do Z", - "sort_by_name_reverse": "Razvrsti od Z do A", - "sort_by_popularity": "Razvrsti po priljubljenosti", - "sort_date_disabled": "Opusti razvrščanje po datumu", - "sponsored_content": "Sponzorirana vsebina", - "start_with": "Začnite z", - "str_custom": "Po meri", - "str_default_language": "Nazaj v izvirni jezik", - "str_description": "Opis:", - "str_editor_picks": "Samo izbori urednika", - "str_free": "Brezplačno", - "str_from": "Od", - "str_id": "ID: {{id}}", - "str_limit_label": "Število izdaj za shranjevanje: {{days}}", - "str_location": "Lokacija:", - "str_next_events": "Naslednji dogodki:", - "str_next_week": "Naslednji teden", - "str_no_categories": "ni kategorij", - "str_not_available": "Ni na voljo", - "str_page": "Stran", - "str_search": "Iskanje", - "str_search_results": "{{text}} - {{count}} rezultati", - "str_special_sections": "Posebne rubrike", - "str_this_week": "Ta teden", - "str_this_weekend": "Ta vikend", - "str_time_range": "Razpon datumov", - "str_title": "Naslov", - "str_to": "Na", - "str_today": "Danes", - "str_tomorrow": "Jutri", - "str_translating_article": "Prevajanje članka...", - "str_published_after_date": "Objavljeno po datumu", - "support_email": "support@tecnavia.com", - "system_error": "Zgodila se je napaka", - "theme": "Tema", - "title_bottom_sheet": "Dejanja", - "title_offline": "Ni internetne povezave", - "toggle": "PREKLAPLJANJE", - "toggle_layout": "Preklapljanje postavitve", - "toggle_list": "Prikaz seznama", - "toggle_map": "Pogled na zemljevid", - "total_events": "Dogodki: {{total}}", - "total_favorites": "Priljubljene: {{total}}", - "total_jobs": "Delovna mesta: {{total}}", - "total_searches": "Shranjena iskanja: {{total}}", - "tutorial": "Vadnica", - "unknown_salary": "Neznana plača", - "unsave_search": "Odstrani shranjeno iskanje", - "user_tip_download_title": "Nasvet za uporabnike", - "user_tip_download": "Če želite samodejno prenesti vse izdaje za branje brez povezave, izberite 'Več' > 'Nastavitve' > 'Brez povezave' kot želeno nastavitev omrežja.", - "version": "Različica", - "vertical_job_location_hint": "Izberite lokacijo", - "vertical_job_text_hint": "Vnesite ključno besedo za iskanje", - "msg_offline_issues": "Izberite izdajo", - "msg_login_overlay_title": "Za nadaljevanje branja", - "msg_access_reserved": "Dostop je rezerviran za naročnike", - "msg_continue_to_read": "Naročite se na {{paper}}", - "msg_already_subscriber": "Ste že naročeni? Prijava", - "settings_translate": "Prevajanje člankov v", - "settings_themes": "Tema", - "settings_font_size": "Velikost pisave", - "settings_graph_size": "Stopnja povečave", - "settings_zoom_level": "Stopnja povečave", - "settings_zoom_level_normal": "Normalno", - "settings_zoom_level_large": "Velika", - "settings_zoom_level_larger": "Večja", - "settings_number_stored_editions": "Število izdaj za shranjevanje", - "settings_restore_defaults": "Obnovitev privzetih nastavitev", - "settings_clear_storage": "Počisti shrambo", - "settings_back_to_classic": "Vrnitev na klasično e-izdajo", - "settings_restart_from_latest": "Ponovni zagon od zadnje izdaje (min)", - "settings_article_mode": "Način članka", - "settings_article_mode_only_text": "Prikaži samo članke", - "settings_article_mode_text_and_graphics": "Prikaži članke in grafike", - "settings_article_mode_all": "Prikaži vse", - "settings_two_fingers_tap_to_article": "Z dotikom dveh prstov odprite način za članke", - "settings_single_tap_to_zoom": "Z enim dotikom povečajte", - "settings_favorite_edition": "Izberite najljubšo izdajo", - "settings_favorite_edition_default_label": "Zadnja razpoložljiva izdaja", - "settings_enable_column_view": "Omogočite prikaz člankov v več stolpcih", - "settings_navigation_arrows": "Navigacijske puščice", - "settings_navigation_arrows_always": "vedno prisotne", - "settings_navigation_arrows_disapper": "med branjem izginejo", - "settings_navigation_arrows_never": "nikoli prisotna", - "settings_article_highlight": "Trenutni članek ohrani poudarjen, ko je odprt način članka", - "general": "Nastavitve aplikacije", - "settings_translate_original": "Izvirni jezik", - "advance": "{{label}} | Dodatne nastavitve", - "send": "POŠLJI", - "debug": "Informacije o napravi", - "write": "NAPISI", - "hint_my_home_screen_config": "Prilagajanje {{label}}", - "action_go_to_settings": "Pojdite v nastavitve", - "hint_restart": "Aplikacija se bo ponovno zagnala, da se naložijo nove konfiguracije...", - "hint_update_ui": "Uporabniški vmesnik se posodablja zaradi nalaganja nastavitev, morda se bo pojavilo utripanje...", - "voice_back": "nazaj", - "voice_what": "kaj", - "voice_next": "naslednji", - "voice_next_page": "naslednja stran", - "voice_previous": "prejšnja", - "voice_previous_page": "prejšnja stran", - "voice_stop": "ustavite", - "voice_read": "preberite", - "voice_close": "zapri", - "voice_up": "navzgor", - "voice_down": "navzdol", - "voice_select": "izberite", - "selected_page_of_section": "izbrana stran {{page}} razdelka {{section}}", - "selected_page_of_index": "sizbrana stran {{page}} kazala", - "msg_max_share": "Dosegli ste dnevno omejitev deljenja za to izdajo", - "selected_page": "izbrana stran {{page}}", - "accessibility_issue_list_header": "Seznam izdaj", - "msg_simulate_accessibility_title": "Omogoči način dostopnosti", - "msg_simulate_accessibility": "To je simulacija aplikacije, ko je aktivna {{accessibilityAppName}}.\n • dvojni dotik za izbiro\n • enojni dotik ali premik prsta za branje elementa\n • dva prsta za poteg", - "accessibility": "Dostopnost", - "iap_multiple_subscriptions": "Več naročnin", - "iap_go_to_subscriptions": "Pojdi na naročninon", - "iap_multiple_subscriptions_message": "Ugotovili smo, da imate več aktivnih naročnin, zato onemogočite tiste, ki jih ne potrebujete. Ko bo naročnina onemogočena, vam bomo vrnili plačano vsoto.{{subscriptions}}", - "iap_multiple_active_subscriptions_message": "Aktivno naročnino že imate, ali bi vseeno radi kupili novo? {{subscriptions}}", - "settings_push_scopes": "Potisni segmenti", - "settings_tab_index_mode": "Omogoči postavitev zavihkov v indeksnem načinu", - "settings_enable_push_notifications": "Omogoči potisna obvestila", - "theme_auto": "Samodejno Svetla/Temna", - "theme_light": "Svetla", - "theme_dark": "Temna", - "str_sort_by": "Razvrsti po", - "str_relevance": "Pomembnosti", - "btn_from": "Od", - "btn_to": "Za", - "str_date": "Datumu", - "srt_order": "Zaporedje", - "str_byline": "Linija avtorja", - "str_descending": "Padajoče", - "str_ascending": "Naraščajoče", - "str_categories": "Sekcijah", - "str_select": "Izberi...", - "str_advertisement": "Oglaševanje", - "settings_title_box": "Pokaži naslovna polja za članke", - "enable_debug_overlay": "Omogoči razhroščevalnik", - "disable_debug_overlay": "Onemogoči razhroščevalnik", - "edit_token": "Uredi token", - "title_edit_token_confirm": "Ali želite posodobiti token?", - "msg_edit_token_confirm": "Nova vrednost: \"{{token}}\"" -} -; -},1990,[]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "action_go_to_category": "Gå till {{anchor}}", - "action_open_epaper": "Öppna epaper", - "action_open_gallery": "Öppna galleri", - "action_open_link": "Öppna länk", - "action_remove_from_favorites": "Ta bort från favoriter", - "action_save_for_later": "Spara till senare", - "action_share": "Dela", - "action_unknown": "Okänd", - "alert_message": "Är du säker?", - "all": "Alla", - "all_events": "Alla Evenemang", - "all_jobs": "Alla jobb", - "animation": "Animation", - "animation_action": "Klicka på knappen för att ändra animering", - "animation_change": "Animation ändra", - "animation_changed": "Animation förändrats", - "article_count": "{{count}} artiklar", - "btn_accessibility": "Tillgänglighetsläge", - "btn_account": "Konto", - "btn_add_event": "Lägg till händelse", - "btn_advance_filters": "Förväg filter", - "btn_archive": "Arkivera", - "btn_ask_later": "Fråga Mig Senare", - "btn_back": "Tillbaka", - "btn_cancel": "Avbryt", - "btn_close": "Stäng", - "btn_confirm": "Bekräfta", - "btn_contact": "Kontaktuppgifter", - "btn_disable_log_file": "Skicka LOGGA in", - "btn_do_not_show": "Visa inte Igen", - "btn_download": "Ladda ner", - "btn_editions": "Utgåvor", - "btn_enable_log_file": "Aktivera LOGG", - "btn_feed": "Live nyheter", - "btn_fit_page": "Passa", - "btn_g_book": "Bläddra", - "btn_go_to_news": "Gå till nyheter", - "btn_help": "Hjälp", - "btn_index": "Index", - "btn_link": "Länk", - "btn_login": "Logga in", - "btn_logout": "Logga ut", - "btn_more": "Mer", - "btn_no": "Inga", - "btn_ok": "OK", - "btn_publications": "Publikationer", - "btn_read": "Läsa", - "btn_reset": "Återställ", - "btn_search": "Sök", - "btn_set_as_default": "Sätt som standard", - "btn_settings": "Inställningar", - "btn_skip": "Hoppa över", - "btn_special_section": "Speciella", - "btn_store": "Butik", - "btn_swipe": "Bläddra", - "btn_thumbnail": "Sidor", - "btn_yes": "Ja", - "cache_size": "Cache-storlek", - "card": "Kort", - "categories": "Kategorier", - "labels": "Etiketter", - "change": "ÄNDRA", - "change_location_hint": "Ändra Plats", - "change_radius": "Välj radie", - "clear": "KLART", - "clear_cache": "Rensa cache", - "clear_favorites": "Tydliga favoriter", - "confirm": "Bekräfta", - "connection_0": "Roaming Mode", - "connection_0_description": "Perfekt när begränsad bandbredd är tillgänglig. Textversionen av upplagan laddas ner, bilderna visas i mycket låg upplösning.", - "connection_1": "Online-läge", - "connection_1_description": "Perfekt när du är ansluten till internet. Endast visade sidor laddas ner och är tillgängliga för offline-läsning.", - "connection_2": "Offline-läge", - "connection_2_description": "Offline-läge: hämtar automatiskt hela upplagan vid start för offline läsning.", - "counter": "{{current}} av {{total}}", - "custom_location": "Anpassad plats", - "database": "Databas", - "database_deleted": "Databasen raderas", - "default_search": "Standardsökande", - "dialog_location_message": "Vi använder din position för att visa var du är på kartan", - "dialog_location_title": "Vi behöver åtkomst till din plats", - "disabled": "Funktionshindrade", - "enabled": "Aktiverad", - "err_module_unavailable": "{{module}} inte tillgänglig i den här appen", - "err_change_animation": "Fel att byta animation", - "err_clear_cache": "Fel att rensa cache", - "err_clear_database": "Fel att rensa databasen", - "err_clear_favorites": "Fel att rensa favoriter", - "err_download_edition": "Ett fel inträffade under nedladdningen av upplagan Mais", - "err_download_edition_db": "Ett fel inträffade under nedladdningen av upplagans databas", - "err_download_psetup": "Fel under nerladdningen av bas-konfigurationer", - "err_internet_connection": "Kunde inte ansluta till application server. Vänligen se till att du har internet-anslutning och försök igen.", - "err_max_min": "Ogiltiga filter, min måste vara mindre än max", - "err_offline": "Externt innehåll är inte tillgängligt offline", - "err_reset_notification_email": "Återställ e-postmeddelandet", - "err_retrieve_cache": "Fel för att hämta cache", - "err_retrieve_favorites": "Fel för att hämta favoriter", - "err_translation": "Översättningen är inte tillgänglig", - "err_translation_offline": "Översättningen är inte tillgänglig offline", - "error_on_load_more": "Fel när du försöker att fylla på fler objekt", - "fast": "Snabbt", - "favorites": "Favoriter", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_email_subject": "Feedback för {{who}}", - "feedback_msg_ask_for_feedback": "Är det något vi kan göra för att hjälpa?", - "feedback_title_request_feedback": "Njuter du av din tid med appen?", - "feedback_title_request_review_feedback": "Kul att höra! Skulle du vilja lämna en recension eller betyg?", - "filter_max": "Max", - "filter_min": "Min", - "filter_text": "Skriv din text här", - "font_extra_large": "Extra stor", - "font_extra_small": "Extra liten", - "font_large": "Stor", - "font_normal": "Normal", - "font_scale": "Font Skala", - "font_small": "Stor", - "force_crash": "Force krasch", - "force_sublayout": "FORCE LAYOUT SUB STYLE", - "from_most_recent": "Från den senaste", - "from_oldest": "Från de äldsta", - "gmc_default_text": "En ny fråga är tillgängliga. Tryck här för att läsa!", - "gmc_message_text": "{{issue}} tidningen finns nu tillgänglig. Tryck här för att läsa!", - "grid": "Nätet", - "grid_list": "grid/lista", - "hint_two_fingers_tap": "För att läsa en artikel, tryck på artikelområdet med två fingrar", - "home": "Hem", - "label_exit_accessibility_mode": "Avsluta tillgänglighetsläget", - "label_open_browser": "Öppna i webbläsaren", - "last_search": "Senaste sökning", - "layout": "Layout", - "learn_more": "Läs mer", - "list": "Listan", - "loading": "Laddar...", - "local_events": "Lokala evenemang", - "max_salary": "Max. lön", - "min_salary": "Min. lön", - "mobile_network_warning": "Du är ansluten till ett mobilnätverk istället för WiFi", - "msg_available_next_startup": "Denna konfiguration kommer att finnas tillgänglig nästa start", - "msg_clear_cache": "Rensa cache", - "msg_clear_favorites": "Radera favoriter", - "msg_copy_to_clipboard": "Kopiera till urklipp", - "msg_delete_title": "vill du", - "msg_delete_db": "Radera databasdata?", - "msg_operation_completed": "Driften slutförd", - "msg_ok_delete_db": "Alla sparade utgåvor har tagits bort", - "msg_delete_localstorage": "Rensa personliga inställningar?", - "msg_database_deleted": "Ta bort databas", - "msg_download_edition": "Hämtar upplagan...", - "msg_download_retry": "Försök {{retry}} av {{maxRetries}}...", - "msg_download_rss": "Hämtar nya artiklar...", - "msg_empty_category": "För närvarande finns det inga artiklar som tilldelats{{category}}! Tryck för att uppdatera", - "msg_empty_favorites": "För närvarande finns det inga favoriter!", - "msg_empty_gallery": "Klickat galleri är tomt", - "msg_empty_list": "För närvarande finns det inga element! Tryck för att ändra vissa filter", - "msg_empty_searches": "För närvarande finns inga sparade sökningar", - "msg_error_category": "Något gick fel, försök att öppna kategorin igen eller ta bort databasen från inställningarna! Tryck för att uppdatera", - "msg_error_list": "Något gick fel, försök att ändra några filter", - "msg_error_newspaper": "Tidningen är tom", - "msg_event_over": "Händelsen är över.", - "msg_exit_application": "Att avsluta programmet?", - "msg_failed": "Misslyckad", - "msg_font_scaling": "Vill du tillämpa enhetens textstorlek på det här programmet?", - "msg_font_scaling_title": "Det verkar som om du har en anpassad textstorlek inställd på din enhet", - "msg_list_no_articles_available_for_category": "Detta inte ett fel. Det finns för närvarande inga artiklar har hänförts till denna kategori!", - "msg_list_no_content": "Inga aktuella innehåll", - "msg_loading_comments": "Laddar kommentarer...", - "msg_loading_more": "Laddar upp mer...", - "msg_new_issue_available": "En ny upplaga är nu tillgänglig, vill du ladda den nu?", - "msg_not_on_latest_issue": "Du är inte tittar på senast tillgängliga utgåvan, skulle du vilja läsa det nu?", - "msg_new_issue_available_title_edition": "Du läser för närvarande {{edition}}", - "msg_new_issue_available_title_edition_date": "Du läser för närvarande den {{date}} upplagan av {{edition}}", - "msg_new_issue_available_edition": "En ny upplaga av {{edition}} är nu tillgänglig, vill du ladda den?", - "msg_new_issue_available_date": "Den {{date}} upplagan är nu tillgänglig, vill du ladda den?", - "msg_new_issue_available_edition_date": "Den {{date}} av {{edition}} upplagan är nu tillgänglig, vill du ladda den?", - "msg_not_on_latest_issue_edition": "Du är inte tittar på senast tillgängliga utgåvan av {{edition}}, skulle du vilja läsa det nu?", - "msg_not_on_latest_issue_date": "Du är inte tittar på senast tillgängliga utgåvan, vill du ladda {{date}} upplaga?", - "msg_not_on_latest_issue_edition_date": "Du är inte tittar på senast tillgängliga utgåvan, vill du ladda {{date}} upplagan av {{edition}}?", - "msg_notification_email_warning": "Ett e-postmeddelande har ställts in, vill du fortsätta?", - "msg_offline_article_graph": "För att kunna använda den här funktionen offline måste du ha laddat ner hela upplagan, annars kan vissa bilder saknas.", - "msg_opening_article": "Öppning: {{title}}", - "msg_opening_push": "Öppnar push-aviseringar...", - "msg_pending_purchases": "Slutför väntande köp: {{completed}} av {{total}}", - "msg_reload_publication": "ladda ner den senaste upplagan automatiskt?", - "msg_restore_default_settings": "Vill du återställa standardinställningarna för appen?", - "msg_rss_new_articles_available": "{{count}} nya artiklar finns tillgängliga", - "msg_rss_no_new_articles_available": "Du är up-to-date", - "msg_rss_one_new_article_available": "1 ny artikel tillgänglig", - "msg_rss_reload_database": "Nya databasen laddas ner", - "msg_rss_update_error": "Felmeddelande under uppdateringen ska du kontrollera internetanslutningen och försök igen", - "msg_search_empty": "Inget sökte", - "msg_search_lite": "Visa resultat på sidan", - "msg_search_not_found": "Ingen artikel hittades med {{text}}", - "msg_zip_not_found": "Hittade inte postnummer för din plats", - "msg_sent": "Skickad", - "msg_share_unmanaged": "Share option opåverkad", - "msg_tts_error": "Ett fel uppstår, försök senare!", - "msg_tts_no_volume": "Öka volumen till listad text", - "msg_tts_unsupported": "Språk som inte stöds, försök att använda standardröst eller kontrollera om ett anpassat språkpaket finns!", - "msg_valid_notification_email": "Ny e-postmeddelande är korrekt inställd, klicka på 'Starta om' för att ändringen ska gälla.", - "msg_reset_notification_email": "Meddelande-e-postmeddelandet återställs korrekt, klicka på 'Starta om' för att ändringen ska gälla.", - "my_home_categories_selected": "{{categories}} kategorier som valts för en summa av {{articles}} artiklar", - "my_location": "Använd min plats", - "network": "Nätverk", - "none": "Ingen", - "normal": "Normal", - "offline_download_dialog": "Vill du ladda ner hela upplagan för offline-läsning?", - "offline_download_warning": "Denna utgåva laddas inte ner helt. Vissa delar av sidorna kan se suddiga ut.", - "paywall_offline_warning": "Den här artikeln är för närvarande inte tillgänglig offline", - "permission_storage_message": "{{appName}} behov lagring tillstånd", - "permission_title": "{{appName}} tillstånd", - "pj_from_page": "från sidan", - "pj_to_page": "till sida", - "pj_continue_to_page": "Fortsätt till sidan", - "pj_continue_to_page_parent": "Sidan", - "powered_by": "Drivs av TECNAVIA", - "powered_by_who": "Drivs av {{who}}", - "push_notification": "Push-meddelande", - "restart": "Omstart", - "retry": "Försök igen", - "reader_app_text": "Konton och köp utanför den här appen kommer att hanteras av “{{developerName}}”. Ditt App Store-konto, sparade betalningsmetoder och andra funktioner, som t.ex. prenumerationshantering och begäranden om återbetalningar kommer inte att vara tillgängliga. Apple ansvarar inte för integriteten eller säkerheten för transaktioner med den här utvecklaren.", - "reader_app_title": "Du lämnar nu appen för en extern webbsida. Eventuella transaktioner kommer inte att hanteras av Apple.", - "salary": "Lön: {{salary}}", - "save_search": "Spara sökning", - "saved_searches": "Sparade Sökningar", - "search_term": "Sökterm", - "select_after_date": "Välj efter datum", - "select_my_home_categories": "Välj din favorit kategorier från listan nedan för att anpassa din {{category}}", - "selected_categories": "Valda kategorier", - "selected_time_range": "Valt datumintervall", - "settings": "Inställningar", - "settings_allow_font_scaling": "Tillåt skalskalor", - "settings_startup_epaper": "E-Edition", - "settings_startup_rss": "Live nyheter", - "settings_startup_choose": "Välj varje gång", - "share_event_url": "http://{{portal}}.cityspark.co/event/{{id}}/*", - "show": "VISA", - "sort_by_date": "Sortera efter", - "sort_by_name": "Sortera efter A-Z", - "sort_by_name_reverse": "Sortera efter Z-A", - "sort_by_popularity": "Sortera efter Popularitet", - "sort_date_disabled": "Sortera på datum inaktivera", - "sponsored_content": "Sponsrat innehåll", - "start_with": "Börja Med", - "str_custom": "Anpassad", - "str_default_language": "Återgå till originalspråket", - "str_description": "Beskrivning:", - "str_editor_picks": "Endast redaktörens val", - "str_free": "Fri", - "str_from": "Från", - "str_id": "ID: {{id}}", - "str_limit_label": "Antal utgåvor att lagra:: {{days}}", - "str_location": "Plats:", - "str_next_events": "Nästa händelser:", - "str_next_week": "Nästa vecka", - "str_no_categories": "Inga kategorier", - "str_not_available": "Inte tillgänglig", - "str_page": "Sida", - "str_search": "Sök", - "str_search_results": "{{text}} - {{count}} resultat", - "str_special_sections": "Särskilda avsnitt", - "str_this_week": "Denna vecka", - "str_this_weekend": "Veckoslut", - "str_time_range": "Datumintervall", - "str_title": "Titel", - "str_to": "Till", - "str_today": "Idag", - "str_tomorrow": "Imorgon", - "str_translating_article": "Översätter artikel...", - "str_published_after_date": "Publicerad efter datum", - "support_email": "support@tecnavia.com", - "system_error": "Ett fel uppstod", - "theme": "Tema", - "title_bottom_sheet": "Åtgärder", - "title_offline": "Ingen internetanslutning", - "toggle": "VÄXLA", - "toggle_layout": "Växla layout", - "toggle_list": "Växla lista", - "toggle_map": "Växla karta", - "total_events": "Händelser: {{total}}", - "total_favorites": "Favoriter: {{total}}", - "total_jobs": "Sysselsättning: {{total}}", - "total_searches": "Sökningar: {{total}}", - "tutorial": "Handledning", - "unknown_salary": "Okänd Lön", - "unsave_search": "Ta bort sparade sökningen", - "user_tip_download_title": "Användar Tip", - "user_tip_download": "För att automatiskt ladda ner alla utgåvor för offline-läsning, välj 'Mer'> 'Inställningar'> 'Offline' som din föredragna nätverksinställning", - "version": "Version", - "vertical_job_location_hint": "Välj en plats", - "vertical_job_text_hint": "Ange ett sökord för sökning", - "msg_offline_issues": "Välj en nedladdad utgåva att läsa", - "settings_translate": "Översätt artiklar till", - "settings_themes": "Tema", - "settings_font_size": "Fontstorlek", - "settings_graph_size": "Zoom nivå", - "settings_number_stored_editions": "Maximalt antal problem sparade", - "settings_restart_from_latest": "Starta om från senaste upplagan (min)", - "settings_article_mode": "Artikelläge", - "settings_article_mode_all": "Visa allt", - "settings_clear_storage": "Rensa lagring", - "settings_back_to_classic": "Återgå till Classic e-Edition", - "settings_two_fingers_tap_to_article": "Använd två peka finger för att öppna artikeln läge", - "settings_single_tap_to_zoom": "Använd enda tryck för att zooma", - "settings_favorite_edition": "Välj din favorit edition", - "settings_favorite_edition_default_label": "Sista upplagan tillgänglig", - "reset": "ÅTERSTÄLLA", - "open": "ÖPPEN", - "settings_enable_column_view": "Aktivera flera kolumner läs artiklar", - "settings_navigation_arrows_always": "alltid närvarande", - "settings_navigation_arrows_disapper": "försvinner när du läser", - "settings_navigation_arrows_never": "aldrig närvarande", - "general": "App inställningar", - "settings_translate_original": "Originalspråk", - "advance": "{{label}} | Förhandsinställningar", - "send": "SKICKA", - "btn_feedback": "Respons", - "return": "LÄMNA TILLBAKA", - "settings_article_highlight": "Håll aktuell artikel markerad när artikelläget är öppet", - "write": "SKRIVA", - "btn_continue": "Fortsätt", - "btn_go_back": "Gå tillbaka", - "btn_go_next": "Gå nästa", - "btn_go_up": "Tidigare nivå", - "btn_reload": "Ladda om", - "action_go_to_settings": "Gå till Inställningar", - "btn_tts": "Växla text till tal", - "btn_close_accessibility": "Stäng tillgänglighetsläget", - "hint_my_home_screen_config": "För att anpassa {{label}}", - "hint_restart": "Applikationen kommer att starta om för att ladda nya konfigurationer...", - "hint_update_ui": "Användargränssnittet kommer att uppdateras för att ladda nya inställningar, du kanske märker ett flimmer...", - "msg_access_reserved": "Åtkomst reserverad för prenumeranter", - "msg_already_subscriber": "Är du redan prenumerant? Logga in", - "msg_continue_to_read": "Prenumerera på {{paper}}", - "settings_zoom_level": "Zoomnivå", - "settings_zoom_level_large": "Stor", - "settings_zoom_level_larger": "Större", - "settings_zoom_level_normal": "Vanligt", - "msg_login_overlay_title": "För att fortsätta läsa", - "voice_back": "tillbaka", - "voice_what": "vad", - "voice_next": "nästa", - "voice_next_page": "nästa sida", - "voice_previous": "föregående", - "voice_previous_page": "föregående sida", - "voice_stop": "stopp", - "voice_read": "läs", - "voice_close": "stäng", - "voice_up": "upp", - "voice_down": "ner", - "voice_select": "välj", - "msg_max_share": "Du har nått den dagliga delningsgränsen för den här utgåvan", - "accessibility": "Tillgänglighet", - "msg_simulate_accessibility_title": "Aktivera tillgänglighetsläge", - "msg_screenshots_disabled": "Skärmdumpar är inte tillåtna i denna app", - "settings_tab_index_mode": "Aktivera fliklayout i indexläge", - "settings_enable_push_notifications": "Aktivera push-meddelanden", - "settings_manage_privacy_preferences": "Hantera integritetsinställningar", - "theme_auto": "Automatisk ljus/mörker", - "theme_light": "Ljus", - "theme_dark": "Mörk", - "str_sort_by": "Sortera efter", - "str_relevance": "Relevans", - "btn_from": "Från", - "btn_to": "Till", - "str_date": "Datum", - "srt_order": "Beställa", - "str_byline": "Byline", - "str_descending": "Nedåtgående", - "str_ascending": "Stigande", - "str_categories": "Kategorier", - "str_select": "Välj...", - "str_advertisement": "Annons", - "iap_go_to_subscriptions": "Gå till Prenumeration", - "iap_multiple_subscriptions": "Flera prenumerationer", - "iap_multiple_subscriptions_message": "Vi upptäckte att du har flera aktiva prenumerationer, vänligen inaktivera de du inte behöver. När en prenumeration har inaktiverats kommer den att återbetalas.{{subscriptions}}", - "iap_multiple_active_subscriptions_message": "Du har redan ett aktivt abonnemang, skulle du vilja köpa ett nytt ändå? {{subscriptions}}", - "settings_title_box": "Visa artikelrutor", - "enable_debug_overlay": "Aktivera debugger", - "disable_debug_overlay": "Inaktivera debugger", - "edit_token": "Redigera token", - "title_edit_token_confirm": "Vill du uppdatera token?", - "msg_edit_token_confirm": "Nytt värde: \"{{token}}\"", - "uploading": "Laddar upp..." -} -; -},1991,[]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "action_go_to_category": "Vai para {{anchor}}", - "action_open_epaper": "Abrir epaper", - "action_open_gallery": "Abrir Galeria", - "action_open_link": "Abrir link", - "action_remove_from_favorites": "Remover dos favoritos", - "action_save_for_later": "Guardar para depois", - "action_share": "Partilhar", - "action_unknown": "Desconhecido", - "alert_message": "Tem a certeza?", - "all": "Toda", - "all_events": "Todos eventos", - "all_jobs": "Todos os Empregos", - "animation": "Animação", - "animation_action": "Clique no botão para mudar a animação", - "animation_change": "Mudar de animação", - "animation_changed": "Animação alterada", - "article_count": "{{count}} artigos", - "btn_accessibility": "Modo acessibilidade", - "btn_account": "Login", - "btn_advance_filters": "Filtros avançados", - "btn_archive": "Arquivo", - "btn_ask_later": "Pergunta-me depois", - "btn_back": "Voltar", - "btn_cancel": "Cancelar", - "btn_close": "Fechar", - "btn_confirm": "Confirmar", - "btn_contact": "Contacto", - "btn_disable_log_file": "Enviar LOG", - "btn_do_not_show": "Não mostrar novamente", - "btn_download": "Descarregar", - "btn_editions": "Edições", - "btn_enable_log_file": "Ativar LOG", - "btn_feed": "Notícias ao vivo", - "btn_fit_page": "Ajustar", - "btn_g_book": "Percorrer", - "btn_go_to_news": "Vai a Notícias", - "btn_help": "Ajuda", - "btn_index": "Índice", - "btn_link": "Link", - "btn_login": "Login", - "btn_logout": "Logout", - "btn_more": "Mais", - "btn_no": "Não", - "btn_ok": "Ok", - "btn_publications": "Publicações", - "btn_read": "Lê", - "btn_reset": "Reiniciar", - "btn_search": "Pesquisa", - "btn_set_as_default": "Selecionar como padrão", - "btn_settings": "Configurações", - "btn_skip": "Saltar", - "btn_special_section": "Especial", - "btn_store": "Loja", - "btn_swipe": "Percorrer", - "btn_thumbnail": "Páginas", - "btn_yes": "Sim", - "cache_size": "Tamanho da Cache", - "card": "Cartão", - "categories": "Categorias", - "change": "ALTERAR", - "change_location_hint": "Alterar Localização", - "change_radius": "Selecionar Raio", - "clear": "LIMPAR", - "clear_cache": "Limpar cache", - "clear_favorites": "Limpar favoritos", - "confirm": "Confirmar", - "connection_0": "Modalidade Roaming", - "connection_0_description": "Ideal quando tem largura de banda limitada. Texto é descarregado, imagens são descarregadas com resolução baixa.", - "connection_1": "Modalidade Online", - "connection_1_description": "Ideal quando ligado á internet.Só páginas visualizadas são descarregadas e estarão disponíveis em modalidade offline.", - "connection_2": "Modalidade Offline", - "connection_2_description": "Modalidade Offline: Descarrega automaticamente a edição inteira no arranque para leitura offline.", - "counter": "{{current}} de {{total}}", - "custom_location": "Localização personalizada", - "database": "Base de dados", - "database_deleted": "Base de dados eliminado", - "default_search": "Pesquisa padrão", - "dialog_location_message": "Usamos a sua localização para mostrar onde está no mapa", - "dialog_location_title": "Precisamos de aceder à sua localização", - "disabled": "Desativado", - "enabled": "Ativado", - "err_change_animation": "Erro ao alterar animação", - "err_clear_cache": "Erro ao limpar cache", - "err_clear_database": "Erro ao limpar base de dados", - "err_clear_favorites": "Erro ao limpar favoritos", - "err_download_psetup": "Erro durante o download de configurações base", - "err_internet_connection": "Não foi possível conectar-se ao servidor de aplicativos. Por favor, verifique se tem uma ligação á Internet e tente novamente.", - "err_max_min": "Filtro inválido, min deve ser menor que max", - "err_offline": "Não disponível offline", - "err_retrieve_cache": "Erro ao recuperar o cache ", - "err_retrieve_favorites": "Erro ao recuperar favoritos", - "err_translation": "Tradução não disponível", - "err_translation_offline": "Tradução não disponível offline", - "error_on_load_more": "Erro ao tentar carregar mais itens", - "fast": "Rápido", - "favorites": "Favoritos", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_msg_ask_for_feedback": "Existe alguma coisa que possamos fazer para ajudar?", - "feedback_title_request_feedback": "Está a gostar desta aplicação?", - "feedback_title_request_review_feedback": "Ficamos felizes em saber! Gostaria de deixar uma crítica ou classificação?", - "filter_max": "Max", - "filter_min": "Min", - "filter_text": "Escreva texto aqui", - "font_extra_large": "Extra grande", - "font_extra_small": "Extra pequeno", - "font_large": "Grande", - "font_normal": "Normal", - "font_scale": "Tamanho da fonte", - "font_small": "Pequeno", - "from_most_recent": "Do mais recente", - "from_oldest": "Do mais antigo", - "gmc_default_text": "Uma nova edição está disponível. Clique aqui para ler!", - "gmc_message_text": "O {{issue}} do jornal está disponível. Clique aqui para ler!", - "grid": "Grelha", - "grid_list": "Grelha/Lista", - "home": "Home", - "label_exit_accessibility_mode": "Sair do modo de acessibilidade", - "label_open_browser": "Abra no navegador", - "last_search": "Última Procura", - "layout": "Layout", - "learn_more": "Saiba mais", - "list": "Lista", - "loading": "A carregar...", - "local_events": "Eventos Locais", - "max_salary": "Salário máximo", - "min_salary": "Salário mínimo", - "msg_available_next_startup": "Esta configuração estará disponível na próxima sessão", - "msg_clear_cache": "Limpar cache", - "msg_clear_favorites": "Eliminar favoritos", - "msg_copy_to_clipboard": "Copiar par clipboard", - "msg_database_deleted": "Eliminar base de dados", - "msg_delete_db": "Eliminar a base de dados local?", - "msg_delete_localstorage": "Eliminar configurações pessoais?", - "msg_delete_title": "Você quer", - "msg_download_edition": "Fazendo download da edição...", - "msg_download_retry": "Tentativa {{retry}} de {{maxRetries}}...", - "msg_empty_category": "Atualmente, não há artigos atribuídos a {{category}}! Clique para atualizar", - "msg_empty_favorites": "Atualmente, não há favoritos!", - "msg_empty_gallery": "A galeria clicada está vazia", - "msg_empty_list": "Atualmente, não há elementos! Clique para alterar alguns filtros", - "msg_empty_searches": "Atualmente, não há pesquisas guardadas", - "msg_error_category": "Algo deu errado, tente reabrir a categoria ou eliminar a base de dados atrvés das definições! Clique para atualizar", - "msg_error_list": "Algo deu errado, tente mudar alguns filtros", - "msg_error_newspaper": "O jornal está vazio", - "msg_event_over": "o evento acabou", - "msg_exit_application": "Sair da aplicação?", - "msg_failed": "Falhada", - "msg_list_no_articles_available_for_category": "Isso não é um erro. Atualmente, não há artigos atribuídos a esta categoria!", - "msg_list_no_content": "Nenhum conteúdo atual", - "msg_loading_comments": "Carregando comentários...", - "msg_loading_more": "Carregar mais...", - "msg_new_issue_available_title_edition": "Está actualmente a ler {{edition}}", - "msg_new_issue_available_title_edition_date": "Está actualmente a ler a edição {{date}} de {{edition}}", - "msg_new_issue_available": "Uma nova edição está agora disponível, gostaria de a carregar?", - "msg_new_issue_available_edition": "Uma nova edição de {{edition}} está agora disponível, gostaria de a carregar?", - "msg_new_issue_available_date": "A edição de {{date}} está agora disponível, gostaria de a carregar?", - "msg_new_issue_available_edition_date": "A edição de {{date}} de {{edition}} está agora disponível, gostaria de a carregar?", - "msg_not_on_latest_issue": "Não está a ver a última edição disponível, gostaria de a carregar agora?", - "msg_not_on_latest_issue_edition": "Não está a ver a última edição disponível de {{edition}}, gostaria de carregá-la agora?", - "msg_not_on_latest_issue_date": "Não está a ver a última edição disponível, gostaria de carregar a edição de {{date}}?", - "msg_not_on_latest_issue_edition_date": "Não está a ver a última edição disponível, gostaria de carregar a edição {{date}} de {{edition}}?", - "msg_offline_article_graph": "Para utilizar esta função em offline deverà ter descarregado a edição completa enquanto ou algumas imagens ou textos poderão faltar", - "msg_offline_issues": "Seleciona uma edição para ler", - "msg_opening_push": "Abrindo notificações push...", - "msg_pending_purchases": "Concluindo compras pendentes: {{completed}} de {{total}}", - "msg_reload_publication": "descarregar automaticamente a última edição", - "msg_restore_default_settings": "Quer restaurar as configurações padrão?", - "msg_rss_new_articles_available": "{{count}} novos artigos estão disponíveis", - "msg_rss_no_new_articles_available": "Você está atualizado", - "msg_rss_one_new_article_available": "1 novo artigo disponível", - "msg_rss_reload_database": "Nova base de dados carregada", - "msg_rss_update_error": "Erro durante a atualização, verifique sua ligação Internet e tente novamente", - "msg_search_empty": "Nada foi pesquisado", - "msg_search_lite": "Ver resultados na página", - "msg_search_not_found": "Nenhum artigo encontrado com {{text}}", - "msg_sent": "Enviado", - "msg_share_unmanaged": "Opção de compartilhamento não suportada", - "msg_tts_error": "Ocorreu um erro durante o inicio da leitura. Tente mais tarde!", - "msg_tts_no_volume": "Aumentar volument para texto", - "msg_tts_unsupported": "Língua não suportada, tente ler com a voz de default ou verifique se existe outro pacote de voz", - "my_home_categories_selected": "{{categories}} categorias selecionadas para um total de {{articles}} artigos", - "my_location": "Use a minha localização", - "network": "Rede", - "none": "Nenhum", - "normal": "Normal", - "pj_from_page": "da página", - "pj_to_page": "até à página", - "pj_continue_to_page": "Continue para a página", - "pj_continue_to_page_parent": "Página", - "permission_storage_message": "{{appName}} precisa de permissão de armazenamento", - "permission_title": "{{appName}} permissão", - "powered_by": "Powered by TECNAVIA", - "powered_by_who": "Powered by {{who}}", - "push_notification": "Notificação", - "reader_app_text": "Quaisquer contas ou compras efetuadas fora desta app serão geridas pelo programador {{developerName}}. A sua conta da App Store, o método de pagamento armazenado e as funcionalidades relacionadas, tais como a gestão de assinaturas e os pedidos de reembolso, não estarão disponíveis. A Apple não é responsável pela privacidade e segurança das transações efetuadas com este programador.", - "reader_app_title": "Está prestes a sair da app e a ir para um site externo. Deixará de efetuar transações com a Apple.", - "salary": "Salário: {{salary}}", - "save_search": "Guardar pesquisa", - "saved_searches": "Pesquisas guardadas", - "search_term": "Pesquisar Termo", - "select_after_date": "Selecione após a data", - "select_my_home_categories": "Escolha suas categorias favoritas na lista abaixo para personalizar a sua {{category}}", - "selected_categories": "Categorias selecionadas", - "selected_time_range": "Período selecionado", - "settings": "Definições", - "settings_allow_font_scaling": "Permitir escala de fonte", - "settings_startup_epaper": "E-Edition", - "settings_startup_rss": "Live News", - "settings_startup_choose": "Escolha cada vez", - "show": "MOSTRAR", - "sort_by_date": "Ordenar por", - "sort_by_name": "Classificar por A-Z", - "sort_by_name_reverse": "Classificar por Z-A", - "sort_by_popularity": "Ordenar por Popularidade", - "sort_date_disabled": "Ordenar na data desabilitado", - "start_with": "Começar com", - "str_custom": "Personalizadas", - "str_default_language": "Retornar ao idioma original", - "str_from": "De", - "str_limit_label": "Número de edições para armazenar: {{days}}", - "str_next_week": "Semana seguinte", - "str_page": "Página", - "str_search": "Pesquisar", - "str_search_results": "Resultados de {{text}} - {{count}}", - "str_special_sections": "Seções especiais", - "str_this_week": "Uma semana", - "str_this_weekend": "Este fim de semana", - "str_time_range": "Intervalo de datas", - "str_title": "Título", - "str_to": "Para", - "str_today": "Hoje", - "str_tomorrow": "Amanhã", - "str_translating_article": "Traduzindo artigo...", - "system_error": "Ocorreu um erro", - "theme": "Tema", - "title_bottom_sheet": "Ações", - "title_offline": "Sem conexão com a Internet", - "toggle": "TOGGLE", - "toggle_layout": "Toggle layout", - "toggle_list": "Toggle lista", - "toggle_map": "Toggle mapa", - "total_events": "Eventos: {{total}}", - "total_favorites": "Favoritos: {{total}}", - "total_jobs": "Empregos: {{total}}", - "total_searches": "Pesquisas: {{total}}", - "tutorial": "Tutorial", - "unknown_salary": "Salário Desconhecido", - "unsave_search": "Remover pesquisa guardada", - "version": "Versão", - "vertical_job_location_hint": "Selecione um local", - "vertical_job_text_hint": "Insira uma palavra-chave para pesquisa", - "offline_download_warning": "Esta edição não é totalmente baixado. Algumas partes das páginas pode parecer desfocada.", - "offline_download_dialog": "Quer descarregar a edição completa para leitura offline?", - "user_tip_download_title": "Dica do Utilizador", - "user_tip_download": "Para descarregar automaticamente todas as edições para leitura offline, seleccione 'Opções' > 'Definições' > 'Offline' como a sua configuração de rede preferida", - "mobile_network_warning": "Está ligado a uma rede móvel em vez de WiFi", - "msg_operation_completed": "Operação concluída", - "msg_ok_delete_db": "Todas as edições guardadas foram eliminadas", - "msg_font_scaling": "Quer manter este parâmetro dentro desta aplicação?", - "msg_font_scaling_title": "Definiu um tamanho de texto personalizado no seu dispositivo", - "msg_download_rss": "Baixando novos artigos...", - "settings_translate": "Traduzir o artigo em", - "settings_themes": "Tema", - "settings_font_size": "Tamanho dos caracteres", - "settings_graph_size": "Nível de zoom", - "settings_number_stored_editions": "Número máximo de edições guardadas", - "settings_restart_from_latest": "Reiniciar da última edição disponível (min)", - "settings_article_mode": "Modo artigo", - "settings_article_mode_all": "Mostrar tudo", - "settings_article_mode_text_and_graphics": "Mostrar artigos e gráficos", - "settings_article_mode_only_text": "Mostrar apenas artigos", - "settings_restore_defaults": "Restaurar configurações", - "settings_clear_storage": "Limpar dados", - "settings_back_to_classic": "Voltar à eEdition Clássica", - "settings_two_fingers_tap_to_article": "Usa toque com dois dedos para abrir a modo artigo", - "settings_single_tap_to_zoom": "Usa um tap para zoomar", - "settings_favorite_edition": "Escolha a sua edição favorita", - "settings_favorite_edition_default_label": "Última edição disponível", - "reset": "REDEFINIR", - "open": "ABRIR", - "settings_enable_column_view": "Habilitar modo de leitura em colunas", - "settings_navigation_arrows": "Setas de navegação", - "settings_navigation_arrows_always": "sempre presentes", - "settings_navigation_arrows_disapper": "desaparecem quando em leitura", - "settings_navigation_arrows_never": "nunca presentes", - "general": "Configurações do aplicativo", - "settings_translate_original": "Língua original", - "advance": "{{label}} | Configurações avançadas", - "send": "MANDAR", - "btn_feedback": "Feedback", - "return": "RETORNA", - "settings_article_highlight": "Manter o artigo actual em destaque quando o modo de artigo estiver aberto", - "write": "ESCREVER", - "btn_continue": "Continuar", - "btn_go_back": "Volte", - "btn_go_next": "Próximo", - "btn_go_up": "Nível anterior", - "action_go_to_settings": "Ir para definições", - "btn_reload": "Recarregar", - "btn_tts": "Ativare/desativare text to speech", - "btn_close_accessibility": "Fechar modo de acessibilidade", - "err_module_unavailable": "{{module}} não disponível nesta aplicação", - "force_crash": "Forçar crash", - "hint_my_home_screen_config": "Para personalizar {{label}}", - "hint_two_fingers_tap": "Para ler um artigo toque na área do artigo com dois dedos", - "msg_access_reserved": "Acesso reservado a subscritores", - "msg_already_subscriber": "Já é um assinante? Login", - "msg_continue_to_read": "Subscrever {{paper}}", - "settings_zoom_level": "Zoom nível", - "settings_zoom_level_large": "Grande", - "settings_zoom_level_larger": "Maiores", - "settings_zoom_level_normal": "Normal", - "restart": "Reiniciar", - "str_no_categories": "sem categorias", - "msg_login_overlay_title": "Para continuar a ler", - "msg_download_bundle": "Descarregar dados da aplicação mais recentemente...", - "msg_download_bundle_error": "Descarregamento do bundle com erro, a aplicação tentará actualizar os dados mais tarde", - "msg_press_restart": "Os dados foram descarregados com sucesso, recarregar a aplicação para aplicar as alterações", - "voice_back": " voltar", - "voice_next": "seguinte", - "voice_next_page": "página seguinte", - "voice_previous": "anterior", - "voice_previous_page": "página anterior", - "voice_stop": "stop", - "voice_read": "ler", - "voice_close": "fechar", - "voice_up": "para cima", - "voice_down": "para baixo", - "voice_select": "seleccionar", - "voice_what": "o quê", - "btn_car_mode": "Modo carro", - "btn_close_car_mode": "Fechar modo carro", - "msg_max_share": "Você atingiu o limite diário de compartilhamento para esta edição", - "accessibility_issue_list_header": "Lista de edições", - "btn_close_editions": "Fechar lista de edições", - "btn_go_back_article": "Artigo anterior {{index}}", - "btn_go_next_article": "Próximo artigo {{index}}", - "btn_go_back_section": "Secção anterior: {section}}", - "btn_go_next_section": "Secção seguinte: {{section}}", - "btn_go_up_choose_issue": "Escolha a edição", - "btn_go_up_general_index": "Ir para Índice Geral", - "btn_go_up_section": "Vá para a seção {{section}}", - "selected_page": "página seleccionada {{page}}", - "selected_page_of_index": "página seleccionada {{page}} do índice", - "selected_page_of_section": "página seleccionada {{page}} da secção {{section}}", - "msg_entering_section": "Entrando na secção {{section}}", - "hint_restart": "A aplicação será reiniciada para carregar novas configurações...", - "hint_update_ui": "A interface será actualizada para carregar novas configurações...", - "msg_simulate_accessibility_title": "Ativar o modo de acessibilidade", - "msg_simulate_accessibility": "Esta é uma simulação da aplicação como quando o {{accessibilityAppName}} está activo.\n • toque duplo para seleccionar\n • toque único ou movimento de dedos para ler elemento\n • dois dedos para deslizar", - "accessibility": "Acessibilidade", - "msg_screenshots_disabled": "Capturas de tela não são permitidas neste app", - "settings_tab_index_mode": "Ativar layout de guia no modo de índice", - "settings_enable_push_notifications": "Ativar notificações push", - "settings_manage_privacy_preferences": "Gerenciar preferências de privacidade", - "theme_auto": "Claro/Escuro Automático", - "theme_light": "Luz", - "theme_dark": "Escuro", - "str_sort_by": "Ordenar por", - "str_relevance": "Relevância", - "btn_from": "De", - "btn_to": "Para", - "str_date": "Data", - "srt_order": "Ordem", - "str_byline": "Assinatura", - "str_descending": "descendente", - "str_ascending": "Ascendente", - "str_categories": "Categorias", - "str_select": "Selecione...", - "str_advertisement": "Anúncio", - "iap_multiple_subscriptions": "Subscrições múltiplas", - "iap_go_to_subscriptions": "Ir para a subscrição", - "iap_multiple_subscriptions_message": "Descobrimos que tem várias subscrições activas, por favor desactive as que não precisa. Quando uma subscrição tiver sido desactivada, será reembolsada.{{subscriptions}}", - "iap_multiple_active_subscriptions_message": "Já tem uma subscrição ativa, gostaria de comprar outra? {{subscriptions}}", - "settings_title_box": "Mostrar caixas de título do artigo", - "enable_debug_overlay": "Ativar debugger", - "disable_debug_overlay": "Desativar debugger", - "edit_token": "Editar token", - "title_edit_token_confirm": "Deseja atualizar o token?", - "msg_edit_token_confirm": "Novo valor: \"{{token}}\"", - "uploading": "Carregando..." -}; -},1992,[]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "action_go_to_category": "Vai para {{anchor}}", - "action_open_epaper": "Abrir epaper", - "action_open_gallery": "Abrir Galeria", - "action_open_link": "Abrir link", - "action_remove_from_favorites": "Remover dos favoritos", - "action_save_for_later": "Guardar para depois", - "action_share": "Partilhar", - "action_unknown": "Desconhecido", - "alert_message": "Tem a certeza?", - "all": "Toda", - "all_events": "Todos eventos", - "all_jobs": "Todos os Empregos", - "animation": "Animação", - "animation_action": "Clique no botão para mudar a animação", - "animation_change": "Mudar de animação", - "animation_changed": "Animação alterada", - "article_count": "{{count}} artigos", - "btn_accessibility": "Modo acessibilidade", - "btn_advance_filters": "Filtros avançados", - "btn_account": "Login", - "btn_archive": "Arquivo", - "btn_ask_later": "Pergunta-me depois", - "btn_back": "Voltar", - "btn_cancel": "Cancelar", - "btn_close": "Fechar", - "btn_confirm": "Confirmar", - "btn_contact": "Contacto", - "btn_disable_log_file": "Enviar LOG", - "btn_do_not_show": "Não mostrar novamente", - "btn_download": "Descarregar", - "btn_editions": "Edições", - "btn_enable_log_file": "Ativar LOG", - "btn_feed": "Notícias ao vivo", - "btn_fit_page": "Ajustar", - "btn_g_book": "Percorrer", - "btn_go_to_news": "Vai a Notícias", - "btn_help": "Ajuda", - "btn_index": "Índice", - "btn_link": "Link", - "btn_login": "Login", - "btn_logout": "Logout", - "btn_more": "Mais", - "btn_no": "Não", - "btn_ok": "Ok", - "btn_publications": "Publicações", - "btn_read": "Lê", - "btn_reset": "Reiniciar", - "btn_search": "Pesquisa", - "btn_set_as_default": "Selecionar como padrão", - "btn_settings": "Configurações", - "btn_skip": "Saltar", - "btn_special_section": "Especial", - "btn_store": "Loja", - "btn_swipe": "Percorrer", - "btn_thumbnail": "Páginas", - "btn_yes": "Sim", - "cache_size": "Tamanho da Cache", - "card": "Cartão", - "categories": "Categorias", - "change": "ALTERAR", - "change_location_hint": "Alterar Localização", - "change_radius": "Selecionar Raio", - "clear": "LIMPAR", - "clear_cache": "Limpar cache", - "clear_favorites": "Limpar favoritos", - "confirm": "Confirmar", - "connection_0": "Modalidade Roaming", - "connection_0_description": "Ideal quando tem largura de banda limitada. Texto é descarregado, imagens são descarregadas com resolução baixa.", - "connection_1": "Modalidade Online", - "connection_1_description": "Ideal quando ligado á internet.Só páginas visualizadas são descarregadas e estarão disponíveis em modalidade offline.", - "connection_2": "Modalidade Offline", - "connection_2_description": "Modalidade Offline: Descarrega automaticamente a edição inteira no arranque para leitura offline.", - "counter": "{{current}} de {{total}}", - "custom_location": "Localização personalizada", - "database": "Base de dados", - "database_deleted": "Base de dados eliminado", - "default_search": "Pesquisa padrão", - "dialog_location_message": "Usamos a sua localização para mostrar onde está no mapa", - "dialog_location_title": "Precisamos de aceder à sua localização", - "disabled": "Desativado", - "enabled": "Ativado", - "err_change_animation": "Erro ao alterar animação", - "err_clear_cache": "Erro ao limpar cache", - "err_clear_database": "Erro ao limpar base de dados", - "err_clear_favorites": "Erro ao limpar favoritos", - "err_download_psetup": "Erro durante o download de configurações base", - "err_internet_connection": "Não foi possível conectar-se ao servidor de aplicativos. Por favor, verifique se tem uma ligação á Internet e tente novamente.", - "err_max_min": "Filtro inválido, min deve ser menor que max", - "err_offline": "Não disponível offline", - "err_retrieve_cache": "Erro ao recuperar o cache ", - "err_retrieve_favorites": "Erro ao recuperar favoritos", - "err_translation": "Tradução não disponível", - "err_translation_offline": "Tradução não disponível offline", - "error_on_load_more": "Erro ao tentar carregar mais itens", - "fast": "Rápido", - "favorites": "Favoritos", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_msg_ask_for_feedback": "Existe alguma coisa que possamos fazer para ajudar?", - "feedback_title_request_feedback": "Está a gostar desta aplicação?", - "feedback_title_request_review_feedback": "Ficamos felizes em saber! Gostaria de deixar uma crítica ou classificação?", - "filter_max": "Max", - "filter_min": "Min", - "filter_text": "Escreva texto aqui", - "font_extra_large": "Extra grande", - "font_extra_small": "Extra pequeno", - "font_large": "Grande", - "font_normal": "Normal", - "font_scale": "Tamanho da fonte", - "font_small": "Pequeno", - "from_most_recent": "Do mais recente", - "from_oldest": "Do mais antigo", - "gmc_default_text": "Uma nova edição está disponível. Clique aqui para ler!", - "gmc_message_text": "O {{issue}} do jornal está disponível. Clique aqui para ler!", - "grid": "Grelha", - "grid_list": "Grelha/Lista", - "home": "Home", - "label_exit_accessibility_mode": "Sair do modo de acessibilidade", - "label_open_browser": "Abra no navegador", - "last_search": "Última Procura", - "layout": "Layout", - "learn_more": "Saiba mais", - "list": "Lista", - "loading": "A carregar...", - "local_events": "Eventos Locais", - "max_salary": "Salário máximo", - "min_salary": "Salário mínimo", - "msg_available_next_startup": "Esta configuração estará disponível na próxima sessão", - "msg_clear_cache": "Limpar cache", - "msg_clear_favorites": "Eliminar favoritos", - "msg_copy_to_clipboard": "Copiar par clipboard", - "msg_database_deleted": "Eliminar base de dados", - "msg_delete_db": "Eliminar a base de dados local?", - "msg_delete_localstorage": "Eliminar configurações pessoais?", - "msg_delete_title": "Você quer", - "msg_download_edition": "Fazendo download da edição...", - "msg_download_retry": "Tentativa {{retry}} de {{maxRetries}}...", - "msg_empty_category": "Atualmente, não há artigos atribuídos a {{category}}! Clique para atualizar", - "msg_empty_favorites": "Atualmente, não há favoritos!", - "msg_empty_gallery": "A galeria clicada está vazia", - "msg_empty_list": "Atualmente, não há elementos! Clique para alterar alguns filtros", - "msg_empty_searches": "Atualmente, não há pesquisas guardadas", - "msg_error_category": "Algo deu errado, tente reabrir a categoria ou eliminar a base de dados atrvés das definições! Clique para atualizar", - "msg_error_list": "Algo deu errado, tente mudar alguns filtros", - "msg_error_newspaper": "O jornal está vazio", - "msg_event_over": "o evento acabou", - "msg_exit_application": "Sair da aplicação?", - "msg_failed": "Falhada", - "msg_list_no_articles_available_for_category": "Isso não é um erro. Atualmente, não há artigos atribuídos a esta categoria!", - "msg_list_no_content": "Nenhum conteúdo atual", - "msg_loading_comments": "Carregando comentários...", - "msg_loading_more": "Carregar mais...", - "msg_new_issue_available_title_edition": "Está actualmente a ler {{edition}}", - "msg_new_issue_available_title_edition_date": "Está actualmente a ler a edição {{date}} de {{edition}}", - "msg_new_issue_available": "Uma nova edição está agora disponível, gostaria de a carregar?", - "msg_new_issue_available_edition": "Uma nova edição de {{edition}} está agora disponível, gostaria de a carregar?", - "msg_new_issue_available_date": "A edição de {{date}} está agora disponível, gostaria de a carregar?", - "msg_new_issue_available_edition_date": "A edição de {{date}} de {{edition}} está agora disponível, gostaria de a carregar?", - "msg_not_on_latest_issue": "Não está a ver a última edição disponível, gostaria de a carregar agora?", - "msg_not_on_latest_issue_edition": "Não está a ver a última edição disponível de {{edition}}, gostaria de carregá-la agora?", - "msg_not_on_latest_issue_date": "Não está a ver a última edição disponível, gostaria de carregar a edição de {{date}}?", - "msg_not_on_latest_issue_edition_date": "Não está a ver a última edição disponível, gostaria de carregar a edição {{date}} de {{edition}}?", - "msg_offline_article_graph": "Para utilizar esta função em offline deverà ter descarregado a edição completa enquanto ou algumas imagens ou textos poderão faltar", - "msg_offline_issues": "Seleciona uma edição para ler", - "msg_opening_push": "Abrindo notificações push...", - "msg_pending_purchases": "Concluindo compras pendentes: {{completed}} de {{total}}", - "msg_reload_publication": "descarregar automaticamente a última edição", - "msg_restore_default_settings": "Quer restaurar as configurações padrão?", - "msg_rss_new_articles_available": "{{count}} novos artigos estão disponíveis", - "msg_rss_no_new_articles_available": "Você está atualizado", - "msg_rss_one_new_article_available": "1 novo artigo disponível", - "msg_rss_reload_database": "Nova base de dados carregada", - "msg_rss_update_error": "Erro durante a atualização, verifique sua ligação Internet e tente novamente", - "msg_search_empty": "Nada foi pesquisado", - "msg_search_lite": "Ver resultados na página", - "msg_search_not_found": "Nenhum artigo encontrado com {{text}}", - "msg_sent": "Enviado", - "msg_share_unmanaged": "Opção de compartilhamento não suportada", - "msg_tts_error": "Ocorreu um erro durante o inicio da leitura. Tente mais tarde!", - "msg_tts_no_volume": "Aumentar volument para texto", - "msg_tts_unsupported": "Língua não suportada, tente ler com a voz de default ou verifique se existe outro pacote de voz", - "my_home_categories_selected": "{{categories}} categorias selecionadas para um total de {{articles}} artigos", - "my_location": "Use a minha localização", - "network": "Rede", - "none": "Nenhum", - "normal": "Normal", - "permission_storage_message": "{{appName}} precisa de permissão de armazenamento", - "permission_title": "{{appName}} permissão", - "pj_from_page": "da página", - "pj_to_page": "até à página", - "pj_continue_to_page": "Continue para a página", - "pj_continue_to_page_parent": "Página", - "powered_by": "Powered by TECNAVIA", - "powered_by_who": "Powered by {{who}}", - "push_notification": "Notificação", - "reader_app_text": "Quaisquer contas ou compras efetuadas fora deste app serão gerenciadas pelo “{{developerName}}.” A sua conta da App Store, a forma de pagamento vinculada e os recursos relacionados, tais como o gerenciamento da assinatura e solicitações de reembolso, não estarão disponíveis. A Apple não é responsável pela privacidade ou segurança das transações efetuadas com esse desenvolvedor.", - "reader_app_title": "Você está prestes a sair do app e acessar um site externo. Portanto, você não estará mais realizando transações com a Apple.", - "salary": "Salário: {{salary}}", - "save_search": "Guardar pesquisa", - "saved_searches": "Pesquisas guardadas", - "search_term": "Pesquisar Termo", - "select_after_date": "Selecione após a data", - "select_my_home_categories": "Escolha suas categorias favoritas na lista abaixo para personalizar a sua {{category}}", - "selected_categories": "Categorias selecionadas", - "selected_time_range": "Período selecionado", - "settings": "Definições", - "settings_allow_font_scaling": "Permitir escala de fonte", - "settings_startup_epaper": "E-Edition", - "settings_startup_rss": "Live News", - "settings_startup_choose": "Escolha cada vez", - "show": "MOSTRAR", - "sort_by_date": "Ordenar por", - "sort_by_name": "Classificar por A-Z", - "sort_by_name_reverse": "Classificar por Z-A", - "sort_by_popularity": "Ordenar por Popularidade", - "sort_date_disabled": "Ordenar na data desabilitado", - "start_with": "Começar com", - "str_custom": "Personalizadas", - "str_default_language": "Retornar ao idioma original", - "str_from": "De", - "str_limit_label": "Número de edições para armazenar: {{days}}", - "str_next_week": "Semana seguinte", - "str_page": "Página", - "str_search": "Pesquisar", - "str_search_results": "Resultados de {{text}} - {{count}}", - "str_special_sections": "Seções especiais", - "str_this_week": "Uma semana", - "str_this_weekend": "Este fim de semana", - "str_time_range": "Intervalo de datas", - "str_title": "Título", - "str_to": "Para", - "str_today": "Hoje", - "str_tomorrow": "Amanhã", - "str_translating_article": "Traduzindo artigo...", - "system_error": "Ocorreu um erro", - "theme": "Tema", - "title_bottom_sheet": "Ações", - "title_offline": "Sem conexão com a Internet", - "toggle": "TOGGLE", - "toggle_layout": "Toggle layout", - "toggle_list": "Toggle lista", - "toggle_map": "Toggle mapa", - "total_events": "Eventos: {{total}}", - "total_favorites": "Favoritos: {{total}}", - "total_jobs": "Empregos: {{total}}", - "total_searches": "Pesquisas: {{total}}", - "tutorial": "Tutorial", - "unknown_salary": "Salário Desconhecido", - "unsave_search": "Remover pesquisa guardada", - "version": "Versão", - "vertical_job_location_hint": "Selecione um local", - "vertical_job_text_hint": "Insira uma palavra-chave para pesquisa", - "offline_download_warning": "Esta edição não é totalmente baixado. Algumas partes das páginas pode parecer desfocada.", - "offline_download_dialog": "Quer descarregar a edição completa para leitura offline?", - "user_tip_download_title": "Dica do Utilizador", - "user_tip_download": "Para descarregar automaticamente todas as edições para leitura offline, seleccione 'Mais' > 'Configurações' > 'Offline' como a sua configuração de rede preferida", - "mobile_network_warning": "Está ligado a uma rede móvel em vez de WiFi", - "msg_operation_completed": "Operação concluída", - "msg_ok_delete_db": "Todas as edições guardadas foram eliminadas", - "msg_font_scaling": "Quer manter este parâmetro dentro desta aplicação?", - "msg_font_scaling_title": "Definiu um tamanho de texto personalizado no seu dispositivo", - "msg_download_rss": "Baixando novos artigos...", - "settings_translate": "Traduzir o artigo em", - "settings_themes": "Tema", - "settings_font_size": "Tamanho dos caracteres", - "settings_graph_size": "Nível de zoom", - "settings_number_stored_editions": "Número máximo de edições guardadas", - "settings_restart_from_latest": "Reiniciar da última edição disponível (min)", - "settings_article_mode": "Modo artigo", - "settings_article_mode_all": "Mostrar tudo", - "settings_article_mode_text_and_graphics": "Mostrar artigos e gráficos", - "settings_article_mode_only_text": "Mostrar apenas artigos", - "settings_restore_defaults": "Restaurar configurações", - "settings_clear_storage": "Limpar dados", - "settings_back_to_classic": "Voltar à eEdition Clássica", - "settings_two_fingers_tap_to_article": "Usa toque com dois dedos para abrir a modo artigo", - "settings_single_tap_to_zoom": "Usa um tap para zoomar", - "settings_favorite_edition": "Escolha a sua edição favorita", - "settings_favorite_edition_default_label": "Última edição disponível", - "reset": "REDEFINIR", - "open": "ABRIR", - "settings_enable_column_view": "Habilitar modo de leitura em colunas", - "settings_navigation_arrows": "Setas de navegação", - "settings_navigation_arrows_always": "sempre presentes", - "settings_navigation_arrows_disapper": "desaparecem quando em leitura", - "settings_navigation_arrows_never": "nunca presentes", - "general": "Configurações do aplicativo", - "settings_translate_original": "Língua original", - "advance": "{{label}} | Configurações avançadas", - "send": "MANDAR", - "btn_feedback": "Feedback", - "return": "RETORNA", - "settings_article_highlight": "Manter o artigo actual em destaque quando o modo de artigo estiver aberto", - "write": "ESCREVER", - "btn_continue": "Continue", - "btn_go_back": "Volte", - "btn_go_next": "Próximo", - "btn_go_up": "Nível anterior", - "action_go_to_settings": "Ir para definições", - "btn_reload": "Recarregar", - "btn_tts": "Ativare/desativare text to speech", - "btn_close_accessibility": "Fechar modo de acessibilidade", - "err_module_unavailable": "{{module}} não disponível nesta aplicação", - "force_crash": "Forçar crash", - "hint_my_home_screen_config": "Para personalizar {{label}}", - "hint_two_fingers_tap": "Para ler um artigo toque na área do artigo com dois dedos", - "msg_access_reserved": "Acesso reservado a subscritores", - "msg_already_subscriber": "Já é um assinante? Login", - "msg_continue_to_read": "Subscrever {{paper}}", - "settings_zoom_level": "Zoom nível", - "settings_zoom_level_large": "Grande", - "settings_zoom_level_larger": "Maiores", - "settings_zoom_level_normal": "Normal", - "restart": "Reiniciar", - "str_no_categories": "sem categorias", - "msg_login_overlay_title": "Para continuar a ler", - "msg_download_bundle": "Descarregar dados da aplicação mais recentemente...", - "msg_download_bundle_error": "Descarregamento do bundle com erro, a aplicação tentará actualizar os dados mais tarde", - "msg_press_restart": "Os dados foram descarregados com sucesso, recarregar a aplicação para aplicar as alterações", - "voice_back": " voltar", - "voice_next": "seguinte", - "voice_next_page": "página seguinte", - "voice_previous": "anterior", - "voice_previous_page": "página anterior", - "voice_stop": "stop", - "voice_read": "ler", - "voice_close": "fechar", - "voice_up": "para cima", - "voice_down": "para baixo", - "voice_select": "seleccionar", - "voice_what": "o quê", - "msg_max_share": "Você atingiu o limite diário de compartilhamento para esta edição", - "accessibility_issue_list_header": "Lista de edições", - "btn_close_editions": "Fechar lista de edições", - "btn_go_back_article": "Artigo anterior {{index}}", - "btn_go_next_article": "Próximo artigo {{index}}", - "btn_go_back_section": "Secção anterior: {section}}", - "btn_go_next_section": "Secção seguinte: {{section}}", - "btn_go_up_choose_issue": "Escolha a edição", - "btn_go_up_general_index": "Ir para Índice Geral", - "btn_go_up_section": "Vá para a seção {{section}}", - "selected_page": "página seleccionada {{page}}", - "selected_page_of_index": "página seleccionada {{page}} do índice", - "selected_page_of_section": "página seleccionada {{page}} da secção {{section}}", - "msg_entering_section": "Entrando na secção {{section}}", - "hint_restart": "A aplicação será reiniciada para carregar novas configurações...", - "hint_update_ui": "A interface será actualizada para carregar novas configurações...", - "msg_simulate_accessibility_title": "Ativar o modo de acessibilidade", - "msg_simulate_accessibility": "Esta é uma simulação da aplicação como quando o {{accessibilityAppName}} está activo.\n • toque duplo para seleccionar\n • toque único ou movimento de dedos para ler elemento\n • dois dedos para deslizar", - "accessibility": "Acessibilidade", - "msg_screenshots_disabled": "Capturas de tela não são permitidas neste app", - "settings_tab_index_mode": "Ativar layout de guia no modo de índice", - "settings_enable_push_notifications": "Ativar notificações push", - "settings_manage_privacy_preferences": "Gerenciar preferências de privacidade", - "theme_auto": "Claro/Escuro Automático", - "theme_light": "Luz", - "theme_dark": "Escuro", - "str_sort_by": "Ordenar por", - "str_relevance": "Relevância", - "btn_from": "De", - "btn_to": "Para", - "str_date": "Data", - "srt_order": "Ordem", - "str_byline": "Assinatura", - "str_descending": "descendente", - "str_ascending": "Ascendente", - "str_categories": "Categorias", - "str_select": "Selecione...", - "str_advertisement": "Anúncio", - "iap_multiple_subscriptions": "Subscrições múltiplas", - "iap_go_to_subscriptions": "Ir para a subscrição", - "iap_multiple_subscriptions_message": "Descobrimos que tem várias subscrições activas, por favor desactive as que não precisa. Quando uma subscrição tiver sido desactivada, será reembolsada.{{subscriptions}}", - "iap_multiple_active_subscriptions_message": "Já tem uma subscrição ativa, gostaria de comprar outra? {{subscriptions}}", - "settings_title_box": "Mostrar caixas de título do artigo", - "enable_debug_overlay": "Habilitar debugger", - "disable_debug_overlay": "Desativar debugger", - "edit_token": "Editar token", - "title_edit_token_confirm": "Deseja atualizar o token?", - "msg_edit_token_confirm": "Novo valor: \"{{token}}\"", - "uploading": "Carregando..." -}; -},1993,[]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "action_go_to_category": "Ga naar {{anchor}}", - "action_open_epaper": "Open de e-Paper", - "action_open_gallery": "Open de galerij", - "action_open_link": "Open de link", - "action_remove_from_favorites": "Verwijder uit favorieten", - "action_save_for_later": "Bewaar voor later", - "action_share": "Delen", - "action_unknown": "Onbekend", - "alert_message": "Weet u het zeker?", - "all": "Alle", - "all_events": "Alle evenementen", - "all_jobs": "Alle vacatures", - "animation": "Animatie", - "animation_action": "Klik op de knop om de animatie te wijzigen", - "animation_change": "Animatie wijzigen", - "animation_changed": "Animation gewijzigd", - "article_count": "{{count}} artikelen", - "btn_accessibility": "Toegankelijkheidsmodus", - "btn_account": "Log in", - "btn_advance_filters": "Geavanceerde filters", - "btn_archive": "Archief", - "btn_ask_later": "Vraag het mij later", - "btn_back": "Terug", - "btn_cancel": "Annuleer", - "btn_close": "Skip", - "btn_confirm": "Bevestigen", - "btn_contact": "Contact", - "btn_disable_log_file": "Verstuur LOG", - "btn_do_not_show": "Niet meer laten zien", - "btn_download": "Download", - "btn_editions": "Edities", - "btn_enable_log_file": "Activeer LOG", - "btn_feed": "Live Nieuws", - "btn_fit_page": "Passend maken", - "btn_g_book": "Blad omslaan", - "btn_go_to_news": "Ga naar nieuws", - "btn_help": "Ondersteuning", - "btn_index": "Index", - "btn_link": "Link", - "btn_login": "Log in", - "btn_logout": "Uitloggen", - "btn_more": "Meer", - "btn_no": "Nee", - "btn_ok": "OK", - "btn_publications": "Publicaties", - "btn_read": "Lezen", - "btn_reset": "Reset", - "btn_search": "Zoeken", - "btn_set_as_default": "Als stand. inst.", - "btn_settings": "Instellingen", - "btn_skip": "Overslaan", - "btn_special_section": "Special", - "btn_store": "Bewaren", - "btn_swipe": "Blad omslaan", - "btn_thumbnail": "Pagina's", - "btn_yes": "Ja", - "cache_size": "Cache grootte", - "card": "Kaart", - "categories": "Categorieën", - "change": "VERANDER", - "change_location_hint": "Locatie wijzigen", - "change_radius": "Selecteer Radius", - "clear": "VERWIJDER", - "clear_cache": "Verwijder cache", - "clear_favorites": "Verwijder favorieten", - "confirm": "Bevestigen", - "connection_0": "Mobiele modus", - "connection_0_description": "Tekstmodus. Bij beperkte bandbreedte.", - "connection_1": "3G Modus", - "connection_1_description": "Grafische/tekstuele presentatie van de editie. Download beperkt tot mobiele modus.", - "connection_2": "Wifi Mode", - "connection_2_description": "Wifi Mode: Grafische/tekstuele presentatie van de editie. Ook grafische elementen kunnen gedownload worden", - "counter": "{{current}} van {{total}}", - "custom_location": "Gepersonaliseerde Locatie", - "database": "Database", - "database_deleted": "Database verwijderd", - "default_search": "Standaard zoeken", - "dialog_location_message": "We gebruiken uw locatie om op de kaart te laten zien waar u bent", - "dialog_location_title": "We hebben toegang tot uw locatie nodig", - "disabled": "Uitgeschakeld", - "enabled": "Ingeschakeld", - "err_change_animation": "Fout bij het wijzigen van de animatie", - "err_clear_cache": "Fout bij het wissen van de cache", - "err_clear_database": "Fout bij het wissen van de database", - "err_clear_favorites": "Fout bij het opschonen van de favorieten", - "err_download_edition": "Er is een fout opgetreden bij het downloaden van de editie", - "err_download_edition_db": "Er is een fout opgetreden bij het downloaden van de editie database", - "err_download_psetup": "Fout tijdens het downloaden van basisconfiguraties", - "err_internet_connection": "Kon geen verbinding maken met de applicatieserver. Zorg ervoor dat u verbinding heeft met het internet en probeer het opnieuw", - "err_max_min": "Ongeldig filter, min. moet kleiner zijn dan max.", - "err_offline": "Niet offline beschikbaar", - "err_retrieve_cache": "Fout bij het ophalen van de cache", - "err_retrieve_favorites": "Fout bij het ophalen van de favorieten", - "err_translation": "Vertaling niet beschikbaar", - "err_translation_offline": "Vertaling niet offline beschikbaar", - "error_on_load_more": "Fout bij het laden van meer items", - "fast": "Snel", - "favorites": "Favorieten", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_msg_ask_for_feedback": "Is er iets dat wij kunnen doen om u behulpzaam te zijn?", - "feedback_title_request_feedback": "Geniet u van de App?", - "feedback_title_request_review_feedback": "Goed om te horen! Wilt u een recensie of puntenbeoordeling achterlaten?", - "filter_max": "Max", - "filter_min": "Min", - "filter_text": "Schrijf hier uw tekst", - "font_extra_large": "Extra groot", - "font_extra_small": "Extra klein", - "font_large": "Groot", - "font_normal": "Normaal", - "font_scale": "Grootte lettertype", - "font_small": "Klein", - "from_most_recent": "Uit de meest recente", - "from_oldest": "Uit de oudste", - "gmc_default_text": "Er is een nieuwe uitgave beschikbaar. Tap hier om te lezen!", - "gmc_message_text": "De titel {{issue}} is nu beschikbaar. Tap hier om te lezen!", - "grid": "Raster", - "grid_list": "raster/lijst", - "home": "Home", - "label_exit_accessibility_mode": "Verlaat de Toegankelijkheidsmodus", - "label_open_browser": "Open in de browser", - "last_search": "Laatste zoekopdracht", - "layout": "Layout", - "learn_more": "Lees meer", - "list": "Lijst", - "loading": "Bezig met laden...", - "local_events": "Lokale evenementen", - "max_salary": "Max. salaris", - "min_salary": "Min. salaris", - "msg_available_next_startup": "Deze configuratie is beschikbaar na een herstart", - "msg_clear_cache": "Verwijder cache", - "msg_clear_favorites": "Verwijder favorieten", - "msg_copy_to_clipboard": "Kopieer naar klembord", - "msg_database_deleted": "Verwijder database", - "msg_delete_db": "Databasegegevens verwijderen?", - "msg_delete_localstorage": "Persoonlijke instellingen wissen?", - "msg_delete_title": "Wil je", - "msg_download_edition": "Bezig met downloaden van editie...", - "msg_download_retry": "Poging {{retry}} van {{maxRetries}}...", - "msg_empty_category": "Momenteel zijn er geen artikelen toegewezen aan {{category}}! Tap om te verversen", - "msg_empty_favorites": "Momenteel zijn er geen favorieten!", - "msg_empty_gallery": "De aangeklikte galerij is leeg", - "msg_empty_list": "Momenteel zijn er geen elementen beschikbaar! Tap om sommige filters te wijzigen", - "msg_empty_searches": "Momenteel zijn er geen opgeslagen zoekopdrachten!", - "msg_error_category": "Er is iets misgegaan, probeer de categorie opnieuw te openen of verwijder de database uit de instellingen ! Tap om te verversen", - "msg_error_list": "Er is iets misgegaan, probeer een aantal filters te veranderen", - "msg_error_newspaper": "Krant is leeg", - "msg_event_over": "'Het evenement is voorbij.'", - "msg_exit_application": "De applicatie verlaten?", - "msg_failed": "Mislukt", - "msg_list_no_articles_available_for_category": "Dit is geen fout. Momenteel zijn er geen artikelen aan deze categorie toegewezen!", - "msg_list_no_content": "Geen actuele inhoud", - "msg_loading_comments": "Opmerkingen laden...", - "msg_loading_more": "Meer laden...", - "msg_new_issue_available": "Een nieuwe krant is nu beschikbaar: wilt u deze downloaden?", - "msg_not_on_latest_issue": "Dit is niet de meest recente krant: wilt u deze downloaden?", - "msg_new_issue_available_title_edition": "Je leest momenteel {{edition}}", - "msg_new_issue_available_title_edition_date": "U leest momenteel het nummer van {{date}} van {{edition}}", - "msg_new_issue_available_edition": "Er is nu een nieuwe editie van {{edition}} beschikbaar, wil je hem laden?", - "msg_new_issue_available_date": "Het nummer van {{date}} is nu beschikbaar, wil je hem laden?", - "msg_new_issue_available_edition_date": "Het nummer van {{edition}} van {{date}}is nu beschikbaar, wil je hem laden?", - "msg_not_on_latest_issue_edition": "U ziet niet de laatst beschikbare editie van {{edition}}, wil je hem nu laden?", - "msg_not_on_latest_issue_date": "U kijkt niet naar de laatst beschikbare editie, wilt u het nummer van {{date}} downloaden?", - "msg_not_on_latest_issue_edition_date": "U kijkt niet naar de laatst beschikbare editie, wil je het nummer van {{date}} van {{edition}} downloaden?", - "msg_offline_article_graph": "Als u deze functie offline wilt inschakelen dan dient u de uitgave volledig te downloaden of sommige afbeeldingen of tekstfragmenten kunnen ontbreken.", - "msg_offline_issues": "Selecteer een gedownloade versie te lezen", - "msg_opening_push": "Pushmeldingen openen...", - "msg_pending_purchases": "Aankopen in behandeling afronden: {{completed}} van {{total}}", - "msg_reload_publication": "Automatisch de nieuwste editie downloaden?", - "msg_restore_default_settings": "Wilt u de standaard app-instellingen herstellen?", - "msg_rss_new_articles_available": "{{count}} nieuwe artikelen zijn beschikbaar", - "msg_rss_no_new_articles_available": "U bent up-to-date", - "msg_rss_one_new_article_available": "1 nieuw artikel is beschikbaar", - "msg_rss_reload_database": "Nieuwe database gedownload", - "msg_rss_update_error": "Fout tijdens de update, controleer uw internetverbinding en probeer opnieuw", - "msg_search_empty": "Niets werd doorzocht", - "msg_search_lite": "Bekijk resultaten op pagina", - "msg_search_not_found": "Geen artikel gevonden met {{text}}", - "msg_sent": "Verstuurd", - "msg_share_unmanaged": "Optie om te delen onbeheerd", - "msg_tts_error": "Er treedt een fout op, later proberen!", - "msg_tts_no_volume": "Verhoog volume naar luisterende tekst", - "msg_tts_unsupported": "Niet-ondersteunde taal, probeer de standaardvoice te gebruiken of controleer of er een aangepast taalpakket bestaat!", - "my_home_categories_selected": "{{categories}} categorieën geselcteerd voor een totaal aantal van {{articles}} artikelen", - "my_location": "Gebruik mijn locatie", - "network": "Netwerk", - "none": "Geen", - "normal": "Normaal", - "permission_storage_message": "{{appName}} toestemming voor opslag nodig", - "permission_title": "{{appName}} toestemming", - "pj_from_page": "van pagina", - "pj_to_page": "naar pagina", - "pj_continue_to_page": "Ga verder naar pagina", - "pj_continue_to_page_parent": "Pagina", - "powered_by": "Powered by TECNAVIA", - "powered_by_who": "Mogelijk gemaakt door {{who}}", - "push_notification": "Pushmelding", - "reader_app_text": "Alle accounts of aankopen die aangemaakt of gedaan zijn buiten deze app worden beheerd door de ontwikkelaar '{{developerName}}'. Je App Store-account, bewaarde betaalmethode en andere gerelateerde diensten, zoals abonnementsbeheer en restitutieverzoeken zijn niet beschikbaar. Apple is niet verantwoordelijk voor de privacy of beveiliging van transacties met deze ontwikkelaar.", - "reader_app_title": "Je staat op het punt om de app te verlaten en naar een externe website te gaan. Je hebt geen transacties meer met Apple.", - "retry": "Opnieuw", - "salary": "Salaris: {{salary}}", - "save_search": "Zoekopdracht opslaan", - "saved_searches": "Bewaarde Zoekopdrachten", - "search_term": "Zoekterm", - "select_after_date": "Kies na datum", - "select_my_home_categories": "Kies uit onderstaande lijst uw favoriete categorieën en personaliseer {{category}}", - "selected_categories": "Geselecteerde categorieën", - "selected_time_range": "Geselecteerd datumbereik", - "settings": "Instellingen", - "settings_allow_font_scaling": "Schalen van lettertypen toestaan", - "settings_startup_epaper": "E-Edition", - "settings_startup_rss": "Live Nieuws", - "settings_startup_choose": "Kies elke keer", - "show": "SHOW", - "sort_by_date": "Sorteer op datum:", - "sort_by_name": "Sorteer op A-Z", - "sort_by_name_reverse": "Sorteer op Z-A", - "sort_by_popularity": "Sorteren op populariteit", - "sort_date_disabled": "Sorteren op datum uitschakelen", - "start_with": "Begin met", - "str_custom": "Custom", - "str_default_language": "Keer terug naar de oorspronkelijke taal", - "str_from": "Vanaf", - "str_limit_label": "Max opgeslagen edities: {{days}}", - "str_next_week": "Volgende week", - "str_page": "Pagina", - "str_search": "Zoeken", - "str_search_results": "{{text}} - {{count}} resultaten", - "str_special_sections": "Speciale secties", - "str_this_week": "Deze Week", - "str_this_weekend": "Dit weekend", - "str_time_range": "Datumbereik", - "str_title": "Titel", - "str_to": "Tot", - "str_today": "Vandaag", - "str_tomorrow": "Morgen", - "str_translating_article": "Artikel vertalen...", - "system_error": "Er is een fout opgetreden", - "title_bottom_sheet": "Acties", - "title_offline": "Geen internet verbinding", - "toggle": "WISSELEN", - "toggle_layout": "Layout ", - "toggle_list": "Van lijst wisselen", - "toggle_map": "Van map wisselen", - "total_events": "Evenementen: {{total}}", - "total_favorites": "Favorieten: {{total}}", - "total_jobs": "Vacatures: {{total}}", - "total_searches": "Zoekopdrachten: {{total}}", - "tutorial": "Handleiding", - "unknown_salary": " Salaris onbekend", - "unsave_search": "Opgeslagen zoekopdracht verwijderen", - "version": "Versie", - "vertical_job_location_hint": "Kies een locatie", - "vertical_job_text_hint": "Voer een trefwoord in om te zoeken", - "offline_download_warning": "Deze uitgave is niet volledig gedownload. Sommige delen van de pagina's kunnen derhalve onscherp getoond worden.", - "user_tip_download_title": "Gebruikerstip", - "user_tip_download": "Indien u alle edities automatisch wilt downloaden om offline te kunnen bekijken, druk dan op de knop 'Meer' -> 'Instellingen' -> Selecteer 'Wifi mode' als netwerkmodus", - "offline_download_dialog": "Wilt u de volledige uitgave downloaden om offline te kunnen lezen?", - "mobile_network_warning": "U bent verbonden met een mobiel netwerk in plaats van WiFi", - "msg_operation_completed": "Bewerking voltooid", - "msg_ok_delete_db": "Alle opgeslagen edities zijn verwijderd", - "msg_download_rss": "Nieuwe artikelen downloaden...", - "settings_translate": "Vertaal artikelen naar", - "settings_themes": "Thema", - "settings_font_size": "Lettertypegrootte", - "settings_graph_size": "Zoomniveau", - "settings_number_stored_editions": "Max opgeslagen edities", - "settings_restart_from_latest": "Herstart van de laatste editie beschikbaar (min)", - "settings_article_mode": "Artikelmodus", - "settings_article_mode_all": "Toon alles", - "settings_article_mode_text_and_graphics": "Toon artikelen en afbeeldingen", - "settings_article_mode_only_text": "Alleen artikelen weergeven", - "settings_restore_defaults": "Standaard instellingen terugzetten", - "settings_clear_storage": "Klar lagring", - "settings_back_to_classic": "Keer terug naar de klassieke editie", - "settings_two_fingers_tap_to_article": "Gebruik de twee vinger tap om een artikel te openen in tekstmodus", - "settings_single_tap_to_zoom": "Gebruik de enkele tap om in te zoomen", - "settings_favorite_edition": "Kies je favoriete editie", - "settings_favorite_edition_default_label": "Laatste editie beschikbaar", - "reset": "RESET", - "open": "OPEN", - "settings_enable_column_view": "Weergave van artikelen met meerdere kolommen inschakelen", - "settings_navigation_arrows": "Navigatiepijlen", - "settings_navigation_arrows_always": "altijd aanwezig", - "settings_navigation_arrows_disapper": "verdwijnen tijdens het lezen", - "settings_navigation_arrows_never": "nooit aanwezig", - "general": "App instellingen", - "settings_translate_original": "Originele taal", - "advance": "{{label}} | Geavanceerde instellingen", - "send": "VERSTUREN", - "btn_feedback": "Feedback", - "return": "OPBRENGST", - "settings_article_highlight": "Houd het huidige artikel gemarkeerd wanneer de artikelmodus is geopend", - "write": "SCHRIJVEN", - "btn_continue": "Ga door", - "btn_go_back": "Ga terug", - "btn_go_next": "Ga volgende", - "btn_go_up": "Vorig niveau", - "action_go_to_settings": "Ga naar Instellingen", - "btn_reload": "Herladen", - "btn_tts": "Schakel tekst naar spraak", - "btn_close_accessibility": "Toegankelijkheidsmodus sluiten", - "err_module_unavailable": "{{module}} niet beschikbaar in deze app", - "force_crash": "Forceer crash", - "hint_my_home_screen_config": "Om {{label}} te personaliseren", - "hint_two_fingers_tap": "Om een ​​artikel te lezen, tikt u met twee vingers op het artikelgebied", - "hint_restart": "De applicatie zal opnieuw opstarten om nieuwe configuraties te laden...", - "hint_update_ui": "De gebruikersinterface wordt bijgewerkt om nieuwe instellingen te laden, mogelijk ziet u een flikkering...", - "msg_access_reserved": "Toegang voorbehouden aan abonnees", - "msg_already_subscriber": "Ben je al abonnee? Log in", - "msg_continue_to_read": "Abonneer je op {{paper}}", - "theme": "Thema", - "settings_zoom_level": "Zoomniveau", - "settings_zoom_level_large": "Groot", - "settings_zoom_level_larger": "groter", - "settings_zoom_level_normal": "normaal", - "restart": "Herstarten", - "str_no_categories": "geen categorieën", - "msg_login_overlay_title": "Om verder te lezen", - "voice_back": "terug", - "voice_what": "wat", - "voice_next": "volgende", - "voice_next_page": "volgende pagina", - "voice_previous": "vorige", - "voice_previous_page": "vorige pagina", - "voice_stop": "stop", - "voice_read": "lezen", - "voice_close": "close", - "voice_up": "up", - "voice_down": "down", - "voice_select": "select", - "msg_max_share": "Je hebt de dagelijkse limiet voor delen voor deze editie bereikt", - "accessibility": "Toegankelijkheid", - "msg_simulate_accessibility_title": "Toegankelijkheidsmodus inschakelen", - "msg_screenshots_disabled": "Schermafbeeldingen zijn niet toegestaan ​​in deze app", - "settings_tab_index_mode": "Schakel tabbladindeling in indexmodus in", - "settings_enable_push_notifications": "Schakel pushmeldingen in", - "settings_manage_privacy_preferences": "Beheer privacyvoorkeuren", - "theme_auto": "Automatisch licht/donker", - "theme_light": "Licht", - "theme_dark": "Donker", - "str_sort_by": "Sorteer op", - "str_relevance": "Relevantie", - "btn_from": "Van", - "btn_to": "Naar", - "str_date": "Datum", - "srt_order": "Volgorde", - "str_byline": "Naamregel", - "str_descending": "Aflopend", - "str_ascending": "Oplopend", - "str_categories": "Categorieën", - "str_select": "Selecteer...", - "str_advertisement": "Advertentie", - "iap_go_to_subscriptions": "Ga naar abonnement", - "iap_multiple_subscriptions": "Meerdere abonnementen", - "iap_multiple_subscriptions_message": "We hebben vastgesteld dat u meerdere actieve abonnementen heeft. Schakel de abonnementen uit die u niet nodig heeft. Wanneer een abonnement is uitgeschakeld, wordt het terugbetaald.{{subscriptions}}", - "iap_multiple_active_subscriptions_message": "U heeft al een actief abonnement, maar wilt u toch een nieuw abonnement aanschaffen? {{subscriptions}}", - "settings_title_box": "Titelvakken van artikelen weergeven", - "enable_debug_overlay": "Schakel foutopsporing in", - "disable_debug_overlay": "Schakel foutopsporing uit", - "edit_token": "Token bewerken", - "title_edit_token_confirm": "Wilt u het token bijwerken?", - "msg_edit_token_confirm": "Nieuwe waarde: \"{{token}}\"", - "uploading": "Uploaden..." -} -; -},1994,[]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "action_go_to_category": "Gå til {{anchor}}", - "action_open_epaper": "Åpne epaper", - "action_open_gallery": "Åpne galleri", - "action_open_link": "Åpne lenke", - "action_remove_from_favorites": "Fjern fra favoritter", - "action_save_for_later": "Lagre til senere", - "action_share": "Dele", - "action_unknown": "Ukjent", - "alert_message": "Er du sikker?", - "all": "Alt", - "all_events": "&Hendingar", - "all_jobs": "Alle jobber", - "animation": "Animasjon", - "animation_action": "Klikk på knappen for å endre animasjon", - "animation_change": "Animasjon endre", - "animation_changed": "Animasjon endret", - "article_count": "{{count}} artikler", - "btn_accessibility": "Tilgjengelighetsmodus", - "btn_account": "Logg Inn", - "btn_advance_filters": "Forhånd filtre", - "btn_archive": "Arkiv", - "btn_ask_later": "Spør Meg Senere", - "btn_back": "tilbake", - "btn_cancel": "Avbryt", - "btn_close": "Lukk", - "btn_confirm": "Bekreft", - "btn_contact": "Kontakt", - "btn_disable_log_file": "Send LOGG", - "btn_do_not_show": "Ikke Vis Igjen", - "btn_download": "Nedlasting", - "btn_editions": "Editions", - "btn_enable_log_file": "Aktiver LOGG", - "btn_feed": "Live News", - "btn_fit_page": "Filter", - "btn_g_book": "Bla gjennom", - "btn_go_to_news": "Gå til nyheter", - "btn_help": "Hjelp", - "btn_index": "Indeks", - "btn_link": "Lenkje", - "btn_login": "Logg inn", - "btn_logout": "Logg ut", - "btn_more": "Meir", - "btn_no": "Nei", - "btn_ok": "Ja", - "btn_publications": "Publikasjoner", - "btn_read": "Lese", - "btn_reset": "Tilbakestill", - "btn_search": "Søke", - "btn_set_as_default": "Sett som standard", - "btn_settings": "Innstillingar", - "btn_skip": "Hopp", - "btn_special_section": "Spesial", - "btn_store": "Lagra", - "btn_swipe": "Bla gjennom", - "btn_thumbnail": "Sider", - "btn_yes": "Ja:", - "cache_size": "Cache-størrelse", - "card": "Kort", - "categories": "Kategoriler", - "change": "ENDRE", - "change_location_hint": "Velg nytt sted", - "change_radius": "Velg Radius", - "clear": "KLART", - "clear_cache": "Slett cache", - "clear_favorites": "Klare favoritter", - "confirm": "Bekreft", - "connection_0": "Roaming-modus", - "connection_0_description": "Ideell når begrenset båndbredde er tilgjengelig. Tekstversjonen av utgaven er lastet ned, bilder vil bli vist med svært lav oppløsning.", - "connection_1": "Online-modus", - "connection_1_description": "Ideell mens du er koblet til Internett. Bare sider som vises er lastet ned og tilgjengelig for offline lesing.", - "connection_2": "Frakoblet modus", - "connection_2_description": "Frakoblet modus: Laster automatisk ned hele utgaven ved oppstart for offline lesing.", - "counter": "{{current}} av {{total}}", - "custom_location": "Eigendefinert stad", - "database": "Database", - "database_deleted": "Database slettet", - "default_search": "Standard søk", - "dialog_location_message": "Vi bruker din posisjon til å vise hvor du er på kartet", - "dialog_location_title": "Vi trenger å få tilgang til posisjonen din", - "disabled": "Funksjonshemmede", - "enabled": "Aktivert", - "err_change_animation": "Feil å endre animasjon", - "err_clear_cache": "Feil å tømme cache", - "err_clear_database": "Feil å fjerne database", - "err_clear_favorites": "Feil å klare favoritter", - "err_download_edition": "Det oppstod en feil under nedlastingen av utgåven", - "err_download_edition_db": "Det oppstod en feil under nedlasting av utgåveens database", - "err_download_psetup": "Feil under nedlasting av base-konfigurasjoner", - "err_internet_connection": "Kan ikke koble til server program. Vennligst kontroller at du har internett-tilkobling, og prøv på nytt.", - "err_max_min": "Ugyldig filter, min må være mindre enn maks", - "err_offline": "Eksternt innhold ikke tilgjengelig offline", - "err_retrieve_cache": "Feil å hente cache", - "err_retrieve_favorites": "Feil å hente favoritter", - "err_translation": "Oversettelse ikke tilgjengelig", - "err_translation_offline": "Oversettelse ikke tilgjengelig offline", - "error_on_load_more": "Feilmelding når du prøver å legge flere elementer", - "fast": "Rask", - "favorites": "Favoritter", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_msg_ask_for_feedback": "Er det noe vi kan gjøre for å hjelpe?", - "feedback_title_request_feedback": "Er du nyter din tid med App?", - "feedback_title_request_review_feedback": "Glad for å høre! Ønsker du å legge igjen en anmeldelse eller vurdering?", - "filter_max": "Max", - "filter_min": "Min", - "filter_text": "Skriv tekst her", - "font_extra_large": "Extra large", - "font_extra_small": "Ekstra liten", - "font_large": "Stor", - "font_normal": "Normal", - "font_scale": "Skrift Skala", - "font_small": "Liten", - "from_most_recent": "Fra den siste", - "from_oldest": "Fra de eldste", - "gmc_default_text": "En ny utgave er tilgjengelig. Trykk her for å lese!", - "gmc_message_text": "{{issue}} avis er nå tilgjengelig. Trykk her for å lese!", - "grid": "Rutenett", - "grid_list": "grid/liste", - "home": "Hjem", - "label_exit_accessibility_mode": "Gå ut av Tilgjengelighetsmodus", - "label_open_browser": "Åpne i nettleseren", - "last_search": "Førre søk", - "layout": "Layout", - "learn_more": "Lees mer", - "list": "Listen", - "loading": "Laster...", - "local_events": "Lokale arrangementer", - "max_salary": "Maks. lønn", - "min_salary": "Min. lønn", - "msg_available_next_startup": "Denne konfigurasjonen vil være tilgjengelig neste oppstart", - "msg_clear_cache": "Slett cache", - "msg_clear_favorites": "Slett favoritter", - "msg_copy_to_clipboard": "Kopier til utklippstavle", - "msg_database_deleted": "Slette database", - "msg_delete_db": "Slett DataBase Data?", - "msg_delete_localstorage": "Slett personlige innstillinger?", - "msg_delete_title": "vil du", - "msg_download_edition": "Laster ned utgave...", - "msg_download_retry": "Forsøk på {{retry}} av {{maxRetries}}...", - "msg_empty_category": "Foreløpig er det ingen artikler som er tilordnet til {{category}}! Ta hurtig på for å oppdatere", - "msg_empty_favorites": "Foreløpig er det ingen favoritter!", - "msg_empty_gallery": "Klikket gallery er tom", - "msg_empty_list": "Foreløpig er det ingen elementer! Trykk for å endre noen filtre", - "msg_empty_searches": "Foreløpig er det ingen lagrede søk", - "msg_error_category": "Noe gikk galt, prøver å åpne kategorien eller slette database fra innstillinger! Ta hurtig på for å oppdatere", - "msg_error_list": "Noe gikk feil, prøv å endre noen filtre", - "msg_error_newspaper": "Avisen er tom", - "msg_event_over": "Arrangementet er over.", - "msg_exit_application": "Avslutte programmet?", - "msg_failed": "Feila", - "msg_list_no_articles_available_for_category": "Dette er ikke en feil. Foreløpig er det ingen artikler lagt til i denne kategorien!", - "msg_list_no_content": "Ingen nåværende innhold", - "msg_loading_comments": "Lastar inn kommentarer...", - "msg_loading_more": "Legge i mer...", - "msg_new_issue_available": "En ny utgave er nå tilgjengelig, vil du laste den ned?", - "msg_not_on_latest_issue": "Du ser ikke på den siste tilgjengelige utgaven, vil du laste den nå?", - "msg_new_issue_available_title_edition": "Du leser for øyeblikket {{edition}}", - "msg_new_issue_available_title_edition_date": "Du leser for øyeblikket {{date}}-utgaven av {{edition}}", - "msg_new_issue_available_edition": "En ny utgave av {{edition}} er nå tilgjengelig, vil du laste den?", - "msg_new_issue_available_date": "{{date}}-utgaven er nå tilgjengelig. Vil du laste den?", - "msg_new_issue_available_edition_date": "{{date}}-utgaven av {{edition}} er nå tilgjengelig, vil du laste den?", - "msg_not_on_latest_issue_edition": "Du ser ikke den siste tilgjengelige utgaven av {{edition}}, vil du laste den nå?", - "msg_not_on_latest_issue_date": "Du ser ikke på den siste tilgjengelige utgaven, vil du laste ned {{date}}-utgaven?", - "msg_not_on_latest_issue_edition_date": "Du ser ikke på den siste tilgjengelige utgaven, vil du laste ned {{date}}-utgaven av {{edition}}?", - "msg_offline_article_graph": "Hvis du vil bruke denne funksjonen i frakoblet modus, må du ha lastet ned hele utgaven, eller noen bilder eller tekststykker kan mangle.", - "msg_offline_issues": "Velg en nedlastet utgave for å lese", - "msg_opening_push": "Åpner push-varsler...", - "msg_pending_purchases": "Fullfører ventende kjøp: {{completed}} av {{total}}", - "msg_reload_publication": "last ned automatisk den nyeste utgaven?", - "msg_restore_default_settings": "Vil du gjenopprette standard appinnstillinger?", - "msg_rss_new_articles_available": "{{count}} nye artikler er tilgjengelig", - "msg_rss_no_new_articles_available": "Du er up-to-date", - "msg_rss_one_new_article_available": "1 ny artikkel er tilgjengelig", - "msg_rss_reload_database": "Ny database lastet ned", - "msg_rss_update_error": "Feilmelding under oppdateringen, må du kontrollere internett-tilkoblingen, og prøv igjen", - "msg_search_empty": "Ingenting ble søkt", - "msg_search_lite": "Se resultater på side", - "msg_search_not_found": "Ingen artikkel funnet med {{text}}", - "msg_sent": "Sendt", - "msg_share_unmanaged": "Dele alternativet ikke-administrerte", - "msg_tts_error": "En feil oppstår, prøv igjen!", - "msg_tts_no_volume": "Øk volumet til lystetekst", - "msg_tts_unsupported": "Ikke støttet språk, prøv å bruke standard stemme eller sjekk om det finnes en tilpasset språkpakke!", - "my_home_categories_selected": "{{categories}} kategorier som er valgt for en sum av {{articles}} artikler", - "my_location": "Bruk min plassering", - "network": "Nettverk", - "none": "Ingen", - "normal": "Normal", - "permission_storage_message": "{{appName}} behov lagring tillatelse", - "permission_title": "{{appName}} tillatelse", - "pj_from_page": "fra side", - "pj_to_page": "til side", - "pj_continue_to_page": "Fortsett til siden", - "pj_continue_to_page_parent": "Side", - "powered_by": "Drevet av TECNAVIA", - "powered_by_who": "Powered by {{who}}", - "push_notification": "Push-varsling", - "reader_app_text": "Kontoer og kjøp utenfor denne appen kommer til å håndteres av “{{developerName}}”. Din App Store-konto, lagrede betalingsmåter og andre funksjoner, som for eksempel administrasjon av abonnementer og refunderinger, kommer ikke til å være tilgjengelige. Apple er ikke ansvarlig for personvern eller sikkerhet ved transaksjoner med denne utvikleren.", - "reader_app_title": "Du forlater nå appen og går til en ekstern nettside. Eventuelle transaksjoner kommer ikke til å håndteres av Apple.", - "retry": "Prøv på nytt", - "salary": "Lønn: {{salary}}", - "save_search": "Lagre søk", - "saved_searches": "Lagra Søk", - "search_term": "Søk etter begrep", - "select_after_date": "Velg etter dato", - "select_my_home_categories": "Plukke din favoritt kategorier fra listen nedenfor for å tilpasse {{category}}", - "selected_categories": "Valgte kategorier", - "selected_time_range": "Valgt datointervall", - "settings": "Innstillinger", - "settings_allow_font_scaling": "Tillat skrift skalering", - "settings_startup_epaper": "E-utgave", - "settings_startup_rss": "Live News", - "settings_startup_choose": "Velg hver gang", - "show": "VIS", - "sort_by_date": "Sorter etter tid", - "sort_by_name": "Sorter etter A-Z", - "sort_by_name_reverse": "Sorter etter Z-A", - "sort_by_popularity": "Sorter etter popularitet", - "sort_date_disabled": "Sortere på dato deaktivere", - "start_with": "Start Med", - "str_custom": "Eigendefinert", - "str_default_language": "Gå tilbake til originalspråket", - "str_from": "Frå", - "str_limit_label": "Antall utgaver som skal lagres: {{}}", - "str_next_week": "Neste uke", - "str_page": "Side", - "str_search": "Søk", - "str_search_results": "{{text}} - {{count}} resultater", - "str_special_sections": "Spesielle seksjoner", - "str_this_week": "Denne veka@ label", - "str_this_weekend": "Denne helgen", - "str_time_range": "Datointervall", - "str_title": "Tittel", - "str_to": "Til", - "str_today": "I dag", - "str_tomorrow": "I morgon", - "str_translating_article": "Oversetter artikkelen...", - "system_error": "Det har oppstått en feil", - "title_bottom_sheet": "Handlinger", - "title_offline": "Ingen Internett-tilkobling", - "toggle": "VEKSLE", - "toggle_layout": "Veksle layout", - "toggle_list": "Veksle til liste", - "toggle_map": "Veksle kart", - "total_events": "Arrangementer: {{total}}", - "total_favorites": "Favoritter: {{total}}", - "total_jobs": "Jobber: {{total}}", - "total_searches": "Søker: {{total}}", - "tutorial": "Opplæringen", - "unknown_salary": "Ukjent Lønn", - "unsave_search": "Fjerne lagrede søk", - "version": "Versjon", - "vertical_job_location_hint": "Velg et sted", - "vertical_job_text_hint": "Skriv inn et søkeord for søk", - "offline_download_warning": "Denne utgåven er ikke fullstendig nedlastet. Noen deler av sidene kan virke uklare.", - "user_tip_download_title": "Bruker Tips", - "user_tip_download": "Hvis du vil laste ned alle utgåver automatisk for offline lesing, velger du 'Meir' > 'Innstillingar' > 'Frakoblet modus' som foretrukket Nettverksinnstilling", - "offline_download_dialog": "Ønsker du å laste ned hele utgåven for offline lesing?", - "mobile_network_warning": "Du er koblet til et mobilnettverk i stedet for WiFi", - "msg_operation_completed": "Drift fullført", - "msg_ok_delete_db": "Alle lagrede utgaver er slettet", - "msg_download_rss": "Laster ned nye artikler...", - "settings_translate": "Oversett artikler til", - "settings_themes": "Tema", - "settings_font_size": "Skriftstørrelse", - "settings_graph_size": "Zoom nivå", - "settings_number_stored_editions": "Antall utgaver som skal lagres", - "settings_restart_from_latest": "Start på nytt fra siste utgave (min)", - "settings_article_mode": "Artikkelmodus", - "settings_article_mode_all": "Vis alt", - "settings_article_mode_text_and_graphics": "Vis artikler og grafikk", - "settings_article_mode_only_text": "Vis kun artikler", - "settings_restore_defaults": "Gjenopprett standardinnstillinger", - "settings_clear_storage": "Klar lagring", - "settings_back_to_classic": "Gå tilbake til Classic eEdition", - "settings_two_fingers_tap_to_article": "Bruk tofinger trykk for å åpne artikkel modus", - "settings_single_tap_to_zoom": "Bruk enkelt trykk for å zoome", - "settings_favorite_edition": "Velg din favorittutgave", - "settings_favorite_edition_default_label": "Siste utgave tilgjengelig", - "reset": "NULLSTILLE", - "open": "ÅPEN", - "settings_enable_column_view": "Aktiver fleire kolonnevisingar av artiklar.", - "settings_navigation_arrows": "Navigasjonspiler", - "settings_navigation_arrows_always": "alltid til stede", - "settings_navigation_arrows_disapper": "forsvinner når du leser", - "settings_navigation_arrows_never": "aldri til stede", - "general": "Appinnstillinger", - "settings_translate_original": "Originalspråk", - "advance": "{{label}} | Forhåndsinnstillinger", - "send": "SENDE", - "btn_feedback": "Tilbakemelding", - "return": "KOMME TILBAKE", - "settings_article_highlight": "Hold gjeldende artikkel uthevet når artikkelmodus er åpen", - "write": "SKRIVE", - "btn_continue": "Fortsett", - "btn_go_back": "Gå tilbake", - "btn_go_next": "Gå neste", - "btn_go_up": "Forrige nivå", - "action_go_to_settings": "Gå till Inställningar", - "btn_tts": "Bytt tekst til tale", - "btn_close_accessibility": "Lukk tilgjengelighetsmodus", - "err_module_unavailable": "{{module}} er ikke tilgjengelig i denne appen", - "force_crash": "Tving krasj", - "hint_my_home_screen_config": "For å tilpasse {{label}}", - "hint_two_fingers_tap": "For å lese en artikkel, trykk på artikkelområdet med to fingre", - "hint_restart": "Applikasjonen vil starte på nytt for å laste inn nye konfigurasjoner...", - "hint_update_ui": "Brukergrensesnittet vil oppdateres for å laste inn nye innstillinger, du kan merke et flimmer...", - "msg_access_reserved": "Tilgang reservert for abonnenter", - "msg_already_subscriber": "Er du allerede abonnent? Logg Inn", - "msg_continue_to_read": "Abonner på {{paper}}", - "theme": "Tema", - "settings_zoom_level": "Zoomnivå", - "settings_zoom_level_large": "Stor", - "settings_zoom_level_larger": "Større", - "settings_zoom_level_normal": "Vanlig", - "restart": "Omstart", - "str_no_categories": "ingen kategorier", - "msg_login_overlay_title": "For å fortsette å lese", - "voice_back": "tilbake", - "voice_what": "hva", - "voice_next": "neste", - "voice_next_page": "neste side", - "voice_previous": "forrige", - "voice_previous_page": "forrige side", - "voice_stop": "stopp", - "voice_read": "les", - "voice_close": "lukk", - "voice_up": "opp", - "voice_down": "ned", - "voice_select": "velg", - "msg_max_share": "Du har nådd delingsgrensen for denne utgaven i dag", - "accessibility": "tilgjengelighet", - "msg_simulate_accessibility_title": "Aktiver tilgjengelighetsmodus", - "msg_screenshots_disabled": "Skjermbilder er ikke tillatt i denne appen", - "settings_tab_index_mode": "Aktiver faneoppsett i indeksmodus", - "settings_enable_push_notifications": "Aktiver push-varsler", - "settings_manage_privacy_preferences": "Administrer personvernpreferanser", - "theme_auto": "Automatisk lys/mørke", - "theme_light": "Lys", - "theme_dark": "Mørk", - "str_sort_by": "Sorter etter", - "str_relevance": "Relevans", - "btn_from": "Fra", - "btn_to": "Til", - "srt_order": "Rekkefølge", - "str_byline": "Byline", - "str_descending": "Synkende", - "str_ascending": "Stigende", - "str_categories": "Kategorier", - "str_select": "Plukke ut...", - "str_advertisement": "Annonse", - "iap_go_to_subscriptions": "Gå til abonnement", - "iap_multiple_subscriptions": "Flere abonnementer", - "iap_multiple_subscriptions_message": "Vi fant ut at du har flere aktive abonnementer, vennligst deaktiver de du ikke trenger. Når et abonnement har blitt deaktivert, vil det bli refundert.{{subscriptions}}", - "iap_multiple_active_subscriptions_message": "Du har allerede et aktivt abonnement, vil du uansett kjøpe et nytt? {{subscriptions}}", - "settings_title_box": "Vis artikkeltittelbokser", - "enable_debug_overlay": "Aktiver debugger", - "disable_debug_overlay": "Deaktiver debugger", - "edit_token": "Rediger token", - "title_edit_token_confirm": "Vil du oppdatere tokenet?", - "msg_edit_token_confirm": "Ny verdi: \"{{token}}\"", - "uploading": "Laster opp ..." -}; -},1995,[]); -__d(function(global, require, _importDefaultUnused, _importAllUnused, module, exports, _dependencyMapUnused) { - module.exports = { - "action_go_to_category": "Gå til {{anchor}}", - "action_open_epaper": "Åpne epaper", - "action_open_gallery": "Åpne galleri", - "action_open_link": "Åpne lenke", - "action_remove_from_favorites": "Fjern fra favoritter", - "action_save_for_later": "Lagre til senere", - "action_share": "Dele", - "action_unknown": "Ukjent", - "alert_message": "Er du sikker?", - "all": "Alt", - "all_events": "Alle aktiviteter", - "all_jobs": "Alle jobber", - "animation": "Animasjon", - "animation_action": "Klikk på knappen for å endre animasjon", - "animation_change": "Animasjon endre", - "animation_changed": "Animasjon endret", - "article_count": "{{count}} artikler", - "btn_accessibility": "Tilgjengelighetsmodus", - "btn_account": "Logg Inn", - "btn_archive": "Arkiv", - "btn_advance_filters": "Forhånd filtre", - "btn_ask_later": "Spør Meg Senere", - "btn_back": "tilbake", - "btn_cancel": "Avbryt", - "btn_close": "Lukk", - "btn_confirm": "Bekreft", - "btn_contact": "Kontakt", - "btn_disable_log_file": "Send LOGG", - "btn_do_not_show": "Ikke Vis Igjen", - "btn_download": "Nedlasting", - "btn_editions": "Editions", - "btn_enable_log_file": "Aktiver LOGG", - "btn_feed": "Live News", - "btn_fit_page": "Tilpasse", - "btn_g_book": "Bla gjennom", - "btn_go_to_news": "Gå til nyheter", - "btn_help": "Hjelp", - "btn_index": "Indeks", - "btn_link": "Lenke", - "btn_login": "Logg inn", - "btn_logout": "Logg ut", - "btn_more": "Mer", - "btn_no": "Nei", - "btn_ok": "Ja", - "btn_publications": "Publikasjoner", - "btn_read": "Lese", - "btn_reset": "Nullstill", - "btn_search": "Søke", - "btn_set_as_default": "Angi som standard", - "btn_settings": "Innstillinger", - "btn_skip": "Hopp", - "btn_special_section": "Spesiell", - "btn_store": "Bewaren", - "btn_swipe": "Bla gjennom", - "btn_thumbnail": "Sider", - "btn_yes": "Ja:", - "cache_size": "Cache-størrelse", - "card": "Kort", - "categories": "Kategorier", - "change": "ENDRE", - "change_location_hint": "Velg nytt sted", - "change_radius": "Velg Radius", - "clear": "KLART", - "clear_cache": "Slett cache", - "clear_favorites": "Klare favoritter", - "confirm": "Bekreft", - "connection_0": "Roaming-modus", - "connection_0_description": "Ideell når begrenset båndbredde er tilgjengelig. Tekstversjonen av utgaven er lastet ned, bilder vil bli vist med svært lav oppløsning.", - "connection_1": "Online-modus", - "connection_1_description": "Ideell mens du er koblet til Internett. Bare sider som vises er lastet ned og tilgjengelig for offline lesing.", - "connection_2": "Frakoblet modus", - "connection_2_description": "Frakoblet modus: Laster automatisk ned hele utgaven ved oppstart for offline lesing.", - "counter": "{{current}} av {{total}}", - "custom_location": "Eigendefinert stad", - "database": "Database", - "database_deleted": "Database slettet", - "default_search": "Standard søk", - "dialog_location_message": "Vi bruker din posisjon til å vise hvor du er på kartet", - "dialog_location_title": "Vi trenger å få tilgang til posisjonen din", - "disabled": "Funksjonshemmede", - "enabled": "Aktivert", - "err_change_animation": "Feil å endre animasjon", - "err_clear_cache": "Feil å tømme cache", - "err_clear_database": "Feil å fjerne database", - "err_clear_favorites": "Feil å klare favoritter", - "err_download_edition": "Det oppstod en feil under nedlastingen av utgaven", - "err_download_edition_db": "Det oppstod en feil under nedlasting av utgaveens database", - "err_download_psetup": "Feil under nedlasting av base-konfigurasjoner", - "err_internet_connection": "Kan ikke koble til server program. Vennligst kontroller at du har internett-tilkobling, og prøv på nytt.", - "err_max_min": "Ugyldig filter, min må være mindre enn maks", - "err_offline": "Eksternt innhold ikke tilgjengelig offline", - "err_retrieve_cache": "Feil å hente cache", - "err_retrieve_favorites": "Feil å hente favoritter", - "err_translation": "Oversettelse ikke tilgjengelig", - "err_translation_offline": "Oversettelse ikke tilgjengelig offline", - "error_on_load_more": "Feilmelding når du prøver å legge flere elementer", - "fast": "Rask", - "favorites": "Favoritter", - "feedback_email_feedback": "tapuserfeedback+android@tecnavia.com", - "feedback_msg_ask_for_feedback": "Er det noe vi kan gjøre for å hjelpe?", - "feedback_title_request_feedback": "Er du nyter din tid med App?", - "feedback_title_request_review_feedback": "Glad for å høre! Ønsker du å legge igjen en anmeldelse eller vurdering?", - "filter_max": "Max", - "filter_min": "Min", - "filter_text": "Skriv tekst her", - "font_extra_large": "Extra large", - "font_extra_small": "Ekstra liten", - "font_large": "Stor", - "font_normal": "Normal", - "font_scale": "Skrift Skala", - "font_small": "Liten", - "from_most_recent": "Fra den siste", - "from_oldest": "Fra de eldste", - "gmc_default_text": "En ny utgave er tilgjengelig. Trykk her for å lese!", - "gmc_message_text": "{{issue}} avis er nå tilgjengelig. Trykk her for å lese!", - "grid": "Rutenett", - "grid_list": "grid/liste", - "home": "Hjem", - "label_exit_accessibility_mode": "Gå ut av Tilgjengelighetsmodus", - "label_open_browser": "Åpne i nettleseren", - "last_search": "Siste søk", - "layout": "Layout", - "learn_more": "Lees mer", - "list": "Listen", - "loading": "Laster...", - "local_events": "Lokale arrangementer", - "max_salary": "Maks. lønn", - "min_salary": "Min. lønn", - "msg_available_next_startup": "Denne konfigurasjonen vil være tilgjengelig neste oppstart", - "msg_clear_cache": "Slett cache", - "msg_clear_favorites": "Slett favoritter", - "msg_copy_to_clipboard": "Kopier til utklippstavle", - "msg_database_deleted": "Slette database", - "msg_delete_db": "Slett DataBase Data?", - "msg_delete_localstorage": "Slett personlige innstillinger?", - "msg_delete_title": "vil du", - "msg_download_edition": "Laster ned utgave...", - "msg_download_retry": "Forsøk på {{retry}} av {{maxRetries}}...", - "msg_empty_category": "Foreløpig er det ingen artikler som er tilordnet til {{category}}! Ta hurtig på for å oppdatere", - "msg_empty_favorites": "Foreløpig er det ingen favoritter!", - "msg_empty_gallery": "Klikket gallery er tom", - "msg_empty_list": "Foreløpig er det ingen elementer! Trykk for å endre noen filtre", - "msg_empty_searches": "Foreløpig er det ingen lagrede søk", - "msg_error_category": "Noe gikk galt, prøver å åpne kategorien eller slette database fra innstillinger! Ta hurtig på for å oppdatere", - "msg_error_list": "Noe gikk feil, prøv å endre noen filtre", - "msg_error_newspaper": "Avisen er tom", - "msg_event_over": "Arrangementet er over.", - "msg_exit_application": "Avslutte programmet?", - "msg_failed": "Mislyktes", - "msg_list_no_articles_available_for_category": "Dette er ikke en feil. Foreløpig er det ingen artikler lagt til i denne kategorien!", - "msg_list_no_content": "Ingen nåværende innhold", - "msg_loading_comments": "Laster inn kommentarer...", - "msg_loading_more": "Legge i mer...", - "msg_new_issue_available": "En ny utgave er nå tilgjengelig, vil du laste den ned?", - "msg_not_on_latest_issue": "Du ser ikke på den siste tilgjengelige utgaven, vil du laste den nå?", - "msg_new_issue_available_title_edition": "Du leser for øyeblikket {{edition}}", - "msg_new_issue_available_title_edition_date": "Du leser for øyeblikket {{date}}-utgaven av {{edition}}", - "msg_new_issue_available_edition": "En ny utgave av {{edition}} er nå tilgjengelig, vil du laste den?", - "msg_new_issue_available_date": "{{date}}-utgaven er nå tilgjengelig. Vil du laste den?", - "msg_new_issue_available_edition_date": "{{date}}-utgaven av {{edition}} er nå tilgjengelig, vil du laste den?", - "msg_not_on_latest_issue_edition": "Du ser ikke den siste tilgjengelige utgaven av {{edition}}, vil du laste den nå?", - "msg_not_on_latest_issue_date": "Du ser ikke på den siste tilgjengelige utgaven, vil du laste ned {{date}}-utgaven?", - "msg_not_on_latest_issue_edition_date": "Du ser ikke på den siste tilgjengelige utgaven, vil du laste ned {{date}}-utgaven av {{edition}}?", - "msg_offline_article_graph": "Hvis du vil bruke denne funksjonen i frakoblet modus, må du ha lastet ned hele utgaven, eller noen bilder eller tekststykker kan mangle.", - "msg_offline_issues": "Velg en nedlastet utgave for å lese", - "msg_opening_push": "Åpner push-varsler...", - "msg_pending_purchases": "Fullfører ventende kjøp: {{completed}} av {{total}}", - "msg_reload_publication": "last ned automatisk den nyeste utgaven?", - "msg_restore_default_settings": "Vil du gjenopprette standard appinnstillinger?", - "msg_rss_new_articles_available": "{{count}} nye artikler er tilgjengelig", - "msg_rss_no_new_articles_available": "Du er up-to-date", - "msg_rss_one_new_article_available": "1 ny artikkel er tilgjengelig", - "msg_rss_reload_database": "Ny database lastet ned", - "msg_rss_update_error": "Feilmelding under oppdateringen, må du kontrollere internett-tilkoblingen, og prøv igjen", - "msg_search_empty": "Ingenting ble søkt", - "msg_search_lite": "Se resultater på side", - "msg_search_not_found": "Ingen artikkel funnet med {{text}}", - "msg_sent": "Sendt", - "msg_share_unmanaged": "Dele alternativet ikke-administrerte", - "msg_tts_error": "En feil oppstår, prøv igjen!", - "msg_tts_no_volume": "Øk volumet til lystetekst", - "msg_tts_unsupported": "Ikke støttet språk, prøv å bruke standard stemme eller sjekk om det finnes en tilpasset språkpakke!", - "my_home_categories_selected": "{{categories}} kategorier som er valgt for en sum av {{articles}} artikler", - "my_location": "Bruk min plassering", - "network": "Nettverk", - "none": "Ingen", - "normal": "Normal", - "permission_storage_message": "{{appName}} behov lagring tillatelse", - "permission_title": "{{appName}} tillatelse", - "pj_from_page": "fra side", - "pj_to_page": "til side", - "pj_continue_to_page": "Fortsett til siden", - "pj_continue_to_page_parent": "Side", - "powered_by": "Drevet av TECNAVIA", - "powered_by_who": "Drevet av {{who}}", - "push_notification": "Push-varsling", - "reader_app_text": "Kontoer og kjøp utenfor denne appen kommer til å håndteres av “{{developerName}}”. Din App Store-konto, lagrede betalingsmåter og andre funksjoner, som for eksempel administrasjon av abonnementer og refunderinger, kommer ikke til å være tilgjengelige. Apple er ikke ansvarlig for personvern eller sikkerhet ved transaksjoner med denne utvikleren.", - "reader_app_title": "Du forlater nå appen og går til en ekstern nettside. Eventuelle transaksjoner kommer ikke til å håndteres av Apple.", - "retry": "Prøv på nytt", - "salary": "Lønn: {{salary}}", - "save_search": "Lagre søk", - "saved_searches": "Lagra søk", - "search_term": "Søk etter begrep", - "select_after_date": "Velg etter dato", - "select_my_home_categories": "Plukke din favoritt kategorier fra listen nedenfor for å tilpasse {{category}}", - "selected_categories": "Valgte kategorier", - "selected_time_range": "Valgt datointervall", - "settings": "Innstillinger", - "settings_allow_font_scaling": "Tillat skrift skalering", - "settings_startup_epaper": "E-utgave", - "settings_startup_rss": "Live News", - "settings_startup_choose": "Velg hver gang", - "show": "VIS", - "sort_by_date": "Sorter etter gegevens", - "sort_by_name": "Sorter etter A-Z", - "sort_by_name_reverse": "Sorter etter Z-A", - "sort_by_popularity": "Sorter etter popularitet", - "sort_date_disabled": "Sortere på dato deaktivere", - "start_with": "Start Med", - "str_custom": "Egendefinert", - "str_default_language": "Gå tilbake til originalspråket", - "str_from": "Fra", - "str_limit_label": "Antall utgaver som skal lagres: {{days}}", - "str_next_week": "Neste uke", - "str_page": "Side", - "str_search": "Søk", - "str_search_results": "{{text}} - {{count}} resultater", - "str_special_sections": "Spesielle seksjoner", - "str_this_week": "Denne uken", - "str_this_weekend": "Helg", - "str_time_range": "Datointervall", - "str_title": "Tittel", - "str_to": "Til", - "str_today": "I dag", - "str_tomorrow": "I morgen", - "str_translating_article": "Oversetter artikkelen...", - "system_error": "Det har oppstått en feil", - "title_bottom_sheet": "Handlinger", - "title_offline": "Ingen Internett-tilkobling", - "toggle": "VEKSLE", - "toggle_layout": "Veksle layout", - "toggle_list": "Veksle til liste", - "toggle_map": "Veksle kart", - "total_events": "Arrangementer: {{total}}", - "total_favorites": "Favoritter: {{total}}", - "total_jobs": "Jobber: {{total}}", - "total_searches": "Søker: {{total}}", - "tutorial": "Opplæringen", - "unknown_salary": "Ukjent Lønn", - "unsave_search": "Fjerne lagrede søk", - "version": "Versjon", - "vertical_job_location_hint": "Velg et sted", - "vertical_job_text_hint": "Skriv inn et søkeord for søk", - "offline_download_warning": "Denne utgaven er ikke fullstendig nedlastet. Noen deler av sidene kan virke uklare.", - "user_tip_download_title": "Bruker Tips", - "user_tip_download": "Hvis du vil laste ned alle utgaver automatisk for offline lesing, velger du 'Mer' > 'Innstillinger' > 'Frakoblet modus' som foretrukket Nettverksinnstilling", - "offline_download_dialog": "Ønsker du å laste ned hele utgaven for offline lesing?", - "mobile_network_warning": "Du er koblet til et mobilnettverk i stedet for WiFi", - "msg_operation_completed": "Drift fullført", - "msg_ok_delete_db": "Alle lagrede utgaver er slettet", - "msg_download_rss": "Laster ned nye artikler...", - "settings_translate": "Oversett artikler til", - "settings_themes": "Tema", - "settings_font_size": "Skriftstørrelse", - "settings_graph_size": "Zoom nivå", - "settings_number_stored_editions": "Antall utgaver som skal lagres", - "settings_restart_from_latest": "Start på nytt fra siste utgave (min)", - "settings_article_mode": "Artikkelmodus", - "settings_article_mode_all": "Vis alt", - "settings_article_mode_text_and_graphics": "Vis artikler og grafikk", - "settings_article_mode_only_text": "Vis kun artikler", - "settings_restore_defaults": "Gjenopprett standardinnstillinger", - "settings_clear_storage": "Klar lagring", - "settings_back_to_classic": "Gå tilbake til Classic eEdition", - "settings_two_fingers_tap_to_article": "Bruk tofinger trykk for å åpne artikkel modus", - "settings_single_tap_to_zoom": "Bruk enkelt trykk for å zoome", - "settings_favorite_edition": "Velg din favorittutgave", - "settings_favorite_edition_default_label": "Siste utgave tilgjengelig", - "reset": "NULLSTILLE", - "open": "ÅPEN", - "settings_enable_column_view": "Aktiver fleire kolonnevisingar av artiklar.", - "settings_navigation_arrows": "Navigasjonspiler", - "settings_navigation_arrows_always": "alltid til stede", - "settings_navigation_arrows_disapper": "forsvinner når du leser", - "settings_navigation_arrows_never": "aldri til stede", - "general": "Appinnstillinger", - "settings_translate_original": "Originalspråk", - "advance": "{{label}} | Forhåndsinnstillinger", - "send": "SENDE", - "btn_feedback": "Tilbakemelding", - "return": "KOMME TILBAKE", - "settings_article_highlight": "Hold gjeldende artikkel uthevet når artikkelmodus er åpen", - "write": "SKRIVE", - "btn_continue": "Fortsett", - "btn_go_back": "Gå tilbake", - "btn_go_next": "Gå neste", - "btn_go_up": "Forrige nivå", - "action_go_to_settings": "Gå till Inställningar", - "btn_reload": "Last inn på nytt", - "btn_tts": "Bytt tekst til tale", - "btn_close_accessibility": "Lukk tilgjengelighetsmodus", - "err_module_unavailable": "{{module}} er ikke tilgjengelig i denne appen", - "force_crash": "Tving krasj", - "hint_my_home_screen_config": "For å tilpasse {{label}}", - "hint_two_fingers_tap": "For å lese en artikkel, trykk på artikkelområdet med to fingre", - "hint_restart": "Applikasjonen vil starte på nytt for å laste inn nye konfigurasjoner...", - "hint_update_ui": "Brukergrensesnittet vil oppdateres for å laste inn nye innstillinger, du kan merke et flimmer...", - "msg_access_reserved": "Tilgang reservert for abonnenter", - "msg_already_subscriber": "Er du allerede abonnent? Logg Inn", - "msg_continue_to_read": "Abonner på {{paper}}", - "theme": "Tema", - "settings_zoom_level": "Zoomnivå", - "settings_zoom_level_large": "Stor", - "settings_zoom_level_larger": "Større", - "settings_zoom_level_normal": "Vanlig", - "restart": "Omstart", - "str_no_categories": "ingen kategorier", - "msg_login_overlay_title": "For å fortsette å lese", - "voice_back": "tilbake", - "voice_what": "hva", - "voice_next": "neste", - "voice_next_page": "neste side", - "voice_previous": "forrige", - "voice_previous_page": "forrige side", - "voice_stop": "stopp", - "voice_read": "les", - "voice_close": "lukk", - "voice_up": "opp", - "voice_down": "ned", - "voice_select": "velg", - "msg_max_share": "Du har nådd den daglige delingsgrensen for denne utgaven", - "accessibility": "tilgjengelighet", - "msg_simulate_accessibility_title": "Aktiver tilgjengelighetsmodus", - "msg_screenshots_disabled": "Skjermbilder er ikke tillatt i denne appen", - "settings_tab_index_mode": "Aktiver faneoppsett i indeksmodus", - "settings_enable_push_notifications": "Aktiver push-varsler", - "settings_manage_privacy_preferences": "Administrer personvernpreferanser", - "theme_auto": "Automatisk lys/mørke", - "theme_light": "Lys", - "theme_dark": "Mørk", - "str_sort_by": "Sorter etter", - "str_relevance": "Relevans", - "btn_from": "Fra", - "btn_to": "Til", - "srt_order": "Rekkefølge", - "str_byline": "Byline", - "str_descending": "Synkende", - "str_ascending": "Stigende", - "str_categories": "Kategorier", - "str_select": "Plukke ut...", - "str_advertisement": "Annonse", - "iap_go_to_subscriptions": "Gå til abonnement", - "iap_multiple_subscriptions": "Flere abonnementer", - "iap_multiple_subscriptions_message": "Vi fant ut at du har flere aktive abonnementer, vennligst deaktiver de du ikke trenger. Når et abonnement har blitt deaktivert, vil det bli refundert.{{subscriptions}}", - "iap_multiple_active_subscriptions_message": "Du har allerede et aktivt abonnement, vil du uansett kjøpe et nytt? {{subscriptions}}", - "settings_title_box": "Vis artikkeltittelbokser", - "enable_debug_overlay": "Aktiver debugger", - "disable_debug_overlay": "Deaktiver debugger", - "edit_token": "Rediger token", - "title_edit_token_confirm": "Vil du oppdatere tokenet?", - "msg_edit_token_confirm": "Ny verdi: \"{{token}}\"", - "uploading": "Laster opp ..." -} -; -},1996,[]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var LANGUAGE_PACK_BASE_STORAGE_NAME = "languagePack"; - - var LocaleHelper = exports.default = function () { - function LocaleHelper() { - (0, _classCallCheck2.default)(this, LocaleHelper); - } - - return (0, _createClass2.default)(LocaleHelper, null, [{ - key: "setStorageName", - value: function setStorageName(prefix) { - var storageName = LANGUAGE_PACK_BASE_STORAGE_NAME; - - if (prefix) { - storageName = prefix + "_" + storageName; - } - - LocaleHelper.SP.name = storageName; - } - }, { - key: "getItem", - value: function () { - var _getItem = (0, _asyncToGenerator2.default)(function* (key) { - return _$$_REQUIRE(_dependencyMap[4]).StorageUtils.getItem(LocaleHelper.SP.name, key); - }); - - function getItem(_x) { - return _getItem.apply(this, arguments); - } - - return getItem; - }() - }, { - key: "setItem", - value: function () { - var _setItem = (0, _asyncToGenerator2.default)(function* (key, value) { - yield _$$_REQUIRE(_dependencyMap[4]).StorageUtils.setItem(LocaleHelper.SP.name, key, value); - }); - - function setItem(_x2, _x3) { - return _setItem.apply(this, arguments); - } - - return setItem; - }() - }, { - key: "getFiletime", - value: function () { - var _getFiletime = (0, _asyncToGenerator2.default)(function* () { - var filetime = parseInt((yield LocaleHelper.getItem(LocaleHelper.SP.keys.filetime)) || -1, 10); - return filetime; - }); - - function getFiletime() { - return _getFiletime.apply(this, arguments); - } - - return getFiletime; - }() - }, { - key: "setFiletime", - value: function () { - var _setFiletime = (0, _asyncToGenerator2.default)(function* (filetime) { - return LocaleHelper.setItem(LocaleHelper.SP.keys.filetime, "" + filetime); - }); - - function setFiletime(_x4) { - return _setFiletime.apply(this, arguments); - } - - return setFiletime; - }() - }, { - key: "getLanguagePack", - value: function () { - var _getLanguagePack = (0, _asyncToGenerator2.default)(function* () { - var strings = yield LocaleHelper.getItem(LocaleHelper.SP.keys.strings); - - if (strings) { - try { - return JSON.parse(strings); - } catch (e) {} - } - - return {}; - }); - - function getLanguagePack() { - return _getLanguagePack.apply(this, arguments); - } - - return getLanguagePack; - }() - }, { - key: "setLanguagePack", - value: function () { - var _setLanguagePack = (0, _asyncToGenerator2.default)(function* (strings) { - return LocaleHelper.setItem(LocaleHelper.SP.keys.strings, JSON.stringify(strings)); - }); - - function setLanguagePack(_x5) { - return _setLanguagePack.apply(this, arguments); - } - - return setLanguagePack; - }() - }]); - }(); - - LocaleHelper.SP = { - name: LANGUAGE_PACK_BASE_STORAGE_NAME, - keys: { - strings: "strings", - filetime: "filetime" - } - }; -},1997,[3,270,6,7,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _TTSManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _VoiceManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var AudioManager = exports.default = function () { - function AudioManager() { - (0, _classCallCheck2.default)(this, AudioManager); - this.ttsManager = new _TTSManager.default(); - this.voiceManager = new _VoiceManager.default(); - this.resolveStopPromise = this._resolveStopPromise.bind(this); - this.rejectStopPromise = this._rejectStopPromise.bind(this); - this.stopPromise = undefined; - this.stopResolve = undefined; - this.stopReject = undefined; - } - - return (0, _createClass2.default)(AudioManager, [{ - key: "init", - value: function () { - var _init = (0, _asyncToGenerator2.default)(function* (locale) { - if (this.ttsManager) { - yield this.ttsManager.initTTS(locale); - this.ttsManager.register(); - } - }); - - function init(_x) { - return _init.apply(this, arguments); - } - - return init; - }() - }, { - key: "setLanguage", - value: function setLanguage(language) { - if (this.ttsManager) { - this.ttsManager.setLanguage(language); - } - } - }, { - key: "setLocale", - value: function setLocale(locale) { - if (this.ttsManager) { - this.ttsManager.setLocale(locale); - } - } - }, { - key: "ttsIsPaused", - value: function ttsIsPaused() { - return this.ttsManager && this.ttsManager.isPaused(); - } - }, { - key: "ttsIsUserPaused", - value: function ttsIsUserPaused() { - return this.ttsManager && this.ttsManager.isUserPaused(); - } - }, { - key: "ttsIsSpeaking", - value: function ttsIsSpeaking() { - return this.ttsManager && this.ttsManager.isSpeaking(); - } - }, { - key: "ttsIsAutoRestart", - value: function ttsIsAutoRestart() { - return this.ttsManager && this.ttsManager.isAutoRestart(); - } - }, { - key: "ttsWhat", - value: function () { - var _ttsWhat = (0, _asyncToGenerator2.default)(function* () { - if (this.ttsManager) { - return this.ttsManager.what(); - } - - return Promise.resolve(); - }); - - function ttsWhat() { - return _ttsWhat.apply(this, arguments); - } - - return ttsWhat; - }() - }, { - key: "_resolveStopPromise", - value: function _resolveStopPromise() { - if (this.stopResolve) { - this.stopResolve(); - } - - this.stopResolve = undefined; - this.stopReject = undefined; - this.stopPromise = undefined; - } - }, { - key: "_rejectStopPromise", - value: function _rejectStopPromise() { - if (this.stopReject) { - this.stopReject(); - } - - this.stopResolve = undefined; - this.stopReject = undefined; - this.stopPromise = undefined; - } - }, { - key: "ttsStart", - value: function () { - var _ttsStart = (0, _asyncToGenerator2.default)(function* (text) { - if (this.ttsManager) { - if (this.stopPromise) { - try { - yield this.stopPromise; - } catch (e) {} - } - - return this.ttsManager.start(text); - } - - return Promise.resolve(); - }); - - function ttsStart(_x2) { - return _ttsStart.apply(this, arguments); - } - - return ttsStart; - }() - }, { - key: "ttsStop", - value: function () { - var _ttsStop = (0, _asyncToGenerator2.default)(function* (autoRestartEnabled) { - var _this = this; - - if (this.ttsManager) { - this.rejectStopPromise(); - - if (autoRestartEnabled) { - this.stopPromise = new Promise(function (resolve, reject) { - _this.stopResolve = resolve; - _this.stopReject = reject; - - _this.ttsManager.stop(autoRestartEnabled).then(_this.resolveStopPromise).catch(_this.rejectStopPromise); - }); - return this.stopPromise; - } - - return this.ttsManager.stop(); - } - - return Promise.resolve(); - }); - - function ttsStop(_x3) { - return _ttsStop.apply(this, arguments); - } - - return ttsStop; - }() - }, { - key: "ttsResume", - value: function () { - var _ttsResume = (0, _asyncToGenerator2.default)(function* () { - if (this.ttsManager) { - return this.ttsManager.resume(); - } - - return Promise.resolve(); - }); - - function ttsResume() { - return _ttsResume.apply(this, arguments); - } - - return ttsResume; - }() - }, { - key: "ttsPause", - value: function () { - var _ttsPause = (0, _asyncToGenerator2.default)(function* () { - if (this.ttsManager) { - return this.ttsManager.pause(); - } - - return Promise.resolve(); - }); - - function ttsPause() { - return _ttsPause.apply(this, arguments); - } - - return ttsPause; - }() - }, { - key: "ttsDestroy", - value: function () { - var _ttsDestroy = (0, _asyncToGenerator2.default)(function* () { - if (this.ttsManager) { - return this.ttsManager.destroy(); - } - - return Promise.resolve(); - }); - - function ttsDestroy() { - return _ttsDestroy.apply(this, arguments); - } - - return ttsDestroy; - }() - }, { - key: "ttsShowPlayer", - value: function ttsShowPlayer() { - if (this.ttsManager) { - this.ttsManager.showPlayer(); - } - } - }, { - key: "ttsPlayerProps", - value: function ttsPlayerProps() { - if (this.ttsManager) { - return this.ttsManager.getPlayerProps(); - } - - return {}; - } - }, { - key: "srIsRunning", - value: function srIsRunning() { - return this.voiceManager && this.voiceManager.isRunning(); - } - }, { - key: "srIsLooping", - value: function srIsLooping() { - return this.voiceManager && this.voiceManager.loop; - } - }, { - key: "srStart", - value: function () { - var _srStart = (0, _asyncToGenerator2.default)(function* (loop) { - if (this.voiceManager) { - yield this.ttsPause(); - return this.voiceManager.start(loop); - } - - return Promise.resolve(); - }); - - function srStart(_x4) { - return _srStart.apply(this, arguments); - } - - return srStart; - }() - }, { - key: "srStop", - value: function () { - var _srStop = (0, _asyncToGenerator2.default)(function* () { - if (this.voiceManager) { - yield this.ttsResume(); - return this.voiceManager.stop(); - } - - return Promise.resolve(); - }); - - function srStop() { - return _srStop.apply(this, arguments); - } - - return srStop; - }() - }]); - }(); -},1998,[3,270,6,7,1999,2005]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _player = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _TTS = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var TTSManager = exports.default = function () { - function TTSManager() { - var _this = this; - - (0, _classCallCheck2.default)(this, TTSManager); - this._tts = new _TTS.default(); - this._autoRestart = false; - this._text = undefined; - this._pausedIndex = 0; - this._paused = false; - this._userPaused = false; - - this._onSpeakStart = function (event) { - _$$_REQUIRE(_dependencyMap[8]).LoadingOverlay.hide({ - id: "tts" - }); - - _deviceUtils.default.disableIdleTimer(); - - if (_this._player) { - _this._player.show(); - - _this._player.playing(); - - _this._paused = false; - } - }; - - this._onSpeakStop = function () { - var event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - _$$_REQUIRE(_dependencyMap[8]).LoadingOverlay.hide({ - id: "tts" - }); - - _deviceUtils.default.enableIdleTimer(); - - if (!_this._paused && _this._player) { - _this._player.hide(); - } - }; - - this._onSpeakProgress = function (event) { - if (event) { - var location = event.location, - progress = event.progress, - percentage = event.percentage; - _this._pausedIndex = location; - - if (percentage >= 100) { - _this._autoRestart = false; - } - - if (_this._player) { - _this._player.setProgress(progress); - } - } - }; - - this._onPlayer = function (player) { - _this._player = player; - }; - - this._onPlayerResume = function () { - _this._userPaused = false; - - _this.resume(); - }; - - this._onPlayerPause = function () { - _this._userPaused = true; - - _this.pause(); - }; - - this._onPlayerClose = function () { - _this.stop(); - }; - } - - return (0, _createClass2.default)(TTSManager, [{ - key: "_hidePlayer", - value: function _hidePlayer() { - if (this._player) { - this._player.hide(); - } - } - }, { - key: "_resetPlayer", - value: function _resetPlayer() { - if (this._player) { - this._player.initWithState({ - progress: 0, - playing: true, - visible: false - }); - } - } - }, { - key: "_reset", - value: function _reset() { - this._pausedIndex = 0; - this._text = undefined; - } - }, { - key: "register", - value: function register() { - if (!this._onTTSStartId) { - this._onTTSStartId = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(_events.default.TTS_ENGINE_STARTED, this._onSpeakStart); - } - - if (!this._onTTSStopId) { - this._onTTSStopId = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(_events.default.TTS_ENGINE_STOPPED, this._onSpeakStop); - } - - if (!this._onTTSProgressId) { - this._onTTSProgressId = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(_events.default.TTS_ENGINE_PROGRESS, this._onSpeakProgress); - } - } - }, { - key: "initTTS", - value: function () { - var _initTTS = (0, _asyncToGenerator2.default)(function* (locale) { - if (this._tts) { - this._tts.setMaxChunkLength(global.getActivePSetup().textToSpeechChunkLength); - - return this._tts.init(locale); - } - - return Promise.resolve(); - }); - - function initTTS(_x) { - return _initTTS.apply(this, arguments); - } - - return initTTS; - }() - }, { - key: "what", - value: function () { - var _what = (0, _asyncToGenerator2.default)(function* () { - if (yield this.pause()) { - yield this.resume(); - } - }); - - function what() { - return _what.apply(this, arguments); - } - - return what; - }() - }, { - key: "start", - value: function () { - var _start = (0, _asyncToGenerator2.default)(function* (text) { - var resume = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - - if (!resume) { - this._reset(); - } - - try { - this._text = text.trim(); - - if (this._text) { - if (!resume) { - _$$_REQUIRE(_dependencyMap[8]).LoadingOverlay.show({ - id: "tts" - }); - - yield this._tts.speak(this._text, 0); - } else { - yield this._tts.speak(this._text, this._pausedIndex); - } - - if (this._player) { - this._player.show(); - } - } - } catch (e) { - if (!resume) { - _$$_REQUIRE(_dependencyMap[8]).LoadingOverlay.hide({ - id: "tts" - }); - } - } - }); - - function start(_x2) { - return _start.apply(this, arguments); - } - - return start; - }() - }, { - key: "stop", - value: function () { - var _stop = (0, _asyncToGenerator2.default)(function* () { - var autoRestartEnabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; - - try { - this._autoRestart = autoRestartEnabled && this.isSpeaking(); - - _$$_REQUIRE(_dependencyMap[8]).LoadingOverlay.hide({ - id: "tts" - }); - - yield this._tts.stop(); - } catch (e) {} - - this._hidePlayer(); - }); - - function stop() { - return _stop.apply(this, arguments); - } - - return stop; - }() - }, { - key: "pause", - value: function () { - var _pause = (0, _asyncToGenerator2.default)(function* () { - try { - if (!this._paused) { - this._paused = true; - yield this._tts.stop(); - } - - return true; - } catch (e) {} - - return false; - }); - - function pause() { - return _pause.apply(this, arguments); - } - - return pause; - }() - }, { - key: "resume", - value: function () { - var _resume = (0, _asyncToGenerator2.default)(function* () { - try { - if (this._paused) { - this._paused = false; - this._userPaused = false; - this.start(this._text, true); - } - } catch (e) {} - }); - - function resume() { - return _resume.apply(this, arguments); - } - - return resume; - }() - }, { - key: "getPlayerProps", - value: function getPlayerProps() { - return { - ref: this._onPlayer, - onResume: this._onPlayerResume, - onPause: this._onPlayerPause, - onClose: this._onPlayerClose - }; - } - }, { - key: "showPlayer", - value: function showPlayer() { - if (this._player) { - if (this._userPaused) { - this._player.initWithState({ - progress: this._tts.getReadingProgress(), - playing: false, - visible: true - }); - } else { - this._player.show(); - } - } - } - }, { - key: "setLanguage", - value: function setLanguage(language) { - if (this._tts) { - this._tts.setLanguage(language); - } - } - }, { - key: "setLocale", - value: function setLocale(locale) { - if (this._tts) { - this._tts.setLocale(locale); - } - } - }, { - key: "isAutoRestart", - value: function isAutoRestart() { - return this._autoRestart; - } - }, { - key: "isSpeaking", - value: function isSpeaking() { - return this._tts.isSpeaking(); - } - }, { - key: "isPaused", - value: function isPaused() { - return this._paused; - } - }, { - key: "isUserPaused", - value: function isUserPaused() { - return this._userPaused; - } - }, { - key: "destroy", - value: function () { - var _destroy = (0, _asyncToGenerator2.default)(function* () { - yield this.stop(); - this._paused = false; - this._userPaused = false; - - this._reset(); - - this._resetPlayer(); - }); - - function destroy() { - return _destroy.apply(this, arguments); - } - - return destroy; - }() - }]); - }(); -},1999,[3,270,6,7,436,434,2000,2001,1881,550]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _readOnlyError2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[9]); - - var _iconComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[10])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var styles = _reactNative.StyleSheet.create({ - parent: { - height: 50, - position: "absolute", - bottom: 0, - start: 0, - end: 0, - flexDirection: "row", - alignItems: "center", - borderTopColor: "black", - borderTopWidth: 1, - backgroundColor: "white" - }, - icon: { - fontSize: 20, - margin: 10, - color: "black" - }, - progress: { - flex: 1, - height: 50, - paddingVertical: 10, - paddingHorizontal: 5 - } - }); - - var Player = exports.default = function (_React$Component) { - function Player(props) { - var _this; - - (0, _classCallCheck2.default)(this, Player); - _this = _callSuper(this, Player, [props]); - _this.state = { - progress: 0, - playing: true, - visible: false - }; - _this.onProgressRef = _this._onProgressRef.bind(_this); - _this.onToggle = _this._onToggle.bind(_this); - _this.toggleCallback = _this._toggleCallback.bind(_this); - _this.onClose = _this._onClose.bind(_this); - return _this; - } - - (0, _inherits2.default)(Player, _React$Component); - return (0, _createClass2.default)(Player, [{ - key: "initWithState", - value: function initWithState(_ref) { - var progress = _ref.progress, - playing = _ref.playing, - visible = _ref.visible; - this.setState({ - progress: progress, - playing: playing, - visible: visible - }); - } - }, { - key: "show", - value: function show() { - this._setVisibility(true); - } - }, { - key: "hide", - value: function hide() { - this._setVisibility(false); - } - }, { - key: "toggle", - value: function toggle() { - this.onToggle(); - } - }, { - key: "playing", - value: function playing() { - var playing = this.state.playing; - - if (!playing) { - this.setState({ - playing: true - }, this.toggleCallback); - } - } - }, { - key: "setProgress", - value: function setProgress(progress) { - if (this.progressRef) { - this.progressRef.updateProgress(progress); - } - } - }, { - key: "_setVisibility", - value: function _setVisibility(visibility) { - var visible = this.state.visible; - - if (visibility !== visible) { - this.setState({ - visible: visibility - }); - } - } - }, { - key: "_toggleCallback", - value: function _toggleCallback() { - var playing = this.state.playing; - var _this$props = this.props, - onResume = _this$props.onResume, - onPause = _this$props.onPause; - - if (playing) { - if (typeof onResume === "function") { - onResume(); - } - } else { - if (typeof onPause === "function") { - onPause(); - } - } - } - }, { - key: "_onToggle", - value: function _onToggle() { - this.setState(function (prevState) { - return { - playing: !prevState.playing - }; - }, this.toggleCallback); - } - }, { - key: "_onClose", - value: function _onClose() { - this.hide(); - var onClose = this.props.onClose; - - if (typeof onClose === "function") { - onClose(); - } - } - }, { - key: "_onProgressRef", - value: function _onProgressRef(ref) { - this.progressRef = ref; - } - }, { - key: "render", - value: function render() { - var _this$state = this.state, - progress = _this$state.progress, - playing = _this$state.playing, - visible = _this$state.visible; - - var _global$getActivePSet = global.getActivePSetup(), - enableTextToSpeechPlayer = _global$getActivePSet.enableTextToSpeechPlayer; - - if (!enableTextToSpeechPlayer) { - return null; - } - - if (!visible) { - return null; - } - - var spinnerStyle = _$$_REQUIRE(_dependencyMap[11]).Css.getStyleObjByCssClasses(["tts-player-spinner-parent"]); - - return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[11]).Css, { - classes: ["tts-player-parent"], - children: (0, _$$_REQUIRE(_dependencyMap[12]).jsxs)(_reactNative.View, { - style: styles.parent, - children: [(0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[11]).Css, { - classes: ["tts-player-icon-parent"], - children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_reactNative.TouchableOpacity, { - onPress: this.onToggle, - children: !playing ? (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[11]).Css, { - classes: ["tts-player-icon", "tts-player-icon-resume"], - children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_iconComponent.default, { - name: "play", - style: styles.icon, - type: _iconComponent.TecnaviaIconType.MATERIAL_COMMUNITY_ICONS - }) - }) : (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[11]).Css, { - classes: ["tts-player-icon", "tts-player-icon-pause"], - children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_iconComponent.default, { - name: "pause", - style: styles.icon, - type: _iconComponent.TecnaviaIconType.MATERIAL_COMMUNITY_ICONS - }) - }) - }) - }), (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[13]).ProgressCircle, { - ref: this.onProgressRef, - bar: true, - advanced: true, - spinnerStyle: spinnerStyle, - cssClasses: ["tts-player-spinner"], - startProgress: progress - }), (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[11]).Css, { - classes: ["tts-player-icon-parent"], - children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_reactNative.TouchableOpacity, { - onPress: this.onClose, - children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[11]).Css, { - classes: ["tts-player-icon", "tts-player-icon-close"], - children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_iconComponent.default, { - name: "close", - style: styles.icon, - type: _iconComponent.TecnaviaIconType.MATERIAL_COMMUNITY_ICONS - }) - }) - }) - })] - }) - }); - } - }]); - }(_react.default.Component); - - Player.propTypes = { - onResume: _propTypes.default.func, - onPause: _propTypes.default.func, - onClose: _propTypes.default.func - }; -},2000,[3,224,6,7,11,13,14,16,568,18,1807,803,179,1884]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _reactNativeTts = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var TTSUtils = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[6])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var SHOW_LOG = true; - - function log(message) { - {} - } - - function error(message) { - {} - } - - var TTS = exports.default = function () { - function TTS() { - var _this = this; - - (0, _classCallCheck2.default)(this, TTS); - this._ttsText = ""; - this._ttsChunks = []; - this._ttsChunkDelta = 0; - this._ttsStartIndex = 0; - this._ttsMaxChunkLength = 500; - this._ttsSpeakingId = ""; - this._ttsSpeaking = false; - this._ttsProgress = 0; - this._currentUtteranceId = ""; - this._currentUtteranceIndex = -1; - this._utteranceIdsToSpeak = []; - this._iosStop = false; - - this._onStart = function (_ref) { - var utteranceId = _ref.utteranceId; - log("start utterance " + utteranceId); - _this._currentUtteranceId = utteranceId; - _this._currentUtteranceIndex = _this._findUtteranceIndex(utteranceId); - log("start chunks length: " + _this._ttsChunks.length); - log("start index: " + _this._currentUtteranceIndex); - log("start chunk: " + _this._ttsChunks[_this._currentUtteranceIndex]); - - if (!_this._speaking && _this._ttsChunks[_this._currentUtteranceIndex]) { - _this._speaking = true; - log("start send global utterance " + _this._ttsSpeakingId); - - _$$_REQUIRE(_dependencyMap[7]).EventRegister.emit(_events.default.TTS_ENGINE_STARTED, { - speaking: true, - utteranceId: _this._ttsSpeakingId - }); - } - }; - - this._onProgress = function (_ref2) { - var utteranceId = _ref2.utteranceId, - start = _ref2.start, - end = _ref2.end, - location = _ref2.location, - length = _ref2.length; - - try { - var utteranceStart = _$$_REQUIRE(_dependencyMap[8]).PlatformUtils.isAndroid() ? start : location; - - var index = _this._getGlobalIndex(utteranceStart) + _this._ttsChunkDelta; - - var readingLength = _$$_REQUIRE(_dependencyMap[8]).PlatformUtils.isAndroid() ? end - start : length; - log("progress " + utteranceStart + ", length " + readingLength + ", index " + index + ", delta " + _this._ttsChunkDelta); - - if (_this._ttsText && _this._ttsText.length > 0) { - _this._ttsProgress = (index + readingLength) / _this._ttsText.length; - var relativeProgress = (utteranceStart + readingLength) / _this._ttsChunks[_this._currentUtteranceIndex].length; - log("progress: global progress " + _this._ttsProgress + ", chunk " + relativeProgress); - - _$$_REQUIRE(_dependencyMap[7]).EventRegister.emit(_events.default.TTS_ENGINE_PROGRESS, { - location: index, - end: index + readingLength, - length: readingLength, - utteranceId: _this._ttsSpeakingId, - progress: _this._ttsProgress, - percentage: TTSUtils.getPercentage(_this._ttsProgress), - relativeProgress: relativeProgress - }); - } else { - log("Skip progress, text is void"); - } - } catch (e) {} - }; - - this._onFinish = function (_ref3) { - var utteranceId = _ref3.utteranceId; - log("finish " + utteranceId); - _this._ttsChunkDelta = 0; - - var isLast = _this._isLastChunk(utteranceId); - - if (isLast) { - _this._speaking = false; - log("finish send global utterance " + _this._ttsSpeakingId); - } - - if (isLast || _this._iosStopResolve) { - _$$_REQUIRE(_dependencyMap[7]).EventRegister.emit(_events.default.TTS_ENGINE_STOPPED, { - utteranceId: _this._ttsSpeakingId - }); - - _this._initValues(); - } - - if (_this._iosStopResolve) { - _this._iosStopResolve(); - - _this._iosStopResolve = undefined; - } - }; - - this._onCancel = function (_ref4) { - var utteranceId = _ref4.utteranceId; - log("cancel " + utteranceId); - - var isLast = _this._isLastChunk(utteranceId); - - if (isLast) { - log("cancel send global utterance " + _this._ttsSpeakingId); - } - - if (isLast || _this._iosStopResolve) { - _$$_REQUIRE(_dependencyMap[7]).EventRegister.emit(_events.default.TTS_ENGINE_STOPPED, { - utteranceId: _this._ttsSpeakingId - }); - - _this._initValues(); - } - - if (_this._iosStopResolve) { - _this._iosStopResolve(); - - _this._iosStopResolve = undefined; - } - }; - - this._initialized = false; - } - - return (0, _createClass2.default)(TTS, [{ - key: "init", - value: function init(locale) { - this.setLocale(locale); - - if (!this._initialized) { - log("init"); - - _reactNativeTts.default.addEventListener("tts-start", this._onStart); - - _reactNativeTts.default.addEventListener("tts-progress", this._onProgress); - - _reactNativeTts.default.addEventListener("tts-finish", this._onFinish); - - _reactNativeTts.default.addEventListener("tts-cancel", this._onCancel); - - this._initialized = true; - } - } - }, { - key: "_initValues", - value: function _initValues() { - this._ttsText = ""; - this._ttsStartIndex = 0; - this._ttsChunkDelta = 0; - this._currentUtteranceId = ""; - this._currentUtteranceIndex = -1; - this._speaking = false; - this._utteranceIdsToSpeak = []; - } - }, { - key: "_getGlobalIndex", - value: function _getGlobalIndex() { - var currentUtterancePos = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; - var size = currentUtterancePos; - - for (var i = 0; i < this._currentUtteranceIndex; i++) { - size += this._ttsChunks[i].length; - } - - return size; - } - }, { - key: "_findUtteranceIndex", - value: function _findUtteranceIndex(utteranceId) { - return this._utteranceIdsToSpeak.findIndex(function (id) { - return id === utteranceId; - }); - } - }, { - key: "_isLastChunk", - value: function _isLastChunk(utteranceId) { - return this._utteranceIdsToSpeak[this._utteranceIdsToSpeak.length - 1] === utteranceId; - } - }, { - key: "stop", - value: function () { - var _stop = (0, _asyncToGenerator2.default)(function* () { - var _this2 = this; - - log("Manual stop"); - - if (_$$_REQUIRE(_dependencyMap[8]).PlatformUtils.isIOS() && this.isSpeaking()) { - return new Promise(function (resolve, reject) { - _this2._iosStopResolve = resolve; - - _reactNativeTts.default.stop().catch(function () { - _this2._iosStopResolve = undefined; - reject(); - }); - }); - } - - return _reactNativeTts.default.stop(); - }); - - function stop() { - return _stop.apply(this, arguments); - } - - return stop; - }() - }, { - key: "speak", - value: function () { - var _speak = (0, _asyncToGenerator2.default)(function* () { - var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; - var fromIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; - log("speak text length " + text.length + " from index " + fromIndex); - var started = true; - this._iosStopResolve = undefined; - - try { - yield _reactNativeTts.default.getInitStatus(); - yield _reactNativeTts.default.stop(); - yield TTSUtils.checkVolume(); - var available = yield TTSUtils.setLanguage(this._locale); - - if (available) { - yield TTSUtils.setRate(); - this._ttsText = text; - this._ttsStartIndex = fromIndex; - this._ttsSpeakingId = _$$_REQUIRE(_dependencyMap[8]).StringUtils.getMd5(text); - this._ttsChunks = TTSUtils.getChunkedString(this._ttsText, this._ttsMaxChunkLength); - log("speak split text into " + this._ttsChunks.length + " chunks"); - var startFrom = 0; - - for (var i = 0; i < this._ttsChunks.length; i++) { - var utteranceId = undefined; - - if (fromIndex <= startFrom) { - utteranceId = yield _reactNativeTts.default.speak(this._ttsChunks[i]); - } else if (fromIndex < startFrom + this._ttsChunks[i].length) { - this._ttsChunkDelta = TTSUtils.getIndexForNonWordCharacter(this._ttsChunks[i], fromIndex - startFrom); - log("speak " + i + " start from " + fromIndex + ", delta " + this._ttsChunkDelta); - utteranceId = yield _reactNativeTts.default.speak(this._ttsChunks[i].substring(this._ttsChunkDelta)); - } else { - utteranceId = "already_spoke_utterance_" + i; - } - - startFrom += this._ttsChunks[i].length; - - this._utteranceIdsToSpeak.push(utteranceId); - - log("Enqueue chunk " + i + ", length " + this._ttsChunks[i].length + " with utterance " + utteranceId); - } - } else { - started = false; - } - } catch (err) { - error("speak error " + err); - started = false; - yield TTSUtils.handleError(err); - } - - if (started) { - return started; - } - - _$$_REQUIRE(_dependencyMap[7]).EventRegister.emit(_events.default.TTS_ENGINE_STOPPED); - - throw new Error(new Error("impossible to start speaking")); - }); - - function speak() { - return _speak.apply(this, arguments); - } - - return speak; - }() - }, { - key: "setMaxChunkLength", - value: function setMaxChunkLength() { - var length = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1000; - this._ttsMaxChunkLength = length; - } - }, { - key: "getReadingLength", - value: function getReadingLength() { - return this._ttsText.length; - } - }, { - key: "getReadingProgress", - value: function getReadingProgress() { - return this._ttsProgress; - } - }, { - key: "isSpeaking", - value: function isSpeaking() { - return this._speaking; - } - }, { - key: "setLocale", - value: function setLocale(locale) { - this._locale = locale; - } - }, { - key: "setLanguage", - value: function setLanguage(language) { - if (language === "en") { - if (_$$_REQUIRE(_dependencyMap[8]).StringUtils.isUSTecnaviaDomain()) { - this._locale = "en-US"; - } else { - this._locale = "en-GB"; - } - } else { - this._locale = language; - } - } - }]); - }(); -},2001,[3,270,6,7,2002,436,2003,550,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[6]); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var TextToSpeech = _reactNative.NativeModules.TextToSpeech; - - var Tts = function (_NativeEventEmitter) { - function Tts() { - (0, _classCallCheck2.default)(this, Tts); - return _callSuper(this, Tts, [TextToSpeech]); - } - - (0, _inherits2.default)(Tts, _NativeEventEmitter); - return (0, _createClass2.default)(Tts, [{ - key: "getInitStatus", - value: function getInitStatus() { - if (_reactNative.Platform.OS === 'ios' || _reactNative.Platform.OS === 'windows') { - return Promise.resolve(true); - } - - return TextToSpeech.getInitStatus(); - } - }, { - key: "requestInstallEngine", - value: function requestInstallEngine() { - if (_reactNative.Platform.OS === 'ios' || _reactNative.Platform.OS === 'windows') { - return Promise.resolve(true); - } - - return TextToSpeech.requestInstallEngine(); - } - }, { - key: "requestInstallData", - value: function requestInstallData() { - if (_reactNative.Platform.OS === 'ios' || _reactNative.Platform.OS === 'windows') { - return Promise.resolve(true); - } - - return TextToSpeech.requestInstallData(); - } - }, { - key: "setDucking", - value: function setDucking(enabled) { - if (_reactNative.Platform.OS === 'windows') { - return Promise.resolve(true); - } - - return TextToSpeech.setDucking(enabled); - } - }, { - key: "setDefaultEngine", - value: function setDefaultEngine(engineName) { - if (_reactNative.Platform.OS === 'ios' || _reactNative.Platform.OS === 'windows') { - return Promise.resolve(true); - } - - return TextToSpeech.setDefaultEngine(engineName); - } - }, { - key: "setDefaultVoice", - value: function setDefaultVoice(voiceId) { - return TextToSpeech.setDefaultVoice(voiceId); - } - }, { - key: "setDefaultRate", - value: function setDefaultRate(rate, skipTransform) { - return TextToSpeech.setDefaultRate(rate, !!skipTransform); - } - }, { - key: "setDefaultPitch", - value: function setDefaultPitch(pitch) { - return TextToSpeech.setDefaultPitch(pitch); - } - }, { - key: "setDefaultLanguage", - value: function setDefaultLanguage(language) { - return TextToSpeech.setDefaultLanguage(language); - } - }, { - key: "setIgnoreSilentSwitch", - value: function setIgnoreSilentSwitch(ignoreSilentSwitch) { - if (_reactNative.Platform.OS === 'ios' || _reactNative.Platform.OS === 'windows') { - return TextToSpeech.setIgnoreSilentSwitch(ignoreSilentSwitch); - } - - return Promise.resolve(true); - } - }, { - key: "voices", - value: function voices() { - return TextToSpeech.voices(); - } - }, { - key: "engines", - value: function engines() { - if (_reactNative.Platform.OS === 'ios' || _reactNative.Platform.OS === 'windows') { - return Promise.resolve([]); - } - - return TextToSpeech.engines(); - } - }, { - key: "speak", - value: function speak(utterance) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - if (typeof options === 'string') { - if (_reactNative.Platform.OS === 'ios') { - return TextToSpeech.speak(utterance, { - iosVoiceId: options - }); - } else { - return TextToSpeech.speak(utterance, {}); - } - } else { - if (_reactNative.Platform.OS === 'ios' || _reactNative.Platform.OS === 'windows') { - return TextToSpeech.speak(utterance, options); - } else { - return TextToSpeech.speak(utterance, options.androidParams || {}); - } - } - } - }, { - key: "stop", - value: function stop(onWordBoundary) { - if (_reactNative.Platform.OS === 'ios') { - return TextToSpeech.stop(onWordBoundary); - } else { - return TextToSpeech.stop(); - } - } - }, { - key: "pause", - value: function pause(onWordBoundary) { - if (_reactNative.Platform.OS === 'ios') { - return TextToSpeech.pause(onWordBoundary); - } - - return Promise.resolve(false); - } - }, { - key: "resume", - value: function resume() { - if (_reactNative.Platform.OS === 'ios') { - return TextToSpeech.resume(); - } - - return Promise.resolve(false); - } - }, { - key: "addEventListener", - value: function addEventListener(type, handler) { - return this.addListener(type, handler); - } - }, { - key: "removeEventListener", - value: function removeEventListener(type, handler) { - this.removeListener(type, handler); - } - }]); - }(_reactNative.NativeEventEmitter); - - var _default = exports.default = new Tts(); -},2002,[3,6,7,11,13,14,18]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.checkVolume = checkVolume; - exports.getChunkedString = getChunkedString; - exports.getIndexForNonWordCharacter = getIndexForNonWordCharacter; - exports.getLengthOfChunks = getLengthOfChunks; - exports.getPercentage = getPercentage; - exports.handleError = handleError; - exports.setLanguage = setLanguage; - exports.setRate = setRate; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _reactNativeTts = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _reactNativeVolumeControl = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - function splitInSentencesByRegex() { - var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; - var regex = arguments.length > 1 ? arguments[1] : undefined; - var maxSize = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : -1; - var sentences = []; - var temporarySentence = ""; - - for (var i = 0; i < text.length; i++) { - var current = text[i]; - var next = text[i + 1]; - temporarySentence += current; - - if (current && current.match(regex) && (!next || next.match(/[ \n]/)) && temporarySentence.length > maxSize * 0.25 || maxSize > -1 && temporarySentence.length >= maxSize) { - sentences.push(temporarySentence); - temporarySentence = ""; - } - } - - if (temporarySentence) { - sentences.push(temporarySentence); - } - - return sentences; - } - - function getChunkedString() { - var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; - var size = arguments.length > 1 ? arguments[1] : undefined; - var fixedText = text.replace(/[\n]+/g, ".\n"); - fixedText = fixedText.replace(/\.+[\n]+/g, ".\n"); - var sentences = splitInSentencesByRegex(fixedText, /[.!?;]/, size); - sentences = sentences.reduce(function (result, sentence) { - if (sentence.length > size) { - result.push.apply(result, (0, _toConsumableArray2.default)(splitInSentencesByRegex(sentence, /,/, size))); - } else { - result.push(sentence); - } - - return result; - }, []); - return sentences; - } - - function getLengthOfChunks() { - var chunks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - return chunks.reduce(function (result, chunk) { - return result + chunk.length; - }, 0); - } - - function checkVolume() { - return _checkVolume.apply(this, arguments); - } - - function _checkVolume() { - _checkVolume = (0, _asyncToGenerator2.default)(function* () { - var volume = yield _reactNativeVolumeControl.default.getVolume(); - - if (volume === 0) { - _$$_REQUIRE(_dependencyMap[5]).Toast.show(global.strings("msg_tts_no_volume")); - } - }); - return _checkVolume.apply(this, arguments); - } - - function setLanguage(_x) { - return _setLanguage.apply(this, arguments); - } - - function _setLanguage() { - _setLanguage = (0, _asyncToGenerator2.default)(function* (locale) { - try { - yield _reactNativeTts.default.setDefaultLanguage(locale); - return true; - } catch (error) { - _$$_REQUIRE(_dependencyMap[5]).Toast.show(global.strings("msg_tts_unsupported")); - - return false; - } - }); - return _setLanguage.apply(this, arguments); - } - - function setRate() { - return _setRate.apply(this, arguments); - } - - function _setRate() { - _setRate = (0, _asyncToGenerator2.default)(function* () { - var _global$getActivePSet = global.getActivePSetup(), - textToSpeechRate = _global$getActivePSet.textToSpeechRate; - - if (textToSpeechRate) { - try { - yield _reactNativeTts.default.setDefaultRate(textToSpeechRate); - } catch (e) {} - } - }); - return _setRate.apply(this, arguments); - } - - function handleError(_x2) { - return _handleError.apply(this, arguments); - } - - function _handleError() { - _handleError = (0, _asyncToGenerator2.default)(function* (err) { - if (err.code === "no_engine") { - try { - yield _reactNativeTts.default.requestInstallEngine(); - } catch (e) { - _$$_REQUIRE(_dependencyMap[5]).Toast.show(global.strings("msg_tts_error")); - } - } - }); - return _handleError.apply(this, arguments); - } - - function getPercentage() { - var progress = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; - - try { - return parseInt(Math.ceil(progress * 100).toFixed(0), 10); - } catch (e) { - return Math.ceil(progress * 100); - } - } - - function getIndexForNonWordCharacter() { - var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; - var fromIndex = arguments.length > 1 ? arguments[1] : undefined; - - for (var i = fromIndex; i >= 0; i--) { - var character = text[i]; - - if (character && !character.match(/\w/)) { - return i; - } - } - - return 0; - } -},2003,[3,270,22,2002,2004,1929]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.VolumeControlEvents = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var VolumeControl = _reactNative.NativeModules.VolumeControl; - var VolumeControlEvents = exports.VolumeControlEvents = new _reactNative.NativeEventEmitter(_reactNative.NativeModules.VolumeControl); - - var _default = exports.default = VolumeControl; -},2004,[18]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _hintKeys = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var MAX_RESTART_RETRY = 5; - - var _OptionalPackages$get = _optionalPackageUtils.default.getVoice(), - Voice = _OptionalPackages$get.Voice; - - var VoiceManager = exports.default = function () { - function VoiceManager() { - var _this = this; - - (0, _classCallCheck2.default)(this, VoiceManager); - this.loop = false; - this.retry = 0; - this.running = false; - - this._onSpeechStart = function (event) { - _this.retry = 0; - _this.running = true; - - _this._log("started", "onSpeechStart"); - - _$$_REQUIRE(_dependencyMap[7]).EventRegister.emit(_events.default.ON_VOICE_RECOGNITION_START); - }; - - this._onSpeechError = function (_ref) { - var error = _ref.error; - - _this._log(error.message, "onSpeechError"); - - if (_this.running) { - _this.running = false; - - if (error.code === "7") { - _this.start(_this.loop); - } else if (_this.retry < MAX_RESTART_RETRY && _this.loop) { - _this._showHint({ - config: _hintKeys.default.voiceRecognitionError({ - message: error.message - }) - }); - - _this.retry += 1; - - _this.start(_this.loop); - } else { - _this.stop(); - } - } - }; - - this._onSpeechPartialResults = function (event) { - _this._log(event.value, "onSpeechPartialResults"); - }; - - this._onSpeechResults = function () { - var _ref2 = (0, _asyncToGenerator2.default)(function* (event) { - _this.running = false; - - _this._log(event.value, "onSpeechResults"); - - try { - var foundSpeech = _$$_REQUIRE(_dependencyMap[8]).ShortcutManager.onVoiceRecognized(event); - - _$$_REQUIRE(_dependencyMap[7]).EventRegister.emit(_events.default.ON_VOICE_RECOGNITION, { - values: foundSpeech - }); - } catch (e) { - _this._log(e.message, "onSpeechResults"); - } - - if (_$$_REQUIRE(_dependencyMap[9]).PlatformUtils.isIOS()) { - yield _this.stop(); - } - - if (_this.loop && !(yield _this._isRecognizing())) { - _this.start(_this.loop); - } - }); - - return function (_x) { - return _ref2.apply(this, arguments); - }; - }(); - - this._onSpeechEnd = function (event) { - _this.running = false; - - _this._log(event, "onSpeechEnd"); - }; - - this._onSpeechRecognized = function (event) { - _this._log(event, "onSpeechRecognized"); - }; - - this._onSpeechVolumeChanged = function (event) {}; - - if (Voice) { - Voice.onSpeechStart = this._onSpeechStart; - Voice.onSpeechError = this._onSpeechError; - Voice.onSpeechPartialResults = this._onSpeechPartialResults; - Voice.onSpeechResults = this._onSpeechResults; - Voice.onSpeechRecognized = this._onSpeechRecognized; - Voice.onSpeechVolumeChanged = this._onSpeechVolumeChanged; - Voice.onSpeechEnd = this._onSpeechEnd; - } - } - - return (0, _createClass2.default)(VoiceManager, [{ - key: "_showHint", - value: function _showHint() { - var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - _$$_REQUIRE(_dependencyMap[10]).HintOverlay.show(Object.assign({ - iconProps: { - type: _$$_REQUIRE(_dependencyMap[11]).TecnaviaIconType.MATERIAL_COMMUNITY_ICONS, - name: "information" - } - }, params)); - } - }, { - key: "_log", - value: function _log(event) { - var method = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; - } - }, { - key: "_getServices", - value: function () { - var _getServices2 = (0, _asyncToGenerator2.default)(function* () { - if (Voice) { - return Voice.getSpeechRecognitionServices(); - } - - return []; - }); - - function _getServices() { - return _getServices2.apply(this, arguments); - } - - return _getServices; - }() - }, { - key: "_isRecognizing", - value: function () { - var _isRecognizing2 = (0, _asyncToGenerator2.default)(function* () { - if (Voice) { - try { - var result = yield Voice.isRecognizing(); - - this._log("is recognizing " + result); - - return result; - } catch (e) { - return false; - } - } - - return false; - }); - - function _isRecognizing() { - return _isRecognizing2.apply(this, arguments); - } - - return _isRecognizing; - }() - }, { - key: "_isAvailable", - value: function () { - var _isAvailable2 = (0, _asyncToGenerator2.default)(function* () { - if (Voice) { - try { - var result = yield Voice.isAvailable(); - - this._log("is available " + result); - - return result; - } catch (e) { - return false; - } - } - - return false; - }); - - function _isAvailable() { - return _isAvailable2.apply(this, arguments); - } - - return _isAvailable; - }() - }, { - key: "isRunning", - value: function isRunning() { - return this.running; - } - }, { - key: "stop", - value: function () { - var _stop = (0, _asyncToGenerator2.default)(function* () { - if (Voice) { - try { - this.running = false; - this.retry = 0; - this.loop = false; - - _$$_REQUIRE(_dependencyMap[12]).VoiceOverlay.hide(); - - yield Voice.stop(); - } catch (e) { - this._log("no services available"); - } - } - }); - - function stop() { - return _stop.apply(this, arguments); - } - - return stop; - }() - }, { - key: "start", - value: function () { - var _start = (0, _asyncToGenerator2.default)(function* () { - var loop = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; - var result = false; - - if (Voice) { - try { - this.loop = loop; - var available = yield this._isAvailable(); - - if (available) { - _$$_REQUIRE(_dependencyMap[12]).VoiceOverlay.show(); - - yield Voice.start(global.getLocaleConfig().getCurrentLocale(), { - RECOGNIZER_ENGINE: "GOOGLE", - EXTRA_PARTIAL_RESULTS: true - }); - result = true; - this.running = true; - } else { - var services = yield this._getServices(); - - if ((!services || !services.length) && _$$_REQUIRE(_dependencyMap[9]).PlatformUtils.isAndroid()) { - this._showHint({ - config: _hintKeys.default.voiceRecognitionNoServices(), - onActionPress: _$$_REQUIRE(_dependencyMap[13]).NativeSettingsNavigation.appInputMethodSettings - }); - - this._log("no installed services"); - } else { - this._showHint({ - config: _hintKeys.default.voiceRecognitionSomethingWrong() - }); - - this._log("service is available but something went wrong"); - } - } - } catch (e) { - this._log(e.message); - } - } - - return result; - }); - - function start() { - return _start.apply(this, arguments); - } - - return start; - }() - }]); - }(); -},2005,[3,270,6,7,436,865,2006,550,1939,438,2007,1807,2011,2013]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var HintKeys = { - rssDbDownloadProgress: function rssDbDownloadProgress() { - return { - key: "rss_db_download_progress", - hint: global.strings("msg_download_rss"), - showAlways: true, - event: _events.default.ON_RSS_DB_DOWNLOAD - }; - }, - myHomeScreenConfig: function myHomeScreenConfig() { - var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - return { - key: "my_home_screen_config", - hint: global.strings("hint_my_home_screen_config", params), - hintAction: global.strings("action_go_to_settings", params) - }; - }, - voiceRecognitionNoServices: function voiceRecognitionNoServices() { - return { - key: "voice_recognition_no_services", - hint: global.strings("err_voice_recognition_no_services"), - hintAction: global.strings("action_go_to_settings"), - showAlways: true - }; - }, - voiceRecognitionSomethingWrong: function voiceRecognitionSomethingWrong() { - return { - key: "voice_recognition_something_wrong", - hint: global.strings("err_voice_recognition_generic"), - showAlways: true - }; - }, - voiceRecognitionError: function voiceRecognitionError(params) { - return { - key: "voice_recognition_error", - hint: global.strings("err_voice_recognition", params), - showAlways: true - }; - } - }; - - var _default = exports.default = HintKeys; -},2006,[3,436]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.HintOverlay = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[6])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[7]); - - var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _hintComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[9])); - - var _hintProgressComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var styles = _reactNative.StyleSheet.create({ - container: { - position: "absolute", - start: 0, - end: 0, - top: 0, - bottom: 0, - flexDirection: "column", - elevation: 20000, - zIndex: 20001 - } - }); - - var HintOverlay = exports.HintOverlay = function (_Component) { - function HintOverlay(props) { - var _this; - - (0, _classCallCheck2.default)(this, HintOverlay); - _this = _callSuper(this, HintOverlay, [props]); - _this.state = { - isShow: false, - hintConfig: undefined - }; - _this.onHide = _this._onHide.bind(_this); - return _this; - } - - (0, _inherits2.default)(HintOverlay, _Component); - return (0, _createClass2.default)(HintOverlay, [{ - key: "showHint", - value: function showHint() { - var _this2 = this; - - var hintConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - this.backgroundColor = (0, _hintComponent.getHintBackgroundColor)(); - this.setState({ - isShow: true, - hintConfig: hintConfig - }, function () { - _this2.previousTopBarColor = _$$_REQUIRE(_dependencyMap[11]).PlatformUtils.topBarColor; - - _$$_REQUIRE(_dependencyMap[11]).PlatformUtils.colorTopBar(_this2.backgroundColor); - }); - } - }, { - key: "hideHint", - value: function hideHint() { - var isShow = this.state.isShow; - - _$$_REQUIRE(_dependencyMap[11]).PlatformUtils.colorTopBar(this.previousTopBarColor); - - if (!this.isShow && !isShow) { - return; - } - - this.setState({ - isShow: false, - hintConfig: undefined - }); - } - }, { - key: "_onHide", - value: function _onHide() { - var hintConfig = this.state.hintConfig; - - if (hintConfig && typeof hintConfig.onHide === "function") { - hintConfig.onHide(); - } - - this.hideHint(); - } - }, { - key: "_renderHint", - value: function _renderHint() { - var hintConfig = this.state.hintConfig; - return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_hintComponent.default, Object.assign({}, hintConfig, { - onHide: this.onHide - })); - } - }, { - key: "_renderHintProgress", - value: function _renderHintProgress() { - var hintConfig = this.state.hintConfig; - return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_hintProgressComponent.default, Object.assign({}, hintConfig, { - visible: true, - onHide: this.onHide - })); - } - }, { - key: "render", - value: function render() { - var _this$state = this.state, - isShow = _this$state.isShow, - hintConfig = _this$state.hintConfig; - - if (isShow && hintConfig) { - var _DeviceUtils$getSafeA = _deviceUtils.default.getSafeAreaInsets(), - top = _DeviceUtils$getSafeA.top; - - return (0, _$$_REQUIRE(_dependencyMap[12]).jsxs)(_reactNative.View, { - style: styles.container, - children: [(0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_reactNative.View, { - style: { - width: "100%", - height: top, - backgroundColor: this.backgroundColor - } - }), hintConfig.progress ? this._renderHintProgress() : this._renderHint()] - }); - } - - return null; - } - }], [{ - key: "show", - value: function show(params) { - HintOverlay.instance.showHint(params); - } - }, { - key: "hide", - value: function hide() { - HintOverlay.instance.hideHint(); - } - }]); - }(_react.Component); -},2007,[3,6,7,11,13,14,16,18,434,2008,2010,438,179]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - exports.getHintBackgroundColor = getHintBackgroundColor; - - var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[3])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[4]); - - var _progressCountDown = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _fontText = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _iconComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[7])); - - var _imageIconChooserComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var PADDING = 15; - - var styles = _reactNative.StyleSheet.create({ - parent: { - minHeight: 50, - backgroundColor: _$$_REQUIRE(_dependencyMap[9]).colors.hintBackgroundColor, - flexDirection: "row", - alignItems: "center", - padding: PADDING, - elevation: 2 - }, - hintParent: { - flex: 1, - justifyContent: "center", - paddingRight: 15 - }, - hint: { - fontSize: 16 - }, - action: { - fontSize: 16 - }, - touchable: { - width: 40, - height: 40, - justifyContent: "center", - alignItems: "center" - }, - helpIconParent: { - width: 40, - height: 40, - marginRight: 15, - justifyContent: "center", - alignItems: "center" - }, - helpIcon: { - fontSize: 20 - }, - icon: { - fontSize: 20 - } - }); - - function getHintBackgroundColor() { - var parentStyle = _$$_REQUIRE(_dependencyMap[10]).Css.getStyleObjByCssClasses(["hint-parent"]); - - return parentStyle.backgroundColor || _$$_REQUIRE(_dependencyMap[9]).colors.hintBackgroundColor; - } - - var Hint = function Hint(props) { - var defaultVisible = props.visible, - style = props.style, - config = props.config, - MainComponent = props.MainComponent, - IconComponent = props.IconComponent, - actionStyle = props.actionStyle, - onActionPress = props.onActionPress, - iconProps = props.iconProps, - onHide = props.onHide; - - var _useState = (0, _react.useState)(defaultVisible), - _useState2 = (0, _slicedToArray2.default)(_useState, 2), - visible = _useState2[0], - setVisibility = _useState2[1]; - - if (!config) { - return null; - } - - var key = config.key, - hint = config.hint, - hintAction = config.hintAction, - _config$showAlways = config.showAlways, - showAlways = _config$showAlways === undefined ? false : _config$showAlways, - _config$autoHideTime = config.autoHideTime, - autoHideTime = _config$autoHideTime === undefined ? 0 : _config$autoHideTime; - var userSettings = global.getUserSettings(); - - if (userSettings.isHintShown(key) && !showAlways || !visible || !hint) { - return null; - } - - var onClose = function onClose() { - var animation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; - userSettings.setShowedHint(key); - - if (animation) { - _reactNative.LayoutAnimation.configureNext(_reactNative.LayoutAnimation.Presets.easeInEaseOut); - } - - setVisibility(false); - - if (typeof onHide === "function") { - onHide(); - } - }; - - var onAction = function onAction() { - onClose(false); - - if (typeof onActionPress === "function") { - onActionPress(); - } - }; - - var progressStyle = _$$_REQUIRE(_dependencyMap[10]).Css.getStyleObjByCssClasses(["hint-close-progress"]); - - var progressTextStyle = _$$_REQUIRE(_dependencyMap[10]).Css.getStyleObjByCssClasses(["hint-close-progress-text"]); - - var color = _$$_REQUIRE(_dependencyMap[10]).Css.getDefaultForegroundColor(); - - var backgroundColor = getHintBackgroundColor(); - - if (_$$_REQUIRE(_dependencyMap[9]).ColorUtils.isClearColor(color) === _$$_REQUIRE(_dependencyMap[9]).ColorUtils.isClearColor(backgroundColor)) { - color = _$$_REQUIRE(_dependencyMap[9]).ColorUtils.determineTextColor(backgroundColor); - } - - return (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_reactNative.View, { - style: [_$$_REQUIRE(_dependencyMap[9]).PlatformUtils.isIOS() ? { - zIndex: 1000, - shadowColor: _$$_REQUIRE(_dependencyMap[9]).colors.black, - shadowOpacity: 0.5, - shadowRadius: 0.5, - shadowOffset: { - height: 1, - width: 0 - } - } : {}, style], - children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: ["hint-parent"], - children: (0, _$$_REQUIRE(_dependencyMap[11]).jsxs)(_reactNative.View, { - style: styles.parent, - children: [iconProps ? (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: ["hint-icon-parent"], - children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_reactNative.View, { - style: styles.helpIconParent, - children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: ["hint-icon"], - children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_imageIconChooserComponent.default, Object.assign({ - style: [styles.helpIcon, { - color: color - }] - }, iconProps)) - }) - }) - }) : null, (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: ["hint-main-element-parent"], - children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_reactNative.View, { - style: styles.hintParent, - children: MainComponent ? MainComponent : (0, _$$_REQUIRE(_dependencyMap[11]).jsxs)(_$$_REQUIRE(_dependencyMap[11]).Fragment, { - children: [(0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: ["hint-main-element-text"], - children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_fontText.default, { - style: [styles.hint, { - color: color - }], - children: hint - }) - }), hintAction ? (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_reactNative.TouchableOpacity, { - onPress: onAction, - children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: ["hint-main-element-action"], - children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_fontText.default, { - style: [styles.action, { - fontWeight: "bold", - color: color - }, actionStyle], - children: hintAction - }) - }) - }) : null] - }) - }) - }), (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: ["hint-right-parent"], - children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_reactNative.TouchableOpacity, { - style: styles.touchable, - hitSlop: { - top: PADDING, - bottom: PADDING, - left: PADDING, - right: PADDING - }, - onPress: onClose, - children: IconComponent ? IconComponent : (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[11]).Fragment, { - children: autoHideTime ? (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_progressCountDown.default, { - viewSize: progressStyle.width, - progressWidth: progressStyle.borderWidth, - progressRadius: progressStyle.borderRadius, - progressTextStyle: progressTextStyle, - progressColor: progressStyle.color || color, - progressDuration: autoHideTime, - onProgressFinish: onClose - }) : (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: ["hint-close-icon"], - children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_iconComponent.default, { - type: _iconComponent.TecnaviaIconType.MATERIAL_COMMUNITY_ICONS, - name: "close", - style: [styles.icon, { - position: "absolute", - color: color - }] - }) - }) - }) - }) - })] - }) - }) - }); - }; - - Hint.propTypes = { - config: _propTypes.default.shape({ - key: _propTypes.default.string.isRequired, - hint: _propTypes.default.string.isRequired, - hintAction: _propTypes.default.string, - showAlways: _propTypes.default.bool, - autoHideTime: _propTypes.default.number - }).isRequired, - visible: _propTypes.default.bool, - style: _propTypes.default.any, - IconComponent: _propTypes.default.node, - MainComponent: _propTypes.default.node, - actionText: _propTypes.default.string, - actionStyle: _propTypes.default.any, - onActionPress: _propTypes.default.func, - onHide: _propTypes.default.func, - iconProps: _propTypes.default.shape(Object.assign({}, _imageIconChooserComponent.default.propTypes)) - }; - Hint.defaultProps = { - visible: true - }; - - var _default = exports.default = Hint; -},2008,[3,33,568,16,18,2009,800,1807,1974,438,803,179]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[4]); - - var _reactNativeSvg = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[5])); - - var _fontText = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var AnimatedCircle = _reactNative.Animated.createAnimatedComponent(_reactNativeSvg.Circle); - - var getText = function getText(mills) { - return Math.round(mills / 1000).toFixed(0); - }; - - var ProgressCountDown = function ProgressCountDown(props) { - var viewSize = props.viewSize, - viewStyle = props.viewStyle, - progressRadius = props.progressRadius, - progressWidth = props.progressWidth, - progressDuration = props.progressDuration, - progressColor = props.progressColor, - progressTextStyle = props.progressTextStyle, - onProgressFinish = props.onProgressFinish; - - var _useState = (0, _react.useState)(getText(progressDuration)), - _useState2 = (0, _slicedToArray2.default)(_useState, 2), - text = _useState2[0], - setText = _useState2[1]; - - var circumf = progressRadius * 2 * Math.PI; - var value = (0, _react.useRef)(new _reactNative.Animated.Value(0)).current; - var listenerId = value.addListener(function (param) { - var newText = ""; - - if (param.value === 0) { - newText = "" + progressDuration; - } else { - newText = getText(progressDuration - param.value * progressDuration); - } - - if (newText !== text) { - setText(newText); - } - }); - (0, _react.useEffect)(function () { - var animation = _reactNative.Animated.timing(value, { - toValue: 1, - duration: progressDuration, - useNativeDriver: false - }).start(function (_ref) { - var finished = _ref.finished; - - if (finished && typeof onProgressFinish === "function") { - onProgressFinish(); - } - }); - - return function () { - if (animation) { - animation.stop(); - } - - if (value) { - value.removeListener(listenerId); - } - }; - }, []); - return (0, _$$_REQUIRE(_dependencyMap[7]).jsxs)(_reactNative.View, { - style: { - justifyContent: "center", - alignItems: "center" - }, - children: [(0, _$$_REQUIRE(_dependencyMap[7]).jsx)(_reactNativeSvg.default, { - height: viewSize, - width: viewSize, - viewBox: "0 0 100 100", - style: viewStyle, - children: (0, _$$_REQUIRE(_dependencyMap[7]).jsx)(AnimatedCircle, { - stroke: progressColor, - fill: "none", - cx: viewSize, - cy: viewSize, - r: progressRadius, - strokeDasharray: circumf + " " + circumf, - strokeDashoffset: value.interpolate({ - inputRange: [0, 1], - outputRange: [0, circumf] - }), - transform: "rotate(-90, " + viewSize + ", " + viewSize + ")", - strokeWidth: progressWidth - }) - }), (0, _$$_REQUIRE(_dependencyMap[7]).jsx)(_fontText.default, { - style: [{ - position: "absolute", - color: progressColor - }, progressTextStyle], - children: text - })] - }); - }; - - ProgressCountDown.propTypes = { - viewSize: _propTypes.default.number, - viewStyle: _propTypes.default.any, - progressRadius: _propTypes.default.number, - progressWidth: _propTypes.default.number, - progressDuration: _propTypes.default.number, - progressColor: _propTypes.default.string, - progressTextStyle: _propTypes.default.any, - onProgressFinish: _propTypes.default.func - }; - ProgressCountDown.defaultProps = { - viewSize: 50, - progressRadius: 30, - progressWidth: 5, - progressDuration: 10000, - progressColor: _$$_REQUIRE(_dependencyMap[8]).colors.black - }; - - var _default = exports.default = ProgressCountDown; -},2009,[3,33,16,568,18,943,800,179,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[5])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[6]); - - var _hintComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _excluded = ["color", "size", "cssProgressClasses", "cssProgressTextClasses", "config", "onHide"], - _excluded2 = ["event"]; - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var SPINNER_SIZE = 40; - - var SPINNER_COLOR = _$$_REQUIRE(_dependencyMap[8]).colors.black; - - var styles = _reactNative.StyleSheet.create({ - parent: { - flex: 1 - }, - spinner: { - flex: 0 - } - }); - - function HintProgress(props) { - var color = props.color, - size = props.size, - cssProgressClasses = props.cssProgressClasses, - cssProgressTextClasses = props.cssProgressTextClasses, - config = props.config, - onHide = props.onHide, - rest = (0, _objectWithoutProperties2.default)(props, _excluded); - var event = config.event, - restConfig = (0, _objectWithoutProperties2.default)(config, _excluded2); - - var _useState = (0, _react.useState)(rest.visible), - _useState2 = (0, _slicedToArray2.default)(_useState, 2), - visible = _useState2[0], - setVisible = _useState2[1]; - - var onProgressChangeId; - var progressRef; - var onProgressChange = (0, _react.useCallback)(function (_ref) { - var progress = _ref.progress; - var inProgress = progress > 0 && progress < 100; - - if (visible && !inProgress && typeof onHide === "function") { - onHide(); - } - - if (progressRef) { - progressRef.updateProgress(progress); - } - - if (visible !== inProgress) { - setVisible(inProgress); - } - }, [progressRef, visible]); - var onProgressRef = (0, _react.useCallback)(function (ref) { - progressRef = ref; - }); - (0, _react.useEffect)(function () { - if (event) { - onProgressChangeId = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(event, onProgressChange); - } - - return function () { - _$$_REQUIRE(_dependencyMap[9]).EventRegister.rm(onProgressChangeId); - }; - }, [visible]); - - var cssHintProgressParent = _$$_REQUIRE(_dependencyMap[10]).Css.getStyleObjByCssClasses(["hint-progress-parent"]); - - var cssHintProgressSpinner = _$$_REQUIRE(_dependencyMap[10]).Css.getStyleObjByCssClasses(["hint-progress-spinner"]); - - var cssHintProgressSpinnerText = _$$_REQUIRE(_dependencyMap[10]).Css.getStyleObjByCssClasses(["hint-progress-spinner-text"]); - - if (!visible) { - return null; - } - - return (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_hintComponent.default, Object.assign({ - config: restConfig - }, rest, { - visible: visible, - IconComponent: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_$$_REQUIRE(_dependencyMap[12]).ProgressCircle, { - ref: onProgressRef, - parentStyle: [styles.parent, cssHintProgressParent], - spinnerStyle: [styles.spinner, cssHintProgressSpinner], - spinnerTextStyle: cssHintProgressSpinnerText, - spinnerColor: cssHintProgressSpinner.color || color, - spinnerSize: cssHintProgressSpinner.size || size, - showText: false, - advanced: true, - cssClasses: ["hint-progress-spinner"].concat((0, _toConsumableArray2.default)(cssProgressClasses)), - cssTextClasses: ["hint-progress-spinner-text"].concat((0, _toConsumableArray2.default)(cssProgressTextClasses)) - }) - })); - } - - HintProgress.propTypes = Object.assign({ - color: _propTypes.default.string, - size: _propTypes.default.number, - visible: _propTypes.default.bool, - event: _propTypes.default.string, - cssProgressClasses: _propTypes.default.array, - cssProgressTextClasses: _propTypes.default.array - }, _hintComponent.default.propTypes); - HintProgress.defaultProps = Object.assign({ - color: SPINNER_COLOR, - size: SPINNER_SIZE, - visible: false, - cssProgressClasses: [], - cssProgressTextClasses: [] - }, _hintComponent.default.defaultProps); - - var _default = exports.default = HintProgress; -},2010,[3,22,33,4,568,16,18,2008,438,550,803,179,1884]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.VoiceOverlay = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[7])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[8]); - - var _voiceIconComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var styles = _reactNative.StyleSheet.create({ - container: { - position: "absolute", - start: 0, - end: 0, - bottom: 0, - flexDirection: "column", - elevation: 50000, - zIndex: 50001 - } - }); - - var VoiceOverlay = exports.VoiceOverlay = function (_Component) { - function VoiceOverlay(props) { - var _this; - - (0, _classCallCheck2.default)(this, VoiceOverlay); - _this = _callSuper(this, VoiceOverlay, [props]); - _this.state = { - isShow: false - }; - _this.onPress = _this._onPress.bind(_this); - return _this; - } - - (0, _inherits2.default)(VoiceOverlay, _Component); - return (0, _createClass2.default)(VoiceOverlay, [{ - key: "show", - value: function show() { - var isShow = this.state.isShow; - - if (!isShow) { - this.setState({ - isShow: true - }); - } - } - }, { - key: "hide", - value: function hide() { - var isShow = this.state.isShow; - - if (isShow) { - this.setState({ - isShow: false - }); - } - } - }, { - key: "_onPress", - value: function () { - var _onPress2 = (0, _asyncToGenerator2.default)(function* () { - if (global.getAudio()) { - if (global.getAudio().srIsRunning()) { - yield global.getAudio().srStop(); - } else { - yield global.getAudio().srStart(global.getAudio().srIsLooping()); - } - } - }); - - function _onPress() { - return _onPress2.apply(this, arguments); - } - - return _onPress; - }() - }, { - key: "render", - value: function render() { - var isShow = this.state.isShow; - return isShow ? (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_reactNative.View, { - style: styles.container, - children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_voiceIconComponent.default, { - onIconPress: this.onPress - }) - }) : null; - } - }], [{ - key: "show", - value: function show() { - VoiceOverlay.instance.show(); - } - }, { - key: "hide", - value: function hide() { - VoiceOverlay.instance.hide(); - } - }]); - }(_react.Component); -},2011,[3,270,6,7,11,13,14,16,18,2012,179]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _slicedToArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[2])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[4]); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _fontText = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[6])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var HEIGHT = 120; - var ICON_HEIGHT = 84; - var ICON_SIZE = 50.4; - var ICON_END = 18; - - var styles = _reactNative.StyleSheet.create({ - parent: { - height: HEIGHT, - alignItems: "center", - justifyContent: "center" - }, - topBar: { - flex: 1, - width: "100%" - }, - bottomBar: { - flex: 1, - width: "100%", - backgroundColor: _$$_REQUIRE(_dependencyMap[7]).colors.white, - borderTopColor: _$$_REQUIRE(_dependencyMap[7]).colors.black, - borderTopWidth: 1, - justifyContent: "center" - }, - bottomBarText: { - fontSize: 20, - padding: 10 - }, - iconParent: { - position: "absolute", - height: ICON_HEIGHT, - width: ICON_HEIGHT, - end: ICON_END, - backgroundColor: _$$_REQUIRE(_dependencyMap[7]).colors.white, - borderRadius: ICON_HEIGHT, - borderWidth: 1, - borderColor: _$$_REQUIRE(_dependencyMap[7]).colors.black, - justifyContent: "center", - alignItems: "center" - } - }); - - var VoiceIcon = function VoiceIcon(props) { - var onIconPress = props.onIconPress; - - var _useState = (0, _react.useState)(""), - _useState2 = (0, _slicedToArray2.default)(_useState, 2), - text = _useState2[0], - setText = _useState2[1]; - - var iconStyle = _$$_REQUIRE(_dependencyMap[8]).Css.getStyleObjByCssClasses(["voice-icon"]); - - var colorAnim = (0, _react.useRef)(new _reactNative.Animated.Value(0)).current; - var animation; - - var _startAnimation = function startAnimation(destination) { - animation = _reactNative.Animated.timing(colorAnim, { - toValue: destination, - duration: 1000, - useNativeDriver: false - }).start(function (_ref) { - var finished = _ref.finished; - - if (finished) { - _startAnimation(Math.abs(destination - 1)); - } - }); - }; - - var onPress = function onPress() { - if (typeof onIconPress === "function") { - onIconPress(); - } - }; - - var onVoiceRecognition; - var onVoiceRecognitionRestart; - (0, _react.useEffect)(function () { - _startAnimation(1); - - onVoiceRecognition = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(_events.default.ON_VOICE_RECOGNITION, function (_ref2) { - var _ref2$values = _ref2.values, - values = _ref2$values === undefined ? [] : _ref2$values; - setText(values[0] || ""); - }); - onVoiceRecognitionRestart = _$$_REQUIRE(_dependencyMap[9]).EventRegister.on(_events.default.ON_VOICE_RECOGNITION_START, function () {}); - return function () { - _$$_REQUIRE(_dependencyMap[9]).EventRegister.rm(onVoiceRecognition); - - _$$_REQUIRE(_dependencyMap[9]).EventRegister.rm(onVoiceRecognitionRestart); - - if (animation) { - animation.stop(); - } - }; - }); - return (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[8]).Css, { - classes: ["voice-parent"], - children: (0, _$$_REQUIRE(_dependencyMap[10]).jsxs)(_reactNative.View, { - style: styles.parent, - children: [(0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[8]).Css, { - classes: ["voice-top-bar"], - children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_reactNative.View, { - style: styles.topBar - }) - }), (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[8]).Css, { - classes: ["voice-bottom-bar"], - children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_reactNative.View, { - style: styles.bottomBar, - children: text ? (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[8]).Css, { - classes: ["voice-bottom-bar-text"], - children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_fontText.default, { - type: _fontText.Type.bold, - style: styles.bottomBarText, - numberOfLines: 1, - ellipsizeMode: "tail", - children: text + "..." - }) - }) : null - }) - }), (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[8]).Css, { - classes: ["voice-icon-parent"], - children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_reactNative.TouchableOpacity, { - onPress: onPress, - style: styles.iconParent, - children: (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_$$_REQUIRE(_dependencyMap[11]).AnimatedImageIconChooser, { - type: _$$_REQUIRE(_dependencyMap[12]).TecnaviaIconType.MATERIAL_COMMUNITY_ICONS, - name: "microphone", - size: ICON_SIZE, - style: [iconStyle, { - color: colorAnim.interpolate({ - inputRange: [0, 1], - outputRange: [_$$_REQUIRE(_dependencyMap[7]).colors.black, iconStyle.color || _$$_REQUIRE(_dependencyMap[7]).colors.red] - }) - }] - }) - }) - })] - }) - }); - }; - - VoiceIcon.propTypes = { - onIconPress: _propTypes.default.func - }; - - var _default = exports.default = VoiceIcon; -},2012,[3,33,16,568,18,436,800,438,803,550,179,1974,1807]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.NativeSettingsNavigation = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[3]); - - var _reactNativeAndroidOpenSettings = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var NativeSettingsNavigation = exports.NativeSettingsNavigation = function () { - function NativeSettingsNavigation() { - (0, _classCallCheck2.default)(this, NativeSettingsNavigation); - } - - return (0, _createClass2.default)(NativeSettingsNavigation, null, [{ - key: "appNotificationSettings", - value: function appNotificationSettings() { - if (_$$_REQUIRE(_dependencyMap[5]).PlatformUtils.isAndroid()) { - _reactNativeAndroidOpenSettings.default.appNotificationSettings(); - } else { - _reactNative.Linking.openSettings(); - } - } - }, { - key: "accessibilitySettings", - value: function accessibilitySettings() { - if (_$$_REQUIRE(_dependencyMap[5]).PlatformUtils.isAndroid()) { - _reactNativeAndroidOpenSettings.default.accessibilitySettings(); - } - } - }, { - key: "appInputMethodSettings", - value: function appInputMethodSettings() { - if (_$$_REQUIRE(_dependencyMap[5]).PlatformUtils.isAndroid()) { - _reactNativeAndroidOpenSettings.default.inputMethodSettings(); - } - } - }]); - }(); -},2013,[3,6,7,18,2014,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var RNAndroidOpenSettings = _reactNative.NativeModules.RNAndroidOpenSettings; - - var generalSettings = function generalSettings() { - return RNAndroidOpenSettings.generalSettings(); - }; - - var homeSettings = function homeSettings() { - return RNAndroidOpenSettings.homeSettings(); - }; - - var appDetailsSettings = function appDetailsSettings() { - return RNAndroidOpenSettings.appDetailsSettings(); - }; - - var wifiSettings = function wifiSettings() { - return RNAndroidOpenSettings.wifiSettings(); - }; - - var locationSourceSettings = function locationSourceSettings() { - return RNAndroidOpenSettings.locationSourceSettings(); - }; - - var wirelessSettings = function wirelessSettings() { - return RNAndroidOpenSettings.wirelessSettings(); - }; - - var airplaneModeSettings = function airplaneModeSettings() { - return RNAndroidOpenSettings.airplaneModeSettings(); - }; - - var apnSettings = function apnSettings() { - return RNAndroidOpenSettings.apnSettings(); - }; - - var bluetoothSettings = function bluetoothSettings() { - return RNAndroidOpenSettings.bluetoothSettings(); - }; - - var dateSettings = function dateSettings() { - return RNAndroidOpenSettings.dateSettings(); - }; - - var localeSettings = function localeSettings() { - return RNAndroidOpenSettings.localeSettings(); - }; - - var inputMethodSettings = function inputMethodSettings() { - return RNAndroidOpenSettings.inputMethodSettings(); - }; - - var displaySettings = function displaySettings() { - return RNAndroidOpenSettings.displaySettings(); - }; - - var securitySettings = function securitySettings() { - return RNAndroidOpenSettings.securitySettings(); - }; - - var internalStorageSettings = function internalStorageSettings() { - return RNAndroidOpenSettings.internalStorageSettings(); - }; - - var memoryCardSettings = function memoryCardSettings() { - return RNAndroidOpenSettings.memoryCardSettings(); - }; - - var accessibilitySettings = function accessibilitySettings() { - return RNAndroidOpenSettings.accessibilitySettings(); - }; - - var applicationSettings = function applicationSettings() { - return RNAndroidOpenSettings.applicationSettings(); - }; - - var deviceInfoSettings = function deviceInfoSettings() { - return RNAndroidOpenSettings.deviceInfoSettings(); - }; - - var appNotificationSettings = function appNotificationSettings() { - return RNAndroidOpenSettings.appNotificationSettings(); - }; - - module.exports = { - generalSettings: generalSettings, - homeSettings: homeSettings, - appDetailsSettings: appDetailsSettings, - wifiSettings: wifiSettings, - locationSourceSettings: locationSourceSettings, - wirelessSettings: wirelessSettings, - airplaneModeSettings: airplaneModeSettings, - apnSettings: apnSettings, - bluetoothSettings: bluetoothSettings, - dateSettings: dateSettings, - localeSettings: localeSettings, - inputMethodSettings: inputMethodSettings, - displaySettings: displaySettings, - securitySettings: securitySettings, - internalStorageSettings: internalStorageSettings, - memoryCardSettings: memoryCardSettings, - accessibilitySettings: accessibilitySettings, - applicationSettings: applicationSettings, - deviceInfoSettings: deviceInfoSettings, - appNotificationSettings: appNotificationSettings - }; -},2014,[18]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.AdsConfig = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[5]); - - var _NoticeHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _InStoryAd = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[7])); - - var NoticeValues = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[8])); - - var _NoticesManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _NoticeInstoryAd = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _Notice = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - var _NoticePrestitial = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); - - var _NoticeInterstitial = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); - - var _NoticeAdOverPage = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); - - var _adnativeComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); - - var _adwebComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[16])); - - var _LiveConfig = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[17])); - - var _LoginManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18])); - - var _fontText = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[19])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var AdsConfig = exports.AdsConfig = function () { - function AdsConfig() { - (0, _classCallCheck2.default)(this, AdsConfig); - } - - return (0, _createClass2.default)(AdsConfig, [{ - key: "init", - value: function () { - var _init = (0, _asyncToGenerator2.default)(function* () { - var _global$getRssIndex = global.getRssIndex(), - cacheAds = _global$getRssIndex.cacheAds, - adProvider = _global$getRssIndex.adProvider, - adPrebidAccountId = _global$getRssIndex.adPrebidAccountId, - adPrebidServerHost = _global$getRssIndex.adPrebidServerHost, - adPrebidConfigurationId = _global$getRssIndex.adPrebidConfigurationId, - adPrebidShareGeolocation = _global$getRssIndex.adPrebidShareGeolocation, - adUnitId = _global$getRssIndex.adUnitId, - adTargeting = _global$getRssIndex.adTargeting, - topAd = _global$getRssIndex.topAd, - bottomAd = _global$getRssIndex.bottomAd, - adDefaultFallback = _global$getRssIndex.adDefaultFallback, - adsBackgroundColor = _global$getRssIndex.adsBackgroundColor; - - this.cacheAds = cacheAds; - this.adProvider = adProvider; - this.adPrebidAccountId = adPrebidAccountId; - this.adPrebidServerHost = adPrebidServerHost; - this.adPrebidConfigurationId = adPrebidConfigurationId; - this.adPrebidShareGeolocation = adPrebidShareGeolocation; - this.adUnitId = adUnitId; - this.adTargeting = adTargeting; - this.topAd = topAd; - this.bottomAd = bottomAd; - this.adDefaultFallback = adDefaultFallback; - this.adsBackgroundColor = adsBackgroundColor; - yield this.initNotices(); - }); - - function init() { - return _init.apply(this, arguments); - } - - return init; - }() - }, { - key: "initNotices", - value: function () { - var _initNotices = (0, _asyncToGenerator2.default)(function* () { - try { - var _global$getActivePSet = global.getActivePSetup(), - ads = _global$getActivePSet.ads; - - var noticesJSON; - - if (ads) { - try { - noticesJSON = JSON.parse(ads); - } catch (e) { - noticesJSON = []; - } - - _NoticeHelper.default.setNotices(noticesJSON); - } else { - noticesJSON = yield _NoticeHelper.default.download(); - } - - this.noticesManager = new _NoticesManager.default(noticesJSON["noticeconfig.cfg"]); - yield this.noticesManager.parse(); - } catch (e) {} - }); - - function initNotices() { - return _initNotices.apply(this, arguments); - } - - return initNotices; - }() - }, { - key: "isUserAdDisabled", - value: function isUserAdDisabled() { - return _LoginManager.default.isAdFree(); - } - }, { - key: "setNoticeCoolDown", - value: function setNoticeCoolDown(noticeNumber, timestamp) { - if (this.noticesManager) { - this.noticesManager.setCoolDown(noticeNumber, timestamp); - } - } - }, { - key: "incrementNoticeUnitIdIndex", - value: function incrementNoticeUnitIdIndex(noticeNumber) { - if (this.noticesManager) { - this.noticesManager.changeAdUnitId(noticeNumber); - } - } - }, { - key: "getNoticeUnitId", - value: function getNoticeUnitId(noticeNumber) { - if (this.noticesManager) { - return this.noticesManager.getAdUnitId(noticeNumber); - } - - return undefined; - } - }, { - key: "getPrestitial", - value: function getPrestitial() { - return this.getNoticeByType(NoticeValues.types.prestitial, {}, _LiveConfig.default.getAppSide()); - } - }, { - key: "getInterstitial", - value: function getInterstitial() { - return this.getNoticeByType(NoticeValues.types.interstitial, {}, _LiveConfig.default.getAppSide()); - } - }, { - key: "getAdOverPage", - value: function getAdOverPage(config) { - return this.getNoticeByType(NoticeValues.types.adOverPage, config, _LiveConfig.default.getAppSide()); - } - }, { - key: "getInterstitialEpaper", - value: function getInterstitialEpaper(config) { - return this.getNoticeByType(NoticeValues.types.interstitial, config, _LiveConfig.default.getAppSide()); - } - }, { - key: "getNoticeByType", - value: function getNoticeByType(type, config, appSide) { - if (!this.isUserAdDisabled() && this.noticesManager) { - return this.noticesManager.getNoticeByType(type, config, appSide); - } - - return undefined; - } - }, { - key: "getInStoryAd", - value: function getInStoryAd(positions, appSide) { - var notice = this.getNoticeByType(NoticeValues.types.instoryAd, { - positions: positions - }, appSide); - - if (notice) { - var _notice$getSize = notice.getSize(), - width = _notice$getSize.width, - height = _notice$getSize.height; - - var model = new _InStoryAd.default(); - model.setAlignment(notice.getAlignment()); - model.setHeight(height); - model.setWidth(width); - model.setType(notice.getType()); - model.setUrl(notice.getUri()); - model.setUnitId(notice.getAdUnitId()); - model.setProvider(notice.getAdProvider()); - model.setTargeting(notice.getTargeting()); - return model; - } - - return undefined; - } - }, { - key: "getAdEvent", - value: function getAdEvent() { - var model = this.getInStoryAd(_InStoryAd.InStoryAdType.EPAPER_NORMAL, _LiveConfig.APP_SIDE.rss); - model.isWeb = true; - model.useAutoHeight = true; - model.html = undefined; - return model; - } - }, { - key: "getInStoryAdTop", - value: function getInStoryAdTop() { - return this.getInStoryAd(_InStoryAd.InStoryAdType.TOP, _LiveConfig.APP_SIDE.ePaper); - } - }, { - key: "getInStoryAdMiddle", - value: function getInStoryAdMiddle() { - return this.getInStoryAd(_InStoryAd.InStoryAdType.MIDDLE, _LiveConfig.APP_SIDE.ePaper); - } - }, { - key: "getInStoryAdBottom", - value: function getInStoryAdBottom() { - return this.getInStoryAd(_InStoryAd.InStoryAdType.BOTTOM, _LiveConfig.APP_SIDE.ePaper); - } - }, { - key: "getEpaperBottomAd", - value: function getEpaperBottomAd() { - return this.getInStoryAd(_InStoryAd.InStoryAdType.EPAPER_BOTTOM, _LiveConfig.APP_SIDE.ePaper); - } - }, { - key: "getEpaperTopAd", - value: function getEpaperTopAd() { - return this.getInStoryAd(_InStoryAd.InStoryAdType.EPAPER_TOP, _LiveConfig.APP_SIDE.ePaper); - } - }, { - key: "getEpaperTopIndexAd", - value: function getEpaperTopIndexAd() { - return this.getInStoryAd(_InStoryAd.InStoryAdType.TOP_INDEX, _LiveConfig.APP_SIDE.ePaper); - } - }, { - key: "useAdMob", - value: function useAdMob(provider) { - return this.useProvider(provider, [NoticeValues.values.provider.admob]); - } - }, { - key: "useDFP", - value: function useDFP(provider) { - return this.useProvider(provider, [NoticeValues.values.provider.dfp, NoticeValues.values.provider.unset]); - } - }, { - key: "usePrebid", - value: function usePrebid(provider) { - return this.useProvider(provider, [NoticeValues.values.provider.prebid]); - } - }, { - key: "useNativo", - value: function useNativo(provider) { - return this.useProvider(provider, [NoticeValues.values.provider.nativo]); - } - }, { - key: "useProvider", - value: function useProvider(provider) { - var providerRequesteds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; - var providerToUse = provider || this.getProvider(); - return providerRequesteds.includes(providerToUse); - } - }, { - key: "hasAdsForProviders", - value: function hasAdsForProviders() { - var providers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - - if (providers && providers.length > 0) { - if (this.adProvider && providers.includes(this.adProvider)) { - return true; - } - - var _global$getRssIndex2 = global.getRssIndex(), - drawerItemsFlat = _global$getRssIndex2.drawerItemsFlat; - - if (drawerItemsFlat) { - var adUnitIds = drawerItemsFlat.filter(function (item) { - return !!item.adUnitId; - }).map(function (_ref) { - var adUnitId = _ref.adUnitId; - return adUnitId; - }); - - if (!_$$_REQUIRE(_dependencyMap[20]).JSUtils.isEmpty(adUnitIds)) { - for (var i = 0; i < adUnitIds.length; i++) { - try { - var adUnitId = JSON.parse(adUnitIds[i]); - - if (!_$$_REQUIRE(_dependencyMap[20]).JSUtils.isEmpty(adUnitId)) { - var version = adUnitId.version, - items = adUnitId.items; - - if (version === "2" && !_$$_REQUIRE(_dependencyMap[20]).JSUtils.isEmpty(items)) { - for (var j = 0; j < items.length; j++) { - var _items$j = items[j], - type = _items$j.type, - provider = _items$j.provider; - - if (providers.includes(provider) || providers.includes("dfp") && type === "native" && provider === "none") { - return true; - } - } - } - } - } catch (e) {} - } - } - - var rawItems = JSON.stringify(drawerItemsFlat); - - if (rawItems) { - for (var _i = 0; _i < providers.length; _i++) { - if (rawItems.indexOf("\\\"provider\\\":\\\"" + providers[_i] + "\\\"}") !== -1) { - return true; - } - } - } - } - - if (this.noticesManager) { - var json = this.noticesManager.json; - - if (!_$$_REQUIRE(_dependencyMap[20]).JSUtils.isEmpty(json)) { - var noticesKeys = Object.keys(json); - - for (var _i2 = 0; _i2 < noticesKeys.length; _i2++) { - var _json$noticesKeys$_i = json[noticesKeys[_i2]], - is_disabled = _json$noticesKeys$_i.is_disabled, - ad_provider = _json$noticesKeys$_i.ad_provider, - unit_id = _json$noticesKeys$_i.unit_id; - - if (is_disabled === "0" && !_$$_REQUIRE(_dependencyMap[20]).JSUtils.isEmpty(unit_id) && (providers.includes(ad_provider) || providers.includes("dfp") && ad_provider === "none")) { - return true; - } - } - - var rawNotices = JSON.stringify(json); - - if (rawNotices) { - for (var _i3 = 0; _i3 < providers.length; _i3++) { - if (rawNotices.indexOf("\"ad_provider\":\"" + providers[_i3] + "\"") !== -1) { - return true; - } - } - } - } - } - } else {} - - return false; - } - }, { - key: "hasAdsRequiringIDFAPermissions", - value: function hasAdsRequiringIDFAPermissions() { - return this.hasAdsForProviders(["admob", "dfp", "prebid"]); - } - }, { - key: "hasGoogleAds", - value: function hasGoogleAds() { - return this.hasAdsForProviders(["admob", "dfp"]); - } - }, { - key: "getProvider", - value: function getProvider() { - return this.adProvider; - } - }, { - key: "getPrebidAccountId", - value: function getPrebidAccountId() { - return this.adPrebidAccountId; - } - }, { - key: "getPrebidConfigurationId", - value: function getPrebidConfigurationId() { - return this.adPrebidConfigurationId; - } - }, { - key: "getPrebidServerHost", - value: function getPrebidServerHost() { - return this.adPrebidServerHost; - } - }, { - key: "getPrebidShareGeolocation", - value: function getPrebidShareGeolocation() { - return this.adPrebidShareGeolocation; - } - }, { - key: "getRefreshTime", - value: function getRefreshTime() { - return 0; - } - }, { - key: "getDefaultAdUnitId", - value: function getDefaultAdUnitId() { - return this.adUnitId; - } - }, { - key: "getDefaultAdTargeting", - value: function getDefaultAdTargeting() { - return this.adTargeting; - } - }, { - key: "getDefaultAdFallback", - value: function getDefaultAdFallback() { - return this.adDefaultFallback; - } - }, { - key: "getBackgroundColor", - value: function getBackgroundColor() { - return this.adsBackgroundColor || _$$_REQUIRE(_dependencyMap[21]).Css.getDefaultBackgroundColor(); - } - }, { - key: "isDefaultTopAdEnabled", - value: function isDefaultTopAdEnabled() { - return this.topAd === "atf"; - } - }, { - key: "isDefaultBottomAdEnabled", - value: function isDefaultBottomAdEnabled() { - return this.bottomAd === "btf"; - } - }, { - key: "getAdMarker", - value: function getAdMarker() { - var backgroundColor = _$$_REQUIRE(_dependencyMap[21]).Css.getDefaultBackgroundColor(); - - var color = _$$_REQUIRE(_dependencyMap[21]).Css.getDefaultForegroundColor(); - - var borderColor = _$$_REQUIRE(_dependencyMap[21]).Css.isDarkTheme() ? color : _$$_REQUIRE(_dependencyMap[20]).colors.transparent600; - - var customTextStyle = _$$_REQUIRE(_dependencyMap[21]).Css.getStyleObjByCssClasses(["ad-marker-text"]); - - var markerText = _$$_REQUIRE(_dependencyMap[20]).CssUtils.getAttributeFromStyle("content", customTextStyle, "Ad", true); - - return (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_$$_REQUIRE(_dependencyMap[21]).Css, { - classes: ["ad-marker"], - children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_reactNative.View, { - style: { - position: "absolute", - top: 0, - right: 0, - backgroundColor: backgroundColor, - borderColor: borderColor, - borderWidth: 1, - padding: 2, - opacity: 0.6 - }, - children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_fontText.default, { - style: Object.assign({ - color: color, - fontSize: 10 - }, customTextStyle), - type: _fontText.Type.regular, - children: markerText - }) - }) - }); - } - }, { - key: "getAdComponent", - value: function getAdComponent(model) { - var configuration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - if (!model || this.isUserAdDisabled()) { - return null; - } - - var caller = configuration.caller, - onShow = configuration.onShow, - onHide = configuration.onHide; - var isWeb = model.isWeb, - width = model.width, - height = model.height, - marked = model.marked; - var adComponent; - - if (isWeb) { - var html = model.html, - url = model.url, - unitId = model.unitId, - _model$useAutoHeight = model.useAutoHeight, - useAutoHeight = _model$useAutoHeight === undefined ? false : _model$useAutoHeight; - var source = {}; - - if (html) { - source.html = html; - source.baseUrl = global.getAppServer(); - } else { - source.uri = url || unitId; - } - - adComponent = (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_adwebComponent.default, { - model: { - width: width, - height: height, - useAutoHeight: useAutoHeight - }, - source: source, - caller: caller, - onShow: onShow, - onHide: onHide - }); - } else { - var key = model.key, - _model$index = model.index, - index = _model$index === undefined ? 0 : _model$index, - provider = model.provider, - _unitId = model.unitId, - fallback = model.fallback, - targeting = model.targeting; - var defaultFallback = configuration.fallback, - _onAdLoaded = configuration.onAdLoaded, - _onAdFailed = configuration.onAdFailed, - _configuration$grid = configuration.grid, - grid = _configuration$grid === undefined ? false : _configuration$grid, - _configuration$card = configuration.card, - card = _configuration$card === undefined ? false : _configuration$card, - headerText = configuration.headerText, - _configuration$screen = configuration.screen, - screen = _configuration$screen === undefined ? "unknown_screen" : _configuration$screen, - _configuration$positi = configuration.position, - position = _configuration$positi === undefined ? "unknown_position" : _configuration$positi; - adComponent = (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_adnativeComponent.default, { - model: { - key: key, - index: index, - provider: provider, - unitId: _unitId, - width: width, - height: height, - targeting: targeting - }, - caller: caller, - tag: screen + "_" + position + "_" + index, - fallback: fallback || defaultFallback, - onAdLoaded: function onAdLoaded(adModel) { - if (typeof _onAdLoaded === "function") { - _onAdLoaded(adModel); - } - - if (typeof onShow === "function") { - onShow(height); - } - }, - onAdFailed: function onAdFailed(adModel, adError) { - if (typeof _onAdFailed === "function") { - _onAdFailed(adModel, adError); - } - - if (typeof onHide === "function") { - onHide(); - } - }, - nativo: { - grid: grid, - card: card, - headerText: headerText - } - }); - } - - if (marked) { - return (0, _$$_REQUIRE(_dependencyMap[22]).jsxs)(_reactNative.View, { - children: [adComponent, this.getAdMarker()] - }); - } - - return adComponent; - } - }, { - key: "getAdView", - value: function getAdView(model, viewWidth) { - if (!model || this.isUserAdDisabled()) { - return null; - } - - var isWeb = model.getUnitId() ? false : true; - return this.getAdComponent({ - isWeb: isWeb, - width: isWeb ? viewWidth : model.getWidth(), - height: model.getHeight(), - unitId: model.getUnitId(), - url: model.getUrl(), - targeting: model.getTargeting() - }, { - screen: "epaper", - position: model.getType(), - caller: "LAYOUT_MANAGER" - }); - } - }]); - }(); -},2015,[3,270,6,7,16,18,2016,2020,1977,2021,2027,2024,2026,2025,2022,2028,2060,1898,2067,800,438,803,179]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _NoticeService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var NoticeHelper = exports.default = function () { - function NoticeHelper() { - (0, _classCallCheck2.default)(this, NoticeHelper); - } - - return (0, _createClass2.default)(NoticeHelper, null, [{ - key: "setNotices", - value: function () { - var _setNotices = (0, _asyncToGenerator2.default)(function* (json) { - if (json && json.length) { - yield _$$_REQUIRE(_dependencyMap[5]).StorageUtils.setItem(NoticeHelper.SP.name, NoticeHelper.SP.keys.notices, json); - } - }); - - function setNotices(_x) { - return _setNotices.apply(this, arguments); - } - - return setNotices; - }() - }, { - key: "getNotices", - value: function () { - var _getNotices = (0, _asyncToGenerator2.default)(function* () { - var notices = yield _$$_REQUIRE(_dependencyMap[5]).StorageUtils.getItem(NoticeHelper.SP.keys.notices); - return notices; - }); - - function getNotices() { - return _getNotices.apply(this, arguments); - } - - return getNotices; - }() - }, { - key: "getItem", - value: function () { - var _getItem = (0, _asyncToGenerator2.default)(function* (key) { - return _$$_REQUIRE(_dependencyMap[5]).StorageUtils.getItem(NoticeHelper.SP.name, key); - }); - - function getItem(_x2) { - return _getItem.apply(this, arguments); - } - - return getItem; - }() - }, { - key: "setCoolDown", - value: function () { - var _setCoolDown = (0, _asyncToGenerator2.default)(function* (noticeNumber, timestamp) { - yield _$$_REQUIRE(_dependencyMap[5]).StorageUtils.setItem(NoticeHelper.SP.cooldowns, "notice_" + noticeNumber, timestamp); - }); - - function setCoolDown(_x3, _x4) { - return _setCoolDown.apply(this, arguments); - } - - return setCoolDown; - }() - }, { - key: "getCoolDown", - value: function () { - var _getCoolDown = (0, _asyncToGenerator2.default)(function* (noticeNumber) { - var result = yield _$$_REQUIRE(_dependencyMap[5]).StorageUtils.getItem(NoticeHelper.SP.cooldowns, "notice_" + noticeNumber); - return parseInt(result, 10); - }); - - function getCoolDown(_x5) { - return _getCoolDown.apply(this, arguments); - } - - return getCoolDown; - }() - }, { - key: "setCallsCount", - value: function () { - var _setCallsCount = (0, _asyncToGenerator2.default)(function* (noticeNumber, count) { - yield _$$_REQUIRE(_dependencyMap[5]).StorageUtils.setItem(NoticeHelper.SP.callscount, "notice_" + noticeNumber, count); - }); - - function setCallsCount(_x6, _x7) { - return _setCallsCount.apply(this, arguments); - } - - return setCallsCount; - }() - }, { - key: "getCallsCount", - value: function () { - var _getCallsCount = (0, _asyncToGenerator2.default)(function* (noticeNumber) { - var result = yield _$$_REQUIRE(_dependencyMap[5]).StorageUtils.getItem(NoticeHelper.SP.callscount, "notice_" + noticeNumber); - return parseInt(result, 10); - }); - - function getCallsCount(_x8) { - return _getCallsCount.apply(this, arguments); - } - - return getCallsCount; - }() - }, { - key: "download", - value: function () { - var _download = (0, _asyncToGenerator2.default)(function* () { - var json = {}; - - var isLive = _$$_REQUIRE(_dependencyMap[5]).NetworkUtils.isOnline(); - - if (isLive) { - try { - json = yield _NoticeService.default.getJson(); - NoticeHelper.setNotices(json); - } catch (e) { - isLive = false; - } - } - - if (!isLive) { - json = yield NoticeHelper.getNotices(); - } - - try { - json = JSON.parse(json); - } catch (e) {} - - return json || []; - }); - - function download() { - return _download.apply(this, arguments); - } - - return download; - }() - }]); - }(); - - NoticeHelper.SP = { - name: "notices", - cooldowns: "notices_cooldowns", - callscount: "notices_callscount", - keys: { - notices: "notices" - } - }; -},2016,[3,270,6,7,2017,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var api = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[4])); - - var parser = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[5])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var NoticeService = exports.default = function () { - function NoticeService() { - (0, _classCallCheck2.default)(this, NoticeService); - } - - return (0, _createClass2.default)(NoticeService, null, [{ - key: "getJson", - value: function () { - var _getJson = (0, _asyncToGenerator2.default)(function* () { - var data = yield api.getDataFromApiResponse(); - return parser.parse(data); - }); - - function getJson() { - return _getJson.apply(this, arguments); - } - - return getJson; - }() - }]); - }(); -},2017,[3,270,6,7,2018,2019]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.getDataFromApiResponse = getDataFromApiResponse; - exports.getNoticeBaseURI = getNoticeBaseURI; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _Api = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - function getNoticeParams() { - var params = {}; - - if (_$$_REQUIRE(_dependencyMap[3]).PaperSetupManager.isGenericAppConfigured()) { - var _global$getActivePSet = global.getActivePSetup(), - pSetup = _global$getActivePSet.pSetup, - machine = _global$getActivePSet.machine; - - params.pSetup = pSetup; - params.machine = machine; - } - - return params; - } - - function getDataFromApiResponse() { - return _getDataFromApiResponse.apply(this, arguments); - } - - function _getDataFromApiResponse() { - _getDataFromApiResponse = (0, _asyncToGenerator2.default)(function* () { - try { - var response = yield _Api.default.notices(getNoticeParams()); - return response.data; - } catch (error) { - return {}; - } - }); - return _getDataFromApiResponse.apply(this, arguments); - } - - function getNoticeBaseURI() { - return _Api.default.noticeURI(getNoticeParams()); - } -},2018,[3,270,407,1850]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.parse = parse; - - function parse(json) { - return JSON.stringify(json.result); - } -},2019,[]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.InStoryAdType = exports.InStoryAdAlign = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var InStoryAdType = exports.InStoryAdType = { - EPAPER_BOTTOM: ["bottom"], - EPAPER_TOP: ["top_of_page", "mobile_top_of_page"], - TOP_INDEX: ["above_index"], - TOP: ["instory_top"], - MIDDLE: ["instory_middle"], - BOTTOM: ["instory_bottom"], - EPAPER_NORMAL: ["normal"] - }; - var InStoryAdAlign = exports.InStoryAdAlign = { - UNSET: "none", - LEFT: "left", - CENTER: "center", - RIGHT: "right" - }; - - var InStoryAd = exports.default = function () { - function InStoryAd() { - (0, _classCallCheck2.default)(this, InStoryAd); - } - - return (0, _createClass2.default)(InStoryAd, [{ - key: "setAlignment", - value: function setAlignment(align) { - this.align = align || InStoryAdAlign.UNSET; - } - }, { - key: "getAlignment", - value: function getAlignment() { - return this.align; - } - }, { - key: "setHeight", - value: function setHeight(height) { - this.height = height; - } - }, { - key: "getHeight", - value: function getHeight() { - return this.height; - } - }, { - key: "setWidth", - value: function setWidth(width) { - this.width = width; - } - }, { - key: "getWidth", - value: function getWidth() { - return this.width; - } - }, { - key: "setUrl", - value: function setUrl(url) { - this.url = url; - } - }, { - key: "getUrl", - value: function getUrl() { - return this.url; - } - }, { - key: "setType", - value: function setType(type) { - this.type = type; - } - }, { - key: "getType", - value: function getType() { - return this.type; - } - }, { - key: "setUnitId", - value: function setUnitId(unitId) { - this.unitId = unitId; - } - }, { - key: "getUnitId", - value: function getUnitId() { - return this.unitId; - } - }, { - key: "setProvider", - value: function setProvider(provider) { - this.provider = provider || _$$_REQUIRE(_dependencyMap[3]).values.provider.unset; - } - }, { - key: "getProvider", - value: function getProvider() { - return this.provider; - } - }, { - key: "setTargeting", - value: function setTargeting(targeting) { - this.targeting = targeting || {}; - } - }, { - key: "getTargeting", - value: function getTargeting() { - return this.targeting; - } - }]); - }(); -},2020,[3,6,7,1977]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _NoticeAdOverPage = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _NoticeInterstitial = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _NoticePrestitial = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var NoticeValues = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[8])); - - var _Notice = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _NoticeInstoryAd = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _NoticeHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - var _NoticeFullscreen = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); - - var NoticeApi = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[13])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var NoticesManager = exports.default = function () { - function NoticesManager(json) { - (0, _classCallCheck2.default)(this, NoticesManager); - this.json = json; - } - - return (0, _createClass2.default)(NoticesManager, [{ - key: "parse", - value: function () { - var _parse = (0, _asyncToGenerator2.default)(function* () { - this.notices = []; - var keys = Object.keys(this.json); - - for (var i = 0; i < keys.length; i++) { - var jsonNotice = this.json[keys[i]]; - var numberNotice = keys[i].split("_")[1]; - var is_disabled = jsonNotice.is_disabled; - - if (is_disabled !== "1" && numberNotice !== undefined) { - var notice = undefined; - - if (this.isAdOverPage(jsonNotice)) { - notice = new _NoticeAdOverPage.default(numberNotice, jsonNotice); - } else if (this.isInterstitial(jsonNotice)) { - notice = new _NoticeInterstitial.default(numberNotice, jsonNotice); - } else if (this.isInstoryAd(jsonNotice)) { - notice = new _NoticeInstoryAd.default(numberNotice, jsonNotice); - } else if (this.isPrestitial(jsonNotice)) { - notice = new _NoticePrestitial.default(numberNotice, jsonNotice); - } else {} - - if (notice) { - notice.setUri(this.getUriFromNotice(notice)); - - if (notice instanceof _NoticeFullscreen.default) { - notice.setCoolDown(yield this.getCoolDown(numberNotice)); - notice.setCallsCount(yield this.getCallsCount(numberNotice)); - } - - this.notices.push(notice); - } - } - } - }); - - function parse() { - return _parse.apply(this, arguments); - } - - return parse; - }() - }, { - key: "getCoolDown", - value: function () { - var _getCoolDown = (0, _asyncToGenerator2.default)(function* (id) { - return _NoticeHelper.default.getCoolDown(id); - }); - - function getCoolDown(_x) { - return _getCoolDown.apply(this, arguments); - } - - return getCoolDown; - }() - }, { - key: "getCallsCount", - value: function () { - var _getCallsCount = (0, _asyncToGenerator2.default)(function* (id) { - return _NoticeHelper.default.getCallsCount(id); - }); - - function getCallsCount(_x2) { - return _getCallsCount.apply(this, arguments); - } - - return getCallsCount; - }() - }, { - key: "setCoolDown", - value: function setCoolDown(id, timestamp) { - var notice = this.getNoticeById(id); - - if (notice) { - notice.setCoolDown(timestamp); - } - - _NoticeHelper.default.setCoolDown(id, "" + timestamp); - } - }, { - key: "setCallsCount", - value: function setCallsCount(id, count) { - var notice = this.getNoticeById(id); - - if (notice) { - notice.setCallsCount(count); - } - } - }, { - key: "changeAdUnitId", - value: function changeAdUnitId(id) { - var notice = this.getNoticeById(id); - - if (notice) { - return notice.incrementIndex(); - } - - return undefined; - } - }, { - key: "getAdUnitId", - value: function getAdUnitId(id) { - var notice = this.getNoticeById(id); - - if (notice) { - return notice.getAdUnitId(); - } - - return undefined; - } - }, { - key: "getNoticeById", - value: function getNoticeById(id) { - if (this.notices) { - return this.notices.find(function (notice) { - return id === notice.getId(); - }); - } - - return undefined; - } - }, { - key: "getNoticeByType", - value: function getNoticeByType(type, config, appSide) { - try { - if (!this.isEmpty()) { - var notices = this.getNotices(type, appSide); - - if (notices) { - return notices.find(function (notice) { - return notice.validate(config); - }); - } - } - } catch (e) {} - - return undefined; - } - }, { - key: "getNotices", - value: function getNotices(type, appSide) { - var appSideKey = this.getAppSideKey(appSide); - var deviceKey = this.getDeviceKey(); - - if (!this.notices) { - throw new Error("notices are not initialized or empty"); - } - - var founds; - - if (type === NoticeValues.types.prestitial) { - founds = this.notices.filter(function (notice) { - return notice instanceof _NoticePrestitial.default && notice.isValid(appSideKey, deviceKey); - }); - } else if (type === NoticeValues.types.interstitial) { - founds = this.notices.filter(function (notice) { - return notice instanceof _NoticeInterstitial.default && notice.isValid(appSideKey, deviceKey); - }); - } else if (type === NoticeValues.types.adOverPage) { - founds = this.notices.filter(function (notice) { - return notice instanceof _NoticeAdOverPage.default && notice.isValid(appSideKey, deviceKey); - }); - } else if (type === NoticeValues.types.instoryAd) { - founds = this.notices.filter(function (notice) { - return notice instanceof _NoticeInstoryAd.default && notice.isValid(appSideKey, deviceKey); - }); - } else { - throw new Error("the type is not managed: " + type); - } - - if (!founds) { - throw new Error("no notice found"); - } - - return founds; - } - }, { - key: "getNotice", - value: function getNotice(type, appSide) { - return this.getNotices(type, appSide)[0]; - } - }, { - key: "getUriFromNotice", - value: function getUriFromNotice(notice) { - var uri = ""; - - if (notice.getAdUnitIds().length === 0) { - if (notice.isUseCustomUrl() && notice.getCustomUrl()) { - uri = notice.getCustomUrl(); - } else { - uri = NoticeApi.getNoticeBaseURI(); - } - } - - return uri; - } - }, { - key: "getDeviceKey", - value: function getDeviceKey() { - var deviceOrientation = _deviceUtils.default.isPortrait() ? "Portrait" : "Landscape"; - var deviceType = _$$_REQUIRE(_dependencyMap[14]).PlatformUtils.isTablet() ? "tablet" : "phone"; - var deviceOS = _$$_REQUIRE(_dependencyMap[14]).PlatformUtils.isIOS() ? "Apple" : "Android"; - return "is_device_" + deviceType + deviceOrientation + "_" + deviceOS; - } - }, { - key: "getAppSideKey", - value: function getAppSideKey() { - var appSide = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _$$_REQUIRE(_dependencyMap[15]).APP_SIDE.rss; - var appType = appSide === _$$_REQUIRE(_dependencyMap[15]).APP_SIDE.ePaper ? "newspaper" : "livenews"; - return "display_on_app_type_" + appType; - } - }, { - key: "isPrestitial", - value: function isPrestitial(noticeJson) { - var type = noticeJson.type, - time_to_show_first = noticeJson.time_to_show_first; - return type === NoticeValues.values.type.between_pages && time_to_show_first >= 0; - } - }, { - key: "isInterstitial", - value: function isInterstitial(noticeJson) { - var type = noticeJson.type, - show_after_x_articles = noticeJson.show_after_x_articles, - show_after_section = noticeJson.show_after_section, - show_after_page = noticeJson.show_after_page, - time_to_show_first = noticeJson.time_to_show_first; - return type === NoticeValues.values.type.between_pages && (show_after_x_articles >= 0 || show_after_section || show_after_page) && (time_to_show_first === undefined || isNaN(time_to_show_first)); - } - }, { - key: "isAdOverPage", - value: function isAdOverPage(noticeJson) { - var type = noticeJson.type, - show_over_page = noticeJson.show_over_page; - return type === NoticeValues.values.type.between_pages && show_over_page !== undefined; - } - }, { - key: "isInstoryAd", - value: function isInstoryAd(noticeJson) { - var type = noticeJson.type, - display_on_app_type_newspaper = noticeJson.display_on_app_type_newspaper; - var foundType = Object.keys(_$$_REQUIRE(_dependencyMap[16]).InStoryAdType).findIndex(function (instoryType) { - return _$$_REQUIRE(_dependencyMap[16]).InStoryAdType[instoryType].includes(type); - }) > -1; - return type === NoticeValues.values.type.bottom ? display_on_app_type_newspaper === "1" && foundType : foundType; - } - }, { - key: "isEmpty", - value: function isEmpty() { - return !this.notices || !this.notices.length; - } - }]); - }(); -},2021,[3,270,6,7,2022,2025,2026,434,1977,2024,2027,2016,2023,2018,438,1898,2020]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _pageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _NoticeFullscreen2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var NoticeAdOverPageModel = exports.default = function (_NoticeFullscreen) { - function NoticeAdOverPageModel() { - (0, _classCallCheck2.default)(this, NoticeAdOverPageModel); - return _callSuper(this, NoticeAdOverPageModel, arguments); - } - - (0, _inherits2.default)(NoticeAdOverPageModel, _NoticeFullscreen); - return (0, _createClass2.default)(NoticeAdOverPageModel, [{ - key: "getShowOverPage", - value: function getShowOverPage() { - return this.json[_$$_REQUIRE(_dependencyMap[8]).KEYS.SHOW_OVER_PAGE]; - } - }, { - key: "validate", - value: function validate() { - var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, - page = _ref.page; - - var expired = this.isCoolDownExpired(); - this.print("over page: " + this.getShowOverPage() + ", page: " + page + ", cool down: " + expired); - - if (this.getShowOverPage() && _pageUtils.default.comparePageNumber(page, this.getShowOverPage()) && expired) { - return true; - } - - return false; - } - }, { - key: "getScreenName", - value: function getScreenName() { - return NoticeAdOverPageModel.TAG; - } - }]); - }(_NoticeFullscreen2.default); - - NoticeAdOverPageModel.TAG = "ad_over_page"; -},2022,[3,6,7,11,13,14,842,2023,2024]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _Notice2 = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[6])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var NoticeFullscreen = exports.default = function (_Notice) { - function NoticeFullscreen() { - var _this; - - (0, _classCallCheck2.default)(this, NoticeFullscreen); - - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - _this = _callSuper(this, NoticeFullscreen, [].concat(args)); - _this.callsCount = 0; - return _this; - } - - (0, _inherits2.default)(NoticeFullscreen, _Notice); - return (0, _createClass2.default)(NoticeFullscreen, [{ - key: "isRemoveAfterSeconds", - value: function isRemoveAfterSeconds() { - return this.json[_Notice2.KEYS.IS_REMOVE_AFTER_X_SECONDS] === "1"; - } - }, { - key: "isShowButtonAfterSeconds", - value: function isShowButtonAfterSeconds() { - return this.json[_Notice2.KEYS.IS_SHOW_BUTTON_AFTER_X_SECONDS] === "1"; - } - }, { - key: "getRemoveAfterSeconds", - value: function getRemoveAfterSeconds() { - return parseInt(this.json[_Notice2.KEYS.REMOVE_AFTER_X_SECONDS], 10) * 1000 || undefined; - } - }, { - key: "getShowButtonAfterSeconds", - value: function getShowButtonAfterSeconds() { - return parseInt(this.json[_Notice2.KEYS.SHOW_BUTTON_AFTER_X_SECONDS], 10) * 1000 || 0; - } - }, { - key: "shouldWaitForLocal", - value: function shouldWaitForLocal() { - return this.json[_Notice2.KEYS.SHOULD_WAIT_FOR_LOCAL] === "1"; - } - }, { - key: "getTimeToShowAfterFirst", - value: function getTimeToShowAfterFirst() { - return parseInt(this.json[_Notice2.KEYS.TIME_TO_SHOW_AFTER_FIRST], 10) * 1000 || 0; - } - }, { - key: "getTimeToShowFirst", - value: function getTimeToShowFirst() { - return parseInt(this.json[_Notice2.KEYS.TIME_TO_SHOW_FIRST], 10) * 1000 || 0; - } - }, { - key: "setCoolDown", - value: function setCoolDown(coolDown) { - this.coolDown = coolDown || 0; - } - }, { - key: "getCoolDown", - value: function getCoolDown() { - return this.coolDown; - } - }, { - key: "setCallsCount", - value: function setCallsCount(callsCount) { - this.callsCount = callsCount || 0; - } - }, { - key: "getCallsCount", - value: function getCallsCount() { - return this.callsCount; - } - }, { - key: "isCoolDownExpired", - value: function isCoolDownExpired() { - var coolDown = this.getCoolDown(); - var timeToShowAfterFirst = this.getTimeToShowAfterFirst(); - var threshold = coolDown + timeToShowAfterFirst; - return !coolDown || !timeToShowAfterFirst || Date.now() > threshold; - } - }, { - key: "getScreenType", - value: function getScreenType() { - return "notice_fullscreen"; - } - }, { - key: "getScreenName", - value: function getScreenName() { - return "generic"; - } - }]); - }(_Notice2.default); -},2023,[3,6,7,11,13,14,2024]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.KEYS = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var InterstitialsKeysAndValues = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[3])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var KEYS = exports.KEYS = { - AD_PROVIDER: "ad_provider", - ALIGN: "align", - BACKGROUND_COLOR: "bgcolor", - DISPLAY_ON_APP_TYPE_LIVENEWS: "display_on_app_type_livenews", - DISPLAY_ON_APP_TYPE_NEWSPAPER: "display_on_app_type_newspaper", - HEIGHT: "height", - IS_ANDROID: "is_android", - IS_DEVICE_PHONE_LANDSCAPE_ANDROID: "is_device_phoneLandscape_Android", - IS_DEVICE_PHONE_LANDSCAPE_APPLE: "is_device_phoneLandscape_Apple", - IS_DEVICE_PHONE_PORTRAIT_ANDROID: "is_device_phonePortrait_Android", - IS_DEVICE_PHONE_PORTRAIT_APPLE: "is_device_phonePortrait_Apple", - IS_DEVICE_TABLET_LANDSCAPE_ANDROID: "is_device_tabletLandscape_Android", - IS_DEVICE_TABLET_LANDSCAPE_APPLE: "is_device_tabletLandscape_Apple", - IS_DEVICE_TABLET_PORTRAIT_ANDROID: "is_device_tabletPortrait_Android", - IS_DEVICE_TABLET_PORTRAIT_APPLE: "is_device_tabletPortrait_Apple", - IS_DISABLED: "is_disabled", - IS_IPAD: "is_ipad", - IS_IPHONE: "is_iphone", - IS_REMOVE_AFTER_X_SECONDS: "is_remove_after_x_seconds", - IS_SHOW_BUTTON_AFTER_X_SECONDS: "is_show_button_after_x_seconds", - LAST_MODIFIED: "last_modified", - NAME: "name", - NO_IFRAME: "no_iframe", - ORDER: "order", - PREBID_SHARE_GEOLOCATION: "prebid_share_geolocation", - PREBID_CONFIGURATION_ID: "prebid_configuration_id", - PREBID_ACCOUNT_ID: "prebid_account_id", - PREBID_SERVER_HOST: "prebid_server_host", - PROMO_ENABLED: "promo_enabled", - REMOVE_AFTER_X_SECONDS: "remove_after_x_seconds", - SHOULD_WAIT_FOR_LOCAL: "should_wait_for_local", - SHOW_AFTER_PAGE: "show_after_page", - SHOW_AFTER_SECTION: "show_after_section", - SHOW_AFTER_X_ARTICLES: "show_after_x_articles", - SHOW_BUTTON_AFTER_X_SECONDS: "show_button_after_x_seconds", - SHOW_OVER_PAGE: "show_over_page", - TARGETING: "targeting", - TEMPLATE_ID: "notice_template_id", - TIME_TO_SHOW_AFTER_FIRST: "time_to_show_after_first", - TIME_TO_SHOW_FIRST: "time_to_show_first", - TYPE: "type", - UNIT_ID: "unit_id", - USE_CUSTOME_URL: "use_custom_url", - CUSTOME_URL: "custom_url", - WIDTH: "width" - }; - - var Notice = exports.default = function () { - function Notice(number) { - var json = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - (0, _classCallCheck2.default)(this, Notice); - this.index = 0; - this.id = parseInt(number, 10); - this.json = json; - } - - return (0, _createClass2.default)(Notice, [{ - key: "getId", - value: function getId() { - return this.id; - } - }, { - key: "isDisabled", - value: function isDisabled() { - return this.json[KEYS.IS_DISABLED] === "1"; - } - }, { - key: "getAdProvider", - value: function getAdProvider() { - return this.json[KEYS.AD_PROVIDER] || InterstitialsKeysAndValues.values.provider.unset; - } - }, { - key: "getBackgroundColor", - value: function getBackgroundColor() { - return this.json[KEYS.BACKGROUND_COLOR] || _$$_REQUIRE(_dependencyMap[4]).colors.transparent; - } - }, { - key: "getLastModified", - value: function getLastModified() { - return this.json[KEYS.LAST_MODIFIED]; - } - }, { - key: "getName", - value: function getName() { - return this.json[KEYS.NAME]; - } - }, { - key: "getOrder", - value: function getOrder() { - return this.json[KEYS.ORDER]; - } - }, { - key: "getType", - value: function getType() { - return this.json[KEYS.TYPE]; - } - }, { - key: "isPrebidShareGeolocation", - value: function isPrebidShareGeolocation() { - return this.json[KEYS.PREBID_SHARE_GEOLOCATION] === "1"; - } - }, { - key: "getPrebidConfigurationId", - value: function getPrebidConfigurationId() { - return this.json[KEYS.PREBID_CONFIGURATION_ID]; - } - }, { - key: "getPrebidAccount", - value: function getPrebidAccount() { - return this.json[KEYS.PREBID_ACCOUNT_ID]; - } - }, { - key: "getPrebidHost", - value: function getPrebidHost() { - return this.json[KEYS.PREBID_SERVER_HOST]; - } - }, { - key: "isUseCustomUrl", - value: function isUseCustomUrl() { - return this.json[KEYS.USE_CUSTOME_URL] === "1"; - } - }, { - key: "getCustomUrl", - value: function getCustomUrl() { - return this.json[KEYS.CUSTOM_URL]; - } - }, { - key: "getAdUnitIds", - value: function getAdUnitIds() { - var adUnitId = this.json[KEYS.UNIT_ID] || ""; - - if (adUnitId) { - return adUnitId.split(";"); - } - - return []; - } - }, { - key: "getValueByKey", - value: function getValueByKey(key) { - return this.json[key] || ""; - } - }, { - key: "getAdUnitId", - value: function getAdUnitId() { - var ids = this.getAdUnitIds(); - - if (this.index >= ids.length) { - this.index = 0; - } - - return ids[this.index]; - } - }, { - key: "getTargeting", - value: function getTargeting() { - var _this = this; - - var targeting = Object.assign({}, this.json[KEYS.TARGETING]); - - if (targeting) { - Object.keys(targeting).forEach(function (key) { - if (targeting[key].indexOf("##index##") !== -1) { - targeting[key] = targeting[key].replace("##index##", _this.index); - } else if (targeting[key].indexOf("##position##") !== -1) { - targeting[key] = targeting[key].replace("##position##", _this.index + 1); - } - }); - return targeting; - } - - return {}; - } - }, { - key: "incrementIndex", - value: function incrementIndex() { - var ids = this.getAdUnitIds(); - this.index += 1; - - if (this.index >= ids.length) { - this.index = 0; - } - } - }, { - key: "setUri", - value: function setUri(uri) { - this.uri = uri; - } - }, { - key: "getUri", - value: function getUri() { - if (this.uri) { - return _$$_REQUIRE(_dependencyMap[4]).StringUtils.appendParams(this.uri, { - n: this.getId(), - t: new Date().getTime() - }); - } - - return ""; - } - }, { - key: "isWeb", - value: function isWeb() { - return this.getAdUnitIds().length === 0; - } - }, { - key: "isValid", - value: function isValid(appSideKey, deviceKey) { - var isEnabled = !this.isDisabled(); - - var newMethod = _$$_REQUIRE(_dependencyMap[4]).JSUtils.hasProperty(this.json, deviceKey) && _$$_REQUIRE(_dependencyMap[4]).JSUtils.hasProperty(this.json, appSideKey); - - var result = false; - - if (newMethod) { - result = this.json[deviceKey] === "1" && this.json[appSideKey] === "1"; - } else { - result = this.isValidOldMethod(deviceKey); - } - - return isEnabled && result; - } - }, { - key: "isValidOldMethod", - value: function isValidOldMethod(deviceKey) { - var isTablet = deviceKey.includes("Tablet"); - var isAndroid = deviceKey.includes("Android"); - var _this$json = this.json, - is_android = _this$json.is_android, - is_ipad = _this$json.is_ipad, - is_iphone = _this$json.is_iphone; - var isValidForAndroid = is_android === "1" && isAndroid; - var isValidForTablet = isTablet && is_ipad === "1"; - var isValidForPhone = !isTablet && is_iphone === "1"; - var isValidForIOS = (isValidForTablet || isValidForPhone) && !isAndroid; - return isValidForAndroid || isValidForIOS; - } - }, { - key: "validate", - value: function validate() { - var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - this.print("no check required for this notice " + config); - return true; - } - }, { - key: "print", - value: function print(text) {} - }]); - }(); -},2024,[3,6,7,1977,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _newsmemoryUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _pageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _NoticeFullscreen2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _Page = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var NoticeInterstitialModel = exports.default = function (_NoticeFullscreen) { - function NoticeInterstitialModel() { - (0, _classCallCheck2.default)(this, NoticeInterstitialModel); - return _callSuper(this, NoticeInterstitialModel, arguments); - } - - (0, _inherits2.default)(NoticeInterstitialModel, _NoticeFullscreen); - return (0, _createClass2.default)(NoticeInterstitialModel, [{ - key: "getShowAfterPage", - value: function getShowAfterPage() { - return this.json[_$$_REQUIRE(_dependencyMap[10]).KEYS.SHOW_AFTER_PAGE]; - } - }, { - key: "getShowAfterSection", - value: function getShowAfterSection() { - return this.json[_$$_REQUIRE(_dependencyMap[10]).KEYS.SHOW_AFTER_SECTION]; - } - }, { - key: "getShowAfterXArticles", - value: function getShowAfterXArticles() { - return parseInt(this.json[_$$_REQUIRE(_dependencyMap[10]).KEYS.SHOW_AFTER_X_ARTICLES], 10); - } - }, { - key: "validate", - value: function validate() { - var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, - pages = _ref.pages, - prevPages = _ref.prevPages, - isLastPage = _ref.isLastPage; - - var expired = this.isCoolDownExpired(); - - if (expired) { - if (this.getShowAfterXArticles()) { - var callsCount = this.getCallsCount(); - this.print("x articles: " + (callsCount + 1) + " - " + this.getShowAfterXArticles() + ", cool down: " + expired); - - if (callsCount >= this.getShowAfterXArticles() - 1) { - this.setCallsCount(0); - return true; - } - - this.setCallsCount(callsCount + 1); - } else if (Array.isArray(prevPages)) { - var showAfterPage = this.getShowAfterPage(); - var showAfterSection = this.getShowAfterSection(); - - if (showAfterPage) { - var numPages = prevPages.map(function (page) { - return _pageUtils.default.removeZerosFromPageNumber(page.getPage()); - }); - var found = numPages.find(function (p) { - return _pageUtils.default.comparePageNumber(p, showAfterPage); - }); - this.print("after page: " + JSON.stringify(numPages) + " - " + showAfterPage + ", cool down: " + expired); - - if (found) { - return true; - } - } else if (showAfterSection && pages.length > 0) { - var afterSection = showAfterSection.toLowerCase().trim(); - var isLastTwoPagesVisible = isLastPage && pages.length > 1; - var prevSectionLetters = prevPages.reduce(function (current, page) { - var _NewsmemoryUtils$pars = _newsmemoryUtils.default.parsePageInfo(page.getPage()), - sectionLetter = _NewsmemoryUtils$pars.section; - - sectionLetter = sectionLetter.toLowerCase(); - - if (sectionLetter && !current.includes(sectionLetter)) { - current.push(sectionLetter); - } - - return current; - }, []); - - if (prevSectionLetters.length > 0) { - var _NewsmemoryUtils$pars2 = _newsmemoryUtils.default.parsePageInfo(pages[0]), - sectionLetter = _NewsmemoryUtils$pars2.section; - - sectionLetter = sectionLetter.toLowerCase(); - this.print("after section letter: " + JSON.stringify(prevSectionLetters) + " - " + showAfterSection + ", first visible page section letter: " + sectionLetter + ", cool down: " + expired); - - if (prevSectionLetters.includes(afterSection)) { - if (sectionLetter && !prevSectionLetters.includes(sectionLetter)) { - return true; - } - - if (isLastTwoPagesVisible) { - var _NewsmemoryUtils$pars3 = _newsmemoryUtils.default.parsePageInfo(pages[1]), - lastSectionLetter = _NewsmemoryUtils$pars3.section; - - lastSectionLetter = lastSectionLetter.toLowerCase(); - - if (lastSectionLetter && !prevSectionLetters.includes(lastSectionLetter)) { - return true; - } - } - } else if (isLastTwoPagesVisible && sectionLetter && sectionLetter === afterSection) { - var _NewsmemoryUtils$pars4 = _newsmemoryUtils.default.parsePageInfo(pages[1]), - _lastSectionLetter = _NewsmemoryUtils$pars4.section; - - _lastSectionLetter = _lastSectionLetter.toLowerCase(); - - if (_lastSectionLetter !== sectionLetter) { - return true; - } - } - } - - var prevSections = prevPages.reduce(function (current, page) { - var _page$getSection; - - var section = ((_page$getSection = page.getSection()) != null ? _page$getSection : "").toLowerCase(); - - if (section && !current.includes(section)) { - current.push(section); - } - - return current; - }, []); - - if (prevSections.length > 0) { - var _pages$0$getSection; - - var section = ((_pages$0$getSection = pages[0].getSection()) != null ? _pages$0$getSection : "").toLowerCase(); - this.print("after section: " + JSON.stringify(prevSections) + " - " + showAfterSection + ", first visible page section: " + section + ", cool down: " + expired); - - if (prevSections.includes(afterSection)) { - if (section && !prevSections.includes(section)) { - return true; - } - - if (isLastTwoPagesVisible) { - var _pages$1$getSection; - - var lastPageSection = ((_pages$1$getSection = pages[1].getSection()) != null ? _pages$1$getSection : "").toLowerCase(); - - if (lastPageSection && !prevSections.includes(lastPageSection)) { - return true; - } - } - } else if (isLastTwoPagesVisible && section && section === afterSection) { - var _pages$1$getSection2; - - var _lastPageSection = ((_pages$1$getSection2 = pages[1].getSection()) != null ? _pages$1$getSection2 : "").toLowerCase(); - - if (_lastPageSection !== section) { - return true; - } - } - } - } - } - } - - return false; - } - }, { - key: "getScreenName", - value: function getScreenName() { - return NoticeInterstitialModel.TAG; - } - }]); - }(_NoticeFullscreen2.default); - - NoticeInterstitialModel.TAG = "interstitial"; -},2025,[3,6,7,11,13,14,613,842,2023,654,2024]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _NoticeFullscreen2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var NoticePrestitialModel = exports.default = function (_NoticeFullscreen) { - function NoticePrestitialModel() { - (0, _classCallCheck2.default)(this, NoticePrestitialModel); - return _callSuper(this, NoticePrestitialModel, arguments); - } - - (0, _inherits2.default)(NoticePrestitialModel, _NoticeFullscreen); - return (0, _createClass2.default)(NoticePrestitialModel, [{ - key: "validate", - value: function validate() { - var expired = this.isCoolDownExpired(); - this.print("cool down: " + expired); - return expired; - } - }, { - key: "getScreenName", - value: function getScreenName() { - return NoticePrestitialModel.TAG; - } - }]); - }(_NoticeFullscreen2.default); - - NoticePrestitialModel.TAG = "prestitial"; -},2026,[3,6,7,11,13,14,2023]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _Notice2 = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[6])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var NoticeInstoryAdModel = exports.default = function (_Notice) { - function NoticeInstoryAdModel() { - (0, _classCallCheck2.default)(this, NoticeInstoryAdModel); - return _callSuper(this, NoticeInstoryAdModel, arguments); - } - - (0, _inherits2.default)(NoticeInstoryAdModel, _Notice); - return (0, _createClass2.default)(NoticeInstoryAdModel, [{ - key: "getAlignment", - value: function getAlignment() { - return this.json[_Notice2.KEYS.ALIGN] || _$$_REQUIRE(_dependencyMap[7]).InStoryAdAlign.UNSET; - } - }, { - key: "getSize", - value: function getSize() { - return { - width: parseInt(this.json[_Notice2.KEYS.WIDTH], 10), - height: parseInt(this.json[_Notice2.KEYS.HEIGHT], 10) - }; - } - }, { - key: "validate", - value: function validate() { - var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, - _ref$positions = _ref.positions, - positions = _ref$positions === undefined ? [] : _ref$positions; - - this.print("type: " + this.getType() + ", positions: " + JSON.stringify(positions)); - return positions.includes(this.getType()); - } - }, { - key: "getScreenName", - value: function getScreenName() { - return NoticeInstoryAdModel.TAG; - } - }]); - }(_Notice2.default); - - NoticeInstoryAdModel.TAG = "instory_ad"; -},2027,[3,6,7,11,13,14,2024,2020]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[8]); - - var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _imageComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); - - var _NativeAdTemplate = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); - - var _NativeVideoAdTemplate = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); - - var _StandardDisplayAdTemplate = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var _OptionalPackages$get = _optionalPackageUtils.default.getPrebid(), - PrebidBanner = _OptionalPackages$get.PrebidBanner; - - var _OptionalPackages$get2 = _optionalPackageUtils.default.getNativoAds(), - NativoAd = _OptionalPackages$get2.NativoAd; - - var _OptionalPackages$get3 = _optionalPackageUtils.default.getAdMob(), - BannerAd = _OptionalPackages$get3.BannerAd, - BannerAdSize = _OptionalPackages$get3.BannerAdSize, - TestIds = _OptionalPackages$get3.TestIds; - - var _OptionalPackages$get4 = _optionalPackageUtils.default.getDFP(), - DFPBanner = _OptionalPackages$get4.DFPBanner; - - var AdNativeComponent = exports.default = function (_React$Component) { - function AdNativeComponent(props) { - var _this; - - (0, _classCallCheck2.default)(this, AdNativeComponent); - _this = _callSuper(this, AdNativeComponent, [props]); - _this.loading = true; - _this.loaded = false; - _this.ref = undefined; - _this.onAdMobAdLoaded = _this._onAdMobAdLoaded.bind(_this); - _this.onAdMobAdError = _this._onAdMobAdError.bind(_this); - _this.onDFPAdLoaded = _this._onDFPAdLoaded.bind(_this); - _this.onDFPAdError = _this._onDFPAdError.bind(_this); - _this.onPrebidAdLoaded = _this._onPrebidAdLoaded.bind(_this); - _this.onPrebidAdError = _this._onPrebidAdError.bind(_this); - _this.onNativoAdRemoved = _this._onNativoAdRemoved.bind(_this); - _this.onNativoAdRendered = _this._onNativoAdRendered.bind(_this); - _this.onNativoAdClick = _this._onNativoAdClick.bind(_this); - _this.onNativoDisplayAdClick = _this._onNativoDisplayAdClick.bind(_this); - _this.onRef = _this._onRef.bind(_this); - _this.onDFPReload = _this._DFPReloadBanner.bind(_this); - _this.onAdLoaded = _this._onAdLoaded.bind(_this); - _this.onAdError = _this._onAdError.bind(_this); - _this.startAdTime = undefined; - _this.state = { - error: false, - hidden: false - }; - return _this; - } - - (0, _inherits2.default)(AdNativeComponent, _React$Component); - return (0, _createClass2.default)(AdNativeComponent, [{ - key: "componentDidMount", - value: function componentDidMount() { - var _this2 = this; - - this.changeAdsVisibility = _$$_REQUIRE(_dependencyMap[16]).EventRegister.on(_events.default.CHANGE_ADS_VISIBILITY, function (_ref) { - var hideAds = _ref.hideAds; - var hidden = _this2.state.hidden; - - if (hideAds && !hidden) { - _this2.setState({ - hidden: true - }); - } else if (!hideAds && hidden) { - _this2.setState({ - hidden: false - }); - } - }); - var model = this.props.model; - var key = model.key; - - if (key) { - (0, _$$_REQUIRE(_dependencyMap[17]).addDebugOperation)("AdNativeComponent", "componentDidMount " + key, "ads"); - } - - this.startAdTime = new Date().getTime(); - } - }, { - key: "shouldComponentUpdate", - value: function shouldComponentUpdate(nextProps, nextState) { - var model = this.props.model; - var updateComponent = !_$$_REQUIRE(_dependencyMap[18]).JSUtils.areEqualShallow(nextProps.model, model) || !_$$_REQUIRE(_dependencyMap[18]).JSUtils.areEqualShallow(nextState, this.state); - - if (!updateComponent && this.loaded) { - this.onAdLoaded(false); - } - - return updateComponent; - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - if (this.dfpReloadTimeoutId) { - clearTimeout(this.dfpReloadTimeoutId); - } - - _$$_REQUIRE(_dependencyMap[16]).EventRegister.rm(this.changeAdsVisibility); - } - }, { - key: "getAdMobBanner", - value: function getAdMobBanner() { - if (!_optionalPackageUtils.default.isAdMobAvailable()) { - return null; - } - - var model = this.props.model; - var unitId = model.unitId, - width = model.width, - height = model.height; - var bannerType = width + "x" + height; - - if (width === 320 && height === 50) { - bannerType = BannerAdSize.BANNER; - } else if (width === 300 && height === 250) { - bannerType = BannerAdSize.MEDIUM_RECTANGLE; - } - - return (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(BannerAd, { - unitId: global.__DEV__ ? TestIds.BANNER : unitId, - size: bannerType, - onAdLoaded: this.onAdMobAdLoaded, - onAdFailedToLoad: this.onAdMobAdError - }); - } - }, { - key: "getDFPBanner", - value: function getDFPBanner() { - if (!_optionalPackageUtils.default.isDFPAvailable()) { - return null; - } - - var model = this.props.model; - var unitId = model.unitId, - width = model.width, - height = model.height, - targeting = model.targeting; - var dimensions = { - width: width, - height: height - }; - var bannerSize = null; - - if (width === 320 && height === 50) { - bannerSize = "banner"; - } else if (width === 300 && height === 250) { - bannerSize = "mediumRectangle"; - } - - var other = {}; - - if (bannerSize) { - other.bannerSize = bannerSize; - } else { - other.dimensions = dimensions; - } - - if (typeof targeting === "string" && targeting.length > 0) { - try { - other.targeting = JSON.parse(targeting); - } catch (e) {} - } else if (typeof targeting === "object" && !_$$_REQUIRE(_dependencyMap[18]).JSUtils.isEmpty(targeting)) { - other.targeting = targeting; - } - - return (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(DFPBanner, Object.assign({ - ref: this.onRef, - onAdViewDidReceiveAd: this.onDFPAdLoaded, - onDidFailToReceiveAdWithError: this.onDFPAdError, - adUnitID: unitId, - testDeviceID: global.adsTestDevices[0] - }, other)); - } - }, { - key: "getPrebidBanner", - value: function getPrebidBanner() { - if (!_optionalPackageUtils.default.isPrebidAvailable()) { - return null; - } - - var adsConfig = global.getAdsConfig(); - - if (!adsConfig) { - return null; - } - - var _this$props = this.props, - model = _this$props.model, - tag = _this$props.tag; - var width = model.width, - height = model.height; - var bannerSize = null; - - if (width === 300 && height === 250) { - bannerSize = "MEDIUM_RECTANGLE"; - } else { - bannerSize = "BANNER"; - } - - return (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(PrebidBanner, { - tag: "" + tag, - onGoogleAdLoaded: this.onPrebidAdLoaded, - onGoogleAdError: this.onPrebidAdError, - serverAccountId: adsConfig.getPrebidAccountId(), - serverHost: adsConfig.getPrebidServerHost(), - shareGeolocation: adsConfig.getPrebidShareGeolocation(), - refreshMills: adsConfig.getRefreshTime(), - configurationId: adsConfig.getPrebidConfigurationId(), - adUnitID: adsConfig.getDefaultAdUnitId(), - bannerSize: bannerSize - }); - } - }, { - key: "getNativoBanner", - value: function getNativoBanner() { - if (!_optionalPackageUtils.default.isNativoSDKAvailable()) { - return null; - } - - var _this$props2 = this.props, - model = _this$props2.model, - nativo = _this$props2.nativo; - var index = model.index, - unitId = model.unitId, - width = model.width, - height = model.height; - var grid = nativo.grid, - card = nativo.card, - headerText = nativo.headerText; - - if (index === undefined) { - return null; - } - - var nativoIndex = index; - - if (grid) { - nativoIndex += 1000; - } else if (card) { - nativoIndex += 2000; - } - - var dimensions = { - width: width, - height: height - }; - var text = headerText || global.strings("sponsored_content"); - return (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(NativoAd, { - style: dimensions, - index: nativoIndex, - sectionUrl: unitId, - onNativeAdClick: this.onNativoAdClick, - onDisplayAdClick: this.onNativoDisplayAdClick, - onAdRemoved: this.onNativoAdRemoved, - onAdRendered: this.onNativoAdRendered, - nativeAdTemplate: _NativeAdTemplate.default, - videoAdTemplate: _NativeVideoAdTemplate.default, - standardDisplayAdTemplate: _StandardDisplayAdTemplate.default, - extraTemplateProps: { - index: index, - grid: grid, - card: card, - dimensions: dimensions, - headerText: text - } - }, "nativoAd_" + nativoIndex); - } - }, { - key: "_onNativoAdClick", - value: function _onNativoAdClick(event) { - _NavigationService.default.main.navigate("NativoLandingPageScreen", event); - } - }, { - key: "_onNativoDisplayAdClick", - value: function _onNativoDisplayAdClick(event) { - if (event != null && event.url) { - _NavigationService.default.main.navigate("WebScreen", { - url: event.url - }); - } - } - }, { - key: "_onNativoAdRendered", - value: function _onNativoAdRendered() { - var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - } - }, { - key: "_onNativoAdRemoved", - value: function _onNativoAdRemoved() { - var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - this.onAdError(); - var _this$props3 = this.props, - onAdFailed = _this$props3.onAdFailed, - model = _this$props3.model; - - if (onAdFailed) { - onAdFailed(model, "", true); - } - } - }, { - key: "_onAdMobAdLoaded", - value: function _onAdMobAdLoaded() { - this.onAdLoaded(); - } - }, { - key: "_onAdMobAdError", - value: function _onAdMobAdError(error) { - this.onAdError(error); - } - }, { - key: "_onDFPAdLoaded", - value: function _onDFPAdLoaded() { - var _global$getActivePSet = global.getActivePSetup(), - dfpReloadTime = _global$getActivePSet.dfpReloadTime; - - var shouldReloadOnError = dfpReloadTime >= 0; - this.onAdLoaded(!shouldReloadOnError); - } - }, { - key: "_onDFPAdError", - value: function _onDFPAdError(error) { - var _global$getActivePSet2 = global.getActivePSetup(), - dfpReloadTime = _global$getActivePSet2.dfpReloadTime; - - var shouldReloadOnError = dfpReloadTime >= 0; - - if (this.dfpReloadTimeoutId) { - clearTimeout(this.dfpReloadTimeoutId); - } - - if (shouldReloadOnError) { - this.dfpReloadTimeoutId = setTimeout(this.onDFPReload, dfpReloadTime); - } - - this.onAdError(error, !shouldReloadOnError); - } - }, { - key: "_DFPReloadBanner", - value: function _DFPReloadBanner() { - if (!this.ref) { - return; - } - - this.dfpReloadTimeoutId = undefined; - - _reactNative.UIManager.dispatchViewManagerCommand((0, _reactNative.findNodeHandle)(this.ref), _reactNative.UIManager.RNDFPBanner.Commands.reloadBanner, []); - } - }, { - key: "_onPrebidAdLoaded", - value: function _onPrebidAdLoaded() { - this.onAdLoaded(); - } - }, { - key: "_onPrebidAdError", - value: function _onPrebidAdError(error) { - this.onAdError(error); - } - }, { - key: "_onAdLoaded", - value: function _onAdLoaded() { - var showError = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; - var _this$props4 = this.props, - onAdLoaded = _this$props4.onAdLoaded, - model = _this$props4.model; - var unitId = model.unitId, - width = model.width, - height = model.height; - - if (this.loading && this.startAdTime) { - model.firstLoadTime = new Date().getTime() - this.startAdTime; - } - - this.loading = false; - this.loaded = true; - - if (showError) { - this.setState({ - error: false - }); - } - - if (onAdLoaded) { - onAdLoaded(model); - } - - (0, _$$_REQUIRE(_dependencyMap[20]).sendAdSuccess)({ - unitId: unitId, - size: width + "x" + height - }); - } - }, { - key: "_onAdError", - value: function _onAdError(error) { - var showError = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; - var _this$props5 = this.props, - onAdFailed = _this$props5.onAdFailed, - model = _this$props5.model; - - if (this.loading && this.startAdTime) { - model.firstLoadTime = new Date().getTime() - this.startAdTime; - } - - this.loading = false; - this.loaded = false; - - if (showError) { - this.setState({ - error: true - }); - } - - if (onAdFailed) { - onAdFailed(model, error); - } - - if (error != null && error.code) { - var unitId = model.unitId, - width = model.width, - height = model.height; - (0, _$$_REQUIRE(_dependencyMap[20]).sendAdFailedError)({ - unitId: unitId, - error: error.code, - size: width + "x" + height - }); - } - } - }, { - key: "_onRef", - value: function _onRef(ref) { - this.ref = ref; - } - }, { - key: "render", - value: function render() { - var _this$state = this.state, - error = _this$state.error, - hidden = _this$state.hidden; - var _this$props6 = this.props, - model = _this$props6.model, - fallback = _this$props6.fallback; - var width = model.width, - height = model.height, - provider = model.provider; - - if (hidden) { - return null; - } - - if (error) { - if (fallback) { - return (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(_imageComponent.default, { - source: { - uri: fallback - }, - style: { - width: width, - height: height - } - }); - } - - return null; - } - - var adsConfig = global.getAdsConfig(); - - if (!adsConfig) { - return null; - } - - if (adsConfig.useDFP(provider)) { - return this.getDFPBanner(); - } - - if (adsConfig.useAdMob(provider)) { - return this.getAdMobBanner(); - } - - if (adsConfig.usePrebid(provider)) { - return this.getPrebidBanner(); - } - - if (adsConfig.useNativo(provider)) { - return this.getNativoBanner(); - } - - return null; - } - }]); - }(_react.default.Component); - - AdNativeComponent.propTypes = { - model: _propTypes.default.shape({ - index: _propTypes.default.number, - provider: _propTypes.default.string, - unitId: _propTypes.default.string, - width: _propTypes.default.number, - height: _propTypes.default.number, - targeting: _propTypes.default.object, - key: _propTypes.default.string, - firstLoadTime: _propTypes.default.number - }), - nativo: _propTypes.default.shape({ - headerText: _propTypes.default.string, - grid: _propTypes.default.bool, - card: _propTypes.default.bool - }), - tag: _propTypes.default.string, - fallback: _propTypes.default.string, - caller: _propTypes.default.string, - onAdLoaded: _propTypes.default.func, - onAdFailed: _propTypes.default.func - }; - AdNativeComponent.defaultProps = { - nativo: { - grid: false, - card: false - } - }; -},2028,[3,6,7,11,13,14,568,16,18,1888,574,436,865,2029,2058,2059,550,801,438,179,1897]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[2]); - - var _tileListNativo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _tileGridNativo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _cardNativo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var styles = _reactNative.StyleSheet.create({ - textRow: { - flexDirection: "row", - alignItems: "center", - marginHorizontal: _$$_REQUIRE(_dependencyMap[8]).HORIZONTAL_MARGIN - } - }); - - var NativeAdTemplate = function NativeAdTemplate(props) { - if (!_optionalPackageUtils.default.isNativoSDKAvailable()) { - return null; - } - - var adDate = props.adDate, - adTitle = props.adTitle, - adDescription = props.adDescription, - adAuthorName = props.adAuthorName, - index = props.index, - grid = props.grid, - card = props.card, - dimensions = props.dimensions, - headerText = props.headerText; - var item = { - titleNativeID: "adTitle", - summaryNativeID: "adDescription", - title: adTitle, - summary: adDescription, - gridIndex: index - }; - var cssClasses = ["rss-nativo-ad-template"]; - var cssHeaderClasses = ["rss-nativo-ad-template-header"]; - var cssHeaderTextClasses = ["rss-nativo-ad-template-header-text"]; - var cssChoicesImageClasses = ["rss-nativo-ad-template-choices-image"]; - var cssImageClasses = ["rss-nativo-ad-template-image"]; - var cssBottomClasses = ["rss-nativo-ad-template-bottom"]; - var cssDateClasses = ["rss-nativo-ad-template-date"]; - var cssAuthorImageClasses = ["rss-nativo-ad-template-author-image"]; - var cssAuthorNameClasses = ["rss-nativo-ad-template-author-name"]; - var imageStyle = {}; - var adAuthorImageStyle = { - minWidth: 20, - height: 20 - }; - var layoutSuffix; - - if (card) { - layoutSuffix = "card"; - imageStyle = { - width: "100%", - height: 300 - }; - } else if (grid) { - layoutSuffix = "grid"; - imageStyle = { - flex: 1 - }; - } else { - layoutSuffix = "list"; - imageStyle = { - flex: 1, - margin: 4 - }; - adAuthorImageStyle = { - width: 0, - height: 20 - }; - } - - cssClasses.push("rss-nativo-ad-template-" + layoutSuffix); - cssHeaderClasses.push("rss-nativo-ad-template-header-" + layoutSuffix); - cssHeaderTextClasses.push("rss-nativo-ad-template-header-text-" + layoutSuffix); - cssChoicesImageClasses.push("rss-nativo-ad-template-choices-image-" + layoutSuffix); - cssImageClasses.push("rss-nativo-ad-template-image-" + layoutSuffix); - cssBottomClasses.push("rss-nativo-ad-template-bottom-" + layoutSuffix); - cssDateClasses.push("rss-nativo-ad-template-date-" + layoutSuffix); - cssAuthorImageClasses.push("rss-nativo-ad-template-author-image-" + layoutSuffix); - cssAuthorNameClasses.push("rss-nativo-ad-template-author-name-" + layoutSuffix); - var TopComponent = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssHeaderClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_reactNative.View, { - style: styles.textRow, - children: [(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssHeaderTextClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Text, { - style: { - fontWeight: "bold", - flex: 1 - }, - children: headerText - }) - }), (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssChoicesImageClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Image, { - nativeID: "adChoicesImage", - style: { - height: 20, - width: 20 - } - }) - })] - }) - }); - var BottomComponent = (0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssBottomClasses, - children: [(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.View, { - style: styles.textRow, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssDateClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Text, { - nativeID: "adDate", - style: { - flex: 1 - }, - children: (0, _$$_REQUIRE(_dependencyMap[11]).formatDate)(adDate / 1000) - }) - }) - }), (0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_reactNative.View, { - style: styles.textRow, - children: [(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssAuthorImageClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Image, { - nativeID: "adAuthorImage", - resizeMode: "contain", - style: adAuthorImageStyle - }) - }), (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssAuthorNameClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Text, { - nativeID: "adAuthorName", - children: adAuthorName - }) - })] - })] - }); - var ImageComponent = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssImageClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Image, { - style: imageStyle, - nativeID: "adImage" - }) - }); - var ad; - - if (card) { - ad = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_cardNativo.default, { - item: item, - TopComponent: TopComponent, - BottomComponent: BottomComponent, - ImageComponent: ImageComponent - }); - } else if (grid) { - ad = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_tileGridNativo.default, { - roundedBorder: true, - item: item, - TopComponent: TopComponent, - BottomComponent: BottomComponent, - ImageComponent: ImageComponent - }); - } else { - ad = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_tileListNativo.default, { - item: item, - TopComponent: TopComponent, - BottomComponent: BottomComponent, - ImageComponent: ImageComponent - }); - } - - var key = card ? "card" : grid; - var style = card ? { - width: (0, _$$_REQUIRE(_dependencyMap[12]).getRssCardBoxWidth)() - } : dimensions; - return (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.View, { - nativeID: "nativoAdView", - style: style, - children: ad - }, "nativo_" + index + "_" + key) - }); - }; - - var _default = exports.default = NativeAdTemplate; -},2029,[3,16,18,2030,2046,2052,434,865,2036,179,803,2055,2042]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[7]); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _iconGallery = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _tileList = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _tilePreview = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - var _imageComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var TileListNativo = exports.default = function (_React$PureComponent) { - function TileListNativo(props) { - var _this; - - (0, _classCallCheck2.default)(this, TileListNativo); - _this = _callSuper(this, TileListNativo, [props]); - _this.fontSize = _$$_REQUIRE(_dependencyMap[13]).FONT_SIZE.TEXT(); - _this.fontSizeTitle = _$$_REQUIRE(_dependencyMap[13]).FONT_SIZE.TITLE(); - return _this; - } - - (0, _inherits2.default)(TileListNativo, _React$PureComponent); - return (0, _createClass2.default)(TileListNativo, [{ - key: "_getTopComponent", - value: function _getTopComponent() { - var TopComponent = this.props.TopComponent; - - if (TopComponent) { - return TopComponent; - } - - return null; - } - }, { - key: "_getBottomComponent", - value: function _getBottomComponent() { - var BottomComponent = this.props.BottomComponent; - - if (BottomComponent) { - return BottomComponent; - } - - return null; - } - }, { - key: "_getImage", - value: function _getImage() { - var _this$props = this.props, - item = _this$props.item, - ImageComponent = _this$props.ImageComponent, - imageContainerStyle = _this$props.imageContainerStyle; - - if (item.image || ImageComponent) { - var style = { - margin: 4, - flex: _$$_REQUIRE(_dependencyMap[14]).PlatformUtils.isTablet() ? 1 : 2 - }; - return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.View, { - style: [style, imageContainerStyle], - children: ImageComponent || (0, _$$_REQUIRE(_dependencyMap[15]).jsxs)(_react.default.Fragment, { - children: [(0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_imageComponent.default, { - style: style, - source: { - uri: item.image - } - }), (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_iconGallery.default, { - item: item, - inline: false - })] - }) - }); - } - - return null; - } - }, { - key: "render", - value: function render() { - var item = this.props.item; - - var isTablet = _$$_REQUIRE(_dependencyMap[14]).PlatformUtils.isTablet(); - - var _global$getRssIndex = global.getRssIndex(), - putImageOnListRightSide = _global$getRssIndex.putImageOnListRightSide; - - var summary = isTablet ? { - text: item.summary, - classes: ["tile-summary", "list-tile-summary", "tile-list-summary"], - style: { - fontSize: this.fontSize - }, - nativeID: item.summaryNativeID - } : {}; - return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_$$_REQUIRE(_dependencyMap[16]).Css, { - classes: ["tile", "tile-list", "tile-list-nativo"], - children: (0, _$$_REQUIRE(_dependencyMap[15]).jsxs)(_$$_REQUIRE(_dependencyMap[17]).TileParent, { - index: item.gridIndex, - bgColorByIndex: true, - enableBorderEffect: false, - style: { - flexDirection: putImageOnListRightSide ? "row" : "row-reverse" - }, - children: [(0, _$$_REQUIRE(_dependencyMap[15]).jsxs)(_reactNative.View, { - style: [_tileList.default.container, { - paddingHorizontal: isTablet ? 8 : 0 - }], - children: [this._getTopComponent(), (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_tilePreview.default, { - title: { - text: item.title, - classes: ["tile-title", "list-tile-title", "tile-list-title"], - style: { - fontSize: this.fontSizeTitle - }, - nativeID: item.titleNativeID - }, - summary: summary, - verticalPaddingSize: _$$_REQUIRE(_dependencyMap[18]).TITLE_TOP_PADDING, - containerStyle: !isTablet ? { - justifyContent: "center" - } : {} - }), this._getBottomComponent()] - }), this._getImage()] - }) - }); - } - }]); - }(_react.default.PureComponent); - - TileListNativo.propTypes = { - item: _propTypes.default.shape({ - title: _propTypes.default.string, - summary: _propTypes.default.string, - image: _propTypes.default.string, - gridIndex: _propTypes.default.number, - titleNativeID: _propTypes.default.string, - summaryNativeID: _propTypes.default.string - }), - TopComponent: _propTypes.default.node, - BottomComponent: _propTypes.default.node, - ImageComponent: _propTypes.default.node, - imageContainerStyle: _propTypes.default.any - }; - TileListNativo.defaultProps = { - TopComponent: undefined, - BottomComponent: undefined, - ImageComponent: undefined, - imageContainerStyle: undefined - }; -},2030,[3,6,7,11,13,14,16,18,568,2031,2035,2037,574,2042,438,179,803,2043,2038]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.PositionType = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[7]); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _iconGallery = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _RssActionManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _imageIconChooserComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var PositionType = exports.PositionType = { - tile: "tile", - article: "article" - }; - - var IconGallery = function (_React$Component) { - function IconGallery() { - (0, _classCallCheck2.default)(this, IconGallery); - return _callSuper(this, IconGallery, arguments); - } - - (0, _inherits2.default)(IconGallery, _React$Component); - return (0, _createClass2.default)(IconGallery, [{ - key: "_onPress", - value: function _onPress() { - var _this$props = this.props, - item = _this$props.item, - navigation = _this$props.navigation; - navigation.navigate("GalleryScreen", { - items: item.gallery, - category: item.category, - title: item.title, - caller: "live_news" - }); - } - }, { - key: "render", - value: function render() { - var _this = this; - - var _this$props2 = this.props, - item = _this$props2.item, - inline = _this$props2.inline, - parentStyle = _this$props2.parentStyle, - imageStyle = _this$props2.imageStyle, - position = _this$props2.position, - _onLayout = _this$props2.onLayout; - var rssAction = item.action; - var icon = position === PositionType.tile ? rssAction.getGalleryIcon() : rssAction.getFullscreenGalleryIcon(); - - if (!icon) { - return null; - } - - return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[13]).Css, { - classes: ["icon-gallery-parent"], - children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_reactNative.TouchableOpacity, { - style: [inline ? _iconGallery.default.iconParent_inline : _iconGallery.default.iconParent, parentStyle], - onLayout: function onLayout(_ref) { - var nativeEvent = _ref.nativeEvent; - - if (_onLayout) { - _onLayout(nativeEvent.layout); - } - }, - onPress: function onPress() { - _this._onPress(); - }, - children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[13]).Css, { - classes: ["icon-gallery"], - children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_imageIconChooserComponent.default, { - style: [_iconGallery.default.gallery, imageStyle], - source: icon && icon.icon ? { - uri: icon.icon - } : _$$_REQUIRE(_dependencyMap[14]) - }) - }) - }) - }); - } - }]); - }(_react.default.Component); - - IconGallery.defaultProps = { - inline: false, - parentStyle: {}, - imageStyle: {}, - position: PositionType.tile - }; - IconGallery.propTypes = { - onLayout: _propTypes.default.func, - item: _propTypes.default.object, - navigation: _propTypes.default.object, - inline: _propTypes.default.bool, - imageStyle: _propTypes.default.object, - parentStyle: _propTypes.default.object, - position: _propTypes.default.oneOf([PositionType.tile, PositionType.article]) - }; - - var _default = exports.default = function _default(props) { - var navigation = (0, _$$_REQUIRE(_dependencyMap[15]).useNavigation)(); - return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(IconGallery, Object.assign({}, props, { - navigation: navigation - })); - }; -},2031,[3,6,7,11,13,14,16,18,568,2032,1968,1974,179,803,2034,1073]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var ICON_CONTAINER = _$$_REQUIRE(_dependencyMap[1]).ICON + _$$_REQUIRE(_dependencyMap[1]).ICON_PADDING * 2; - - var _default = exports.default = _reactNative.StyleSheet.create({ - iconParent: { - width: ICON_CONTAINER, - height: ICON_CONTAINER, - top: 0, - end: 0, - padding: _$$_REQUIRE(_dependencyMap[1]).ICON_PADDING, - position: "absolute" - }, - iconParent_inline: { - width: ICON_CONTAINER, - height: ICON_CONTAINER, - padding: _$$_REQUIRE(_dependencyMap[1]).ICON_PADDING - }, - gallery: { - width: _$$_REQUIRE(_dependencyMap[1]).ICON, - height: _$$_REQUIRE(_dependencyMap[1]).ICON, - shadowColor: _$$_REQUIRE(_dependencyMap[2]).colors.grey900, - shadowOffset: { - width: 0, - height: 0 - }, - shadowRadius: 5 - } - }); -},2032,[18,2033,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.MARGIN = exports.ICON_SIZE = exports.ICON_PADDING = exports.ICON = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var ICON = exports.ICON = 30; - var ICON_PADDING = exports.ICON_PADDING = 5; - var MARGIN = exports.MARGIN = 5; - var ICON_SIZE = exports.ICON_SIZE = ICON - ICON_PADDING * 2; - - var _default = exports.default = _reactNative.StyleSheet.create({ - parent: { - marginStart: MARGIN, - marginEnd: MARGIN, - flexDirection: "row", - justifyContent: "center", - alignItems: "center", - borderRadius: ICON - }, - iconParent: { - height: ICON, - bottom: -(ICON / 2), - end: 0, - position: "absolute" - }, - icon: { - height: ICON, - width: ICON, - fontSize: ICON_SIZE, - padding: ICON_PADDING - } - }); -},2033,[18]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ - "__packager_asset": true, - "httpServerLocation": "/assets/src/views/rss/icon-gallery/img", - "width": 96, - "height": 96, - "scales": [1], - "hash": "f390cf51f6b56bf0a0c61fb97d38cbea", - "name": "ic_gallery_white", - "type": "png" - }); -},2034,[1244]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var _default = exports.default = _reactNative.StyleSheet.create({ - outline: { - flexDirection: "row" - }, - container: { - flex: _$$_REQUIRE(_dependencyMap[1]).CONTAINER_LIST_FLEX, - flexDirection: "column", - justifyContent: "space-between", - paddingVertical: _$$_REQUIRE(_dependencyMap[1]).CONTAINER_VERTICAL_PADDING - } - }); -},2035,[18,2036]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.TITLE_VERTICAL_PADDING = exports.SUMMARY_VERTICAL_MARGIN = exports.HORIZONTAL_MARGIN = exports.CONTAINER_VERTICAL_PADDING = exports.CONTAINER_LIST_FLEX = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var CONTAINER_VERTICAL_PADDING = exports.CONTAINER_VERTICAL_PADDING = 8; - var CONTAINER_LIST_FLEX = exports.CONTAINER_LIST_FLEX = 3; - var TITLE_VERTICAL_PADDING = exports.TITLE_VERTICAL_PADDING = 8; - var SUMMARY_VERTICAL_MARGIN = exports.SUMMARY_VERTICAL_MARGIN = 8; - var HORIZONTAL_MARGIN = exports.HORIZONTAL_MARGIN = 8; - - var _default = exports.default = _reactNative.StyleSheet.create({ - icon: { - height: 30, - width: 30, - marginStart: 5, - marginEnd: 5 - }, - details: { - marginHorizontal: HORIZONTAL_MARGIN, - textAlign: "left", - color: _$$_REQUIRE(_dependencyMap[1]).colors.details, - flex: 1 - } - }); -},2036,[18,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _tilePreview = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[4])); - - var _doubleTextAutoMeasured = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _excluded = ["title", "summary"]; - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function TilePreview(props) { - var title = props.title, - summary = props.summary, - rest = (0, _objectWithoutProperties2.default)(props, _excluded); - return (0, _$$_REQUIRE(_dependencyMap[6]).jsx)(_doubleTextAutoMeasured.default, Object.assign({}, rest, { - top: title ? Object.assign({ - type: _$$_REQUIRE(_dependencyMap[7]).Type.medium - }, title, { - classes: ["tile-title"].concat((0, _toConsumableArray2.default)(title.classes || [])) - }) : undefined, - bottom: summary ? Object.assign({}, summary, { - classes: ["tile-summary"].concat((0, _toConsumableArray2.default)(summary.classes || [])) - }) : undefined, - containerStyle: _tilePreview.default.container, - topPadding: _tilePreview.TITLE_TOP_PADDING - })); - } - - TilePreview.propTypes = Object.assign({}, _doubleTextAutoMeasured.default.propTypes, { - title: _doubleTextAutoMeasured.default.propTypes.top, - summary: _doubleTextAutoMeasured.default.propTypes.bottom - }); - - var _default = exports.default = TilePreview; -},2037,[3,22,4,16,2038,2039,179,800]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.TITLE_TOP_PADDING = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var TITLE_TOP_PADDING = exports.TITLE_TOP_PADDING = 8; - - var _default = exports.default = _reactNative.StyleSheet.create({ - container: { - marginHorizontal: _$$_REQUIRE(_dependencyMap[1]).HORIZONTAL_MARGIN - }, - title: { - textAlign: "left", - color: _$$_REQUIRE(_dependencyMap[2]).colors.title - }, - titlePadding: { - paddingTop: TITLE_TOP_PADDING - }, - summary: { - fontSize: 20, - color: _$$_REQUIRE(_dependencyMap[2]).colors.summary - }, - summary_container: { - flex: 1, - justifyContent: "center" - } - }); -},2038,[18,2036,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[9]); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _doubleTextAutoMeasured = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - var _excluded = ["numberOfLines"], - _excluded2 = ["numberOfLines"]; - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var DoubleTextAutoMeasured = exports.default = function (_React$Component) { - function DoubleTextAutoMeasured(props) { - var _this; - - (0, _classCallCheck2.default)(this, DoubleTextAutoMeasured); - _this = _callSuper(this, DoubleTextAutoMeasured, [props]); - _this._isMounted = true; - _this.state = { - topStyle: {}, - topProps: {}, - bottomStyle: {}, - bottomProps: {}, - measured: false - }; - return _this; - } - - (0, _inherits2.default)(DoubleTextAutoMeasured, _React$Component); - return (0, _createClass2.default)(DoubleTextAutoMeasured, [{ - key: "componentDidMount", - value: function componentDidMount() { - this._isMounted = true; - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - this._isMounted = false; - } - }, { - key: "_handleWrap", - value: function _handleWrap(newState) { - var handleWrap = false; - var handleTextWrap = this.props.handleTextWrap; - - if (typeof handleTextWrap === "function" && this.topMeasure) { - var topProps = newState.topProps, - bottomProps = newState.bottomProps; - var wrap = false; - var topNumberOfLines = topProps.numberOfLines; - - if (!_$$_REQUIRE(_dependencyMap[12]).JSUtils.isNull(topNumberOfLines)) { - wrap = topNumberOfLines < this.topMeasure.lineCount; - } - - if (!wrap && this.bottomMeasure) { - var bottomNumberOfLines = bottomProps.numberOfLines; - - if (!_$$_REQUIRE(_dependencyMap[12]).JSUtils.isNull(bottomNumberOfLines)) { - wrap = bottomNumberOfLines < this.bottomMeasure.lineCount; - } - } - - if (wrap) { - handleWrap = handleTextWrap(); - } - } - - return handleWrap; - } - }, { - key: "checkOverflow", - value: function checkOverflow() { - var _this$props = this.props, - verticalPaddingSize = _this$props.verticalPaddingSize, - topPadding = _this$props.topPadding, - top = _this$props.top, - bottom = _this$props.bottom; - var measured = this.state.measured; - - if (!measured && this.parentHeight && this.topMeasure && (this.bottomMeasure || !bottom)) { - var totalVerticalPadding = verticalPaddingSize; - var availableHeight = this.parentHeight - totalVerticalPadding; - var maxTopLine = this.topMeasure.measuredHeight > availableHeight ? Math.floor(availableHeight * this.topMeasure.lineCount / this.topMeasure.measuredHeight) : this.topMeasure.lineCount; - var topHeight = Math.min(this.topMeasure.measuredHeight, availableHeight); - var newState = {}; - newState.topStyle = { - height: topHeight + (top.disablePadding ? 0 : topPadding) - }; - newState.topProps = { - numberOfLines: maxTopLine - }; - - if (bottom) { - var bottomAvailableSpace = availableHeight - topHeight; - var maxBottomLine = Math.floor(bottomAvailableSpace * this.bottomMeasure.lineCount / this.bottomMeasure.measuredHeight); - newState.bottomStyle = { - maxHeight: bottomAvailableSpace, - lineHeight: bottomAvailableSpace / maxBottomLine - }; - newState.bottomProps = { - numberOfLines: maxBottomLine - }; - } - - newState.measured = true; - - if (this._isMounted && !this._handleWrap(newState)) { - this.setState(newState); - } - } - } - }, { - key: "_getTopProps", - value: function _getTopProps() { - var top = this.props.top; - var _this$state = this.state, - _this$state$topProps = _this$state.topProps, - topProps = _this$state$topProps === undefined ? {} : _this$state$topProps, - _this$state$topStyle = _this$state.topStyle, - topStyle = _this$state$topStyle === undefined ? {} : _this$state$topStyle; - var _top$props = top.props, - topDefaultProps = _top$props === undefined ? {} : _top$props; - var defaultNumberOfLines = topDefaultProps.numberOfLines, - restDefaultProps = (0, _objectWithoutProperties2.default)(topDefaultProps, _excluded); - var evaluatedNumberOfLines = topProps.numberOfLines, - restTopProps = (0, _objectWithoutProperties2.default)(topProps, _excluded2); - var numberOfLines = evaluatedNumberOfLines; - - if (defaultNumberOfLines >= 0 && evaluatedNumberOfLines) { - numberOfLines = Math.min(defaultNumberOfLines, evaluatedNumberOfLines); - } - - if (top && top.nativeID) { - restTopProps.nativeID = top.nativeID; - } - - var newProps = Object.assign({}, restDefaultProps, restTopProps); - - if (numberOfLines !== undefined) { - newProps.numberOfLines = numberOfLines; - - if (evaluatedNumberOfLines && topStyle.height) { - topStyle.height = topStyle.height / evaluatedNumberOfLines * numberOfLines; - } - } - - return { - props: newProps, - style: topStyle - }; - } - }, { - key: "render", - value: function render() { - var _this2 = this; - - var _this$props2 = this.props, - top = _this$props2.top, - bottom = _this$props2.bottom, - containerStyle = _this$props2.containerStyle, - topPadding = _this$props2.topPadding; - var _this$state2 = this.state, - bottomProps = _this$state2.bottomProps, - bottomStyle = _this$state2.bottomStyle; - - if (bottom && bottom.nativeID) { - bottomProps.nativeID = bottom.nativeID; - } - - var paddingStyles = top.disablePadding ? {} : topPadding; - - var textEvaluated = this._getTopProps(); - - var bottomClasses = []; - - if (bottom && bottom.classes) { - bottomClasses.push.apply(bottomClasses, (0, _toConsumableArray2.default)(bottom.classes)); - } - - var topClasses = []; - - if (top && top.classes) { - topClasses.push.apply(topClasses, (0, _toConsumableArray2.default)(top.classes)); - } - - return (0, _$$_REQUIRE(_dependencyMap[13]).jsxs)(_reactNative.View, { - style: [_doubleTextAutoMeasured.default.container, containerStyle], - onLayout: function onLayout(_ref) { - var nativeEvent = _ref.nativeEvent; - _this2.parentHeight = nativeEvent.layout.height; - - _this2.checkOverflow(); - }, - children: [(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_reactNative.View, { - style: top.parentStyle || {}, - children: (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_$$_REQUIRE(_dependencyMap[14]).Css, { - classes: topClasses, - children: (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_$$_REQUIRE(_dependencyMap[15]).TextAutoMeasure, Object.assign({ - style: [paddingStyles, top.style, textEvaluated.style], - onMeasured: function onMeasured(info) { - _this2.topMeasure = info; - - _this2.checkOverflow(); - }, - text: top.text - }, textEvaluated.props)) - }) - }), bottom ? (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_reactNative.View, { - style: bottom.parentStyle || {}, - children: (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_$$_REQUIRE(_dependencyMap[14]).Css, { - classes: bottomClasses, - children: (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_$$_REQUIRE(_dependencyMap[15]).TextAutoMeasure, Object.assign({ - style: [bottom.style, bottomStyle], - onMeasured: function onMeasured(info) { - _this2.bottomMeasure = info; - - _this2.checkOverflow(); - }, - text: bottom.text - }, bottomProps)) - }) - }) : null] - }); - } - }]); - }(_react.default.Component); - - DoubleTextAutoMeasured.propTypes = { - top: _propTypes.default.shape({ - text: _propTypes.default.string, - classes: _propTypes.default.array, - style: _propTypes.default.oneOfType([_propTypes.default.array, _propTypes.default.object, _propTypes.default.number]), - parentStyle: _propTypes.default.oneOfType([_propTypes.default.array, _propTypes.default.object, _propTypes.default.number]), - props: _propTypes.default.object, - nativeID: _propTypes.default.string, - disablePadding: _propTypes.default.bool - }), - bottom: _propTypes.default.shape({ - text: _propTypes.default.string, - classes: _propTypes.default.array, - style: _propTypes.default.oneOfType([_propTypes.default.array, _propTypes.default.object, _propTypes.default.number]), - parentStyle: _propTypes.default.oneOfType([_propTypes.default.array, _propTypes.default.object, _propTypes.default.number]), - props: _propTypes.default.object, - nativeID: _propTypes.default.string - }), - topPadding: _propTypes.default.number, - containerStyle: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object]), - verticalPaddingSize: _propTypes.default.number, - handleTextWrap: _propTypes.default.func - }; - DoubleTextAutoMeasured.defaultProps = { - topPadding: 0, - verticalPaddingSize: 0 - }; -},2039,[3,22,4,6,7,11,13,14,16,18,568,2040,438,179,803,2041]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var _default = exports.default = _reactNative.StyleSheet.create({ - container: { - flex: 1, - flexDirection: "column" - } - }); -},2040,[18]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.TextAutoMeasure = undefined; - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _fontText = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _excluded = ["onMeasured", "numberOfLines", "text"]; - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var TextAutoMeasure = exports.TextAutoMeasure = function (_React$Component) { - function TextAutoMeasure() { - (0, _classCallCheck2.default)(this, TextAutoMeasure); - return _callSuper(this, TextAutoMeasure, arguments); - } - - (0, _inherits2.default)(TextAutoMeasure, _React$Component); - return (0, _createClass2.default)(TextAutoMeasure, [{ - key: "shouldComponentUpdate", - value: function shouldComponentUpdate(nextProps) { - var _this$props = this.props, - numberOfLines = _this$props.numberOfLines, - text = _this$props.text; - var newNumberOfLines = nextProps.numberOfLines, - newText = nextProps.text; - return numberOfLines !== newNumberOfLines || text !== newText; - } - }, { - key: "_returnStyleTextInfo", - value: function _returnStyleTextInfo(textStyle) { - var _this = this; - - var result = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { - allowFontScaling: global.getUserSettings().allowFontScaling, - includeFontPadding: true - }; - textStyle.forEach(function (item) { - if (Array.isArray(item)) { - result = Object.assign({}, result, _this._returnStyleTextInfo(item)); - } else if (typeof item !== "number") { - if (item.fontFamily) { - result.fontFamily = item.fontFamily; - } - - if (item.fontSize) { - result.fontSize = item.fontSize; - } - - if (item.fontWeight) { - result.fontWeight = item.fontWeight; - } - - if (item.fontStyle) { - result.fontStyle = item.fontStyle; - } - - if (item.lineHeight) { - result.lineHeight = item.lineHeight; - } - } - }); - return result; - } - }, { - key: "measureText", - value: function () { - var _measureText = (0, _asyncToGenerator2.default)(function* (layout, textStyle) { - var _this$props2 = this.props, - text = _this$props2.text, - onMeasured = _this$props2.onMeasured; - - var info = this._returnStyleTextInfo(textStyle); - - var size = yield _$$_REQUIRE(_dependencyMap[11]).StringUtils.textSize(text, layout.width, info); - var lineCount = size.lineCount, - height = size.height; - onMeasured(Object.assign({ - lineCount: lineCount, - measuredHeight: height - }, info)); - }); - - function measureText(_x, _x2) { - return _measureText.apply(this, arguments); - } - - return measureText; - }() - }, { - key: "render", - value: function render() { - var _this2 = this; - - var _this$props3 = this.props, - onMeasured = _this$props3.onMeasured, - numberOfLines = _this$props3.numberOfLines, - text = _this$props3.text, - rest = (0, _objectWithoutProperties2.default)(_this$props3, _excluded); - - if (numberOfLines === 0 || !text || !text.length) { - onMeasured({ - lineCount: 0, - lineHeight: 0, - height: 0, - measuredHeight: 0 - }); - return null; - } - - return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_fontText.default, Object.assign({ - onLayout: function onLayout(_ref, textStyle) { - var nativeEvent = _ref.nativeEvent; - - _this2.measureText(nativeEvent.layout, textStyle); - }, - numberOfLines: numberOfLines - }, rest, { - children: text - })); - } - }]); - }(_react.default.Component); - - TextAutoMeasure.propTypes = { - onMeasured: _propTypes.default.func.isRequired, - text: _propTypes.default.string, - numberOfLines: _propTypes.default.number - }; - TextAutoMeasure.defaultProps = { - numberOfLines: 1 - }; -},2041,[3,4,270,6,7,11,13,14,16,568,800,438,179]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.RSS_HEADER_HEIGHT = exports.FONT_SIZE = exports.DRAWER_WIDTH = exports.DRAWER_ITEM_HEIGHT = exports.DRAWER_IMAGE_SIZE = exports.CARD_RADIUS = exports.CARD_MARGIN_SIZE = exports.BOX_OPTIMAL_WIDTH = undefined; - exports.getRssCardBoxPadding = getRssCardBoxPadding; - exports.getRssCardBoxWidth = getRssCardBoxWidth; - exports.getRssGridBoxPadding = getRssGridBoxPadding; - exports.getRssHorizontalpadding = getRssHorizontalpadding; - exports.getRssListBoxPadding = getRssListBoxPadding; - exports.getRssNumberOfColumns = getRssNumberOfColumns; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var _deviceUtils = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[2])); - - var BOX_OPTIMAL_WIDTH = exports.BOX_OPTIMAL_WIDTH = 300; - var RSS_HEADER_HEIGHT = exports.RSS_HEADER_HEIGHT = 50; - var DRAWER_ITEM_HEIGHT = exports.DRAWER_ITEM_HEIGHT = 50; - var DRAWER_IMAGE_SIZE = exports.DRAWER_IMAGE_SIZE = 25; - var CARD_MARGIN_SIZE = exports.CARD_MARGIN_SIZE = 15; - var CARD_RADIUS = exports.CARD_RADIUS = 5; - var DRAWER_WIDTH = exports.DRAWER_WIDTH = 250; - var FONT_SIZE = exports.FONT_SIZE = { - HIGHLIGHT: function HIGHLIGHT() { - return _$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet() ? 30 : 24; - }, - TITLE: function TITLE() { - return _$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet() ? 22 : 18; - }, - HEADER: function HEADER() { - return _$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet() ? 18 : 14; - }, - TEXT: function TEXT() { - return _$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet() ? 18 : 14; - } - }; - - var _default = exports.default = _reactNative.StyleSheet.create({ - shadow: { - elevation: 1, - backgroundColor: _$$_REQUIRE(_dependencyMap[3]).colors.transparent, - shadowColor: _$$_REQUIRE(_dependencyMap[3]).colors.black, - shadowOpacity: 0.5, - shadowRadius: 0.5, - shadowOffset: { - height: 0, - width: 0 - } - } - }); - - function getRssGridBoxPadding() { - if (_$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet()) { - return 5; - } - - return 3; - } - - function getRssListBoxPadding() { - return 0; - } - - function getRssCardBoxPadding() { - return CARD_MARGIN_SIZE / 2; - } - - function getRssCardBoxWidth() { - var _DeviceUtils$getSafeA = _deviceUtils.default.getSafeArea(), - width = _DeviceUtils$getSafeA.width; - - return width - getRssCardBoxPadding() * 2 - _$$_REQUIRE(_dependencyMap[4]).HORIZONTAL_MARGIN * 2; - } - - function getRssHorizontalpadding(orientation) { - var paddingPortrait = 0; - var paddingLandscape = 0; - - var _DeviceUtils$getSafeA2 = _deviceUtils.default.getSafeArea(), - width = _DeviceUtils$getSafeA2.width; - - if (_$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTabletTenInches()) { - paddingLandscape = width * 0.15; - } else if (_$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet()) { - paddingLandscape = width * 0.1; - } - - return _deviceUtils.default.isPortrait(orientation) ? paddingPortrait : paddingLandscape; - } - - function getRssNumberOfColumns() { - var itemsPerRowPortrait = _$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet() ? 3 : 2; - var itemsPerRowLandscape = 2; - - if (_$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTabletTenInches()) { - itemsPerRowLandscape = 4; - } else if (_$$_REQUIRE(_dependencyMap[3]).PlatformUtils.isTablet()) { - itemsPerRowLandscape = 3; - } - - return _deviceUtils.default.isPortrait() ? itemsPerRowPortrait : itemsPerRowLandscape; - } -},2042,[18,3,434,438,2036]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - Object.keys(_$$_REQUIRE(_dependencyMap[0])).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _$$_REQUIRE(_dependencyMap[0])[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _$$_REQUIRE(_dependencyMap[0])[key]; - } - }); - }); -},2043,[2044]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.TileParent = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[7]); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _tileParent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _rssBaseStyle = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var TileParent = exports.TileParent = function (_React$Component) { - function TileParent() { - (0, _classCallCheck2.default)(this, TileParent); - return _callSuper(this, TileParent, arguments); - } - - (0, _inherits2.default)(TileParent, _React$Component); - return (0, _createClass2.default)(TileParent, [{ - key: "_itemBackgroundColor", - value: function _itemBackgroundColor(index) { - var _this$props = this.props, - bgColor = _this$props.bgColor, - bgColorByIndex = _this$props.bgColorByIndex; - - var defaultBgColor = _$$_REQUIRE(_dependencyMap[11]).Css.getDefaultBackgroundColor(); - - if (bgColorByIndex) { - return index % 2 === 0 ? defaultBgColor : _$$_REQUIRE(_dependencyMap[11]).Css.getAlternateDefaultBackgroundColor(); - } - - return bgColor || defaultBgColor; - } - }, { - key: "render", - value: function render() { - var _this$props2 = this.props, - index = _this$props2.index, - bgUrl = _this$props2.bgUrl, - enableBorderEffect = _this$props2.enableBorderEffect, - hideBottomLine = _this$props2.hideBottomLine, - style = _this$props2.style, - _onLayout = _this$props2.onLayout, - children = _this$props2.children; - - var _global$getRssIndex = global.getRssIndex(), - borderRadius = _global$getRssIndex.borderRadius, - borderColor = _global$getRssIndex.borderColor, - borderWidth = _global$getRssIndex.borderWidth, - borderShadow = _global$getRssIndex.borderShadow; - - var radiusStyle = { - borderRadius: enableBorderEffect ? borderRadius : 0, - overflow: "hidden" - }; - var imageCustomProps = bgUrl ? { - source: { - uri: bgUrl - }, - imageStyle: radiusStyle - } : {}; - var enableShadow = borderShadow && enableBorderEffect; - var enableBottomBorder = (!enableBorderEffect || !borderShadow) && !hideBottomLine; - var enableBorder = !borderShadow && enableBorderEffect; - var Child = bgUrl ? _reactNative.ImageBackground : _reactNative.View; - return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_reactNative.View, { - style: [{ - flex: 1, - justifyContent: "center", - borderRadius: enableBorder ? borderRadius : 0 - }, _$$_REQUIRE(_dependencyMap[13]).PlatformUtils.isIOS() && enableShadow ? _rssBaseStyle.default.shadow : {}], - children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(Child, Object.assign({}, imageCustomProps, { - style: [_tileParent.default.container, _$$_REQUIRE(_dependencyMap[13]).PlatformUtils.isAndroid() && enableShadow ? _rssBaseStyle.default.shadow : {}, { - width: "100%", - height: "100%", - backgroundColor: this._itemBackgroundColor(index), - borderRadius: enableBorder ? borderRadius : 0, - borderTopWidth: enableBorder ? borderWidth : 0, - borderStartWidth: enableBorder ? borderWidth : 0, - borderEndWidth: enableBorder ? borderWidth : 0, - borderBottomWidth: enableBottomBorder ? borderWidth : 0, - borderColor: borderColor - }, radiusStyle, style], - onLayout: function onLayout(event) { - if (_onLayout) { - _onLayout(event); - } - }, - children: children - })) - }); - } - }]); - }(_react.default.Component); - - TileParent.propTypes = { - index: _propTypes.default.number, - bgColor: _propTypes.default.string, - bgColorByIndex: _propTypes.default.bool, - bgUrl: _propTypes.default.string, - enableBorderEffect: _propTypes.default.bool.isRequired, - hideBottomLine: _propTypes.default.bool, - style: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.array]), - onLayout: _propTypes.default.func, - children: _propTypes.default.any - }; - TileParent.defaultProps = { - bgColorByIndex: false, - bgUrl: "", - hideBottomLine: false - }; -},2044,[3,6,7,11,13,14,16,18,568,2045,2042,803,179,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var _default = exports.default = _reactNative.StyleSheet.create({ - container: { - flex: 1 - } - }); -},2045,[18]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[7]); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _fontText = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[9])); - - var _RssIndexConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _tileGridImage = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var TileGridImageNativo = exports.default = function (_React$PureComponent) { - function TileGridImageNativo(props) { - var _this; - - (0, _classCallCheck2.default)(this, TileGridImageNativo); - _this = _callSuper(this, TileGridImageNativo, [props]); - var item = props.item; - _this.isTablet = _$$_REQUIRE(_dependencyMap[12]).PlatformUtils.isTablet(); - _this.fontSize = _$$_REQUIRE(_dependencyMap[13]).FONT_SIZE.TEXT(); - _this.fontSizeTitle = item.isHighlightedBox ? _$$_REQUIRE(_dependencyMap[13]).FONT_SIZE.HIGHLIGHT() : _$$_REQUIRE(_dependencyMap[13]).FONT_SIZE.TITLE(); - return _this; - } - - (0, _inherits2.default)(TileGridImageNativo, _React$PureComponent); - return (0, _createClass2.default)(TileGridImageNativo, [{ - key: "titleNumberOfLines", - value: function titleNumberOfLines() { - var _global$getRssIndex = global.getRssIndex(), - gridTitleMaxLines = _global$getRssIndex.gridTitleMaxLines; - - return gridTitleMaxLines; - } - }, { - key: "_getContent", - value: function _getContent() { - var item = this.props.item; - var style = [{ - fontSize: this.fontSizeTitle, - color: "black", - marginHorizontal: _$$_REQUIRE(_dependencyMap[14]).HORIZONTAL_MARGIN, - paddingVertical: _$$_REQUIRE(_dependencyMap[14]).TITLE_VERTICAL_PADDING, - textAlign: "left" - }]; - - if (!this.isTablet) { - style.push(_tileGridImage.default.title_phone); - } - - return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.View, { - style: { - paddingHorizontal: 0 - }, - children: (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_$$_REQUIRE(_dependencyMap[16]).Css, { - classes: ["tile-title", "grid-tile-title"], - children: (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_fontText.default, { - nativeID: item.titleNativeID, - type: _fontText.Type.medium, - numberOfLines: this.titleNumberOfLines(), - style: style, - children: item.title - }) - }) - }); - } - }, { - key: "render", - value: function render() { - var _this$props = this.props, - roundedBorder = _this$props.roundedBorder, - TopComponent = _this$props.TopComponent, - BottomComponent = _this$props.BottomComponent, - ImageComponent = _this$props.ImageComponent; - return (0, _$$_REQUIRE(_dependencyMap[15]).jsxs)(_$$_REQUIRE(_dependencyMap[17]).TileParent, { - bgColor: _$$_REQUIRE(_dependencyMap[12]).colors.white, - enableBorderEffect: roundedBorder, - style: { - flexDirection: "column" - }, - children: [TopComponent, this._getContent(), ImageComponent, BottomComponent] - }); - } - }]); - }(_react.default.PureComponent); - - TileGridImageNativo.propTypes = { - roundedBorder: _propTypes.default.bool, - item: _propTypes.default.shape({ - category: _propTypes.default.string, - date: _propTypes.default.string, - title: _propTypes.default.string, - image: _propTypes.default.string, - sizes: _propTypes.default.object, - position: _propTypes.default.number, - hideCategory: _propTypes.default.bool, - isHighlightedBox: _propTypes.default.bool, - titleNativeID: _propTypes.default.string, - summaryNativeID: _propTypes.default.string - }), - TopComponent: _propTypes.default.node, - BottomComponent: _propTypes.default.node, - ImageComponent: _propTypes.default.node - }; - TileGridImageNativo.defaultProps = { - roundedBorder: false, - TopComponent: undefined, - BottomComponent: undefined, - ImageComponent: undefined - }; -},2046,[3,6,7,11,13,14,16,18,568,800,2047,2051,438,2042,2036,179,803,2043]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.RssIndexConfig = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _navigationUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _IndexHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var RssIndexConfig = exports.RssIndexConfig = function () { - function RssIndexConfig(pSetup) { - (0, _classCallCheck2.default)(this, RssIndexConfig); - this.storageName = _IndexHelper.default.SP.name + "_" + pSetup; - } - - return (0, _createClass2.default)(RssIndexConfig, [{ - key: "mustSkipRTLOnRssList", - value: function () { - var _mustSkipRTLOnRssList = (0, _asyncToGenerator2.default)(function* () { - return !_$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isRTL() || (yield this.getValue(_IndexHelper.default.SP.keys.skip_right_to_left_thumb_align_in_list)) === "1"; - }); - - function mustSkipRTLOnRssList() { - return _mustSkipRTLOnRssList.apply(this, arguments); - } - - return mustSkipRTLOnRssList; - }() - }, { - key: "getHomeCategory", - value: function () { - var _getHomeCategory = (0, _asyncToGenerator2.default)(function* () { - return _navigationUtils.default.getInitialRouteNameForRss(this.drawerItemsFlat, this.homeCategoryName); - }); - - function getHomeCategory() { - return _getHomeCategory.apply(this, arguments); - } - - return getHomeCategory; - }() - }, { - key: "parseValue", - value: function parseValue(key, value) { - var _IndexHelper$SP$keys = _IndexHelper.default.SP.keys, - tutorials = _IndexHelper$SP$keys.tutorials, - drawer_content = _IndexHelper$SP$keys.drawer_content, - rn_styles = _IndexHelper$SP$keys.rn_styles, - ga_json = _IndexHelper$SP$keys.ga_json; - var toParse = false; - - switch (key) { - case ga_json: - if (value) { - value = value.replace(/"/g, '"'); - toParse = true; - } - - break; - - case tutorials: - case drawer_content: - case rn_styles: - toParse = true; - break; - } - - if (toParse) { - try { - var rawValue = value || {}; - value = JSON.parse(rawValue); - } catch (e) { - value = {}; - } - } - - return value; - } - }, { - key: "init", - value: function () { - var _init = (0, _asyncToGenerator2.default)(function* () { - var json = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - this.json = json; - var keys = _IndexHelper.default.SP.keys; - - var isTablet = _$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isTablet(); - - this.fontRegular = yield this.getValue(keys.font_regular); - this.fontMedium = yield this.getValue(keys.font_medium); - this.fontBold = yield this.getValue(keys.font_bold); - this.paywallEnabled = false; - this.style = yield this.getValue(keys.app_template_style); - - if (!this.style) { - return false; - } - - try { - this.dbURL = yield this.getValue(keys.db_url); - this.dbMTime = parseInt((yield this.getValue(keys.db_mtime)) || 0, 10); - this.tutorials = _IndexHelper.default.getTutorials(yield this.getValue(keys.tutorials)); - this.paywallAppId = yield this.getValue(keys.paywallAppId); - this.paywallEnabled = (yield this.getValue(keys.paywallEnabled)) === "1"; - this.mustLoginToViewArticle = (yield this.getValue(keys.must_login_to_view_article)) === "1"; - - if (this.mustLoginToViewArticle) { - this.attachPaywallToArticle = ((yield this.getValue(keys.attach_paywall_to_article)) || "0") === "1"; - this.articlePreviewLength = (yield this.getValue(keys.article_preview_length)) || "0"; - } else { - this.attachPaywallToArticle = false; - this.articlePreviewLength = "0"; - } - - var _IndexHelper$SP$value = _IndexHelper.default.SP.values.drawer.actions, - open_paywall_account = _IndexHelper$SP$value.open_paywall_account, - open_publications = _IndexHelper$SP$value.open_publications; - this.drawerItems = yield _navigationUtils.default.getDrawerItemsForRss(yield this.getValue(keys.drawer_content)); - this.drawerItemsFlat = _navigationUtils.default.getFlatDrawerItems(this.drawerItems); - - if (!this.paywallEnabled && !this.mustLoginToViewArticle) { - this.drawerItemsFlat = this.drawerItemsFlat.filter(function (_ref) { - var action = _ref.action; - return action !== open_paywall_account; - }); - } - - if (_$$_REQUIRE(_dependencyMap[7]).PaperSetupManager.isGenericAppConfigured() && this.drawerItemsFlat.find(function (_ref2) { - var action = _ref2.action; - return action === open_publications; - }) === undefined) { - this.drawerItemsFlat.push((0, _$$_REQUIRE(_dependencyMap[8]).getPublicationsButton)(this.drawerItemsFlat.length)); - } - - this.actionBarItems = _navigationUtils.default.getRssActionBarItems(this.drawerItemsFlat); - this.footerEnabled = (yield this.getValue(keys.rss_footer_enabled)) === "1"; - - if (this.footerEnabled) { - var _NavigationUtils$getR = _navigationUtils.default.getRssFooterButton(this.drawerItemsFlat), - footerItems = _NavigationUtils$getR.footerItems, - drawerItemsFlat = _NavigationUtils$getR.drawerItemsFlat; - - this.footerItems = footerItems; - this.drawerItemsFlat = drawerItemsFlat; - } - - var numberOfLinesRaw = yield this.getValue(isTablet ? keys.grid_title_line_limit_tablet : keys.grid_title_line_limit_phone); - var numberOfLines = isTablet ? 3 : 2; - - try { - if (numberOfLinesRaw) { - numberOfLines = Number.parseInt(numberOfLinesRaw, 10); - } - } catch (error) {} - - this.gridTitleMaxLines = numberOfLines; - this.homeCategoryName = yield this.getValue(keys.home_category_name); - this.shareButtonOnPushNotificationURLs = (yield this.getValue(keys.enable_share_button_on_push_notification_urls)) === "1"; - this.summaryInArticleBody = (yield this.getValue(keys.summary_in_article_body)) === "1"; - this.hasColumnizer = (yield this.getValue(keys.has_columnizer)) === "1"; - this.customSubject = yield this.getValue(keys.email_subject); - this.latitude = yield this.getValue(keys.latitude); - this.longitude = yield this.getValue(keys.longitude); - this.putImageOnListRightSide = yield this.mustSkipRTLOnRssList(); - var listHeightMultiplier = yield this.getValue(isTablet ? keys.list_height_multiplier_tablet : keys.list_height_multiplier_phone); - this.listHeightMultipliers = parseFloat(listHeightMultiplier) || 1; - this.appAutoRefreshMinutes = parseInt(yield this.getValue(keys.app_auto_refresh_minutes), 10) || 0; - var hideDrawerIcon = ((yield this.getValue(keys.hide_drawer_button)) || "0") === "1"; - this.showDrawerButton = !hideDrawerIcon; - this.showHomeButton = (yield this.getValue(keys.show_home_button)) === "1"; - this.headerLogoURL = yield this.getValue(keys.logo); - this.hasTopPanel = (yield this.getValue(keys.has_top_panel)) === "1"; - this.hasSquaredImage = _$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isPreviousMarshmallow() || (yield this.getValue(keys.squared_image)) === "1"; - this.borderColor = (yield this.getValue(keys.border_color)) || _$$_REQUIRE(_dependencyMap[6]).colors.grey1200; - this.borderWidth = Number.parseFloat((yield this.getValue(keys.border_width)) || "0.5"); - this.borderShadow = ((yield this.getValue(keys.border_shadow)) || "1") === "1"; - this.borderRadius = _$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isPreviousMarshmallow() ? 0 : Number.parseInt((yield this.getValue(keys.border_radius)) || 0, 10); - this.usePhoneArticleStyleOnTablet = ((yield this.getValue(keys.use_phone_article_style_on_tablet)) || "0") === "1"; - this.actionBarBackgroundColor = (yield this.getValue(keys.action_bar_background_color)) || _$$_REQUIRE(_dependencyMap[6]).colors.white; - this.supportColor = (yield this.getValue(keys.support_color)) || _$$_REQUIRE(_dependencyMap[6]).colors.black; - this.articleTopColor = (yield this.getValue(keys.article_top_color)) || this.supportColor; - this.articleBgColor = (yield this.getValue(keys.article_bg_color)) || _$$_REQUIRE(_dependencyMap[6]).colors.white; - this.buttonBackgroundColor = this.is1_0() ? _$$_REQUIRE(_dependencyMap[6]).colors.transparent : _$$_REQUIRE(_dependencyMap[6]).colors.grey; - this.menuBackgroundColor = (yield this.getValue(keys.menu_background_color)) || _$$_REQUIRE(_dependencyMap[6]).colors.white; - this.floatingButtonColor = (yield this.getValue(keys.floating_button_color)) || _$$_REQUIRE(_dependencyMap[6]).colors.black; - this.cacheAds = (yield this.getValue(keys.ads.cache)) === "1"; - this.adProvider = yield this.getValue(keys.ads.provider); - this.adPrebidAccountId = yield this.getValue(keys.ads.prebid_account_id); - this.adPrebidServerHost = yield this.getValue(keys.ads.prebid_server_host); - this.adPrebidConfigurationId = yield this.getValue(keys.ads.prebid_configuration_id); - this.adPrebidShareGeolocation = (yield this.getValue(keys.ads.prebid_share_geolocation)) === "1"; - this.adUnitId = yield this.getValue(keys.ads.unit_id); - this.adTargeting = {}; - var adTargetingRaw = yield this.getValue(keys.ads.targeting); - - if (adTargetingRaw) { - try { - this.adTargeting = JSON.parse(adTargetingRaw); - } catch (error) {} - } - - this.topAd = yield this.getValue(keys.ads.top); - this.bottomAd = yield this.getValue(keys.ads.bottom); - this.adDefaultFallback = yield this.getValue(keys.ads.default_fallback); - this.adsBackgroundColor = yield this.getValue(keys.ads.background_color); - this.showGalleryTitle = (yield this.getValue(keys.show_gallery_title)) === "1"; - this.googleAnalytics = yield this.getValue(keys.ga_json); - this.availableLayouts = yield this.getValue(keys.rn_available_layouts); - this.homeCategory = yield this.getHomeCategory(); - this.archiveSearchURL = yield this.getValue(keys.archive_search_url); - this.favoritesIconFromBBE = yield this.getValue(keys.favorites_icon); - } catch (e) { - return false; - } - - return true; - }); - - function init() { - return _init.apply(this, arguments); - } - - return init; - }() - }, { - key: "getValue", - value: function () { - var _getValue = (0, _asyncToGenerator2.default)(function* (key) { - if (_$$_REQUIRE(_dependencyMap[6]).JSUtils.hasProperty(this.json, key)) { - var value = this.json[key]; - - if (value === null || value === undefined) { - value = yield _IndexHelper.default.getItem(this.storageName, key); - } - - return this.parseValue(key, value); - } - - return ""; - }); - - function getValue(_x) { - return _getValue.apply(this, arguments); - } - - return getValue; - }() - }, { - key: "setDbMTime", - value: function setDbMTime(value) { - this.dbMTime = value; - - _IndexHelper.default.setItem(this.storageName, _IndexHelper.default.SP.keys.db_mtime, "" + value); - } - }, { - key: "getFullDbURL", - value: function getFullDbURL() { - if (this.dbMTime) { - var mtime = parseInt(this.dbMTime, 10); - - if (!Number.isNaN(mtime)) { - mtime = (mtime & -2).toString(16); - return _$$_REQUIRE(_dependencyMap[6]).StringUtils.appendParams(this.dbURL, { - mtime: mtime - }); - } - } - - return this.dbURL; - } - }, { - key: "drawerContainsVerticals", - value: function drawerContainsVerticals() { - var _IndexHelper$SP$value2 = _IndexHelper.default.SP.values.drawer.params, - open_le_vedette = _IndexHelper$SP$value2.open_le_vedette, - open_real_estate = _IndexHelper$SP$value2.open_real_estate, - open_auto_search = _IndexHelper$SP$value2.open_auto_search, - open_monster = _IndexHelper$SP$value2.open_monster, - open_events = _IndexHelper$SP$value2.open_events; - var actionsVertical = [open_le_vedette, open_real_estate, open_auto_search, open_monster, open_events]; - var drawerItemsFlat = this.drawerItemsFlat, - footerItems = this.footerItems; - var found = false; - - if (drawerItemsFlat) { - found = drawerItemsFlat.find(function (item) { - return actionsVertical.includes(item.params); - }) !== undefined; - } - - if (!found && footerItems) { - found = footerItems.find(function (item) { - return actionsVertical.includes(item.params); - }) !== undefined; - } - - return found; - } - }, { - key: "is1_0", - value: function is1_0() { - return this.style && this.style === "1.0"; - } - }, { - key: "is1_1_LVRJ", - value: function is1_1_LVRJ() { - return this.style && this.style === "1.1_lvrj"; - } - }, { - key: "is1_1", - value: function is1_1() { - return this.style && this.style === "1.1"; - } - }, { - key: "is2_0", - value: function is2_0() { - return this.style && this.style === "2.0"; - } - }, { - key: "is2_1", - value: function is2_1() { - return this.style && this.style === "2.1"; - } - }, { - key: "is2_2", - value: function is2_2() { - return this.style && this.style === "2.2"; - } - }, { - key: "is3_0", - value: function is3_0() { - return this.style && this.style === "3.0"; - } - }, { - key: "needToShowLayoutButton", - value: function needToShowLayoutButton() { - if (!_$$_REQUIRE(_dependencyMap[6]).JSUtils.isEmpty(this.availableLayouts)) { - var splitted = this.availableLayouts.split(","); - return splitted.length > 1; - } - - return false; - } - }]); - }(); -},2047,[3,270,6,7,2048,1967,438,1850,2050]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _IndexHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var NavigationUtils = exports.default = function () { - function NavigationUtils() { - (0, _classCallCheck2.default)(this, NavigationUtils); - } - - return (0, _createClass2.default)(NavigationUtils, null, [{ - key: "hasItems", - value: function hasItems(item) { - return item && item.items && item.items.length; - } - }, { - key: "getDrawerItem", - value: function getDrawerItem(items, key) { - return items.find(function (item, index) { - return item.drawerItemKey === key || item.drawerItemKey + "_" + index === key; - }); - } - }, { - key: "isItemEnabled", - value: function isItemEnabled(item) { - if ((item.visibleOnAndroid === undefined || item.visibleOnAndroid === "1") && _$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isAndroid()) { - return true; - } - - if ((item.visibleOnIOS === undefined || item.visibleOnIOS === "1") && _$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isIOS()) { - return true; - } - - return false; - } - }, { - key: "getFlatDrawerItems", - value: function getFlatDrawerItems(items) { - var result = []; - items.forEach(function (item) { - if (NavigationUtils.isItemEnabled(item)) { - result.push(item); - } - - if (NavigationUtils.hasItems(item)) { - result.push.apply(result, (0, _toConsumableArray2.default)(NavigationUtils.getFlatDrawerItems(item.items))); - } - }); - return result; - } - }, { - key: "getDrawerItemsForRss", - value: function () { - var _getDrawerItemsForRss = (0, _asyncToGenerator2.default)(function* (content) { - var items = []; - - if (content) { - try { - items = yield NavigationUtils.parseDrawerContent(content); - } catch (e) {} - } - - return items; - }); - - function getDrawerItemsForRss(_x) { - return _getDrawerItemsForRss.apply(this, arguments); - } - - return getDrawerItemsForRss; - }() - }, { - key: "getCollapsedStateKeyForDrawerItem", - value: function getCollapsedStateKeyForDrawerItem(item) { - return "drawer_item_" + item.drawerItemKey.replace(" ", "_").toLowerCase() + "_collapsed"; - } - }, { - key: "getRssFooterButton", - value: function getRssFooterButton(drawerItemsFlat) { - var footerItems = []; - drawerItemsFlat = drawerItemsFlat.filter(function (item) { - if (!item.position || item.position == "0") { - return true; - } - - footerItems.push(item); - return item.position !== "1"; - }); - return { - footerItems: footerItems, - drawerItemsFlat: drawerItemsFlat - }; - } - }, { - key: "getRssActionBarItems", - value: function getRssActionBarItems(drawerItemsFlat) { - return drawerItemsFlat.filter(function (item) { - return item.showInActionBar === "1"; - }); - } - }, { - key: "isHiddenCategory", - value: function isHiddenCategory(drawerItemKey) { - return drawerItemKey && drawerItemKey.substring(0, 1) === _$$_REQUIRE(_dependencyMap[6]).StringUtils.TILDE; - } - }, { - key: "parseDrawerContent", - value: function () { - var _parseDrawerContent = (0, _asyncToGenerator2.default)(function* (content) { - var parent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; - var parentRouteIndex = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ""; - var depth = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0; - var navigationLevel = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0; - var result = []; - - var _loop = function* _loop() { - var entry = content[i]; - var object = {}; - object.parent = parent; - object.depth = depth; - object.navigationLevel = navigationLevel; - - if (Array.isArray(entry)) { - entry.forEach(function (setting) { - object[setting[0]] = setting[1]; - }); - } else { - object = Object.assign({}, object, entry); - } - - var _object = object, - action = _object.action, - displayName = _object.displayName, - params = _object.params, - image = _object.image; - object.drawerItemKey = displayName; - - if (action === _IndexHelper.default.SP.values.drawer.actions.show_articles) { - if (params) { - if (Array.isArray(params)) { - if (params.length > 0) { - object.drawerItemKey = params[0]; - } - } else { - object.drawerItemKey = params; - } - } - } - - if (typeof image === "string" && image.startsWith("/")) { - var _global$getRSSActiveP = global.getRSSActivePSetup(), - machine = _global$getRSSActiveP.machine; - - object.image = _$$_REQUIRE(_dependencyMap[6]).NetworkUtils.addDefaultProtocol(machine) + image; - } - - var routeIndex = "" + (parentRouteIndex || "0") + i; - object.routeKey = object.drawerItemKey + "_" + routeIndex; - object.neverShowInDrawer = NavigationUtils.isHiddenCategory(object.drawerItemKey); - object.displayName = _$$_REQUIRE(_dependencyMap[6]).StringUtils.removeTilde(object.displayName); - - if (NavigationUtils.hasChildren(object)) { - var restoredStateCollapsed; - - try { - restoredStateCollapsed = yield global.getUserSettings().getValue(NavigationUtils.getCollapsedStateKeyForDrawerItem(object)); - } catch (e) { - restoredStateCollapsed = false; - } - - object.collapse = restoredStateCollapsed ? restoredStateCollapsed === "1" : "autocollapse" in object && object.autocollapse === 1; - - try { - var nextNavigationLevel = navigationLevel; - - if (object.layout === "tab" && object.type === "section") { - nextNavigationLevel += 1; - } - - object.items = yield NavigationUtils.parseDrawerContent(object.elements, object.drawerItemKey, routeIndex, depth + 1, nextNavigationLevel); - } catch (e) { - object.items = []; - } - - result.push(object); - } else { - result.push(object); - } - }; - - for (var i = 0; i < content.length; i++) { - yield* _loop(); - } - - return result; - }); - - function parseDrawerContent(_x2) { - return _parseDrawerContent.apply(this, arguments); - } - - return parseDrawerContent; - }() - }, { - key: "hasChildren", - value: function hasChildren(item) { - return "elements" in item && item.elements !== ""; - } - }, { - key: "getInitialRouteNameForRss", - value: function () { - var _getInitialRouteNameForRss = (0, _asyncToGenerator2.default)(function* (items, homeCategoryName) { - if (items.length > 0) { - if (homeCategoryName) { - var found = items.find(function (item) { - return item.drawerItemKey === homeCategoryName; - }); - - if (found) { - return homeCategoryName; - } - } - - return items.find(function (item) { - return item.type === "feed"; - }).drawerItemKey; - } - - return ""; - }); - - function getInitialRouteNameForRss(_x3, _x4) { - return _getInitialRouteNameForRss.apply(this, arguments); - } - - return getInitialRouteNameForRss; - }() - }, { - key: "getAdsPatter", - value: function getAdsPatter(_ref) { - var adsPattern = _ref.adsPattern; - var result = { - max: 10, - after: 4, - offset: 3, - first: 1 - }; - - if (adsPattern && adsPattern.length === 4) { - result.max = adsPattern[0]; - result.after = adsPattern[1] > 0 ? adsPattern[1] : result.after; - - if (adsPattern[2] > result.after / 2) { - result.offset = result.after / 2; - } else if (adsPattern[2] > 0) { - result.offset = adsPattern[2]; - } else { - result.offset = result.after; - } - - result.first = adsPattern[3] > 0 ? adsPattern[3] : result.first; - } - - return result; - } - }, { - key: "getActiveRouteFromState", - value: function getActiveRouteFromState() { - var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var index = state.index, - _state$routes = state.routes, - routes = _state$routes === undefined ? [] : _state$routes; - var route = routes[index]; - - if (route) { - return route.name; - } - - return undefined; - } - }, { - key: "getRoutesTo", - value: function getRoutesTo(items, routeName) { - for (var i = 0; i < items.length; i++) { - var item = items[i]; - - if (item) { - if (item.drawerItemKey === routeName) { - return { - screen: item.routeKey, - level: item.navigationLevel - }; - } - - if (NavigationUtils.hasItems(item)) { - var route = NavigationUtils.getRoutesTo(item.items, routeName); - - if (route && route.screen) { - if (route.level === item.navigationLevel) { - return route; - } - - return { - screen: item.routeKey, - params: route, - level: item.navigationLevel - }; - } - } - } - } - - return {}; - } - }, { - key: "getRoutesToHome", - value: function getRoutesToHome() { - var _global$getRssIndex = global.getRssIndex(), - drawerItems = _global$getRssIndex.drawerItems, - homeCategory = _global$getRssIndex.homeCategory; - - return NavigationUtils.getRoutesTo(drawerItems, homeCategory); - } - }, { - key: "getScreenTo", - value: function getScreenTo(items, routeName) { - for (var i = 0; i < items.length; i++) { - var item = items[i]; - - if (item) { - if (item.drawerItemKey === routeName) { - return item.routeKey; - } - - if (NavigationUtils.hasItems(item)) { - return NavigationUtils.getScreenTo(item.items, routeName); - } - } - } - - return ""; - } - }, { - key: "getScreenToHome", - value: function getScreenToHome() { - var _global$getRssIndex2 = global.getRssIndex(), - drawerItems = _global$getRssIndex2.drawerItems, - homeCategory = _global$getRssIndex2.homeCategory; - - return NavigationUtils.getScreenTo(drawerItems, homeCategory); - } - }, { - key: "navigateToHome", - value: function navigateToHome(navigation) { - if (navigation) { - var routes = NavigationUtils.getRoutesToHome(); - - if (routes && routes.screen) { - navigation.navigate(routes.screen, routes.params); - } - } - } - }, { - key: "navigateToSettings", - value: function navigateToSettings(navigation, module) { - var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - - if (global.getMainPSetup().showNativeSettingsScreen) { - navigation == null ? undefined : navigation.navigate("GeneralSettingsScreen", Object.assign({ - module: module - }, params)); - } else { - navigation == null ? undefined : navigation.navigate("SettingsScreen", params); - } - } - }, { - key: "navigateToRssSettings", - value: function navigateToRssSettings(navigation) { - var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - NavigationUtils.navigateToSettings(navigation, _$$_REQUIRE(_dependencyMap[7]).GeneralSettingsModules.RSS, params); - } - }, { - key: "navigateToEPaperSettings", - value: function navigateToEPaperSettings(navigation) { - var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - NavigationUtils.navigateToSettings(navigation, _$$_REQUIRE(_dependencyMap[7]).GeneralSettingsModules.EPAPER, params); - } - }]); - }(); -},2048,[3,270,22,6,7,1967,438,2049]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.GeneralSettingsModules = undefined; - var GeneralSettingsModules = exports.GeneralSettingsModules = { - RSS: 1, - EPAPER: 2 - }; -},2049,[]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.getDrawerAction = getDrawerAction; - exports.getDrawerItemFromStructureAndState = getDrawerItemFromStructureAndState; - exports.getDrawerStructure = getDrawerStructure; - exports.getEpaperLabel = getEpaperLabel; - exports.getInitialRouteFromStructure = getInitialRouteFromStructure; - exports.getMyHomeLabel = getMyHomeLabel; - exports.getNameFromRoute = getNameFromRoute; - exports.getNavigationRouteKeyByName = getNavigationRouteKeyByName; - exports.getNavigationRoutes = getNavigationRoutes; - exports.getNavigationScreenByName = getNavigationScreenByName; - exports.getPublicationsButton = getPublicationsButton; - exports.navigateToCategory = navigateToCategory; - exports.openMyHome = openMyHome; - exports.parseExtra = parseExtra; - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _IndexHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _navigationUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - function openFavorite(item) { - return _IndexHelper.default.SP.values.drawer.actions.open_favorites === item.feedUrl || _IndexHelper.default.SP.values.drawer.actions.open_favorites === item.action || item.drawerItemKey === "Favorites" || item.category === "Favorites" || item.params === "Favorites"; - } - - function openMyHome(item) { - return _IndexHelper.default.SP.values.drawer.actions.open_my_home === item.feedUrl; - } - - function getDrawerAction(item) { - var action = item.action; - var shouldUseFullscreenLayout = item.shouldUseFullscreenLayout; - - if (shouldUseFullscreenLayout === "1") { - action = _IndexHelper.default.SP.values.drawer.actions.open_full_screen; - } else if (openFavorite(item)) { - action = _IndexHelper.default.SP.values.drawer.actions.open_favorites; - } else if (openMyHome(item)) { - action = _IndexHelper.default.SP.values.drawer.actions.open_my_home; - } - - return action; - } - - function parseExtra(extra, key, defaultValue) { - var _value; - - var value; - - if (extra) { - if (Array.isArray(extra)) { - var extraArray = extra.find(function (e) { - return e[0] === key; - }); - - if (extraArray) { - value = extraArray[1]; - } - } else if (typeof extra === "object") { - value = extra[key]; - } - } - - return (_value = value) != null ? _value : defaultValue; - } - - function getMyHomeLabel() { - var _global$getRssIndex = global.getRssIndex(), - drawerItemsFlat = _global$getRssIndex.drawerItemsFlat, - footerItems = _global$getRssIndex.footerItems; - - var found = drawerItemsFlat.find(function (drawerItem) { - return openMyHome(drawerItem); - }); - - if (!found && footerItems) { - found = footerItems.find(function (drawerItem) { - return openMyHome(drawerItem); - }); - } - - if (found) { - return found.displayName; - } - - return ""; - } - - function getEpaperLabel() { - var _global$getRssIndex2 = global.getRssIndex(), - drawerItemsFlat = _global$getRssIndex2.drawerItemsFlat, - footerItems = _global$getRssIndex2.footerItems; - - var open_epaper = _IndexHelper.default.SP.values.drawer.actions.open_epaper; - var found = drawerItemsFlat.find(function (drawerItem) { - return getDrawerAction(drawerItem) === open_epaper; - }); - - if (!found && footerItems) { - found = footerItems.find(function (drawerItem) { - return getDrawerAction(drawerItem) === open_epaper; - }); - } - - if (found) { - return found.displayName; - } - - return ""; - } - - function getNameFromRoute(route) { - return route.substr(0, route.lastIndexOf("_")); - } - - function getDrawerItemFromStructureAndState(structure, state) { - var routeName = _navigationUtils.default.getActiveRouteFromState(state); - - return _navigationUtils.default.getDrawerItem(structure.map(function (_ref) { - var item = _ref.item; - return item; - }), getNameFromRoute(routeName)); - } - - function getNavigationRoutes() { - var _global$getRssIndex3 = global.getRssIndex(), - items = _global$getRssIndex3.drawerItemsFlat, - footerItems = _global$getRssIndex3.footerItems; - - var routes = []; - var footerRoutesToAdd = []; - - if (footerItems) { - footerRoutesToAdd = footerItems.filter(function (footerItem) { - return items.find(function (item) { - return item.drawerItemKey === footerItem.drawerItemKey; - }) === undefined; - }); - } - - if (items) { - items.forEach(function (item, index) { - routes.push({ - item: item, - route: item.routeKey, - inDrawer: true - }); - }); - routes.push({ - item: { - displayName: global.strings("str_search"), - drawerItemKey: global.strings("str_search"), - action: _IndexHelper.default.SP.values.drawer.actions.open_search - }, - route: "search", - inDrawer: false - }); - footerRoutesToAdd.forEach(function (item, index) { - routes.push({ - item: item, - route: item.routeKey, - inDrawer: false - }); - }); - } - - return routes; - } - - function getNavigationScreenByName(name) { - var screens = getNavigationRoutes(); - var screen = screens.find(function (_ref2) { - var route = _ref2.route; - return route.startsWith(name + "_"); - }); - return screen; - } - - function getNavigationRouteKeyByName(name) { - var screen = getNavigationScreenByName(name); - - if (screen) { - return screen.route; - } - - return name; - } - - function navigateToCategory(navigation, category) { - var route = category; - var categoryScreen = getNavigationScreenByName(category); - - if (categoryScreen) { - route = categoryScreen.route; - - if (categoryScreen.item && categoryScreen.item.parent) { - var parentScreen = getNavigationScreenByName(categoryScreen.item.parent); - - if (parentScreen && parentScreen.item && parentScreen.item.type === "section" && parentScreen.item.layout === "tab") { - navigation.navigate(parentScreen.route, { - screen: route - }); - return; - } - } - } - - navigation.navigate(route); - } - - function getInitialRouteFromStructure(structure) { - try { - return structure.find(function (_ref3) { - var isInitialRoute = _ref3.isInitialRoute; - return isInitialRoute; - }).route; - } catch (e) { - return ""; - } - } - - function getDrawerStructure(routes, initialRoute) { - var structure = []; - var currentSection; - routes.forEach(function (route) { - var isSection = route.item.type === "section"; - var isFeed = route.item.type === "feed"; - var isInitialRoute = route.route === initialRoute; - route.isInitialRoute = isInitialRoute; - - if (isSection) { - if (route.item.layout === "tab") { - route.tabs = []; - currentSection = route; - } - - structure.push(route); - } else if (isFeed && currentSection && currentSection.tabs && !route.item.neverShowInDrawer && route.item.parent === currentSection.item.drawerItemKey) { - currentSection.tabs.push(route); - - if (isInitialRoute) { - currentSection.isInitialRoute = true; - } - } else { - structure.push(route); - } - }); - return structure; - } - - function getPublicationsButton(index) { - return { - action: _IndexHelper.default.SP.values.drawer.actions.open_publications, - depth: 0, - displayName: global.strings("btn_publications"), - drawerItemKey: global.strings("btn_publications"), - routeKey: global.strings("btn_publications") + "_" + index, - extra: [], - image: _$$_REQUIRE(_dependencyMap[4]), - neverShowInDrawer: false, - parent: "", - textAlign: "left", - type: "button", - visibleOnAndroid: "1", - visibleOnIOS: "1", - cssKey: "publications" - }; - } -},2050,[3,16,1967,2048,1731]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var _default = exports.default = _reactNative.StyleSheet.create({ - image_full: { - position: "absolute", - top: 0, - start: 0, - end: 0, - bottom: 0, - margin: 0 - }, - container_full: { - flex: 1, - flexDirection: "column", - justifyContent: "space-between", - paddingBottom: _$$_REQUIRE(_dependencyMap[1]).CONTAINER_VERTICAL_PADDING - }, - title_full: { - color: "white", - textAlign: "left", - textShadowColor: _$$_REQUIRE(_dependencyMap[2]).colors.black, - textShadowOffset: { - width: 1, - height: 1 - }, - textShadowRadius: 5 - }, - title_phone: { - marginEnd: _$$_REQUIRE(_dependencyMap[1]).HORIZONTAL_MARGIN - }, - details: { - color: _$$_REQUIRE(_dependencyMap[2]).colors.white, - textShadowColor: _$$_REQUIRE(_dependencyMap[2]).colors.black, - textShadowOffset: { - width: 1, - height: 1 - }, - textShadowRadius: 2 - }, - gradient: { - backgroundColor: _$$_REQUIRE(_dependencyMap[2]).colors.transparent, - position: "absolute", - top: 0, - start: 0, - end: 0, - bottom: 0 - } - }); -},2051,[18,2036,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.NATIVO_CARD_HEIGHT = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[7]); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _fontText = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[9])); - - var _card = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[10])); - - var _blurImageComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var NATIVO_CARD_HEIGHT = exports.NATIVO_CARD_HEIGHT = 550; - - var CardNativo = exports.default = function (_React$PureComponent) { - function CardNativo(props) { - var _this; - - (0, _classCallCheck2.default)(this, CardNativo); - _this = _callSuper(this, CardNativo, [props]); - _this.fontSize = _$$_REQUIRE(_dependencyMap[12]).FONT_SIZE.TEXT(); - _this.fontSizeTitle = _$$_REQUIRE(_dependencyMap[12]).FONT_SIZE.TITLE(); - return _this; - } - - (0, _inherits2.default)(CardNativo, _React$PureComponent); - return (0, _createClass2.default)(CardNativo, [{ - key: "_getTopComponent", - value: function _getTopComponent() { - var TopComponent = this.props.TopComponent; - - if (TopComponent) { - return TopComponent; - } - - return null; - } - }, { - key: "_getBottomComponent", - value: function _getBottomComponent() { - var BottomComponent = this.props.BottomComponent; - - if (BottomComponent) { - return BottomComponent; - } - - return null; - } - }, { - key: "render", - value: function render() { - var _this$props = this.props, - item = _this$props.item, - ImageComponent = _this$props.ImageComponent; - var title = item.title, - summary = item.summary; - var image; - - if (ImageComponent) { - image = ImageComponent; - } else { - image = (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_blurImageComponent.default, { - image: item.image, - style: _card.default.image, - height: _card.IMAGE_HEIGHT - }); - } - - var titleProps = {}; - - if (title && title.nativeID) { - titleProps.nativeID = title.nativeID; - } - - var summaryProps = {}; - - if (summary && summary.nativeID) { - summaryProps.nativeID = summary.nativeID; - } - - return (0, _$$_REQUIRE(_dependencyMap[13]).jsxs)(_reactNative.View, { - style: { - height: NATIVO_CARD_HEIGHT, - flexDirection: "column" - }, - children: [this._getTopComponent(), (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_reactNative.View, { - style: { - flex: 0, - width: "100%", - height: 300 - }, - children: image - }), (0, _$$_REQUIRE(_dependencyMap[13]).jsxs)(_reactNative.View, { - style: { - flex: 1 - }, - children: [(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_$$_REQUIRE(_dependencyMap[14]).Css, { - classes: ["card-title"], - children: (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_fontText.default, Object.assign({ - style: [_card.default.title, { - fontSize: this.fontSizeTitle - }], - type: _fontText.Type.medium - }, titleProps, { - children: item.title - })) - }), (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_$$_REQUIRE(_dependencyMap[14]).Css, { - classes: ["card-summary"], - children: (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_fontText.default, Object.assign({ - style: [_card.default.summary, { - fontSize: this.fontSize - }] - }, summaryProps, { - children: item.summary - })) - })] - }), this._getBottomComponent()] - }); - } - }]); - }(_react.default.PureComponent); - - CardNativo.propTypes = { - item: _propTypes.default.shape({ - title: _propTypes.default.string, - image: _propTypes.default.string, - thumbnail: _propTypes.default.string, - summary: _propTypes.default.string - }), - TopComponent: _propTypes.default.node, - BottomComponent: _propTypes.default.node, - ImageComponent: _propTypes.default.node - }; - CardNativo.defaultProps = { - TopComponent: undefined, - BottomComponent: undefined, - ImageComponent: undefined - }; -},2052,[3,6,7,11,13,14,16,18,568,800,2053,2054,2042,179,803]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.IMAGE_HEIGHT = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var IMAGE_HEIGHT = exports.IMAGE_HEIGHT = 300; - - var _default = exports.default = _reactNative.StyleSheet.create({ - outline: { - flexDirection: "column" - }, - image: { - height: IMAGE_HEIGHT, - width: null, - flex: 1 - }, - gradient: { - height: IMAGE_HEIGHT, - backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.transparent, - position: "absolute", - top: 0, - start: 0, - end: 0, - bottom: 0 - }, - title: { - start: 0, - margin: _$$_REQUIRE(_dependencyMap[2]).HORIZONTAL_MARGIN, - color: _$$_REQUIRE(_dependencyMap[1]).colors.title - }, - titleOverImage: { - margin: _$$_REQUIRE(_dependencyMap[2]).HORIZONTAL_MARGIN, - color: _$$_REQUIRE(_dependencyMap[1]).colors.white, - position: "absolute", - bottom: 0, - start: 0, - end: 0, - textShadowColor: _$$_REQUIRE(_dependencyMap[1]).colors.black, - textShadowOffset: { - width: 1, - height: 1 - }, - textShadowRadius: 5 - }, - summary: { - start: 0, - fontSize: 20, - margin: _$$_REQUIRE(_dependencyMap[2]).SUMMARY_VERTICAL_MARGIN, - color: _$$_REQUIRE(_dependencyMap[1]).colors.summary - }, - icon: { - height: 30, - width: 30, - marginStart: 5, - marginEnd: 5 - } - }); -},2053,[18,438,2036]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[8]); - - var _imageComponent = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[9])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var BlurImage = exports.default = function (_React$Component) { - function BlurImage(props) { - var _this; - - (0, _classCallCheck2.default)(this, BlurImage); - _this = _callSuper(this, BlurImage, [props]); - _this.onLayout = _this._onLayout.bind(_this); - _this.state = { - loading: true, - enableBlur: false - }; - return _this; - } - - (0, _inherits2.default)(BlurImage, _React$Component); - return (0, _createClass2.default)(BlurImage, [{ - key: "_getBackgroundImage", - value: function _getBackgroundImage(uri) { - var _this2 = this; - - var _this$props = this.props, - height = _this$props.height, - blurRadius = _this$props.blurRadius, - style = _this$props.style; - var enableBlur = this.state.enableBlur; - var imageStyle = [{ - height: height, - width: null, - flex: 1 - }, style]; - return (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_imageComponent.default, { - style: imageStyle, - source: { - uri: uri - }, - resizeMode: "cover", - onLoadEnd: function onLoadEnd() { - var onRendered = _this2.props.onRendered; - - if (onRendered) { - onRendered(); - } - }, - blurRadius: enableBlur ? blurRadius : 0 - }); - } - }, { - key: "_getForegroundImage", - value: function _getForegroundImage(uri) { - var _this$props2 = this.props, - height = _this$props2.height, - style = _this$props2.style, - onImageError = _this$props2.onImageError; - var enableBlur = this.state.enableBlur; - var imageStyle = [{ - height: height, - width: null, - position: "absolute", - top: 0, - start: 0, - end: 0 - }, style]; - return enableBlur ? (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_imageComponent.default, { - resizeMethod: "scale", - style: imageStyle, - source: { - uri: uri - }, - resizeMode: "contain", - onError: function onError() { - if (typeof onImageError === "function") { - onImageError(); - } - } - }) : null; - } - }, { - key: "_onLayout", - value: function _onLayout(_ref) { - var _this3 = this; - - var nativeEvent = _ref.nativeEvent; - var image = this.props.image; - var _nativeEvent$layout = nativeEvent.layout, - containerWidth = _nativeEvent$layout.width, - containerHeight = _nativeEvent$layout.height; - (0, _imageComponent.getSize)(image, function (imageWidth, imageHeight) { - var enableBlur = false; - - if (imageWidth <= imageHeight) { - enableBlur = true; - } else { - var scaleWidthFactor = containerWidth / imageWidth; - var scaleHeightFactor = containerHeight / imageHeight; - - if (scaleWidthFactor > 2 || scaleHeightFactor > 2) { - enableBlur = true; - } else { - var scaledHeight = imageHeight * scaleWidthFactor; - var heightDiff = scaledHeight - containerHeight; - - if (heightDiff > 0 && heightDiff / scaledHeight > 0.5) { - enableBlur = true; - } - } - } - - _this3.setState({ - loading: false, - enableBlur: enableBlur - }); - }, function () { - _this3.setState({ - loading: false - }); - }); - } - }, { - key: "_getImage", - value: function _getImage(uri) { - var _this$props3 = this.props, - onImagePress = _this$props3.onImagePress, - height = _this$props3.height; - - if (onImagePress) { - return (0, _$$_REQUIRE(_dependencyMap[10]).jsxs)(_reactNative.TouchableOpacity, { - style: { - height: height - }, - onPress: onImagePress, - children: [this._getBackgroundImage(uri), this._getForegroundImage(uri)] - }); - } - - return (0, _$$_REQUIRE(_dependencyMap[10]).jsxs)(_reactNative.View, { - children: [this._getBackgroundImage(uri), this._getForegroundImage(uri)] - }); - } - }, { - key: "render", - value: function render() { - var _this$props4 = this.props, - image = _this$props4.image, - height = _this$props4.height; - var loading = this.state.loading; - return !loading ? this._getImage(image) : (0, _$$_REQUIRE(_dependencyMap[10]).jsx)(_reactNative.View, { - style: { - height: height - }, - onLayout: this.onLayout - }); - } - }]); - }(_react.default.Component); - - BlurImage.propTypes = { - height: _propTypes.default.number, - blurRadius: _propTypes.default.number, - image: _propTypes.default.string, - onRendered: _propTypes.default.func, - onImagePress: _propTypes.default.func, - onImageError: _propTypes.default.func, - style: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object, _propTypes.default.array]) - }; - BlurImage.defaultProps = { - height: 300, - blurRadius: 10 - }; -},2054,[3,6,7,11,13,14,568,16,18,574,179]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.parsePriority = exports.getCategoryLabel = exports.formatResourcesToDTO = exports.formatResourceToDTO = exports.formatDate = exports.formatArticlesToDTO = exports.formatArticleToDTO = exports.formatAction = exports.decodeField = undefined; - - var _RssActionManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _Resource = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _navigationUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var formatAction = exports.formatAction = function formatAction(action) { - var actionManager = new _RssActionManager.default(); - actionManager.initActions(action); - return actionManager; - }; - - var formatDate = exports.formatDate = function formatDate(articleDate, lastUpdate, hideDate) { - if (hideDate) { - return ""; - } - - if (lastUpdate) { - return global.date(lastUpdate); - } - - if (articleDate) { - return global.date(articleDate); - } - - return ""; - }; - - var parsePriority = exports.parsePriority = function parsePriority(rawPriority) { - var priority = {}; - var row = "1"; - - try { - priority = JSON.parse(rawPriority); - - if (!priority[1]) { - priority[1] = { - D: row, - d: row - }; - } - } catch (error) { - var matches = rawPriority.match(/([0-9]+(?:.5)?)x([0-9]+(?:.5)?)/); - var col = "1"; - - if (matches.length > 2) { - col = matches[1]; - row = matches[2]; - } - - var rowCol = col + "x" + row; - priority = { - 1: { - D: row, - d: row - }, - 2: { - D: rowCol, - d: rowCol - }, - 3: { - D: rowCol, - d: rowCol - }, - 4: { - D: rowCol, - d: rowCol - }, - isHighlightedBox: "0" - }; - } - - return priority; - }; - - var decodeField = exports.decodeField = function decodeField(field) { - return field ? _$$_REQUIRE(_dependencyMap[4]).StringUtils.decodeHTML(field) : undefined; - }; - - var getCategoryLabel = exports.getCategoryLabel = function getCategoryLabel(caLabel) { - var label; - - try { - var _global$getRssIndex = global.getRssIndex(), - drawerItemsFlat = _global$getRssIndex.drawerItemsFlat; - - var drawerItem = _navigationUtils.default.getDrawerItem(drawerItemsFlat, caLabel); - - if (drawerItem) { - label = drawerItem.displayName; - } - } catch (e) {} - - return decodeField(label || caLabel); - }; - - var formatArticleToDTO = exports.formatArticleToDTO = function formatArticleToDTO(article) { - var mArticle = new (_$$_REQUIRE(_dependencyMap[5]).Article)(); - mArticle.position = article.pl_id ? article.pl_id : undefined; - mArticle.feedId = article.ar_feedId ? article.ar_feedId : undefined; - mArticle.categoryId = article.ca_id ? article.ca_id : undefined; - mArticle.action = formatAction(article.ar_action); - mArticle.priority = article.pl_priority ? parsePriority(article.pl_priority) : undefined; - mArticle.byline = decodeField(article.ar_byline); - mArticle.category = getCategoryLabel(article.ca_label); - mArticle.summary = decodeField(article.ar_summary); - mArticle.title = decodeField(article.ar_title); - mArticle.unixDate = article.ar_updatedate || article.ar_articledate; - mArticle.insertDate = article.ar_insertdate ? article.ar_insertdate : undefined; - mArticle.read = article.ar_read ? article.ar_read : undefined; - mArticle.source = article.ar_source ? article.ar_source : undefined; - mArticle.thumbnail = article.ar_thumb ? article.ar_thumb : undefined; - mArticle.image = article.ar_image ? article.ar_image : undefined; - mArticle.gallery = (0, _$$_REQUIRE(_dependencyMap[6]).rssGallery)(article.ar_gallery); - mArticle.html = article.ar_htmlbody ? article.ar_htmlbody : undefined; - mArticle.isBreaking = article.ar_isBreaking ? article.ar_isBreaking === 1 : undefined; - mArticle.isHtmlArticle = article.ar_isHtmlArticle ? article.ar_isHtmlArticle === 1 : undefined; - mArticle.isEdition = article.ar_catId === 9999; - mArticle.isLinkToCategory = article.ar_catId === 8888; - mArticle.isAdvertisement = article.ar_catId === 7777; - mArticle.isHighlightedBox = mArticle.priority && mArticle.priority.isHighlightedBox === "1"; - mArticle.isPremiumArticle = mArticle.action.hasPropertyPremiumArticle(); - mArticle.isTouchable = !mArticle.isAdvertisement; - mArticle.setExtraFields(article.ar_extraFields); - mArticle.date = formatDate(article.ar_articledate, article.ar_updatedate, mArticle.isAdvertisement || mArticle.action.hasPropertyHideDate()); - return mArticle; - }; - - var formatResourceToDTO = exports.formatResourceToDTO = function formatResourceToDTO(resource) { - var dto = new _Resource.default(); - dto.setFeedId(resource.rr_feedId); - dto.setValue(resource.re_value); - dto.setType(resource.rt_name); - return dto; - }; - - var formatArticlesToDTO = exports.formatArticlesToDTO = function formatArticlesToDTO(articles) { - var adIndex = 0; - return articles.map(function (article) { - return formatArticleToDTO(article); - }).filter(function (article) { - return article.action.hasPropertyOS(); - }).map(function (article) { - if (article.isAdvertisement) { - article.adIndex = adIndex; - adIndex += 1; - } - - return article; - }); - }; - - var formatResourcesToDTO = exports.formatResourcesToDTO = function formatResourcesToDTO(resources) { - return resources.map(function (resource) { - return formatResourceToDTO(resource); - }); - }; -},2055,[3,1968,1978,2048,438,1976,2056]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.newsmemoryArticleGallery = newsmemoryArticleGallery; - exports.newsmemoryGallery = newsmemoryGallery; - exports.rssGallery = rssGallery; - - var RssParser = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[0])); - - var NewsMemoryParser = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[1])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function rssGallery(json) { - return RssParser.getGallery(json); - } - - function newsmemoryGallery(json) { - return NewsMemoryParser.getGallery(json); - } - - function newsmemoryArticleGallery(json) { - return NewsMemoryParser.getArticleGallery(json); - } -},2056,[1979,2057]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.getArticleGallery = getArticleGallery; - exports.getGallery = getGallery; - - function getMedia(item) { - return item.media ? item.media : []; - } - - function getTitle(item) { - return item.title ? item.title : ""; - } - - function getThumbnail(item) { - var url = ""; - - if (typeof item.thumb === "string") { - url = item.thumb; - } else if (typeof item.thumb === "object") { - url = item.thumb.src || ""; - } - - return _$$_REQUIRE(_dependencyMap[0]).StringUtils.convertNewsmemoryDomainToHTTPS(url); - } - - function getCaption(item) { - return item.hd_summary ? item.hd_summary : ""; - } - - function getUrl() { - var item = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var url = ""; - - if (typeof item.image === "string") { - url = item.image; - } else if (typeof item.image === "object") { - url = item.image.url || ""; - } - - return _$$_REQUIRE(_dependencyMap[0]).StringUtils.convertNewsmemoryDomainToHTTPS(url); - } - - function parseGalleryItem(item, title) { - if (!item) { - throw new Error("gallery item is undefined"); - } - - var gallery = {}; - gallery.url = getUrl(item); - - if (!gallery.url) { - throw new Error("missing url"); - } - - gallery.title = title; - gallery.action = "image"; - gallery.extension = "jpg"; - gallery.caption = getCaption(item); - gallery.thumbnail = getThumbnail(item); - return gallery; - } - - function getGallery(json) { - var gallery = []; - - if (Array.isArray(json) && json.length > 0) { - json = json[0]; - } - - if (json) { - var title = getTitle(json); - var media = getMedia(json); - media.forEach(function (item, index) { - try { - var gItem = parseGalleryItem(item, title); - gItem.index = index; - gallery.push(gItem); - } catch (e) {} - }); - } - - return gallery; - } - - function getArticleGallery(json) { - if (json) { - return json.map(function (item) { - return { - url: item.hrUrl || item.url, - action: "image", - extension: "jpg", - width: item.width, - height: item.height, - caption: _$$_REQUIRE(_dependencyMap[0]).StringUtils.decodeHTML(item.caption) - }; - }).filter(function (item) { - return !_$$_REQUIRE(_dependencyMap[0]).JSUtils.isEmpty(item.url); - }); - } - - return []; - } -},2057,[438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[2]); - - var _tileGridNativo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _tileListNativo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _cardNativo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _OptionalPackages$get = _optionalPackageUtils.default.getNativoAds(), - NativoVideo = _OptionalPackages$get.NativoVideo; - - var styles = _reactNative.StyleSheet.create({ - textRow: { - flexDirection: "row", - alignItems: "center", - marginHorizontal: _$$_REQUIRE(_dependencyMap[8]).HORIZONTAL_MARGIN - } - }); - - var NativeVideoAdTemplate = function NativeVideoAdTemplate(props) { - if (!_optionalPackageUtils.default.isNativoSDKAvailable()) { - return null; - } - - var adDate = props.adDate, - adTitle = props.adTitle, - adDescription = props.adDescription, - adAuthorName = props.adAuthorName, - index = props.index, - grid = props.grid, - card = props.card, - dimensions = props.dimensions, - headerText = props.headerText; - var item = { - titleNativeID: "adTitle", - summaryNativeID: "adDescription", - title: adTitle, - summary: adDescription, - gridIndex: index - }; - var cssClasses = ["rss-nativo-ad-template", "rss-nativo-video-ad-template"]; - var cssHeaderClasses = ["rss-nativo-ad-template-header", "rss-nativo-video-ad-template-header"]; - var cssHeaderTextClasses = ["rss-nativo-ad-template-header-text", "rss-nativo-video-ad-template-header-text"]; - var cssChoicesImageClasses = ["rss-nativo-ad-template-choices-image", "rss-nativo-video-ad-template-choices-image"]; - var cssVideoClasses = ["rss-nativo-video-ad-template-video"]; - var cssBottomClasses = ["rss-nativo-ad-template-bottom", "rss-nativo-video-ad-template-bottom"]; - var cssDateClasses = ["rss-nativo-ad-template-date", "rss-nativo-video-ad-template-date"]; - var cssAuthorImageClasses = ["rss-nativo-ad-template-author-image", "rss-nativo-video-ad-template-author-image"]; - var cssAuthorNameClasses = ["rss-nativo-ad-template-author-name", "rss-nativo-video-ad-template-author-name"]; - var videoStyle = {}; - var adAuthorImageStyle = { - width: 40, - height: 20 - }; - var layoutSuffix; - - if (card) { - layoutSuffix = "card"; - videoStyle = { - flex: 1 - }; - } else if (grid) { - layoutSuffix = "grid"; - videoStyle = { - flex: 1 - }; - } else { - layoutSuffix = "list"; - videoStyle = { - flex: 1, - margin: 4 - }; - adAuthorImageStyle = { - width: 0, - height: 20 - }; - } - - cssClasses.push("rss-nativo-ad-template-" + layoutSuffix, "rss-nativo-video-ad-template-" + layoutSuffix); - cssHeaderClasses.push("rss-nativo-ad-template-header-" + layoutSuffix, "rss-nativo-video-ad-template-header-" + layoutSuffix); - cssHeaderTextClasses.push("rss-nativo-ad-template-header-text-" + layoutSuffix, "rss-nativo-video-ad-template-header-text-" + layoutSuffix); - cssChoicesImageClasses.push("rss-nativo-ad-template-choices-image-" + layoutSuffix, "rss-nativo-video-ad-template-choices-image-" + layoutSuffix); - cssVideoClasses.push("rss-nativo-video-ad-template-video-" + layoutSuffix); - cssBottomClasses.push("rss-nativo-ad-template-bottom-" + layoutSuffix, "rss-nativo-video-ad-template-bottom-" + layoutSuffix); - cssDateClasses.push("rss-nativo-ad-template-date-" + layoutSuffix, "rss-nativo-video-ad-template-date-" + layoutSuffix); - cssAuthorImageClasses.push("rss-nativo-ad-template-author-image-" + layoutSuffix, "rss-nativo-video-ad-template-author-image-" + layoutSuffix); - cssAuthorNameClasses.push("rss-nativo-ad-template-author-name-" + layoutSuffix, "rss-nativo-video-ad-template-author-name-" + layoutSuffix); - var TopComponent = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssHeaderClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_reactNative.View, { - style: styles.textRow, - children: [(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssHeaderTextClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Text, { - style: { - fontWeight: "bold", - flex: 1 - }, - children: headerText - }) - }), (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssChoicesImageClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Image, { - nativeID: "adChoicesImage", - style: { - height: 20, - width: 20 - } - }) - })] - }) - }); - var BottomComponent = (0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssBottomClasses, - children: [(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.View, { - style: styles.textRow, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssDateClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Text, { - nativeID: "adDate", - style: { - flex: 1 - }, - children: (0, _$$_REQUIRE(_dependencyMap[11]).formatDate)(adDate / 1000) - }) - }) - }), (0, _$$_REQUIRE(_dependencyMap[9]).jsxs)(_reactNative.View, { - style: styles.textRow, - children: [(0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssAuthorImageClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Image, { - nativeID: "adAuthorImage", - resizeMode: "contain", - style: adAuthorImageStyle - }) - }), (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssAuthorNameClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.Text, { - nativeID: "adAuthorName", - children: adAuthorName - }) - })] - })] - }); - var ImageComponent = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssVideoClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(NativoVideo, { - style: videoStyle - }) - }); - var ad; - - if (card) { - ad = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_cardNativo.default, { - item: item, - TopComponent: TopComponent, - BottomComponent: BottomComponent, - ImageComponent: ImageComponent - }); - } else if (grid) { - ad = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_tileGridNativo.default, { - roundedBorder: true, - item: item, - TopComponent: TopComponent, - BottomComponent: BottomComponent, - ImageComponent: ImageComponent - }); - } else { - ad = (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_tileListNativo.default, { - item: item, - TopComponent: TopComponent, - BottomComponent: BottomComponent, - ImageComponent: ImageComponent - }); - } - - var key = card ? "card" : grid; - - var _DeviceUtils$getScree = _deviceUtils.default.getScreenDimensions(), - width = _DeviceUtils$getScree.width; - - var style = card ? { - width: width - _$$_REQUIRE(_dependencyMap[8]).HORIZONTAL_MARGIN - } : dimensions; - return (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).Css, { - classes: cssClasses, - children: (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_reactNative.View, { - nativeID: "nativoVideoAdView", - style: style, - children: ad - }, "nativo_" + index + "_" + key) - }); - }; - - var _default = exports.default = NativeVideoAdTemplate; -},2058,[3,16,18,2046,2030,2052,434,865,2036,179,803,2055]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[2]); - - var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _tileListNativo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _OptionalPackages$get = _optionalPackageUtils.default.getNativoAds(), - NativoWebContent = _OptionalPackages$get.NativoWebContent; - - var StandardDisplayAdTemplate = function StandardDisplayAdTemplate(props) { - if (!_optionalPackageUtils.default.isNativoSDKAvailable()) { - return null; - } - - var width = props.displayWidth, - height = props.displayHeight, - index = props.index, - grid = props.grid, - card = props.card, - dimensions = props.dimensions, - headerText = props.headerText; - var item = { - titleNativeID: "adTitle", - title: headerText, - gridIndex: index - }; - var cssClasses = ["rss-nativo-ad-std-template"]; - var cssWebClasses = ["rss-nativo-ad-std-template-web"]; - var layoutSuffix; - - if (card) { - layoutSuffix = "card"; - } else if (grid) { - layoutSuffix = "grid"; - } else { - layoutSuffix = "list"; - } - - cssClasses.push("rss-nativo-ad-std-template-" + layoutSuffix); - cssWebClasses.push("rss-nativo-ad-std-template-web-" + layoutSuffix); - var marginTop = 0; - var imageContainerWidth = width; - var modeStyles = {}; - - if (!card && !grid) { - var widthRatio = (dimensions.width - _$$_REQUIRE(_dependencyMap[6]).HORIZONTAL_MARGIN * 2) / width; - var heightRatio = (dimensions.height - _$$_REQUIRE(_dependencyMap[6]).HORIZONTAL_MARGIN * 2) / height; - var ratio = Math.min(widthRatio, heightRatio); - - if (ratio < 1) { - imageContainerWidth = width * ratio; - modeStyles = { - transform: [{ - scale: ratio - }, { - translateX: -(width - width * ratio) - }, { - translateY: -(height - height * ratio) - }, { - translateX: _$$_REQUIRE(_dependencyMap[6]).HORIZONTAL_MARGIN - }, { - translateY: _$$_REQUIRE(_dependencyMap[6]).HORIZONTAL_MARGIN - }] - }; - } else { - marginTop = Math.max((dimensions.height - _$$_REQUIRE(_dependencyMap[6]).HORIZONTAL_MARGIN * 2 - height) / 2, 0); - } - } else { - modeStyles = { - alignSelf: "center", - justifyContent: "center" - }; - - if (card) { - marginTop = Math.max((_$$_REQUIRE(_dependencyMap[7]).NATIVO_CARD_HEIGHT - height) / 2, 0); - } else { - marginTop = Math.max((dimensions.height - height) / 2, 0); - } - } - - var webContent = (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).Css, { - classes: cssWebClasses, - children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(NativoWebContent, Object.assign({}, props, { - style: Object.assign({ - width: width, - height: height, - marginTop: marginTop - }, modeStyles) - })) - }); - var key = card ? "card" : grid; - var style = card ? { - width: (0, _$$_REQUIRE(_dependencyMap[10]).getRssCardBoxWidth)(), - height: _$$_REQUIRE(_dependencyMap[7]).NATIVO_CARD_HEIGHT - } : dimensions; - return (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_$$_REQUIRE(_dependencyMap[9]).Css, { - classes: cssClasses, - children: (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_reactNative.View, { - nativeID: "nativoSDAdView", - style: style, - children: grid || card ? webContent : (0, _$$_REQUIRE(_dependencyMap[8]).jsx)(_tileListNativo.default, { - item: item, - ImageComponent: webContent, - imageContainerStyle: { - margin: _$$_REQUIRE(_dependencyMap[6]).HORIZONTAL_MARGIN, - width: imageContainerWidth, - flex: 0, - flexDirection: "row" - } - }) - }, "nativo_" + index + "_" + key) - }); - }; - - var _default = exports.default = StandardDisplayAdTemplate; -},2059,[3,16,18,434,865,2030,2036,2052,179,803,2042]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[8]); - - var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _cmpUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); - - var _tecnaviaPlatformUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); - - var _webUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var AdWebComponent = function (_React$PureComponent) { - function AdWebComponent(props) { - var _source$uri; - - var _this; - - (0, _classCallCheck2.default)(this, AdWebComponent); - _this = _callSuper(this, AdWebComponent, [props]); - var source = props.source; - var isVisibleAtFirstRender = (source == null ? undefined : (_source$uri = source.uri) == null ? undefined : _source$uri.indexOf("shouldWaitForLocal=1")) === -1; - _this.state = { - hidden: false, - visible: isVisibleAtFirstRender - }; - _this.setWidthToDeviceOne = _this._setWidthToDeviceOne.bind(_this); - _this.onMessage = _this._onMessage.bind(_this); - return _this; - } - - (0, _inherits2.default)(AdWebComponent, _React$PureComponent); - return (0, _createClass2.default)(AdWebComponent, [{ - key: "componentDidMount", - value: function componentDidMount() { - var _this2 = this; - - this.orientationListener = _$$_REQUIRE(_dependencyMap[15]).EventRegister.on(_events.default.ON_ORIENTATION_CHANGE, this.setWidthToDeviceOne); - this.changeAdsVisibility = _$$_REQUIRE(_dependencyMap[15]).EventRegister.on(_events.default.CHANGE_ADS_VISIBILITY, function (_ref) { - var hideAds = _ref.hideAds; - var hidden = _this2.state.hidden; - - if (hideAds && !hidden) { - _this2.setState({ - hidden: true - }); - } else if (!hideAds && hidden) { - _this2.setState({ - hidden: false - }); - } - }); - - this._handleVisibilityCallbacks(); - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate() { - this._handleVisibilityCallbacks(); - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - _$$_REQUIRE(_dependencyMap[15]).EventRegister.rm(this.orientationListener); - - _$$_REQUIRE(_dependencyMap[15]).EventRegister.rm(this.changeAdsVisibility); - } - }, { - key: "_handleVisibilityCallbacks", - value: function _handleVisibilityCallbacks() { - var _this$props = this.props, - source = _this$props.source, - onHide = _this$props.onHide, - onShow = _this$props.onShow; - - if (typeof onHide !== "function" || typeof onShow !== "function") { - return; - } - - var _this$state = this.state, - hidden = _this$state.hidden, - visible = _this$state.visible; - var uri = source.uri, - html = source.html; - - if (!uri && !html || hidden || !visible) { - onHide(); - return; - } - - onShow(this._getHeight()); - } - }, { - key: "_setWidthToDeviceOne", - value: function _setWidthToDeviceOne() { - this.forceUpdate(); - } - }, { - key: "_changeVisibility", - value: function _changeVisibility(visible) { - var currentVisible = this.state.visible; - - if (currentVisible !== visible) { - this.setState({ - visible: visible - }); - } - } - }, { - key: "_onMessage", - value: function _onMessage(data) { - try { - var type = data.type, - content = data.content; - - if (!type) { - return; - } - - switch (type) { - case "setViewVisibility": - var visibleParam = content.visible; - - if (visibleParam !== undefined) { - this._changeVisibility(visibleParam === 1); - } - - break; - } - } catch (e) {} - } - }, { - key: "_getHeight", - value: function _getHeight() { - var visible = this.state.visible; - - if (!visible) { - return 0; - } - - var model = this.props.model; - var height = parseInt(model.height, 10) || 150; - return height; - } - }, { - key: "render", - value: function render() { - var _this3 = this; - - var _this$props2 = this.props, - model = _this$props2.model, - source = _this$props2.source; - var hidden = this.state.hidden; - var uri = source.uri; - var html = source.html; - - if (!uri && !html || hidden) { - return null; - } - - if (html) { - var alignStyle = "\n body { \n text-align: center\n }"; - html = _webUtils.default.addViewportStyles(html, alignStyle); - source.html = _cmpUtils.default.addCMPScript(html); - } - - var settings = { - defaultHeight: 150, - cacheEnabled: false, - startInLoadingState: _$$_REQUIRE(_dependencyMap[16]).LoadingStatePosition.none, - innerRef: function innerRef(ref) { - _this3.webView = ref; - }, - onLocal: function onLocal(_ref2) { - var domain = _ref2.domain, - _ref2$getParams = _ref2.getParams, - getParams = _ref2$getParams === undefined ? {} : _ref2$getParams; - var navigation = _this3.props.navigation; - var issue = getParams.issue, - edition = getParams.edition, - data = getParams.data, - position = getParams.position, - category = getParams.category, - url = getParams.url, - visibleParam = getParams.visible; - - switch (domain) { - case "openEedition": - _NavigationService.default.main.reset("NewsmemoryNavigator", { - isFromRss: true, - issue: issue, - edition: edition - }); - - break; - - case "openAlertNewsArticle": - try { - var articles = (0, _$$_REQUIRE(_dependencyMap[17]).formatArticlesToDTO)(JSON.parse(_$$_REQUIRE(_dependencyMap[18]).StringUtils.decodeURIComponent(data))); - var clickedPosition = articles[position]; - navigation.navigate("ArticleScreen", { - items: articles, - item: clickedPosition, - orientation: _deviceUtils.default.currentOrientation - }); - } catch (e) {} - - break; - - case "openCategory": - try { - var screen = (0, _$$_REQUIRE(_dependencyMap[19]).getNavigationScreenByName)(category); - - if (screen) { - (0, _$$_REQUIRE(_dependencyMap[20]).performNavigation)(navigation, screen.item); - } - } catch (e) {} - - break; - - case "openLink": - _tecnaviaPlatformUtils.default.openURL(url); - - break; - - case "openInAppBrowser": - navigation.navigate("WebScreen", url); - break; - - case "setViewVisibility": - _this3._changeVisibility(visibleParam === "1"); - - break; - } - }, - injectedJavaScriptBeforeContentLoaded: !html ? _cmpUtils.default.getCMPScript() : undefined, - onLoadEnd: function onLoadEnd() { - if (_this3.webView && !html) { - _this3.webView.injectJavaScript("try{ document.body.style.textAlign = 'center'; }catch(e){}"); - - _this3.webView.injectJavaScript(_webUtils.default.addViewport()); - } - }, - onMessage: this.onMessage, - source: source, - onLinkClicked: function onLinkClicked(url) { - _tecnaviaPlatformUtils.default.openURL(url); - - return true; - } - }; - - if (model.useAutoHeight) { - return (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_$$_REQUIRE(_dependencyMap[22]).AutoHeightWebView, Object.assign({}, settings)); - } - - var width = model.width ? parseInt(model.width, 10) : "100%"; - - var height = this._getHeight(); - - return (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_reactNative.View, { - style: { - width: width, - height: height, - overflow: "hidden" - }, - children: (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_$$_REQUIRE(_dependencyMap[23]).BaseWebView, Object.assign({}, settings)) - }); - } - }]); - }(_react.default.PureComponent); - - AdWebComponent.propTypes = { - model: _propTypes.default.shape({ - width: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]), - height: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]), - useAutoHeight: _propTypes.default.bool - }), - source: _propTypes.default.shape({ - html: _propTypes.default.string, - uri: _propTypes.default.string - }), - navigation: _propTypes.default.shape({ - navigate: _propTypes.default.func - }), - onShow: _propTypes.default.func, - onHide: _propTypes.default.func - }; - AdWebComponent.defaultProps = { - source: {} - }; - - var _default = exports.default = function _default(props) { - var navigation = (0, _$$_REQUIRE(_dependencyMap[24]).useNavigation)(); - return (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(AdWebComponent, Object.assign({}, props, { - navigation: navigation - })); - }; -},2060,[3,6,7,11,13,14,568,16,18,1888,436,1906,434,1928,852,550,1919,2055,438,2050,2061,179,1924,1927,1073]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.performNavigation = performNavigation; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _RssContentHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _IndexHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _Paywall = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _navigationUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _tecnaviaPlatformUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _locationPermission = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - function dispatchNavigationToParent(navigation, screen) { - var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - navigation.navigate(screen, params); - } - - var navigateDirectlyToFullScreen = function () { - var _ref = (0, _asyncToGenerator2.default)(function* (navigation, settings) { - var displayName = settings.displayName, - drawerItemKey = settings.drawerItemKey, - disableAds = settings.disableAds; - var items = yield _RssContentHelper.default.getArticlesByCategory(drawerItemKey, disableAds === "1"); - - if (items && items.length) { - dispatchNavigationToParent(navigation, "ArticleScreen", { - items: items, - item: items[0], - settings: settings - }); - } else { - _$$_REQUIRE(_dependencyMap[10]).Toast.show(global.strings("msg_empty_category", { - category: displayName - }), { - position: "top" - }); - } - }); - - return function navigateDirectlyToFullScreen(_x, _x2) { - return _ref.apply(this, arguments); - }; - }(); - - function openEPaper(item) { - var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - (0, _$$_REQUIRE(_dependencyMap[11]).sendToAnalytics)(Object.assign({ - event_action: "drawer" - }, item)); - - _NavigationService.default.main.reset("NewsmemoryNavigator", Object.assign({ - isFromRss: true - }, params)); - } - - function performNavigation(navigation, item) { - var params = item.params, - drawerItemKey = item.drawerItemKey; - var routeName = (0, _$$_REQUIRE(_dependencyMap[12]).getNavigationRouteKeyByName)(drawerItemKey); - var action = (0, _$$_REQUIRE(_dependencyMap[12]).getDrawerAction)(item); - var _IndexHelper$SP$value = _IndexHelper.default.SP.values.drawer.actions, - open_settings = _IndexHelper$SP$value.open_settings, - open_url = _IndexHelper$SP$value.open_url, - open_archive_search = _IndexHelper$SP$value.open_archive_search, - open_in_app_purchase_page = _IndexHelper$SP$value.open_in_app_purchase_page, - open_optionspage_tab_editions = _IndexHelper$SP$value.open_optionspage_tab_editions, - open_optionspage_tab_login = _IndexHelper$SP$value.open_optionspage_tab_login, - open_optionspage_tab_contact = _IndexHelper$SP$value.open_optionspage_tab_contact, - open_optionspage_tab_help = _IndexHelper$SP$value.open_optionspage_tab_help, - open_optionspage_tab_archive = _IndexHelper$SP$value.open_optionspage_tab_archive, - open_paywall_account = _IndexHelper$SP$value.open_paywall_account, - upload_image = _IndexHelper$SP$value.upload_image, - open_epaper = _IndexHelper$SP$value.open_epaper, - open_live_news = _IndexHelper$SP$value.open_live_news, - open_full_screen = _IndexHelper$SP$value.open_full_screen, - open_publications = _IndexHelper$SP$value.open_publications, - open_drawer = _IndexHelper$SP$value.open_drawer; - var _IndexHelper$SP$value2 = _IndexHelper.default.SP.values.drawer.params, - open_le_vedette = _IndexHelper$SP$value2.open_le_vedette, - open_real_estate = _IndexHelper$SP$value2.open_real_estate, - open_auto_search = _IndexHelper$SP$value2.open_auto_search, - open_monster = _IndexHelper$SP$value2.open_monster, - open_fair = _IndexHelper$SP$value2.open_fair, - open_weather = _IndexHelper$SP$value2.open_weather, - open_events = _IndexHelper$SP$value2.open_events; - - var _global$getRssIndex = global.getRssIndex(), - latitude = _global$getRssIndex.latitude, - longitude = _global$getRssIndex.longitude, - archiveSearchURL = _global$getRssIndex.archiveSearchURL; - - var parsedParams; - - if (Array.isArray(params) && params.length > 0) { - parsedParams = params[0]; - } else if (typeof params === "string") { - parsedParams = params; - } - - var skipCloseDrawer = false; - - switch (action) { - case open_settings: - (0, _$$_REQUIRE(_dependencyMap[11]).sendToAnalytics)(Object.assign({ - event_action: "drawer" - }, item)); - - _navigationUtils.default.navigateToRssSettings(navigation, { - epaperLabel: (0, _$$_REQUIRE(_dependencyMap[12]).getEpaperLabel)() - }); - - break; - - case open_url: - (0, _$$_REQUIRE(_dependencyMap[11]).sendToAnalytics)(Object.assign({ - event_action: "drawer" - }, item)); - - switch (parsedParams) { - case open_le_vedette: - break; - - case open_real_estate: - break; - - case open_auto_search: - break; - - case open_monster: - dispatchNavigationToParent(navigation, "JobNavigator"); - break; - - case open_events: - var extra = { - user: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "externalAPIUsername", ""), - pass: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "externalAPIPassword", ""), - portal: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "externalAPIPortal", ""), - adUnitId: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "externalAdUnitId", ""), - adFallback: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "externalAdFallback", ""), - adWidth: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "externalAdWidth", 300), - adHeight: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "externalAdHeight", 250), - apiHomeOverride: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "HomeOverride", ""), - extraSearchField: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "ExtraSearchField", "[]") - }; - navigation.dispatch(_$$_REQUIRE(_dependencyMap[13]).CommonActions.navigate("EventNavigator", { - screen: "VerticalTabNavigator", - params: extra - })); - break; - - case open_fair: - break; - - case open_weather: - if (_optionalPackageUtils.default.isBaronAvailable()) { - _locationPermission.default.ask().then(function (result) { - _optionalPackageUtils.default.getBaronWeather().openWeather({ - server: global.getAppServer(), - latitude: latitude, - longitude: longitude - }); - }); - } else { - _$$_REQUIRE(_dependencyMap[10]).Toast.show(global.strings("err_module_unavailable", { - module: "Baron weather" - })); - } - - break; - - default: - if (parsedParams) { - var url = parsedParams; - (0, _$$_REQUIRE(_dependencyMap[11]).sendToAnalytics)({ - event_action: "open_link", - label: item.drawerItemKey - }); - var openInExternalBrowser = (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "target", "") === "_blank"; - - if (openInExternalBrowser) { - _tecnaviaPlatformUtils.default.openURL(url); - } else { - dispatchNavigationToParent(navigation, "WebScreen", { - url: url, - extra: { - ronDinoPromotionsAAK: (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "ronDinoPromotionsAAK", "") - }, - shareButtonIsEnabled: item.enableShareButton === "1" - }); - } - } - - } - - break; - - case open_archive_search: - (0, _$$_REQUIRE(_dependencyMap[11]).sendToAnalytics)(Object.assign({ - event_action: "drawer" - }, item)); - - if (archiveSearchURL) { - dispatchNavigationToParent(navigation, "WebScreen", { - url: archiveSearchURL - }); - } else {} - - break; - - case open_optionspage_tab_editions: - openEPaper(item, { - tab: _$$_REQUIRE(_dependencyMap[14]).tabs.home - }); - break; - - case open_in_app_purchase_page: - case open_optionspage_tab_login: - openEPaper(item, { - tab: _$$_REQUIRE(_dependencyMap[14]).tabs.login - }); - break; - - case open_optionspage_tab_contact: - openEPaper(item, { - tab: _$$_REQUIRE(_dependencyMap[14]).tabs.contact - }); - break; - - case open_optionspage_tab_help: - openEPaper(item, { - tab: _$$_REQUIRE(_dependencyMap[14]).tabs.help - }); - break; - - case open_optionspage_tab_archive: - openEPaper(item, { - tab: _$$_REQUIRE(_dependencyMap[14]).tabs.archive - }); - break; - - case open_epaper: - var tab = (0, _$$_REQUIRE(_dependencyMap[12]).parseExtra)(item.extra, "optionPageTab", ""); - openEPaper(item, { - tab: tab - }); - break; - - case open_paywall_account: - _Paywall.default.account(); - - break; - - case upload_image: - break; - - case open_full_screen: - navigateDirectlyToFullScreen(navigation, item); - break; - - case open_live_news: - _navigationUtils.default.navigateToHome(navigation); - - break; - - case open_drawer: - navigation.openDrawer(); - skipCloseDrawer = true; - break; - - case open_publications: - _NavigationService.default.main.navigate("PublicationsPageScreen"); - - break; - - default: - navigation.navigate(routeName); - } - - try { - if (!skipCloseDrawer) { - navigation.closeDrawer(); - } - } catch (e) {} - } -},2061,[3,270,2062,1967,1889,2048,865,1928,1888,2066,1929,2065,2050,1073,864]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.SORT = exports.ORDER = exports.DbDownloadPriority = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _RssContentManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var api = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[5])); - - var _downloadUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _tecnaviaFileUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _Resource = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _hintKeys = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - var DbDownloadPriority = exports.DbDownloadPriority = { - HIGH: 1, - MEDIUM: 2, - LOW: 3 - }; - var SORT = exports.SORT = { - BY_RELEVANCE: "0", - BY_DATE: "1", - BY_CATEGORIES: "2" - }; - var ORDER = exports.ORDER = { - ASC: "0", - DESC: "1" - }; - - var RssContentHelper = exports.default = function () { - function RssContentHelper() { - (0, _classCallCheck2.default)(this, RssContentHelper); - } - - return (0, _createClass2.default)(RssContentHelper, null, [{ - key: "getSortByValues", - value: function getSortByValues() { - return [{ - value: SORT.BY_RELEVANCE, - label: global.strings("str_relevance") - }, { - value: SORT.BY_DATE, - label: global.strings("str_date") - }, { - value: SORT.BY_CATEGORIES, - label: global.strings("str_categories") - }]; - } - }, { - key: "getOrderValues", - value: function getOrderValues() { - return [{ - value: ORDER.ASC, - label: global.strings("str_ascending") - }, { - value: ORDER.DESC, - label: global.strings("str_descending") - }]; - } - }, { - key: "databaseExists", - value: function () { - var _databaseExists = (0, _asyncToGenerator2.default)(function* () { - return _RssContentManager.default.databaseExists(); - }); - - function databaseExists() { - return _databaseExists.apply(this, arguments); - } - - return databaseExists; - }() - }, { - key: "replaceDatabase", - value: function () { - var _replaceDatabase = (0, _asyncToGenerator2.default)(function* (dbURL) { - try { - _$$_REQUIRE(_dependencyMap[11]).HintOverlay.show({ - config: _hintKeys.default.rssDbDownloadProgress(), - progress: true - }); - - yield _downloadUtils.default.getDatabase(dbURL, _RssContentManager.default.getDatabaseFolder(), { - progressCallback: function progressCallback(received, total) { - _$$_REQUIRE(_dependencyMap[12]).EventRegister.emit(_events.default.ON_RSS_DB_DOWNLOAD, { - progress: received / total, - downloading: true - }); - }, - callbackAfterUnzip: function () { - var _callbackAfterUnzip = (0, _asyncToGenerator2.default)(function* (downloadedDbPath) { - try { - yield _RssContentManager.default.deleteDatabase(); - } catch (e) {} - - try { - yield _tecnaviaFileUtils.default.moveFile(downloadedDbPath, _RssContentManager.default.getDatabaseFilePath()); - } catch (e) {} - - try { - yield _RssContentManager.default.migrateDB(); - } catch (e) {} - - _$$_REQUIRE(_dependencyMap[12]).EventRegister.emit(_events.default.ON_RSS_DB_DOWNLOAD, { - progress: 100, - downloading: false - }); - }); - - function callbackAfterUnzip(_x2) { - return _callbackAfterUnzip.apply(this, arguments); - } - - return callbackAfterUnzip; - }() - }); - - var _StringUtils$getUrlIn = _$$_REQUIRE(_dependencyMap[13]).StringUtils.getUrlInfo(dbURL), - domain = _StringUtils$getUrlIn.domain; - - (0, _$$_REQUIRE(_dependencyMap[14]).sendToAnalytics)({ - event_action: "download_rss_db", - domain: domain - }); - } catch (e) { - _$$_REQUIRE(_dependencyMap[11]).HintOverlay.hide(); - - throw e; - } - }); - - function replaceDatabase(_x) { - return _replaceDatabase.apply(this, arguments); - } - - return replaceDatabase; - }() - }, { - key: "download", - value: function () { - var _download = (0, _asyncToGenerator2.default)(function* (categoryName) { - var forceDownload = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - var callbackForPush = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function () {}; - var hideRefresh = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : function () {}; - var result = {}; - - try { - var databaseExists = yield _RssContentManager.default.databaseExists(); - var rssIndexConfig = global.getRssIndex(); - var dbURL = rssIndexConfig.getFullDbURL(); - - if (forceDownload || !databaseExists) { - yield RssContentHelper.replaceDatabase(dbURL); - result.msg = global.strings("msg_rss_reload_database"); - result.code = this.NEW_ITEMS_AVAILABLE; - result.priority = DbDownloadPriority.HIGH; - hideRefresh(); - callbackForPush(); - } else { - var categoryIds = yield _RssContentManager.default.getCategoryIdFromName(categoryName); - var newestEntry = yield _RssContentManager.default.newestEntry(categoryIds); - - var _yield$api$getJsonDbU = yield api.getJsonDbUpdate(newestEntry, categoryIds), - reloadAll = _yield$api$getJsonDbU.reloadAll, - newArticles = _yield$api$getJsonDbU.newArticles, - newArticlesCount = _yield$api$getJsonDbU.newArticlesCount, - playlists = _yield$api$getJsonDbU.playlists, - resources = _yield$api$getJsonDbU.resources, - resourceRels = _yield$api$getJsonDbU.resourceRels, - resourceTypes = _yield$api$getJsonDbU.resourceTypes, - dbMTime = _yield$api$getJsonDbU.dbMTime; - - hideRefresh(); - - if (dbMTime) { - rssIndexConfig.setDbMTime(dbMTime); - dbURL = rssIndexConfig.getFullDbURL(); - } - - if (reloadAll) { - yield RssContentHelper.replaceDatabase(dbURL); - result.msg = global.strings("msg_rss_reload_database"); - result.code = this.NEW_ITEMS_AVAILABLE; - result.priority = DbDownloadPriority.HIGH; - callbackForPush(); - } else if (newArticlesCount >= 0 || newArticles && newArticles.length) { - var counter = newArticlesCount !== undefined ? newArticlesCount : newArticles.length; - - if (counter === 0) { - result.msg = global.strings("msg_rss_no_new_articles_available", { - count: 0 - }); - result.code = this.NO_NEW_ITEMS_AVAILABLE; - result.priority = DbDownloadPriority.LOW; - } else { - if (counter === 1) { - result.msg = global.strings("msg_rss_one_new_article_available", { - count: counter - }); - } else { - result.msg = global.strings("msg_rss_new_articles_available", { - count: counter - }); - } - - result.code = this.NEW_ITEMS_AVAILABLE; - result.priority = DbDownloadPriority.MEDIUM; - } - - yield _RssContentManager.default.storeUpdate(newArticles, playlists, categoryIds, resources, resourceRels, resourceTypes, callbackForPush); - } else { - result.msg = global.strings("msg_rss_no_new_articles_available", { - count: 0 - }); - result.code = this.NO_NEW_ITEMS_AVAILABLE; - result.priority = DbDownloadPriority.LOW; - callbackForPush(); - } - } - } catch (e) { - result.error = global.strings("msg_rss_update_error"); - result.code = this.ERROR; - result.priority = DbDownloadPriority.HIGH; - hideRefresh(); - callbackForPush(); - } - - return result; - }); - - function download(_x3) { - return _download.apply(this, arguments); - } - - return download; - }() - }, { - key: "deleteDatabase", - value: function () { - var _deleteDatabase = (0, _asyncToGenerator2.default)(function* () { - return _RssContentManager.default.deleteDatabase(); - }); - - function deleteDatabase() { - return _deleteDatabase.apply(this, arguments); - } - - return deleteDatabase; - }() - }, { - key: "initDatabase", - value: function () { - var _initDatabase = (0, _asyncToGenerator2.default)(function* () { - return _RssContentManager.default.initDatabase(); - }); - - function initDatabase() { - return _initDatabase.apply(this, arguments); - } - - return initDatabase; - }() - }, { - key: "mergeArticlesAndResources", - value: function mergeArticlesAndResources(articles, resources) { - return articles.map(function (article) { - var currentArticleResources = resources.filter(function (resource) { - return resource.getFeedId() === article.getFeedId(); - }); - article.setResources(currentArticleResources); - return article; - }); - } - }, { - key: "getArticlesBySearch", - value: function () { - var _getArticlesBySearch = (0, _asyncToGenerator2.default)(function* (text, searchData) { - var articles = yield _RssContentManager.default.searchArticles(text); - articles = articles.filter(function (article) { - return RssContentHelper.filterArticleByCriteria(article, searchData); - }).filter(function (item, index, items) { - return items.find(function (_item, _i) { - return _i > index && item.getFeedId() === _item.getFeedId(); - }) === undefined; - }).filter(function (item) { - return !item.isLiveStream(); - }).sort(function (itemA, itemB) { - return RssContentHelper.sortArticlesByCriteria(itemA, itemB, Object.assign({}, searchData, { - text: text - })); - }); - var resources = yield _RssContentManager.default.getResources(articles); - return RssContentHelper.mergeArticlesAndResources(articles, resources); - }); - - function getArticlesBySearch(_x4, _x5) { - return _getArticlesBySearch.apply(this, arguments); - } - - return getArticlesBySearch; - }() - }, { - key: "getFirstArticleByCategory", - value: function () { - var _getFirstArticleByCategory = (0, _asyncToGenerator2.default)(function* (category) { - var withImage = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - var articles = yield _RssContentManager.default.getArticlesByCategory(category, true); - - if (withImage) { - articles = articles.filter(function (article) { - return !!article.image; - }); - } - - return articles.length > 0 ? articles[0] : undefined; - }); - - function getFirstArticleByCategory(_x6) { - return _getFirstArticleByCategory.apply(this, arguments); - } - - return getFirstArticleByCategory; - }() - }, { - key: "getArticlesByCategory", - value: function () { - var _getArticlesByCategory = (0, _asyncToGenerator2.default)(function* (category, removeAdvertisements) { - var articles = yield _RssContentManager.default.getArticlesByCategory(category, removeAdvertisements); - var resources = yield _RssContentManager.default.getResources(articles); - return RssContentHelper.mergeArticlesAndResources(articles, resources); - }); - - function getArticlesByCategory(_x7, _x8) { - return _getArticlesByCategory.apply(this, arguments); - } - - return getArticlesByCategory; - }() - }, { - key: "getArticleByFeedId", - value: function () { - var _getArticleByFeedId = (0, _asyncToGenerator2.default)(function* (feedId) { - var articles = yield _RssContentManager.default.getArticleByFeedId(feedId); - var resources = yield _RssContentManager.default.getResources(articles); - return RssContentHelper.mergeArticlesAndResources(articles, resources); - }); - - function getArticleByFeedId(_x9) { - return _getArticleByFeedId.apply(this, arguments); - } - - return getArticleByFeedId; - }() - }, { - key: "getArticleBySource", - value: function () { - var _getArticleBySource = (0, _asyncToGenerator2.default)(function* (source) { - var articles = yield _RssContentManager.default.getArticleBySource(source); - var resources = yield _RssContentManager.default.getResources(articles); - return RssContentHelper.mergeArticlesAndResources(articles, resources); - }); - - function getArticleBySource(_x10) { - return _getArticleBySource.apply(this, arguments); - } - - return getArticleBySource; - }() - }, { - key: "getArticlesInHomeCategory", - value: function () { - var _getArticlesInHomeCategory = (0, _asyncToGenerator2.default)(function* (category, removeAdvertisements) { - var articles = yield _RssContentManager.default.getArticlesInHomeCategory(category, removeAdvertisements); - var resources = yield _RssContentManager.default.getResources(articles); - return RssContentHelper.mergeArticlesAndResources(articles, resources); - }); - - function getArticlesInHomeCategory(_x11, _x12) { - return _getArticlesInHomeCategory.apply(this, arguments); - } - - return getArticlesInHomeCategory; - }() - }, { - key: "getArticlesInMyHome", - value: function () { - var _getArticlesInMyHome = (0, _asyncToGenerator2.default)(function* (categories) { - var articles = yield _RssContentManager.default.getArticlesInMyHome(categories); - var resources = yield _RssContentManager.default.getResources(articles); - return RssContentHelper.mergeArticlesAndResources(articles, resources); - }); - - function getArticlesInMyHome(_x13) { - return _getArticlesInMyHome.apply(this, arguments); - } - - return getArticlesInMyHome; - }() - }, { - key: "getCategoryByArticleFeed", - value: function () { - var _getCategoryByArticleFeed = (0, _asyncToGenerator2.default)(function* (feedId) { - return _RssContentManager.default.getCategoryFromFeedId(feedId); - }); - - function getCategoryByArticleFeed(_x14) { - return _getCategoryByArticleFeed.apply(this, arguments); - } - - return getCategoryByArticleFeed; - }() - }, { - key: "getMyHomeCategoryContent", - value: function () { - var _getMyHomeCategoryContent = (0, _asyncToGenerator2.default)(function* () { - var result = []; - var content = yield _RssContentManager.default.getCategoryContent(); - content.forEach(function (item) { - result.push({ - name: item.label, - count: item.count, - image: item.image.split("#").find(function (element) { - return element !== ""; - }) - }); - }); - return result; - }); - - function getMyHomeCategoryContent() { - return _getMyHomeCategoryContent.apply(this, arguments); - } - - return getMyHomeCategoryContent; - }() - }, { - key: "getCategories", - value: function () { - var _getCategories = (0, _asyncToGenerator2.default)(function* () { - var result = []; - - try { - (yield _RssContentManager.default.getCategories()).forEach(function (_ref) { - var ca_id = _ref.ca_id, - ca_label = _ref.ca_label; - - if (!ca_label.startsWith(_$$_REQUIRE(_dependencyMap[13]).StringUtils.TILDE)) { - result.push({ - label: ca_label, - value: ca_id - }); - } - }); - } catch (e) { - console.warn(e); - } - - return result; - }); - - function getCategories() { - return _getCategories.apply(this, arguments); - } - - return getCategories; - }() - }, { - key: "getCategoriesForSearch", - value: function () { - var _getCategoriesForSearch = (0, _asyncToGenerator2.default)(function* (categoriesNotSearchable) { - try { - return (yield RssContentHelper.getCategories()).filter(function (_ref2) { - var label = _ref2.label; - return !categoriesNotSearchable.includes(label); - }); - } catch (e) { - console.warn(e); - } - - return []; - }); - - function getCategoriesForSearch(_x15) { - return _getCategoriesForSearch.apply(this, arguments); - } - - return getCategoriesForSearch; - }() - }, { - key: "getBylines", - value: function () { - var _getBylines = (0, _asyncToGenerator2.default)(function* () { - var result = []; - - try { - (yield _RssContentManager.default.getBylines()).forEach(function (_ref3) { - var ar_byline = _ref3.ar_byline; - result.push({ - label: ar_byline, - value: ar_byline - }); - }); - } catch (e) { - console.warn(e); - } - - return result; - }); - - function getBylines() { - return _getBylines.apply(this, arguments); - } - - return getBylines; - }() - }, { - key: "getRangeDates", - value: function () { - var _getRangeDates = (0, _asyncToGenerator2.default)(function* () { - var dates = yield _RssContentManager.default.getDates(); - var result = []; - - if (dates) { - if (dates[0]) { - result.push(dates[0].ar_articledate * 1000); - } - - if (dates[dates.length - 1]) { - result.push(dates[dates.length - 1].ar_articledate * 1000); - } - } - - return result; - }); - - function getRangeDates() { - return _getRangeDates.apply(this, arguments); - } - - return getRangeDates; - }() - }, { - key: "filterArticleByCriteria", - value: function filterArticleByCriteria(article) { - var criteria = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var include = true; - - if (criteria.startDate) { - include = article.unixDate * 1000 >= _$$_REQUIRE(_dependencyMap[13]).DateUtils.toDate(criteria.startDate).getTime(); - } - - if (include && criteria.endDate) { - include = article.unixDate * 1000 <= _$$_REQUIRE(_dependencyMap[13]).DateUtils.toDate(criteria.endDate).getTime(); - } - - if (include && criteria.byline) { - include = criteria.byline.includes(article.byline); - } - - if (include && criteria.categories) { - include = criteria.categories.includes(article.categoryId); - } - - return include; - } - }, { - key: "sortArticlesByCriteria", - value: function sortArticlesByCriteria(itemA, itemB) { - var criteria = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - var result = 0; - - if (criteria.sortBy === SORT.BY_CATEGORIES) { - if (itemA.category < itemB.category) { - result = -1; - } else if (itemA.category > itemB.category) { - result = 1; - } - } else if (criteria.sortBy === SORT.BY_RELEVANCE && criteria.text) { - var occurrenceInA = (itemA.title + " " + itemA.byline + " " + itemA.summary + " " + itemA.html).toLocaleLowerCase().search(criteria.text.toLocaleLowerCase()); - var occurrenceInB = (itemB.title + " " + itemB.byline + " " + itemB.summary + " " + itemB.html).toLocaleLowerCase().search(criteria.text.toLocaleLowerCase()); - result = occurrenceInB - occurrenceInA; - } else { - result = itemB.unixDate - itemA.unixDate; - } - - return criteria.order === ORDER.ASC ? result * -1 : result; - } - }]); - }(); - - RssContentHelper.ERROR = -1; - RssContentHelper.NO_NEW_ITEMS_AVAILABLE = 0; - RssContentHelper.NEW_ITEMS_AVAILABLE = 1; -},2062,[3,270,6,7,2063,2064,572,552,1978,436,2006,2007,550,438,2065]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _Database = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _tecnaviaFileUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var RSS_DB_NAME = "rss.db"; - - var RssContentManager = exports.default = function () { - function RssContentManager() { - (0, _classCallCheck2.default)(this, RssContentManager); - } - - return (0, _createClass2.default)(RssContentManager, null, [{ - key: "initDatabase", - value: function () { - var _initDatabase = (0, _asyncToGenerator2.default)(function* () { - RssContentManager.database = new _Database.default(RssContentManager.getDatabaseFilePath(), RssContentManager.MIGRATIONS); - - try { - if (yield RssContentManager.databaseExists()) { - yield RssContentManager.migrateDB(); - } - } catch (e) {} - }); - - function initDatabase() { - return _initDatabase.apply(this, arguments); - } - - return initDatabase; - }() - }, { - key: "getDatabaseFilePath", - value: function getDatabaseFilePath() { - return "" + RssContentManager.getDatabaseFolder() + RSS_DB_NAME; - } - }, { - key: "getDatabaseFolder", - value: function getDatabaseFolder() { - if (_$$_REQUIRE(_dependencyMap[6]).PlatformUtils.isIOS()) { - return _tecnaviaFileUtils.default.libraryDirectory + "/LocalDatabase/"; - } - - return _tecnaviaFileUtils.default.documentDirectory + "/"; - } - }, { - key: "databaseExists", - value: function () { - var _databaseExists = (0, _asyncToGenerator2.default)(function* () { - return RssContentManager.database.exists(); - }); - - function databaseExists() { - return _databaseExists.apply(this, arguments); - } - - return databaseExists; - }() - }, { - key: "deleteDatabase", - value: function () { - var _deleteDatabase = (0, _asyncToGenerator2.default)(function* () { - return RssContentManager.database.delete(); - }); - - function deleteDatabase() { - return _deleteDatabase.apply(this, arguments); - } - - return deleteDatabase; - }() - }, { - key: "migrateDB", - value: function () { - var _migrateDB = (0, _asyncToGenerator2.default)(function* () { - return RssContentManager.database.migrateDB(); - }); - - function migrateDB() { - return _migrateDB.apply(this, arguments); - } - - return migrateDB; - }() - }, { - key: "openTransaction", - value: function () { - var _openTransaction = (0, _asyncToGenerator2.default)(function* (query, params) { - return RssContentManager.database.transaction(query, params); - }); - - function openTransaction(_x, _x2) { - return _openTransaction.apply(this, arguments); - } - - return openTransaction; - }() - }, { - key: "checkIfColumnExists", - value: function () { - var _checkIfColumnExists = (0, _asyncToGenerator2.default)(function* (table, column) { - return RssContentManager.database.columnExists(table, column); - }); - - function checkIfColumnExists(_x3, _x4) { - return _checkIfColumnExists.apply(this, arguments); - } - - return checkIfColumnExists; - }() - }, { - key: "replaceInto", - value: function () { - var _replaceInto = (0, _asyncToGenerator2.default)(function* (table, items) { - return RssContentManager.database.replaceInto(table, Object.keys(items[0]), items.map(function (item) { - return Object.values(item); - })); - }); - - function replaceInto(_x5, _x6) { - return _replaceInto.apply(this, arguments); - } - - return replaceInto; - }() - }, { - key: "storeUpdate", - value: function () { - var _storeUpdate = (0, _asyncToGenerator2.default)(function* () { - var articles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var playlists = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; - var categoryIds = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; - var resources = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : []; - var resourceRels = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : []; - var resourceTypes = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : []; - var callback = arguments.length > 6 ? arguments[6] : undefined; - - if (articles.length && playlists.length) { - articles.forEach(function (article) { - if (!article.ar_updatedate) { - article.ar_updatedate = null; - } - }); - yield RssContentManager.replaceInto("article", articles); - callback(); - - if (resources.length) { - yield RssContentManager.replaceInto("resource", resources); - } - - if (resourceTypes.length) { - yield RssContentManager.replaceInto("resource_type", resourceTypes); - } - - if (resourceRels.length) { - yield RssContentManager.database.deleteFrom("resource_rel", ""); - yield RssContentManager.replaceInto("resource_rel", resourceRels); - } - - yield RssContentManager.database.deleteFrom("playlist", categoryIds.length ? "pl_catListId IN ( " + categoryIds.join() + ")" : ""); - yield RssContentManager.replaceInto("playlist", playlists); - } else { - callback(); - } - }); - - function storeUpdate() { - return _storeUpdate.apply(this, arguments); - } - - return storeUpdate; - }() - }, { - key: "getCategoryIdFromName", - value: function () { - var _getCategoryIdFromName = (0, _asyncToGenerator2.default)(function* (name) { - if (name) { - var query = "SELECT ca_id FROM category AS c WHERE c.ca_label = ?;"; - var categories = yield RssContentManager.openTransaction(query, [name]); - return categories.map(function (category) { - return category.ca_id; - }); - } - - return []; - }); - - function getCategoryIdFromName(_x7) { - return _getCategoryIdFromName.apply(this, arguments); - } - - return getCategoryIdFromName; - }() - }, { - key: "getResources", - value: function () { - var _getResources = (0, _asyncToGenerator2.default)(function* () { - var articles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var inCondition = articles.map(function (article) { - return "'" + article.getFeedId() + "'"; - }).join(); - var query = "SELECT DISTINCT * FROM resource_rel AS rl, resource AS r, resource_type AS rt WHERE rl.rr_resourceId = r.re_id AND r.re_typeId = rt.rt_id AND rl.rr_feedId IN (" + inCondition + ") ORDER BY r.re_typeId"; - return (0, _$$_REQUIRE(_dependencyMap[7]).formatResourcesToDTO)(yield RssContentManager.openTransaction(query, [])); - }); - - function getResources() { - return _getResources.apply(this, arguments); - } - - return getResources; - }() - }, { - key: "getArticlesByCategory", - value: function () { - var _getArticlesByCategory = (0, _asyncToGenerator2.default)(function* (category, removeAdvertisements) { - if (category) { - var query = "SELECT * FROM playlist AS p JOIN article AS a ON a.ar_feedId = p.pl_feedId JOIN category AS c ON c.ca_id = p.pl_catListId WHERE ( c.ca_label = ? OR c.ca_label = ? ) AND a.ar_catId != 9999 " + (removeAdvertisements ? " AND a.ar_catId != 7777 " : "") + " AND ( pl_priority NOT LIKE '%\"p\"%' OR pl_priority LIKE '%show%') ORDER BY p.pl_id ASC;"; - return (0, _$$_REQUIRE(_dependencyMap[7]).formatArticlesToDTO)(yield RssContentManager.openTransaction(query, [category, "" + _$$_REQUIRE(_dependencyMap[6]).StringUtils.TILDE + category])); - } - - return []; - }); - - function getArticlesByCategory(_x8, _x9) { - return _getArticlesByCategory.apply(this, arguments); - } - - return getArticlesByCategory; - }() - }, { - key: "getArticleByFeedId", - value: function () { - var _getArticleByFeedId = (0, _asyncToGenerator2.default)(function* (feedId) { - if (feedId) { - var query = "SELECT * FROM article WHERE ar_feedId LIKE '" + feedId + "';"; - return (0, _$$_REQUIRE(_dependencyMap[7]).formatArticlesToDTO)(yield RssContentManager.openTransaction(query, [])); - } - - return []; - }); - - function getArticleByFeedId(_x10) { - return _getArticleByFeedId.apply(this, arguments); - } - - return getArticleByFeedId; - }() - }, { - key: "getArticleBySource", - value: function () { - var _getArticleBySource = (0, _asyncToGenerator2.default)(function* (source) { - if (source) { - var updateColExists = yield RssContentManager.checkIfColumnExists("article", "ar_updatedate"); - var orderStmt = "" + (updateColExists ? "COALESCE( NULLIF( ar_updatedate,'' ), ar_articledate )" : "ar_articledate"); - var query = "SELECT * FROM article WHERE ar_source LIKE '" + source + "' ORDER BY " + orderStmt + " DESC LIMIT 1;"; - return (0, _$$_REQUIRE(_dependencyMap[7]).formatArticlesToDTO)(yield RssContentManager.openTransaction(query, [])); - } - - return []; - }); - - function getArticleBySource(_x11) { - return _getArticleBySource.apply(this, arguments); - } - - return getArticleBySource; - }() - }, { - key: "getCategoryFromFeedId", - value: function () { - var _getCategoryFromFeedId = (0, _asyncToGenerator2.default)(function* (feedId) { - if (feedId) { - var query = "SELECT ca_label AS label FROM article, category WHERE ar_feedId = ? AND ar_catId = ca_id LIMIT 1;"; - - try { - var result = (yield RssContentManager.openTransaction(query, [feedId]))[0]; - return result.label; - } catch (e) { - return ""; - } - } - - return ""; - }); - - function getCategoryFromFeedId(_x12) { - return _getCategoryFromFeedId.apply(this, arguments); - } - - return getCategoryFromFeedId; - }() - }, { - key: "getArticlesInHomeCategory", - value: function () { - var _getArticlesInHomeCategory = (0, _asyncToGenerator2.default)(function* (category, removeAdvertisements) { - if (category) { - var query = "SELECT a.*, p.*, c2.* FROM playlist AS p JOIN article AS a ON a.ar_feedId = p.pl_feedId JOIN category AS c ON c.ca_id = p.pl_catListId JOIN category AS c2 ON c2.ca_id = a.ar_catId WHERE c.ca_label = ?" + (removeAdvertisements ? " AND a.ar_catId != 7777" : "") + " ORDER BY p.pl_id ASC;"; - return (0, _$$_REQUIRE(_dependencyMap[7]).formatArticlesToDTO)(yield RssContentManager.openTransaction(query, [category])); - } - - return []; - }); - - function getArticlesInHomeCategory(_x13, _x14) { - return _getArticlesInHomeCategory.apply(this, arguments); - } - - return getArticlesInHomeCategory; - }() - }, { - key: "getArticlesInMyHome", - value: function () { - var _getArticlesInMyHome = (0, _asyncToGenerator2.default)(function* (categories) { - if (categories) { - var inCondition = categories.map(function (category) { - return "'" + category + "'"; - }).join(); - var query = "SELECT * FROM ( SELECT *, CASE ar_updatedate WHEN '' THEN NULL ELSE ar_updatedate END Date FROM playlist JOIN article ON playlist.pl_feedId = article.ar_feedId JOIN category ON category.ca_id = playlist.pl_catListId " + (" WHERE ca_label IN ( " + inCondition + " ) ") + " AND ( pl_priority NOT LIKE '%\"p\"%' OR pl_priority LIKE '%show%' ) " + " AND ar_catId != '7777' " + " GROUP BY ar_title " + "UNION ALL " + " SELECT *,CASE ar_updatedate WHEN '' THEN NULL ELSE ar_updatedate END Date " + " FROM playlist JOIN article ON playlist.pl_feedId = article.ar_feedId " + " JOIN category ON category.ca_id = playlist.pl_catListId " + (" WHERE ca_label IN ( " + inCondition + " ) ") + " AND (pl_priority NOT LIKE '%\"p\"%' OR pl_priority LIKE '%show%') " + " AND ar_catId =='7777' " + ") " + "ORDER BY COALESCE ( Date,ar_articledate ) DESC;"; - return (0, _$$_REQUIRE(_dependencyMap[7]).formatArticlesToDTO)(yield RssContentManager.openTransaction(query, [])); - } - - return []; - }); - - function getArticlesInMyHome(_x15) { - return _getArticlesInMyHome.apply(this, arguments); - } - - return getArticlesInMyHome; - }() - }, { - key: "getCategoryContent", - value: function () { - var _getCategoryContent = (0, _asyncToGenerator2.default)(function* () { - return RssContentManager.openTransaction("SELECT c.ca_label AS label, COUNT(a.ar_id) AS count, GROUP_CONCAT(a.ar_image, '#') AS image \n FROM playlist AS p\n LEFT JOIN article AS a ON a.ar_feedId = p.pl_feedId\n LEFT JOIN category AS c ON a.ar_catId = c.ca_id\n WHERE c.ca_id < 7777\n GROUP BY c.ca_id\n "); - }); - - function getCategoryContent() { - return _getCategoryContent.apply(this, arguments); - } - - return getCategoryContent; - }() - }, { - key: "searchArticles", - value: function () { - var _searchArticles = (0, _asyncToGenerator2.default)(function* () { - var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; - var query = "\n SELECT *\n FROM \n article AS a\n JOIN playlist AS p ON p.pl_feedId = a.ar_feedId\n JOIN category AS c ON c.ca_id = p.pl_catListId\n WHERE a.ar_htmlbody LIKE '%" + text + "%' OR a.ar_title LIKE '%" + text + "%'\n ORDER BY p.pl_id\n "; - return (0, _$$_REQUIRE(_dependencyMap[7]).formatArticlesToDTO)(yield RssContentManager.openTransaction(query, [])); - }); - - function searchArticles() { - return _searchArticles.apply(this, arguments); - } - - return searchArticles; - }() - }, { - key: "newestEntry", - value: function () { - var _newestEntry = (0, _asyncToGenerator2.default)(function* (categoryIds) { - var updateColExists = yield RssContentManager.checkIfColumnExists("article", "ar_updatedate"); - var selectColStmt = "" + (updateColExists ? "COALESCE( NULLIF( ar_updatedate,'' ), ar_insertdate )" : "ar_insertdate"); - var query = "SELECT " + selectColStmt + " as ar_insertdate " + "FROM article LEFT JOIN playlist ON ar_feedId = pl_feedId " + "WHERE ar_catId != 7777 "; - - if (categoryIds && categoryIds.length) { - query += "AND pl_catListId IN ( " + categoryIds.join() + " )"; - } - - query += " ORDER BY ar_insertdate DESC LIMIT 1"; - var result = yield RssContentManager.openTransaction(query); - return result && result.length ? result[0].ar_insertdate : -1; - }); - - function newestEntry(_x16) { - return _newestEntry.apply(this, arguments); - } - - return newestEntry; - }() - }, { - key: "getBylines", - value: function () { - var _getBylines = (0, _asyncToGenerator2.default)(function* () { - return RssContentManager.openTransaction("SELECT DISTINCT ar_byline FROM article WHERE ca_id < 7777"); - }); - - function getBylines() { - return _getBylines.apply(this, arguments); - } - - return getBylines; - }() - }, { - key: "getCategories", - value: function () { - var _getCategories = (0, _asyncToGenerator2.default)(function* () { - return RssContentManager.openTransaction("SELECT DISTINCT ca_label, ca_id FROM category WHERE ca_id < 7777"); - }); - - function getCategories() { - return _getCategories.apply(this, arguments); - } - - return getCategories; - }() - }, { - key: "getDates", - value: function () { - var _getDates = (0, _asyncToGenerator2.default)(function* () { - var updateColExists = yield RssContentManager.checkIfColumnExists("article", "ar_updatedate"); - var selectColStmt = "" + (updateColExists ? "COALESCE( NULLIF( ar_updatedate,'' ), ar_articledate )" : "ar_articledate"); - return RssContentManager.openTransaction("SELECT DISTINCT " + selectColStmt + " as ar_articledate FROM article ORDER BY ar_articledate ASC"); - }); - - function getDates() { - return _getDates.apply(this, arguments); - } - - return getDates; - }() - }]); - }(); - - RssContentManager.MIGRATIONS = [{ - version: 29400, - queries: ["CREATE TABLE IF NOT EXISTS resource ( re_id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, re_typeId INTEGER NOT NULL, re_value TEXT NOT NULL );", "CREATE TABLE IF NOT EXISTS resource_rel ( rr_id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, rr_feedId INTEGER NOT NULL, rr_resourceId INTEGER NOT NULL );", "CREATE TABLE IF NOT EXISTS resource_type ( rt_id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, rt_name VARCHAR(255) );"] - }]; -},2063,[3,270,6,7,845,552,438,2055]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.getJsonDbUpdate = getJsonDbUpdate; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _axios = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - function getJsonDbUpdate(_x, _x2) { - return _getJsonDbUpdate.apply(this, arguments); - } - - function _getJsonDbUpdate() { - _getJsonDbUpdate = (0, _asyncToGenerator2.default)(function* (newestEntry, categoryIds) { - var _global$getRSSActiveP = global.getRSSActivePSetup(), - baseRssUpdateURL = _global$getRSSActiveP.baseRssUpdateURL; - - if (categoryIds && categoryIds.length) { - baseRssUpdateURL += "&catIds=" + categoryIds.join(); - } - - baseRssUpdateURL += "&newestEntry=" + newestEntry; - var response = yield _axios.default.get(baseRssUpdateURL); - return response.data; - }); - return _getJsonDbUpdate.apply(this, arguments); - } -},2064,[3,270,408]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.sendToAnalytics = undefined; - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _excluded = ["event_action"]; - - var getGalleryAnalytics = function getGalleryAnalytics(params) { - var _global$getActivePSet = global.getActivePSetup(), - xpaper = _global$getActivePSet.xpaper; - - var category = params.category || ""; - var title = params.title || ""; - var type = params.type || ""; - var gallery_id = params.gallery_id || ""; - var index = params.index, - screen_name = params.screen_name; - var screen = "/rssapp/" + (0, _$$_REQUIRE(_dependencyMap[2]).gaBreakout)() + "/" + xpaper + "/" + category + "/gallery/" + title + "/" + index + "/" + type + "/" + gallery_id; - return { - screen: screen, - firebaseEvent: { - customEvent: "live_news_gallery", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[2]).mapParamsToFirebaseCustomDimensions)(params), { - xpaper: xpaper, - category: category, - title: title, - index: index, - type: type, - gallery_id: gallery_id - }) - }, - firebaseScreenView: screen_name - }; - }; - - var getDrawerAnalytics = function getDrawerAnalytics(params) { - var _global$getActivePSet2 = global.getActivePSetup(), - xpaper = _global$getActivePSet2.xpaper; - - var layout = params.layout, - action = params.action, - extra = params.extra, - screen_name = params.screen_name; - var feedUrl = params.feedUrl, - drawerItemKey = params.drawerItemKey; - drawerItemKey = (0, _$$_REQUIRE(_dependencyMap[3]).parseExtra)(extra, "analyticsSectionName", drawerItemKey); - feedUrl = (0, _$$_REQUIRE(_dependencyMap[3]).parseExtra)(extra, "analyticsSectionURL", feedUrl); - var screen = "/rssapp/" + (0, _$$_REQUIRE(_dependencyMap[2]).gaBreakout)() + "/" + xpaper + "/" + drawerItemKey; - - if (layout) { - screen = screen + "/" + layout; - } - - return { - screen: screen, - params: { - action: _$$_REQUIRE(_dependencyMap[4]).analyticsScreenTypes.RSS_DRAWER, - type: "read", - apptype: "rss", - displayName: drawerItemKey, - feedUrl: feedUrl - }, - remp: drawerItemKey, - firebaseEvent: { - customEvent: "live_news_drawer", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[2]).mapParamsToFirebaseCustomDimensions)(params), { - xpaper: xpaper, - name: drawerItemKey, - layout: layout, - action: action - }) - }, - firebaseScreenView: screen_name - }; - }; - - var getDrawerLinkAnalytics = function getDrawerLinkAnalytics(params) { - return { - firebaseEvent: { - customEvent: "open_link", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[2]).mapParamsToFirebaseCustomDimensions)(params), { - label: params.label - }) - } - }; - }; - - var getDownloadRssDbAnalytics = function getDownloadRssDbAnalytics(params) { - return { - firebaseEvent: { - customEvent: "download_rss_db", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[2]).mapParamsToFirebaseCustomDimensions)(params), { - domain: params.domain - }) - } - }; - }; - - var getFullscreenAnalytics = function getFullscreenAnalytics(params) { - var _global$getActivePSet3 = global.getActivePSetup(), - xpaper = _global$getActivePSet3.xpaper; - - var unixDate = params.unixDate, - category = params.category, - title = params.title, - source = params.source, - screen_name = params.screen_name; - - var date = _$$_REQUIRE(_dependencyMap[5]).DateUtils.unixToString(unixDate, "YYYYMMDD_HHmm"); - - var device = (0, _$$_REQUIRE(_dependencyMap[2]).gaBreakout)(); - var screen = "/rssapp/" + device + "/" + category + "/" + date + "/" + title; - return { - screen: screen, - params: { - action: _$$_REQUIRE(_dependencyMap[4]).analyticsScreenTypes.RSS_ARTICLE_READ, - type: "read", - apptype: "rss", - date: date, - category: category, - articletitle: title, - articlesource: source, - devicetype: device - }, - remp: title, - firebaseEvent: { - customEvent: "live_news_read_article", - customParams: Object.assign({}, (0, _$$_REQUIRE(_dependencyMap[2]).mapParamsToFirebaseCustomDimensions)(params), { - xpaper: xpaper, - category: category, - date: date, - title: title - }) - }, - firebaseScreenView: screen_name - }; - }; - - var sendToAnalytics = exports.sendToAnalytics = function sendToAnalytics() { - var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var event_action = params.event_action, - rest = (0, _objectWithoutProperties2.default)(params, _excluded); - - if (!event_action) {} else { - var result = {}; - var eventParams = Object.assign({}, rest, { - action: event_action - }); - - switch (event_action) { - case "live_news_gallery": - case "epaper_gallery": - result = getGalleryAnalytics(eventParams); - break; - - case "fullscreen": - result = getFullscreenAnalytics(eventParams); - break; - - case "drawer": - result = getDrawerAnalytics(rest); - break; - - case "open_link": - result = getDrawerLinkAnalytics(eventParams); - break; - - case "download_rss_db": - result = getDownloadRssDbAnalytics(eventParams); - break; - } - - var _result = result, - screen = _result.screen, - remp = _result.remp, - event = _result.event, - analyticsParams = _result.params, - firebaseEvent = _result.firebaseEvent, - firebaseScreenView = _result.firebaseScreenView; - - if (screen) { - (0, _$$_REQUIRE(_dependencyMap[6]).trackScreen)(screen, analyticsParams); - } - - if (remp) { - (0, _$$_REQUIRE(_dependencyMap[6]).trackRempAccount)(remp); - } - - if (event) { - (0, _$$_REQUIRE(_dependencyMap[6]).trackEvent)(event); - } - - if (firebaseEvent) { - (0, _$$_REQUIRE(_dependencyMap[6]).trackCustomFirebaseEvent)(firebaseEvent); - } - - if (firebaseScreenView) { - (0, _$$_REQUIRE(_dependencyMap[6]).trackCustomFirebaseScreen)(firebaseScreenView, screen, eventParams); - } - } - }; -},2065,[3,4,1903,2050,1904,438,1897]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var taRequest = function () { - var _ref = (0, _asyncToGenerator2.default)(function* () { - return new Promise(function (resolve, reject) { - _$$_REQUIRE(_dependencyMap[4]).CustomAlert.alert(global.strings("android_location_usage_title"), global.strings("android_location_usage_message"), [{ - text: global.strings("btn_ok"), - onPress: resolve - }], { - cancelable: false, - dontUseModal: true - }); - }); - }); - - return function taRequest() { - return _ref.apply(this, arguments); - }; - }(); - - var LocationPermission = exports.default = function () { - function LocationPermission() { - (0, _classCallCheck2.default)(this, LocationPermission); - } - - return (0, _createClass2.default)(LocationPermission, null, [{ - key: "ask", - value: function () { - var _ask = (0, _asyncToGenerator2.default)(function* () { - if (_$$_REQUIRE(_dependencyMap[5]).PlatformUtils.isIOS()) { - return; - } - - var _global$getUserSettin = global.getUserSettings(), - userAlreadySetLocationPermission = _global$getUserSettin.userAlreadySetLocationPermission; - - if (!userAlreadySetLocationPermission) { - yield taRequest(); - } - - global.getUserSettings().setUserAlreadySetLocationPermission(); - }); - - function ask() { - return _ask.apply(this, arguments); - } - - return ask; - }() - }]); - }(); -},2066,[3,6,7,270,798,438]); +},2055,[3,22,4,270,6,7,11,13,14,582,16,18,436,2039,866,1881,564,438,878,179,2040,579,889]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -269466,6 +267969,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _LoginHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18])); + var _NewsmemoryHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[19])); + var _LoginManager; function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } @@ -269673,95 +268178,99 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e key: "login", value: function () { var _login = (0, _asyncToGenerator2.default)(function* (params) { + var machine = params.machine, + pSetup = params.pSetup; + + var _yield$global$loadPSe = yield global.loadPSetup(pSetup, machine), + activePSetupConfig = _yield$global$loadPSe.config; + + if (!activePSetupConfig) { + (0, _$$_REQUIRE(_dependencyMap[20]).sendNewsmemoryLoginEvent)("login error"); + return {}; + } + var challenge = params.challenge, password = params.password, - machine = params.machine, - pSetup = params.pSetup, remember = params.remember; var username = params.username, token = params.token, TAUID = params.TAUID, extid = params.extid; + var response = yield LoginManager.callToLogin(username, password, TAUID, token, challenge); - var _yield$global$loadPSe = yield global.loadPSetup(pSetup, machine), - activePSetupConfig = _yield$global$loadPSe.config; - - if (activePSetupConfig) { - var response = yield LoginManager.callToLogin(username, password, TAUID, token, challenge); - - if (response) { - var status = response.status, - data = response.data; - - if (status === 200 && data) { - if (data.protError === PROT_ERROR.LOGGED_IN || data.protError === PROT_ERROR.TOO_MANY_LOGINS_ALERT) { - TAUID = data.userid ? data.userid : TAUID; - token = data.token ? data.token : token; - username = data.username ? data.username : username; - extid = data.extid ? data.extid : extid; - var extraUserInfo = data.extra_user_info, - adFree = data.adFree; - var loginStatus = activePSetupConfig.loginStatus; - - if (loginStatus) { - var prevExtid = loginStatus.extid; - loginStatus.updateTAUID(TAUID); - loginStatus.updateToken(token); - loginStatus.updateChallenge(challenge); - loginStatus.updateUsername(username); - loginStatus.updatePassword(password); - loginStatus.updateExtId(extid); - loginStatus.updateExtraUserInfo(extraUserInfo); - loginStatus.updateAdFree(adFree); - loginStatus.setLastModified(); - - if (extid !== prevExtid) { - yield Analytics.sendExternalIdToAnalytics(); - } - } - - var _global$getRssIndex = global.getRssIndex(), - paywallEnabled = _global$getRssIndex.paywallEnabled; - - if (paywallEnabled) { - _PaywallLoginStatus.default.remember({ - user: username, - pwdEncrypt: password, - challenge: challenge, - extid: extid, - logged: true - }); - } - - yield LoginManager.storeClassicLoginStatus({ - TAUID: TAUID, - username: username, - password: password, - TOKEN: token, - challenge: challenge, - extid: extid, - remember: remember - }); - (0, _$$_REQUIRE(_dependencyMap[19]).sendNewsmemoryLoginEvent)("logged"); - } else { - (0, _$$_REQUIRE(_dependencyMap[19]).sendNewsmemoryLoginEvent)("login failed"); - } - - return { - TAUID: TAUID, - data: data - }; - } - - (0, _$$_REQUIRE(_dependencyMap[19]).sendNewsmemoryLoginEvent)("login error"); - } else { - (0, _$$_REQUIRE(_dependencyMap[19]).sendNewsmemoryLoginEvent)("login timed out"); - } - } else { - (0, _$$_REQUIRE(_dependencyMap[19]).sendNewsmemoryLoginEvent)("login error"); + if (!response) { + (0, _$$_REQUIRE(_dependencyMap[20]).sendNewsmemoryLoginEvent)("login timed out"); + return {}; } - return {}; + var status = response.status, + data = response.data; + + if (!data || status !== 200) { + (0, _$$_REQUIRE(_dependencyMap[20]).sendNewsmemoryLoginEvent)("login error"); + return {}; + } + + if (data.protError === PROT_ERROR.LOGGED_IN || data.protError === PROT_ERROR.TOO_MANY_LOGINS_ALERT) { + TAUID = data.userid ? data.userid : TAUID; + token = data.token ? data.token : token; + username = data.username ? data.username : username; + extid = data.extid ? data.extid : extid; + var extraUserInfo = data.extra_user_info, + adFree = data.adFree; + var loginStatus = activePSetupConfig.loginStatus; + + if (loginStatus) { + var prevExtid = loginStatus.extid; + loginStatus.updateTAUID(TAUID); + loginStatus.updateToken(token); + loginStatus.updateChallenge(challenge); + loginStatus.updateUsername(username); + loginStatus.updatePassword(password); + loginStatus.updateExtId(extid); + loginStatus.updateExtraUserInfo(extraUserInfo); + loginStatus.updateAdFree(adFree); + loginStatus.setLastModified(); + + if (extid !== prevExtid) { + yield Analytics.sendExternalIdToAnalytics(); + } + } + + var _global$getRssIndex = global.getRssIndex(), + paywallEnabled = _global$getRssIndex.paywallEnabled; + + if (paywallEnabled) { + var _global$getNewsmemory; + + _PaywallLoginStatus.default.remember({ + user: username, + pwdEncrypt: password, + challenge: challenge, + token: token, + soPass: (_global$getNewsmemory = global.getNewsmemoryConfig()) == null ? undefined : _global$getNewsmemory.soPass, + extid: extid + }); + } + + yield LoginManager.storeClassicLoginStatus({ + TAUID: TAUID, + username: username, + password: password, + TOKEN: token, + challenge: challenge, + extid: extid, + remember: remember + }); + (0, _$$_REQUIRE(_dependencyMap[20]).sendNewsmemoryLoginEvent)("logged"); + } else { + (0, _$$_REQUIRE(_dependencyMap[20]).sendNewsmemoryLoginEvent)("login failed"); + } + + return { + TAUID: TAUID, + data: data + }; }); function login(_x10) { @@ -269781,7 +268290,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var prevExtid = loginStatus.extid; yield loginStatus.clear(); - if (!_$$_REQUIRE(_dependencyMap[20]).JSUtils.isEmpty(prevExtid)) { + if (!_$$_REQUIRE(_dependencyMap[21]).JSUtils.isEmpty(prevExtid)) { yield Analytics.sendExternalIdToAnalytics(); } } @@ -269810,12 +268319,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } try { - (0, _$$_REQUIRE(_dependencyMap[21]).facebookLogout)(); + (0, _$$_REQUIRE(_dependencyMap[22]).facebookLogout)(); } catch (e) {} var newsmemoryConfig = global.getNewsmemoryConfig(); yield newsmemoryConfig == null ? undefined : newsmemoryConfig.resetSocialLoginPlatform(); - (0, _$$_REQUIRE(_dependencyMap[19]).sendNewsmemoryLoginEvent)("logged out"); + (0, _$$_REQUIRE(_dependencyMap[20]).sendNewsmemoryLoginEvent)("logged out"); }); function logout() { @@ -269968,7 +268477,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e extra = _ref2.extra; var result = false; - if (_$$_REQUIRE(_dependencyMap[20]).PlatformUtils.isIOS()) { + if (_$$_REQUIRE(_dependencyMap[21]).PlatformUtils.isIOS()) { try { if (!(yield LoginManager.databaseExists())) { yield LoginManager.createLocalStorageTable(); @@ -270002,7 +268511,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var TAUID = loginStatus.TAUID, last_login_time = loginStatus.last_login_time; - if (_$$_REQUIRE(_dependencyMap[22]).LoginStatus.isValidTAUID(TAUID) && refreshesTAUIDTimestamp) { + if (_$$_REQUIRE(_dependencyMap[23]).LoginStatus.isValidTAUID(TAUID) && refreshesTAUIDTimestamp) { var lastLoginTimestamp = parseInt(last_login_time || 0, 10); return refreshesTAUIDTimestamp >= lastLoginTimestamp; } @@ -270014,7 +268523,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e value: function () { var _autoLogin = (0, _asyncToGenerator2.default)(function* () { var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - (0, _$$_REQUIRE(_dependencyMap[19]).sendNewsmemoryLoginEvent)("start autologin"); + (0, _$$_REQUIRE(_dependencyMap[20]).sendNewsmemoryLoginEvent)("start autologin"); var username = params.username, password = params.password, TAUID = params.TAUID, @@ -270035,7 +268544,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e userid = _data.userid; if ((protError === PROT_ERROR.LOGGED_IN || protError === PROT_ERROR.TOO_MANY_LOGINS_ALERT) && userid && userid > -1) { - (0, _$$_REQUIRE(_dependencyMap[19]).sendNewsmemoryLoginEvent)("autologged"); + (0, _$$_REQUIRE(_dependencyMap[20]).sendNewsmemoryLoginEvent)("autologged"); return data; } @@ -270050,7 +268559,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e error = PROT_ERROR.TIMEOUT; } - (0, _$$_REQUIRE(_dependencyMap[19]).sendNewsmemoryLoginEvent)(message); + (0, _$$_REQUIRE(_dependencyMap[20]).sendNewsmemoryLoginEvent)(message); throw new LoginError(error, message, data); }); @@ -270141,7 +268650,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e loginStatus.resetLastModified(); } - if (!_$$_REQUIRE(_dependencyMap[20]).JSUtils.isEmpty(prevExtid)) { + if (!_$$_REQUIRE(_dependencyMap[21]).JSUtils.isEmpty(prevExtid)) { yield Analytics.sendExternalIdToAnalytics(); } @@ -270169,7 +268678,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _tokenLoginFromUniversalLink = (0, _asyncToGenerator2.default)(function* () { var forceTokenLogin = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; - if (!_$$_REQUIRE(_dependencyMap[20]).NetworkUtils.isOnline()) { + if (!_$$_REQUIRE(_dependencyMap[21]).NetworkUtils.isOnline()) { throw new LoginError(PROT_ERROR.NOT_LOGGEDIN, "Offline"); } @@ -270203,7 +268712,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e loginTokenPromise.then(function () { var _ref3 = (0, _asyncToGenerator2.default)(function* (result) { if (result === 1) {} else if (result === 0) { - (0, _$$_REQUIRE(_dependencyMap[23]).addDebugOperation)("LoginManager", "token autologin failed"); + (0, _$$_REQUIRE(_dependencyMap[24]).addDebugOperation)("LoginManager", "token autologin failed"); try { yield LoginManager.credentialsLogin(true); @@ -270220,14 +268729,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return true; } - _$$_REQUIRE(_dependencyMap[24]).EventRegister.emit(_events.default.NEWSMEMORY_LOGIN_CHECK_STARTED); + _$$_REQUIRE(_dependencyMap[25]).EventRegister.emit(_events.default.NEWSMEMORY_LOGIN_CHECK_STARTED); - (0, _$$_REQUIRE(_dependencyMap[23]).addDebugOperation)("LoginManager", "token autologin start"); + (0, _$$_REQUIRE(_dependencyMap[24]).addDebugOperation)("LoginManager", "token autologin start"); var result = yield loginTokenPromise; - _$$_REQUIRE(_dependencyMap[24]).EventRegister.emit(_events.default.NEWSMEMORY_LOGIN_CHECK_ENDED); + _$$_REQUIRE(_dependencyMap[25]).EventRegister.emit(_events.default.NEWSMEMORY_LOGIN_CHECK_ENDED); - (0, _$$_REQUIRE(_dependencyMap[23]).addDebugOperation)("LoginManager", "token autologin end"); + (0, _$$_REQUIRE(_dependencyMap[24]).addDebugOperation)("LoginManager", "token autologin end"); if (result === 0) { return false; @@ -270249,8 +268758,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, { key: "performCredentialsLogin", value: function () { - var _performCredentialsLogin = (0, _asyncToGenerator2.default)(function* (username, password, challenge, TAUID, TOKEN) { - var asynchronousCall = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false; + var _performCredentialsLogin = (0, _asyncToGenerator2.default)(function* (username, password, challenge, TAUID, TOKEN, soPass) { + var asynchronousCall = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false; var _global$getActivePSet8 = global.getActivePSetup(), loginStatus = _global$getActivePSet8.loginStatus; @@ -270274,27 +268783,28 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e loginStatus.updateExtraUserInfo(extra_user_info); loginStatus.updateAdFree(adFree); loginStatus.setLastModified(); + + var _global$getRssIndex3 = global.getRssIndex(), + paywallEnabled = _global$getRssIndex3.paywallEnabled; + + if (paywallEnabled && !_PaywallLoginStatus.default.isUserLoggedIn() && !loginStatus.isAnonymousUser()) { + _PaywallLoginStatus.default.remember({ + user: username, + pwdEncrypt: password, + challenge: challenge, + token: TOKEN, + soPass: soPass, + extid: extid + }); + } } if (extid !== prevExtid) { yield Analytics.sendExternalIdToAnalytics(); } - - var _global$getRssIndex3 = global.getRssIndex(), - paywallEnabled = _global$getRssIndex3.paywallEnabled; - - if (paywallEnabled && !_PaywallLoginStatus.default.isUserLoggedIn() && username && password) { - _PaywallLoginStatus.default.remember({ - user: username, - pwdEncrypt: password, - challenge: challenge, - extid: extid, - logged: true - }); - } }); - return function success(_x21) { + return function success(_x22) { return _ref4.apply(this, arguments); }; }(); @@ -270316,15 +268826,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e loginStatus.resetLastModified(); } - if (!_$$_REQUIRE(_dependencyMap[20]).JSUtils.isEmpty(prevExtid)) { + if (!_$$_REQUIRE(_dependencyMap[21]).JSUtils.isEmpty(prevExtid)) { yield Analytics.sendExternalIdToAnalytics(); } + + yield LoginManager.clearClassicLoginStatus(); } return code; }); - return function fail(_x22) { + return function fail(_x23) { return _ref5.apply(this, arguments); }; }(); @@ -270347,26 +268859,32 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); - return function (_x23) { + return function (_x24) { return _ref6.apply(this, arguments); }; }()); return; } - _$$_REQUIRE(_dependencyMap[24]).EventRegister.emit(_events.default.NEWSMEMORY_LOGIN_CHECK_STARTED); + _$$_REQUIRE(_dependencyMap[25]).EventRegister.emit(_events.default.NEWSMEMORY_LOGIN_CHECK_STARTED); try { var data = yield loginPromise; yield success(data); } catch (error) { - yield fail(error); + var code = yield fail(error); + + if (code === PROT_ERROR.NOT_LOGGEDIN && soPass && TOKEN && !password) { + _$$_REQUIRE(_dependencyMap[25]).EventRegister.emit(_events.default.OPEN_OPTIONSPAGE, { + tab: _$$_REQUIRE(_dependencyMap[26]).tabs.login + }); + } } - _$$_REQUIRE(_dependencyMap[24]).EventRegister.emit(_events.default.NEWSMEMORY_LOGIN_CHECK_ENDED); + _$$_REQUIRE(_dependencyMap[25]).EventRegister.emit(_events.default.NEWSMEMORY_LOGIN_CHECK_ENDED); }); - function performCredentialsLogin(_x16, _x17, _x18, _x19, _x20) { + function performCredentialsLogin(_x16, _x17, _x18, _x19, _x20, _x21) { return _performCredentialsLogin.apply(this, arguments); } @@ -270376,9 +268894,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e key: "credentialsLogin", value: function () { var _credentialsLogin = (0, _asyncToGenerator2.default)(function* () { + var _global$getNewsmemory2; + var forceAutoLogin = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; - if (!_$$_REQUIRE(_dependencyMap[20]).NetworkUtils.isOnline()) { + if (!_$$_REQUIRE(_dependencyMap[21]).NetworkUtils.isOnline()) { return; } @@ -270391,19 +268911,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e TAUID = loginStatus.TAUID, TOKEN = loginStatus.TOKEN, challenge = loginStatus.challenge; + var soPass = (_global$getNewsmemory2 = global.getNewsmemoryConfig()) == null ? undefined : _global$getNewsmemory2.soPass; var credentialsPresent = !!username || !!password || !!TOKEN; - var currentlyEPaperLoggedIn = _$$_REQUIRE(_dependencyMap[22]).LoginStatus.isValidTAUID(TAUID); + var validEPaperTAUIDPresent = _$$_REQUIRE(_dependencyMap[23]).LoginStatus.isValidTAUID(TAUID); - var asynchronousCall = currentlyEPaperLoggedIn && credentialsPresent; + var asynchronousCall = validEPaperTAUIDPresent && credentialsPresent; var _global$getRssIndex4 = global.getRssIndex(), paywallEnabled = _global$getRssIndex4.paywallEnabled; var paywallLoggedIn = paywallEnabled && _PaywallLoginStatus.default.isUserLoggedIn(); - if (currentlyEPaperLoggedIn) { - if (paywallLoggedIn && (!credentialsPresent || !loginStatus.isLoggedIn())) { + if (paywallLoggedIn) { + if (!credentialsPresent || loginStatus.isAnonymousUser()) { var _yield$PaywallLoginSt = yield _PaywallLoginStatus.default.getUserStatus(), credentials = _yield$PaywallLoginSt.credentials; @@ -270412,11 +268933,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e password = credentials.pwdEncrypt; TOKEN = credentials.token; challenge = credentials.challenge; + soPass = credentials.soPass; } } - } else if (paywallLoggedIn) { - forceAutoLogin = true; - } else if (!credentialsPresent) { + + if (!validEPaperTAUIDPresent) { + forceAutoLogin = true; + } + } else if (!validEPaperTAUIDPresent && !credentialsPresent) { var _yield$LoginManager$c = yield LoginManager.checkClassicUdbLoginStatus(); username = _yield$LoginManager$c.username; @@ -270425,17 +268949,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e TAUID = _yield$LoginManager$c.TAUID; challenge = _yield$LoginManager$c.challenge; - if (_$$_REQUIRE(_dependencyMap[22]).LoginStatus.isValidTAUID(TAUID)) { + if (_$$_REQUIRE(_dependencyMap[23]).LoginStatus.isValidTAUID(TAUID)) { forceAutoLogin = true; } else { - if (isAllowedIP && !loginStatus.isLoggedIn()) { - _$$_REQUIRE(_dependencyMap[24]).EventRegister.emit(_events.default.NEWSMEMORY_LOGIN_CHECK_STARTED); - + if (isAllowedIP) { var allowIP = yield LoginManager.checkAllowedIP(); if (allowIP) { - _$$_REQUIRE(_dependencyMap[24]).EventRegister.emit(_events.default.NEWSMEMORY_LOGIN_CHECK_ENDED); - return; } } @@ -270445,7 +268965,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } if (forceAutoLogin) { - yield LoginManager.performCredentialsLogin(username, password, challenge, TAUID, TOKEN, asynchronousCall); + yield LoginManager.performCredentialsLogin(username, password, challenge, TAUID, TOKEN, soPass, asynchronousCall); } }); @@ -270459,12 +268979,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e key: "triggerRestart", value: function () { var _triggerRestart = (0, _asyncToGenerator2.default)(function* () { - var _global$getNewsmemory; + var _global$getNewsmemory3; - yield (0, _$$_REQUIRE(_dependencyMap[25]).createPendingOperationPromise)(); - (_global$getNewsmemory = global.getNewsmemoryConfig()) == null ? undefined : _global$getNewsmemory.setLastOperationTimestamp(); + yield (0, _$$_REQUIRE(_dependencyMap[27]).createPendingOperationPromise)(); + (_global$getNewsmemory3 = global.getNewsmemoryConfig()) == null ? undefined : _global$getNewsmemory3.setLastOperationTimestamp(); - _$$_REQUIRE(_dependencyMap[24]).EventRegister.emit(_events.default.TRIGGER_NEWSMEMORY_RESTART, { + _$$_REQUIRE(_dependencyMap[25]).EventRegister.emit(_events.default.TRIGGER_NEWSMEMORY_RESTART, { loginFailed: true }); }); @@ -270486,7 +269006,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return; } - if (!_$$_REQUIRE(_dependencyMap[20]).NetworkUtils.isOnline()) { + if (!_$$_REQUIRE(_dependencyMap[21]).NetworkUtils.isOnline()) { return; } @@ -270510,9 +269030,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } } catch (e) {} - (0, _$$_REQUIRE(_dependencyMap[23]).addDebugOperation)("LoginManager", "credentials autologin start"); + (0, _$$_REQUIRE(_dependencyMap[24]).addDebugOperation)("LoginManager", "credentials autologin start"); yield LoginManager.credentialsLogin(forceAutoLogin || timeLimitCheckLoginExpired); - (0, _$$_REQUIRE(_dependencyMap[23]).addDebugOperation)("LoginManager", "credentials autologin end"); + (0, _$$_REQUIRE(_dependencyMap[24]).addDebugOperation)("LoginManager", "credentials autologin end"); }); function recheckLogin() { @@ -270533,7 +269053,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e try { var response = yield LoginManager.openTransaction(query, []); - if (response && response.length > 0) { + if ((response == null ? undefined : response.length) > 0) { response.forEach(function (pub) { result.push(new _Publication.default(pub)); }); @@ -270558,7 +269078,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _global$getActivePSet11 = global.getActivePSetup(), loginStatus = _global$getActivePSet11.loginStatus; - return loginStatus && loginStatus.isAdFree() || _PaywallLoginStatus.default.isAdFree(); + return (loginStatus == null ? undefined : loginStatus.isAdFree()) || _PaywallLoginStatus.default.isAdFree(); } }, { key: "checkAllowedIP", @@ -270566,7 +269086,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _checkAllowedIP = (0, _asyncToGenerator2.default)(function* () { var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : global.getActivePSetup(); - if (!_$$_REQUIRE(_dependencyMap[20]).NetworkUtils.isOnline()) { + if (!_$$_REQUIRE(_dependencyMap[21]).NetworkUtils.isOnline()) { return false; } @@ -270578,10 +269098,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } if (isAllowedIP && !loginStatus.isLoggedIn()) { + _$$_REQUIRE(_dependencyMap[25]).EventRegister.emit(_events.default.NEWSMEMORY_LOGIN_CHECK_STARTED); + var _yield$LoginManager$a = yield LoginManager.autoLogin(), userid = _yield$LoginManager$a.userid; - if (!_$$_REQUIRE(_dependencyMap[22]).LoginStatus.isValidTAUID(userid)) { + _$$_REQUIRE(_dependencyMap[25]).EventRegister.emit(_events.default.NEWSMEMORY_LOGIN_CHECK_ENDED); + + if (!_$$_REQUIRE(_dependencyMap[23]).LoginStatus.isValidTAUID(userid)) { return false; } @@ -270622,12 +269146,42 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return resetAllowedIP; }() + }, { + key: "getLoginConfigValue", + value: function () { + var _getLoginConfigValue = (0, _asyncToGenerator2.default)(function* (key) { + var _global$getActivePSet13 = global.getActivePSetup(), + loginStatus = _global$getActivePSet13.loginStatus, + udb = _global$getActivePSet13.udb; + + if (key.startsWith(udb)) { + return loginStatus.getValue(key.replace(udb + "_", "")); + } + + if (key === _NewsmemoryHelper.default.SP.keys.social_login_platform) { + var credentials = _PaywallLoginStatus.default.getCredentials(); + + return credentials == null ? undefined : credentials.soPass; + } + + return undefined; + }); + + function getLoginConfigValue(_x25) { + return _getLoginConfigValue.apply(this, arguments); + } + + return getLoginConfigValue; + }() + }, { + key: "setLoginConfigValue", + value: function setLoginConfigValue(key, value) {} }]); }(); _LoginManager = LoginManager; LoginManager.database = new _Database.default(_LoginManager.getClassicDatabaseFilePath()); -},2067,[3,270,6,7,11,13,14,61,2068,436,1897,1889,1892,1901,552,1724,845,406,855,1958,438,2069,854,801,550,2070]); +},2056,[3,270,6,7,11,13,14,61,2057,436,1910,2049,1918,1912,566,1724,859,406,869,1864,1900,438,2058,868,815,564,878,2059]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); @@ -270702,7 +269256,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e for (var i = 0; i < functions.length; i++) { module.exports[functions[i]] = CookieManager[functions[i]]; } -},2068,[3,270,18,31]); +},2057,[3,270,18,31]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -270856,7 +269410,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e LoginManager.logOut(); return true; } -},2069,[3,270,865,1929,438]); +},2058,[3,270,879,1976,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -270905,7 +269459,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e pendingOperations.operations -= 1; } }; -},2070,[]); +},2059,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -270965,7 +269519,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2071,[3,270,6,7,2072,2075,2076,2077]); +},2060,[3,270,6,7,2061,2064,2065,2066]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -270997,7 +269551,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(JobConfig, _VerticalConfig); return (0, _createClass2.default)(JobConfig); }(_$$_REQUIRE(_dependencyMap[7]).VerticalConfig); -},2072,[3,7,6,11,13,14,436,2073]); +},2061,[3,7,6,11,13,14,436,2062]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -271196,7 +269750,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2073,[3,270,6,7,2074,438,550]); +},2062,[3,270,6,7,2063,438,564]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { !function (e) { if ("object" == typeof exports) module.exports = e();else if ("function" == typeof define && define.amd) define(e);else { @@ -272526,7 +271080,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }] }, {}, [1])(1); }); -},2074,[]); +},2063,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -272558,7 +271112,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(RealEstateConfig, _VerticalConfig); return (0, _createClass2.default)(RealEstateConfig); }(_$$_REQUIRE(_dependencyMap[7]).VerticalConfig); -},2075,[3,7,6,11,13,14,436,2073]); +},2064,[3,7,6,11,13,14,436,2062]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -272590,7 +271144,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(AutoConfig, _VerticalConfig); return (0, _createClass2.default)(AutoConfig); }(_$$_REQUIRE(_dependencyMap[7]).VerticalConfig); -},2076,[3,7,6,11,13,14,436,2073]); +},2065,[3,7,6,11,13,14,436,2062]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -272622,7 +271176,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(EventsConfig, _VerticalConfig); return (0, _createClass2.default)(EventsConfig); }(_$$_REQUIRE(_dependencyMap[7]).VerticalConfig); -},2077,[3,7,6,11,13,14,436,2073]); +},2066,[3,7,6,11,13,14,436,2062]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -272744,7 +271298,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},2078,[3,270,6,7,2079,1967,2047,438]); +},2067,[3,270,6,7,2068,1934,2025,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -272791,7 +271345,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},2079,[3,270,6,7,2080,2081]); +},2068,[3,270,6,7,2069,2070]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -272857,7 +271411,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return _getDataFromApiResponse.apply(this, arguments); } -},2080,[3,270,407]); +},2069,[3,270,407]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -272934,7 +271488,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return {}; } -},2081,[2082]); +},2070,[2071]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function DOMParser(options) { this.options = options || { @@ -273158,7 +271712,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e exports.XMLSerializer = _$$_REQUIRE(_dependencyMap[2]).XMLSerializer; exports.DOMParser = DOMParser; exports.__DOMHandler = DOMHandler; -},2082,[2083,2084,2085]); +},2071,[2072,2073,2074]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var nameStartChar = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/; var nameChar = new RegExp("[\\-\\.0-9" + nameStartChar.source.slice(1, -1) + "\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"); @@ -273833,7 +272387,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e exports.XMLReader = XMLReader; exports.ParseError = ParseError; -},2083,[]); +},2072,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { exports.entityMap = { lt: '<', @@ -274078,7 +272632,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e hearts: "♥", diams: "♦" }; -},2084,[]); +},2073,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { function copy(src, dest) { for (var p in src) { @@ -275391,7 +273945,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e exports.DOMException = DOMException; exports.DOMImplementation = DOMImplementation; exports.XMLSerializer = XMLSerializer; -},2085,[]); +},2074,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -276224,7 +274778,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},2086,[3,270,6,7,2087,436,2088,2089,2112,2141,438,801,550,798]); +},2075,[3,270,6,7,2076,436,2077,2078,2101,2132,438,815,564,812]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -276395,7 +274949,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } } }; -},2087,[3,270,6,7,438]); +},2076,[3,270,6,7,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -276478,7 +275032,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2088,[3,6,7]); +},2077,[3,6,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -276712,7 +275266,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2089,[3,6,7,11,13,14,16,18,2090,2098,2100,2105,2106,434,2108,2110,438,2042,179,2095,1979,2112,1073]); +},2078,[3,6,7,11,13,14,16,18,2079,2087,2089,2094,2095,434,2097,2099,438,2020,179,2084,1946,2101,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -276906,7 +275460,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2090,[3,6,7,11,13,14,568,16,18,1310,1968,2054,800,2036,2031,2091,2053,2042,803,179,438,2095,1073]); +},2079,[3,6,7,11,13,14,582,16,18,1324,1935,2032,814,2014,2009,2080,2031,2020,817,179,438,2084,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -277218,7 +275772,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2091,[3,6,7,11,13,14,568,16,18,1968,2092,800,574,2031,438,803,179,2033,2093,1972,1073]); +},2080,[3,6,7,11,13,14,582,16,18,1935,2081,814,588,2009,438,817,179,2011,2082,1939,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -277389,7 +275943,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2092,[3,6,7,11,13,14,568,16,18,1807,2033,438,179,803,1073]); +},2081,[3,6,7,11,13,14,582,16,18,1807,2011,438,179,817,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -277469,7 +276023,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e TilePremiumIcon.defaultProps = { show: false }; -},2093,[3,6,7,11,13,14,16,568,574,179,2094]); +},2082,[3,6,7,11,13,14,16,582,588,179,2083]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -277486,7 +276040,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e alignSelf: "center" } }); -},2094,[18]); +},2083,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -277501,7 +276055,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2095,[2096]); +},2084,[2085]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -277561,7 +276115,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e style: _propTypes.default.any, borderStyle: _propTypes.default.any }; -},2096,[3,16,18,568,2097,2042,179,438,803]); +},2085,[3,16,18,582,2086,2020,179,438,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -277580,7 +276134,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e borderRadius: _$$_REQUIRE(_dependencyMap[1]).CARD_RADIUS } }); -},2097,[18,2042]); +},2086,[18,2020]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -277691,7 +276245,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2098,[3,6,7,11,13,14,16,568,18,800,574,438,803,179,2095,2099,2055,1073]); +},2087,[3,6,7,11,13,14,16,582,18,814,588,438,817,179,2084,2088,2033,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -277720,7 +276274,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e marginVertical: 0 } }); -},2099,[18,438]); +},2088,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -277862,7 +276416,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2100,[3,6,7,11,13,14,16,568,18,2101,2104,438,179,2095,803,1073]); +},2089,[3,6,7,11,13,14,16,582,18,2090,2093,438,179,2084,817,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -277984,7 +276538,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); AdsHelper.PARSERS = [new (_$$_REQUIRE(_dependencyMap[4]).ParserV2)(), new (_$$_REQUIRE(_dependencyMap[4]).ParserV1)(), new (_$$_REQUIRE(_dependencyMap[4]).ParserV0)()]; -},2101,[3,6,7,438,2102]); +},2090,[3,6,7,438,2091]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -278410,7 +276964,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2102,[3,6,7,18,2103,1977]); +},2091,[3,6,7,18,2092,1944]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -278465,7 +277019,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var webAdsTypes = exports.webAdsTypes = [adTypes.web.top_banner, adTypes.web.bottom_banner]; var nativeAdsTypes = exports.nativeAdsTypes = [adTypes.native.default, adTypes.native.inarticle, adTypes.native.grid, adTypes.native.list]; -},2103,[]); +},2092,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -278487,7 +277041,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e height: _$$_REQUIRE(_dependencyMap[1]).NATIVO_CARD_HEIGHT } }); -},2104,[18,2052]); +},2093,[18,2030]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -278667,7 +277221,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2105,[3,6,7,11,13,14,568,16,18,1906,1928,852,803,179,1927,438,1919,2095,1073]); +},2094,[3,6,7,11,13,14,582,16,18,1915,2039,866,817,179,2055,438,2040,2084,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -278809,7 +277363,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2106,[3,6,7,11,13,14,16,18,568,1310,800,2107,1968,2054,2042,179,803,2095,438,1073]); +},2095,[3,6,7,11,13,14,16,18,582,1324,814,2096,1935,2032,2020,179,817,2084,438,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -278870,7 +277424,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e marginEnd: 5 } }); -},2107,[18,438,2036]); +},2096,[18,438,2014]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -279064,7 +277618,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2108,[3,4,6,7,11,13,14,568,16,18,1968,436,800,2036,2053,2109,2091,2042,803,179,438,550,2095,1073]); +},2097,[3,4,6,7,11,13,14,582,16,18,1935,436,814,2014,2031,2098,2080,2020,817,179,438,564,2084,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -279124,7 +277678,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = DailymotionVideoPlayerComponent; -},2109,[3,4,16,568,865,179]); +},2098,[3,4,16,582,879,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -279235,7 +277789,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2110,[3,6,7,11,13,14,16,568,18,574,2039,438,803,179,2095,2111,800,2055,1073]); +},2099,[3,6,7,11,13,14,16,582,18,588,2017,438,817,179,2084,2100,814,2033,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -279280,7 +277834,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e height: "100%" } }); -},2111,[18,2042]); +},2100,[18,2020]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -279933,7 +278487,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2112,[3,6,7,11,13,14,568,16,18,2113,2114,2122,2123,2125,438,2042,2050,179,2126,2129,2132,2134,2137,2140,803,1976,1073]); +},2101,[3,6,7,11,13,14,582,16,18,2102,2103,2113,2114,2116,438,2020,2028,179,2117,2120,2123,2125,2128,2131,817,1943,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -280011,7 +278565,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e progressBackgroundColor: "#ffffff", colors: ["#000000"] }; -},2113,[3,22,4,6,7,11,13,14,16,18,803,438,179]); +},2102,[3,22,4,6,7,11,13,14,16,18,817,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -280315,7 +278869,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = RssBaseView; -},2114,[3,4,6,7,11,13,14,16,568,18,2115,2116,179,2118,1938,438]); +},2103,[3,4,6,7,11,13,14,16,582,18,2104,2105,179,2108,2112,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -280333,7 +278887,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, item: {} }); -},2115,[18]); +},2104,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -280655,7 +279209,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e windowSize: 2, initialNumToRender: 6 }; -},2116,[3,4,6,7,11,13,14,16,568,18,2117,179,1937]); +},2105,[3,4,6,7,11,13,14,16,582,18,2106,179,2107]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -280781,7 +279335,54 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e visibility: AsymmetricVisibility.VISIBLE, PlaceholderComponent: null }; -},2117,[3,4,6,7,11,13,14,16,18,568,179]); +},2106,[3,4,6,7,11,13,14,16,18,582,179]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.TecnaviaScrollView = exports.TecnaviaGestureHandlerScrollview = exports.TecnaviaAnimatedScrollView = undefined; + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[4]); + + var _excluded = ["minPointers"]; + + var TecnaviaScrollView = exports.TecnaviaScrollView = _react.default.forwardRef(function (props, _ref) { + var minPointers = props.minPointers, + rest = (0, _objectWithoutProperties2.default)(props, _excluded); + return (0, _$$_REQUIRE(_dependencyMap[5]).jsx)(_reactNative.ScrollView, Object.assign({}, rest, { + overScrollMode: "never", + ref: function ref(scrollRef) { + if (typeof _ref === "function") { + _ref(scrollRef); + } + + _$$_REQUIRE(_dependencyMap[6]).OurBridge.setCustomOnTouch(scrollRef, { + minPointers: minPointers + }); + } + })); + }); + + TecnaviaScrollView.propTypes = Object.assign({}, _reactNative.ScrollViewProps, { + minPointers: _propTypes.default.number, + keyboardShouldPersistTaps: _propTypes.default.string + }); + TecnaviaScrollView.defaultProps = { + keyboardShouldPersistTaps: "handled" + }; + var TecnaviaGestureHandlerScrollview = exports.TecnaviaGestureHandlerScrollview = (0, _$$_REQUIRE(_dependencyMap[7]).createNativeWrapper)(TecnaviaScrollView, { + disallowInterruption: true, + shouldCancelWhenOutside: false + }); + + var TecnaviaAnimatedScrollView = exports.TecnaviaAnimatedScrollView = _reactNative.Animated.createAnimatedComponent(TecnaviaScrollView); +},2107,[3,4,16,582,18,179,579,1]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -281143,7 +279744,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = FooterBar; -},2118,[3,33,568,16,18,436,2101,434,2119,1807,438,179,803,550,2121]); +},2108,[3,33,582,16,18,436,2090,434,2109,1807,438,179,817,564,2111]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -281303,7 +279904,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = FooterElement; -},2119,[3,33,16,18,568,436,1967,800,1974,550,438,803,179,2120]); +},2109,[3,33,16,18,582,436,1934,814,1941,564,438,817,179,2110]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -281328,7 +279929,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e justifyContent: "center" } }); -},2120,[18]); +},2110,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -281347,7 +279948,37 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function TecnaviaFooterTab(props) { return (0, _$$_REQUIRE(_dependencyMap[3]).jsx)(_reactNative.View, Object.assign({}, props)); } -},2121,[3,16,18,179]); +},2111,[3,16,18,179]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.TecnaviaSectionList = exports.TecnaviaFlatList = undefined; + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[2]); + + var TecnaviaFlatList = exports.TecnaviaFlatList = _react.default.forwardRef(function (props, ref) { + return (0, _$$_REQUIRE(_dependencyMap[3]).jsx)(_reactNative.FlatList, Object.assign({ + overScrollMode: "never" + }, props, { + ref: ref + })); + }); + + TecnaviaFlatList.displayName = "FlatList"; + + var TecnaviaSectionList = exports.TecnaviaSectionList = _react.default.forwardRef(function (props, ref) { + return (0, _$$_REQUIRE(_dependencyMap[3]).jsx)(_reactNative.SectionList, Object.assign({ + overScrollMode: "never" + }, props, { + ref: ref + })); + }); + + TecnaviaSectionList.displayName = "SectionList"; +},2112,[3,16,18,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -281533,7 +280164,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2122,[3,6,7,11,13,14,568,16,18,1310,2047,574,2036,2091,2037,2051,438,2042,803,179,2043,1073]); +},2113,[3,6,7,11,13,14,582,16,18,1324,2025,588,2014,2080,2015,2029,438,2020,817,179,2021,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -281663,7 +280294,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2123,[3,6,7,11,13,14,568,16,2036,2091,2037,2124,2042,438,803,179,2044,2038,1073]); +},2114,[3,6,7,11,13,14,582,16,2014,2080,2015,2115,2020,438,817,179,2022,2016,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -281687,7 +280318,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e paddingBottom: _$$_REQUIRE(_dependencyMap[1]).CONTAINER_VERTICAL_PADDING } }); -},2124,[18,2036]); +},2115,[18,2014]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -281863,7 +280494,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2125,[3,6,7,11,13,14,568,16,18,574,2036,2031,2091,2037,2035,2042,438,179,803,2043,2038,1073]); +},2116,[3,6,7,11,13,14,582,16,18,588,2014,2009,2080,2015,2013,2020,438,179,817,2021,2016,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -281878,7 +280509,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2126,[2127]); +},2117,[2118]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -282027,7 +280658,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e itemID: _propTypes.default.number, changeContainerStyleCallback: _propTypes.default.func }; -},2127,[3,6,7,11,13,14,16,568,2128,2101,803,179,2044]); +},2118,[3,6,7,11,13,14,16,582,2119,2090,817,179,2022]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -282043,7 +280674,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e justifyContent: "center" } }); -},2128,[18]); +},2119,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -282058,7 +280689,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2129,[2130]); +},2120,[2121]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -282213,7 +280844,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e TileWebView.defaultProps = { baseUrl: _webUtils.WEBVIEW_BASE_URL }; -},2130,[3,6,7,11,13,14,568,16,1906,1928,852,2131,803,179,1927,1919,2043]); +},2121,[3,6,7,11,13,14,582,16,1915,2039,866,2122,817,179,2055,2040,2021]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -282231,7 +280862,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e overflow: "hidden" } }); -},2131,[18]); +},2122,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -282323,7 +280954,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e thumbnail: _propTypes.default.string }) }; -},2132,[3,6,7,11,13,14,16,568,800,2133,574,438,179,803,2043,2055]); +},2123,[3,6,7,11,13,14,16,582,814,2124,588,438,179,817,2021,2033]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -282354,7 +280985,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e marginVertical: TITLE_VERTICAL_MARGIN } }); -},2133,[18,438]); +},2124,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -282369,7 +281000,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2134,[2135]); +},2125,[2126]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -282492,7 +281123,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e isLinkToCategory: _propTypes.default.bool }) }; -},2135,[3,6,7,11,13,14,16,18,568,800,2136,574,438,179,803,2043,2055]); +},2126,[3,6,7,11,13,14,16,18,582,814,2127,588,438,179,817,2021,2033]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -282519,7 +281150,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e margin: HORIZONTAL_MARGIN / 2 } }); -},2136,[18,438]); +},2127,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -282680,7 +281311,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e gridIndex: _propTypes.default.number }) }; -},2137,[3,6,7,11,13,14,16,18,1310,568,2138,800,434,438,179,803,2139,2043]); +},2128,[3,6,7,11,13,14,16,18,1324,582,2129,814,434,438,179,817,2130,2021]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -282750,7 +281381,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e bottom: 0 } }); -},2138,[18,438]); +},2129,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -282906,7 +281537,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e TopCropImage.defaultProps = { top: 0 }; -},2139,[3,270,6,7,11,13,14,16,568,18,574,179]); +},2130,[3,270,6,7,11,13,14,16,582,18,588,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -282921,7 +281552,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, item: {} }); -},2140,[18]); +},2131,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -283065,7 +281696,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2141,[3,6,7,11,13,14,16,438,2042,2112,1073,179]); +},2132,[3,6,7,11,13,14,16,438,2020,2101,1087,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var _reactNative = _$$_REQUIRE(_dependencyMap[0]); @@ -283084,7 +281715,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _reactNative.AppRegistry.registerHeadlessTask("TaHeadlessTask", function () { return _PushHelper.default.onBackgroundMessage; }); -},2142,[18,3,2143,1265,2151]); +},2133,[18,3,2134,1279,2142]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -283352,7 +281983,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); PushHelper.instance = undefined; -},2143,[3,270,6,7,2144,2145,565,2146,2149,2150,2147]); +},2134,[3,270,6,7,2135,2136,579,2137,2140,2141,2138]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -283701,7 +282332,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},2144,[3,270,6,7,1888,850]); +},2135,[3,270,6,7,1881,864]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -283905,7 +282536,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_BasePush2.default); OneSignalPush.NAME = "onesignal"; -},2145,[3,270,6,7,11,85,13,14,2144,865,2088]); +},2136,[3,270,6,7,11,85,13,14,2135,879,2077]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -284039,7 +282670,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_$$_REQUIRE(_dependencyMap[10]).FirebasePush); MasPush.NAME = "mas"; -},2146,[3,270,4,6,7,11,85,13,14,407,2147,438,2144]); +},2137,[3,270,4,6,7,11,85,13,14,407,2138,438,2135]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -284339,7 +282970,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_$$_REQUIRE(_dependencyMap[12]).BaseCustomModulePush); FirebasePush.NAME = "fcm"; -},2147,[3,270,6,7,11,85,13,14,436,865,550,438,2148]); +},2138,[3,270,6,7,11,85,13,14,436,879,564,438,2139]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -284708,7 +283339,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(_BasePush2.default); -},2148,[3,270,6,7,11,85,13,14,407,2144,2088,438,565]); +},2139,[3,270,6,7,11,85,13,14,407,2135,2077,438,579]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -284933,7 +283564,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_$$_REQUIRE(_dependencyMap[12]).BaseCustomModulePush); AmazonPush.NAME = "adm"; -},2149,[3,4,270,6,7,11,85,13,14,436,865,550,2148]); +},2140,[3,4,270,6,7,11,85,13,14,436,879,564,2139]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -285143,7 +283774,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_$$_REQUIRE(_dependencyMap[12]).BaseCustomModulePush); HuaweiPush.NAME = "hcm"; -},2150,[3,4,270,6,7,11,85,13,14,436,865,550,2148]); +},2141,[3,4,270,6,7,11,85,13,14,436,879,564,2139]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -285164,45 +283795,43 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - var _debounce = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + var _reactNative = _$$_REQUIRE(_dependencyMap[10]); - var _reactNative = _$$_REQUIRE(_dependencyMap[11]); + var _Api = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[11])); - var _Api = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[12])); + var _GlobalConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); - var _GlobalConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); + var _LiveConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); - var _LiveConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); + var _InterstitialsHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); - var _InterstitialsHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[16])); + var _IAPHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[16])); - var _IAPHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[17])); + var _PushHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[17])); - var _PushHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18])); + var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18])); - var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[19])); + var _newsmemoryUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[19])); - var _newsmemoryUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[20])); + var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[20])); - var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[21])); + var _webUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[21])); - var _webUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[22])); + var _KeyEvent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[22])); - var _KeyEvent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[23])); + var _rootNavigator = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[23])); - var _rootNavigator = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[24])); + var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[24])); - var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[25])); + var _zoomConstants = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[25])); - var _zoomConstants = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[26])); - - var _rootBase = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[27])); + var _rootBase = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[26])); function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } @@ -285228,11 +283857,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return lockedOrientation; } - if (_$$_REQUIRE(_dependencyMap[28]).PlatformUtils.isTablet() && lockedOrientationDevice === "tablet") { + if (_$$_REQUIRE(_dependencyMap[27]).PlatformUtils.isTablet() && lockedOrientationDevice === "tablet") { return lockedOrientation; } - if (!_$$_REQUIRE(_dependencyMap[28]).PlatformUtils.isTablet() && lockedOrientationDevice === "phone") { + if (!_$$_REQUIRE(_dependencyMap[27]).PlatformUtils.isTablet() && lockedOrientationDevice === "phone") { return lockedOrientation; } @@ -285240,13 +283869,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; global.startupTime = new Date().getTime(); - global.debugOperations = [new (_$$_REQUIRE(_dependencyMap[29]).DebugOperation)("RootComponent", "constructor")]; + global.debugOperations = [new (_$$_REQUIRE(_dependencyMap[28]).DebugOperation)("RootComponent", "constructor")]; global.initBaseValues(props); _this.currentAppState = _reactNative.AppState.currentState; _this.connectionInfo = undefined; _this.onHandleConnectivityChange = _this._handleConnectivityChange.bind(_this); _this.stateChangeHandler = _this._handleAppStateChange.bind(_this); - _this.onLayout = _this._onLayout.bind(_this); + _this.onLayout = _$$_REQUIRE(_dependencyMap[27]).JSUtils.debounceEventHandler(_this._onLayout.bind(_this), 500, { + leading: false, + trailing: true + }); _this.handleOpenURL = _this._handleOpenURL.bind(_this); _this.onDeviceColorSchemeChange = _this._onDeviceColorSchemeChange.bind(_this); _this.onKeyDown = _this._onKeyDown.bind(_this); @@ -285254,7 +283886,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _this.onUserInteract = _this._onUserInteract.bind(_this); _this.handleConfigUpdateOnPSetup = _this._handleConfigUpdateOnPSetup.bind(_this); - if (_$$_REQUIRE(_dependencyMap[28]).PlatformUtils.isAndroid() && typeof _reactNative.UIManager.setLayoutAnimationEnabledExperimental === "function") { + if (_$$_REQUIRE(_dependencyMap[27]).PlatformUtils.isAndroid() && typeof _reactNative.UIManager.setLayoutAnimationEnabledExperimental === "function") { _reactNative.UIManager.setLayoutAnimationEnabledExperimental(true); } @@ -285274,9 +283906,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _this2 = this; (0, _get2.default)((0, _getPrototypeOf2.default)(RootComponent.prototype), "componentDidMount", this).call(this); - this.connectionInfo = yield _$$_REQUIRE(_dependencyMap[28]).NetworkUtils.getConnectionInfo(); - yield _$$_REQUIRE(_dependencyMap[28]).PlatformUtils.initPlatformInfo(); - var fullOrientation = yield _$$_REQUIRE(_dependencyMap[30]).OurBridge.getStatusBarOrientation(); + this.connectionInfo = yield _$$_REQUIRE(_dependencyMap[27]).NetworkUtils.getConnectionInfo(); + + _Api.default.setTimeout(); + + yield _$$_REQUIRE(_dependencyMap[27]).PlatformUtils.initPlatformInfo(); + var fullOrientation = yield _$$_REQUIRE(_dependencyMap[29]).OurBridge.getStatusBarOrientation(); var lockedOrientation = this._getLockedOrientationProps(); @@ -285292,19 +283927,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _zoomConstants.default.init(); - _Api.default.setTimeout(); - yield _GlobalConfig.default.initMachineId(); this.appStateChangeListener = _reactNative.AppState.addEventListener("change", this.stateChangeHandler); - _$$_REQUIRE(_dependencyMap[28]).NetworkUtils.addConnectionChangeEventListener(this.onHandleConnectivityChange); + _$$_REQUIRE(_dependencyMap[27]).NetworkUtils.addConnectionChangeEventListener(this.onHandleConnectivityChange); - this.onKeyDownListener = _$$_REQUIRE(_dependencyMap[30]).RNEventEmitter.addListener(_$$_REQUIRE(_dependencyMap[30]).RNEventEmitter.ON_KEY_DOWN, this.onKeyDown); - this.onKeyUpListener = _$$_REQUIRE(_dependencyMap[30]).RNEventEmitter.addListener(_$$_REQUIRE(_dependencyMap[30]).RNEventEmitter.ON_KEY_UP, this.onKeyUp); + this.onKeyDownListener = _$$_REQUIRE(_dependencyMap[29]).RNEventEmitter.addListener(_$$_REQUIRE(_dependencyMap[29]).RNEventEmitter.ON_KEY_DOWN, this.onKeyDown); + this.onKeyUpListener = _$$_REQUIRE(_dependencyMap[29]).RNEventEmitter.addListener(_$$_REQUIRE(_dependencyMap[29]).RNEventEmitter.ON_KEY_UP, this.onKeyUp); - if (_$$_REQUIRE(_dependencyMap[28]).PlatformUtils.isAndroid()) { - this.newIntentListener = _$$_REQUIRE(_dependencyMap[30]).RNEventEmitter.addListener(_$$_REQUIRE(_dependencyMap[30]).RNEventEmitter.NEW_INTENT, this.handleOpenURL); - this.onUserInteractListener = _$$_REQUIRE(_dependencyMap[30]).RNEventEmitter.addListener(_$$_REQUIRE(_dependencyMap[30]).RNEventEmitter.ON_USER_INTERACT, this.onUserInteract); + if (_$$_REQUIRE(_dependencyMap[27]).PlatformUtils.isAndroid()) { + this.newIntentListener = _$$_REQUIRE(_dependencyMap[29]).RNEventEmitter.addListener(_$$_REQUIRE(_dependencyMap[29]).RNEventEmitter.NEW_INTENT, this.handleOpenURL); + this.onUserInteractListener = _$$_REQUIRE(_dependencyMap[29]).RNEventEmitter.addListener(_$$_REQUIRE(_dependencyMap[29]).RNEventEmitter.ON_USER_INTERACT, this.onUserInteract); } this.onAccessibilityModeListener = _reactNative.AccessibilityInfo.addEventListener("screenReaderChanged", this.onAccessibilityModeChange); @@ -285313,7 +283946,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e yield global.getLocaleConfig().initLocale(); } catch (e) {} - if (_$$_REQUIRE(_dependencyMap[28]).PlatformUtils.isAndroid()) { + if (_$$_REQUIRE(_dependencyMap[27]).PlatformUtils.isAndroid()) { var url = this.props.url; if (url) { @@ -285322,7 +283955,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); } } else { - this.safeAreaChangeEventId = _$$_REQUIRE(_dependencyMap[31]).EventRegister.on(_events.default.ON_SAFE_AREA_CHANGE, function () { + this.safeAreaChangeEventId = _$$_REQUIRE(_dependencyMap[30]).EventRegister.on(_events.default.ON_SAFE_AREA_CHANGE, function () { _this2.setLayout(_deviceUtils.default.getSafeArea()); }); this.handleOpenURLListener = _reactNative.Linking.addEventListener("url", this.handleOpenURL); @@ -285335,11 +283968,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } } - this.colorSchemeChangeListener = _reactNative.Appearance.addChangeListener((0, _debounce.default)(this.onDeviceColorSchemeChange, 200, { + this.colorSchemeChangeListener = _reactNative.Appearance.addChangeListener(_$$_REQUIRE(_dependencyMap[27]).JSUtils.debounce(this.onDeviceColorSchemeChange, 200, { leading: false, trailing: true })); - this.onCheckConfigUpdateEvent = _$$_REQUIRE(_dependencyMap[31]).EventRegister.on(_events.default.CONFIG_UPDATE_CHECK, (0, _asyncToGenerator2.default)(function* () { + this.onCheckConfigUpdateEvent = _$$_REQUIRE(_dependencyMap[30]).EventRegister.on(_events.default.CONFIG_UPDATE_CHECK, (0, _asyncToGenerator2.default)(function* () { var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, _ref2$config = _ref2.config, config = _ref2$config === undefined ? global.getMainPSetup() : _ref2$config; @@ -285354,7 +283987,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _this2._showHintRestart(); } else { if (lastIssueChanged && config.pSetup === global.getActivePSetup().pSetup) { - _$$_REQUIRE(_dependencyMap[31]).EventRegister.emit(_events.default.TRIGGER_NEWSMEMORY_RESTART); + _$$_REQUIRE(_dependencyMap[30]).EventRegister.emit(_events.default.TRIGGER_NEWSMEMORY_RESTART); } if (allowedIPChanged && _LiveConfig.default.isRssSide() && config.pSetup === global.getRSSActivePSetup().pSetup) { @@ -285364,12 +283997,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } } })); + this.startNetworkStatusCheck(); + global.debugOperations.push(new (_$$_REQUIRE(_dependencyMap[28]).DebugOperation)("RootComponent", "mounted")); this.setState({ loading: false, initialized: false }); - this.startNetworkStatusCheck(); - global.debugOperations.push(new (_$$_REQUIRE(_dependencyMap[29]).DebugOperation)("RootComponent", "mounted")); }); function componentDidMount() { @@ -285393,9 +284026,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (_this$colorSchemeChan = this.colorSchemeChangeListener) == null ? undefined : _this$colorSchemeChan.remove(); (_this$handleOpenURLLi = this.handleOpenURLListener) == null ? undefined : _this$handleOpenURLLi.remove(); - _$$_REQUIRE(_dependencyMap[31]).EventRegister.rm(this.safeAreaChangeEventId); + _$$_REQUIRE(_dependencyMap[30]).EventRegister.rm(this.safeAreaChangeEventId); - _$$_REQUIRE(_dependencyMap[31]).EventRegister.rm(this.onCheckConfigUpdateEvent); + _$$_REQUIRE(_dependencyMap[30]).EventRegister.rm(this.onCheckConfigUpdateEvent); _PushHelper.default.unregisterListener(); @@ -285413,7 +284046,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _LiveConfig.default.keyDown(new _KeyEvent.default(event)); try { - _$$_REQUIRE(_dependencyMap[32]).ShortcutManager.onKeyDown({ + _$$_REQUIRE(_dependencyMap[31]).ShortcutManager.onKeyDown({ combo: _LiveConfig.default.getKeysCombo(), comboNoRL: _LiveConfig.default.getKeysComboNoRL() }); @@ -285427,14 +284060,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, { key: "_onUserInteract", value: function _onUserInteract(event) { - _$$_REQUIRE(_dependencyMap[31]).EventRegister.emit(_events.default.ON_USER_INTERACT); + _$$_REQUIRE(_dependencyMap[30]).EventRegister.emit(_events.default.ON_USER_INTERACT); } }, { key: "_onAccessibilityModeChange", value: function _onAccessibilityModeChange(enable) { - _$$_REQUIRE(_dependencyMap[28]).PlatformUtils.setSystemAccessibilityMode(enable); + _$$_REQUIRE(_dependencyMap[27]).PlatformUtils.setSystemAccessibilityMode(enable); - _$$_REQUIRE(_dependencyMap[31]).EventRegister.emit(_events.default.ON_ACCESSIBILITY_MODE_CHANGE, { + _$$_REQUIRE(_dependencyMap[30]).EventRegister.emit(_events.default.ON_ACCESSIBILITY_MODE_CHANGE, { enable: enable }); } @@ -285456,20 +284089,35 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e RootComponent.CONNECTIVITY_TIMEOUT = -1; } + }, { + key: "checkNetworkStatus", + value: function () { + var _checkNetworkStatus = (0, _asyncToGenerator2.default)(function* () { + var fromInterval = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + + try { + var info = yield _$$_REQUIRE(_dependencyMap[27]).NetworkUtils.getConnectionInfo(); + + this._handleConnectivityChange(info, fromInterval); + } catch (e) {} + }); + + function checkNetworkStatus() { + return _checkNetworkStatus.apply(this, arguments); + } + + return checkNetworkStatus; + }() }, { key: "startNetworkStatusCheck", value: function startNetworkStatusCheck() { var _this3 = this; - if (RootComponent.INTERVAL_ID < 0) { - RootComponent.INTERVAL_ID = setInterval((0, _asyncToGenerator2.default)(function* () { - try { - var info = yield _$$_REQUIRE(_dependencyMap[28]).NetworkUtils.getConnectionInfo(); - - _this3._handleConnectivityChange(info, true); - } catch (e) {} - }), RootComponent.INTERVAL_ID_VALUE); - } + this.clearNetworkStatusCheck(); + this.checkNetworkStatus(); + RootComponent.INTERVAL_ID = setInterval((0, _asyncToGenerator2.default)(function* () { + _this3.checkNetworkStatus(true); + }), RootComponent.INTERVAL_ID_VALUE); } }, { key: "_onDeviceColorSchemeChange", @@ -285479,13 +284127,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e if (_deviceUtils.default.getAppearance() !== colorScheme) { _deviceUtils.default.setAppearance(colorScheme); - var activeTheme = _$$_REQUIRE(_dependencyMap[33]).Css.getActiveTheme(); + var activeTheme = _$$_REQUIRE(_dependencyMap[32]).Css.getActiveTheme(); - var themeInUse = _$$_REQUIRE(_dependencyMap[33]).Css.getThemeInUse(); + var themeInUse = _$$_REQUIRE(_dependencyMap[32]).Css.getThemeInUse(); - var isAutomaticTheme = _$$_REQUIRE(_dependencyMap[33]).Css.isAutomaticTheme(); + var isAutomaticTheme = _$$_REQUIRE(_dependencyMap[32]).Css.isAutomaticTheme(); - var isThemeDark = _$$_REQUIRE(_dependencyMap[33]).Css.isDarkTheme(); + var isThemeDark = _$$_REQUIRE(_dependencyMap[32]).Css.isDarkTheme(); var isSchemeDark = _deviceUtils.default.isDark(); @@ -285501,17 +284149,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var fromInterval = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - if (RootComponent.CONNECTIVITY_TIMEOUT > -1) { - this.clearConnectivityChangeTimeout(); + if (_deviceUtils.default.isAppInBackground()) { + return; } + if (_$$_REQUIRE(_dependencyMap[27]).JSUtils.equals(this.connectionInfo, connectionInfo)) { + return; + } + + this.clearConnectivityChangeTimeout(); RootComponent.CONNECTIVITY_TIMEOUT = setTimeout(function () { - if (!_$$_REQUIRE(_dependencyMap[28]).JSUtils.equals(_this4.connectionInfo, connectionInfo)) { + if (!_$$_REQUIRE(_dependencyMap[27]).JSUtils.equals(_this4.connectionInfo, connectionInfo)) { _Api.default.setTimeout(); + var type = connectionInfo.type, + effectiveType = connectionInfo.effectiveType; + if (_this4.connectionInfo !== undefined) { - _$$_REQUIRE(_dependencyMap[31]).EventRegister.emit(_events.default.ON_CONNECTIVITY_CHANGE, Object.assign({}, connectionInfo, { - online: _$$_REQUIRE(_dependencyMap[28]).NetworkUtils.isOnline() + _$$_REQUIRE(_dependencyMap[30]).EventRegister.emit(_events.default.ON_CONNECTIVITY_CHANGE, Object.assign({}, connectionInfo, { + online: _$$_REQUIRE(_dependencyMap[27]).NetworkUtils.isOnline() })); } @@ -285532,22 +284188,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _PushHelper.default.checkIfSendRegistration(); - if (_$$_REQUIRE(_dependencyMap[28]).NetworkUtils.isOnline()) { + if (_$$_REQUIRE(_dependencyMap[27]).NetworkUtils.isOnline()) { update = yield this._checkConfigUpdate(); } - var allowFontScaling = global.getUserSettings().getAllowFontScaling(); + var userSettings = global.getUserSettings(); + var allowFontScaling = userSettings.getAllowFontScaling(); if (allowFontScaling) { - _$$_REQUIRE(_dependencyMap[28]).PlatformUtils.updateFontScale().then(function () { + _$$_REQUIRE(_dependencyMap[27]).PlatformUtils.updateFontScale().then(function () { var _ref5 = (0, _asyncToGenerator2.default)(function* (changed) { if (changed) { - if (_$$_REQUIRE(_dependencyMap[28]).PlatformUtils.hasNotDefaultFontScale() && !global.getUserSettings().userAlreadySetAllowFontScale) { - allowFontScaling = yield global.getUserSettings().showAllowFontScalingModal(); + if (_$$_REQUIRE(_dependencyMap[27]).PlatformUtils.hasNotDefaultFontScale() && !userSettings.userAlreadySetAllowFontScale) { + allowFontScaling = yield userSettings.showAllowFontScalingModal(); } if (allowFontScaling) { - _$$_REQUIRE(_dependencyMap[31]).EventRegister.emit(_events.default.SYSTEM_FONT_SIZE_CHANGED); + _$$_REQUIRE(_dependencyMap[30]).EventRegister.emit(_events.default.SYSTEM_FONT_SIZE_CHANGED); } } }); @@ -285558,32 +284215,39 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }()); } - (0, _$$_REQUIRE(_dependencyMap[34]).trackEnterForeground)(); + (0, _$$_REQUIRE(_dependencyMap[33]).trackEnterForeground)(); } else { - (0, _$$_REQUIRE(_dependencyMap[34]).trackEnterBackground)(); + (0, _$$_REQUIRE(_dependencyMap[33]).trackEnterBackground)(); } if (!update) { + var audioMgr = global.getAudio(); + if (this.currentAppState.match(/background/) && nextAppState === "active") { - if (global.getAudio().ttsIsPaused()) { - global.getAudio().ttsResume(); + if (audioMgr.ttsIsPaused()) { + audioMgr.ttsResume(); } - _$$_REQUIRE(_dependencyMap[31]).EventRegister.emit(_events.default.ON_STATE_CHANGE_GOING_FOREGROUND, { + this.startNetworkStatusCheck(); + + _$$_REQUIRE(_dependencyMap[30]).EventRegister.emit(_events.default.ON_STATE_CHANGE_GOING_FOREGROUND, { currentAppState: this.currentAppState, nextAppState: nextAppState }); } else if (nextAppState === "background") { - if (global.getAudio().ttsIsSpeaking()) { - global.getAudio().ttsPause(); + if (audioMgr.ttsIsSpeaking()) { + audioMgr.ttsPause(); } - _$$_REQUIRE(_dependencyMap[31]).EventRegister.emit(_events.default.ON_STATE_CHANGE_GOING_BACKGROUND, { + this.clearNetworkStatusCheck(); + this.clearConnectivityChangeTimeout(); + + _$$_REQUIRE(_dependencyMap[30]).EventRegister.emit(_events.default.ON_STATE_CHANGE_GOING_BACKGROUND, { currentAppState: this.currentAppState, nextAppState: nextAppState }); } else if (this.currentAppState.match(/active/) && nextAppState === "inactive") { - _$$_REQUIRE(_dependencyMap[31]).EventRegister.emit(_events.default.ON_STATE_CHANGE_GOING_INACTIVE, { + _$$_REQUIRE(_dependencyMap[30]).EventRegister.emit(_events.default.ON_STATE_CHANGE_GOING_INACTIVE, { currentAppState: this.currentAppState, nextAppState: nextAppState }); @@ -285657,7 +284321,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, { key: "_showHint", value: function _showHint(hint, onHide) { - _$$_REQUIRE(_dependencyMap[35]).HintOverlay.show({ + _$$_REQUIRE(_dependencyMap[34]).HintOverlay.show({ config: { hint: hint, key: "hint_root_component", @@ -285677,11 +284341,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e this._forceRestart(); } else { yield new Promise(function (resolve) { - return _$$_REQUIRE(_dependencyMap[31]).EventRegister.emit(_events.default.ON_POSTPONE_ACTION, { + return _$$_REQUIRE(_dependencyMap[30]).EventRegister.emit(_events.default.ON_POSTPONE_ACTION, { resolve: resolve }); }); - yield (0, _$$_REQUIRE(_dependencyMap[36]).createPendingOperationPromise)(); + yield (0, _$$_REQUIRE(_dependencyMap[35]).createPendingOperationPromise)(); this._showHint(global.strings("hint_restart"), function () { _this5._forceRestart(); @@ -285699,7 +284363,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e key: "_showHintUpdateUi", value: function _showHintUpdateUi() { if (!_LiveConfig.default.isEpaperClassicSide()) { - _$$_REQUIRE(_dependencyMap[31]).EventRegister.emit(_events.default.CONFIG_FORCE_UPDATE, { + _$$_REQUIRE(_dependencyMap[30]).EventRegister.emit(_events.default.CONFIG_FORCE_UPDATE, { message: global.strings("hint_update_ui") }); } @@ -285721,7 +284385,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var migrateChanged = false; var nativeOptionspageFallbackChanged = false; - if (!_$$_REQUIRE(_dependencyMap[28]).JSUtils.isEmpty(pSetupConfig)) { + if (!_$$_REQUIRE(_dependencyMap[27]).JSUtils.isEmpty(pSetupConfig)) { var pSetupUpdated = false; var pSetup = pSetupConfig.pSetup, machine = pSetupConfig.machine, @@ -285788,7 +284452,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e global.setPSetupConfig(pSetup, config); } else { if (userIP) { - _$$_REQUIRE(_dependencyMap[28]).NetworkUtils.setIP(userIP); + _$$_REQUIRE(_dependencyMap[27]).NetworkUtils.setIP(userIP); } pSetupConfig.setAllowedIP(isAllowedIP); @@ -285994,8 +284658,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e value: function () { var _setLayout = (0, _asyncToGenerator2.default)(function* (layout) { if (global.appNeedsSafeArea()) { - var orientation = layout.height > layout.width ? _$$_REQUIRE(_dependencyMap[28]).PlatformUtils.PORTRAIT : _$$_REQUIRE(_dependencyMap[28]).PlatformUtils.LANDSCAPE; - var fullOrientation = yield _$$_REQUIRE(_dependencyMap[30]).OurBridge.getStatusBarOrientation(); + var orientation = layout.height > layout.width ? _$$_REQUIRE(_dependencyMap[27]).PlatformUtils.PORTRAIT : _$$_REQUIRE(_dependencyMap[27]).PlatformUtils.LANDSCAPE; + var fullOrientation = yield _$$_REQUIRE(_dependencyMap[29]).OurBridge.getStatusBarOrientation(); var lockedOrientation = this._getLockedOrientationProps(); @@ -286007,7 +284671,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); if (somethingChange) { - _$$_REQUIRE(_dependencyMap[31]).EventRegister.emit(_events.default.ON_ORIENTATION_CHANGE, Object.assign({}, _deviceUtils.default.screenDimensions, { + _$$_REQUIRE(_dependencyMap[30]).EventRegister.emit(_events.default.ON_ORIENTATION_CHANGE, Object.assign({}, _deviceUtils.default.screenDimensions, { orientation: orientation, fullOrientation: fullOrientation })); @@ -286027,20 +284691,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _onLayout2 = (0, _asyncToGenerator2.default)(function* (_ref6) { var nativeEvent = _ref6.nativeEvent; - if (!(yield _$$_REQUIRE(_dependencyMap[30]).OurBridge.isActionModeVisible()) && !_IAPHelper.default.purchasing) { + if (!(yield _$$_REQUIRE(_dependencyMap[29]).OurBridge.isActionModeVisible()) && !_IAPHelper.default.purchasing) { var layout = nativeEvent.layout; var initialized = this.state.initialized; - (0, _$$_REQUIRE(_dependencyMap[37]).setRootContainerLayout)(layout); + (0, _$$_REQUIRE(_dependencyMap[36]).setRootContainerLayout)(layout); - if (_$$_REQUIRE(_dependencyMap[28]).PlatformUtils.isAndroid() || !global.appNeedsSafeArea()) { + if (_$$_REQUIRE(_dependencyMap[27]).PlatformUtils.isAndroid() || !global.appNeedsSafeArea()) { var result = {}; try { - result = (yield _$$_REQUIRE(_dependencyMap[30]).OurBridge.isOrientationLocked()) || {}; + result = (yield _$$_REQUIRE(_dependencyMap[29]).OurBridge.isOrientationLocked()) || {}; } catch (e) {} - var fullOrientation = yield _$$_REQUIRE(_dependencyMap[30]).OurBridge.getStatusBarOrientation(); - var newOrientation = layout.height > layout.width ? _$$_REQUIRE(_dependencyMap[28]).PlatformUtils.PORTRAIT : _$$_REQUIRE(_dependencyMap[28]).PlatformUtils.LANDSCAPE; + var fullOrientation = yield _$$_REQUIRE(_dependencyMap[29]).OurBridge.getStatusBarOrientation(); + var newOrientation = layout.height > layout.width ? _$$_REQUIRE(_dependencyMap[27]).PlatformUtils.PORTRAIT : _$$_REQUIRE(_dependencyMap[27]).PlatformUtils.LANDSCAPE; var lockedOrientation = this._getLockedOrientationProps(); @@ -286055,12 +284719,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var densityDPI = this.props.densityDPI; - _$$_REQUIRE(_dependencyMap[28]).PlatformUtils.setInchesBySizeAndDPI(densityDPI, _deviceUtils.default.getScreenDimensions()); + _$$_REQUIRE(_dependencyMap[27]).PlatformUtils.setInchesBySizeAndDPI(densityDPI, _deviceUtils.default.getScreenDimensions()); if (somethingChange) { _deviceUtils.default.setSafeAreaFromScreenDimensions(); - _$$_REQUIRE(_dependencyMap[31]).EventRegister.emit(_events.default.ON_ORIENTATION_CHANGE, Object.assign({}, _deviceUtils.default.screenDimensions, { + _$$_REQUIRE(_dependencyMap[30]).EventRegister.emit(_events.default.ON_ORIENTATION_CHANGE, Object.assign({}, _deviceUtils.default.screenDimensions, { orientation: newOrientation })); } @@ -286074,7 +284738,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var userSettings = global.getUserSettings(); var startedAsTablet = userSettings.startedAsTablet; - var deviceChanged = startedAsTablet !== _$$_REQUIRE(_dependencyMap[28]).PlatformUtils.isTablet(); + var deviceChanged = startedAsTablet !== _$$_REQUIRE(_dependencyMap[27]).PlatformUtils.isTablet(); if (deviceChanged) { _NavigationService.default.restart(); @@ -286093,14 +284757,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e key: "_getTheme", value: function _getTheme() { if (global.isTaAddon()) { - return Object.assign({}, _$$_REQUIRE(_dependencyMap[38]).DefaultTheme, { - colors: Object.assign({}, _$$_REQUIRE(_dependencyMap[38]).DefaultTheme.colors, { - background: _$$_REQUIRE(_dependencyMap[28]).colors.transparent + return Object.assign({}, _$$_REQUIRE(_dependencyMap[37]).DefaultTheme, { + colors: Object.assign({}, _$$_REQUIRE(_dependencyMap[37]).DefaultTheme.colors, { + background: _$$_REQUIRE(_dependencyMap[27]).colors.transparent }) }); } - return _$$_REQUIRE(_dependencyMap[38]).DefaultTheme; + return _$$_REQUIRE(_dependencyMap[37]).DefaultTheme; } }, { key: "render", @@ -286114,22 +284778,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } if (initialized) { - var backgroundColor = global.splashBgColor ? global.splashBgColor : _$$_REQUIRE(_dependencyMap[28]).colors.white; + var backgroundColor = global.splashBgColor ? global.splashBgColor : _$$_REQUIRE(_dependencyMap[27]).colors.white; - _$$_REQUIRE(_dependencyMap[28]).PlatformUtils.colorBars(backgroundColor, backgroundColor); + _$$_REQUIRE(_dependencyMap[27]).PlatformUtils.colorBars(backgroundColor, backgroundColor); } - return (0, _$$_REQUIRE(_dependencyMap[39]).jsxs)(_$$_REQUIRE(_dependencyMap[37]).RootContainerLayoutContextProvider, { - children: [(0, _$$_REQUIRE(_dependencyMap[39]).jsx)(_$$_REQUIRE(_dependencyMap[40]).TecnaviaSafeAreaProvider, { - children: (0, _$$_REQUIRE(_dependencyMap[39]).jsx)(_rootBase.default, { + return (0, _$$_REQUIRE(_dependencyMap[38]).jsxs)(_$$_REQUIRE(_dependencyMap[36]).RootContainerLayoutContextProvider, { + children: [(0, _$$_REQUIRE(_dependencyMap[38]).jsx)(_$$_REQUIRE(_dependencyMap[39]).TecnaviaSafeAreaProvider, { + children: (0, _$$_REQUIRE(_dependencyMap[38]).jsx)(_rootBase.default, { onLayout: this.onLayout, - children: initialized ? (0, _$$_REQUIRE(_dependencyMap[39]).jsx)(_$$_REQUIRE(_dependencyMap[37]).CustomNavigationContainer, { + children: initialized ? (0, _$$_REQUIRE(_dependencyMap[38]).jsx)(_$$_REQUIRE(_dependencyMap[36]).CustomNavigationContainer, { theme: this._getTheme(), onNavigationRef: _NavigationService.default.main.setRef, - children: (0, _$$_REQUIRE(_dependencyMap[39]).jsx)(_rootNavigator.default, {}) + children: (0, _$$_REQUIRE(_dependencyMap[38]).jsx)(_rootNavigator.default, {}) }) : null }) - }), global.showSendLog ? (0, _$$_REQUIRE(_dependencyMap[39]).jsx)(_$$_REQUIRE(_dependencyMap[41]).LogButton, { + }), global.showSendLog ? (0, _$$_REQUIRE(_dependencyMap[38]).jsx)(_$$_REQUIRE(_dependencyMap[40]).LogButton, { style: { position: "absolute", end: 0 @@ -286161,7 +284825,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e migrate = pSetupConfig.migrate, showNativeOptionsPageFallbackUrl = pSetupConfig.showNativeOptionsPageFallbackUrl; - var userIP = _$$_REQUIRE(_dependencyMap[28]).NetworkUtils.getIP(); + var userIP = _$$_REQUIRE(_dependencyMap[27]).NetworkUtils.getIP(); var pSetup = pSetupConfig.pSetup, machine = pSetupConfig.machine, @@ -286243,12 +284907,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e cdnServer = _result.cdnServer; cdnVersion = _result.cdnVersion; - if (!_$$_REQUIRE(_dependencyMap[28]).JSUtils.isNull(result.migrate)) { + if (!_$$_REQUIRE(_dependencyMap[27]).JSUtils.isNull(result.migrate)) { var _result2 = result; migrate = _result2.migrate; } - if (!_$$_REQUIRE(_dependencyMap[28]).JSUtils.isNull(result.showNativeOptionsPageFallbackUrl)) { + if (!_$$_REQUIRE(_dependencyMap[27]).JSUtils.isNull(result.showNativeOptionsPageFallbackUrl)) { var _result3 = result; showNativeOptionsPageFallbackUrl = _result3.showNativeOptionsPageFallbackUrl; } @@ -286286,7 +284950,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return checkConfigUpdateOnPSetup; }() }]); - }(_$$_REQUIRE(_dependencyMap[32]).Shortcut); + }(_$$_REQUIRE(_dependencyMap[31]).Shortcut); RootComponent.INTERVAL_ID = -1; RootComponent.INTERVAL_ID_VALUE = 60000; @@ -286330,18 +284994,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e lockedOrientation: _propTypes.default.oneOf(["default", "all", "portrait", "portrait_up", "portrait_down", "landscape", "landscape_left", "landscape_right"]), apiKey: _propTypes.default.string, enableDebugger: _propTypes.default.bool - }, _$$_REQUIRE(_dependencyMap[32]).Shortcut.propTypes); - RootComponent.defaultProps = Object.assign({}, _$$_REQUIRE(_dependencyMap[32]).Shortcut.defaultProps, { + }, _$$_REQUIRE(_dependencyMap[31]).Shortcut.propTypes); + RootComponent.defaultProps = Object.assign({}, _$$_REQUIRE(_dependencyMap[31]).Shortcut.defaultProps, { isAddon: false, isTecnaviaHelperApp: false, debugMode: false, - densityDPI: _$$_REQUIRE(_dependencyMap[28]).PlatformUtils.defaultDpi, + densityDPI: _$$_REQUIRE(_dependencyMap[27]).PlatformUtils.defaultDpi, isHuawei: false, isKindle: false, shortcutEnabled: global.__DEV__, enableDebugger: false }); -},2151,[3,270,6,7,11,85,13,14,1592,568,16,18,407,2152,1898,436,2200,1865,2143,434,613,865,852,1899,2208,1888,2162,2663,438,801,565,550,1939,803,1897,2007,2070,2240,1073,179,2213,2666]); +},2142,[3,270,6,7,11,85,13,14,582,16,18,407,2143,1907,436,2197,1865,2134,434,627,879,866,1908,2205,1881,2153,2662,438,815,579,564,1984,817,1910,1985,2059,2238,1087,179,2210,2666]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -286997,7 +285661,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2152,[3,270,6,7,406,848,1890,1897,1889,1892,2143,434,613,865,864,2153,405,1863,438,801,850,803,1893]); +},2143,[3,270,6,7,406,862,1919,1910,2049,1918,2134,434,627,879,878,2144,405,1863,438,815,864,817,1920]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -287952,7 +286616,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e mode: _$$_REQUIRE(_dependencyMap[22]).NewsmemoryArticleModes.TEXT, hidden: false }; -},2153,[3,4,270,6,7,11,13,14,16,568,18,436,651,2154,2173,552,2191,654,843,2113,2192,2194,1904,1958,438,550,2187,1,179,2189,2195,811,1937,2186]); +},2144,[3,4,270,6,7,11,13,14,16,582,18,436,665,2145,2164,566,2188,668,857,2102,2189,2191,1909,1900,438,564,2178,1,179,2186,2192,825,2107,2177]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -288888,7 +287552,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e ArticleGraph.defaultProps = { renderGraphContent: false }; -},2154,[3,224,270,6,7,11,13,14,2155,2156,568,16,18,1863,436,613,842,2157,552,648,649,651,573,650,843,654,2158,2164,2167,2170,438,803,550,850,179,2171]); +},2145,[3,224,270,6,7,11,13,14,2146,2147,582,16,18,1863,436,627,856,2148,566,662,663,665,587,664,857,668,2149,2155,2158,2161,438,817,564,864,179,2162]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -288984,7 +287648,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e pageId: 0, artId: -1 }; -},2155,[3,6,7,11,13,14,16,568,18,438,179,581]); +},2146,[3,6,7,11,13,14,16,582,18,438,179,595]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -289104,7 +287768,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e pageId: 0, artId: -1 }; -},2156,[3,4,6,7,11,13,14,16,568,18,179,581]); +},2147,[3,4,6,7,11,13,14,16,582,18,179,595]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -289227,7 +287891,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},2157,[3,270,6,7,18,865,438]); +},2148,[3,270,6,7,18,879,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -290206,7 +288870,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e minZoom: 1, maxZoom: 5 }; -},2158,[3,33,6,7,11,13,14,16,18,568,657,2159,2160,2161,2113,2162,438,1,2163,179,803,1886,1884]); +},2149,[3,33,6,7,11,13,14,16,18,582,671,2150,2151,2152,2102,2153,438,1,2154,179,817,1970,1968]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -290221,7 +288885,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e overflow: "hidden" } }); -},2159,[18]); +},2150,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -290373,7 +289037,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e twoFingersTapHandlerWaitFor: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.array]), doubleTapHandlerWaitFor: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.array]) }; -},2160,[3,6,7,11,13,14,16,568,18,1,179]); +},2151,[3,6,7,11,13,14,16,582,18,1,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -290411,7 +289075,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); GestureTimer.timers = {}; -},2161,[3,6,7]); +},2152,[3,6,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -290459,7 +289123,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e ZoomDevice.constants = {}; var _default = exports.default = ZoomDevice; -},2162,[3,6,7,438]); +},2153,[3,6,7,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -290676,7 +289340,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var limit = cond(lessThan(multiply(contentSize.width, scale), viewSize.width), panLeftX, add(sub(panLeftX, multiply(contentSize.width, scale)), viewSize.width)); return block([debug("RIGHT: ", limit), call([limit], callback), limit]); } -},2163,[657,3,2162,438,1]); +},2154,[671,3,2153,438,1]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -290931,7 +289595,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e showAll: false, hidden: false }; -},2164,[3,22,4,6,7,11,13,14,16,568,18,2165,842,438,179]); +},2155,[3,22,4,6,7,11,13,14,16,582,18,2156,856,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -291319,7 +289983,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2165,[3,4,270,6,7,11,13,14,16,568,18,2166,436,613,843,406,654,550,179,438,574,573]); +},2156,[3,4,270,6,7,11,13,14,16,582,18,2157,436,627,857,406,668,564,179,438,588,587]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -291411,7 +290075,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e onHrError: _propTypes.default.func, onHrLoaded: _propTypes.default.func }); -},2166,[3,6,7,11,13,14,16,568,18,179,581]); +},2157,[3,6,7,11,13,14,16,582,18,179,595]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -291696,7 +290360,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = PageExtra; -},2167,[3,6,7,11,13,14,568,16,18,436,2168,842,650,651,654,438,550,850,179]); +},2158,[3,6,7,11,13,14,582,16,18,436,2159,856,664,665,668,438,564,864,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -292540,7 +291204,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }] }, index); } -},2168,[3,33,6,7,16,18,2169,407,2056,848,648,651,655,654,1888,436,1863,406,649,650,653,1974,613,842,1928,438,850,1958,1881,550,803,179]); +},2159,[3,33,6,7,16,18,2160,407,2034,862,662,665,669,668,1881,436,1863,406,663,664,667,1941,627,856,2039,438,864,1900,1979,564,817,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -292550,7 +291214,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _reactNative = _$$_REQUIRE(_dependencyMap[0]); var _default = exports.default = _reactNative.NativeModules.RNMail; -},2169,[18]); +},2160,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -292564,7 +291228,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e flex: 1 } }); -},2170,[18]); +},2161,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -292671,7 +291335,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e errors: [], autoHideTimer: 5000 }; -},2171,[3,6,7,11,13,14,16,568,18,800,179,803,2172]); +},2162,[3,6,7,11,13,14,16,582,18,814,179,817,2163]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -292695,7 +291359,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e color: _$$_REQUIRE(_dependencyMap[1]).colors.white } }); -},2172,[18,438]); +},2163,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -293805,7 +292469,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e header: false, enableDesktopLayout: false }; -},2173,[3,270,6,7,11,13,14,568,16,18,553,1863,2174,1864,436,613,1928,650,651,843,654,2175,1974,2176,2179,2181,438,550,850,2182,1881,2187,179,1807,1932,803,2056,1958,801,2171,1923,1919,2189]); +},2164,[3,270,6,7,11,13,14,582,16,18,567,1863,2165,1864,436,627,2039,664,665,857,668,2166,1941,2167,2170,2172,438,564,864,2173,1979,2178,179,1807,2180,817,2034,1900,815,2162,2185,2040,2186]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -294059,7 +292723,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2174,[3,270,6,7,552,650,651,843,654,406,1864,1958,438,1726]); +},2165,[3,270,6,7,566,664,665,857,668,406,1864,1900,438,1726]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -294250,7 +292914,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = ArticleAdContainer; -},2175,[3,33,568,16,18,436,2101,179,550,438]); +},2166,[3,33,582,16,18,436,2090,179,564,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -294635,7 +293299,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e minHeight: 150, fontScale: 1 }; -},2176,[3,270,6,7,11,13,14,568,16,18,800,574,1974,2177,803,179,1752,2178,438]); +},2167,[3,270,6,7,11,13,14,582,16,18,814,588,1941,2168,817,179,1752,2169,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -294680,7 +293344,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e height: 40 } }); -},2177,[18,438]); +},2168,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -294692,7 +293356,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-down", "type": "png" }); -},2178,[1244]); +},2169,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -294930,7 +293594,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e button: undefined, login: undefined }; -},2179,[3,6,7,11,13,14,16,568,18,800,2180,436,1,550,864,842,803,179]); +},2170,[3,6,7,11,13,14,16,582,18,814,2171,436,1,564,878,856,817,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -294988,7 +293652,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e fontSize: 16 } }); -},2180,[18,438]); +},2171,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -295024,7 +293688,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e color: "white" } }); -},2181,[18]); +},2172,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -296403,7 +295067,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return html; }; -},2182,[3,22,406,2183,613,842,852,651,650,654,652,438,850,2184,2185,2186,2187,2188]); +},2173,[3,22,406,2174,627,856,866,665,664,668,666,438,864,2175,2176,2177,2178,2179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -296413,7 +295077,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var columnizer = "\n function setTopAdsPos(){\n $(\"#articleAds_top\").insertBefore(\"#slideArt\");\n $(\"#slideArt\").find(\"#articleAds_top\").remove();\n }\n\n function setTranslateBannerPos(){\n $(\"#image_div_translation\").insertBefore(\"#slideArt\");\n $(\"#slideArt\").find(\"#image_div_translation\").remove();\n }\n\n function setMiddleAdsPos(){\n var ads = $(\"#articleAds_mid\");\n if(ads.length > 0){\n var objMiddle = ads[0].outerHTML;\n ads.remove();\n $(objMiddle).prependTo($(\"#scrollMergeADD\"));\n }\n }\n\n function setPaddingToColumns(element, index) {\n $(\"
\").insertBefore(element);\n $(element)\n .children()\n .appendTo(\".div_padding\" + index);\n $(\".div_padding\" + index).appendTo(element);\n $(\".div_padding\" + index).css(\"padding\", \"3px\");\n }\n\n function updateTopArt(){\n var artAddObjs = $(\"div[id^='ArtADD']\");\n $(artAddObjs).each(function(i){\n var idArtAdd = $(this).attr(\"id\");\n var parentArtADD = $(\"#\"+idArtAdd).parent();\n if(typeof $($(\"#\"+idArtAdd).parent().parent()).attr(\"class\") != \"undefined\" && $($(\"#\"+idArtAdd).parent().parent()).attr(\"class\").indexOf(\"last\") > -1){\n var cloneArtADD = \"
\"+$(\"#\"+idArtAdd).html()+\"
\";\n $(\"#\"+idArtAdd).remove();\n if($(\".first.column.last\").length == 0 && $(\".first.column\").length > 0){\n $(parentArtADD).prepend(cloneArtADD);\n }else if($(\".first.last.column\").length == 1){\n $(parentArtADD).append(cloneArtADD);\n }else{\n $(parentArtADD).prepend('');\n $(parentArtADD).append(cloneArtADD);\n }\n }\n });\n }\n\n var BASE_COLUMN_WIDTH = " + columnizerBaseColumnWidth + ";\n var VERY_SHORT_ARTICLE_LENGTH = 500;\n var SHORT_ARTICLE_LENGTH = 1500;\n\n function fixSingleColumnWidth(element) {\n var textLength = $(element).children().text().length;\n /* if single column on a very short article reduce the width of the column \n to improve the readability */ \n if ($(element+\" .column\").length === 1 && textLength <= VERY_SHORT_ARTICLE_LENGTH) {\n var containerWidth = $(\"#slideArt\").width();\n var virtualCols = Math.round(containerWidth / BASE_COLUMN_WIDTH);\n var colWidth = containerWidth/virtualCols;\n if ($(element+\" .column\").width() != colWidth) {\n $(element+\" .column\").width(colWidth);\n }\n }\n }\n\n function fixImagesAlignment(element) {\n $(\"p.imgContainer img\").each(function() {\n /* check if the image is followed by a paragraph */\n var parentNode = $(this).parent();\n var prevElement = parentNode && parentNode.prev();\n var nextElement = parentNode && parentNode.next();\n if ((!prevElement || !prevElement.hasClass(\"quote\")) && (!nextElement || !nextElement.hasClass(\"paragraph\"))) {\n /* if the image has a width less than 25% of the column align to the left */\n if ($(this).width() < $(element+\" .column\").width()*0.25) {\n $(this).css(\"margin\", 0);\n }\n }\n });\n }\n\n function moveImagesIfSingleColumn(element) {\n if ($(element+\" .column\").length === 1 && typeof moveImages === \"function\") {\n moveImages();\n }\n }\n\n function movePageJumpsColumnizer(index) {\n try {\n /* on single column move page jumps after the hr of the previous article */\n if ($(\".column\").length === $(\".first.last.column\").length) {\n $(\"div[data-pjindex]\").each(function() {\n var pjindex = parseInt($(this).data(\"pjindex\"), 10);\n if (pjindex > 0) {\n var prevHr = $(\"hr[class='hr\"+(pjindex-1)+\"']\");\n if (prevHr) {\n prevHr.after(this);\n }\n }\n });\n } else if (index > 0 && ($(\".div_padding\"+index+\" #artTopLast img\").length > 0 || $(\".div_padding\"+index+\" #artTopLast .pageJump\").length > 0)) {\n /* move the img or the pj div at the top of the last column */\n var pjImgContainer = $(\".div_padding\"+index+\" #artTopLast\");\n pjImgContainer.parent().prepend(pjImgContainer);\n }\n } catch (e) {\n console.log(e);\n }\n }\n \n function setColumns(element, index, pageJump, multipleArticles, scrollToHrIndex, isLast, moveTopArtOnTop) {\n console.log(\"columnize \" + element);\n var arabic = /[\u0600-\u06FF]/;\n var isArabic = arabic.test($($(\".maintitle\")[0]).text()) || arabic.test($($(\".uptitle\")[0]).text());\n var columnFloat = isArabic ? \"right\" : \"left\";\n console.log(\"is arabic \" + isArabic);\n var columnOptions = {\n lastNeverTallest: true,\n columnFloat: columnFloat,\n doneFunc: function () {\n console.log(\"columnized \" + element);\n setTopAdsPos();\n setTranslateBannerPos();\n setMiddleAdsPos();\n if(moveTopArtOnTop){\n updateTopArt();\n }\n\n fixSingleColumnWidth(element);\n fixImagesAlignment(element);\n moveImagesIfSingleColumn(element);\n\n saveImages();\n \n if(isLast){\n movePageJumpsColumnizer(index);\n \n /*var heads = $('[class^=article_head]');*/\n var heads = $(\"hr\");\n /*if index is related to second piece of article there is just one hr between articles so index is articleIndex -1*/\n scrollToHrIndex = scrollToHrIndex - 1;\n var top = 0;\n if(heads && heads.length >= scrollToHrIndex && scrollToHrIndex >= 0){\n top = $(heads[scrollToHrIndex]).offset().top;\n }\n console.log(\"scroll to \" + top);\n if (window.ReactNativeWebView && top > 0) {\n try{\n var content = $(\"#content\")[0];\n /*is important to set the height because article text scroll to position when set the same height of scrollview\n the height of scrollview comes from autoheight webview*/\n var height = Math.max(content.scrollHeight, content.offsetHeight, content.clientHeight);\n window.ReactNativeWebView.postMessage(JSON.stringify({ scrollTop: top, type: \"SCROLL_TOP\", scrollHeight: height }));\n } catch(e){\n console.log(\"error on post message scroll top\");\n }\n }\n }\n }\n };\n\n var images = $(element + \" img\");\n var countParagraphs = $(element).children().length * 50;\n var textLength = $(element).children().text().length;\n var countImages = images.length * 200;\n var totalLength = textLength + countParagraphs + countImages;\n console.log(\"total length \" + totalLength);\n console.log(\"short length \" + SHORT_ARTICLE_LENGTH);\n console.log(\"count paragraphs \" + countParagraphs);\n console.log(\"text length \" + textLength);\n console.log(\"very short length \" + VERY_SHORT_ARTICLE_LENGTH);\n console.log(\"count images \" + countImages);\n console.log(\"page jump \" + pageJump);\n console.log(\"multiple articles \" + multipleArticles);\n\n if (totalLength > SHORT_ARTICLE_LENGTH || ((pageJump === 1 || multipleArticles) && textLength > VERY_SHORT_ARTICLE_LENGTH)) {\n columnOptions.width = BASE_COLUMN_WIDTH;\n } else {\n columnOptions.columns = 1; \n }\n console.log(\"columnizer options\");\n console.log(columnOptions);\n setPaddingToColumns(element, index);\n $(element).columnize(columnOptions);\n }\n\n function getWidthOfSpans(element) {\n var width = 0;\n if (element) {\n $(element)\n .find(\"span\")\n .each(function () {\n width += $(this).width();\n });\n }\n return width;\n }\n\n function setColumnizerArticle(index, article, multipleArticles, scrollToHrIndex, isLast, moveTopArtOnTop) {\n console.log(\"===============================================\");\n console.log(\"set columnizer article...: \" + index);\n console.log(\"slide art width: \" + $(\"#slideArt\").width());\n var column_width = " + columnizerBaseColumnWidth + ";\n if( $(\"#slideArt\").width() / 4 > " + columnizerBaseColumnWidth + " ){\n column_width = parseInt($(\"#slideArt\").width() / 4);\n }\n console.log(\"column width: \" + column_width);\n var headArticle = new Array();\n $(article).each(function(){\n if(this.className == \"abody\")return false;\n headArticle.push(this);\n });\n /*var headArticle = $(article).filter(\".abody\").first().prevAll().get().reverse();\n if($(headArticle).filter(\".byline\").length > 0){\n headArticle = $(headArticle).filter(\".byline\").first().prevAll().get().reverse();\n }*/\n var maintitle=$(headArticle).filter(\".maintitle\");\n var parentPage=$(headArticle).filter(\".parentPage\");\n /* PUT MAINTITLE AND UPPER CONTENT OUTSIDE OF ARTICLE TEXT ONLY IF ONE MAINTITLE EXSISTS AND IF MAINTITLE IS LARGER THEN COLUMN WIDTH*/\n var first_element=$(article)[0];\n $(\"
\").insertAfter($(first_element));\n $(article).appendTo(\".article_body\" + index);\n if (maintitle.length <= 1 ) {\n console.log(\"main title exists\");\n $(\"
\").insertBefore(\".article_body\" + index);\n var moveTitleOutColumns = false;\n $(headArticle).each(function(){\n if($(this).attr(\"class\") && $(this).attr(\"class\").indexOf(\"title\") > -1){\n var widthParagraph = getWidthOfSpans(this);\n console.log(\"width: \" + widthParagraph);\n if(widthParagraph > column_width){\n moveTitleOutColumns = true;\n }\n }\n });\n $(headArticle).each(function(){\n if($(this).attr(\"class\") && $(this).attr(\"class\").indexOf(\"title\") > -1){\n if(moveTitleOutColumns){\n $(this).appendTo('.article_head' + index);\n }else{\n /*$(\".article_body\" + index).prepend(this);*/\n }\n }\n });\n $(\".article_body\" + index).css(\"margin-top\",\"10px\");\n /*CREATE COLUMNS FROM ARTICLE TEXT*/\n setColumns(\".article_body\" + index, index, 0, multipleArticles, scrollToHrIndex, isLast, moveTopArtOnTop);\n }else {\n setColumns(\".article_body\" + index, index, 1, multipleArticles, scrollToHrIndex, isLast, moveTopArtOnTop);\n }\n if (index > 0 && parentPage) {\n $(parentPage).appendTo(\".article_body\" + (index - 1));\n $(\".article_body\" + index + \" .parentPage\").remove();\n }\n }\n\n function setColumnizerArticleWithPageJump(hrs, scrollToHrIndex, moveTopArtOnTop) {\n var articles = [];\n \n $(hrs).each(function (i) {\n var _this = $(this);\n _this.addClass(\"hr\" + i);\n _this.css(\"margin-top\", \"0.8em\");\n _this.css(\"margin-bottom\", \"0.8em\");\n articles.push(_this.prevUntil(\"hr\").get().reverse());\n });\n articles.push(\n $(hrs[hrs.length - 1])\n .nextUntil(\"hr\")\n .get()\n );\n /*columnize all articles separately*/\n var jArticles = $(articles);\n jArticles.each(function(index,article){\n var isLast = index === jArticles.length - 1;\n setColumnizerArticle(index, article, true, scrollToHrIndex, isLast, moveTopArtOnTop)\n });\n }\n\n function setColumnizer(scrollToHrIndex, mergeArt) {\n if ($(\".column\").length > 0) {\n /*already done*/\n return;\n }\n console.log(\"scroll to hr index: \" + scrollToHrIndex);\n console.log(\"using merge art: \" + mergeArt);\n console.log(\"merge art type: \" + (typeof mergeArt));\n var element = $(\"#slideArt\");\n if (!element) {\n console.log(\"missing slideArt\");\n return;\n }\n var moveTopArtOnTop = mergeArt > 0;\n var hrs = element.find(\"hr\");\n if (hrs && hrs.length && mergeArt !== 1) {\n console.log(\"found hr: \" + hrs.length);\n setColumnizerArticleWithPageJump(hrs, scrollToHrIndex, moveTopArtOnTop);\n } else {\n setColumnizerArticle(0, element.children(), false, scrollToHrIndex, false, moveTopArtOnTop);\n }\n }\n \n $(window).resize(function () {\n fixSingleColumnWidth(\".article_body0\");\n });\n"; var _default = exports.default = columnizer; -},2183,[]); +},2174,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -296536,7 +295200,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2184,[3,6,7]); +},2175,[3,6,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -296697,7 +295361,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var asyncPostMessageFunctions = exports.asyncPostMessageFunctions = function asyncPostMessageFunctions() { return "\n var waiting = {};\n var AWAITING_TIMEOUT = 30000;\n\n function parsePayload(payload) {\n if (payload === \"true\") {\n return true;\n }\n if (payload === \"false\") {\n return false;\n }\n let result = parseFloat(payload);\n if (!Number.isNaN(result)) {\n return result;\n }\n try {\n return JSON.parse(payload);\n } catch (e) {\n }\n\n return payload;\n }\n\n /**\n * resolve or reject the promise attacched to this key\n * @param {*} key contained inside postMessage payload\n * @param {string} method reject|resolve\n * @param {string} payload the string, if resolve will be parsed with JSON.parse otherwise is the error message\n */\n function awaitPostMessage(key, method, payload) {\n try {\n if (method === \"resolve\") {\n waiting[key].resolve(parsePayload(payload));\n } else {\n waiting[key].reject(new Error(payload));\n }\n } catch (e) {\n if (waiting[key] && waiting[key].reject) {\n waiting[key].reject(e);\n }\n }\n delete waiting[key];\n };\n\n function generateId() {\n return \"\"+Math.random().toString(36).substr(2, 9);\n }\n\n function emit(data) {\n window.ReactNativeWebView.postMessage(JSON.stringify(data ?? {}));\n }\n\n /**\n * call this method to post a message and awaiting a response from native code\n * each message has a unique key, used to identified the promise and resolve it\n * to resolve the promise from native code you need to inject js awaitPostMessage,\n * see the method below\n * @param {*} data\n * @returns Promise\n */\n async function asyncPostMessage (data) {\n return new Promise((resolve, reject) => {\n try {\n const key = generateId();\n waiting[key] = { resolve, reject };\n emit({ asyncKey: key, ...data });\n setTimeout(() => {\n awaitPostMessage(key, \"reject\", key+\" went in timeout\");\n }, AWAITING_TIMEOUT);\n } catch (e) {\n console.warn(e.message);\n reject(e);\n }\n });\n }"; }; -},2185,[18,3,1889,438]); +},2176,[18,3,2049,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -296748,7 +295412,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e css += NO_ARTICLE_TEXT_SELECTION_CSS(enableArticleTextSelection); return css; }; -},2186,[803,811,438]); +},2177,[817,825,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -297021,7 +295685,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return _ref3.apply(this, arguments); }; }(); -},2187,[3,270,844,552,651,2020,438]); +},2178,[3,270,858,566,665,1998,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -297030,7 +295694,1023 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var jQueryBase64 = exports.jQueryBase64 = "LyohIGpRdWVyeSB2My41LjEgfCAoYykgSlMgRm91bmRhdGlvbiBhbmQgb3RoZXIgY29udHJpYnV0b3JzIHwganF1ZXJ5Lm9yZy9saWNlbnNlICovCiFmdW5jdGlvbihlLHQpeyJ1c2Ugc3RyaWN0Ijsib2JqZWN0Ij09dHlwZW9mIG1vZHVsZSYmIm9iamVjdCI9PXR5cGVvZiBtb2R1bGUuZXhwb3J0cz9tb2R1bGUuZXhwb3J0cz1lLmRvY3VtZW50P3QoZSwhMCk6ZnVuY3Rpb24oZSl7aWYoIWUuZG9jdW1lbnQpdGhyb3cgbmV3IEVycm9yKCJqUXVlcnkgcmVxdWlyZXMgYSB3aW5kb3cgd2l0aCBhIGRvY3VtZW50Iik7cmV0dXJuIHQoZSl9OnQoZSl9KCJ1bmRlZmluZWQiIT10eXBlb2Ygd2luZG93P3dpbmRvdzp0aGlzLGZ1bmN0aW9uKEMsZSl7InVzZSBzdHJpY3QiO3ZhciB0PVtdLHI9T2JqZWN0LmdldFByb3RvdHlwZU9mLHM9dC5zbGljZSxnPXQuZmxhdD9mdW5jdGlvbihlKXtyZXR1cm4gdC5mbGF0LmNhbGwoZSl9OmZ1bmN0aW9uKGUpe3JldHVybiB0LmNvbmNhdC5hcHBseShbXSxlKX0sdT10LnB1c2gsaT10LmluZGV4T2Ysbj17fSxvPW4udG9TdHJpbmcsdj1uLmhhc093blByb3BlcnR5LGE9di50b1N0cmluZyxsPWEuY2FsbChPYmplY3QpLHk9e30sbT1mdW5jdGlvbihlKXtyZXR1cm4iZnVuY3Rpb24iPT10eXBlb2YgZSYmIm51bWJlciIhPXR5cGVvZiBlLm5vZGVUeXBlfSx4PWZ1bmN0aW9uKGUpe3JldHVybiBudWxsIT1lJiZlPT09ZS53aW5kb3d9LEU9Qy5kb2N1bWVudCxjPXt0eXBlOiEwLHNyYzohMCxub25jZTohMCxub01vZHVsZTohMH07ZnVuY3Rpb24gYihlLHQsbil7dmFyIHIsaSxvPShuPW58fEUpLmNyZWF0ZUVsZW1lbnQoInNjcmlwdCIpO2lmKG8udGV4dD1lLHQpZm9yKHIgaW4gYykoaT10W3JdfHx0LmdldEF0dHJpYnV0ZSYmdC5nZXRBdHRyaWJ1dGUocikpJiZvLnNldEF0dHJpYnV0ZShyLGkpO24uaGVhZC5hcHBlbmRDaGlsZChvKS5wYXJlbnROb2RlLnJlbW92ZUNoaWxkKG8pfWZ1bmN0aW9uIHcoZSl7cmV0dXJuIG51bGw9PWU/ZSsiIjoib2JqZWN0Ij09dHlwZW9mIGV8fCJmdW5jdGlvbiI9PXR5cGVvZiBlP25bby5jYWxsKGUpXXx8Im9iamVjdCI6dHlwZW9mIGV9dmFyIGY9IjMuNS4xIixTPWZ1bmN0aW9uKGUsdCl7cmV0dXJuIG5ldyBTLmZuLmluaXQoZSx0KX07ZnVuY3Rpb24gcChlKXt2YXIgdD0hIWUmJiJsZW5ndGgiaW4gZSYmZS5sZW5ndGgsbj13KGUpO3JldHVybiFtKGUpJiYheChlKSYmKCJhcnJheSI9PT1ufHwwPT09dHx8Im51bWJlciI9PXR5cGVvZiB0JiYwPHQmJnQtMSBpbiBlKX1TLmZuPVMucHJvdG90eXBlPXtqcXVlcnk6Zixjb25zdHJ1Y3RvcjpTLGxlbmd0aDowLHRvQXJyYXk6ZnVuY3Rpb24oKXtyZXR1cm4gcy5jYWxsKHRoaXMpfSxnZXQ6ZnVuY3Rpb24oZSl7cmV0dXJuIG51bGw9PWU/cy5jYWxsKHRoaXMpOmU8MD90aGlzW2UrdGhpcy5sZW5ndGhdOnRoaXNbZV19LHB1c2hTdGFjazpmdW5jdGlvbihlKXt2YXIgdD1TLm1lcmdlKHRoaXMuY29uc3RydWN0b3IoKSxlKTtyZXR1cm4gdC5wcmV2T2JqZWN0PXRoaXMsdH0sZWFjaDpmdW5jdGlvbihlKXtyZXR1cm4gUy5lYWNoKHRoaXMsZSl9LG1hcDpmdW5jdGlvbihuKXtyZXR1cm4gdGhpcy5wdXNoU3RhY2soUy5tYXAodGhpcyxmdW5jdGlvbihlLHQpe3JldHVybiBuLmNhbGwoZSx0LGUpfSkpfSxzbGljZTpmdW5jdGlvbigpe3JldHVybiB0aGlzLnB1c2hTdGFjayhzLmFwcGx5KHRoaXMsYXJndW1lbnRzKSl9LGZpcnN0OmZ1bmN0aW9uKCl7cmV0dXJuIHRoaXMuZXEoMCl9LGxhc3Q6ZnVuY3Rpb24oKXtyZXR1cm4gdGhpcy5lcSgtMSl9LGV2ZW46ZnVuY3Rpb24oKXtyZXR1cm4gdGhpcy5wdXNoU3RhY2soUy5ncmVwKHRoaXMsZnVuY3Rpb24oZSx0KXtyZXR1cm4odCsxKSUyfSkpfSxvZGQ6ZnVuY3Rpb24oKXtyZXR1cm4gdGhpcy5wdXNoU3RhY2soUy5ncmVwKHRoaXMsZnVuY3Rpb24oZSx0KXtyZXR1cm4gdCUyfSkpfSxlcTpmdW5jdGlvbihlKXt2YXIgdD10aGlzLmxlbmd0aCxuPStlKyhlPDA/dDowKTtyZXR1cm4gdGhpcy5wdXNoU3RhY2soMDw9biYmbjx0P1t0aGlzW25dXTpbXSl9LGVuZDpmdW5jdGlvbigpe3JldHVybiB0aGlzLnByZXZPYmplY3R8fHRoaXMuY29uc3RydWN0b3IoKX0scHVzaDp1LHNvcnQ6dC5zb3J0LHNwbGljZTp0LnNwbGljZX0sUy5leHRlbmQ9Uy5mbi5leHRlbmQ9ZnVuY3Rpb24oKXt2YXIgZSx0LG4scixpLG8sYT1hcmd1bWVudHNbMF18fHt9LHM9MSx1PWFyZ3VtZW50cy5sZW5ndGgsbD0hMTtmb3IoImJvb2xlYW4iPT10eXBlb2YgYSYmKGw9YSxhPWFyZ3VtZW50c1tzXXx8e30scysrKSwib2JqZWN0Ij09dHlwZW9mIGF8fG0oYSl8fChhPXt9KSxzPT09dSYmKGE9dGhpcyxzLS0pO3M8dTtzKyspaWYobnVsbCE9KGU9YXJndW1lbnRzW3NdKSlmb3IodCBpbiBlKXI9ZVt0XSwiX19wcm90b19fIiE9PXQmJmEhPT1yJiYobCYmciYmKFMuaXNQbGFpbk9iamVjdChyKXx8KGk9QXJyYXkuaXNBcnJheShyKSkpPyhuPWFbdF0sbz1pJiYhQXJyYXkuaXNBcnJheShuKT9bXTppfHxTLmlzUGxhaW5PYmplY3Qobik/bjp7fSxpPSExLGFbdF09Uy5leHRlbmQobCxvLHIpKTp2b2lkIDAhPT1yJiYoYVt0XT1yKSk7cmV0dXJuIGF9LFMuZXh0ZW5kKHtleHBhbmRvOiJqUXVlcnkiKyhmK01hdGgucmFuZG9tKCkpLnJlcGxhY2UoL1xEL2csIiIpLGlzUmVhZHk6ITAsZXJyb3I6ZnVuY3Rpb24oZSl7dGhyb3cgbmV3IEVycm9yKGUpfSxub29wOmZ1bmN0aW9uKCl7fSxpc1BsYWluT2JqZWN0OmZ1bmN0aW9uKGUpe3ZhciB0LG47cmV0dXJuISghZXx8IltvYmplY3QgT2JqZWN0XSIhPT1vLmNhbGwoZSkpJiYoISh0PXIoZSkpfHwiZnVuY3Rpb24iPT10eXBlb2Yobj12LmNhbGwodCwiY29uc3RydWN0b3IiKSYmdC5jb25zdHJ1Y3RvcikmJmEuY2FsbChuKT09PWwpfSxpc0VtcHR5T2JqZWN0OmZ1bmN0aW9uKGUpe3ZhciB0O2Zvcih0IGluIGUpcmV0dXJuITE7cmV0dXJuITB9LGdsb2JhbEV2YWw6ZnVuY3Rpb24oZSx0LG4pe2IoZSx7bm9uY2U6dCYmdC5ub25jZX0sbil9LGVhY2g6ZnVuY3Rpb24oZSx0KXt2YXIgbixyPTA7aWYocChlKSl7Zm9yKG49ZS5sZW5ndGg7cjxuO3IrKylpZighMT09PXQuY2FsbChlW3JdLHIsZVtyXSkpYnJlYWt9ZWxzZSBmb3IociBpbiBlKWlmKCExPT09dC5jYWxsKGVbcl0scixlW3JdKSlicmVhaztyZXR1cm4gZX0sbWFrZUFycmF5OmZ1bmN0aW9uKGUsdCl7dmFyIG49dHx8W107cmV0dXJuIG51bGwhPWUmJihwKE9iamVjdChlKSk/Uy5tZXJnZShuLCJzdHJpbmciPT10eXBlb2YgZT9bZV06ZSk6dS5jYWxsKG4sZSkpLG59LGluQXJyYXk6ZnVuY3Rpb24oZSx0LG4pe3JldHVybiBudWxsPT10Py0xOmkuY2FsbCh0LGUsbil9LG1lcmdlOmZ1bmN0aW9uKGUsdCl7Zm9yKHZhciBuPSt0Lmxlbmd0aCxyPTAsaT1lLmxlbmd0aDtyPG47cisrKWVbaSsrXT10W3JdO3JldHVybiBlLmxlbmd0aD1pLGV9LGdyZXA6ZnVuY3Rpb24oZSx0LG4pe2Zvcih2YXIgcj1bXSxpPTAsbz1lLmxlbmd0aCxhPSFuO2k8bztpKyspIXQoZVtpXSxpKSE9PWEmJnIucHVzaChlW2ldKTtyZXR1cm4gcn0sbWFwOmZ1bmN0aW9uKGUsdCxuKXt2YXIgcixpLG89MCxhPVtdO2lmKHAoZSkpZm9yKHI9ZS5sZW5ndGg7bzxyO28rKyludWxsIT0oaT10KGVbb10sbyxuKSkmJmEucHVzaChpKTtlbHNlIGZvcihvIGluIGUpbnVsbCE9KGk9dChlW29dLG8sbikpJiZhLnB1c2goaSk7cmV0dXJuIGcoYSl9LGd1aWQ6MSxzdXBwb3J0Onl9KSwiZnVuY3Rpb24iPT10eXBlb2YgU3ltYm9sJiYoUy5mbltTeW1ib2wuaXRlcmF0b3JdPXRbU3ltYm9sLml0ZXJhdG9yXSksUy5lYWNoKCJCb29sZWFuIE51bWJlciBTdHJpbmcgRnVuY3Rpb24gQXJyYXkgRGF0ZSBSZWdFeHAgT2JqZWN0IEVycm9yIFN5bWJvbCIuc3BsaXQoIiAiKSxmdW5jdGlvbihlLHQpe25bIltvYmplY3QgIit0KyJdIl09dC50b0xvd2VyQ2FzZSgpfSk7dmFyIGQ9ZnVuY3Rpb24obil7dmFyIGUsZCxiLG8saSxoLGYsZyx3LHUsbCxULEMsYSxFLHYscyxjLHksUz0ic2l6emxlIisxKm5ldyBEYXRlLHA9bi5kb2N1bWVudCxrPTAscj0wLG09dWUoKSx4PXVlKCksQT11ZSgpLE49dWUoKSxEPWZ1bmN0aW9uKGUsdCl7cmV0dXJuIGU9PT10JiYobD0hMCksMH0saj17fS5oYXNPd25Qcm9wZXJ0eSx0PVtdLHE9dC5wb3AsTD10LnB1c2gsSD10LnB1c2gsTz10LnNsaWNlLFA9ZnVuY3Rpb24oZSx0KXtmb3IodmFyIG49MCxyPWUubGVuZ3RoO248cjtuKyspaWYoZVtuXT09PXQpcmV0dXJuIG47cmV0dXJuLTF9LFI9ImNoZWNrZWR8c2VsZWN0ZWR8YXN5bmN8YXV0b2ZvY3VzfGF1dG9wbGF5fGNvbnRyb2xzfGRlZmVyfGRpc2FibGVkfGhpZGRlbnxpc21hcHxsb29wfG11bHRpcGxlfG9wZW58cmVhZG9ubHl8cmVxdWlyZWR8c2NvcGVkIixNPSJbXFx4MjBcXHRcXHJcXG5cXGZdIixJPSIoPzpcXFxcW1xcZGEtZkEtRl17MSw2fSIrTSsiP3xcXFxcW15cXHJcXG5cXGZdfFtcXHctXXxbXlwwLVxceDdmXSkrIixXPSJcXFsiK00rIiooIitJKyIpKD86IitNKyIqKFsqXiR8IX5dPz0pIitNKyIqKD86JygoPzpcXFxcLnxbXlxcXFwnXSkqKSd8XCIoKD86XFxcXC58W15cXFxcXCJdKSopXCJ8KCIrSSsiKSl8KSIrTSsiKlxcXSIsRj0iOigiK0krIikoPzpcXCgoKCcoKD86XFxcXC58W15cXFxcJ10pKiknfFwiKCg/OlxcXFwufFteXFxcXFwiXSkqKVwiKXwoKD86XFxcXC58W15cXFxcKClbXFxdXXwiK1crIikqKXwuKilcXCl8KSIsQj1uZXcgUmVnRXhwKE0rIisiLCJnIiksJD1uZXcgUmVnRXhwKCJeIitNKyIrfCgoPzpefFteXFxcXF0pKD86XFxcXC4pKikiK00rIiskIiwiZyIpLF89bmV3IFJlZ0V4cCgiXiIrTSsiKiwiK00rIioiKSx6PW5ldyBSZWdFeHAoIl4iK00rIiooWz4rfl18IitNKyIpIitNKyIqIiksVT1uZXcgUmVnRXhwKE0rInw+IiksWD1uZXcgUmVnRXhwKEYpLFY9bmV3IFJlZ0V4cCgiXiIrSSsiJCIpLEc9e0lEOm5ldyBSZWdFeHAoIl4jKCIrSSsiKSIpLENMQVNTOm5ldyBSZWdFeHAoIl5cXC4oIitJKyIpIiksVEFHOm5ldyBSZWdFeHAoIl4oIitJKyJ8WypdKSIpLEFUVFI6bmV3IFJlZ0V4cCgiXiIrVyksUFNFVURPOm5ldyBSZWdFeHAoIl4iK0YpLENISUxEOm5ldyBSZWdFeHAoIl46KG9ubHl8Zmlyc3R8bGFzdHxudGh8bnRoLWxhc3QpLShjaGlsZHxvZi10eXBlKSg/OlxcKCIrTSsiKihldmVufG9kZHwoKFsrLV18KShcXGQqKW58KSIrTSsiKig/OihbKy1dfCkiK00rIiooXFxkKyl8KSkiK00rIipcXCl8KSIsImkiKSxib29sOm5ldyBSZWdFeHAoIl4oPzoiK1IrIikkIiwiaSIpLG5lZWRzQ29udGV4dDpuZXcgUmVnRXhwKCJeIitNKyIqWz4rfl18OihldmVufG9kZHxlcXxndHxsdHxudGh8Zmlyc3R8bGFzdCkoPzpcXCgiK00rIiooKD86LVxcZCk/XFxkKikiK00rIipcXCl8KSg/PVteLV18JCkiLCJpIil9LFk9L0hUTUwkL2ksUT0vXig/OmlucHV0fHNlbGVjdHx0ZXh0YXJlYXxidXR0b24pJC9pLEo9L15oXGQkL2ksSz0vXltee10rXHtccypcW25hdGl2ZSBcdy8sWj0vXig/OiMoW1x3LV0rKXwoXHcrKXxcLihbXHctXSspKSQvLGVlPS9bK35dLyx0ZT1uZXcgUmVnRXhwKCJcXFxcW1xcZGEtZkEtRl17MSw2fSIrTSsiP3xcXFxcKFteXFxyXFxuXFxmXSkiLCJnIiksbmU9ZnVuY3Rpb24oZSx0KXt2YXIgbj0iMHgiK2Uuc2xpY2UoMSktNjU1MzY7cmV0dXJuIHR8fChuPDA/U3RyaW5nLmZyb21DaGFyQ29kZShuKzY1NTM2KTpTdHJpbmcuZnJvbUNoYXJDb2RlKG4+PjEwfDU1Mjk2LDEwMjMmbnw1NjMyMCkpfSxyZT0vKFtcMC1ceDFmXHg3Zl18Xi0/XGQpfF4tJHxbXlwwLVx4MWZceDdmLVx1RkZGRlx3LV0vZyxpZT1mdW5jdGlvbihlLHQpe3JldHVybiB0PyJcMCI9PT1lPyJcdWZmZmQiOmUuc2xpY2UoMCwtMSkrIlxcIitlLmNoYXJDb2RlQXQoZS5sZW5ndGgtMSkudG9TdHJpbmcoMTYpKyIgIjoiXFwiK2V9LG9lPWZ1bmN0aW9uKCl7VCgpfSxhZT1iZShmdW5jdGlvbihlKXtyZXR1cm4hMD09PWUuZGlzYWJsZWQmJiJmaWVsZHNldCI9PT1lLm5vZGVOYW1lLnRvTG93ZXJDYXNlKCl9LHtkaXI6InBhcmVudE5vZGUiLG5leHQ6ImxlZ2VuZCJ9KTt0cnl7SC5hcHBseSh0PU8uY2FsbChwLmNoaWxkTm9kZXMpLHAuY2hpbGROb2RlcyksdFtwLmNoaWxkTm9kZXMubGVuZ3RoXS5ub2RlVHlwZX1jYXRjaChlKXtIPXthcHBseTp0Lmxlbmd0aD9mdW5jdGlvbihlLHQpe0wuYXBwbHkoZSxPLmNhbGwodCkpfTpmdW5jdGlvbihlLHQpe3ZhciBuPWUubGVuZ3RoLHI9MDt3aGlsZShlW24rK109dFtyKytdKTtlLmxlbmd0aD1uLTF9fX1mdW5jdGlvbiBzZSh0LGUsbixyKXt2YXIgaSxvLGEscyx1LGwsYyxmPWUmJmUub3duZXJEb2N1bWVudCxwPWU/ZS5ub2RlVHlwZTo5O2lmKG49bnx8W10sInN0cmluZyIhPXR5cGVvZiB0fHwhdHx8MSE9PXAmJjkhPT1wJiYxMSE9PXApcmV0dXJuIG47aWYoIXImJihUKGUpLGU9ZXx8QyxFKSl7aWYoMTEhPT1wJiYodT1aLmV4ZWModCkpKWlmKGk9dVsxXSl7aWYoOT09PXApe2lmKCEoYT1lLmdldEVsZW1lbnRCeUlkKGkpKSlyZXR1cm4gbjtpZihhLmlkPT09aSlyZXR1cm4gbi5wdXNoKGEpLG59ZWxzZSBpZihmJiYoYT1mLmdldEVsZW1lbnRCeUlkKGkpKSYmeShlLGEpJiZhLmlkPT09aSlyZXR1cm4gbi5wdXNoKGEpLG59ZWxzZXtpZih1WzJdKXJldHVybiBILmFwcGx5KG4sZS5nZXRFbGVtZW50c0J5VGFnTmFtZSh0KSksbjtpZigoaT11WzNdKSYmZC5nZXRFbGVtZW50c0J5Q2xhc3NOYW1lJiZlLmdldEVsZW1lbnRzQnlDbGFzc05hbWUpcmV0dXJuIEguYXBwbHkobixlLmdldEVsZW1lbnRzQnlDbGFzc05hbWUoaSkpLG59aWYoZC5xc2EmJiFOW3QrIiAiXSYmKCF2fHwhdi50ZXN0KHQpKSYmKDEhPT1wfHwib2JqZWN0IiE9PWUubm9kZU5hbWUudG9Mb3dlckNhc2UoKSkpe2lmKGM9dCxmPWUsMT09PXAmJihVLnRlc3QodCl8fHoudGVzdCh0KSkpeyhmPWVlLnRlc3QodCkmJnllKGUucGFyZW50Tm9kZSl8fGUpPT09ZSYmZC5zY29wZXx8KChzPWUuZ2V0QXR0cmlidXRlKCJpZCIpKT9zPXMucmVwbGFjZShyZSxpZSk6ZS5zZXRBdHRyaWJ1dGUoImlkIixzPVMpKSxvPShsPWgodCkpLmxlbmd0aDt3aGlsZShvLS0pbFtvXT0ocz8iIyIrczoiOnNjb3BlIikrIiAiK3hlKGxbb10pO2M9bC5qb2luKCIsIil9dHJ5e3JldHVybiBILmFwcGx5KG4sZi5xdWVyeVNlbGVjdG9yQWxsKGMpKSxufWNhdGNoKGUpe04odCwhMCl9ZmluYWxseXtzPT09UyYmZS5yZW1vdmVBdHRyaWJ1dGUoImlkIil9fX1yZXR1cm4gZyh0LnJlcGxhY2UoJCwiJDEiKSxlLG4scil9ZnVuY3Rpb24gdWUoKXt2YXIgcj1bXTtyZXR1cm4gZnVuY3Rpb24gZSh0LG4pe3JldHVybiByLnB1c2godCsiICIpPmIuY2FjaGVMZW5ndGgmJmRlbGV0ZSBlW3Iuc2hpZnQoKV0sZVt0KyIgIl09bn19ZnVuY3Rpb24gbGUoZSl7cmV0dXJuIGVbU109ITAsZX1mdW5jdGlvbiBjZShlKXt2YXIgdD1DLmNyZWF0ZUVsZW1lbnQoImZpZWxkc2V0Iik7dHJ5e3JldHVybiEhZSh0KX1jYXRjaChlKXtyZXR1cm4hMX1maW5hbGx5e3QucGFyZW50Tm9kZSYmdC5wYXJlbnROb2RlLnJlbW92ZUNoaWxkKHQpLHQ9bnVsbH19ZnVuY3Rpb24gZmUoZSx0KXt2YXIgbj1lLnNwbGl0KCJ8Iikscj1uLmxlbmd0aDt3aGlsZShyLS0pYi5hdHRySGFuZGxlW25bcl1dPXR9ZnVuY3Rpb24gcGUoZSx0KXt2YXIgbj10JiZlLHI9biYmMT09PWUubm9kZVR5cGUmJjE9PT10Lm5vZGVUeXBlJiZlLnNvdXJjZUluZGV4LXQuc291cmNlSW5kZXg7aWYocilyZXR1cm4gcjtpZihuKXdoaWxlKG49bi5uZXh0U2libGluZylpZihuPT09dClyZXR1cm4tMTtyZXR1cm4gZT8xOi0xfWZ1bmN0aW9uIGRlKHQpe3JldHVybiBmdW5jdGlvbihlKXtyZXR1cm4iaW5wdXQiPT09ZS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpJiZlLnR5cGU9PT10fX1mdW5jdGlvbiBoZShuKXtyZXR1cm4gZnVuY3Rpb24oZSl7dmFyIHQ9ZS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpO3JldHVybigiaW5wdXQiPT09dHx8ImJ1dHRvbiI9PT10KSYmZS50eXBlPT09bn19ZnVuY3Rpb24gZ2UodCl7cmV0dXJuIGZ1bmN0aW9uKGUpe3JldHVybiJmb3JtImluIGU/ZS5wYXJlbnROb2RlJiYhMT09PWUuZGlzYWJsZWQ/ImxhYmVsImluIGU/ImxhYmVsImluIGUucGFyZW50Tm9kZT9lLnBhcmVudE5vZGUuZGlzYWJsZWQ9PT10OmUuZGlzYWJsZWQ9PT10OmUuaXNEaXNhYmxlZD09PXR8fGUuaXNEaXNhYmxlZCE9PSF0JiZhZShlKT09PXQ6ZS5kaXNhYmxlZD09PXQ6ImxhYmVsImluIGUmJmUuZGlzYWJsZWQ9PT10fX1mdW5jdGlvbiB2ZShhKXtyZXR1cm4gbGUoZnVuY3Rpb24obyl7cmV0dXJuIG89K28sbGUoZnVuY3Rpb24oZSx0KXt2YXIgbixyPWEoW10sZS5sZW5ndGgsbyksaT1yLmxlbmd0aDt3aGlsZShpLS0pZVtuPXJbaV1dJiYoZVtuXT0hKHRbbl09ZVtuXSkpfSl9KX1mdW5jdGlvbiB5ZShlKXtyZXR1cm4gZSYmInVuZGVmaW5lZCIhPXR5cGVvZiBlLmdldEVsZW1lbnRzQnlUYWdOYW1lJiZlfWZvcihlIGluIGQ9c2Uuc3VwcG9ydD17fSxpPXNlLmlzWE1MPWZ1bmN0aW9uKGUpe3ZhciB0PWUubmFtZXNwYWNlVVJJLG49KGUub3duZXJEb2N1bWVudHx8ZSkuZG9jdW1lbnRFbGVtZW50O3JldHVybiFZLnRlc3QodHx8biYmbi5ub2RlTmFtZXx8IkhUTUwiKX0sVD1zZS5zZXREb2N1bWVudD1mdW5jdGlvbihlKXt2YXIgdCxuLHI9ZT9lLm93bmVyRG9jdW1lbnR8fGU6cDtyZXR1cm4gciE9QyYmOT09PXIubm9kZVR5cGUmJnIuZG9jdW1lbnRFbGVtZW50JiYoYT0oQz1yKS5kb2N1bWVudEVsZW1lbnQsRT0haShDKSxwIT1DJiYobj1DLmRlZmF1bHRWaWV3KSYmbi50b3AhPT1uJiYobi5hZGRFdmVudExpc3RlbmVyP24uYWRkRXZlbnRMaXN0ZW5lcigidW5sb2FkIixvZSwhMSk6bi5hdHRhY2hFdmVudCYmbi5hdHRhY2hFdmVudCgib251bmxvYWQiLG9lKSksZC5zY29wZT1jZShmdW5jdGlvbihlKXtyZXR1cm4gYS5hcHBlbmRDaGlsZChlKS5hcHBlbmRDaGlsZChDLmNyZWF0ZUVsZW1lbnQoImRpdiIpKSwidW5kZWZpbmVkIiE9dHlwZW9mIGUucXVlcnlTZWxlY3RvckFsbCYmIWUucXVlcnlTZWxlY3RvckFsbCgiOnNjb3BlIGZpZWxkc2V0IGRpdiIpLmxlbmd0aH0pLGQuYXR0cmlidXRlcz1jZShmdW5jdGlvbihlKXtyZXR1cm4gZS5jbGFzc05hbWU9ImkiLCFlLmdldEF0dHJpYnV0ZSgiY2xhc3NOYW1lIil9KSxkLmdldEVsZW1lbnRzQnlUYWdOYW1lPWNlKGZ1bmN0aW9uKGUpe3JldHVybiBlLmFwcGVuZENoaWxkKEMuY3JlYXRlQ29tbWVudCgiIikpLCFlLmdldEVsZW1lbnRzQnlUYWdOYW1lKCIqIikubGVuZ3RofSksZC5nZXRFbGVtZW50c0J5Q2xhc3NOYW1lPUsudGVzdChDLmdldEVsZW1lbnRzQnlDbGFzc05hbWUpLGQuZ2V0QnlJZD1jZShmdW5jdGlvbihlKXtyZXR1cm4gYS5hcHBlbmRDaGlsZChlKS5pZD1TLCFDLmdldEVsZW1lbnRzQnlOYW1lfHwhQy5nZXRFbGVtZW50c0J5TmFtZShTKS5sZW5ndGh9KSxkLmdldEJ5SWQ/KGIuZmlsdGVyLklEPWZ1bmN0aW9uKGUpe3ZhciB0PWUucmVwbGFjZSh0ZSxuZSk7cmV0dXJuIGZ1bmN0aW9uKGUpe3JldHVybiBlLmdldEF0dHJpYnV0ZSgiaWQiKT09PXR9fSxiLmZpbmQuSUQ9ZnVuY3Rpb24oZSx0KXtpZigidW5kZWZpbmVkIiE9dHlwZW9mIHQuZ2V0RWxlbWVudEJ5SWQmJkUpe3ZhciBuPXQuZ2V0RWxlbWVudEJ5SWQoZSk7cmV0dXJuIG4/W25dOltdfX0pOihiLmZpbHRlci5JRD1mdW5jdGlvbihlKXt2YXIgbj1lLnJlcGxhY2UodGUsbmUpO3JldHVybiBmdW5jdGlvbihlKXt2YXIgdD0idW5kZWZpbmVkIiE9dHlwZW9mIGUuZ2V0QXR0cmlidXRlTm9kZSYmZS5nZXRBdHRyaWJ1dGVOb2RlKCJpZCIpO3JldHVybiB0JiZ0LnZhbHVlPT09bn19LGIuZmluZC5JRD1mdW5jdGlvbihlLHQpe2lmKCJ1bmRlZmluZWQiIT10eXBlb2YgdC5nZXRFbGVtZW50QnlJZCYmRSl7dmFyIG4scixpLG89dC5nZXRFbGVtZW50QnlJZChlKTtpZihvKXtpZigobj1vLmdldEF0dHJpYnV0ZU5vZGUoImlkIikpJiZuLnZhbHVlPT09ZSlyZXR1cm5bb107aT10LmdldEVsZW1lbnRzQnlOYW1lKGUpLHI9MDt3aGlsZShvPWlbcisrXSlpZigobj1vLmdldEF0dHJpYnV0ZU5vZGUoImlkIikpJiZuLnZhbHVlPT09ZSlyZXR1cm5bb119cmV0dXJuW119fSksYi5maW5kLlRBRz1kLmdldEVsZW1lbnRzQnlUYWdOYW1lP2Z1bmN0aW9uKGUsdCl7cmV0dXJuInVuZGVmaW5lZCIhPXR5cGVvZiB0LmdldEVsZW1lbnRzQnlUYWdOYW1lP3QuZ2V0RWxlbWVudHNCeVRhZ05hbWUoZSk6ZC5xc2E/dC5xdWVyeVNlbGVjdG9yQWxsKGUpOnZvaWQgMH06ZnVuY3Rpb24oZSx0KXt2YXIgbixyPVtdLGk9MCxvPXQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoZSk7aWYoIioiPT09ZSl7d2hpbGUobj1vW2krK10pMT09PW4ubm9kZVR5cGUmJnIucHVzaChuKTtyZXR1cm4gcn1yZXR1cm4gb30sYi5maW5kLkNMQVNTPWQuZ2V0RWxlbWVudHNCeUNsYXNzTmFtZSYmZnVuY3Rpb24oZSx0KXtpZigidW5kZWZpbmVkIiE9dHlwZW9mIHQuZ2V0RWxlbWVudHNCeUNsYXNzTmFtZSYmRSlyZXR1cm4gdC5nZXRFbGVtZW50c0J5Q2xhc3NOYW1lKGUpfSxzPVtdLHY9W10sKGQucXNhPUsudGVzdChDLnF1ZXJ5U2VsZWN0b3JBbGwpKSYmKGNlKGZ1bmN0aW9uKGUpe3ZhciB0O2EuYXBwZW5kQ2hpbGQoZSkuaW5uZXJIVE1MPSI8YSBpZD0nIitTKyInPjwvYT48c2VsZWN0IGlkPSciK1MrIi1cclxcJyBtc2FsbG93Y2FwdHVyZT0nJz48b3B0aW9uIHNlbGVjdGVkPScnPjwvb3B0aW9uPjwvc2VsZWN0PiIsZS5xdWVyeVNlbGVjdG9yQWxsKCJbbXNhbGxvd2NhcHR1cmVePScnXSIpLmxlbmd0aCYmdi5wdXNoKCJbKl4kXT0iK00rIiooPzonJ3xcIlwiKSIpLGUucXVlcnlTZWxlY3RvckFsbCgiW3NlbGVjdGVkXSIpLmxlbmd0aHx8di5wdXNoKCJcXFsiK00rIiooPzp2YWx1ZXwiK1IrIikiKSxlLnF1ZXJ5U2VsZWN0b3JBbGwoIltpZH49IitTKyItXSIpLmxlbmd0aHx8di5wdXNoKCJ+PSIpLCh0PUMuY3JlYXRlRWxlbWVudCgiaW5wdXQiKSkuc2V0QXR0cmlidXRlKCJuYW1lIiwiIiksZS5hcHBlbmRDaGlsZCh0KSxlLnF1ZXJ5U2VsZWN0b3JBbGwoIltuYW1lPScnXSIpLmxlbmd0aHx8di5wdXNoKCJcXFsiK00rIipuYW1lIitNKyIqPSIrTSsiKig/OicnfFwiXCIpIiksZS5xdWVyeVNlbGVjdG9yQWxsKCI6Y2hlY2tlZCIpLmxlbmd0aHx8di5wdXNoKCI6Y2hlY2tlZCIpLGUucXVlcnlTZWxlY3RvckFsbCgiYSMiK1MrIisqIikubGVuZ3RofHx2LnB1c2goIi4jLitbK35dIiksZS5xdWVyeVNlbGVjdG9yQWxsKCJcXFxmIiksdi5wdXNoKCJbXFxyXFxuXFxmXSIpfSksY2UoZnVuY3Rpb24oZSl7ZS5pbm5lckhUTUw9IjxhIGhyZWY9JycgZGlzYWJsZWQ9J2Rpc2FibGVkJz48L2E+PHNlbGVjdCBkaXNhYmxlZD0nZGlzYWJsZWQnPjxvcHRpb24vPjwvc2VsZWN0PiI7dmFyIHQ9Qy5jcmVhdGVFbGVtZW50KCJpbnB1dCIpO3Quc2V0QXR0cmlidXRlKCJ0eXBlIiwiaGlkZGVuIiksZS5hcHBlbmRDaGlsZCh0KS5zZXRBdHRyaWJ1dGUoIm5hbWUiLCJEIiksZS5xdWVyeVNlbGVjdG9yQWxsKCJbbmFtZT1kXSIpLmxlbmd0aCYmdi5wdXNoKCJuYW1lIitNKyIqWypeJHwhfl0/PSIpLDIhPT1lLnF1ZXJ5U2VsZWN0b3JBbGwoIjplbmFibGVkIikubGVuZ3RoJiZ2LnB1c2goIjplbmFibGVkIiwiOmRpc2FibGVkIiksYS5hcHBlbmRDaGlsZChlKS5kaXNhYmxlZD0hMCwyIT09ZS5xdWVyeVNlbGVjdG9yQWxsKCI6ZGlzYWJsZWQiKS5sZW5ndGgmJnYucHVzaCgiOmVuYWJsZWQiLCI6ZGlzYWJsZWQiKSxlLnF1ZXJ5U2VsZWN0b3JBbGwoIiosOngiKSx2LnB1c2goIiwuKjoiKX0pKSwoZC5tYXRjaGVzU2VsZWN0b3I9Sy50ZXN0KGM9YS5tYXRjaGVzfHxhLndlYmtpdE1hdGNoZXNTZWxlY3Rvcnx8YS5tb3pNYXRjaGVzU2VsZWN0b3J8fGEub01hdGNoZXNTZWxlY3Rvcnx8YS5tc01hdGNoZXNTZWxlY3RvcikpJiZjZShmdW5jdGlvbihlKXtkLmRpc2Nvbm5lY3RlZE1hdGNoPWMuY2FsbChlLCIqIiksYy5jYWxsKGUsIltzIT0nJ106eCIpLHMucHVzaCgiIT0iLEYpfSksdj12Lmxlbmd0aCYmbmV3IFJlZ0V4cCh2LmpvaW4oInwiKSkscz1zLmxlbmd0aCYmbmV3IFJlZ0V4cChzLmpvaW4oInwiKSksdD1LLnRlc3QoYS5jb21wYXJlRG9jdW1lbnRQb3NpdGlvbikseT10fHxLLnRlc3QoYS5jb250YWlucyk/ZnVuY3Rpb24oZSx0KXt2YXIgbj05PT09ZS5ub2RlVHlwZT9lLmRvY3VtZW50RWxlbWVudDplLHI9dCYmdC5wYXJlbnROb2RlO3JldHVybiBlPT09cnx8ISghcnx8MSE9PXIubm9kZVR5cGV8fCEobi5jb250YWlucz9uLmNvbnRhaW5zKHIpOmUuY29tcGFyZURvY3VtZW50UG9zaXRpb24mJjE2JmUuY29tcGFyZURvY3VtZW50UG9zaXRpb24ocikpKX06ZnVuY3Rpb24oZSx0KXtpZih0KXdoaWxlKHQ9dC5wYXJlbnROb2RlKWlmKHQ9PT1lKXJldHVybiEwO3JldHVybiExfSxEPXQ/ZnVuY3Rpb24oZSx0KXtpZihlPT09dClyZXR1cm4gbD0hMCwwO3ZhciBuPSFlLmNvbXBhcmVEb2N1bWVudFBvc2l0aW9uLSF0LmNvbXBhcmVEb2N1bWVudFBvc2l0aW9uO3JldHVybiBufHwoMSYobj0oZS5vd25lckRvY3VtZW50fHxlKT09KHQub3duZXJEb2N1bWVudHx8dCk/ZS5jb21wYXJlRG9jdW1lbnRQb3NpdGlvbih0KToxKXx8IWQuc29ydERldGFjaGVkJiZ0LmNvbXBhcmVEb2N1bWVudFBvc2l0aW9uKGUpPT09bj9lPT1DfHxlLm93bmVyRG9jdW1lbnQ9PXAmJnkocCxlKT8tMTp0PT1DfHx0Lm93bmVyRG9jdW1lbnQ9PXAmJnkocCx0KT8xOnU/UCh1LGUpLVAodSx0KTowOjQmbj8tMToxKX06ZnVuY3Rpb24oZSx0KXtpZihlPT09dClyZXR1cm4gbD0hMCwwO3ZhciBuLHI9MCxpPWUucGFyZW50Tm9kZSxvPXQucGFyZW50Tm9kZSxhPVtlXSxzPVt0XTtpZighaXx8IW8pcmV0dXJuIGU9PUM/LTE6dD09Qz8xOmk/LTE6bz8xOnU/UCh1LGUpLVAodSx0KTowO2lmKGk9PT1vKXJldHVybiBwZShlLHQpO249ZTt3aGlsZShuPW4ucGFyZW50Tm9kZSlhLnVuc2hpZnQobik7bj10O3doaWxlKG49bi5wYXJlbnROb2RlKXMudW5zaGlmdChuKTt3aGlsZShhW3JdPT09c1tyXSlyKys7cmV0dXJuIHI/cGUoYVtyXSxzW3JdKTphW3JdPT1wPy0xOnNbcl09PXA/MTowfSksQ30sc2UubWF0Y2hlcz1mdW5jdGlvbihlLHQpe3JldHVybiBzZShlLG51bGwsbnVsbCx0KX0sc2UubWF0Y2hlc1NlbGVjdG9yPWZ1bmN0aW9uKGUsdCl7aWYoVChlKSxkLm1hdGNoZXNTZWxlY3RvciYmRSYmIU5bdCsiICJdJiYoIXN8fCFzLnRlc3QodCkpJiYoIXZ8fCF2LnRlc3QodCkpKXRyeXt2YXIgbj1jLmNhbGwoZSx0KTtpZihufHxkLmRpc2Nvbm5lY3RlZE1hdGNofHxlLmRvY3VtZW50JiYxMSE9PWUuZG9jdW1lbnQubm9kZVR5cGUpcmV0dXJuIG59Y2F0Y2goZSl7Tih0LCEwKX1yZXR1cm4gMDxzZSh0LEMsbnVsbCxbZV0pLmxlbmd0aH0sc2UuY29udGFpbnM9ZnVuY3Rpb24oZSx0KXtyZXR1cm4oZS5vd25lckRvY3VtZW50fHxlKSE9QyYmVChlKSx5KGUsdCl9LHNlLmF0dHI9ZnVuY3Rpb24oZSx0KXsoZS5vd25lckRvY3VtZW50fHxlKSE9QyYmVChlKTt2YXIgbj1iLmF0dHJIYW5kbGVbdC50b0xvd2VyQ2FzZSgpXSxyPW4mJmouY2FsbChiLmF0dHJIYW5kbGUsdC50b0xvd2VyQ2FzZSgpKT9uKGUsdCwhRSk6dm9pZCAwO3JldHVybiB2b2lkIDAhPT1yP3I6ZC5hdHRyaWJ1dGVzfHwhRT9lLmdldEF0dHJpYnV0ZSh0KToocj1lLmdldEF0dHJpYnV0ZU5vZGUodCkpJiZyLnNwZWNpZmllZD9yLnZhbHVlOm51bGx9LHNlLmVzY2FwZT1mdW5jdGlvbihlKXtyZXR1cm4oZSsiIikucmVwbGFjZShyZSxpZSl9LHNlLmVycm9yPWZ1bmN0aW9uKGUpe3Rocm93IG5ldyBFcnJvcigiU3ludGF4IGVycm9yLCB1bnJlY29nbml6ZWQgZXhwcmVzc2lvbjogIitlKX0sc2UudW5pcXVlU29ydD1mdW5jdGlvbihlKXt2YXIgdCxuPVtdLHI9MCxpPTA7aWYobD0hZC5kZXRlY3REdXBsaWNhdGVzLHU9IWQuc29ydFN0YWJsZSYmZS5zbGljZSgwKSxlLnNvcnQoRCksbCl7d2hpbGUodD1lW2krK10pdD09PWVbaV0mJihyPW4ucHVzaChpKSk7d2hpbGUoci0tKWUuc3BsaWNlKG5bcl0sMSl9cmV0dXJuIHU9bnVsbCxlfSxvPXNlLmdldFRleHQ9ZnVuY3Rpb24oZSl7dmFyIHQsbj0iIixyPTAsaT1lLm5vZGVUeXBlO2lmKGkpe2lmKDE9PT1pfHw5PT09aXx8MTE9PT1pKXtpZigic3RyaW5nIj09dHlwZW9mIGUudGV4dENvbnRlbnQpcmV0dXJuIGUudGV4dENvbnRlbnQ7Zm9yKGU9ZS5maXJzdENoaWxkO2U7ZT1lLm5leHRTaWJsaW5nKW4rPW8oZSl9ZWxzZSBpZigzPT09aXx8ND09PWkpcmV0dXJuIGUubm9kZVZhbHVlfWVsc2Ugd2hpbGUodD1lW3IrK10pbis9byh0KTtyZXR1cm4gbn0sKGI9c2Uuc2VsZWN0b3JzPXtjYWNoZUxlbmd0aDo1MCxjcmVhdGVQc2V1ZG86bGUsbWF0Y2g6RyxhdHRySGFuZGxlOnt9LGZpbmQ6e30scmVsYXRpdmU6eyI+Ijp7ZGlyOiJwYXJlbnROb2RlIixmaXJzdDohMH0sIiAiOntkaXI6InBhcmVudE5vZGUifSwiKyI6e2RpcjoicHJldmlvdXNTaWJsaW5nIixmaXJzdDohMH0sIn4iOntkaXI6InByZXZpb3VzU2libGluZyJ9fSxwcmVGaWx0ZXI6e0FUVFI6ZnVuY3Rpb24oZSl7cmV0dXJuIGVbMV09ZVsxXS5yZXBsYWNlKHRlLG5lKSxlWzNdPShlWzNdfHxlWzRdfHxlWzVdfHwiIikucmVwbGFjZSh0ZSxuZSksIn49Ij09PWVbMl0mJihlWzNdPSIgIitlWzNdKyIgIiksZS5zbGljZSgwLDQpfSxDSElMRDpmdW5jdGlvbihlKXtyZXR1cm4gZVsxXT1lWzFdLnRvTG93ZXJDYXNlKCksIm50aCI9PT1lWzFdLnNsaWNlKDAsMyk/KGVbM118fHNlLmVycm9yKGVbMF0pLGVbNF09KyhlWzRdP2VbNV0rKGVbNl18fDEpOjIqKCJldmVuIj09PWVbM118fCJvZGQiPT09ZVszXSkpLGVbNV09KyhlWzddK2VbOF18fCJvZGQiPT09ZVszXSkpOmVbM10mJnNlLmVycm9yKGVbMF0pLGV9LFBTRVVETzpmdW5jdGlvbihlKXt2YXIgdCxuPSFlWzZdJiZlWzJdO3JldHVybiBHLkNISUxELnRlc3QoZVswXSk/bnVsbDooZVszXT9lWzJdPWVbNF18fGVbNV18fCIiOm4mJlgudGVzdChuKSYmKHQ9aChuLCEwKSkmJih0PW4uaW5kZXhPZigiKSIsbi5sZW5ndGgtdCktbi5sZW5ndGgpJiYoZVswXT1lWzBdLnNsaWNlKDAsdCksZVsyXT1uLnNsaWNlKDAsdCkpLGUuc2xpY2UoMCwzKSl9fSxmaWx0ZXI6e1RBRzpmdW5jdGlvbihlKXt2YXIgdD1lLnJlcGxhY2UodGUsbmUpLnRvTG93ZXJDYXNlKCk7cmV0dXJuIioiPT09ZT9mdW5jdGlvbigpe3JldHVybiEwfTpmdW5jdGlvbihlKXtyZXR1cm4gZS5ub2RlTmFtZSYmZS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpPT09dH19LENMQVNTOmZ1bmN0aW9uKGUpe3ZhciB0PW1bZSsiICJdO3JldHVybiB0fHwodD1uZXcgUmVnRXhwKCIoXnwiK00rIikiK2UrIigiK00rInwkKSIpKSYmbShlLGZ1bmN0aW9uKGUpe3JldHVybiB0LnRlc3QoInN0cmluZyI9PXR5cGVvZiBlLmNsYXNzTmFtZSYmZS5jbGFzc05hbWV8fCJ1bmRlZmluZWQiIT10eXBlb2YgZS5nZXRBdHRyaWJ1dGUmJmUuZ2V0QXR0cmlidXRlKCJjbGFzcyIpfHwiIil9KX0sQVRUUjpmdW5jdGlvbihuLHIsaSl7cmV0dXJuIGZ1bmN0aW9uKGUpe3ZhciB0PXNlLmF0dHIoZSxuKTtyZXR1cm4gbnVsbD09dD8iIT0iPT09cjohcnx8KHQrPSIiLCI9Ij09PXI/dD09PWk6IiE9Ij09PXI/dCE9PWk6Il49Ij09PXI/aSYmMD09PXQuaW5kZXhPZihpKToiKj0iPT09cj9pJiYtMTx0LmluZGV4T2YoaSk6IiQ9Ij09PXI/aSYmdC5zbGljZSgtaS5sZW5ndGgpPT09aToifj0iPT09cj8tMTwoIiAiK3QucmVwbGFjZShCLCIgIikrIiAiKS5pbmRleE9mKGkpOiJ8PSI9PT1yJiYodD09PWl8fHQuc2xpY2UoMCxpLmxlbmd0aCsxKT09PWkrIi0iKSl9fSxDSElMRDpmdW5jdGlvbihoLGUsdCxnLHYpe3ZhciB5PSJudGgiIT09aC5zbGljZSgwLDMpLG09Imxhc3QiIT09aC5zbGljZSgtNCkseD0ib2YtdHlwZSI9PT1lO3JldHVybiAxPT09ZyYmMD09PXY/ZnVuY3Rpb24oZSl7cmV0dXJuISFlLnBhcmVudE5vZGV9OmZ1bmN0aW9uKGUsdCxuKXt2YXIgcixpLG8sYSxzLHUsbD15IT09bT8ibmV4dFNpYmxpbmciOiJwcmV2aW91c1NpYmxpbmciLGM9ZS5wYXJlbnROb2RlLGY9eCYmZS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpLHA9IW4mJiF4LGQ9ITE7aWYoYyl7aWYoeSl7d2hpbGUobCl7YT1lO3doaWxlKGE9YVtsXSlpZih4P2Eubm9kZU5hbWUudG9Mb3dlckNhc2UoKT09PWY6MT09PWEubm9kZVR5cGUpcmV0dXJuITE7dT1sPSJvbmx5Ij09PWgmJiF1JiYibmV4dFNpYmxpbmcifXJldHVybiEwfWlmKHU9W20/Yy5maXJzdENoaWxkOmMubGFzdENoaWxkXSxtJiZwKXtkPShzPShyPShpPShvPShhPWMpW1NdfHwoYVtTXT17fSkpW2EudW5pcXVlSURdfHwob1thLnVuaXF1ZUlEXT17fSkpW2hdfHxbXSlbMF09PT1rJiZyWzFdKSYmclsyXSxhPXMmJmMuY2hpbGROb2Rlc1tzXTt3aGlsZShhPSsrcyYmYSYmYVtsXXx8KGQ9cz0wKXx8dS5wb3AoKSlpZigxPT09YS5ub2RlVHlwZSYmKytkJiZhPT09ZSl7aVtoXT1bayxzLGRdO2JyZWFrfX1lbHNlIGlmKHAmJihkPXM9KHI9KGk9KG89KGE9ZSlbU118fChhW1NdPXt9KSlbYS51bmlxdWVJRF18fChvW2EudW5pcXVlSURdPXt9KSlbaF18fFtdKVswXT09PWsmJnJbMV0pLCExPT09ZCl3aGlsZShhPSsrcyYmYSYmYVtsXXx8KGQ9cz0wKXx8dS5wb3AoKSlpZigoeD9hLm5vZGVOYW1lLnRvTG93ZXJDYXNlKCk9PT1mOjE9PT1hLm5vZGVUeXBlKSYmKytkJiYocCYmKChpPShvPWFbU118fChhW1NdPXt9KSlbYS51bmlxdWVJRF18fChvW2EudW5pcXVlSURdPXt9KSlbaF09W2ssZF0pLGE9PT1lKSlicmVhaztyZXR1cm4oZC09dik9PT1nfHxkJWc9PTAmJjA8PWQvZ319fSxQU0VVRE86ZnVuY3Rpb24oZSxvKXt2YXIgdCxhPWIucHNldWRvc1tlXXx8Yi5zZXRGaWx0ZXJzW2UudG9Mb3dlckNhc2UoKV18fHNlLmVycm9yKCJ1bnN1cHBvcnRlZCBwc2V1ZG86ICIrZSk7cmV0dXJuIGFbU10/YShvKToxPGEubGVuZ3RoPyh0PVtlLGUsIiIsb10sYi5zZXRGaWx0ZXJzLmhhc093blByb3BlcnR5KGUudG9Mb3dlckNhc2UoKSk/bGUoZnVuY3Rpb24oZSx0KXt2YXIgbixyPWEoZSxvKSxpPXIubGVuZ3RoO3doaWxlKGktLSllW249UChlLHJbaV0pXT0hKHRbbl09cltpXSl9KTpmdW5jdGlvbihlKXtyZXR1cm4gYShlLDAsdCl9KTphfX0scHNldWRvczp7bm90OmxlKGZ1bmN0aW9uKGUpe3ZhciByPVtdLGk9W10scz1mKGUucmVwbGFjZSgkLCIkMSIpKTtyZXR1cm4gc1tTXT9sZShmdW5jdGlvbihlLHQsbixyKXt2YXIgaSxvPXMoZSxudWxsLHIsW10pLGE9ZS5sZW5ndGg7d2hpbGUoYS0tKShpPW9bYV0pJiYoZVthXT0hKHRbYV09aSkpfSk6ZnVuY3Rpb24oZSx0LG4pe3JldHVybiByWzBdPWUscyhyLG51bGwsbixpKSxyWzBdPW51bGwsIWkucG9wKCl9fSksaGFzOmxlKGZ1bmN0aW9uKHQpe3JldHVybiBmdW5jdGlvbihlKXtyZXR1cm4gMDxzZSh0LGUpLmxlbmd0aH19KSxjb250YWluczpsZShmdW5jdGlvbih0KXtyZXR1cm4gdD10LnJlcGxhY2UodGUsbmUpLGZ1bmN0aW9uKGUpe3JldHVybi0xPChlLnRleHRDb250ZW50fHxvKGUpKS5pbmRleE9mKHQpfX0pLGxhbmc6bGUoZnVuY3Rpb24obil7cmV0dXJuIFYudGVzdChufHwiIil8fHNlLmVycm9yKCJ1bnN1cHBvcnRlZCBsYW5nOiAiK24pLG49bi5yZXBsYWNlKHRlLG5lKS50b0xvd2VyQ2FzZSgpLGZ1bmN0aW9uKGUpe3ZhciB0O2Rve2lmKHQ9RT9lLmxhbmc6ZS5nZXRBdHRyaWJ1dGUoInhtbDpsYW5nIil8fGUuZ2V0QXR0cmlidXRlKCJsYW5nIikpcmV0dXJuKHQ9dC50b0xvd2VyQ2FzZSgpKT09PW58fDA9PT10LmluZGV4T2YobisiLSIpfXdoaWxlKChlPWUucGFyZW50Tm9kZSkmJjE9PT1lLm5vZGVUeXBlKTtyZXR1cm4hMX19KSx0YXJnZXQ6ZnVuY3Rpb24oZSl7dmFyIHQ9bi5sb2NhdGlvbiYmbi5sb2NhdGlvbi5oYXNoO3JldHVybiB0JiZ0LnNsaWNlKDEpPT09ZS5pZH0scm9vdDpmdW5jdGlvbihlKXtyZXR1cm4gZT09PWF9LGZvY3VzOmZ1bmN0aW9uKGUpe3JldHVybiBlPT09Qy5hY3RpdmVFbGVtZW50JiYoIUMuaGFzRm9jdXN8fEMuaGFzRm9jdXMoKSkmJiEhKGUudHlwZXx8ZS5ocmVmfHx+ZS50YWJJbmRleCl9LGVuYWJsZWQ6Z2UoITEpLGRpc2FibGVkOmdlKCEwKSxjaGVja2VkOmZ1bmN0aW9uKGUpe3ZhciB0PWUubm9kZU5hbWUudG9Mb3dlckNhc2UoKTtyZXR1cm4iaW5wdXQiPT09dCYmISFlLmNoZWNrZWR8fCJvcHRpb24iPT09dCYmISFlLnNlbGVjdGVkfSxzZWxlY3RlZDpmdW5jdGlvbihlKXtyZXR1cm4gZS5wYXJlbnROb2RlJiZlLnBhcmVudE5vZGUuc2VsZWN0ZWRJbmRleCwhMD09PWUuc2VsZWN0ZWR9LGVtcHR5OmZ1bmN0aW9uKGUpe2ZvcihlPWUuZmlyc3RDaGlsZDtlO2U9ZS5uZXh0U2libGluZylpZihlLm5vZGVUeXBlPDYpcmV0dXJuITE7cmV0dXJuITB9LHBhcmVudDpmdW5jdGlvbihlKXtyZXR1cm4hYi5wc2V1ZG9zLmVtcHR5KGUpfSxoZWFkZXI6ZnVuY3Rpb24oZSl7cmV0dXJuIEoudGVzdChlLm5vZGVOYW1lKX0saW5wdXQ6ZnVuY3Rpb24oZSl7cmV0dXJuIFEudGVzdChlLm5vZGVOYW1lKX0sYnV0dG9uOmZ1bmN0aW9uKGUpe3ZhciB0PWUubm9kZU5hbWUudG9Mb3dlckNhc2UoKTtyZXR1cm4iaW5wdXQiPT09dCYmImJ1dHRvbiI9PT1lLnR5cGV8fCJidXR0b24iPT09dH0sdGV4dDpmdW5jdGlvbihlKXt2YXIgdDtyZXR1cm4iaW5wdXQiPT09ZS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpJiYidGV4dCI9PT1lLnR5cGUmJihudWxsPT0odD1lLmdldEF0dHJpYnV0ZSgidHlwZSIpKXx8InRleHQiPT09dC50b0xvd2VyQ2FzZSgpKX0sZmlyc3Q6dmUoZnVuY3Rpb24oKXtyZXR1cm5bMF19KSxsYXN0OnZlKGZ1bmN0aW9uKGUsdCl7cmV0dXJuW3QtMV19KSxlcTp2ZShmdW5jdGlvbihlLHQsbil7cmV0dXJuW248MD9uK3Q6bl19KSxldmVuOnZlKGZ1bmN0aW9uKGUsdCl7Zm9yKHZhciBuPTA7bjx0O24rPTIpZS5wdXNoKG4pO3JldHVybiBlfSksb2RkOnZlKGZ1bmN0aW9uKGUsdCl7Zm9yKHZhciBuPTE7bjx0O24rPTIpZS5wdXNoKG4pO3JldHVybiBlfSksbHQ6dmUoZnVuY3Rpb24oZSx0LG4pe2Zvcih2YXIgcj1uPDA/bit0OnQ8bj90Om47MDw9LS1yOyllLnB1c2gocik7cmV0dXJuIGV9KSxndDp2ZShmdW5jdGlvbihlLHQsbil7Zm9yKHZhciByPW48MD9uK3Q6bjsrK3I8dDspZS5wdXNoKHIpO3JldHVybiBlfSl9fSkucHNldWRvcy5udGg9Yi5wc2V1ZG9zLmVxLHtyYWRpbzohMCxjaGVja2JveDohMCxmaWxlOiEwLHBhc3N3b3JkOiEwLGltYWdlOiEwfSliLnBzZXVkb3NbZV09ZGUoZSk7Zm9yKGUgaW57c3VibWl0OiEwLHJlc2V0OiEwfSliLnBzZXVkb3NbZV09aGUoZSk7ZnVuY3Rpb24gbWUoKXt9ZnVuY3Rpb24geGUoZSl7Zm9yKHZhciB0PTAsbj1lLmxlbmd0aCxyPSIiO3Q8bjt0Kyspcis9ZVt0XS52YWx1ZTtyZXR1cm4gcn1mdW5jdGlvbiBiZShzLGUsdCl7dmFyIHU9ZS5kaXIsbD1lLm5leHQsYz1sfHx1LGY9dCYmInBhcmVudE5vZGUiPT09YyxwPXIrKztyZXR1cm4gZS5maXJzdD9mdW5jdGlvbihlLHQsbil7d2hpbGUoZT1lW3VdKWlmKDE9PT1lLm5vZGVUeXBlfHxmKXJldHVybiBzKGUsdCxuKTtyZXR1cm4hMX06ZnVuY3Rpb24oZSx0LG4pe3ZhciByLGksbyxhPVtrLHBdO2lmKG4pe3doaWxlKGU9ZVt1XSlpZigoMT09PWUubm9kZVR5cGV8fGYpJiZzKGUsdCxuKSlyZXR1cm4hMH1lbHNlIHdoaWxlKGU9ZVt1XSlpZigxPT09ZS5ub2RlVHlwZXx8ZilpZihpPShvPWVbU118fChlW1NdPXt9KSlbZS51bmlxdWVJRF18fChvW2UudW5pcXVlSURdPXt9KSxsJiZsPT09ZS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpKWU9ZVt1XXx8ZTtlbHNle2lmKChyPWlbY10pJiZyWzBdPT09ayYmclsxXT09PXApcmV0dXJuIGFbMl09clsyXTtpZigoaVtjXT1hKVsyXT1zKGUsdCxuKSlyZXR1cm4hMH1yZXR1cm4hMX19ZnVuY3Rpb24gd2UoaSl7cmV0dXJuIDE8aS5sZW5ndGg/ZnVuY3Rpb24oZSx0LG4pe3ZhciByPWkubGVuZ3RoO3doaWxlKHItLSlpZighaVtyXShlLHQsbikpcmV0dXJuITE7cmV0dXJuITB9OmlbMF19ZnVuY3Rpb24gVGUoZSx0LG4scixpKXtmb3IodmFyIG8sYT1bXSxzPTAsdT1lLmxlbmd0aCxsPW51bGwhPXQ7czx1O3MrKykobz1lW3NdKSYmKG4mJiFuKG8scixpKXx8KGEucHVzaChvKSxsJiZ0LnB1c2gocykpKTtyZXR1cm4gYX1mdW5jdGlvbiBDZShkLGgsZyx2LHksZSl7cmV0dXJuIHYmJiF2W1NdJiYodj1DZSh2KSkseSYmIXlbU10mJih5PUNlKHksZSkpLGxlKGZ1bmN0aW9uKGUsdCxuLHIpe3ZhciBpLG8sYSxzPVtdLHU9W10sbD10Lmxlbmd0aCxjPWV8fGZ1bmN0aW9uKGUsdCxuKXtmb3IodmFyIHI9MCxpPXQubGVuZ3RoO3I8aTtyKyspc2UoZSx0W3JdLG4pO3JldHVybiBufShofHwiKiIsbi5ub2RlVHlwZT9bbl06bixbXSksZj0hZHx8IWUmJmg/YzpUZShjLHMsZCxuLHIpLHA9Zz95fHwoZT9kOmx8fHYpP1tdOnQ6ZjtpZihnJiZnKGYscCxuLHIpLHYpe2k9VGUocCx1KSx2KGksW10sbixyKSxvPWkubGVuZ3RoO3doaWxlKG8tLSkoYT1pW29dKSYmKHBbdVtvXV09IShmW3Vbb11dPWEpKX1pZihlKXtpZih5fHxkKXtpZih5KXtpPVtdLG89cC5sZW5ndGg7d2hpbGUoby0tKShhPXBbb10pJiZpLnB1c2goZltvXT1hKTt5KG51bGwscD1bXSxpLHIpfW89cC5sZW5ndGg7d2hpbGUoby0tKShhPXBbb10pJiYtMTwoaT15P1AoZSxhKTpzW29dKSYmKGVbaV09ISh0W2ldPWEpKX19ZWxzZSBwPVRlKHA9PT10P3Auc3BsaWNlKGwscC5sZW5ndGgpOnApLHk/eShudWxsLHQscCxyKTpILmFwcGx5KHQscCl9KX1mdW5jdGlvbiBFZShlKXtmb3IodmFyIGksdCxuLHI9ZS5sZW5ndGgsbz1iLnJlbGF0aXZlW2VbMF0udHlwZV0sYT1vfHxiLnJlbGF0aXZlWyIgIl0scz1vPzE6MCx1PWJlKGZ1bmN0aW9uKGUpe3JldHVybiBlPT09aX0sYSwhMCksbD1iZShmdW5jdGlvbihlKXtyZXR1cm4tMTxQKGksZSl9LGEsITApLGM9W2Z1bmN0aW9uKGUsdCxuKXt2YXIgcj0hbyYmKG58fHQhPT13KXx8KChpPXQpLm5vZGVUeXBlP3UoZSx0LG4pOmwoZSx0LG4pKTtyZXR1cm4gaT1udWxsLHJ9XTtzPHI7cysrKWlmKHQ9Yi5yZWxhdGl2ZVtlW3NdLnR5cGVdKWM9W2JlKHdlKGMpLHQpXTtlbHNle2lmKCh0PWIuZmlsdGVyW2Vbc10udHlwZV0uYXBwbHkobnVsbCxlW3NdLm1hdGNoZXMpKVtTXSl7Zm9yKG49KytzO248cjtuKyspaWYoYi5yZWxhdGl2ZVtlW25dLnR5cGVdKWJyZWFrO3JldHVybiBDZSgxPHMmJndlKGMpLDE8cyYmeGUoZS5zbGljZSgwLHMtMSkuY29uY2F0KHt2YWx1ZToiICI9PT1lW3MtMl0udHlwZT8iKiI6IiJ9KSkucmVwbGFjZSgkLCIkMSIpLHQsczxuJiZFZShlLnNsaWNlKHMsbikpLG48ciYmRWUoZT1lLnNsaWNlKG4pKSxuPHImJnhlKGUpKX1jLnB1c2godCl9cmV0dXJuIHdlKGMpfXJldHVybiBtZS5wcm90b3R5cGU9Yi5maWx0ZXJzPWIucHNldWRvcyxiLnNldEZpbHRlcnM9bmV3IG1lLGg9c2UudG9rZW5pemU9ZnVuY3Rpb24oZSx0KXt2YXIgbixyLGksbyxhLHMsdSxsPXhbZSsiICJdO2lmKGwpcmV0dXJuIHQ/MDpsLnNsaWNlKDApO2E9ZSxzPVtdLHU9Yi5wcmVGaWx0ZXI7d2hpbGUoYSl7Zm9yKG8gaW4gbiYmIShyPV8uZXhlYyhhKSl8fChyJiYoYT1hLnNsaWNlKHJbMF0ubGVuZ3RoKXx8YSkscy5wdXNoKGk9W10pKSxuPSExLChyPXouZXhlYyhhKSkmJihuPXIuc2hpZnQoKSxpLnB1c2goe3ZhbHVlOm4sdHlwZTpyWzBdLnJlcGxhY2UoJCwiICIpfSksYT1hLnNsaWNlKG4ubGVuZ3RoKSksYi5maWx0ZXIpIShyPUdbb10uZXhlYyhhKSl8fHVbb10mJiEocj11W29dKHIpKXx8KG49ci5zaGlmdCgpLGkucHVzaCh7dmFsdWU6bix0eXBlOm8sbWF0Y2hlczpyfSksYT1hLnNsaWNlKG4ubGVuZ3RoKSk7aWYoIW4pYnJlYWt9cmV0dXJuIHQ/YS5sZW5ndGg6YT9zZS5lcnJvcihlKTp4KGUscykuc2xpY2UoMCl9LGY9c2UuY29tcGlsZT1mdW5jdGlvbihlLHQpe3ZhciBuLHYseSxtLHgscixpPVtdLG89W10sYT1BW2UrIiAiXTtpZighYSl7dHx8KHQ9aChlKSksbj10Lmxlbmd0aDt3aGlsZShuLS0pKGE9RWUodFtuXSkpW1NdP2kucHVzaChhKTpvLnB1c2goYSk7KGE9QShlLCh2PW8sbT0wPCh5PWkpLmxlbmd0aCx4PTA8di5sZW5ndGgscj1mdW5jdGlvbihlLHQsbixyLGkpe3ZhciBvLGEscyx1PTAsbD0iMCIsYz1lJiZbXSxmPVtdLHA9dyxkPWV8fHgmJmIuZmluZC5UQUcoIioiLGkpLGg9ays9bnVsbD09cD8xOk1hdGgucmFuZG9tKCl8fC4xLGc9ZC5sZW5ndGg7Zm9yKGkmJih3PXQ9PUN8fHR8fGkpO2whPT1nJiZudWxsIT0obz1kW2xdKTtsKyspe2lmKHgmJm8pe2E9MCx0fHxvLm93bmVyRG9jdW1lbnQ9PUN8fChUKG8pLG49IUUpO3doaWxlKHM9dlthKytdKWlmKHMobyx0fHxDLG4pKXtyLnB1c2gobyk7YnJlYWt9aSYmKGs9aCl9bSYmKChvPSFzJiZvKSYmdS0tLGUmJmMucHVzaChvKSl9aWYodSs9bCxtJiZsIT09dSl7YT0wO3doaWxlKHM9eVthKytdKXMoYyxmLHQsbik7aWYoZSl7aWYoMDx1KXdoaWxlKGwtLSljW2xdfHxmW2xdfHwoZltsXT1xLmNhbGwocikpO2Y9VGUoZil9SC5hcHBseShyLGYpLGkmJiFlJiYwPGYubGVuZ3RoJiYxPHUreS5sZW5ndGgmJnNlLnVuaXF1ZVNvcnQocil9cmV0dXJuIGkmJihrPWgsdz1wKSxjfSxtP2xlKHIpOnIpKSkuc2VsZWN0b3I9ZX1yZXR1cm4gYX0sZz1zZS5zZWxlY3Q9ZnVuY3Rpb24oZSx0LG4scil7dmFyIGksbyxhLHMsdSxsPSJmdW5jdGlvbiI9PXR5cGVvZiBlJiZlLGM9IXImJmgoZT1sLnNlbGVjdG9yfHxlKTtpZihuPW58fFtdLDE9PT1jLmxlbmd0aCl7aWYoMjwobz1jWzBdPWNbMF0uc2xpY2UoMCkpLmxlbmd0aCYmIklEIj09PShhPW9bMF0pLnR5cGUmJjk9PT10Lm5vZGVUeXBlJiZFJiZiLnJlbGF0aXZlW29bMV0udHlwZV0pe2lmKCEodD0oYi5maW5kLklEKGEubWF0Y2hlc1swXS5yZXBsYWNlKHRlLG5lKSx0KXx8W10pWzBdKSlyZXR1cm4gbjtsJiYodD10LnBhcmVudE5vZGUpLGU9ZS5zbGljZShvLnNoaWZ0KCkudmFsdWUubGVuZ3RoKX1pPUcubmVlZHNDb250ZXh0LnRlc3QoZSk/MDpvLmxlbmd0aDt3aGlsZShpLS0pe2lmKGE9b1tpXSxiLnJlbGF0aXZlW3M9YS50eXBlXSlicmVhaztpZigodT1iLmZpbmRbc10pJiYocj11KGEubWF0Y2hlc1swXS5yZXBsYWNlKHRlLG5lKSxlZS50ZXN0KG9bMF0udHlwZSkmJnllKHQucGFyZW50Tm9kZSl8fHQpKSl7aWYoby5zcGxpY2UoaSwxKSwhKGU9ci5sZW5ndGgmJnhlKG8pKSlyZXR1cm4gSC5hcHBseShuLHIpLG47YnJlYWt9fX1yZXR1cm4obHx8ZihlLGMpKShyLHQsIUUsbiwhdHx8ZWUudGVzdChlKSYmeWUodC5wYXJlbnROb2RlKXx8dCksbn0sZC5zb3J0U3RhYmxlPVMuc3BsaXQoIiIpLnNvcnQoRCkuam9pbigiIik9PT1TLGQuZGV0ZWN0RHVwbGljYXRlcz0hIWwsVCgpLGQuc29ydERldGFjaGVkPWNlKGZ1bmN0aW9uKGUpe3JldHVybiAxJmUuY29tcGFyZURvY3VtZW50UG9zaXRpb24oQy5jcmVhdGVFbGVtZW50KCJmaWVsZHNldCIpKX0pLGNlKGZ1bmN0aW9uKGUpe3JldHVybiBlLmlubmVySFRNTD0iPGEgaHJlZj0nIyc+PC9hPiIsIiMiPT09ZS5maXJzdENoaWxkLmdldEF0dHJpYnV0ZSgiaHJlZiIpfSl8fGZlKCJ0eXBlfGhyZWZ8aGVpZ2h0fHdpZHRoIixmdW5jdGlvbihlLHQsbil7aWYoIW4pcmV0dXJuIGUuZ2V0QXR0cmlidXRlKHQsInR5cGUiPT09dC50b0xvd2VyQ2FzZSgpPzE6Mil9KSxkLmF0dHJpYnV0ZXMmJmNlKGZ1bmN0aW9uKGUpe3JldHVybiBlLmlubmVySFRNTD0iPGlucHV0Lz4iLGUuZmlyc3RDaGlsZC5zZXRBdHRyaWJ1dGUoInZhbHVlIiwiIiksIiI9PT1lLmZpcnN0Q2hpbGQuZ2V0QXR0cmlidXRlKCJ2YWx1ZSIpfSl8fGZlKCJ2YWx1ZSIsZnVuY3Rpb24oZSx0LG4pe2lmKCFuJiYiaW5wdXQiPT09ZS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpKXJldHVybiBlLmRlZmF1bHRWYWx1ZX0pLGNlKGZ1bmN0aW9uKGUpe3JldHVybiBudWxsPT1lLmdldEF0dHJpYnV0ZSgiZGlzYWJsZWQiKX0pfHxmZShSLGZ1bmN0aW9uKGUsdCxuKXt2YXIgcjtpZighbilyZXR1cm4hMD09PWVbdF0/dC50b0xvd2VyQ2FzZSgpOihyPWUuZ2V0QXR0cmlidXRlTm9kZSh0KSkmJnIuc3BlY2lmaWVkP3IudmFsdWU6bnVsbH0pLHNlfShDKTtTLmZpbmQ9ZCxTLmV4cHI9ZC5zZWxlY3RvcnMsUy5leHByWyI6Il09Uy5leHByLnBzZXVkb3MsUy51bmlxdWVTb3J0PVMudW5pcXVlPWQudW5pcXVlU29ydCxTLnRleHQ9ZC5nZXRUZXh0LFMuaXNYTUxEb2M9ZC5pc1hNTCxTLmNvbnRhaW5zPWQuY29udGFpbnMsUy5lc2NhcGVTZWxlY3Rvcj1kLmVzY2FwZTt2YXIgaD1mdW5jdGlvbihlLHQsbil7dmFyIHI9W10saT12b2lkIDAhPT1uO3doaWxlKChlPWVbdF0pJiY5IT09ZS5ub2RlVHlwZSlpZigxPT09ZS5ub2RlVHlwZSl7aWYoaSYmUyhlKS5pcyhuKSlicmVhaztyLnB1c2goZSl9cmV0dXJuIHJ9LFQ9ZnVuY3Rpb24oZSx0KXtmb3IodmFyIG49W107ZTtlPWUubmV4dFNpYmxpbmcpMT09PWUubm9kZVR5cGUmJmUhPT10JiZuLnB1c2goZSk7cmV0dXJuIG59LGs9Uy5leHByLm1hdGNoLm5lZWRzQ29udGV4dDtmdW5jdGlvbiBBKGUsdCl7cmV0dXJuIGUubm9kZU5hbWUmJmUubm9kZU5hbWUudG9Mb3dlckNhc2UoKT09PXQudG9Mb3dlckNhc2UoKX12YXIgTj0vXjwoW2Etel1bXlwvXDA+Olx4MjBcdFxyXG5cZl0qKVtceDIwXHRcclxuXGZdKlwvPz4oPzo8XC9cMT58KSQvaTtmdW5jdGlvbiBEKGUsbixyKXtyZXR1cm4gbShuKT9TLmdyZXAoZSxmdW5jdGlvbihlLHQpe3JldHVybiEhbi5jYWxsKGUsdCxlKSE9PXJ9KTpuLm5vZGVUeXBlP1MuZ3JlcChlLGZ1bmN0aW9uKGUpe3JldHVybiBlPT09biE9PXJ9KToic3RyaW5nIiE9dHlwZW9mIG4/Uy5ncmVwKGUsZnVuY3Rpb24oZSl7cmV0dXJuLTE8aS5jYWxsKG4sZSkhPT1yfSk6Uy5maWx0ZXIobixlLHIpfVMuZmlsdGVyPWZ1bmN0aW9uKGUsdCxuKXt2YXIgcj10WzBdO3JldHVybiBuJiYoZT0iOm5vdCgiK2UrIikiKSwxPT09dC5sZW5ndGgmJjE9PT1yLm5vZGVUeXBlP1MuZmluZC5tYXRjaGVzU2VsZWN0b3IocixlKT9bcl06W106Uy5maW5kLm1hdGNoZXMoZSxTLmdyZXAodCxmdW5jdGlvbihlKXtyZXR1cm4gMT09PWUubm9kZVR5cGV9KSl9LFMuZm4uZXh0ZW5kKHtmaW5kOmZ1bmN0aW9uKGUpe3ZhciB0LG4scj10aGlzLmxlbmd0aCxpPXRoaXM7aWYoInN0cmluZyIhPXR5cGVvZiBlKXJldHVybiB0aGlzLnB1c2hTdGFjayhTKGUpLmZpbHRlcihmdW5jdGlvbigpe2Zvcih0PTA7dDxyO3QrKylpZihTLmNvbnRhaW5zKGlbdF0sdGhpcykpcmV0dXJuITB9KSk7Zm9yKG49dGhpcy5wdXNoU3RhY2soW10pLHQ9MDt0PHI7dCsrKVMuZmluZChlLGlbdF0sbik7cmV0dXJuIDE8cj9TLnVuaXF1ZVNvcnQobik6bn0sZmlsdGVyOmZ1bmN0aW9uKGUpe3JldHVybiB0aGlzLnB1c2hTdGFjayhEKHRoaXMsZXx8W10sITEpKX0sbm90OmZ1bmN0aW9uKGUpe3JldHVybiB0aGlzLnB1c2hTdGFjayhEKHRoaXMsZXx8W10sITApKX0saXM6ZnVuY3Rpb24oZSl7cmV0dXJuISFEKHRoaXMsInN0cmluZyI9PXR5cGVvZiBlJiZrLnRlc3QoZSk/UyhlKTplfHxbXSwhMSkubGVuZ3RofX0pO3ZhciBqLHE9L14oPzpccyooPFtcd1xXXSs+KVtePl0qfCMoW1x3LV0rKSkkLzsoUy5mbi5pbml0PWZ1bmN0aW9uKGUsdCxuKXt2YXIgcixpO2lmKCFlKXJldHVybiB0aGlzO2lmKG49bnx8aiwic3RyaW5nIj09dHlwZW9mIGUpe2lmKCEocj0iPCI9PT1lWzBdJiYiPiI9PT1lW2UubGVuZ3RoLTFdJiYzPD1lLmxlbmd0aD9bbnVsbCxlLG51bGxdOnEuZXhlYyhlKSl8fCFyWzFdJiZ0KXJldHVybiF0fHx0LmpxdWVyeT8odHx8bikuZmluZChlKTp0aGlzLmNvbnN0cnVjdG9yKHQpLmZpbmQoZSk7aWYoclsxXSl7aWYodD10IGluc3RhbmNlb2YgUz90WzBdOnQsUy5tZXJnZSh0aGlzLFMucGFyc2VIVE1MKHJbMV0sdCYmdC5ub2RlVHlwZT90Lm93bmVyRG9jdW1lbnR8fHQ6RSwhMCkpLE4udGVzdChyWzFdKSYmUy5pc1BsYWluT2JqZWN0KHQpKWZvcihyIGluIHQpbSh0aGlzW3JdKT90aGlzW3JdKHRbcl0pOnRoaXMuYXR0cihyLHRbcl0pO3JldHVybiB0aGlzfXJldHVybihpPUUuZ2V0RWxlbWVudEJ5SWQoclsyXSkpJiYodGhpc1swXT1pLHRoaXMubGVuZ3RoPTEpLHRoaXN9cmV0dXJuIGUubm9kZVR5cGU/KHRoaXNbMF09ZSx0aGlzLmxlbmd0aD0xLHRoaXMpOm0oZSk/dm9pZCAwIT09bi5yZWFkeT9uLnJlYWR5KGUpOmUoUyk6Uy5tYWtlQXJyYXkoZSx0aGlzKX0pLnByb3RvdHlwZT1TLmZuLGo9UyhFKTt2YXIgTD0vXig/OnBhcmVudHN8cHJldig/OlVudGlsfEFsbCkpLyxIPXtjaGlsZHJlbjohMCxjb250ZW50czohMCxuZXh0OiEwLHByZXY6ITB9O2Z1bmN0aW9uIE8oZSx0KXt3aGlsZSgoZT1lW3RdKSYmMSE9PWUubm9kZVR5cGUpO3JldHVybiBlfVMuZm4uZXh0ZW5kKHtoYXM6ZnVuY3Rpb24oZSl7dmFyIHQ9UyhlLHRoaXMpLG49dC5sZW5ndGg7cmV0dXJuIHRoaXMuZmlsdGVyKGZ1bmN0aW9uKCl7Zm9yKHZhciBlPTA7ZTxuO2UrKylpZihTLmNvbnRhaW5zKHRoaXMsdFtlXSkpcmV0dXJuITB9KX0sY2xvc2VzdDpmdW5jdGlvbihlLHQpe3ZhciBuLHI9MCxpPXRoaXMubGVuZ3RoLG89W10sYT0ic3RyaW5nIiE9dHlwZW9mIGUmJlMoZSk7aWYoIWsudGVzdChlKSlmb3IoO3I8aTtyKyspZm9yKG49dGhpc1tyXTtuJiZuIT09dDtuPW4ucGFyZW50Tm9kZSlpZihuLm5vZGVUeXBlPDExJiYoYT8tMTxhLmluZGV4KG4pOjE9PT1uLm5vZGVUeXBlJiZTLmZpbmQubWF0Y2hlc1NlbGVjdG9yKG4sZSkpKXtvLnB1c2gobik7YnJlYWt9cmV0dXJuIHRoaXMucHVzaFN0YWNrKDE8by5sZW5ndGg/Uy51bmlxdWVTb3J0KG8pOm8pfSxpbmRleDpmdW5jdGlvbihlKXtyZXR1cm4gZT8ic3RyaW5nIj09dHlwZW9mIGU/aS5jYWxsKFMoZSksdGhpc1swXSk6aS5jYWxsKHRoaXMsZS5qcXVlcnk/ZVswXTplKTp0aGlzWzBdJiZ0aGlzWzBdLnBhcmVudE5vZGU/dGhpcy5maXJzdCgpLnByZXZBbGwoKS5sZW5ndGg6LTF9LGFkZDpmdW5jdGlvbihlLHQpe3JldHVybiB0aGlzLnB1c2hTdGFjayhTLnVuaXF1ZVNvcnQoUy5tZXJnZSh0aGlzLmdldCgpLFMoZSx0KSkpKX0sYWRkQmFjazpmdW5jdGlvbihlKXtyZXR1cm4gdGhpcy5hZGQobnVsbD09ZT90aGlzLnByZXZPYmplY3Q6dGhpcy5wcmV2T2JqZWN0LmZpbHRlcihlKSl9fSksUy5lYWNoKHtwYXJlbnQ6ZnVuY3Rpb24oZSl7dmFyIHQ9ZS5wYXJlbnROb2RlO3JldHVybiB0JiYxMSE9PXQubm9kZVR5cGU/dDpudWxsfSxwYXJlbnRzOmZ1bmN0aW9uKGUpe3JldHVybiBoKGUsInBhcmVudE5vZGUiKX0scGFyZW50c1VudGlsOmZ1bmN0aW9uKGUsdCxuKXtyZXR1cm4gaChlLCJwYXJlbnROb2RlIixuKX0sbmV4dDpmdW5jdGlvbihlKXtyZXR1cm4gTyhlLCJuZXh0U2libGluZyIpfSxwcmV2OmZ1bmN0aW9uKGUpe3JldHVybiBPKGUsInByZXZpb3VzU2libGluZyIpfSxuZXh0QWxsOmZ1bmN0aW9uKGUpe3JldHVybiBoKGUsIm5leHRTaWJsaW5nIil9LHByZXZBbGw6ZnVuY3Rpb24oZSl7cmV0dXJuIGgoZSwicHJldmlvdXNTaWJsaW5nIil9LG5leHRVbnRpbDpmdW5jdGlvbihlLHQsbil7cmV0dXJuIGgoZSwibmV4dFNpYmxpbmciLG4pfSxwcmV2VW50aWw6ZnVuY3Rpb24oZSx0LG4pe3JldHVybiBoKGUsInByZXZpb3VzU2libGluZyIsbil9LHNpYmxpbmdzOmZ1bmN0aW9uKGUpe3JldHVybiBUKChlLnBhcmVudE5vZGV8fHt9KS5maXJzdENoaWxkLGUpfSxjaGlsZHJlbjpmdW5jdGlvbihlKXtyZXR1cm4gVChlLmZpcnN0Q2hpbGQpfSxjb250ZW50czpmdW5jdGlvbihlKXtyZXR1cm4gbnVsbCE9ZS5jb250ZW50RG9jdW1lbnQmJnIoZS5jb250ZW50RG9jdW1lbnQpP2UuY29udGVudERvY3VtZW50OihBKGUsInRlbXBsYXRlIikmJihlPWUuY29udGVudHx8ZSksUy5tZXJnZShbXSxlLmNoaWxkTm9kZXMpKX19LGZ1bmN0aW9uKHIsaSl7Uy5mbltyXT1mdW5jdGlvbihlLHQpe3ZhciBuPVMubWFwKHRoaXMsaSxlKTtyZXR1cm4iVW50aWwiIT09ci5zbGljZSgtNSkmJih0PWUpLHQmJiJzdHJpbmciPT10eXBlb2YgdCYmKG49Uy5maWx0ZXIodCxuKSksMTx0aGlzLmxlbmd0aCYmKEhbcl18fFMudW5pcXVlU29ydChuKSxMLnRlc3QocikmJm4ucmV2ZXJzZSgpKSx0aGlzLnB1c2hTdGFjayhuKX19KTt2YXIgUD0vW15ceDIwXHRcclxuXGZdKy9nO2Z1bmN0aW9uIFIoZSl7cmV0dXJuIGV9ZnVuY3Rpb24gTShlKXt0aHJvdyBlfWZ1bmN0aW9uIEkoZSx0LG4scil7dmFyIGk7dHJ5e2UmJm0oaT1lLnByb21pc2UpP2kuY2FsbChlKS5kb25lKHQpLmZhaWwobik6ZSYmbShpPWUudGhlbik/aS5jYWxsKGUsdCxuKTp0LmFwcGx5KHZvaWQgMCxbZV0uc2xpY2UocikpfWNhdGNoKGUpe24uYXBwbHkodm9pZCAwLFtlXSl9fVMuQ2FsbGJhY2tzPWZ1bmN0aW9uKHIpe3ZhciBlLG47cj0ic3RyaW5nIj09dHlwZW9mIHI/KGU9cixuPXt9LFMuZWFjaChlLm1hdGNoKFApfHxbXSxmdW5jdGlvbihlLHQpe25bdF09ITB9KSxuKTpTLmV4dGVuZCh7fSxyKTt2YXIgaSx0LG8sYSxzPVtdLHU9W10sbD0tMSxjPWZ1bmN0aW9uKCl7Zm9yKGE9YXx8ci5vbmNlLG89aT0hMDt1Lmxlbmd0aDtsPS0xKXt0PXUuc2hpZnQoKTt3aGlsZSgrK2w8cy5sZW5ndGgpITE9PT1zW2xdLmFwcGx5KHRbMF0sdFsxXSkmJnIuc3RvcE9uRmFsc2UmJihsPXMubGVuZ3RoLHQ9ITEpfXIubWVtb3J5fHwodD0hMSksaT0hMSxhJiYocz10P1tdOiIiKX0sZj17YWRkOmZ1bmN0aW9uKCl7cmV0dXJuIHMmJih0JiYhaSYmKGw9cy5sZW5ndGgtMSx1LnB1c2godCkpLGZ1bmN0aW9uIG4oZSl7Uy5lYWNoKGUsZnVuY3Rpb24oZSx0KXttKHQpP3IudW5pcXVlJiZmLmhhcyh0KXx8cy5wdXNoKHQpOnQmJnQubGVuZ3RoJiYic3RyaW5nIiE9PXcodCkmJm4odCl9KX0oYXJndW1lbnRzKSx0JiYhaSYmYygpKSx0aGlzfSxyZW1vdmU6ZnVuY3Rpb24oKXtyZXR1cm4gUy5lYWNoKGFyZ3VtZW50cyxmdW5jdGlvbihlLHQpe3ZhciBuO3doaWxlKC0xPChuPVMuaW5BcnJheSh0LHMsbikpKXMuc3BsaWNlKG4sMSksbjw9bCYmbC0tfSksdGhpc30saGFzOmZ1bmN0aW9uKGUpe3JldHVybiBlPy0xPFMuaW5BcnJheShlLHMpOjA8cy5sZW5ndGh9LGVtcHR5OmZ1bmN0aW9uKCl7cmV0dXJuIHMmJihzPVtdKSx0aGlzfSxkaXNhYmxlOmZ1bmN0aW9uKCl7cmV0dXJuIGE9dT1bXSxzPXQ9IiIsdGhpc30sZGlzYWJsZWQ6ZnVuY3Rpb24oKXtyZXR1cm4hc30sbG9jazpmdW5jdGlvbigpe3JldHVybiBhPXU9W10sdHx8aXx8KHM9dD0iIiksdGhpc30sbG9ja2VkOmZ1bmN0aW9uKCl7cmV0dXJuISFhfSxmaXJlV2l0aDpmdW5jdGlvbihlLHQpe3JldHVybiBhfHwodD1bZSwodD10fHxbXSkuc2xpY2U/dC5zbGljZSgpOnRdLHUucHVzaCh0KSxpfHxjKCkpLHRoaXN9LGZpcmU6ZnVuY3Rpb24oKXtyZXR1cm4gZi5maXJlV2l0aCh0aGlzLGFyZ3VtZW50cyksdGhpc30sZmlyZWQ6ZnVuY3Rpb24oKXtyZXR1cm4hIW99fTtyZXR1cm4gZn0sUy5leHRlbmQoe0RlZmVycmVkOmZ1bmN0aW9uKGUpe3ZhciBvPVtbIm5vdGlmeSIsInByb2dyZXNzIixTLkNhbGxiYWNrcygibWVtb3J5IiksUy5DYWxsYmFja3MoIm1lbW9yeSIpLDJdLFsicmVzb2x2ZSIsImRvbmUiLFMuQ2FsbGJhY2tzKCJvbmNlIG1lbW9yeSIpLFMuQ2FsbGJhY2tzKCJvbmNlIG1lbW9yeSIpLDAsInJlc29sdmVkIl0sWyJyZWplY3QiLCJmYWlsIixTLkNhbGxiYWNrcygib25jZSBtZW1vcnkiKSxTLkNhbGxiYWNrcygib25jZSBtZW1vcnkiKSwxLCJyZWplY3RlZCJdXSxpPSJwZW5kaW5nIixhPXtzdGF0ZTpmdW5jdGlvbigpe3JldHVybiBpfSxhbHdheXM6ZnVuY3Rpb24oKXtyZXR1cm4gcy5kb25lKGFyZ3VtZW50cykuZmFpbChhcmd1bWVudHMpLHRoaXN9LCJjYXRjaCI6ZnVuY3Rpb24oZSl7cmV0dXJuIGEudGhlbihudWxsLGUpfSxwaXBlOmZ1bmN0aW9uKCl7dmFyIGk9YXJndW1lbnRzO3JldHVybiBTLkRlZmVycmVkKGZ1bmN0aW9uKHIpe1MuZWFjaChvLGZ1bmN0aW9uKGUsdCl7dmFyIG49bShpW3RbNF1dKSYmaVt0WzRdXTtzW3RbMV1dKGZ1bmN0aW9uKCl7dmFyIGU9biYmbi5hcHBseSh0aGlzLGFyZ3VtZW50cyk7ZSYmbShlLnByb21pc2UpP2UucHJvbWlzZSgpLnByb2dyZXNzKHIubm90aWZ5KS5kb25lKHIucmVzb2x2ZSkuZmFpbChyLnJlamVjdCk6clt0WzBdKyJXaXRoIl0odGhpcyxuP1tlXTphcmd1bWVudHMpfSl9KSxpPW51bGx9KS5wcm9taXNlKCl9LHRoZW46ZnVuY3Rpb24odCxuLHIpe3ZhciB1PTA7ZnVuY3Rpb24gbChpLG8sYSxzKXtyZXR1cm4gZnVuY3Rpb24oKXt2YXIgbj10aGlzLHI9YXJndW1lbnRzLGU9ZnVuY3Rpb24oKXt2YXIgZSx0O2lmKCEoaTx1KSl7aWYoKGU9YS5hcHBseShuLHIpKT09PW8ucHJvbWlzZSgpKXRocm93IG5ldyBUeXBlRXJyb3IoIlRoZW5hYmxlIHNlbGYtcmVzb2x1dGlvbiIpO3Q9ZSYmKCJvYmplY3QiPT10eXBlb2YgZXx8ImZ1bmN0aW9uIj09dHlwZW9mIGUpJiZlLnRoZW4sbSh0KT9zP3QuY2FsbChlLGwodSxvLFIscyksbCh1LG8sTSxzKSk6KHUrKyx0LmNhbGwoZSxsKHUsbyxSLHMpLGwodSxvLE0scyksbCh1LG8sUixvLm5vdGlmeVdpdGgpKSk6KGEhPT1SJiYobj12b2lkIDAscj1bZV0pLChzfHxvLnJlc29sdmVXaXRoKShuLHIpKX19LHQ9cz9lOmZ1bmN0aW9uKCl7dHJ5e2UoKX1jYXRjaChlKXtTLkRlZmVycmVkLmV4Y2VwdGlvbkhvb2smJlMuRGVmZXJyZWQuZXhjZXB0aW9uSG9vayhlLHQuc3RhY2tUcmFjZSksdTw9aSsxJiYoYSE9PU0mJihuPXZvaWQgMCxyPVtlXSksby5yZWplY3RXaXRoKG4scikpfX07aT90KCk6KFMuRGVmZXJyZWQuZ2V0U3RhY2tIb29rJiYodC5zdGFja1RyYWNlPVMuRGVmZXJyZWQuZ2V0U3RhY2tIb29rKCkpLEMuc2V0VGltZW91dCh0KSl9fXJldHVybiBTLkRlZmVycmVkKGZ1bmN0aW9uKGUpe29bMF1bM10uYWRkKGwoMCxlLG0ocik/cjpSLGUubm90aWZ5V2l0aCkpLG9bMV1bM10uYWRkKGwoMCxlLG0odCk/dDpSKSksb1syXVszXS5hZGQobCgwLGUsbShuKT9uOk0pKX0pLnByb21pc2UoKX0scHJvbWlzZTpmdW5jdGlvbihlKXtyZXR1cm4gbnVsbCE9ZT9TLmV4dGVuZChlLGEpOmF9fSxzPXt9O3JldHVybiBTLmVhY2gobyxmdW5jdGlvbihlLHQpe3ZhciBuPXRbMl0scj10WzVdO2FbdFsxXV09bi5hZGQsciYmbi5hZGQoZnVuY3Rpb24oKXtpPXJ9LG9bMy1lXVsyXS5kaXNhYmxlLG9bMy1lXVszXS5kaXNhYmxlLG9bMF1bMl0ubG9jayxvWzBdWzNdLmxvY2spLG4uYWRkKHRbM10uZmlyZSksc1t0WzBdXT1mdW5jdGlvbigpe3JldHVybiBzW3RbMF0rIldpdGgiXSh0aGlzPT09cz92b2lkIDA6dGhpcyxhcmd1bWVudHMpLHRoaXN9LHNbdFswXSsiV2l0aCJdPW4uZmlyZVdpdGh9KSxhLnByb21pc2UocyksZSYmZS5jYWxsKHMscyksc30sd2hlbjpmdW5jdGlvbihlKXt2YXIgbj1hcmd1bWVudHMubGVuZ3RoLHQ9bixyPUFycmF5KHQpLGk9cy5jYWxsKGFyZ3VtZW50cyksbz1TLkRlZmVycmVkKCksYT1mdW5jdGlvbih0KXtyZXR1cm4gZnVuY3Rpb24oZSl7clt0XT10aGlzLGlbdF09MTxhcmd1bWVudHMubGVuZ3RoP3MuY2FsbChhcmd1bWVudHMpOmUsLS1ufHxvLnJlc29sdmVXaXRoKHIsaSl9fTtpZihuPD0xJiYoSShlLG8uZG9uZShhKHQpKS5yZXNvbHZlLG8ucmVqZWN0LCFuKSwicGVuZGluZyI9PT1vLnN0YXRlKCl8fG0oaVt0XSYmaVt0XS50aGVuKSkpcmV0dXJuIG8udGhlbigpO3doaWxlKHQtLSlJKGlbdF0sYSh0KSxvLnJlamVjdCk7cmV0dXJuIG8ucHJvbWlzZSgpfX0pO3ZhciBXPS9eKEV2YWx8SW50ZXJuYWx8UmFuZ2V8UmVmZXJlbmNlfFN5bnRheHxUeXBlfFVSSSlFcnJvciQvO1MuRGVmZXJyZWQuZXhjZXB0aW9uSG9vaz1mdW5jdGlvbihlLHQpe0MuY29uc29sZSYmQy5jb25zb2xlLndhcm4mJmUmJlcudGVzdChlLm5hbWUpJiZDLmNvbnNvbGUud2FybigialF1ZXJ5LkRlZmVycmVkIGV4Y2VwdGlvbjogIitlLm1lc3NhZ2UsZS5zdGFjayx0KX0sUy5yZWFkeUV4Y2VwdGlvbj1mdW5jdGlvbihlKXtDLnNldFRpbWVvdXQoZnVuY3Rpb24oKXt0aHJvdyBlfSl9O3ZhciBGPVMuRGVmZXJyZWQoKTtmdW5jdGlvbiBCKCl7RS5yZW1vdmVFdmVudExpc3RlbmVyKCJET01Db250ZW50TG9hZGVkIixCKSxDLnJlbW92ZUV2ZW50TGlzdGVuZXIoImxvYWQiLEIpLFMucmVhZHkoKX1TLmZuLnJlYWR5PWZ1bmN0aW9uKGUpe3JldHVybiBGLnRoZW4oZSlbImNhdGNoIl0oZnVuY3Rpb24oZSl7Uy5yZWFkeUV4Y2VwdGlvbihlKX0pLHRoaXN9LFMuZXh0ZW5kKHtpc1JlYWR5OiExLHJlYWR5V2FpdDoxLHJlYWR5OmZ1bmN0aW9uKGUpeyghMD09PWU/LS1TLnJlYWR5V2FpdDpTLmlzUmVhZHkpfHwoUy5pc1JlYWR5PSEwKSE9PWUmJjA8LS1TLnJlYWR5V2FpdHx8Ri5yZXNvbHZlV2l0aChFLFtTXSl9fSksUy5yZWFkeS50aGVuPUYudGhlbiwiY29tcGxldGUiPT09RS5yZWFkeVN0YXRlfHwibG9hZGluZyIhPT1FLnJlYWR5U3RhdGUmJiFFLmRvY3VtZW50RWxlbWVudC5kb1Njcm9sbD9DLnNldFRpbWVvdXQoUy5yZWFkeSk6KEUuYWRkRXZlbnRMaXN0ZW5lcigiRE9NQ29udGVudExvYWRlZCIsQiksQy5hZGRFdmVudExpc3RlbmVyKCJsb2FkIixCKSk7dmFyICQ9ZnVuY3Rpb24oZSx0LG4scixpLG8sYSl7dmFyIHM9MCx1PWUubGVuZ3RoLGw9bnVsbD09bjtpZigib2JqZWN0Ij09PXcobikpZm9yKHMgaW4gaT0hMCxuKSQoZSx0LHMsbltzXSwhMCxvLGEpO2Vsc2UgaWYodm9pZCAwIT09ciYmKGk9ITAsbShyKXx8KGE9ITApLGwmJihhPyh0LmNhbGwoZSxyKSx0PW51bGwpOihsPXQsdD1mdW5jdGlvbihlLHQsbil7cmV0dXJuIGwuY2FsbChTKGUpLG4pfSkpLHQpKWZvcig7czx1O3MrKyl0KGVbc10sbixhP3I6ci5jYWxsKGVbc10scyx0KGVbc10sbikpKTtyZXR1cm4gaT9lOmw/dC5jYWxsKGUpOnU/dChlWzBdLG4pOm99LF89L14tbXMtLyx6PS8tKFthLXpdKS9nO2Z1bmN0aW9uIFUoZSx0KXtyZXR1cm4gdC50b1VwcGVyQ2FzZSgpfWZ1bmN0aW9uIFgoZSl7cmV0dXJuIGUucmVwbGFjZShfLCJtcy0iKS5yZXBsYWNlKHosVSl9dmFyIFY9ZnVuY3Rpb24oZSl7cmV0dXJuIDE9PT1lLm5vZGVUeXBlfHw5PT09ZS5ub2RlVHlwZXx8IStlLm5vZGVUeXBlfTtmdW5jdGlvbiBHKCl7dGhpcy5leHBhbmRvPVMuZXhwYW5kbytHLnVpZCsrfUcudWlkPTEsRy5wcm90b3R5cGU9e2NhY2hlOmZ1bmN0aW9uKGUpe3ZhciB0PWVbdGhpcy5leHBhbmRvXTtyZXR1cm4gdHx8KHQ9e30sVihlKSYmKGUubm9kZVR5cGU/ZVt0aGlzLmV4cGFuZG9dPXQ6T2JqZWN0LmRlZmluZVByb3BlcnR5KGUsdGhpcy5leHBhbmRvLHt2YWx1ZTp0LGNvbmZpZ3VyYWJsZTohMH0pKSksdH0sc2V0OmZ1bmN0aW9uKGUsdCxuKXt2YXIgcixpPXRoaXMuY2FjaGUoZSk7aWYoInN0cmluZyI9PXR5cGVvZiB0KWlbWCh0KV09bjtlbHNlIGZvcihyIGluIHQpaVtYKHIpXT10W3JdO3JldHVybiBpfSxnZXQ6ZnVuY3Rpb24oZSx0KXtyZXR1cm4gdm9pZCAwPT09dD90aGlzLmNhY2hlKGUpOmVbdGhpcy5leHBhbmRvXSYmZVt0aGlzLmV4cGFuZG9dW1godCldfSxhY2Nlc3M6ZnVuY3Rpb24oZSx0LG4pe3JldHVybiB2b2lkIDA9PT10fHx0JiYic3RyaW5nIj09dHlwZW9mIHQmJnZvaWQgMD09PW4/dGhpcy5nZXQoZSx0KToodGhpcy5zZXQoZSx0LG4pLHZvaWQgMCE9PW4/bjp0KX0scmVtb3ZlOmZ1bmN0aW9uKGUsdCl7dmFyIG4scj1lW3RoaXMuZXhwYW5kb107aWYodm9pZCAwIT09cil7aWYodm9pZCAwIT09dCl7bj0odD1BcnJheS5pc0FycmF5KHQpP3QubWFwKFgpOih0PVgodCkpaW4gcj9bdF06dC5tYXRjaChQKXx8W10pLmxlbmd0aDt3aGlsZShuLS0pZGVsZXRlIHJbdFtuXV19KHZvaWQgMD09PXR8fFMuaXNFbXB0eU9iamVjdChyKSkmJihlLm5vZGVUeXBlP2VbdGhpcy5leHBhbmRvXT12b2lkIDA6ZGVsZXRlIGVbdGhpcy5leHBhbmRvXSl9fSxoYXNEYXRhOmZ1bmN0aW9uKGUpe3ZhciB0PWVbdGhpcy5leHBhbmRvXTtyZXR1cm4gdm9pZCAwIT09dCYmIVMuaXNFbXB0eU9iamVjdCh0KX19O3ZhciBZPW5ldyBHLFE9bmV3IEcsSj0vXig/Olx7W1x3XFddKlx9fFxbW1x3XFddKlxdKSQvLEs9L1tBLVpdL2c7ZnVuY3Rpb24gWihlLHQsbil7dmFyIHIsaTtpZih2b2lkIDA9PT1uJiYxPT09ZS5ub2RlVHlwZSlpZihyPSJkYXRhLSIrdC5yZXBsYWNlKEssIi0kJiIpLnRvTG93ZXJDYXNlKCksInN0cmluZyI9PXR5cGVvZihuPWUuZ2V0QXR0cmlidXRlKHIpKSl7dHJ5e249InRydWUiPT09KGk9bil8fCJmYWxzZSIhPT1pJiYoIm51bGwiPT09aT9udWxsOmk9PT0raSsiIj8raTpKLnRlc3QoaSk/SlNPTi5wYXJzZShpKTppKX1jYXRjaChlKXt9US5zZXQoZSx0LG4pfWVsc2Ugbj12b2lkIDA7cmV0dXJuIG59Uy5leHRlbmQoe2hhc0RhdGE6ZnVuY3Rpb24oZSl7cmV0dXJuIFEuaGFzRGF0YShlKXx8WS5oYXNEYXRhKGUpfSxkYXRhOmZ1bmN0aW9uKGUsdCxuKXtyZXR1cm4gUS5hY2Nlc3MoZSx0LG4pfSxyZW1vdmVEYXRhOmZ1bmN0aW9uKGUsdCl7US5yZW1vdmUoZSx0KX0sX2RhdGE6ZnVuY3Rpb24oZSx0LG4pe3JldHVybiBZLmFjY2VzcyhlLHQsbil9LF9yZW1vdmVEYXRhOmZ1bmN0aW9uKGUsdCl7WS5yZW1vdmUoZSx0KX19KSxTLmZuLmV4dGVuZCh7ZGF0YTpmdW5jdGlvbihuLGUpe3ZhciB0LHIsaSxvPXRoaXNbMF0sYT1vJiZvLmF0dHJpYnV0ZXM7aWYodm9pZCAwPT09bil7aWYodGhpcy5sZW5ndGgmJihpPVEuZ2V0KG8pLDE9PT1vLm5vZGVUeXBlJiYhWS5nZXQobywiaGFzRGF0YUF0dHJzIikpKXt0PWEubGVuZ3RoO3doaWxlKHQtLSlhW3RdJiYwPT09KHI9YVt0XS5uYW1lKS5pbmRleE9mKCJkYXRhLSIpJiYocj1YKHIuc2xpY2UoNSkpLFoobyxyLGlbcl0pKTtZLnNldChvLCJoYXNEYXRhQXR0cnMiLCEwKX1yZXR1cm4gaX1yZXR1cm4ib2JqZWN0Ij09dHlwZW9mIG4/dGhpcy5lYWNoKGZ1bmN0aW9uKCl7US5zZXQodGhpcyxuKX0pOiQodGhpcyxmdW5jdGlvbihlKXt2YXIgdDtpZihvJiZ2b2lkIDA9PT1lKXJldHVybiB2b2lkIDAhPT0odD1RLmdldChvLG4pKT90OnZvaWQgMCE9PSh0PVoobyxuKSk/dDp2b2lkIDA7dGhpcy5lYWNoKGZ1bmN0aW9uKCl7US5zZXQodGhpcyxuLGUpfSl9LG51bGwsZSwxPGFyZ3VtZW50cy5sZW5ndGgsbnVsbCwhMCl9LHJlbW92ZURhdGE6ZnVuY3Rpb24oZSl7cmV0dXJuIHRoaXMuZWFjaChmdW5jdGlvbigpe1EucmVtb3ZlKHRoaXMsZSl9KX19KSxTLmV4dGVuZCh7cXVldWU6ZnVuY3Rpb24oZSx0LG4pe3ZhciByO2lmKGUpcmV0dXJuIHQ9KHR8fCJmeCIpKyJxdWV1ZSIscj1ZLmdldChlLHQpLG4mJighcnx8QXJyYXkuaXNBcnJheShuKT9yPVkuYWNjZXNzKGUsdCxTLm1ha2VBcnJheShuKSk6ci5wdXNoKG4pKSxyfHxbXX0sZGVxdWV1ZTpmdW5jdGlvbihlLHQpe3Q9dHx8ImZ4Ijt2YXIgbj1TLnF1ZXVlKGUsdCkscj1uLmxlbmd0aCxpPW4uc2hpZnQoKSxvPVMuX3F1ZXVlSG9va3MoZSx0KTsiaW5wcm9ncmVzcyI9PT1pJiYoaT1uLnNoaWZ0KCksci0tKSxpJiYoImZ4Ij09PXQmJm4udW5zaGlmdCgiaW5wcm9ncmVzcyIpLGRlbGV0ZSBvLnN0b3AsaS5jYWxsKGUsZnVuY3Rpb24oKXtTLmRlcXVldWUoZSx0KX0sbykpLCFyJiZvJiZvLmVtcHR5LmZpcmUoKX0sX3F1ZXVlSG9va3M6ZnVuY3Rpb24oZSx0KXt2YXIgbj10KyJxdWV1ZUhvb2tzIjtyZXR1cm4gWS5nZXQoZSxuKXx8WS5hY2Nlc3MoZSxuLHtlbXB0eTpTLkNhbGxiYWNrcygib25jZSBtZW1vcnkiKS5hZGQoZnVuY3Rpb24oKXtZLnJlbW92ZShlLFt0KyJxdWV1ZSIsbl0pfSl9KX19KSxTLmZuLmV4dGVuZCh7cXVldWU6ZnVuY3Rpb24odCxuKXt2YXIgZT0yO3JldHVybiJzdHJpbmciIT10eXBlb2YgdCYmKG49dCx0PSJmeCIsZS0tKSxhcmd1bWVudHMubGVuZ3RoPGU/Uy5xdWV1ZSh0aGlzWzBdLHQpOnZvaWQgMD09PW4/dGhpczp0aGlzLmVhY2goZnVuY3Rpb24oKXt2YXIgZT1TLnF1ZXVlKHRoaXMsdCxuKTtTLl9xdWV1ZUhvb2tzKHRoaXMsdCksImZ4Ij09PXQmJiJpbnByb2dyZXNzIiE9PWVbMF0mJlMuZGVxdWV1ZSh0aGlzLHQpfSl9LGRlcXVldWU6ZnVuY3Rpb24oZSl7cmV0dXJuIHRoaXMuZWFjaChmdW5jdGlvbigpe1MuZGVxdWV1ZSh0aGlzLGUpfSl9LGNsZWFyUXVldWU6ZnVuY3Rpb24oZSl7cmV0dXJuIHRoaXMucXVldWUoZXx8ImZ4IixbXSl9LHByb21pc2U6ZnVuY3Rpb24oZSx0KXt2YXIgbixyPTEsaT1TLkRlZmVycmVkKCksbz10aGlzLGE9dGhpcy5sZW5ndGgscz1mdW5jdGlvbigpey0tcnx8aS5yZXNvbHZlV2l0aChvLFtvXSl9OyJzdHJpbmciIT10eXBlb2YgZSYmKHQ9ZSxlPXZvaWQgMCksZT1lfHwiZngiO3doaWxlKGEtLSkobj1ZLmdldChvW2FdLGUrInF1ZXVlSG9va3MiKSkmJm4uZW1wdHkmJihyKyssbi5lbXB0eS5hZGQocykpO3JldHVybiBzKCksaS5wcm9taXNlKHQpfX0pO3ZhciBlZT0vWystXT8oPzpcZCpcLnwpXGQrKD86W2VFXVsrLV0/XGQrfCkvLnNvdXJjZSx0ZT1uZXcgUmVnRXhwKCJeKD86KFsrLV0pPXwpKCIrZWUrIikoW2EteiVdKikkIiwiaSIpLG5lPVsiVG9wIiwiUmlnaHQiLCJCb3R0b20iLCJMZWZ0Il0scmU9RS5kb2N1bWVudEVsZW1lbnQsaWU9ZnVuY3Rpb24oZSl7cmV0dXJuIFMuY29udGFpbnMoZS5vd25lckRvY3VtZW50LGUpfSxvZT17Y29tcG9zZWQ6ITB9O3JlLmdldFJvb3ROb2RlJiYoaWU9ZnVuY3Rpb24oZSl7cmV0dXJuIFMuY29udGFpbnMoZS5vd25lckRvY3VtZW50LGUpfHxlLmdldFJvb3ROb2RlKG9lKT09PWUub3duZXJEb2N1bWVudH0pO3ZhciBhZT1mdW5jdGlvbihlLHQpe3JldHVybiJub25lIj09PShlPXR8fGUpLnN0eWxlLmRpc3BsYXl8fCIiPT09ZS5zdHlsZS5kaXNwbGF5JiZpZShlKSYmIm5vbmUiPT09Uy5jc3MoZSwiZGlzcGxheSIpfTtmdW5jdGlvbiBzZShlLHQsbixyKXt2YXIgaSxvLGE9MjAscz1yP2Z1bmN0aW9uKCl7cmV0dXJuIHIuY3VyKCl9OmZ1bmN0aW9uKCl7cmV0dXJuIFMuY3NzKGUsdCwiIil9LHU9cygpLGw9biYmblszXXx8KFMuY3NzTnVtYmVyW3RdPyIiOiJweCIpLGM9ZS5ub2RlVHlwZSYmKFMuY3NzTnVtYmVyW3RdfHwicHgiIT09bCYmK3UpJiZ0ZS5leGVjKFMuY3NzKGUsdCkpO2lmKGMmJmNbM10hPT1sKXt1Lz0yLGw9bHx8Y1szXSxjPSt1fHwxO3doaWxlKGEtLSlTLnN0eWxlKGUsdCxjK2wpLCgxLW8pKigxLShvPXMoKS91fHwuNSkpPD0wJiYoYT0wKSxjLz1vO2MqPTIsUy5zdHlsZShlLHQsYytsKSxuPW58fFtdfXJldHVybiBuJiYoYz0rY3x8K3V8fDAsaT1uWzFdP2MrKG5bMV0rMSkqblsyXTorblsyXSxyJiYoci51bml0PWwsci5zdGFydD1jLHIuZW5kPWkpKSxpfXZhciB1ZT17fTtmdW5jdGlvbiBsZShlLHQpe2Zvcih2YXIgbixyLGksbyxhLHMsdSxsPVtdLGM9MCxmPWUubGVuZ3RoO2M8ZjtjKyspKHI9ZVtjXSkuc3R5bGUmJihuPXIuc3R5bGUuZGlzcGxheSx0Pygibm9uZSI9PT1uJiYobFtjXT1ZLmdldChyLCJkaXNwbGF5Iil8fG51bGwsbFtjXXx8KHIuc3R5bGUuZGlzcGxheT0iIikpLCIiPT09ci5zdHlsZS5kaXNwbGF5JiZhZShyKSYmKGxbY109KHU9YT1vPXZvaWQgMCxhPShpPXIpLm93bmVyRG9jdW1lbnQscz1pLm5vZGVOYW1lLCh1PXVlW3NdKXx8KG89YS5ib2R5LmFwcGVuZENoaWxkKGEuY3JlYXRlRWxlbWVudChzKSksdT1TLmNzcyhvLCJkaXNwbGF5Iiksby5wYXJlbnROb2RlLnJlbW92ZUNoaWxkKG8pLCJub25lIj09PXUmJih1PSJibG9jayIpLHVlW3NdPXUpKSkpOiJub25lIiE9PW4mJihsW2NdPSJub25lIixZLnNldChyLCJkaXNwbGF5IixuKSkpO2ZvcihjPTA7YzxmO2MrKyludWxsIT1sW2NdJiYoZVtjXS5zdHlsZS5kaXNwbGF5PWxbY10pO3JldHVybiBlfVMuZm4uZXh0ZW5kKHtzaG93OmZ1bmN0aW9uKCl7cmV0dXJuIGxlKHRoaXMsITApfSxoaWRlOmZ1bmN0aW9uKCl7cmV0dXJuIGxlKHRoaXMpfSx0b2dnbGU6ZnVuY3Rpb24oZSl7cmV0dXJuImJvb2xlYW4iPT10eXBlb2YgZT9lP3RoaXMuc2hvdygpOnRoaXMuaGlkZSgpOnRoaXMuZWFjaChmdW5jdGlvbigpe2FlKHRoaXMpP1ModGhpcykuc2hvdygpOlModGhpcykuaGlkZSgpfSl9fSk7dmFyIGNlLGZlLHBlPS9eKD86Y2hlY2tib3h8cmFkaW8pJC9pLGRlPS88KFthLXpdW15cL1wwPlx4MjBcdFxyXG5cZl0qKS9pLGhlPS9eJHxebW9kdWxlJHxcLyg/OmphdmF8ZWNtYSlzY3JpcHQvaTtjZT1FLmNyZWF0ZURvY3VtZW50RnJhZ21lbnQoKS5hcHBlbmRDaGlsZChFLmNyZWF0ZUVsZW1lbnQoImRpdiIpKSwoZmU9RS5jcmVhdGVFbGVtZW50KCJpbnB1dCIpKS5zZXRBdHRyaWJ1dGUoInR5cGUiLCJyYWRpbyIpLGZlLnNldEF0dHJpYnV0ZSgiY2hlY2tlZCIsImNoZWNrZWQiKSxmZS5zZXRBdHRyaWJ1dGUoIm5hbWUiLCJ0IiksY2UuYXBwZW5kQ2hpbGQoZmUpLHkuY2hlY2tDbG9uZT1jZS5jbG9uZU5vZGUoITApLmNsb25lTm9kZSghMCkubGFzdENoaWxkLmNoZWNrZWQsY2UuaW5uZXJIVE1MPSI8dGV4dGFyZWE+eDwvdGV4dGFyZWE+Iix5Lm5vQ2xvbmVDaGVja2VkPSEhY2UuY2xvbmVOb2RlKCEwKS5sYXN0Q2hpbGQuZGVmYXVsdFZhbHVlLGNlLmlubmVySFRNTD0iPG9wdGlvbj48L29wdGlvbj4iLHkub3B0aW9uPSEhY2UubGFzdENoaWxkO3ZhciBnZT17dGhlYWQ6WzEsIjx0YWJsZT4iLCI8L3RhYmxlPiJdLGNvbDpbMiwiPHRhYmxlPjxjb2xncm91cD4iLCI8L2NvbGdyb3VwPjwvdGFibGU+Il0sdHI6WzIsIjx0YWJsZT48dGJvZHk+IiwiPC90Ym9keT48L3RhYmxlPiJdLHRkOlszLCI8dGFibGU+PHRib2R5Pjx0cj4iLCI8L3RyPjwvdGJvZHk+PC90YWJsZT4iXSxfZGVmYXVsdDpbMCwiIiwiIl19O2Z1bmN0aW9uIHZlKGUsdCl7dmFyIG47cmV0dXJuIG49InVuZGVmaW5lZCIhPXR5cGVvZiBlLmdldEVsZW1lbnRzQnlUYWdOYW1lP2UuZ2V0RWxlbWVudHNCeVRhZ05hbWUodHx8IioiKToidW5kZWZpbmVkIiE9dHlwZW9mIGUucXVlcnlTZWxlY3RvckFsbD9lLnF1ZXJ5U2VsZWN0b3JBbGwodHx8IioiKTpbXSx2b2lkIDA9PT10fHx0JiZBKGUsdCk/Uy5tZXJnZShbZV0sbik6bn1mdW5jdGlvbiB5ZShlLHQpe2Zvcih2YXIgbj0wLHI9ZS5sZW5ndGg7bjxyO24rKylZLnNldChlW25dLCJnbG9iYWxFdmFsIiwhdHx8WS5nZXQodFtuXSwiZ2xvYmFsRXZhbCIpKX1nZS50Ym9keT1nZS50Zm9vdD1nZS5jb2xncm91cD1nZS5jYXB0aW9uPWdlLnRoZWFkLGdlLnRoPWdlLnRkLHkub3B0aW9ufHwoZ2Uub3B0Z3JvdXA9Z2Uub3B0aW9uPVsxLCI8c2VsZWN0IG11bHRpcGxlPSdtdWx0aXBsZSc+IiwiPC9zZWxlY3Q+Il0pO3ZhciBtZT0vPHwmIz9cdys7LztmdW5jdGlvbiB4ZShlLHQsbixyLGkpe2Zvcih2YXIgbyxhLHMsdSxsLGMsZj10LmNyZWF0ZURvY3VtZW50RnJhZ21lbnQoKSxwPVtdLGQ9MCxoPWUubGVuZ3RoO2Q8aDtkKyspaWYoKG89ZVtkXSl8fDA9PT1vKWlmKCJvYmplY3QiPT09dyhvKSlTLm1lcmdlKHAsby5ub2RlVHlwZT9bb106byk7ZWxzZSBpZihtZS50ZXN0KG8pKXthPWF8fGYuYXBwZW5kQ2hpbGQodC5jcmVhdGVFbGVtZW50KCJkaXYiKSkscz0oZGUuZXhlYyhvKXx8WyIiLCIiXSlbMV0udG9Mb3dlckNhc2UoKSx1PWdlW3NdfHxnZS5fZGVmYXVsdCxhLmlubmVySFRNTD11WzFdK1MuaHRtbFByZWZpbHRlcihvKSt1WzJdLGM9dVswXTt3aGlsZShjLS0pYT1hLmxhc3RDaGlsZDtTLm1lcmdlKHAsYS5jaGlsZE5vZGVzKSwoYT1mLmZpcnN0Q2hpbGQpLnRleHRDb250ZW50PSIifWVsc2UgcC5wdXNoKHQuY3JlYXRlVGV4dE5vZGUobykpO2YudGV4dENvbnRlbnQ9IiIsZD0wO3doaWxlKG89cFtkKytdKWlmKHImJi0xPFMuaW5BcnJheShvLHIpKWkmJmkucHVzaChvKTtlbHNlIGlmKGw9aWUobyksYT12ZShmLmFwcGVuZENoaWxkKG8pLCJzY3JpcHQiKSxsJiZ5ZShhKSxuKXtjPTA7d2hpbGUobz1hW2MrK10paGUudGVzdChvLnR5cGV8fCIiKSYmbi5wdXNoKG8pfXJldHVybiBmfXZhciBiZT0vXmtleS8sd2U9L14oPzptb3VzZXxwb2ludGVyfGNvbnRleHRtZW51fGRyYWd8ZHJvcCl8Y2xpY2svLFRlPS9eKFteLl0qKSg/OlwuKC4rKXwpLztmdW5jdGlvbiBDZSgpe3JldHVybiEwfWZ1bmN0aW9uIEVlKCl7cmV0dXJuITF9ZnVuY3Rpb24gU2UoZSx0KXtyZXR1cm4gZT09PWZ1bmN0aW9uKCl7dHJ5e3JldHVybiBFLmFjdGl2ZUVsZW1lbnR9Y2F0Y2goZSl7fX0oKT09KCJmb2N1cyI9PT10KX1mdW5jdGlvbiBrZShlLHQsbixyLGksbyl7dmFyIGEscztpZigib2JqZWN0Ij09dHlwZW9mIHQpe2ZvcihzIGluInN0cmluZyIhPXR5cGVvZiBuJiYocj1yfHxuLG49dm9pZCAwKSx0KWtlKGUscyxuLHIsdFtzXSxvKTtyZXR1cm4gZX1pZihudWxsPT1yJiZudWxsPT1pPyhpPW4scj1uPXZvaWQgMCk6bnVsbD09aSYmKCJzdHJpbmciPT10eXBlb2Ygbj8oaT1yLHI9dm9pZCAwKTooaT1yLHI9bixuPXZvaWQgMCkpLCExPT09aSlpPUVlO2Vsc2UgaWYoIWkpcmV0dXJuIGU7cmV0dXJuIDE9PT1vJiYoYT1pLChpPWZ1bmN0aW9uKGUpe3JldHVybiBTKCkub2ZmKGUpLGEuYXBwbHkodGhpcyxhcmd1bWVudHMpfSkuZ3VpZD1hLmd1aWR8fChhLmd1aWQ9Uy5ndWlkKyspKSxlLmVhY2goZnVuY3Rpb24oKXtTLmV2ZW50LmFkZCh0aGlzLHQsaSxyLG4pfSl9ZnVuY3Rpb24gQWUoZSxpLG8pe28/KFkuc2V0KGUsaSwhMSksUy5ldmVudC5hZGQoZSxpLHtuYW1lc3BhY2U6ITEsaGFuZGxlcjpmdW5jdGlvbihlKXt2YXIgdCxuLHI9WS5nZXQodGhpcyxpKTtpZigxJmUuaXNUcmlnZ2VyJiZ0aGlzW2ldKXtpZihyLmxlbmd0aCkoUy5ldmVudC5zcGVjaWFsW2ldfHx7fSkuZGVsZWdhdGVUeXBlJiZlLnN0b3BQcm9wYWdhdGlvbigpO2Vsc2UgaWYocj1zLmNhbGwoYXJndW1lbnRzKSxZLnNldCh0aGlzLGksciksdD1vKHRoaXMsaSksdGhpc1tpXSgpLHIhPT0obj1ZLmdldCh0aGlzLGkpKXx8dD9ZLnNldCh0aGlzLGksITEpOm49e30sciE9PW4pcmV0dXJuIGUuc3RvcEltbWVkaWF0ZVByb3BhZ2F0aW9uKCksZS5wcmV2ZW50RGVmYXVsdCgpLG4udmFsdWV9ZWxzZSByLmxlbmd0aCYmKFkuc2V0KHRoaXMsaSx7dmFsdWU6Uy5ldmVudC50cmlnZ2VyKFMuZXh0ZW5kKHJbMF0sUy5FdmVudC5wcm90b3R5cGUpLHIuc2xpY2UoMSksdGhpcyl9KSxlLnN0b3BJbW1lZGlhdGVQcm9wYWdhdGlvbigpKX19KSk6dm9pZCAwPT09WS5nZXQoZSxpKSYmUy5ldmVudC5hZGQoZSxpLENlKX1TLmV2ZW50PXtnbG9iYWw6e30sYWRkOmZ1bmN0aW9uKHQsZSxuLHIsaSl7dmFyIG8sYSxzLHUsbCxjLGYscCxkLGgsZyx2PVkuZ2V0KHQpO2lmKFYodCkpe24uaGFuZGxlciYmKG49KG89bikuaGFuZGxlcixpPW8uc2VsZWN0b3IpLGkmJlMuZmluZC5tYXRjaGVzU2VsZWN0b3IocmUsaSksbi5ndWlkfHwobi5ndWlkPVMuZ3VpZCsrKSwodT12LmV2ZW50cyl8fCh1PXYuZXZlbnRzPU9iamVjdC5jcmVhdGUobnVsbCkpLChhPXYuaGFuZGxlKXx8KGE9di5oYW5kbGU9ZnVuY3Rpb24oZSl7cmV0dXJuInVuZGVmaW5lZCIhPXR5cGVvZiBTJiZTLmV2ZW50LnRyaWdnZXJlZCE9PWUudHlwZT9TLmV2ZW50LmRpc3BhdGNoLmFwcGx5KHQsYXJndW1lbnRzKTp2b2lkIDB9KSxsPShlPShlfHwiIikubWF0Y2goUCl8fFsiIl0pLmxlbmd0aDt3aGlsZShsLS0pZD1nPShzPVRlLmV4ZWMoZVtsXSl8fFtdKVsxXSxoPShzWzJdfHwiIikuc3BsaXQoIi4iKS5zb3J0KCksZCYmKGY9Uy5ldmVudC5zcGVjaWFsW2RdfHx7fSxkPShpP2YuZGVsZWdhdGVUeXBlOmYuYmluZFR5cGUpfHxkLGY9Uy5ldmVudC5zcGVjaWFsW2RdfHx7fSxjPVMuZXh0ZW5kKHt0eXBlOmQsb3JpZ1R5cGU6ZyxkYXRhOnIsaGFuZGxlcjpuLGd1aWQ6bi5ndWlkLHNlbGVjdG9yOmksbmVlZHNDb250ZXh0OmkmJlMuZXhwci5tYXRjaC5uZWVkc0NvbnRleHQudGVzdChpKSxuYW1lc3BhY2U6aC5qb2luKCIuIil9LG8pLChwPXVbZF0pfHwoKHA9dVtkXT1bXSkuZGVsZWdhdGVDb3VudD0wLGYuc2V0dXAmJiExIT09Zi5zZXR1cC5jYWxsKHQscixoLGEpfHx0LmFkZEV2ZW50TGlzdGVuZXImJnQuYWRkRXZlbnRMaXN0ZW5lcihkLGEpKSxmLmFkZCYmKGYuYWRkLmNhbGwodCxjKSxjLmhhbmRsZXIuZ3VpZHx8KGMuaGFuZGxlci5ndWlkPW4uZ3VpZCkpLGk/cC5zcGxpY2UocC5kZWxlZ2F0ZUNvdW50KyssMCxjKTpwLnB1c2goYyksUy5ldmVudC5nbG9iYWxbZF09ITApfX0scmVtb3ZlOmZ1bmN0aW9uKGUsdCxuLHIsaSl7dmFyIG8sYSxzLHUsbCxjLGYscCxkLGgsZyx2PVkuaGFzRGF0YShlKSYmWS5nZXQoZSk7aWYodiYmKHU9di5ldmVudHMpKXtsPSh0PSh0fHwiIikubWF0Y2goUCl8fFsiIl0pLmxlbmd0aDt3aGlsZShsLS0paWYoZD1nPShzPVRlLmV4ZWModFtsXSl8fFtdKVsxXSxoPShzWzJdfHwiIikuc3BsaXQoIi4iKS5zb3J0KCksZCl7Zj1TLmV2ZW50LnNwZWNpYWxbZF18fHt9LHA9dVtkPShyP2YuZGVsZWdhdGVUeXBlOmYuYmluZFR5cGUpfHxkXXx8W10scz1zWzJdJiZuZXcgUmVnRXhwKCIoXnxcXC4pIitoLmpvaW4oIlxcLig/Oi4qXFwufCkiKSsiKFxcLnwkKSIpLGE9bz1wLmxlbmd0aDt3aGlsZShvLS0pYz1wW29dLCFpJiZnIT09Yy5vcmlnVHlwZXx8biYmbi5ndWlkIT09Yy5ndWlkfHxzJiYhcy50ZXN0KGMubmFtZXNwYWNlKXx8ciYmciE9PWMuc2VsZWN0b3ImJigiKioiIT09cnx8IWMuc2VsZWN0b3IpfHwocC5zcGxpY2UobywxKSxjLnNlbGVjdG9yJiZwLmRlbGVnYXRlQ291bnQtLSxmLnJlbW92ZSYmZi5yZW1vdmUuY2FsbChlLGMpKTthJiYhcC5sZW5ndGgmJihmLnRlYXJkb3duJiYhMSE9PWYudGVhcmRvd24uY2FsbChlLGgsdi5oYW5kbGUpfHxTLnJlbW92ZUV2ZW50KGUsZCx2LmhhbmRsZSksZGVsZXRlIHVbZF0pfWVsc2UgZm9yKGQgaW4gdSlTLmV2ZW50LnJlbW92ZShlLGQrdFtsXSxuLHIsITApO1MuaXNFbXB0eU9iamVjdCh1KSYmWS5yZW1vdmUoZSwiaGFuZGxlIGV2ZW50cyIpfX0sZGlzcGF0Y2g6ZnVuY3Rpb24oZSl7dmFyIHQsbixyLGksbyxhLHM9bmV3IEFycmF5KGFyZ3VtZW50cy5sZW5ndGgpLHU9Uy5ldmVudC5maXgoZSksbD0oWS5nZXQodGhpcywiZXZlbnRzIil8fE9iamVjdC5jcmVhdGUobnVsbCkpW3UudHlwZV18fFtdLGM9Uy5ldmVudC5zcGVjaWFsW3UudHlwZV18fHt9O2ZvcihzWzBdPXUsdD0xO3Q8YXJndW1lbnRzLmxlbmd0aDt0Kyspc1t0XT1hcmd1bWVudHNbdF07aWYodS5kZWxlZ2F0ZVRhcmdldD10aGlzLCFjLnByZURpc3BhdGNofHwhMSE9PWMucHJlRGlzcGF0Y2guY2FsbCh0aGlzLHUpKXthPVMuZXZlbnQuaGFuZGxlcnMuY2FsbCh0aGlzLHUsbCksdD0wO3doaWxlKChpPWFbdCsrXSkmJiF1LmlzUHJvcGFnYXRpb25TdG9wcGVkKCkpe3UuY3VycmVudFRhcmdldD1pLmVsZW0sbj0wO3doaWxlKChvPWkuaGFuZGxlcnNbbisrXSkmJiF1LmlzSW1tZWRpYXRlUHJvcGFnYXRpb25TdG9wcGVkKCkpdS5ybmFtZXNwYWNlJiYhMSE9PW8ubmFtZXNwYWNlJiYhdS5ybmFtZXNwYWNlLnRlc3Qoby5uYW1lc3BhY2UpfHwodS5oYW5kbGVPYmo9byx1LmRhdGE9by5kYXRhLHZvaWQgMCE9PShyPSgoUy5ldmVudC5zcGVjaWFsW28ub3JpZ1R5cGVdfHx7fSkuaGFuZGxlfHxvLmhhbmRsZXIpLmFwcGx5KGkuZWxlbSxzKSkmJiExPT09KHUucmVzdWx0PXIpJiYodS5wcmV2ZW50RGVmYXVsdCgpLHUuc3RvcFByb3BhZ2F0aW9uKCkpKX1yZXR1cm4gYy5wb3N0RGlzcGF0Y2gmJmMucG9zdERpc3BhdGNoLmNhbGwodGhpcyx1KSx1LnJlc3VsdH19LGhhbmRsZXJzOmZ1bmN0aW9uKGUsdCl7dmFyIG4scixpLG8sYSxzPVtdLHU9dC5kZWxlZ2F0ZUNvdW50LGw9ZS50YXJnZXQ7aWYodSYmbC5ub2RlVHlwZSYmISgiY2xpY2siPT09ZS50eXBlJiYxPD1lLmJ1dHRvbikpZm9yKDtsIT09dGhpcztsPWwucGFyZW50Tm9kZXx8dGhpcylpZigxPT09bC5ub2RlVHlwZSYmKCJjbGljayIhPT1lLnR5cGV8fCEwIT09bC5kaXNhYmxlZCkpe2ZvcihvPVtdLGE9e30sbj0wO248dTtuKyspdm9pZCAwPT09YVtpPShyPXRbbl0pLnNlbGVjdG9yKyIgIl0mJihhW2ldPXIubmVlZHNDb250ZXh0Py0xPFMoaSx0aGlzKS5pbmRleChsKTpTLmZpbmQoaSx0aGlzLG51bGwsW2xdKS5sZW5ndGgpLGFbaV0mJm8ucHVzaChyKTtvLmxlbmd0aCYmcy5wdXNoKHtlbGVtOmwsaGFuZGxlcnM6b30pfXJldHVybiBsPXRoaXMsdTx0Lmxlbmd0aCYmcy5wdXNoKHtlbGVtOmwsaGFuZGxlcnM6dC5zbGljZSh1KX0pLHN9LGFkZFByb3A6ZnVuY3Rpb24odCxlKXtPYmplY3QuZGVmaW5lUHJvcGVydHkoUy5FdmVudC5wcm90b3R5cGUsdCx7ZW51bWVyYWJsZTohMCxjb25maWd1cmFibGU6ITAsZ2V0Om0oZSk/ZnVuY3Rpb24oKXtpZih0aGlzLm9yaWdpbmFsRXZlbnQpcmV0dXJuIGUodGhpcy5vcmlnaW5hbEV2ZW50KX06ZnVuY3Rpb24oKXtpZih0aGlzLm9yaWdpbmFsRXZlbnQpcmV0dXJuIHRoaXMub3JpZ2luYWxFdmVudFt0XX0sc2V0OmZ1bmN0aW9uKGUpe09iamVjdC5kZWZpbmVQcm9wZXJ0eSh0aGlzLHQse2VudW1lcmFibGU6ITAsY29uZmlndXJhYmxlOiEwLHdyaXRhYmxlOiEwLHZhbHVlOmV9KX19KX0sZml4OmZ1bmN0aW9uKGUpe3JldHVybiBlW1MuZXhwYW5kb10/ZTpuZXcgUy5FdmVudChlKX0sc3BlY2lhbDp7bG9hZDp7bm9CdWJibGU6ITB9LGNsaWNrOntzZXR1cDpmdW5jdGlvbihlKXt2YXIgdD10aGlzfHxlO3JldHVybiBwZS50ZXN0KHQudHlwZSkmJnQuY2xpY2smJkEodCwiaW5wdXQiKSYmQWUodCwiY2xpY2siLENlKSwhMX0sdHJpZ2dlcjpmdW5jdGlvbihlKXt2YXIgdD10aGlzfHxlO3JldHVybiBwZS50ZXN0KHQudHlwZSkmJnQuY2xpY2smJkEodCwiaW5wdXQiKSYmQWUodCwiY2xpY2siKSwhMH0sX2RlZmF1bHQ6ZnVuY3Rpb24oZSl7dmFyIHQ9ZS50YXJnZXQ7cmV0dXJuIHBlLnRlc3QodC50eXBlKSYmdC5jbGljayYmQSh0LCJpbnB1dCIpJiZZLmdldCh0LCJjbGljayIpfHxBKHQsImEiKX19LGJlZm9yZXVubG9hZDp7cG9zdERpc3BhdGNoOmZ1bmN0aW9uKGUpe3ZvaWQgMCE9PWUucmVzdWx0JiZlLm9yaWdpbmFsRXZlbnQmJihlLm9yaWdpbmFsRXZlbnQucmV0dXJuVmFsdWU9ZS5yZXN1bHQpfX19fSxTLnJlbW92ZUV2ZW50PWZ1bmN0aW9uKGUsdCxuKXtlLnJlbW92ZUV2ZW50TGlzdGVuZXImJmUucmVtb3ZlRXZlbnRMaXN0ZW5lcih0LG4pfSxTLkV2ZW50PWZ1bmN0aW9uKGUsdCl7aWYoISh0aGlzIGluc3RhbmNlb2YgUy5FdmVudCkpcmV0dXJuIG5ldyBTLkV2ZW50KGUsdCk7ZSYmZS50eXBlPyh0aGlzLm9yaWdpbmFsRXZlbnQ9ZSx0aGlzLnR5cGU9ZS50eXBlLHRoaXMuaXNEZWZhdWx0UHJldmVudGVkPWUuZGVmYXVsdFByZXZlbnRlZHx8dm9pZCAwPT09ZS5kZWZhdWx0UHJldmVudGVkJiYhMT09PWUucmV0dXJuVmFsdWU/Q2U6RWUsdGhpcy50YXJnZXQ9ZS50YXJnZXQmJjM9PT1lLnRhcmdldC5ub2RlVHlwZT9lLnRhcmdldC5wYXJlbnROb2RlOmUudGFyZ2V0LHRoaXMuY3VycmVudFRhcmdldD1lLmN1cnJlbnRUYXJnZXQsdGhpcy5yZWxhdGVkVGFyZ2V0PWUucmVsYXRlZFRhcmdldCk6dGhpcy50eXBlPWUsdCYmUy5leHRlbmQodGhpcyx0KSx0aGlzLnRpbWVTdGFtcD1lJiZlLnRpbWVTdGFtcHx8RGF0ZS5ub3coKSx0aGlzW1MuZXhwYW5kb109ITB9LFMuRXZlbnQucHJvdG90eXBlPXtjb25zdHJ1Y3RvcjpTLkV2ZW50LGlzRGVmYXVsdFByZXZlbnRlZDpFZSxpc1Byb3BhZ2F0aW9uU3RvcHBlZDpFZSxpc0ltbWVkaWF0ZVByb3BhZ2F0aW9uU3RvcHBlZDpFZSxpc1NpbXVsYXRlZDohMSxwcmV2ZW50RGVmYXVsdDpmdW5jdGlvbigpe3ZhciBlPXRoaXMub3JpZ2luYWxFdmVudDt0aGlzLmlzRGVmYXVsdFByZXZlbnRlZD1DZSxlJiYhdGhpcy5pc1NpbXVsYXRlZCYmZS5wcmV2ZW50RGVmYXVsdCgpfSxzdG9wUHJvcGFnYXRpb246ZnVuY3Rpb24oKXt2YXIgZT10aGlzLm9yaWdpbmFsRXZlbnQ7dGhpcy5pc1Byb3BhZ2F0aW9uU3RvcHBlZD1DZSxlJiYhdGhpcy5pc1NpbXVsYXRlZCYmZS5zdG9wUHJvcGFnYXRpb24oKX0sc3RvcEltbWVkaWF0ZVByb3BhZ2F0aW9uOmZ1bmN0aW9uKCl7dmFyIGU9dGhpcy5vcmlnaW5hbEV2ZW50O3RoaXMuaXNJbW1lZGlhdGVQcm9wYWdhdGlvblN0b3BwZWQ9Q2UsZSYmIXRoaXMuaXNTaW11bGF0ZWQmJmUuc3RvcEltbWVkaWF0ZVByb3BhZ2F0aW9uKCksdGhpcy5zdG9wUHJvcGFnYXRpb24oKX19LFMuZWFjaCh7YWx0S2V5OiEwLGJ1YmJsZXM6ITAsY2FuY2VsYWJsZTohMCxjaGFuZ2VkVG91Y2hlczohMCxjdHJsS2V5OiEwLGRldGFpbDohMCxldmVudFBoYXNlOiEwLG1ldGFLZXk6ITAscGFnZVg6ITAscGFnZVk6ITAsc2hpZnRLZXk6ITAsdmlldzohMCwiY2hhciI6ITAsY29kZTohMCxjaGFyQ29kZTohMCxrZXk6ITAsa2V5Q29kZTohMCxidXR0b246ITAsYnV0dG9uczohMCxjbGllbnRYOiEwLGNsaWVudFk6ITAsb2Zmc2V0WDohMCxvZmZzZXRZOiEwLHBvaW50ZXJJZDohMCxwb2ludGVyVHlwZTohMCxzY3JlZW5YOiEwLHNjcmVlblk6ITAsdGFyZ2V0VG91Y2hlczohMCx0b0VsZW1lbnQ6ITAsdG91Y2hlczohMCx3aGljaDpmdW5jdGlvbihlKXt2YXIgdD1lLmJ1dHRvbjtyZXR1cm4gbnVsbD09ZS53aGljaCYmYmUudGVzdChlLnR5cGUpP251bGwhPWUuY2hhckNvZGU/ZS5jaGFyQ29kZTplLmtleUNvZGU6IWUud2hpY2gmJnZvaWQgMCE9PXQmJndlLnRlc3QoZS50eXBlKT8xJnQ/MToyJnQ/Mzo0JnQ/MjowOmUud2hpY2h9fSxTLmV2ZW50LmFkZFByb3ApLFMuZWFjaCh7Zm9jdXM6ImZvY3VzaW4iLGJsdXI6ImZvY3Vzb3V0In0sZnVuY3Rpb24oZSx0KXtTLmV2ZW50LnNwZWNpYWxbZV09e3NldHVwOmZ1bmN0aW9uKCl7cmV0dXJuIEFlKHRoaXMsZSxTZSksITF9LHRyaWdnZXI6ZnVuY3Rpb24oKXtyZXR1cm4gQWUodGhpcyxlKSwhMH0sZGVsZWdhdGVUeXBlOnR9fSksUy5lYWNoKHttb3VzZWVudGVyOiJtb3VzZW92ZXIiLG1vdXNlbGVhdmU6Im1vdXNlb3V0Iixwb2ludGVyZW50ZXI6InBvaW50ZXJvdmVyIixwb2ludGVybGVhdmU6InBvaW50ZXJvdXQifSxmdW5jdGlvbihlLGkpe1MuZXZlbnQuc3BlY2lhbFtlXT17ZGVsZWdhdGVUeXBlOmksYmluZFR5cGU6aSxoYW5kbGU6ZnVuY3Rpb24oZSl7dmFyIHQsbj1lLnJlbGF0ZWRUYXJnZXQscj1lLmhhbmRsZU9iajtyZXR1cm4gbiYmKG49PT10aGlzfHxTLmNvbnRhaW5zKHRoaXMsbikpfHwoZS50eXBlPXIub3JpZ1R5cGUsdD1yLmhhbmRsZXIuYXBwbHkodGhpcyxhcmd1bWVudHMpLGUudHlwZT1pKSx0fX19KSxTLmZuLmV4dGVuZCh7b246ZnVuY3Rpb24oZSx0LG4scil7cmV0dXJuIGtlKHRoaXMsZSx0LG4scil9LG9uZTpmdW5jdGlvbihlLHQsbixyKXtyZXR1cm4ga2UodGhpcyxlLHQsbixyLDEpfSxvZmY6ZnVuY3Rpb24oZSx0LG4pe3ZhciByLGk7aWYoZSYmZS5wcmV2ZW50RGVmYXVsdCYmZS5oYW5kbGVPYmopcmV0dXJuIHI9ZS5oYW5kbGVPYmosUyhlLmRlbGVnYXRlVGFyZ2V0KS5vZmYoci5uYW1lc3BhY2U/ci5vcmlnVHlwZSsiLiIrci5uYW1lc3BhY2U6ci5vcmlnVHlwZSxyLnNlbGVjdG9yLHIuaGFuZGxlciksdGhpcztpZigib2JqZWN0Ij09dHlwZW9mIGUpe2ZvcihpIGluIGUpdGhpcy5vZmYoaSx0LGVbaV0pO3JldHVybiB0aGlzfXJldHVybiExIT09dCYmImZ1bmN0aW9uIiE9dHlwZW9mIHR8fChuPXQsdD12b2lkIDApLCExPT09biYmKG49RWUpLHRoaXMuZWFjaChmdW5jdGlvbigpe1MuZXZlbnQucmVtb3ZlKHRoaXMsZSxuLHQpfSl9fSk7dmFyIE5lPS88c2NyaXB0fDxzdHlsZXw8bGluay9pLERlPS9jaGVja2VkXHMqKD86W149XXw9XHMqLmNoZWNrZWQuKS9pLGplPS9eXHMqPCEoPzpcW0NEQVRBXFt8LS0pfCg/OlxdXF18LS0pPlxzKiQvZztmdW5jdGlvbiBxZShlLHQpe3JldHVybiBBKGUsInRhYmxlIikmJkEoMTEhPT10Lm5vZGVUeXBlP3Q6dC5maXJzdENoaWxkLCJ0ciIpJiZTKGUpLmNoaWxkcmVuKCJ0Ym9keSIpWzBdfHxlfWZ1bmN0aW9uIExlKGUpe3JldHVybiBlLnR5cGU9KG51bGwhPT1lLmdldEF0dHJpYnV0ZSgidHlwZSIpKSsiLyIrZS50eXBlLGV9ZnVuY3Rpb24gSGUoZSl7cmV0dXJuInRydWUvIj09PShlLnR5cGV8fCIiKS5zbGljZSgwLDUpP2UudHlwZT1lLnR5cGUuc2xpY2UoNSk6ZS5yZW1vdmVBdHRyaWJ1dGUoInR5cGUiKSxlfWZ1bmN0aW9uIE9lKGUsdCl7dmFyIG4scixpLG8sYSxzO2lmKDE9PT10Lm5vZGVUeXBlKXtpZihZLmhhc0RhdGEoZSkmJihzPVkuZ2V0KGUpLmV2ZW50cykpZm9yKGkgaW4gWS5yZW1vdmUodCwiaGFuZGxlIGV2ZW50cyIpLHMpZm9yKG49MCxyPXNbaV0ubGVuZ3RoO248cjtuKyspUy5ldmVudC5hZGQodCxpLHNbaV1bbl0pO1EuaGFzRGF0YShlKSYmKG89US5hY2Nlc3MoZSksYT1TLmV4dGVuZCh7fSxvKSxRLnNldCh0LGEpKX19ZnVuY3Rpb24gUGUobixyLGksbyl7cj1nKHIpO3ZhciBlLHQsYSxzLHUsbCxjPTAsZj1uLmxlbmd0aCxwPWYtMSxkPXJbMF0saD1tKGQpO2lmKGh8fDE8ZiYmInN0cmluZyI9PXR5cGVvZiBkJiYheS5jaGVja0Nsb25lJiZEZS50ZXN0KGQpKXJldHVybiBuLmVhY2goZnVuY3Rpb24oZSl7dmFyIHQ9bi5lcShlKTtoJiYoclswXT1kLmNhbGwodGhpcyxlLHQuaHRtbCgpKSksUGUodCxyLGksbyl9KTtpZihmJiYodD0oZT14ZShyLG5bMF0ub3duZXJEb2N1bWVudCwhMSxuLG8pKS5maXJzdENoaWxkLDE9PT1lLmNoaWxkTm9kZXMubGVuZ3RoJiYoZT10KSx0fHxvKSl7Zm9yKHM9KGE9Uy5tYXAodmUoZSwic2NyaXB0IiksTGUpKS5sZW5ndGg7YzxmO2MrKyl1PWUsYyE9PXAmJih1PVMuY2xvbmUodSwhMCwhMCkscyYmUy5tZXJnZShhLHZlKHUsInNjcmlwdCIpKSksaS5jYWxsKG5bY10sdSxjKTtpZihzKWZvcihsPWFbYS5sZW5ndGgtMV0ub3duZXJEb2N1bWVudCxTLm1hcChhLEhlKSxjPTA7YzxzO2MrKyl1PWFbY10saGUudGVzdCh1LnR5cGV8fCIiKSYmIVkuYWNjZXNzKHUsImdsb2JhbEV2YWwiKSYmUy5jb250YWlucyhsLHUpJiYodS5zcmMmJiJtb2R1bGUiIT09KHUudHlwZXx8IiIpLnRvTG93ZXJDYXNlKCk/Uy5fZXZhbFVybCYmIXUubm9Nb2R1bGUmJlMuX2V2YWxVcmwodS5zcmMse25vbmNlOnUubm9uY2V8fHUuZ2V0QXR0cmlidXRlKCJub25jZSIpfSxsKTpiKHUudGV4dENvbnRlbnQucmVwbGFjZShqZSwiIiksdSxsKSl9cmV0dXJuIG59ZnVuY3Rpb24gUmUoZSx0LG4pe2Zvcih2YXIgcixpPXQ/Uy5maWx0ZXIodCxlKTplLG89MDtudWxsIT0ocj1pW29dKTtvKyspbnx8MSE9PXIubm9kZVR5cGV8fFMuY2xlYW5EYXRhKHZlKHIpKSxyLnBhcmVudE5vZGUmJihuJiZpZShyKSYmeWUodmUociwic2NyaXB0IikpLHIucGFyZW50Tm9kZS5yZW1vdmVDaGlsZChyKSk7cmV0dXJuIGV9Uy5leHRlbmQoe2h0bWxQcmVmaWx0ZXI6ZnVuY3Rpb24oZSl7cmV0dXJuIGV9LGNsb25lOmZ1bmN0aW9uKGUsdCxuKXt2YXIgcixpLG8sYSxzLHUsbCxjPWUuY2xvbmVOb2RlKCEwKSxmPWllKGUpO2lmKCEoeS5ub0Nsb25lQ2hlY2tlZHx8MSE9PWUubm9kZVR5cGUmJjExIT09ZS5ub2RlVHlwZXx8Uy5pc1hNTERvYyhlKSkpZm9yKGE9dmUoYykscj0wLGk9KG89dmUoZSkpLmxlbmd0aDtyPGk7cisrKXM9b1tyXSx1PWFbcl0sdm9pZCAwLCJpbnB1dCI9PT0obD11Lm5vZGVOYW1lLnRvTG93ZXJDYXNlKCkpJiZwZS50ZXN0KHMudHlwZSk/dS5jaGVja2VkPXMuY2hlY2tlZDoiaW5wdXQiIT09bCYmInRleHRhcmVhIiE9PWx8fCh1LmRlZmF1bHRWYWx1ZT1zLmRlZmF1bHRWYWx1ZSk7aWYodClpZihuKWZvcihvPW98fHZlKGUpLGE9YXx8dmUoYykscj0wLGk9by5sZW5ndGg7cjxpO3IrKylPZShvW3JdLGFbcl0pO2Vsc2UgT2UoZSxjKTtyZXR1cm4gMDwoYT12ZShjLCJzY3JpcHQiKSkubGVuZ3RoJiZ5ZShhLCFmJiZ2ZShlLCJzY3JpcHQiKSksY30sY2xlYW5EYXRhOmZ1bmN0aW9uKGUpe2Zvcih2YXIgdCxuLHIsaT1TLmV2ZW50LnNwZWNpYWwsbz0wO3ZvaWQgMCE9PShuPWVbb10pO28rKylpZihWKG4pKXtpZih0PW5bWS5leHBhbmRvXSl7aWYodC5ldmVudHMpZm9yKHIgaW4gdC5ldmVudHMpaVtyXT9TLmV2ZW50LnJlbW92ZShuLHIpOlMucmVtb3ZlRXZlbnQobixyLHQuaGFuZGxlKTtuW1kuZXhwYW5kb109dm9pZCAwfW5bUS5leHBhbmRvXSYmKG5bUS5leHBhbmRvXT12b2lkIDApfX19KSxTLmZuLmV4dGVuZCh7ZGV0YWNoOmZ1bmN0aW9uKGUpe3JldHVybiBSZSh0aGlzLGUsITApfSxyZW1vdmU6ZnVuY3Rpb24oZSl7cmV0dXJuIFJlKHRoaXMsZSl9LHRleHQ6ZnVuY3Rpb24oZSl7cmV0dXJuICQodGhpcyxmdW5jdGlvbihlKXtyZXR1cm4gdm9pZCAwPT09ZT9TLnRleHQodGhpcyk6dGhpcy5lbXB0eSgpLmVhY2goZnVuY3Rpb24oKXsxIT09dGhpcy5ub2RlVHlwZSYmMTEhPT10aGlzLm5vZGVUeXBlJiY5IT09dGhpcy5ub2RlVHlwZXx8KHRoaXMudGV4dENvbnRlbnQ9ZSl9KX0sbnVsbCxlLGFyZ3VtZW50cy5sZW5ndGgpfSxhcHBlbmQ6ZnVuY3Rpb24oKXtyZXR1cm4gUGUodGhpcyxhcmd1bWVudHMsZnVuY3Rpb24oZSl7MSE9PXRoaXMubm9kZVR5cGUmJjExIT09dGhpcy5ub2RlVHlwZSYmOSE9PXRoaXMubm9kZVR5cGV8fHFlKHRoaXMsZSkuYXBwZW5kQ2hpbGQoZSl9KX0scHJlcGVuZDpmdW5jdGlvbigpe3JldHVybiBQZSh0aGlzLGFyZ3VtZW50cyxmdW5jdGlvbihlKXtpZigxPT09dGhpcy5ub2RlVHlwZXx8MTE9PT10aGlzLm5vZGVUeXBlfHw5PT09dGhpcy5ub2RlVHlwZSl7dmFyIHQ9cWUodGhpcyxlKTt0Lmluc2VydEJlZm9yZShlLHQuZmlyc3RDaGlsZCl9fSl9LGJlZm9yZTpmdW5jdGlvbigpe3JldHVybiBQZSh0aGlzLGFyZ3VtZW50cyxmdW5jdGlvbihlKXt0aGlzLnBhcmVudE5vZGUmJnRoaXMucGFyZW50Tm9kZS5pbnNlcnRCZWZvcmUoZSx0aGlzKX0pfSxhZnRlcjpmdW5jdGlvbigpe3JldHVybiBQZSh0aGlzLGFyZ3VtZW50cyxmdW5jdGlvbihlKXt0aGlzLnBhcmVudE5vZGUmJnRoaXMucGFyZW50Tm9kZS5pbnNlcnRCZWZvcmUoZSx0aGlzLm5leHRTaWJsaW5nKX0pfSxlbXB0eTpmdW5jdGlvbigpe2Zvcih2YXIgZSx0PTA7bnVsbCE9KGU9dGhpc1t0XSk7dCsrKTE9PT1lLm5vZGVUeXBlJiYoUy5jbGVhbkRhdGEodmUoZSwhMSkpLGUudGV4dENvbnRlbnQ9IiIpO3JldHVybiB0aGlzfSxjbG9uZTpmdW5jdGlvbihlLHQpe3JldHVybiBlPW51bGwhPWUmJmUsdD1udWxsPT10P2U6dCx0aGlzLm1hcChmdW5jdGlvbigpe3JldHVybiBTLmNsb25lKHRoaXMsZSx0KX0pfSxodG1sOmZ1bmN0aW9uKGUpe3JldHVybiAkKHRoaXMsZnVuY3Rpb24oZSl7dmFyIHQ9dGhpc1swXXx8e30sbj0wLHI9dGhpcy5sZW5ndGg7aWYodm9pZCAwPT09ZSYmMT09PXQubm9kZVR5cGUpcmV0dXJuIHQuaW5uZXJIVE1MO2lmKCJzdHJpbmciPT10eXBlb2YgZSYmIU5lLnRlc3QoZSkmJiFnZVsoZGUuZXhlYyhlKXx8WyIiLCIiXSlbMV0udG9Mb3dlckNhc2UoKV0pe2U9Uy5odG1sUHJlZmlsdGVyKGUpO3RyeXtmb3IoO248cjtuKyspMT09PSh0PXRoaXNbbl18fHt9KS5ub2RlVHlwZSYmKFMuY2xlYW5EYXRhKHZlKHQsITEpKSx0LmlubmVySFRNTD1lKTt0PTB9Y2F0Y2goZSl7fX10JiZ0aGlzLmVtcHR5KCkuYXBwZW5kKGUpfSxudWxsLGUsYXJndW1lbnRzLmxlbmd0aCl9LHJlcGxhY2VXaXRoOmZ1bmN0aW9uKCl7dmFyIG49W107cmV0dXJuIFBlKHRoaXMsYXJndW1lbnRzLGZ1bmN0aW9uKGUpe3ZhciB0PXRoaXMucGFyZW50Tm9kZTtTLmluQXJyYXkodGhpcyxuKTwwJiYoUy5jbGVhbkRhdGEodmUodGhpcykpLHQmJnQucmVwbGFjZUNoaWxkKGUsdGhpcykpfSxuKX19KSxTLmVhY2goe2FwcGVuZFRvOiJhcHBlbmQiLHByZXBlbmRUbzoicHJlcGVuZCIsaW5zZXJ0QmVmb3JlOiJiZWZvcmUiLGluc2VydEFmdGVyOiJhZnRlciIscmVwbGFjZUFsbDoicmVwbGFjZVdpdGgifSxmdW5jdGlvbihlLGEpe1MuZm5bZV09ZnVuY3Rpb24oZSl7Zm9yKHZhciB0LG49W10scj1TKGUpLGk9ci5sZW5ndGgtMSxvPTA7bzw9aTtvKyspdD1vPT09aT90aGlzOnRoaXMuY2xvbmUoITApLFMocltvXSlbYV0odCksdS5hcHBseShuLHQuZ2V0KCkpO3JldHVybiB0aGlzLnB1c2hTdGFjayhuKX19KTt2YXIgTWU9bmV3IFJlZ0V4cCgiXigiK2VlKyIpKD8hcHgpW2EteiVdKyQiLCJpIiksSWU9ZnVuY3Rpb24oZSl7dmFyIHQ9ZS5vd25lckRvY3VtZW50LmRlZmF1bHRWaWV3O3JldHVybiB0JiZ0Lm9wZW5lcnx8KHQ9QyksdC5nZXRDb21wdXRlZFN0eWxlKGUpfSxXZT1mdW5jdGlvbihlLHQsbil7dmFyIHIsaSxvPXt9O2ZvcihpIGluIHQpb1tpXT1lLnN0eWxlW2ldLGUuc3R5bGVbaV09dFtpXTtmb3IoaSBpbiByPW4uY2FsbChlKSx0KWUuc3R5bGVbaV09b1tpXTtyZXR1cm4gcn0sRmU9bmV3IFJlZ0V4cChuZS5qb2luKCJ8IiksImkiKTtmdW5jdGlvbiBCZShlLHQsbil7dmFyIHIsaSxvLGEscz1lLnN0eWxlO3JldHVybihuPW58fEllKGUpKSYmKCIiIT09KGE9bi5nZXRQcm9wZXJ0eVZhbHVlKHQpfHxuW3RdKXx8aWUoZSl8fChhPVMuc3R5bGUoZSx0KSksIXkucGl4ZWxCb3hTdHlsZXMoKSYmTWUudGVzdChhKSYmRmUudGVzdCh0KSYmKHI9cy53aWR0aCxpPXMubWluV2lkdGgsbz1zLm1heFdpZHRoLHMubWluV2lkdGg9cy5tYXhXaWR0aD1zLndpZHRoPWEsYT1uLndpZHRoLHMud2lkdGg9cixzLm1pbldpZHRoPWkscy5tYXhXaWR0aD1vKSksdm9pZCAwIT09YT9hKyIiOmF9ZnVuY3Rpb24gJGUoZSx0KXtyZXR1cm57Z2V0OmZ1bmN0aW9uKCl7aWYoIWUoKSlyZXR1cm4odGhpcy5nZXQ9dCkuYXBwbHkodGhpcyxhcmd1bWVudHMpO2RlbGV0ZSB0aGlzLmdldH19fSFmdW5jdGlvbigpe2Z1bmN0aW9uIGUoKXtpZihsKXt1LnN0eWxlLmNzc1RleHQ9InBvc2l0aW9uOmFic29sdXRlO2xlZnQ6LTExMTExcHg7d2lkdGg6NjBweDttYXJnaW4tdG9wOjFweDtwYWRkaW5nOjA7Ym9yZGVyOjAiLGwuc3R5bGUuY3NzVGV4dD0icG9zaXRpb246cmVsYXRpdmU7ZGlzcGxheTpibG9jaztib3gtc2l6aW5nOmJvcmRlci1ib3g7b3ZlcmZsb3c6c2Nyb2xsO21hcmdpbjphdXRvO2JvcmRlcjoxcHg7cGFkZGluZzoxcHg7d2lkdGg6NjAlO3RvcDoxJSIscmUuYXBwZW5kQ2hpbGQodSkuYXBwZW5kQ2hpbGQobCk7dmFyIGU9Qy5nZXRDb21wdXRlZFN0eWxlKGwpO249IjElIiE9PWUudG9wLHM9MTI9PT10KGUubWFyZ2luTGVmdCksbC5zdHlsZS5yaWdodD0iNjAlIixvPTM2PT09dChlLnJpZ2h0KSxyPTM2PT09dChlLndpZHRoKSxsLnN0eWxlLnBvc2l0aW9uPSJhYnNvbHV0ZSIsaT0xMj09PXQobC5vZmZzZXRXaWR0aC8zKSxyZS5yZW1vdmVDaGlsZCh1KSxsPW51bGx9fWZ1bmN0aW9uIHQoZSl7cmV0dXJuIE1hdGgucm91bmQocGFyc2VGbG9hdChlKSl9dmFyIG4scixpLG8sYSxzLHU9RS5jcmVhdGVFbGVtZW50KCJkaXYiKSxsPUUuY3JlYXRlRWxlbWVudCgiZGl2Iik7bC5zdHlsZSYmKGwuc3R5bGUuYmFja2dyb3VuZENsaXA9ImNvbnRlbnQtYm94IixsLmNsb25lTm9kZSghMCkuc3R5bGUuYmFja2dyb3VuZENsaXA9IiIseS5jbGVhckNsb25lU3R5bGU9ImNvbnRlbnQtYm94Ij09PWwuc3R5bGUuYmFja2dyb3VuZENsaXAsUy5leHRlbmQoeSx7Ym94U2l6aW5nUmVsaWFibGU6ZnVuY3Rpb24oKXtyZXR1cm4gZSgpLHJ9LHBpeGVsQm94U3R5bGVzOmZ1bmN0aW9uKCl7cmV0dXJuIGUoKSxvfSxwaXhlbFBvc2l0aW9uOmZ1bmN0aW9uKCl7cmV0dXJuIGUoKSxufSxyZWxpYWJsZU1hcmdpbkxlZnQ6ZnVuY3Rpb24oKXtyZXR1cm4gZSgpLHN9LHNjcm9sbGJveFNpemU6ZnVuY3Rpb24oKXtyZXR1cm4gZSgpLGl9LHJlbGlhYmxlVHJEaW1lbnNpb25zOmZ1bmN0aW9uKCl7dmFyIGUsdCxuLHI7cmV0dXJuIG51bGw9PWEmJihlPUUuY3JlYXRlRWxlbWVudCgidGFibGUiKSx0PUUuY3JlYXRlRWxlbWVudCgidHIiKSxuPUUuY3JlYXRlRWxlbWVudCgiZGl2IiksZS5zdHlsZS5jc3NUZXh0PSJwb3NpdGlvbjphYnNvbHV0ZTtsZWZ0Oi0xMTExMXB4Iix0LnN0eWxlLmhlaWdodD0iMXB4IixuLnN0eWxlLmhlaWdodD0iOXB4IixyZS5hcHBlbmRDaGlsZChlKS5hcHBlbmRDaGlsZCh0KS5hcHBlbmRDaGlsZChuKSxyPUMuZ2V0Q29tcHV0ZWRTdHlsZSh0KSxhPTM8cGFyc2VJbnQoci5oZWlnaHQpLHJlLnJlbW92ZUNoaWxkKGUpKSxhfX0pKX0oKTt2YXIgX2U9WyJXZWJraXQiLCJNb3oiLCJtcyJdLHplPUUuY3JlYXRlRWxlbWVudCgiZGl2Iikuc3R5bGUsVWU9e307ZnVuY3Rpb24gWGUoZSl7dmFyIHQ9Uy5jc3NQcm9wc1tlXXx8VWVbZV07cmV0dXJuIHR8fChlIGluIHplP2U6VWVbZV09ZnVuY3Rpb24oZSl7dmFyIHQ9ZVswXS50b1VwcGVyQ2FzZSgpK2Uuc2xpY2UoMSksbj1fZS5sZW5ndGg7d2hpbGUobi0tKWlmKChlPV9lW25dK3QpaW4gemUpcmV0dXJuIGV9KGUpfHxlKX12YXIgVmU9L14obm9uZXx0YWJsZSg/IS1jW2VhXSkuKykvLEdlPS9eLS0vLFllPXtwb3NpdGlvbjoiYWJzb2x1dGUiLHZpc2liaWxpdHk6ImhpZGRlbiIsZGlzcGxheToiYmxvY2sifSxRZT17bGV0dGVyU3BhY2luZzoiMCIsZm9udFdlaWdodDoiNDAwIn07ZnVuY3Rpb24gSmUoZSx0LG4pe3ZhciByPXRlLmV4ZWModCk7cmV0dXJuIHI/TWF0aC5tYXgoMCxyWzJdLShufHwwKSkrKHJbM118fCJweCIpOnR9ZnVuY3Rpb24gS2UoZSx0LG4scixpLG8pe3ZhciBhPSJ3aWR0aCI9PT10PzE6MCxzPTAsdT0wO2lmKG49PT0ocj8iYm9yZGVyIjoiY29udGVudCIpKXJldHVybiAwO2Zvcig7YTw0O2ErPTIpIm1hcmdpbiI9PT1uJiYodSs9Uy5jc3MoZSxuK25lW2FdLCEwLGkpKSxyPygiY29udGVudCI9PT1uJiYodS09Uy5jc3MoZSwicGFkZGluZyIrbmVbYV0sITAsaSkpLCJtYXJnaW4iIT09biYmKHUtPVMuY3NzKGUsImJvcmRlciIrbmVbYV0rIldpZHRoIiwhMCxpKSkpOih1Kz1TLmNzcyhlLCJwYWRkaW5nIituZVthXSwhMCxpKSwicGFkZGluZyIhPT1uP3UrPVMuY3NzKGUsImJvcmRlciIrbmVbYV0rIldpZHRoIiwhMCxpKTpzKz1TLmNzcyhlLCJib3JkZXIiK25lW2FdKyJXaWR0aCIsITAsaSkpO3JldHVybiFyJiYwPD1vJiYodSs9TWF0aC5tYXgoMCxNYXRoLmNlaWwoZVsib2Zmc2V0Iit0WzBdLnRvVXBwZXJDYXNlKCkrdC5zbGljZSgxKV0tby11LXMtLjUpKXx8MCksdX1mdW5jdGlvbiBaZShlLHQsbil7dmFyIHI9SWUoZSksaT0oIXkuYm94U2l6aW5nUmVsaWFibGUoKXx8bikmJiJib3JkZXItYm94Ij09PVMuY3NzKGUsImJveFNpemluZyIsITEsciksbz1pLGE9QmUoZSx0LHIpLHM9Im9mZnNldCIrdFswXS50b1VwcGVyQ2FzZSgpK3Quc2xpY2UoMSk7aWYoTWUudGVzdChhKSl7aWYoIW4pcmV0dXJuIGE7YT0iYXV0byJ9cmV0dXJuKCF5LmJveFNpemluZ1JlbGlhYmxlKCkmJml8fCF5LnJlbGlhYmxlVHJEaW1lbnNpb25zKCkmJkEoZSwidHIiKXx8ImF1dG8iPT09YXx8IXBhcnNlRmxvYXQoYSkmJiJpbmxpbmUiPT09Uy5jc3MoZSwiZGlzcGxheSIsITEscikpJiZlLmdldENsaWVudFJlY3RzKCkubGVuZ3RoJiYoaT0iYm9yZGVyLWJveCI9PT1TLmNzcyhlLCJib3hTaXppbmciLCExLHIpLChvPXMgaW4gZSkmJihhPWVbc10pKSwoYT1wYXJzZUZsb2F0KGEpfHwwKStLZShlLHQsbnx8KGk/ImJvcmRlciI6ImNvbnRlbnQiKSxvLHIsYSkrInB4In1mdW5jdGlvbiBldChlLHQsbixyLGkpe3JldHVybiBuZXcgZXQucHJvdG90eXBlLmluaXQoZSx0LG4scixpKX1TLmV4dGVuZCh7Y3NzSG9va3M6e29wYWNpdHk6e2dldDpmdW5jdGlvbihlLHQpe2lmKHQpe3ZhciBuPUJlKGUsIm9wYWNpdHkiKTtyZXR1cm4iIj09PW4/IjEiOm59fX19LGNzc051bWJlcjp7YW5pbWF0aW9uSXRlcmF0aW9uQ291bnQ6ITAsY29sdW1uQ291bnQ6ITAsZmlsbE9wYWNpdHk6ITAsZmxleEdyb3c6ITAsZmxleFNocmluazohMCxmb250V2VpZ2h0OiEwLGdyaWRBcmVhOiEwLGdyaWRDb2x1bW46ITAsZ3JpZENvbHVtbkVuZDohMCxncmlkQ29sdW1uU3RhcnQ6ITAsZ3JpZFJvdzohMCxncmlkUm93RW5kOiEwLGdyaWRSb3dTdGFydDohMCxsaW5lSGVpZ2h0OiEwLG9wYWNpdHk6ITAsb3JkZXI6ITAsb3JwaGFuczohMCx3aWRvd3M6ITAsekluZGV4OiEwLHpvb206ITB9LGNzc1Byb3BzOnt9LHN0eWxlOmZ1bmN0aW9uKGUsdCxuLHIpe2lmKGUmJjMhPT1lLm5vZGVUeXBlJiY4IT09ZS5ub2RlVHlwZSYmZS5zdHlsZSl7dmFyIGksbyxhLHM9WCh0KSx1PUdlLnRlc3QodCksbD1lLnN0eWxlO2lmKHV8fCh0PVhlKHMpKSxhPVMuY3NzSG9va3NbdF18fFMuY3NzSG9va3Nbc10sdm9pZCAwPT09bilyZXR1cm4gYSYmImdldCJpbiBhJiZ2b2lkIDAhPT0oaT1hLmdldChlLCExLHIpKT9pOmxbdF07InN0cmluZyI9PT0obz10eXBlb2YgbikmJihpPXRlLmV4ZWMobikpJiZpWzFdJiYobj1zZShlLHQsaSksbz0ibnVtYmVyIiksbnVsbCE9biYmbj09biYmKCJudW1iZXIiIT09b3x8dXx8KG4rPWkmJmlbM118fChTLmNzc051bWJlcltzXT8iIjoicHgiKSkseS5jbGVhckNsb25lU3R5bGV8fCIiIT09bnx8MCE9PXQuaW5kZXhPZigiYmFja2dyb3VuZCIpfHwobFt0XT0iaW5oZXJpdCIpLGEmJiJzZXQiaW4gYSYmdm9pZCAwPT09KG49YS5zZXQoZSxuLHIpKXx8KHU/bC5zZXRQcm9wZXJ0eSh0LG4pOmxbdF09bikpfX0sY3NzOmZ1bmN0aW9uKGUsdCxuLHIpe3ZhciBpLG8sYSxzPVgodCk7cmV0dXJuIEdlLnRlc3QodCl8fCh0PVhlKHMpKSwoYT1TLmNzc0hvb2tzW3RdfHxTLmNzc0hvb2tzW3NdKSYmImdldCJpbiBhJiYoaT1hLmdldChlLCEwLG4pKSx2b2lkIDA9PT1pJiYoaT1CZShlLHQscikpLCJub3JtYWwiPT09aSYmdCBpbiBRZSYmKGk9UWVbdF0pLCIiPT09bnx8bj8obz1wYXJzZUZsb2F0KGkpLCEwPT09bnx8aXNGaW5pdGUobyk/b3x8MDppKTppfX0pLFMuZWFjaChbImhlaWdodCIsIndpZHRoIl0sZnVuY3Rpb24oZSx1KXtTLmNzc0hvb2tzW3VdPXtnZXQ6ZnVuY3Rpb24oZSx0LG4pe2lmKHQpcmV0dXJuIVZlLnRlc3QoUy5jc3MoZSwiZGlzcGxheSIpKXx8ZS5nZXRDbGllbnRSZWN0cygpLmxlbmd0aCYmZS5nZXRCb3VuZGluZ0NsaWVudFJlY3QoKS53aWR0aD9aZShlLHUsbik6V2UoZSxZZSxmdW5jdGlvbigpe3JldHVybiBaZShlLHUsbil9KX0sc2V0OmZ1bmN0aW9uKGUsdCxuKXt2YXIgcixpPUllKGUpLG89IXkuc2Nyb2xsYm94U2l6ZSgpJiYiYWJzb2x1dGUiPT09aS5wb3NpdGlvbixhPShvfHxuKSYmImJvcmRlci1ib3giPT09Uy5jc3MoZSwiYm94U2l6aW5nIiwhMSxpKSxzPW4/S2UoZSx1LG4sYSxpKTowO3JldHVybiBhJiZvJiYocy09TWF0aC5jZWlsKGVbIm9mZnNldCIrdVswXS50b1VwcGVyQ2FzZSgpK3Uuc2xpY2UoMSldLXBhcnNlRmxvYXQoaVt1XSktS2UoZSx1LCJib3JkZXIiLCExLGkpLS41KSkscyYmKHI9dGUuZXhlYyh0KSkmJiJweCIhPT0oclszXXx8InB4IikmJihlLnN0eWxlW3VdPXQsdD1TLmNzcyhlLHUpKSxKZSgwLHQscyl9fX0pLFMuY3NzSG9va3MubWFyZ2luTGVmdD0kZSh5LnJlbGlhYmxlTWFyZ2luTGVmdCxmdW5jdGlvbihlLHQpe2lmKHQpcmV0dXJuKHBhcnNlRmxvYXQoQmUoZSwibWFyZ2luTGVmdCIpKXx8ZS5nZXRCb3VuZGluZ0NsaWVudFJlY3QoKS5sZWZ0LVdlKGUse21hcmdpbkxlZnQ6MH0sZnVuY3Rpb24oKXtyZXR1cm4gZS5nZXRCb3VuZGluZ0NsaWVudFJlY3QoKS5sZWZ0fSkpKyJweCJ9KSxTLmVhY2goe21hcmdpbjoiIixwYWRkaW5nOiIiLGJvcmRlcjoiV2lkdGgifSxmdW5jdGlvbihpLG8pe1MuY3NzSG9va3NbaStvXT17ZXhwYW5kOmZ1bmN0aW9uKGUpe2Zvcih2YXIgdD0wLG49e30scj0ic3RyaW5nIj09dHlwZW9mIGU/ZS5zcGxpdCgiICIpOltlXTt0PDQ7dCsrKW5baStuZVt0XStvXT1yW3RdfHxyW3QtMl18fHJbMF07cmV0dXJuIG59fSwibWFyZ2luIiE9PWkmJihTLmNzc0hvb2tzW2krb10uc2V0PUplKX0pLFMuZm4uZXh0ZW5kKHtjc3M6ZnVuY3Rpb24oZSx0KXtyZXR1cm4gJCh0aGlzLGZ1bmN0aW9uKGUsdCxuKXt2YXIgcixpLG89e30sYT0wO2lmKEFycmF5LmlzQXJyYXkodCkpe2ZvcihyPUllKGUpLGk9dC5sZW5ndGg7YTxpO2ErKylvW3RbYV1dPVMuY3NzKGUsdFthXSwhMSxyKTtyZXR1cm4gb31yZXR1cm4gdm9pZCAwIT09bj9TLnN0eWxlKGUsdCxuKTpTLmNzcyhlLHQpfSxlLHQsMTxhcmd1bWVudHMubGVuZ3RoKX19KSwoKFMuVHdlZW49ZXQpLnByb3RvdHlwZT17Y29uc3RydWN0b3I6ZXQsaW5pdDpmdW5jdGlvbihlLHQsbixyLGksbyl7dGhpcy5lbGVtPWUsdGhpcy5wcm9wPW4sdGhpcy5lYXNpbmc9aXx8Uy5lYXNpbmcuX2RlZmF1bHQsdGhpcy5vcHRpb25zPXQsdGhpcy5zdGFydD10aGlzLm5vdz10aGlzLmN1cigpLHRoaXMuZW5kPXIsdGhpcy51bml0PW98fChTLmNzc051bWJlcltuXT8iIjoicHgiKX0sY3VyOmZ1bmN0aW9uKCl7dmFyIGU9ZXQucHJvcEhvb2tzW3RoaXMucHJvcF07cmV0dXJuIGUmJmUuZ2V0P2UuZ2V0KHRoaXMpOmV0LnByb3BIb29rcy5fZGVmYXVsdC5nZXQodGhpcyl9LHJ1bjpmdW5jdGlvbihlKXt2YXIgdCxuPWV0LnByb3BIb29rc1t0aGlzLnByb3BdO3JldHVybiB0aGlzLm9wdGlvbnMuZHVyYXRpb24/dGhpcy5wb3M9dD1TLmVhc2luZ1t0aGlzLmVhc2luZ10oZSx0aGlzLm9wdGlvbnMuZHVyYXRpb24qZSwwLDEsdGhpcy5vcHRpb25zLmR1cmF0aW9uKTp0aGlzLnBvcz10PWUsdGhpcy5ub3c9KHRoaXMuZW5kLXRoaXMuc3RhcnQpKnQrdGhpcy5zdGFydCx0aGlzLm9wdGlvbnMuc3RlcCYmdGhpcy5vcHRpb25zLnN0ZXAuY2FsbCh0aGlzLmVsZW0sdGhpcy5ub3csdGhpcyksbiYmbi5zZXQ/bi5zZXQodGhpcyk6ZXQucHJvcEhvb2tzLl9kZWZhdWx0LnNldCh0aGlzKSx0aGlzfX0pLmluaXQucHJvdG90eXBlPWV0LnByb3RvdHlwZSwoZXQucHJvcEhvb2tzPXtfZGVmYXVsdDp7Z2V0OmZ1bmN0aW9uKGUpe3ZhciB0O3JldHVybiAxIT09ZS5lbGVtLm5vZGVUeXBlfHxudWxsIT1lLmVsZW1bZS5wcm9wXSYmbnVsbD09ZS5lbGVtLnN0eWxlW2UucHJvcF0/ZS5lbGVtW2UucHJvcF06KHQ9Uy5jc3MoZS5lbGVtLGUucHJvcCwiIikpJiYiYXV0byIhPT10P3Q6MH0sc2V0OmZ1bmN0aW9uKGUpe1MuZnguc3RlcFtlLnByb3BdP1MuZnguc3RlcFtlLnByb3BdKGUpOjEhPT1lLmVsZW0ubm9kZVR5cGV8fCFTLmNzc0hvb2tzW2UucHJvcF0mJm51bGw9PWUuZWxlbS5zdHlsZVtYZShlLnByb3ApXT9lLmVsZW1bZS5wcm9wXT1lLm5vdzpTLnN0eWxlKGUuZWxlbSxlLnByb3AsZS5ub3crZS51bml0KX19fSkuc2Nyb2xsVG9wPWV0LnByb3BIb29rcy5zY3JvbGxMZWZ0PXtzZXQ6ZnVuY3Rpb24oZSl7ZS5lbGVtLm5vZGVUeXBlJiZlLmVsZW0ucGFyZW50Tm9kZSYmKGUuZWxlbVtlLnByb3BdPWUubm93KX19LFMuZWFzaW5nPXtsaW5lYXI6ZnVuY3Rpb24oZSl7cmV0dXJuIGV9LHN3aW5nOmZ1bmN0aW9uKGUpe3JldHVybi41LU1hdGguY29zKGUqTWF0aC5QSSkvMn0sX2RlZmF1bHQ6InN3aW5nIn0sUy5meD1ldC5wcm90b3R5cGUuaW5pdCxTLmZ4LnN0ZXA9e307dmFyIHR0LG50LHJ0LGl0LG90PS9eKD86dG9nZ2xlfHNob3d8aGlkZSkkLyxhdD0vcXVldWVIb29rcyQvO2Z1bmN0aW9uIHN0KCl7bnQmJighMT09PUUuaGlkZGVuJiZDLnJlcXVlc3RBbmltYXRpb25GcmFtZT9DLnJlcXVlc3RBbmltYXRpb25GcmFtZShzdCk6Qy5zZXRUaW1lb3V0KHN0LFMuZnguaW50ZXJ2YWwpLFMuZngudGljaygpKX1mdW5jdGlvbiB1dCgpe3JldHVybiBDLnNldFRpbWVvdXQoZnVuY3Rpb24oKXt0dD12b2lkIDB9KSx0dD1EYXRlLm5vdygpfWZ1bmN0aW9uIGx0KGUsdCl7dmFyIG4scj0wLGk9e2hlaWdodDplfTtmb3IodD10PzE6MDtyPDQ7cis9Mi10KWlbIm1hcmdpbiIrKG49bmVbcl0pXT1pWyJwYWRkaW5nIituXT1lO3JldHVybiB0JiYoaS5vcGFjaXR5PWkud2lkdGg9ZSksaX1mdW5jdGlvbiBjdChlLHQsbil7Zm9yKHZhciByLGk9KGZ0LnR3ZWVuZXJzW3RdfHxbXSkuY29uY2F0KGZ0LnR3ZWVuZXJzWyIqIl0pLG89MCxhPWkubGVuZ3RoO288YTtvKyspaWYocj1pW29dLmNhbGwobix0LGUpKXJldHVybiByfWZ1bmN0aW9uIGZ0KG8sZSx0KXt2YXIgbixhLHI9MCxpPWZ0LnByZWZpbHRlcnMubGVuZ3RoLHM9Uy5EZWZlcnJlZCgpLmFsd2F5cyhmdW5jdGlvbigpe2RlbGV0ZSB1LmVsZW19KSx1PWZ1bmN0aW9uKCl7aWYoYSlyZXR1cm4hMTtmb3IodmFyIGU9dHR8fHV0KCksdD1NYXRoLm1heCgwLGwuc3RhcnRUaW1lK2wuZHVyYXRpb24tZSksbj0xLSh0L2wuZHVyYXRpb258fDApLHI9MCxpPWwudHdlZW5zLmxlbmd0aDtyPGk7cisrKWwudHdlZW5zW3JdLnJ1bihuKTtyZXR1cm4gcy5ub3RpZnlXaXRoKG8sW2wsbix0XSksbjwxJiZpP3Q6KGl8fHMubm90aWZ5V2l0aChvLFtsLDEsMF0pLHMucmVzb2x2ZVdpdGgobyxbbF0pLCExKX0sbD1zLnByb21pc2Uoe2VsZW06byxwcm9wczpTLmV4dGVuZCh7fSxlKSxvcHRzOlMuZXh0ZW5kKCEwLHtzcGVjaWFsRWFzaW5nOnt9LGVhc2luZzpTLmVhc2luZy5fZGVmYXVsdH0sdCksb3JpZ2luYWxQcm9wZXJ0aWVzOmUsb3JpZ2luYWxPcHRpb25zOnQsc3RhcnRUaW1lOnR0fHx1dCgpLGR1cmF0aW9uOnQuZHVyYXRpb24sdHdlZW5zOltdLGNyZWF0ZVR3ZWVuOmZ1bmN0aW9uKGUsdCl7dmFyIG49Uy5Ud2VlbihvLGwub3B0cyxlLHQsbC5vcHRzLnNwZWNpYWxFYXNpbmdbZV18fGwub3B0cy5lYXNpbmcpO3JldHVybiBsLnR3ZWVucy5wdXNoKG4pLG59LHN0b3A6ZnVuY3Rpb24oZSl7dmFyIHQ9MCxuPWU/bC50d2VlbnMubGVuZ3RoOjA7aWYoYSlyZXR1cm4gdGhpcztmb3IoYT0hMDt0PG47dCsrKWwudHdlZW5zW3RdLnJ1bigxKTtyZXR1cm4gZT8ocy5ub3RpZnlXaXRoKG8sW2wsMSwwXSkscy5yZXNvbHZlV2l0aChvLFtsLGVdKSk6cy5yZWplY3RXaXRoKG8sW2wsZV0pLHRoaXN9fSksYz1sLnByb3BzO2ZvcighZnVuY3Rpb24oZSx0KXt2YXIgbixyLGksbyxhO2ZvcihuIGluIGUpaWYoaT10W3I9WChuKV0sbz1lW25dLEFycmF5LmlzQXJyYXkobykmJihpPW9bMV0sbz1lW25dPW9bMF0pLG4hPT1yJiYoZVtyXT1vLGRlbGV0ZSBlW25dKSwoYT1TLmNzc0hvb2tzW3JdKSYmImV4cGFuZCJpbiBhKWZvcihuIGluIG89YS5leHBhbmQobyksZGVsZXRlIGVbcl0sbyluIGluIGV8fChlW25dPW9bbl0sdFtuXT1pKTtlbHNlIHRbcl09aX0oYyxsLm9wdHMuc3BlY2lhbEVhc2luZyk7cjxpO3IrKylpZihuPWZ0LnByZWZpbHRlcnNbcl0uY2FsbChsLG8sYyxsLm9wdHMpKXJldHVybiBtKG4uc3RvcCkmJihTLl9xdWV1ZUhvb2tzKGwuZWxlbSxsLm9wdHMucXVldWUpLnN0b3A9bi5zdG9wLmJpbmQobikpLG47cmV0dXJuIFMubWFwKGMsY3QsbCksbShsLm9wdHMuc3RhcnQpJiZsLm9wdHMuc3RhcnQuY2FsbChvLGwpLGwucHJvZ3Jlc3MobC5vcHRzLnByb2dyZXNzKS5kb25lKGwub3B0cy5kb25lLGwub3B0cy5jb21wbGV0ZSkuZmFpbChsLm9wdHMuZmFpbCkuYWx3YXlzKGwub3B0cy5hbHdheXMpLFMuZngudGltZXIoUy5leHRlbmQodSx7ZWxlbTpvLGFuaW06bCxxdWV1ZTpsLm9wdHMucXVldWV9KSksbH1TLkFuaW1hdGlvbj1TLmV4dGVuZChmdCx7dHdlZW5lcnM6eyIqIjpbZnVuY3Rpb24oZSx0KXt2YXIgbj10aGlzLmNyZWF0ZVR3ZWVuKGUsdCk7cmV0dXJuIHNlKG4uZWxlbSxlLHRlLmV4ZWModCksbiksbn1dfSx0d2VlbmVyOmZ1bmN0aW9uKGUsdCl7bShlKT8odD1lLGU9WyIqIl0pOmU9ZS5tYXRjaChQKTtmb3IodmFyIG4scj0wLGk9ZS5sZW5ndGg7cjxpO3IrKyluPWVbcl0sZnQudHdlZW5lcnNbbl09ZnQudHdlZW5lcnNbbl18fFtdLGZ0LnR3ZWVuZXJzW25dLnVuc2hpZnQodCl9LHByZWZpbHRlcnM6W2Z1bmN0aW9uKGUsdCxuKXt2YXIgcixpLG8sYSxzLHUsbCxjLGY9IndpZHRoImluIHR8fCJoZWlnaHQiaW4gdCxwPXRoaXMsZD17fSxoPWUuc3R5bGUsZz1lLm5vZGVUeXBlJiZhZShlKSx2PVkuZ2V0KGUsImZ4c2hvdyIpO2ZvcihyIGluIG4ucXVldWV8fChudWxsPT0oYT1TLl9xdWV1ZUhvb2tzKGUsImZ4IikpLnVucXVldWVkJiYoYS51bnF1ZXVlZD0wLHM9YS5lbXB0eS5maXJlLGEuZW1wdHkuZmlyZT1mdW5jdGlvbigpe2EudW5xdWV1ZWR8fHMoKX0pLGEudW5xdWV1ZWQrKyxwLmFsd2F5cyhmdW5jdGlvbigpe3AuYWx3YXlzKGZ1bmN0aW9uKCl7YS51bnF1ZXVlZC0tLFMucXVldWUoZSwiZngiKS5sZW5ndGh8fGEuZW1wdHkuZmlyZSgpfSl9KSksdClpZihpPXRbcl0sb3QudGVzdChpKSl7aWYoZGVsZXRlIHRbcl0sbz1vfHwidG9nZ2xlIj09PWksaT09PShnPyJoaWRlIjoic2hvdyIpKXtpZigic2hvdyIhPT1pfHwhdnx8dm9pZCAwPT09dltyXSljb250aW51ZTtnPSEwfWRbcl09diYmdltyXXx8Uy5zdHlsZShlLHIpfWlmKCh1PSFTLmlzRW1wdHlPYmplY3QodCkpfHwhUy5pc0VtcHR5T2JqZWN0KGQpKWZvcihyIGluIGYmJjE9PT1lLm5vZGVUeXBlJiYobi5vdmVyZmxvdz1baC5vdmVyZmxvdyxoLm92ZXJmbG93WCxoLm92ZXJmbG93WV0sbnVsbD09KGw9diYmdi5kaXNwbGF5KSYmKGw9WS5nZXQoZSwiZGlzcGxheSIpKSwibm9uZSI9PT0oYz1TLmNzcyhlLCJkaXNwbGF5IikpJiYobD9jPWw6KGxlKFtlXSwhMCksbD1lLnN0eWxlLmRpc3BsYXl8fGwsYz1TLmNzcyhlLCJkaXNwbGF5IiksbGUoW2VdKSkpLCgiaW5saW5lIj09PWN8fCJpbmxpbmUtYmxvY2siPT09YyYmbnVsbCE9bCkmJiJub25lIj09PVMuY3NzKGUsImZsb2F0IikmJih1fHwocC5kb25lKGZ1bmN0aW9uKCl7aC5kaXNwbGF5PWx9KSxudWxsPT1sJiYoYz1oLmRpc3BsYXksbD0ibm9uZSI9PT1jPyIiOmMpKSxoLmRpc3BsYXk9ImlubGluZS1ibG9jayIpKSxuLm92ZXJmbG93JiYoaC5vdmVyZmxvdz0iaGlkZGVuIixwLmFsd2F5cyhmdW5jdGlvbigpe2gub3ZlcmZsb3c9bi5vdmVyZmxvd1swXSxoLm92ZXJmbG93WD1uLm92ZXJmbG93WzFdLGgub3ZlcmZsb3dZPW4ub3ZlcmZsb3dbMl19KSksdT0hMSxkKXV8fCh2PyJoaWRkZW4iaW4gdiYmKGc9di5oaWRkZW4pOnY9WS5hY2Nlc3MoZSwiZnhzaG93Iix7ZGlzcGxheTpsfSksbyYmKHYuaGlkZGVuPSFnKSxnJiZsZShbZV0sITApLHAuZG9uZShmdW5jdGlvbigpe2ZvcihyIGluIGd8fGxlKFtlXSksWS5yZW1vdmUoZSwiZnhzaG93IiksZClTLnN0eWxlKGUscixkW3JdKX0pKSx1PWN0KGc/dltyXTowLHIscCksciBpbiB2fHwodltyXT11LnN0YXJ0LGcmJih1LmVuZD11LnN0YXJ0LHUuc3RhcnQ9MCkpfV0scHJlZmlsdGVyOmZ1bmN0aW9uKGUsdCl7dD9mdC5wcmVmaWx0ZXJzLnVuc2hpZnQoZSk6ZnQucHJlZmlsdGVycy5wdXNoKGUpfX0pLFMuc3BlZWQ9ZnVuY3Rpb24oZSx0LG4pe3ZhciByPWUmJiJvYmplY3QiPT10eXBlb2YgZT9TLmV4dGVuZCh7fSxlKTp7Y29tcGxldGU6bnx8IW4mJnR8fG0oZSkmJmUsZHVyYXRpb246ZSxlYXNpbmc6biYmdHx8dCYmIW0odCkmJnR9O3JldHVybiBTLmZ4Lm9mZj9yLmR1cmF0aW9uPTA6Im51bWJlciIhPXR5cGVvZiByLmR1cmF0aW9uJiYoci5kdXJhdGlvbiBpbiBTLmZ4LnNwZWVkcz9yLmR1cmF0aW9uPVMuZnguc3BlZWRzW3IuZHVyYXRpb25dOnIuZHVyYXRpb249Uy5meC5zcGVlZHMuX2RlZmF1bHQpLG51bGwhPXIucXVldWUmJiEwIT09ci5xdWV1ZXx8KHIucXVldWU9ImZ4Iiksci5vbGQ9ci5jb21wbGV0ZSxyLmNvbXBsZXRlPWZ1bmN0aW9uKCl7bShyLm9sZCkmJnIub2xkLmNhbGwodGhpcyksci5xdWV1ZSYmUy5kZXF1ZXVlKHRoaXMsci5xdWV1ZSl9LHJ9LFMuZm4uZXh0ZW5kKHtmYWRlVG86ZnVuY3Rpb24oZSx0LG4scil7cmV0dXJuIHRoaXMuZmlsdGVyKGFlKS5jc3MoIm9wYWNpdHkiLDApLnNob3coKS5lbmQoKS5hbmltYXRlKHtvcGFjaXR5OnR9LGUsbixyKX0sYW5pbWF0ZTpmdW5jdGlvbih0LGUsbixyKXt2YXIgaT1TLmlzRW1wdHlPYmplY3QodCksbz1TLnNwZWVkKGUsbixyKSxhPWZ1bmN0aW9uKCl7dmFyIGU9ZnQodGhpcyxTLmV4dGVuZCh7fSx0KSxvKTsoaXx8WS5nZXQodGhpcywiZmluaXNoIikpJiZlLnN0b3AoITApfTtyZXR1cm4gYS5maW5pc2g9YSxpfHwhMT09PW8ucXVldWU/dGhpcy5lYWNoKGEpOnRoaXMucXVldWUoby5xdWV1ZSxhKX0sc3RvcDpmdW5jdGlvbihpLGUsbyl7dmFyIGE9ZnVuY3Rpb24oZSl7dmFyIHQ9ZS5zdG9wO2RlbGV0ZSBlLnN0b3AsdChvKX07cmV0dXJuInN0cmluZyIhPXR5cGVvZiBpJiYobz1lLGU9aSxpPXZvaWQgMCksZSYmdGhpcy5xdWV1ZShpfHwiZngiLFtdKSx0aGlzLmVhY2goZnVuY3Rpb24oKXt2YXIgZT0hMCx0PW51bGwhPWkmJmkrInF1ZXVlSG9va3MiLG49Uy50aW1lcnMscj1ZLmdldCh0aGlzKTtpZih0KXJbdF0mJnJbdF0uc3RvcCYmYShyW3RdKTtlbHNlIGZvcih0IGluIHIpclt0XSYmclt0XS5zdG9wJiZhdC50ZXN0KHQpJiZhKHJbdF0pO2Zvcih0PW4ubGVuZ3RoO3QtLTspblt0XS5lbGVtIT09dGhpc3x8bnVsbCE9aSYmblt0XS5xdWV1ZSE9PWl8fChuW3RdLmFuaW0uc3RvcChvKSxlPSExLG4uc3BsaWNlKHQsMSkpOyFlJiZvfHxTLmRlcXVldWUodGhpcyxpKX0pfSxmaW5pc2g6ZnVuY3Rpb24oYSl7cmV0dXJuITEhPT1hJiYoYT1hfHwiZngiKSx0aGlzLmVhY2goZnVuY3Rpb24oKXt2YXIgZSx0PVkuZ2V0KHRoaXMpLG49dFthKyJxdWV1ZSJdLHI9dFthKyJxdWV1ZUhvb2tzIl0saT1TLnRpbWVycyxvPW4/bi5sZW5ndGg6MDtmb3IodC5maW5pc2g9ITAsUy5xdWV1ZSh0aGlzLGEsW10pLHImJnIuc3RvcCYmci5zdG9wLmNhbGwodGhpcywhMCksZT1pLmxlbmd0aDtlLS07KWlbZV0uZWxlbT09PXRoaXMmJmlbZV0ucXVldWU9PT1hJiYoaVtlXS5hbmltLnN0b3AoITApLGkuc3BsaWNlKGUsMSkpO2ZvcihlPTA7ZTxvO2UrKyluW2VdJiZuW2VdLmZpbmlzaCYmbltlXS5maW5pc2guY2FsbCh0aGlzKTtkZWxldGUgdC5maW5pc2h9KX19KSxTLmVhY2goWyJ0b2dnbGUiLCJzaG93IiwiaGlkZSJdLGZ1bmN0aW9uKGUscil7dmFyIGk9Uy5mbltyXTtTLmZuW3JdPWZ1bmN0aW9uKGUsdCxuKXtyZXR1cm4gbnVsbD09ZXx8ImJvb2xlYW4iPT10eXBlb2YgZT9pLmFwcGx5KHRoaXMsYXJndW1lbnRzKTp0aGlzLmFuaW1hdGUobHQociwhMCksZSx0LG4pfX0pLFMuZWFjaCh7c2xpZGVEb3duOmx0KCJzaG93Iiksc2xpZGVVcDpsdCgiaGlkZSIpLHNsaWRlVG9nZ2xlOmx0KCJ0b2dnbGUiKSxmYWRlSW46e29wYWNpdHk6InNob3cifSxmYWRlT3V0OntvcGFjaXR5OiJoaWRlIn0sZmFkZVRvZ2dsZTp7b3BhY2l0eToidG9nZ2xlIn19LGZ1bmN0aW9uKGUscil7Uy5mbltlXT1mdW5jdGlvbihlLHQsbil7cmV0dXJuIHRoaXMuYW5pbWF0ZShyLGUsdCxuKX19KSxTLnRpbWVycz1bXSxTLmZ4LnRpY2s9ZnVuY3Rpb24oKXt2YXIgZSx0PTAsbj1TLnRpbWVycztmb3IodHQ9RGF0ZS5ub3coKTt0PG4ubGVuZ3RoO3QrKykoZT1uW3RdKSgpfHxuW3RdIT09ZXx8bi5zcGxpY2UodC0tLDEpO24ubGVuZ3RofHxTLmZ4LnN0b3AoKSx0dD12b2lkIDB9LFMuZngudGltZXI9ZnVuY3Rpb24oZSl7Uy50aW1lcnMucHVzaChlKSxTLmZ4LnN0YXJ0KCl9LFMuZnguaW50ZXJ2YWw9MTMsUy5meC5zdGFydD1mdW5jdGlvbigpe250fHwobnQ9ITAsc3QoKSl9LFMuZnguc3RvcD1mdW5jdGlvbigpe250PW51bGx9LFMuZnguc3BlZWRzPXtzbG93OjYwMCxmYXN0OjIwMCxfZGVmYXVsdDo0MDB9LFMuZm4uZGVsYXk9ZnVuY3Rpb24ocixlKXtyZXR1cm4gcj1TLmZ4JiZTLmZ4LnNwZWVkc1tyXXx8cixlPWV8fCJmeCIsdGhpcy5xdWV1ZShlLGZ1bmN0aW9uKGUsdCl7dmFyIG49Qy5zZXRUaW1lb3V0KGUscik7dC5zdG9wPWZ1bmN0aW9uKCl7Qy5jbGVhclRpbWVvdXQobil9fSl9LHJ0PUUuY3JlYXRlRWxlbWVudCgiaW5wdXQiKSxpdD1FLmNyZWF0ZUVsZW1lbnQoInNlbGVjdCIpLmFwcGVuZENoaWxkKEUuY3JlYXRlRWxlbWVudCgib3B0aW9uIikpLHJ0LnR5cGU9ImNoZWNrYm94Iix5LmNoZWNrT249IiIhPT1ydC52YWx1ZSx5Lm9wdFNlbGVjdGVkPWl0LnNlbGVjdGVkLChydD1FLmNyZWF0ZUVsZW1lbnQoImlucHV0IikpLnZhbHVlPSJ0IixydC50eXBlPSJyYWRpbyIseS5yYWRpb1ZhbHVlPSJ0Ij09PXJ0LnZhbHVlO3ZhciBwdCxkdD1TLmV4cHIuYXR0ckhhbmRsZTtTLmZuLmV4dGVuZCh7YXR0cjpmdW5jdGlvbihlLHQpe3JldHVybiAkKHRoaXMsUy5hdHRyLGUsdCwxPGFyZ3VtZW50cy5sZW5ndGgpfSxyZW1vdmVBdHRyOmZ1bmN0aW9uKGUpe3JldHVybiB0aGlzLmVhY2goZnVuY3Rpb24oKXtTLnJlbW92ZUF0dHIodGhpcyxlKX0pfX0pLFMuZXh0ZW5kKHthdHRyOmZ1bmN0aW9uKGUsdCxuKXt2YXIgcixpLG89ZS5ub2RlVHlwZTtpZigzIT09byYmOCE9PW8mJjIhPT1vKXJldHVybiJ1bmRlZmluZWQiPT10eXBlb2YgZS5nZXRBdHRyaWJ1dGU/Uy5wcm9wKGUsdCxuKTooMT09PW8mJlMuaXNYTUxEb2MoZSl8fChpPVMuYXR0ckhvb2tzW3QudG9Mb3dlckNhc2UoKV18fChTLmV4cHIubWF0Y2guYm9vbC50ZXN0KHQpP3B0OnZvaWQgMCkpLHZvaWQgMCE9PW4/bnVsbD09PW4/dm9pZCBTLnJlbW92ZUF0dHIoZSx0KTppJiYic2V0ImluIGkmJnZvaWQgMCE9PShyPWkuc2V0KGUsbix0KSk/cjooZS5zZXRBdHRyaWJ1dGUodCxuKyIiKSxuKTppJiYiZ2V0ImluIGkmJm51bGwhPT0ocj1pLmdldChlLHQpKT9yOm51bGw9PShyPVMuZmluZC5hdHRyKGUsdCkpP3ZvaWQgMDpyKX0sYXR0ckhvb2tzOnt0eXBlOntzZXQ6ZnVuY3Rpb24oZSx0KXtpZigheS5yYWRpb1ZhbHVlJiYicmFkaW8iPT09dCYmQShlLCJpbnB1dCIpKXt2YXIgbj1lLnZhbHVlO3JldHVybiBlLnNldEF0dHJpYnV0ZSgidHlwZSIsdCksbiYmKGUudmFsdWU9biksdH19fX0scmVtb3ZlQXR0cjpmdW5jdGlvbihlLHQpe3ZhciBuLHI9MCxpPXQmJnQubWF0Y2goUCk7aWYoaSYmMT09PWUubm9kZVR5cGUpd2hpbGUobj1pW3IrK10pZS5yZW1vdmVBdHRyaWJ1dGUobil9fSkscHQ9e3NldDpmdW5jdGlvbihlLHQsbil7cmV0dXJuITE9PT10P1MucmVtb3ZlQXR0cihlLG4pOmUuc2V0QXR0cmlidXRlKG4sbiksbn19LFMuZWFjaChTLmV4cHIubWF0Y2guYm9vbC5zb3VyY2UubWF0Y2goL1x3Ky9nKSxmdW5jdGlvbihlLHQpe3ZhciBhPWR0W3RdfHxTLmZpbmQuYXR0cjtkdFt0XT1mdW5jdGlvbihlLHQsbil7dmFyIHIsaSxvPXQudG9Mb3dlckNhc2UoKTtyZXR1cm4gbnx8KGk9ZHRbb10sZHRbb109cixyPW51bGwhPWEoZSx0LG4pP286bnVsbCxkdFtvXT1pKSxyfX0pO3ZhciBodD0vXig/OmlucHV0fHNlbGVjdHx0ZXh0YXJlYXxidXR0b24pJC9pLGd0PS9eKD86YXxhcmVhKSQvaTtmdW5jdGlvbiB2dChlKXtyZXR1cm4oZS5tYXRjaChQKXx8W10pLmpvaW4oIiAiKX1mdW5jdGlvbiB5dChlKXtyZXR1cm4gZS5nZXRBdHRyaWJ1dGUmJmUuZ2V0QXR0cmlidXRlKCJjbGFzcyIpfHwiIn1mdW5jdGlvbiBtdChlKXtyZXR1cm4gQXJyYXkuaXNBcnJheShlKT9lOiJzdHJpbmciPT10eXBlb2YgZSYmZS5tYXRjaChQKXx8W119Uy5mbi5leHRlbmQoe3Byb3A6ZnVuY3Rpb24oZSx0KXtyZXR1cm4gJCh0aGlzLFMucHJvcCxlLHQsMTxhcmd1bWVudHMubGVuZ3RoKX0scmVtb3ZlUHJvcDpmdW5jdGlvbihlKXtyZXR1cm4gdGhpcy5lYWNoKGZ1bmN0aW9uKCl7ZGVsZXRlIHRoaXNbUy5wcm9wRml4W2VdfHxlXX0pfX0pLFMuZXh0ZW5kKHtwcm9wOmZ1bmN0aW9uKGUsdCxuKXt2YXIgcixpLG89ZS5ub2RlVHlwZTtpZigzIT09byYmOCE9PW8mJjIhPT1vKXJldHVybiAxPT09byYmUy5pc1hNTERvYyhlKXx8KHQ9Uy5wcm9wRml4W3RdfHx0LGk9Uy5wcm9wSG9va3NbdF0pLHZvaWQgMCE9PW4/aSYmInNldCJpbiBpJiZ2b2lkIDAhPT0ocj1pLnNldChlLG4sdCkpP3I6ZVt0XT1uOmkmJiJnZXQiaW4gaSYmbnVsbCE9PShyPWkuZ2V0KGUsdCkpP3I6ZVt0XX0scHJvcEhvb2tzOnt0YWJJbmRleDp7Z2V0OmZ1bmN0aW9uKGUpe3ZhciB0PVMuZmluZC5hdHRyKGUsInRhYmluZGV4Iik7cmV0dXJuIHQ/cGFyc2VJbnQodCwxMCk6aHQudGVzdChlLm5vZGVOYW1lKXx8Z3QudGVzdChlLm5vZGVOYW1lKSYmZS5ocmVmPzA6LTF9fX0scHJvcEZpeDp7ImZvciI6Imh0bWxGb3IiLCJjbGFzcyI6ImNsYXNzTmFtZSJ9fSkseS5vcHRTZWxlY3RlZHx8KFMucHJvcEhvb2tzLnNlbGVjdGVkPXtnZXQ6ZnVuY3Rpb24oZSl7dmFyIHQ9ZS5wYXJlbnROb2RlO3JldHVybiB0JiZ0LnBhcmVudE5vZGUmJnQucGFyZW50Tm9kZS5zZWxlY3RlZEluZGV4LG51bGx9LHNldDpmdW5jdGlvbihlKXt2YXIgdD1lLnBhcmVudE5vZGU7dCYmKHQuc2VsZWN0ZWRJbmRleCx0LnBhcmVudE5vZGUmJnQucGFyZW50Tm9kZS5zZWxlY3RlZEluZGV4KX19KSxTLmVhY2goWyJ0YWJJbmRleCIsInJlYWRPbmx5IiwibWF4TGVuZ3RoIiwiY2VsbFNwYWNpbmciLCJjZWxsUGFkZGluZyIsInJvd1NwYW4iLCJjb2xTcGFuIiwidXNlTWFwIiwiZnJhbWVCb3JkZXIiLCJjb250ZW50RWRpdGFibGUiXSxmdW5jdGlvbigpe1MucHJvcEZpeFt0aGlzLnRvTG93ZXJDYXNlKCldPXRoaXN9KSxTLmZuLmV4dGVuZCh7YWRkQ2xhc3M6ZnVuY3Rpb24odCl7dmFyIGUsbixyLGksbyxhLHMsdT0wO2lmKG0odCkpcmV0dXJuIHRoaXMuZWFjaChmdW5jdGlvbihlKXtTKHRoaXMpLmFkZENsYXNzKHQuY2FsbCh0aGlzLGUseXQodGhpcykpKX0pO2lmKChlPW10KHQpKS5sZW5ndGgpd2hpbGUobj10aGlzW3UrK10paWYoaT15dChuKSxyPTE9PT1uLm5vZGVUeXBlJiYiICIrdnQoaSkrIiAiKXthPTA7d2hpbGUobz1lW2ErK10pci5pbmRleE9mKCIgIitvKyIgIik8MCYmKHIrPW8rIiAiKTtpIT09KHM9dnQocikpJiZuLnNldEF0dHJpYnV0ZSgiY2xhc3MiLHMpfXJldHVybiB0aGlzfSxyZW1vdmVDbGFzczpmdW5jdGlvbih0KXt2YXIgZSxuLHIsaSxvLGEscyx1PTA7aWYobSh0KSlyZXR1cm4gdGhpcy5lYWNoKGZ1bmN0aW9uKGUpe1ModGhpcykucmVtb3ZlQ2xhc3ModC5jYWxsKHRoaXMsZSx5dCh0aGlzKSkpfSk7aWYoIWFyZ3VtZW50cy5sZW5ndGgpcmV0dXJuIHRoaXMuYXR0cigiY2xhc3MiLCIiKTtpZigoZT1tdCh0KSkubGVuZ3RoKXdoaWxlKG49dGhpc1t1KytdKWlmKGk9eXQobikscj0xPT09bi5ub2RlVHlwZSYmIiAiK3Z0KGkpKyIgIil7YT0wO3doaWxlKG89ZVthKytdKXdoaWxlKC0xPHIuaW5kZXhPZigiICIrbysiICIpKXI9ci5yZXBsYWNlKCIgIitvKyIgIiwiICIpO2khPT0ocz12dChyKSkmJm4uc2V0QXR0cmlidXRlKCJjbGFzcyIscyl9cmV0dXJuIHRoaXN9LHRvZ2dsZUNsYXNzOmZ1bmN0aW9uKGksdCl7dmFyIG89dHlwZW9mIGksYT0ic3RyaW5nIj09PW98fEFycmF5LmlzQXJyYXkoaSk7cmV0dXJuImJvb2xlYW4iPT10eXBlb2YgdCYmYT90P3RoaXMuYWRkQ2xhc3MoaSk6dGhpcy5yZW1vdmVDbGFzcyhpKTptKGkpP3RoaXMuZWFjaChmdW5jdGlvbihlKXtTKHRoaXMpLnRvZ2dsZUNsYXNzKGkuY2FsbCh0aGlzLGUseXQodGhpcyksdCksdCl9KTp0aGlzLmVhY2goZnVuY3Rpb24oKXt2YXIgZSx0LG4scjtpZihhKXt0PTAsbj1TKHRoaXMpLHI9bXQoaSk7d2hpbGUoZT1yW3QrK10pbi5oYXNDbGFzcyhlKT9uLnJlbW92ZUNsYXNzKGUpOm4uYWRkQ2xhc3MoZSl9ZWxzZSB2b2lkIDAhPT1pJiYiYm9vbGVhbiIhPT1vfHwoKGU9eXQodGhpcykpJiZZLnNldCh0aGlzLCJfX2NsYXNzTmFtZV9fIixlKSx0aGlzLnNldEF0dHJpYnV0ZSYmdGhpcy5zZXRBdHRyaWJ1dGUoImNsYXNzIixlfHwhMT09PWk/IiI6WS5nZXQodGhpcywiX19jbGFzc05hbWVfXyIpfHwiIikpfSl9LGhhc0NsYXNzOmZ1bmN0aW9uKGUpe3ZhciB0LG4scj0wO3Q9IiAiK2UrIiAiO3doaWxlKG49dGhpc1tyKytdKWlmKDE9PT1uLm5vZGVUeXBlJiYtMTwoIiAiK3Z0KHl0KG4pKSsiICIpLmluZGV4T2YodCkpcmV0dXJuITA7cmV0dXJuITF9fSk7dmFyIHh0PS9cci9nO1MuZm4uZXh0ZW5kKHt2YWw6ZnVuY3Rpb24obil7dmFyIHIsZSxpLHQ9dGhpc1swXTtyZXR1cm4gYXJndW1lbnRzLmxlbmd0aD8oaT1tKG4pLHRoaXMuZWFjaChmdW5jdGlvbihlKXt2YXIgdDsxPT09dGhpcy5ub2RlVHlwZSYmKG51bGw9PSh0PWk/bi5jYWxsKHRoaXMsZSxTKHRoaXMpLnZhbCgpKTpuKT90PSIiOiJudW1iZXIiPT10eXBlb2YgdD90Kz0iIjpBcnJheS5pc0FycmF5KHQpJiYodD1TLm1hcCh0LGZ1bmN0aW9uKGUpe3JldHVybiBudWxsPT1lPyIiOmUrIiJ9KSksKHI9Uy52YWxIb29rc1t0aGlzLnR5cGVdfHxTLnZhbEhvb2tzW3RoaXMubm9kZU5hbWUudG9Mb3dlckNhc2UoKV0pJiYic2V0ImluIHImJnZvaWQgMCE9PXIuc2V0KHRoaXMsdCwidmFsdWUiKXx8KHRoaXMudmFsdWU9dCkpfSkpOnQ/KHI9Uy52YWxIb29rc1t0LnR5cGVdfHxTLnZhbEhvb2tzW3Qubm9kZU5hbWUudG9Mb3dlckNhc2UoKV0pJiYiZ2V0ImluIHImJnZvaWQgMCE9PShlPXIuZ2V0KHQsInZhbHVlIikpP2U6InN0cmluZyI9PXR5cGVvZihlPXQudmFsdWUpP2UucmVwbGFjZSh4dCwiIik6bnVsbD09ZT8iIjplOnZvaWQgMH19KSxTLmV4dGVuZCh7dmFsSG9va3M6e29wdGlvbjp7Z2V0OmZ1bmN0aW9uKGUpe3ZhciB0PVMuZmluZC5hdHRyKGUsInZhbHVlIik7cmV0dXJuIG51bGwhPXQ/dDp2dChTLnRleHQoZSkpfX0sc2VsZWN0OntnZXQ6ZnVuY3Rpb24oZSl7dmFyIHQsbixyLGk9ZS5vcHRpb25zLG89ZS5zZWxlY3RlZEluZGV4LGE9InNlbGVjdC1vbmUiPT09ZS50eXBlLHM9YT9udWxsOltdLHU9YT9vKzE6aS5sZW5ndGg7Zm9yKHI9bzwwP3U6YT9vOjA7cjx1O3IrKylpZigoKG49aVtyXSkuc2VsZWN0ZWR8fHI9PT1vKSYmIW4uZGlzYWJsZWQmJighbi5wYXJlbnROb2RlLmRpc2FibGVkfHwhQShuLnBhcmVudE5vZGUsIm9wdGdyb3VwIikpKXtpZih0PVMobikudmFsKCksYSlyZXR1cm4gdDtzLnB1c2godCl9cmV0dXJuIHN9LHNldDpmdW5jdGlvbihlLHQpe3ZhciBuLHIsaT1lLm9wdGlvbnMsbz1TLm1ha2VBcnJheSh0KSxhPWkubGVuZ3RoO3doaWxlKGEtLSkoKHI9aVthXSkuc2VsZWN0ZWQ9LTE8Uy5pbkFycmF5KFMudmFsSG9va3Mub3B0aW9uLmdldChyKSxvKSkmJihuPSEwKTtyZXR1cm4gbnx8KGUuc2VsZWN0ZWRJbmRleD0tMSksb319fX0pLFMuZWFjaChbInJhZGlvIiwiY2hlY2tib3giXSxmdW5jdGlvbigpe1MudmFsSG9va3NbdGhpc109e3NldDpmdW5jdGlvbihlLHQpe2lmKEFycmF5LmlzQXJyYXkodCkpcmV0dXJuIGUuY2hlY2tlZD0tMTxTLmluQXJyYXkoUyhlKS52YWwoKSx0KX19LHkuY2hlY2tPbnx8KFMudmFsSG9va3NbdGhpc10uZ2V0PWZ1bmN0aW9uKGUpe3JldHVybiBudWxsPT09ZS5nZXRBdHRyaWJ1dGUoInZhbHVlIik/Im9uIjplLnZhbHVlfSl9KSx5LmZvY3VzaW49Im9uZm9jdXNpbiJpbiBDO3ZhciBidD0vXig/OmZvY3VzaW5mb2N1c3xmb2N1c291dGJsdXIpJC8sd3Q9ZnVuY3Rpb24oZSl7ZS5zdG9wUHJvcGFnYXRpb24oKX07Uy5leHRlbmQoUy5ldmVudCx7dHJpZ2dlcjpmdW5jdGlvbihlLHQsbixyKXt2YXIgaSxvLGEscyx1LGwsYyxmLHA9W258fEVdLGQ9di5jYWxsKGUsInR5cGUiKT9lLnR5cGU6ZSxoPXYuY2FsbChlLCJuYW1lc3BhY2UiKT9lLm5hbWVzcGFjZS5zcGxpdCgiLiIpOltdO2lmKG89Zj1hPW49bnx8RSwzIT09bi5ub2RlVHlwZSYmOCE9PW4ubm9kZVR5cGUmJiFidC50ZXN0KGQrUy5ldmVudC50cmlnZ2VyZWQpJiYoLTE8ZC5pbmRleE9mKCIuIikmJihkPShoPWQuc3BsaXQoIi4iKSkuc2hpZnQoKSxoLnNvcnQoKSksdT1kLmluZGV4T2YoIjoiKTwwJiYib24iK2QsKGU9ZVtTLmV4cGFuZG9dP2U6bmV3IFMuRXZlbnQoZCwib2JqZWN0Ij09dHlwZW9mIGUmJmUpKS5pc1RyaWdnZXI9cj8yOjMsZS5uYW1lc3BhY2U9aC5qb2luKCIuIiksZS5ybmFtZXNwYWNlPWUubmFtZXNwYWNlP25ldyBSZWdFeHAoIihefFxcLikiK2guam9pbigiXFwuKD86LipcXC58KSIpKyIoXFwufCQpIik6bnVsbCxlLnJlc3VsdD12b2lkIDAsZS50YXJnZXR8fChlLnRhcmdldD1uKSx0PW51bGw9PXQ/W2VdOlMubWFrZUFycmF5KHQsW2VdKSxjPVMuZXZlbnQuc3BlY2lhbFtkXXx8e30scnx8IWMudHJpZ2dlcnx8ITEhPT1jLnRyaWdnZXIuYXBwbHkobix0KSkpe2lmKCFyJiYhYy5ub0J1YmJsZSYmIXgobikpe2ZvcihzPWMuZGVsZWdhdGVUeXBlfHxkLGJ0LnRlc3QocytkKXx8KG89by5wYXJlbnROb2RlKTtvO289by5wYXJlbnROb2RlKXAucHVzaChvKSxhPW87YT09PShuLm93bmVyRG9jdW1lbnR8fEUpJiZwLnB1c2goYS5kZWZhdWx0Vmlld3x8YS5wYXJlbnRXaW5kb3d8fEMpfWk9MDt3aGlsZSgobz1wW2krK10pJiYhZS5pc1Byb3BhZ2F0aW9uU3RvcHBlZCgpKWY9byxlLnR5cGU9MTxpP3M6Yy5iaW5kVHlwZXx8ZCwobD0oWS5nZXQobywiZXZlbnRzIil8fE9iamVjdC5jcmVhdGUobnVsbCkpW2UudHlwZV0mJlkuZ2V0KG8sImhhbmRsZSIpKSYmbC5hcHBseShvLHQpLChsPXUmJm9bdV0pJiZsLmFwcGx5JiZWKG8pJiYoZS5yZXN1bHQ9bC5hcHBseShvLHQpLCExPT09ZS5yZXN1bHQmJmUucHJldmVudERlZmF1bHQoKSk7cmV0dXJuIGUudHlwZT1kLHJ8fGUuaXNEZWZhdWx0UHJldmVudGVkKCl8fGMuX2RlZmF1bHQmJiExIT09Yy5fZGVmYXVsdC5hcHBseShwLnBvcCgpLHQpfHwhVihuKXx8dSYmbShuW2RdKSYmIXgobikmJigoYT1uW3VdKSYmKG5bdV09bnVsbCksUy5ldmVudC50cmlnZ2VyZWQ9ZCxlLmlzUHJvcGFnYXRpb25TdG9wcGVkKCkmJmYuYWRkRXZlbnRMaXN0ZW5lcihkLHd0KSxuW2RdKCksZS5pc1Byb3BhZ2F0aW9uU3RvcHBlZCgpJiZmLnJlbW92ZUV2ZW50TGlzdGVuZXIoZCx3dCksUy5ldmVudC50cmlnZ2VyZWQ9dm9pZCAwLGEmJihuW3VdPWEpKSxlLnJlc3VsdH19LHNpbXVsYXRlOmZ1bmN0aW9uKGUsdCxuKXt2YXIgcj1TLmV4dGVuZChuZXcgUy5FdmVudCxuLHt0eXBlOmUsaXNTaW11bGF0ZWQ6ITB9KTtTLmV2ZW50LnRyaWdnZXIocixudWxsLHQpfX0pLFMuZm4uZXh0ZW5kKHt0cmlnZ2VyOmZ1bmN0aW9uKGUsdCl7cmV0dXJuIHRoaXMuZWFjaChmdW5jdGlvbigpe1MuZXZlbnQudHJpZ2dlcihlLHQsdGhpcyl9KX0sdHJpZ2dlckhhbmRsZXI6ZnVuY3Rpb24oZSx0KXt2YXIgbj10aGlzWzBdO2lmKG4pcmV0dXJuIFMuZXZlbnQudHJpZ2dlcihlLHQsbiwhMCl9fSkseS5mb2N1c2lufHxTLmVhY2goe2ZvY3VzOiJmb2N1c2luIixibHVyOiJmb2N1c291dCJ9LGZ1bmN0aW9uKG4scil7dmFyIGk9ZnVuY3Rpb24oZSl7Uy5ldmVudC5zaW11bGF0ZShyLGUudGFyZ2V0LFMuZXZlbnQuZml4KGUpKX07Uy5ldmVudC5zcGVjaWFsW3JdPXtzZXR1cDpmdW5jdGlvbigpe3ZhciBlPXRoaXMub3duZXJEb2N1bWVudHx8dGhpcy5kb2N1bWVudHx8dGhpcyx0PVkuYWNjZXNzKGUscik7dHx8ZS5hZGRFdmVudExpc3RlbmVyKG4saSwhMCksWS5hY2Nlc3MoZSxyLCh0fHwwKSsxKX0sdGVhcmRvd246ZnVuY3Rpb24oKXt2YXIgZT10aGlzLm93bmVyRG9jdW1lbnR8fHRoaXMuZG9jdW1lbnR8fHRoaXMsdD1ZLmFjY2VzcyhlLHIpLTE7dD9ZLmFjY2VzcyhlLHIsdCk6KGUucmVtb3ZlRXZlbnRMaXN0ZW5lcihuLGksITApLFkucmVtb3ZlKGUscikpfX19KTt2YXIgVHQ9Qy5sb2NhdGlvbixDdD17Z3VpZDpEYXRlLm5vdygpfSxFdD0vXD8vO1MucGFyc2VYTUw9ZnVuY3Rpb24oZSl7dmFyIHQ7aWYoIWV8fCJzdHJpbmciIT10eXBlb2YgZSlyZXR1cm4gbnVsbDt0cnl7dD0obmV3IEMuRE9NUGFyc2VyKS5wYXJzZUZyb21TdHJpbmcoZSwidGV4dC94bWwiKX1jYXRjaChlKXt0PXZvaWQgMH1yZXR1cm4gdCYmIXQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoInBhcnNlcmVycm9yIikubGVuZ3RofHxTLmVycm9yKCJJbnZhbGlkIFhNTDogIitlKSx0fTt2YXIgU3Q9L1xbXF0kLyxrdD0vXHI/XG4vZyxBdD0vXig/OnN1Ym1pdHxidXR0b258aW1hZ2V8cmVzZXR8ZmlsZSkkL2ksTnQ9L14oPzppbnB1dHxzZWxlY3R8dGV4dGFyZWF8a2V5Z2VuKS9pO2Z1bmN0aW9uIER0KG4sZSxyLGkpe3ZhciB0O2lmKEFycmF5LmlzQXJyYXkoZSkpUy5lYWNoKGUsZnVuY3Rpb24oZSx0KXtyfHxTdC50ZXN0KG4pP2kobix0KTpEdChuKyJbIisoIm9iamVjdCI9PXR5cGVvZiB0JiZudWxsIT10P2U6IiIpKyJdIix0LHIsaSl9KTtlbHNlIGlmKHJ8fCJvYmplY3QiIT09dyhlKSlpKG4sZSk7ZWxzZSBmb3IodCBpbiBlKUR0KG4rIlsiK3QrIl0iLGVbdF0scixpKX1TLnBhcmFtPWZ1bmN0aW9uKGUsdCl7dmFyIG4scj1bXSxpPWZ1bmN0aW9uKGUsdCl7dmFyIG49bSh0KT90KCk6dDtyW3IubGVuZ3RoXT1lbmNvZGVVUklDb21wb25lbnQoZSkrIj0iK2VuY29kZVVSSUNvbXBvbmVudChudWxsPT1uPyIiOm4pfTtpZihudWxsPT1lKXJldHVybiIiO2lmKEFycmF5LmlzQXJyYXkoZSl8fGUuanF1ZXJ5JiYhUy5pc1BsYWluT2JqZWN0KGUpKVMuZWFjaChlLGZ1bmN0aW9uKCl7aSh0aGlzLm5hbWUsdGhpcy52YWx1ZSl9KTtlbHNlIGZvcihuIGluIGUpRHQobixlW25dLHQsaSk7cmV0dXJuIHIuam9pbigiJiIpfSxTLmZuLmV4dGVuZCh7c2VyaWFsaXplOmZ1bmN0aW9uKCl7cmV0dXJuIFMucGFyYW0odGhpcy5zZXJpYWxpemVBcnJheSgpKX0sc2VyaWFsaXplQXJyYXk6ZnVuY3Rpb24oKXtyZXR1cm4gdGhpcy5tYXAoZnVuY3Rpb24oKXt2YXIgZT1TLnByb3AodGhpcywiZWxlbWVudHMiKTtyZXR1cm4gZT9TLm1ha2VBcnJheShlKTp0aGlzfSkuZmlsdGVyKGZ1bmN0aW9uKCl7dmFyIGU9dGhpcy50eXBlO3JldHVybiB0aGlzLm5hbWUmJiFTKHRoaXMpLmlzKCI6ZGlzYWJsZWQiKSYmTnQudGVzdCh0aGlzLm5vZGVOYW1lKSYmIUF0LnRlc3QoZSkmJih0aGlzLmNoZWNrZWR8fCFwZS50ZXN0KGUpKX0pLm1hcChmdW5jdGlvbihlLHQpe3ZhciBuPVModGhpcykudmFsKCk7cmV0dXJuIG51bGw9PW4/bnVsbDpBcnJheS5pc0FycmF5KG4pP1MubWFwKG4sZnVuY3Rpb24oZSl7cmV0dXJue25hbWU6dC5uYW1lLHZhbHVlOmUucmVwbGFjZShrdCwiXHJcbiIpfX0pOntuYW1lOnQubmFtZSx2YWx1ZTpuLnJlcGxhY2Uoa3QsIlxyXG4iKX19KS5nZXQoKX19KTt2YXIganQ9LyUyMC9nLHF0PS8jLiokLyxMdD0vKFs/Jl0pXz1bXiZdKi8sSHQ9L14oLio/KTpbIFx0XSooW15cclxuXSopJC9nbSxPdD0vXig/OkdFVHxIRUFEKSQvLFB0PS9eXC9cLy8sUnQ9e30sTXQ9e30sSXQ9IiovIi5jb25jYXQoIioiKSxXdD1FLmNyZWF0ZUVsZW1lbnQoImEiKTtmdW5jdGlvbiBGdChvKXtyZXR1cm4gZnVuY3Rpb24oZSx0KXsic3RyaW5nIiE9dHlwZW9mIGUmJih0PWUsZT0iKiIpO3ZhciBuLHI9MCxpPWUudG9Mb3dlckNhc2UoKS5tYXRjaChQKXx8W107aWYobSh0KSl3aGlsZShuPWlbcisrXSkiKyI9PT1uWzBdPyhuPW4uc2xpY2UoMSl8fCIqIiwob1tuXT1vW25dfHxbXSkudW5zaGlmdCh0KSk6KG9bbl09b1tuXXx8W10pLnB1c2godCl9fWZ1bmN0aW9uIEJ0KHQsaSxvLGEpe3ZhciBzPXt9LHU9dD09PU10O2Z1bmN0aW9uIGwoZSl7dmFyIHI7cmV0dXJuIHNbZV09ITAsUy5lYWNoKHRbZV18fFtdLGZ1bmN0aW9uKGUsdCl7dmFyIG49dChpLG8sYSk7cmV0dXJuInN0cmluZyIhPXR5cGVvZiBufHx1fHxzW25dP3U/IShyPW4pOnZvaWQgMDooaS5kYXRhVHlwZXMudW5zaGlmdChuKSxsKG4pLCExKX0pLHJ9cmV0dXJuIGwoaS5kYXRhVHlwZXNbMF0pfHwhc1siKiJdJiZsKCIqIil9ZnVuY3Rpb24gJHQoZSx0KXt2YXIgbixyLGk9Uy5hamF4U2V0dGluZ3MuZmxhdE9wdGlvbnN8fHt9O2ZvcihuIGluIHQpdm9pZCAwIT09dFtuXSYmKChpW25dP2U6cnx8KHI9e30pKVtuXT10W25dKTtyZXR1cm4gciYmUy5leHRlbmQoITAsZSxyKSxlfVd0LmhyZWY9VHQuaHJlZixTLmV4dGVuZCh7YWN0aXZlOjAsbGFzdE1vZGlmaWVkOnt9LGV0YWc6e30sYWpheFNldHRpbmdzOnt1cmw6VHQuaHJlZix0eXBlOiJHRVQiLGlzTG9jYWw6L14oPzphYm91dHxhcHB8YXBwLXN0b3JhZ2V8ListZXh0ZW5zaW9ufGZpbGV8cmVzfHdpZGdldCk6JC8udGVzdChUdC5wcm90b2NvbCksZ2xvYmFsOiEwLHByb2Nlc3NEYXRhOiEwLGFzeW5jOiEwLGNvbnRlbnRUeXBlOiJhcHBsaWNhdGlvbi94LXd3dy1mb3JtLXVybGVuY29kZWQ7IGNoYXJzZXQ9VVRGLTgiLGFjY2VwdHM6eyIqIjpJdCx0ZXh0OiJ0ZXh0L3BsYWluIixodG1sOiJ0ZXh0L2h0bWwiLHhtbDoiYXBwbGljYXRpb24veG1sLCB0ZXh0L3htbCIsanNvbjoiYXBwbGljYXRpb24vanNvbiwgdGV4dC9qYXZhc2NyaXB0In0sY29udGVudHM6e3htbDovXGJ4bWxcYi8saHRtbDovXGJodG1sLyxqc29uOi9cYmpzb25cYi99LHJlc3BvbnNlRmllbGRzOnt4bWw6InJlc3BvbnNlWE1MIix0ZXh0OiJyZXNwb25zZVRleHQiLGpzb246InJlc3BvbnNlSlNPTiJ9LGNvbnZlcnRlcnM6eyIqIHRleHQiOlN0cmluZywidGV4dCBodG1sIjohMCwidGV4dCBqc29uIjpKU09OLnBhcnNlLCJ0ZXh0IHhtbCI6Uy5wYXJzZVhNTH0sZmxhdE9wdGlvbnM6e3VybDohMCxjb250ZXh0OiEwfX0sYWpheFNldHVwOmZ1bmN0aW9uKGUsdCl7cmV0dXJuIHQ/JHQoJHQoZSxTLmFqYXhTZXR0aW5ncyksdCk6JHQoUy5hamF4U2V0dGluZ3MsZSl9LGFqYXhQcmVmaWx0ZXI6RnQoUnQpLGFqYXhUcmFuc3BvcnQ6RnQoTXQpLGFqYXg6ZnVuY3Rpb24oZSx0KXsib2JqZWN0Ij09dHlwZW9mIGUmJih0PWUsZT12b2lkIDApLHQ9dHx8e307dmFyIGMsZixwLG4sZCxyLGgsZyxpLG8sdj1TLmFqYXhTZXR1cCh7fSx0KSx5PXYuY29udGV4dHx8dixtPXYuY29udGV4dCYmKHkubm9kZVR5cGV8fHkuanF1ZXJ5KT9TKHkpOlMuZXZlbnQseD1TLkRlZmVycmVkKCksYj1TLkNhbGxiYWNrcygib25jZSBtZW1vcnkiKSx3PXYuc3RhdHVzQ29kZXx8e30sYT17fSxzPXt9LHU9ImNhbmNlbGVkIixUPXtyZWFkeVN0YXRlOjAsZ2V0UmVzcG9uc2VIZWFkZXI6ZnVuY3Rpb24oZSl7dmFyIHQ7aWYoaCl7aWYoIW4pe249e307d2hpbGUodD1IdC5leGVjKHApKW5bdFsxXS50b0xvd2VyQ2FzZSgpKyIgIl09KG5bdFsxXS50b0xvd2VyQ2FzZSgpKyIgIl18fFtdKS5jb25jYXQodFsyXSl9dD1uW2UudG9Mb3dlckNhc2UoKSsiICJdfXJldHVybiBudWxsPT10P251bGw6dC5qb2luKCIsICIpfSxnZXRBbGxSZXNwb25zZUhlYWRlcnM6ZnVuY3Rpb24oKXtyZXR1cm4gaD9wOm51bGx9LHNldFJlcXVlc3RIZWFkZXI6ZnVuY3Rpb24oZSx0KXtyZXR1cm4gbnVsbD09aCYmKGU9c1tlLnRvTG93ZXJDYXNlKCldPXNbZS50b0xvd2VyQ2FzZSgpXXx8ZSxhW2VdPXQpLHRoaXN9LG92ZXJyaWRlTWltZVR5cGU6ZnVuY3Rpb24oZSl7cmV0dXJuIG51bGw9PWgmJih2Lm1pbWVUeXBlPWUpLHRoaXN9LHN0YXR1c0NvZGU6ZnVuY3Rpb24oZSl7dmFyIHQ7aWYoZSlpZihoKVQuYWx3YXlzKGVbVC5zdGF0dXNdKTtlbHNlIGZvcih0IGluIGUpd1t0XT1bd1t0XSxlW3RdXTtyZXR1cm4gdGhpc30sYWJvcnQ6ZnVuY3Rpb24oZSl7dmFyIHQ9ZXx8dTtyZXR1cm4gYyYmYy5hYm9ydCh0KSxsKDAsdCksdGhpc319O2lmKHgucHJvbWlzZShUKSx2LnVybD0oKGV8fHYudXJsfHxUdC5ocmVmKSsiIikucmVwbGFjZShQdCxUdC5wcm90b2NvbCsiLy8iKSx2LnR5cGU9dC5tZXRob2R8fHQudHlwZXx8di5tZXRob2R8fHYudHlwZSx2LmRhdGFUeXBlcz0odi5kYXRhVHlwZXx8IioiKS50b0xvd2VyQ2FzZSgpLm1hdGNoKFApfHxbIiJdLG51bGw9PXYuY3Jvc3NEb21haW4pe3I9RS5jcmVhdGVFbGVtZW50KCJhIik7dHJ5e3IuaHJlZj12LnVybCxyLmhyZWY9ci5ocmVmLHYuY3Jvc3NEb21haW49V3QucHJvdG9jb2wrIi8vIitXdC5ob3N0IT1yLnByb3RvY29sKyIvLyIrci5ob3N0fWNhdGNoKGUpe3YuY3Jvc3NEb21haW49ITB9fWlmKHYuZGF0YSYmdi5wcm9jZXNzRGF0YSYmInN0cmluZyIhPXR5cGVvZiB2LmRhdGEmJih2LmRhdGE9Uy5wYXJhbSh2LmRhdGEsdi50cmFkaXRpb25hbCkpLEJ0KFJ0LHYsdCxUKSxoKXJldHVybiBUO2ZvcihpIGluKGc9Uy5ldmVudCYmdi5nbG9iYWwpJiYwPT1TLmFjdGl2ZSsrJiZTLmV2ZW50LnRyaWdnZXIoImFqYXhTdGFydCIpLHYudHlwZT12LnR5cGUudG9VcHBlckNhc2UoKSx2Lmhhc0NvbnRlbnQ9IU90LnRlc3Qodi50eXBlKSxmPXYudXJsLnJlcGxhY2UocXQsIiIpLHYuaGFzQ29udGVudD92LmRhdGEmJnYucHJvY2Vzc0RhdGEmJjA9PT0odi5jb250ZW50VHlwZXx8IiIpLmluZGV4T2YoImFwcGxpY2F0aW9uL3gtd3d3LWZvcm0tdXJsZW5jb2RlZCIpJiYodi5kYXRhPXYuZGF0YS5yZXBsYWNlKGp0LCIrIikpOihvPXYudXJsLnNsaWNlKGYubGVuZ3RoKSx2LmRhdGEmJih2LnByb2Nlc3NEYXRhfHwic3RyaW5nIj09dHlwZW9mIHYuZGF0YSkmJihmKz0oRXQudGVzdChmKT8iJiI6Ij8iKSt2LmRhdGEsZGVsZXRlIHYuZGF0YSksITE9PT12LmNhY2hlJiYoZj1mLnJlcGxhY2UoTHQsIiQxIiksbz0oRXQudGVzdChmKT8iJiI6Ij8iKSsiXz0iK0N0Lmd1aWQrKytvKSx2LnVybD1mK28pLHYuaWZNb2RpZmllZCYmKFMubGFzdE1vZGlmaWVkW2ZdJiZULnNldFJlcXVlc3RIZWFkZXIoIklmLU1vZGlmaWVkLVNpbmNlIixTLmxhc3RNb2RpZmllZFtmXSksUy5ldGFnW2ZdJiZULnNldFJlcXVlc3RIZWFkZXIoIklmLU5vbmUtTWF0Y2giLFMuZXRhZ1tmXSkpLCh2LmRhdGEmJnYuaGFzQ29udGVudCYmITEhPT12LmNvbnRlbnRUeXBlfHx0LmNvbnRlbnRUeXBlKSYmVC5zZXRSZXF1ZXN0SGVhZGVyKCJDb250ZW50LVR5cGUiLHYuY29udGVudFR5cGUpLFQuc2V0UmVxdWVzdEhlYWRlcigiQWNjZXB0Iix2LmRhdGFUeXBlc1swXSYmdi5hY2NlcHRzW3YuZGF0YVR5cGVzWzBdXT92LmFjY2VwdHNbdi5kYXRhVHlwZXNbMF1dKygiKiIhPT12LmRhdGFUeXBlc1swXT8iLCAiK0l0KyI7IHE9MC4wMSI6IiIpOnYuYWNjZXB0c1siKiJdKSx2LmhlYWRlcnMpVC5zZXRSZXF1ZXN0SGVhZGVyKGksdi5oZWFkZXJzW2ldKTtpZih2LmJlZm9yZVNlbmQmJighMT09PXYuYmVmb3JlU2VuZC5jYWxsKHksVCx2KXx8aCkpcmV0dXJuIFQuYWJvcnQoKTtpZih1PSJhYm9ydCIsYi5hZGQodi5jb21wbGV0ZSksVC5kb25lKHYuc3VjY2VzcyksVC5mYWlsKHYuZXJyb3IpLGM9QnQoTXQsdix0LFQpKXtpZihULnJlYWR5U3RhdGU9MSxnJiZtLnRyaWdnZXIoImFqYXhTZW5kIixbVCx2XSksaClyZXR1cm4gVDt2LmFzeW5jJiYwPHYudGltZW91dCYmKGQ9Qy5zZXRUaW1lb3V0KGZ1bmN0aW9uKCl7VC5hYm9ydCgidGltZW91dCIpfSx2LnRpbWVvdXQpKTt0cnl7aD0hMSxjLnNlbmQoYSxsKX1jYXRjaChlKXtpZihoKXRocm93IGU7bCgtMSxlKX19ZWxzZSBsKC0xLCJObyBUcmFuc3BvcnQiKTtmdW5jdGlvbiBsKGUsdCxuLHIpe3ZhciBpLG8sYSxzLHUsbD10O2h8fChoPSEwLGQmJkMuY2xlYXJUaW1lb3V0KGQpLGM9dm9pZCAwLHA9cnx8IiIsVC5yZWFkeVN0YXRlPTA8ZT80OjAsaT0yMDA8PWUmJmU8MzAwfHwzMDQ9PT1lLG4mJihzPWZ1bmN0aW9uKGUsdCxuKXt2YXIgcixpLG8sYSxzPWUuY29udGVudHMsdT1lLmRhdGFUeXBlczt3aGlsZSgiKiI9PT11WzBdKXUuc2hpZnQoKSx2b2lkIDA9PT1yJiYocj1lLm1pbWVUeXBlfHx0LmdldFJlc3BvbnNlSGVhZGVyKCJDb250ZW50LVR5cGUiKSk7aWYocilmb3IoaSBpbiBzKWlmKHNbaV0mJnNbaV0udGVzdChyKSl7dS51bnNoaWZ0KGkpO2JyZWFrfWlmKHVbMF1pbiBuKW89dVswXTtlbHNle2ZvcihpIGluIG4pe2lmKCF1WzBdfHxlLmNvbnZlcnRlcnNbaSsiICIrdVswXV0pe289aTticmVha31hfHwoYT1pKX1vPW98fGF9aWYobylyZXR1cm4gbyE9PXVbMF0mJnUudW5zaGlmdChvKSxuW29dfSh2LFQsbikpLCFpJiYtMTxTLmluQXJyYXkoInNjcmlwdCIsdi5kYXRhVHlwZXMpJiYodi5jb252ZXJ0ZXJzWyJ0ZXh0IHNjcmlwdCJdPWZ1bmN0aW9uKCl7fSkscz1mdW5jdGlvbihlLHQsbixyKXt2YXIgaSxvLGEscyx1LGw9e30sYz1lLmRhdGFUeXBlcy5zbGljZSgpO2lmKGNbMV0pZm9yKGEgaW4gZS5jb252ZXJ0ZXJzKWxbYS50b0xvd2VyQ2FzZSgpXT1lLmNvbnZlcnRlcnNbYV07bz1jLnNoaWZ0KCk7d2hpbGUobylpZihlLnJlc3BvbnNlRmllbGRzW29dJiYobltlLnJlc3BvbnNlRmllbGRzW29dXT10KSwhdSYmciYmZS5kYXRhRmlsdGVyJiYodD1lLmRhdGFGaWx0ZXIodCxlLmRhdGFUeXBlKSksdT1vLG89Yy5zaGlmdCgpKWlmKCIqIj09PW8pbz11O2Vsc2UgaWYoIioiIT09dSYmdSE9PW8pe2lmKCEoYT1sW3UrIiAiK29dfHxsWyIqICIrb10pKWZvcihpIGluIGwpaWYoKHM9aS5zcGxpdCgiICIpKVsxXT09PW8mJihhPWxbdSsiICIrc1swXV18fGxbIiogIitzWzBdXSkpeyEwPT09YT9hPWxbaV06ITAhPT1sW2ldJiYobz1zWzBdLGMudW5zaGlmdChzWzFdKSk7YnJlYWt9aWYoITAhPT1hKWlmKGEmJmVbInRocm93cyJdKXQ9YSh0KTtlbHNlIHRyeXt0PWEodCl9Y2F0Y2goZSl7cmV0dXJue3N0YXRlOiJwYXJzZXJlcnJvciIsZXJyb3I6YT9lOiJObyBjb252ZXJzaW9uIGZyb20gIit1KyIgdG8gIitvfX19cmV0dXJue3N0YXRlOiJzdWNjZXNzIixkYXRhOnR9fSh2LHMsVCxpKSxpPyh2LmlmTW9kaWZpZWQmJigodT1ULmdldFJlc3BvbnNlSGVhZGVyKCJMYXN0LU1vZGlmaWVkIikpJiYoUy5sYXN0TW9kaWZpZWRbZl09dSksKHU9VC5nZXRSZXNwb25zZUhlYWRlcigiZXRhZyIpKSYmKFMuZXRhZ1tmXT11KSksMjA0PT09ZXx8IkhFQUQiPT09di50eXBlP2w9Im5vY29udGVudCI6MzA0PT09ZT9sPSJub3Rtb2RpZmllZCI6KGw9cy5zdGF0ZSxvPXMuZGF0YSxpPSEoYT1zLmVycm9yKSkpOihhPWwsIWUmJmx8fChsPSJlcnJvciIsZTwwJiYoZT0wKSkpLFQuc3RhdHVzPWUsVC5zdGF0dXNUZXh0PSh0fHxsKSsiIixpP3gucmVzb2x2ZVdpdGgoeSxbbyxsLFRdKTp4LnJlamVjdFdpdGgoeSxbVCxsLGFdKSxULnN0YXR1c0NvZGUodyksdz12b2lkIDAsZyYmbS50cmlnZ2VyKGk/ImFqYXhTdWNjZXNzIjoiYWpheEVycm9yIixbVCx2LGk/bzphXSksYi5maXJlV2l0aCh5LFtULGxdKSxnJiYobS50cmlnZ2VyKCJhamF4Q29tcGxldGUiLFtULHZdKSwtLVMuYWN0aXZlfHxTLmV2ZW50LnRyaWdnZXIoImFqYXhTdG9wIikpKX1yZXR1cm4gVH0sZ2V0SlNPTjpmdW5jdGlvbihlLHQsbil7cmV0dXJuIFMuZ2V0KGUsdCxuLCJqc29uIil9LGdldFNjcmlwdDpmdW5jdGlvbihlLHQpe3JldHVybiBTLmdldChlLHZvaWQgMCx0LCJzY3JpcHQiKX19KSxTLmVhY2goWyJnZXQiLCJwb3N0Il0sZnVuY3Rpb24oZSxpKXtTW2ldPWZ1bmN0aW9uKGUsdCxuLHIpe3JldHVybiBtKHQpJiYocj1yfHxuLG49dCx0PXZvaWQgMCksUy5hamF4KFMuZXh0ZW5kKHt1cmw6ZSx0eXBlOmksZGF0YVR5cGU6cixkYXRhOnQsc3VjY2VzczpufSxTLmlzUGxhaW5PYmplY3QoZSkmJmUpKX19KSxTLmFqYXhQcmVmaWx0ZXIoZnVuY3Rpb24oZSl7dmFyIHQ7Zm9yKHQgaW4gZS5oZWFkZXJzKSJjb250ZW50LXR5cGUiPT09dC50b0xvd2VyQ2FzZSgpJiYoZS5jb250ZW50VHlwZT1lLmhlYWRlcnNbdF18fCIiKX0pLFMuX2V2YWxVcmw9ZnVuY3Rpb24oZSx0LG4pe3JldHVybiBTLmFqYXgoe3VybDplLHR5cGU6IkdFVCIsZGF0YVR5cGU6InNjcmlwdCIsY2FjaGU6ITAsYXN5bmM6ITEsZ2xvYmFsOiExLGNvbnZlcnRlcnM6eyJ0ZXh0IHNjcmlwdCI6ZnVuY3Rpb24oKXt9fSxkYXRhRmlsdGVyOmZ1bmN0aW9uKGUpe1MuZ2xvYmFsRXZhbChlLHQsbil9fSl9LFMuZm4uZXh0ZW5kKHt3cmFwQWxsOmZ1bmN0aW9uKGUpe3ZhciB0O3JldHVybiB0aGlzWzBdJiYobShlKSYmKGU9ZS5jYWxsKHRoaXNbMF0pKSx0PVMoZSx0aGlzWzBdLm93bmVyRG9jdW1lbnQpLmVxKDApLmNsb25lKCEwKSx0aGlzWzBdLnBhcmVudE5vZGUmJnQuaW5zZXJ0QmVmb3JlKHRoaXNbMF0pLHQubWFwKGZ1bmN0aW9uKCl7dmFyIGU9dGhpczt3aGlsZShlLmZpcnN0RWxlbWVudENoaWxkKWU9ZS5maXJzdEVsZW1lbnRDaGlsZDtyZXR1cm4gZX0pLmFwcGVuZCh0aGlzKSksdGhpc30sd3JhcElubmVyOmZ1bmN0aW9uKG4pe3JldHVybiBtKG4pP3RoaXMuZWFjaChmdW5jdGlvbihlKXtTKHRoaXMpLndyYXBJbm5lcihuLmNhbGwodGhpcyxlKSl9KTp0aGlzLmVhY2goZnVuY3Rpb24oKXt2YXIgZT1TKHRoaXMpLHQ9ZS5jb250ZW50cygpO3QubGVuZ3RoP3Qud3JhcEFsbChuKTplLmFwcGVuZChuKX0pfSx3cmFwOmZ1bmN0aW9uKHQpe3ZhciBuPW0odCk7cmV0dXJuIHRoaXMuZWFjaChmdW5jdGlvbihlKXtTKHRoaXMpLndyYXBBbGwobj90LmNhbGwodGhpcyxlKTp0KX0pfSx1bndyYXA6ZnVuY3Rpb24oZSl7cmV0dXJuIHRoaXMucGFyZW50KGUpLm5vdCgiYm9keSIpLmVhY2goZnVuY3Rpb24oKXtTKHRoaXMpLnJlcGxhY2VXaXRoKHRoaXMuY2hpbGROb2Rlcyl9KSx0aGlzfX0pLFMuZXhwci5wc2V1ZG9zLmhpZGRlbj1mdW5jdGlvbihlKXtyZXR1cm4hUy5leHByLnBzZXVkb3MudmlzaWJsZShlKX0sUy5leHByLnBzZXVkb3MudmlzaWJsZT1mdW5jdGlvbihlKXtyZXR1cm4hIShlLm9mZnNldFdpZHRofHxlLm9mZnNldEhlaWdodHx8ZS5nZXRDbGllbnRSZWN0cygpLmxlbmd0aCl9LFMuYWpheFNldHRpbmdzLnhocj1mdW5jdGlvbigpe3RyeXtyZXR1cm4gbmV3IEMuWE1MSHR0cFJlcXVlc3R9Y2F0Y2goZSl7fX07dmFyIF90PXswOjIwMCwxMjIzOjIwNH0senQ9Uy5hamF4U2V0dGluZ3MueGhyKCk7eS5jb3JzPSEhenQmJiJ3aXRoQ3JlZGVudGlhbHMiaW4genQseS5hamF4PXp0PSEhenQsUy5hamF4VHJhbnNwb3J0KGZ1bmN0aW9uKGkpe3ZhciBvLGE7aWYoeS5jb3JzfHx6dCYmIWkuY3Jvc3NEb21haW4pcmV0dXJue3NlbmQ6ZnVuY3Rpb24oZSx0KXt2YXIgbixyPWkueGhyKCk7aWYoci5vcGVuKGkudHlwZSxpLnVybCxpLmFzeW5jLGkudXNlcm5hbWUsaS5wYXNzd29yZCksaS54aHJGaWVsZHMpZm9yKG4gaW4gaS54aHJGaWVsZHMpcltuXT1pLnhockZpZWxkc1tuXTtmb3IobiBpbiBpLm1pbWVUeXBlJiZyLm92ZXJyaWRlTWltZVR5cGUmJnIub3ZlcnJpZGVNaW1lVHlwZShpLm1pbWVUeXBlKSxpLmNyb3NzRG9tYWlufHxlWyJYLVJlcXVlc3RlZC1XaXRoIl18fChlWyJYLVJlcXVlc3RlZC1XaXRoIl09IlhNTEh0dHBSZXF1ZXN0IiksZSlyLnNldFJlcXVlc3RIZWFkZXIobixlW25dKTtvPWZ1bmN0aW9uKGUpe3JldHVybiBmdW5jdGlvbigpe28mJihvPWE9ci5vbmxvYWQ9ci5vbmVycm9yPXIub25hYm9ydD1yLm9udGltZW91dD1yLm9ucmVhZHlzdGF0ZWNoYW5nZT1udWxsLCJhYm9ydCI9PT1lP3IuYWJvcnQoKToiZXJyb3IiPT09ZT8ibnVtYmVyIiE9dHlwZW9mIHIuc3RhdHVzP3QoMCwiZXJyb3IiKTp0KHIuc3RhdHVzLHIuc3RhdHVzVGV4dCk6dChfdFtyLnN0YXR1c118fHIuc3RhdHVzLHIuc3RhdHVzVGV4dCwidGV4dCIhPT0oci5yZXNwb25zZVR5cGV8fCJ0ZXh0Iil8fCJzdHJpbmciIT10eXBlb2Ygci5yZXNwb25zZVRleHQ/e2JpbmFyeTpyLnJlc3BvbnNlfTp7dGV4dDpyLnJlc3BvbnNlVGV4dH0sci5nZXRBbGxSZXNwb25zZUhlYWRlcnMoKSkpfX0sci5vbmxvYWQ9bygpLGE9ci5vbmVycm9yPXIub250aW1lb3V0PW8oImVycm9yIiksdm9pZCAwIT09ci5vbmFib3J0P3Iub25hYm9ydD1hOnIub25yZWFkeXN0YXRlY2hhbmdlPWZ1bmN0aW9uKCl7ND09PXIucmVhZHlTdGF0ZSYmQy5zZXRUaW1lb3V0KGZ1bmN0aW9uKCl7byYmYSgpfSl9LG89bygiYWJvcnQiKTt0cnl7ci5zZW5kKGkuaGFzQ29udGVudCYmaS5kYXRhfHxudWxsKX1jYXRjaChlKXtpZihvKXRocm93IGV9fSxhYm9ydDpmdW5jdGlvbigpe28mJm8oKX19fSksUy5hamF4UHJlZmlsdGVyKGZ1bmN0aW9uKGUpe2UuY3Jvc3NEb21haW4mJihlLmNvbnRlbnRzLnNjcmlwdD0hMSl9KSxTLmFqYXhTZXR1cCh7YWNjZXB0czp7c2NyaXB0OiJ0ZXh0L2phdmFzY3JpcHQsIGFwcGxpY2F0aW9uL2phdmFzY3JpcHQsIGFwcGxpY2F0aW9uL2VjbWFzY3JpcHQsIGFwcGxpY2F0aW9uL3gtZWNtYXNjcmlwdCJ9LGNvbnRlbnRzOntzY3JpcHQ6L1xiKD86amF2YXxlY21hKXNjcmlwdFxiL30sY29udmVydGVyczp7InRleHQgc2NyaXB0IjpmdW5jdGlvbihlKXtyZXR1cm4gUy5nbG9iYWxFdmFsKGUpLGV9fX0pLFMuYWpheFByZWZpbHRlcigic2NyaXB0IixmdW5jdGlvbihlKXt2b2lkIDA9PT1lLmNhY2hlJiYoZS5jYWNoZT0hMSksZS5jcm9zc0RvbWFpbiYmKGUudHlwZT0iR0VUIil9KSxTLmFqYXhUcmFuc3BvcnQoInNjcmlwdCIsZnVuY3Rpb24obil7dmFyIHIsaTtpZihuLmNyb3NzRG9tYWlufHxuLnNjcmlwdEF0dHJzKXJldHVybntzZW5kOmZ1bmN0aW9uKGUsdCl7cj1TKCI8c2NyaXB0PiIpLmF0dHIobi5zY3JpcHRBdHRyc3x8e30pLnByb3Aoe2NoYXJzZXQ6bi5zY3JpcHRDaGFyc2V0LHNyYzpuLnVybH0pLm9uKCJsb2FkIGVycm9yIixpPWZ1bmN0aW9uKGUpe3IucmVtb3ZlKCksaT1udWxsLGUmJnQoImVycm9yIj09PWUudHlwZT80MDQ6MjAwLGUudHlwZSl9KSxFLmhlYWQuYXBwZW5kQ2hpbGQoclswXSl9LGFib3J0OmZ1bmN0aW9uKCl7aSYmaSgpfX19KTt2YXIgVXQsWHQ9W10sVnQ9Lyg9KVw/KD89JnwkKXxcP1w/LztTLmFqYXhTZXR1cCh7anNvbnA6ImNhbGxiYWNrIixqc29ucENhbGxiYWNrOmZ1bmN0aW9uKCl7dmFyIGU9WHQucG9wKCl8fFMuZXhwYW5kbysiXyIrQ3QuZ3VpZCsrO3JldHVybiB0aGlzW2VdPSEwLGV9fSksUy5hamF4UHJlZmlsdGVyKCJqc29uIGpzb25wIixmdW5jdGlvbihlLHQsbil7dmFyIHIsaSxvLGE9ITEhPT1lLmpzb25wJiYoVnQudGVzdChlLnVybCk/InVybCI6InN0cmluZyI9PXR5cGVvZiBlLmRhdGEmJjA9PT0oZS5jb250ZW50VHlwZXx8IiIpLmluZGV4T2YoImFwcGxpY2F0aW9uL3gtd3d3LWZvcm0tdXJsZW5jb2RlZCIpJiZWdC50ZXN0KGUuZGF0YSkmJiJkYXRhIik7aWYoYXx8Impzb25wIj09PWUuZGF0YVR5cGVzWzBdKXJldHVybiByPWUuanNvbnBDYWxsYmFjaz1tKGUuanNvbnBDYWxsYmFjayk/ZS5qc29ucENhbGxiYWNrKCk6ZS5qc29ucENhbGxiYWNrLGE/ZVthXT1lW2FdLnJlcGxhY2UoVnQsIiQxIityKTohMSE9PWUuanNvbnAmJihlLnVybCs9KEV0LnRlc3QoZS51cmwpPyImIjoiPyIpK2UuanNvbnArIj0iK3IpLGUuY29udmVydGVyc1sic2NyaXB0IGpzb24iXT1mdW5jdGlvbigpe3JldHVybiBvfHxTLmVycm9yKHIrIiB3YXMgbm90IGNhbGxlZCIpLG9bMF19LGUuZGF0YVR5cGVzWzBdPSJqc29uIixpPUNbcl0sQ1tyXT1mdW5jdGlvbigpe289YXJndW1lbnRzfSxuLmFsd2F5cyhmdW5jdGlvbigpe3ZvaWQgMD09PWk/UyhDKS5yZW1vdmVQcm9wKHIpOkNbcl09aSxlW3JdJiYoZS5qc29ucENhbGxiYWNrPXQuanNvbnBDYWxsYmFjayxYdC5wdXNoKHIpKSxvJiZtKGkpJiZpKG9bMF0pLG89aT12b2lkIDB9KSwic2NyaXB0In0pLHkuY3JlYXRlSFRNTERvY3VtZW50PSgoVXQ9RS5pbXBsZW1lbnRhdGlvbi5jcmVhdGVIVE1MRG9jdW1lbnQoIiIpLmJvZHkpLmlubmVySFRNTD0iPGZvcm0+PC9mb3JtPjxmb3JtPjwvZm9ybT4iLDI9PT1VdC5jaGlsZE5vZGVzLmxlbmd0aCksUy5wYXJzZUhUTUw9ZnVuY3Rpb24oZSx0LG4pe3JldHVybiJzdHJpbmciIT10eXBlb2YgZT9bXTooImJvb2xlYW4iPT10eXBlb2YgdCYmKG49dCx0PSExKSx0fHwoeS5jcmVhdGVIVE1MRG9jdW1lbnQ/KChyPSh0PUUuaW1wbGVtZW50YXRpb24uY3JlYXRlSFRNTERvY3VtZW50KCIiKSkuY3JlYXRlRWxlbWVudCgiYmFzZSIpKS5ocmVmPUUubG9jYXRpb24uaHJlZix0LmhlYWQuYXBwZW5kQ2hpbGQocikpOnQ9RSksbz0hbiYmW10sKGk9Ti5leGVjKGUpKT9bdC5jcmVhdGVFbGVtZW50KGlbMV0pXTooaT14ZShbZV0sdCxvKSxvJiZvLmxlbmd0aCYmUyhvKS5yZW1vdmUoKSxTLm1lcmdlKFtdLGkuY2hpbGROb2RlcykpKTt2YXIgcixpLG99LFMuZm4ubG9hZD1mdW5jdGlvbihlLHQsbil7dmFyIHIsaSxvLGE9dGhpcyxzPWUuaW5kZXhPZigiICIpO3JldHVybi0xPHMmJihyPXZ0KGUuc2xpY2UocykpLGU9ZS5zbGljZSgwLHMpKSxtKHQpPyhuPXQsdD12b2lkIDApOnQmJiJvYmplY3QiPT10eXBlb2YgdCYmKGk9IlBPU1QiKSwwPGEubGVuZ3RoJiZTLmFqYXgoe3VybDplLHR5cGU6aXx8IkdFVCIsZGF0YVR5cGU6Imh0bWwiLGRhdGE6dH0pLmRvbmUoZnVuY3Rpb24oZSl7bz1hcmd1bWVudHMsYS5odG1sKHI/UygiPGRpdj4iKS5hcHBlbmQoUy5wYXJzZUhUTUwoZSkpLmZpbmQocik6ZSl9KS5hbHdheXMobiYmZnVuY3Rpb24oZSx0KXthLmVhY2goZnVuY3Rpb24oKXtuLmFwcGx5KHRoaXMsb3x8W2UucmVzcG9uc2VUZXh0LHQsZV0pfSl9KSx0aGlzfSxTLmV4cHIucHNldWRvcy5hbmltYXRlZD1mdW5jdGlvbih0KXtyZXR1cm4gUy5ncmVwKFMudGltZXJzLGZ1bmN0aW9uKGUpe3JldHVybiB0PT09ZS5lbGVtfSkubGVuZ3RofSxTLm9mZnNldD17c2V0T2Zmc2V0OmZ1bmN0aW9uKGUsdCxuKXt2YXIgcixpLG8sYSxzLHUsbD1TLmNzcyhlLCJwb3NpdGlvbiIpLGM9UyhlKSxmPXt9OyJzdGF0aWMiPT09bCYmKGUuc3R5bGUucG9zaXRpb249InJlbGF0aXZlIikscz1jLm9mZnNldCgpLG89Uy5jc3MoZSwidG9wIiksdT1TLmNzcyhlLCJsZWZ0IiksKCJhYnNvbHV0ZSI9PT1sfHwiZml4ZWQiPT09bCkmJi0xPChvK3UpLmluZGV4T2YoImF1dG8iKT8oYT0ocj1jLnBvc2l0aW9uKCkpLnRvcCxpPXIubGVmdCk6KGE9cGFyc2VGbG9hdChvKXx8MCxpPXBhcnNlRmxvYXQodSl8fDApLG0odCkmJih0PXQuY2FsbChlLG4sUy5leHRlbmQoe30scykpKSxudWxsIT10LnRvcCYmKGYudG9wPXQudG9wLXMudG9wK2EpLG51bGwhPXQubGVmdCYmKGYubGVmdD10LmxlZnQtcy5sZWZ0K2kpLCJ1c2luZyJpbiB0P3QudXNpbmcuY2FsbChlLGYpOigibnVtYmVyIj09dHlwZW9mIGYudG9wJiYoZi50b3ArPSJweCIpLCJudW1iZXIiPT10eXBlb2YgZi5sZWZ0JiYoZi5sZWZ0Kz0icHgiKSxjLmNzcyhmKSl9fSxTLmZuLmV4dGVuZCh7b2Zmc2V0OmZ1bmN0aW9uKHQpe2lmKGFyZ3VtZW50cy5sZW5ndGgpcmV0dXJuIHZvaWQgMD09PXQ/dGhpczp0aGlzLmVhY2goZnVuY3Rpb24oZSl7Uy5vZmZzZXQuc2V0T2Zmc2V0KHRoaXMsdCxlKX0pO3ZhciBlLG4scj10aGlzWzBdO3JldHVybiByP3IuZ2V0Q2xpZW50UmVjdHMoKS5sZW5ndGg/KGU9ci5nZXRCb3VuZGluZ0NsaWVudFJlY3QoKSxuPXIub3duZXJEb2N1bWVudC5kZWZhdWx0Vmlldyx7dG9wOmUudG9wK24ucGFnZVlPZmZzZXQsbGVmdDplLmxlZnQrbi5wYWdlWE9mZnNldH0pOnt0b3A6MCxsZWZ0OjB9OnZvaWQgMH0scG9zaXRpb246ZnVuY3Rpb24oKXtpZih0aGlzWzBdKXt2YXIgZSx0LG4scj10aGlzWzBdLGk9e3RvcDowLGxlZnQ6MH07aWYoImZpeGVkIj09PVMuY3NzKHIsInBvc2l0aW9uIikpdD1yLmdldEJvdW5kaW5nQ2xpZW50UmVjdCgpO2Vsc2V7dD10aGlzLm9mZnNldCgpLG49ci5vd25lckRvY3VtZW50LGU9ci5vZmZzZXRQYXJlbnR8fG4uZG9jdW1lbnRFbGVtZW50O3doaWxlKGUmJihlPT09bi5ib2R5fHxlPT09bi5kb2N1bWVudEVsZW1lbnQpJiYic3RhdGljIj09PVMuY3NzKGUsInBvc2l0aW9uIikpZT1lLnBhcmVudE5vZGU7ZSYmZSE9PXImJjE9PT1lLm5vZGVUeXBlJiYoKGk9UyhlKS5vZmZzZXQoKSkudG9wKz1TLmNzcyhlLCJib3JkZXJUb3BXaWR0aCIsITApLGkubGVmdCs9Uy5jc3MoZSwiYm9yZGVyTGVmdFdpZHRoIiwhMCkpfXJldHVybnt0b3A6dC50b3AtaS50b3AtUy5jc3MociwibWFyZ2luVG9wIiwhMCksbGVmdDp0LmxlZnQtaS5sZWZ0LVMuY3NzKHIsIm1hcmdpbkxlZnQiLCEwKX19fSxvZmZzZXRQYXJlbnQ6ZnVuY3Rpb24oKXtyZXR1cm4gdGhpcy5tYXAoZnVuY3Rpb24oKXt2YXIgZT10aGlzLm9mZnNldFBhcmVudDt3aGlsZShlJiYic3RhdGljIj09PVMuY3NzKGUsInBvc2l0aW9uIikpZT1lLm9mZnNldFBhcmVudDtyZXR1cm4gZXx8cmV9KX19KSxTLmVhY2goe3Njcm9sbExlZnQ6InBhZ2VYT2Zmc2V0IixzY3JvbGxUb3A6InBhZ2VZT2Zmc2V0In0sZnVuY3Rpb24odCxpKXt2YXIgbz0icGFnZVlPZmZzZXQiPT09aTtTLmZuW3RdPWZ1bmN0aW9uKGUpe3JldHVybiAkKHRoaXMsZnVuY3Rpb24oZSx0LG4pe3ZhciByO2lmKHgoZSk/cj1lOjk9PT1lLm5vZGVUeXBlJiYocj1lLmRlZmF1bHRWaWV3KSx2b2lkIDA9PT1uKXJldHVybiByP3JbaV06ZVt0XTtyP3Iuc2Nyb2xsVG8obz9yLnBhZ2VYT2Zmc2V0Om4sbz9uOnIucGFnZVlPZmZzZXQpOmVbdF09bn0sdCxlLGFyZ3VtZW50cy5sZW5ndGgpfX0pLFMuZWFjaChbInRvcCIsImxlZnQiXSxmdW5jdGlvbihlLG4pe1MuY3NzSG9va3Nbbl09JGUoeS5waXhlbFBvc2l0aW9uLGZ1bmN0aW9uKGUsdCl7aWYodClyZXR1cm4gdD1CZShlLG4pLE1lLnRlc3QodCk/UyhlKS5wb3NpdGlvbigpW25dKyJweCI6dH0pfSksUy5lYWNoKHtIZWlnaHQ6ImhlaWdodCIsV2lkdGg6IndpZHRoIn0sZnVuY3Rpb24oYSxzKXtTLmVhY2goe3BhZGRpbmc6ImlubmVyIithLGNvbnRlbnQ6cywiIjoib3V0ZXIiK2F9LGZ1bmN0aW9uKHIsbyl7Uy5mbltvXT1mdW5jdGlvbihlLHQpe3ZhciBuPWFyZ3VtZW50cy5sZW5ndGgmJihyfHwiYm9vbGVhbiIhPXR5cGVvZiBlKSxpPXJ8fCghMD09PWV8fCEwPT09dD8ibWFyZ2luIjoiYm9yZGVyIik7cmV0dXJuICQodGhpcyxmdW5jdGlvbihlLHQsbil7dmFyIHI7cmV0dXJuIHgoZSk/MD09PW8uaW5kZXhPZigib3V0ZXIiKT9lWyJpbm5lciIrYV06ZS5kb2N1bWVudC5kb2N1bWVudEVsZW1lbnRbImNsaWVudCIrYV06OT09PWUubm9kZVR5cGU/KHI9ZS5kb2N1bWVudEVsZW1lbnQsTWF0aC5tYXgoZS5ib2R5WyJzY3JvbGwiK2FdLHJbInNjcm9sbCIrYV0sZS5ib2R5WyJvZmZzZXQiK2FdLHJbIm9mZnNldCIrYV0sclsiY2xpZW50IithXSkpOnZvaWQgMD09PW4/Uy5jc3MoZSx0LGkpOlMuc3R5bGUoZSx0LG4saSl9LHMsbj9lOnZvaWQgMCxuKX19KX0pLFMuZWFjaChbImFqYXhTdGFydCIsImFqYXhTdG9wIiwiYWpheENvbXBsZXRlIiwiYWpheEVycm9yIiwiYWpheFN1Y2Nlc3MiLCJhamF4U2VuZCJdLGZ1bmN0aW9uKGUsdCl7Uy5mblt0XT1mdW5jdGlvbihlKXtyZXR1cm4gdGhpcy5vbih0LGUpfX0pLFMuZm4uZXh0ZW5kKHtiaW5kOmZ1bmN0aW9uKGUsdCxuKXtyZXR1cm4gdGhpcy5vbihlLG51bGwsdCxuKX0sdW5iaW5kOmZ1bmN0aW9uKGUsdCl7cmV0dXJuIHRoaXMub2ZmKGUsbnVsbCx0KX0sZGVsZWdhdGU6ZnVuY3Rpb24oZSx0LG4scil7cmV0dXJuIHRoaXMub24odCxlLG4scil9LHVuZGVsZWdhdGU6ZnVuY3Rpb24oZSx0LG4pe3JldHVybiAxPT09YXJndW1lbnRzLmxlbmd0aD90aGlzLm9mZihlLCIqKiIpOnRoaXMub2ZmKHQsZXx8IioqIixuKX0saG92ZXI6ZnVuY3Rpb24oZSx0KXtyZXR1cm4gdGhpcy5tb3VzZWVudGVyKGUpLm1vdXNlbGVhdmUodHx8ZSl9fSksUy5lYWNoKCJibHVyIGZvY3VzIGZvY3VzaW4gZm9jdXNvdXQgcmVzaXplIHNjcm9sbCBjbGljayBkYmxjbGljayBtb3VzZWRvd24gbW91c2V1cCBtb3VzZW1vdmUgbW91c2VvdmVyIG1vdXNlb3V0IG1vdXNlZW50ZXIgbW91c2VsZWF2ZSBjaGFuZ2Ugc2VsZWN0IHN1Ym1pdCBrZXlkb3duIGtleXByZXNzIGtleXVwIGNvbnRleHRtZW51Ii5zcGxpdCgiICIpLGZ1bmN0aW9uKGUsbil7Uy5mbltuXT1mdW5jdGlvbihlLHQpe3JldHVybiAwPGFyZ3VtZW50cy5sZW5ndGg/dGhpcy5vbihuLG51bGwsZSx0KTp0aGlzLnRyaWdnZXIobil9fSk7dmFyIEd0PS9eW1xzXHVGRUZGXHhBMF0rfFtcc1x1RkVGRlx4QTBdKyQvZztTLnByb3h5PWZ1bmN0aW9uKGUsdCl7dmFyIG4scixpO2lmKCJzdHJpbmciPT10eXBlb2YgdCYmKG49ZVt0XSx0PWUsZT1uKSxtKGUpKXJldHVybiByPXMuY2FsbChhcmd1bWVudHMsMiksKGk9ZnVuY3Rpb24oKXtyZXR1cm4gZS5hcHBseSh0fHx0aGlzLHIuY29uY2F0KHMuY2FsbChhcmd1bWVudHMpKSl9KS5ndWlkPWUuZ3VpZD1lLmd1aWR8fFMuZ3VpZCsrLGl9LFMuaG9sZFJlYWR5PWZ1bmN0aW9uKGUpe2U/Uy5yZWFkeVdhaXQrKzpTLnJlYWR5KCEwKX0sUy5pc0FycmF5PUFycmF5LmlzQXJyYXksUy5wYXJzZUpTT049SlNPTi5wYXJzZSxTLm5vZGVOYW1lPUEsUy5pc0Z1bmN0aW9uPW0sUy5pc1dpbmRvdz14LFMuY2FtZWxDYXNlPVgsUy50eXBlPXcsUy5ub3c9RGF0ZS5ub3csUy5pc051bWVyaWM9ZnVuY3Rpb24oZSl7dmFyIHQ9Uy50eXBlKGUpO3JldHVybigibnVtYmVyIj09PXR8fCJzdHJpbmciPT09dCkmJiFpc05hTihlLXBhcnNlRmxvYXQoZSkpfSxTLnRyaW09ZnVuY3Rpb24oZSl7cmV0dXJuIG51bGw9PWU/IiI6KGUrIiIpLnJlcGxhY2UoR3QsIiIpfSwiZnVuY3Rpb24iPT10eXBlb2YgZGVmaW5lJiZkZWZpbmUuYW1kJiZkZWZpbmUoImpxdWVyeSIsW10sZnVuY3Rpb24oKXtyZXR1cm4gU30pO3ZhciBZdD1DLmpRdWVyeSxRdD1DLiQ7cmV0dXJuIFMubm9Db25mbGljdD1mdW5jdGlvbihlKXtyZXR1cm4gQy4kPT09UyYmKEMuJD1RdCksZSYmQy5qUXVlcnk9PT1TJiYoQy5qUXVlcnk9WXQpLFN9LCJ1bmRlZmluZWQiPT10eXBlb2YgZSYmKEMualF1ZXJ5PUMuJD1TKSxTfSk7Cg=="; var letteringBase64 = exports.letteringBase64 = "KGZ1bmN0aW9uKCQpewoJZnVuY3Rpb24gaW5qZWN0b3IodCwgc3BsaXR0ZXIsIGtsYXNzLCBhZnRlcikgewoJCXZhciB0ZXh0ID0gdC50ZXh0KCkKCQksIGEgPSB0ZXh0LnNwbGl0KHNwbGl0dGVyKQoJCSwgaW5qZWN0ID0gJyc7CgkJaWYgKGEubGVuZ3RoKSB7CgkJCSQoYSkuZWFjaChmdW5jdGlvbihpLCBpdGVtKSB7CgkJCQlpbmplY3QgKz0gJzxzcGFuIGNsYXNzPSInK2tsYXNzKyhpKzEpKyciIGFyaWEtaGlkZGVuPSJ0cnVlIj4nK2l0ZW0rJzwvc3Bhbj4nK2FmdGVyOwoJCQl9KTsKCQkJdC5hdHRyKCdhcmlhLWxhYmVsJyx0ZXh0KQoJCQkuZW1wdHkoKQoJCQkuYXBwZW5kKGluamVjdCkKCgkJfQoJfQoKCgl2YXIgbWV0aG9kcyA9IHsKCQlpbml0IDogZnVuY3Rpb24oKSB7CgoJCQlyZXR1cm4gdGhpcy5lYWNoKGZ1bmN0aW9uKCkgewoJCQkJaW5qZWN0b3IoJCh0aGlzKSwgJycsICdjaGFyJywgJycpOwoJCQl9KTsKCgkJfSwKCgkJd29yZHMgOiBmdW5jdGlvbigpIHsKCgkJCXJldHVybiB0aGlzLmVhY2goZnVuY3Rpb24oKSB7CgkJCQlpbmplY3RvcigkKHRoaXMpLCAnICcsICd3b3JkJywgJyAnKTsKCQkJfSk7CgoJCX0sCgoJCWxpbmVzIDogZnVuY3Rpb24oKSB7CgoJCQlyZXR1cm4gdGhpcy5lYWNoKGZ1bmN0aW9uKCkgewoJCQkJdmFyIHIgPSAiZWVmZWMzMDMwNzlhZDE3NDA1Yzg4OWUwOTJlMTA1YjAiOwoJCQkJLy8gQmVjYXVzZSBpdCdzIGhhcmQgdG8gc3BsaXQgYSA8YnIvPiB0YWcgY29uc2lzdGVudGx5IGFjcm9zcyBicm93c2VycywKCQkJCS8vICgqYWhlbSogSUUgKmFoZW0qKSwgd2UgcmVwbGFjZSBhbGwgPGJyLz4gaW5zdGFuY2VzIHdpdGggYW4gbWQ1IGhhc2gKCQkJCS8vIChvZiB0aGUgd29yZCAic3BsaXQiKS4gIElmIHlvdSdyZSB0cnlpbmcgdG8gdXNlIHRoaXMgcGx1Z2luIG9uIHRoYXQKCQkJCS8vIG1kNSBoYXNoIHN0cmluZywgaXQgd2lsbCBmYWlsIGJlY2F1c2UgeW91J3JlIGJlaW5nIHJpZGljdWxvdXMuCgkJCQlpbmplY3RvcigkKHRoaXMpLmNoaWxkcmVuKCJiciIpLnJlcGxhY2VXaXRoKHIpLmVuZCgpLCByLCAnbGluZScsICcnKTsKCQkJfSk7CgoJCX0KCX07CgoJJC5mbi5sZXR0ZXJpbmcgPSBmdW5jdGlvbiggbWV0aG9kICkgewoJCS8vIE1ldGhvZCBjYWxsaW5nIGxvZ2ljCgkJaWYgKCBtZXRob2QgJiYgbWV0aG9kc1ttZXRob2RdICkgewoJCQlyZXR1cm4gbWV0aG9kc1sgbWV0aG9kIF0uYXBwbHkoIHRoaXMsIFtdLnNsaWNlLmNhbGwoIGFyZ3VtZW50cywgMSApKTsKCQl9IGVsc2UgaWYgKCBtZXRob2QgPT09ICdsZXR0ZXJzJyB8fCAhIG1ldGhvZCApIHsKCQkJcmV0dXJuIG1ldGhvZHMuaW5pdC5hcHBseSggdGhpcywgW10uc2xpY2UuY2FsbCggYXJndW1lbnRzLCAwICkgKTsgLy8gYWx3YXlzIHBhc3MgYW4gYXJyYXkKCQl9CgkJJC5lcnJvciggJ01ldGhvZCAnICsgIG1ldGhvZCArICcgZG9lcyBub3QgZXhpc3Qgb24galF1ZXJ5LmxldHRlcmluZycgKTsKCQlyZXR1cm4gdGhpczsKCX07Cgp9KShqUXVlcnkpOw=="; var columnizerBase64 = exports.columnizerBase64 = "KGZ1bmN0aW9uKCQpeyQuZm4uY29sdW1uaXplPWZ1bmN0aW9uKG9wdGlvbnMpe3RoaXMuY29scz1bXTt0aGlzLm9mZnNldD0wO3RoaXMuYmVmb3JlPVtdO3RoaXMubGFzdE90aGVyPTA7dGhpcy5wcmV2TWF4PTA7dGhpcy5kZWJ1Zz0wO3RoaXMuc2V0Q29sdW1uU3RhcnQ9bnVsbDt0aGlzLmVsaXBzaXNUZXh0PScnO3ZhciBkZWZhdWx0cz17d2lkdGg6NDAwLGNvbHVtbnM6ZmFsc2UsYnVpbGRPbmNlOmZhbHNlLG92ZXJmbG93OmZhbHNlLGRvbmVGdW5jOmZ1bmN0aW9uKCl7fSx0YXJnZXQ6ZmFsc2UsaWdub3JlSW1hZ2VMb2FkaW5nOnRydWUsY29sdW1uRmxvYXQ6ImxlZnQiLGxhc3ROZXZlclRhbGxlc3Q6ZmFsc2UsYWNjdXJhY3k6ZmFsc2UscHJlY2lzZTpmYWxzZSxtYW51YWxCcmVha3M6ZmFsc2UsY3NzQ2xhc3NQcmVmaXg6IiIsZWxpcHNpc1RleHQ6Jy4uLicsZGVidWc6MH07b3B0aW9ucz0kLmV4dGVuZChkZWZhdWx0cyxvcHRpb25zKTtpZih0eXBlb2Yob3B0aW9ucy53aWR0aCk9PSJzdHJpbmciKXtvcHRpb25zLndpZHRoPXBhcnNlSW50KG9wdGlvbnMud2lkdGgsMTApO2lmKGlzTmFOKG9wdGlvbnMud2lkdGgpKXtvcHRpb25zLndpZHRoPWRlZmF1bHRzLndpZHRoO319CmlmKHR5cGVvZiBvcHRpb25zLnNldENvbHVtblN0YXJ0PT0nZnVuY3Rpb24nKXt0aGlzLnNldENvbHVtblN0YXJ0PW9wdGlvbnMuc2V0Q29sdW1uU3RhcnQ7fQppZih0eXBlb2Ygb3B0aW9ucy5lbGlwc2lzVGV4dD09J3N0cmluZycpe3RoaXMuZWxpcHNpc1RleHQ9b3B0aW9ucy5lbGlwc2lzVGV4dDt9CmlmKG9wdGlvbnMuZGVidWcpe3RoaXMuZGVidWc9b3B0aW9ucy5kZWJ1Zzt9CmlmKCFvcHRpb25zLnNldFdpZHRoKXtpZihvcHRpb25zLnByZWNpc2Upe29wdGlvbnMuc2V0V2lkdGg9ZnVuY3Rpb24obnVtQ29scyl7cmV0dXJuIDEwMC9udW1Db2xzO307fWVsc2V7b3B0aW9ucy5zZXRXaWR0aD1mdW5jdGlvbihudW1Db2xzKXtyZXR1cm4gTWF0aC5mbG9vcigxMDAvbnVtQ29scyk7fTt9fQpmdW5jdGlvbiBhcHBlbmRTYWZlKCR0YXJnZXQsJGVsZW0pe3RyeXskdGFyZ2V0LmFwcGVuZCgkZWxlbSk7fWNhdGNoKGUpeyR0YXJnZXRbMF0uYXBwZW5kQ2hpbGQoJGVsZW1bMF0pO319CnJldHVybiB0aGlzLmVhY2goZnVuY3Rpb24oKXt2YXIgJGluQm94PW9wdGlvbnMudGFyZ2V0PyQob3B0aW9ucy50YXJnZXQpOiQodGhpcyk7dmFyIG1heEhlaWdodD0kKHRoaXMpLmhlaWdodCgpO3ZhciAkY2FjaGU9JCgnPGRpdj48L2Rpdj4nKTt2YXIgbGFzdFdpZHRoPTA7dmFyIGNvbHVtbml6aW5nPWZhbHNlO3ZhciBtYW51YWxCcmVha3M9b3B0aW9ucy5tYW51YWxCcmVha3M7dmFyIGNzc0NsYXNzUHJlZml4PWRlZmF1bHRzLmNzc0NsYXNzUHJlZml4O2lmKHR5cGVvZihvcHRpb25zLmNzc0NsYXNzUHJlZml4KT09InN0cmluZyIpe2Nzc0NsYXNzUHJlZml4PW9wdGlvbnMuY3NzQ2xhc3NQcmVmaXg7fQp2YXIgYWRqdXN0bWVudD0wO2FwcGVuZFNhZmUoJGNhY2hlLCQodGhpcykuY29udGVudHMoKS5jbG9uZSh0cnVlKSk7aWYoIW9wdGlvbnMuaWdub3JlSW1hZ2VMb2FkaW5nJiYhb3B0aW9ucy50YXJnZXQpe2lmKCEkaW5Cb3guZGF0YSgiaW1hZ2VMb2FkZWQiKSl7JGluQm94LmRhdGEoImltYWdlTG9hZGVkIix0cnVlKTtpZigkKHRoaXMpLmZpbmQoImltZyIpLmxlbmd0aD4wKXt2YXIgZnVuYz1mdW5jdGlvbigkaW5Cb3gsJGNhY2hlKXtyZXR1cm4gZnVuY3Rpb24oKXtpZighJGluQm94LmRhdGEoImZpcnN0SW1hZ2VMb2FkZWQiKSl7JGluQm94LmRhdGEoImZpcnN0SW1hZ2VMb2FkZWQiLCJ0cnVlIik7YXBwZW5kU2FmZSgkaW5Cb3guZW1wdHkoKSwkY2FjaGUuY2hpbGRyZW4oKS5jbG9uZSh0cnVlKSk7JGluQm94LmNvbHVtbml6ZShvcHRpb25zKTt9fTt9KCQodGhpcyksJGNhY2hlKTskKHRoaXMpLmZpbmQoImltZyIpLm9uZSgibG9hZCIsZnVuYyk7JCh0aGlzKS5maW5kKCJpbWciKS5vbmUoImFib3J0IixmdW5jKTtyZXR1cm47fX19CiRpbkJveC5lbXB0eSgpO2NvbHVtbml6ZUl0KCk7aWYoIW9wdGlvbnMuYnVpbGRPbmNlKXskKHdpbmRvdykucmVzaXplKGZ1bmN0aW9uKCl7aWYoIW9wdGlvbnMuYnVpbGRPbmNlKXtpZigkaW5Cb3guZGF0YSgidGltZW91dCIpKXtjbGVhclRpbWVvdXQoJGluQm94LmRhdGEoInRpbWVvdXQiKSk7fQokaW5Cb3guZGF0YSgidGltZW91dCIsc2V0VGltZW91dChjb2x1bW5pemVJdCwyMDApKTt9fSk7fQpmdW5jdGlvbiBwcmVmaXhUaGVDbGFzc05hbWUoY2xhc3NOYW1lLHdpdGhEb3Qpe3ZhciBkb3Q9d2l0aERvdD8iLiI6IiI7aWYoY3NzQ2xhc3NQcmVmaXgubGVuZ3RoKXtyZXR1cm4gZG90K2Nzc0NsYXNzUHJlZml4KyItIitjbGFzc05hbWU7fQpyZXR1cm4gZG90K2NsYXNzTmFtZTt9CmZ1bmN0aW9uIGNvbHVtbml6ZSgkcHV0SW5IZXJlLCRwdWxsT3V0SGVyZSwkcGFyZW50Q29sdW1uLHRhcmdldEhlaWdodCl7d2hpbGUoKG1hbnVhbEJyZWFrc3x8JHBhcmVudENvbHVtbi5oZWlnaHQoKTx0YXJnZXRIZWlnaHQpJiYkcHVsbE91dEhlcmVbMF0uY2hpbGROb2Rlcy5sZW5ndGgpe3ZhciBub2RlPSRwdWxsT3V0SGVyZVswXS5jaGlsZE5vZGVzWzBdO2lmKCQobm9kZSkuZmluZChwcmVmaXhUaGVDbGFzc05hbWUoImNvbHVtbmJyZWFrIix0cnVlKSkubGVuZ3RoKXtyZXR1cm47fQppZigkKG5vZGUpLmhhc0NsYXNzKHByZWZpeFRoZUNsYXNzTmFtZSgiY29sdW1uYnJlYWsiKSkpe3JldHVybjt9CmFwcGVuZFNhZmUoJHB1dEluSGVyZSwkKG5vZGUpKTt9CmlmKCRwdXRJbkhlcmVbMF0uY2hpbGROb2Rlcy5sZW5ndGg9PT0wKXJldHVybjt2YXIga2lkcz0kcHV0SW5IZXJlWzBdLmNoaWxkTm9kZXM7dmFyIGxhc3RLaWQ9a2lkc1traWRzLmxlbmd0aC0xXTskcHV0SW5IZXJlWzBdLnJlbW92ZUNoaWxkKGxhc3RLaWQpO3ZhciAkaXRlbT0kKGxhc3RLaWQpO2lmKCRpdGVtWzBdLm5vZGVUeXBlPT0zKXt2YXIgb1RleHQ9JGl0ZW1bMF0ubm9kZVZhbHVlO3ZhciBjb3VudGVyMj1vcHRpb25zLndpZHRoLzE4O2lmKG9wdGlvbnMuYWNjdXJhY3kpCmNvdW50ZXIyPW9wdGlvbnMuYWNjdXJhY3k7dmFyIGNvbHVtblRleHQ7dmFyIGxhdGVzdFRleHROb2RlPW51bGw7d2hpbGUoJHBhcmVudENvbHVtbi5oZWlnaHQoKTx0YXJnZXRIZWlnaHQmJm9UZXh0Lmxlbmd0aCl7dmFyIGluZGV4T2ZTcGFjZT1vVGV4dC5pbmRleE9mKCcgJyxjb3VudGVyMik7aWYoaW5kZXhPZlNwYWNlIT0tMSl7Y29sdW1uVGV4dD1vVGV4dC5zdWJzdHJpbmcoMCxpbmRleE9mU3BhY2UpO31lbHNle2NvbHVtblRleHQ9b1RleHQ7fQpsYXRlc3RUZXh0Tm9kZT1kb2N1bWVudC5jcmVhdGVUZXh0Tm9kZShjb2x1bW5UZXh0KTthcHBlbmRTYWZlKCRwdXRJbkhlcmUsJChsYXRlc3RUZXh0Tm9kZSkpO2lmKG9UZXh0Lmxlbmd0aD5jb3VudGVyMiYmaW5kZXhPZlNwYWNlIT0tMSl7b1RleHQ9b1RleHQuc3Vic3RyaW5nKGluZGV4T2ZTcGFjZSk7fWVsc2V7b1RleHQ9IiI7fX0KaWYoJHBhcmVudENvbHVtbi5oZWlnaHQoKT49dGFyZ2V0SGVpZ2h0JiZsYXRlc3RUZXh0Tm9kZSE9PW51bGwpeyRwdXRJbkhlcmVbMF0ucmVtb3ZlQ2hpbGQobGF0ZXN0VGV4dE5vZGUpO29UZXh0PWxhdGVzdFRleHROb2RlLm5vZGVWYWx1ZStvVGV4dDt9CmlmKG9UZXh0Lmxlbmd0aCl7JGl0ZW1bMF0ubm9kZVZhbHVlPW9UZXh0O31lbHNle3JldHVybiBmYWxzZTt9fQppZigkcHVsbE91dEhlcmUuY29udGVudHMoKS5sZW5ndGgpeyRwdWxsT3V0SGVyZS5wcmVwZW5kKCRpdGVtKTt9ZWxzZXthcHBlbmRTYWZlKCRwdWxsT3V0SGVyZSwkaXRlbSk7fQpyZXR1cm4gJGl0ZW1bMF0ubm9kZVR5cGU9PTM7fQpmdW5jdGlvbiBzcGxpdCgkcHV0SW5IZXJlLCRwdWxsT3V0SGVyZSwkcGFyZW50Q29sdW1uLHRhcmdldEhlaWdodCl7aWYoJHB1dEluSGVyZS5jb250ZW50cygiOmxhc3QiKS5maW5kKHByZWZpeFRoZUNsYXNzTmFtZSgiY29sdW1uYnJlYWsiLHRydWUpKS5sZW5ndGgpe3JldHVybjt9CmlmKCRwdXRJbkhlcmUuY29udGVudHMoIjpsYXN0IikuaGFzQ2xhc3MocHJlZml4VGhlQ2xhc3NOYW1lKCJjb2x1bW5icmVhayIpKSl7cmV0dXJuO30KaWYoJHB1bGxPdXRIZXJlLmNvbnRlbnRzKCkubGVuZ3RoKXt2YXIgJGNsb25lTWU9JHB1bGxPdXRIZXJlLmNvbnRlbnRzKCI6Zmlyc3QiKTtpZih0eXBlb2YgJGNsb25lTWUuZ2V0KDApPT0ndW5kZWZpbmVkJ3x8JGNsb25lTWUuZ2V0KDApLm5vZGVUeXBlIT0xKXJldHVybjt2YXIgJGNsb25lPSRjbG9uZU1lLmNsb25lKHRydWUpO2lmKCRjbG9uZU1lLmhhc0NsYXNzKHByZWZpeFRoZUNsYXNzTmFtZSgiY29sdW1uYnJlYWsiKSkpe2FwcGVuZFNhZmUoJHB1dEluSGVyZSwkY2xvbmUpOyRjbG9uZU1lLnJlbW92ZSgpO31lbHNlIGlmKG1hbnVhbEJyZWFrcyl7YXBwZW5kU2FmZSgkcHV0SW5IZXJlLCRjbG9uZSk7JGNsb25lTWUucmVtb3ZlKCk7fWVsc2UgaWYoJGNsb25lLmdldCgwKS5ub2RlVHlwZT09MSYmISRjbG9uZS5oYXNDbGFzcyhwcmVmaXhUaGVDbGFzc05hbWUoImRvbnRlbmQiKSkpe2FwcGVuZFNhZmUoJHB1dEluSGVyZSwkY2xvbmUpO2lmKCRjbG9uZS5pcygiaW1nIikmJiRwYXJlbnRDb2x1bW4uaGVpZ2h0KCk8dGFyZ2V0SGVpZ2h0KzIwKXskY2xvbmVNZS5yZW1vdmUoKTt9ZWxzZSBpZigkY2xvbmVNZS5oYXNDbGFzcyhwcmVmaXhUaGVDbGFzc05hbWUoImRvbnRzcGxpdCIpKSYmJHBhcmVudENvbHVtbi5oZWlnaHQoKTx0YXJnZXRIZWlnaHQrMjApeyRjbG9uZU1lLnJlbW92ZSgpO31lbHNlIGlmKCRjbG9uZS5pcygiaW1nIil8fCRjbG9uZU1lLmhhc0NsYXNzKHByZWZpeFRoZUNsYXNzTmFtZSgiZG9udHNwbGl0IikpKXskY2xvbmUucmVtb3ZlKCk7fWVsc2V7JGNsb25lLmVtcHR5KCk7aWYoIWNvbHVtbml6ZSgkY2xvbmUsJGNsb25lTWUsJHBhcmVudENvbHVtbix0YXJnZXRIZWlnaHQpKXskY2xvbmVNZS5hZGRDbGFzcyhwcmVmaXhUaGVDbGFzc05hbWUoInNwbGl0IikpO2lmKCRjbG9uZU1lLmdldCgwKS50YWdOYW1lPT0nT0wnKXt2YXIgc3RhcnRXaXRoPSRjbG9uZS5nZXQoMCkuY2hpbGRFbGVtZW50Q291bnQrJGNsb25lLmdldCgwKS5zdGFydDskY2xvbmVNZS5hdHRyKCdzdGFydCcsc3RhcnRXaXRoKzEpO30KaWYoJGNsb25lTWUuY2hpbGRyZW4oKS5sZW5ndGgpe3NwbGl0KCRjbG9uZSwkY2xvbmVNZSwkcGFyZW50Q29sdW1uLHRhcmdldEhlaWdodCk7fX1lbHNleyRjbG9uZU1lLmFkZENsYXNzKHByZWZpeFRoZUNsYXNzTmFtZSgic3BsaXQiKSk7fQppZigkY2xvbmUuZ2V0KDApLmNoaWxkTm9kZXMubGVuZ3RoPT09MCl7JGNsb25lLnJlbW92ZSgpOyRjbG9uZU1lLnJlbW92ZUNsYXNzKHByZWZpeFRoZUNsYXNzTmFtZSgic3BsaXQiKSk7fX19fX0KZnVuY3Rpb24gc2luZ2xlQ29sdW1uaXplSXQoKXtpZigkaW5Cb3guZGF0YSgiY29sdW1uaXplZCIpJiYkaW5Cb3guY2hpbGRyZW4oKS5sZW5ndGg9PTEpe3JldHVybjt9CiRpbkJveC5kYXRhKCJjb2x1bW5pemVkIix0cnVlKTskaW5Cb3guZGF0YSgiY29sdW1uaXppbmciLHRydWUpOyRpbkJveC5lbXB0eSgpOyRpbkJveC5hcHBlbmQoJCgiPGRpdiBjbGFzcz0nIgorcHJlZml4VGhlQ2xhc3NOYW1lKCJmaXJzdCIpKyIgIgorcHJlZml4VGhlQ2xhc3NOYW1lKCJsYXN0IikrIiAiCitwcmVmaXhUaGVDbGFzc05hbWUoImNvbHVtbiIpKyIgIgorIicgc3R5bGU9J3dpZHRoOjEwMCU7IGZsb2F0OiAiK29wdGlvbnMuY29sdW1uRmxvYXQrIjsnPjwvZGl2PiIpKTskY29sPSRpbkJveC5jaGlsZHJlbigpLmVxKCRpbkJveC5jaGlsZHJlbigpLmxlbmd0aC0xKTskZGVzdHJveWFibGU9JGNhY2hlLmNsb25lKHRydWUpO2lmKG9wdGlvbnMub3ZlcmZsb3cpe3RhcmdldEhlaWdodD1vcHRpb25zLm92ZXJmbG93LmhlaWdodDtjb2x1bW5pemUoJGNvbCwkZGVzdHJveWFibGUsJGNvbCx0YXJnZXRIZWlnaHQpO2lmKCEkZGVzdHJveWFibGUuY29udGVudHMoKS5maW5kKCI6Zmlyc3QtY2hpbGQiKS5oYXNDbGFzcyhwcmVmaXhUaGVDbGFzc05hbWUoImRvbnRlbmQiKSkpe3NwbGl0KCRjb2wsJGRlc3Ryb3lhYmxlLCRjb2wsdGFyZ2V0SGVpZ2h0KTt9CndoaWxlKCRjb2wuY29udGVudHMoIjpsYXN0IikubGVuZ3RoJiZjaGVja0RvbnRFbmRDb2x1bW4oJGNvbC5jb250ZW50cygiOmxhc3QiKS5nZXQoMCkpKXt2YXIgJGxhc3RLaWQ9JGNvbC5jb250ZW50cygiOmxhc3QiKTskbGFzdEtpZC5yZW1vdmUoKTskZGVzdHJveWFibGUucHJlcGVuZCgkbGFzdEtpZCk7fQp2YXIgaHRtbD0iIjt2YXIgZGl2PWRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ0RJVicpO3doaWxlKCRkZXN0cm95YWJsZVswXS5jaGlsZE5vZGVzLmxlbmd0aD4wKXt2YXIga2lkPSRkZXN0cm95YWJsZVswXS5jaGlsZE5vZGVzWzBdO2lmKGtpZC5hdHRyaWJ1dGVzKXtmb3IodmFyIGk9MDtpPGtpZC5hdHRyaWJ1dGVzLmxlbmd0aDtpKyspe2lmKGtpZC5hdHRyaWJ1dGVzW2ldLm5vZGVOYW1lLmluZGV4T2YoImpRdWVyeSIpPT09MCl7a2lkLnJlbW92ZUF0dHJpYnV0ZShraWQuYXR0cmlidXRlc1tpXS5ub2RlTmFtZSk7fX19CmRpdi5pbm5lckhUTUw9IiI7ZGl2LmFwcGVuZENoaWxkKCRkZXN0cm95YWJsZVswXS5jaGlsZE5vZGVzWzBdKTtodG1sKz1kaXYuaW5uZXJIVE1MO30KdmFyIG92ZXJmbG93PSQob3B0aW9ucy5vdmVyZmxvdy5pZClbMF07b3ZlcmZsb3cuaW5uZXJIVE1MPWh0bWw7fWVsc2V7YXBwZW5kU2FmZSgkY29sLCRkZXN0cm95YWJsZS5jb250ZW50cygpKTt9CiRpbkJveC5kYXRhKCJjb2x1bW5pemluZyIsZmFsc2UpO2lmKG9wdGlvbnMub3ZlcmZsb3cmJm9wdGlvbnMub3ZlcmZsb3cuZG9uZUZ1bmMpe29wdGlvbnMub3ZlcmZsb3cuZG9uZUZ1bmMoKTt9Cm9wdGlvbnMuZG9uZUZ1bmMoKTt9CmZ1bmN0aW9uIGNoZWNrRG9udEVuZENvbHVtbihkb20pe2lmKGRvbS5ub2RlVHlwZT09Myl7aWYoL15ccyskLy50ZXN0KGRvbS5ub2RlVmFsdWUpKXtpZighZG9tLnByZXZpb3VzU2libGluZylyZXR1cm4gZmFsc2U7cmV0dXJuIGNoZWNrRG9udEVuZENvbHVtbihkb20ucHJldmlvdXNTaWJsaW5nKTt9CnJldHVybiBmYWxzZTt9CmlmKGRvbS5ub2RlVHlwZSE9MSlyZXR1cm4gZmFsc2U7aWYoJChkb20pLmhhc0NsYXNzKHByZWZpeFRoZUNsYXNzTmFtZSgiZG9udGVuZCIpKSlyZXR1cm4gdHJ1ZTtpZihkb20uY2hpbGROb2Rlcy5sZW5ndGg9PT0wKXJldHVybiBmYWxzZTtyZXR1cm4gY2hlY2tEb250RW5kQ29sdW1uKGRvbS5jaGlsZE5vZGVzW2RvbS5jaGlsZE5vZGVzLmxlbmd0aC0xXSk7fQpmdW5jdGlvbiBjb2x1bW5pemVJdCgpe2FkanVzdG1lbnQ9MDtpZihsYXN0V2lkdGg9PSRpbkJveC53aWR0aCgpKXJldHVybjtsYXN0V2lkdGg9JGluQm94LndpZHRoKCk7dmFyIG51bUNvbHM9TWF0aC5yb3VuZCgkaW5Cb3gud2lkdGgoKS9vcHRpb25zLndpZHRoKTt2YXIgb3B0aW9uV2lkdGg9b3B0aW9ucy53aWR0aDt2YXIgb3B0aW9uSGVpZ2h0PW9wdGlvbnMuaGVpZ2h0O2lmKG9wdGlvbnMuY29sdW1ucyludW1Db2xzPW9wdGlvbnMuY29sdW1ucztpZihtYW51YWxCcmVha3Mpe251bUNvbHM9JGNhY2hlLmZpbmQocHJlZml4VGhlQ2xhc3NOYW1lKCJjb2x1bW5icmVhayIsdHJ1ZSkpLmxlbmd0aCsxO29wdGlvbldpZHRoPWZhbHNlO30KaWYobnVtQ29sczw9MSl7cmV0dXJuIHNpbmdsZUNvbHVtbml6ZUl0KCk7fQppZigkaW5Cb3guZGF0YSgiY29sdW1uaXppbmciKSlyZXR1cm47JGluQm94LmRhdGEoImNvbHVtbml6ZWQiLHRydWUpOyRpbkJveC5kYXRhKCJjb2x1bW5pemluZyIsdHJ1ZSk7JGluQm94LmVtcHR5KCk7JGluQm94LmFwcGVuZCgkKCI8ZGl2IHN0eWxlPSd3aWR0aDoiK29wdGlvbnMuc2V0V2lkdGgobnVtQ29scykrIiU7IGZsb2F0OiAiK29wdGlvbnMuY29sdW1uRmxvYXQrIjsnPjwvZGl2PiIpKTskY29sPSRpbkJveC5jaGlsZHJlbigiOmxhc3QiKTthcHBlbmRTYWZlKCRjb2wsJGNhY2hlLmNsb25lKCkpO21heEhlaWdodD0kY29sLmhlaWdodCgpOyRpbkJveC5lbXB0eSgpO3ZhciB0YXJnZXRIZWlnaHQ9bWF4SGVpZ2h0L251bUNvbHM7dmFyIGZpcnN0VGltZT10cnVlO3ZhciBtYXhMb29wcz0zO3ZhciBzY3JvbGxIb3Jpem9udGFsbHk9ZmFsc2U7aWYob3B0aW9ucy5vdmVyZmxvdyl7bWF4TG9vcHM9MTt0YXJnZXRIZWlnaHQ9b3B0aW9ucy5vdmVyZmxvdy5oZWlnaHQ7fWVsc2UgaWYob3B0aW9uSGVpZ2h0JiZvcHRpb25XaWR0aCl7bWF4TG9vcHM9MTt0YXJnZXRIZWlnaHQ9b3B0aW9uSGVpZ2h0O3Njcm9sbEhvcml6b250YWxseT10cnVlO30KZm9yKHZhciBsb29wQ291bnQ9MDtsb29wQ291bnQ8bWF4TG9vcHMmJmxvb3BDb3VudDwyMDtsb29wQ291bnQrKyl7JGluQm94LmVtcHR5KCk7dmFyICRkZXN0cm95YWJsZSxjbGFzc05hbWUsJGNvbCwkbGFzdEtpZDt0cnl7JGRlc3Ryb3lhYmxlPSRjYWNoZS5jbG9uZSh0cnVlKTt9Y2F0Y2goZSl7JGRlc3Ryb3lhYmxlPSRjYWNoZS5jbG9uZSgpO30KJGRlc3Ryb3lhYmxlLmNzcygidmlzaWJpbGl0eSIsImhpZGRlbiIpO2Zvcih2YXIgaT0wO2k8bnVtQ29scztpKyspe2NsYXNzTmFtZT0oaT09PTApP3ByZWZpeFRoZUNsYXNzTmFtZSgiZmlyc3QiKToiIjtjbGFzc05hbWUrPSIgIitwcmVmaXhUaGVDbGFzc05hbWUoImNvbHVtbiIpO2NsYXNzTmFtZT0oaT09bnVtQ29scy0xKT8ocHJlZml4VGhlQ2xhc3NOYW1lKCJsYXN0IikrIiAiK2NsYXNzTmFtZSk6Y2xhc3NOYW1lOyRpbkJveC5hcHBlbmQoJCgiPGRpdiBjbGFzcz0nIitjbGFzc05hbWUrIicgc3R5bGU9J3dpZHRoOiIrb3B0aW9ucy5zZXRXaWR0aChudW1Db2xzKSsiJTsgZmxvYXQ6ICIrb3B0aW9ucy5jb2x1bW5GbG9hdCsiOyc+PC9kaXY+IikpO30KaT0wO3doaWxlKGk8bnVtQ29scy0ob3B0aW9ucy5vdmVyZmxvdz8wOjEpfHxzY3JvbGxIb3Jpem9udGFsbHkmJiRkZXN0cm95YWJsZS5jb250ZW50cygpLmxlbmd0aCl7aWYoJGluQm94LmNoaWxkcmVuKCkubGVuZ3RoPD1pKXskaW5Cb3guYXBwZW5kKCQoIjxkaXYgY2xhc3M9JyIrY2xhc3NOYW1lKyInIHN0eWxlPSd3aWR0aDoiK29wdGlvbnMuc2V0V2lkdGgobnVtQ29scykrIiU7IGZsb2F0OiAiK29wdGlvbnMuY29sdW1uRmxvYXQrIjsnPjwvZGl2PiIpKTt9CiRjb2w9JGluQm94LmNoaWxkcmVuKCkuZXEoaSk7aWYoc2Nyb2xsSG9yaXpvbnRhbGx5KXskY29sLndpZHRoKG9wdGlvbldpZHRoKyJweCIpO30KY29sdW1uaXplKCRjb2wsJGRlc3Ryb3lhYmxlLCRjb2wsdGFyZ2V0SGVpZ2h0KTtzcGxpdCgkY29sLCRkZXN0cm95YWJsZSwkY29sLHRhcmdldEhlaWdodCk7d2hpbGUoJGNvbC5jb250ZW50cygiOmxhc3QiKS5sZW5ndGgmJmNoZWNrRG9udEVuZENvbHVtbigkY29sLmNvbnRlbnRzKCI6bGFzdCIpLmdldCgwKSkpeyRsYXN0S2lkPSRjb2wuY29udGVudHMoIjpsYXN0Iik7JGxhc3RLaWQucmVtb3ZlKCk7JGRlc3Ryb3lhYmxlLnByZXBlbmQoJGxhc3RLaWQpO30KaSsrO2lmKCRjb2wuY29udGVudHMoKS5sZW5ndGg9PT0wJiYkZGVzdHJveWFibGUuY29udGVudHMoKS5sZW5ndGgpeyRjb2wuYXBwZW5kKCRkZXN0cm95YWJsZS5jb250ZW50cygiOmZpcnN0IikpO31lbHNlIGlmKGk9PW51bUNvbHMtKG9wdGlvbnMub3ZlcmZsb3c/MDoxKSYmIW9wdGlvbnMub3ZlcmZsb3cpe2lmKCRkZXN0cm95YWJsZS5maW5kKHByZWZpeFRoZUNsYXNzTmFtZSgiY29sdW1uYnJlYWsiLHRydWUpKS5sZW5ndGgpe251bUNvbHMrKzt9fX0KaWYob3B0aW9ucy5vdmVyZmxvdyYmIXNjcm9sbEhvcml6b250YWxseSl7dmFyIElFNj1mYWxzZTt2YXIgSUU3PShkb2N1bWVudC5hbGwpJiYobmF2aWdhdG9yLmFwcFZlcnNpb24uaW5kZXhPZigiTVNJRSA3LiIpIT0tMSk7aWYoSUU2fHxJRTcpe3ZhciBodG1sPSIiO3ZhciBkaXY9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnRElWJyk7d2hpbGUoJGRlc3Ryb3lhYmxlWzBdLmNoaWxkTm9kZXMubGVuZ3RoPjApe3ZhciBraWQ9JGRlc3Ryb3lhYmxlWzBdLmNoaWxkTm9kZXNbMF07Zm9yKGk9MDtpPGtpZC5hdHRyaWJ1dGVzLmxlbmd0aDtpKyspe2lmKGtpZC5hdHRyaWJ1dGVzW2ldLm5vZGVOYW1lLmluZGV4T2YoImpRdWVyeSIpPT09MCl7a2lkLnJlbW92ZUF0dHJpYnV0ZShraWQuYXR0cmlidXRlc1tpXS5ub2RlTmFtZSk7fX0KZGl2LmlubmVySFRNTD0iIjtkaXYuYXBwZW5kQ2hpbGQoJGRlc3Ryb3lhYmxlWzBdLmNoaWxkTm9kZXNbMF0pO2h0bWwrPWRpdi5pbm5lckhUTUw7fQp2YXIgb3ZlcmZsb3c9JChvcHRpb25zLm92ZXJmbG93LmlkKVswXTtvdmVyZmxvdy5pbm5lckhUTUw9aHRtbDt9ZWxzZXskKG9wdGlvbnMub3ZlcmZsb3cuaWQpLmVtcHR5KCkuYXBwZW5kKCRkZXN0cm95YWJsZS5jb250ZW50cygpLmNsb25lKHRydWUpKTt9fWVsc2UgaWYoIXNjcm9sbEhvcml6b250YWxseSl7JGNvbD0kaW5Cb3guY2hpbGRyZW4oKS5lcSgkaW5Cb3guY2hpbGRyZW4oKS5sZW5ndGgtMSk7JGRlc3Ryb3lhYmxlLmNvbnRlbnRzKCkuZWFjaChmdW5jdGlvbigpeyRjb2wuYXBwZW5kKCQodGhpcykpO30pO3ZhciBhZnRlckg9JGNvbC5oZWlnaHQoKTt2YXIgZGlmZj1hZnRlckgtdGFyZ2V0SGVpZ2h0O3ZhciB0b3RhbEg9MDt2YXIgbWluPTEwMDAwMDAwO3ZhciBtYXg9MDt2YXIgbGFzdElzTWF4PWZhbHNlO3ZhciBudW1iZXJPZkNvbHVtbnNUaGF0RG9udEVuZEluQUNvbHVtbkJyZWFrPTA7JGluQm94LmNoaWxkcmVuKCkuZWFjaChmdW5jdGlvbigkaW5Cb3gpe3JldHVybiBmdW5jdGlvbigkaXRlbSl7dmFyICRjb2w9JGluQm94LmNoaWxkcmVuKCkuZXEoJGl0ZW0pO3ZhciBlbmRzSW5CcmVhaz0kY29sLmNoaWxkcmVuKCI6bGFzdCIpLmZpbmQocHJlZml4VGhlQ2xhc3NOYW1lKCJjb2x1bW5icmVhayIsdHJ1ZSkpLmxlbmd0aDtpZighZW5kc0luQnJlYWspe3ZhciBoPSRjb2wuaGVpZ2h0KCk7bGFzdElzTWF4PWZhbHNlO3RvdGFsSCs9aDtpZihoPm1heCl7bWF4PWg7bGFzdElzTWF4PXRydWU7fQppZihoPG1pbiltaW49aDtudW1iZXJPZkNvbHVtbnNUaGF0RG9udEVuZEluQUNvbHVtbkJyZWFrKys7fX07fSgkaW5Cb3gpKTt2YXIgYXZnSD10b3RhbEgvbnVtYmVyT2ZDb2x1bW5zVGhhdERvbnRFbmRJbkFDb2x1bW5CcmVhaztpZih0b3RhbEg9PT0wKXtsb29wQ291bnQ9bWF4TG9vcHM7fWVsc2UgaWYob3B0aW9ucy5sYXN0TmV2ZXJUYWxsZXN0JiZsYXN0SXNNYXgpe2FkanVzdG1lbnQrPTU7dGFyZ2V0SGVpZ2h0PXRhcmdldEhlaWdodCszMDtpZihsb29wQ291bnQ9PW1heExvb3BzLTEpbWF4TG9vcHMrKzt9ZWxzZSBpZihtYXgtbWluPjMwKXt0YXJnZXRIZWlnaHQ9YXZnSCszMDt9ZWxzZSBpZihNYXRoLmFicyhhdmdILXRhcmdldEhlaWdodCk+MjApe3RhcmdldEhlaWdodD1hdmdIO31lbHNle2xvb3BDb3VudD1tYXhMb29wczt9fWVsc2V7JGluQm94LmNoaWxkcmVuKCkuZWFjaChmdW5jdGlvbihpKXskY29sPSRpbkJveC5jaGlsZHJlbigpLmVxKGkpOyRjb2wud2lkdGgob3B0aW9uV2lkdGgrInB4Iik7aWYoaT09PTApeyRjb2wuYWRkQ2xhc3MocHJlZml4VGhlQ2xhc3NOYW1lKCJmaXJzdCIpKTt9ZWxzZSBpZihpPT0kaW5Cb3guY2hpbGRyZW4oKS5sZW5ndGgtMSl7JGNvbC5hZGRDbGFzcyhwcmVmaXhUaGVDbGFzc05hbWUoImxhc3QiKSk7fWVsc2V7JGNvbC5yZW1vdmVDbGFzcyhwcmVmaXhUaGVDbGFzc05hbWUoImZpcnN0IikpOyRjb2wucmVtb3ZlQ2xhc3MocHJlZml4VGhlQ2xhc3NOYW1lKCJsYXN0IikpO319KTskaW5Cb3gud2lkdGgoJGluQm94LmNoaWxkcmVuKCkubGVuZ3RoKm9wdGlvbldpZHRoKyJweCIpO30KJGluQm94LmFwcGVuZCgkKCI8YnIgc3R5bGU9J2NsZWFyOmJvdGg7Jz4iKSk7fQokaW5Cb3guZmluZChwcmVmaXhUaGVDbGFzc05hbWUoImNvbHVtbiIsdHJ1ZSkpLmZpbmQoIjpmaXJzdCIrcHJlZml4VGhlQ2xhc3NOYW1lKCJyZW1vdmVpZmZpcnN0Iix0cnVlKSkucmVtb3ZlKCk7JGluQm94LmZpbmQocHJlZml4VGhlQ2xhc3NOYW1lKCJjb2x1bW4iLHRydWUpKS5maW5kKCc6bGFzdCcrcHJlZml4VGhlQ2xhc3NOYW1lKCJyZW1vdmVpZmxhc3QiLHRydWUpKS5yZW1vdmUoKTskaW5Cb3guZmluZChwcmVmaXhUaGVDbGFzc05hbWUoInNwbGl0Iix0cnVlKSkuZmluZCgiOmZpcnN0IitwcmVmaXhUaGVDbGFzc05hbWUoInJlbW92ZWlmZmlyc3QiLHRydWUpKS5yZW1vdmUoKTskaW5Cb3guZmluZChwcmVmaXhUaGVDbGFzc05hbWUoInNwbGl0Iix0cnVlKSkuZmluZCgnOmxhc3QnK3ByZWZpeFRoZUNsYXNzTmFtZSgicmVtb3ZlaWZsYXN0Iix0cnVlKSkucmVtb3ZlKCk7JGluQm94LmRhdGEoImNvbHVtbml6aW5nIixmYWxzZSk7aWYob3B0aW9ucy5vdmVyZmxvdyl7b3B0aW9ucy5vdmVyZmxvdy5kb25lRnVuYygpO30Kb3B0aW9ucy5kb25lRnVuYygpO319KTt9OyQuZm4ucmVudW1iZXJCeUpTPWZ1bmN0aW9uKCRzZWFyY2hUYWcsJGNvbG5vLCR0YXJnZXRJZCwkdGFyZ2V0Q2xhc3Mpe3RoaXMuc2V0TGlzdD1mdW5jdGlvbigkY29scywkbGlzdCwkdGFnMSl7dmFyICRwYXJlbnRzPXRoaXMuYmVmb3JlLnBhcmVudHMoKTt2YXIgJHJlc3Q7JHJlc3Q9JCgkY29sc1t0aGlzLm9mZnNldC0xXSkuZmluZCgnPionKTtpZigoJHJlc3QubGFzdCgpKVswXS50YWdOYW1lIT0kdGFnMS50b1VwcGVyQ2FzZSgpKXtpZih0aGlzLmRlYnVnKXtjb25zb2xlLmRlYnVnKCJMYXN0IGl0ZW0gaW4gcHJldmlvdXMgY29sdW1uLCBpc24ndCBhIGxpc3QuLi4iKTt9CnJldHVybiAwO30KJHJlc3Q9JHJlc3QubGVuZ3RoO3ZhciAkdGludD0xO2lmKHRoaXMubGFzdE90aGVyPD0wKXskdGludD10aGlzLmJlZm9yZS5jaGlsZHJlbigpLmxlbmd0aCsxO31lbHNleyR0aW50PSQoJHBhcmVudHNbdGhpcy5sYXN0T3RoZXJdKS5jaGlsZHJlbigpLmxlbmd0aCsxO30KaWYoJCgkY29sc1t0aGlzLm9mZnNldF0pLmZpbmQoJHRhZzErJzpmaXJzdCBsaS5zcGxpdCcpLmxlbmd0aCl7dmFyICR3aGVyZUVsaXBzaXM9JCgkY29sc1t0aGlzLm9mZnNldC0xXSkuZmluZCgkdGFnMSsnOmxhc3QgbGk6bGFzdCcpO2lmKHRoaXMuZWxpcHNpc1RleHQ9PT0nJ3x8JCgkY29sc1t0aGlzLm9mZnNldC0xXSkuZmluZCgkdGFnMSsnOmxhc3QgfiBkaXYnKS5sZW5ndGh8fCQoJGNvbHNbdGhpcy5vZmZzZXQtMV0pLmZpbmQoJHRhZzErJzpsYXN0IH4gcCcpLmxlbmd0aCl7O31lbHNle2lmKCQoJHdoZXJlRWxpcHNpcykuZmluZCgndWwsIG9sLCBkbCcpLmxlbmd0aD09MCl7dmFyICR0eHQ9JHdoZXJlRWxpcHNpcy5sYXN0KCkudGV4dCgpO3ZhciAkbGVuPSR0eHQubGVuZ3RoO2lmKCR0eHQuc3Vic3RyaW5nKCRsZW4tMSk9PSc7Jyl7aWYoJHR4dC5zdWJzdHJpbmcoJGxlbi00KSE9dGhpcy5lbGlwc2lzVGV4dCsnOycpeyR0eHQ9JHR4dC5zdWJzdHJpbmcoMCwkbGVuLTEpK3RoaXMuZWxpcHNpc1RleHQrJzsnO319ZWxzZXtpZigkdHh0LnN1YnN0cmluZygkbGVuLTMpIT10aGlzLmVsaXBzaXNUZXh0KXskdHh0Kz10aGlzLmVsaXBzaXNUZXh0O319CiR3aGVyZUVsaXBzaXMubGFzdCgpLnRleHQoJHR4dCk7fX0KaWYoJCgkY29sc1t0aGlzLm9mZnNldF0pLmZpbmQoJHRhZzErJzpmaXJzdCA+bGkuc3BsaXQgPicrJHRhZzEpLmxlbmd0aD09MCl7JHRpbnQtLTt9fQppZigkcmVzdD09MSl7JHRpbnQrPXRoaXMucHJldk1heDt9CmlmKHRoaXMubmVzdD4xKXtpZih0aGlzLmRlYnVnKXtjb25zb2xlLmRlYnVnKCJTdXBwb3NlZCB0byBiZSBhIG5lc3RlZCBsaXN0Li4uZGVjciIpO30KJHRpbnQtLTt2YXIgJHR0PSQoJGNvbHNbdGhpcy5vZmZzZXQtMV0pLmZpbmQoJHRhZzErJzpmaXJzdCBsaS5zcGxpdDpmaXJzdCcpO2lmKCR0dC5sZW5ndGg+MCl7aWYodGhpcy5kZWJ1Zyl7Y29uc29sZS5kZWJ1ZygiUHJldmlvdXMgY29sdW1uIHN0YXJ0ZWQgd2l0aCBhIHNwbGl0IGl0ZW0sIHNvIHRoYXQgY291bnQgaXMgb25lIGxlc3MgdGhhbiBleHBlY3RlZCIpO30KJHRpbnQtLTt9CiR0dD0kKCRjb2xzW3RoaXMub2Zmc2V0XSkuZmluZCgkdGFnMSsnOmZpcnN0IGxpOmZpcnN0JykuY2xvbmUoKTskdHQuY2hpbGRyZW4oKS5yZW1vdmUoKTtpZigkLnRyaW0oJHR0LnRleHQoKSkubGVuZ3RoPjApe2lmKHRoaXMuZGVidWcpe2NvbnNvbGUuZGVidWcoIklmIHRoYXQgd2FzIGEgY29tcGxldGUgbGlzdCBpbiB0aGUgcHJldmlvdXMgY29sdW1uLCBkb24ndCBkZWNyLiIpO30KJHRpbnQrKztpZigkKCRjb2xzW3RoaXMub2Zmc2V0LTFdKS5maW5kKCI+IiskdGFnMSsnOmxhc3QgJykuY2hpbGRyZW4oKS5sZW5ndGg9PTApe2lmKHRoaXMuZGVidWcpe2NvbnNvbGUuZGVidWcoInVubGVzcyB0aGF0IHdhcyBlbXB0eSwgaW4gd2hpY2ggY2FzZSByZXZlcnQiKTt9CiR0aW50LS07fX19ZWxzZXt2YXIgJHR0PSQoJGNvbHNbdGhpcy5vZmZzZXRdKS5maW5kKCR0YWcxKyc6Zmlyc3QgbGk6Zmlyc3QgJyskdGFnMSsiLnNwbGl0IGxpLnNwbGl0Iik7aWYoJHR0Lmxlbmd0aD4wKXtpZih0aGlzLmRlYnVnKXtjb25zb2xlLmRlYnVnKCJbTmVzdGVkXSBDb2x1bW4gc3RhcnRlZCB3aXRoIGEgc3BsaXQgaXRlbSwgc28gdGhhdCBjb3VudCBpcyBvbmUgbGVzcyB0aGFuIGV4cGVjdGVkIik7fQokdGludC0tO319CmlmKHRoaXMuZGVidWcpe2NvbnNvbGUuZGVidWcoIlNldHRpbmcgdGhlIHN0YXJ0IHZhbHVlIHRvICIrJHRpbnQrIiAoIit0aGlzLnByZXZNYXgrIikiKTt9CmlmKCR0aW50PjApe2lmKHR5cGVvZiB0aGlzLnNldENvbHVtblN0YXJ0PT0nZnVuY3Rpb24nKXt0aGlzLnNldENvbHVtblN0YXJ0KCRsaXN0LCR0aW50KTt9ZWxzZXskbGlzdC5hdHRyKCdzdGFydCcsJHRpbnQpO319CnJldHVybiAwO30KaWYodHlwZW9mICR0YXJnZXRJZD09PSd1bmRlZmluZWQnKXskdGFyZ2V0SWQ9ZmFsc2U7fQppZih0eXBlb2YgJHRhcmdldENsYXNzPT09J3VuZGVmaW5lZCcpeyR0YXJnZXRDbGFzcz1mYWxzZTt9CmlmKCEkdGFyZ2V0SWQmJiEkdGFyZ2V0Q2xhc3Mpe3Rocm93InJlbnVtYmVyQnlKUygpOiBCYWQgcGFyYW0sIG11c3QgcGFzcyBhbiBpZCBvciBhIGNsYXNzIjt9CnZhciAkdGFyZ2V0PScnO3RoaXMucHJldk1heD0xO2lmKCR0YXJnZXRDbGFzcyl7JHRhcmdldD0iLiIrJHRhcmdldENsYXNzO31lbHNleyR0YXJnZXQ9IiMiKyR0YXJnZXRJZDt9CnZhciAkdGFnMT0kc2VhcmNoVGFnLnRvTG93ZXJDYXNlKCk7dmFyICR0YWcyPSRzZWFyY2hUYWcudG9VcHBlckNhc2UoKTt0aGlzLmNvbHM9JCgkdGFyZ2V0KTtpZih0aGlzLmRlYnVnKXtjb25zb2xlLmRlYnVnKCJUaGVyZSBhcmUgIit0aGlzLmNvbHMubGVuZ3RoKyIgaXRlbXMsIGxvb2tpbmcgZm9yICIrJHRhZzEpO30KdGhpcy5iZWZvcmU9JCh0aGlzLmNvbHNbMF0pLmZpbmQoJHRhZzErJzpsYXN0Jyk7dGhpcy5wcmV2TWF4PXRoaXMuYmVmb3JlLmNoaWxkcmVuKCkubGVuZ3RoO2Zvcih0aGlzLm9mZnNldD0xO3RoaXMub2Zmc2V0PHRoaXMuY29scy5sZW5ndGg7dGhpcy5vZmZzZXQrKyl7aWYodGhpcy5kZWJ1Zyl7Y29uc29sZS5kZWJ1ZygiaXRlcmF0aW5nICIrdGhpcy5vZmZzZXQrIi4uLltvZiAiK3RoaXMuY29scy5sZW5ndGgrIl0iKTt9CmlmKHRoaXMub2Zmc2V0JSRjb2xubz09MCl7aWYodGhpcy5kZWJ1Zyl7Y29uc29sZS5kZWJ1ZygiRmlyc3QgY29sdW1uIChpbiB0aGVvcnkuLikiKTt9CnRoaXMucHJldk1heD0xO2NvbnRpbnVlO30KdGhpcy5iZWZvcmU9JCh0aGlzLmNvbHNbdGhpcy5vZmZzZXQtMV0pLmZpbmQoJHRhZzErJzpsYXN0Jyk7aWYodGhpcy5iZWZvcmUubGVuZ3RoKXtpZih0aGlzLmRlYnVnKXtjb25zb2xlLmRlYnVnKCJIYXZlIHNvbWUgIiskc2VhcmNoVGFnKyIgZWxlbWVudHMgaW4gdGhlIHByZXZpb3VzIGNvbHVtbiIpO30KdmFyICRsaXN0PSQodGhpcy5jb2xzW3RoaXMub2Zmc2V0XSkuZmluZCgkdGFnMSsnOmZpcnN0Jyk7dmFyICRmaXJzdD0kKHRoaXMuY29sc1t0aGlzLm9mZnNldF0pLmZpbmQoJyo6Zmlyc3QnKTtpZigkZmlyc3RbMF0hPT0kbGlzdFswXSl7Y29udGludWU7fQp2YXIgJHBhcmVudHM9dGhpcy5iZWZvcmUucGFyZW50cygpO3RoaXMubGFzdE90aGVyPTA7dmFyICRmb3VuZD1mYWxzZTtmb3IoO3RoaXMubGFzdE90aGVyPCRwYXJlbnRzLmxlbmd0aDt0aGlzLmxhc3RPdGhlcisrKXtpZigkcGFyZW50c1t0aGlzLmxhc3RPdGhlcl0udGFnTmFtZSE9JHRhZzImJiRwYXJlbnRzW3RoaXMubGFzdE90aGVyXS50YWdOYW1lIT0iTEkiKXskZm91bmQ9dHJ1ZTt0aGlzLmxhc3RPdGhlci0tO2JyZWFrO319CnRoaXMubmVzdD0xO2lmKCQodGhpcy5jb2xzW3RoaXMub2Zmc2V0XSkuZmluZCgiPiIrJHRhZzErJzpmaXJzdCBsaSAnKyR0YWcxKyI6Zmlyc3QiKS5sZW5ndGgpe3RoaXMubmVzdD0yO30KdGhpcy5zZXRMaXN0KHRoaXMuY29scywkbGlzdCwkdGFnMSk7dGhpcy5sYXN0T3RoZXItLTskbGlzdD0kKHRoaXMuY29sc1t0aGlzLm9mZnNldF0pLmZpbmQoJHRhZzErJzpmaXJzdCBsaSAnKyR0YWcxKyI6Zmlyc3QiKTtpZigkbGlzdC5sZW5ndGgpe3RoaXMuYmVmb3JlPSQodGhpcy5jb2xzW3RoaXMub2Zmc2V0LTFdKS5maW5kKCI+IiskdGFnMSsnOmxhc3QgbGkgJyskdGFnMSsiOmxhc3QiKTt0aGlzLnByZXZNYXg9MDt0aGlzLm5lc3Q9MTt0aGlzLnNldExpc3QodGhpcy5jb2xzLCRsaXN0LCR0YWcxKTt9CnZhciAkcmVzZXQ9JCh0aGlzLmNvbHNbdGhpcy5vZmZzZXQtMV0pLmZpbmQoIj4iKyR0YWcxKyc6bGFzdCcpO3RoaXMucHJldk1heD0kcmVzZXQuY2hpbGRyZW4oKS5sZW5ndGg7fX0KcmV0dXJuIDA7fTt9KShqUXVlcnkpOw=="; -},2188,[]); +},2179,[]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + Object.keys(_$$_REQUIRE(_dependencyMap[0])).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _$$_REQUIRE(_dependencyMap[0])[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _$$_REQUIRE(_dependencyMap[0])[key]; + } + }); + }); +},2180,[2181]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.MyBottomSheet = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _bottomSheet = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var MyBottomSheet = exports.MyBottomSheet = function (_React$Component) { + function MyBottomSheet(props) { + var _this; + + (0, _classCallCheck2.default)(this, MyBottomSheet); + _this = _callSuper(this, MyBottomSheet, [props]); + _this.state = { + title: global.strings("title_bottom_sheet"), + options: [], + styleContainer: {}, + textStyle: {}, + modalProps: {} + }; + return _this; + } + + (0, _inherits2.default)(MyBottomSheet, _React$Component); + return (0, _createClass2.default)(MyBottomSheet, [{ + key: "hideBottomSheet", + value: function hideBottomSheet() { + if (this.bottomSheet) { + this.bottomSheet.close(); + } + } + }, { + key: "showBottomSheet", + value: function showBottomSheet(_ref) { + var _this2 = this; + + var title = _ref.title, + _ref$options = _ref.options, + options = _ref$options === undefined ? [] : _ref$options, + _ref$styleContainer = _ref.styleContainer, + styleContainer = _ref$styleContainer === undefined ? {} : _ref$styleContainer, + _ref$textStyle = _ref.textStyle, + textStyle = _ref$textStyle === undefined ? {} : _ref$textStyle, + _ref$modalProps = _ref.modalProps, + modalProps = _ref$modalProps === undefined ? {} : _ref$modalProps; + this.setState(function (prevState) { + return { + title: title || prevState.title, + options: options, + styleContainer: styleContainer, + textStyle: textStyle, + modalProps: modalProps + }; + }, function () { + if (_this2.bottomSheet) { + _this2.bottomSheet.open(); + } + }); + } + }, { + key: "render", + value: function render() { + var _this3 = this; + + var _this$state = this.state, + options = _this$state.options, + styleContainer = _this$state.styleContainer, + textStyle = _this$state.textStyle, + modalProps = _this$state.modalProps; + + var _global$getRssIndex = global.getRssIndex(), + borderRadius = _global$getRssIndex.borderRadius; + + return (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_bottomSheet.default, { + styleContainer: Object.assign({ + backgroundColor: _$$_REQUIRE(_dependencyMap[10]).colors.white, + borderTopStartRadius: borderRadius || 0, + borderTopEndRadius: borderRadius || 0, + paddingBottom: _deviceUtils.default.insets.bottom, + overflow: "hidden" + }, styleContainer), + ref: function ref(_ref2) { + _this3.bottomSheet = _ref2; + }, + textStyle: textStyle, + backButtonEnabled: true, + coverScreen: false, + options: options, + isOpen: false, + modalProps: modalProps + }); + } + }], [{ + key: "show", + value: function show(config) { + if (MyBottomSheet.bottomSheetInstance) { + MyBottomSheet.bottomSheetInstance.showBottomSheet(config); + } + } + }, { + key: "hide", + value: function hide() { + if (MyBottomSheet.bottomSheetInstance) { + MyBottomSheet.bottomSheetInstance.hideBottomSheet(); + } + } + }]); + }(_react.default.Component); +},2181,[3,6,7,11,13,14,16,434,2182,179,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _get2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[10]); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + var _bottomSheet = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); + + var _fontText = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); + + var _shortcutList = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); + + var _modal = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var BottomSheet = function (_PureShortcut) { + function BottomSheet(props) { + var _this; + + (0, _classCallCheck2.default)(this, BottomSheet); + _this = _callSuper(this, BottomSheet, [props]); + _this.close = _this._close.bind(_this); + _this.open = _this._open.bind(_this); + _this.onModalHide = _this._onModalHide.bind(_this); + _this.onPress = _this._onPress.bind(_this); + _this.pressedItem = undefined; + _this.state = { + isOpen: props.isOpen + }; + return _this; + } + + (0, _inherits2.default)(BottomSheet, _PureShortcut); + return (0, _createClass2.default)(BottomSheet, [{ + key: "componentDidMount", + value: function componentDidMount() { + (0, _get2.default)((0, _getPrototypeOf2.default)(BottomSheet.prototype), "componentDidMount", this).call(this); + this.onOrientationChange = _$$_REQUIRE(_dependencyMap[16]).EventRegister.on(_events.default.ON_ORIENTATION_CHANGE, this.close); + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + (0, _get2.default)((0, _getPrototypeOf2.default)(BottomSheet.prototype), "componentWillUnmount", this).call(this); + + _$$_REQUIRE(_dependencyMap[16]).EventRegister.rm(this.onOrientationChange); + } + }, { + key: "_handleShortcut", + value: function _handleShortcut() { + var isOpen = this.state.isOpen; + + if (isOpen) { + var CLOSE = _$$_REQUIRE(_dependencyMap[17]).KEY_GROUPS.CLOSE, + ANY = _$$_REQUIRE(_dependencyMap[17]).KEY_GROUPS.ANY; + + return [{ + callback: this.close, + keys: CLOSE, + stopPropagation: true + }, { + callback: this.noop, + keys: ANY, + stopPropagation: true + }]; + } + + return []; + } + }, { + key: "_open", + value: function _open() { + this.pressedItem = undefined; + + this._toggle(true); + } + }, { + key: "_close", + value: function _close() { + this._toggle(false); + } + }, { + key: "_toggle", + value: function _toggle(state) { + var isOpen = this.state.isOpen; + + if (state !== isOpen) { + this.setState({ + isOpen: state + }); + } + } + }, { + key: "_onModalHide", + value: function _onModalHide() { + if (this.pressedItem && typeof this.pressedItem.onPress === "function" && this.pressedItem.waitModalHide) { + this.pressedItem.onPress(); + } + + this._close(); + + this.pressedItem = undefined; + } + }, { + key: "_onPress", + value: function _onPress(item) { + this.pressedItem = item; + + this._close(); + + if (item.waitModalHide === undefined || item.waitModalHide === false) { + item.onPress(); + } + } + }, { + key: "renderContent", + value: function renderContent() { + var _this2 = this; + + var _this$props = this.props, + options = _this$props.options, + children = _this$props.children, + textStyle = _this$props.textStyle, + itemDivider = _this$props.itemDivider, + shortcutPriority = _this$props.shortcutPriority; + var isOpen = this.state.isOpen; + + if (options && options.length) { + return (0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_shortcutList.default, { + data: options, + plainData: options, + keyExtractor: function keyExtractor(item, index) { + return "bottom_sheet_item_" + index; + }, + shortcutEnabled: isOpen, + shortcutPriority: shortcutPriority + 1, + onPress: this.onPress, + renderItem: function renderItem(_ref) { + var item = _ref.item, + index = _ref.index, + focusedItem = _ref.focusedItem; + var tStyle = [_bottomSheet.default.text]; + + if (Array.isArray(textStyle)) { + tStyle.push.apply(tStyle, (0, _toConsumableArray2.default)(textStyle)); + } else { + tStyle.push(textStyle); + } + + if (item.textStyle) { + tStyle.push(item.textStyle); + } + + var focused = _$$_REQUIRE(_dependencyMap[19]).JSUtils.areEqualShallow(item, focusedItem); + + var focusStyle = {}; + + if (focused) { + focusStyle.backgroundColor = _$$_REQUIRE(_dependencyMap[19]).colors.keyboardHighlight; + } + + return (0, _$$_REQUIRE(_dependencyMap[18]).jsxs)(_reactNative.View, { + style: [{ + flexDirection: "column" + }, item.containerStyle], + children: [(0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.TouchableOpacity, { + onPress: function onPress() { + _this2.onPress(item); + }, + activeOpacity: 0.5, + children: (0, _$$_REQUIRE(_dependencyMap[18]).jsxs)(_reactNative.View, { + style: [_bottomSheet.default.item, item.style, focusStyle], + children: [item.icon, (0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_fontText.default, { + style: tStyle, + children: item.title + })] + }) + }), itemDivider === index + 1 && (0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.View, { + style: _bottomSheet.default.separator + })] + }, index); + } + }); + } + + return children; + } + }, { + key: "render", + value: function render() { + var _this$props2 = this.props, + styleContainer = _this$props2.styleContainer, + _this$props2$modalPro = _this$props2.modalProps, + modalProps = _this$props2$modalPro === undefined ? {} : _this$props2$modalPro; + var isOpen = this.state.isOpen; + return (0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_modal.default, Object.assign({ + visible: isOpen, + onHide: this.onModalHide + }, modalProps, { + style: { + justifyContent: "flex-end", + margin: 0, + padding: 0 + }, + containerStyle: { + borderBottomLeftRadius: 0, + borderBottomRightRadius: 0, + padding: 0, + marginBottom: 0 + }, + children: (0, _$$_REQUIRE(_dependencyMap[18]).jsx)(_reactNative.View, { + collapsable: false, + style: styleContainer, + children: this.renderContent() + }) + })); + } + }]); + }(_$$_REQUIRE(_dependencyMap[20]).PureShortcut); + + BottomSheet.propTypes = Object.assign({ + options: _propTypes.default.arrayOf(_propTypes.default.shape({ + onPress: _propTypes.default.func, + icon: _propTypes.default.node, + waitModalHide: _propTypes.default.bool, + title: _propTypes.default.string, + style: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object, _propTypes.default.array]), + containerStyle: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object, _propTypes.default.array]), + textStyle: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object, _propTypes.default.array]) + })), + isOpen: _propTypes.default.bool, + itemDivider: _propTypes.default.number, + styleContainer: _propTypes.default.object, + textStyle: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object, _propTypes.default.array]), + children: _propTypes.default.any, + modalProps: _propTypes.default.object + }, _$$_REQUIRE(_dependencyMap[20]).PureShortcut.propTypes); + BottomSheet.defaultProps = { + isOpen: false, + modalProps: {}, + shortcutEnabled: true, + shortcutPriority: 100 + }; + + var _default = exports.default = BottomSheet; +},2182,[3,22,6,7,11,85,13,14,16,582,18,436,2183,814,2184,828,564,1908,179,438,1984]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var _default = exports.default = _reactNative.StyleSheet.create({ + text: { + paddingHorizontal: 32, + textAlignVertical: "center", + color: "#000" + }, + item: { + flexDirection: "row", + height: 48, + alignItems: "center", + paddingLeft: 16, + paddingRight: 16 + }, + title: { + height: 42, + color: "#000", + opacity: 0.54, + marginLeft: 16 + }, + separator: { + height: 1 / _reactNative.PixelRatio.get(), + backgroundColor: "#CCCCCC", + marginTop: 7, + marginBottom: 8, + width: "100%" + } + }); +},2183,[18]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _toConsumableArray2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[11]); + + var _excluded = ["plainData", "renderItem", "accessibilityEnabled", "contentContainerStyle", "ListHeaderComponent", "refreshControl"]; + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var ShortcutList = exports.default = function (_Shortcut) { + function ShortcutList(props) { + var _this; + + (0, _classCallCheck2.default)(this, ShortcutList); + _this = _callSuper(this, ShortcutList, [props]); + _this._listRef = _react.default.createRef(); + _this._itemsLayout = []; + _this._scrollOffsetY = 0; + _this._scrollHeight = 0; + _this._fingerItemIndex = -1; + _this.what = _this._what.bind(_this); + _this.focusUpItem = _this._focusUpItem.bind(_this); + _this.focusDownItem = _this._focusDownItem.bind(_this); + _this.selectFocusedItem = _this._selectFocusedItem.bind(_this); + _this.resetFocusedItem = _this._resetFocusedItem.bind(_this); + _this.onRef = _this._onRef.bind(_this); + _this.onScroll = _this._onScroll.bind(_this); + _this.onMomentumScrollEnd = _this._onMomentumScrollEnd.bind(_this); + _this.onHeaderLayout = _this._onHeaderLayout.bind(_this); + _this.onPanEvent = _this._onPanEvent.bind(_this); + _this.onContentSizeChange = _this._onContentSizeChange.bind(_this); + _this.onLayout = _this._onLayout.bind(_this); + _this.state = { + focusedItem: undefined, + snapToOffsets: undefined + }; + return _this; + } + + (0, _inherits2.default)(ShortcutList, _Shortcut); + return (0, _createClass2.default)(ShortcutList, [{ + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps, prevState) { + var focusedItem = this.state.focusedItem; + + if (focusedItem !== prevState.focusedItem) { + this._what(); + } + } + }, { + key: "scrollDown", + value: function scrollDown() { + if (this._listRef) { + try { + this._listRef.scrollToOffset({ + animated: !_$$_REQUIRE(_dependencyMap[12]).PlatformUtils.isEInk(), + offset: this._scrollOffsetY + this._listLayout.height + }); + } catch (e) {} + } + } + }, { + key: "scrollUp", + value: function scrollUp() { + if (this._listRef) { + try { + this._listRef.scrollToOffset({ + animated: !_$$_REQUIRE(_dependencyMap[12]).PlatformUtils.isEInk(), + offset: this._scrollOffsetY - this._listLayout.height + }); + } catch (e) {} + } + } + }, { + key: "_what", + value: function _what() { + var _this$props = this.props, + readFocusedItem = _this$props.readFocusedItem, + onRead = _this$props.onRead; + var focusedItem = this.state.focusedItem; + + if (readFocusedItem && focusedItem) { + if (typeof focusedItem === "string") { + global.getAudio().ttsStart(focusedItem); + } else if (typeof onRead === "function") { + var toRead = onRead(focusedItem); + + if (toRead) { + global.getAudio().ttsStart(toRead); + } + } else {} + } + } + }, { + key: "_handleShortcut", + value: function _handleShortcut() { + var isActive = this.props.isActive; + + if (isActive()) { + var focusedItem = this.state.focusedItem; + + var UP = _$$_REQUIRE(_dependencyMap[13]).KEY_GROUPS.UP, + DOWN = _$$_REQUIRE(_dependencyMap[13]).KEY_GROUPS.DOWN, + SELECT = _$$_REQUIRE(_dependencyMap[13]).KEY_GROUPS.SELECT; + + var ITEM_UP = _$$_REQUIRE(_dependencyMap[13]).VOICE_GROUPS.ITEM_UP, + ITEM_DOWN = _$$_REQUIRE(_dependencyMap[13]).VOICE_GROUPS.ITEM_DOWN, + ITEM_SELECT = _$$_REQUIRE(_dependencyMap[13]).VOICE_GROUPS.ITEM_SELECT, + WHAT = _$$_REQUIRE(_dependencyMap[13]).VOICE_GROUPS.WHAT; + + return [{ + callbackRepeat: this.focusUpItem, + keys: UP + }, { + callback: this.focusUpItem, + keys: ITEM_UP() + }, { + callback: this.what, + keys: WHAT() + }, { + callbackRepeat: this.focusDownItem, + keys: ["TAB"].concat((0, _toConsumableArray2.default)(DOWN)) + }, { + callback: this.focusDownItem, + keys: ITEM_DOWN() + }, { + callback: this.selectFocusedItem, + keys: SELECT, + stopPropagation: !!focusedItem + }, { + callback: this.selectFocusedItem, + keys: ITEM_SELECT(), + stopPropagation: !!focusedItem + }]; + } + + return []; + } + }, { + key: "_onRef", + value: function _onRef(ref) { + this._listRef = ref; + } + }, { + key: "_onHeaderLayout", + value: function _onHeaderLayout(_ref) { + var nativeEvent = _ref.nativeEvent; + this._headerLayout = nativeEvent.layout; + } + }, { + key: "_onItemLayout", + value: function _onItemLayout(_ref2, index) { + var nativeEvent = _ref2.nativeEvent; + this._itemsLayout[index] = nativeEvent.layout; + } + }, { + key: "_onLayout", + value: function _onLayout(_ref3) { + var nativeEvent = _ref3.nativeEvent; + this._listLayout = nativeEvent.layout; + + this._evaluateSnapToOffset(); + } + }, { + key: "_onScroll", + value: function _onScroll(_ref4) { + var nativeEvent = _ref4.nativeEvent; + this._scrollOffsetY = nativeEvent.contentOffset.y; + } + }, { + key: "_onMomentumScrollEnd", + value: function _onMomentumScrollEnd(_ref5) { + var nativeEvent = _ref5.nativeEvent; + var _this$props2 = this.props, + onPageChange = _this$props2.onPageChange, + onPageRead = _this$props2.onPageRead; + var scrollY = nativeEvent.contentOffset.y; + var pageSize = nativeEvent.layoutMeasurement.height; + var page = scrollY % pageSize === 0 ? scrollY / pageSize : Math.floor(scrollY / pageSize) + 1; + + if (typeof onPageChange === "function") { + onPageChange(page); + } + + if (typeof onPageRead === "function") { + var toRead = onPageRead(page); + + if (toRead) { + global.getAudio().ttsStart(toRead); + } + } + } + }, { + key: "_onPanEvent", + value: function _onPanEvent(_ref6) { + var nativeEvent = _ref6.nativeEvent; + + try { + if (nativeEvent.state === _$$_REQUIRE(_dependencyMap[14]).State.ACTIVE) { + var plainData = this.props.plainData; + var y = nativeEvent.y; + var scrollY; + + if (this._headerLayout) { + scrollY = y + this._scrollOffsetY - (this._headerLayout.height || 0); + } else { + scrollY = y + this._scrollOffsetY; + } + + var progressiveHeight = 0; + var fingerItemIndex = -1; + + for (var i = 0; i < this._itemsLayout.length; i++) { + var height = this._getItemHeight(i); + + if (scrollY >= progressiveHeight && scrollY <= progressiveHeight + height) { + fingerItemIndex = i; + break; + } + + progressiveHeight += height; + } + + if (this._fingerItemIndex !== fingerItemIndex) { + this._fingerItemIndex = fingerItemIndex; + var focusedItem = plainData[fingerItemIndex]; + + if (focusedItem) { + this.setState({ + focusedItem: focusedItem + }); + } + } + } + } catch (e) {} + } + }, { + key: "_getItemHeight", + value: function _getItemHeight(index) { + var plainData = this.props.plainData; + var itemHeight; + + if (this._itemsLayout[index]) { + itemHeight = this._itemsLayout[index].height; + } else { + itemHeight = this._scrollHeight / plainData.length; + } + + return itemHeight; + } + }, { + key: "_onContentSizeChange", + value: function _onContentSizeChange(width, height) { + this._scrollHeight = height; + + this._evaluateSnapToOffset(); + } + }, { + key: "_evaluateSnapToOffset", + value: function _evaluateSnapToOffset() { + var accessibilityEnabled = this.props.accessibilityEnabled; + + if (this._listLayout && this._listLayout.height && this._scrollHeight && accessibilityEnabled && !_$$_REQUIRE(_dependencyMap[12]).PlatformUtils.isSystemAccessibilityEnabled()) { + var pages = Math.ceil(this._scrollHeight, this._listLayout.height); + var rest = this._scrollHeight % this._listLayout.height; + var snapToOffsets = []; + + for (var i = 0; i < pages; i++) { + if (i === pages - 1) { + snapToOffsets[i] = rest; + } else { + snapToOffsets[i] = this._listLayout.height; + } + } + + this.setState({ + snapToOffsets: snapToOffsets + }); + } + } + }, { + key: "_getFocusedViewIndex", + value: function _getFocusedViewIndex(focusedItem) { + var list = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.props.plainData; + + if (focusedItem) { + return list.findIndex(function (item) { + return _$$_REQUIRE(_dependencyMap[12]).JSUtils.equals(item, focusedItem); + }); + } + + return -1; + } + }, { + key: "_getCurrentItemPosition", + value: function _getCurrentItemPosition() { + var focusedItem = this.state.focusedItem; + return this._getFocusedViewIndex(focusedItem); + } + }, { + key: "_scrollToFocused", + value: function _scrollToFocused(focusedItem) { + var _this2 = this; + + var _this$props3 = this.props, + data = _this$props3.data, + plainData = _this$props3.plainData; + var index; + + if (_$$_REQUIRE(_dependencyMap[12]).JSUtils.equals(data, plainData)) { + index = this._getFocusedViewIndex(focusedItem); + } else { + index = data.findIndex(function (subData) { + return _this2._getFocusedViewIndex(focusedItem, subData) !== -1; + }); + } + + index = Math.max(0, index); + + this._scrollToIndex(index); + } + }, { + key: "_focusUpItem", + value: function () { + var _focusUpItem2 = (0, _asyncToGenerator2.default)(function* () { + var plainData = this.props.plainData; + + var index = this._getCurrentItemPosition(); + + if (index <= 0) { + index = plainData.length; + } + + var focusedItem = plainData[index - 1]; + + this._scrollToFocused(focusedItem); + + return this.setStatePromise({ + focusedItem: focusedItem + }); + }); + + function _focusUpItem() { + return _focusUpItem2.apply(this, arguments); + } + + return _focusUpItem; + }() + }, { + key: "_focusDownItem", + value: function () { + var _focusDownItem2 = (0, _asyncToGenerator2.default)(function* () { + var plainData = this.props.plainData; + + var index = this._getCurrentItemPosition(); + + if (index >= plainData.length - 1) { + index = -1; + } + + var focusedItem = plainData[index + 1]; + + this._scrollToFocused(focusedItem); + + return this.setStatePromise({ + focusedItem: focusedItem + }); + }); + + function _focusDownItem() { + return _focusDownItem2.apply(this, arguments); + } + + return _focusDownItem; + }() + }, { + key: "_selectFocusedItem", + value: function _selectFocusedItem() { + var focusedItem = this.state.focusedItem; + var onPress = this.props.onPress; + + if (typeof onPress === "function" && focusedItem) { + onPress(focusedItem, Math.max(0, this._getCurrentItemPosition(focusedItem))); + } + } + }, { + key: "_resetFocusedItem", + value: function _resetFocusedItem() { + var _this3 = this; + + var focusedItem = this.state.focusedItem; + + if (focusedItem !== undefined) { + this.setState({ + focusedItem: undefined + }, function () { + _this3._scrollToIndex(0); + }); + } + } + }, { + key: "_scrollToIndex", + value: function _scrollToIndex(index) { + if (this._listRef) { + try { + this._listRef.scrollToIndex({ + index: index + }); + } catch (e) {} + } + } + }, { + key: "render", + value: function render() { + var _this4 = this; + + var _this$props4 = this.props, + plainData = _this$props4.plainData, + renderItem = _this$props4.renderItem, + accessibilityEnabled = _this$props4.accessibilityEnabled, + contentContainerStyle = _this$props4.contentContainerStyle, + ListHeaderComponent = _this$props4.ListHeaderComponent, + refreshControl = _this$props4.refreshControl, + rest = (0, _objectWithoutProperties2.default)(_this$props4, _excluded); + var _this$state = this.state, + focusedItem = _this$state.focusedItem, + snapToOffsets = _this$state.snapToOffsets; + var simulateAccessibility = accessibilityEnabled && !_$$_REQUIRE(_dependencyMap[12]).PlatformUtils.isSystemAccessibilityEnabled(); + var listProps = {}; + + if (simulateAccessibility) { + listProps.pagingEnabled = true; + listProps.onMomentumScrollEnd = this.onMomentumScrollEnd; + + listProps.renderScrollComponent = function (props) { + return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_$$_REQUIRE(_dependencyMap[16]).TecnaviaScrollView, Object.assign({}, props, { + minPointers: 2 + })); + }; + + listProps.ListHeaderComponent = ListHeaderComponent ? (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.View, { + onLayout: this.onHeaderLayout, + children: ListHeaderComponent + }) : null; + + listProps.renderItem = function (_ref7) { + var item = _ref7.item, + index = _ref7.index; + return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.View, { + onLayout: function onLayout(e) { + _this4._onItemLayout(e, index); + }, + children: renderItem({ + item: item, + index: index, + focusedItem: focusedItem + }) + }); + }; + + if (snapToOffsets) { + listProps.snapToOffsets = snapToOffsets; + } + } else { + if (!accessibilityEnabled) { + listProps.refreshControl = refreshControl; + } + + listProps.renderScrollComponent = function (props) { + return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_$$_REQUIRE(_dependencyMap[16]).TecnaviaScrollView, Object.assign({}, props)); + }; + + listProps.ListHeaderComponent = ListHeaderComponent; + + listProps.renderItem = function (_ref8) { + var item = _ref8.item, + index = _ref8.index; + return renderItem({ + item: item, + index: index, + focusedItem: focusedItem + }); + }; + } + + var ScrollComponent = (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_$$_REQUIRE(_dependencyMap[17]).TecnaviaFlatList, Object.assign({}, rest, { + ref: this.onRef, + onLayout: this.onLayout, + onContentSizeChange: this.onContentSizeChange, + onScroll: this.onScroll, + scrollEventThrottle: 16, + contentContainerStyle: contentContainerStyle + }, listProps)); + + if (simulateAccessibility) { + return (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_$$_REQUIRE(_dependencyMap[14]).PanGestureHandler, { + maxPointers: 1, + onGestureEvent: this.onPanEvent, + children: (0, _$$_REQUIRE(_dependencyMap[15]).jsx)(_reactNative.Animated.View, { + collapsable: false, + style: contentContainerStyle, + children: ScrollComponent + }) + }); + } + + return ScrollComponent; + } + }]); + }(_$$_REQUIRE(_dependencyMap[18]).Shortcut); + + ShortcutList.propTypes = Object.assign({ + plainData: _propTypes.default.array.isRequired, + readFocusedItem: _propTypes.default.bool, + onRead: _propTypes.default.func, + isActive: _propTypes.default.func, + onPageRead: _propTypes.default.func, + onPageChange: _propTypes.default.func + }, _$$_REQUIRE(_dependencyMap[18]).Shortcut.propTypes); + ShortcutList.defaultProps = Object.assign({}, _$$_REQUIRE(_dependencyMap[18]).Shortcut.defaultProps, { + shortcutEnabled: true, + readFocusedItem: false, + isActive: function isActive() { + return true; + } + }); +},2184,[3,4,270,22,6,7,11,13,14,16,582,18,438,1908,1,179,2107,2112,1984]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + Object.keys(_$$_REQUIRE(_dependencyMap[0])).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _$$_REQUIRE(_dependencyMap[0])[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _$$_REQUIRE(_dependencyMap[0])[key]; + } + }); + }); +},2185,[2052]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -297214,7 +296894,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e onPress: _propTypes.default.func, children: _propTypes.default.any }; -},2189,[3,33,4,22,16,568,18,800,2190,2160,436,1998,179,803,438,550]); +},2186,[3,33,4,22,16,582,18,814,2187,2151,436,1965,179,817,438,564]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -297343,7 +297023,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e flex: 1 } }); -},2190,[18,811,438]); +},2187,[18,825,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -297369,7 +297049,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e justifyContent: "space-between" } }); -},2191,[18]); +},2188,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -297725,7 +297405,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e onOpenGallery: _propTypes.default.func, maxHeight: _propTypes.default.number.isRequired }; -},2192,[3,270,6,7,11,13,14,568,16,18,1974,2193,179,803,1807,1,438,1937,1923,1919]); +},2189,[3,270,6,7,11,13,14,582,16,18,1941,2190,179,817,1807,1,438,2107,2185,2040]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -297798,7 +297478,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.white } }); -},2193,[18,438]); +},2190,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -297876,7 +297556,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e ArticleFling.defaultProps = {}; var _default = exports.default = ArticleFling; -},2194,[3,16,568,18,2162,1,438,179]); +},2191,[3,16,582,18,2153,1,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -298059,7 +297739,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e HeaderParent.defaultProps = { header: false }; -},2195,[3,4,270,6,7,11,13,14,16,568,18,2196,800,848,650,1928,179,803,438,2197,1857]); +},2192,[3,4,270,6,7,11,13,14,16,582,18,2193,814,862,664,2039,179,817,438,2194,1857]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -298113,7 +297793,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e marginHorizontal: 15 } }); -},2196,[18,811,438]); +},2193,[18,825,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -298267,7 +297947,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e logoHeight: _$$_REQUIRE(_dependencyMap[16]).LOGO_HEIGHT, style: undefined }; -},2197,[3,270,6,7,11,13,14,568,16,18,2198,2199,438,179,803,1858,811]); +},2194,[3,270,6,7,11,13,14,582,16,18,2195,2196,438,179,817,1858,825]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -298420,7 +298100,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e style: _propTypes.default.any, source: _propTypes.default.any }; -},2198,[3,4,6,7,11,13,14,16,568,574,179]); +},2195,[3,4,6,7,11,13,14,16,582,588,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -298442,7 +298122,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e height: _$$_REQUIRE(_dependencyMap[1]).LOGO_HEIGHT } }); -},2199,[18,811]); +},2196,[18,825]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -298766,7 +298446,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e InterstitialsHelper.prebidInitialized = false; InterstitialsHelper.showingNativeInterstitial = false; -},2200,[3,270,6,7,2022,2023,2025,2026,654,865,2201,2202,438]); +},2197,[3,270,6,7,2000,2001,2003,2004,668,879,2198,2199,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -298907,7 +298587,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2201,[3,22,6,7,1898,803,438]); +},2198,[3,22,6,7,1907,817,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -299090,7 +298770,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(_react.default.Component); InterstitialContainer.popup = {}; -},2202,[3,270,6,7,11,13,14,16,18,2203,434,2204,2023,179]); +},2199,[3,270,6,7,11,13,14,16,18,2200,434,2201,2001,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -299109,7 +298789,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.transparent } }); -},2203,[18,438]); +},2200,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -299347,7 +299027,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e Interstitial.defaultProps = { innerRef: function innerRef() {} }; -},2204,[3,270,6,7,11,13,14,568,16,18,2022,2023,1906,434,2205,2203,179,1897,1927,1919]); +},2201,[3,270,6,7,11,13,14,582,16,18,2000,2001,1915,434,2202,2200,179,1910,2055,2040]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -299452,7 +299132,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e showAfter: _propTypes.default.number, onClose: _propTypes.default.func }; -},2205,[3,6,7,11,13,14,16,568,434,2206,438,803,179]); +},2202,[3,6,7,11,13,14,16,582,434,2203,438,817,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -299536,7 +299216,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e CloseComponent.defaultProps = { cssClasses: [] }; -},2206,[3,6,7,11,13,14,16,18,568,1807,2207,179,1,803]); +},2203,[3,6,7,11,13,14,16,18,582,1807,2204,179,1,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -299574,7 +299254,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e color: _$$_REQUIRE(_dependencyMap[1]).colors.white } }); -},2207,[18,438]); +},2204,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -299723,7 +299403,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e })] }); } -},2208,[3,16,2209,2465,2651,1888,2652,2654,2655,2656,2657,2658,2211,2219,179,2660]); +},2205,[3,16,2206,2462,2650,1881,2651,2653,2654,2655,2656,2657,2208,2216,179,2659]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -299918,7 +299598,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[22]).NavigatorBaseScreen); -},2209,[3,270,6,7,11,85,13,14,16,436,2210,2067,2201,2212,2152,550,850,438,1850,2214,179,2213,2464]); +},2206,[3,270,6,7,11,85,13,14,16,436,2207,2056,2198,2209,2143,564,864,438,1850,2211,179,2210,2461]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -300112,7 +299792,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }) }); } -},2210,[3,16,2211,2219,1888,2226,2087,2227,2048,850,179,2240,1939,2241,2370,2393,2395,2396]); +},2207,[3,16,2208,2216,1881,2223,2076,2224,2026,864,179,2238,1984,2239,2367,2390,2392,2393]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -300421,7 +300101,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e WebScreen.defaultProps = { considerSafeArea: true }; -},2211,[3,270,6,7,11,85,13,14,568,16,2212,1898,436,1889,1901,2201,1928,852,840,550,2214,438,1929,179,1927,1919,2213]); +},2208,[3,270,6,7,11,85,13,14,582,16,2209,1907,436,2049,1912,2198,2039,866,854,564,2211,438,1976,179,2055,2040,2210]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -300532,7 +300212,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return null; } -},2212,[3,33,16,18,436,438,550,2213,179]); +},2209,[3,33,16,18,436,438,564,2210,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -300597,7 +300277,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e children: children })); } -},2213,[3,4,16,18,434,883,179]); +},2210,[3,4,16,18,434,897,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -300612,7 +300292,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2214,[2215]); +},2211,[2212]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -300948,7 +300628,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e NavigationBaseScreen.defaultProps = { enablePostponeAction: false }; -},2215,[3,22,270,6,7,11,85,13,14,568,16,18,436,2216,865,1897,550,1929,438,798]); +},2212,[3,22,270,6,7,11,85,13,14,582,16,18,436,2213,879,1910,564,1976,438,812]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -301159,7 +300839,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e UPGRADED: 2, UPDATED: 3 }; -},2216,[3,270,6,7,848,1864,2087,865,552,2217,438,801]); +},2213,[3,270,6,7,862,1864,2076,879,566,2214,438,815]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -301191,71 +300871,65 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var ANALYTICS_PATH_RESPONSE_YES = "/yes"; var ANALYTICS_PATH_RESPONSE_NO = "/no"; var ANALYTICS_PATH_RESPONSE_DONT_SHOW_AGAIN = "/dontShowAgain"; + var _FeedbackHelper$SP$ke = _FeedbackHelper.default.SP.keys, + active_days_near = _FeedbackHelper$SP$ke.active_days_near, + active_days_total = _FeedbackHelper$SP$ke.active_days_total, + date_session = _FeedbackHelper$SP$ke.date_session, + dialog_timestamp = _FeedbackHelper$SP$ke.dialog_timestamp, + next_dialog_timestamp = _FeedbackHelper$SP$ke.next_dialog_timestamp, + feedback_timestamp = _FeedbackHelper$SP$ke.feedback_timestamp, + user_left_review = _FeedbackHelper$SP$ke.user_left_review, + user_no_show_review_dialog = _FeedbackHelper$SP$ke.user_no_show_review_dialog, + user_no_show_review_timestamp = _FeedbackHelper$SP$ke.user_no_show_review_timestamp, + user_no_show_review_version = _FeedbackHelper$SP$ke.user_no_show_review_version, + user_left_review_app_version = _FeedbackHelper$SP$ke.user_left_review_app_version, + user_likes_app = _FeedbackHelper$SP$ke.user_likes_app, + user_left_feedback = _FeedbackHelper$SP$ke.user_left_feedback, + user_no_show_review_dialog_timestamp = _FeedbackHelper$SP$ke.user_no_show_review_dialog_timestamp; var Feedback = exports.Feedback = function () { function Feedback() { (0, _classCallCheck2.default)(this, Feedback); - this.feedbackLowerActiveDateRange = 1; - this.feedbackUpperActiveDateRange = 3; - this.feedbackActiveDaysToShow = 7; - this.feedbackTotalDaysToShow = 20; - this.feedbackRequestFeedbackTitle = ""; - this.feedbackRequestReviewFeedbackTitle = ""; - this.feedbackAskForFeedback = ""; + this.enabled = false; } return (0, _createClass2.default)(Feedback, [{ key: "init", value: function () { var _init = (0, _asyncToGenerator2.default)(function* () { - this.userLikesApp = yield this.getValue(_FeedbackHelper.default.SP.keys.user_likes_app); - this.userAlreadyLeftReview = (yield this.getValue(_FeedbackHelper.default.SP.keys.user_left_review)) === "1"; - this.userAlreadyLeftFeedback = (yield this.getValue(_FeedbackHelper.default.SP.keys.user_left_feedback)) === "1"; - this.userNoShowReviewDialog = (yield this.getValue(_FeedbackHelper.default.SP.keys.user_no_show_review_dialog)) === "1"; - this.userNoShowReviewVersion = yield this.getValue(_FeedbackHelper.default.SP.keys.user_no_show_review_version); - this.dateSession = yield this.getIntValue(_FeedbackHelper.default.SP.keys.date_session); - this.lastDialogTimestamp = yield this.getValue(_FeedbackHelper.default.SP.keys.dialog_timestamp); - this.nextDialogTimestamp = yield this.getValue(_FeedbackHelper.default.SP.keys.next_dialog_timestamp); - this.lastReviewTimestamp = yield this.getValue(_FeedbackHelper.default.SP.keys.feedback_timestamp); - this.lastDoNotShowTimestamp = yield this.getValue(_FeedbackHelper.default.SP.keys.user_no_show_review_timestamp); - yield global.analyzeUsedSpace(); + this.userLikesApp = yield this.getValue(user_likes_app); + this.userAlreadyLeftReview = (yield this.getValue(user_left_review)) === "1"; + this.userAlreadyLeftFeedback = (yield this.getValue(user_left_feedback)) === "1"; + this.userNoShowReviewDialog = (yield this.getValue(user_no_show_review_dialog)) === "1"; + this.userNoShowReviewVersion = yield this.getValue(user_no_show_review_version); + this.dateSession = yield this.getIntValue(date_session); + this.lastDialogTimestamp = yield this.getValue(dialog_timestamp); + this.nextDialogTimestamp = yield this.getValue(next_dialog_timestamp); + this.lastReviewTimestamp = yield this.getValue(feedback_timestamp); + this.lastDoNotShowTimestamp = yield this.getValue(user_no_show_review_timestamp); var _global$getMainPSetup = global.getMainPSetup(), feedbackEnabled = _global$getMainPSetup.feedbackEnabled, feedbackConfig = _global$getMainPSetup.feedbackConfig; - this.feedbackEnabled = feedbackEnabled; - - if (feedbackConfig) { - var showDontShowAgain = feedbackConfig.showDontShowAgain, - lowerActiveDateRange = feedbackConfig.lowerActiveDateRange, - upperActiveDateRange = feedbackConfig.upperActiveDateRange, - activeDaysToShow = feedbackConfig.activeDaysToShow, - totalDaysToShow = feedbackConfig.totalDaysToShow, - requestFeedbackTitle = feedbackConfig.requestFeedbackTitle, - requestReviewFeedbackTitle = feedbackConfig.requestReviewFeedbackTitle, - askForFeedback = feedbackConfig.askForFeedback, - resetTimestamp = feedbackConfig.resetTimestamp; - this.feedbackShowDontShowAgain = showDontShowAgain; - this.feedbackLowerActiveDateRange = lowerActiveDateRange; - this.feedbackUpperActiveDateRange = upperActiveDateRange; - this.feedbackActiveDaysToShow = activeDaysToShow; - this.feedbackTotalDaysToShow = totalDaysToShow; - this.feedbackRequestFeedbackTitle = requestFeedbackTitle || global.strings("feedback_title_request_feedback"); - this.feedbackRequestReviewFeedbackTitle = requestReviewFeedbackTitle || global.strings("feedback_title_request_review_feedback"); - this.feedbackAskForFeedback = askForFeedback || global.strings("feedback_msg_ask_for_feedback"); + if (feedbackEnabled && feedbackConfig) { + this.enabled = feedbackEnabled; this.resetDoNotShowAgainAfterUpgrade = this.getAppVersion() !== this.userNoShowReviewVersion; if (this.userNoShowReviewDialog && this.resetDoNotShowAgainAfterUpgrade) { this.userNoShowReviewDialog = false; - this.setValue(_FeedbackHelper.default.SP.keys.user_no_show_review_dialog, "0"); - this.setValue(_FeedbackHelper.default.SP.keys.user_no_show_review_timestamp, ""); - this.setValue(_FeedbackHelper.default.SP.keys.user_no_show_review_version, ""); + this.setValue(user_no_show_review_dialog, "0"); + this.setValue(user_no_show_review_timestamp, ""); + this.setValue(user_no_show_review_version, ""); } + var resetTimestamp = feedbackConfig.resetTimestamp; + if (this.checkTimestampToReset(resetTimestamp)) { this.dateSession = undefined; } + + yield global.analyzeUsedSpace(); } }); @@ -301307,18 +300981,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, { key: "baseFeedbackCondition", value: function baseFeedbackCondition() { - if (global.isTaAddon()) { - return false; - } - - if (!this.feedbackEnabled) { - return false; - } - if (!this.dateSession) { return false; } + var _global$getMainPSetup2 = global.getMainPSetup(), + feedbackConfig = _global$getMainPSetup2.feedbackConfig; + + if (!feedbackConfig) { + return false; + } + + var lowerActiveDateRange = feedbackConfig.lowerActiveDateRange; + var timeDif = new Date().getTime() - this.dateSession; + + if (timeDif < lowerActiveDateRange) { + return false; + } + if (this.userLikesApp === "0") { return false; } @@ -301335,58 +301015,75 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return false; } - var coolDownCheck = true; - if (this.nextDialogTimestamp) { - coolDownCheck = _$$_REQUIRE(_dependencyMap[10]).DateUtils.getCurrentDateString() >= this.nextDialogTimestamp; + return _$$_REQUIRE(_dependencyMap[10]).DateUtils.getCurrentDateString() >= this.nextDialogTimestamp; } - return coolDownCheck; + return true; + } + }, { + key: "initBaseValues", + value: function initBaseValues() { + this.setActiveDaysNear(1); + this.setActiveDaysTotal(1); + this.setValue(dialog_timestamp, ""); + this.setValue(next_dialog_timestamp, ""); + this.setValue(feedback_timestamp, ""); + this.setValue(user_left_review, "0"); + this.setValue(user_no_show_review_dialog, "0"); + this.setValue(user_no_show_review_timestamp, ""); + this.setValue(user_no_show_review_version, ""); + this.setValue(user_left_review_app_version, ""); + this.setValue(user_left_feedback, ""); + this.removeValue(user_likes_app); } }, { key: "checkFeedback", value: function () { var _checkFeedback = (0, _asyncToGenerator2.default)(function* () { - if (this.baseFeedbackCondition()) { - var timeDif = new Date().getTime() - this.dateSession; + if (!this.enabled) { + return; + } - if (timeDif > this.feedbackLowerActiveDateRange && timeDif < this.feedbackUpperActiveDateRange) { - var activeDaysNear = (yield this.getIntValue(_FeedbackHelper.default.SP.keys.active_days_near)) + 1; - var activeDaysTotal = (yield this.getIntValue(_FeedbackHelper.default.SP.keys.active_days_total)) + 1; - this.setValue(_FeedbackHelper.default.SP.keys.date_session, new Date().getTime()); - this.setActiveDaysNear(activeDaysNear); - this.setActiveDaysTotal(activeDaysTotal); + if (!this.dateSession) { + this.setValue(date_session, new Date().getTime()); + this.initBaseValues(); + return; + } - if (activeDaysNear > this.feedbackActiveDaysToShow) { - this.requestUserFeedback(); - } else if (activeDaysTotal > this.feedbackTotalDaysToShow) { - this.requestUserFeedback(); - } - } else if (timeDif > this.feedbackUpperActiveDateRange) { - var _activeDaysTotal = (yield this.getIntValue(_FeedbackHelper.default.SP.keys.active_days_total)) + 1; + if (!this.baseFeedbackCondition()) { + return; + } - this.setValue(_FeedbackHelper.default.SP.keys.date_session, new Date().getTime()); - this.setActiveDaysNear(1); - this.setActiveDaysTotal(_activeDaysTotal); + var _global$getMainPSetup3 = global.getMainPSetup(), + feedbackConfig = _global$getMainPSetup3.feedbackConfig; - if (_activeDaysTotal > this.feedbackTotalDaysToShow) { - this.requestUserFeedback(); - } - } - } else if (!this.dateSession) { - this.setValue(_FeedbackHelper.default.SP.keys.date_session, new Date().getTime()); - this.setActiveDaysNear(1); - this.setActiveDaysTotal(1); - this.setValue(_FeedbackHelper.default.SP.keys.dialog_timestamp, ""); - this.setValue(_FeedbackHelper.default.SP.keys.next_dialog_timestamp, ""); - this.setValue(_FeedbackHelper.default.SP.keys.feedback_timestamp, ""); - this.setValue(_FeedbackHelper.default.SP.keys.user_left_review, "0"); - this.setValue(_FeedbackHelper.default.SP.keys.user_no_show_review_dialog, "0"); - this.setValue(_FeedbackHelper.default.SP.keys.user_no_show_review_timestamp, ""); - this.setValue(_FeedbackHelper.default.SP.keys.user_no_show_review_version, ""); - this.setValue(_FeedbackHelper.default.SP.keys.user_left_review_app_version, ""); - this.setValue(_FeedbackHelper.default.SP.keys.user_left_feedback, ""); - this.removeValue(_FeedbackHelper.default.SP.keys.user_likes_app); + if (!feedbackConfig) { + return; + } + + var activeDaysToShow = feedbackConfig.activeDaysToShow, + totalDaysToShow = feedbackConfig.totalDaysToShow, + totalDaysToShowFirstTime = feedbackConfig.totalDaysToShowFirstTime, + lowerActiveDateRange = feedbackConfig.lowerActiveDateRange, + upperActiveDateRange = feedbackConfig.upperActiveDateRange; + this.setValue(date_session, new Date().getTime()); + var activeDaysNear = 1; + var activeDaysTotal = (yield this.getIntValue(active_days_total)) + 1; + this.setActiveDaysTotal(activeDaysTotal); + var totalDaysToCheck = this.lastDialogTimestamp ? totalDaysToShow : totalDaysToShowFirstTime; + var requestFeedback = activeDaysTotal > totalDaysToCheck; + var timeDif = new Date().getTime() - this.dateSession; + + if (timeDif > lowerActiveDateRange && timeDif < upperActiveDateRange) { + activeDaysNear = (yield this.getIntValue(active_days_near)) + 1; + requestFeedback = requestFeedback || activeDaysNear > activeDaysToShow; + } + + this.setActiveDaysNear(activeDaysNear); + + if (requestFeedback) { + this.requestUserFeedback(); } }); @@ -301400,7 +301097,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e key: "setActiveDaysNear", value: function () { var _setActiveDaysNear = (0, _asyncToGenerator2.default)(function* (newValue) { - return this.setValue(_FeedbackHelper.default.SP.keys.active_days_near, newValue); + return this.setValue(active_days_near, newValue); }); function setActiveDaysNear(_x) { @@ -301413,7 +301110,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e key: "setActiveDaysTotal", value: function () { var _setActiveDaysTotal = (0, _asyncToGenerator2.default)(function* (newValue) { - return this.setValue(_FeedbackHelper.default.SP.keys.active_days_total, newValue); + return this.setValue(active_days_total, newValue); }); function setActiveDaysTotal(_x2) { @@ -301449,49 +301146,50 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, { key: "setCoolDownTimestamp", value: function setCoolDownTimestamp(dontShowAgain) { - var _global$getMainPSetup2 = global.getMainPSetup(), - feedbackConfig = _global$getMainPSetup2.feedbackConfig; + var _global$getMainPSetup4 = global.getMainPSetup(), + feedbackConfig = _global$getMainPSetup4.feedbackConfig; - if (feedbackConfig) { - var coolDownDays = feedbackConfig.coolDownDays, - coolDownDaysDontShowAgain = feedbackConfig.coolDownDaysDontShowAgain; - var feedbackCoolDownDays = dontShowAgain ? coolDownDaysDontShowAgain : coolDownDays; - var nextDate = new Date(); - nextDate.setDate(nextDate.getDate() + feedbackCoolDownDays); - this.setValue(_FeedbackHelper.default.SP.keys.next_dialog_timestamp, _$$_REQUIRE(_dependencyMap[10]).DateUtils.getCurrentDateString(nextDate)); + if (!feedbackConfig) { + return; } + + var coolDownDays = feedbackConfig.coolDownDays, + coolDownDaysDontShowAgain = feedbackConfig.coolDownDaysDontShowAgain; + var feedbackCoolDownDays = dontShowAgain ? coolDownDaysDontShowAgain : coolDownDays; + var nextDate = new Date(); + nextDate.setDate(nextDate.getDate() + feedbackCoolDownDays); + this.setValue(next_dialog_timestamp, _$$_REQUIRE(_dependencyMap[10]).DateUtils.getCurrentDateString(nextDate)); } }, { - key: "getButtons", - value: function getButtons(onYesPress, onNoPress, dontShowAgainPresent) { - var _this = this; - - var buttons = [{ + key: "getYesNoButtons", + value: function getYesNoButtons(onYesPress, onNoPress) { + return [{ text: global.strings("btn_yes"), onPress: onYesPress }, { text: global.strings("btn_no"), onPress: onNoPress }]; + } + }, { + key: "getDontShowAgainButton", + value: function getDontShowAgainButton() { + var _this = this; - if (dontShowAgainPresent) { - buttons.push({ - text: global.strings("btn_do_not_show"), - onPress: function onPress() { - _this.setCoolDownTimestamp(true); + return { + text: global.strings("btn_do_not_show"), + onPress: function onPress() { + _this.setCoolDownTimestamp(true); - _this.setValue(_FeedbackHelper.default.SP.keys.user_no_show_review_dialog, "1"); + _this.setValue(user_no_show_review_dialog, "1"); - _this.setValue(_FeedbackHelper.default.SP.keys.user_no_show_review_version, _this.getAppVersion()); + _this.setValue(user_no_show_review_version, _this.getAppVersion()); - _this.setValue(_FeedbackHelper.default.SP.keys.user_no_show_review_dialog_timestamp, _$$_REQUIRE(_dependencyMap[10]).DateUtils.getCurrentDateString()); + _this.setValue(user_no_show_review_dialog_timestamp, _$$_REQUIRE(_dependencyMap[10]).DateUtils.getCurrentDateString()); - _this.sendDontShow(); - } - }); - } - - return buttons; + _this.sendDontShow(); + } + }; } }, { key: "requestUserFeedback", @@ -301499,27 +301197,49 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _requestUserFeedback = (0, _asyncToGenerator2.default)(function* () { var _this2 = this; - this.marketUrl = (yield this.getMarketUrl()) || ""; + var _global$getMainPSetup5 = global.getMainPSetup(), + feedbackConfig = _global$getMainPSetup5.feedbackConfig; - if (this.marketUrl !== "" || global.isDebug) { - this.setValue(_FeedbackHelper.default.SP.keys.dialog_timestamp, _$$_REQUIRE(_dependencyMap[10]).DateUtils.getCurrentDateString()); - this.setValue(_FeedbackHelper.default.SP.keys.next_dialog_timestamp, ""); - this.setActiveDaysNear(1); - this.setActiveDaysTotal(1); - var buttons = this.getButtons(function () { - _this2.setValue(_FeedbackHelper.default.SP.keys.user_likes_app, "1"); + if (!feedbackConfig) { + return; + } - _this2.askForReview(); - }, function () { - _this2.setValue(_FeedbackHelper.default.SP.keys.user_likes_app, "0"); + this.marketUrl = yield this.getMarketUrl(); - _this2.askForWrittenFeedback(); - }, this.feedbackShowDontShowAgain); + if (!global.isDebug && !this.marketUrl) { + return; + } - _$$_REQUIRE(_dependencyMap[11]).CustomAlert.alert("", this.feedbackRequestFeedbackTitle, buttons, { - cancelable: false + this.setValue(dialog_timestamp, _$$_REQUIRE(_dependencyMap[10]).DateUtils.getCurrentDateString()); + this.setValue(next_dialog_timestamp, ""); + this.setActiveDaysNear(1); + this.setActiveDaysTotal(1); + var buttons = this.getYesNoButtons(function () { + _this2.setValue(user_likes_app, "1"); + + _this2.askForReview(); + }, function () { + _this2.setValue(user_likes_app, "0"); + + _this2.askForWrittenFeedback(); + }); + var showNotSureYetFirstDialog = feedbackConfig.showNotSureYetFirstDialog, + showDontShowAgainFirstDialog = feedbackConfig.showDontShowAgainFirstDialog, + requestFeedbackTitle = feedbackConfig.requestFeedbackTitle; + + if (showNotSureYetFirstDialog) { + buttons.push({ + text: global.strings("btn_not_sure_yet") }); } + + if (showDontShowAgainFirstDialog) { + buttons.push(this.getDontShowAgainButton()); + } + + _$$_REQUIRE(_dependencyMap[11]).CustomAlert.alert("", requestFeedbackTitle, buttons, { + cancelable: false + }); }); function requestUserFeedback() { @@ -301533,23 +301253,36 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e value: function askForReview() { var _this3 = this; - var buttons = this.getButtons(function () { + var _global$getMainPSetup6 = global.getMainPSetup(), + feedbackConfig = _global$getMainPSetup6.feedbackConfig; + + if (!feedbackConfig) { + return; + } + + var showDontShowAgain = feedbackConfig.showDontShowAgain, + requestReviewFeedbackTitle = feedbackConfig.requestReviewFeedbackTitle; + var buttons = this.getYesNoButtons(function () { _this3.sendEventReview(true); - _this3.setValue(_FeedbackHelper.default.SP.keys.user_left_review_app_version, _this3.getAppVersion()); + _this3.setValue(user_left_review_app_version, _this3.getAppVersion()); - _this3.setValue(_FeedbackHelper.default.SP.keys.feedback_timestamp, _$$_REQUIRE(_dependencyMap[10]).DateUtils.getCurrentDateString()); + _this3.setValue(feedback_timestamp, _$$_REQUIRE(_dependencyMap[10]).DateUtils.getCurrentDateString()); - _this3.setValue(_FeedbackHelper.default.SP.keys.user_left_review, "1"); + _this3.setValue(user_left_review, "1"); _this3.openAppRating(); }, function () { _this3.setCoolDownTimestamp(false); _this3.sendEventReview(false); - }, this.feedbackShowDontShowAgain); + }); - _$$_REQUIRE(_dependencyMap[11]).CustomAlert.alert("", this.feedbackRequestReviewFeedbackTitle, buttons, { + if (showDontShowAgain) { + buttons.push(this.getDontShowAgainButton()); + } + + _$$_REQUIRE(_dependencyMap[11]).CustomAlert.alert("", requestReviewFeedbackTitle, buttons, { cancelable: false }); } @@ -301558,49 +301291,80 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e value: function askForWrittenFeedback() { var _this4 = this; - var buttons = this.getButtons((0, _asyncToGenerator2.default)(function* () { - _this4.setValue(_FeedbackHelper.default.SP.keys.user_left_feedback, "1"); + var _global$getMainPSetup7 = global.getMainPSetup(), + feedbackConfig = _global$getMainPSetup7.feedbackConfig; - yield _this4.sendFeedbackEmail(); + if (!feedbackConfig) { + return; + } + + var buttons = this.getYesNoButtons((0, _asyncToGenerator2.default)(function* () { + _this4.setValue(user_left_feedback, "1"); + + _this4.sendFeedback(); _this4.sendEventEmail(true); }), function () { _this4.sendEventEmail(false); - }, false); + }); + var askForFeedback = feedbackConfig.askForFeedback; - _$$_REQUIRE(_dependencyMap[11]).CustomAlert.alert("", this.feedbackAskForFeedback, buttons, { + _$$_REQUIRE(_dependencyMap[11]).CustomAlert.alert("", askForFeedback, buttons, { cancelable: false }); } }, { key: "sendFeedbackEmail", - value: function () { - var _sendFeedbackEmail = (0, _asyncToGenerator2.default)(function* () { - var automaticFeedback = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; - var message = " AUTOMATIC FEEDBACK: " + automaticFeedback + "\n"; - message += _GlobalConfig.default.getDeviceInfoText(); - message += _GlobalConfig.default.getUsedSpaceText(); - var subject = "Feedback for " + global.appName; + value: function sendFeedbackEmail() { + var automaticFeedback = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; - var _global$getMainPSetup3 = global.getMainPSetup(), - feedbackConfig = _global$getMainPSetup3.feedbackConfig; + var _global$getMainPSetup8 = global.getMainPSetup(), + feedbackConfig = _global$getMainPSetup8.feedbackConfig; - var email = (feedbackConfig == null ? undefined : feedbackConfig.emailForFeedback) || global.strings("feedback_email_feedback"); - - _reactNativeMail.default.mail({ - subject: subject, - recipients: [email], - body: message, - isHTML: false - }, function () {}); - }); - - function sendFeedbackEmail() { - return _sendFeedbackEmail.apply(this, arguments); + if (!feedbackConfig) { + return; } - return sendFeedbackEmail; - }() + var email = feedbackConfig.email; + + if (!email) { + return; + } + + var message = " AUTOMATIC FEEDBACK: " + automaticFeedback + "\n"; + message += _GlobalConfig.default.getDeviceInfoText(); + message += _GlobalConfig.default.getUsedSpaceText(); + var subject = "Feedback for " + global.appName; + + _reactNativeMail.default.mail({ + subject: subject, + recipients: [email], + body: message, + isHTML: false + }, function () {}); + } + }, { + key: "sendFeedback", + value: function sendFeedback() { + var automaticFeedback = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + + var _global$getMainPSetup9 = global.getMainPSetup(), + feedbackConfig = _global$getMainPSetup9.feedbackConfig; + + if (!feedbackConfig) { + return; + } + + var linkForFeedback = feedbackConfig.linkForFeedback; + + if (linkForFeedback) { + _tecnaviaPlatformUtils.default.openURL(linkForFeedback); + + return; + } + + this.sendFeedbackEmail(automaticFeedback); + } }, { key: "openAppRating", value: function openAppRating() { @@ -301690,8 +301454,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e value: function () { var _resetCounter = (0, _asyncToGenerator2.default)(function* () { try { - yield _FeedbackHelper.default.setItem(_FeedbackHelper.default.SP.keys.active_days_near, "1"); - yield _FeedbackHelper.default.setItem(_FeedbackHelper.default.SP.keys.active_days_total, "1"); + yield _FeedbackHelper.default.setItem(active_days_near, "1"); + yield _FeedbackHelper.default.setItem(active_days_total, "1"); } catch (e) {} }); @@ -301703,7 +301467,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},2217,[3,270,6,7,2169,407,2152,2218,1928,1903,438,798,1897]); +},2214,[3,270,6,7,2160,407,2143,2215,2039,1906,438,812,1910]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -301781,7 +301545,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e active_days_total: "activeDaysTotal" } }; -},2218,[3,270,6,7,438]); +},2215,[3,270,6,7,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -302317,7 +302081,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e children: [actionBar, barComponent] }); } -},2219,[3,4,16,18,1310,2212,1889,434,2201,552,1928,800,1974,2214,803,2213,438,2220,179,2221,1807,2061,1230]); +},2216,[3,4,16,18,1324,2209,2049,434,2198,566,2039,814,1941,2211,817,2210,438,2217,179,2218,1807,2044,1244]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -302425,7 +302189,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e color: _$$_REQUIRE(_dependencyMap[1]).colors.white } }); -},2220,[18,438]); +},2217,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -302673,7 +302437,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e buttonStyle: buttonLayoutStyle }, props)); } -},2221,[3,33,16,18,1898,848,2048,1888,2222,1807,574,179,803,2220,2223,438,2224]); +},2218,[3,33,16,18,1907,862,2026,1881,2219,1807,588,179,817,2217,2220,438,2221]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -302757,7 +302521,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e Button: Button, Text: Text }; -},2222,[3,4,16,18,800,438,179,803]); +},2219,[3,4,16,18,814,438,179,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -302769,7 +302533,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "text_banner", "type": "png" }); -},2223,[1244]); +},2220,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -302784,7 +302548,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2224,[2225]); +},2221,[2222]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -302902,7 +302666,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e buttonStyle: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.array, _propTypes.default.object]), backgroundColor: _propTypes.default.string }; -},2225,[3,6,7,11,13,14,16,568,436,1807,2222,550,179,803]); +},2222,[3,6,7,11,13,14,16,582,436,1807,2219,564,179,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -302982,7 +302746,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[10]).NavigationBaseScreen); -},2226,[3,6,7,11,13,14,16,2087,179,1927,2214]); +},2223,[3,6,7,11,13,14,16,2076,179,2055,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -303137,7 +302901,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[20]).NavigationBaseScreen); -},2227,[3,270,6,7,11,13,14,16,18,852,407,406,1863,438,1974,179,2213,803,2228,864,2214]); +},2224,[3,270,6,7,11,13,14,16,18,866,407,406,1863,438,1941,179,2210,817,2225,878,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -303555,43 +303319,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } else if (domain.includes(_optionspageUtils.locals.GET_CONFIG_DUMP)) { this._execJavaScript("xcj_getConfigDump('" + JSON.stringify(newsmemoryConfig) + "');"); } else if (domain.includes(_optionspageUtils.locals.GET_KEY)) { - var key = getParams.key; + var js = yield (0, _$$_REQUIRE(_dependencyMap[29]).getKey)(getParams); - if (key) { - var _global$getActivePSet = global.getActivePSetup(), - loginStatus = _global$getActivePSet.loginStatus, - udb = _global$getActivePSet.udb; - - var loginStatusValue = ""; - - if (key.startsWith(udb)) { - loginStatusValue = yield loginStatus.getValue(key.replace(udb + "_", "")); - } - - var value = loginStatusValue || (yield newsmemoryConfig.getValue(key)); - - if (typeof value === "string") { - value = "'" + value + "'"; - } - - this._execJavaScript("xcj_getFromKey(" + value + ",'" + key + "');"); - } + this._execJavaScript(js); } else if (domain.includes(_optionspageUtils.locals.SET_KEY)) { - var _key = getParams.key, - _value = getParams.value, - _callback2 = getParams.callback; - newsmemoryConfig.setValue(_key, _value); + var _js = (0, _$$_REQUIRE(_dependencyMap[29]).setKey)(getParams); - if (_callback2) { - this._execJavaScript(_callback2 + "();"); - } + this._execJavaScript(_js); } else if (domain.includes(_optionspageUtils.locals.REMOVE_KEY)) { - var _key2 = getParams.key; - newsmemoryConfig.removeValue(_key2); + var key = getParams.key; + newsmemoryConfig.removeValue(key); } else if (domain.includes(_optionspageUtils.locals.SET_PREF_EDI)) { - var _key3 = getParams.key, - _value2 = getParams.value; - newsmemoryConfig.setValue(_key3, _value2); + var _key = getParams.key, + value = getParams.value; + newsmemoryConfig.setValue(_key, value); } else if (domain.includes(_optionspageUtils.locals.RETURN_FROM_LOGIN)) { (0, _$$_REQUIRE(_dependencyMap[27]).sendNewsmemoryLoginEvent)("start login"); @@ -303627,7 +303368,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e extid: extid }); - if (result && result.data) { + if (result != null && result.data) { this._execJavaScript("xcj_loginResults(" + result.TAUID + ",'" + JSON.stringify(result.data) + "');"); } else { var params = this.props.getParams; @@ -303803,7 +303544,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, { key: "_execJavaScript", value: function _execJavaScript(jsToExec) { - if (this.webview) { + if (this.webview && jsToExec) { this.webview.injectJavaScript("try { " + jsToExec + " } catch (e) { };"); } } @@ -303866,25 +303607,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var customStyle = this._getCustomStyle(); - var _global$getActivePSet2 = global.getActivePSetup(), - optionspageConfig = _global$getActivePSet2.optionspageConfig, - overrideNewsMemoryUserAgent = _global$getActivePSet2.overrideNewsMemoryUserAgent; + var _global$getActivePSet = global.getActivePSetup(), + optionspageConfig = _global$getActivePSet.optionspageConfig, + overrideNewsMemoryUserAgent = _global$getActivePSet.overrideNewsMemoryUserAgent; if (hidden) { - style = _$$_REQUIRE(_dependencyMap[29]).styles.hidden; + style = _$$_REQUIRE(_dependencyMap[30]).styles.hidden; } else if (!forceFullscreen && optionspageConfig.isModal()) { - style = [_$$_REQUIRE(_dependencyMap[29]).styles.modal, _$$_REQUIRE(_dependencyMap[29]).styles.main, optionspageConfig.getCoordinates(), customStyle]; + style = [_$$_REQUIRE(_dependencyMap[30]).styles.modal, _$$_REQUIRE(_dependencyMap[30]).styles.main, optionspageConfig.getCoordinates(), customStyle]; } else { - style = [_$$_REQUIRE(_dependencyMap[29]).styles.fullscreen, _$$_REQUIRE(_dependencyMap[29]).styles.main, customStyle]; + style = [_$$_REQUIRE(_dependencyMap[30]).styles.fullscreen, _$$_REQUIRE(_dependencyMap[30]).styles.main, customStyle]; } var closeButton; if (!hidden && closeType !== _optionspageUtils.closeTypes.none) { if (closeType === _optionspageUtils.closeTypes.back) { - closeButton = (0, _$$_REQUIRE(_dependencyMap[30]).jsx)(_closeComponent.default, { - source: _$$_REQUIRE(_dependencyMap[31]), - parentStyle: _$$_REQUIRE(_dependencyMap[29]).styles.closeIcon, + closeButton = (0, _$$_REQUIRE(_dependencyMap[31]).jsx)(_closeComponent.default, { + source: _$$_REQUIRE(_dependencyMap[32]), + parentStyle: _$$_REQUIRE(_dependencyMap[30]).styles.closeIcon, cssProps: { classes: ["newsmemory-icon", "newsmemory-close-icon", "optionspage-icon", "optionspage-back-icon"] }, @@ -303893,8 +303634,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); } else { - closeButton = (0, _$$_REQUIRE(_dependencyMap[30]).jsx)(_closeComponent.default, { - parentStyle: _$$_REQUIRE(_dependencyMap[29]).styles.closeIcon, + closeButton = (0, _$$_REQUIRE(_dependencyMap[31]).jsx)(_closeComponent.default, { + parentStyle: _$$_REQUIRE(_dependencyMap[30]).styles.closeIcon, cssProps: { classes: ["newsmemory-icon", "newsmemory-close-icon", "optionspage-icon", "optionspage-close-icon"] }, @@ -303907,12 +303648,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var userAgent = overrideNewsMemoryUserAgent || _$$_REQUIRE(_dependencyMap[23]).PlatformUtils.getUserAgent(); - var optionspage = (0, _$$_REQUIRE(_dependencyMap[30]).jsx)(_$$_REQUIRE(_dependencyMap[32]).Css, { + var optionspage = (0, _$$_REQUIRE(_dependencyMap[31]).jsx)(_$$_REQUIRE(_dependencyMap[33]).Css, { classes: ["optionspage"], - children: (0, _$$_REQUIRE(_dependencyMap[30]).jsx)(_reactNative.View, { + children: (0, _$$_REQUIRE(_dependencyMap[31]).jsx)(_reactNative.View, { style: style, - children: (0, _$$_REQUIRE(_dependencyMap[30]).jsxs)(_keyboardAvoidingComponent.default, { - children: [(0, _$$_REQUIRE(_dependencyMap[30]).jsx)(_$$_REQUIRE(_dependencyMap[33]).BaseWebView, { + children: (0, _$$_REQUIRE(_dependencyMap[31]).jsxs)(_keyboardAvoidingComponent.default, { + children: [(0, _$$_REQUIRE(_dependencyMap[31]).jsx)(_$$_REQUIRE(_dependencyMap[34]).BaseWebView, { ref: function ref(_ref4) { _this4.baseRef = _ref4; }, @@ -303935,10 +303676,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _this4.currentUrl = navState.url; }, enableKeyboardResize: _$$_REQUIRE(_dependencyMap[23]).PlatformUtils.isAndroid(), - startInLoadingState: hidden ? _$$_REQUIRE(_dependencyMap[34]).LoadingStatePosition.none : _$$_REQUIRE(_dependencyMap[34]).LoadingStatePosition.center, + startInLoadingState: hidden ? _$$_REQUIRE(_dependencyMap[35]).LoadingStatePosition.none : _$$_REQUIRE(_dependencyMap[35]).LoadingStatePosition.center, userAgent: userAgent, onError: this.onError - }), closeButton, (0, _$$_REQUIRE(_dependencyMap[30]).jsx)(_settingDebug.default, { + }), closeButton, (0, _$$_REQUIRE(_dependencyMap[31]).jsx)(_settingDebug.default, { ref: function ref(_ref5) { _this4.debugRef = _ref5; }, @@ -303948,7 +303689,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }) }) }); - var backgroundStyle = [_$$_REQUIRE(_dependencyMap[29]).styles.background]; + var backgroundStyle = [_$$_REQUIRE(_dependencyMap[30]).styles.background]; if (backgroundColor) { backgroundStyle.push({ @@ -303956,16 +303697,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); } - return optionspageConfig.isModal() && !forceFullscreen ? (0, _$$_REQUIRE(_dependencyMap[30]).jsx)(_$$_REQUIRE(_dependencyMap[32]).Css, { + return optionspageConfig.isModal() && !forceFullscreen ? (0, _$$_REQUIRE(_dependencyMap[31]).jsx)(_$$_REQUIRE(_dependencyMap[33]).Css, { classes: ["optionspage-modal-container"], - children: (0, _$$_REQUIRE(_dependencyMap[30]).jsx)(_reactNative.View, { + children: (0, _$$_REQUIRE(_dependencyMap[31]).jsx)(_reactNative.View, { style: backgroundStyle, children: optionspage }) }) : optionspage; } }]); - }(_$$_REQUIRE(_dependencyMap[35]).Shortcut); + }(_$$_REQUIRE(_dependencyMap[36]).Shortcut); BaseOptionspage.propTypes = Object.assign({ url: _propTypes.default.string, @@ -303979,12 +303720,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e backgroundColor: _propTypes.default.string, forceFullscreen: _propTypes.default.bool, style: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.number, _propTypes.default.array]) - }, _$$_REQUIRE(_dependencyMap[35]).Shortcut.propTypes); - BaseOptionspage.defaultProps = Object.assign({}, _$$_REQUIRE(_dependencyMap[35]).Shortcut.defaultProps, { + }, _$$_REQUIRE(_dependencyMap[36]).Shortcut.propTypes); + BaseOptionspage.defaultProps = Object.assign({}, _$$_REQUIRE(_dependencyMap[36]).Shortcut.defaultProps, { shortcutEnabled: true, forceFullscreen: false }); -},2228,[3,4,270,6,7,11,85,13,14,568,16,18,1863,2067,436,1865,613,864,1888,2229,2232,840,550,438,1899,1929,798,1958,2069,2239,179,1728,803,1927,1919,1939]); +},2225,[3,4,270,6,7,11,85,13,14,582,16,18,1863,2056,436,1865,627,878,1881,2226,2229,854,564,438,1908,1976,812,1900,2058,2236,2237,179,1728,817,2055,2040,1984]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -304034,7 +303775,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e source: _$$_REQUIRE(_dependencyMap[10]), library: undefined }; -},2229,[3,6,7,11,13,14,16,568,2230,179,1758]); +},2226,[3,6,7,11,13,14,16,582,2227,179,1758]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -304204,7 +303945,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e library: undefined, cssProps: {} }; -},2230,[3,6,7,11,13,14,16,568,18,2231,1974,550,179,803,1]); +},2227,[3,6,7,11,13,14,16,582,18,2228,1941,564,179,817,1]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -304239,7 +303980,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e alignSelf: "center" } }); -},2231,[18,811]); +},2228,[18,825]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -304630,6 +304371,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var borderColor = _$$_REQUIRE(_dependencyMap[26]).Css.isDarkTheme() ? foregroundColor : _$$_REQUIRE(_dependencyMap[22]).colors.grey; + var _global$getMainPSetup = global.getMainPSetup(), + feedbackEnabled = _global$getMainPSetup.feedbackEnabled; + var _global$getUserSettin3 = global.getUserSettings(), enableDebugOverlay = _global$getUserSettin3.enableDebugOverlay; @@ -304722,7 +304466,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, children: global.strings("action_share") }) - }), (0, _$$_REQUIRE(_dependencyMap[27]).jsx)(_reactNative.TouchableOpacity, { + }), feedbackEnabled ? (0, _$$_REQUIRE(_dependencyMap[27]).jsx)(_reactNative.TouchableOpacity, { onPress: this.feedbackAction, style: [_$$_REQUIRE(_dependencyMap[28]).styles.debugButton, { borderColor: borderColor @@ -304733,7 +304477,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, children: global.strings("btn_feedback") }) - }), global.isDebug || global.enableDebugger || _$$_REQUIRE(_dependencyMap[22]).NetworkUtils.isTecnaviaIP() || global.isTaAddon() ? (0, _$$_REQUIRE(_dependencyMap[27]).jsx)(_reactNative.TouchableOpacity, { + }) : null, global.isDebug || global.enableDebugger || _$$_REQUIRE(_dependencyMap[22]).NetworkUtils.isTecnaviaIP() || global.isTaAddon() ? (0, _$$_REQUIRE(_dependencyMap[27]).jsx)(_reactNative.TouchableOpacity, { onPress: this.debugOverlayAction, style: [_$$_REQUIRE(_dependencyMap[28]).styles.debugButton, { borderColor: borderColor @@ -304807,7 +304551,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e SettingDebug.defaultProps = { hidden: false }; -},2232,[3,270,6,7,11,13,14,568,16,18,2169,2152,1898,2067,865,552,1888,814,800,2233,2234,1881,438,2217,798,1959,803,179,2235,1937,2236,2237]); +},2229,[3,270,6,7,11,13,14,582,16,18,2160,2143,1907,2056,879,566,1881,828,814,2230,2231,1979,438,2214,812,1901,817,179,2232,2107,2233,2234]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -304927,7 +304671,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = FontTextInput; -},2233,[3,22,4,568,16,18,801,179,438]); +},2230,[3,22,4,582,16,18,815,179,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -305038,7 +304782,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = SettingHeader; -},2234,[3,16,568,18,800,1807,803,179,2235]); +},2231,[3,16,582,18,814,1807,817,179,2232]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -305156,7 +304900,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e justifyContent: "center" } }); -},2235,[18,438]); +},2232,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -305248,7 +304992,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e onSending: _propTypes.default.func, style: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object, _propTypes.default.array]) }; -},2236,[3,270,6,7,11,13,14,568,16,18,407,800,179,1881,438,1929]); +},2233,[3,270,6,7,11,13,14,582,16,18,407,814,179,1979,438,1976]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -305418,7 +305162,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = Setting; -},2237,[3,4,16,568,18,800,1974,803,179,2238,2222]); +},2234,[3,4,16,582,18,814,1941,817,179,2235,2219]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -305501,7 +305245,192 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e justifyContent: "center" } }); -},2238,[18,438]); +},2235,[18,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.getKey = getKey; + exports.goToRssNavigator = goToRssNavigator; + exports.logout = logout; + exports.openBrowser = openBrowser; + exports.removeKey = removeKey; + exports.returnFromLogin = returnFromLogin; + exports.setKey = setKey; + exports.setPrefEdi = setPrefEdi; + exports.showAlert = showAlert; + exports.showConfirm = showConfirm; + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _LoginManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + function returnFromLogin(_x) { + return _returnFromLogin.apply(this, arguments); + } + + function _returnFromLogin() { + _returnFromLogin = (0, _asyncToGenerator2.default)(function* (data) { + (0, _$$_REQUIRE(_dependencyMap[5]).sendNewsmemoryLoginEvent)("start login"); + var pSetup = data.pSetup, + machine = data.machine, + username = data.username, + password = data.password, + challenge = data.challenge, + remember = data.remember, + TAUID = data.TAUID, + token = data.token, + TOKEN = data.TOKEN, + extid = data.extid; + return _LoginManager.default.login({ + pSetup: pSetup, + machine: machine, + username: username, + password: password, + challenge: challenge, + remember: remember, + TAUID: TAUID, + token: TOKEN || token, + extid: extid + }); + }); + return _returnFromLogin.apply(this, arguments); + } + + function logout() { + return _logout.apply(this, arguments); + } + + function _logout() { + _logout = (0, _asyncToGenerator2.default)(function* () { + yield _LoginManager.default.logout(); + + _$$_REQUIRE(_dependencyMap[6]).EventRegister.emit(_events.default.NEWSMEMORY_RELOAD_EDITION); + }); + return _logout.apply(this, arguments); + } + + function openBrowser(data) { + var url = data.url, + callback = data.callback, + close = data.close; + + if (url) { + var extraNavigationParams = {}; + + if (url.indexOf("archiveSearch=1") !== -1) { + extraNavigationParams.screenTitle = global.strings("btn_archive"); + extraNavigationParams.isArchive = true; + } + + _NavigationService.default.main.navigate("WebScreen", Object.assign({ + url: url, + onClose: function onClose() { + _$$_REQUIRE(_dependencyMap[7]).PlatformUtils.colorBars(); + } + }, extraNavigationParams)); + } + } + + function showAlert(data) { + var title = data.title, + message = data.message, + okLabel = data.okLabel; + var buttons = []; + buttons.push({ + text: okLabel || global.strings("btn_ok") + }); + + _$$_REQUIRE(_dependencyMap[8]).CustomAlert.alert(title, message, buttons, { + cancelable: false + }); + } + + function showConfirm(data) { + var _this = this; + + var title = data.title, + message = data.message, + okLabel = data.okLabel, + cancelLabel = data.cancelLabel, + callback = data.callback; + var buttons = []; + buttons.push({ + text: cancelLabel || global.strings("btn_cancel"), + onPress: function onPress() { + _this._confirmResult(callback, false); + } + }, { + text: okLabel || global.strings("btn_ok"), + onPress: function onPress() { + _this._confirmResult(callback, true); + } + }); + + _$$_REQUIRE(_dependencyMap[8]).CustomAlert.alert(title, message, buttons, { + cancelable: false + }); + } + + function goToRssNavigator() { + _NavigationService.default.main.reset("RssNavigator"); + } + + function getKey(_x2) { + return _getKey.apply(this, arguments); + } + + function _getKey() { + _getKey = (0, _asyncToGenerator2.default)(function* (data) { + var key = data.key; + + if (key) { + var loginStatusValue = yield _LoginManager.default.getLoginConfigValue(key); + var value = loginStatusValue || (yield global.getNewsmemoryConfig().getValue(key)); + + if (typeof value === "string") { + value = "'" + value + "'"; + } + + return "xcj_getFromKey(" + value + ",'" + key + "');"; + } + + return ""; + }); + return _getKey.apply(this, arguments); + } + + function setKey(data) { + var key = data.key, + value = data.value, + callback = data.callback; + + _LoginManager.default.setLoginConfigValue(key, value); + + global.getNewsmemoryConfig().setValue(key, value); + + if (callback) { + return callback + "();"; + } + + return ""; + } + + function removeKey(data) { + var key = data.key; + global.getNewsmemoryConfig().removeValue(key); + } + + function setPrefEdi(data) { + var key = data.key, + value = data.value; + global.getNewsmemoryConfig().setValue(key, value); + } +},2236,[3,270,2056,436,1881,1900,564,438,812]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -305548,7 +305477,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e justifyContent: "center" } }); -},2239,[18,438]); +},2237,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -305596,7 +305525,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e children: children })); } -},2240,[3,4,16,179,1073]); +},2238,[3,4,16,179,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -305611,7 +305540,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2241,[2242]); +},2239,[2240]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -305634,61 +305563,59 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - var _debounce = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + var _reactNative = _$$_REQUIRE(_dependencyMap[11]); - var _reactNative = _$$_REQUIRE(_dependencyMap[12]); + var _Api = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); - var _Api = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); + var _GlobalConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); - var _GlobalConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); + var _LiveConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); - var _LiveConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); + var _NewsmemoryConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); - var _NewsmemoryConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[16])); + var _NewsmemoryDatabasesManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[16])); - var _NewsmemoryDatabasesManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[17])); + var _NewsmemoryManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[17])); - var _NewsmemoryManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18])); + var _NewspaperManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18])); - var _NewspaperManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[19])); + var _TranslationManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[19])); - var _TranslationManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[20])); + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[20])); - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[21])); + var _InterstitialsHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[21])); - var _InterstitialsHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[22])); + var Analytics = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[22])); - var Analytics = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[23])); + var _PushHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[23])); - var _PushHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[24])); + var _newsmemoryUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[24])); - var _newsmemoryUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[25])); + var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[25])); - var _optionalPackageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[26])); + var _styleUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[26])); - var _styleUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[27])); + var _NewspaperIssue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[27])); - var _NewspaperIssue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[28])); + var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[28])); - var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[29])); + var _optionspageComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[29])); - var _optionspageComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[30])); + var _progressDownloadComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[30])); - var _progressDownloadComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[31])); + var _nativeOptionsPage = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[31])); - var _nativeOptionsPage = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[32])); + var _nativeOptionsPageFallback = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[32])); - var _nativeOptionsPageFallback = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[33])); + var _optionPageAccessibility = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[33])); - var _optionPageAccessibility = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[34])); + var _specialSectionComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[34])); - var _specialSectionComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[35])); - - var _newsmemoryScreen = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[36])); + var _newsmemoryScreen = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[35])); function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } @@ -305704,12 +305631,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _classCallCheck2.default)(this, NewsmemoryScreen); _this = _callSuper(this, NewsmemoryScreen, [props]); - _this.tab = props.tab; _LiveConfig.default.setEpaperSide(); Analytics.initMatomo(); Analytics.initMatomoTracker(); + var tab = props.tab, + navigation = props.navigation; + _this.tab = tab; + _this.newsmemoryManager = new _NewsmemoryManager.default(navigation); + _this.isOptionPageOpened = false; + _this.newspaperLoaded = false; + _this.offlineTimer = undefined; _this.onNewsmemoryRef = _this._onNewsmemoryRef.bind(_this); _this.onLayoutManagerRef = _this._onLayoutManagerRef.bind(_this); _this.onOptionPageClosed = _this._onOptionPageClosed.bind(_this); @@ -305721,9 +305654,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _this.displayOfflineIssues = _this._displayOfflineIssues.bind(_this); _this.updateStatusBarColor = _this._updateStatusBarColor.bind(_this); _this.downloadPublication = _this._downloadPublication.bind(_this); - _this.newsmemoryManager = new _NewsmemoryManager.default(props.navigation); - _this.isOptionPageOpened = false; - _this.newspaperLoaded = false; _this.state = { downloadingDB: false, loaded: false, @@ -305741,7 +305671,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var tab = nextProps.tab; if (tab) { - _$$_REQUIRE(_dependencyMap[37]).EventRegister.emit(_events.default.OPEN_OPTIONSPAGE, { + _$$_REQUIRE(_dependencyMap[36]).EventRegister.emit(_events.default.OPEN_OPTIONSPAGE, { tab: tab }); @@ -305758,11 +305688,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e this._managePushNotification(); this.showPrestitial(); - this.onEditionDownloadRequest = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_DOWNLOAD_EDITION, (0, _debounce.default)(this.downloadPublication, 2000, { + this.onEditionDownloadRequest = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_DOWNLOAD_EDITION, _$$_REQUIRE(_dependencyMap[37]).JSUtils.debounce(this.downloadPublication, 2000, { leading: true, trailing: false })); - this.onEditionReloadRequest = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_RELOAD_EDITION, (0, _asyncToGenerator2.default)(function* () { + this.onEditionReloadRequest = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_RELOAD_EDITION, (0, _asyncToGenerator2.default)(function* () { if (_this2.canOptionPageBeClosed()) { if (_this2.layoutManagerRef) { _this2.layoutManagerRef.resetCurrentArticle(); @@ -305788,9 +305718,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } } })); - this.onLoadSpecialSection = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_ON_LOAD_SPECIAL, this.loadSpecialSection); - this.onLoadMainEdition = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_ON_LOAD_MAIN_EDITION_FROM_SPECIAL, this.loadMainEditionFromSpecial); - this.onEditionDBDownloadStart = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_DB_DOWNLOAD_STARTED, function () { + this.onLoadSpecialSection = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_ON_LOAD_SPECIAL, this.loadSpecialSection); + this.onLoadMainEdition = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_ON_LOAD_MAIN_EDITION_FROM_SPECIAL, this.loadMainEditionFromSpecial); + this.onEditionDBDownloadStart = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_DB_DOWNLOAD_STARTED, function () { (0, _$$_REQUIRE(_dependencyMap[39]).incrementPendingOperations)(); (0, _$$_REQUIRE(_dependencyMap[40]).addDebugOperation)("NewsmemoryScreen", "download start"); @@ -305798,7 +305728,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e downloadingDB: true }); }); - this.onEditionDBDownloadFinish = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_DB_DOWNLOAD_FINISHED, function () { + this.onEditionDBDownloadFinish = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_DB_DOWNLOAD_FINISHED, function () { (0, _$$_REQUIRE(_dependencyMap[39]).decrementPendingOperations)(); (0, _$$_REQUIRE(_dependencyMap[40]).addDebugOperation)("NewsmemoryScreen", "download end"); @@ -305806,7 +305736,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e downloadingDB: false }); }); - this.onEditionLoading = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_NEWSPAPER_LOADING, function (_ref2) { + this.onEditionLoading = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_NEWSPAPER_LOADING, function (_ref2) { var changed = _ref2.changed; var loaded = _this2.state.loaded; @@ -305816,7 +305746,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); } }); - this.onEditionLoaded = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_NEWSPAPER_LOADED, (0, _asyncToGenerator2.default)(function* () { + this.onEditionLoaded = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_NEWSPAPER_LOADED, (0, _asyncToGenerator2.default)(function* () { yield _this2.checkIfPaperHasSpecialSection(); if (_this2.layoutManagerRef) { @@ -305831,7 +305761,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e loaded: true }); })); - this.onEditionUpdateStarted = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_UPDATE_STARTED, function (_ref4) { + this.onEditionUpdateStarted = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_UPDATE_STARTED, function (_ref4) { var needUpdate = _ref4.needUpdate; if (needUpdate) { @@ -305843,7 +305773,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); } }); - this.onEditionUpdateFinish = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_UPDATE_FINISHED, function () { + this.onEditionUpdateFinish = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_UPDATE_FINISHED, function () { var _ref6 = (0, _asyncToGenerator2.default)(function* (_ref5) { var success = _ref5.success; (0, _$$_REQUIRE(_dependencyMap[39]).decrementPendingOperations)(); @@ -305864,11 +305794,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return _ref6.apply(this, arguments); }; }()); - this.onInitialDownloadStarted = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_INITIAL_DOWNLOAD_STARTED, _$$_REQUIRE(_dependencyMap[39]).incrementPendingOperations); - this.onInitialDownloadFinished = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_INITIAL_DOWNLOAD_FINISHED, _$$_REQUIRE(_dependencyMap[39]).decrementPendingOperations); - this.onFullDownloadStarted = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_FULL_DOWNLOAD_STARTED, _$$_REQUIRE(_dependencyMap[39]).incrementPendingOperations); - this.onFullDownloadFinished = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_FULL_DOWNLOAD_FINISHED, _$$_REQUIRE(_dependencyMap[39]).decrementPendingOperations); - this.onEditionChanged = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_NEWSPAPER_CHANGED, function (_ref7) { + this.onInitialDownloadStarted = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_INITIAL_DOWNLOAD_STARTED, _$$_REQUIRE(_dependencyMap[39]).incrementPendingOperations); + this.onInitialDownloadFinished = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_INITIAL_DOWNLOAD_FINISHED, _$$_REQUIRE(_dependencyMap[39]).decrementPendingOperations); + this.onFullDownloadStarted = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_FULL_DOWNLOAD_STARTED, _$$_REQUIRE(_dependencyMap[39]).incrementPendingOperations); + this.onFullDownloadFinished = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_FULL_DOWNLOAD_FINISHED, _$$_REQUIRE(_dependencyMap[39]).decrementPendingOperations); + this.onEditionChanged = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_NEWSPAPER_CHANGED, function (_ref7) { var newspaper = _ref7.newspaper; if (newspaper) { @@ -305884,7 +305814,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } } }); - this.onClearStorage = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_ON_CLEAR_STORAGE, function () { + this.onClearStorage = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_ON_CLEAR_STORAGE, function () { var _ref9 = (0, _asyncToGenerator2.default)(function* (_ref8) { var onFinish = _ref8.onFinish, onError = _ref8.onError; @@ -305920,13 +305850,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return _ref9.apply(this, arguments); }; }()); - this.onDownloadLatestEdition = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_DOWNLOAD_LATEST_EDITION, function () { + this.onDownloadLatestEdition = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_DOWNLOAD_LATEST_EDITION, function () { _this2.newsmemoryManager.downloadLatestPublication(); }); - this.onStateChangeForeground = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.ON_STATE_CHANGE_GOING_FOREGROUND, function () { + this.onStateChangeForeground = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.ON_STATE_CHANGE_GOING_FOREGROUND, function () { _this2.showPrestitial(); - if (_$$_REQUIRE(_dependencyMap[41]).NetworkUtils.isOnline()) { + if (_$$_REQUIRE(_dependencyMap[37]).NetworkUtils.isOnline()) { var _global$getMainPSetup = global.getMainPSetup(), migrate = _global$getMainPSetup.migrate; @@ -305936,7 +305866,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e if (migrate || migrateActive) { _NavigationService.default.restart(); } else { - var feedback = new (_$$_REQUIRE(_dependencyMap[42]).Feedback)(); + var feedback = new (_$$_REQUIRE(_dependencyMap[41]).Feedback)(); feedback.check(); if (_this2.newsmemoryManager) { @@ -305948,7 +305878,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } } }); - this.onLoginCheckStart = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_LOGIN_CHECK_STARTED, function () { + this.onLoginCheckStart = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_LOGIN_CHECK_STARTED, function () { var _this2$state2 = _this2.state, logging = _this2$state2.logging, loaded = _this2$state2.loaded; @@ -305959,7 +305889,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); } }); - this.onLoginCheckEnd = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_LOGIN_CHECK_ENDED, function () { + this.onLoginCheckEnd = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_LOGIN_CHECK_ENDED, function () { var _this2$state3 = _this2.state, logging = _this2$state3.logging, loaded = _this2$state3.loaded; @@ -305970,8 +305900,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); } }); - this.onOpenOfflineEditionsMenu = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.NEWSMEMORY_OPEN_OFFLINE_EDITION_MENU, this.displayOfflineIssues); - this.onNewsmemoryRestart = _$$_REQUIRE(_dependencyMap[37]).EventRegister.on(_events.default.TRIGGER_NEWSMEMORY_RESTART, function () { + this.onOpenOfflineEditionsMenu = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.NEWSMEMORY_OPEN_OFFLINE_EDITION_MENU, this.displayOfflineIssues); + this.onNewsmemoryRestart = _$$_REQUIRE(_dependencyMap[36]).EventRegister.on(_events.default.TRIGGER_NEWSMEMORY_RESTART, function () { var _ref10 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, loginFailed = _ref10.loginFailed; @@ -305984,8 +305914,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e isOptionspageOpen = true; - _$$_REQUIRE(_dependencyMap[37]).EventRegister.emit(_events.default.OPEN_OPTIONSPAGE, { - tab: _$$_REQUIRE(_dependencyMap[43]).tabs.validation, + _$$_REQUIRE(_dependencyMap[36]).EventRegister.emit(_events.default.OPEN_OPTIONSPAGE, { + tab: _$$_REQUIRE(_dependencyMap[42]).tabs.validation, getParams: { edition: (_currentNewspaperMana = currentNewspaperManager.getStatus()) == null ? undefined : _currentNewspaperMana.lastEdition } @@ -306007,51 +305937,51 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _get2.default)((0, _getPrototypeOf2.default)(NewsmemoryScreen.prototype), "componentWillUnmount", this).call(this); yield this.newsmemoryManager.destroy(); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onEditionDownloadRequest); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onEditionDownloadRequest); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onEditionReloadRequest); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onEditionReloadRequest); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onEditionDBDownloadStart); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onEditionDBDownloadStart); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onEditionDBDownloadFinish); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onEditionDBDownloadFinish); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onInitialDownloadStarted); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onInitialDownloadStarted); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onInitialDownloadFinished); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onInitialDownloadFinished); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onFullDownloadStarted); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onFullDownloadStarted); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onFullDownloadFinished); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onFullDownloadFinished); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onEditionLoading); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onEditionLoading); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onEditionLoaded); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onEditionLoaded); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onExtraGoToPagePress); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onExtraGoToPagePress); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onEditionUpdateStarted); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onEditionUpdateStarted); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onEditionUpdateFinish); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onEditionUpdateFinish); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onEditionChanged); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onEditionChanged); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onClearStorage); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onClearStorage); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onDownloadLatestEdition); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onDownloadLatestEdition); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onStateChangeForeground); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onStateChangeForeground); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onLoginCheckStart); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onLoginCheckStart); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onLoginCheckEnd); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onLoginCheckEnd); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onOpenOfflineEditionsMenu); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onOpenOfflineEditionsMenu); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onLoadMainEdition); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onLoadMainEdition); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onLoadSpecialSection); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onLoadSpecialSection); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.rm(this.onNewsmemoryRestart); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.rm(this.onNewsmemoryRestart); if (NewsmemoryScreen.INTERSTITIAL_TIMER) { _InterstitialsHelper.default.resetTimer(NewsmemoryScreen.INTERSTITIAL_TIMER); @@ -306069,23 +305999,40 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e value: function orientationListener(orientation) { this.updateStatusBarColor(); } + }, { + key: "_clearOfflineTimer", + value: function _clearOfflineTimer() { + if (this.offlineTimer !== undefined) { + clearTimeout(this.offlineTimer); + this.offlineTimer = undefined; + } + } }, { key: "handleConnectivityChange", value: function handleConnectivityChange(_ref11) { + var _this3 = this; + var online = _ref11.online; - if (!online) { - var message = global.strings("err_offline"); + if (online) { + this._clearOfflineTimer(); + } else if (this.offlineTimer === undefined) { + this.offlineTimer = setTimeout(function () { + if (!_$$_REQUIRE(_dependencyMap[37]).NetworkUtils.isOnline()) { + var _this3$newsmemoryMana, _this3$newsmemoryMana2; - if (this.newsmemoryManager && this.newsmemoryManager.currentNewspaperManager) { - var currentNewspaper = this.newsmemoryManager.currentNewspaperManager.getCurrentNewspaper(); + var message = global.strings("err_offline"); + var currentNewspaper = (_this3$newsmemoryMana = _this3.newsmemoryManager) == null ? undefined : (_this3$newsmemoryMana2 = _this3$newsmemoryMana.currentNewspaperManager) == null ? undefined : _this3$newsmemoryMana2.getCurrentNewspaper(); - if (currentNewspaper && !currentNewspaper.hasHighResolutionDownloaded()) { - message = global.strings("offline_download_warning"); + if (currentNewspaper && !currentNewspaper.hasHighResolutionDownloaded()) { + message = global.strings("offline_download_warning"); + } + + _$$_REQUIRE(_dependencyMap[43]).CustomAlert.alert(global.strings("title_offline"), message); } - } - _$$_REQUIRE(_dependencyMap[44]).CustomAlert.alert(global.strings("title_offline"), message); + _this3.offlineTimer = undefined; + }, 30000); } } }, { @@ -306097,7 +306044,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e colors = _styleUtils.default.getNewsmemoryBarColors(["system-optionspage-status-bar", "system-newsmemory-optionspage-status-bar"], ["system-optionspage-navigation-bar", "system-newsmemory-optionspage-navigation-bar"]); } - _$$_REQUIRE(_dependencyMap[37]).EventRegister.emit(_events.default.ON_SAFE_AREA_COLOR_CHANGE, colors); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.emit(_events.default.ON_SAFE_AREA_COLOR_CHANGE, colors); } }, { key: "_downloadPublication", @@ -306156,18 +306103,26 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e key: "checkIfPaperHasSpecialSection", value: function () { var _checkIfPaperHasSpecialSection = (0, _asyncToGenerator2.default)(function* () { - if (_$$_REQUIRE(_dependencyMap[41]).NetworkUtils.isOnline() && this.newsmemoryManager && this.newsmemoryManager.currentNewspaperManager && this.newsmemoryManager.currentNewspaperManager.getCurrentNewspaper()) { - try { - var currentNewspaperManager = this.newsmemoryManager.currentNewspaperManager; - var url = currentNewspaperManager.hasSpecialSection(); + var _this$newsmemoryManag, _this$newsmemoryManag2; - if (url) { - var response = yield _Api.default.get(url, {}, {}, true); - var hasSpecialSections = Object.keys(response.data).length > 0; - currentNewspaperManager.getCurrentNewspaper().getEditionModel().setHasSpecialSections(hasSpecialSections); - } - } catch (e) {} + if (!_$$_REQUIRE(_dependencyMap[37]).NetworkUtils.isOnline()) { + return; } + + if (!((_this$newsmemoryManag = this.newsmemoryManager) != null && (_this$newsmemoryManag2 = _this$newsmemoryManag.currentNewspaperManager) != null && _this$newsmemoryManag2.getCurrentNewspaper())) { + return; + } + + try { + var currentNewspaperManager = this.newsmemoryManager.currentNewspaperManager; + var url = currentNewspaperManager.hasSpecialSection(); + + if (url) { + var response = yield _Api.default.get(url, {}, {}, true); + var hasSpecialSections = Object.keys(response.data).length > 0; + currentNewspaperManager.getCurrentNewspaper().getEditionModel().setHasSpecialSections(hasSpecialSections); + } + } catch (e) {} }); function checkIfPaperHasSpecialSection() { @@ -306179,31 +306134,33 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, { key: "_managePushNotification", value: function _managePushNotification() { - if (_PushHelper.default.isTherePush()) { - var _PushHelper$getPush = _PushHelper.default.getPush(), - action = _PushHelper$getPush.action, - value = _PushHelper$getPush.value; + if (!_PushHelper.default.isTherePush()) { + return; + } - _PushHelper.default.clearPush(); + var _PushHelper$getPush = _PushHelper.default.getPush(), + action = _PushHelper$getPush.action, + value = _PushHelper$getPush.value; - switch (action) { - case "openUrl": - var navigation = this.props.navigation; - navigation.dispatch(_$$_REQUIRE(_dependencyMap[45]).CommonActions.navigate({ - name: "WebScreen", - params: { - url: value - } - })); - break; + _PushHelper.default.clearPush(); - case "openEpaperCoordinates": - var edition = value.edition, - issue = value.issue, - article = value.article, - page = value.page; - break; - } + switch (action) { + case "openUrl": + var navigation = this.props.navigation; + navigation.dispatch(_$$_REQUIRE(_dependencyMap[44]).CommonActions.navigate({ + name: "WebScreen", + params: { + url: value + } + })); + break; + + case "openEpaperCoordinates": + var edition = value.edition, + issue = value.issue, + article = value.article, + page = value.page; + break; } } }, { @@ -306233,12 +306190,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e yield Analytics.updateAnalytics(); } - _$$_REQUIRE(_dependencyMap[37]).EventRegister.emit(_events.default.NEWSMEMORY_DOWNLOAD_EDITION, { + _$$_REQUIRE(_dependencyMap[36]).EventRegister.emit(_events.default.NEWSMEMORY_DOWNLOAD_EDITION, { issue: issue, edition: edition }); } else { - _$$_REQUIRE(_dependencyMap[46]).Toast.show(global.strings("msg_tts_error")); + _$$_REQUIRE(_dependencyMap[45]).Toast.show(global.strings("msg_tts_error")); this.setState({ loaded: true, @@ -306280,7 +306237,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); if (editionfromcalling) { - var splitted = _$$_REQUIRE(_dependencyMap[41]).StringUtils.decodeURIComponent(editionfromcalling).split(","); + var splitted = _$$_REQUIRE(_dependencyMap[37]).StringUtils.decodeURIComponent(editionfromcalling).split(","); var thumbnail; @@ -306315,12 +306272,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } } - _$$_REQUIRE(_dependencyMap[37]).EventRegister.emit(_events.default.NEWSMEMORY_DOWNLOAD_EDITION, { + _$$_REQUIRE(_dependencyMap[36]).EventRegister.emit(_events.default.NEWSMEMORY_DOWNLOAD_EDITION, { issue: issue, edition: edition }); } else { - _$$_REQUIRE(_dependencyMap[46]).Toast.show(global.strings("msg_tts_error")); + _$$_REQUIRE(_dependencyMap[45]).Toast.show(global.strings("msg_tts_error")); this.setState({ loaded: true, @@ -306350,7 +306307,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _global$getNewsmemory = global.getNewsmemoryConfig(), epaperStartModeDontShowAgain = _global$getNewsmemory.epaperStartModeDontShowAgain; - if (_$$_REQUIRE(_dependencyMap[41]).NetworkUtils.isOnline() && !disableEPaperModeSelectionPage && !epaperStartModeDontShowAgain && this.newsmemoryManager && _newsmemoryUtils.default.canEnableReadMode(this.newsmemoryManager.currentNewspaperManager)) { + if (_$$_REQUIRE(_dependencyMap[37]).NetworkUtils.isOnline() && !disableEPaperModeSelectionPage && !epaperStartModeDontShowAgain && this.newsmemoryManager && _newsmemoryUtils.default.canEnableReadMode(this.newsmemoryManager.currentNewspaperManager)) { var navigation = this.props.navigation; navigation.navigate("EpaperModeSelectionScreen"); } @@ -306359,18 +306316,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e key: "handleBackButton", value: function handleBackButton() { if (this.isOptionPageOpened && !this.optFromBackButton && this.canOptionPageBeClosed()) { - _$$_REQUIRE(_dependencyMap[37]).EventRegister.emit(_events.default.CLOSE_OPTIONSPAGE); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.emit(_events.default.CLOSE_OPTIONSPAGE); } else { if (!this.layoutManagerRef || !this.layoutManagerRef.handleBack()) { var _global$getActivePSet5 = global.getActivePSetup(), showNativeOptionsPage = _global$getActivePSet5.showNativeOptionsPage, showNativeOptionsPageFallbackUrl = _global$getActivePSet5.showNativeOptionsPageFallbackUrl; - if (!this.isOptionPageOpened && (_$$_REQUIRE(_dependencyMap[41]).NetworkUtils.isOnline() || showNativeOptionsPage && !showNativeOptionsPageFallbackUrl)) { + if (!this.isOptionPageOpened && (_$$_REQUIRE(_dependencyMap[37]).NetworkUtils.isOnline() || showNativeOptionsPage && !showNativeOptionsPageFallbackUrl)) { this.optFromBackButton = true; - _$$_REQUIRE(_dependencyMap[37]).EventRegister.emit(_events.default.OPEN_OPTIONSPAGE, { - tab: _$$_REQUIRE(_dependencyMap[43]).tabs.home + _$$_REQUIRE(_dependencyMap[36]).EventRegister.emit(_events.default.OPEN_OPTIONSPAGE, { + tab: _$$_REQUIRE(_dependencyMap[42]).tabs.home }); return true; @@ -306433,7 +306390,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var loggedIn = loginStatus.isLoggedIn(); - _$$_REQUIRE(_dependencyMap[37]).EventRegister.emit(_events.default.ON_SAFE_AREA_COLOR_CHANGE, _styleUtils.default.getNewsmemoryBarColors(["system-optionspage-status-bar", "system-newsmemory-optionspage-status-bar", loggedIn ? "system-newsmemory-optionspage-status-bar-loggedIn" : "", "system-newsmemory-optionspage-" + tab + "-status-bar", loggedIn ? "system-newsmemory-optionspage-" + tab + "-status-bar-loggedIn" : ""], ["system-optionspage-navigation-bar", "system-newsmemory-optionspage-navigation-bar", loggedIn ? "system-newsmemory-optionspage-navigation-bar-loggedIn" : "", "system-newsmemory-optionspage-" + tab + "-navigation-bar", loggedIn ? "system-newsmemory-optionspage-" + tab + "-navigation-bar-loggedIn" : ""])); + _$$_REQUIRE(_dependencyMap[36]).EventRegister.emit(_events.default.ON_SAFE_AREA_COLOR_CHANGE, _styleUtils.default.getNewsmemoryBarColors(["system-optionspage-status-bar", "system-newsmemory-optionspage-status-bar", loggedIn ? "system-newsmemory-optionspage-status-bar-loggedIn" : "", "system-newsmemory-optionspage-" + tab + "-status-bar", loggedIn ? "system-newsmemory-optionspage-" + tab + "-status-bar-loggedIn" : ""], ["system-optionspage-navigation-bar", "system-newsmemory-optionspage-navigation-bar", loggedIn ? "system-newsmemory-optionspage-navigation-bar-loggedIn" : "", "system-newsmemory-optionspage-" + tab + "-navigation-bar", loggedIn ? "system-newsmemory-optionspage-" + tab + "-navigation-bar-loggedIn" : ""])); } }, { key: "_onOptionPageClosed", @@ -306478,7 +306435,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _global$getEpaperLayo = global.getEpaperLayoutConfig(), mainFooter = _global$getEpaperLayo.mainFooter; - _$$_REQUIRE(_dependencyMap[47]).MyBottomSheet.show({ + _$$_REQUIRE(_dependencyMap[46]).MyBottomSheet.show({ options: issues.map(function (issue) { var _global$getActivePSet7 = global.getActivePSetup(), pSetup = _global$getActivePSet7.pSetup; @@ -306502,7 +306459,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } catch (e) {} } - _$$_REQUIRE(_dependencyMap[37]).EventRegister.emit(_events.default.NEWSMEMORY_DOWNLOAD_EDITION, { + _$$_REQUIRE(_dependencyMap[36]).EventRegister.emit(_events.default.NEWSMEMORY_DOWNLOAD_EDITION, { issue: issue.getIssue(), edition: issue.getEdition() }); @@ -306548,7 +306505,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); } - _$$_REQUIRE(_dependencyMap[44]).CustomAlert.alert("", global.strings("err_offline"), buttons, { + _$$_REQUIRE(_dependencyMap[43]).CustomAlert.alert("", global.strings("err_offline"), buttons, { cancelable: false }); } @@ -306618,16 +306575,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; if (showNativeOptionsPageFallbackUrl) { - return (0, _$$_REQUIRE(_dependencyMap[48]).jsx)(_nativeOptionsPageFallback.default, Object.assign({}, props, { + return (0, _$$_REQUIRE(_dependencyMap[47]).jsx)(_nativeOptionsPageFallback.default, Object.assign({}, props, { url: showNativeOptionsPageFallbackUrl })); } if (showNativeOptionsPage && _optionalPackageUtils.default.isNativeOptionsPageAvailable()) { - return (0, _$$_REQUIRE(_dependencyMap[48]).jsx)(_nativeOptionsPage.default, Object.assign({}, props)); + return (0, _$$_REQUIRE(_dependencyMap[47]).jsx)(_nativeOptionsPage.default, Object.assign({}, props)); } - return (0, _$$_REQUIRE(_dependencyMap[48]).jsx)(_optionspageComponent.default, Object.assign({}, props)); + return (0, _$$_REQUIRE(_dependencyMap[47]).jsx)(_optionspageComponent.default, Object.assign({}, props)); } }, { key: "render", @@ -306641,15 +306598,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e updating = _this$state.updating; var component = null; - var parentStyle = _$$_REQUIRE(_dependencyMap[49]).Css.getStyleObjByCssClasses(["newsmemory-screen"]); + var parentStyle = _$$_REQUIRE(_dependencyMap[48]).Css.getStyleObjByCssClasses(["newsmemory-screen"]); if (logging || updating) { - component = (0, _$$_REQUIRE(_dependencyMap[48]).jsx)(_$$_REQUIRE(_dependencyMap[50]).ProgressCircle, { + component = (0, _$$_REQUIRE(_dependencyMap[47]).jsx)(_$$_REQUIRE(_dependencyMap[49]).ProgressCircle, { spinnerStyle: [_newsmemoryScreen.default.parent, parentStyle], spinnerColor: parentStyle.color || _newsmemoryUtils.default.getSpinnerColor() }); } else if (downloadingDB) { - component = (0, _$$_REQUIRE(_dependencyMap[48]).jsx)(_progressDownloadComponent.default, { + component = (0, _$$_REQUIRE(_dependencyMap[47]).jsx)(_progressDownloadComponent.default, { color: _newsmemoryUtils.default.getSpinnerColor(), text: global.strings("msg_download_edition"), event: _events.default.NEWSMEMORY_DB_DOWNLOAD_PROGRESS, @@ -306663,10 +306620,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); } else if (loaded) { var navigation = this.props.navigation; - component = (0, _$$_REQUIRE(_dependencyMap[48]).jsx)(_reactNative.View, { + component = (0, _$$_REQUIRE(_dependencyMap[47]).jsx)(_reactNative.View, { ref: this.onNewsmemoryRef, style: [_newsmemoryScreen.default.parent, parentStyle], - children: (0, _$$_REQUIRE(_dependencyMap[48]).jsx)(_$$_REQUIRE(_dependencyMap[51]).NewsmemoryLayoutManager, { + children: (0, _$$_REQUIRE(_dependencyMap[47]).jsx)(_$$_REQUIRE(_dependencyMap[50]).NewsmemoryLayoutManager, { ref: this.onLayoutManagerRef, navigation: navigation, currentNewspaperManager: this.newsmemoryManager.currentNewspaperManager, @@ -306674,18 +306631,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }) }); } else { - component = (0, _$$_REQUIRE(_dependencyMap[48]).jsx)(_$$_REQUIRE(_dependencyMap[52]).WallpaperLoading, { + component = (0, _$$_REQUIRE(_dependencyMap[47]).jsx)(_$$_REQUIRE(_dependencyMap[51]).WallpaperLoading, { showLoading: showLoading, ignoreSafeArea: showLoading, retryEvent: _events.default.PAPER_SETUP_API_RETRY }); } - return (0, _$$_REQUIRE(_dependencyMap[48]).jsxs)(_reactNative.View, { + return (0, _$$_REQUIRE(_dependencyMap[47]).jsxs)(_reactNative.View, { style: [_newsmemoryScreen.default.parent, parentStyle], - children: [component, (0, _$$_REQUIRE(_dependencyMap[48]).jsx)(_optionPageAccessibility.default, { + children: [component, (0, _$$_REQUIRE(_dependencyMap[47]).jsx)(_optionPageAccessibility.default, { shortcutPriority: 100 - }), this._renderOptionsPage(), loaded ? (0, _$$_REQUIRE(_dependencyMap[48]).jsx)(_specialSectionComponent.default, { + }), this._renderOptionsPage(), loaded ? (0, _$$_REQUIRE(_dependencyMap[47]).jsx)(_specialSectionComponent.default, { onOpen: this.onOptionPageOpened, onClose: this.onOptionPageClosed, newspaperManager: this.newsmemoryManager.currentNewspaperManager @@ -306693,7 +306650,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); } }]); - }(_$$_REQUIRE(_dependencyMap[53]).NavigationBaseScreen); + }(_$$_REQUIRE(_dependencyMap[52]).NavigationBaseScreen); NewsmemoryScreen.INTERSTITIAL_TIMER = undefined; @@ -306707,7 +306664,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: _propTypes.default.object, tab: _propTypes.default.string }; -},2242,[3,33,270,6,7,11,85,13,14,1592,568,16,18,407,2152,1898,1863,844,2243,2244,2174,436,2200,1897,2143,613,865,2201,843,1888,2257,2258,2260,2264,2265,2268,2269,550,1958,2070,801,438,2217,864,798,1073,1929,1932,179,803,1884,2270,2366,2214]); +},2240,[3,33,270,6,7,11,85,13,14,582,16,18,407,2143,1907,1863,858,2241,2242,2165,436,2197,1910,2134,627,879,2198,857,1881,2255,2256,2258,2261,2262,2265,2266,564,438,1900,2059,815,2214,878,812,1087,1976,2180,179,817,1968,2267,2363,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -307430,7 +307387,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); var _default = exports.default = NewsmemoryManager; -},2243,[3,270,6,7,1863,436,1897,613,864,843,844,2067,2244,2254,438,550,1959,2256,798,572,850]); +},2241,[3,270,6,7,1863,436,1910,627,878,857,858,2056,2242,2252,438,564,1901,2254,812,586,864]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -309639,12 +309596,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var editionModel = currentNewspaper.getEditionModel(); var customIndexChanged = false; - if (editionModel.getCustomIndexHtml() && customIndex && customIndex.mtime) { - var currentCustomIndexMTime = editionModel.getCustomIndexModifyTime() >> 1 << 1; - var serverCustomIndexMTime = parseInt(customIndex.mtime, 10) >> 1 << 1; - customIndexChanged = currentCustomIndexMTime !== serverCustomIndexMTime; - } else if (customIndex && customIndex.mtime) { - customIndexChanged = true; + if (customIndex != null && customIndex.mtime) { + if (editionModel.getCustomIndexHtml()) { + var currentCustomIndexMTime = editionModel.getCustomIndexModifyTime() >> 1 << 1; + var serverCustomIndexMTime = parseInt(customIndex.mtime, 10) >> 1 << 1; + customIndexChanged = currentCustomIndexMTime !== serverCustomIndexMTime; + } else { + customIndexChanged = true; + } } var wasLite = editionModel.isLite; @@ -310161,7 +310120,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},2244,[3,4,22,270,6,7,407,1863,436,1865,613,864,842,552,651,573,650,843,654,844,2245,2246,406,2248,2249,2250,2251,2252,2253,2067,2254,2174,550,2255,438,574,2187,572,1959,1958,2256,798,1850]); +},2242,[3,4,22,270,6,7,407,1863,436,1865,627,878,856,566,665,587,664,857,668,858,2243,2244,406,2246,2247,2248,2249,2250,2251,2056,2252,2165,564,2253,438,588,2178,586,1901,1900,2254,812,1850]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -310741,7 +310700,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},2245,[3,270,6,7,845,650,2246,573,651,2247,654,2248]); +},2243,[3,270,6,7,859,664,2244,587,665,2245,668,2246]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -310980,7 +310939,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2246,[3,33,6,7,613,648,649,650,651,573,655,654,652,653,438]); +},2244,[3,33,6,7,627,662,663,664,665,587,669,668,666,667,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -311069,7 +311028,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2247,[3,6,7,648,649,650,651,573,655,654,652,653,438]); +},2245,[3,6,7,662,663,664,665,587,669,668,666,667,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -312478,7 +312437,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},2248,[3,22,270,6,7,1871,1863,436,434,572,613,2157,552,651,573,843,654,844,2246,406,550,438,2165,574]); +},2246,[3,22,270,6,7,1871,1863,436,434,586,627,2148,566,665,587,857,668,858,2244,406,564,438,2156,588]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -312535,7 +312494,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2249,[3,6,7]); +},2247,[3,6,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -312591,7 +312550,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_DownloadOperation2.default); -},2250,[3,6,7,11,13,14,2249,654]); +},2248,[3,6,7,11,13,14,2247,668]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -312629,7 +312588,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(SingleHRZipDownloadOperation, _DownloadOperation); return (0, _createClass2.default)(SingleHRZipDownloadOperation); }(_DownloadOperation2.default); -},2251,[3,7,6,11,13,14,2249,654]); +},2249,[3,7,6,11,13,14,2247,668]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -312681,7 +312640,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_DownloadOperation2.default); -},2252,[3,6,7,11,13,14,2249,654,573]); +},2250,[3,6,7,11,13,14,2247,668,587]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -312719,7 +312678,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _inherits2.default)(SingleZipDownloadOperation, _DownloadOperation); return (0, _createClass2.default)(SingleZipDownloadOperation); }(_DownloadOperation2.default); -},2253,[3,7,6,11,13,14,2249,654]); +},2251,[3,7,6,11,13,14,2247,668]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -313286,7 +313245,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e value: function purgeLog(message) {} }]); }(); -},2254,[3,270,6,7,552,844,845,843,2245,654,438]); +},2252,[3,270,6,7,566,858,859,857,2243,668,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -313613,7 +313572,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},2255,[3,270,6,7,613,1864]); +},2253,[3,270,6,7,627,1864]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -313763,7 +313722,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return _ref5.apply(this, arguments); }; }(); -},2256,[3,270,844,2067,2174,436,550,798]); +},2254,[3,270,858,2056,2165,436,564,812]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -314374,7 +314333,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2257,[3,270,6,7,11,85,13,14,568,16,2152,1863,844,2067,2243,2244,436,1897,1865,2048,865,864,852,843,1888,438,1850,550,1929,2256,1868,2228,1073,179]); +},2255,[3,270,6,7,11,85,13,14,582,16,2143,1863,858,2056,2241,2242,436,1910,1865,2026,879,878,866,857,1881,438,1850,564,1976,2254,1868,2225,1087,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -314525,7 +314484,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e cssClasses: [], cssTextClasses: [] }; -},2258,[3,4,6,7,11,13,14,16,18,568,2259,550,179,1884]); +},2256,[3,4,6,7,11,13,14,16,18,582,2257,564,179,1968]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -314556,7 +314515,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e margin: 10 } }); -},2259,[18]); +},2257,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -315189,7 +315148,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2260,[3,4,270,6,7,11,85,13,14,568,16,18,2152,1863,2067,2243,436,1897,434,2048,865,1928,1888,840,2261,1850,864,2262,2263,2069,854,550,1929,1899,438,1726,179,1937,1923,1919,2221,1939,1073]); +},2258,[3,4,270,6,7,11,85,13,14,582,16,18,2143,1863,2056,2241,436,1910,434,2026,879,2039,1881,854,2259,1850,878,2236,2260,2058,868,564,1976,1908,438,1726,179,2107,2185,2040,2218,1984,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -315302,198 +315261,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); var _default = exports.default = NativeOptionsPageUtils; -},2261,[3,270,6,7,844,2243,2244,864,843,1850,438]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.getKey = getKey; - exports.goToRssNavigator = goToRssNavigator; - exports.logout = logout; - exports.openBrowser = openBrowser; - exports.removeKey = removeKey; - exports.returnFromLogin = returnFromLogin; - exports.setKey = setKey; - exports.setPrefEdi = setPrefEdi; - exports.showAlert = showAlert; - exports.showConfirm = showConfirm; - - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _LoginManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - function returnFromLogin(_x) { - return _returnFromLogin.apply(this, arguments); - } - - function _returnFromLogin() { - _returnFromLogin = (0, _asyncToGenerator2.default)(function* (data) { - (0, _$$_REQUIRE(_dependencyMap[5]).sendNewsmemoryLoginEvent)("start login"); - var pSetup = data.pSetup, - machine = data.machine, - username = data.username, - password = data.password, - challenge = data.challenge, - remember = data.remember, - TAUID = data.TAUID, - token = data.token, - TOKEN = data.TOKEN, - extid = data.extid; - return _LoginManager.default.login({ - pSetup: pSetup, - machine: machine, - username: username, - password: password, - challenge: challenge, - remember: remember, - TAUID: TAUID, - token: TOKEN || token, - extid: extid - }); - }); - return _returnFromLogin.apply(this, arguments); - } - - function logout() { - return _logout.apply(this, arguments); - } - - function _logout() { - _logout = (0, _asyncToGenerator2.default)(function* () { - yield _LoginManager.default.logout(); - - _$$_REQUIRE(_dependencyMap[6]).EventRegister.emit(_events.default.NEWSMEMORY_RELOAD_EDITION); - }); - return _logout.apply(this, arguments); - } - - function openBrowser(data) { - var url = data.url, - callback = data.callback, - close = data.close; - - if (url) { - var extraNavigationParams = {}; - - if (url.indexOf("archiveSearch=1") !== -1) { - extraNavigationParams.screenTitle = global.strings("btn_archive"); - extraNavigationParams.isArchive = true; - } - - _NavigationService.default.main.navigate("WebScreen", Object.assign({ - url: url, - onClose: function onClose() { - _$$_REQUIRE(_dependencyMap[7]).PlatformUtils.colorBars(); - } - }, extraNavigationParams)); - } - } - - function showAlert(data) { - var title = data.title, - message = data.message, - okLabel = data.okLabel; - var buttons = []; - buttons.push({ - text: okLabel || global.strings("btn_ok") - }); - - _$$_REQUIRE(_dependencyMap[8]).CustomAlert.alert(title, message, buttons, { - cancelable: false - }); - } - - function showConfirm(data) { - var _this = this; - - var title = data.title, - message = data.message, - okLabel = data.okLabel, - cancelLabel = data.cancelLabel, - callback = data.callback; - var buttons = []; - buttons.push({ - text: cancelLabel || global.strings("btn_cancel"), - onPress: function onPress() { - _this._confirmResult(callback, false); - } - }, { - text: okLabel || global.strings("btn_ok"), - onPress: function onPress() { - _this._confirmResult(callback, true); - } - }); - - _$$_REQUIRE(_dependencyMap[8]).CustomAlert.alert(title, message, buttons, { - cancelable: false - }); - } - - function goToRssNavigator() { - _NavigationService.default.main.reset("RssNavigator"); - } - - function getKey(_x2) { - return _getKey.apply(this, arguments); - } - - function _getKey() { - _getKey = (0, _asyncToGenerator2.default)(function* (data) { - var key = data.key; - - if (key) { - var _global$getActivePSet = global.getActivePSetup(), - loginStatus = _global$getActivePSet.loginStatus, - udb = _global$getActivePSet.udb; - - var loginStatusValue = ""; - - if (key.startsWith(udb)) { - loginStatusValue = yield loginStatus.getValue(key.replace(udb + "_", "")); - } - - var value = loginStatusValue || (yield global.getNewsmemoryConfig().getValue(key)); - - if (typeof value === "string") { - value = "'" + value + "'"; - } - - return "xcj_getFromKey(" + value + ",'" + key + "');"; - } - - return ""; - }); - return _getKey.apply(this, arguments); - } - - function setKey(data) { - var key = data.key, - value = data.value, - callback = data.callback; - global.getNewsmemoryConfig().setValue(key, value); - - if (callback) { - return callback + "();"; - } - - return ""; - } - - function removeKey(data) { - var key = data.key; - global.getNewsmemoryConfig().removeValue(key); - } - - function setPrefEdi(data) { - var key = data.key, - value = data.value; - global.getNewsmemoryConfig().setValue(key, value); - } -},2262,[3,270,2067,436,1888,1958,550,438,798]); +},2259,[3,270,6,7,858,2241,2242,878,857,1850,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -315664,7 +315432,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); return _completeTransaction.apply(this, arguments); } -},2263,[3,270,1865,865,864,1868,438]); +},2260,[3,270,1865,879,878,1868,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -316230,7 +315998,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2264,[3,4,270,6,7,11,85,13,14,568,16,18,2152,2243,436,1897,2048,865,1928,1888,2261,1850,864,2262,2067,1726,2263,2069,550,1929,1899,438,179,1927,1939,1073]); +},2261,[3,4,270,6,7,11,85,13,14,582,16,18,2143,2241,436,1910,2026,879,2039,1881,2259,1850,878,2236,2056,1726,2260,2058,564,1976,1908,438,179,2055,1984,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -316578,7 +316346,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e OptionPageAccessibility.defaultProps = { shortcutPriority: 0 }; -},2265,[3,270,6,7,11,13,14,568,16,18,2152,406,436,1897,1727,1936,800,2266,550,438,1726,2267,179,2189,2195]); +},2262,[3,270,6,7,11,13,14,582,16,18,2143,406,436,1910,1727,2184,814,2263,564,438,1726,2264,179,2186,2192]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -316620,7 +316388,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e issue: {}, issueText: {} }); -},2266,[18,438]); +},2263,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -316654,7 +316422,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e this.pathEdi = obj.pathEdi; this.editionIndex = obj.editionIndex; }); -},2267,[3,7,6]); +},2264,[3,7,6]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -316891,7 +316659,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e onOpen: function onOpen() {}, onClose: function onClose() {} }; -},2268,[3,270,6,7,11,13,14,568,16,18,875,1863,2244,436,613,852,2229,550,864,438,803,1919,179,1923,2239,1927]); +},2265,[3,270,6,7,11,13,14,582,16,18,889,1863,2242,436,627,866,2226,564,878,438,817,2040,179,2185,2237,2055]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -316918,7 +316686,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e flex: 1 } }); -},2269,[18]); +},2266,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -317008,7 +316776,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _this.indexLevel = 1; _this.updateArticleInterface = false; _this.onBackgroundRef = _this._onBackgroundRef.bind(_this); - _this.onLayout = _this._onLayout.bind(_this); + _this.onLayout = _$$_REQUIRE(_dependencyMap[34]).JSUtils.debounceEventHandler(_this._onLayout.bind(_this), 600, { + leading: false, + trailing: true + }); _this.onMainLayout = _this._onMainLayout.bind(_this); _this.onArticlePress = _this._onArticlePress.bind(_this); _this.openCurrentPageFirstArticle = _this._openCurrentPageFirstArticle.bind(_this); @@ -317069,7 +316840,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var fullscreen = _this._isArticleFullscreen(); - _this.layoutFlexManager = new (_$$_REQUIRE(_dependencyMap[34]).LayoutFlexManager)(fullscreen, fixButtonsBarToBottom); + _this.layoutFlexManager = new (_$$_REQUIRE(_dependencyMap[35]).LayoutFlexManager)(fullscreen, fixButtonsBarToBottom); _this.layoutFlexManager.setIsLite(_this.isLite()); @@ -317077,8 +316848,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _this.layoutFlexManager.setIsFooterAbsolute(_this._canHideFooter()); - _this.isTablet = _$$_REQUIRE(_dependencyMap[35]).PlatformUtils.isTablet(); - _this.highlightEnabled = !_$$_REQUIRE(_dependencyMap[35]).PlatformUtils.isEInk(); + _this.isTablet = _$$_REQUIRE(_dependencyMap[34]).PlatformUtils.isTablet(); + _this.highlightEnabled = !_$$_REQUIRE(_dependencyMap[34]).PlatformUtils.isEInk(); _this.currentArticle = undefined; _this.articleSelectedTimer = undefined; @@ -317237,7 +317008,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e keys: OPEN }); - if (global.isDebug && _$$_REQUIRE(_dependencyMap[35]).PlatformUtils.isIOS()) { + if (global.isDebug && _$$_REQUIRE(_dependencyMap[34]).PlatformUtils.isIOS()) { shortcuts.push({ callback: this.handleBack, keys: DELETE @@ -317348,7 +317119,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e this.layoutFlexManager.setChangingOrientation(true); } - if (!_$$_REQUIRE(_dependencyMap[35]).JSUtils.areEqualShallow(oldSize, newSize)) { + if (!_$$_REQUIRE(_dependencyMap[34]).JSUtils.areEqualShallow(oldSize, newSize)) { this.layoutFlexManager.setSize(newSize); } @@ -317516,7 +317287,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var currentEdition = this._getCurrentNewspaper(); - var currentDate = _$$_REQUIRE(_dependencyMap[35]).DateUtils.getDayAndMonthStringByLanguage(currentEdition == null ? undefined : currentEdition.getIssue(), dateFormat, language); + var currentDate = _$$_REQUIRE(_dependencyMap[34]).DateUtils.getDayAndMonthStringByLanguage(currentEdition == null ? undefined : currentEdition.getIssue(), dateFormat, language); return text.replace("##CurrentDate##", currentDate); } @@ -317526,7 +317297,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e if (this.layoutFlexManager.isIndex()) { var latestLayout = this.layoutFlexManager.getLatestLayout(); - if (latestLayout === _$$_REQUIRE(_dependencyMap[34]).LAYOUTS.ARTICLE.key) { + if (latestLayout === _$$_REQUIRE(_dependencyMap[35]).LAYOUTS.ARTICLE.key) { if (!this._isIndexSecondLevel()) { var edition = this._getCurrentEdition(); @@ -317802,7 +317573,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } else { this.indexLevel = 1; - if (!_$$_REQUIRE(_dependencyMap[35]).PlatformUtils.isSystemAccessibilityEnabled()) { + if (!_$$_REQUIRE(_dependencyMap[34]).PlatformUtils.isSystemAccessibilityEnabled()) { _simulateAccessibilityAlert.default.show({ onConfirm: function onConfirm() { _this5.layoutFlexManager.setAccessibilityModeEnabled(true); @@ -318021,7 +317792,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e showNativeOptionsPage = _global$getActivePSet7.showNativeOptionsPage, showNativeOptionsPageFallbackUrl = _global$getActivePSet7.showNativeOptionsPageFallbackUrl; - if (_$$_REQUIRE(_dependencyMap[35]).NetworkUtils.isOnline() || showNativeOptionsPage && !showNativeOptionsPageFallbackUrl) { + if (_$$_REQUIRE(_dependencyMap[34]).NetworkUtils.isOnline() || showNativeOptionsPage && !showNativeOptionsPageFallbackUrl) { _$$_REQUIRE(_dependencyMap[36]).EventRegister.emit(_events.default.OPEN_OPTIONSPAGE, { tab: _$$_REQUIRE(_dependencyMap[41]).tabs.home }); @@ -318080,7 +317851,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e value: function _isFooterItemPresent(icon) { var action = icon.action; - if (_$$_REQUIRE(_dependencyMap[35]).PlatformUtils.isTablet()) { + if (_$$_REQUIRE(_dependencyMap[34]).PlatformUtils.isTablet()) { if (action === _$$_REQUIRE(_dependencyMap[38]).ACTIONS.openRead.key || action === _$$_REQUIRE(_dependencyMap[38]).ACTIONS.openSwipe.key) { return this._canEnableReadMode(); } @@ -318368,7 +318139,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return isDefaultPortraitFullscreen; } - if (_$$_REQUIRE(_dependencyMap[35]).PlatformUtils.isAndroid() && !_$$_REQUIRE(_dependencyMap[35]).PlatformUtils.isTabletTenInches()) { + if (_$$_REQUIRE(_dependencyMap[34]).PlatformUtils.isAndroid() && !_$$_REQUIRE(_dependencyMap[34]).PlatformUtils.isTabletTenInches()) { return true; } @@ -318403,18 +318174,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, { key: "_onPagesLoaded", value: function _onPagesLoaded() { + var _this$backgroundRef; + _$$_REQUIRE(_dependencyMap[36]).EventRegister.emit(_events.default.NEWSMEMORY_FOOTER_BUTTON_HIDE_STARTUP); - if (this.backgroundRef) { - this.backgroundRef.hide(); - } + (_this$backgroundRef = this.backgroundRef) == null ? undefined : _this$backgroundRef.hide(); } }, { key: "_onPagesUnmounted", value: function _onPagesUnmounted() { - if (this.backgroundRef) { - this.backgroundRef.show(); - } + var _this$backgroundRef2; + + (_this$backgroundRef2 = this.backgroundRef) == null ? undefined : _this$backgroundRef2.show(); } }, { key: "_onPageChange", @@ -318464,7 +318235,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } } - if (!_$$_REQUIRE(_dependencyMap[35]).NetworkUtils.isOnline() && !_$$_REQUIRE(_dependencyMap[35]).PlatformUtils.isTablet()) { + if (!_$$_REQUIRE(_dependencyMap[34]).NetworkUtils.isOnline() && !_$$_REQUIRE(_dependencyMap[34]).PlatformUtils.isTablet()) { var currentNewspaper = this._getCurrentNewspaper(); if (currentNewspaper && !currentNewspaper.hasHighResolutionDownloaded()) { @@ -318473,7 +318244,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _$$_REQUIRE(_dependencyMap[36]).EventRegister.emit(_events.default.NEWSMEMORY_MISSING_HR_WARNING_HIDE); } } - } else if (!_$$_REQUIRE(_dependencyMap[35]).NetworkUtils.isOnline() && !_$$_REQUIRE(_dependencyMap[35]).PlatformUtils.isTablet()) { + } else if (!_$$_REQUIRE(_dependencyMap[34]).NetworkUtils.isOnline() && !_$$_REQUIRE(_dependencyMap[34]).PlatformUtils.isTablet()) { _$$_REQUIRE(_dependencyMap[36]).EventRegister.emit(_events.default.NEWSMEMORY_MISSING_HR_WARNING_HIDE); } @@ -318611,7 +318382,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e value: function _onArticleToggleFullscreen(fullscreen) { this.layoutFlexManager.setIsArticleFullscreen(fullscreen); global.getNewsmemoryConfig().setFullscreen(fullscreen, this.isLandscape()); - this.setState(Object.assign({}, this.layoutFlexManager.getStyles())); + this.setState(this.layoutFlexManager.getStyles()); } }, { key: "_isAccessibilityModeEnabled", @@ -318640,7 +318411,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e firstLevelIndexFooter = _global$getEpaperLayo2.firstLevelIndexFooter, secondLevelIndexFooter = _global$getEpaperLayo2.secondLevelIndexFooter; - if (_$$_REQUIRE(_dependencyMap[35]).JSUtils.equals(firstLevelIndexFooter, secondLevelIndexFooter)) { + if (_$$_REQUIRE(_dependencyMap[34]).JSUtils.equals(firstLevelIndexFooter, secondLevelIndexFooter)) { this.footerLayoutRef.update(); } else { this.forceUpdate(); @@ -318789,7 +318560,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, { key: "_onPageLongPress", value: function _onPageLongPress(event) { - if (_$$_REQUIRE(_dependencyMap[35]).PlatformUtils.isTablet() && this._isTextModeOpen() && !this._isArticleFullscreen()) { + if (_$$_REQUIRE(_dependencyMap[34]).PlatformUtils.isTablet() && this._isTextModeOpen() && !this._isArticleFullscreen()) { var article = this._getCurrentArticle(); if (article) { @@ -318867,7 +318638,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e value: function _getBgPages(newspaper, numberOfShowedPages) { var hidden = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; - if (_$$_REQUIRE(_dependencyMap[35]).PlatformUtils.isEInk()) { + if (_$$_REQUIRE(_dependencyMap[34]).PlatformUtils.isEInk()) { return null; } @@ -318881,7 +318652,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var size = this.layoutFlexManager.getBrowseSize(); - if (_$$_REQUIRE(_dependencyMap[35]).PlatformUtils.isIOS()) { + if (_$$_REQUIRE(_dependencyMap[34]).PlatformUtils.isIOS()) { var safeAreaBrowseSize = this.layoutFlexManager.getBrowseSize(safeArea); var footerSize; @@ -318891,7 +318662,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e footerSize = this.layoutFlexManager.getFooterSize(safeArea); } - if (!tempFitPageHorizontally && (!isLandscape || isLandscape && fixButtonsBarToBottom) && footerSize.height > 0 && _$$_REQUIRE(_dependencyMap[35]).JSUtils.areEqualShallow(safeAreaBrowseSize, safeArea)) { + if (!tempFitPageHorizontally && (!isLandscape || isLandscape && fixButtonsBarToBottom) && footerSize.height > 0 && _$$_REQUIRE(_dependencyMap[34]).JSUtils.areEqualShallow(safeAreaBrowseSize, safeArea)) { size = safeAreaBrowseSize; size.height -= footerSize.height; } @@ -318943,30 +318714,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, { key: "_onLayout", value: function _onLayout(_ref6) { - var _this9 = this; - var nativeEvent = _ref6.nativeEvent; if (this.layoutFlexManager.isChangingLayout(nativeEvent.layout)) { - if (this.onLayoutCoolDown) { - clearTimeout(this.onLayoutCoolDown); - this.onLayoutCoolDown = undefined; + this.layoutFlexManager.setSize(nativeEvent.layout); + + var _global$getActivePSet13 = global.getActivePSetup(), + enableDesktopArticleLayoutOnIPadProInLandscape = _global$getActivePSet13.enableDesktopArticleLayoutOnIPadProInLandscape; + + if (_$$_REQUIRE(_dependencyMap[34]).PlatformUtils.isiPadPro12dot9() && enableDesktopArticleLayoutOnIPadProInLandscape) { + this.layoutFlexManager.setPageFitVerticalWidth(this._getFirstPageFitVerticalWidth(nativeEvent.layout)); } - this.onLayoutCoolDown = setTimeout(function () { - _this9.layoutFlexManager.setSize(nativeEvent.layout); - - var _global$getActivePSet13 = global.getActivePSetup(), - enableDesktopArticleLayoutOnIPadProInLandscape = _global$getActivePSet13.enableDesktopArticleLayoutOnIPadProInLandscape; - - if (_$$_REQUIRE(_dependencyMap[35]).PlatformUtils.isiPadPro12dot9() && enableDesktopArticleLayoutOnIPadProInLandscape) { - _this9.layoutFlexManager.setPageFitVerticalWidth(_this9._getFirstPageFitVerticalWidth(nativeEvent.layout)); - } - - _this9.layoutFlexManager.setChangingOrientation(false); - - _this9.forceUpdate(); - }, _deviceUtils.default.SAFE_AREA_CHANGE_COOL_DOWN_MILLISECS); + this.layoutFlexManager.setChangingOrientation(false); + this.forceUpdate(); } } }, { @@ -319167,7 +318928,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var customArticleStyle = _$$_REQUIRE(_dependencyMap[46]).Css.getStyleObjByCssClasses(["newsmemory-article-container", fullscreen ? "newsmemory-article-container-fullscreen" : "newsmemory-article-container-splitscreen"]); - var cssArticleModeManagerSize = _$$_REQUIRE(_dependencyMap[35]).CssUtils.updateSizeByApplingStyle(articleModeManagerSize, customArticleStyle); + var cssArticleModeManagerSize = _$$_REQUIRE(_dependencyMap[34]).CssUtils.updateSizeByApplingStyle(articleModeManagerSize, customArticleStyle); var browseSize = this.layoutFlexManager.getBrowseSize(); return (0, _$$_REQUIRE(_dependencyMap[45]).jsx)(_$$_REQUIRE(_dependencyMap[46]).Css, { @@ -319217,7 +318978,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, this.props, { shortcutEnabled: pageShortcutEnabled, shortcutPriority: 2 - })), global.getAdsConfig().getAdView(bottomAd, browseSize.width), !_$$_REQUIRE(_dependencyMap[35]).PlatformUtils.isTablet() ? (0, _$$_REQUIRE(_dependencyMap[45]).jsx)(_$$_REQUIRE(_dependencyMap[48]).ProgressBar, { + })), global.getAdsConfig().getAdView(bottomAd, browseSize.width), !_$$_REQUIRE(_dependencyMap[34]).PlatformUtils.isTablet() ? (0, _$$_REQUIRE(_dependencyMap[45]).jsx)(_$$_REQUIRE(_dependencyMap[48]).ProgressBar, { startProgress: currentNewspaperManager && currentNewspaperManager.getDownloadProgress ? currentNewspaperManager.getDownloadProgress() : 0, style: { position: "absolute", @@ -319229,7 +318990,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }) : null, this._getBgPages(currentNewspaper, numberOfShowedPages, !!initialEvent)] }) : null, articleStyle || indexStyle ? (0, _$$_REQUIRE(_dependencyMap[45]).jsx)(_reactNative.View, { style: [articleModeManagerSize, { - backgroundColor: _$$_REQUIRE(_dependencyMap[35]).colors.white + backgroundColor: _$$_REQUIRE(_dependencyMap[34]).colors.white }, customArticleStyle], children: !this.layoutFlexManager.isChangingOrientation() ? (0, _$$_REQUIRE(_dependencyMap[45]).jsx)(_articleModeManager.default, Object.assign({ indexMode: !!indexStyle, @@ -319311,7 +319072,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e children: (0, _$$_REQUIRE(_dependencyMap[45]).jsx)(_newsmemoryFooterBarComponent.default, Object.assign({ ref: this.onFooterLayoutRef, model: footerModel, - hideText: !_$$_REQUIRE(_dependencyMap[35]).PlatformUtils.isTabletTenInches() || isLandscape && fixButtonsBarToBottom, + hideText: !_$$_REQUIRE(_dependencyMap[34]).PlatformUtils.isTabletTenInches() || isLandscape && fixButtonsBarToBottom, animated: this.layoutFlexManager.isFooterAbsolute, onItemPress: this.onFooterItemPress, isItemActive: this.isFooterItemActive, @@ -319344,7 +319105,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e NewsmemoryLayoutManager.defaultProps = Object.assign({}, _$$_REQUIRE(_dependencyMap[50]).Shortcut.defaultProps, { shortcutEnabled: true }); -},2270,[3,270,240,6,7,11,85,13,14,568,16,18,405,1863,2244,436,434,613,842,651,573,650,843,654,2271,2273,2307,2274,2314,2348,2268,2354,2361,2362,2363,438,550,1899,1726,1958,2187,864,1850,850,1903,179,803,811,2364,1884,1939]); +},2267,[3,270,240,6,7,11,85,13,14,582,16,18,405,1863,2242,436,434,627,856,665,587,664,857,668,2268,2270,2304,2271,2311,2345,2265,2351,2358,2359,438,2360,564,1908,1726,1900,2178,878,1850,864,1906,179,817,825,2361,1968,1984]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -319407,7 +319168,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2271,[3,6,7,16,800,2272,798,438,179,2189]); +},2268,[3,6,7,16,814,2269,812,438,179,2186]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -319443,7 +319204,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e color: _$$_REQUIRE(_dependencyMap[1]).colors.black } }); -},2272,[18,438]); +},2269,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -319796,7 +319557,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e ArticleModeManager.defaultProps = Object.assign({}, _$$_REQUIRE(_dependencyMap[24]).Shortcut.defaultProps, { indexMode: false }); -},2273,[3,4,6,7,11,13,14,16,568,650,843,2195,2274,436,654,842,613,1888,438,550,864,803,179,2301,1939]); +},2270,[3,4,6,7,11,13,14,16,582,664,857,2192,2271,436,668,856,627,1881,438,564,878,817,179,2298,1984]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -320678,7 +320439,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e NewsmemoryIndexLayoutManager.defaultProps = Object.assign({}, _$$_REQUIRE(_dependencyMap[38]).PureShortcut.defaultProps, { indexLevel: 1 }); -},2274,[3,4,270,6,7,11,13,14,16,568,2275,2279,654,651,2020,2230,434,2229,2289,2291,436,650,2293,2294,2295,1727,1888,613,1901,2297,843,1899,438,1958,1726,550,179,803,1939,1857]); +},2271,[3,4,270,6,7,11,13,14,16,582,2272,2276,668,665,1998,2227,434,2226,2286,2288,436,664,2290,2291,2292,1727,1881,627,1912,2294,857,1908,438,1900,1726,564,179,817,1984,1857]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -320869,7 +320630,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e NewsmemoryIndex.propTypes = { title: _propTypes.default.string }; -},2275,[3,22,6,7,11,13,14,16,568,434,842,2276,1726,2277,613,179]); +},2272,[3,22,6,7,11,13,14,16,582,434,856,2273,1726,2274,627,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -321286,7 +321047,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e enableSeparator: true, fullscreen: false }); -},2276,[3,22,6,7,11,13,14,16,18,568,2113,654,2190,1936,179,811,2195,438,2277,803,1937,613,1939]); +},2273,[3,22,6,7,11,13,14,16,18,582,2102,668,2187,2184,179,825,2192,438,2274,817,2107,627,1984]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -321568,7 +321329,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e })) }); }; -},2277,[3,16,568,18,800,2190,654,651,842,613,434,2278,1727,438,179,803,2189]); +},2274,[3,16,582,18,814,2187,668,665,856,627,434,2275,1727,438,179,817,2186]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -321787,7 +321548,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e style: _propTypes.default.any, page: _propTypes.default.instanceOf(_Page.default) }; -},2278,[3,4,270,6,7,11,13,14,16,568,18,574,654,573,552,438,179,1884]); +},2275,[3,4,270,6,7,11,13,14,16,582,18,588,668,587,566,438,179,1968]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -322104,7 +321865,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e NewsmemorySecondIndex.defaultProps = Object.assign({}, _indexBaseComponent.default.defaultProps, { secondLevelIndex: 0 }); -},2279,[3,22,6,7,11,85,13,14,16,568,2280,2276,654,613,2277,1726,179]); +},2276,[3,22,6,7,11,85,13,14,16,582,2277,2273,668,627,2274,1726,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -322342,7 +322103,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e showIndicators: false, skipChildMemo: false }; -},2280,[3,6,7,11,13,14,568,16,18,1699,434,2281,2286,2287,1,438,179]); +},2277,[3,6,7,11,13,14,582,16,18,1699,434,2278,2283,2284,1,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -322497,7 +322258,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = EInkNavigationButtons; -},2281,[3,33,4,16,568,18,2282,179,803,2284,2285]); +},2278,[3,33,4,16,582,18,2279,179,817,2281,2282]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -322547,7 +322308,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = EInkButton; -},2282,[3,16,568,18,2283,179,803]); +},2279,[3,16,582,18,2280,179,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -322586,7 +322347,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = ButtonIcon; -},2283,[3,16,568,1974,179,803]); +},2280,[3,16,582,1941,179,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -322598,7 +322359,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-left-button", "type": "png" }); -},2284,[1244]); +},2281,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -322610,7 +322371,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic-right-button", "type": "png" }); -},2285,[1244]); +},2282,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -322669,7 +322430,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = exports.default = ViewPagerChild; -},2286,[3,16,568,18,613,179,1884]); +},2283,[3,16,582,18,627,179,1968]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -322723,7 +322484,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = Indicators; -},2287,[3,16,568,18,2288,179,438]); +},2284,[3,16,582,18,2285,179,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -322754,7 +322515,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e marginBottom: 3 } }); -},2288,[18,438]); +},2285,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -322827,7 +322588,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e SubHeaderComponent.defaultProps = { cssClasses: [] }; -},2289,[3,6,7,11,13,14,16,568,18,2290,179,803]); +},2286,[3,6,7,11,13,14,16,582,18,2287,179,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -322847,7 +322608,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e justifyContent: "flex-end" } }); -},2290,[18,811]); +},2287,[18,825]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -322990,7 +322751,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e color: _propTypes.default.string.isRequired, onChangeEventName: _propTypes.default.string }; -},2291,[3,6,7,11,13,14,16,18,568,800,2292,550,438,179,803,2189]); +},2288,[3,6,7,11,13,14,16,18,582,814,2289,564,438,179,817,2186]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -323024,7 +322785,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e fontStyle: "italic" } }); -},2292,[18,811]); +},2289,[18,825]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -323188,7 +322949,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e active: false, cssProps: {} }; -},2293,[3,4,6,7,11,13,14,16,568,2230,550,179]); +},2290,[3,4,6,7,11,13,14,16,582,2227,564,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -323403,7 +323164,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e rightButtons: [], cssButtonClasses: [] }; -},2294,[3,22,6,7,11,13,14,16,568,18,1726,803,438,811,179,1806]); +},2291,[3,22,6,7,11,13,14,16,582,18,1726,817,438,825,179,1806]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -323486,7 +323247,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_indexBaseComponent.default); -},2295,[3,6,7,11,13,14,16,407,852,2153,2190,2276,803,2186,2188,2296,179,1937,1923]); +},2292,[3,6,7,11,13,14,16,407,866,2144,2187,2273,817,2177,2179,2293,179,2107,2185]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -323500,7 +323261,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var getCustomIndexIframeDefinition = exports.getCustomIndexIframeDefinition = function getCustomIndexIframeDefinition() { return "\n "; }; -},2296,[]); +},2293,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -323661,7 +323422,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e supportColor: global.getRssIndex() }); } -},2297,[3,4,16,1968,434,651,843,2089,2298,438,2182,1976,2055,2187,2042,179,2277,2050,803]); +},2294,[3,4,16,1935,434,665,857,2078,2295,438,2173,1943,2033,2178,2020,179,2274,2028,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -323758,7 +323519,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = TabNavigator; -},2298,[3,4,16,18,568,2299,1682,179,438]); +},2295,[3,4,16,18,582,2296,1682,179,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -323994,7 +323755,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = TabBar; -},2299,[3,22,33,16,18,568,2300,438,179]); +},2296,[3,22,33,16,18,582,2297,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -324080,7 +323841,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = TabItem; -},2300,[3,16,18,568,1974,800,438,179]); +},2297,[3,16,18,582,1941,814,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -326386,7 +326147,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e NewsmemoryArticleLayoutManager.defaultProps = Object.assign({}, _$$_REQUIRE(_dependencyMap[54]).Shortcut.defaultProps, { header: false }); -},2301,[3,270,6,7,11,85,13,14,568,16,18,1863,406,1864,1998,436,2302,434,613,842,2157,552,1727,650,651,843,654,2000,2280,2153,2303,2229,2304,2291,2289,2305,2230,2294,2293,2306,1726,550,438,1899,1904,1881,1929,2183,179,1958,1933,803,850,2182,1939,1857]); +},2298,[3,270,6,7,11,85,13,14,582,16,18,1863,406,1864,1965,436,2299,434,627,856,2148,566,1727,664,665,857,668,1967,2277,2144,2300,2226,2301,2288,2286,2302,2227,2291,2290,2303,1726,564,438,1908,1909,1979,1976,2174,179,1900,2181,817,864,2173,1984,1857]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -326870,7 +326631,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},2302,[3,270,6,7,18,2169,553,406,650,651,843,654,1888,552,1928,1929,1904,1903,1958,438,850,572]); +},2299,[3,270,6,7,18,2160,567,406,664,665,857,668,1881,566,2039,1976,1909,1906,1900,438,864,586]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -327052,7 +326813,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e level: DEFAULT_LEVEL, visible: false }; -},2303,[3,6,7,11,13,14,16,18,568,800,436,550,179,803,811]); +},2300,[3,6,7,11,13,14,16,18,582,814,436,564,179,817,825]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -327124,7 +326885,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = FlagIconComponent; -},2304,[3,22,4,16,568,18,1974,2174,800,438,1726,179,803]); +},2301,[3,22,4,16,582,18,1941,2165,814,438,1726,179,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -327297,7 +327058,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e badgeIcon: undefined, cssBadgeClasses: [] }; -},2305,[3,6,7,11,85,13,14,16,568,18,2230,2231,1974,550,438,179,803]); +},2302,[3,6,7,11,85,13,14,16,582,18,2227,2228,1941,564,438,179,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -327351,7 +327112,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e flex: 1 } }); -},2306,[18,811]); +},2303,[18,825]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -328046,7 +327807,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e isItemPresent: _propTypes.default.func, style: _propTypes.default.any }, _$$_REQUIRE(_dependencyMap[33]).Shortcut.propTypes); -},2307,[3,270,22,6,7,11,85,13,14,568,16,18,1863,2244,436,434,2048,1901,1888,1974,2308,550,1899,803,438,1726,179,1933,864,798,2121,2309,2313,1939,1847]); +},2304,[3,270,22,6,7,11,85,13,14,582,16,18,1863,2242,436,434,2026,1912,1881,1941,2305,564,1908,817,438,1726,179,2181,878,812,2111,2306,2310,1984,1847]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -328412,7 +328173,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e duration: _$$_REQUIRE(_dependencyMap[12]).HIDE_ANIMATION_DURATION, hideAfter: _$$_REQUIRE(_dependencyMap[12]).HIDE_ANIMATION_TIMER }; -},2308,[3,4,6,7,11,13,14,16,568,18,550,179,811]); +},2305,[3,4,6,7,11,13,14,16,582,18,564,179,825]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -328632,7 +328393,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[18]).NewsMemoryFooterIcon); -},2309,[3,6,7,11,85,13,14,16,436,2310,550,843,798,438,1726,179,1884,2312,2313]); +},2306,[3,6,7,11,85,13,14,16,436,2307,564,857,812,438,1726,179,1968,2309,2310]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -328780,7 +328541,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e cssTextClasses: [], cssTextParentClasses: [] }; -},2310,[3,6,7,11,13,14,16,18,154,568,2311,1974,179,2312,803]); +},2307,[3,6,7,11,13,14,16,18,154,582,2308,1941,179,2309,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -328903,7 +328664,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e cssClasses: [], cssParentClasses: [] }; -},2311,[3,270,6,7,11,13,14,16,568,18,800,438,179,803,2312]); +},2308,[3,270,6,7,11,13,14,16,582,18,814,438,179,817,2309]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -328937,7 +328698,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e fontSize: 12 } }); -},2312,[18]); +},2309,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -329172,7 +328933,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e active: false, visible: true }); -},2313,[3,270,6,7,11,13,14,16,568,18,800,2310,179,438,803,2312,1939,1806]); +},2310,[3,270,6,7,11,13,14,16,582,18,814,2307,179,438,817,2309,1984,1806]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -329193,29 +328954,29 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); var _reactNative = _$$_REQUIRE(_dependencyMap[10]); - var _Page = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[11])); + var _NewsmemoryConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - var _newsmemoryUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); + var _InterstitialsHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); - var _pagesNavigation = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); + var _newsmemoryUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); - var _horizontalPagesManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); + var _pageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); - var _pageUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[16])); + var _NewspaperIssue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[16])); - var _InterstitialsHelper = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[17])); + var _Page = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[17])); - var _NewspaperIssue = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18])); + var _horizontalPagesManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18])); - var _NewsmemoryConfig = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[19])); + var _pagesNavigation = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[19])); function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } @@ -329859,1165 +329620,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e pageNumberTop: true, isSpecialSection: false }); -},2314,[3,270,6,7,11,85,13,14,16,568,18,654,613,436,2315,2329,842,2200,843,1863,550,438,1899,1958,179,1939,1862]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[9]); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _newsmemoryUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - var _Edition = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); - - var _imageIconChooserComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); - - var _newsmemoryIcon = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); - - var _pagesBackToPaperButton = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); - - var _pagesLayoutManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[16])); - - var _pagesNavigationButtons = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[17])); - - var _pagesTextInfo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18])); - - var _excluded = ["visible"]; - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var PagesNavigation = exports.default = function (_React$Component) { - function PagesNavigation(props) { - var _this; - - (0, _classCallCheck2.default)(this, PagesNavigation); - _this = _callSuper(this, PagesNavigation, [props]); - _this.state = Object.assign({}, props.defaultState, { - visible: true - }); - return _this; - } - - (0, _inherits2.default)(PagesNavigation, _React$Component); - return (0, _createClass2.default)(PagesNavigation, [{ - key: "componentDidMount", - value: function componentDidMount() { - var _this2 = this; - - if (!_$$_REQUIRE(_dependencyMap[19]).PlatformUtils.isTablet()) { - this.onHrDownloadErrorId = _$$_REQUIRE(_dependencyMap[20]).EventRegister.on(_events.default.NEWSMEMORY_HR_DOWNLOAD_ERROR, function () { - var error = _this2.state.error; - - if (!error) { - _this2.setState({ - error: true, - warning: false - }); - } - }); - this.onHrDownloadSuccessId = _$$_REQUIRE(_dependencyMap[20]).EventRegister.on(_events.default.NEWSMEMORY_HR_DOWNLOAD_SUCCESS, function () { - var error = _this2.state.error; - - if (error) { - _this2.setState({ - error: false, - warning: false - }); - } - }); - this.onWarningShow = _$$_REQUIRE(_dependencyMap[20]).EventRegister.on(_events.default.NEWSMEMORY_MISSING_HR_WARNING_SHOW, function () { - var error = _this2.state.error; - - if (!error) { - _this2.setState({ - error: false, - warning: true - }); - } - }); - this.onWarningHide = _$$_REQUIRE(_dependencyMap[20]).EventRegister.on(_events.default.NEWSMEMORY_MISSING_HR_WARNING_HIDE, function () { - var error = _this2.state.error; - - if (error) { - _this2.setState({ - error: false, - warning: false - }); - } - }); - } - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - _$$_REQUIRE(_dependencyMap[20]).EventRegister.rm(this.onHrDownloadErrorId); - - _$$_REQUIRE(_dependencyMap[20]).EventRegister.rm(this.onHrDownloadSuccessId); - - _$$_REQUIRE(_dependencyMap[20]).EventRegister.rm(this.onWarningShow); - - _$$_REQUIRE(_dependencyMap[20]).EventRegister.rm(this.onWarningHide); - } - }, { - key: "updateVisibility", - value: function updateVisibility(value) { - var visible = this.state.visible; - - if (visible !== value) { - this.setState({ - visible: value - }); - } - } - }, { - key: "updateNavigationLayout", - value: function updateNavigationLayout(param) { - var _this$state = this.state, - visible = _this$state.visible, - rest = (0, _objectWithoutProperties2.default)(_this$state, _excluded); - - if (!_$$_REQUIRE(_dependencyMap[19]).JSUtils.areEqualShallow(rest, param)) { - this.setState(param); - } - } - }, { - key: "_shouldXPaperNavigationCloseButton", - value: function _shouldXPaperNavigationCloseButton() { - var _global$getActivePSet = global.getActivePSetup(), - showXPaperNavigationCloseButton = _global$getActivePSet.showXPaperNavigationCloseButton; - - return showXPaperNavigationCloseButton && _newsmemoryUtils.default.isXPaperActive(); - } - }, { - key: "_getErrorIcon", - value: function _getErrorIcon(error) { - return (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_reactNative.View, { - style: [_pagesLayoutManager.default.pageNumberContainer, _pagesLayoutManager.default.pageNumberContainerRight, _pagesLayoutManager.default.pageNumberContainerTop, _pagesLayoutManager.default.pageNumberContainerRightTop, error ? _pagesLayoutManager.default.errorContainer : _pagesLayoutManager.default.warningContainer], - children: (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_$$_REQUIRE(_dependencyMap[22]).TouchableOpacity, { - onPress: function onPress() { - _$$_REQUIRE(_dependencyMap[23]).CustomAlert.alert(error ? global.strings("err_download_edition") : "", global.strings("offline_download_warning")); - }, - children: (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_reactNative.View, { - style: _pagesLayoutManager.default.warningIcon, - children: (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_newsmemoryIcon.default, { - center: true, - icon: _$$_REQUIRE(_dependencyMap[24]).ACTIONS.warning.icon, - foregroundColor: _$$_REQUIRE(_dependencyMap[19]).colors.white - }) - }) - }) - }); - } - }, { - key: "_getTopLeftComponent", - value: function _getTopLeftComponent() { - var _this$props = this.props, - pageNumberTop = _this$props.pageNumberTop, - width = _this$props.width, - height = _this$props.height, - pagesAreaSize = _this$props.pagesAreaSize, - bgColor = _this$props.bgColor, - textColor = _this$props.textColor; - var _this$state2 = this.state, - leftPageNumber = _this$state2.leftPageNumber, - leftPageNumberIsHidden = _this$state2.leftPageNumberIsHidden, - animateButtons = _this$state2.animateButtons; - var leftRadiusStyle = {}; - - if (pageNumberTop) { - leftRadiusStyle = _pagesLayoutManager.default.pageNumberContainerLeftTop; - } else { - leftRadiusStyle = _pagesLayoutManager.default.pageNumberContainerLeftBottom; - } - - return !leftPageNumberIsHidden ? (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_pagesTextInfo.default, { - position: _pagesNavigationButtons.PagesNavigationButtonsPosition.left, - stylePropToAnimate: "start", - style: [_pagesLayoutManager.default.pageNumberContainer, _pagesLayoutManager.default.pageNumberContainerLeft, { - backgroundColor: bgColor - }, leftRadiusStyle, pageNumberTop ? _pagesLayoutManager.default.pageNumberContainerTop : _pagesLayoutManager.default.pageNumberContainerBottom], - animated: animateButtons, - textStyle: [_pagesLayoutManager.default.pageText, { - color: textColor - }], - text: leftPageNumber, - width: width, - height: height, - pagesAreaSize: pagesAreaSize - }, "leftPage") : null; - } - }, { - key: "_getTopCenterComponent", - value: function _getTopCenterComponent() { - if (!this._shouldXPaperNavigationCloseButton()) { - return null; - } - - var _this$props2 = this.props, - pageNumberTop = _this$props2.pageNumberTop, - width = _this$props2.width, - height = _this$props2.height, - pagesAreaSize = _this$props2.pagesAreaSize, - bgColor = _this$props2.bgColor, - textColor = _this$props2.textColor, - onGoToMainEdition = _this$props2.onGoToMainEdition, - edition = _this$props2.edition, - isSpecialSection = _this$props2.isSpecialSection; - var _this$state3 = this.state, - animateButtons = _this$state3.animateButtons, - rightPageNumberIsHidden = _this$state3.rightPageNumberIsHidden, - error = _this$state3.error; - - var _global$getActivePSet2 = global.getActivePSetup(), - paperName = _global$getActivePSet2.paperName; - - var paperLabel = isSpecialSection ? (edition == null ? undefined : edition.getEdition()) || paperName : paperName; - var textStyle = [_pagesLayoutManager.default.pageText, _pagesLayoutManager.default.xpaperInfoText, { - color: textColor - }]; - return (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_pagesTextInfo.default, { - position: _pagesNavigationButtons.PagesNavigationButtonsPosition.center, - stylePropToAnimate: "end", - style: [_pagesLayoutManager.default.paperInfoContainer, { - backgroundColor: bgColor, - alignItems: rightPageNumberIsHidden && !error ? "flex-end" : "center" - }, pageNumberTop ? _pagesLayoutManager.default.pageNumberContainerTop : _pagesLayoutManager.default.pageNumberContainerBottom], - animated: animateButtons, - textStyle: textStyle, - IconComponent: (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_imageIconChooserComponent.default, { - type: _$$_REQUIRE(_dependencyMap[25]).TecnaviaIconType.MATERIAL_COMMUNITY_ICONS, - name: "close", - iconStyle: [textStyle, _pagesLayoutManager.default.xpaperInfoCloseIcon] - }), - text: global.strings("btn_close") + " " + paperLabel, - width: width, - height: height, - pagesAreaSize: pagesAreaSize, - onPress: onGoToMainEdition - }, "xpaperInfo"); - } - }, { - key: "_getTopRightComponent", - value: function _getTopRightComponent() { - var _this$props3 = this.props, - pageNumberTop = _this$props3.pageNumberTop, - width = _this$props3.width, - height = _this$props3.height, - pagesAreaSize = _this$props3.pagesAreaSize, - bgColor = _this$props3.bgColor, - textColor = _this$props3.textColor; - var _this$state4 = this.state, - rightPageNumber = _this$state4.rightPageNumber, - rightPageNumberIsHidden = _this$state4.rightPageNumberIsHidden, - animateButtons = _this$state4.animateButtons; - var rightRadiusStyle = {}; - - if (pageNumberTop) { - rightRadiusStyle = _pagesLayoutManager.default.pageNumberContainerRightTop; - } else { - rightRadiusStyle = _pagesLayoutManager.default.pageNumberContainerRightBottom; - } - - return !rightPageNumberIsHidden ? (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_pagesTextInfo.default, { - position: _pagesNavigationButtons.PagesNavigationButtonsPosition.right, - stylePropToAnimate: "end", - style: [_pagesLayoutManager.default.pageNumberContainer, _pagesLayoutManager.default.pageNumberContainerRight, { - backgroundColor: bgColor - }, rightRadiusStyle, pageNumberTop ? _pagesLayoutManager.default.pageNumberContainerTop : _pagesLayoutManager.default.pageNumberContainerBottom], - animated: animateButtons, - textStyle: [_pagesLayoutManager.default.pageText, { - color: textColor - }], - text: rightPageNumber, - width: width, - height: height, - pagesAreaSize: pagesAreaSize - }, "rightPage") : null; - } - }, { - key: "_getBackButton", - value: function _getBackButton() { - var _this$props4 = this.props, - isSpecialSection = _this$props4.isSpecialSection, - onGoToMainEdition = _this$props4.onGoToMainEdition; - - if (this._shouldXPaperNavigationCloseButton() || !isSpecialSection) { - return null; - } - - return (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_pagesBackToPaperButton.default, { - onPress: onGoToMainEdition - }); - } - }, { - key: "render", - value: function render() { - var _this$props5 = this.props, - model = _this$props5.model, - width = _this$props5.width, - height = _this$props5.height, - pagesAreaSize = _this$props5.pagesAreaSize, - onGoToLeftPagePress = _this$props5.onGoToLeftPagePress, - onGoToLeftSectionPress = _this$props5.onGoToLeftSectionPress, - onGoToFirstPage = _this$props5.onGoToFirstPage, - onGoToRightPagePress = _this$props5.onGoToRightPagePress, - onGoToRightSectionPress = _this$props5.onGoToRightSectionPress, - onGoToLastPage = _this$props5.onGoToLastPage; - var _this$state5 = this.state, - leftNavigationIsHidden = _this$state5.leftNavigationIsHidden, - rightNavigationIsHidden = _this$state5.rightNavigationIsHidden, - visible = _this$state5.visible, - error = _this$state5.error, - warning = _this$state5.warning, - animateButtons = _this$state5.animateButtons; - - if (!visible) { - if (error || warning) { - return this._getErrorIcon(error); - } - - return null; - } - - return [this._getTopCenterComponent(), this._getTopLeftComponent(), this._getTopRightComponent(), this._getBackButton(), error ? this._getErrorIcon(true) : null, !leftNavigationIsHidden ? (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_pagesNavigationButtons.default, { - model: model, - width: width, - height: height, - pagesAreaSize: pagesAreaSize, - animated: animateButtons, - position: _pagesNavigationButtons.PagesNavigationButtonsPosition.left, - onPagePress: onGoToLeftPagePress, - onSectionPress: onGoToLeftSectionPress, - onSectionDoublePress: onGoToFirstPage - }, "leftNavigation") : null, !rightNavigationIsHidden ? (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_pagesNavigationButtons.default, { - model: model, - width: width, - height: height, - pagesAreaSize: pagesAreaSize, - animated: animateButtons, - position: _pagesNavigationButtons.PagesNavigationButtonsPosition.right, - onPagePress: onGoToRightPagePress, - onSectionPress: onGoToRightSectionPress, - onSectionDoublePress: onGoToLastPage - }, "rightNavigation") : null]; - } - }]); - }(_react.default.Component); - - PagesNavigation.propTypes = { - model: _propTypes.default.instanceOf(_$$_REQUIRE(_dependencyMap[26]).Navigation), - edition: _propTypes.default.instanceOf(_Edition.default), - pageNumberTop: _propTypes.default.bool.isRequired, - isSpecialSection: _propTypes.default.bool, - width: _propTypes.default.number.isRequired, - height: _propTypes.default.number.isRequired, - pagesAreaSize: _propTypes.default.object, - onGoToLeftPagePress: _propTypes.default.func.isRequired, - onGoToLeftSectionPress: _propTypes.default.func.isRequired, - onGoToFirstPage: _propTypes.default.func.isRequired, - onGoToRightPagePress: _propTypes.default.func.isRequired, - onGoToRightSectionPress: _propTypes.default.func.isRequired, - onGoToLastPage: _propTypes.default.func.isRequired, - onGoToMainEdition: _propTypes.default.func.isRequired, - bgColor: _propTypes.default.string, - textColor: _propTypes.default.string, - defaultState: _propTypes.default.shape({ - leftPageNumber: _propTypes.default.string, - rightPageNumber: _propTypes.default.string, - leftPageNumberIsHidden: _propTypes.default.bool, - rightPageNumberIsHidden: _propTypes.default.bool, - leftNavigationIsHidden: _propTypes.default.bool, - rightNavigationIsHidden: _propTypes.default.bool - }) - }; - PagesNavigation.defaultProps = { - isSpecialSection: false, - defaultState: { - leftPageNumber: undefined, - rightPageNumber: undefined, - leftPageNumberIsHidden: true, - rightPageNumberIsHidden: true, - leftNavigationIsHidden: true, - rightNavigationIsHidden: true, - error: false, - warning: false, - animateButtons: false - } - }; -},2315,[3,4,6,7,11,13,14,568,16,18,436,613,650,1974,2310,2316,2317,2319,2328,438,550,179,1,798,1726,1807,1862]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[8]); - - var _pagesLayoutManager = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[9])); - - var _imageComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var PagesBackToPaperButton = exports.default = function (_React$Component) { - function PagesBackToPaperButton() { - (0, _classCallCheck2.default)(this, PagesBackToPaperButton); - return _callSuper(this, PagesBackToPaperButton, arguments); - } - - (0, _inherits2.default)(PagesBackToPaperButton, _React$Component); - return (0, _createClass2.default)(PagesBackToPaperButton, [{ - key: "render", - value: function render() { - var onPress = this.props.onPress; - return (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_reactNative.TouchableOpacity, { - onPress: onPress, - style: { - position: "absolute", - top: 40 - }, - children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_imageComponent.default, { - style: [_pagesLayoutManager.default.navigationMainButton, { - height: _pagesLayoutManager.NAVIGATION_ROUND_BUTTON_HEIGHT, - margin: 2 - }], - resizeMode: "contain", - source: _$$_REQUIRE(_dependencyMap[12]) - }) - }); - } - }]); - }(_react.default.Component); - - PagesBackToPaperButton.propTypes = { - onPress: _propTypes.default.func.isRequired - }; -},2316,[3,6,7,11,13,14,16,568,18,2317,574,179,2318]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.NAVIGATION_SUB_BUTTON_HEIGHT = exports.NAVIGATION_ROUND_BUTTON_HEIGHT = exports.NAVIGATION_PARENT_ROUND_BUTTON = exports.NAVIGATION_PARENT_BUTTON = exports.NAVIGATION_PAGE_NUMBER_MIN_WIDTH = exports.NAVIGATION_MAIN_BUTTON_HEIGHT = exports.NAVIGATION_BUTTON_WIDTH = undefined; - - var _reactNative = _$$_REQUIRE(_dependencyMap[0]); - - var NAVIGATION_BUTTON_WIDTH = exports.NAVIGATION_BUTTON_WIDTH = 30; - var NAVIGATION_MAIN_BUTTON_HEIGHT = exports.NAVIGATION_MAIN_BUTTON_HEIGHT = 90; - var NAVIGATION_SUB_BUTTON_HEIGHT = exports.NAVIGATION_SUB_BUTTON_HEIGHT = 70; - var NAVIGATION_ROUND_BUTTON_HEIGHT = exports.NAVIGATION_ROUND_BUTTON_HEIGHT = 50; - var NAVIGATION_PARENT_BUTTON = exports.NAVIGATION_PARENT_BUTTON = NAVIGATION_MAIN_BUTTON_HEIGHT + NAVIGATION_SUB_BUTTON_HEIGHT + 20; - var NAVIGATION_PARENT_ROUND_BUTTON = exports.NAVIGATION_PARENT_ROUND_BUTTON = NAVIGATION_ROUND_BUTTON_HEIGHT + NAVIGATION_ROUND_BUTTON_HEIGHT + 20; - var NAVIGATION_PAGE_NUMBER_MIN_WIDTH = exports.NAVIGATION_PAGE_NUMBER_MIN_WIDTH = 40; - - var _default = exports.default = _reactNative.StyleSheet.create({ - navigationParentButtons: { - position: "absolute", - height: NAVIGATION_PARENT_BUTTON, - flexDirection: "column", - justifyContent: "space-between" - }, - navigationParentButton: { - width: NAVIGATION_BUTTON_WIDTH + 20 - }, - navigationParentButtonLeft: { - alignItems: "flex-start" - }, - navigationParentButtonRight: { - alignItems: "flex-end" - }, - navigationMainButton: { - width: NAVIGATION_BUTTON_WIDTH, - fontSize: NAVIGATION_BUTTON_WIDTH, - height: NAVIGATION_MAIN_BUTTON_HEIGHT - }, - navigationSubButton: { - width: NAVIGATION_BUTTON_WIDTH, - fontSize: NAVIGATION_BUTTON_WIDTH, - height: NAVIGATION_SUB_BUTTON_HEIGHT - }, - pageNumberContainer: { - position: "absolute", - backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.black, - minWidth: NAVIGATION_PAGE_NUMBER_MIN_WIDTH, - justifyContent: "center", - alignItems: "center" - }, - paperInfoContainer: { - position: "absolute", - backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.black, - minWidth: "100%", - justifyContent: "center", - alignItems: "center", - paddingHorizontal: 5 - }, - pageNumberContainerTop: { - top: 0 - }, - pageNumberContainerBottom: { - bottom: 0 - }, - pageNumberContainerLeft: { - start: 0 - }, - pageNumberContainerLeftTop: { - borderBottomRightRadius: 5 - }, - pageNumberContainerRightTop: { - borderBottomLeftRadius: 5 - }, - pageNumberContainerLeftBottom: { - borderTopRightRadius: 5 - }, - pageNumberContainerRightBottom: { - borderTopLeftRadius: 5 - }, - pageNumberContainerRight: { - end: 0 - }, - pageText: { - fontSize: _$$_REQUIRE(_dependencyMap[2]).HEADER_FONT_SIZE, - color: _$$_REQUIRE(_dependencyMap[1]).colors.white - }, - xpaperInfoText: { - fontSize: 14, - paddingVertical: 2.5, - paddingHorizontal: 5 - }, - xpaperInfoCloseIcon: { - fontSize: _$$_REQUIRE(_dependencyMap[2]).HEADER_FONT_SIZE - }, - errorContainer: { - backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.md_red_600 - }, - warningContainer: { - backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.md_orange_600 - }, - warningIcon: { - width: 20, - height: 23 - } - }); -},2317,[18,438,811]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ - "__packager_asset": true, - "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v2", - "width": 128, - "height": 128, - "scales": [1], - "hash": "bce7a2aa9b8a82442d8021acd91fdbdf", - "name": "ic-back-to-paper", - "type": "png" - }); -},2318,[1244]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = exports.PagesNavigationButtonsPosition = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[8]); - - var _pagesLayoutManager = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[9])); - - var _tapView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - var _hidingAnimationComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); - - var _imageIconChooserComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); - - function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } - - function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var PagesNavigationButtonsPosition = exports.PagesNavigationButtonsPosition = { - left: "LEFT", - center: "CENTER", - right: "RIGHT" - }; - var ICONS = { - 1: { - icons: { - backPage: { - key: "backPage", - icon: _$$_REQUIRE(_dependencyMap[14]) - }, - backSection: { - key: "backSection", - icon: _$$_REQUIRE(_dependencyMap[15]) - }, - forwardPage: { - key: "forwardPage", - icon: _$$_REQUIRE(_dependencyMap[16]) - }, - forwardSection: { - key: "forwardSection", - icon: _$$_REQUIRE(_dependencyMap[17]) - } - }, - styling: { - resizeMode: "stretch", - parentHeight: _pagesLayoutManager.NAVIGATION_PARENT_BUTTON, - style: { - opacity: 0.6 - } - } - }, - 2: { - icons: { - backPage: { - key: "backPage", - icon: _$$_REQUIRE(_dependencyMap[18]) - }, - backSection: { - key: "backSection", - icon: _$$_REQUIRE(_dependencyMap[19]) - }, - forwardPage: { - key: "forwardPage", - icon: _$$_REQUIRE(_dependencyMap[20]) - }, - forwardSection: { - key: "forwardSection", - icon: _$$_REQUIRE(_dependencyMap[21]) - } - }, - styling: { - resizeMode: "contain", - style: { - height: _pagesLayoutManager.NAVIGATION_ROUND_BUTTON_HEIGHT, - margin: 2 - }, - parentHeight: _pagesLayoutManager.NAVIGATION_PARENT_ROUND_BUTTON - } - } - }; - - var PagesNavigationButtons = exports.default = function (_React$PureComponent) { - function PagesNavigationButtons(props) { - var _this; - - (0, _classCallCheck2.default)(this, PagesNavigationButtons); - _this = _callSuper(this, PagesNavigationButtons, [props]); - _this.onLayout = _this._onLayout.bind(_this); - _this.state = { - animated: props.animated - }; - return _this; - } - - (0, _inherits2.default)(PagesNavigationButtons, _React$PureComponent); - return (0, _createClass2.default)(PagesNavigationButtons, [{ - key: "UNSAFE_componentWillReceiveProps", - value: function UNSAFE_componentWillReceiveProps(nextProps) { - var animated = this.props.animated; - - if (animated !== nextProps.animated) { - this.setState({ - animated: nextProps.animated - }); - } - } - }, { - key: "_onLayout", - value: function _onLayout(_ref) { - var nativeEvent = _ref.nativeEvent; - var _this$props = this.props, - width = _this$props.width, - pagesAreaSize = _this$props.pagesAreaSize; - var animated = this.state.animated; - - if (animated) { - var layout = nativeEvent.layout; - - if (layout) { - var horizontalBorderAreaWidth = Math.max(width - pagesAreaSize.width, 0) / 2; - - if (horizontalBorderAreaWidth >= layout.width) { - animated = false; - } - } - - this.setState({ - animated: animated - }); - } - } - }, { - key: "_getIcon", - value: function _getIcon(button, buttonStyle) { - var version = this.props.version; - var _ICONS$version = ICONS[version], - icons = _ICONS$version.icons, - styling = _ICONS$version.styling; - var resizeMode = styling.resizeMode, - style = styling.style; - var action = button.getAction(); - return (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_$$_REQUIRE(_dependencyMap[23]).Css, { - classes: ["newsmemory-icon", "newsmemory-navigation-icon", "newsmemory-navigation-" + action + "-icon"], - children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_imageIconChooserComponent.default, { - style: [buttonStyle, style], - resizeMode: resizeMode, - source: icons[action].icon, - type: button.getLibrary(), - name: button.getIcon() - }) - }); - } - }, { - key: "_getButton", - value: function _getButton(button) { - var _this$props2 = this.props, - onPagePress = _this$props2.onPagePress, - onSectionPress = _this$props2.onSectionPress, - onSectionDoublePress = _this$props2.onSectionDoublePress, - position = _this$props2.position; - var action = button.getAction(); - var isLeft = position === PagesNavigationButtonsPosition.left; - - switch (action) { - case "backPage": - case "forwardPage": - return (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_tapView.default, { - onPress: onPagePress, - onSingleTap: onPagePress, - onDoubleTap: onPagePress, - children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_$$_REQUIRE(_dependencyMap[23]).Css, { - classes: ["page-navigation-button"], - cssKey: action, - children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_reactNative.View, { - style: [_pagesLayoutManager.default.navigationParentButton, isLeft ? _pagesLayoutManager.default.navigationParentButtonLeft : _pagesLayoutManager.default.navigationParentButtonRight], - children: this._getIcon(button, _pagesLayoutManager.default.navigationMainButton) - }) - }) - }, "page_navigation_" + action); - - case "backSection": - case "forwardSection": - return (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_tapView.default, { - onPress: onSectionPress, - onSingleTap: onSectionPress, - onDoubleTap: onSectionDoublePress, - children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_$$_REQUIRE(_dependencyMap[23]).Css, { - classes: ["page-navigation-button"], - cssKey: action, - children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_reactNative.View, { - style: [_pagesLayoutManager.default.navigationParentButton, isLeft ? _pagesLayoutManager.default.navigationParentButtonLeft : _pagesLayoutManager.default.navigationParentButtonRight], - children: this._getIcon(button, _pagesLayoutManager.default.navigationSubButton) - }) - }) - }, "page_navigation_" + action); - } - - return null; - } - }, { - key: "_getButtons", - value: function _getButtons(buttons) { - var _this2 = this; - - return buttons && buttons.map(function (button) { - return _this2._getButton(button); - }); - } - }, { - key: "render", - value: function render() { - var _this$props3 = this.props, - height = _this$props3.height, - position = _this$props3.position, - version = _this$props3.version, - model = _this$props3.model; - var animated = this.state.animated; - var isLeft = position === PagesNavigationButtonsPosition.left; - var horizontalConstraint = isLeft ? { - start: 0 - } : { - end: 0 - }; - var styling = ICONS[version].styling; - var parentHeight = styling.parentHeight; - var backSection; - var forwardSection; - - if (model) { - backSection = model.getBack(); - forwardSection = model.getForward(); - } - - var buttons; - var direction; - - if (_$$_REQUIRE(_dependencyMap[24]).PlatformUtils.isRTL()) { - buttons = isLeft ? forwardSection && forwardSection.getButtons() : backSection && backSection.getButtons(); - direction = isLeft ? "forward" : "back"; - } else { - buttons = isLeft ? backSection && backSection.getButtons() : forwardSection && forwardSection.getButtons(); - direction = isLeft ? "back" : "forward"; - } - - var top = height * 0.6 - parentHeight / 2; - return (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_$$_REQUIRE(_dependencyMap[23]).Css, { - classes: ["newsmemory-navigation-icons-parent", "newsmemory-navigation-" + direction + "-icons-parent"], - children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_hidingAnimationComponent.default, { - stylePropToAnimate: isLeft ? "start" : "end", - style: [_pagesLayoutManager.default.navigationParentButtons, Object.assign({ - top: top - }, horizontalConstraint), { - height: parentHeight - }], - enabled: animated, - eventToShow: _events.default.NEWSMEMORY_VIEWPAGER_GESTURE_START, - eventToggleEnable: _events.default.NEWSMEMORY_RESET_NAVIGATION_BUTTONS_POSITION, - onLayout: this.onLayout, - children: this._getButtons(buttons) - }) - }); - } - }]); - }(_react.default.PureComponent); - - PagesNavigationButtons.propTypes = { - model: _propTypes.default.instanceOf(_$$_REQUIRE(_dependencyMap[25]).Navigation), - width: _propTypes.default.number, - height: _propTypes.default.number, - animated: _propTypes.default.bool, - pagesAreaSize: _propTypes.default.object, - position: _propTypes.default.oneOf([PagesNavigationButtonsPosition.left, PagesNavigationButtonsPosition.right]), - onPagePress: _propTypes.default.func.isRequired, - onSectionPress: _propTypes.default.func.isRequired, - onSectionDoublePress: _propTypes.default.func.isRequired, - version: _propTypes.default.number - }; - PagesNavigationButtons.defaultProps = { - version: 2 - }; -},2319,[3,6,7,11,13,14,16,568,18,2317,2160,436,2308,1974,2320,2321,2322,2323,2324,2325,2326,2327,179,803,438,1862]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ - "__packager_asset": true, - "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v1", - "width": 167, - "height": 500, - "scales": [1], - "hash": "eddb3297c148d18d34f7269acf7ebe45", - "name": "ic-back-button", - "type": "png" - }); -},2320,[1244]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ - "__packager_asset": true, - "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v1", - "width": 167, - "height": 360, - "scales": [1], - "hash": "52fe379bda57a6463fe980e3ad3bdfba", - "name": "ic-back-section-button", - "type": "png" - }); -},2321,[1244]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ - "__packager_asset": true, - "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v1", - "width": 167, - "height": 500, - "scales": [1], - "hash": "ce4d0b25d3444d5ace31e50afda0539d", - "name": "ic-forward-button", - "type": "png" - }); -},2322,[1244]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ - "__packager_asset": true, - "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v1", - "width": 167, - "height": 360, - "scales": [1], - "hash": "76f318bb980d02f483cc0153757edc0a", - "name": "ic-forward-section-button", - "type": "png" - }); -},2323,[1244]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ - "__packager_asset": true, - "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v2", - "width": 128, - "height": 128, - "scales": [1], - "hash": "52688047c7df4a6391489d2bf47c571f", - "name": "ic-back-button", - "type": "png" - }); -},2324,[1244]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ - "__packager_asset": true, - "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v2", - "width": 128, - "height": 128, - "scales": [1], - "hash": "facf45c0236cc9a31b2ba87bb8cab43a", - "name": "ic-back-section-button", - "type": "png" - }); -},2325,[1244]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ - "__packager_asset": true, - "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v2", - "width": 128, - "height": 128, - "scales": [1], - "hash": "ceec2685ab684910db8bab70380d187f", - "name": "ic-forward-button", - "type": "png" - }); -},2326,[1244]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ - "__packager_asset": true, - "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v2", - "width": 128, - "height": 128, - "scales": [1], - "hash": "ad1531bf863fb714df86c06448227f11", - "name": "ic-forward-section-button", - "type": "png" - }); -},2327,[1244]); -__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = undefined; - - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - - var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - - var _reactNative = _$$_REQUIRE(_dependencyMap[8]); - - var _fontText = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - - var _hidingAnimationComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); - - function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } - - function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } - - var PagesTextInfo = exports.default = function (_React$PureComponent) { - function PagesTextInfo(props) { - var _this; - - (0, _classCallCheck2.default)(this, PagesTextInfo); - _this = _callSuper(this, PagesTextInfo, [props]); - _this.onLayout = _this._onLayout.bind(_this); - _this.state = { - animated: props.animated - }; - return _this; - } - - (0, _inherits2.default)(PagesTextInfo, _React$PureComponent); - return (0, _createClass2.default)(PagesTextInfo, [{ - key: "UNSAFE_componentWillReceiveProps", - value: function UNSAFE_componentWillReceiveProps(nextProps) { - var animated = this.props.animated; - - if (animated !== nextProps.animated) { - this.setState({ - animated: nextProps.animated - }); - } - } - }, { - key: "_onLayout", - value: function _onLayout(_ref) { - var nativeEvent = _ref.nativeEvent; - var _this$props = this.props, - width = _this$props.width, - height = _this$props.height, - pagesAreaSize = _this$props.pagesAreaSize; - var animated = this.state.animated; - - if (animated) { - var layout = nativeEvent.layout; - - if (layout) { - var horizontalBorderAreaWidth = Math.max(width - pagesAreaSize.width, 0) / 2; - var horizontalBorderAreaHeight = Math.max(height - pagesAreaSize.height, 0) / 2; - - if (horizontalBorderAreaHeight >= layout.height) { - animated = false; - } else if (horizontalBorderAreaWidth >= layout.width) { - animated = false; - } - } - - this.setState({ - animated: animated - }); - } - } - }, { - key: "render", - value: function render() { - var _this$props2 = this.props, - text = _this$props2.text, - IconComponent = _this$props2.IconComponent, - position = _this$props2.position, - style = _this$props2.style, - textStyle = _this$props2.textStyle, - stylePropToAnimate = _this$props2.stylePropToAnimate, - onPress = _this$props2.onPress; - - if (!text || !text.length) { - return null; - } - - var animated = this.state.animated; - var Component = (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[13]).Css, { - classes: ["newsmemory-text", "newsmemory-navigation-text", "newsmemory-navigation-" + position + "-text"], - children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_fontText.default, { - style: textStyle, - children: text - }) - }); - - if (IconComponent) { - Component = (0, _$$_REQUIRE(_dependencyMap[12]).jsxs)(_reactNative.View, { - style: { - flex: 1, - flexDirection: "row", - justifyContent: "center", - alignItems: "center" - }, - children: [Component, (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[13]).Css, { - classes: ["newsmemory-icon", "newsmemory-navigation-icon", "newsmemory-navigation-" + position + "-icon"], - children: IconComponent - })] - }); - } - - if (typeof onPress === "function") { - Component = (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[14]).TouchableOpacity, { - onPress: onPress, - children: Component - }); - } - - return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[13]).Css, { - classes: ["newsmemory-navigation-text-parent", "newsmemory-navigation-" + position + "-text-parent"], - children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_hidingAnimationComponent.default, { - style: style, - enabled: animated, - stylePropToAnimate: stylePropToAnimate, - eventToShow: _events.default.NEWSMEMORY_VIEWPAGER_GESTURE_START, - eventToggleEnable: _events.default.NEWSMEMORY_RESET_NAVIGATION_BUTTONS_POSITION, - onLayout: this.onLayout, - children: Component - }) - }); - } - }]); - }(_react.default.PureComponent); - - PagesTextInfo.propTypes = { - text: _propTypes.default.string, - position: _propTypes.default.oneOf([_$$_REQUIRE(_dependencyMap[15]).PagesNavigationButtonsPosition.left, _$$_REQUIRE(_dependencyMap[15]).PagesNavigationButtonsPosition.center, _$$_REQUIRE(_dependencyMap[15]).PagesNavigationButtonsPosition.right]), - stylePropToAnimate: _propTypes.default.string, - style: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object, _propTypes.default.array]), - textStyle: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object, _propTypes.default.array]), - IconComponent: _propTypes.default.node, - animated: _propTypes.default.bool, - width: _propTypes.default.number, - height: _propTypes.default.number, - pagesAreaSize: _propTypes.default.object, - onPress: _propTypes.default.func - }; -},2328,[3,6,7,11,13,14,16,568,18,800,2308,436,179,803,1,2319]); +},2311,[3,270,6,7,11,85,13,14,582,16,18,1863,436,2197,627,856,857,668,2312,2331,564,438,1908,1900,179,1984,1862]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -331456,7 +330059,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var extraEvent = Object.assign({}, scaledCoordinates, { scale: scale }); - hasExtra = page && page.hasExtraForEvent(extraEvent, function (extraType) { + hasExtra = page == null ? undefined : page.hasExtraForEvent(extraEvent, function (extraType) { var isOpenArticleExtra = extraType === _$$_REQUIRE(_dependencyMap[26]).PageExtraType.OPEN_ARTICLE; _this3._onPagePress(event, true, isOpenArticleExtra); @@ -332305,62 +330908,62 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var pageViewSize = _newsmemoryUtils.default.getPageViewSize(firstPage, size, fitPageHorizontally, numberOfShowedPages); - if (pageViewSize) { - var scaledWidth = pageViewSize.scaledWidth, - scaledHeight = pageViewSize.scaledHeight, - maxZoom = pageViewSize.maxZoom; - - var graphUserScaleFactor = _newsmemoryUtils.default.getZoomingFactor(); - - var _global$getActivePSet4 = global.getActivePSetup(), - lockPanIfNotZoomedByDegrees = _global$getActivePSet4.lockPanIfNotZoomedByDegrees; - - return (0, _$$_REQUIRE(_dependencyMap[29]).jsx)(_zoomViewPager.default, { - ref: function ref(_ref4) { - _this7.pagesViewPager = _ref4; - }, - isRtl: this._isRtl, - size: size, - contentSize: { - width: scaledWidth, - height: scaledHeight - }, - data: data, - fitX: fitPageHorizontally, - lockPanIfNotZoomedByDegrees: lockPanIfNotZoomedByDegrees, - nPages: this.pagesIndexMapping.length, - numberOfShowedPages: numberOfShowedPages, - initialPage: this.viewPagerPosition, - minScale: MIN_ZOOM, - maxScale: maxZoom * graphUserScaleFactor, - dipsScale: this.getPageDips, - snapSize: this._getSnapSize(), - zoomingFactor: graphUserScaleFactor, - singleTapToZoom: isSingleTapToZoomEnabled, - twoFingerTapEnabled: this.isTwoFingersTapEnabled, - onPageChange: this.onSwipe, - onGestureStart: this.onGestureStart, - onGestureEnd: this.onGestureEnd, - onPanBottomReached: this.onPanBottomReached, - onFit: this.onFit, - onUnFit: this.onUnFit, - onToggleFit: this.onToggleFit, - onExtraTap: this.onExtraPress, - onSingleTap: this.onSingleTap, - onDoubleTap: this.onDoubleTap, - onTwoFingersTap: this.onTwoFingersTap, - onLongPress: this.onLongPress, - onSwipeOnLastPage: this.onSwipeOnLastPage, - clickPosition: initialEvent, - isTablet: _$$_REQUIRE(_dependencyMap[23]).PlatformUtils.isTablet(), - renderItem: this.renderItem, - spinnerColor: _newsmemoryUtils.default.getSpinnerColor(), - cssContainerClasses: ["newsmemory-pages-container"], - onLoaded: onLoaded - }); + if (!pageViewSize) { + return null; } - return null; + var scaledWidth = pageViewSize.scaledWidth, + scaledHeight = pageViewSize.scaledHeight, + maxZoom = pageViewSize.maxZoom; + + var graphUserScaleFactor = _newsmemoryUtils.default.getZoomingFactor(); + + var _global$getActivePSet4 = global.getActivePSetup(), + lockPanIfNotZoomedByDegrees = _global$getActivePSet4.lockPanIfNotZoomedByDegrees; + + return (0, _$$_REQUIRE(_dependencyMap[29]).jsx)(_zoomViewPager.default, { + ref: function ref(_ref4) { + _this7.pagesViewPager = _ref4; + }, + isRtl: this._isRtl, + size: size, + contentSize: { + width: scaledWidth, + height: scaledHeight + }, + data: data, + fitX: fitPageHorizontally, + lockPanIfNotZoomedByDegrees: lockPanIfNotZoomedByDegrees, + nPages: this.pagesIndexMapping.length, + numberOfShowedPages: numberOfShowedPages, + initialPage: this.viewPagerPosition, + minScale: MIN_ZOOM, + maxScale: maxZoom * graphUserScaleFactor, + dipsScale: this.getPageDips, + snapSize: this._getSnapSize(), + zoomingFactor: graphUserScaleFactor, + singleTapToZoom: isSingleTapToZoomEnabled, + twoFingerTapEnabled: this.isTwoFingersTapEnabled, + onPageChange: this.onSwipe, + onGestureStart: this.onGestureStart, + onGestureEnd: this.onGestureEnd, + onPanBottomReached: this.onPanBottomReached, + onFit: this.onFit, + onUnFit: this.onUnFit, + onToggleFit: this.onToggleFit, + onExtraTap: this.onExtraPress, + onSingleTap: this.onSingleTap, + onDoubleTap: this.onDoubleTap, + onTwoFingersTap: this.onTwoFingersTap, + onLongPress: this.onLongPress, + onSwipeOnLastPage: this.onSwipeOnLastPage, + clickPosition: initialEvent, + isTablet: _$$_REQUIRE(_dependencyMap[23]).PlatformUtils.isTablet(), + renderItem: this.renderItem, + spinnerColor: _newsmemoryUtils.default.getSpinnerColor(), + cssContainerClasses: ["newsmemory-pages-container"], + onLoaded: onLoaded + }); } }]); }(_$$_REQUIRE(_dependencyMap[30]).Shortcut); @@ -332408,7 +331011,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e numberOfShowedPages: 1, initialEvent: undefined }); -},2329,[3,270,22,6,7,11,85,13,14,568,16,1863,436,613,842,648,651,843,654,2330,2162,2331,2338,438,550,1899,655,1929,1958,179,1939]); +},2312,[3,270,22,6,7,11,85,13,14,582,16,1863,436,627,856,662,665,857,668,2313,2153,2314,2321,438,564,1908,669,1976,1900,179,1984]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -332536,7 +331139,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2330,[3,6,7]); +},2313,[3,6,7]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -332594,9 +331197,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _this = _callSuper(this, ZoomViewPager, [props]); _this.pinchRef = _react.default.createRef(); _this.panRef = _react.default.createRef(); - _this.state = { - loading: true - }; _this.dataSet = []; _this._isScrolling = false; _this._lastEvent = undefined; @@ -332619,6 +331219,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e _this.onLongPress = _this._onLongPress.bind(_this); _this.leftMarginDivider = new Value(1); _this.rightMarginDivider = new Value(1); + _this.state = { + loading: true + }; return _this; } @@ -333230,7 +331833,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e twoFingerTapEnabled: false, cssContainerClasses: [] }; -},2331,[3,22,6,7,11,13,14,568,16,18,657,2161,2332,2160,2333,2337,438,656,179,1,803]); +},2314,[3,22,6,7,11,13,14,582,16,18,671,2152,2315,2151,2316,2320,438,670,179,1,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -333475,7 +332078,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2332,[3,6,7,2330,438]); +},2315,[3,6,7,2313,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -334108,7 +332711,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2333,[3,33,6,7,657,2162,1,2334,2335,2336,656]); +},2316,[3,33,6,7,671,2153,1,2317,2318,2319,670]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -334210,7 +332813,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e startStopClock: false })), (0, _$$_REQUIRE(_dependencyMap[4]).runTiming)(clock, value, rest)], cond(pinchEnd, [set(displacementX, focalXRest), set(displacementY, focalYRest), set(finishPinch, 1), debug("PINCH SCALE TO END: ", rest), rest], [debug("PINCH SCALE START: ", value), set(isStartScaleEqualToMinScale, cond(eq(value, minScale), 1, 0)), cond(or(pinchStart, eq(starting, 1)), [set(starting, 0), call([starting], onStart)]), value])))))), set(leftLimit, leftConstraint(scaleToRet, minScale, displacementX)), set(topLimit, topConstraint(scaleToRet, minScale, displacementY)), set(rightLimit, rightConstraint(leftLimit, scaleToRet, width, nPages, pagesVisible)), set(bottomLimit, bottomConstraint(topLimit, scaleToRet, minScale, height, viewHeight)), set(fit, fitValue(scaleToRet, width, viewWidth)), set(horizontalMargin, hMargin(scaleToRet, minScale, width, viewWidth, pagesVisible)), cond(eq(finishPinch, 1), [call([leftLimit, topLimit, rightLimit, bottomLimit], onUpdateLimit), cond(isFitted, call([], onFit), call([], onUnFit)), call([scaleToRet, displacementX, displacementY, zoomToActive], onEnd), set(finishPinch, 0), set(pinchOldState, _$$_REQUIRE(_dependencyMap[3]).State.UNDETERMINED), set(prevPinchScale, 1), set(pinchScale, 1)]), scaleToRet]; } -},2334,[3,657,2162,1,656]); +},2317,[3,671,2153,1,670]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -334264,7 +332867,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var maxVelocityXCondition = greaterThan(abs(velocityX), abs(maxVelocityX)); return block([cond(notSet, [set(maxVelocityX, 0), set(tempDragX, 0)]), cond(enableDirectionSet, [cond(enableX, set(direction, Direction.EnableX)), cond(enable, set(direction, Direction.Enable)), cond(enableY, set(direction, Direction.EnableY))]), cond(eq(direction, Direction.EnableX), [set(velocityY, 0), set(dragY, 0)]), cond(eq(direction, Direction.EnableY), [cond(and(panActive, maxVelocityXCondition), set(maxVelocityX, velocityX)), cond(swipeCondition, [set(tempDragX, dragX)]), cond(panEnd, set(dragX, tempDragX), set(dragX, 0))]), cond(panEnd, [set(direction, Direction.NotSet)])]); }; -},2335,[657,3,2162]); +},2318,[671,3,2153]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -334437,7 +333040,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e duration: _zoomConstants.default.constants.ZOOM_TO_DURATION })), set(value, panRest(top, bottom, add(tempPan, tempDragY))), cond(not(clockRunning(zoomClock)), [set(tempDragY, 0), set(zoomToDragY, 0), call([value], onEnd)]), value], cond([diffY, velocityY, panActive], [stopClock(clockMagnetic), cond(not(isScaling), cond(greaterThan(abs(velocityY), 0), set(maxVelocityY, velocityY)), set(maxVelocityY, 0)), cond(and(eq(bottomReachedCalled, 0), (0, _reactNativeReanimated.lessOrEq)(value, bottom), lessThan(drag, -_zoomConstants.default.constants.VERTICAL_THRESHOLD)), [set(bottomReachedCalled, 1), call([], onBottomReached)]), set(velocityY, 0), debug("VELOCITY Y: ", maxVelocityY), panRest(top, bottom, add(value, diffY))], cond(and(panEnd, not(panCancelled)), cond(isMagneting, [set(nextMagneticValue, (0, _$$_REQUIRE(_dependencyMap[5]).runTiming)(clockMagnetic, rest, magneticDestination)), cond(not(clockRunning(clockMagnetic)), [debug("MAGNETIC END Y: ", nextMagneticValue), set(bottomReachedCalled, 0), set(maxVelocityY, 0), call([nextMagneticValue], onEnd)]), nextMagneticValue], [debug("PAN END Y: ", rest), stopClock(zoomClock), call([rest], onEnd), set(bottomReachedCalled, 0), set(maxVelocityY, 0), rest]), [cond(panStart, [debug("PAN START Y: ", value), call([], onStart)]), cond(panCancelled, [debug("PAN CANCELLED Y: ", value), stopClock(clockMagnetic), call([rest], onEnd), set(bottomReachedCalled, 0), set(maxVelocityY, 0)]), rest]))))]; } -},2336,[657,3,2162,438,1,656]); +},2319,[671,3,2153,438,1,670]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -334480,7 +333083,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.white } }); -},2337,[18,438]); +},2320,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -335210,7 +333813,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e showBorder: false, loginOverlayPosition: _$$_REQUIRE(_dependencyMap[30]).PageViewPosition.CENTER }; -},2338,[3,6,7,11,13,14,568,16,18,1863,436,613,843,654,2339,2179,2340,2341,2167,2342,2343,2344,2347,850,550,438,572,573,179,651,842]); +},2321,[3,6,7,11,13,14,582,16,18,1863,436,627,857,668,2322,2170,2323,2324,2158,2325,2326,2327,2330,864,564,438,586,587,179,665,856]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -335471,7 +334074,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e page: _propTypes.default.instanceOf(_Page.default), style: _propTypes.default.any }; -},2339,[3,4,270,6,7,11,13,14,16,18,875,568,654,2200,438,1,565,179]); +},2322,[3,4,270,6,7,11,13,14,16,18,889,582,668,2197,438,1,579,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -335676,7 +334279,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e minZoom: 1, hidden: false }; -},2340,[3,33,6,7,11,13,14,16,18,568,654,650,800,438,803,179]); +},2323,[3,33,6,7,11,13,14,16,18,582,668,664,814,438,817,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -335769,7 +334372,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_react.default.PureComponent); -},2341,[3,6,7,11,13,14,16,18,179,803,438]); +},2324,[3,6,7,11,13,14,16,18,179,817,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -336047,7 +334650,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }).isRequired, fitWidth: _propTypes.default.bool }; -},2342,[3,6,7,11,13,14,16,568,18,943,436,613,648,1863,2168,655,654,550,438,179]); +},2325,[3,6,7,11,13,14,16,582,18,957,436,627,662,1863,2159,669,668,564,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -336138,7 +334741,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e PageImage.defaultProps = { show: true }; -},2343,[3,4,6,7,11,13,14,16,568,573,552,574,438,179,1884]); +},2326,[3,4,6,7,11,13,14,16,582,587,566,588,438,179,1968]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -336280,7 +334883,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e left: _propTypes.default.number }) }; -},2344,[3,6,7,11,13,14,16,568,2345,18,654,573,2343,2346,552,843,179,438]); +},2327,[3,6,7,11,13,14,16,582,2328,18,668,587,2326,2329,566,857,179,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -336450,7 +335053,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e blackAndWhite: false, enableThumbnail: false }; -},2345,[3,4,6,7,11,13,14,16,568,18,438,179,581]); +},2328,[3,4,6,7,11,13,14,16,582,18,438,179,595]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -336699,7 +335302,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e PageHr.defaultProps = { showAll: true }; -},2346,[3,6,7,11,13,14,16,568,18,654,613,436,843,573,2164,438,550,179]); +},2329,[3,6,7,11,13,14,16,582,18,668,627,436,857,587,2155,438,564,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -336727,7 +335330,1165 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e color: _$$_REQUIRE(_dependencyMap[1]).colors.black } }); -},2347,[18,438]); +},2330,[18,438]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[9]); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + var _newsmemoryUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + var _Edition = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); + + var _imageIconChooserComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); + + var _newsmemoryIcon = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[14])); + + var _pagesBackToPaperButton = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); + + var _pagesLayoutManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[16])); + + var _pagesNavigationButtons = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[17])); + + var _pagesTextInfo = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18])); + + var _excluded = ["visible"]; + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var PagesNavigation = exports.default = function (_React$Component) { + function PagesNavigation(props) { + var _this; + + (0, _classCallCheck2.default)(this, PagesNavigation); + _this = _callSuper(this, PagesNavigation, [props]); + _this.state = Object.assign({}, props.defaultState, { + visible: true + }); + return _this; + } + + (0, _inherits2.default)(PagesNavigation, _React$Component); + return (0, _createClass2.default)(PagesNavigation, [{ + key: "componentDidMount", + value: function componentDidMount() { + var _this2 = this; + + if (!_$$_REQUIRE(_dependencyMap[19]).PlatformUtils.isTablet()) { + this.onHrDownloadErrorId = _$$_REQUIRE(_dependencyMap[20]).EventRegister.on(_events.default.NEWSMEMORY_HR_DOWNLOAD_ERROR, function () { + var error = _this2.state.error; + + if (!error) { + _this2.setState({ + error: true, + warning: false + }); + } + }); + this.onHrDownloadSuccessId = _$$_REQUIRE(_dependencyMap[20]).EventRegister.on(_events.default.NEWSMEMORY_HR_DOWNLOAD_SUCCESS, function () { + var error = _this2.state.error; + + if (error) { + _this2.setState({ + error: false, + warning: false + }); + } + }); + this.onWarningShow = _$$_REQUIRE(_dependencyMap[20]).EventRegister.on(_events.default.NEWSMEMORY_MISSING_HR_WARNING_SHOW, function () { + var error = _this2.state.error; + + if (!error) { + _this2.setState({ + error: false, + warning: true + }); + } + }); + this.onWarningHide = _$$_REQUIRE(_dependencyMap[20]).EventRegister.on(_events.default.NEWSMEMORY_MISSING_HR_WARNING_HIDE, function () { + var error = _this2.state.error; + + if (error) { + _this2.setState({ + error: false, + warning: false + }); + } + }); + } + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + _$$_REQUIRE(_dependencyMap[20]).EventRegister.rm(this.onHrDownloadErrorId); + + _$$_REQUIRE(_dependencyMap[20]).EventRegister.rm(this.onHrDownloadSuccessId); + + _$$_REQUIRE(_dependencyMap[20]).EventRegister.rm(this.onWarningShow); + + _$$_REQUIRE(_dependencyMap[20]).EventRegister.rm(this.onWarningHide); + } + }, { + key: "updateVisibility", + value: function updateVisibility(value) { + var visible = this.state.visible; + + if (visible !== value) { + this.setState({ + visible: value + }); + } + } + }, { + key: "updateNavigationLayout", + value: function updateNavigationLayout(param) { + var _this$state = this.state, + visible = _this$state.visible, + rest = (0, _objectWithoutProperties2.default)(_this$state, _excluded); + + if (!_$$_REQUIRE(_dependencyMap[19]).JSUtils.areEqualShallow(rest, param)) { + this.setState(param); + } + } + }, { + key: "_shouldXPaperNavigationCloseButton", + value: function _shouldXPaperNavigationCloseButton() { + var _global$getActivePSet = global.getActivePSetup(), + showXPaperNavigationCloseButton = _global$getActivePSet.showXPaperNavigationCloseButton; + + return showXPaperNavigationCloseButton && _newsmemoryUtils.default.isXPaperActive(); + } + }, { + key: "_getErrorIcon", + value: function _getErrorIcon(error) { + return (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_reactNative.View, { + style: [_pagesLayoutManager.default.pageNumberContainer, _pagesLayoutManager.default.pageNumberContainerRight, _pagesLayoutManager.default.pageNumberContainerTop, _pagesLayoutManager.default.pageNumberContainerRightTop, error ? _pagesLayoutManager.default.errorContainer : _pagesLayoutManager.default.warningContainer], + children: (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_$$_REQUIRE(_dependencyMap[22]).TouchableOpacity, { + onPress: function onPress() { + _$$_REQUIRE(_dependencyMap[23]).CustomAlert.alert(error ? global.strings("err_download_edition") : "", global.strings("offline_download_warning")); + }, + children: (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_reactNative.View, { + style: _pagesLayoutManager.default.warningIcon, + children: (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_newsmemoryIcon.default, { + center: true, + icon: _$$_REQUIRE(_dependencyMap[24]).ACTIONS.warning.icon, + foregroundColor: _$$_REQUIRE(_dependencyMap[19]).colors.white + }) + }) + }) + }); + } + }, { + key: "_getTopLeftComponent", + value: function _getTopLeftComponent() { + var _this$props = this.props, + pageNumberTop = _this$props.pageNumberTop, + width = _this$props.width, + height = _this$props.height, + pagesAreaSize = _this$props.pagesAreaSize, + bgColor = _this$props.bgColor, + textColor = _this$props.textColor; + var _this$state2 = this.state, + leftPageNumber = _this$state2.leftPageNumber, + leftPageNumberIsHidden = _this$state2.leftPageNumberIsHidden, + animateButtons = _this$state2.animateButtons; + var leftRadiusStyle = {}; + + if (pageNumberTop) { + leftRadiusStyle = _pagesLayoutManager.default.pageNumberContainerLeftTop; + } else { + leftRadiusStyle = _pagesLayoutManager.default.pageNumberContainerLeftBottom; + } + + return !leftPageNumberIsHidden ? (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_pagesTextInfo.default, { + position: _pagesNavigationButtons.PagesNavigationButtonsPosition.left, + stylePropToAnimate: "start", + style: [_pagesLayoutManager.default.pageNumberContainer, _pagesLayoutManager.default.pageNumberContainerLeft, { + backgroundColor: bgColor + }, leftRadiusStyle, pageNumberTop ? _pagesLayoutManager.default.pageNumberContainerTop : _pagesLayoutManager.default.pageNumberContainerBottom], + animated: animateButtons, + textStyle: [_pagesLayoutManager.default.pageText, { + color: textColor + }], + text: leftPageNumber, + width: width, + height: height, + pagesAreaSize: pagesAreaSize + }, "leftPage") : null; + } + }, { + key: "_getTopCenterComponent", + value: function _getTopCenterComponent() { + if (!this._shouldXPaperNavigationCloseButton()) { + return null; + } + + var _this$props2 = this.props, + pageNumberTop = _this$props2.pageNumberTop, + width = _this$props2.width, + height = _this$props2.height, + pagesAreaSize = _this$props2.pagesAreaSize, + bgColor = _this$props2.bgColor, + textColor = _this$props2.textColor, + onGoToMainEdition = _this$props2.onGoToMainEdition, + edition = _this$props2.edition, + isSpecialSection = _this$props2.isSpecialSection; + var _this$state3 = this.state, + animateButtons = _this$state3.animateButtons, + rightPageNumberIsHidden = _this$state3.rightPageNumberIsHidden, + error = _this$state3.error; + + var _global$getActivePSet2 = global.getActivePSetup(), + paperName = _global$getActivePSet2.paperName; + + var paperLabel = isSpecialSection ? (edition == null ? undefined : edition.getEdition()) || paperName : paperName; + var textStyle = [_pagesLayoutManager.default.pageText, _pagesLayoutManager.default.xpaperInfoText, { + color: textColor + }]; + return (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_pagesTextInfo.default, { + position: _pagesNavigationButtons.PagesNavigationButtonsPosition.center, + stylePropToAnimate: "end", + style: [_pagesLayoutManager.default.paperInfoContainer, { + backgroundColor: bgColor, + alignItems: rightPageNumberIsHidden && !error ? "flex-end" : "center" + }, pageNumberTop ? _pagesLayoutManager.default.pageNumberContainerTop : _pagesLayoutManager.default.pageNumberContainerBottom], + animated: animateButtons, + textStyle: textStyle, + IconComponent: (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_imageIconChooserComponent.default, { + type: _$$_REQUIRE(_dependencyMap[25]).TecnaviaIconType.MATERIAL_COMMUNITY_ICONS, + name: "close", + iconStyle: [textStyle, _pagesLayoutManager.default.xpaperInfoCloseIcon] + }), + text: global.strings("btn_close") + " " + paperLabel, + width: width, + height: height, + pagesAreaSize: pagesAreaSize, + onPress: onGoToMainEdition + }, "xpaperInfo"); + } + }, { + key: "_getTopRightComponent", + value: function _getTopRightComponent() { + var _this$props3 = this.props, + pageNumberTop = _this$props3.pageNumberTop, + width = _this$props3.width, + height = _this$props3.height, + pagesAreaSize = _this$props3.pagesAreaSize, + bgColor = _this$props3.bgColor, + textColor = _this$props3.textColor; + var _this$state4 = this.state, + rightPageNumber = _this$state4.rightPageNumber, + rightPageNumberIsHidden = _this$state4.rightPageNumberIsHidden, + animateButtons = _this$state4.animateButtons; + var rightRadiusStyle = {}; + + if (pageNumberTop) { + rightRadiusStyle = _pagesLayoutManager.default.pageNumberContainerRightTop; + } else { + rightRadiusStyle = _pagesLayoutManager.default.pageNumberContainerRightBottom; + } + + return !rightPageNumberIsHidden ? (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_pagesTextInfo.default, { + position: _pagesNavigationButtons.PagesNavigationButtonsPosition.right, + stylePropToAnimate: "end", + style: [_pagesLayoutManager.default.pageNumberContainer, _pagesLayoutManager.default.pageNumberContainerRight, { + backgroundColor: bgColor + }, rightRadiusStyle, pageNumberTop ? _pagesLayoutManager.default.pageNumberContainerTop : _pagesLayoutManager.default.pageNumberContainerBottom], + animated: animateButtons, + textStyle: [_pagesLayoutManager.default.pageText, { + color: textColor + }], + text: rightPageNumber, + width: width, + height: height, + pagesAreaSize: pagesAreaSize + }, "rightPage") : null; + } + }, { + key: "_getBackButton", + value: function _getBackButton() { + var _this$props4 = this.props, + isSpecialSection = _this$props4.isSpecialSection, + onGoToMainEdition = _this$props4.onGoToMainEdition; + + if (this._shouldXPaperNavigationCloseButton() || !isSpecialSection) { + return null; + } + + return (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_pagesBackToPaperButton.default, { + onPress: onGoToMainEdition + }); + } + }, { + key: "render", + value: function render() { + var _this$props5 = this.props, + model = _this$props5.model, + width = _this$props5.width, + height = _this$props5.height, + pagesAreaSize = _this$props5.pagesAreaSize, + onGoToLeftPagePress = _this$props5.onGoToLeftPagePress, + onGoToLeftSectionPress = _this$props5.onGoToLeftSectionPress, + onGoToFirstPage = _this$props5.onGoToFirstPage, + onGoToRightPagePress = _this$props5.onGoToRightPagePress, + onGoToRightSectionPress = _this$props5.onGoToRightSectionPress, + onGoToLastPage = _this$props5.onGoToLastPage; + var _this$state5 = this.state, + leftNavigationIsHidden = _this$state5.leftNavigationIsHidden, + rightNavigationIsHidden = _this$state5.rightNavigationIsHidden, + visible = _this$state5.visible, + error = _this$state5.error, + warning = _this$state5.warning, + animateButtons = _this$state5.animateButtons; + + if (!visible) { + if (error || warning) { + return this._getErrorIcon(error); + } + + return null; + } + + return [this._getTopCenterComponent(), this._getTopLeftComponent(), this._getTopRightComponent(), this._getBackButton(), error ? this._getErrorIcon(true) : null, !leftNavigationIsHidden ? (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_pagesNavigationButtons.default, { + model: model, + width: width, + height: height, + pagesAreaSize: pagesAreaSize, + animated: animateButtons, + position: _pagesNavigationButtons.PagesNavigationButtonsPosition.left, + onPagePress: onGoToLeftPagePress, + onSectionPress: onGoToLeftSectionPress, + onSectionDoublePress: onGoToFirstPage + }, "leftNavigation") : null, !rightNavigationIsHidden ? (0, _$$_REQUIRE(_dependencyMap[21]).jsx)(_pagesNavigationButtons.default, { + model: model, + width: width, + height: height, + pagesAreaSize: pagesAreaSize, + animated: animateButtons, + position: _pagesNavigationButtons.PagesNavigationButtonsPosition.right, + onPagePress: onGoToRightPagePress, + onSectionPress: onGoToRightSectionPress, + onSectionDoublePress: onGoToLastPage + }, "rightNavigation") : null]; + } + }]); + }(_react.default.Component); + + PagesNavigation.propTypes = { + model: _propTypes.default.instanceOf(_$$_REQUIRE(_dependencyMap[26]).Navigation), + edition: _propTypes.default.instanceOf(_Edition.default), + pageNumberTop: _propTypes.default.bool.isRequired, + isSpecialSection: _propTypes.default.bool, + width: _propTypes.default.number.isRequired, + height: _propTypes.default.number.isRequired, + pagesAreaSize: _propTypes.default.object, + onGoToLeftPagePress: _propTypes.default.func.isRequired, + onGoToLeftSectionPress: _propTypes.default.func.isRequired, + onGoToFirstPage: _propTypes.default.func.isRequired, + onGoToRightPagePress: _propTypes.default.func.isRequired, + onGoToRightSectionPress: _propTypes.default.func.isRequired, + onGoToLastPage: _propTypes.default.func.isRequired, + onGoToMainEdition: _propTypes.default.func.isRequired, + bgColor: _propTypes.default.string, + textColor: _propTypes.default.string, + defaultState: _propTypes.default.shape({ + leftPageNumber: _propTypes.default.string, + rightPageNumber: _propTypes.default.string, + leftPageNumberIsHidden: _propTypes.default.bool, + rightPageNumberIsHidden: _propTypes.default.bool, + leftNavigationIsHidden: _propTypes.default.bool, + rightNavigationIsHidden: _propTypes.default.bool + }) + }; + PagesNavigation.defaultProps = { + isSpecialSection: false, + defaultState: { + leftPageNumber: undefined, + rightPageNumber: undefined, + leftPageNumberIsHidden: true, + rightPageNumberIsHidden: true, + leftNavigationIsHidden: true, + rightNavigationIsHidden: true, + error: false, + warning: false, + animateButtons: false + } + }; +},2331,[3,4,6,7,11,13,14,582,16,18,436,627,664,1941,2307,2332,2333,2335,2344,438,564,179,1,812,1726,1807,1862]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[8]); + + var _pagesLayoutManager = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[9])); + + var _imageComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var PagesBackToPaperButton = exports.default = function (_React$Component) { + function PagesBackToPaperButton() { + (0, _classCallCheck2.default)(this, PagesBackToPaperButton); + return _callSuper(this, PagesBackToPaperButton, arguments); + } + + (0, _inherits2.default)(PagesBackToPaperButton, _React$Component); + return (0, _createClass2.default)(PagesBackToPaperButton, [{ + key: "render", + value: function render() { + var onPress = this.props.onPress; + return (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_reactNative.TouchableOpacity, { + onPress: onPress, + style: { + position: "absolute", + top: 40 + }, + children: (0, _$$_REQUIRE(_dependencyMap[11]).jsx)(_imageComponent.default, { + style: [_pagesLayoutManager.default.navigationMainButton, { + height: _pagesLayoutManager.NAVIGATION_ROUND_BUTTON_HEIGHT, + margin: 2 + }], + resizeMode: "contain", + source: _$$_REQUIRE(_dependencyMap[12]) + }) + }); + } + }]); + }(_react.default.Component); + + PagesBackToPaperButton.propTypes = { + onPress: _propTypes.default.func.isRequired + }; +},2332,[3,6,7,11,13,14,16,582,18,2333,588,179,2334]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.NAVIGATION_SUB_BUTTON_HEIGHT = exports.NAVIGATION_ROUND_BUTTON_HEIGHT = exports.NAVIGATION_PARENT_ROUND_BUTTON = exports.NAVIGATION_PARENT_BUTTON = exports.NAVIGATION_PAGE_NUMBER_MIN_WIDTH = exports.NAVIGATION_MAIN_BUTTON_HEIGHT = exports.NAVIGATION_BUTTON_WIDTH = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var NAVIGATION_BUTTON_WIDTH = exports.NAVIGATION_BUTTON_WIDTH = 30; + var NAVIGATION_MAIN_BUTTON_HEIGHT = exports.NAVIGATION_MAIN_BUTTON_HEIGHT = 90; + var NAVIGATION_SUB_BUTTON_HEIGHT = exports.NAVIGATION_SUB_BUTTON_HEIGHT = 70; + var NAVIGATION_ROUND_BUTTON_HEIGHT = exports.NAVIGATION_ROUND_BUTTON_HEIGHT = 50; + var NAVIGATION_PARENT_BUTTON = exports.NAVIGATION_PARENT_BUTTON = NAVIGATION_MAIN_BUTTON_HEIGHT + NAVIGATION_SUB_BUTTON_HEIGHT + 20; + var NAVIGATION_PARENT_ROUND_BUTTON = exports.NAVIGATION_PARENT_ROUND_BUTTON = NAVIGATION_ROUND_BUTTON_HEIGHT + NAVIGATION_ROUND_BUTTON_HEIGHT + 20; + var NAVIGATION_PAGE_NUMBER_MIN_WIDTH = exports.NAVIGATION_PAGE_NUMBER_MIN_WIDTH = 40; + + var _default = exports.default = _reactNative.StyleSheet.create({ + navigationParentButtons: { + position: "absolute", + height: NAVIGATION_PARENT_BUTTON, + flexDirection: "column", + justifyContent: "space-between" + }, + navigationParentButton: { + width: NAVIGATION_BUTTON_WIDTH + 20 + }, + navigationParentButtonLeft: { + alignItems: "flex-start" + }, + navigationParentButtonRight: { + alignItems: "flex-end" + }, + navigationMainButton: { + width: NAVIGATION_BUTTON_WIDTH, + fontSize: NAVIGATION_BUTTON_WIDTH, + height: NAVIGATION_MAIN_BUTTON_HEIGHT + }, + navigationSubButton: { + width: NAVIGATION_BUTTON_WIDTH, + fontSize: NAVIGATION_BUTTON_WIDTH, + height: NAVIGATION_SUB_BUTTON_HEIGHT + }, + pageNumberContainer: { + position: "absolute", + backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.black, + minWidth: NAVIGATION_PAGE_NUMBER_MIN_WIDTH, + justifyContent: "center", + alignItems: "center" + }, + paperInfoContainer: { + position: "absolute", + backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.black, + minWidth: "100%", + justifyContent: "center", + alignItems: "center", + paddingHorizontal: 5 + }, + pageNumberContainerTop: { + top: 0 + }, + pageNumberContainerBottom: { + bottom: 0 + }, + pageNumberContainerLeft: { + start: 0 + }, + pageNumberContainerLeftTop: { + borderBottomRightRadius: 5 + }, + pageNumberContainerRightTop: { + borderBottomLeftRadius: 5 + }, + pageNumberContainerLeftBottom: { + borderTopRightRadius: 5 + }, + pageNumberContainerRightBottom: { + borderTopLeftRadius: 5 + }, + pageNumberContainerRight: { + end: 0 + }, + pageText: { + fontSize: _$$_REQUIRE(_dependencyMap[2]).HEADER_FONT_SIZE, + color: _$$_REQUIRE(_dependencyMap[1]).colors.white + }, + xpaperInfoText: { + fontSize: 14, + paddingVertical: 2.5, + paddingHorizontal: 5 + }, + xpaperInfoCloseIcon: { + fontSize: _$$_REQUIRE(_dependencyMap[2]).HEADER_FONT_SIZE + }, + errorContainer: { + backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.md_red_600 + }, + warningContainer: { + backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.md_orange_600 + }, + warningIcon: { + width: 20, + height: 23 + } + }); +},2333,[18,438,825]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ + "__packager_asset": true, + "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v2", + "width": 128, + "height": 128, + "scales": [1], + "hash": "bce7a2aa9b8a82442d8021acd91fdbdf", + "name": "ic-back-to-paper", + "type": "png" + }); +},2334,[1258]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.PagesNavigationButtonsPosition = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[8]); + + var _pagesLayoutManager = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[9])); + + var _tapView = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + var _hidingAnimationComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); + + var _imageIconChooserComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var PagesNavigationButtonsPosition = exports.PagesNavigationButtonsPosition = { + left: "LEFT", + center: "CENTER", + right: "RIGHT" + }; + var ICONS = { + 1: { + icons: { + backPage: { + key: "backPage", + icon: _$$_REQUIRE(_dependencyMap[14]) + }, + backSection: { + key: "backSection", + icon: _$$_REQUIRE(_dependencyMap[15]) + }, + forwardPage: { + key: "forwardPage", + icon: _$$_REQUIRE(_dependencyMap[16]) + }, + forwardSection: { + key: "forwardSection", + icon: _$$_REQUIRE(_dependencyMap[17]) + } + }, + styling: { + resizeMode: "stretch", + parentHeight: _pagesLayoutManager.NAVIGATION_PARENT_BUTTON, + style: { + opacity: 0.6 + } + } + }, + 2: { + icons: { + backPage: { + key: "backPage", + icon: _$$_REQUIRE(_dependencyMap[18]) + }, + backSection: { + key: "backSection", + icon: _$$_REQUIRE(_dependencyMap[19]) + }, + forwardPage: { + key: "forwardPage", + icon: _$$_REQUIRE(_dependencyMap[20]) + }, + forwardSection: { + key: "forwardSection", + icon: _$$_REQUIRE(_dependencyMap[21]) + } + }, + styling: { + resizeMode: "contain", + style: { + height: _pagesLayoutManager.NAVIGATION_ROUND_BUTTON_HEIGHT, + margin: 2 + }, + parentHeight: _pagesLayoutManager.NAVIGATION_PARENT_ROUND_BUTTON + } + } + }; + + var PagesNavigationButtons = exports.default = function (_React$PureComponent) { + function PagesNavigationButtons(props) { + var _this; + + (0, _classCallCheck2.default)(this, PagesNavigationButtons); + _this = _callSuper(this, PagesNavigationButtons, [props]); + _this.onLayout = _this._onLayout.bind(_this); + _this.state = { + animated: props.animated + }; + return _this; + } + + (0, _inherits2.default)(PagesNavigationButtons, _React$PureComponent); + return (0, _createClass2.default)(PagesNavigationButtons, [{ + key: "UNSAFE_componentWillReceiveProps", + value: function UNSAFE_componentWillReceiveProps(nextProps) { + var animated = this.props.animated; + + if (animated !== nextProps.animated) { + this.setState({ + animated: nextProps.animated + }); + } + } + }, { + key: "_onLayout", + value: function _onLayout(_ref) { + var nativeEvent = _ref.nativeEvent; + var _this$props = this.props, + width = _this$props.width, + pagesAreaSize = _this$props.pagesAreaSize; + var animated = this.state.animated; + + if (animated) { + var layout = nativeEvent.layout; + + if (layout) { + var horizontalBorderAreaWidth = Math.max(width - pagesAreaSize.width, 0) / 2; + + if (horizontalBorderAreaWidth >= layout.width) { + animated = false; + } + } + + this.setState({ + animated: animated + }); + } + } + }, { + key: "_getIcon", + value: function _getIcon(button, buttonStyle) { + var version = this.props.version; + var _ICONS$version = ICONS[version], + icons = _ICONS$version.icons, + styling = _ICONS$version.styling; + var resizeMode = styling.resizeMode, + style = styling.style; + var action = button.getAction(); + return (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_$$_REQUIRE(_dependencyMap[23]).Css, { + classes: ["newsmemory-icon", "newsmemory-navigation-icon", "newsmemory-navigation-" + action + "-icon"], + children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_imageIconChooserComponent.default, { + style: [buttonStyle, style], + resizeMode: resizeMode, + source: icons[action].icon, + type: button.getLibrary(), + name: button.getIcon() + }) + }); + } + }, { + key: "_getButton", + value: function _getButton(button) { + var _this$props2 = this.props, + onPagePress = _this$props2.onPagePress, + onSectionPress = _this$props2.onSectionPress, + onSectionDoublePress = _this$props2.onSectionDoublePress, + position = _this$props2.position; + var action = button.getAction(); + var isLeft = position === PagesNavigationButtonsPosition.left; + + switch (action) { + case "backPage": + case "forwardPage": + return (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_tapView.default, { + onPress: onPagePress, + onSingleTap: onPagePress, + onDoubleTap: onPagePress, + children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_$$_REQUIRE(_dependencyMap[23]).Css, { + classes: ["page-navigation-button"], + cssKey: action, + children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_reactNative.View, { + style: [_pagesLayoutManager.default.navigationParentButton, isLeft ? _pagesLayoutManager.default.navigationParentButtonLeft : _pagesLayoutManager.default.navigationParentButtonRight], + children: this._getIcon(button, _pagesLayoutManager.default.navigationMainButton) + }) + }) + }, "page_navigation_" + action); + + case "backSection": + case "forwardSection": + return (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_tapView.default, { + onPress: onSectionPress, + onSingleTap: onSectionPress, + onDoubleTap: onSectionDoublePress, + children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_$$_REQUIRE(_dependencyMap[23]).Css, { + classes: ["page-navigation-button"], + cssKey: action, + children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_reactNative.View, { + style: [_pagesLayoutManager.default.navigationParentButton, isLeft ? _pagesLayoutManager.default.navigationParentButtonLeft : _pagesLayoutManager.default.navigationParentButtonRight], + children: this._getIcon(button, _pagesLayoutManager.default.navigationSubButton) + }) + }) + }, "page_navigation_" + action); + } + + return null; + } + }, { + key: "_getButtons", + value: function _getButtons(buttons) { + var _this2 = this; + + return buttons && buttons.map(function (button) { + return _this2._getButton(button); + }); + } + }, { + key: "render", + value: function render() { + var _this$props3 = this.props, + height = _this$props3.height, + position = _this$props3.position, + version = _this$props3.version, + model = _this$props3.model; + var animated = this.state.animated; + var isLeft = position === PagesNavigationButtonsPosition.left; + var horizontalConstraint = isLeft ? { + start: 0 + } : { + end: 0 + }; + var styling = ICONS[version].styling; + var parentHeight = styling.parentHeight; + var backSection; + var forwardSection; + + if (model) { + backSection = model.getBack(); + forwardSection = model.getForward(); + } + + var buttons; + var direction; + + if (_$$_REQUIRE(_dependencyMap[24]).PlatformUtils.isRTL()) { + buttons = isLeft ? forwardSection && forwardSection.getButtons() : backSection && backSection.getButtons(); + direction = isLeft ? "forward" : "back"; + } else { + buttons = isLeft ? backSection && backSection.getButtons() : forwardSection && forwardSection.getButtons(); + direction = isLeft ? "back" : "forward"; + } + + var top = height * 0.6 - parentHeight / 2; + return (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_$$_REQUIRE(_dependencyMap[23]).Css, { + classes: ["newsmemory-navigation-icons-parent", "newsmemory-navigation-" + direction + "-icons-parent"], + children: (0, _$$_REQUIRE(_dependencyMap[22]).jsx)(_hidingAnimationComponent.default, { + stylePropToAnimate: isLeft ? "start" : "end", + style: [_pagesLayoutManager.default.navigationParentButtons, Object.assign({ + top: top + }, horizontalConstraint), { + height: parentHeight + }], + enabled: animated, + eventToShow: _events.default.NEWSMEMORY_VIEWPAGER_GESTURE_START, + eventToggleEnable: _events.default.NEWSMEMORY_RESET_NAVIGATION_BUTTONS_POSITION, + onLayout: this.onLayout, + children: this._getButtons(buttons) + }) + }); + } + }]); + }(_react.default.PureComponent); + + PagesNavigationButtons.propTypes = { + model: _propTypes.default.instanceOf(_$$_REQUIRE(_dependencyMap[25]).Navigation), + width: _propTypes.default.number, + height: _propTypes.default.number, + animated: _propTypes.default.bool, + pagesAreaSize: _propTypes.default.object, + position: _propTypes.default.oneOf([PagesNavigationButtonsPosition.left, PagesNavigationButtonsPosition.right]), + onPagePress: _propTypes.default.func.isRequired, + onSectionPress: _propTypes.default.func.isRequired, + onSectionDoublePress: _propTypes.default.func.isRequired, + version: _propTypes.default.number + }; + PagesNavigationButtons.defaultProps = { + version: 2 + }; +},2335,[3,6,7,11,13,14,16,582,18,2333,2151,436,2305,1941,2336,2337,2338,2339,2340,2341,2342,2343,179,817,438,1862]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ + "__packager_asset": true, + "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v1", + "width": 167, + "height": 500, + "scales": [1], + "hash": "eddb3297c148d18d34f7269acf7ebe45", + "name": "ic-back-button", + "type": "png" + }); +},2336,[1258]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ + "__packager_asset": true, + "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v1", + "width": 167, + "height": 360, + "scales": [1], + "hash": "52fe379bda57a6463fe980e3ad3bdfba", + "name": "ic-back-section-button", + "type": "png" + }); +},2337,[1258]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ + "__packager_asset": true, + "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v1", + "width": 167, + "height": 500, + "scales": [1], + "hash": "ce4d0b25d3444d5ace31e50afda0539d", + "name": "ic-forward-button", + "type": "png" + }); +},2338,[1258]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ + "__packager_asset": true, + "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v1", + "width": 167, + "height": 360, + "scales": [1], + "hash": "76f318bb980d02f483cc0153757edc0a", + "name": "ic-forward-section-button", + "type": "png" + }); +},2339,[1258]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ + "__packager_asset": true, + "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v2", + "width": 128, + "height": 128, + "scales": [1], + "hash": "52688047c7df4a6391489d2bf47c571f", + "name": "ic-back-button", + "type": "png" + }); +},2340,[1258]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ + "__packager_asset": true, + "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v2", + "width": 128, + "height": 128, + "scales": [1], + "hash": "facf45c0236cc9a31b2ba87bb8cab43a", + "name": "ic-back-section-button", + "type": "png" + }); +},2341,[1258]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ + "__packager_asset": true, + "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v2", + "width": 128, + "height": 128, + "scales": [1], + "hash": "ceec2685ab684910db8bab70380d187f", + "name": "ic-forward-button", + "type": "png" + }); +},2342,[1258]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ + "__packager_asset": true, + "httpServerLocation": "/assets/src/views/newsmemory/pages-layout-manager/icons/v2", + "width": 128, + "height": 128, + "scales": [1], + "hash": "ad1531bf863fb714df86c06448227f11", + "name": "ic-forward-section-button", + "type": "png" + }); +},2343,[1258]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[8]); + + var _fontText = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _hidingAnimationComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var PagesTextInfo = exports.default = function (_React$PureComponent) { + function PagesTextInfo(props) { + var _this; + + (0, _classCallCheck2.default)(this, PagesTextInfo); + _this = _callSuper(this, PagesTextInfo, [props]); + _this.onLayout = _this._onLayout.bind(_this); + _this.state = { + animated: props.animated + }; + return _this; + } + + (0, _inherits2.default)(PagesTextInfo, _React$PureComponent); + return (0, _createClass2.default)(PagesTextInfo, [{ + key: "UNSAFE_componentWillReceiveProps", + value: function UNSAFE_componentWillReceiveProps(nextProps) { + var animated = this.props.animated; + + if (animated !== nextProps.animated) { + this.setState({ + animated: nextProps.animated + }); + } + } + }, { + key: "_onLayout", + value: function _onLayout(_ref) { + var nativeEvent = _ref.nativeEvent; + var _this$props = this.props, + width = _this$props.width, + height = _this$props.height, + pagesAreaSize = _this$props.pagesAreaSize; + var animated = this.state.animated; + + if (animated) { + var layout = nativeEvent.layout; + + if (layout) { + var horizontalBorderAreaWidth = Math.max(width - pagesAreaSize.width, 0) / 2; + var horizontalBorderAreaHeight = Math.max(height - pagesAreaSize.height, 0) / 2; + + if (horizontalBorderAreaHeight >= layout.height) { + animated = false; + } else if (horizontalBorderAreaWidth >= layout.width) { + animated = false; + } + } + + this.setState({ + animated: animated + }); + } + } + }, { + key: "render", + value: function render() { + var _this$props2 = this.props, + text = _this$props2.text, + IconComponent = _this$props2.IconComponent, + position = _this$props2.position, + style = _this$props2.style, + textStyle = _this$props2.textStyle, + stylePropToAnimate = _this$props2.stylePropToAnimate, + onPress = _this$props2.onPress; + + if (!text || !text.length) { + return null; + } + + var animated = this.state.animated; + var Component = (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[13]).Css, { + classes: ["newsmemory-text", "newsmemory-navigation-text", "newsmemory-navigation-" + position + "-text"], + children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_fontText.default, { + style: textStyle, + children: text + }) + }); + + if (IconComponent) { + Component = (0, _$$_REQUIRE(_dependencyMap[12]).jsxs)(_reactNative.View, { + style: { + flex: 1, + flexDirection: "row", + justifyContent: "center", + alignItems: "center" + }, + children: [Component, (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[13]).Css, { + classes: ["newsmemory-icon", "newsmemory-navigation-icon", "newsmemory-navigation-" + position + "-icon"], + children: IconComponent + })] + }); + } + + if (typeof onPress === "function") { + Component = (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[14]).TouchableOpacity, { + onPress: onPress, + children: Component + }); + } + + return (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_$$_REQUIRE(_dependencyMap[13]).Css, { + classes: ["newsmemory-navigation-text-parent", "newsmemory-navigation-" + position + "-text-parent"], + children: (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_hidingAnimationComponent.default, { + style: style, + enabled: animated, + stylePropToAnimate: stylePropToAnimate, + eventToShow: _events.default.NEWSMEMORY_VIEWPAGER_GESTURE_START, + eventToggleEnable: _events.default.NEWSMEMORY_RESET_NAVIGATION_BUTTONS_POSITION, + onLayout: this.onLayout, + children: Component + }) + }); + } + }]); + }(_react.default.PureComponent); + + PagesTextInfo.propTypes = { + text: _propTypes.default.string, + position: _propTypes.default.oneOf([_$$_REQUIRE(_dependencyMap[15]).PagesNavigationButtonsPosition.left, _$$_REQUIRE(_dependencyMap[15]).PagesNavigationButtonsPosition.center, _$$_REQUIRE(_dependencyMap[15]).PagesNavigationButtonsPosition.right]), + stylePropToAnimate: _propTypes.default.string, + style: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object, _propTypes.default.array]), + textStyle: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.object, _propTypes.default.array]), + IconComponent: _propTypes.default.node, + animated: _propTypes.default.bool, + width: _propTypes.default.number, + height: _propTypes.default.number, + pagesAreaSize: _propTypes.default.object, + onPress: _propTypes.default.func + }; +},2344,[3,6,7,11,13,14,16,582,18,814,2305,436,179,817,1,2335]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -337107,7 +336868,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }).isRequired, model: _propTypes.default.instanceOf(_$$_REQUIRE(_dependencyMap[28]).Header).isRequired }, _$$_REQUIRE(_dependencyMap[27]).Shortcut.propTypes); -},2348,[3,6,7,11,13,14,16,568,18,800,2229,2349,651,654,2350,650,842,1898,1936,1899,179,811,1726,803,2352,438,2195,1939,1857]); +},2345,[3,6,7,11,13,14,16,582,18,814,2226,2346,665,668,2347,664,856,1907,2184,1908,179,825,1726,817,2349,438,2192,1984,1857]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -337172,7 +336933,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e color: _$$_REQUIRE(_dependencyMap[1]).SEARCH_COLOR } }); -},2349,[18,811,438]); +},2346,[18,825,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -337293,7 +337054,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e cssClassesIcon: [], cssClassesText: [] }; -},2350,[3,6,7,11,13,14,16,568,18,800,2351,1807,179,803,438]); +},2347,[3,6,7,11,13,14,16,582,18,814,2348,1807,179,817,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -337315,7 +337076,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e textAlign: "center" } }); -},2351,[18]); +},2348,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -337560,7 +337321,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e borderRadius: 0, autoFocus: false }; -},2352,[3,270,6,7,11,13,14,568,16,18,2233,1807,803,438,179,2353]); +},2349,[3,270,6,7,11,13,14,582,16,18,2230,1807,817,438,179,2350]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -337596,7 +337357,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e fontSize: 30 } }); -},2353,[18]); +},2350,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -338296,7 +338057,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }).isRequired }, _$$_REQUIRE(_dependencyMap[30]).Shortcut.propTypes); NewsmemoryThumbnail.defaultProps = Object.assign({}, _$$_REQUIRE(_dependencyMap[30]).Shortcut.defaultProps); -},2354,[3,270,6,7,11,85,13,14,568,16,18,2355,436,613,842,552,650,573,843,654,2356,550,850,1899,2357,438,179,1938,2358,803,1939]); +},2351,[3,270,6,7,11,85,13,14,582,16,18,2352,436,627,856,566,664,587,857,668,2353,564,864,1908,2354,438,179,2112,2355,817,1984]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -338406,7 +338167,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; }; }; -},2355,[]); +},2352,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -338571,7 +338332,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e padding: 5 } }); -},2356,[18,3,654,613,650,438,811]); +},2353,[18,3,668,627,664,438,825]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -338651,7 +338412,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2357,[3,6,7,654]); +},2354,[3,6,7,668]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -338948,7 +338709,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }) }); }; -},2358,[3,270,16,18,2356,800,2359,654,842,613,650,843,2302,436,179,803,2195,1881,1958,2360,811,1807,438,1938]); +},2355,[3,270,16,18,2353,814,2356,668,856,627,664,857,2299,436,179,817,2192,1979,1900,2357,825,1807,438,2112]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -339062,7 +338823,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e style: _propTypes.default.any, source: _propTypes.default.object }; -},2359,[3,4,270,6,7,11,13,14,16,568,574,179,1884]); +},2356,[3,4,270,6,7,11,13,14,16,582,588,179,1968]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -339243,7 +339004,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e DownloadButton.defaultProps = { disabled: false }; -},2360,[3,4,6,7,11,13,14,16,568,18,1807,550,179,803,1884]); +},2357,[3,4,6,7,11,13,14,16,582,18,1807,564,179,817,1968]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -339516,7 +339277,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e BackgroundPages.defaultProps = { hidden: false }; -},2361,[3,6,7,11,13,14,568,16,18,436,613,650,843,654,2338,2362,550,811,179,438,803,1884]); +},2358,[3,6,7,11,13,14,582,16,18,436,627,664,857,668,2321,2359,564,825,179,438,817,1968]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -339547,7 +339308,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e overflow: "hidden" } }); -},2362,[18,438]); +},2359,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -340213,7 +339974,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }(); LayoutFlexManager.LAST_ACCESSIBILITY_STATE = false; -},2363,[3,6,7,434,1863,803,438]); +},2360,[3,6,7,434,1863,817,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -340228,7 +339989,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2364,[2365]); +},2361,[2362]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -340359,7 +340120,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e cssClasses: [], cssTextClasses: [] }; -},2365,[3,6,7,11,13,14,16,568,436,550,179,1884,438]); +},2362,[3,6,7,11,13,14,16,582,436,564,179,1968,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -340374,7 +340135,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2366,[2367]); +},2363,[2364]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -340613,7 +340374,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e showLoading: true, ignoreSafeArea: false }; -},2367,[3,6,7,11,13,14,568,16,18,436,434,574,2368,550,179,2369,1884,438]); +},2364,[3,6,7,11,13,14,582,16,18,436,434,588,2365,564,179,2366,1968,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -340639,7 +340400,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e resizeMode: "contain" }; }; -},2368,[3,434]); +},2365,[3,434]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -340655,7 +340416,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e height: "100%" } }); -},2369,[18]); +},2366,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -340966,7 +340727,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigate: _propTypes.default.func.isRequired }).isRequired }; -},2370,[3,6,7,11,85,13,14,568,16,18,1863,436,2042,2234,2371,2382,2383,2387,2388,438,550,179,803,2235,2214,2049,1938]); +},2367,[3,6,7,11,85,13,14,582,16,18,1863,436,2020,2231,2368,2379,2380,2384,2385,438,564,179,817,2232,2211,2027,2112]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -341249,7 +341010,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_settingsBaseManager.default); -},2371,[3,270,6,7,11,13,14,16,18,2152,2143,2088,1906,865,1928,1888,2372,2373,2375,2379,2380,2381,801,2013,438,803,179,1929]); +},2368,[3,270,6,7,11,13,14,16,18,2143,2134,2077,1915,879,2039,1881,2369,2370,2372,2376,2377,2378,815,1991,438,817,179,1976]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -341376,7 +341137,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }), onChange: _propTypes.default.func.isRequired }; -},2372,[3,270,6,7,11,13,14,568,16,2237,798,179]); +},2369,[3,270,6,7,11,13,14,582,16,2234,812,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -341517,7 +341278,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e value: _propTypes.default.bool, onChange: _propTypes.default.func.isRequired }; -},2373,[3,270,6,7,11,13,14,16,568,18,2374,803,179,2238,2237]); +},2370,[3,270,6,7,11,13,14,16,582,18,2371,817,179,2235,2234]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -341604,7 +341365,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = TecnaviaCheckBox; -},2374,[3,16,568,18,1807,438,179,803]); +},2371,[3,16,582,18,1807,438,179,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -341758,7 +341519,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = SettingPicker; -},2375,[3,270,33,4,16,568,18,2237,2376,179]); +},2372,[3,270,33,4,16,582,18,2234,2373,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -341969,7 +341730,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = DropDownList; -},2376,[3,22,33,16,568,18,814,2377,803,179,1938]); +},2373,[3,22,33,16,582,18,828,2374,817,179,2112]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -342072,7 +341833,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e DropDownOption.defaultProps = {}; var _default = exports.default = DropDownOption; -},2377,[3,568,16,18,2378,179,803]); +},2374,[3,582,16,18,2375,179,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -342204,7 +341965,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = Option; -},2378,[3,4,568,16,18,800,1807,1974,438,179]); +},2375,[3,4,582,16,18,814,1807,1941,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -342261,7 +342022,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = SettingPickerMulti; -},2379,[3,4,16,568,2375,179]); +},2376,[3,4,16,582,2372,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -342306,7 +342067,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = SettingText; -},2380,[3,16,568,18,803,179,2238,2237]); +},2377,[3,16,582,18,817,179,2235,2234]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -342378,7 +342139,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(); -},2381,[3,6,7,1929]); +},2378,[3,6,7,1976]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -342578,7 +342339,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_settingsBaseManager.default); -},2382,[3,270,6,7,11,13,14,16,1863,844,1864,436,865,2372,2373,2375,2381,179,438,850,550,2256,864]); +},2379,[3,270,6,7,11,13,14,16,1863,858,1864,436,879,2369,2370,2372,2378,179,438,864,564,2254,878]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -342867,7 +342628,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_settingsBaseManager.default); -},2383,[3,270,22,6,7,11,13,14,16,407,2152,1863,2174,1864,436,1897,2373,2375,2381,179,2384,613,2385,2386,438,550]); +},2380,[3,270,22,6,7,11,13,14,16,407,2143,1863,2165,1864,436,1910,2370,2372,2378,179,2381,627,2382,2383,438,564]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -342879,7 +342640,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "download_full", "type": "png" }); -},2384,[1244]); +},2381,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -342891,7 +342652,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "download_medium", "type": "png" }); -},2385,[1244]); +},2382,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -342903,34 +342664,32 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "download_low", "type": "png" }); -},2386,[1244]); +},2383,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true }); exports.default = undefined; - var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); - var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); - var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); - var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); - var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); - var _deviceUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + var _settingButton = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); - var _settingButton = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + var _settingDebug = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); - var _settingDebug = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); - - var _settingsBaseManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + var _settingsBaseManager = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10])); function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } @@ -342942,7 +342701,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _classCallCheck2.default)(this, SettingsOthers); _this = _callSuper(this, SettingsOthers, [onNavigation, labels]); - _this.sendFeedbackEmail = _this._sendFeedbackEmail.bind(_this); + _this.sendFeedback = _this._sendFeedback.bind(_this); _this.onForceLayoutSubStyle = _this._onForceLayoutSubStyle.bind(_this); return _this; } @@ -342954,19 +342713,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e this._displayToast(global.strings("msg_available_next_startup")); } }, { - key: "_sendFeedbackEmail", - value: function () { - var _sendFeedbackEmail2 = (0, _asyncToGenerator2.default)(function* () { - var feedback = new (_$$_REQUIRE(_dependencyMap[12]).Feedback)(); - yield feedback.sendFeedbackEmail(false); - }); - - function _sendFeedbackEmail() { - return _sendFeedbackEmail2.apply(this, arguments); - } - - return _sendFeedbackEmail; - }() + key: "_sendFeedback", + value: function _sendFeedback() { + var feedback = new (_$$_REQUIRE(_dependencyMap[11]).Feedback)(); + feedback.sendFeedback(false); + } }, { key: "getSettings", value: function getSettings() { @@ -342979,21 +342730,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } catch (e) {} return Object.assign({}, this.getCollapsedParams(), { - data: [(0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_settingDebug.default, { + data: [(0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_settingDebug.default, { numberOfTapToDebug: 1, label: global.strings("version"), value: _deviceUtils.default.getAppVersion() + " - " + machineId, onSublayoutChange: this.onForceLayoutSubStyle - }), (0, _$$_REQUIRE(_dependencyMap[13]).jsx)(_settingButton.default, { + }), (0, _$$_REQUIRE(_dependencyMap[12]).jsx)(_settingButton.default, { label: global.strings("btn_feedback"), button: global.strings("write"), - onChange: this.sendFeedbackEmail + onChange: this.sendFeedback })] }); } }]); }(_settingsBaseManager.default); -},2387,[3,270,6,7,11,13,14,16,434,2372,2232,2381,2217,179]); +},2384,[3,6,7,11,13,14,16,434,2369,2229,2378,2214,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -343183,7 +342934,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_settingsBaseManager.default); -},2388,[3,270,6,7,11,13,14,16,1898,2062,552,2372,2389,2381,438,2050,179]); +},2385,[3,270,6,7,11,13,14,16,1907,2045,566,2369,2386,2378,438,2028,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -343246,7 +342997,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = SettingMyHome; -},2389,[3,16,568,2237,814,179,2390]); +},2386,[3,16,582,2234,828,179,2387]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -343261,7 +343012,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2390,[2391]); +},2387,[2388]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -344038,7 +343789,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e RssMyHomeConfig.defaultProps = { showAlwaysOnClose: false }; -},2391,[3,22,240,6,7,11,13,14,270,568,16,18,2047,2062,1967,434,2054,2222,2374,800,1807,574,2392,2050,2055,179,803,603,438,1938]); +},2388,[3,22,240,6,7,11,13,14,270,582,16,18,2025,2045,1934,434,2032,2219,2371,814,1807,588,2389,2028,2033,179,817,617,438,2112]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -344198,7 +343949,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e fontSize: 40 } }); -},2392,[18,2042,438]); +},2389,[18,2020,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -344213,7 +343964,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2393,[2394]); +},2390,[2391]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -344373,7 +344124,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e NewsmemoryHTML5Screen.propTypes = { navigation: _propTypes.default.object }; -},2394,[3,6,7,11,85,13,14,16,18,553,568,1898,1888,438,179,1927,1929,2214]); +},2391,[3,6,7,11,85,13,14,16,18,567,582,1907,1881,438,179,2055,1976,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -344669,7 +344420,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e NewsmemoryNativeScreen.propTypes = { navigation: _propTypes.default.object }; -},2395,[3,270,6,7,11,85,13,14,568,16,18,1898,1863,2047,436,1897,1865,434,865,1888,2367,1963,550,438,2217,179,2214]); +},2392,[3,270,6,7,11,85,13,14,582,16,18,1907,1863,2025,436,1910,1865,434,879,1881,2364,1905,564,438,2214,179,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -344684,7 +344435,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2396,[2397]); +},2393,[2394]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -345100,7 +344851,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e GalleryScreen.defaultProps = { considerSafeAreaTop: false }; -},2397,[3,270,4,6,7,11,85,13,14,16,18,568,434,2398,2402,2460,1807,2302,552,438,2065,1958,2214,803,179,2406,2462]); +},2394,[3,270,4,6,7,11,85,13,14,16,18,582,434,2395,2399,2457,1807,2299,566,438,2048,1900,2211,817,179,2403,2459]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -345242,7 +344993,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e visible: true, startIndex: 0 }; -},2398,[3,6,7,11,13,14,16,568,436,2399,550,438,179,1938,2400]); +},2395,[3,6,7,11,13,14,16,582,436,2396,564,438,179,2112,2397]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -345359,7 +345110,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e GalleryThumbnail.defaultProps = { selected: false }; -},2399,[3,6,7,11,13,14,16,568,18,436,2400,574,550,2401,438,179]); +},2396,[3,6,7,11,13,14,16,582,18,436,2397,588,564,2398,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -345385,7 +345136,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e borderColor: "white" } }); -},2400,[18,438]); +},2397,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -345397,7 +345148,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "ic_not_available", "type": "png" }); -},2401,[1244]); +},2398,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -345543,7 +345294,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e GalleryPager.defaultProps = { startIndex: 0 }; -},2402,[3,6,7,11,13,14,16,568,2280,179,2403,2407,2451,2454,2457,2459]); +},2399,[3,6,7,11,13,14,16,582,2277,179,2400,2404,2448,2451,2454,2456]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -345558,7 +345309,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2403,[2404]); +},2400,[2401]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -345659,7 +345410,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }), isPlaylist: _propTypes.default.bool }; -},2404,[3,6,7,11,13,14,16,18,568,865,179,2405]); +},2401,[3,6,7,11,13,14,16,18,582,879,179,2402]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -345677,7 +345428,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e paddingTop: _$$_REQUIRE(_dependencyMap[1]).GALLERY_ITEM_HEIGHT } }); -},2405,[18,2406]); +},2402,[18,2403]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -345791,7 +345542,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e borderColor: "white" } }); -},2406,[18,438]); +},2403,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -345806,7 +345557,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2407,[2408]); +},2404,[2405]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -345884,7 +345635,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e url: _propTypes.default.string.isRequired }) }; -},2408,[3,6,7,11,13,14,16,2409,18,568,179,2450]); +},2405,[3,6,7,11,13,14,16,2406,18,582,179,2447]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -346649,7 +346400,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e customStyles: {}, showDuration: false }; -},2409,[3,4,6,7,11,13,14,16,568,18,1837,2410,2433,179]); +},2406,[3,4,6,7,11,13,14,16,582,18,1837,2407,2430,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -347200,7 +346951,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e fullscreen: true } }); -},2410,[3,270,6,7,11,13,14,16,568,18,154,2411,2412,2413,2414,179,2416]); +},2407,[3,270,6,7,11,13,14,16,582,18,154,2408,2409,2410,2411,179,2413]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -347212,7 +346963,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e TTML: 'application/ttml+xml', VTT: 'text/vtt' }; -},2411,[]); +},2408,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -347237,7 +346988,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e TRANSFER: 'CIPhotoEffectTransfer', SEPIA: 'CISepiaTone' }; -},2412,[]); +},2409,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -347250,7 +347001,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e CLEARKEY: 'clearkey', FAIRPLAY: 'fairplay' }; -},2413,[]); +},2410,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -347264,7 +347015,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e cover: null, stretch: null }); -},2414,[3,2415]); +},2411,[3,2412]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { "use strict"; @@ -347288,7 +347039,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; module.exports = keyMirror; -},2415,[]); +},2412,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347322,7 +347073,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }; -},2416,[2417,2418,2419,2429,2430,2431,2420]); +},2413,[2414,2415,2416,2426,2427,2428,2417]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347349,7 +347100,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var ColorPropType = colorPropType.bind(null, false); ColorPropType.isRequired = colorPropType.bind(null, true); module.exports = ColorPropType; -},2417,[145]); +},2414,[145]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347361,7 +347112,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); module.exports = DeprecatedEdgeInsetsPropType; -},2418,[568]); +},2415,[582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347393,7 +347144,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e resizeMode: _$$_REQUIRE(_dependencyMap[3]).oneOf(['cover', 'contain', 'stretch', 'repeat', 'center']) }); module.exports = DeprecatedImagePropType; -},2419,[2420,2421,2428,568]); +},2416,[2417,2418,2425,582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347437,7 +347188,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e collapsable: _$$_REQUIRE(_dependencyMap[2]).bool, needsOffscreenAlphaCompositing: _$$_REQUIRE(_dependencyMap[2]).bool }; -},2420,[2421,2423,568,2427,2418]); +},2417,[2418,2420,582,2424,2415]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347485,7 +347236,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = DeprecatedStyleSheetPropType; -},2421,[2422]); +},2418,[2419]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347541,7 +347292,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = deprecatedCreateStrictShapeTypeChecker; -},2422,[31]); +},2419,[31]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347574,7 +347325,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e elevation: _$$_REQUIRE(_dependencyMap[3]).number }); module.exports = DeprecatedViewStylePropTypes; -},2423,[2424,2425,2426,568,2417]); +},2420,[2421,2422,2423,582,2414]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347634,7 +347385,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e direction: _$$_REQUIRE(_dependencyMap[0]).oneOf(['inherit', 'ltr', 'rtl']) }; module.exports = LayoutPropTypes; -},2424,[568]); +},2421,[582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347648,7 +347399,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e shadowRadius: _$$_REQUIRE(_dependencyMap[1]).number }; module.exports = DeprecatedShadowPropTypesIOS; -},2425,[2417,568]); +},2422,[2414,582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347714,14 +347465,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = DeprecatedTransformPropTypes; -},2426,[568]); +},2423,[582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; module.exports = { DeprecatedAccessibilityRoles: ['none', 'button', 'togglebutton', 'link', 'search', 'image', 'keyboardkey', 'text', 'adjustable', 'imagebutton', 'header', 'summary', 'alert', 'checkbox', 'combobox', 'menu', 'menubar', 'menuitem', 'progressbar', 'radio', 'radiogroup', 'scrollbar', 'spinbutton', 'switch', 'tab', 'tablist', 'timer', 'toolbar'] }; -},2427,[]); +},2424,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347742,7 +347493,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e borderBottomRightRadius: _$$_REQUIRE(_dependencyMap[3]).number }); module.exports = ImageStylePropTypes; -},2428,[2424,2425,2426,568,2417]); +},2425,[2421,2422,2423,582,2414]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347752,7 +347503,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); module.exports = PointPropType; -},2429,[568]); +},2426,[582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347815,7 +347566,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e textContentType: _$$_REQUIRE(_dependencyMap[1]).oneOf(['none', 'URL', 'addressCity', 'addressCityAndState', 'addressState', 'countryName', 'creditCardNumber', 'emailAddress', 'familyName', 'fullStreetAddress', 'givenName', 'jobTitle', 'location', 'middleName', 'name', 'namePrefix', 'nameSuffix', 'nickname', 'organizationName', 'postalCode', 'streetAddressLine1', 'streetAddressLine2', 'sublocality', 'telephoneNumber', 'username', 'password', 'newPassword', 'oneTimeCode']), showSoftInputOnFocus: _$$_REQUIRE(_dependencyMap[1]).bool }); -},2430,[2420,568,2417,2431]); +},2427,[2417,582,2414,2428]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347844,7 +347595,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e disabled: _$$_REQUIRE(_dependencyMap[2]).bool, dataDetectorType: _$$_REQUIRE(_dependencyMap[2]).oneOf(DataDetectorTypes) }; -},2431,[2421,2432,568,2418,2417]); +},2428,[2418,2429,582,2415,2414]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347873,7 +347624,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e writingDirection: _$$_REQUIRE(_dependencyMap[2]).oneOf(['auto', 'ltr', 'rtl']) }); module.exports = DeprecatedTextStylePropTypes; -},2432,[2423,2417,568]); +},2429,[2420,2414,582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347907,7 +347658,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }; -},2433,[2434,2435,2436,2446,2447,2448,2437]); +},2430,[2431,2432,2433,2443,2444,2445,2434]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347934,7 +347685,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var ColorPropType = colorPropType.bind(null, false); ColorPropType.isRequired = colorPropType.bind(null, true); module.exports = ColorPropType; -},2434,[145]); +},2431,[145]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347946,7 +347697,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); module.exports = DeprecatedEdgeInsetsPropType; -},2435,[568]); +},2432,[582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -347978,7 +347729,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e resizeMode: _$$_REQUIRE(_dependencyMap[3]).oneOf(['cover', 'contain', 'stretch', 'repeat', 'center']) }); module.exports = DeprecatedImagePropType; -},2436,[2437,2438,2445,568]); +},2433,[2434,2435,2442,582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -348022,7 +347773,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e collapsable: _$$_REQUIRE(_dependencyMap[2]).bool, needsOffscreenAlphaCompositing: _$$_REQUIRE(_dependencyMap[2]).bool }; -},2437,[2438,2440,568,2444,2435]); +},2434,[2435,2437,582,2441,2432]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -348070,7 +347821,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = DeprecatedStyleSheetPropType; -},2438,[2439]); +},2435,[2436]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -348126,7 +347877,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = deprecatedCreateStrictShapeTypeChecker; -},2439,[31]); +},2436,[31]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -348159,7 +347910,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e elevation: _$$_REQUIRE(_dependencyMap[3]).number }); module.exports = DeprecatedViewStylePropTypes; -},2440,[2441,2442,2443,568,2434]); +},2437,[2438,2439,2440,582,2431]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -348219,7 +347970,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e direction: _$$_REQUIRE(_dependencyMap[0]).oneOf(['inherit', 'ltr', 'rtl']) }; module.exports = LayoutPropTypes; -},2441,[568]); +},2438,[582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -348233,7 +347984,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e shadowRadius: _$$_REQUIRE(_dependencyMap[1]).number }; module.exports = DeprecatedShadowPropTypesIOS; -},2442,[2434,568]); +},2439,[2431,582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -348299,14 +348050,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } module.exports = DeprecatedTransformPropTypes; -},2443,[568]); +},2440,[582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; module.exports = { DeprecatedAccessibilityRoles: ['none', 'button', 'togglebutton', 'link', 'search', 'image', 'keyboardkey', 'text', 'adjustable', 'imagebutton', 'header', 'summary', 'alert', 'checkbox', 'combobox', 'menu', 'menubar', 'menuitem', 'progressbar', 'radio', 'radiogroup', 'scrollbar', 'spinbutton', 'switch', 'tab', 'tablist', 'timer', 'toolbar'] }; -},2444,[]); +},2441,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -348327,7 +348078,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e borderBottomRightRadius: _$$_REQUIRE(_dependencyMap[3]).number }); module.exports = ImageStylePropTypes; -},2445,[2441,2442,2443,568,2434]); +},2442,[2438,2439,2440,582,2431]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -348337,7 +348088,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); module.exports = PointPropType; -},2446,[568]); +},2443,[582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -348400,7 +348151,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e textContentType: _$$_REQUIRE(_dependencyMap[1]).oneOf(['none', 'URL', 'addressCity', 'addressCityAndState', 'addressState', 'countryName', 'creditCardNumber', 'emailAddress', 'familyName', 'fullStreetAddress', 'givenName', 'jobTitle', 'location', 'middleName', 'name', 'namePrefix', 'nameSuffix', 'nickname', 'organizationName', 'postalCode', 'streetAddressLine1', 'streetAddressLine2', 'sublocality', 'telephoneNumber', 'username', 'password', 'newPassword', 'oneTimeCode']), showSoftInputOnFocus: _$$_REQUIRE(_dependencyMap[1]).bool }); -},2447,[2437,568,2434,2448]); +},2444,[2434,582,2431,2445]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -348429,7 +348180,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e disabled: _$$_REQUIRE(_dependencyMap[2]).bool, dataDetectorType: _$$_REQUIRE(_dependencyMap[2]).oneOf(DataDetectorTypes) }; -},2448,[2438,2449,568,2435,2434]); +},2445,[2435,2446,582,2432,2431]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -348458,7 +348209,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e writingDirection: _$$_REQUIRE(_dependencyMap[2]).oneOf(['auto', 'ltr', 'rtl']) }); module.exports = DeprecatedTextStylePropTypes; -},2449,[2440,2434,568]); +},2446,[2437,2431,582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -348474,7 +348225,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e justifyContent: "center" } }); -},2450,[18]); +},2447,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -348489,7 +348240,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2451,[2452]); +},2448,[2449]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -348580,7 +348331,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e thumbnail: _propTypes.default.string }) }; -},2452,[3,6,7,11,13,14,16,18,568,574,1928,1974,179,803,2453,1807]); +},2449,[3,6,7,11,13,14,16,18,582,588,2039,1941,179,817,2450,1807]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -348608,7 +348359,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e fontSize: 80 } }); -},2453,[18,438]); +},2450,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -348623,7 +348374,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2454,[2455]); +},2451,[2452]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -348702,7 +348453,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e url: _propTypes.default.string.isRequired }) }; -},2455,[3,6,7,11,13,14,16,568,18,179,2456,1927,852]); +},2452,[3,6,7,11,13,14,16,582,18,179,2453,2055,866]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -348719,7 +348470,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e flex: 1 } }); -},2456,[18,438]); +},2453,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -348734,7 +348485,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2457,[2458]); +},2454,[2455]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -348889,7 +348640,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e height: _propTypes.default.number }) }; -},2458,[3,270,6,7,11,13,14,16,18,568,552,434,574,438,179]); +},2455,[3,270,6,7,11,13,14,16,18,582,566,434,588,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -348913,7 +348664,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e borderColor: "white" } }); -},2459,[18,438]); +},2456,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -348982,7 +348733,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e startIndex: _propTypes.default.number.isRequired, total: _propTypes.default.number.isRequired }; -},2460,[3,6,7,11,13,14,16,568,800,2461,179]); +},2457,[3,6,7,11,13,14,16,582,814,2458,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -349001,7 +348752,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e textAlignVertical: "center" } }); -},2461,[18,2406]); +},2458,[18,2403]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -349016,7 +348767,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2462,[2463]); +},2459,[2460]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -349154,7 +348905,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e maxLines: 1, color: _$$_REQUIRE(_dependencyMap[12]).colors.white }; -},2463,[3,6,7,11,13,14,16,568,18,800,1807,179,438]); +},2460,[3,6,7,11,13,14,16,582,18,814,1807,179,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -349282,7 +349033,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e NavigatorBaseScreen.propTypes = { navigation: _propTypes.default.object }; -},2464,[3,6,7,11,13,14,16,568,2007]); +},2461,[3,6,7,11,13,14,16,582,1985]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -349542,7 +349293,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e RssComponent.INTERVAL_ID = -1; RssComponent.INTERSTITIAL_TIMER = undefined; -},2465,[3,270,6,7,11,85,13,14,16,2466,2200,436,2062,2143,1888,2629,2212,2201,1898,2067,1897,2649,550,438,2217,179,2213,2464]); +},2462,[3,270,6,7,11,85,13,14,16,2463,2197,436,2045,2134,1881,2626,2209,2198,1907,2056,1910,2648,564,438,2214,179,2210,2461]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -349760,7 +349511,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }) }); } -},2466,[3,16,2048,2201,1888,2211,2467,2567,2219,2588,1926,438,179,2240,1939,2620,2396,2623,2370,2625]); +},2463,[3,16,2026,2198,1881,2208,2464,2564,2216,2585,2054,438,179,2238,1984,2617,2393,2620,2367,2622]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -350007,7 +349758,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e })] }); } -},2467,[3,16,18,434,2201,1888,1807,2468,179,803,2214,438,2470,2471,2505,2551,2219,2557,2559,2565]); +},2464,[3,16,18,434,2198,1881,1807,2465,179,817,2211,438,2467,2468,2502,2548,2216,2554,2556,2562]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -350145,7 +349896,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e })] }); } -},2468,[3,16,18,2222,800,1807,574,179,803,2469,438]); +},2465,[3,16,18,2219,814,1807,588,179,817,2466,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -350224,7 +349975,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e height: 14 } }); -},2469,[18]); +},2466,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -350339,7 +350090,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return type.value === value; }).text; }; -},2470,[3,407,438]); +},2467,[3,407,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -350354,7 +350105,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2471,[2472]); +},2468,[2469]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -350477,7 +350228,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e getParam: _propTypes.default.func.isRequired }) }; -},2472,[3,270,6,7,11,85,13,14,568,16,18,2473,179,803,2214]); +},2469,[3,270,6,7,11,85,13,14,582,16,18,2470,179,817,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -351036,7 +350787,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e EventBaseScreen.SORT_POPULARITY = 0; EventBaseScreen.SORT_DATE = 1; EventBaseScreen.SORT_NAME = 2; -},2473,[3,270,6,7,11,85,13,14,16,18,407,2101,1928,800,1807,574,2214,438,2470,2474,803,179,2488,2490,2492,2495]); +},2470,[3,270,6,7,11,85,13,14,16,18,407,2090,2039,814,1807,588,2211,438,2467,2471,817,179,2485,2487,2489,2492]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -351051,7 +350802,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2474,[2475]); +},2471,[2472]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -351122,7 +350873,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return out; } -},2475,[2476,2477,2478,2479,2480,2481,2482,2483,2484,2485,2486,2487]); +},2472,[2473,2474,2475,2476,2477,2478,2479,2480,2481,2482,2483,2484]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -351134,7 +350885,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "2", "type": "png" }); -},2476,[1244]); +},2473,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -351146,7 +350897,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "3", "type": "png" }); -},2477,[1244]); +},2474,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -351158,7 +350909,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "4", "type": "png" }); -},2478,[1244]); +},2475,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -351170,7 +350921,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "5", "type": "png" }); -},2479,[1244]); +},2476,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -351182,7 +350933,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "6", "type": "png" }); -},2480,[1244]); +},2477,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -351194,7 +350945,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "7", "type": "png" }); -},2481,[1244]); +},2478,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -351206,7 +350957,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "8", "type": "png" }); -},2482,[1244]); +},2479,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -351218,7 +350969,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "10", "type": "png" }); -},2483,[1244]); +},2480,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -351230,7 +350981,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "14", "type": "png" }); -},2484,[1244]); +},2481,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -351242,7 +350993,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "15", "type": "png" }); -},2485,[1244]); +},2482,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -351254,7 +351005,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "76", "type": "png" }); -},2486,[1244]); +},2483,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -351266,7 +351017,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "390", "type": "png" }); -},2487,[1244]); +},2484,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -351549,7 +351300,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e enhanced: _propTypes.default.bool, portal: _propTypes.default.string.isRequired }; -},2488,[3,270,6,7,11,13,14,16,18,568,1310,2092,2054,800,436,1807,438,179,2489,1973]); +},2485,[3,270,6,7,11,13,14,16,18,582,1324,2081,2032,814,436,1807,438,179,2486,1940]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -351672,7 +351423,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e borderRadius: 3 } }); -},2489,[18,2470,438]); +},2486,[18,2467,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -351687,7 +351438,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2490,[2491]); +},2487,[2488]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -351812,7 +351563,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }]); }(_react.default.Component); } -},2491,[3,6,7,11,13,14,16,18,568,800,865,179]); +},2488,[3,6,7,11,13,14,16,18,582,814,879,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -352059,7 +351810,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e getItemById: _propTypes.default.func.isRequired, featuredEvents: _propTypes.default.arrayOf(_propTypes.default.number) }; -},2492,[3,270,6,7,11,13,14,16,568,18,434,407,2493,179,438,2470]); +},2489,[3,270,6,7,11,13,14,16,582,18,434,407,2490,179,438,2467]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -352174,7 +351925,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }), onEventPress: _propTypes.default.func.isRequired }; -},2493,[3,6,7,11,13,14,16,18,1310,568,800,2494,574,179,2043,438]); +},2490,[3,6,7,11,13,14,16,18,1324,582,814,2491,588,179,2021,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -352236,7 +351987,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e alignItems: "flex-end" } }); -},2494,[18,438,2470]); +},2491,[18,438,2467]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -352251,7 +352002,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2495,[2496]); +},2492,[2493]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -352872,7 +352623,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return null; } }; -},2496,[3,270,6,7,11,13,14,568,16,18,407,2350,800,1807,574,2497,438,179,803,2498,2499,1884,2504,1938,2171]); +},2493,[3,270,6,7,11,13,14,582,16,18,407,2347,814,1807,588,2494,438,179,817,2495,2496,1968,2501,2112,2162]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -352954,7 +352705,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e LoadingMore.defaultProps = { visible: false }; -},2497,[3,6,7,11,13,14,16,568,179,1884]); +},2494,[3,6,7,11,13,14,16,582,179,1968]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -352981,7 +352732,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e height: 22 } }); -},2498,[18,438]); +},2495,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -352996,7 +352747,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2499,[2500]); +},2496,[2497]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -353131,7 +352882,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e offsetY: OFFSET_Y, availableHeight: 0 }; -},2500,[3,4,6,7,11,13,14,568,16,2501,803,179]); +},2497,[3,4,6,7,11,13,14,582,16,2498,817,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -353555,7 +353306,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e backgroundColor: "transparent" } }); -},2501,[3,6,7,11,13,14,568,16,18,2502,2503,179,581]); +},2498,[3,6,7,11,13,14,582,16,18,2499,2500,179,595]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -353741,7 +353492,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e color: "#444" } }); -},2502,[3,6,7,11,13,14,568,16,18,2503,179]); +},2499,[3,6,7,11,13,14,582,16,18,2500,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -353790,7 +353541,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e return undefined; } -},2503,[18]); +},2500,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -353988,7 +353739,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e latitudeKey: "latitude", longitudeKey: "longitude" }; -},2504,[3,6,7,11,13,14,16,568,865,179,438]); +},2501,[3,6,7,11,13,14,16,582,879,179,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -354003,7 +353754,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2505,[2506]); +},2502,[2503]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -354518,7 +354269,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e pass: "", portal: "" }; -},2506,[3,270,6,7,11,85,13,14,568,16,18,407,438,2470,179,2507,2519,2521,2522,2525,2530,2535,803,1884,2214]); +},2503,[3,270,6,7,11,85,13,14,582,16,18,407,438,2467,179,2504,2516,2518,2519,2522,2527,2532,817,1968,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -354533,7 +354284,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2507,[2508]); +},2504,[2505]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -354660,7 +354411,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e advanceFilters: [], buttons: [] }; -},2508,[3,6,7,11,13,14,16,568,18,179,2509,1937,2510,438,2517,2171]); +},2505,[3,6,7,11,13,14,16,582,18,179,2506,2107,2507,438,2514,2162]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -354696,7 +354447,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e borderColor: (0, _$$_REQUIRE(_dependencyMap[1]).getEventColor)() } }); -},2509,[18,2470]); +},2506,[18,2467]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -354711,7 +354462,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2510,[2511]); +},2507,[2508]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -354836,7 +354587,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e headerColor: _$$_REQUIRE(_dependencyMap[13]).colors.black, borderColor: _$$_REQUIRE(_dependencyMap[13]).colors.black }; -},2511,[3,6,7,11,13,14,16,18,568,1807,2512,179,2515,438]); +},2508,[3,6,7,11,13,14,16,18,582,1807,2509,179,2512,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -354867,7 +354618,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } })); } -},2512,[3,22,33,16,2513,179,438]); +},2509,[3,22,33,16,2510,179,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -355068,7 +354819,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e sectionContainerStyle: {}, renderAsFlatList: false }; -},2513,[3,4,22,6,7,11,13,14,16,18,2514,179]); +},2510,[3,4,22,6,7,11,13,14,16,18,2511,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -355352,7 +355103,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, renderChildrenCollapsed: true }; -},2514,[3,6,7,11,13,14,16,18,179]); +},2511,[3,6,7,11,13,14,16,18,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -355382,7 +355133,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e flexDirection: "column" } }); -},2515,[18,2516]); +},2512,[18,2513]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -355396,7 +355147,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e BORDER_RADIUS: 5, SEARCH_WIDTH: 200 }; -},2516,[]); +},2513,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -355479,7 +355230,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e backgroundColor: _$$_REQUIRE(_dependencyMap[11]).colors.black, textColor: _$$_REQUIRE(_dependencyMap[11]).colors.white }; -},2517,[3,6,7,11,13,14,16,18,568,179,2518,438]); +},2514,[3,6,7,11,13,14,16,18,582,179,2515,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -355504,7 +355255,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e padding: _$$_REQUIRE(_dependencyMap[1]).filterStyles.TEXT_PADDING } }); -},2518,[18,2516,438]); +},2515,[18,2513,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -355605,7 +355356,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e hint: _propTypes.default.string, defaultSearch: _propTypes.default.string }; -},2519,[3,6,7,11,13,14,16,568,18,2233,179,2520,438]); +},2516,[3,6,7,11,13,14,16,582,18,2230,179,2517,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -355623,7 +355374,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e borderRadius: _$$_REQUIRE(_dependencyMap[2]).filterStyles.BORDER_RADIUS } }); -},2520,[18,438,2516]); +},2517,[18,438,2513]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -355667,7 +355418,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e height: 50 } }); -},2521,[18,438,2516]); +},2518,[18,438,2513]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -355682,7 +355433,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2522,[2523]); +},2519,[2520]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -356217,7 +355968,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e useLocation: _propTypes.default.bool, onDisableSwitch: _propTypes.default.func }; -},2523,[3,6,7,11,13,14,270,4,568,16,18,407,2047,434,2066,814,2233,438,1929,179,2524,2516,1938]); +},2520,[3,6,7,11,13,14,270,4,582,16,18,407,2025,434,2051,828,2230,438,1976,179,2521,2513,2112]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -356298,7 +356049,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e alignItems: "center" } }); -},2524,[18,2516,438]); +},2521,[18,2513,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -356313,7 +356064,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2525,[2526]); +},2522,[2523]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -356418,7 +356169,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e maxValue: _propTypes.default.number.isRequired, defaultValue: _propTypes.default.number.isRequired }; -},2526,[3,6,7,11,13,14,2527,568,16,18,179,2529,438]); +},2523,[3,6,7,11,13,14,2524,582,16,18,179,2526,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -356505,7 +356256,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var Slider = SliderWithRef; var _default = exports.default = Slider; -},2527,[3,4,16,18,2528,179]); +},2524,[3,4,16,18,2525,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -356519,7 +356270,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var RNCSliderNativeComponent = (0, _reactNative.requireNativeComponent)('RNCSlider'); var _default = exports.default = RNCSliderNativeComponent; -},2528,[18]); +},2525,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -356548,7 +356299,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e width: "50%" } }); -},2529,[18,2516,438]); +},2526,[18,2513,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -356563,7 +356314,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2530,[2531]); +},2527,[2528]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -356787,7 +356538,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e selectedCategories: [], selectedLabels: [] }; -},2531,[3,22,33,16,18,568,800,814,179,2532,2534,2533]); +},2528,[3,22,33,16,18,582,814,828,179,2529,2531,2530]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -356869,7 +356620,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e labels: _propTypes.default.array.isRequired, onChange: _propTypes.default.func.isRequired }; -},2532,[3,33,16,568,18,800,179,2533,438]); +},2529,[3,33,16,582,18,814,179,2530,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -356930,7 +356681,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e width: 15 } }); -},2533,[18,2516,438]); +},2530,[18,2513,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -357125,7 +356876,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e multiSelect: _propTypes.default.bool, onChange: _propTypes.default.func }; -},2534,[3,33,22,16,18,568,2512,1807,800,179,2533,1938]); +},2531,[3,33,22,16,18,582,2509,1807,814,179,2530,2112]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -357140,7 +356891,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2535,[2536]); +},2532,[2533]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -357376,7 +357127,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e value: String })) }; -},2536,[3,6,7,11,13,14,16,18,568,2537,1807,814,800,438,179,1938,2550]); +},2533,[3,6,7,11,13,14,16,18,582,2534,1807,828,814,438,179,2112,2547]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -357530,7 +357281,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = RangePickerComponent; -},2537,[3,33,16,568,18,2538,1807,438,179]); +},2534,[3,33,16,582,18,2535,1807,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -357740,7 +357491,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = DatePicker; -},2538,[3,33,16,568,18,800,2539,1807,438,179]); +},2535,[3,33,16,582,18,814,2536,1807,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -357799,7 +357550,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = Picker; -},2539,[3,2540,568,16,179,803]); +},2536,[3,2537,582,16,179,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -357830,7 +357581,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }); var _default = exports.default = _datetimepicker.default; -},2540,[2541,3,2549,2548]); +},2537,[2538,3,2546,2545]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -357982,7 +357733,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e open: open, dismiss: dismiss }; -},2541,[3,33,270,31,2542,18,2545,2547,2548]); +},2538,[3,33,270,31,2539,18,2542,2544,2545]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -357998,7 +357749,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var pickers = (0, _defineProperty2.default)((0, _defineProperty2.default)({}, _$$_REQUIRE(_dependencyMap[4]).ANDROID_MODE.date, _datepicker.default), _$$_REQUIRE(_dependencyMap[4]).ANDROID_MODE.time, _timepicker.default); var _default = exports.default = pickers; -},2542,[3,240,2543,2546,2545]); +},2539,[3,240,2540,2543,2542]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -358051,7 +357802,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e DatePickerAndroid.dateSetAction = _$$_REQUIRE(_dependencyMap[6]).DATE_SET_ACTION; DatePickerAndroid.dismissedAction = _$$_REQUIRE(_dependencyMap[6]).DISMISS_ACTION; -},2543,[3,270,6,7,18,2544,2545]); +},2540,[3,270,6,7,18,2541,2542]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -358089,7 +357840,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e (0, _invariant.default)(value, 'A date or time must be specified as `value` prop'); (0, _invariant.default)(value instanceof Date, '`value` prop must be an instance of Date object'); } -},2544,[3,31]); +},2541,[3,31]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -358138,7 +357889,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var TIME_SET_ACTION = exports.TIME_SET_ACTION = 'timeSetAction'; var DISMISS_ACTION = exports.DISMISS_ACTION = 'dismissedAction'; var NEUTRAL_BUTTON_ACTION = exports.NEUTRAL_BUTTON_ACTION = 'neutralButtonAction'; -},2545,[]); +},2542,[]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -358191,7 +357942,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e TimePickerAndroid.timeSetAction = _$$_REQUIRE(_dependencyMap[6]).TIME_SET_ACTION; TimePickerAndroid.dismissedAction = _$$_REQUIRE(_dependencyMap[6]).DISMISS_ACTION; -},2546,[3,270,6,7,18,2544,2545]); +},2543,[3,270,6,7,18,2541,2542]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -358268,7 +358019,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e console.warn("positiveButtonLabel, negativeButtonLabel and neutralButtonLabel are deprecated.Use positive / negative / neutralButton prop instead."); } } -},2547,[3,2542,31,18,2545,2544]); +},2544,[3,2539,31,18,2542,2541]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -358301,7 +358052,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }, date]; }; -},2548,[2545]); +},2545,[2542]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -358360,7 +358111,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }, [onChange, valueTimestamp, mode]); return null; } -},2549,[16,2547,2545,2541]); +},2546,[16,2544,2542,2538]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -358406,7 +358157,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e color: _$$_REQUIRE(_dependencyMap[2]).colors.white } }); -},2550,[18,2516,438]); +},2547,[18,2513,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -358421,7 +358172,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2551,[2552]); +},2548,[2549]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -358511,7 +358262,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[13]).NavigationBaseScreen); -},2552,[3,6,7,11,85,13,14,16,436,179,2553,2470,2556,2214]); +},2549,[3,6,7,11,85,13,14,16,436,179,2550,2467,2553,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -358526,7 +358277,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2553,[2554]); +},2550,[2551]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -358740,7 +358491,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }).isRequired, itemKey: _propTypes.default.string }; -},2554,[3,270,6,7,11,13,14,568,16,18,800,1807,550,179,2555,803,1884,438,1938]); +},2551,[3,270,6,7,11,13,14,582,16,18,814,1807,564,179,2552,817,1968,438,2112]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -358779,7 +358530,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e color: _$$_REQUIRE(_dependencyMap[1]).colors.white } }); -},2555,[18,438]); +},2552,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -358794,7 +358545,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2556,[2488]); +},2553,[2485]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -359265,7 +359016,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[18]).NavigationBaseScreen); -},2557,[3,270,6,7,11,85,13,14,16,18,407,436,1928,2092,800,2233,1807,574,2214,438,2470,179,803,1884,2558,1937,1973]); +},2554,[3,270,6,7,11,85,13,14,16,18,407,436,2039,2081,814,2230,1807,588,2211,438,2467,179,817,1968,2555,2107,1940]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -359325,7 +359076,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e top: 25 } }); -},2558,[18,2470,438]); +},2555,[18,2467,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -359340,7 +359091,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2559,[2560]); +},2556,[2557]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -359657,7 +359408,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[21]).NavigationBaseScreen); -},2560,[3,270,6,7,11,85,13,14,16,18,407,436,800,1807,574,2470,179,2561,438,803,2564,2214]); +},2557,[3,270,6,7,11,85,13,14,16,18,407,436,814,1807,588,2467,179,2558,438,817,2561,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -359672,7 +359423,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2561,[2562]); +},2558,[2559]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -359935,7 +359686,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e onEmptyPress: _propTypes.default.func, onItemPress: _propTypes.default.func }; -},2562,[3,270,6,7,11,13,14,568,16,18,800,1807,550,179,2563,1884,803,438,1938]); +},2559,[3,270,6,7,11,13,14,582,16,18,814,1807,564,179,2560,1968,817,438,2112]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -359974,7 +359725,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e color: _$$_REQUIRE(_dependencyMap[1]).colors.white } }); -},2563,[18,438]); +},2560,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360004,7 +359755,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e flex: 1 } }); -},2564,[18,2470]); +},2561,[18,2467]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360019,7 +359770,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2565,[2566]); +},2562,[2563]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360087,7 +359838,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[9]).NavigationBaseScreen); -},2566,[3,6,7,11,85,13,14,16,18,2214,179,803,1927,2470]); +},2563,[3,6,7,11,85,13,14,16,18,2211,179,817,2055,2467]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360204,7 +359955,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e })] }); } -},2567,[3,16,1888,1807,2468,179,438,2470,2568,2577,2580,2584,803,2219,2214,2586,2587]); +},2564,[3,16,1881,1807,2465,179,438,2467,2565,2574,2577,2581,817,2216,2211,2583,2584]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360219,7 +359970,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2568,[2569]); +},2565,[2566]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360387,7 +360138,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[18]).NavigationBaseScreen); -},2569,[3,6,7,11,85,13,14,16,2538,179,2507,2470,438,2570,2573,2576,2519,2522,2214]); +},2566,[3,6,7,11,85,13,14,16,2535,179,2504,2467,438,2567,2570,2573,2516,2519,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360402,7 +360153,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2570,[2571]); +},2567,[2568]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360526,7 +360277,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e textColor: _propTypes.default.string, active: _propTypes.default.string.isRequired }; -},2571,[3,6,7,11,13,14,16,18,568,179,2572,2516]); +},2568,[3,6,7,11,13,14,16,18,582,179,2569,2513]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360547,7 +360298,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e borderWidth: _$$_REQUIRE(_dependencyMap[1]).filterStyles.BORDER_WIDTH } }); -},2572,[18,2516]); +},2569,[18,2513]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360562,7 +360313,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2573,[2574]); +},2570,[2571]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360688,7 +360439,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e hintMin: _propTypes.default.string, hintMax: _propTypes.default.string }; -},2574,[3,6,7,11,13,14,16,568,18,2233,179,2575]); +},2571,[3,6,7,11,13,14,16,582,18,2230,179,2572]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360719,7 +360470,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e borderRadius: _$$_REQUIRE(_dependencyMap[1]).filterStyles.BORDER_RADIUS } }); -},2575,[18,2516,438]); +},2572,[18,2513,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360767,7 +360518,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e borderRadius: _$$_REQUIRE(_dependencyMap[2]).filterStyles.BORDER_RADIUS } }); -},2576,[18,438,2516]); +},2573,[18,438,2513]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360782,7 +360533,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2577,[2578]); +},2574,[2575]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360927,7 +360678,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[15]).NavigationBaseScreen); -},2578,[3,6,7,11,85,13,14,16,18,436,800,2470,179,2561,2579,2214]); +},2575,[3,6,7,11,85,13,14,16,18,436,814,2467,179,2558,2576,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360953,7 +360704,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e flex: 1 } }); -},2579,[18,438]); +},2576,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -360968,7 +360719,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2580,[2581]); +},2577,[2578]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -361042,7 +360793,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[13]).NavigationBaseScreen); -},2581,[3,6,7,11,85,13,14,16,436,179,2553,2470,2582,2214]); +},2578,[3,6,7,11,85,13,14,16,436,179,2550,2467,2579,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -361207,7 +360958,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e onItemPress: _propTypes.default.func, color: _propTypes.default.string.isRequired }; -},2582,[3,6,7,11,13,14,16,568,18,553,800,2092,436,1807,179,2583,2470,1973,438]); +},2579,[3,6,7,11,13,14,16,582,18,567,814,2081,436,1807,179,2580,2467,1940,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -361259,7 +361010,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e marginEnd: 5 } }); -},2583,[18,438]); +},2580,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -361274,7 +361025,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2584,[2585]); +},2581,[2582]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -361378,7 +361129,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[9]).NavigationBaseScreen); -},2585,[3,6,7,11,85,13,14,16,407,2214,179,2495,2470,2582]); +},2582,[3,6,7,11,85,13,14,16,407,2211,179,2492,2467,2579]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { module.exports = _$$_REQUIRE(_dependencyMap[0]).registerAsset({ "__packager_asset": true, @@ -361390,7 +361141,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e "name": "monster_logo", "type": "png" }); -},2586,[1244]); +},2583,[1258]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -361450,7 +361201,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[8]).NavigationBaseScreen); -},2587,[3,6,7,11,85,13,14,16,2214,179,1927,2470]); +},2584,[3,6,7,11,85,13,14,16,2211,179,2055,2467]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -361793,7 +361544,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }) }); } -},2588,[3,4,16,18,2212,1898,1967,436,434,2201,1888,2118,2298,2050,179,2589,2061,2600,2602,2604,2611,438,803,550,2221,2042,1210,2613]); +},2585,[3,4,16,18,2209,1907,1934,436,434,2198,1881,2108,2295,2028,179,2586,2044,2597,2599,2601,2608,438,817,564,2218,2020,1224,2610]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -361808,7 +361559,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2589,[2590]); +},2586,[2587]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -362290,7 +362041,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e isHome: false, isLive: false }; -},2590,[3,270,6,7,11,85,13,14,568,16,18,1898,2591,2062,436,2143,434,2048,2108,550,1073,438,1979,179,803,2592,2593]); +},2587,[3,270,6,7,11,85,13,14,582,16,18,1907,2588,2045,436,2134,434,2026,2097,564,1087,438,1946,179,817,2589,2590]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -362338,7 +362089,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }() }]); }(); -},2591,[3,270,6,7,2062]); +},2588,[3,270,6,7,2045]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -362387,7 +362138,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e flex: 1 } }); -},2592,[18,438]); +},2589,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -362402,7 +362153,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2593,[2594]); +},2590,[2591]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -363035,7 +362786,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var params = navigation.state.params; return params; }; -},2594,[3,270,6,7,11,85,13,14,568,16,18,1898,436,2101,1977,1889,434,2048,865,1888,2350,800,2595,2065,550,2062,798,179,2598,803,438,2599,2050,1884,1929,2214]); +},2591,[3,270,6,7,11,85,13,14,582,16,18,1907,436,2090,1944,2049,434,2026,879,1881,2347,814,2592,2048,564,2045,812,179,2595,817,438,2596,2028,1968,1976,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -363290,7 +363041,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2595,[3,6,7,11,13,14,16,18,2113,2596,2114,2042,1979,179,438,803,2089,1073]); +},2592,[3,6,7,11,13,14,16,18,2102,2593,2103,2020,1946,179,438,817,2078,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -363395,7 +363146,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }); -},2596,[3,6,7,11,13,14,16,438,2597,1073,179]); +},2593,[3,6,7,11,13,14,16,438,2594,1087,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -363787,7 +363538,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }); -},2597,[3,6,7,11,13,14,568,16,18,1968,436,800,2036,2053,2091,2042,550,803,438,1972,179,2033,2095,1927,852,1073]); +},2594,[3,6,7,11,13,14,582,16,18,1935,436,814,2014,2031,2080,2020,564,817,438,1939,179,2011,2084,2055,866,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -363881,7 +363632,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e children: adsComponent }); }; -},2598,[3,33,4,16,18,2101,179]); +},2595,[3,33,4,16,18,2090,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -363899,7 +363650,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e paddingVertical: 10 } }); -},2599,[18,2042]); +},2596,[18,2020]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -364309,7 +364060,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e RssMyHomeScreen.propTypes = Object.assign({ item: _propTypes.default.object }, _$$_REQUIRE(_dependencyMap[27]).RssBaseScreen.propTypes); -},2600,[3,270,6,7,11,85,13,14,568,16,18,1898,2591,2062,2048,2008,2006,2222,800,1807,179,2601,550,438,2118,2390,2050,2593]); +},2597,[3,270,6,7,11,85,13,14,582,16,18,1907,2588,2045,2026,1986,1983,2219,814,1807,179,2598,564,438,2108,2387,2028,2590]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -364356,7 +364107,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e padding: 3 } }); -},2601,[18,2042,438]); +},2598,[18,2020,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -364371,7 +364122,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2602,[2603]); +},2599,[2600]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -364489,7 +364240,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[13]).RssBaseScreen); -},2603,[3,270,6,7,11,85,13,14,16,18,436,550,179,2593]); +},2600,[3,270,6,7,11,85,13,14,16,18,436,564,179,2590]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -364504,7 +364255,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2604,[2605]); +},2601,[2602]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -364683,7 +364434,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[17]).RssBaseScreen); -},2605,[3,270,6,7,11,13,14,16,18,2062,434,2606,438,803,179,2610,2050,2593]); +},2602,[3,270,6,7,11,13,14,16,18,2045,434,2603,438,817,179,2607,2028,2590]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -364982,7 +364733,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = RssSearchAdvanceModal; -},2606,[3,4,270,33,16,568,800,2537,2607,2609,2062,814,438,179,803]); +},2603,[3,4,270,33,16,582,814,2534,2604,2606,2045,828,438,179,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -365043,7 +364794,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e DropDown.defaultProps = {}; var _default = exports.default = DropDown; -},2607,[3,4,16,568,2376,2608,179]); +},2604,[3,4,16,582,2373,2605,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -365128,7 +364879,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = DropDownButton; -},2608,[3,16,568,18,1807,438,179,803,2222]); +},2605,[3,16,582,18,1807,438,179,817,2219]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -365165,7 +364916,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e height: 50 } }); -},2609,[18,438]); +},2606,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -365180,7 +364931,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2610,[2352]); +},2607,[2349]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -365195,7 +364946,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2611,[2612]); +},2608,[2609]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -365232,7 +364983,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_react.default.Component); -},2612,[3,6,7,11,13,14,16]); +},2609,[3,6,7,11,13,14,16]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -365247,7 +364998,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2613,[2614]); +},2610,[2611]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -365427,7 +365178,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e onItemPress: _propTypes.default.func.isRequired, drawerHeader: _propTypes.default.node }; -},2614,[3,33,16,568,18,2615,436,2048,550,179,2213,803,438,1210]); +},2611,[3,33,16,582,18,2612,436,2026,564,179,2210,817,438,1224]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -365642,7 +365393,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = DrawerLabelComponent; -},2615,[3,4,16,18,568,2047,2616,2617,2618,2619,438,2042,803,179]); +},2612,[3,4,16,18,582,2025,2613,2614,2615,2616,438,2020,817,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -365704,7 +365455,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = DrawerLabelChevronComponent; -},2616,[3,16,568,1807,2222,179,803,438]); +},2613,[3,16,582,1807,2219,179,817,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -365780,7 +365531,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = DrawerLabelIconComponent; -},2617,[3,568,16,18,1974,2042,803,179,438]); +},2614,[3,582,16,18,1941,2020,817,179,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -365875,7 +365626,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = DrawerLabelTextComponent; -},2618,[3,33,16,568,436,800,1967,550,179,803]); +},2615,[3,33,16,582,436,814,1934,564,179,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -365892,7 +365643,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e alignItems: "center" } }); -},2619,[18]); +},2616,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -365907,7 +365658,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2620,[2621]); +},2617,[2618]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -366063,7 +365814,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e TutorialScreen.propTypes = { navigation: _propTypes.default.object }; -},2621,[3,6,7,11,85,13,14,16,18,568,800,2047,2280,574,434,1888,2214,179,2622,1884]); +},2618,[3,6,7,11,85,13,14,16,18,582,814,2025,2277,588,434,1881,2211,179,2619,1968]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -366105,7 +365856,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.black } }); -},2622,[18,438]); +},2619,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -366120,7 +365871,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2623,[2624]); +},2620,[2621]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -366501,7 +366252,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigate: _propTypes.default.func.isRequired }).isRequired }; -},2624,[3,270,6,7,11,85,13,14,16,18,568,434,1898,552,2062,2372,2380,2232,2042,1928,438,2214,2013,179,2238,1929,803,1938]); +},2621,[3,270,6,7,11,85,13,14,16,18,582,434,1907,566,2045,2369,2377,2229,2020,2039,438,2211,1991,179,2235,1976,817,2112]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -366516,7 +366267,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2625,[2626]); +},2622,[2623]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -367030,7 +366781,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }) }) }; -},2626,[3,270,6,7,11,85,13,14,568,16,18,436,2101,2200,1977,1889,434,865,1888,2000,840,2280,2627,2631,2640,2648,2214,550,2065,1903,438,2050,179,2598,2118,803]); +},2623,[3,270,6,7,11,85,13,14,582,16,18,436,2090,2197,1944,2049,434,879,1881,1967,854,2277,2624,2630,2639,2647,2211,564,2048,1906,438,2028,179,2595,2108,817]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -367938,7 +367689,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e hasColumnizer: false, insideAdModels: [] }; -},2627,[3,270,6,7,11,13,14,568,16,2169,2056,436,1977,1889,1892,865,2201,852,1978,2175,2628,2031,550,2185,803,438,2188,179,864,1895,1893,2055,1929,1925,1884,1923]); +},2624,[3,270,6,7,11,13,14,582,16,2160,2034,436,1944,2049,1918,879,2198,866,1945,2166,2625,2009,564,2176,817,438,2179,179,878,2628,1920,2033,1976,2053,1968,2185]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -368075,7 +367826,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2628,[3,270,6,7,11,85,13,14,568,16,436,1865,613,864,550,179,1923,438,1919,2629,1073]); +},2625,[3,270,6,7,11,85,13,14,582,16,436,1865,627,878,564,179,2185,438,2040,2626,1087]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -368215,7 +367966,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e navigation: navigation })); }; -},2629,[3,270,6,7,11,85,13,14,568,16,2067,436,434,2048,864,550,2630,1073,179]); +},2626,[3,270,6,7,11,85,13,14,582,16,2056,436,434,2026,878,564,2627,1087,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -368287,7 +368038,564 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[9]).BaseOptionspage); -},2630,[3,6,7,11,85,13,14,864,438,2228]); +},2627,[3,6,7,11,85,13,14,878,438,2225]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.PaywallPopup = undefined; + + var _objectWithoutProperties2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _asyncToGenerator2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[9])); + + var _reactNative = _$$_REQUIRE(_dependencyMap[10]); + + var _NavigationService = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[11])); + + var _keyboardAvoidingComponent = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[12])); + + var _events = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[13])); + + var Analytics = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[14])); + + var _webUtils = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[15])); + + var _Paywall = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[16])); + + var _PaywallAJAX = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[17])); + + var _PaywallLoginStatus = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[18])); + + var _paywall = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[19])); + + var _excluded = ["type", "asyncKey"]; + + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var ANIMATION_DURATION = 500; + + var PaywallPopup = exports.PaywallPopup = function (_React$Component) { + function PaywallPopup(props) { + var _this; + + (0, _classCallCheck2.default)(this, PaywallPopup); + _this = _callSuper(this, PaywallPopup, [props]); + _this.close = _this._close.bind(_this); + _this.gracefulUnhide = _this._gracefulUnhide.bind(_this); + _this.handleLocals = _this._handleLocals.bind(_this); + _this.onMessage = _this._onMessage.bind(_this); + _this.onLinkClicked = _this._onLinkClicked.bind(_this); + _this.onLoadEnd = _this._onLoadEnd.bind(_this); + _this.state = { + display: props.initialRender, + isVisible: false, + fadeAnim: new _reactNative.Animated.Value(0), + forceAutoLogin: props.forceAutoLogin + }; + return _this; + } + + (0, _inherits2.default)(PaywallPopup, _React$Component); + return (0, _createClass2.default)(PaywallPopup, [{ + key: "componentDidMount", + value: function componentDidMount() { + var _this2 = this; + + this.openPopupEvent = _$$_REQUIRE(_dependencyMap[20]).EventRegister.on(_events.default.PAYWALL_OPEN_POPUP, function (_ref) { + var config = _ref.config; + + _this2.setState(Object.assign({ + display: true + }, config)); + }); + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + _$$_REQUIRE(_dependencyMap[20]).EventRegister.rm(this.openPopupEvent); + } + }, { + key: "_handleLocals", + value: function () { + var _handleLocals2 = (0, _asyncToGenerator2.default)(function* (_ref2) { + var _this3 = this; + + var domain = _ref2.domain, + getParams = _ref2.getParams; + var isInvisible = this.props.isInvisible; + var forceAutoLogin = this.state.forceAutoLogin; + + if (domain.includes("loaded")) { + if (!isInvisible) { + this._gracefulUnhide(); + } + + if (forceAutoLogin) { + this._sendUserInfo(); + } + } else if (domain.includes("user_login")) { + PaywallPopup.log("user logging in"); + var user = getParams.user, + pwdEncrypt = getParams.pwdEncrypt, + remember = getParams.remember, + token = getParams.token, + user_subscriptions = getParams.user_subscriptions, + challenge = getParams.challenge, + extid = getParams.extid, + adFree = getParams.adFree, + ACI = getParams.ACI, + soPass = getParams.soPass; + + if (!user) { + PaywallPopup.log("no user returned after login"); + return; + } + + if (remember === "1") { + PaywallPopup.log("user wants to be remembered"); + + if (token || pwdEncrypt) { + var credentials = { + user: user + }; + + if (token) { + credentials.token = token; + } + + if (pwdEncrypt) { + credentials.pwdEncrypt = pwdEncrypt; + credentials.challenge = challenge; + } + + if (soPass) { + credentials.soPass = soPass; + } + + _PaywallLoginStatus.default.remember(credentials); + } else { + PaywallPopup.log("no credentials provided!"); + } + } else { + _PaywallLoginStatus.default.remember({ + user: user + }); + } + + if (extid) { + PaywallPopup.log("store user extid: " + extid); + + _PaywallLoginStatus.default.setExtId(extid); + + yield Analytics.sendExternalIdToAnalytics(); + } + + var subscriptions = user_subscriptions ? user_subscriptions.split(",") : [_$$_REQUIRE(_dependencyMap[21]).unregisteredSubscriptionType]; + var outcome = { + logged: true, + subscriptions: subscriptions, + adFree: adFree, + lastLoginTimestamp: new Date().getTime() + }; + + _Paywall.default.handleLoginSuccess(outcome, ACI, !isInvisible && forceAutoLogin); + } else if (domain.includes("user_give_up")) { + _$$_REQUIRE(_dependencyMap[20]).EventRegister.emit(_events.default.PAYWALL_GO_BACK_HOME); + + this._gracefulClose(); + } else if (domain.includes("user_logout")) { + var _ACI = getParams.ACI; + + _Paywall.default.logout(_ACI, true); + } else if (domain.includes("user_getInfo")) { + this._sendUserInfo(); + } else if (domain.includes("session_expired")) { + _Paywall.default.handleSessionExpired(function () { + PaywallPopup.log("session refreshed, reload the popup"); + + _this3.webview.reload(); + }); + } else if (domain.includes("login_connection_error")) { + this._gracefulClose(); + } else if (domain.includes("close")) { + this._gracefulClose(); + } else if (domain.includes("openInAppPurchaseLinkClicked")) { + _NavigationService.default.main.reset("NewsmemoryNavigator", { + tab: _$$_REQUIRE(_dependencyMap[22]).tabs.access + }); + + _Paywall.default.remove(); + } else if (domain.includes("openLoginPage")) { + _NavigationService.default.main.reset("NewsmemoryNavigator", { + tab: _$$_REQUIRE(_dependencyMap[22]).tabs.account + }); + + _Paywall.default.remove(); + } else if (domain.includes("openInAppBrowser")) { + var url = getParams.url; + + this._openInAppBrowser(url); + } + }); + + function _handleLocals(_x) { + return _handleLocals2.apply(this, arguments); + } + + return _handleLocals; + }() + }, { + key: "_onMessage", + value: function () { + var _onMessage2 = (0, _asyncToGenerator2.default)(function* (data) { + var type = data.type, + asyncKey = data.asyncKey, + rest = (0, _objectWithoutProperties2.default)(data, _excluded); + var asyncMethod = "resolve"; + var asyncResult = ""; + + if (type.includes(_$$_REQUIRE(_dependencyMap[22]).locals.FACEBOOK_LOGIN)) { + try { + var profile = yield (0, _$$_REQUIRE(_dependencyMap[23]).facebookLogin)(rest); + asyncResult = JSON.stringify(profile); + } catch (e) { + asyncMethod = "reject"; + asyncResult = e.message; + } + } + + if (asyncKey) { + this._execJavaScript("awaitPostMessage('" + asyncKey + "', '" + asyncMethod + "', '" + asyncResult + "');"); + } + }); + + function _onMessage(_x2) { + return _onMessage2.apply(this, arguments); + } + + return _onMessage; + }() + }, { + key: "_onLinkClicked", + value: function _onLinkClicked(url) { + this._openInAppBrowser(url); + + return true; + } + }, { + key: "_onLoadEnd", + value: function _onLoadEnd(event) { + if (!event) { + return; + } + + var url = event.url; + + if (!url) { + return; + } + + var _StringUtils$segmentU = _$$_REQUIRE(_dependencyMap[24]).StringUtils.segmentUrl(url), + domain = _StringUtils$segmentU.domain; + + if (domain === "appleid.apple.com") { + this._execJavaScript("\n document.body.setAttribute('style', 'background-color: #FFF !important;');"); + } + } + }, { + key: "_openInAppBrowser", + value: function _openInAppBrowser(url) { + var onReopen = this.props.onReopen; + this.close(); + + _NavigationService.default.main.navigate("WebScreen", { + url: url, + onClose: onReopen + }); + } + }, { + key: "hide", + value: function hide() { + this.setState({ + isVisible: false, + fadeAnim: new _reactNative.Animated.Value(0) + }); + } + }, { + key: "unhide", + value: function unhide() { + this.setState({ + isVisible: true + }); + } + }, { + key: "_startAnimation", + value: function _startAnimation(toValue, callback) { + var fadeAnim = this.state.fadeAnim; + + _reactNative.Animated.timing(fadeAnim, { + toValue: toValue, + duration: ANIMATION_DURATION, + useNativeDriver: true + }).start(callback); + } + }, { + key: "_gracefulUnhide", + value: function _gracefulUnhide() { + this.unhide(); + + this._startAnimation(1); + } + }, { + key: "_gracefulClose", + value: function _gracefulClose() { + this._startAnimation(0, this.close); + } + }, { + key: "_close", + value: function _close() { + var onClose = this.props.onClose; + this.setState({ + display: false + }); + + if (onClose) { + onClose(); + } else { + PaywallPopup.log("onClose method not implemented"); + } + } + }, { + key: "_execJavaScript", + value: function _execJavaScript(jsToExec) { + if (this.webview && jsToExec) { + PaywallPopup.log("execute js in the webview: " + jsToExec); + this.webview.injectJavaScript(jsToExec); + } + } + }, { + key: "_sendUserInfo", + value: function _sendUserInfo() { + var credentials = _PaywallLoginStatus.default.getCredentials(); + + if (!credentials) { + return; + } + + var user = credentials.user, + pwdEncrypt = credentials.pwdEncrypt, + challenge = credentials.challenge, + token = credentials.token, + soPass = credentials.soPass; + var jsToExec; + + if (user && pwdEncrypt) { + jsToExec = "ta_getUserInfoPwdEncrypted('" + user + "','" + pwdEncrypt + "','" + (challenge || "") + "');"; + } else if (token && soPass) { + jsToExec = "ta_checkSocialLogin('" + token + "', '" + soPass + "')"; + } else if (token) { + jsToExec = "ta_checkToken('" + token + "')"; + } + + this._execJavaScript(jsToExec); + } + }, { + key: "render", + value: function render() { + var _this4 = this; + + var _this$state = this.state, + display = _this$state.display, + isVisible = _this$state.isVisible, + fadeAnim = _this$state.fadeAnim; + var _this$props = this.props, + type = _this$props.type, + ACI = _this$props.ACI, + isInvisible = _this$props.isInvisible, + productsLeft = _this$props.productsLeft, + onOpen = _this$props.onOpen, + isAutoHeight = _this$props.isAutoHeight, + autoHeightWebViewProps = _this$props.autoHeightWebViewProps; + + if (display) { + var extraParams = ACI ? { + ACI: ACI, + productType: _Paywall.default.getProductType(ACI) + } : {}; + + if (productsLeft) { + extraParams = Object.assign({}, extraParams, { + productsLeft: productsLeft + }); + } + + var uri = _PaywallAJAX.default.getPopupURL(type, extraParams); + + var showPopup = !isInvisible && isVisible; + var style = showPopup ? _paywall.default.modal : _paywall.default.invisible; + + if (typeof onOpen === "function" && showPopup) { + onOpen(); + } + + var _global$getRSSActiveP = global.getRSSActivePSetup(), + overrideNewsMemoryUserAgent = _global$getRSSActiveP.overrideNewsMemoryUserAgent; + + var userAgent = overrideNewsMemoryUserAgent || _$$_REQUIRE(_dependencyMap[24]).PlatformUtils.getUserAgent(); + + var commonProps = { + source: { + uri: uri + }, + enableKeyboardResize: _$$_REQUIRE(_dependencyMap[24]).PlatformUtils.isAndroid(), + onLocal: this.handleLocals, + onMessage: this.onMessage, + onLinkClicked: this.onLinkClicked, + onLoadEnd: this.onLoadEnd, + automaticallyAdjustContentInsets: true, + startInLoadingState: _$$_REQUIRE(_dependencyMap[25]).LoadingStatePosition.none, + style: { + backgroundColor: _$$_REQUIRE(_dependencyMap[24]).colors.transparent + }, + browser: true, + userAgent: userAgent, + injectedJavaScript: _webUtils.default.getThemeClassesScript() + }; + + if (isAutoHeight) { + return (0, _$$_REQUIRE(_dependencyMap[26]).jsx)(_$$_REQUIRE(_dependencyMap[27]).AutoHeightWebView, Object.assign({ + webviewRef: function webviewRef(ref) { + _this4.webview = ref; + }, + htmlContentId: PaywallPopup.getHtmlContentIdByType(type) + }, autoHeightWebViewProps, commonProps)); + } + + return (0, _$$_REQUIRE(_dependencyMap[26]).jsx)(_reactNative.Animated.View, { + style: Object.assign({}, style, { + opacity: fadeAnim + }), + children: (0, _$$_REQUIRE(_dependencyMap[26]).jsx)(_$$_REQUIRE(_dependencyMap[28]).TecnaviaSafeAreaView, { + edges: ["top", "bottom"], + children: (0, _$$_REQUIRE(_dependencyMap[26]).jsx)(_keyboardAvoidingComponent.default, { + children: (0, _$$_REQUIRE(_dependencyMap[26]).jsx)(_$$_REQUIRE(_dependencyMap[29]).BaseWebView, Object.assign({ + innerRef: function innerRef(ref) { + _this4.webview = ref; + }, + scrollEnabled: false + }, commonProps)) + }) + }) + }); + } + + return null; + } + }], [{ + key: "log", + value: function log(message) {} + }, { + key: "getHtmlContentIdByType", + value: function getHtmlContentIdByType(type) { + var id; + + switch (type) { + case _$$_REQUIRE(_dependencyMap[21]).popupTypes.login: + id = "ta_loginFormPopup"; + break; + + case _$$_REQUIRE(_dependencyMap[21]).popupTypes.account: + id = "ta_userProfilePopup"; + break; + + case _$$_REQUIRE(_dependencyMap[21]).popupTypes.productsLeft: + id = "ta_productsLeftPopup"; + break; + + case _$$_REQUIRE(_dependencyMap[21]).popupTypes.welcome: + id = "ta_paymentAlertPopup"; + break; + + case _$$_REQUIRE(_dependencyMap[21]).popupTypes.blocking: + default: + id = "ta_paywall"; + break; + } + + return id; + } + }]); + }(_react.default.Component); + + PaywallPopup.propTypes = { + type: _propTypes.default.string, + ACI: _propTypes.default.string, + onOpen: _propTypes.default.func, + onReopen: _propTypes.default.func, + onClose: _propTypes.default.func, + initialRender: _propTypes.default.bool, + isInvisible: _propTypes.default.bool, + productsLeft: _propTypes.default.number, + forceAutoLogin: _propTypes.default.bool, + isAutoHeight: _propTypes.default.bool, + autoHeightWebViewProps: _propTypes.default.object + }; + PaywallPopup.defaultProps = { + initialRender: true, + isInvisible: false, + forceAutoLogin: false, + isAutoHeight: false, + autoHeightWebViewProps: {} + }; +},2628,[3,4,270,6,7,11,13,14,582,16,18,1881,854,436,1910,866,2049,2050,1918,2629,564,1920,878,2058,438,2040,179,2185,2210,2055]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = exports.HEADER_HEIGHT_NO_IMAGE = exports.HEADER_HEIGHT_BASE = exports.HEADER_HEIGHT = undefined; + + var _reactNative = _$$_REQUIRE(_dependencyMap[0]); + + var HEADER_HEIGHT = exports.HEADER_HEIGHT = 300; + var HEADER_HEIGHT_NO_IMAGE = exports.HEADER_HEIGHT_NO_IMAGE = 50; + var HEADER_HEIGHT_BASE = exports.HEADER_HEIGHT_BASE = _reactNative.StyleSheet.hairlineWidth; + + var _default = exports.default = _reactNative.StyleSheet.create({ + modal: { + position: "absolute", + top: 0, + left: 0, + right: 0, + bottom: 0, + backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.transparent + }, + invisible: { + height: 0, + backgroundColor: _$$_REQUIRE(_dependencyMap[1]).colors.transparent + } + }); +},2629,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -368440,7 +368748,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e item: _propTypes.default.object, onBylinePress: _propTypes.default.func }; -},2631,[3,6,7,11,13,14,568,16,18,2201,2627,2632,179,1937,803,438,2633,2042,2635]); +},2630,[3,6,7,11,13,14,582,16,18,2198,2624,2631,179,2107,817,438,2632,2020,2634]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -368462,7 +368770,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e minHeight: 0 } }); -},2632,[18]); +},2631,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -368711,7 +369019,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e hasSquaredImage: _propTypes.default.bool, rootStyle: _propTypes.default.any }; -},2633,[3,6,7,11,13,14,16,18,568,800,574,2048,2039,803,438,179,2634]); +},2632,[3,6,7,11,13,14,16,18,582,814,588,2026,2017,817,438,179,2633]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -368762,7 +369070,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e flex: 1 } }); -},2634,[18]); +},2633,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -368777,7 +369085,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2635,[2636]); +},2634,[2635]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -369155,7 +369463,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e style: _propTypes.default.any, loadUrlInArticle: _propTypes.default.bool }; -},2636,[3,270,6,7,11,13,14,568,16,553,436,1889,1974,2637,1975,550,803,179,2639,1807,438]); +},2635,[3,270,6,7,11,13,14,582,16,567,436,2049,1941,2636,1942,564,817,179,2638,1807,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -369560,7 +369868,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e btnOutRange: _$$_REQUIRE(_dependencyMap[10]).colors.black, btnOutRangeTxt: _$$_REQUIRE(_dependencyMap[10]).colors.white }; -},2637,[3,6,7,11,13,14,568,16,18,2638,438,179]); +},2636,[3,6,7,11,13,14,582,16,18,2637,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -369683,7 +369991,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e startDegree: 0, endDegree: 720 }; -},2638,[3,6,7,11,13,14,16,18,568,179]); +},2637,[3,6,7,11,13,14,16,18,582,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -369698,7 +370006,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2639,[1973]); +},2638,[1940]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -369838,7 +370146,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = ArticleContent; -},2640,[3,6,7,11,13,14,568,16,18,2627,803,2592,179,2641,438,2643,2645,2635]); +},2639,[3,6,7,11,13,14,582,16,18,2624,817,2589,179,2640,438,2642,2644,2634]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -369985,7 +370293,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e onImagePress: _propTypes.default.func, onImageError: _propTypes.default.func }; -},2641,[3,16,18,568,800,2054,2031,2109,2201,438,179,803,2642,1979]); +},2640,[3,16,18,582,814,2032,2009,2098,2198,438,179,817,2641,1946]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -370011,7 +370319,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e padding: 10 } }); -},2642,[18,438]); +},2641,[18,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -370026,7 +370334,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2643,[2644]); +},2642,[2643]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -370127,7 +370435,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e renderParallaxBackground: null, parallaxBackgroundScrollSpeed: 2 }; -},2644,[3,4,16,18,568,179,1937,438]); +},2643,[3,4,16,18,582,179,2107,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -370142,7 +370450,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2645,[2646]); +},2644,[2645]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -370250,7 +370558,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e ArticleContentHeadline.defaultProps = { date: "" }; -},2646,[3,568,16,18,2201,800,803,179,2647]); +},2645,[3,582,16,18,2198,814,817,179,2646]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -370286,7 +370594,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e paddingHorizontal: 4 } }); -},2647,[18]); +},2646,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -370309,7 +370617,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e flex: 1 } }); -},2648,[18]); +},2647,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -370429,7 +370737,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = CustomEmbedWebView; -},2649,[3,33,4,568,16,18,436,434,2206,2188,852,550,179,803,2650,1919,438]); +},2648,[3,33,4,582,16,18,436,434,2203,2179,866,564,179,817,2649,2040,438]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -370738,7 +371046,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e htmlContentId: "", disableStartAutoHeightEvaluation: false }; -},2650,[3,4,6,7,11,13,14,568,16,438,1925,179,1927]); +},2649,[3,4,6,7,11,13,14,582,16,438,2053,179,2055]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -370882,7 +371190,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e NativoLandingPageScreen.propTypes = { navigation: _propTypes.default.object.isRequired }; -},2651,[3,6,7,11,13,14,16,568,18,865,2214,179,1937]); +},2650,[3,6,7,11,13,14,16,582,18,879,2211,179,2107]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -370965,7 +371273,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[9]).NavigationBaseScreen); -},2652,[3,6,7,11,13,14,16,407,2653,2214,438,179]); +},2651,[3,6,7,11,13,14,16,407,2652,2211,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -371052,7 +371360,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }) : null] }); } -},2653,[3,33,16,18,2212,436,434,852,438,550,803,179,1927,1919]); +},2652,[3,33,16,18,2209,436,434,866,438,564,817,179,2055,2040]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -371138,7 +371446,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[10]).NavigationBaseScreen); -},2654,[3,6,7,11,13,14,16,406,407,2653,2214,438,179]); +},2653,[3,6,7,11,13,14,16,406,407,2652,2211,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -371376,7 +371684,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[25]).NavigationBaseScreen); -},2655,[3,270,6,7,11,85,13,14,16,2152,1898,2062,1723,436,1897,864,1724,1888,2653,438,550,1929,179,1884,1922,2214]); +},2654,[3,270,6,7,11,85,13,14,16,2143,1907,2045,1723,436,1910,878,1724,1881,2652,438,564,1976,179,1968,2043,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -371517,7 +371825,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e SelectionScreen.propTypes = { navigation: _propTypes.default.object }; -},2656,[3,270,6,7,11,85,13,14,16,568,2653,2214,438,179]); +},2655,[3,270,6,7,11,85,13,14,16,582,2652,2211,438,179]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -371593,7 +371901,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[12]).NavigationBaseScreen); -},2657,[3,6,7,11,13,14,16,18,800,1807,803,179,2214]); +},2656,[3,6,7,11,13,14,16,18,814,1807,817,179,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -371915,7 +372223,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e UpdaterScreen.defaultProps = { manualRestartContext: global.__DEV__ }; -},2658,[3,270,6,7,11,85,13,14,568,16,18,407,434,613,1901,552,2222,800,2659,438,565,2007,2214,803,179,1884,2240]); +},2657,[3,270,6,7,11,85,13,14,582,16,18,407,434,627,1912,566,2219,814,2658,438,579,1985,2211,817,179,1968,2238]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -371952,7 +372260,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e alignItems: "center" } }); -},2659,[18]); +},2658,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -371967,7 +372275,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2660,[2661]); +},2659,[2660]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -372608,7 +372916,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }]); }(_$$_REQUIRE(_dependencyMap[35]).NavigationBaseScreen); -},2661,[3,270,6,7,11,85,13,14,16,2662,2152,1898,2254,436,1897,1865,2143,2216,1906,1901,552,1724,1888,801,798,438,565,1850,2217,550,407,850,2366,179,2240,2214]); +},2660,[3,270,6,7,11,85,13,14,16,2661,2143,1907,2252,436,1910,1865,2134,2213,1915,1912,566,1724,1881,815,812,438,579,1850,2214,564,407,864,2363,179,2238,2211]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { 'use strict'; @@ -372620,7 +372928,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _reactNative = _$$_REQUIRE(_dependencyMap[0]); var _default = exports.default = _reactNative.NativeModules.SplashScreen; -},2662,[18]); +},2661,[18]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -372631,7 +372939,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); - var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + var _react = _interopRequireWildcard(_$$_REQUIRE(_dependencyMap[3])); var _reactNative = _$$_REQUIRE(_dependencyMap[4]); @@ -372645,6 +372953,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var _excluded = ["children"]; + function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } + + function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __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(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } + var _OptionalPackages$get = _optionalPackageUtils.default.getIubenda(), IubendaContainer = _OptionalPackages$get.Container; @@ -372653,10 +372965,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function RootBase(props) { var contentRef = null; - var insets = (0, _$$_REQUIRE(_dependencyMap[9]).useTecnaviaSafeAreaInsets)(); - var frame = (0, _$$_REQUIRE(_dependencyMap[9]).useTecnaviaSafeAreaFrame)(); + (0, _react.useEffect)(function () { + _NavigationService.default.onRestart(function () { + _$$_REQUIRE(_dependencyMap[9]).MyBottomSheet.hide(); - if (!_$$_REQUIRE(_dependencyMap[10]).JSUtils.isEmpty(insets) && !_$$_REQUIRE(_dependencyMap[10]).JSUtils.isEmpty(frame)) { + _$$_REQUIRE(_dependencyMap[10]).PaywallContainer.remove(); + + global.startupTime = new Date().getTime(); + (0, _$$_REQUIRE(_dependencyMap[11]).resetDebugOperations)(); + }); + }, []); + var insets = (0, _$$_REQUIRE(_dependencyMap[12]).useTecnaviaSafeAreaInsets)(); + var frame = (0, _$$_REQUIRE(_dependencyMap[12]).useTecnaviaSafeAreaFrame)(); + + if (!_$$_REQUIRE(_dependencyMap[13]).JSUtils.isEmpty(insets) && !_$$_REQUIRE(_dependencyMap[13]).JSUtils.isEmpty(frame)) { _deviceUtils.default.setSafeArea(insets, frame); } @@ -372666,37 +372988,37 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function onPaywallRef(ref) { if (ref) { - _$$_REQUIRE(_dependencyMap[11]).PaywallContainer.paywallInstance = ref; + _$$_REQUIRE(_dependencyMap[10]).PaywallContainer.setInstance(ref); } } function onInterstitialRef(ref) { if (ref) { - _$$_REQUIRE(_dependencyMap[12]).InterstitialContainer.interstitialInstance = ref; + _$$_REQUIRE(_dependencyMap[14]).InterstitialContainer.interstitialInstance = ref; } } function onBottomSheetRef(ref) { if (ref) { - _$$_REQUIRE(_dependencyMap[13]).MyBottomSheet.bottomSheetInstance = ref; + _$$_REQUIRE(_dependencyMap[9]).MyBottomSheet.bottomSheetInstance = ref; } } function onToastRef(ref) { if (ref) { - _$$_REQUIRE(_dependencyMap[14]).Toast.toastInstance = ref; + _$$_REQUIRE(_dependencyMap[15]).Toast.toastInstance = ref; } } function onModalRef(ref) { if (ref) { - _$$_REQUIRE(_dependencyMap[15]).ModalOverlay.instance = ref; + _$$_REQUIRE(_dependencyMap[16]).ModalOverlay.instance = ref; } } function onLoadingRef(ref) { if (ref) { - _$$_REQUIRE(_dependencyMap[16]).LoadingOverlay.loadingInstance = ref; + _$$_REQUIRE(_dependencyMap[17]).LoadingOverlay.loadingInstance = ref; } } @@ -372718,13 +373040,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e function onHintRef(ref) { if (ref) { - _$$_REQUIRE(_dependencyMap[17]).HintOverlay.instance = ref; + _$$_REQUIRE(_dependencyMap[18]).HintOverlay.instance = ref; } } function onVoiceRef(ref) { if (ref) { - _$$_REQUIRE(_dependencyMap[18]).VoiceOverlay.instance = ref; + _$$_REQUIRE(_dependencyMap[19]).VoiceOverlay.instance = ref; } } @@ -372732,7 +373054,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var url = request.url, navigationType = request.navigationType; - if (url.startsWith("http") && (_$$_REQUIRE(_dependencyMap[10]).PlatformUtils.isAndroid() || navigationType === "click")) { + if (url.startsWith("http") && (_$$_REQUIRE(_dependencyMap[13]).PlatformUtils.isAndroid() || navigationType === "click")) { _NavigationService.default.main.navigate("WebScreen", { url: "x" + url }); @@ -372745,41 +373067,41 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e var children = props.children, rest = (0, _objectWithoutProperties2.default)(props, _excluded); - var Content = (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(_reactNative.View, { + var Content = (0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_reactNative.View, { style: { flex: 1 }, ref: onContentRef, children: children }); - return (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(_$$_REQUIRE(_dependencyMap[20]).Css.Provider, { - children: (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(_$$_REQUIRE(_dependencyMap[21]).FontContext.Provider, { - children: (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(_$$_REQUIRE(_dependencyMap[21]).DebugContext.Provider, { - children: (0, _$$_REQUIRE(_dependencyMap[19]).jsxs)(_$$_REQUIRE(_dependencyMap[22]).RootSizedView, Object.assign({}, rest, { - children: [OsanoContainer ? (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(OsanoContainer, { + return (0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[21]).Css.Provider, { + children: (0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[11]).FontContext.Provider, { + children: (0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[11]).DebugContext.Provider, { + children: (0, _$$_REQUIRE(_dependencyMap[20]).jsxs)(_$$_REQUIRE(_dependencyMap[22]).RootSizedView, Object.assign({}, rest, { + children: [OsanoContainer ? (0, _$$_REQUIRE(_dependencyMap[20]).jsx)(OsanoContainer, { onLoadUrl: osanoLoadUrl, children: Content - }) : Content, (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(_$$_REQUIRE(_dependencyMap[11]).PaywallContainer, { + }) : Content, (0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[10]).PaywallContainer, { ref: onPaywallRef, onOpen: onPaywallOpened, onClose: onPaywallClosed - }), (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(_$$_REQUIRE(_dependencyMap[12]).InterstitialContainer, { + }), (0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[14]).InterstitialContainer, { ref: onInterstitialRef - }), (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(_$$_REQUIRE(_dependencyMap[13]).MyBottomSheet, { + }), (0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[9]).MyBottomSheet, { ref: onBottomSheetRef - }), (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(_$$_REQUIRE(_dependencyMap[16]).LoadingOverlay, { + }), (0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[17]).LoadingOverlay, { ref: onLoadingRef - }), (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(_$$_REQUIRE(_dependencyMap[17]).HintOverlay, { + }), (0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[18]).HintOverlay, { ref: onHintRef - }), (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(_$$_REQUIRE(_dependencyMap[15]).ModalOverlay, { + }), (0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[16]).ModalOverlay, { ref: onModalRef - }), (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(_$$_REQUIRE(_dependencyMap[18]).VoiceOverlay, { + }), (0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[19]).VoiceOverlay, { ref: onVoiceRef - }), (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(_$$_REQUIRE(_dependencyMap[14]).Toast, { + }), (0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_$$_REQUIRE(_dependencyMap[15]).Toast, { ref: onToastRef - }), IubendaContainer ? (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(IubendaContainer, { + }), IubendaContainer ? (0, _$$_REQUIRE(_dependencyMap[20]).jsx)(IubendaContainer, { considerSafeArea: global.appNeedsSafeArea() - }) : null, (0, _$$_REQUIRE(_dependencyMap[19]).jsx)(_debugOverlay.default, { + }) : null, (0, _$$_REQUIRE(_dependencyMap[20]).jsx)(_debugOverlay.default, { defaultOperations: global.debugOperations })] })) @@ -372791,7 +373113,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e RootBase.propTypes = { children: _propTypes.default.any }; -},2663,[3,4,568,16,18,434,865,1888,2664,2213,438,1894,2202,1932,1929,798,1881,2007,2011,179,803,801,2665]); +},2662,[3,4,582,16,18,434,879,1881,2663,2180,2664,815,2210,438,2199,1976,812,1979,1985,1989,179,817,2665]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -372975,7 +373297,156 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e }; var _default = exports.default = DebugOverlay; -},2664,[3,22,33,568,16,18,438,179,2213,801,1937,2118]); +},2663,[3,22,33,582,16,18,438,179,2210,815,2107,2108]); +__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.PaywallContainer = undefined; + + var _classCallCheck2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[1])); + + var _createClass2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[2])); + + var _possibleConstructorReturn2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[3])); + + var _getPrototypeOf2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[4])); + + var _inherits2 = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[5])); + + var _propTypes = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[6])); + + var _react = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[7])); + + var _Paywall = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[8])); + + function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } + + function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } + + var PaywallContainer = exports.PaywallContainer = function (_React$Component) { + function PaywallContainer(props) { + var _this; + + (0, _classCallCheck2.default)(this, PaywallContainer); + _this = _callSuper(this, PaywallContainer, [props]); + _this.removePopup = _this._removePopup.bind(_this); + _this.state = { + modalVisible: false, + popupConfig: undefined + }; + return _this; + } + + (0, _inherits2.default)(PaywallContainer, _React$Component); + return (0, _createClass2.default)(PaywallContainer, [{ + key: "showPopup", + value: function showPopup(popupConfig) { + this.setState({ + modalVisible: true, + popupConfig: popupConfig + }); + } + }, { + key: "hidePopup", + value: function hidePopup() { + var _this$popup; + + (_this$popup = this.popup) == null ? undefined : _this$popup.hide(); + } + }, { + key: "unhidePopup", + value: function unhidePopup() { + var _this$popup2; + + (_this$popup2 = this.popup) == null ? undefined : _this$popup2.unhide(); + } + }, { + key: "_removePopup", + value: function _removePopup() { + this.popup = undefined; + this.setState({ + modalVisible: false, + popupConfig: undefined + }); + } + }, { + key: "render", + value: function render() { + var _this2 = this; + + var _this$props = this.props, + onOpen = _this$props.onOpen, + onClose = _this$props.onClose; + var _this$state = this.state, + modalVisible = _this$state.modalVisible, + popupConfig = _this$state.popupConfig; + + if (modalVisible && popupConfig) { + return (0, _$$_REQUIRE(_dependencyMap[9]).jsx)(_$$_REQUIRE(_dependencyMap[10]).PaywallPopup, Object.assign({ + ref: function ref(c) { + if (c) { + _this2.popup = c; + } + } + }, popupConfig, { + onOpen: onOpen, + onReopen: function onReopen() { + _this2.showPopup(popupConfig); + }, + onClose: this.removePopup + })); + } + + if (typeof onClose === "function") { + onClose(); + } + + return null; + } + }], [{ + key: "setInstance", + value: function setInstance(instance) { + PaywallContainer.paywallInstance = instance; + + _Paywall.default.setContainerInstance(instance); + } + }, { + key: "show", + value: function show(config) { + var _PaywallContainer$pay; + + (_PaywallContainer$pay = PaywallContainer.paywallInstance) == null ? undefined : _PaywallContainer$pay.showPopup(config); + } + }, { + key: "remove", + value: function remove() { + var _PaywallContainer$pay2; + + (_PaywallContainer$pay2 = PaywallContainer.paywallInstance) == null ? undefined : _PaywallContainer$pay2.removePopup(); + } + }, { + key: "hide", + value: function hide() { + var _PaywallContainer$pay3; + + (_PaywallContainer$pay3 = PaywallContainer.paywallInstance) == null ? undefined : _PaywallContainer$pay3.hidePopup(); + } + }, { + key: "unhide", + value: function unhide() { + var _PaywallContainer$pay4; + + (_PaywallContainer$pay4 = PaywallContainer.paywallInstance) == null ? undefined : _PaywallContainer$pay4.unhidePopup(); + } + }]); + }(_react.default.Component); + + PaywallContainer.propTypes = { + onOpen: _propTypes.default.func, + onClose: _propTypes.default.func + }; +},2664,[3,6,7,11,13,14,582,16,2049,179,2628]); __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { Object.defineProperty(exports, "__esModule", { value: true @@ -373075,6 +373546,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e } }); }); -},2666,[2236]); +},2666,[2233]); __r(55); __r(0); \ No newline at end of file