var ss360Config;!function(s,e,o){s.ss360ConfigGenerator=function(s,o){return this.config={},this.config.siteId=s,this.setSearchSelector(o),this.setResult(),this.config.showSearchSuggestions=!1,this.config.navigation="none",this.config.searchResultsCaption='Found #COUNT# search results for "#QUERY#"',this.config.showImagesSuggestions=!1,this.config.showImagesResults=!1,this.config.minChars=2,this.config.themeColor="#444444",this.config.defaultCss=!0,this.config.moreResultsButton="Show more results",this.config.numResults=20,this.config.groupResults=!0,this.config.showErrors=!0,this.config.layout={mobile:{type:"list",showImages:!0,showSnippet:!0,showTitle:!0,showDataPoints:!0,showUrl:!1},desktop:{type:"list",showImages:!0,showSnippet:!0,showTitle:!0,showDataPoints:!0,showUrl:!0}},this},s.ss360ConfigGenerator.prototype={create:function(){return console.log("ss360Config creation"),this.config},setSearchSelector:function(s){return console.log("setSearchSelector: foo"+s),this.config.searchBox={placeholder:o,autofocus:!1,selector:s,searchButton:o,focusLayer:!1},this},setThemeColor:function(s){return console.log("setThemeColor: "+s),this.config.themeColor=s,this},setResult:function(s){var o;return e(".sphp-ss360-searchResults").length&&(o={contentBlock:".sphp-ss360-searchResults"}),console.log("setSearchSelector: "+s),this.config.searchResults=o,this}}}(window.sphp=window.sphp||{},jQuery);var gen=new sphp.ss360ConfigGenerator("playground.samiholck.com",".sphp-ss360-searchBox");console.log(gen.create()),ss360Config=gen.create();