var fra_config_default = { /** * Debug Mode */ debug: (window.location.search.match(/debugClientLibs/i) !== null || window.location.hostname.match(/local/i) !== null), language: "en", // date formats for the dataPicker datePicker: { visibleDateFormat: "L", todayFormat: "LL" }, planningDateFormat: { date: "dd, L", time: "LT" }, listSize: 10, /** * Breakpoints */ breakPoints: { mediaQueries: [ /* BP LG */ {query: "(min-width: 1200px)", value: 3.1, name: "lg"}, /* BP MD */ {query: "(min-width: 992px)", value: 2.1, name: "md"}, /* BP SM */ {query: "(min-width: 768px)", value: 1.1, name: "sm"}, /* BP XS */ {query: "(min-width: 480px)", value: 0.5, name: "xs"}, /* BP XXS */ {query: "(max-width: 479px)", value: 0.1, name: "xxs"} ], eventName: "fra.resizedVP" }, // should always true on live page usePushState: false, // general backbone configuration backbone: { baseUrl: "../js/app", paths: { underscore: "../lib/underscore-min", backbone: "../lib/backbone", "backbone.fetchCache": "../lib/marionette/backbone.fetchCache", "backbone.ajaxobserver": "../lib/marionette/backbone.ajaxobserver", marionette: "../lib/marionette/backbone.marionette", "backbone.wreqr": "../lib/marionette/backbone.wreqr.min", "backbone.babysitter": "../lib/marionette/backbone.babysitter.min", rxjs: "../lib/rx.lite.min", es5shim: "../lib/es5-shim.min" }, shim: { jquery: { exports: "$" }, underscore: { exports: "_" }, rxjs: { exports: "Rx" }, backbone: { deps: ["es5shim", "underscore", "jquery", "rxjs"], exports: "Backbone" }, marionette: { deps: ["jquery", "underscore", "backbone", "backbone.wreqr", "backbone.fetchCache", "backbone.ajaxobserver"], exports: "Marionette" }, handlebars: { exports: "Handlebars" }, "handlebars.translate": { deps: ["jquery", "handlebars"], exports: "Translate" } } }, overlay: { overlayID: "fra_lb_overlay", closeBtnID: "fra_lb_close_btn", contentID: "fra_lb_content", openOverlayClass: "fra_lb_open", headerID: "fra_lb_header" }, sso: { enabled: true, realm: "fraaccount", resource: "rhp\-app", authServerUrl: "https:\/\/login.frankfurt\-airport.com\/auth", authServerTimeout: 30000, passwordLostUrl: "", registrationUrl: "https:\/\/shop.frankfurt\-airport.com\/{LANGUAGE}\/registration", secretPagePath: "\/content\/airport\-site\/de" }, search: { livesuggestUrl: "https:\/\/search\-web.shop.frankfurt\-airport.com\/index.php?id=46\x26eID=tx_aoesolr_livesuggest\x26searchperience[action]=suggest\x26searchperience[controller]=LiveSuggest\x26dataType=jsonp\x26searchperience[querystring]={{query}}\x26callback={{responseCallBack}}" }, shoppingBasket: { basketHost: "https:\/\/shop.frankfurt\-airport.com\/en\/", basketBlocks: "aoestatic\/call\/secure\/?getBlocks%5Bcart%5D=cart_header\x26getBlocks%5Bitemcount%5D=cart_itemcount" }, masonryTileSizeMapping: { singleRow: { .33: "S", .5: "S", 1: "S", 2: "M", 3: "M" }, multiRow: { .33: "S", .5: "S", 1: "M", 2: "M", 3: "L" } }, responsiveImageSizes: { list: { xs: { w: 80, h: 80 }, sd: { w: 80, h: 80 }, md: { w: 80, h: 80 } }, tile: { xs: { w: 248, h: 248 }, sd: { w: 248, h: 248 }, md: { w: 190, h: 190 } }, commerce: { xs: { w: 248, h: 248 }, sd: { w: 248, h: 248 }, md: { w: 190, h: 190 } }, masonry_S: { xs: { w: 248, h: 248 }, sd: { w: 248, h: 248 }, md: { w: 190, h: 190 } }, masonry_M: { xs: { w: 248, h: 248 }, sd: { w: 442, h: 249 }, md: { w: 341, h: 192 } }, masonry_L: { xs: { w: 248, h: 248 }, sd: { w: 496, h: 496 }, md: { w: 382, h: 382 } }, magazine_S: { xs: { w: 248, h: 248 }, sd: { w: 248, h: 248 }, md: { w: 190, h: 190 } }, magazine_L: { xs: { w: 496, h: 496 }, sd: { w: 496, h: 496 }, md: { w: 382, h: 382 } } }, appBannerUrl: { container: "\/content\/airport\-site\/en.appBanner.html", iosStore: "https://itunes.apple.com/de/app/frankfurt-airport-fra-airport/id453191399?mt=8", androidStore: "https://play.google.com/store/apps/details?id=com.infsoft.android.fraapp&hl=de" }, pagination: { glossaryItemCount: 20 }, path: { siteUrl: "https://www.frankfurt-airport.com", airlineIcon: "https://www.frankfurt-airport.com/etc/clientlibs/fraport-airport/fraport.base.app/resources/img/logo_default.png", iconSprite: "https://www.frankfurt-airport.com/etc/clientlibs/fraport-airport/fraport.base.app/resources/img/icons/icon-sprite.svg", logoIcon: "https://www.frankfurt-airport.com/etc/clientlibs/fraport-airport/fraport.base.app/resources/img/logo.svg", servletContent: "\/content\/airport\-site\/en", watchAddUrl: "\/content\/airport\-site\/en/_jcr_content.watchlist_add.htx", watchRemoveUrl: "\/content\/airport\-site\/en/_jcr_content.watchlist_remove.htx", watchCheckUrl: "\/content\/airport\-site\/en/_jcr_content.watchlist_check.htx", airportSuggestUrl: "\/content\/airport\-site\/en/_jcr_content.airport_suggest.json", notificationUrl: "https://www.frankfurt-airport.com\/content\/airport\-site\/en/_jcr_content.notifications.htx", rootPath: "https://www.frankfurt-airport.com/etc/clientlibs/fraport-airport/fraport.base.app", fallBackImg: "/etc/clientlibs/fraport-airport/fraport.base.app/resources/img/fallback_image_media_1_1_screen_xs.jpg" } }; // copies over possible overrides if (window.fra && "config" in window.fra) { Object.keys(window.fra.config).forEach(function preserveExistingConfig(key) { "use strict"; fra_config_default[key] = window.fra.config[key]; }); } // generates actual config object window.fra = window.fra || {}; window.fra.config = fra_config_default;