1AppRegistry.registerBundle({applicationId:'image-highlight|2.1.4',bundle: {"en":{},"sv":{}}}); 2AppRegistry.registerModule({applicationId:'image-highlight|2.1.4',path:'/template/partials/message',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+='<h1>'+ 6((__t=( message ))==null?'':__t)+ 7'</h1>'; 8} 9return __p; 10};});}}); 11AppRegistry.registerModule({applicationId:'image-highlight|2.1.4',path:'/template/main',module:function(define){define(function(require){var _=require('underscore');return function(obj){ 12var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');}; 13with(obj||{}){ 14__p+=''; 15 if(image) { 16__p+='\n <img src="'+ 17((__t=( image.url ))==null?'':_.escape(__t))+ 18'" alt="'+ 19((__t=( image.alt ))==null?'':_.escape(__t))+ 20'" class="fint-image-highlight__image" loading="lazy" >\n'; 21 } 22__p+='\n<div class="fint-image-highlight__content">\n <span class="fint-image-highlight__border" aria-hidden="true"></span>\n <'+ 23((__t=( level ))==null?'':_.escape(__t))+ 24' class="fint-image-highlight__title" style="--hover-color: '+ 25((__t=( textColor ))==null?'':_.escape(__t))+ 26';">\n '+ 27((__t=( title ))==null?'':_.escape(__t))+ 28'\n </'+ 29((__t=( level ))==null?'':_.escape(__t))+ 30'>\n <p class="fint-image-highlight__preamble" style="--hover-color: '+ 31((__t=( textColor ))==null?'':_.escape(__t))+ 32';">\n '+ 33((__t=( preamble ))==null?'':_.escape(__t))+ 34'\n </p>\n</div>'; 35} 36return __p; 37};});}}); 38AppRegistry.registerModule({applicationId:'image-highlight|2.1.4',path:'/main',module:function(define){'use strict';define(function (require) { 39 'use strict'; 40 41 var _ = require('underscore'); 42 var Component = require('Component'); 43 var template = require('/template/main'); 44 return Component.extend({ 45 tagName: 'a', 46 className: 'fint-image-highlight', 47 template: template, 48 attributes: function attributes() { 49 return { 50 href: this.state.link, 51 style: 'color: ' + ('' + (this.state.color || '')).replace(',', '') 52 }; 53 }, 54 filterState: function filterState(state) { 55 return _.extend({}, state); 56 }, 57 templateFunctions: function templateFunctions() { 58 var _this = this; 59 return { 60 // Functions allows rendering of sub views, with optional data to be pushed into the renderer. If no data the whole state will be present 61 renderPartial: function renderPartial(partialName, data) { 62 var template = require('/template/partials/' + partialName); 63 if (template) { 64 if (data) { 65 return _this.renderTemplate(template, { 66 data: data 67 }); 68 } else { 69 return _this.renderTemplate(template, _this.state); 70 } 71 } else { 72 return 'No partial template found'; 73 } 74 } 75 }; 76 } 77 }); 78});}});
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.