|
|
"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};(function(){var e=this,t=this,n=t?t.document:null,r=(t?t.document.documentElement:null,/^(["'](\\.|[^"\\\n\r])*?["']|[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t])+?$/),i=/^-ms-/,o=/[\-_]([\da-z])/gi,a=/([A-Z])/g,u=/\./,s=/[-|+]?[\D]/gi,f=/\D/gi,c=new RegExp("([0-9])([0-9][0-9][0-9][,.])"),l=/&/g,d=/=/,h=/[ ]+/g,p={},g=void 0,m=void 0;p.guid=1,p.getGuid=function(){return p.guid++},p.info=g=function(){function e(e,r){return e={href:t.location.href,param:t.location.search,referrer:n.referrer,pathname:t.location.pathname,hostname:t.location.hostname,port:t.location.port},r=e.href.split(/[\?#]/),e.param=e.param.replace("?",""),e.url=r[0],e.href.search("#")>-1&&(e.hashdata=m.last(r)),r=null,e.baseUrl=m.left(e.href,"?").replace(e.pathname,""),e}function r(e,t,n){return g.errorMsg&&g.errorMsg[e]?{className:e,errorCode:t,methodName:n,msg:g.errorMsg[e][t]}:{className:e,errorCode:t,methodName:n}}var i=arguments,o="1.4.126",a="",u=function(){console.error(m.toArray(i).join(":"))},s={BACKSPACE:8,TAB:9,RETURN:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,HOME:36,END:35,PAGEUP:33,PAGEDOWN:34,INSERT:45,SPACE:32},f=[{label:"SUN"},{label:"MON"},{label:"TUE"},{label:"WED"},{label:"THU"},{label:"FRI"},{label:"SAT"}],c=function(e,n,r,i,o,a){return t&&t.navigator?(e=navigator.userAgent.toLowerCase(),n=e.search(/mobile/g)!=-1,a,e.search(/iphone/g)!=-1?{name:"iphone",version:0,mobile:!0}:e.search(/ipad/g)!=-1?{name:"ipad",version:0,mobile:!0}:e.search(/android/g)!=-1?(i=/(android)[ \/]([\w.]+)/.exec(e)||[],a=i[2]||"0",{name:"android",version:a,mobile:n}):(r="",i=/(opr)[ \/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[],o=i[1]||"",a=i[2]||"0","msie"==o&&(o="ie"),{name:o,version:a,mobile:n})):{}}(),l=!("undefined"==typeof window||"undefined"==typeof navigator||!t.document),d=t&&/Firefox/i.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel",h={},p=!!t&&("ontouchstart"in t||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),v=!!t&&(t.FileReader&&t.File&&t.FileList&&t.Blob);return{errorMsg:h,version:o,baseUrl:a,onerror:u,eventKeys:s,weekNames:f,browser:c,isBrowser:l,supportTouch:p,supportFileApi:v,wheelEnm:d,urlUtil:e,getError:r}}(),p.util=m=function(){function v(e,t){if(_(e))return[];var n=void 0,r=0,i=e.length,o=void 0===i||"function"==typeof e;if(o){for(n in e)if("undefined"!=typeof e[n]&&t.call(e[n],n,e[n])===!1)break}else for(;r<i&&("undefined"==typeof e[r]||t.call(e[r],r,e[r++])!==!1););return e}function y(e,t){if(_(e))return[];var n=void 0,r=0,i=e.length,o=[],a=void 0;if(k(e)){for(n in e)if("undefined"!=typeof e[n]){if(a=void 0,(a=t.call(e[n],n,e[n]))===!1)break;o.push(a)}}else for(;r<i;)if("undefined"!=typeof e[r]){if(a=void 0,(a=t.call(e[r],r,e[r++]))===!1)break;o.push(a)}return o}function b(e,t){if(_(e))return-1;if(k(e))for(var n in e){if("undefined"!=typeof e[n]&&F(t)&&t.call(e[n],n,e[n]))return n;if(e[n]==t)return n}else for(var r=0,i=e.length;r<i;r++){if("undefined"!=typeof e[r]&&F(t)&&t.call(e[r],r,e[r]))return r;if(e[r]==t)return r}return-1}function w(e,t,n){var r=void 0,i=void 0,o=void 0;if(F(t)&&"undefined"==typeof n&&(n=t,t=0),"undefined"==typeof t&&(t=0),j(e)){for(r=0,i=e.length;r<i;r++)if("undefined"!=typeof e[r]){if((o=n.call(e[r],e[r]))===!1)break;"undefined"!=typeof o&&(t+=o)}return t}if(k(e)){for(r in e)if("undefined"!=typeof e[r]){if((o=n.call(e[r],e[r]))===!1)break;"undefined"!=typeof o&&(t+=o)}return t}return console.error("argument error : ax5.util.sum - use Array or Object"),t}function x(e,t,n){var r=void 0,i=void 0,o=void 0;if(F(t)&&"undefined"==typeof n&&(n=t,t=0),"undefined"==typeof t&&(t=0),j(e)){for(r=0,i=e.length;r<i;r++)if("undefined"!=typeof e[r]){if((o=n.call(e[r],e[r]))===!1)break;"undefined"!=typeof o&&(t+=o)}return t/i}if(k(e)){i=0;for(r in e)if(" l.prototype.eos=function(){return""===this.tail},l.prototype.scan=function(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var n=t[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},l.prototype.scanUntil=function(e){var t,n=this.tail.search(e);switch(n){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=t.length,t},d.prototype.push=function(e){return new d(e,this)},d.prototype.lookup=function(e){var n,r=this.cache;if(r.hasOwnProperty(e))n=r[e];else{for(var o,a,u=this,s=!1;u;){if(e.indexOf(".")>0)for(n=u.view,o=e.split("."),a=0;null!=n&&a<o.length;)a===o.length-1&&(s=i(n,o[a])),n=n[o[a++]];else n=u.view[e],s=i(u.view,e);if(s)break;u=u.parent}r[e]=n}return t(n)&&(n=n.call(this.view)),n},h.prototype.clearCache=function(){this.cache={}},h.prototype.parse=function(e,t){var n=this.cache,r=n[e];return null==r&&(r=n[e]=s(e,t)),r},h.prototype.render=function(e,t,n){var r=this.parse(e),i=t instanceof d?t:new d(t);return this.renderTokens(r,i,n,e)},h.prototype.renderTokens=function(e,t,n,r){for(var i,o,a,u="",s=0,f=e.length;s<f;++s)a=void 0,i=e[s],o=i[0],"#"===o?a=this.renderSection(i,t,n,r):"^"===o?a=this.renderInverted(i,t,n,r):">"===o?a=this.renderPartial(i,t,n,r):"&"===o?a=this.unescapedValue(i,t):"name"===o?a=this.escapedValue(i,t):"text"===o&&(a=this.rawValue(i)),void 0!==a&&(u+=a);return u},h.prototype.renderSection=function(e,n,r,i){function o(e){return a.render(e,n,r)}var a=this,u="",s=n.lookup(e[1]);if(s){if(g(s))for(var f=0,c=s.length;f<c;++f)s[f]&&("object"===_typeof(s[f])&&(s[f]["@i"]=f,s[f]["@first"]=0===f),u+=this.renderTokens(e[4],n.push(s[f]),r,i));else if("object"===("undefined"==typeof s?"undefined":_typeof(s))||"string"==typeof s||"number"==typeof s)u+=this.renderTokens(e[4],n.push(s),r,i);else if(t(s)){if("string"!=typeof i)throw new Error("Cannot use higher-order sections without the original template");s=s.call(n.view,i.slice(e[3],e[5]),o),null!=s&&(u+=s)}else u+=this.renderTokens(e[4],n,r,i);return u}},h.prototype.renderInverted=function(e,t,n,r){var i=t.lookup(e[1]);if(!i||g(i)&&0===i.length)return this.renderTokens(e[4],t,n,r)},h.prototype.renderPartial=function(e,n,r){if(r){var i=t(r)?r(e[1]):r[e[1]];return null!=i?this.renderTokens(this.parse(i),n,r,i):void 0}},h.prototype.unescapedValue=function(e,t){var n=t.lookup(e[1]);if(null!=n)return n},h.prototype.escapedValue=function(t,n){var r=n.lookup(t[1]);if(null!=r)return e.escape(r)},h.prototype.rawValue=function(e){return e[1]},e.name="mustache.js",e.version="2.1.3",e.tags=["{{","}}"];var T=new h;e.clearCache=function(){return T.clearCache()},e.parse=function(e,t){return T.parse(e,t)},e.render=function(e,t,r){if("string"!=typeof e)throw new TypeError('Invalid template! Template should be a "string" but "'+n(e)+'" was given as the first argument for mustache#render(template, view, partials)');return T.render(e,t,r)},e.to_html=function(n,r,i,o){var a=e.render(n,r,i);return t(o)?void o(a):a},e.escape=u,e.Scanner=l,e.Context=d,e.Writer=h});
|