/** PTNovelSearch-v4.1.2 LPPL License By http://www.ptcms.com/ */
 ;!function(){"use strict";var e,r={open:"{{",close:"}}"},n={exp:function(e){return new RegExp(e,"g")},query:function(e,n,c){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return t((n||"")+r.open+o+r.close+(c||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#39;").replace(/"/g,"&quot;")},error:function(e,r){var n="Laytpl Error：";return"object"==typeof console&&console.error(n+e+"\n"+(r||"")),n+e}},t=n.exp,c=function(e){this.tpl=e};c.pt=c.prototype,c.pt.parse=function(e,c){var o=this,p=e,a=t("^"+r.open+"#",""),l=t(r.close+"$","");e=e.replace(/[\r\t\n]/g," ").replace(t(r.open+"#"),r.open+"# ").replace(t(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(/(?="|')/g,"\\").replace(n.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+'; view+="'}).replace(n.query(1),function(e){var n='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(t(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),n='"+_escape_('),n+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(c,n.escape)}catch(u){return delete o.cache,n.error(u,p)}},c.pt.render=function(e,r){var t,c=this;return e?(t=c.cache?c.cache(e,n.escape):c.parse(c.tpl,e),r?void r(t):t):n.error("no data")},e=function(e){return"string"!=typeof e?n.error("Template not found"):new c(e)},e.config=function(e){e=e||{};for(var n in e)r[n]=e[n]},e.v="1.1","function"==typeof define?define(function(){return e}):"undefined"!=typeof exports?module.exports=e:window.laytpl=e}();