You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

2 lines
34 KiB

"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("undefined"!=typeof e[r]){if((o=n.call(e[r],e[r]))===!1)break;"undefined"!=typeof o&&(t+=o),++i}return t/i}return console.error("argument error : ax5.util.sum - use Array or Object"),t}function M(t,n){var r,i,o;if(j(t)){for(r=0,i=t.length,o=t[r];r<i-1&&("undefined"==typeof t[r]||(o=n.call(e,o,t[++r]))!==!1););return o}if(k(t)){for(r in t)if("undefined"!=typeof t[r]&&(o=n.call(e,o,t[r]))===!1)break;return o}return console.error("argument error : ax5.util.reduce - use Array or Object"),null}function E(t,n){for(var r=t.length-1,i=t[r];r>0&&("undefined"==typeof t[r]||(i=n.call(e,i,t[--r]))!==!1););return i}function T(e,t){if(_(e))return[];var n,r,i=0,o=e.length,a=[];if(k(e))for(n in e)"undefined"!=typeof e[n]&&(r=t.call(e[n],n,e[n]))&&a.push(e[n]);else for(;i<o;)"undefined"!=typeof e[i]&&((r=t.call(e[i],i,e[i]))&&a.push(e[i]),i++);return a}function S(e){var t="";if(p.util.isArray(e)){var n=0,r=e.length;for(t+="[";n<r;n++)n>0&&(t+=","),t+=S(e[n]);t+="]"}else if(p.util.isObject(e)){t+="{";var i=[];v(e,function(e,t){i.push('"'+e+'": '+S(t))}),t+=i.join(", "),t+="}"}else t=p.util.isString(e)?'"'+e+'"':p.util.isNumber(e)?e:p.util.isUndefined(e)?"undefined":p.util.isFunction(e)?'"{Function}"':e;return t}function A(e,t){if(!t&&!r.test(e))return{error:500,msg:"syntax error"};try{return new Function("","return "+e)()}catch(n){return{error:500,msg:"syntax error"}}}function D(e){var t;return null!=e&&e==e.window?t="window":e&&1==e.nodeType?t="element":e&&11==e.nodeType?t="fragment":null===e?t="null":"undefined"==typeof e?t="undefined":"[object Object]"==we.call(e)?t="object":"[object Array]"==we.call(e)?t="array":"[object String]"==we.call(e)?t="string":"[object Number]"==we.call(e)?t="number":"[object NodeList]"==we.call(e)?t="nodelist":"function"==typeof e&&(t="function"),t}function C(e){return null!=e&&e==e.window}function N(e){return!(!e||1!=e.nodeType&&11!=e.nodeType)}function k(e){return"[object Object]"==we.call(e)}function j(e){return"[object Array]"==we.call(e)}function F(e){return"function"==typeof e}function O(e){return"[object String]"==we.call(e)}function R(e){return"[object Number]"==we.call(e)}function I(e){return!!("[object NodeList]"==we.call(e)||"undefined"!=typeof e&&e&&e[0]&&1==e[0].nodeType)}function U(e){return"undefined"==typeof e}function _(e){return"undefined"==typeof e||null===e||""===e}function P(e){return e instanceof Date&&!isNaN(e.valueOf())}function $(e){var t=!1;if(e)if(e instanceof Date&&!isNaN(e.valueOf()))t=!0;else{if(e.length>7&&re(e)instanceof Date)return!0;if(e=e.replace(/\D/g,""),e.length>7){var n=e.substr(4,2),r=e.substr(6,2);e=re(e),e.getMonth()==n-1&&e.getDate()==r&&(t=!0)}}else;return t}function B(e){if(k(e)){var t=Object.keys(e),n={};return n[t[0]]=e[t[0]],n}return j(e)?e[0]:void console.error("ax5.util.object.first","argument type error")}function L(e){if(k(e)){var t=Object.keys(e),n={};return n[t[t.length-1]]=e[t[t.length-1]],n}return j(e)?e[e.length-1]:void console.error("ax5.util.object.last","argument type error")}function z(e,t,r,i){var o;return"number"==typeof r&&(o=new Date,o.setDate(o.getDate()+r)),i=i||{},n.cookie=[escape(e),"=",escape(t),o?"; expires="+o.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}function H(e){for(var t=e+"=",r=n.cookie.split(";"),i=0,o=r.length;i<o;i++){for(var a=r[i];" "==a.charAt(0);)a=a.substring(1);if(a.indexOf(t)!=-1)return unescape(a.substring(t.length,a.length))}return""}function W(e){return t.alert(S(e)),e}function Y(e,t){return"undefined"==typeof e||"undefined"==typeof t?"":O(t)?e.indexOf(t)>-1?e.substr(0,e.indexOf(t)):"":R(t)?e.substr(0,t):""}function q(e,t){return"undefined"==typeof e||"undefined"==typeof t?"":(e=""+e,O(t)?e.lastIndexOf(t)>-1?e.substr(e.lastIndexOf(t)+1):"":R(t)?e.substr(e.length-t):"")}function V(e){return e.replace(i,"ms-").replace(o,function(e,t){return t.toUpperCase()})}function G(e){return V(e).replace(a,function(e,t){return"-"+t.toLowerCase()})}function J(e,t){var n,r,i,o=(""+e).split(u);return r=Number(o[0].replace(/,/g,""))<0||"-0"==o[0],i=0,o[0]=o[0].replace(s,""),o[1]?(o[1]=o[1].replace(f,""),i=Number(o[0]+"."+o[1])||0):i=Number(o[0])||0,n=r?-i:i,v(t,function(e,t){"round"==e&&(n=R(t)?t<0?+(Math.round(n+"e-"+Math.abs(t))+"e+"+Math.abs(t)):+(Math.round(n+"e+"+t)+"e-"+t):Math.round(n)),"floor"==e&&(n=Math.floor(n)),"ceil"==e?n=Math.ceil(n):"money"==e?n=function(e){var t=""+e;if(isNaN(t)||""==t)return"";var n=t.split(".");n[0]+=".";do n[0]=n[0].replace(c,"$1,$2");while(c.test(n[0]));return n.length>1?n.join(""):n[0].split(".")[0]}(n):"abs"==e?n=Math.abs(Number(n)):"byte"==e&&(n=function(e){e=Number(n);var t="KB",r=e/1024;return r/1024>1&&(t="MB",r/=1024),r/1024>1&&(t="GB",r/=1024),J(r,{round:1})+t}(n))}),n}function Q(e){return"undefined"!=typeof e.length?Array.prototype.slice.call(e):[]}function Z(e,t){var n=t.length,r=e.length,i=0;if("number"==typeof n)for(;i<n;i++)e[r++]=t[i];else for(;void 0!==t[i];)e[r++]=t[i++];return e.length=r,e}function K(e,t){var n;return O(e)&&"undefined"!=typeof t&&"param"==t?e:O(e)&&"undefined"!=typeof t&&"object"==t||O(e)&&"undefined"==typeof t?(n={},v(e.split(l),function(){var e=this.split(d);n[e[0]]?(O(n[e[0]])&&(n[e[0]]=[n[e[0]]]),n[e[0]].push(e[1])):n[e[0]]=e[1]}),n):(n=[],v(e,function(e,t){n.push(e+"="+escape(t))}),n.join("&"))}function X(e){return encodeURIComponent(e)}function ee(e){return decodeURIComponent(e)}function te(){p.info.onerror.apply(this,arguments)}function ne(e,t,n,r,i,o){var a,u;return u=new Date,t<0&&(t=0),"undefined"==typeof r&&(r=12),"undefined"==typeof i&&(i=0),a=new Date(Date.UTC(e,t,n||1,r,i,o||0)),0==t&&1==n&&a.getUTCHours()+a.getTimezoneOffset()/60<0?a.setUTCHours(0):a.setUTCHours(a.getUTCHours()+a.getTimezoneOffset()/60),a}function re(e,t){var n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,u=void 0,s=void 0,f=void 0,c=void 0,l=void 0,d=/^\d{4}(-\d\d(-\d\d(T\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z)?)?)?)?$/i,h=/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(\.\d+)?(([+-]\d\d:\d\d)|Z)?$/i;if(O(e))if(0==e.length)e=new Date;else if(e.length>15)h.test(e)||d.test(e)?e=new Date(e):(u=e.split(/ /g),c=u[0].split(/\D/g),n=c[0],r=parseFloat(c[1]),i=parseFloat(c[2]),f=u[1]||"09:00",s=f.substring(0,5).split(":"),o=parseFloat(s[0]),a=parseFloat(s[1]),"AM"!==q(f,2)&&"PM"!==q(f,2)||(o+=12),e=ne(n,r-1,i,o,a));else if(14==e.length)l=e.replace(/\D/g,""),e=ne(l.substr(0,4),l.substr(4,2)-1,J(l.substr(6,2)),J(l.substr(8,2)),J(l.substr(10,2)),J(l.substr(12,2)));else if(e.length>7)l=e.replace(/\D/g,""),e=ne(l.substr(0,4),l.substr(4,2)-1,J(l.substr(6,2)));else if(e.length>4)l=e.replace(/\D/g,""),e=ne(l.substr(0,4),l.substr(4,2)-1,1);else{if(e.length>2)return l=e.replace(/\D/g,""),ne(l.substr(0,4),l.substr(4,2)-1,1);e=new Date}return"undefined"==typeof t||"undefined"==typeof e?e:("add"in t&&(e=function(e,t){var n=void 0,r=void 0,i=void 0,o=void 0,a=864e5;return"undefined"!=typeof t.d?e.setTime(e.getTime()+t.d*a):"undefined"!=typeof t.m?(n=e.getFullYear(),r=e.getMonth(),i=e.getDate(),n+=parseInt(t.m/12),r+=t.m%12,o=ae(n,r),o<i&&(i=o),e=new Date(n,r,i,12)):"undefined"!=typeof t.y?e.setTime(e.getTime()+365*t.y*a):"undefined"!=typeof t.h&&e.setTime(e.getTime()+1e3*t.h*60*60),e}(new Date(e),t.add)),"set"in t&&(e=function(e,t){var n=void 0,r=void 0,i=void 0,o={firstDayOfMonth:function(e){return n=e.getFullYear(),r=e.getMonth(),i=1,new Date(n,r,i,12)},lastDayOfMonth:function(e){return n=e.getFullYear(),r=e.getMonth(),i=ae(n,r),new Date(n,r,i,12)}};return t in o?o[t](e):e}(new Date(e),t.set)),"return"in t?function(){var n=t["return"],r=void 0,i=void 0,o=void 0,a=void 0,u=void 0,s=void 0,f=void 0,c=void 0,l=void 0,d=void 0,h=void 0,p=void 0,m=void 0,v=void 0,y=void 0,b=void 0,w=void 0,x=void 0,M=void 0,E=void 0,T=void 0;return r=e.getUTCFullYear(),i=ue(e.getMonth()+1,2),o=ue(e.getDate(),2),a=ue(e.getHours(),2),u=ue(e.getMinutes(),2),s=ue(e.getSeconds(),2),f=e.getDay(),c=/[^y]*(yyyy)[^y]*/gi,c.exec(n),l=RegExp.$1,d=/[^m]*(MM)[^m]*/g,d.exec(n),h=RegExp.$1,p=/[^d]*(dd)[^d]*/gi,p.exec(n),m=RegExp.$1,v=/[^h]*(hh)[^h]*/gi,v.exec(n),y=RegExp.$1,b=/[^m]*(mm)[^i]*/g,b.exec(n),w=RegExp.$1,x=/[^s]*(ss)[^s]*/gi,x.exec(n),M=RegExp.$1,E=/[^d]*(dw)[^w]*/gi,E.exec(n),T=RegExp.$1,"yyyy"===l&&(n=n.replace(l,q(r,l.length))),"MM"===h&&(1==h.length&&(i=e.getMonth()+1),n=n.replace(h,i)),"dd"===m&&(1==m.length&&(o=e.getDate()),n=n.replace(m,o)),"hh"===y&&(n=n.replace(y,a)),"mm"===w&&(n=n.replace(w,u)),"ss"===M&&(n=n.replace(M,s)),"dw"==T&&(n=n.replace(T,g.weekNames[f].label)),n}():e)}function ie(e,t){function n(e){return Math.floor(e.getTime()/a)*a}var r,i,o=re(e),a=864e5,u=new Date;return"undefined"==typeof t?r=J((n(o)-n(u))/a,{floor:!0}):(r=J((n(o)-n(u))/a,{floor:!0}),t.today&&(u=re(t.today),r=J((n(o)-n(u))/a,{floor:!0})),t.thisYear&&(i=new Date(u.getFullYear(),o.getMonth(),o.getDate()),r=J((n(i)-n(u))/a,{floor:!0}),r<0&&(i=new Date(u.getFullYear()+1,o.getMonth(),o.getDate()),r=J((n(i)-n(u))/a,{floor:!0}))),t.age&&(i=new Date(u.getFullYear(),o.getMonth(),o.getDate()),r=i.getFullYear()-o.getFullYear()),r)}function oe(e){var t=re(e);return{year:t.getFullYear(),month:t.getMonth()+1,count:parseInt(t.getDate()/7+1)}}function ae(e,t){return 3==t||5==t||8==t||10==t?30:1==t?e%4==0&&e%100!=0||e%400==0?29:28:31}function ue(e,t,n,r){var i=e.toString(r||10);return se(n||"0",t-i.length)+i}function se(e,t){return t<1?"":new Array(t+1).join(e)}function fe(e,t){if(e)for(;function(){var n=!0;if("undefined"==typeof t)e=!!e.parentNode&&e.parentNode;else if(F(t))n=t(e);else if(k(t))for(var r in t)if("tagname"===r){if(e.tagName.toLocaleLowerCase()!=t[r]){n=!1;break}}else if("clazz"===r||"class_name"===r){if(!("className"in e)){n=!1;break}for(var i=e.className.split(h),o=!1,a=0;a<i.length;a++)if(i[a]==t[r]){o=!0;break}n=o}else{if(!e.getAttribute){n=!1;break}if(e.getAttribute(r)!=t[r]){n=!1;break}}return!n}();){if(!e.parentNode||!e.parentNode.parentNode){e=!1;break}e=e.parentNode}return e}function ce(e){var t=/\D?(\d+)([a-zA-Z%]*)/i,n=(""+e).match(t),r=n[2]||"px";return n[1]+r}function le(e){var t;if(k(e)){t="";for(var n in e)t+=n+":"+e[n]+";";return t}if(O(e)){t={};var r=e.split(/[ ]*;[ ]*/g);return r.forEach(function(e){if(""!==(e=e.trim())){var n=e.split(/[ ]*:[ ]*/g);t[n[0]]=n[1]}}),t}}function de(e){if(!e)var e=window.event;return e.cancelBubble=!0,e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1}function he(e,t,n){function r(t){var n=d,r=h;return d=h=void 0,y=t,g=e.apply(r,n)}function i(e){return y=e,m=setTimeout(u,t),b?r(e):g}function o(e){var n=e-v,r=e-y,i=t-n;return w?Math.min(i,p-r):i}function a(e){var n=e-v,r=e-y;return void 0===v||n>=t||n<0||w&&r>=p}function u(){var e=Date.now();return a(e)?s(e):void(m=setTimeout(u,o(e)))}function s(e){return m=void 0,x&&d?r(e):(d=h=void 0,g)}function f(){void 0!==m&&clearTimeout(m),y=0,d=v=h=m=void 0}function c(){return void 0===m?g:s(Date.now())}function l(){for(var e=Date.now(),n=a(e),o=arguments.length,s=Array(o),f=0;f<o;f++)s[f]=arguments[f];if(d=s,h=this,v=e,n){if(void 0===m)return i(v);if(w)return m=setTimeout(u,t),r(v)}return void 0===m&&(m=setTimeout(u,t)),g}var d=void 0,h=void 0,p=void 0,g=void 0,m=void 0,v=void 0,y=0,b=!1,w=!1,x=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return t=+t||0,k(n)&&(b=!!n.leading,w="maxWait"in n,p=w?Math.max(+n.maxWait||0,t):p,x="trailing"in n?!!n.trailing:x),l.cancel=f,l.flush=c,l}function pe(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return k(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),he(e,t,{leading:r,maxWait:t,trailing:i})}function ge(e){var t,n;if("object"==("undefined"==typeof e?"undefined":_typeof(e))){if(m.isArray(e)){n=e.length,t=new Array(n);for(var r=0;r<n;r++)t[r]=ge(e[r]);return t}return jQuery.extend({},e)}return e}function me(e){return"[object String]"!=we.call(e)?e:e?e.replace(/[\<\>\&\"]/gm,function(e){switch(e){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";case'"':return"&quot;";default:return e}}):""}function ve(e){return"[object String]"!=we.call(e)?e:e?e.replace(/(&lt;)|(&gt;)|(&amp;)|(&quot;)/gm,function(e){switch(e){case"&lt;":return"<";case"&gt;":return">";case"&amp;":return"&";case"&quot;":return'"';default:return e}}):""}function ye(e){return new function(e){this.value=e,this.toString=function(){return this.value},this.format=function(){for(var e=[],t=0,n=arguments.length;t<n;t++)e=e.concat(arguments[t]);return this.value.replace(/{(\d+)}/g,function(t,n){return"undefined"!=typeof e[n]?e[n]:t})},this.escape=function(){return me(this.value)},this.unescape=function(){return ve(this.value)},this.encode=function(){return X(this.value)},this.decode=function(){return ee(this.value)},this.left=function(e){return Y(this.value,e)},this.right=function(e){return q(this.value,e)},this.camelCase=function(){return V(this.value)},this.snakeCase=function(){return G(this.value)}}(e)}function be(e){function t(e){return"string"==typeof e&&e.indexOf(".")!=-1&&1===parseFloat(e)}function n(e){return"string"==typeof e&&e.indexOf("%")!=-1}function r(e){return e<=1&&(e=100*e+"%"),e}function i(e){return p.util.number(Math.min(255,Math.max(e,0)),{round:2})}function o(e){return ue(Math.round(e).toString(16),2)}function a(e,r){t(e)&&(e="100%");var i=n(e);return e=Math.min(r,Math.max(0,parseFloat(e))),i&&(e=parseInt(e*r,10)/100),Math.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function u(e,t,n){e=a(e,255),t=a(t,255),n=a(n,255);var r,i,o=Math.max(e,t,n),u=Math.min(e,t,n),s=(o+u)/2;if(o==u)r=i=0;else{var f=o-u;switch(i=s>.5?f/(2-o-u):f/(o+u),o){case e:r=(t-n)/f+(t<n?6:0);break;case t:r=(n-e)/f+2;break;case n:r=(e-t)/f+4}r/=6}return{h:r,s:i,l:s}}function s(e,t,n){function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var i=void 0,o=void 0,u=void 0;if(e=a(e,360),t=a(t,100),n=a(n,100),0===t)i=o=u=n;else{var s=n<.5?n*(1+t):n+t-n*t,f=2*n-s;i=r(f,s,e+1/3),o=r(f,s,e),u=r(f,s,e-1/3)}return{r:255*i,g:255*o,b:255*u}}var f=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}(),c=function(e){var t=void 0;return(t=f.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=f.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=f.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=f.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=f.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=f.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=f.hex8.exec(e))?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16),a:parseInt(t[4]/255,16),format:"hex8"}:(t=f.hex6.exec(e))?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16),format:"hex"}:(t=f.hex4.exec(e))?{r:parseInt(t[1]+""+t[1],16),g:parseInt(t[2]+""+t[2],16),b:parseInt(t[3]+""+t[3],16),a:parseInt(t[4]+""+t[4],16),format:"hex8"}:!!(t=f.hex3.exec(e))&&{r:parseInt(t[1]+""+t[1],16),g:parseInt(t[2]+""+t[2],16),b:parseInt(t[3]+""+t[3],16),format:"hex"}};return new function(e){this._originalValue=e,e=c(e),this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a||1,this._format=e.format,this._hex=o(this.r)+o(this.g)+o(this.b),this.getHexValue=function(){return this._hex},this.lighten=function(e){e=0===e?0:e||10;var t=u(this.r,this.g,this.b),n={};return t.l+=e/100,t.l=Math.min(1,Math.max(0,t.l)),t.h=360*t.h,n=s(t.h,r(t.s),r(t.l)),be("rgba("+i(n.r)+", "+i(n.g)+", "+i(n.b)+", "+this.a+")")},this.darken=function(e){e=0===e?0:e||10;var t=u(this.r,this.g,this.b),n={};return t.l-=e/100,t.l=Math.min(1,Math.max(0,t.l)),t.h=360*t.h,n=s(t.h,r(t.s),r(t.l)),be("rgba("+i(n.r)+", "+i(n.g)+", "+i(n.b)+", "+this.a+")")},this.getBrightness=function(){return(299*this.r+587*this.g+114*this.b)/1e3},this.isDark=function(){return this.getBrightness()<128},this.isLight=function(){return!this.isDark()},this.getHsl=function(){var e=u(this.r,this.g,this.b);return e.l=Math.min(1,Math.max(0,e.l)),e.h=360*e.h,{h:e.h,s:e.s,l:e.l}}}(e)}var we=Object.prototype.toString,xe=function(){var e={textRange:{selectAll:function(e,t,n){},arr:function(e,t,n){t.moveStart("character",n[0]),t.collapse(),t.moveEnd("character",n[1])},start:function(e,t,n){t.moveStart("character",0),t.collapse()},end:function(e,t,n){t.moveStart("character",t.text.length),t.collapse()}},range:{selectAll:function(e,t,n){t.selectNodeContents(e)},arr:function(e,t,n){k(n[0])?(t.setStart(n[0].node,n[0].offset),t.setEnd(n[1].node,n[1].offset)):(t.setStart(e.firstChild,n[0]),t.setEnd(e.firstChild,n[1]))},start:function(e,t,n){t.selectNodeContents(e),t.collapse(!0)},end:function(e,t,n){t.selectNodeContents(e),t.collapse(!1)}}};return function(t,r){var i,o,a;if(t instanceof jQuery&&(t=t.get(0)),t){if(n.body.createTextRange?(i=document.body.createTextRange(),i.moveToElementText(t),o="textRange"):window.getSelection&&(a=window.getSelection(),i=document.createRange(),o="range"),"undefined"==typeof r)e[o].selectAll.call(this,t,i,r);else if(j(r))e[o].arr.call(this,t,i,r);else for(var u in e[o])if(r==u){e[o][u].call(this,t,i,r);break}n.body.createTextRange?(i.select(),t.focus()):window.getSelection&&(t.focus(),a.removeAllRanges(),a.addRange(i))}}}();return{alert:W,each:v,map:y,search:b,reduce:M,reduceRight:E,filter:T,sum:w,avg:x,toJson:S,parseJson:A,first:B,last:L,deepCopy:ge,left:Y,right:q,getType:D,isWindow:C,isElement:N,isObject:k,isArray:j,isFunction:F,isString:O,isNumber:R,isNodelist:I,isUndefined:U,isNothing:_,setCookie:z,getCookie:H,camelCase:V,snakeCase:G,number:J,toArray:Q,merge:Z,param:K,error:te,date:re,dday:ie,daysOfMonth:ae,weeksOfMonth:oe,setDigit:ue,times:se,findParentNode:fe,cssNumber:ce,css:le,isDate:P,isDateFormat:$,stopEvent:de,selectRange:xe,debounce:he,throttle:pe,escapeHtml:me,unescapeHtml:ve,string:ye,color:be}}(),"object"===("undefined"==typeof module?"undefined":_typeof(module))&&"object"===_typeof(module.exports)?module.exports=p:e.ax5=function(){return p}()}).call("undefined"!=typeof window?window:void 0),ax5.def={},ax5.info.errorMsg.ax5dialog={501:"Duplicate call error"},ax5.info.errorMsg.ax5picker={401:"Can not find target element",402:"Can not find boundID",501:"Can not find content key"},ax5.info.errorMsg["single-uploader"]={460:"There are no files to be uploaded.",461:"There is no uploaded files."},ax5.info.errorMsg.ax5calendar={401:"Can not find target element"},ax5.info.errorMsg.ax5formatter={401:"Can not find target element",402:"Can not find boundID",501:"Can not find pattern"},ax5.info.errorMsg.ax5menu={501:"Can not find menu item"},ax5.info.errorMsg.ax5select={401:"Can not find target element",402:"Can not find boundID",501:"Can not find option"},ax5.info.errorMsg.ax5combobox={401:"Can not find target element",402:"Can not find boundID",501:"Can not find option"},function(){var e=this,t=/^\s*|\s*$/g;if(Object.keys||(Object.keys=function(){var e=Object.prototype.hasOwnProperty,t=!{toString:null}.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],r=n.length;return function(i){if("object"!==("undefined"==typeof i?"undefined":_typeof(i))&&("function"!=typeof i||null===i))throw new TypeError("type err");var o,a,u=[];for(o in i)e.call(i,o)&&u.push(o);if(t)for(a=0;a<r;a++)e.call(i,n[a])&&u.push(n[a]);return u}}()),Array.prototype.forEach||(Array.prototype.forEach=function(e){if(void 0===this||null===this)throw TypeError();var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw TypeError();var r,i=arguments[1];for(r=0;r<n;r++)r in t&&e.call(i,t[r],r,t)}),Function.prototype.bind||(Function.prototype.bind=function(e){function t(){}if("function"!=typeof this)throw TypeError("function");var n=[].slice,r=n.call(arguments,1),i=this,o=function(){return i.apply(this instanceof t?this:e,r.concat(n.call(arguments)))};return t.prototype=i.prototype,o.prototype=new t,o}),function(){if(!document.querySelectorAll&&!document.querySelector&&document.createStyleSheet){var e=document.createStyleSheet(),t=function(t,n){var r,i=document.all,o=i.length,a=[];for(e.addRule(t,"foo:bar"),r=0;r<o&&!("bar"===i[r].currentStyle.foo&&(a.push(i[r]),a.length>n));r+=1);return e.removeRule(0),a};document.querySelectorAll=function(e){return t(e,1/0)},document.querySelector=function(e){return t(e,1)[0]||null}}}(),String.prototype.trim||!function(){String.prototype.trim=function(){return this.replace(t,"")}}(),window.JSON||(window.JSON={parse:function(e){return new Function("","return "+e)()},stringify:function(){var e,t=/["]/g;return e=function(n){var r,i,o;switch(r="undefined"==typeof n?"undefined":_typeof(n)){case"string":return'"'+n.replace(t,'\\"')+'"';case"number":case"boolean":return n.toString();case"undefined":return"undefined";case"function":return'""';case"object":if(!n)return"null";if(r="",n.splice){for(i=0,o=n.length;i<o;i++)r+=","+e(n[i]);return"["+r.substr(1)+"]"}for(i in n)n.hasOwnProperty(i)&&void 0!==n[i]&&"function"!=typeof n[i]&&(r+=',"'+i+'":'+e(n[i]));return"{"+r.substr(1)+"}"}}}()}),function(){if(!document.documentMode||document.documentMode>=9)return!1;var e=Array.prototype.splice;Array.prototype.splice=function(){var t=Array.prototype.slice.call(arguments);return"undefined"==typeof t[1]&&(t[1]=this.length-t[0]),e.apply(this,t)}}(),function(){var e=Array.prototype.slice;try{e.call(document.documentElement)}catch(t){Array.prototype.slice=function(t,n){if(n="undefined"!=typeof n?n:this.length,"[object Array]"===Object.prototype.toString.call(this))return e.call(this,t,n);var r,i,o=[],a=this.length,u=t||0;u=u>=0?u:Math.max(0,a+u);var s="number"==typeof n?Math.min(n,a):a;if(n<0&&(s=a+n),i=s-u,i>0)if(o=new Array(i),this.charAt)for(r=0;r<i;r++)o[r]=this.charAt(u+r);else for(r=0;r<i;r++)o[r]=this[u+r];return o}}}(),function(e){for(var t,n,r={},i=function(){},o="memory".split(","),a="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");t=o.pop();)e[t]=e[t]||r;for(;n=a.pop();)e[n]=e[n]||i}(window.console||{}),!(window.webkitMatchMedia||window.mozMatchMedia||window.oMatchMedia||window.msMatchMedia||window.matchMedia)){var e=document.getElementsByTagName("html")[0];e.className+=" no-matchmedia"}window.matchMedia||(window.matchMedia=function(){var e=window.styleMedia||window.media;if(!e){var t=document.createElement("style"),n=document.getElementsByTagName("script")[0],r=null;t.type="text/css",t.id="matchmediajs-test",n.parentNode.insertBefore(t,n),r="getComputedStyle"in window&&window.getComputedStyle(t,null)||t.currentStyle,e={matchMedium:function(e){var n="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return t.styleSheet?t.styleSheet.cssText=n:t.textContent=n,"1px"===r.width}}}return function(t){return{matches:e.matchMedium(t||"all"),media:t||"all"}}}()),function(){if(window.matchMedia&&window.matchMedia("all").addListener)return!1;var e=window.matchMedia,t=e("only all").matches,n=!1,r=0,i=[],o=function(t){clearTimeout(r),r=setTimeout(function(){for(var t=0,n=i.length;t<n;t++){var r=i[t].mql,o=i[t].listeners||[],a=e(r.media).matches;if(a!==r.matches){r.matches=a;for(var u=0,s=o.length;u<s;u++)o[u].call(window,r)}}},30)};window.matchMedia=function(r){var a=e(r),u=[],s=0;return a.addListener=function(e){t&&(n||(n=!0,window.addEventListener("resize",o,!0)),0===s&&(s=i.push({mql:a,listeners:u})),u.push(e))},a.removeListener=function(e){for(var t=0,n=u.length;t<n;t++)u[t]===e&&u.splice(t,1)},a}}();document.getElementsByTagName("html")[0],document.getElementsByTagName("body")[0]}.call(window),ax5.ui=function(){function e(){this.config={},this.name="root",this.setConfig=function(e,t){return jQuery.extend(!0,this.config,e),"undefined"!=typeof t&&t!==!0||this.init(),this},this.init=function(){console.log(this.config)},this.bindWindowResize=function(e){setTimeout(function(){jQuery(window).resize(function(){this.bindWindowResize__&&clearTimeout(this.bindWindowResize__),this.bindWindowResize__=setTimeout(function(){e.call(this)}.bind(this),10)}.bind(this))}.bind(this),100)},this.stopEvent=function(e){return e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0,!1},this.toString=function(){return this.name+"@"+this.version},this.main=function(){}.apply(this,arguments)}function t(e,t){if(!e||!e.className)throw"invalid call";var n=e.classStore?e.classStore:ax5.ui;if(!n)throw"invalid classStore";ax5.def[e.className]={version:ax5.info.version};var r=function(e,t){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2])}},i=function(e,t,n){return n.name=e,n.version=t,n.instanceId=ax5.getGuid(),n},o=function(t){var n=e.superClass?e.superClass:ax5.ui.root;if(!ax5.util.isFunction(n))throw"invalid superClass";n.call(this),t.prototype=new n},a=function u(){if(!(this&&this instanceof u))throw"invalid call";var n=r(t,arguments);return i(e.className,e.version||"",n)};o.call(this,t),n[e.className]=a}return{root:e,addClass:t}}(),function(e,t){t(e.mustache={})}(window.ax5,function(e){function t(e){return"function"==typeof e}function n(e){return g(e)?"array":"undefined"==typeof e?"undefined":_typeof(e)}function r(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function i(e,t){return null!=e&&"object"===("undefined"==typeof e?"undefined":_typeof(e))&&t in e}function o(e,t){return m.call(e,t)}function a(e){return!o(v,e)}function u(e){return String(e).replace(/[&<>"'\/]/g,function(e){return y[e]})}function s(t,n){function i(){if(v&&!y)for(;m.length;)delete p[m.pop()];else m=[];v=!1,y=!1}function o(e){if("string"==typeof e&&(e=e.split(w,2)),!g(e)||2!==e.length)throw new Error("Invalid tags: "+e);u=new RegExp(r(e[0])+"\\s*"),s=new RegExp("\\s*"+r(e[1])),d=new RegExp("\\s*"+r("}"+e[1]))}if(!t)return[];var u,s,d,h=[],p=[],m=[],v=!1,y=!1;o(n||e.tags);for(var T,S,A,D,C,N,k=new l(t);!k.eos();){if(T=k.pos,A=k.scanUntil(u))for(var j=0,F=A.length;j<F;++j)D=A.charAt(j),a(D)?m.push(p.length):y=!0,p.push(["text",D,T,T+1]),T+=1,"\n"===D&&i();if(!k.scan(u))break;if(v=!0,S=k.scan(E)||"name",k.scan(b),"="===S?(A=k.scanUntil(x),k.scan(x),k.scanUntil(s)):"{"===S?(A=k.scanUntil(d),k.scan(M),k.scanUntil(s),S="&"):A=k.scanUntil(s),!k.scan(s))throw new Error("Unclosed tag at "+k.pos);if(C=[S,A,T,k.pos],p.push(C),"#"===S||"^"===S)h.push(C);else if("/"===S){if(N=h.pop(),!N)throw new Error('Unopened section "'+A+'" at '+T);if(N[1]!==A)throw new Error('Unclosed section "'+N[1]+'" at '+T)}else"name"===S||"{"===S||"&"===S?y=!0:"="===S&&o(A)}if(N=h.pop())throw new Error('Unclosed section "'+N[1]+'" at '+k.pos);return c(f(p))}function f(e){for(var t,n,r=[],i=0,o=e.length;i<o;++i)t=e[i],t&&("text"===t[0]&&n&&"text"===n[0]?(n[1]+=t[1],n[3]=t[3]):(r.push(t),n=t));return r}function c(e){for(var t,n,r=[],i=r,o=[],a=0,u=e.length;a<u;++a)switch(t=e[a],t[0]){case"#":case"^":i.push(t),o.push(t),i=t[4]=[];break;case"/":n=o.pop(),n[5]=t[2],i=o.length>0?o[o.length-1][4]:r;break;default:i.push(t)}return r}function l(e){this.string=e,this.tail=e,this.pos=0}function d(e,t){this.view=e,this.cache={".":this.view,"@each":function(){var e=[];for(var t in this)e.push({"@key":t,"@value":this[t]});return e}},this.parent=t}function h(){this.cache={}}var p=Object.prototype.toString,g=Array.isArray||function(e){return"[object Array]"===p.call(e)},m=RegExp.prototype.test,v=/\S/,y={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},b=/\s*/,w=/\s+/,x=/\s*=/,M=/\s*\}/,E=/#|\^|\/|>|\{|&|=|!/;
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});