text: /**
   * skylark-langx-strings - The skylark JavaScript language extension library.
   * @author Hudaokeji Co.,Ltd
   * @version v0.9.0
   * @link www.skylarkjs.org
   * @license MIT
   */
  !function(r,e){var t=e.define,require=e.require,n="function"==typeof t&&t.amd,a=!n&&"undefined"!=typeof exports;if(!n&&!t){var i={};t=e.define=function(r,e,t){"function"==typeof t?(i[r]={factory:t,deps:e.map(function(e){return function(r,e){if("."!==r[0])return r;var t=e.split("/"),n=r.split("/");t.pop();for(var a=0;a<n.length;a++)"."!=n[a]&&(".."==n[a]?t.pop():t.push(n[a]));return t.join("/")}(e,r)}),resolved:!1,exports:null},require(r)):i[r]={factory:null,resolved:!0,exports:t}},require=e.require=function(r){if(!i.hasOwnProperty(r))throw new Error("Module "+r+" has not been defined");var module=i[r];if(!module.resolved){var t=[];module.deps.forEach(function(r){t.push(require(r))}),module.exports=module.factory.apply(e,t)||null,module.resolved=!0}return module.exports}}if(!t)throw new Error("The module utility (ex: requirejs or skylark-utils) is not loaded!");if(function(r,require){r("skylark-langx-strings/strings",["skylark-langx-ns"],function(r){var e=Object.freeze({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"});function t(r){return e[r]}var n=/[&<>"'`=]/g;var a=0;function i(r,e){var t,n,a,i,o,c,u,s=arguments.callee;return s.cache[r]||(s.cache[r]=(t=r,n=/^[\w\-]+$/.test(r)?s.get(r):(t="template(string)",r),a=1,i=("try { "+(s.variable?"var "+s.variable+" = this.stash;":"with (this.stash) { ")+"this.ret += '"+n.replace(/<%/g,"").replace(/%>/g,"").replace(/'(?![^\x11\x13]+?\x13)/g,"\\x27").replace(/^\s*|\s*$/g,"").replace(/\n|\r\n/g,function(){return"';\nthis.line = "+ ++a+"; this.ret += '\\n"}).replace(/\x11=raw(.+?)\x13/g,"' + ($1) + '").replace(/\x11=(.+?)\x13/g,"' + this.escapeHTML($1) + '").replace(/\x11(.+?)\x13/g,"'; $1; this.ret += '")+"'; "+(s.variable?"":"}")+"return this.ret;} catch (e) { throw 'TemplateError: ' + e + ' (on "+t+"' + ' line ' + this.line + ')'; } //@ sourceURL="+t+"\n").replace(/this\.ret \+= '';/g,""),o=new Function(i),c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&#x22;","'":"&#x27;"},u=function(r){return(""+r).replace(/[&<>\'\"]/g,function(r){return c[r]})},function(r){return o.call(s.context={escapeHTML:u,line:1,ret:"",stash:r})})),e?s.cache[r](e):s.cache[r]}return i.cache={},i.get=function(r){return document.getElementById(r).innerHTML},r.attach("langx.strings",{camelCase:function(r){return r.replace(/-([\da-z])/g,function(r){return r.toUpperCase().replace("-","")})},dasherize:function(r){return r.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()},deserializeValue:function(r){try{return r?"true"==r||"false"!=r&&("null"==r?null:+r+""==r?+r:/^[\[\{]/.test(r)?JSON.parse(r):r):r}catch(e){return r}},escapeHTML:function(r){if(null==r)return"";if(!r)return String(r);return r.toString().replace(n,t)},generateUUID:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(r){var e=16*Math.random()|0,t="x"===r?e:3&e|8;return t.toString(16)})},ltrim:function(r){return r.replace(/^\s+/,"")},lowerFirst:function(r){return r.charAt(0).toLowerCase()+r.slice(1)},rtrim:function(r){return r.replace(/\s+$/,"")},serializeValue:function(r){return JSON.stringify(r)},substitute:function(r,e,t,n){function a(r,e){if(r.match(/\./)){var t,n=function(r,e){var a=r.pop();return a?e[a]?n(r,t=e[a]):null:t};return n(r.split(".").reverse(),e)}return e[r]}return n=n||window,t=t?proxy(n,t):function(r){return r},r.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(r,i,o){var c=a(i,e);return o&&(c=a(o,n).call(n,c,i)),t(c,i).toString()})},slugify:function(r){r=(r=r.replace(/^\s+|\s+$/g,"")).toLowerCase();for(var e="ÁÄÂÀÃÅČÇĆĎÉĚËÈÊẼĔȆÍÌÎÏŇÑÓÖÒÔÕØŘŔŠŤÚŮÜÙÛÝŸŽáäâàãåčçćďéěëèêẽĕȇíìîïňñóöòôõøðřŕšťúůüùûýÿžþÞĐđßÆa·/_,:;",t=0,n=e.length;t<n;t++)r=r.replace(new RegExp(e.charAt(t),"g"),"AAAAAACCCDEEEEEEEEIIIINNOOOOOORRSTUUUUUYYZaaaaaacccdeeeeeeeeiiiinnooooooorrstuuuuuyyzbBDdBAa------".charAt(t));return r=r.replace(/\s+/g,"-").replace(/-+/g,"-")},trim:function(r){return null==r?"":String.prototype.trim.call(r)},uniqueId:function(r){var e=++a+"";return r?r+e:e},upperFirst:function(r){return r.charAt(0).toUpperCase()+r.slice(1)}})}),r("skylark-langx-strings/base64",["./strings"],function(r){return r.base64={decode:function(r,e){e=null!=e&&e;var t,n,a,i,o,c,u,s="",l=0;r=r.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(;l<r.length;)i=this._keyStr.indexOf(r.charAt(l++)),o=this._keyStr.indexOf(r.charAt(l++)),c=this._keyStr.indexOf(r.charAt(l++)),u=this._keyStr.indexOf(r.charAt(l++)),t=i<<2|o>>4,n=(15&o)<<4|c>>2,a=(3&c)<<6|u,s+=String.fromCharCode(t),64!=c&&(s+=String.fromCharCode(n)),64!=u&&(s+=String.fromCharCode(a));e||(s=function(r){var e="",t=0,n=c1=c2=0;for(;t<r.length;)(n=r.charCodeAt(t))<128?(e+=String.fromCharCode(n),t++):n>191&&n<224?(c2=r.charCodeAt(t+1),e+=String.fromCharCode((31&n)<<6|63&c2),t+=2):(c2=r.charCodeAt(t+1),c3=r.charCodeAt(t+2),e+=String.fromCharCode((15&n)<<12|(63&c2)<<6|63&c3),t+=3);return e}(s));return s},encode:function(r,e){var t,n,a,i,o,c,u,s="",l=0;(e=null!=e&&e)||(r=function(r){r=r.replace(/\r\n/g,"\n");for(var e="",t=0;t<r.length;t++){var n=r.charCodeAt(t);n<128?e+=String.fromCharCode(n):n>127&&n<2048?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(63&n|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(63&n|128))}return e}(r));for(;l<r.length;)t=r.charCodeAt(l++),n=r.charCodeAt(l++),a=r.charCodeAt(l++),i=t>>2,o=(3&t)<<4|n>>4,c=(15&n)<<2|a>>6,u=63&a,isNaN(n)?c=u=64:isNaN(a)&&(u=64),s=s+this._keyStr.charAt(i)+this._keyStr.charAt(o)+this._keyStr.charAt(c)+this._keyStr.charAt(u);return s}}}),r("skylark-langx-strings/main",["./strings","./base64"],function(r){return r}),r("skylark-langx-strings",["skylark-langx-strings/main"],function(r){return r})}(t),!n){var o=require("skylark-langx-ns");a?module.exports=o:e.skylarkjs=o}}(0,this);
  //# sourceMappingURL=sourcemaps/skylark-langx-strings.js.map
  