"use strict";const b=require("./index.cjs151.js"),v=require("./index.cjs44.js");require("./index.cjs52.js");var t=/(.)^/,j={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},w=/\\|'|\r|\n|\u2028|\u2029/g;function d(u){return"\\"+j[u]}var m=/^\s*(\w|\$)+\s*$/;function q(u,e,c){!e&&c&&(e=c),e=b({},e,v.templateSettings);var h=RegExp([(e.escape||t).source,(e.interpolate||t).source,(e.evaluate||t).source].join("|")+"|$","g"),o=0,r="__p+='";u.replace(h,function(n,l,p,f,s){return r+=u.slice(o,s).replace(w,d),o=s+n.length,l?r+=`'+
((__t=(`+l+`))==null?'':_.escape(__t))+
'`:p?r+=`'+
((__t=(`+p+`))==null?'':__t)+
'`:f&&(r+=`';
`+f+`
__p+='`),n}),r+=`';
`;var a=e.variable;if(a){if(!m.test(a))throw new Error("variable is not a bare identifier: "+a)}else r=`with(obj||{}){
`+r+`}
`,a="obj";r=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
`+r+`return __p;
`;var _;try{_=new Function(a,"_",r)}catch(n){throw n.source=r,n}var i=function(n){return _.call(this,n,v)};return i.source="function("+a+`){
`+r+"}",i}module.exports=q;
//# sourceMappingURL=index.cjs167.js.map
