%PDF- %PDF-
Direktori : C:/Windows/SystemApps/Microsoft.Windows.Cortana_cw5n1h2txyewy/dss_service/node_modules/dot/lib/ |
Current File : C:/Windows/SystemApps/Microsoft.Windows.Cortana_cw5n1h2txyewy/dss_service/node_modules/dot/lib/doT.min.js |
/*! Laura Doktorova https://github.com/olado/doT */ (function(){function u(){var n={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},t=/&(?!#?\w+;)|<|>|"|'|\//g;return function(){return this?this.replace(t,function(t){return n[t]||t}):this}}function f(t,i,r){return(typeof i=="string"?i:i.toString()).replace(t.define||n,function(n,i,u,f){return i.indexOf("def.")===0&&(i=i.substring(4)),i in r||(u===":"?(t.defineParams&&f.replace(t.defineParams,function(n,t,u){r[i]={arg:t,text:u}}),i in r||(r[i]=f)):new Function("def","def['"+i+"']="+f)(r)),""}).replace(t.use||n,function(n,i){t.useParams&&(i=i.replace(t.useParams,function(n,t,i,u){if(r[i]&&r[i].arg&&u)return n=(i+":"+u).replace(/'|\\/g,"_"),r.__exp=r.__exp||{},r.__exp[n]=r[i].text.replace(RegExp("(^|[^\\w$])"+r[i].arg+"([^\\w$])","g"),"$1"+u+"$2"),t+"def.__exp['"+n+"']"}));var u=new Function("def","return "+i)(r);return u?f(t,u,r):u})}function i(n){return n.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}var t={version:"1.0.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1},template:undefined,compile:undefined},r,n;typeof module!="undefined"&&module.exports?module.exports=t:typeof define=="function"&&define.amd?define(function(){return t}):function(){return this||eval("this")}().doT=t;String.prototype.encodeHTML=u();r={append:{start:"'+(",end:")+'",endencode:"||'').toString().encodeHTML()+'"},split:{start:"';out+=(",end:");out+='",endencode:"||'').toString().encodeHTML();out+='"}};n=/$^/;t.template=function(e,o,s){o=o||t.templateSettings;var c=o.append?r.append:r.split,a,h=0,l;e=o.use||o.define?f(o,e,s||{}):e;e=("var out='"+(o.strip?e.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):e).replace(/'|\\/g,"\\$&").replace(o.interpolate||n,function(n,t){return c.start+i(t)+c.end}).replace(o.encode||n,function(n,t){return a=!0,c.start+i(t)+c.endencode}).replace(o.conditional||n,function(n,t,r){return t?r?"';}else if("+i(r)+"){out+='":"';}else{out+='":r?"';if("+i(r)+"){out+='":"';}out+='"}).replace(o.iterate||n,function(n,t,r,u){return t?(h+=1,l=u||"i"+h,t=i(t),"';var arr"+h+"="+t+";if(arr"+h+"){var "+r+","+l+"=-1,l"+h+"=arr"+h+".length-1;while("+l+"<l"+h+"){"+r+"=arr"+h+"["+l+"+=1];out+='"):"';} } out+='"}).replace(o.evaluate||n,function(n,t){return"';"+i(t)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,"").replace(/(\s|;|\}|^|\{)out\+=''\+/g,"$1out+=");a&&o.selfcontained&&(e="String.prototype.encodeHTML=("+u.toString()+"());"+e);try{return new Function(o.varname,e)}catch(v){typeof console!="undefined"&&console.log("Could not create a template function: "+e);throw v;}};t.compile=function(n,i){return t.template(n,null,i)}})()