PageSourceSearch

https://kosmo-museum.ru/assets/events-4ca3c0f1460a25b20e33a4da74c3fbe5.js

js kosmo-museum.ru collected 2026-10-02 04:41:39 UTC 1,255 bytes, 1 lines download raw bytes

1window.App={},App.FilterView=Backbone.View.extend({el:"#events-filter",events:{'change input[type="checkbox"]':"filterChanged",reset:"resetFilter"},initialize:function(e){this.eventsView=e.eventsView},filterChanged:function(){var e=this.$(":checked").map(function(){return $(this).data("event-type")});this.eventsView.updateEvents(e)},resetFilter:function(e){var t=this;setTimeout(function(){t.filterChanged(e)})}}),App.Event=Backbone.Model.extend({}),App.EventsCollection=Backbone.Collection.extend({model:Event}),App.EventsView=Backbone.View.extend({el:"#bricks-default",initialize:function(){var e=this;e.collection=new App.EventsCollection,e.$("[data-event-type]").each(function(){var t=new App.EventView({el:$(this),model:new App.Event});e.collection.add(t.model)})},updateEvents:function(e){this.collection.each(function(t){t.set({hidden:!_.contains(e,t.get("eventType"))})}),this.$el.masonry()}}),App.EventView=Backbone.View.extend({initialize:function(){this.model.set({eventType:this.$el.data("event-type"),hidden:this.$el.is(":hidden")}),this.model.on("change",this.modelChanged,this)},modelChanged:function(){this.model.get("hidden")?this.$el.hide():this.$el.show()}}),$(function(){var e=new App.EventsView;new App.FilterView({eventsView:e})});

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.