text:  /*
   * # Fomantic UI - 2.7.8
   * https://github.com/fomantic/Fomantic-UI
   * http://fomantic-ui.com/
   *
   * Copyright 2014 Contributors
   * Released under the MIT license
   * http://opensource.org/licenses/MIT
   *
   */
  !function(k,q,D,E){"use strict";k.isFunction=k.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},q=void 0!==q&&q.Math==Math?q:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),k.fn.search=function(R){var x,C=k(this),w=C.selector||"",S=(new Date).getTime(),F=[],T=R,j="string"==typeof T,A=[].slice.call(arguments,1);return k(this).each(function(){var f,l=k.isPlainObject(R)?k.extend(!0,{},k.fn.search.settings,R):k.extend({},k.fn.search.settings),g=l.className,u=l.metadata,n=l.regExp,i=l.fields,h=l.selector,d=l.error,e=l.namespace,r="."+e,t=e+"-module",p=k(this),m=p.find(h.prompt),s=p.find(h.searchButton),a=p.find(h.results),c=p.find(h.result),v=(p.find(h.category),this),o=p.data(t),y=!1,b=!1;f={initialize:function(){f.verbose("Initializing module"),f.get.settings(),f.determine.searchFields(),f.bind.events(),f.set.type(),f.create.results(),f.instantiate()},instantiate:function(){f.verbose("Storing instance of module",f),o=f,p.data(t,f)},destroy:function(){f.verbose("Destroying instance"),p.off(r).removeData(t)},refresh:function(){f.debug("Refreshing selector cache"),m=p.find(h.prompt),s=p.find(h.searchButton),p.find(h.category),a=p.find(h.results),c=p.find(h.result)},refreshResults:function(){a=p.find(h.results),c=p.find(h.result)},bind:{events:function(){f.verbose("Binding events to search"),l.automatic&&(p.on(f.get.inputEvent()+r,h.prompt,f.event.input),m.attr("autocomplete","off")),p.on("focus"+r,h.prompt,f.event.focus).on("blur"+r,h.prompt,f.event.blur).on("keydown"+r,h.prompt,f.handleKeyboard).on("click"+r,h.searchButton,f.query).on("mousedown"+r,h.results,f.event.result.mousedown).on("mouseup"+r,h.results,f.event.result.mouseup).on("click"+r,h.result,f.event.result.click)}},determine:{searchFields:function(){R&&R.searchFields!==E&&(l.searchFields=R.searchFields)}},event:{input:function(){l.searchDelay?(clearTimeout(f.timer),f.timer=setTimeout(function(){f.is.focused()&&f.query()},l.searchDelay)):f.query()},focus:function(){f.set.focus(),l.searchOnFocus&&f.has.minimumCharacters()&&f.query(function(){f.can.show()&&f.showResults()})},blur:function(e){function t(){f.cancel.query(),f.remove.focus(),f.timer=setTimeout(f.hideResults,l.hideDelay)}var s=D.activeElement===this;s||(b=!1,f.resultsClicked?(f.debug("Determining if user action caused search to close"),p.one("click.close"+r,h.results,function(e){f.is.inMessage(e)||y?m.focus():(y=!1,f.is.animating()||f.is.hidden()||t())})):(f.debug("Input blurred without user action, closing results"),t()))},result:{mousedown:function(){f.resultsClicked=!0},mouseup:function(){f.resultsClicked=!1},click:function(e){f.debug("Search result selected");var t=k(this),s=t.find(h.title).eq(0),n=t.is("a[href]")?t:t.find("a[href]").eq(0),r=n.attr("href")||!1,i=n.attr("target")||!1,a=0<s.length&&s.text(),c=f.get.results(),o=t.data(u.result)||f.get.result(a,c);if(a&&f.set.value(a),k.isFunction(l.onSelect)&&!1===l.onSelect.call(v,o,c))return f.debug("Custom onSelect callback cancelled default select action"),void(y=!0);f.hideResults(),r&&(f.verbose("Opening search link found in result",n),"_blank"==i||e.ctrlKey?q.open(r):q.location.href=r)}}},handleKeyboard:function(e){var t,s=p.find(h.result),n=p.find(h.category),r=s.filter("."+g.active),i=s.index(r),a=s.length,c=0<r.length,o=e.which,u=13,l=38,d=40;if(o==27&&(f.verbose("Escape key pressed, blurring search field"),f.hideResults(),b=!0),f.is.visible())if(o==u){if(f.verbose("Enter key pressed, selecting active result"),0<s.filter("."+g.active).length)return f.event.result.click.call(s.filter("."+g.active),e),e.preventDefault(),!1}else o==l&&c?(f.verbose("Up key pressed, changing active result"),t=i-1<0?i:i-1,n.removeClass(g.active),s.removeClass(g.active).eq(t).addClass(g.active).closest(n).addClass(g.active),e.preventDefault()):o==d&&(f.verbose("Down key pressed, changing active result"),t=a<=i+1?i:i+1,n.removeClass(g.active),s.removeClass(g.active).eq(t).addClass(g.active).closest(n).addClass(g.active),e.preventDefault());else o==u&&(f.verbose("Enter key pressed, executing query"),f.query(),f.set.buttonPressed(),m.one("keyup",f.remove.buttonFocus))},setup:{api:function(t,s){var e={debug:l.debug,on:!1,cache:l.cache,action:"search",urlData:{query:t},onSuccess:function(e){f.parse.response.call(v,e,t),s()},onFailure:function(){f.displayMessage(d.serverError),s()},onAbort:function(e){},onError:f.error};k.extend(!0,e,l.apiSettings),f.verbose("Setting up API request",e),p.api(e)}},can:{useAPI:function(){return k.fn.api!==E},show:function(){return f.is.focused()&&!f.is.visible()&&!f.is.empty()},transition:function(){return l.transition&&k.fn.transition!==E&&p.transition("is supported")}},is:{animating:function(){return a.hasClass(g.animating)},hidden:function(){return a.hasClass(g.hidden)},inMessage:function(e){if(e.target){var t=k(e.target);return k.contains(D.documentElement,e.target)&&0<t.closest(h.message).length}},empty:function(){return""===a.html()},visible:function(){return 0<a.filter(":visible").length},focused:function(){return 0<m.filter(":focus").length}},get:{settings:function(){k.isPlainObject(R)&&R.searchFullText&&(l.fullTextSearch=R.searchFullText,f.error(l.error.oldSearchSyntax,v)),l.ignoreDiacritics&&!String.prototype.normalize&&(l.ignoreDiacritics=!1,f.error(d.noNormalize,v))},inputEvent:function(){var e=m[0];return e!==E&&e.oninput!==E?"input":e!==E&&e.onpropertychange!==E?"propertychange":"keyup"},value:function(){return m.val()},results:function(){return p.data(u.results)},result:function(s,e){var n=!1;return s=s!==E?s:f.get.value(),e=e!==E?e:f.get.results(),"category"===l.type?(f.debug("Finding result that matches",s),k.each(e,function(e,t){if(Array.isArray(t.results)&&(n=f.search.object(s,t.results)[0]))return!1})):(f.debug("Finding result in results object",s),n=f.search.object(s,e)[0]),n||!1}},select:{firstResult:function(){f.verbose("Selecting first result"),c.first().addClass(g.active)}},set:{focus:function(){p.addClass(g.focus)},loading:function(){p.addClass(g.loading)},value:function(e){f.verbose("Setting search input value",e),m.val(e)},type:function(e){e=e||l.type,"category"==l.type&&p.addClass(l.type)},buttonPressed:function(){s.addClass(g.pressed)}},remove:{loading:function(){p.removeClass(g.loading)},focus:function(){p.removeClass(g.focus)},buttonPressed:function(){s.removeClass(g.pressed)},diacritics:function(e){return l.ignoreDiacritics?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}},query:function(e){e=k.isFunction(e)?e:function(){};var t=f.get.value(),s=f.read.cache(t);e=e||function(){},f.has.minimumCharacters()?(s?(f.debug("Reading result from cache",t),f.save.results(s.results),f.addResults(s.html),f.inject.id(s.results),e()):(f.debug("Querying for",t),k.isPlainObject(l.source)||Array.isArray(l.source)?(f.search.local(t),e()):f.can.useAPI()?f.search.remote(t,e):(f.error(d.source),e())),l.onSearchQuery.call(v,t)):f.hideResults()},search:{local:function(e){var t,s=f.search.object(e,l.source);f.set.loading(),f.save.results(s),f.debug("Returned full local search results",s),0<l.maxResults&&(f.debug("Using specified max results",s),s=s.slice(0,l.maxResults)),"category"==l.type&&(s=f.create.categoryResults(s)),t=f.generateResults({results:s}),f.remove.loading(),f.addResults(t),f.inject.id(s),f.write.cache(e,{html:t,results:s})},remote:function(e,t){t=k.isFunction(t)?t:function(){},p.api("is loading")&&p.api("abort"),f.setup.api(e,t),p.api("query")},object:function(r,t,e){r=f.remove.diacritics(String(r));function i(e,t){var s=-1==k.inArray(t,a),n=-1==k.inArray(t,o),r=-1==k.inArray(t,c);s&&n&&r&&e.push(t)}var a=[],c=[],o=[],s=r.replace(n.escape,"\\$&"),u=new RegExp(n.beginsWith+s,"i");return t=t||l.source,e=e!==E?e:l.searchFields,Array.isArray(e)||(e=[e]),t===E||!1===t?(f.error(d.source),[]):(k.each(e,function(e,n){k.each(t,function(e,t){var s;"string"!=typeof t[n]&&"number"!=typeof t[n]||(-1!==(s="string"==typeof t[n]?f.remove.diacritics(t[n]):t[n].toString()).search(u)?i(a,t):"exact"===l.fullTextSearch&&f.exactSearch(r,s)?i(c,t):1==l.fullTextSearch&&f.fuzzySearch(r,s)&&i(o,t))})}),k.merge(c,o),k.merge(a,c),a)}},exactSearch:function(e,t){return e=e.toLowerCase(),-1<(t=t.toLowerCase()).indexOf(e)},fuzzySearch:function(e,t){var s=t.length,n=e.length;if("string"!=typeof e)return!1;if(e=e.toLowerCase(),t=t.toLowerCase(),s<n)return!1;if(n===s)return e===t;e:for(var r=0,i=0;r<n;r++){for(var a=e.charCodeAt(r);i<s;)if(t.charCodeAt(i++)===a)continue e;return!1}return!0},parse:{response:function(e,t){if(Array.isArray(e)){var s={};s[i.results]=e,e=s}var n=f.generateResults(e);f.verbose("Parsing server response",e),e!==E&&t!==E&&e[i.results]!==E&&(f.addResults(n),f.inject.id(e[i.results]),f.write.cache(t,{html:n,results:e[i.results]}),f.save.results(e[i.results]))}},cancel:{query:function(){f.can.useAPI()&&p.api("abort")}},has:{minimumCharacters:function(){return f.get.value().length>=l.minCharacters},results:function(){return 0!==a.length&&""!=a.html()}},clear:{cache:function(e){var t=p.data(u.cache);e?e&&t&&t[e]&&(f.debug("Removing value from cache",e),delete t[e],p.data(u.cache,t)):(f.debug("Clearing cache",e),p.removeData(u.cache))}},read:{cache:function(e){var t=p.data(u.cache);return!!l.cache&&(f.verbose("Checking cache for generated html for query",e),"object"==typeof t&&t[e]!==E&&t[e])}},create:{categoryResults:function(e){var s={};return k.each(e,function(e,t){t.category&&(s[t.category]===E?(f.verbose("Creating new category of results",t.category),s[t.category]={name:t.category,results:[t]}):s[t.category].results.push(t))}),s},id:function(e,t){var s,n=e+1;return t!==E?(s=String.fromCharCode(97+t)+n,f.verbose("Creating category result id",s)):(s=n,f.verbose("Creating result id",s)),s},results:function(){0===a.length&&(a=k("<div />").addClass(g.results).appendTo(p))}},inject:{result:function(e,t,s){f.verbose("Injecting result into results");var n=s!==E?a.children().eq(s).children(h.results).first().children(h.result).eq(t):a.children(h.result).eq(t);f.verbose("Injecting results metadata",n),n.data(u.result,e)},id:function(e){f.debug("Injecting unique ids into results");var s=0,n=0;return"category"===l.type?k.each(e,function(e,t){0<t.results.length&&(n=0,k.each(t.results,function(e,t){t.id===E&&(t.id=f.create.id(n,s)),f.inject.result(t,n,s),n++}),s++)}):k.each(e,function(e,t){t.id===E&&(t.id=f.create.id(n)),f.inject.result(t,n),n++}),e}},save:{results:function(e){f.verbose("Saving current search results to metadata",e),p.data(u.results,e)}},write:{cache:function(e,t){var s=p.data(u.cache)!==E?p.data(u.cache):{};l.cache&&(f.verbose("Writing generated html to cache",e,t),s[e]=t,p.data(u.cache,s))}},addResults:function(e){if(k.isFunction(l.onResultsAdd)&&!1===l.onResultsAdd.call(a,e))return f.debug("onResultsAdd callback cancelled default action"),!1;e?(a.html(e),f.refreshResults(),l.selectFirstResult&&f.select.firstResult(),f.showResults()):f.hideResults(function(){a.empty()})},showResults:function(e){e=k.isFunction(e)?e:function(){},b||!f.is.visible()&&f.has.results()&&(f.can.transition()?(f.debug("Showing results with css animations"),a.transition({animation:l.transition+" in",debug:l.debug,verbose:l.verbose,duration:l.duration,onComplete:function(){e()},queue:!0})):(f.debug("Showing results with javascript"),a.stop().fadeIn(l.duration,l.easing)),l.onResultsOpen.call(a))},hideResults:function(e){e=k.isFunction(e)?e:function(){},f.is.visible()&&(f.can.transition()?(f.debug("Hiding results with css animations"),a.transition({animation:l.transition+" out",debug:l.debug,verbose:l.verbose,duration:l.duration,onComplete:function(){e()},queue:!0})):(f.debug("Hiding results with javascript"),a.stop().fadeOut(l.duration,l.easing)),l.onResultsClose.call(a))},generateResults:function(e){f.debug("Generating html from response",e);var t=l.templates[l.type],s=k.isPlainObject(e[i.results])&&!k.isEmptyObject(e[i.results]),n=Array.isArray(e[i.results])&&0<e[i.results].length,r="";return s||n?(0<l.maxResults&&(s?"standard"==l.type&&f.error(d.maxResults):e[i.results]=e[i.results].slice(0,l.maxResults)),k.isFunction(t)?r=t(e,i,l.preserveHTML):f.error(d.noTemplate,!1)):l.showNoResults&&(r=f.displayMessage(d.noResults,"empty",d.noResultsHeader)),l.onResults.call(v,e),r},displayMessage:function(e,t,s){return t=t||"standard",f.debug("Displaying message",e,t,s),f.addResults(l.templates.message(e,t,s)),l.templates.message(e,t,s)},setting:function(e,t){if(k.isPlainObject(e))k.extend(!0,l,e);else{if(t===E)return l[e];l[e]=t}},internal:function(e,t){if(k.isPlainObject(e))k.extend(!0,f,e);else{if(t===E)return f[e];f[e]=t}},debug:function(){!l.silent&&l.debug&&(l.performance?f.performance.log(arguments):(f.debug=Function.prototype.bind.call(console.info,console,l.name+":"),f.debug.apply(console,arguments)))},verbose:function(){!l.silent&&l.verbose&&l.debug&&(l.performance?f.performance.log(arguments):(f.verbose=Function.prototype.bind.call(console.info,console,l.name+":"),f.verbose.apply(console,arguments)))},error:function(){l.silent||(f.error=Function.prototype.bind.call(console.error,console,l.name+":"),f.error.apply(console,arguments))},performance:{log:function(e){var t,s;l.performance&&(s=(t=(new Date).getTime())-(S||t),S=t,F.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:v,"Execution Time":s})),clearTimeout(f.performance.timer),f.performance.timer=setTimeout(f.performance.display,500)},display:function(){var e=l.name+":",s=0;S=!1,clearTimeout(f.performance.timer),k.each(F,function(e,t){s+=t["Execution Time"]}),e+=" "+s+"ms",w&&(e+=" '"+w+"'"),1<C.length&&(e+=" ("+C.length+")"),(console.group!==E||console.table!==E)&&0<F.length&&(console.groupCollapsed(e),console.table?console.table(F):k.each(F,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),F=[]}},invoke:function(n,e,t){var r,i,s,a=o;return e=e||A,t=v||t,"string"==typeof n&&a!==E&&(n=n.split(/[\. ]/),r=n.length-1,k.each(n,function(e,t){var s=e!=r?t+n[e+1].charAt(0).toUpperCase()+n[e+1].slice(1):n;if(k.isPlainObject(a[s])&&e!=r)a=a[s];else{if(a[s]!==E)return i=a[s],!1;if(!k.isPlainObject(a[t])||e==r)return a[t]!==E&&(i=a[t]),!1;a=a[t]}})),k.isFunction(i)?s=i.apply(t,e):i!==E&&(s=i),Array.isArray(x)?x.push(s):x!==E?x=[x,s]:s!==E&&(x=s),i}},j?(o===E&&f.initialize(),f.invoke(T)):(o!==E&&o.invoke("destroy"),f.initialize())}),x!==E?x:this},k.fn.search.settings={name:"Search",namespace:"search",silent:!1,debug:!1,verbose:!1,performance:!0,type:"standard",minCharacters:1,selectFirstResult:!1,apiSettings:!1,source:!1,searchOnFocus:!0,searchFields:["id","title","description"],displayField:"",fullTextSearch:"exact",ignoreDiacritics:!1,automatic:!0,hideDelay:0,searchDelay:200,maxResults:7,cache:!0,showNoResults:!0,preserveHTML:!0,transition:"scale",duration:200,easing:"easeOutExpo",onSelect:!1,onResultsAdd:!1,onSearchQuery:function(e){},onResults:function(e){},onResultsOpen:function(){},onResultsClose:function(){},className:{animating:"animating",active:"active",empty:"empty",focus:"focus",hidden:"hidden",loading:"loading",results:"results",pressed:"down"},error:{source:"Cannot search. No source used, and Semantic API module was not included",noResultsHeader:"No Results",noResults:"Your search returned no results",logging:"Error in debug logging, exiting.",noEndpoint:"No search endpoint was specified",noTemplate:"A valid template name was not specified.",oldSearchSyntax:"searchFullText setting has been renamed fullTextSearch for consistency, please adjust your settings.",serverError:"There was an issue querying the server.",maxResults:"Results must be an array to use maxResults setting",method:"The method you called is not defined.",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.'},metadata:{cache:"cache",results:"results",result:"result"},regExp:{escape:/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,beginsWith:"(?:s|^)"},fields:{categories:"results",categoryName:"name",categoryResults:"results",description:"description",image:"image",price:"price",results:"results",title:"title",url:"url",action:"action",actionText:"text",actionURL:"url"},selector:{prompt:".prompt",searchButton:".search.button",results:".results",message:".results > .message",category:".category",result:".result",title:".title, .name"},templates:{escape:function(e,t){if(t)return e;var s={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};return/[&<>"'`]/.test(e)?e.replace(/[&<>"'`]/g,function(e){return s[e]}):e},message:function(e,t,s){var n="";return e!==E&&t!==E&&(n+='<div class="message '+t+'">',s&&(n+='<div class="header">'+s+"</div>"),n+=' <div class="description">'+e+"</div>",n+="</div>"),n},category:function(e,s,n){var r="",i=k.fn.search.settings.templates.escape;return e[s.categoryResults]!==E&&(k.each(e[s.categoryResults],function(e,t){t[s.results]!==E&&0<t.results.length&&(r+='<div class="category">',t[s.categoryName]!==E&&(r+='<div class="name">'+i(t[s.categoryName],n)+"</div>"),r+='<div class="results">',k.each(t.results,function(e,t){t[s.url]?r+='<a class="result" href="'+t[s.url].replace(/"/g,"")+'">':r+='<a class="result">',t[s.image]!==E&&(r+='<div class="image"> <img src="'+t[s.image].replace(/"/g,"")+'"></div>'),r+='<div class="content">',t[s.price]!==E&&(r+='<div class="price">'+i(t[s.price],n)+"</div>"),t[s.title]!==E&&(r+='<div class="title">'+i(t[s.title],n)+"</div>"),t[s.description]!==E&&(r+='<div class="description">'+i(t[s.description],n)+"</div>"),r+="</div>",r+="</a>"}),r+="</div>",r+="</div>")}),e[s.action]&&(!1===s.actionURL?r+='<div class="action">'+i(e[s.action][s.actionText],n)+"</div>":r+='<a href="'+e[s.action][s.actionURL].replace(/"/g,"")+'" class="action">'+i(e[s.action][s.actionText],n)+"</a>"),r)},standard:function(e,s,n){var r="",i=k.fn.search.settings.templates.escape;return e[s.results]!==E&&(k.each(e[s.results],function(e,t){t[s.url]?r+='<a class="result" href="'+t[s.url].replace(/"/g,"")+'">':r+='<a class="result">',t[s.image]!==E&&(r+='<div class="image"> <img src="'+t[s.image].replace(/"/g,"")+'"></div>'),r+='<div class="content">',t[s.price]!==E&&(r+='<div class="price">'+i(t[s.price],n)+"</div>"),t[s.title]!==E&&(r+='<div class="title">'+i(t[s.title],n)+"</div>"),t[s.description]!==E&&(r+='<div class="description">'+i(t[s.description],n)+"</div>"),r+="</div>",r+="</a>"}),e[s.action]&&(!1===s.actionURL?r+='<div class="action">'+i(e[s.action][s.actionText],n)+"</div>":r+='<a href="'+e[s.action][s.actionURL].replace(/"/g,"")+'" class="action">'+i(e[s.action][s.actionText],n)+"</a>"),r)}}}}(jQuery,window,document);