PageSourceSearch

https://www.askersund.se/webapp-resource/2.441ce96a17cda6b23503f6/…/1643032205086/webapp-assets.js

js askersund.se collected 2026-09-25 20:48:03 UTC 4,048 bytes, 122 lines download raw bytes

1AppRegistry.registerBundle({applicationId:'con-puff|0.0.4',bundle: {"en":{"hello":"Hello"},"sv":{"hello":"Hej"}}});
2AppRegistry.registerModule({applicationId:'con-puff|0.0.4',path:'/template/main',module:function(define){define(function(require){var _=require('underscore');return function(obj){
3var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
4with(obj||{}){
5__p+=''+
6((__t=( renderer.renderComponent('Image') ))==null?'':__t)+
7'\n\n<div class="con-puff__text-wrapper">\n    \n    '+
8((__t=( renderer.renderComponent('Heading') ))==null?'':__t)+
9'\n    \n    <div class="con-puff__description">\n        <p class="'+
10((__t=( fontDescription ))==null?'':_.escape(__t))+
11'">\n            '+
12((__t=( description ))==null?'':_.escape(__t))+
13'\n        </p>\n    </div>\n</div>\n\n<span class="con-puff__overlay"></span>';
14}
15return __p;
16};});}});
17AppRegistry.registerModule({applicationId:'con-puff|0.0.4',path:'/component/Heading',module:function(define){'use strict';define(function (require) {
18  'use strict';
19
20  var _ = require('underscore'),
21      Component = require('Component'),
22      template = require('/template/heading');
23
24  return Component.extend({
25    template: template,
26    className: 'con-puff__header',
27    filterState: function filterState(state) {
28      return _.extend({}, {
29        heading: state.heading,
30        fontHeading: state.fontHeading,
31        link: state.link,
32        icon: state.icon,
33        selectLinktype: state.selectLinktype
34      });
35    }
36  });
37});}});
38AppRegistry.registerModule({applicationId:'con-puff|0.0.4',path:'/template/image',module:function(define){define(function(require){var _=require('underscore');return function(obj){
39var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
40with(obj||{}){
41__p+='';
42 if (image) { 
43__p+='\n    <div class="con-puff__img-wrapper" style="'+
44((__t=( imagePosition ))==null?'':__t)+
45'">\n        '+
46((__t=( image ))==null?'':__t)+
47'\n    </div>\n';
48 } 
49__p+='';
50}
51return __p;
52};});}});
53AppRegistry.registerModule({applicationId:'con-puff|0.0.4',path:'/template/heading',module:function(define){define(function(require){var _=require('underscore');return function(obj){
54var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
55with(obj||{}){
56__p+='\n';
57 if (icon) { 
58__p+='\n    <i aria-hidden="true" class="'+
59((__t=( icon ))==null?'':_.escape(__t))+
60'"></i>\n';
61 } 
62__p+='\n\n';
63 if (heading) { 
64__p+='\n    <h2 class="'+
65((__t=( fontHeading ))==null?'':_.escape(__t))+
66'">\n';
67 } 
68__p+='\n\n';
69 if (selectLinktype === 'extLinkBool') { 
70__p+='\n    <a class="con-puff__link" href="'+
71((__t=( link ))==null?'':_.escape(__t))+
72'" rel="external">\n        '+
73((__t=( heading ))==null?'':_.escape(__t))+
74'\n    </a>\n';
75 } else { 
76__p+='\n    <a class="con-puff__link" href="'+
77((__t=( link ))==null?'':_.escape(__t))+
78'">\n        '+
79((__t=( heading ))==null?'':_.escape(__t))+
80'\n    </a>\n';
81 } 
82__p+='\n    \n';
83 if (heading) { 
84__p+='\n    </h2>\n';
85 } 
86__p+='';
87}
88return __p;
89};});}});
90AppRegistry.registerModule({applicationId:'con-puff|0.0.4',path:'/component/Image',module:function(define){'use strict';define(function (require) {
91  'use strict';
92
93  var _ = require('underscore'),
94      Component = require('Component'),
95      template = require('/template/image');
96
97  return Component.extend({
98    template: template,
99    className: '',
100    filterState: function filterState(state) {
101      return _.extend({}, {
102        image: state.image,
103        imagePosition: state.imagePosition
104      });
105    }
106  });
107});}});
108AppRegistry.registerModule({applicationId:'con-puff|0.0.4',path:'/main',module:function(define){'use strict';define(function (require) {
109  'use strict';
110
111  var _ = require('underscore'),
112      Component = require('Component'),
113      template = require('/template/main');
114
115  return Component.extend({
116    template: template,
117    className: 'con-puff',
118    filterState: function filterState(state) {
119      return _.extend({});
120    }
121  });
122});}});

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.