1define("retailer/templates",["handlebars"],function(a){this["JST"]=this["JST"]||{}; 2this["JST"]["retailerTable"]=a.template({compiler:[6,">= 2.0.0-beta.1"],main:function(g,d,b,e){var c,f=d.helperMissing; 3return'<!-- Table header, hide on XS -->\r\n<!-- tr -->\r\n\r\n<ul class="fra_table_thead hidden-xs">\r\n <!-- th -->\r\n <li class="fra_table_th">\r\n </li>\r\n <!-- th -->\r\n <li class="fra_table_th">\r\n '+((c=(d.i18n||(g&&g.i18n)||f).call(g,"app.retailer.rowHead.name",{name:"i18n",hash:{},data:e}))!=null?c:"")+'\r\n </li>\r\n <!-- th -->\r\n <li class="fra_table_th">\r\n '+((c=(d.i18n||(g&&g.i18n)||f).call(g,"app.retailer.rowHead.location",{name:"i18n",hash:{},data:e}))!=null?c:"")+'\r\n </li>\r\n <!-- th -->\r\n <li class="fra_table_th">\r\n '+((c=(d.i18n||(g&&g.i18n)||f).call(g,"app.retailer.rowHead.openingHours",{name:"i18n",hash:{},data:e}))!=null?c:"")+'\r\n </li>\r\n <!-- th -->\r\n <li class="fra_table_th">\r\n </li>\r\n</ul>\r\n\r\n<!--<tbody>\r\n\r\n</tbody>-->' 4},useData:true}); 5this["JST"]["retailerTableRow"]=a.template({"1":function(g,d,b,e){var c,f=this.lambda;
6return' <span class="fra_copy_8">'+((c=f(((c=(g!=null?g.openingHours:g))!=null?c.startDay:c),g))!=null?c:"")+'</span> bis <span class="fra_copy_8">'+((c=f(((c=(g!=null?g.openingHours:g))!=null?c.endDay:c),g))!=null?c:"")+'</span> von <span class="fra_copy_8">'+((c=f(((c=(g!=null?g.openingHours:g))!=null?c.openingTime:c),g))!=null?c:"")+'</span> bis <span class="fra_copy_8">'+((c=f(((c=(g!=null?g.openingHours:g))!=null?c.closingTime:c),g))!=null?c:"")+"</span>\n"+((c=d["if"].call(g,((c=(g!=null?g.openingHours:g))!=null?c.more:c),{name:"if",hash:{},fn:this.program(2,e,0),inverse:this.noop,data:e}))!=null?c:"") 7},"2":function(e,c,b,d){return' <span class="fra_copy_8 fra_copy_8__additional">...</span>\n' 8},"4":function(e,c,b,d){return" -\n" 9},"6":function(g,d,b,e){var c,f=this.lambda; 10return' <a class="btn-link fra_btn_icon__left" href="'+((c=f(((c=(g!=null?g.action:g))!=null?c.url:c),g))!=null?c:"")+'">\n <span class="fra_icon">\n <svg class="icon hidden-xs" role="presentation">\n <use xlink:href="#icon-arrow-right"/>\n </svg>\n <svg class="icon visible-xs" role="presentation">\n <use xlink:href="#icon-link"/>\n </svg>\n </span>\n <span class="fra_single_line_clamp fra_icon_link">\n '+((c=f(((c=(g!=null?g.action:g))!=null?c.label:c),g))!=null?c:"")+"\n </span>\n </a>\n" 11},"8":function(g,e,b,f){var c,d; 12return' <a href="'+((c=((d=(d=e.detailPageUrl||(g!=null?g.detailPageUrl:g))!=null?d:e.helperMissing),(typeof d==="function"?d.call(g,{name:"detailPageUrl",hash:{},data:f}):d)))!=null?c:"")+'"></a>\n' 13},compiler:[6,">= 2.0.0-beta.1"],main:function(g,c,f,e){var b,d,j=this.lambda,i=c.helperMissing,h="function"; 14return'<!-- <ul class="fra_table_row"> -->\n\n<!-- td -->\n<li class="fra_table_td fra_table_td__icon">\n <img alt="'+((b=j(((b=(g!=null?g.image:g))!=null?b.altText:b),g))!=null?b:"")+'" class="fra_js_lazy_img" data-original="'+((b=j(((b=((b=(g!=null?g.image:g))!=null?b.src:b))!=null?b.md:b),g))!=null?b:"")+'"> \n</li>\n<!-- td -->\n<li class="fra_table_td fra_table_td__name">\n <span class="fra_copy_8">'+((b=((d=(d=c.title||(g!=null?g.title:g))!=null?d:i),(typeof d===h?d.call(g,{name:"title",hash:{},data:e}):d)))!=null?b:"")+"</span>\n "+((b=((d=(d=c.shortTitle||(g!=null?g.shortTitle:g))!=null?d:i),(typeof d===h?d.call(g,{name:"shortTitle",hash:{},data:e}):d)))!=null?b:"")+'\n</li>\n<!-- td -->\n<li class="fra_table_td fra_copy_8">\n '+((b=((d=(d=c.location||(g!=null?g.location:g))!=null?d:i),(typeof d===h?d.call(g,{name:"location",hash:{},data:e}):d)))!=null?b:"")+'\n</li>\n\n<!-- td -->\n<li class="fra_table_td fra_table_td__opening">\n'+((b=c["if"].call(g,(g!=null?g.openingHours:g),{name:"if",hash:{},fn:this.program(1,e,0),inverse:this.program(4,e,0),data:e}))!=null?b:"")+'</li>\n\n<!-- td -->\n<li class="fra_table_td fra_table_td__link">\n'+((b=c["if"].call(g,(g!=null?g.action:g),{name:"if",hash:{},fn:this.program(6,e,0),inverse:this.noop,data:e}))!=null?b:"")+'</li>\n\n<!-- detail page link -->\n<li class="fra_row_link">\n'+((b=c["if"].call(g,(g!=null?g.detailPageUrl:g),{name:"if",hash:{},fn:this.program(8,e,0),inverse:this.noop,data:e}))!=null?b:"")+"</li>\n\n<!-- </ul> -->" 15},useData:true}); 16return this["JST"] 17}); 18define("retailer/views/TableView",["require","../../abstracts/view/childViews/TableView"],function(a){var b=a("../../abstracts/view/childViews/TableView"); 19return b.extend({className:"fra_table_row hidden",initialize:function(d){var c=this; 20c.app=d.app; 21c.listenTo(c.app.vent,"filterBy:letter",function(f){var e=fra.config.listSize; 22if(c.model.get("firstLetter")===f||f=="*"){if(c.app.info.countOfItemsWithLetter>=c.app.info.page*e&&c.app.info.countOfItemsWithLetter<(c.app.info.page+1)*e){c.$el.removeClass("hidden"); 23c.$el.find("img").trigger("checkLazyImg"); 24if(c.app.info.countOfItemsWithLetter%2===0){c.$el.addClass("fra_table_row_even"); 25c.$el.removeClass("fra_table_row_odd") 26}else{c.$el.removeClass("fra_table_row_even"); 27c.$el.addClass("fra_table_row_odd") 28}}else{c.$el.addClass("hidden"); 29if(c.app.info.countOfItemsWithLetter<c.app.info.page*e){c.app.info.hasPrev=true 30}if(c.app.info.countOfItemsWithLetter>=(c.app.info.page+1)*e){c.app.info.hasNext=true 31}}c.app.info.countOfItemsWithLetter++ 32}else{c.$el.addClass("hidden") 33}}) 34},onBeforeDestroy:function(){this.undelegateEvents() 35}}) 36}); 37define("retailer/views/RetailerCollectionView",["require","marionette","../templates","./TableView"],function(a){var d=a("marionette"),b=a("../templates"),c=a("./TableView"); 38return d.CompositeView.extend({tagName:"div",className:"fra_table_responsive fra_mall_slider_container",childView:c,template:b.retailerTable,initialize:function(e){this.app=e.app; 39this.childViewOptions={app:this.app}; 40this.childView=this.childView.extend({template:b.retailerTableRow}); 41this.collection=this.app.retailerData 42},onRenderCollection:function(){fra.utils.refreshAjaxContent(this.$el); 43var e=this.app.config.filter.letter||this.app.layout.ui.letters.not(".fra_inActive").eq(1).text(); 44var f=this.app.layout.ui.category.find("option:selected"); 45if(!f.data("all")){e="*" 46}this.app.layout.filterByLetter(e) 47}}) 48}); 49define("retailer/views/FilterLayout",["require","jquery","marionette"],function(a){var b=a("jquery"),c=a("marionette"); 50return c.ItemView.extend({template:false,el:".fra_filter_popup__wrapper",ui:{checkbox:".fra_checkbox",submitButton:".fra_filter_submit",panels:".panel"},events:{"click @ui.submitButton":"submit"},initialize:function(d){this.$el=d.$el; 51this.$el=d.app.config.$el.find(this.$el.selector); 52this.el=this.$el[0]; 53this.bindUIElements(); 54this.app=d.app; 55this.listenTo(this.app.vent,"filter:set",function(e){this.setFilter(e) 56}); 57this.listenTo(this.app.vent,"filter:reset",function(){this.resetFilter() 58}) 59},submit:function(){this.getFilter() 60},getFilter:function(e){var f={}; 61e=e||{}; 62this.ui.panels.each(function(){var h; 63var i=[]; 64var g,j; 65b(this).find(":checked").each(function(){g=b(this); 66h=g.attr("name"); 67j=g.val(); 68if(e.useText){j=g.data("text") 69}i.push(j) 70}); 71if(i.length!==0){f[h]=i 72}}); 73b.log("filter: ",f,this); 74if(!b.isEmptyObject(f)&&!e.useText){this.app.state.set("filter",f); 75this.updateFilterInfoBox(f) 76}else{if(!e.useText){this.app.state.unset("filter"); 77this.updateFilterInfoBox() 78}else{for(var d in f){if(f.hasOwnProperty(d)){f[d]=f[d].join(", ") 79}}}}return f 80},setFilter:function(d){if(!d||d==={}){this.resetFilter(); 81return 82}this.ui.panels.each(function(){b(this).find(".fra_checkbox").each(function(){var g=false; 83var e=b(this); 84var f=e.attr("name"); 85var h=e.attr("value"); 86if(d.hasOwnProperty(f)){if(b.inArray(h,d[f])!==-1){e.prop("checked",true); 87g=true; 88b.log("setFilter checked $checkBox:",e," key: ",f," val: ",h) 89}}if(!g){e.prop("checked",false) 90}}) 91}); 92this.updateFilterInfoBox(d) 93},resetFilter:function(){this.ui.checkbox.prop("checked",false); 94this.app.state.unset("filter"); 95this.updateFilterInfoBox() 96},updateFilterInfoBox:function(d){var e; 97if(d){e=this.getFilter({useText:true}); 98this.app.layout.ui.filterInfo.addClass("fra_active"); 99this.app.layout.ui.filterInfoText.text(this._buildInfoBoxText(e)) 100}else{this.app.layout.ui.filterInfo.removeClass("fra_active") 101}},_buildInfoBoxText:function(e){var d=[]; 102var f; 103for(f in e){if(e.hasOwnProperty(f)){d.push(fra.i18n.app.retailer.filterInfo.filterTypes[f]) 104}}d=d.join(", "); 105d=fra.i18n.app.retailer.filterInfo.text+d; 106return fra.utils.miniTemplating(d,e) 107}}) 108}); 109define("retailer/actions",["require","jquery","./views/RetailerCollectionView","./views/FilterLayout"],function(a){var c=a("jquery"),b=a("./views/RetailerCollectionView"),d=a("./views/FilterLayout"); 110return{events:{"state:route":"onRoute","state:change":"stateChange"},initialize:function(){var e=this; 111this.listenTo(this.vent,"state:change",function(m,g){var l=e.layout.$el.closest(".fra_section_nav_content").attr("id"); 112var i=e.layout.$el.closest(".fra_section_nav__wrapper").find(".fra_section_nav").find("li>a").filter(function(n,o){return c(o).attr("href")==="#"+l 113}).text(); 114var k=e.config.tracking.module.type; 115var j=e.layout.$el.closest(".fra_js_section_nav").find(".fra_headline_1_module").text(); 116var h=e.layout.$el.find(".fra_js_retailer_tag option:selected").text(); 117var f={module_type:k,module_name:j,tab:i,category:h}; 118if(m.filter){if(m.filter.hall){f.hall=m.filter.hall.join(",") 119}if(m.filter.terminal){f.terminal=m.filter.terminal.join(",") 120}if(m.filter.area){f.area=m.filter.area.join(",") 121}}fra.tracking.submitTrackingInformation(f) 122}
122) 123},onRun:function(){c.log("++retail onRun",this); 124if(c(this.layout.ui.category.find("option")[0]).val()!==this.state.get("category")){this.retailerData.doFetch(this.state.attributes) 125}this.setCommonViews(); 126this.stateChange() 127},onRoute:function(e){if(_.isEqual(this.stateAttributes,this.state.attributes)){return 128}this.stateAttributes=fra.utils.deepClone(this.state.attributes); 129if(this._alreadyRun){}this._alreadyRun=true; 130if(this.state.attributes.category){this.layout.ui.category.val(this.state.attributes.category) 131}this.retailerData.doFetch(this.state.attributes); 132this.setCommonViews(); 133if(this.state.attributes.filter){this.vent.trigger("filter:set",this.state.attributes.filter) 134}else{this.vent.trigger("filter:reset") 135}this.stateChange() 136},stateChange:function(g){var e=this.layout.ui.category.find("option"); 137var f=this.layout.ui.category.find("option:selected"); 138if(e.index(f)===0){this.layout.ui.newsContent.removeClass("hidden"); 139this.layout.ui.showcase.addClass("hidden"); 140this.layout.ui.showcaseWrapper.addClass("hidden"); 141this.layout.ui.lettersWrapper.addClass("hidden"); 142this.layout.ui.filterInfo.removeClass("fra_active"); 143this.layout.ui.slider.trigger("openSesame"); 144this.layout.ui.moreButton.addClass("hidden"); 145this.layout.ui.filter.addClass("hidden"); 146this.layout.$el.removeClass("fra_error") 147}else{this.layout.ui.newsContent.addClass("hidden"); 148if(this.state.has("filter")){this.layout.ui.filterInfo.addClass("fra_active") 149}}this.updateLinkToMoreUrl(this.state) 150},setCommonViews:function(){this.layout.set("showcase",{key:"RetailerView",view:b,options:{unset:false,createInstance:true,app:this}},{unset:false}); 151if(!this._hasFilterView){this._hasFilterView=true; 152this.layout.filter.attachView(new d({$el:this.layout.$el.find(".fra_filter_popup__wrapper"),app:this})) 153}},updateLinkToMoreUrl:function(k){var f,h=this.config.overview.base.url,j=[],g,e; 154if(!this.layout.ui.moreButton.length||!this.config.overview||!this.config.query||!this.config.query.category){return 155}if(h[h.length-1]!=="&"){h+="&" 156}j.push(this.config.query.category+"="+k.get("category")); 157if(k.get("filter")){g=k.get("filter"); 158if(g.terminal&&this.config.query.terminal){for(f=0; 159f<g.terminal.length; 160f++){j.push(this.config.query.terminal+"["+f+"]="+g.terminal[f]) 161}}if(g.hall&&this.config.query.hall){for(f=0; 162f<g.hall.length; 163f++){j.push(this.config.query.hall+"["+f+"]="+g.hall[f]) 164}}}e=encodeURI(h+j.join("&")); 165this.layout.ui.moreButton.attr("href",e) 166}} 167}); 168define("retailer/models/RetailerCollection",["require","jquery","../../abstracts/utils","../../abstracts/mixinModelDeps","backbone"],function(b){var d=b("jquery"),c=b("../../abstracts/utils"),a=b("../../abstracts/mixinModelDeps"),e=b("backbone"); 169return e.Collection.extend(c.mixin({hasFetched:false,mixin:[a],initialize:function(f){this.app=f.app; 170_.bindAll(this,"fetchSuccess"); 171this.listenTo(this.app.vent,"state:change",function(h,g){if(d(this.app.layout.ui.category.find("option")[0]).val()!==this.app.state.get("category")){this.doFetch(h) 172}}); 173d.log("inited "+this.app.appName+" collection:",f) 174},doFetch:function(i){var k=this.app.layout.ui.category.find("option"); 175var f=this.app.layout.ui.category.find("option:selected"); 176var h,g,m,j,o,n; 177var l={}; 178d.log("do fetch,",i,this.app.layout.ui.category.find("option"),this); 179if(k.index(f)===0){return 180}h=fra.utils.arrayClone(i); 181h.itemsPerRequest=this.app.settings.itemsperrequest; 182g=this.url(); 183for(m in h){if(m==="filter"){for(j in h[m]){if(h[m].hasOwnProperty(j)){l[j]=h[m][j].join(",") 184}}}else{l[m]=h[m] 185}}o=_.bind(this.fetchSuccess,this); 186n=_.bind(this.onErrorHandler,this); 187this.fetch({url:fra.utils.buildUrl(this.url(),l),reset:true,error:n,success:o}) 188},fetchSuccess:function(h,f){var g=this.app.layout.ui.category.find("option:selected"); 189if(h.length===0||f.error){this.onErrorHandler(this,null,f.error); 190return 191}this.app.layout.$el.removeClass(this.app.config.stateClass.error); 192this.app.layout.ui.showcase.removeClass("hidden"); 193this.app.layout.ui.showcaseWrapper.removeClass("hidden"); 194this.app.layout.ui.moreButton.removeClass("hidden"); 195this.app.layout.ui.filter.removeClass("hidden"); 196if(g.data("all")){this.app.layout.ui.lettersWrapper.removeClass("hidden") 197}else{this.app.layout.ui.lettersWrapper.addClass("hidden") 198}},onErrorHandler:function(f,g,h){f.app.layout.$el.addClass(this.app.config.stateClass.error); 199fra.utils.onErrorHandler(g,h,f.app.layout.ui.errorContainer) 200},parse:function(j){var g,f; 201var h={}; 202this.hasFetched=true; 203this.app.info.maxOffset=j.maxPageNumber; 204for(g in j.items){if(j.items[g].title){j.items[g].firstLetter=j.items[g].title.replace(/ /g,"").substring(0,1).toLowerCase(); 205h[j.items[g].firstLetter]=true 206}if(j.items[g].openingHours){f=(j.items[g].openingHours.length>1); 207j.items[g].openingHours=j.items[g].openingHours[0]; 208j.items[g].openingHours.startDay=moment.weekdaysShort()[j.items[g].openingHours.startDay]; 209j.items[g].openingHours.endDay=moment.weekdaysShort()[j.items[g].openingHours.endDay]; 210if(f){j.items[g].openingHours.more=true 211}}}this.app.vent.trigger("prune:letters",h); 212return j.items 213},url:function(){var f; 214if(fra.config.frontEnd){f=this.app.settings.source+"?" 215}else{f=this.app.settings.source 216}return f 217}})) 218}); 219define("retailer/views/RootLayout",["require","jquery","../../abstracts/AbstractLayout","./RetailerCollectionView"],function(a){var d=a("jquery"),b=a("../../abstracts/AbstractLayout"),c=a("./RetailerCollectionView"); 220return b.extend({_regions:{showcase:".fra_js_module_showcase",filter:".fra_filter_popup__container"},regions:function(f){var h={},g,e; 221for(g in this._regions){if(this._regions.hasOwnProperty(g)){e=this._regions[g]; 222h[g]="#"+f.el.attr("id")+" "+e 223}}return h 224},views:{RetailerView:c},ui:{showcase:".fra_js_module_showcase",showcaseWrapper:".fra_module_showcase_wrapper",newsContent:".fra_js_news_content",slider:".fra_js_news_content",filter:".fra_js_filter_popup",category:".fra_js_retailer_tag",terminal:".fra_js_retailer_terminal",area:".fra_js_retailer_area",filterInfo:".fra_filter_info__container",filterInfoReset:".fra_js_filter_reset",filterInfoText:".fra_filter_info__text",moreButton:".fra_js_module_btn_more",filterClose:".fra_js_filter_close",prevButton:".fra_slider_btn__left",nextButton:".fra_slider_btn__right",letters:".fra_brands_selector_item",lettersWrapper:".fra_brands_selector_wrapper"},events:{"change @ui.category":function(){this.app.state.set("category",this.ui.category.val()); 225this.app.vent.trigger("filter:reset") 226},"click @ui.filterInfoReset":function(){this.app.vent.trigger("filter:reset") 227},"click @ui.filterClose":function(){this.app.vent.trigger("filter:set",this.app.state.get("filter")) 228},"click @ui.letters":function(g){g.preventDefault(); 229var f=d(g.currentTarget); 230if(f.hasClass("fra_inActive")){return 231}this.app.info.page=0; 232this.app.info.countOfActiveItems=0; 233this.ui.letters.removeClass("fra_active"); 234f.addClass("fra_active"); 235this.filterByLetter(f.data("letter")||g.currentTarget.text.toLowerCase()) 236},"click @ui.prevButton":"slideLeft","click @ui.nextButton":"slideRight"},filterByLetter:function(e){if(e){this.app.info.page=0; 237this.app.info.countOfActiveItems=0 238}else{e=this.app.info.letterFilter 239}e=e.toLowerCase(); 240this.app.info.letterFilter=e; 241this.app.info.hasPrev=false; 242this.app.info.hasNext=false; 243this.app.vent.trigger("filterBy:letter",e); 244this.app.info.countOfItemsWithLetter=0; 245if(this.app.info.hasPrev){this.ui.prevButton.addClass("fra_active") 246}else{this.ui.prevButton.removeClass("fra_active") 247}if(this.app.info.hasNext){this.ui.nextButton.addClass("fra_active") 248}else{this.ui.nextButton.removeClass("fra_active") 249}},pruneLetters:function(e){this.ui.letters.each(function(f,h){var g=d(h); 250d(h).removeClass("fra_active"); 251if(e[g.text().toLowerCase()]){d(h).removeClass("fra_inActive") 252}else{d(h).addClass("fra_inActive") 253}}); 254if(this.app.config.filter.letter){this.ui.letters.eq(0).addClass("fra_active") 255}else{this.ui.letters.not(".fra_inActive").eq(0).removeClass("fra_inActive").addClass("fra_active") 256}this.ui.letters.eq(0).removeClass("fra_inActive") 257},bindSwipe:function(){if(!this.ui.showcaseWrapper.length||!this.ui.prevButton.length){return 258}var f=this; 259var e=new Hammer.Manager(this.ui.showcaseWrapper[0],{recognizers:[[Hammer.Swipe,{direction:Hammer.DIRECTION_HORIZONTAL,threshold:0,velocity:0}]]}); 260e.on("swiperight",function(g){f.slideLeft.call(f,g) 261}); 262e.on("swipeleft",function(g){f.slideRight.call(f,g) 263}) 264},slideLeft:function(f){if(!this.ui.prevButton.hasClass("fra_active")){return 265}this.app.info.page--; 266this.filterByLetter() 267},slideRight:function(f){if(!this.ui.nextButton.hasClass("fra_active")){return 268}this.app.info.page++; 269this.filterByLetter() 270},_initialize:function(e){this.el=this.$el[0]; 271this.showcase.el=this.showcase.$el[0]; 272this.listenTo(this.app.vent,"prune:letters",this.pruneLetters); 273d.log("retail's layout inited. layout's this:",this," filter region: ",this.getRegion("filter"),this.$el.find(".fra_flight_filter")," options:",e); 274this.bindUIElements(); 275this.bindSwipe() 276}}) 277}); 278define("retailer/app",["require","jquery","../abstracts/AbstractApplication","./actions","./models/RetailerCollection","./views/RootLayout","../abstracts/StateRouter"],function(c){var g=c("jquery"),b=c("../abstracts/AbstractApplication"),f=c("./actions"),a=c("./models/RetailerCollection"),e=c("./views/RootLayout"),h=c("../abstracts/StateRouter"),d; 279d=b.extend({setup:{appName:"Retailer",appVentPrefix:"Retailer",layout:e,actions:f,info:{page:0,countOfItemsWithLetter:0,countOfActiveItems:0},settings:{},appConfig:{},_onStart:function(){var i; 280var l=fra.utils.hasNestedKey(this.config,"sub.module")?this.config.sub.module:this.appVentPrefix; 281var k=HashRouter.connect(l); 282var j=this; 283this.settings={}; 284this.config.filter=this.config.filter||{}; 285this.retailerData=new a({app:this}); 286this.layout.bindUIElements(); 287this.layout.app=this; 288this.settings.source=this.layout.$el.data("source"); 289this.settings.category=this.layout.ui.category.val(); 290this.settings.itemsperrequest=this.layout.$el.data("itemsperrequest"); 291this.state=h.create(l,{category:{dataType:"string",defaults:this.settings.category},search:"string",filter:"object"}); 292this.state.on("change",function(m){k.set(m.getEncodedAttributes(),{silent:true,reset:true}); 293j.stateAttributes=fra.utils.deepClone(j.state.attributes) 294}); 295this.state.connectWith(this.vent); 296this.state.check(); 297i=this.appName; 298this.vent.on("all",function(m){g.log("~"+i+" DEBUG: Event Caught: "+m) 299}); 300this.layout.bindUIElements(); 301g.log(i," started!") 302},afterInitialize:function(i){this.appName=i.appName||this.appName; 303this[i.appName]=i.appName; 304this.appVentPrefix=i.appName||this.appVentPrefix 305}}}); 306return d 307}); 308if(typeof fra_jquery==="function"){define("jquery",function(){return fra_jquery 309}) 310}if(typeof Handlebars==="object"){define("handlebars",function(){return Handlebars 311}) 312}if(fra.config.requirejsConfig){requirejs.config(fra.config.requirejsConfig) 313}fra_jquery.log("main: load Retailer module"); 314define("retailer/main",["require","backbone","marionette","./app","jquery"],function(b){var h=b("backbone"),g=b("marionette"),d=b("./app"),e=b("jquery"),c=e(".fra_js_app_retailer"),f,a; 315if(window.__agent){window.__agent.start(h,g) 316}if(c.length>0){c.each(function(){a=e(this).data("subModule"); 317f=new d({appName:a}); 318f.start({$el:e(this),app:f}); 319f.run() 320}) 321}}); 322require(["retailer/main"]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.