fastman2 2.8.5 → 2.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actionsheetman.js +1 -1
- package/alertman.js +1 -1
- package/annotationman.js +4 -4
- package/baseman.js +1 -1
- package/blankpageman.js +1 -1
- package/cascadepickerman.js +1 -1
- package/confirmman.js +1 -1
- package/coreman.js +1 -1
- package/cryptoman.js +2 -2
- package/datetimepickerman.js +1 -1
- package/domman.js +1 -1
- package/eventemitterman.js +1 -1
- package/formvalidateman.js +1 -1
- package/jsbridgeman.js +1 -1
- package/lazyloadman.js +1 -1
- package/loadingman.js +1 -1
- package/modalman.js +1 -1
- package/mutationobserverman.js +1 -1
- package/package.json +1 -1
- package/persistman.js +1 -1
- package/pickerman.js +1 -1
- package/popupman.js +1 -1
- package/postman.js +1 -1
- package/resultpageman.js +1 -1
- package/routerman.js +1 -1
- package/scrollman-infiniteRefresh.js +1 -1
- package/scrollman-pullDownRefresh.js +1 -1
- package/scrollman.js +1 -1
- package/storeman.js +1 -1
- package/tabman.js +1 -1
- package/tipman.js +1 -1
- package/toastman.js +1 -1
- package/toolman.js +1 -1
- package/whenman.js +1 -1
- package/wsman.js +1 -1
package/domman.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.fastman=e():t.fastman=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n=window.webpackJsonpfastman;window.webpackJsonpfastman=function(i,o,a){for(var s,u,c,l=0,f=[];l<i.length;l++)u=i[l],r[u]&&f.push(r[u][0]),r[u]=0;for(s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s]);for(n&&n(i,o,a);f.length;)f.shift()();if(a)for(l=0;l<a.length;l++)c=e(e.s=a[l]);return c};var i={},r={32:0};return e.e=function(t){function n(){s.onerror=s.onload=null,clearTimeout(u);var e=r[t];0!==e&&(e&&e[1](new Error("Loading chunk "+t+" failed.")),r[t]=void 0)}var i=r[t];if(0===i)return new Promise(function(t){t()});if(i)return i[2];var o=new Promise(function(e,n){i=r[t]=[e,n]});i[2]=o;var a=document.getElementsByTagName("head")[0],s=document.createElement("script");s.type="text/javascript",s.charset="utf-8",s.async=!0,s.timeout=12e4,e.nc&&s.setAttribute("nonce",e.nc),s.src=e.p+""+t+".js";var u=setTimeout(n,12e4);return s.onerror=s.onload=n,a.appendChild(s),o},e.m=t,e.c=i,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e.oe=function(t){throw t},e(e.s=244)}({105:function(t,e,n){"use strict";var i={},r=navigator.userAgent,o=r.match(/(Android);?[\s\/]+([\d.]+)?/),a=r.match(/(iPad).*OS\s([\d_]+)/),s=r.match(/(iPod)(.*OS\s([\d_]+))?/),u=!a&&r.match(/(iPhone\sOS)\s([\d_]+)/),c=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/[\d](?=[^?]+).*rv:([0-9.].)/);if(i.ios=i.android=i.iphone=i.ipad=i.androidChrome=i.ie=i.pc=!1,o&&(i.os="android",i.osVersion=o[2],i.android=!0,i.androidChrome=r.toLowerCase().indexOf("chrome")>=0),(a||u||s)&&(i.os="ios",i.ios=!0),u&&!s&&(i.osVersion=u[2].replace(/_/g,"."),i.iphone=!0),a&&(i.osVersion=a[2].replace(/_/g,"."),i.ipad=!0),s&&(i.osVersion=s[3]?s[3].replace(/_/g,"."):null,i.iphone=!0),i.ios&&i.osVersion&&r.indexOf("Version/")>=0&&"10"===i.osVersion.split(".")[0]&&(i.osVersion=r.toLowerCase().split("version/")[1].split(" ")[0]),c&&(i.ie=!0,i.ieVersion=c[1]),i.os||(i.os="pc",i.pc=!0),i.hasNativeHistory=history&&history.pushState,i.webView=(u||a||s)&&r.match(/.*AppleWebKit(?!.*Safari)/i),i.os&&"ios"===i.os){var l=i.osVersion.split(".");i.minimalUi=!i.webView&&(s||u)&&(1*l[0]==7?1*l[1]>=1:1*l[0]>7)&&$('meta[name="viewport"]').length>0&&$('meta[name="viewport"]').attr("content").indexOf("minimal-ui")>=0}var f=$(window).width(),h=$(window).height();i.statusBar=!1,i.webView&&f*h==screen.width*screen.height?i.statusBar=!0:i.statusBar=!1;var p=[];if(i.pixelRatio=window.devicePixelRatio||1,p.push("pixel-ratio-"+Math.floor(i.pixelRatio)),i.pixelRatio>=2&&p.push("retina"),i.os&&(p.push(i.os),i.osVersion&&p.push(i.os+"-"+i.osVersion.split(".")[0],i.os+"-"+i.osVersion.replace(/\./g,"-")),"ios"===i.os))for(var d=parseInt(i.osVersion.split(".")[0],10),m=d-1;m>=6;m--)p.push("ios-gt-"+m);i.statusBar?p.push("with-statusbar-overlay"):$("html").removeClass("with-statusbar-overlay"),p.length>0&&$("html").addClass(p.join(" ")),i.isWeixin=/MicroMessenger/i.test(r),$.device=i},107:function(t,e){!function(t){function e(e,n,i){var r=t.Event(n);return t(e).trigger(r,i),!r.isDefaultPrevented()}function n(t,n,i,r){if(t.global)return e(n||w,i,r)}function i(e){e.global&&0==t.active++&&n(e,null,"ajaxStart")}function r(e){e.global&&!--t.active&&n(e,null,"ajaxStop")}function o(t,e){var i=e.context;if(!1===e.beforeSend.call(i,t,e)||!1===n(e,i,"ajaxBeforeSend",[t,e]))return!1;n(e,i,"ajaxSend",[t,e])}function a(t,e,i,r){var o=i.context;i.success.call(o,t,"success",e),r&&r.resolveWith(o,[t,"success",e]),n(i,o,"ajaxSuccess",[e,i,t]),u("success",e,i)}function s(t,e,i,r,o){var a=r.context;r.error.call(a,i,e,t),o&&o.rejectWith(a,[i,e,t]),n(r,a,"ajaxError",[i,r,t||e]),u(e,i,r)}function u(t,e,i){var o=i.context;i.complete.call(o,e,t),n(i,o,"ajaxComplete",[e,i]),r(i)}function c(t,e,n){if(n.dataFilter==l)return t;var i=n.context;return n.dataFilter.call(i,t,e)}function l(){}function f(t){return t&&(t=t.split(";",2)[0]),t&&(t==S?"html":t==T?"json":x.test(t)?"script":E.test(t)&&"xml")||"text"}function h(t,e){return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")}function p(e){e.processData&&e.data&&"string"!=t.type(e.data)&&(e.data=t.param(e.data,e.traditional)),!e.data||e.type&&"GET"!=e.type.toUpperCase()&&"jsonp"!=e.dataType||(e.url=h(e.url,e.data),e.data=void 0)}function d(e,n,i,r){return t.isFunction(n)&&(r=i,i=n,n=void 0),t.isFunction(i)||(r=i,i=void 0),{url:e,data:n,success:i,dataType:r}}function m(e,n,i,r){var o,a=t.isArray(n),s=t.isPlainObject(n);t.each(n,function(n,u){o=t.type(u),r&&(n=i?r:r+"["+(s||"object"==o||"array"==o?n:"")+"]"),!r&&a?e.add(u.name,u.value):"array"==o||!i&&"object"==o?m(e,u,i,n):e.add(n,u)})}var v,g,y=+new Date,w=window.document,b=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,x=/^(?:text|application)\/javascript/i,E=/^(?:text|application)\/xml/i,T="application/json",S="text/html",C=/^\s*$/,A=w.createElement("a");A.href=window.location.href,t.active=0,t.ajaxJSONP=function(e,n){if(!("type"in e))return t.ajax(e);var i,r,u=e.jsonpCallback,c=(t.isFunction(u)?u():u)||"Zepto"+y++,l=w.createElement("script"),f=window[c],h=function(e){t(l).triggerHandler("error",e||"abort")},p={abort:h};return n&&n.promise(p),t(l).on("load error",function(o,u){clearTimeout(r),t(l).off().remove(),"error"!=o.type&&i?a(i[0],p,e,n):s(null,u||"error",p,e,n),window[c]=f,i&&t.isFunction(f)&&f(i[0]),f=i=void 0}),!1===o(p,e)?(h("abort"),p):(window[c]=function(){i=arguments},l.src=e.url.replace(/\?(.+)=\?/,"?$1="+c),w.head.appendChild(l),e.timeout>0&&(r=setTimeout(function(){h("timeout")},e.timeout)),p)},t.ajaxSettings={type:"GET",beforeSend:l,success:l,error:l,complete:l,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:T,xml:"application/xml, text/xml",html:S,text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0,dataFilter:l},t.ajax=function(e){var n,r,u=t.extend({},e||{}),d=t.Deferred&&t.Deferred();for(v in t.ajaxSettings)void 0===u[v]&&(u[v]=t.ajaxSettings[v]);i(u),u.crossDomain||(n=w.createElement("a"),n.href=u.url,n.href=n.href,u.crossDomain=A.protocol+"//"+A.host!=n.protocol+"//"+n.host),u.url||(u.url=window.location.toString()),(r=u.url.indexOf("#"))>-1&&(u.url=u.url.slice(0,r)),p(u);var m=u.dataType,y=/\?.+=\?/.test(u.url);if(y&&(m="jsonp"),!1!==u.cache&&(e&&!0===e.cache||"script"!=m&&"jsonp"!=m)||(u.url=h(u.url,"_="+Date.now())),"jsonp"==m)return y||(u.url=h(u.url,u.jsonp?u.jsonp+"=?":!1===u.jsonp?"":"callback=?")),t.ajaxJSONP(u,d);var b,x=u.accepts[m],E={},T=function(t,e){E[t.toLowerCase()]=[t,e]},S=/^([\w-]+:)\/\//.test(u.url)?RegExp.$1:window.location.protocol,j=u.xhr(),$=j.setRequestHeader;if(d&&d.promise(j),u.crossDomain||T("X-Requested-With","XMLHttpRequest"),T("Accept",x||"*/*"),(x=u.mimeType||x)&&(x.indexOf(",")>-1&&(x=x.split(",",2)[0]),j.overrideMimeType&&j.overrideMimeType(x)),(u.contentType||!1!==u.contentType&&u.data&&"GET"!=u.type.toUpperCase())&&T("Content-Type",u.contentType||"application/x-www-form-urlencoded"),u.headers)for(g in u.headers)T(g,u.headers[g]);if(j.setRequestHeader=T,j.onreadystatechange=function(){if(4==j.readyState){j.onreadystatechange=l,clearTimeout(b);var e,n=!1;if(j.status>=200&&j.status<300||304==j.status||0==j.status&&"file:"==S){if(m=m||f(u.mimeType||j.getResponseHeader("content-type")),"arraybuffer"==j.responseType||"blob"==j.responseType)e=j.response;else{e=j.responseText;try{e=c(e,m,u),"script"==m?(0,eval)(e):"xml"==m?e=j.responseXML:"json"==m&&(e=C.test(e)?null:t.parseJSON(e))}catch(t){n=t}if(n)return s(n,"parsererror",j,u,d)}a(e,j,u,d)}else s(j.statusText||null,j.status?"error":"abort",j,u,d)}},!1===o(j,u))return j.abort(),s(null,"abort",j,u,d),j;var M=!("async"in u)||u.async;if(j.open(u.type,u.url,M,u.username,u.password),u.xhrFields)for(g in u.xhrFields)j[g]=u.xhrFields[g];for(g in E)$.apply(j,E[g]);return u.timeout>0&&(b=setTimeout(function(){j.onreadystatechange=l,j.abort(),s(null,"timeout",j,u,d)},u.timeout)),j.send(u.data?u.data:null),j},t.get=function(){return t.ajax(d.apply(null,arguments))},t.post=function(){var e=d.apply(null,arguments);return e.type="POST",t.ajax(e)},t.getJSON=function(){var e=d.apply(null,arguments);return e.dataType="json",t.ajax(e)},t.fn.load=function(e,n,i){if(!this.length)return this;var r,o=this,a=e.split(/\s/),s=d(e,n,i),u=s.success;return a.length>1&&(s.url=a[0],r=a[1]),s.success=function(e){o.html(r?t("<div>").html(e.replace(b,"")).find(r):e),u&&u.apply(o,arguments)},t.ajax(s),this};var j=encodeURIComponent;t.param=function(e,n){var i=[];return i.add=function(e,n){t.isFunction(n)&&(n=n()),null==n&&(n=""),this.push(j(e)+"="+j(n))},m(i,e,n),i.join("&").replace(/%20/g,"+")}}(Zepto)},108:function(t,e){!function(t){function e(e,i){var u=e[s],c=u&&r[u];if(void 0===i)return c||n(e);if(c){if(i in c)return c[i];var l=a(i);if(l in c)return c[l]}return o.call(t(e),i)}function n(e,n,o){var u=e[s]||(e[s]=++t.uuid),c=r[u]||(r[u]=i(e));return void 0!==n&&(c[a(n)]=o),c}function i(e){var n={};return t.each(e.attributes||u,function(e,i){0==i.name.indexOf("data-")&&(n[a(i.name.replace("data-",""))]=t.zepto.deserializeValue(i.value))}),n}var r={},o=t.fn.data,a=t.camelCase,s=t.expando="Zepto"+ +new Date,u=[];t.fn.data=function(i,r){return void 0===r?t.isPlainObject(i)?this.each(function(e,r){t.each(i,function(t,e){n(r,t,e)})}):0 in this?e(this[0],i):void 0:this.each(function(){n(this,i,r)})},t.data=function(e,n,i){return t(e).data(n,i)},t.hasData=function(e){var n=e[s],i=n&&r[n];return!!i&&!t.isEmptyObject(i)},t.fn.removeData=function(e){return"string"==typeof e&&(e=e.split(/\s+/)),this.each(function(){var n=this[s],i=n&&r[n];i&&t.each(e||i,function(t){delete i[e?a(this):t]})})},["remove","empty"].forEach(function(e){var n=t.fn[e];t.fn[e]=function(){var t=this.find("*");return"remove"===e&&(t=t.add(this)),t.removeData(),n.call(this)}})}(Zepto)},109:function(t,e){!function(t){function e(t){return t._zid||(t._zid=h++)}function n(t,n,o,a){if(n=i(n),n.ns)var s=r(n.ns);return(v[e(t)]||[]).filter(function(t){return t&&(!n.e||t.e==n.e)&&(!n.ns||s.test(t.ns))&&(!o||e(t.fn)===e(o))&&(!a||t.sel==a)})}function i(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function r(t){return new RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$)")}function o(t,e){return t.del&&!y&&t.e in w||!!e}function a(t){return b[t]||y&&w[t]||t}function s(n,r,s,u,l,h,p){var d=e(n),m=v[d]||(v[d]=[]);r.split(/\s/).forEach(function(e){if("ready"==e)return t(document).ready(s);var r=i(e);r.fn=s,r.sel=l,r.e in b&&(s=function(e){var n=e.relatedTarget;if(!n||n!==this&&!t.contains(this,n))return r.fn.apply(this,arguments)}),r.del=h;var d=h||s;r.proxy=function(t){if(t=c(t),!t.isImmediatePropagationStopped()){t.data=u;var e=d.apply(n,t._args==f?[t]:[t].concat(t._args));return!1===e&&(t.preventDefault(),t.stopPropagation()),e}},r.i=m.length,m.push(r),"addEventListener"in n&&n.addEventListener(a(r.e),r.proxy,o(r,p))})}function u(t,i,r,s,u){var c=e(t);(i||"").split(/\s/).forEach(function(e){n(t,e,r,s).forEach(function(e){delete v[c][e.i],"removeEventListener"in t&&t.removeEventListener(a(e.e),e.proxy,o(e,u))})})}function c(e,n){return!n&&e.isDefaultPrevented||(n||(n=e),t.each(S,function(t,i){var r=n[t];e[t]=function(){return this[i]=x,r&&r.apply(n,arguments)},e[i]=E}),e.timeStamp||(e.timeStamp=Date.now()),(n.defaultPrevented!==f?n.defaultPrevented:"returnValue"in n?!1===n.returnValue:n.getPreventDefault&&n.getPreventDefault())&&(e.isDefaultPrevented=x)),e}function l(t){var e,n={originalEvent:t};for(e in t)T.test(e)||t[e]===f||(n[e]=t[e]);return c(n,t)}var f,h=1,p=Array.prototype.slice,d=t.isFunction,m=function(t){return"string"==typeof t},v={},g={},y="onfocusin"in window,w={focus:"focusin",blur:"focusout"},b={mouseenter:"mouseover",mouseleave:"mouseout"};g.click=g.mousedown=g.mouseup=g.mousemove="MouseEvents",t.event={add:s,remove:u},t.proxy=function(n,i){var r=2 in arguments&&p.call(arguments,2);if(d(n)){var o=function(){return n.apply(i,r?r.concat(p.call(arguments)):arguments)};return o._zid=e(n),o}if(m(i))return r?(r.unshift(n[i],n),t.proxy.apply(null,r)):t.proxy(n[i],n);throw new TypeError("expected function")},t.fn.bind=function(t,e,n){return this.on(t,e,n)},t.fn.unbind=function(t,e){return this.off(t,e)},t.fn.one=function(t,e,n,i){return this.on(t,e,n,i,1)};var x=function(){return!0},E=function(){return!1},T=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,S={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};t.fn.delegate=function(t,e,n){return this.on(e,t,n)},t.fn.undelegate=function(t,e,n){return this.off(e,t,n)},t.fn.live=function(e,n){return t(document.body).delegate(this.selector,e,n),this},t.fn.die=function(e,n){return t(document.body).undelegate(this.selector,e,n),this},t.fn.on=function(e,n,i,r,o){var a,c,h=this;return e&&!m(e)?(t.each(e,function(t,e){h.on(t,n,i,e,o)}),h):(m(n)||d(r)||!1===r||(r=i,i=n,n=f),r!==f&&!1!==i||(r=i,i=f),!1===r&&(r=E),h.each(function(f,h){o&&(a=function(t){return u(h,t.type,r),r.apply(this,arguments)}),n&&(c=function(e){var i,o=t(e.target).closest(n,h).get(0);if(o&&o!==h)return i=t.extend(l(e),{currentTarget:o,liveFired:h}),(a||r).apply(o,[i].concat(p.call(arguments,1)))}),s(h,e,r,i,n,c||a)}))},t.fn.off=function(e,n,i){var r=this;return e&&!m(e)?(t.each(e,function(t,e){r.off(t,n,e)}),r):(m(n)||d(i)||!1===i||(i=n,n=f),!1===i&&(i=E),r.each(function(){u(this,e,i,n)}))},t.fn.trigger=function(e,n){return e=m(e)||t.isPlainObject(e)?t.Event(e):c(e),e._args=n,this.each(function(){e.type in w&&"function"==typeof this[e.type]?this[e.type]():"dispatchEvent"in this?this.dispatchEvent(e):t(this).triggerHandler(e,n)})},t.fn.triggerHandler=function(e,i){var r,o;return this.each(function(a,s){r=l(m(e)?t.Event(e):e),r._args=i,r.target=s,t.each(n(s,e.type||e),function(t,e){if(o=e.proxy(r),r.isImmediatePropagationStopped())return!1})}),o},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(e){t.fn[e]=function(t){return 0 in arguments?this.bind(e,t):this.trigger(e)}}),t.Event=function(t,e){m(t)||(e=t,t=e.type);var n=document.createEvent(g[t]||"Events"),i=!0;if(e)for(var r in e)"bubbles"==r?i=!!e[r]:n[r]=e[r];return n.initEvent(t,i,!0),c(n)}}(Zepto)},110:function(t,e){var n=function(){function t(t){return null==t?String(t):X[J.call(t)]||"object"}function e(e){return"function"==t(e)}function n(t){return null!=t&&t==t.window}function i(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function r(e){return"object"==t(e)}function o(t){return r(t)&&!n(t)&&Object.getPrototypeOf(t)==Object.prototype}function a(t){var e=!!t&&"length"in t&&t.length,i=S.type(t);return"function"!=i&&!n(t)&&("array"==i||0===e||"number"==typeof e&&e>0&&e-1 in t)}function s(t){return P.call(t,function(t){return null!=t})}function u(t){return t.length>0?S.fn.concat.apply([],t):t}function c(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function l(t){return t in V?V[t]:V[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function f(t,e){return"number"!=typeof e||F[c(t)]?e:e+"px"}function h(t){var e,n;return D[t]||(e=O.createElement(t),O.body.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),D[t]=n),D[t]}function p(t){return"children"in t?N.call(t.children):S.map(t.childNodes,function(t){if(1==t.nodeType)return t})}function d(t,e){var n,i=t?t.length:0;for(n=0;n<i;n++)this[n]=t[n];this.length=i,this.selector=e||""}function m(t,e,n){for(T in e)n&&(o(e[T])||Q(e[T]))?(o(e[T])&&!o(t[T])&&(t[T]={}),Q(e[T])&&!Q(t[T])&&(t[T]=[]),m(t[T],e[T],n)):e[T]!==E&&(t[T]=e[T])}function v(t,e){return null==e?S(t):S(t).filter(e)}function g(t,n,i,r){return e(n)?n.call(t,i,r):n}function y(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function w(t,e){var n=t.className||"",i=n&&n.baseVal!==E;if(e===E)return i?n.baseVal:n;i?n.baseVal=e:t.className=e}function b(t){try{return t?"true"==t||"false"!=t&&("null"==t?null:+t+""==t?+t:/^[\[\{]/.test(t)?S.parseJSON(t):t):t}catch(e){return t}}function x(t,e){e(t);for(var n=0,i=t.childNodes.length;n<i;n++)x(t.childNodes[n],e)}var E,T,S,C,A,j,$=[],M=$.concat,P=$.filter,N=$.slice,O=window.document,D={},V={},F={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},k=/^\s*<(\w+|!)[^>]*>/,L=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,_=/^(?:body|html)$/i,R=/([A-Z])/g,I=["val","css","html","text","data","width","height","offset"],q=["after","prepend","before","append"],Z=O.createElement("table"),B=O.createElement("tr"),U={tr:O.createElement("tbody"),tbody:Z,thead:Z,tfoot:Z,td:B,th:B,"*":O.createElement("div")},H=/complete|loaded|interactive/,W=/^[\w-]*$/,X={},J=X.toString,Y={},G=O.createElement("div"),K={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},Q=Array.isArray||function(t){return t instanceof Array};return Y.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var i,r=t.parentNode,o=!r;return o&&(r=G).appendChild(t),i=~Y.qsa(r,e).indexOf(t),o&&G.removeChild(t),i},A=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},j=function(t){return P.call(t,function(e,n){return t.indexOf(e)==n})},Y.fragment=function(t,e,n){var i,r,a;return L.test(t)&&(i=S(O.createElement(RegExp.$1))),i||(t.replace&&(t=t.replace(z,"<$1></$2>")),e===E&&(e=k.test(t)&&RegExp.$1),e in U||(e="*"),a=U[e],a.innerHTML=""+t,i=S.each(N.call(a.childNodes),function(){a.removeChild(this)})),o(n)&&(r=S(i),S.each(n,function(t,e){I.indexOf(t)>-1?r[t](e):r.attr(t,e)})),i},Y.Z=function(t,e){return new d(t,e)},Y.isZ=function(t){return t instanceof Y.Z},Y.init=function(t,n){var i;if(!t)return Y.Z();if("string"==typeof t)if(t=t.trim(),"<"==t[0]&&k.test(t))i=Y.fragment(t,RegExp.$1,n),t=null;else{if(n!==E)return S(n).find(t);i=Y.qsa(O,t)}else{if(e(t))return S(O).ready(t);if(Y.isZ(t))return t;if(Q(t))i=s(t);else if(r(t))i=[t],t=null;else if(k.test(t))i=Y.fragment(t.trim(),RegExp.$1,n),t=null;else{if(n!==E)return S(n).find(t);i=Y.qsa(O,t)}}return Y.Z(i,t)},S=function(t,e){return Y.init(t,e)},S.extend=function(t){var e,n=N.call(arguments,1);return"boolean"==typeof t&&(e=t,t=n.shift()),n.forEach(function(n){m(t,n,e)}),t},Y.qsa=function(t,e){var n,i="#"==e[0],r=!i&&"."==e[0],o=i||r?e.slice(1):e,a=W.test(o);return t.getElementById&&a&&i?(n=t.getElementById(o))?[n]:[]:1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType?[]:N.call(a&&!i&&t.getElementsByClassName?r?t.getElementsByClassName(o):t.getElementsByTagName(e):t.querySelectorAll(e))},S.contains=O.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e&&(e=e.parentNode);)if(e===t)return!0;return!1},S.type=t,S.isFunction=e,S.isWindow=n,S.isArray=Q,S.isPlainObject=o,S.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},S.isNumeric=function(t){var e=Number(t),n=typeof t;return null!=t&&"boolean"!=n&&("string"!=n||t.length)&&!isNaN(e)&&isFinite(e)||!1},S.inArray=function(t,e,n){return $.indexOf.call(e,t,n)},S.camelCase=A,S.trim=function(t){return null==t?"":String.prototype.trim.call(t)},S.uuid=0,S.support={},S.expr={},S.noop=function(){},S.map=function(t,e){var n,i,r,o=[];if(a(t))for(i=0;i<t.length;i++)null!=(n=e(t[i],i))&&o.push(n);else for(r in t)null!=(n=e(t[r],r))&&o.push(n);return u(o)},S.each=function(t,e){var n,i;if(a(t)){for(n=0;n<t.length;n++)if(!1===e.call(t[n],n,t[n]))return t}else for(i in t)if(!1===e.call(t[i],i,t[i]))return t;return t},S.grep=function(t,e){return P.call(t,e)},window.JSON&&(S.parseJSON=JSON.parse),S.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){X["[object "+e+"]"]=e.toLowerCase()}),S.fn={constructor:Y.Z,length:0,forEach:$.forEach,reduce:$.reduce,push:$.push,sort:$.sort,splice:$.splice,indexOf:$.indexOf,concat:function(){var t,e,n=[];for(t=0;t<arguments.length;t++)e=arguments[t],n[t]=Y.isZ(e)?e.toArray():e;return M.apply(Y.isZ(this)?this.toArray():this,n)},map:function(t){return S(S.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return S(N.apply(this,arguments))},ready:function(t){return H.test(O.readyState)&&O.body?t(S):O.addEventListener("DOMContentLoaded",function(){t(S)},!1),this},get:function(t){return t===E?N.call(this):this[t>=0?t:t+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(t){return $.every.call(this,function(e,n){return!1!==t.call(e,n,e)}),this},filter:function(t){return e(t)?this.not(this.not(t)):S(P.call(this,function(e){return Y.matches(e,t)}))},add:function(t,e){return S(j(this.concat(S(t,e))))},is:function(t){return this.length>0&&Y.matches(this[0],t)},not:function(t){var n=[];if(e(t)&&t.call!==E)this.each(function(e){t.call(this,e)||n.push(this)});else{var i="string"==typeof t?this.filter(t):a(t)&&e(t.item)?N.call(t):S(t);this.forEach(function(t){i.indexOf(t)<0&&n.push(t)})}return S(n)},has:function(t){return this.filter(function(){return r(t)?S.contains(this,t):S(this).find(t).size()})},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!r(t)?t:S(t)},last:function(){var t=this[this.length-1];return t&&!r(t)?t:S(t)},find:function(t){var e=this;return t?"object"==typeof t?S(t).filter(function(){var t=this;return $.some.call(e,function(e){return S.contains(e,t)})}):1==this.length?S(Y.qsa(this[0],t)):this.map(function(){return Y.qsa(this,t)}):S()},closest:function(t,e){var n=[],r="object"==typeof t&&S(t);return this.each(function(o,a){for(;a&&!(r?r.indexOf(a)>=0:Y.matches(a,t));)a=a!==e&&!i(a)&&a.parentNode;a&&n.indexOf(a)<0&&n.push(a)}),S(n)},parents:function(t){for(var e=[],n=this;n.length>0;)n=S.map(n,function(t){if((t=t.parentNode)&&!i(t)&&e.indexOf(t)<0)return e.push(t),t});return v(e,t)},parent:function(t){return v(j(this.pluck("parentNode")),t)},children:function(t){return v(this.map(function(){return p(this)}),t)},contents:function(){return this.map(function(){return this.contentDocument||N.call(this.childNodes)})},siblings:function(t){return v(this.map(function(t,e){return P.call(p(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(t){return S.map(this,function(e){return e[t]})},show:function(){return this.each(function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=h(this.nodeName))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var n=e(t);if(this[0]&&!n)var i=S(t).get(0),r=i.parentNode||this.length>1;return this.each(function(e){S(this).wrapAll(n?t.call(this,e):r?i.cloneNode(!0):i)})},wrapAll:function(t){if(this[0]){S(this[0]).before(t=S(t));for(var e;(e=t.children()).length;)t=e.first();S(t).append(this)}return this},wrapInner:function(t){var n=e(t);return this.each(function(e){var i=S(this),r=i.contents(),o=n?t.call(this,e):t;r.length?r.wrapAll(o):i.append(o)})},unwrap:function(){return this.parent().each(function(){S(this).replaceWith(S(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(t){return this.each(function(){var e=S(this);(t===E?"none"==e.css("display"):t)?e.show():e.hide()})},prev:function(t){return S(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return S(this.pluck("nextElementSibling")).filter(t||"*")},html:function(t){return 0 in arguments?this.each(function(e){var n=this.innerHTML;S(this).empty().append(g(this,t,e,n))}):0 in this?this[0].innerHTML:null},text:function(t){return 0 in arguments?this.each(function(e){var n=g(this,t,e,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this.pluck("textContent").join(""):null},attr:function(t,e){var n;return"string"!=typeof t||1 in arguments?this.each(function(n){if(1===this.nodeType)if(r(t))for(T in t)y(this,T,t[T]);else y(this,t,g(this,e,n,this.getAttribute(t)))}):0 in this&&1==this[0].nodeType&&null!=(n=this[0].getAttribute(t))?n:E},removeAttr:function(t){return this.each(function(){1===this.nodeType&&t.split(" ").forEach(function(t){y(this,t)},this)})},prop:function(t,e){return t=K[t]||t,1 in arguments?this.each(function(n){this[t]=g(this,e,n,this[t])}):this[0]&&this[0][t]},removeProp:function(t){return t=K[t]||t,this.each(function(){delete this[t]})},data:function(t,e){var n="data-"+t.replace(R,"-$1").toLowerCase(),i=1 in arguments?this.attr(n,e):this.attr(n);return null!==i?b(i):E},val:function(t){return 0 in arguments?(null==t&&(t=""),this.each(function(e){this.value=g(this,t,e,this.value)})):this[0]&&(this[0].multiple?S(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(t){if(t)return this.each(function(e){var n=S(this),i=g(this,t,e,n.offset()),r=n.offsetParent().offset(),o={top:i.top-r.top,left:i.left-r.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)});if(!this.length)return null;if(O.documentElement!==this[0]&&!S.contains(O.documentElement,this[0]))return{top:0,left:0};var e=this[0].getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,width:Math.round(e.width),height:Math.round(e.height)}},css:function(e,n){if(arguments.length<2){var i=this[0];if("string"==typeof e){if(!i)return;return i.style[A(e)]||getComputedStyle(i,"").getPropertyValue(e)}if(Q(e)){if(!i)return;var r={},o=getComputedStyle(i,"");return S.each(e,function(t,e){r[e]=i.style[A(e)]||o.getPropertyValue(e)}),r}}var a="";if("string"==t(e))n||0===n?a=c(e)+":"+f(e,n):this.each(function(){this.style.removeProperty(c(e))});else for(T in e)e[T]||0===e[T]?a+=c(T)+":"+f(T,e[T])+";":this.each(function(){this.style.removeProperty(c(T))});return this.each(function(){this.style.cssText+=";"+a})},index:function(t){return t?this.indexOf(S(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return!!t&&$.some.call(this,function(t){return this.test(w(t))},l(t))},addClass:function(t){return t?this.each(function(e){if("className"in this){C=[];var n=w(this);g(this,t,e,n).split(/\s+/g).forEach(function(t){S(this).hasClass(t)||C.push(t)},this),C.length&&w(this,n+(n?" ":"")+C.join(" "))}}):this},removeClass:function(t){return this.each(function(e){if("className"in this){if(t===E)return w(this,"");C=w(this),g(this,t,e,C).split(/\s+/g).forEach(function(t){C=C.replace(l(t)," ")}),w(this,C.trim())}})},toggleClass:function(t,e){return t?this.each(function(n){var i=S(this);g(this,t,n,w(this)).split(/\s+/g).forEach(function(t){(e===E?!i.hasClass(t):e)?i.addClass(t):i.removeClass(t)})}):this},scrollTop:function(t){if(this.length){var e="scrollTop"in this[0];return t===E?e?this[0].scrollTop:this[0].pageYOffset:this.each(e?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var e="scrollLeft"in this[0];return t===E?e?this[0].scrollLeft:this[0].pageXOffset:this.each(e?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),n=this.offset(),i=_.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(S(t).css("margin-top"))||0,n.left-=parseFloat(S(t).css("margin-left"))||0,i.top+=parseFloat(S(e[0]).css("border-top-width"))||0,i.left+=parseFloat(S(e[0]).css("border-left-width"))||0,{top:n.top-i.top,left:n.left-i.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||O.body;t&&!_.test(t.nodeName)&&"static"==S(t).css("position");)t=t.offsetParent;return t})}},S.fn.detach=S.fn.remove,["width","height"].forEach(function(t){var e=t.replace(/./,function(t){return t[0].toUpperCase()});S.fn[t]=function(r){var o,a=this[0];return r===E?n(a)?a["inner"+e]:i(a)?a.documentElement["scroll"+e]:(o=this.offset())&&o[t]:this.each(function(e){a=S(this),a.css(t,g(this,r,e,a[t]()))})}}),q.forEach(function(e,n){var i=n%2;S.fn[e]=function(){var e,r,o=S.map(arguments,function(n){var i=[];return e=t(n),"array"==e?(n.forEach(function(t){return t.nodeType!==E?i.push(t):S.zepto.isZ(t)?i=i.concat(t.get()):void(i=i.concat(Y.fragment(t)))}),i):"object"==e||null==n?n:Y.fragment(n)}),a=this.length>1;return o.length<1?this:this.each(function(t,e){r=i?e:e.parentNode,e=0==n?e.nextSibling:1==n?e.firstChild:2==n?e:null;var s=S.contains(O.documentElement,r);o.forEach(function(t){if(a)t=t.cloneNode(!0);else if(!r)return S(t).remove();r.insertBefore(t,e),s&&x(t,function(t){if(!(null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src)){var e=t.ownerDocument?t.ownerDocument.defaultView:window;e.eval.call(e,t.innerHTML)}})})})},S.fn[i?e+"To":"insert"+(n?"Before":"After")]=function(t){return S(t)[e](this),this}}),Y.Z.prototype=d.prototype=S.fn,Y.uniq=j,Y.deserializeValue=b,S.zepto=Y,S}();window.Zepto=n,void 0===window.$&&(window.$=n)},244:function(t,e,n){n(110),n(109),n(96),n(108),n(107),n(105),n(79),t.exports=n(78)},31:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.compareVersion=function(t,e){var n=t.split("."),i=e.split(".");if(t===e)return 0;for(var r=0;r<n.length;r++){var o=parseInt(n[r]);if(!i[r])return 1;var a=parseInt(i[r]);if(o<a)return-1;if(o>a)return 1}return-1}},78:function(t,e,n){"use strict";function i(){var t=0,e=0,n=screen.height,i=screen.width,r=document.documentElement.clientHeight,u=document.documentElement.clientWidth,f=window.devicePixelRatio;switch(window.orientation){case 0:case 180:s?(t=Math.max(n,i),e=Math.max(r,u),o||a||t/f>=e&&u!=i&&(t/=f)):(t=Math.min(n,i),e=Math.min(r,u),o||a||Math.ceil(t/f)>=e&&r!=n&&(t/=f));break;case-90:case 90:s?(t=Math.min(n,i),e=Math.min(r,u),o||a||t/f>=e&&r!=n&&(t/=f)):c||l?(t=Math.max(n,i),e=Math.max(r,u),o||a||t/f>=e&&u!=i&&(t=t/f-100)):(t=Math.max(n,i),e=Math.max(r,u),o||a||Math.ceil(t/f)>=e&&u!=i&&(t/=f));break;default:t=i}window.remFontSize=t/16,document.documentElement.style.fontSize=t/16+"px";try{for(var h=document.getElementById(kb.settings.id+"_kb").querySelectorAll(".keyboardEle"),p=0;p<h.length;p++)$(h[p]).removeClass("active").removeClass("active2")}catch(t){}}var r=n(31),o=window.navigator.appVersion.match(/iPad/gi),a=window.navigator.appVersion.match(/iphone/gi),s=window.navigator.appVersion.match(/SM-T800/gi),u=window.navigator.appVersion.match(/UCBrowser/gi),c=window.navigator.appVersion.match(/Lenovo A890e/gi)&&window.navigator.appVersion.match(/360 Aphone Browser/gi),l=window.navigator.appVersion.match(/HUAWEI D2-6070/gi)&&window.navigator.appVersion.match(/LieBaoFast/gi),f=window.navigator.userAgent.match(/Android[\S\s]+AppleWebkit\/(\d{3})/i),h=window.navigator.userAgent.match(/U3\/((\d+|\.){5,})/i),p=h&&parseInt(h[1].split(".").join(""),10)>=80,d=window.navigator.appVersion.match(/(iphone|ipad|ipod)/gi),m=!0,v=window.navigator.appVersion.match(/android/gi);if(function(){o&&(document.querySelector("html").className="ua-ipad")}(),v&&u){var g=null;window.addEventListener("orientationchange",function(){m=!1,clearTimeout(g),g=setTimeout(i,300)},!1);navigator.userAgent.match(/Firefox/gi)&&window.addEventListener("resize",function(){clearTimeout(g),g=setTimeout(i,300)},!1),i()}else!function(t){function e(){var t=o.getAttribute("data-dpr");if(t)try{a=parseInt(t)}catch(t){}var e=o.getAttribute("data-android-dpr");if(e&&v)try{a=parseInt(e)}catch(t){}var n=o.getAttribute("data-ios-dpr");if(n&&d)try{a=parseInt(n)}catch(t){}if("no"!=o.getAttribute("data-rem")){var i=o.getBoundingClientRect().width/a,r=i/16,s=r*a;$.device.pc&&(s=30),o.style.fontSize=s+"px";var u=o.getAttribute("data-sysfont");if(v&&u){var c=document.createElement("div");c.style.cssText="width:1rem;height:0;overflow: hidden;position:absolute;z-index:-1;visibility: hidden;",document.body.appendChild(c);var l=c.offsetWidth;document.body.removeChild(c);var f=document.querySelector("html"),h=parseFloat(f.style.fontSize)||0,p=h;l!=h&&(p=Math.pow(h,2)/l),f.style.fontSize=p+"px"}}}var n,i=t.document,o=i.documentElement,a=t.devicePixelRatio||1;d||f&&f[1]>534||p||(a=1),a=parseInt(a);var s=o.getAttribute("data-dpr");if(s)try{a=parseInt(s)}catch(t){}var u=o.getAttribute("data-android-dpr");if(u&&v)try{a=parseInt(u)}catch(t){}var c=o.getAttribute("data-ios-dpr");if(c&&d)try{a=parseInt(c)}catch(t){}o.setAttribute("data-dpr",a);var l=1/a,h=i.querySelector('meta[name="viewport"]');h||(h=i.createElement("meta"),h.setAttribute("name","viewport"),i.head.appendChild(h)),$.device.ios&&r.compareVersion($.device.osVersion,"10.0.0")<0&&(l=1),o.setAttribute("data-scale",l),"no"!=o.getAttribute("data-rem")&&h.setAttribute("content","width=device-width,user-scalable=no,initial-scale="+l+",maximum-scale="+l+",minimum-scale="+l+",viewport-fit=cover"),$.device.pc||t.addEventListener("resize",function(){clearTimeout(n),n=setTimeout(e,300)},!1),t.addEventListener("pageshow",function(t){t.persisted&&(clearTimeout(n),n=setTimeout(e,300))},!1),e()}(window)},79:function(t,e,n){"use strict";function i(t,e){function n(t){if(t.target===this)for(e.call(this,t),i=0;i<r.length;i++)o.off(r[i],n)}var i,r=t,o=this;if(e)for(i=0;i<r.length;i++)o.on(r[i],n)}["width","height"].forEach(function(t){var e=t.replace(/./,function(t){return t[0].toUpperCase()});$.fn["outer"+e]=function(e){var n=this;if(n){var i=n[t]();return{width:["left","right"],height:["top","bottom"]}[t].forEach(function(t){e&&(i+=parseInt(n.css("margin-"+t),10))}),i}return null}}),$.support=function(){return{touch:!!("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch)}}(),$.touchEvents={start:$.support.touch?"touchstart":"mousedown",move:$.support.touch?"touchmove":"mousemove",end:$.support.touch?"touchend":"mouseup"},$.getTranslate=function(t,e){var n,i,r,o;return void 0===e&&(e="x"),r=window.getComputedStyle(t,null),window.WebKitCSSMatrix?o=new WebKitCSSMatrix("none"===r.webkitTransform?"":r.webkitTransform):(o=r.MozTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),"x"===e&&(i=window.WebKitCSSMatrix?o.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===e&&(i=window.WebKitCSSMatrix?o.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||0},$.requestAnimationFrame=function(t){return window.requestAnimationFrame?window.requestAnimationFrame(t):window.webkitRequestAnimationFrame?window.webkitRequestAnimationFrame(t):window.mozRequestAnimationFrame?window.mozRequestAnimationFrame(t):window.setTimeout(t,1e3/60)},$.cancelAnimationFrame=function(t){return window.cancelAnimationFrame?window.cancelAnimationFrame(t):window.webkitCancelAnimationFrame?window.webkitCancelAnimationFrame(t):window.mozCancelAnimationFrame?window.mozCancelAnimationFrame(t):window.clearTimeout(t)},$.fn.dataset=function(){var t={},e=this[0].dataset;for(var n in e){var i=t[n]=e[n];"false"===i?t[n]=!1:"true"===i?t[n]=!0:parseFloat(i)===1*i&&(t[n]=1*i)}return $.extend({},t,this[0].__eleData)},$.fn.zeptoData=$.fn.data,$.fn.data=function(t,e){var n=$(this).dataset();if(!t)return n;if(void 0===e){var i=n[t],r=this[0].__eleData;return r&&t in r?r[t]:i}for(var o=0;o<this.length;o++){var a=this[o];t in n&&delete a.dataset[t],a.__eleData||(a.__eleData={}),a.__eleData[t]=e}return this},$.fn.animationEnd=function(t){return i.call(this,["webkitAnimationEnd","animationend"],t),this},$.fn.transitionEnd=function(t){return i.call(this,["webkitTransitionEnd","transitionend"],t),this},$.fn.transition=function(t){"string"!=typeof t&&(t+="ms");for(var e=0;e<this.length;e++){var n=this[e].style;n.webkitTransitionDuration=n.MozTransitionDuration=n.transitionDuration=t}return this},$.fn.transform=function(t){for(var e=0;e<this.length;e++){var n=this[e].style;n.webkitTransform=n.MozTransform=n.transform=t}return this},$.fn.prevAll=function(t){var e=[],n=this[0];if(!n)return $([]);for(;n.previousElementSibling;){var i=n.previousElementSibling;t?$(i).is(t)&&e.push(i):e.push(i),n=i}return $(e)},$.fn.nextAll=function(t){var e=[],n=this[0];if(!n)return $([]);for(;n.nextElementSibling;){var i=n.nextElementSibling;t?$(i).is(t)&&e.push(i):e.push(i),n=i}return $(e)},$.fn.show=function(){function t(t){var n,i;return e[t]||(n=document.createElement(t),document.body.appendChild(n),i=getComputedStyle(n,"").getPropertyValue("display"),n.parentNode.removeChild(n),"none"===i&&(i="block"),e[t]=i),e[t]}var e={};return this.each(function(){"none"===this.style.display&&(this.style.display=""),getComputedStyle(this,"").getPropertyValue("display"),this.style.display=t(this.nodeName)})},$.fn.serializeArray=function(){var t,e,n=[],i=function e(i){if(i.forEach)return i.forEach(e);n.push({name:t,value:i})};return this[0]&&$.each(this[0].elements,function(n,r){e=r.type,t=r.name,t&&"fieldset"!=r.nodeName.toLowerCase()&&!r.disabled&&"submit"!=e&&"reset"!=e&&"button"!=e&&"file"!=e&&("radio"!=e&&"checkbox"!=e||r.checked)&&i($(r).val())}),n},$.fn.serialize=function(){var t=[];return this.serializeArray().forEach(function(e){t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))}),t.join("&")}},96:function(t,e,n){"use strict";!function(t){function e(t,e,n,i){return Math.abs(t-e)>=Math.abs(n-i)?t-e>0?"Left":"Right":n-i>0?"Up":"Down"}function n(){l=null,h.last&&(h.el.trigger("longTap"),h={})}function i(){l&&clearTimeout(l),l=null}function r(){s&&clearTimeout(s),u&&clearTimeout(u),c&&clearTimeout(c),l&&clearTimeout(l),s=u=c=l=null,h={}}function o(t){return("touch"==t.pointerType||t.pointerType==t.MSPOINTER_TYPE_TOUCH)&&t.isPrimary}function a(t,e){return t.type=="pointer"+e||t.type.toLowerCase()=="mspointer"+e}var s,u,c,l,f,h={};t(document).ready(function(){var p,d,m,v,g=0,y=0;"MSGesture"in window&&(f=new MSGesture,f.target=document.body),t(document).bind("MSGestureEnd",function(t){var e=t.velocityX>1?"Right":t.velocityX<-1?"Left":t.velocityY>1?"Down":t.velocityY<-1?"Up":null;e&&(h.el.trigger("swipe"),h.el.trigger("swipe"+e))}).on("touchstart MSPointerDown",function(e){(v=a(e,"down"))&&!o(e)||(m=v?e:e.touches[0],e.touches&&1===e.touches.length&&h.x2&&(h.x2=void 0,h.y2=void 0),p=Date.now(),d=p-(h.last||p),h.el=t("tagName"in m.target?m.target:m.target.parentNode),s&&clearTimeout(s),h.x1=m.pageX,h.y1=m.pageY,d>0&&d<=250&&(h.isDoubleTap=!0),h.last=p,l=setTimeout(n,750),f&&v&&f.addPointer(e.pointerId))}).on("touchmove MSPointerMove",function(t){(v=a(t,"move"))&&!o(t)||(m=v?t:t.touches[0],i(),h.x2=m.pageX,h.y2=m.pageY,g+=Math.abs(h.x1-h.x2),y+=Math.abs(h.y1-h.y2))}).on("touchend MSPointerUp",function(n){(v=a(n,"up"))&&!o(n)||(i(),h.x2&&Math.abs(h.x1-h.x2)>30||h.y2&&Math.abs(h.y1-h.y2)>30?c=setTimeout(function(){h.el&&(h.el.trigger("swipe"),h.el.trigger("swipe"+e(h.x1,h.x2,h.y1,h.y2))),h={}},0):"last"in h&&(g<30&&y<30?u=setTimeout(function(){var e=t.Event("tap");e.cancelTouch=r,h.el&&h.el.trigger(e),h.isDoubleTap?(h.el&&h.el.trigger("doubleTap"),h={}):s=setTimeout(function(){s=null,h.el&&h.el.trigger("singleTap"),h={}},250)},0):h={}),g=y=0)}).on("touchcancel MSPointerCancel",r),t(window).on("scroll",r)}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach(function(e){t.fn[e]=function(t){return this.on(e,t)}})}(Zepto)}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.fastman=e():t.fastman=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n=window.webpackJsonpfastman;window.webpackJsonpfastman=function(i,o,a){for(var s,u,c,l=0,f=[];l<i.length;l++)u=i[l],r[u]&&f.push(r[u][0]),r[u]=0;for(s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s]);for(n&&n(i,o,a);f.length;)f.shift()();if(a)for(l=0;l<a.length;l++)c=e(e.s=a[l]);return c};var i={},r={32:0};return e.e=function(t){function n(){s.onerror=s.onload=null,clearTimeout(u);var e=r[t];0!==e&&(e&&e[1](new Error("Loading chunk "+t+" failed.")),r[t]=void 0)}var i=r[t];if(0===i)return new Promise(function(t){t()});if(i)return i[2];var o=new Promise(function(e,n){i=r[t]=[e,n]});i[2]=o;var a=document.getElementsByTagName("head")[0],s=document.createElement("script");s.type="text/javascript",s.charset="utf-8",s.async=!0,s.timeout=12e4,e.nc&&s.setAttribute("nonce",e.nc),s.src=e.p+""+t+".js";var u=setTimeout(n,12e4);return s.onerror=s.onload=n,a.appendChild(s),o},e.m=t,e.c=i,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e.oe=function(t){throw t},e(e.s=243)}({105:function(t,e,n){"use strict";var i={},r=navigator.userAgent,o=r.match(/(Android);?[\s\/]+([\d.]+)?/),a=r.match(/(iPad).*OS\s([\d_]+)/),s=r.match(/(iPod)(.*OS\s([\d_]+))?/),u=!a&&r.match(/(iPhone\sOS)\s([\d_]+)/),c=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/[\d](?=[^?]+).*rv:([0-9.].)/),l=r.match(/(OpenHarmony)\s([\d.]+)/i);if(i.ios=i.android=i.iphone=i.ipad=i.androidChrome=i.ie=i.pc=i.harmony=!1,l&&(i.os="harmony",i.osVersion=l[2],i.harmony=!0),o&&(i.os="android",i.osVersion=o[2],i.android=!0,i.androidChrome=r.toLowerCase().indexOf("chrome")>=0),(a||u||s)&&(i.os="ios",i.ios=!0),u&&!s&&(i.osVersion=u[2].replace(/_/g,"."),i.iphone=!0),a&&(i.osVersion=a[2].replace(/_/g,"."),i.ipad=!0),s&&(i.osVersion=s[3]?s[3].replace(/_/g,"."):null,i.iphone=!0),i.ios&&i.osVersion&&r.indexOf("Version/")>=0&&"10"===i.osVersion.split(".")[0]&&(i.osVersion=r.toLowerCase().split("version/")[1].split(" ")[0]),c&&(i.ie=!0,i.ieVersion=c[1]),i.os||(i.os="pc",i.pc=!0),i.hasNativeHistory=history&&history.pushState,i.webView=(u||a||s)&&r.match(/.*AppleWebKit(?!.*Safari)/i),i.os&&"ios"===i.os){var f=i.osVersion.split(".");i.minimalUi=!i.webView&&(s||u)&&(1*f[0]==7?1*f[1]>=1:1*f[0]>7)&&$('meta[name="viewport"]').length>0&&$('meta[name="viewport"]').attr("content").indexOf("minimal-ui")>=0}var h=$(window).width(),p=$(window).height();i.statusBar=!1,i.webView&&h*p==screen.width*screen.height?i.statusBar=!0:i.statusBar=!1;var d=[];if(i.pixelRatio=window.devicePixelRatio||1,d.push("pixel-ratio-"+Math.floor(i.pixelRatio)),i.pixelRatio>=2&&d.push("retina"),i.os&&(d.push(i.os),i.osVersion&&d.push(i.os+"-"+i.osVersion.split(".")[0],i.os+"-"+i.osVersion.replace(/\./g,"-")),"ios"===i.os))for(var m=parseInt(i.osVersion.split(".")[0],10),v=m-1;v>=6;v--)d.push("ios-gt-"+v);i.statusBar?d.push("with-statusbar-overlay"):$("html").removeClass("with-statusbar-overlay"),d.length>0&&$("html").addClass(d.join(" ")),i.isWeixin=/MicroMessenger/i.test(r),$.device=i},107:function(t,e){!function(t){function e(e,n,i){var r=t.Event(n);return t(e).trigger(r,i),!r.isDefaultPrevented()}function n(t,n,i,r){if(t.global)return e(n||w,i,r)}function i(e){e.global&&0==t.active++&&n(e,null,"ajaxStart")}function r(e){e.global&&!--t.active&&n(e,null,"ajaxStop")}function o(t,e){var i=e.context;if(!1===e.beforeSend.call(i,t,e)||!1===n(e,i,"ajaxBeforeSend",[t,e]))return!1;n(e,i,"ajaxSend",[t,e])}function a(t,e,i,r){var o=i.context;i.success.call(o,t,"success",e),r&&r.resolveWith(o,[t,"success",e]),n(i,o,"ajaxSuccess",[e,i,t]),u("success",e,i)}function s(t,e,i,r,o){var a=r.context;r.error.call(a,i,e,t),o&&o.rejectWith(a,[i,e,t]),n(r,a,"ajaxError",[i,r,t||e]),u(e,i,r)}function u(t,e,i){var o=i.context;i.complete.call(o,e,t),n(i,o,"ajaxComplete",[e,i]),r(i)}function c(t,e,n){if(n.dataFilter==l)return t;var i=n.context;return n.dataFilter.call(i,t,e)}function l(){}function f(t){return t&&(t=t.split(";",2)[0]),t&&(t==S?"html":t==T?"json":x.test(t)?"script":E.test(t)&&"xml")||"text"}function h(t,e){return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")}function p(e){e.processData&&e.data&&"string"!=t.type(e.data)&&(e.data=t.param(e.data,e.traditional)),!e.data||e.type&&"GET"!=e.type.toUpperCase()&&"jsonp"!=e.dataType||(e.url=h(e.url,e.data),e.data=void 0)}function d(e,n,i,r){return t.isFunction(n)&&(r=i,i=n,n=void 0),t.isFunction(i)||(r=i,i=void 0),{url:e,data:n,success:i,dataType:r}}function m(e,n,i,r){var o,a=t.isArray(n),s=t.isPlainObject(n);t.each(n,function(n,u){o=t.type(u),r&&(n=i?r:r+"["+(s||"object"==o||"array"==o?n:"")+"]"),!r&&a?e.add(u.name,u.value):"array"==o||!i&&"object"==o?m(e,u,i,n):e.add(n,u)})}var v,g,y=+new Date,w=window.document,b=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,x=/^(?:text|application)\/javascript/i,E=/^(?:text|application)\/xml/i,T="application/json",S="text/html",C=/^\s*$/,A=w.createElement("a");A.href=window.location.href,t.active=0,t.ajaxJSONP=function(e,n){if(!("type"in e))return t.ajax(e);var i,r,u=e.jsonpCallback,c=(t.isFunction(u)?u():u)||"Zepto"+y++,l=w.createElement("script"),f=window[c],h=function(e){t(l).triggerHandler("error",e||"abort")},p={abort:h};return n&&n.promise(p),t(l).on("load error",function(o,u){clearTimeout(r),t(l).off().remove(),"error"!=o.type&&i?a(i[0],p,e,n):s(null,u||"error",p,e,n),window[c]=f,i&&t.isFunction(f)&&f(i[0]),f=i=void 0}),!1===o(p,e)?(h("abort"),p):(window[c]=function(){i=arguments},l.src=e.url.replace(/\?(.+)=\?/,"?$1="+c),w.head.appendChild(l),e.timeout>0&&(r=setTimeout(function(){h("timeout")},e.timeout)),p)},t.ajaxSettings={type:"GET",beforeSend:l,success:l,error:l,complete:l,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:T,xml:"application/xml, text/xml",html:S,text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0,dataFilter:l},t.ajax=function(e){var n,r,u=t.extend({},e||{}),d=t.Deferred&&t.Deferred();for(v in t.ajaxSettings)void 0===u[v]&&(u[v]=t.ajaxSettings[v]);i(u),u.crossDomain||(n=w.createElement("a"),n.href=u.url,n.href=n.href,u.crossDomain=A.protocol+"//"+A.host!=n.protocol+"//"+n.host),u.url||(u.url=window.location.toString()),(r=u.url.indexOf("#"))>-1&&(u.url=u.url.slice(0,r)),p(u);var m=u.dataType,y=/\?.+=\?/.test(u.url);if(y&&(m="jsonp"),!1!==u.cache&&(e&&!0===e.cache||"script"!=m&&"jsonp"!=m)||(u.url=h(u.url,"_="+Date.now())),"jsonp"==m)return y||(u.url=h(u.url,u.jsonp?u.jsonp+"=?":!1===u.jsonp?"":"callback=?")),t.ajaxJSONP(u,d);var b,x=u.accepts[m],E={},T=function(t,e){E[t.toLowerCase()]=[t,e]},S=/^([\w-]+:)\/\//.test(u.url)?RegExp.$1:window.location.protocol,j=u.xhr(),$=j.setRequestHeader;if(d&&d.promise(j),u.crossDomain||T("X-Requested-With","XMLHttpRequest"),T("Accept",x||"*/*"),(x=u.mimeType||x)&&(x.indexOf(",")>-1&&(x=x.split(",",2)[0]),j.overrideMimeType&&j.overrideMimeType(x)),(u.contentType||!1!==u.contentType&&u.data&&"GET"!=u.type.toUpperCase())&&T("Content-Type",u.contentType||"application/x-www-form-urlencoded"),u.headers)for(g in u.headers)T(g,u.headers[g]);if(j.setRequestHeader=T,j.onreadystatechange=function(){if(4==j.readyState){j.onreadystatechange=l,clearTimeout(b);var e,n=!1;if(j.status>=200&&j.status<300||304==j.status||0==j.status&&"file:"==S){if(m=m||f(u.mimeType||j.getResponseHeader("content-type")),"arraybuffer"==j.responseType||"blob"==j.responseType)e=j.response;else{e=j.responseText;try{e=c(e,m,u),"script"==m?(0,eval)(e):"xml"==m?e=j.responseXML:"json"==m&&(e=C.test(e)?null:t.parseJSON(e))}catch(t){n=t}if(n)return s(n,"parsererror",j,u,d)}a(e,j,u,d)}else s(j.statusText||null,j.status?"error":"abort",j,u,d)}},!1===o(j,u))return j.abort(),s(null,"abort",j,u,d),j;var M=!("async"in u)||u.async;if(j.open(u.type,u.url,M,u.username,u.password),u.xhrFields)for(g in u.xhrFields)j[g]=u.xhrFields[g];for(g in E)$.apply(j,E[g]);return u.timeout>0&&(b=setTimeout(function(){j.onreadystatechange=l,j.abort(),s(null,"timeout",j,u,d)},u.timeout)),j.send(u.data?u.data:null),j},t.get=function(){return t.ajax(d.apply(null,arguments))},t.post=function(){var e=d.apply(null,arguments);return e.type="POST",t.ajax(e)},t.getJSON=function(){var e=d.apply(null,arguments);return e.dataType="json",t.ajax(e)},t.fn.load=function(e,n,i){if(!this.length)return this;var r,o=this,a=e.split(/\s/),s=d(e,n,i),u=s.success;return a.length>1&&(s.url=a[0],r=a[1]),s.success=function(e){o.html(r?t("<div>").html(e.replace(b,"")).find(r):e),u&&u.apply(o,arguments)},t.ajax(s),this};var j=encodeURIComponent;t.param=function(e,n){var i=[];return i.add=function(e,n){t.isFunction(n)&&(n=n()),null==n&&(n=""),this.push(j(e)+"="+j(n))},m(i,e,n),i.join("&").replace(/%20/g,"+")}}(Zepto)},108:function(t,e){!function(t){function e(e,i){var u=e[s],c=u&&r[u];if(void 0===i)return c||n(e);if(c){if(i in c)return c[i];var l=a(i);if(l in c)return c[l]}return o.call(t(e),i)}function n(e,n,o){var u=e[s]||(e[s]=++t.uuid),c=r[u]||(r[u]=i(e));return void 0!==n&&(c[a(n)]=o),c}function i(e){var n={};return t.each(e.attributes||u,function(e,i){0==i.name.indexOf("data-")&&(n[a(i.name.replace("data-",""))]=t.zepto.deserializeValue(i.value))}),n}var r={},o=t.fn.data,a=t.camelCase,s=t.expando="Zepto"+ +new Date,u=[];t.fn.data=function(i,r){return void 0===r?t.isPlainObject(i)?this.each(function(e,r){t.each(i,function(t,e){n(r,t,e)})}):0 in this?e(this[0],i):void 0:this.each(function(){n(this,i,r)})},t.data=function(e,n,i){return t(e).data(n,i)},t.hasData=function(e){var n=e[s],i=n&&r[n];return!!i&&!t.isEmptyObject(i)},t.fn.removeData=function(e){return"string"==typeof e&&(e=e.split(/\s+/)),this.each(function(){var n=this[s],i=n&&r[n];i&&t.each(e||i,function(t){delete i[e?a(this):t]})})},["remove","empty"].forEach(function(e){var n=t.fn[e];t.fn[e]=function(){var t=this.find("*");return"remove"===e&&(t=t.add(this)),t.removeData(),n.call(this)}})}(Zepto)},109:function(t,e){!function(t){function e(t){return t._zid||(t._zid=h++)}function n(t,n,o,a){if(n=i(n),n.ns)var s=r(n.ns);return(v[e(t)]||[]).filter(function(t){return t&&(!n.e||t.e==n.e)&&(!n.ns||s.test(t.ns))&&(!o||e(t.fn)===e(o))&&(!a||t.sel==a)})}function i(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function r(t){return new RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$)")}function o(t,e){return t.del&&!y&&t.e in w||!!e}function a(t){return b[t]||y&&w[t]||t}function s(n,r,s,u,l,h,p){var d=e(n),m=v[d]||(v[d]=[]);r.split(/\s/).forEach(function(e){if("ready"==e)return t(document).ready(s);var r=i(e);r.fn=s,r.sel=l,r.e in b&&(s=function(e){var n=e.relatedTarget;if(!n||n!==this&&!t.contains(this,n))return r.fn.apply(this,arguments)}),r.del=h;var d=h||s;r.proxy=function(t){if(t=c(t),!t.isImmediatePropagationStopped()){t.data=u;var e=d.apply(n,t._args==f?[t]:[t].concat(t._args));return!1===e&&(t.preventDefault(),t.stopPropagation()),e}},r.i=m.length,m.push(r),"addEventListener"in n&&n.addEventListener(a(r.e),r.proxy,o(r,p))})}function u(t,i,r,s,u){var c=e(t);(i||"").split(/\s/).forEach(function(e){n(t,e,r,s).forEach(function(e){delete v[c][e.i],"removeEventListener"in t&&t.removeEventListener(a(e.e),e.proxy,o(e,u))})})}function c(e,n){return!n&&e.isDefaultPrevented||(n||(n=e),t.each(S,function(t,i){var r=n[t];e[t]=function(){return this[i]=x,r&&r.apply(n,arguments)},e[i]=E}),e.timeStamp||(e.timeStamp=Date.now()),(n.defaultPrevented!==f?n.defaultPrevented:"returnValue"in n?!1===n.returnValue:n.getPreventDefault&&n.getPreventDefault())&&(e.isDefaultPrevented=x)),e}function l(t){var e,n={originalEvent:t};for(e in t)T.test(e)||t[e]===f||(n[e]=t[e]);return c(n,t)}var f,h=1,p=Array.prototype.slice,d=t.isFunction,m=function(t){return"string"==typeof t},v={},g={},y="onfocusin"in window,w={focus:"focusin",blur:"focusout"},b={mouseenter:"mouseover",mouseleave:"mouseout"};g.click=g.mousedown=g.mouseup=g.mousemove="MouseEvents",t.event={add:s,remove:u},t.proxy=function(n,i){var r=2 in arguments&&p.call(arguments,2);if(d(n)){var o=function(){return n.apply(i,r?r.concat(p.call(arguments)):arguments)};return o._zid=e(n),o}if(m(i))return r?(r.unshift(n[i],n),t.proxy.apply(null,r)):t.proxy(n[i],n);throw new TypeError("expected function")},t.fn.bind=function(t,e,n){return this.on(t,e,n)},t.fn.unbind=function(t,e){return this.off(t,e)},t.fn.one=function(t,e,n,i){return this.on(t,e,n,i,1)};var x=function(){return!0},E=function(){return!1},T=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,S={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};t.fn.delegate=function(t,e,n){return this.on(e,t,n)},t.fn.undelegate=function(t,e,n){return this.off(e,t,n)},t.fn.live=function(e,n){return t(document.body).delegate(this.selector,e,n),this},t.fn.die=function(e,n){return t(document.body).undelegate(this.selector,e,n),this},t.fn.on=function(e,n,i,r,o){var a,c,h=this;return e&&!m(e)?(t.each(e,function(t,e){h.on(t,n,i,e,o)}),h):(m(n)||d(r)||!1===r||(r=i,i=n,n=f),r!==f&&!1!==i||(r=i,i=f),!1===r&&(r=E),h.each(function(f,h){o&&(a=function(t){return u(h,t.type,r),r.apply(this,arguments)}),n&&(c=function(e){var i,o=t(e.target).closest(n,h).get(0);if(o&&o!==h)return i=t.extend(l(e),{currentTarget:o,liveFired:h}),(a||r).apply(o,[i].concat(p.call(arguments,1)))}),s(h,e,r,i,n,c||a)}))},t.fn.off=function(e,n,i){var r=this;return e&&!m(e)?(t.each(e,function(t,e){r.off(t,n,e)}),r):(m(n)||d(i)||!1===i||(i=n,n=f),!1===i&&(i=E),r.each(function(){u(this,e,i,n)}))},t.fn.trigger=function(e,n){return e=m(e)||t.isPlainObject(e)?t.Event(e):c(e),e._args=n,this.each(function(){e.type in w&&"function"==typeof this[e.type]?this[e.type]():"dispatchEvent"in this?this.dispatchEvent(e):t(this).triggerHandler(e,n)})},t.fn.triggerHandler=function(e,i){var r,o;return this.each(function(a,s){r=l(m(e)?t.Event(e):e),r._args=i,r.target=s,t.each(n(s,e.type||e),function(t,e){if(o=e.proxy(r),r.isImmediatePropagationStopped())return!1})}),o},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(e){t.fn[e]=function(t){return 0 in arguments?this.bind(e,t):this.trigger(e)}}),t.Event=function(t,e){m(t)||(e=t,t=e.type);var n=document.createEvent(g[t]||"Events"),i=!0;if(e)for(var r in e)"bubbles"==r?i=!!e[r]:n[r]=e[r];return n.initEvent(t,i,!0),c(n)}}(Zepto)},110:function(t,e){var n=function(){function t(t){return null==t?String(t):X[J.call(t)]||"object"}function e(e){return"function"==t(e)}function n(t){return null!=t&&t==t.window}function i(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function r(e){return"object"==t(e)}function o(t){return r(t)&&!n(t)&&Object.getPrototypeOf(t)==Object.prototype}function a(t){var e=!!t&&"length"in t&&t.length,i=S.type(t);return"function"!=i&&!n(t)&&("array"==i||0===e||"number"==typeof e&&e>0&&e-1 in t)}function s(t){return P.call(t,function(t){return null!=t})}function u(t){return t.length>0?S.fn.concat.apply([],t):t}function c(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function l(t){return t in V?V[t]:V[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function f(t,e){return"number"!=typeof e||F[c(t)]?e:e+"px"}function h(t){var e,n;return D[t]||(e=N.createElement(t),N.body.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),D[t]=n),D[t]}function p(t){return"children"in t?O.call(t.children):S.map(t.childNodes,function(t){if(1==t.nodeType)return t})}function d(t,e){var n,i=t?t.length:0;for(n=0;n<i;n++)this[n]=t[n];this.length=i,this.selector=e||""}function m(t,e,n){for(T in e)n&&(o(e[T])||Q(e[T]))?(o(e[T])&&!o(t[T])&&(t[T]={}),Q(e[T])&&!Q(t[T])&&(t[T]=[]),m(t[T],e[T],n)):e[T]!==E&&(t[T]=e[T])}function v(t,e){return null==e?S(t):S(t).filter(e)}function g(t,n,i,r){return e(n)?n.call(t,i,r):n}function y(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function w(t,e){var n=t.className||"",i=n&&n.baseVal!==E;if(e===E)return i?n.baseVal:n;i?n.baseVal=e:t.className=e}function b(t){try{return t?"true"==t||"false"!=t&&("null"==t?null:+t+""==t?+t:/^[\[\{]/.test(t)?S.parseJSON(t):t):t}catch(e){return t}}function x(t,e){e(t);for(var n=0,i=t.childNodes.length;n<i;n++)x(t.childNodes[n],e)}var E,T,S,C,A,j,$=[],M=$.concat,P=$.filter,O=$.slice,N=window.document,D={},V={},F={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},k=/^\s*<(\w+|!)[^>]*>/,L=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,_=/^(?:body|html)$/i,R=/([A-Z])/g,I=["val","css","html","text","data","width","height","offset"],q=["after","prepend","before","append"],Z=N.createElement("table"),B=N.createElement("tr"),U={tr:N.createElement("tbody"),tbody:Z,thead:Z,tfoot:Z,td:B,th:B,"*":N.createElement("div")},H=/complete|loaded|interactive/,W=/^[\w-]*$/,X={},J=X.toString,Y={},G=N.createElement("div"),K={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},Q=Array.isArray||function(t){return t instanceof Array};return Y.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var i,r=t.parentNode,o=!r;return o&&(r=G).appendChild(t),i=~Y.qsa(r,e).indexOf(t),o&&G.removeChild(t),i},A=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},j=function(t){return P.call(t,function(e,n){return t.indexOf(e)==n})},Y.fragment=function(t,e,n){var i,r,a;return L.test(t)&&(i=S(N.createElement(RegExp.$1))),i||(t.replace&&(t=t.replace(z,"<$1></$2>")),e===E&&(e=k.test(t)&&RegExp.$1),e in U||(e="*"),a=U[e],a.innerHTML=""+t,i=S.each(O.call(a.childNodes),function(){a.removeChild(this)})),o(n)&&(r=S(i),S.each(n,function(t,e){I.indexOf(t)>-1?r[t](e):r.attr(t,e)})),i},Y.Z=function(t,e){return new d(t,e)},Y.isZ=function(t){return t instanceof Y.Z},Y.init=function(t,n){var i;if(!t)return Y.Z();if("string"==typeof t)if(t=t.trim(),"<"==t[0]&&k.test(t))i=Y.fragment(t,RegExp.$1,n),t=null;else{if(n!==E)return S(n).find(t);i=Y.qsa(N,t)}else{if(e(t))return S(N).ready(t);if(Y.isZ(t))return t;if(Q(t))i=s(t);else if(r(t))i=[t],t=null;else if(k.test(t))i=Y.fragment(t.trim(),RegExp.$1,n),t=null;else{if(n!==E)return S(n).find(t);i=Y.qsa(N,t)}}return Y.Z(i,t)},S=function(t,e){return Y.init(t,e)},S.extend=function(t){var e,n=O.call(arguments,1);return"boolean"==typeof t&&(e=t,t=n.shift()),n.forEach(function(n){m(t,n,e)}),t},Y.qsa=function(t,e){var n,i="#"==e[0],r=!i&&"."==e[0],o=i||r?e.slice(1):e,a=W.test(o);return t.getElementById&&a&&i?(n=t.getElementById(o))?[n]:[]:1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType?[]:O.call(a&&!i&&t.getElementsByClassName?r?t.getElementsByClassName(o):t.getElementsByTagName(e):t.querySelectorAll(e))},S.contains=N.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e&&(e=e.parentNode);)if(e===t)return!0;return!1},S.type=t,S.isFunction=e,S.isWindow=n,S.isArray=Q,S.isPlainObject=o,S.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},S.isNumeric=function(t){var e=Number(t),n=typeof t;return null!=t&&"boolean"!=n&&("string"!=n||t.length)&&!isNaN(e)&&isFinite(e)||!1},S.inArray=function(t,e,n){return $.indexOf.call(e,t,n)},S.camelCase=A,S.trim=function(t){return null==t?"":String.prototype.trim.call(t)},S.uuid=0,S.support={},S.expr={},S.noop=function(){},S.map=function(t,e){var n,i,r,o=[];if(a(t))for(i=0;i<t.length;i++)null!=(n=e(t[i],i))&&o.push(n);else for(r in t)null!=(n=e(t[r],r))&&o.push(n);return u(o)},S.each=function(t,e){var n,i;if(a(t)){for(n=0;n<t.length;n++)if(!1===e.call(t[n],n,t[n]))return t}else for(i in t)if(!1===e.call(t[i],i,t[i]))return t;return t},S.grep=function(t,e){return P.call(t,e)},window.JSON&&(S.parseJSON=JSON.parse),S.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){X["[object "+e+"]"]=e.toLowerCase()}),S.fn={constructor:Y.Z,length:0,forEach:$.forEach,reduce:$.reduce,push:$.push,sort:$.sort,splice:$.splice,indexOf:$.indexOf,concat:function(){var t,e,n=[];for(t=0;t<arguments.length;t++)e=arguments[t],n[t]=Y.isZ(e)?e.toArray():e;return M.apply(Y.isZ(this)?this.toArray():this,n)},map:function(t){return S(S.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return S(O.apply(this,arguments))},ready:function(t){return H.test(N.readyState)&&N.body?t(S):N.addEventListener("DOMContentLoaded",function(){t(S)},!1),this},get:function(t){return t===E?O.call(this):this[t>=0?t:t+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(t){return $.every.call(this,function(e,n){return!1!==t.call(e,n,e)}),this},filter:function(t){return e(t)?this.not(this.not(t)):S(P.call(this,function(e){return Y.matches(e,t)}))},add:function(t,e){return S(j(this.concat(S(t,e))))},is:function(t){return this.length>0&&Y.matches(this[0],t)},not:function(t){var n=[];if(e(t)&&t.call!==E)this.each(function(e){t.call(this,e)||n.push(this)});else{var i="string"==typeof t?this.filter(t):a(t)&&e(t.item)?O.call(t):S(t);this.forEach(function(t){i.indexOf(t)<0&&n.push(t)})}return S(n)},has:function(t){return this.filter(function(){return r(t)?S.contains(this,t):S(this).find(t).size()})},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!r(t)?t:S(t)},last:function(){var t=this[this.length-1];return t&&!r(t)?t:S(t)},find:function(t){var e=this;return t?"object"==typeof t?S(t).filter(function(){var t=this;return $.some.call(e,function(e){return S.contains(e,t)})}):1==this.length?S(Y.qsa(this[0],t)):this.map(function(){return Y.qsa(this,t)}):S()},closest:function(t,e){var n=[],r="object"==typeof t&&S(t);return this.each(function(o,a){for(;a&&!(r?r.indexOf(a)>=0:Y.matches(a,t));)a=a!==e&&!i(a)&&a.parentNode;a&&n.indexOf(a)<0&&n.push(a)}),S(n)},parents:function(t){for(var e=[],n=this;n.length>0;)n=S.map(n,function(t){if((t=t.parentNode)&&!i(t)&&e.indexOf(t)<0)return e.push(t),t});return v(e,t)},parent:function(t){return v(j(this.pluck("parentNode")),t)},children:function(t){return v(this.map(function(){return p(this)}),t)},contents:function(){return this.map(function(){return this.contentDocument||O.call(this.childNodes)})},siblings:function(t){return v(this.map(function(t,e){return P.call(p(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(t){return S.map(this,function(e){return e[t]})},show:function(){return this.each(function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=h(this.nodeName))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var n=e(t);if(this[0]&&!n)var i=S(t).get(0),r=i.parentNode||this.length>1;return this.each(function(e){S(this).wrapAll(n?t.call(this,e):r?i.cloneNode(!0):i)})},wrapAll:function(t){if(this[0]){S(this[0]).before(t=S(t));for(var e;(e=t.children()).length;)t=e.first();S(t).append(this)}return this},wrapInner:function(t){var n=e(t);return this.each(function(e){var i=S(this),r=i.contents(),o=n?t.call(this,e):t;r.length?r.wrapAll(o):i.append(o)})},unwrap:function(){return this.parent().each(function(){S(this).replaceWith(S(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(t){return this.each(function(){var e=S(this);(t===E?"none"==e.css("display"):t)?e.show():e.hide()})},prev:function(t){return S(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return S(this.pluck("nextElementSibling")).filter(t||"*")},html:function(t){return 0 in arguments?this.each(function(e){var n=this.innerHTML;S(this).empty().append(g(this,t,e,n))}):0 in this?this[0].innerHTML:null},text:function(t){return 0 in arguments?this.each(function(e){var n=g(this,t,e,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this.pluck("textContent").join(""):null},attr:function(t,e){var n;return"string"!=typeof t||1 in arguments?this.each(function(n){if(1===this.nodeType)if(r(t))for(T in t)y(this,T,t[T]);else y(this,t,g(this,e,n,this.getAttribute(t)))}):0 in this&&1==this[0].nodeType&&null!=(n=this[0].getAttribute(t))?n:E},removeAttr:function(t){return this.each(function(){1===this.nodeType&&t.split(" ").forEach(function(t){y(this,t)},this)})},prop:function(t,e){return t=K[t]||t,1 in arguments?this.each(function(n){this[t]=g(this,e,n,this[t])}):this[0]&&this[0][t]},removeProp:function(t){return t=K[t]||t,this.each(function(){delete this[t]})},data:function(t,e){var n="data-"+t.replace(R,"-$1").toLowerCase(),i=1 in arguments?this.attr(n,e):this.attr(n);return null!==i?b(i):E},val:function(t){return 0 in arguments?(null==t&&(t=""),this.each(function(e){this.value=g(this,t,e,this.value)})):this[0]&&(this[0].multiple?S(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(t){if(t)return this.each(function(e){var n=S(this),i=g(this,t,e,n.offset()),r=n.offsetParent().offset(),o={top:i.top-r.top,left:i.left-r.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)});if(!this.length)return null;if(N.documentElement!==this[0]&&!S.contains(N.documentElement,this[0]))return{top:0,left:0};var e=this[0].getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,width:Math.round(e.width),height:Math.round(e.height)}},css:function(e,n){if(arguments.length<2){var i=this[0];if("string"==typeof e){if(!i)return;return i.style[A(e)]||getComputedStyle(i,"").getPropertyValue(e)}if(Q(e)){if(!i)return;var r={},o=getComputedStyle(i,"");return S.each(e,function(t,e){r[e]=i.style[A(e)]||o.getPropertyValue(e)}),r}}var a="";if("string"==t(e))n||0===n?a=c(e)+":"+f(e,n):this.each(function(){this.style.removeProperty(c(e))});else for(T in e)e[T]||0===e[T]?a+=c(T)+":"+f(T,e[T])+";":this.each(function(){this.style.removeProperty(c(T))});return this.each(function(){this.style.cssText+=";"+a})},index:function(t){return t?this.indexOf(S(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return!!t&&$.some.call(this,function(t){return this.test(w(t))},l(t))},addClass:function(t){return t?this.each(function(e){if("className"in this){C=[];var n=w(this);g(this,t,e,n).split(/\s+/g).forEach(function(t){S(this).hasClass(t)||C.push(t)},this),C.length&&w(this,n+(n?" ":"")+C.join(" "))}}):this},removeClass:function(t){return this.each(function(e){if("className"in this){if(t===E)return w(this,"");C=w(this),g(this,t,e,C).split(/\s+/g).forEach(function(t){C=C.replace(l(t)," ")}),w(this,C.trim())}})},toggleClass:function(t,e){return t?this.each(function(n){var i=S(this);g(this,t,n,w(this)).split(/\s+/g).forEach(function(t){(e===E?!i.hasClass(t):e)?i.addClass(t):i.removeClass(t)})}):this},scrollTop:function(t){if(this.length){var e="scrollTop"in this[0];return t===E?e?this[0].scrollTop:this[0].pageYOffset:this.each(e?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var e="scrollLeft"in this[0];return t===E?e?this[0].scrollLeft:this[0].pageXOffset:this.each(e?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),n=this.offset(),i=_.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(S(t).css("margin-top"))||0,n.left-=parseFloat(S(t).css("margin-left"))||0,i.top+=parseFloat(S(e[0]).css("border-top-width"))||0,i.left+=parseFloat(S(e[0]).css("border-left-width"))||0,{top:n.top-i.top,left:n.left-i.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||N.body;t&&!_.test(t.nodeName)&&"static"==S(t).css("position");)t=t.offsetParent;return t})}},S.fn.detach=S.fn.remove,["width","height"].forEach(function(t){var e=t.replace(/./,function(t){return t[0].toUpperCase()});S.fn[t]=function(r){var o,a=this[0];return r===E?n(a)?a["inner"+e]:i(a)?a.documentElement["scroll"+e]:(o=this.offset())&&o[t]:this.each(function(e){a=S(this),a.css(t,g(this,r,e,a[t]()))})}}),q.forEach(function(e,n){var i=n%2;S.fn[e]=function(){var e,r,o=S.map(arguments,function(n){var i=[];return e=t(n),"array"==e?(n.forEach(function(t){return t.nodeType!==E?i.push(t):S.zepto.isZ(t)?i=i.concat(t.get()):void(i=i.concat(Y.fragment(t)))}),i):"object"==e||null==n?n:Y.fragment(n)}),a=this.length>1;return o.length<1?this:this.each(function(t,e){r=i?e:e.parentNode,e=0==n?e.nextSibling:1==n?e.firstChild:2==n?e:null;var s=S.contains(N.documentElement,r);o.forEach(function(t){if(a)t=t.cloneNode(!0);else if(!r)return S(t).remove();r.insertBefore(t,e),s&&x(t,function(t){if(!(null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src)){var e=t.ownerDocument?t.ownerDocument.defaultView:window;e.eval.call(e,t.innerHTML)}})})})},S.fn[i?e+"To":"insert"+(n?"Before":"After")]=function(t){return S(t)[e](this),this}}),Y.Z.prototype=d.prototype=S.fn,Y.uniq=j,Y.deserializeValue=b,S.zepto=Y,S}();window.Zepto=n,void 0===window.$&&(window.$=n)},243:function(t,e,n){n(110),n(109),n(96),n(108),n(107),n(105),n(79),t.exports=n(78)},31:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.compareVersion=function(t,e){var n=t.split("."),i=e.split(".");if(t===e)return 0;for(var r=0;r<n.length;r++){var o=parseInt(n[r]);if(!i[r])return 1;var a=parseInt(i[r]);if(o<a)return-1;if(o>a)return 1}return-1}},78:function(t,e,n){"use strict";function i(){var t=0,e=0,n=screen.height,i=screen.width,r=document.documentElement.clientHeight,u=document.documentElement.clientWidth,f=window.devicePixelRatio;switch(window.orientation){case 0:case 180:s?(t=Math.max(n,i),e=Math.max(r,u),o||a||t/f>=e&&u!=i&&(t/=f)):(t=Math.min(n,i),e=Math.min(r,u),o||a||Math.ceil(t/f)>=e&&r!=n&&(t/=f));break;case-90:case 90:s?(t=Math.min(n,i),e=Math.min(r,u),o||a||t/f>=e&&r!=n&&(t/=f)):c||l?(t=Math.max(n,i),e=Math.max(r,u),o||a||t/f>=e&&u!=i&&(t=t/f-100)):(t=Math.max(n,i),e=Math.max(r,u),o||a||Math.ceil(t/f)>=e&&u!=i&&(t/=f));break;default:t=i}window.remFontSize=t/16,document.documentElement.style.fontSize=t/16+"px";try{for(var h=document.getElementById(kb.settings.id+"_kb").querySelectorAll(".keyboardEle"),p=0;p<h.length;p++)$(h[p]).removeClass("active").removeClass("active2")}catch(t){}}var r=n(31),o=window.navigator.appVersion.match(/iPad/gi),a=window.navigator.appVersion.match(/iphone/gi),s=window.navigator.appVersion.match(/SM-T800/gi),u=window.navigator.appVersion.match(/UCBrowser/gi),c=window.navigator.appVersion.match(/Lenovo A890e/gi)&&window.navigator.appVersion.match(/360 Aphone Browser/gi),l=window.navigator.appVersion.match(/HUAWEI D2-6070/gi)&&window.navigator.appVersion.match(/LieBaoFast/gi),f=window.navigator.userAgent.match(/Android[\S\s]+AppleWebkit\/(\d{3})/i),h=window.navigator.userAgent.match(/U3\/((\d+|\.){5,})/i),p=h&&parseInt(h[1].split(".").join(""),10)>=80,d=window.navigator.appVersion.match(/(iphone|ipad|ipod)/gi),m=!0,v=window.navigator.appVersion.match(/android/gi);if(function(){o&&(document.querySelector("html").className="ua-ipad")}(),v&&u){var g=null;window.addEventListener("orientationchange",function(){m=!1,clearTimeout(g),g=setTimeout(i,300)},!1);navigator.userAgent.match(/Firefox/gi)&&window.addEventListener("resize",function(){clearTimeout(g),g=setTimeout(i,300)},!1),i()}else!function(t){function e(){var t=o.getAttribute("data-dpr");if(t)try{a=parseInt(t)}catch(t){}var e=o.getAttribute("data-android-dpr");if(e&&v)try{a=parseInt(e)}catch(t){}var n=o.getAttribute("data-ios-dpr");if(n&&d)try{a=parseInt(n)}catch(t){}if("no"!=o.getAttribute("data-rem")){var i=o.getBoundingClientRect().width/a,r=i/16,s=r*a;$.device.pc&&(s=30),o.style.fontSize=s+"px";var u=o.getAttribute("data-sysfont");if(v&&u){var c=document.createElement("div");c.style.cssText="width:1rem;height:0;overflow: hidden;position:absolute;z-index:-1;visibility: hidden;",document.body.appendChild(c);var l=c.offsetWidth;document.body.removeChild(c);var f=document.querySelector("html"),h=parseFloat(f.style.fontSize)||0,p=h;l!=h&&(p=Math.pow(h,2)/l),f.style.fontSize=p+"px"}}}var n,i=t.document,o=i.documentElement,a=t.devicePixelRatio||1;d||f&&f[1]>534||p||(a=1),a=parseInt(a);var s=o.getAttribute("data-dpr");if(s)try{a=parseInt(s)}catch(t){}var u=o.getAttribute("data-android-dpr");if(u&&v)try{a=parseInt(u)}catch(t){}var c=o.getAttribute("data-ios-dpr");if(c&&d)try{a=parseInt(c)}catch(t){}o.setAttribute("data-dpr",a);var l=1/a,h=i.querySelector('meta[name="viewport"]');h||(h=i.createElement("meta"),h.setAttribute("name","viewport"),i.head.appendChild(h)),$.device.ios&&r.compareVersion($.device.osVersion,"10.0.0")<0&&(l=1),o.setAttribute("data-scale",l),"no"!=o.getAttribute("data-rem")&&h.setAttribute("content","width=device-width,user-scalable=no,initial-scale="+l+",maximum-scale="+l+",minimum-scale="+l+",viewport-fit=cover"),$.device.pc||t.addEventListener("resize",function(){clearTimeout(n),n=setTimeout(e,300)},!1),t.addEventListener("pageshow",function(t){t.persisted&&(clearTimeout(n),n=setTimeout(e,300))},!1),e()}(window)},79:function(t,e,n){"use strict";function i(t,e){function n(t){if(t.target===this)for(e.call(this,t),i=0;i<r.length;i++)o.off(r[i],n)}var i,r=t,o=this;if(e)for(i=0;i<r.length;i++)o.on(r[i],n)}["width","height"].forEach(function(t){var e=t.replace(/./,function(t){return t[0].toUpperCase()});$.fn["outer"+e]=function(e){var n=this;if(n){var i=n[t]();return{width:["left","right"],height:["top","bottom"]}[t].forEach(function(t){e&&(i+=parseInt(n.css("margin-"+t),10))}),i}return null}}),$.support=function(){return{touch:!!("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch)}}(),$.touchEvents={start:$.support.touch?"touchstart":"mousedown",move:$.support.touch?"touchmove":"mousemove",end:$.support.touch?"touchend":"mouseup"},$.getTranslate=function(t,e){var n,i,r,o;return void 0===e&&(e="x"),r=window.getComputedStyle(t,null),window.WebKitCSSMatrix?o=new WebKitCSSMatrix("none"===r.webkitTransform?"":r.webkitTransform):(o=r.MozTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),"x"===e&&(i=window.WebKitCSSMatrix?o.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===e&&(i=window.WebKitCSSMatrix?o.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||0},$.requestAnimationFrame=function(t){return window.requestAnimationFrame?window.requestAnimationFrame(t):window.webkitRequestAnimationFrame?window.webkitRequestAnimationFrame(t):window.mozRequestAnimationFrame?window.mozRequestAnimationFrame(t):window.setTimeout(t,1e3/60)},$.cancelAnimationFrame=function(t){return window.cancelAnimationFrame?window.cancelAnimationFrame(t):window.webkitCancelAnimationFrame?window.webkitCancelAnimationFrame(t):window.mozCancelAnimationFrame?window.mozCancelAnimationFrame(t):window.clearTimeout(t)},$.fn.dataset=function(){var t={},e=this[0].dataset;for(var n in e){var i=t[n]=e[n];"false"===i?t[n]=!1:"true"===i?t[n]=!0:parseFloat(i)===1*i&&(t[n]=1*i)}return $.extend({},t,this[0].__eleData)},$.fn.zeptoData=$.fn.data,$.fn.data=function(t,e){var n=$(this).dataset();if(!t)return n;if(void 0===e){var i=n[t],r=this[0].__eleData;return r&&t in r?r[t]:i}for(var o=0;o<this.length;o++){var a=this[o];t in n&&delete a.dataset[t],a.__eleData||(a.__eleData={}),a.__eleData[t]=e}return this},$.fn.animationEnd=function(t){return i.call(this,["webkitAnimationEnd","animationend"],t),this},$.fn.transitionEnd=function(t){return i.call(this,["webkitTransitionEnd","transitionend"],t),this},$.fn.transition=function(t){"string"!=typeof t&&(t+="ms");for(var e=0;e<this.length;e++){var n=this[e].style;n.webkitTransitionDuration=n.MozTransitionDuration=n.transitionDuration=t}return this},$.fn.transform=function(t){for(var e=0;e<this.length;e++){var n=this[e].style;n.webkitTransform=n.MozTransform=n.transform=t}return this},$.fn.prevAll=function(t){var e=[],n=this[0];if(!n)return $([]);for(;n.previousElementSibling;){var i=n.previousElementSibling;t?$(i).is(t)&&e.push(i):e.push(i),n=i}return $(e)},$.fn.nextAll=function(t){var e=[],n=this[0];if(!n)return $([]);for(;n.nextElementSibling;){var i=n.nextElementSibling;t?$(i).is(t)&&e.push(i):e.push(i),n=i}return $(e)},$.fn.show=function(){function t(t){var n,i;return e[t]||(n=document.createElement(t),document.body.appendChild(n),i=getComputedStyle(n,"").getPropertyValue("display"),n.parentNode.removeChild(n),"none"===i&&(i="block"),e[t]=i),e[t]}var e={};return this.each(function(){"none"===this.style.display&&(this.style.display=""),getComputedStyle(this,"").getPropertyValue("display"),this.style.display=t(this.nodeName)})},$.fn.serializeArray=function(){var t,e,n=[],i=function e(i){if(i.forEach)return i.forEach(e);n.push({name:t,value:i})};return this[0]&&$.each(this[0].elements,function(n,r){e=r.type,t=r.name,t&&"fieldset"!=r.nodeName.toLowerCase()&&!r.disabled&&"submit"!=e&&"reset"!=e&&"button"!=e&&"file"!=e&&("radio"!=e&&"checkbox"!=e||r.checked)&&i($(r).val())}),n},$.fn.serialize=function(){var t=[];return this.serializeArray().forEach(function(e){t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))}),t.join("&")}},96:function(t,e,n){"use strict";!function(t){function e(t,e,n,i){return Math.abs(t-e)>=Math.abs(n-i)?t-e>0?"Left":"Right":n-i>0?"Up":"Down"}function n(){l=null,h.last&&(h.el.trigger("longTap"),h={})}function i(){l&&clearTimeout(l),l=null}function r(){s&&clearTimeout(s),u&&clearTimeout(u),c&&clearTimeout(c),l&&clearTimeout(l),s=u=c=l=null,h={}}function o(t){return("touch"==t.pointerType||t.pointerType==t.MSPOINTER_TYPE_TOUCH)&&t.isPrimary}function a(t,e){return t.type=="pointer"+e||t.type.toLowerCase()=="mspointer"+e}var s,u,c,l,f,h={};t(document).ready(function(){var p,d,m,v,g=0,y=0;"MSGesture"in window&&(f=new MSGesture,f.target=document.body),t(document).bind("MSGestureEnd",function(t){var e=t.velocityX>1?"Right":t.velocityX<-1?"Left":t.velocityY>1?"Down":t.velocityY<-1?"Up":null;e&&(h.el.trigger("swipe"),h.el.trigger("swipe"+e))}).on("touchstart MSPointerDown",function(e){(v=a(e,"down"))&&!o(e)||(m=v?e:e.touches[0],e.touches&&1===e.touches.length&&h.x2&&(h.x2=void 0,h.y2=void 0),p=Date.now(),d=p-(h.last||p),h.el=t("tagName"in m.target?m.target:m.target.parentNode),s&&clearTimeout(s),h.x1=m.pageX,h.y1=m.pageY,d>0&&d<=250&&(h.isDoubleTap=!0),h.last=p,l=setTimeout(n,750),f&&v&&f.addPointer(e.pointerId))}).on("touchmove MSPointerMove",function(t){(v=a(t,"move"))&&!o(t)||(m=v?t:t.touches[0],i(),h.x2=m.pageX,h.y2=m.pageY,g+=Math.abs(h.x1-h.x2),y+=Math.abs(h.y1-h.y2))}).on("touchend MSPointerUp",function(n){(v=a(n,"up"))&&!o(n)||(i(),h.x2&&Math.abs(h.x1-h.x2)>30||h.y2&&Math.abs(h.y1-h.y2)>30?c=setTimeout(function(){h.el&&(h.el.trigger("swipe"),h.el.trigger("swipe"+e(h.x1,h.x2,h.y1,h.y2))),h={}},0):"last"in h&&(g<30&&y<30?u=setTimeout(function(){var e=t.Event("tap");e.cancelTouch=r,h.el&&h.el.trigger(e),h.isDoubleTap?(h.el&&h.el.trigger("doubleTap"),h={}):s=setTimeout(function(){s=null,h.el&&h.el.trigger("singleTap"),h={}},250)},0):h={}),g=y=0)}).on("touchcancel MSPointerCancel",r),t(window).on("scroll",r)}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach(function(e){t.fn[e]=function(t){return this.on(e,t)}})}(Zepto)}})});
|
package/eventemitterman.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():e.fastman=t()}(this,function(){return webpackJsonpfastman([15],{
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():e.fastman=t()}(this,function(){return webpackJsonpfastman([15],{232:function(e,t,n){e.exports=n(97)},97:function(e,t,n){"use strict";function o(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return{model:{eventEmitter:{events:[],onceEvents:[]}},actions:{eventEmitter:{on:function(e,t,n,o){e.eventEmitter.events[t.eventName]=e.eventEmitter.events[t.eventName]||[],e.eventEmitter.events[t.eventName].push(t.callback)},once:function(e,t,n,o){e.eventEmitter.onceEvents[t.eventName]=e.eventEmitter.onceEvents[t.eventName]||[],e.eventEmitter.onceEvents[t.eventName].push(t.callback)},emit:function(e,t,n,r){var v,i,a=t.eventName,c=o(t,["eventName"]),f=e.eventEmitter.events[a];if(f)for(v=0,i=f.length;v<i;v++)f[v](c);var s,m,u=e.eventEmitter.onceEvents[a];if(u)for(s=0,m=u.length;s<m;s++)u.shift()(c)}}}}};t.default=r}},[232])});
|
package/formvalidateman.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.fastman=e():t.fastman=e()}(this,function(){return webpackJsonpfastman([16],{
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.fastman=e():t.fastman=e()}(this,function(){return webpackJsonpfastman([16],{229:function(t,e,i){t.exports=i(94)},94:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validateExtend=e.validate=void 0;var n=i(50),a=['input:not([type]),input[type="color"],input[type="date"],input[type="datetime"],input[type="datetime-local"],input[type="email"],input[type="file"],input[type="hidden"],input[type="month"],input[type="number"],input[type="password"],input[type="range"],input[type="search"],input[type="tel"],input[type="text"],input[type="time"],input[type="url"],input[type="week"],textarea',"select",'input[type="checkbox"],input[type="radio"]'],o=a.join(","),r={},d=function(){function t(t){if(!e){var i=(0,n.toast)(t,99999999);e=!0,setTimeout(function(){(0,n.closeToast)(i),e=!1},1500)}}var e=null;return{show:t}}(),p=function(t,e){var i,n=$(this),o={required:!0,conditional:!0,pattern:!0},p=$.trim(n.val())||"",l=n.attr("data-validate"),c=void 0!=l?r[l]:{},u=n.attr("data-required"),s=n.attr("data-pattern")||("regexp"==$.type(c.pattern)?c.pattern:/(?:)/),f=n.attr("data-conditional")||c.conditional,v=n.attr("data-descriptions")||c.descriptions;n.attr("data-describedby")||c.describedby;return v=$.isPlainObject(v)?v:e.descriptions[v]||{},u=""==u||(u||!!c.required),"regexp"!=$.type(s)&&(s=RegExp(s)),u&&(n.is(a[0]+","+a[1])?!p.length>0&&(o.required=!1):n.is(a[2])&&(n.is("[name]")?0==e.$form.find('[name="'+n.prop("name")+'"]:checked').length&&(o.required=!1):o.required=field.is(":checked"))),n.is(a[0])&&(s.test(p)||(u?o.pattern=!1:p.length>0&&(o.pattern=!1))),"undefined"!=f&&($.isFunction(f)?o.conditional=!!f.call(n,p,e):e.conditional.hasOwnProperty(f)&&!e.conditional[f].call(n,p,e)&&(o.conditional=!1)),i=v.valid,o.required?o.pattern?o.conditional||(i=v.conditional):i=v.pattern:i=v.required,"function"==typeof c.each&&c.each.call(n,t,o,e),e.eachField.call(n,t,o,e),o.required&&o.pattern&&o.conditional?("function"==typeof c.valid&&c.valid.call(n,t,o,e),e.eachValidField.call(n,t,o,e)):(!e.firstInvalid&&e.firstInvalidFocus&&(e.firstInvalid=!0,n.focus()),1==e.type&&d.show(i),"function"==typeof c.invalid&&c.invalid.call(n,t,o,e),e.eachInvalidField.call(n,t,o,e)),o},l=function(t){return $.extend(r,t)},c=function(t,e){var i=$(t),n={type:1,validateInSubmit:!0,sendForm:!1,onKeyup:!1,onChange:!0,firstInvalidFocus:!1,conditional:{},descriptions:{},eachField:$.noop,eachValidField:$.noop,eachInvalidField:$.noop,valid:$.noop,invalid:$.noop,namespace:"mvalidate"},r=$.extend(!0,n,e),d=r.namespace;return r.type=Number(r.type),r.firstInvalid=!1,i.mvalidateDestroy().each(function(t){var e,i=$(this);i.is("form")&&(r.$form=i,i.zeptoData(name,{options:r}),e=i.find(o),r.onKeyup&&e.filter(a[0]).each(function(){$(this).on("keyup."+d,function(t){p.call(this,t,r)})}),r.onChange&&e.each(function(){$(this).is(a[1]+","+a[2])&&$(this).on("change."+d,function(t){p.call(this,t,r)})}),r.validateInSubmit&&i.on("submit."+d,function(t){var n=!0;r.firstInvalid=!1,e.each(function(){var e=p.call(this,t,r);e.pattern&&e.conditional&&e.required||(n=!1)}),n?(r.sendForm||t.preventDefault(),$.isFunction(r.valid)&&r.valid.call(i,t,r)):(t.preventDefault(),t.stopImmediatePropagation(),$.isFunction(r.invalid)&&r.invalid.call(i,t,r))}))})};$.fn.mvalidateDestroy=function(){var t,e=$(this),i=e.zeptoData(name);return e.is("form")&&$.isPlainObject(i)&&"string"==typeof i.options.namespace&&(t=e.removeData(name).find(o),t.off("."+i.options.namespace)),e},e.validate=c,e.validateExtend=l}},[229])});
|
package/jsbridgeman.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():e.fastman=t()}(this,function(){return function(e){function t(
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():e.fastman=t()}(this,function(){return function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var o={};return t.m=e,t.c=o,t.i=function(e){return e},t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=18)}({1:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){var t=document.createElement("a");t.setAttribute("href",e);var o=t.href;return t=null,o},r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},a=function(e){return!(null!=e&&(e.length||e.length>0))},i=function(e){if(e){if(1==e.length)return e;var t=e.substring(e.length-1,e.length);return(e.length>=3?"**":"*")+t}return e};t.getAbsoluteUrl=n,t._extends=r,t.isEmpty=a,t.maskName=i},18:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onApiRequest=t.pageWillAppear=t.onRequest=t.onDynamicLink=t.subscribeNotify=t.onNotify=t.onPushView=t.onNavigationBar=t.onRefresh=t.onBack=t.ready=t.wrapNotOkPayload=t.wrapOkPayload=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},r=o(1),a=o(9),i=navigator.userAgent,c=i.match(/(Android);?[\s\/]+([\d.]+)?/),l=i.match(/(iPad).*OS\s([\d_]+)/),s=i.match(/(iPod)(.*OS\s([\d_]+))?/),f=!l&&i.match(/(iPhone\sOS)\s([\d_]+)/),d=!!i.toLowerCase().match(/DFYJ/i),p=!!i.toLowerCase().match(/ArkWeb/i),u=function(e){return e.init(function(e,t){t&&t(data)}),e},y=function(e){var t=function(t){(0,a.log)("[ready] <-"),e(t)};if((0,a.log)("[ready] ->"),d)if(l||f||s){if(window.WebViewJavascriptBridge)return t(WebViewJavascriptBridge);if(window.WVJBCallbacks)return window.WVJBCallbacks.push(t);window.WVJBCallbacks=[t];var o=document.createElement("iframe");o.style.display="none",o.src="https://__bridge_loaded__",document.documentElement.appendChild(o),setTimeout(function(){document.documentElement.removeChild(o)},0)}else c?window.WebViewJavascriptBridge?t(u(WebViewJavascriptBridge)):document.addEventListener("WebViewJavascriptBridgeReady",function(){t(u(WebViewJavascriptBridge))},!1):t();else t()},g=function(){},b=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},k=function(){return{code:arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,info:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"error"}},v=function(e){var t={complete:g};t=(0,r._extends)({},t,e),(0,a.log)("onBack->"+JSON.stringify(t)),p?HmJsBridge.back&&HmJsBridge.back(t):WebViewJavascriptBridge.callHandler("back",t,function(e){(0,a.log)("onBack<-"+JSON.stringify(e)),t.complete(e)})},m=function(e){var t={complete:g};t=(0,r._extends)({},t,e),(0,a.log)("onRefresh->"+JSON.stringify(t)),p?HmJsBridge.refresh&&HmJsBridge.refresh(t):WebViewJavascriptBridge.callHandler("refresh",t,function(e){(0,a.log)("onRefresh<-"+JSON.stringify(e)),t.complete(e)})},J=function(e){var t={complete:g};t=(0,r._extends)({},t,e),(0,a.log)("onNavigationBar->"+JSON.stringify(t)),p?HmJsBridge.navigationBar&&HmJsBridge.navigationBar(t):WebViewJavascriptBridge.callHandler("navigationBar",t,function(e){(0,a.log)("onNavigationBar<-"+JSON.stringify(e)),t.complete(e)})},w=function(e){var t={title:""};t=(0,r._extends)({},t,e),t.uri&&(-1!=t.uri.indexOf("http")||-1!=t.uri.indexOf("https")||(t.uri=(0,r.getAbsoluteUrl)(t.uri))),(0,a.log)("onPushView->"+JSON.stringify(t)),p?HmJsBridge.go&&HmJsBridge.go(t):WebViewJavascriptBridge.callHandler("pushView",t,function(e){(0,a.log)("onPushView<-"+JSON.stringify(e))})},O=function(e){"function"==typeof e&&(p?HmJsBridge.willAppear&&HmJsBridge.willAppear(e):WebViewJavascriptBridge.registerHandler("pageWillAppear",e))},h=function(e){var t={type:"javascriptNotify"};t=(0,r._extends)({},t,e),(0,a.log)("onNotify->"+JSON.stringify(t)),p?HmJsBridge.willAppear&&HmJsBridge.notify(t):WebViewJavascriptBridge.callHandler("notify",t,function(e){(0,a.log)("onNotify<-"+JSON.stringify(e))})},B={},N=function(e,t){if("function"==typeof t){var o=e;"sae_video"!=o&&"result_video"!=o||(o="notify"),B[o]=t,(0,a.log)("subscribeNotify->"+e),p?HmJsBridge.subscribeNotify&&HmJsBridge.subscribeNotify(o,function(e){(0,a.log)("subscribeNotify<-"+JSON.stringify(e)),Object.prototype.toString.call(e).toLocaleLowerCase()=="[object String]".toLocaleLowerCase()&&(e=JSON.parse(e)),B[o]&&B[o](e)}):WebViewJavascriptBridge.registerHandler(o,function(t){if((0,a.log)("subscribeNotify<-"+JSON.stringify(t)),Object.prototype.toString.call(t).toLocaleLowerCase()=="[object String]".toLocaleLowerCase()&&(t=JSON.parse(t)),"result_video"==e&&t.payload){Object.prototype.toString.call(t.payload).toLocaleLowerCase()=="[object String]".toLocaleLowerCase()&&(t.payload=JSON.parse(t.payload)),(l||f||s)&&(t.payload=n({},t.payload.params));var r=[];if(t.payload.result&&t.payload.result.length){t.payload.result.forEach(function(e){e.reasons&&"[object Array]"==Object.prototype.toString.call(e.reasons)&&(r=r.concat(e.reasons))})}t.payload.reject_reasons=r.reduce(function(e,t){return e.concat(t.split(";"))},[])}B[o]&&B[o](t)})}},_=function(e){var t={url:""};t=(0,r._extends)({},t,e),(0,a.log)("onDynamicLink->"+JSON.stringify(t)),p?HmJsBridge.dynamicLink&&HmJsBridge.dynamicLink(t):WebViewJavascriptBridge.callHandler("dynamicLink",t,function(e){(0,a.log)("onDynamicLink<-"+JSON.stringify(e))})},S={},H=!1,V=function(e,t){switch(arguments.length){case 1:return parseInt(Math.random()*e+1,10);case 2:return parseInt(Math.random()*(t-e+1)+e,10);default:return 0}},I=[],W=function e(){var t=V(1e3,9999);return-1!==I.indexOf(t)?e(t):(I.push(t),t)},j=function(e,t,o,n){var r={type:e||"1",payload:t||{},callbackId:W()};if(S[e+"-ok"]="function"==typeof o?o:g,S[e+"-notok"]="function"==typeof n?n:g,S[e+"_"+r.callbackId+"-ok"]="function"==typeof o?o:g,S[e+"_"+r.callbackId+"-notok"]="function"==typeof n?n:g,p)return void(HmJsBridge.request&&HmJsBridge.request(r,function(e){"string"==typeof e&&(e=JSON.parse(e)),e.error||"true"===e.error?e.callbackId&&"function"==typeof S[e.type+"_"+e.callbackId+"-notok"]?S[e.type+"_"+e.callbackId+"-notok"](k(-1,e.info)):"function"==typeof S[e.type+"-notok"]&&S[e.type+"-notok"](k(-1,e.info)):e.callbackId&&"function"==typeof S[e.type+"_"+e.callbackId+"-ok"]?(l||f||s||e.payload)&&S[e.type+"_"+e.callbackId+"-ok"](b(e.payload)):"function"==typeof S[e.type+"-ok"]&&(l||f||s||e.payload)&&S[e.type+"-ok"](b(e.payload))}));WebViewJavascriptBridge.callHandler("request",r,function(e){"string"==typeof e&&(e=JSON.parse(e)),e.error||"true"===e.error?e.callbackId&&"function"==typeof S[e.type+"_"+e.callbackId+"-notok"]?S[e.type+"_"+e.callbackId+"-notok"](k(-1,e.info)):"function"==typeof S[e.type+"-notok"]&&S[e.type+"-notok"](k(-1,e.info)):e.callbackId&&"function"==typeof S[e.type+"_"+e.callbackId+"-ok"]?(l||f||s||e.payload)&&S[e.type+"_"+e.callbackId+"-ok"](b(e.payload)):"function"==typeof S[e.type+"-ok"]&&(l||f||s||e.payload)&&S[e.type+"-ok"](b(e.payload))}),H||(WebViewJavascriptBridge.registerHandler("request",function(e){"string"==typeof e&&(e=JSON.parse(e)),e.error||"true"===e.error?e.callbackId&&"function"==typeof S[e.type+"_"+e.callbackId+"-notok"]?S[e.type+"_"+e.callbackId+"-notok"](k(-1,e.info)):"function"==typeof S[e.type+"-notok"]&&S[e.type+"-notok"](k(-1,e.info)):e.callbackId&&"function"==typeof S[e.type+"_"+e.callbackId+"-ok"]?S[e.type+"_"+e.callbackId+"-ok"](b(e.payload)):"function"==typeof S[e.type+"-ok"]&&S[e.type+"-ok"](b(e.payload))}),H=!0)},L=function(e,t,o,n){if((0,r.isEmpty)(e))throw new Error("functionNo is required ...");var i={funcId:e,payload:t||{}};(0,a.log)("onApiRequest->"+JSON.stringify(i)),p||WebViewJavascriptBridge.callHandler("apiRequest",i,function(e){if((0,a.log)("onApiRequest<-"+JSON.stringify(e)),"string"==typeof e&&(e=JSON.parse(e)),l||f||s){if(e.error||"true"===e.error)e.payload?"function"==typeof n&&n(k(e.payload.code,e.payload.info)):"function"==typeof n&&n(k(-1,e.info));else if("function"==typeof o){var t={};e.payload&&(t="string"==typeof e.payload.data?JSON.parse(e.payload.data):e.payload.data),o(b(t))}}else if(e.error||"true"===e.error)"function"==typeof n&&n(k(-1,e.info));else{var r={};r="string"==typeof e.payload.data?JSON.parse(e.payload.data):e.payload.data?e.payload.data:{},"0"!=e.payload.code?"function"==typeof n&&n(k(e.payload.code,e.payload.info)):"function"==typeof o&&o(b(r))}})};t.wrapOkPayload=b,t.wrapNotOkPayload=k,t.ready=y,t.onBack=v,t.onRefresh=m,t.onNavigationBar=J,t.onPushView=w,t.onNotify=h,t.subscribeNotify=N,t.onDynamicLink=_,t.onRequest=j,t.pageWillAppear=O,t.onApiRequest=L},9:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){var e=new Date;e.getDate();return(e.getHours()<10?"0"+e.getHours():e.getHours())+":"+(e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes())+":"+(e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds())+"."+e.getMilliseconds()},r=function(e){e&&(e=n()+"[赢家]: "+e)},a=function(e){e&&(e=n()+"[赢家]: "+e)};t.log=r,t.errorlog=a}})});
|
package/lazyloadman.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(a,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():a.fastman=t()}(this,function(){return webpackJsonpfastman([14],{
|
|
1
|
+
!function(a,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():a.fastman=t()}(this,function(){return webpackJsonpfastman([14],{233:function(a,t,o){a.exports=o(98)},98:function(a,t,o){"use strict";(function(a){Object.defineProperty(t,"__esModule",{value:!0}),t.LazyLoad=void 0;var e=o(51),A=function(a){return a&&a.__esModule?a:{default:a}}(e),r=function(t){var o=t.container,e=void 0===o?".page-group":o,r=t.offset,n=void 0===r?333:r,s=t.src,i=void 0===s?"data-src":s;return{actions:{lazyLoad:{refresh:function(t){var o="function"==typeof a.MutationObserver,r=$(e),s=r.find("img");s&&s.length>0&&$.each(s,function(a,t){if(t){var e=$(t);if(!e.attr("src"))if(e.attr("src","data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg=="),e.addClass("lazyload-load"),o)(0,A.default)(t,{offset:n},function(a){var t=$(a).attr(i),o=$(a).attr("lazy");t&&!o&&($(a).attr("src",t),$(a)[0].onerror=function(a){$(this).attr("src","data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg=="),$(this).addClass("lazyload-loaderror"),$(this).on("click",function(){$(this).hasClass("lazyload-loaderror")&&$(this).removeClass("lazyload-loaderror").addClass("lazyload-load").attr("src",t)})},$(a).attr("lazy","1"))});else{var r=e.attr(i);r&&e.attr("src",r)}}})}}},hooks:{onPageDidAppear:function(a,t,o,e,A){e.lazyLoad.refresh()}}}};t.LazyLoad=r}).call(t,o(3))}},[233])});
|
package/loadingman.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(o,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.fastman=e():o.fastman=e()}(this,function(){return webpackJsonpfastman([23],{
|
|
1
|
+
!function(o,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.fastman=e():o.fastman=e()}(this,function(){return webpackJsonpfastman([23],{220:function(o,e,t){o.exports=t(88)},88:function(o,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hideLoading=e.showLoading=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},a=t(10),i=function(o){var e="",t="loading";if("object"===(void 0===o?"undefined":n(o))){var i=o.text,r=void 0===i?e:i,d=o.type,s=void 0===d?t:d;e=r,t=s}if(!$(".preloader-indicator-modal")[0]){var c="preloader-indicator-modal",p="preloader";""!==e&&(c+=" toast-loading"),"success"===t&&(p="preloader-success-no-circle");var l='<div class="preloader-indicator-overlay"></div><div class="'+c+'"><span class="'+p+'"></span>';""!==e&&(l+='<p class="text">'+e+"</p>"),l+="</div>",$(a.defaults.modalContainer).append(l)}},r=function(){$(".preloader-indicator-overlay, .preloader-indicator-modal").remove()};e.showLoading=i,e.hideLoading=r}},[220])});
|
package/modalman.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(o,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports.fastman=a():o.fastman=a()}(this,function(){return webpackJsonpfastman([22],{10:function(o,a,l){"use strict";function t(o){var a=$(this);a.attr("href"),a.dataset();a.hasClass("modal-overlay")&&($(".modal.modal-in").length>0&&i.modalCloseByOutside&&d(".modal.modal-in"),$(".actions-modal.modal-in").length>0&&i.actionsCloseByOutside&&d(".actions-modal.modal-in")),a.hasClass("popup-overlay")&&$(".popup-modal.modal-in").length>0&&i.popupCloseByOutside&&d(".popup-modal.modal-in")}Object.defineProperty(a,"__esModule",{value:!0});var e=document.createElement("div");$.modalStack=[],$.modalStackClearQueue=function(){$.modalStack.length&&$.modalStack.shift()()};var s=function(o){o=o||{};var a="",l="";if(o.buttons&&o.buttons.length>0)for(var t=0;t<o.buttons.length;t++)l+='<span class="modal-button'+(o.buttons[t].bold?" modal-button-bold":"")+'">'+o.buttons[t].text+"</span>";var s=o.extraClass||"",r=o.title?'<div class="modal-title">'+o.title+"</div>":"",m=o.text?'<div class="modal-text">'+o.text+"</div>":"",c=o.afterText?o.afterText:"",u=o.buttons&&0!==o.buttons.length?"":"modal-no-buttons",p=o.verticalButtons?"modal-buttons-vertical":"";a='<div class="modal '+s+" "+u+'">'+(!o.isClose?"":'<i class="modal-close">+</i>')+'<div class="modal-inner">'+(r+m+c)+'</div><div class="modal-buttons '+p+'">'+l+"</div></div>",e.innerHTML=a;var v=$(e).children();return $(i.modalContainer).append(v[0]),v.find(".modal-button").each(function(a,l){$(l).on("click",function(l){!1!==o.buttons[a].close&&d(v),o.buttons[a].onClick&&o.buttons[a].onClick(v,l),o.onClick&&o.onClick(v,a)})}),v.find(".modal-close").on("click",function(o){d(v)}),n(v),v[0]},n=function o(a,l){a=$(a);var t=a.hasClass("modal"),e=!a.hasClass("toast");if($(".modal.modal-in:not(.modal-out)").length&&i.modalStack&&t&&e)return void $.modalStack.push(function(){o(a,l)});var s=a.hasClass("popup-modal"),n=a.hasClass("login-screen"),d=a.hasClass("picker-modal"),r=a.hasClass("toast"),m=a.hasClass("tip-modal"),c=a.hasClass("actions-modal");t&&(a.show(),a.css({marginTop:-Math.round(a.outerHeight()/2)+"px"})),r&&a.css({marginLeft:-Math.round(a.outerWidth()/2/1.185)+"px"}),s&&(a.show(),a.find(".content").scroller("refresh"),a.find("."+i.viewClass).length>0&&$.sizeNavbars(a.find("."+i.viewClass)[0])),(m||c)&&a.show();var u;n||d||r||m||(0!==$(".modal-overlay").length||s||$(i.modalContainer).append('<div class="modal-overlay"></div>'),0===$(".popup-overlay").length&&s&&$(i.modalContainer).append('<div class="popup-overlay"></div>'),u=s?$(".popup-overlay"):$(".modal-overlay"));a[0].clientLeft;return a.trigger("open"),d&&$(i.modalContainer).addClass("with-picker-modal"),n||d||r||m||u.addClass("modal-overlay-visible"),a.removeClass("modal-out").addClass("modal-in").transitionEnd(function(o){a.hasClass("modal-out")?a.trigger("closed"):a.trigger("opened")}),"function"==typeof l&&l.call(this),!0},d=function(o,a){if(void 0===(o=$(o||".modal-in"))||0!==o.length){var l=o.hasClass("modal"),t=o.hasClass("popup-modal"),e=o.hasClass("toast"),s=o.hasClass("login-screen"),n=o.hasClass("picker-modal"),d=o.hasClass("tip-modal"),r=o.hasClass("actions-modal"),m=o.hasClass("remove-on-close"),c=t?$(".popup-overlay"):$(".modal-overlay");return t?o.length===$(".popup-modal.modal-in").length&&c.removeClass("modal-overlay-visible"):n||e||c.removeClass("modal-overlay-visible"),o.trigger("close"),n&&($(i.modalContainer).removeClass("with-picker-modal"),$(i.modalContainer).addClass("picker-modal-closing")),o.removeClass("modal-in").addClass("modal-out").transitionEnd(function(e){o.hasClass("modal-out")?o.trigger("closed"):o.trigger("opened"),n&&$(i.modalContainer).removeClass("picker-modal-closing"),"function"==typeof a&&a.call(this),t||s||n||l||d||r?(o.removeClass("modal-out").hide(),m&&o.length>0&&o.remove()):o.remove()}),l&&i.modalStack&&$.modalStackClearQueue(),!0}};$(document).on("click"," .modal-overlay, .popup-overlay, .close-popup, .open-popup, .close-picker",t);var i=s.prototype.defaults={modalStack:!0,modalButtonOk:"确定",modalButtonCancel:"取消",modalPreloaderTitle:"加载中",modalContainer:document.body?document.body:"body",modalTitle:"",actionsCloseByOutside:!0};a.defaults=i,a.modal=s,a.openModal=n,a.closeModal=d},
|
|
1
|
+
!function(o,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports.fastman=a():o.fastman=a()}(this,function(){return webpackJsonpfastman([22],{10:function(o,a,l){"use strict";function t(o){var a=$(this);a.attr("href"),a.dataset();a.hasClass("modal-overlay")&&($(".modal.modal-in").length>0&&i.modalCloseByOutside&&d(".modal.modal-in"),$(".actions-modal.modal-in").length>0&&i.actionsCloseByOutside&&d(".actions-modal.modal-in")),a.hasClass("popup-overlay")&&$(".popup-modal.modal-in").length>0&&i.popupCloseByOutside&&d(".popup-modal.modal-in")}Object.defineProperty(a,"__esModule",{value:!0});var e=document.createElement("div");$.modalStack=[],$.modalStackClearQueue=function(){$.modalStack.length&&$.modalStack.shift()()};var s=function(o){o=o||{};var a="",l="";if(o.buttons&&o.buttons.length>0)for(var t=0;t<o.buttons.length;t++)l+='<span class="modal-button'+(o.buttons[t].bold?" modal-button-bold":"")+'">'+o.buttons[t].text+"</span>";var s=o.extraClass||"",r=o.title?'<div class="modal-title">'+o.title+"</div>":"",m=o.text?'<div class="modal-text">'+o.text+"</div>":"",c=o.afterText?o.afterText:"",u=o.buttons&&0!==o.buttons.length?"":"modal-no-buttons",p=o.verticalButtons?"modal-buttons-vertical":"";a='<div class="modal '+s+" "+u+'">'+(!o.isClose?"":'<i class="modal-close">+</i>')+'<div class="modal-inner">'+(r+m+c)+'</div><div class="modal-buttons '+p+'">'+l+"</div></div>",e.innerHTML=a;var v=$(e).children();return $(i.modalContainer).append(v[0]),v.find(".modal-button").each(function(a,l){$(l).on("click",function(l){!1!==o.buttons[a].close&&d(v),o.buttons[a].onClick&&o.buttons[a].onClick(v,l),o.onClick&&o.onClick(v,a)})}),v.find(".modal-close").on("click",function(o){d(v)}),n(v),v[0]},n=function o(a,l){a=$(a);var t=a.hasClass("modal"),e=!a.hasClass("toast");if($(".modal.modal-in:not(.modal-out)").length&&i.modalStack&&t&&e)return void $.modalStack.push(function(){o(a,l)});var s=a.hasClass("popup-modal"),n=a.hasClass("login-screen"),d=a.hasClass("picker-modal"),r=a.hasClass("toast"),m=a.hasClass("tip-modal"),c=a.hasClass("actions-modal");t&&(a.show(),a.css({marginTop:-Math.round(a.outerHeight()/2)+"px"})),r&&a.css({marginLeft:-Math.round(a.outerWidth()/2/1.185)+"px"}),s&&(a.show(),a.find(".content").scroller("refresh"),a.find("."+i.viewClass).length>0&&$.sizeNavbars(a.find("."+i.viewClass)[0])),(m||c)&&a.show();var u;n||d||r||m||(0!==$(".modal-overlay").length||s||$(i.modalContainer).append('<div class="modal-overlay"></div>'),0===$(".popup-overlay").length&&s&&$(i.modalContainer).append('<div class="popup-overlay"></div>'),u=s?$(".popup-overlay"):$(".modal-overlay"));a[0].clientLeft;return a.trigger("open"),d&&$(i.modalContainer).addClass("with-picker-modal"),n||d||r||m||u.addClass("modal-overlay-visible"),a.removeClass("modal-out").addClass("modal-in").transitionEnd(function(o){a.hasClass("modal-out")?a.trigger("closed"):a.trigger("opened")}),"function"==typeof l&&l.call(this),!0},d=function(o,a){if(void 0===(o=$(o||".modal-in"))||0!==o.length){var l=o.hasClass("modal"),t=o.hasClass("popup-modal"),e=o.hasClass("toast"),s=o.hasClass("login-screen"),n=o.hasClass("picker-modal"),d=o.hasClass("tip-modal"),r=o.hasClass("actions-modal"),m=o.hasClass("remove-on-close"),c=t?$(".popup-overlay"):$(".modal-overlay");return t?o.length===$(".popup-modal.modal-in").length&&c.removeClass("modal-overlay-visible"):n||e||c.removeClass("modal-overlay-visible"),o.trigger("close"),n&&($(i.modalContainer).removeClass("with-picker-modal"),$(i.modalContainer).addClass("picker-modal-closing")),o.removeClass("modal-in").addClass("modal-out").transitionEnd(function(e){o.hasClass("modal-out")?o.trigger("closed"):o.trigger("opened"),n&&$(i.modalContainer).removeClass("picker-modal-closing"),"function"==typeof a&&a.call(this),t||s||n||l||d||r?(o.removeClass("modal-out").hide(),m&&o.length>0&&o.remove()):o.remove()}),l&&i.modalStack&&$.modalStackClearQueue(),!0}};$(document).on("click"," .modal-overlay, .popup-overlay, .close-popup, .open-popup, .close-picker",t);var i=s.prototype.defaults={modalStack:!0,modalButtonOk:"确定",modalButtonCancel:"取消",modalPreloaderTitle:"加载中",modalContainer:document.body?document.body:"body",modalTitle:"",actionsCloseByOutside:!0};a.defaults=i,a.modal=s,a.openModal=n,a.closeModal=d},221:function(o,a,l){o.exports=l(10)}},[221])});
|
package/mutationobserverman.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.fastman=e():t.fastman=e()}(this,function(){return webpackJsonpfastman([8],{
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.fastman=e():t.fastman=e()}(this,function(){return webpackJsonpfastman([8],{231:function(t,e,n){t.exports=n(51)},3:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},51:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(59);e.default=o},59:function(t,e,n){(function(e){function n(t,n,o){var r={container:e.document.body,offset:0,debounce:15,failsafe:150};void 0!==n&&"function"!=typeof n||(o=n,n={});var c=r.container=n.container||r.container,u=r.offset=n.offset||r.offset,a=r.debounce=n.debounce||r.debounce,s=r.failsafe=n.failsafe||r.failsafe;!0===s?s=150:!1===s&&(s=0),s>0&&s<a&&(s=a+50);for(var l=0;l<f.length;l++)if(f[l].container===c&&f[l]._debounce===a&&f[l]._failsafe===s)return f[l].isInViewport(t,u,o);return f[f.push(i(c,a,s))-1].isInViewport(t,u,o)}function o(t,e,n){t.attachEvent?t.attachEvent("on"+e,n):t.addEventListener(e,n,!1)}function r(t,e,n){var o;return function(){function r(){o=null,n||t.apply(i,c)}var i=this,c=arguments,u=n&&!o;clearTimeout(o),o=setTimeout(r,e),u&&t.apply(i,c)}}function i(t,n,i){function f(t,e,n){if(!n)return m(t,e);var o=l(t,e,n);return o.watch(),o}function l(t,e,n){function o(){p.add(t,e,n)}function r(){p.remove(t)}return{watch:o,dispose:r}}function d(t,e,n){m(t,e)&&(p.remove(t),n(t))}function m(n,o){if(!n)return!1;if(!s(e.document.documentElement,n)||!s(e.document.documentElement,t))return!1;if(!n.offsetWidth||!n.offsetHeight)return!1;var r=n.getBoundingClientRect(),i={};if(t===e.document.body)i={top:-o,left:-o,right:e.document.documentElement.clientWidth+o,bottom:e.document.documentElement.clientHeight+o};else{var c=t.getBoundingClientRect();i={top:c.top-o,left:c.left-o,right:c.right+o,bottom:c.bottom+o}}return r.right>=i.left&&r.left<=i.right&&r.bottom>=i.top&&r.top<=i.bottom}var p=c(),h=t===e.document.body?e:t,v=r(p.checkAll(d),n);return o(h,"scroll",v),h===e&&o(e,"resize",v),a&&u(p,t,v),i>0&&setInterval(v,i),{container:t,isInViewport:f,_debounce:n,_failsafe:i}}function c(){function t(t,e,n){o(t)||i.push([t,e,n])}function e(t){var e=n(t);-1!==e&&i.splice(e,1)}function n(t){for(var e=i.length-1;e>=0;e--)if(i[e][0]===t)return e;return-1}function o(t){return-1!==n(t)}function r(t){return function(){for(var e=i.length-1;e>=0;e--)t.apply(this,i[e])}}var i=[];return{add:t,remove:e,isWatched:o,checkAll:r}}function u(t,e,n){function o(t){!0===t.some(r)&&setTimeout(n,0)}function r(e){var n=u.call([],Array.prototype.slice.call(e.addedNodes),e.target);return c.call(n,t.isWatched).length>0}var i=new MutationObserver(o),c=Array.prototype.filter,u=Array.prototype.concat;i.observe(e,{childList:!0,subtree:!0,attributes:!0})}t.exports=n;var f=[],a="function"==typeof e.MutationObserver,s=function(){return!e.document||(e.document.documentElement.compareDocumentPosition?function(t,e){return!!(16&t.compareDocumentPosition(e))}:e.document.documentElement.contains?function(t,e){return t!==e&&!!t.contains&&t.contains(e)}:function(t,e){for(;e=e.parentNode;)if(e===t)return!0;return!1})}}).call(e,n(3))}},[231])});
|
package/package.json
CHANGED
package/persistman.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():e.fastman=t()}(this,function(){return webpackJsonpfastman([13],{
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():e.fastman=t()}(this,function(){return webpackJsonpfastman([13],{234:function(e,t,n){e.exports=n(99)},99:function(e,t,n){"use strict";function o(e,t){return"previous"===e?void 0:t}Object.defineProperty(t,"__esModule",{value:!0});var s=function(e){return{model:{previous:JSON.parse(localStorage.getItem("fastman-persist-state"))},actions:{saveSessionState:function(e){localStorage.setItem("fastman-persist-state",JSON.stringify(e,o))}},readies:[function(e,t,n){window.addEventListener("unload",function(){t.saveSessionState()})}]}};t.Persist=s}},[234])});
|
package/pickerman.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():e.fastman=t()}(this,function(){return webpackJsonpfastman([21],{223:function(e,t,a){e.exports=a(30)},30:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=arguments,i="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},r=a(10),o=function(e,t){if(void 0===t&&(t=!0),"string"==typeof e&&e.indexOf("<")>=0){if(e=$(e),!(e.length>0))return!1;t&&e.addClass("remove-on-close"),$(r.defaults.modalContainer).append(e[0])}return e=$(e),0!==e.length&&(e.show(),(0,r.openModal)(e),e[0])},s=function(e){function t(){if(s.opened)for(var e=0;e<s.cols.length;e++)s.cols[e].divider||(s.cols[e].calcSize(),s.cols[e].setValue(s.cols[e].value,0,!1))}function a(e){if(e.preventDefault(),$.device.isWeixin&&$.device.android&&s.params.inputReadOnly&&(this.focus(),this.blur()),!s.opened){if((0,r.closeModal)($(".picker-modal")),s.open(),s.params.scrollToInput){var t=s.input.parents(".content");if(0===t.length)return;var a,n=parseInt(t.css("padding-top"),10),i=parseInt(t.css("padding-bottom"),10),o=t[0].offsetHeight-n-s.container.height(),l=t[0].scrollHeight-n-s.container.height(),c=s.input.offset().top-n+s.input[0].offsetHeight;if(c>o){var p=t.scrollTop()+c-o;p+o>l&&(a=p+o-l+i,o===l&&(a=s.container.height()),t.css({"padding-bottom":a+"px"})),t.scrollTop(p,300)}}e.stopPropagation()}}function n(e){s.opened&&(s.closeFromOverlay=!1,s.input&&s.input.length>0?e.target!==s.input[0]&&0===$(e.target).parents(".picker-modal").length&&(s.closeFromOverlay=!0,(0,r.closeModal)(s.container)):0===$(e.target).parents(".picker-modal").length&&(s.closeFromOverlay=!0,(0,r.closeModal)(s.container)))}function i(){s.opened=!1,s.input&&s.input.length>0&&s.input.parents(".content").css({"padding-bottom":""}),s.params.onClose&&s.params.onClose(s),s.container.find(".picker-items-col").each(function(){s.destroyPickerCol(this)})}var s=this,l={updateValuesOnMomentum:!1,updateValuesOnTouchmove:!0,rotateEffect:!1,momentumRatio:7,freeMode:!1,scrollToInput:!0,inputReadOnly:!0,toolbar:!0,toolbarCloseText:"确定",toolbarTemplate:'<header class="bar bar-nav"> <button class="button button-link pull-right close-picker">确定</button> <h1 class="title">请选择</h1> </header>',updateValue:!0};e=e||{};for(var c in l)void 0===e[c]&&(e[c]=l[c]);s.params=e,s.cols=[],s.initialized=!1,s.inline=!!s.params.container;var p=$.device.ios||navigator.userAgent.toLowerCase().indexOf("safari")>=0&&navigator.userAgent.toLowerCase().indexOf("chrome")<0&&!$.device.android;return s.setValue=function(e,t){for(var a=0,n=0;n<s.cols.length;n++)s.cols[n]&&!s.cols[n].divider&&(s.cols[n].setValue(e[a],t),a++)},s.updateValue=function(){for(var e=[],t=[],a=0;a<s.cols.length;a++)s.cols[a].divider||(e.push(s.cols[a].value),t.push(s.cols[a].displayValue));e.indexOf(void 0)>=0||(s.value=e,s.displayValue=t,s.params.onChange&&s.params.onChange(s,s.value,s.displayValue),s.input&&s.input.length>0&&($(s.input).val(s.params.formatValue?s.params.formatValue(s,s.value,s.displayValue):s.value.join(" ")),$(s.input).trigger("change")))},s.initPickerCol=function(e,t){function a(){g=$.requestAnimationFrame(function(){u.updateItems(void 0,void 0,0),a()})}function n(e){w||y||(e.preventDefault(),y=!0,x=b="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY,V=(new Date).getTime(),H=!0,k=C=O=$.getTranslate(u.wrapper[0],"y"))}function i(e){if(y){e.preventDefault(),H=!1,b="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,w||($.cancelAnimationFrame(g),w=!0,C=O=$.getTranslate(u.wrapper[0],"y"),u.wrapper.transition(0)),e.preventDefault();O=C+(b-x),T=void 0,O<v&&(O=v-Math.pow(v-O,.8),T="min"),O>h&&(O=h+Math.pow(O-h,.8),T="max"),u.wrapper.transform("translate3d(0,"+O+"px,0)"),u.updateItems(void 0,O,0,s.params.updateValuesOnTouchmove),I=O-E||O,A=(new Date).getTime(),E=O}}function r(e){if(!y||!w)return void(y=w=!1);y=w=!1,u.wrapper.transition(""),T&&("min"===T?u.wrapper.transform("translate3d(0,"+v+"px,0)"):u.wrapper.transform("translate3d(0,"+h+"px,0)")),M=(new Date).getTime();var t;M-V>300?t=O:(Math.abs(I/(M-A)),t=O+I*s.params.momentumRatio),t=Math.max(Math.min(t,h),v);var n,i=(t-h)%f;n=k>t&&Math.abs(i+f)<f/2||k<t&&Math.abs(i+f)<f/2?-Math.floor((t-h)/f):-Math.ceil((t-h)/f),s.params.freeMode||(t=-n*f+h),u.wrapper.transform("translate3d(0,"+parseInt(t,10)+"px,0)"),u.updateItems(n,t,"",!0),s.params.updateValuesOnMomentum&&(a(),u.wrapper.transitionEnd(function(){$.cancelAnimationFrame(g)})),setTimeout(function(){H=!0},100)}function o(e){if(H){$.cancelAnimationFrame(g);var t=$(this).attr("data-picker-value");u.setValue(t)}}var l=$(e),c=l.index(),u=s.cols[c];if(!u.divider){u.container=l,u.wrapper=u.container.find(".picker-items-col-wrapper"),u.items=u.wrapper.find(".picker-item");var d,f,m,v,h;u.replaceValues=function(e,t){u.destroyEvents(),u.values=e,u.displayValues=t;var a=s.columnHTML(u,!0);u.wrapper.html(a),u.items=u.wrapper.find(".picker-item"),u.calcSize(),u.setValue(u.values[0],0,!0),u.initEvents()},u.calcSize=function(){s.params.rotateEffect&&(u.container.removeClass("picker-items-col-absolute"),u.width||u.container.css({width:""}));var e,t;e=0,t=u.container[0].offsetHeight,d=u.wrapper[0].offsetHeight,f=u.items[0].offsetHeight,m=f*u.items.length,v=t/2-m+f/2,h=t/2-f/2,u.width&&(e=u.width,parseInt(e,10)===e&&(e+="px"),u.container.css({width:e})),s.params.rotateEffect&&(u.width||(u.items.each(function(){var t=$(this);t.css({width:"auto"}),e=Math.max(e,t[0].offsetWidth),t.css({width:""})}),u.container.css({width:e+2+"px"})),u.container.addClass("picker-items-col-absolute"))},u.calcSize(),u.wrapper.transform("translate3d(0,"+h+"px,0)").transition(0);var g;u.setValue=function(e,t,n){void 0===t&&(t="");var i=u.wrapper.find('.picker-item[data-picker-value="'+e+'"]').index();if(void 0!==i&&-1!==i){var r=-i*f+h;u.wrapper.transition(t),u.wrapper.transform("translate3d(0,"+r+"px,0)"),s.params.updateValuesOnMomentum&&u.activeIndex&&u.activeIndex!==i&&($.cancelAnimationFrame(g),u.wrapper.transitionEnd(function(){$.cancelAnimationFrame(g)}),a()),u.updateItems(i,r,t,n)}},u.updateItems=function(e,t,a,n){void 0===t&&(t=$.getTranslate(u.wrapper[0],"y")),void 0===e&&(e=-Math.round((t-h)/f)),e<0&&(e=0),e>=u.items.length&&(e=u.items.length-1);var i=u.activeIndex;u.activeIndex=e,u.wrapper.find(".picker-selected").removeClass("picker-selected"),s.params.rotateEffect&&u.items.transition(a);var r=u.items.eq(e).addClass("picker-selected").transform("");if((n||void 0===n)&&(u.value=r.attr("data-picker-value"),u.displayValue=u.displayValues?u.displayValues[e]:u.value,i!==e&&(u.onChange&&u.onChange(s,u.value,u.displayValue),s.params.updateValue&&s.updateValue())),s.params.rotateEffect){Math.floor((t-h)/f);u.items.each(function(){var e=$(this),a=e.index()*f,n=h-t,i=a-n,r=i/f,o=Math.ceil(u.height/f/2)+1,s=-18*r;s>180&&(s=180),s<-180&&(s=-180),Math.abs(r)>o?e.addClass("picker-item-far"):e.removeClass("picker-item-far"),e.transform("translate3d(0, "+(-t+h)+"px, "+(p?-110:0)+"px) rotateX("+s+"deg)")})}},t&&u.updateItems(0,h,0);var k,y,w,x,b,V,M,C,T,O,E,I,A,H=!0;u.initEvents=function(e){var t=e?"off":"on";u.container[t]($.touchEvents.start,n),u.container[t]($.touchEvents.move,i),u.container[t]($.touchEvents.end,r),u.items[t]("click",o)},u.destroyEvents=function(){u.initEvents(!0)},u.container[0].f7DestroyPickerCol=function(){u.destroyEvents()},u.initEvents()}},s.destroyPickerCol=function(e){e=$(e),"f7DestroyPickerCol"in e[0]&&e[0].f7DestroyPickerCol()},$(window).on("resize",t),s.columnHTML=function(e,t){var a="",n="";if(e.divider)n+='<div class="picker-items-col picker-items-col-divider '+(e.textAlign?"picker-items-col-"+e.textAlign:"")+" "+(e.cssClass||"")+'">'+e.content+"</div>";else{for(var i=0;i<e.values.length;i++)a+='<div class="picker-item" data-picker-value="'+e.values[i]+'">'+(e.displayValues?e.displayValues[i]:e.values[i])+"</div>";n+='<div class="picker-items-col '+(e.textAlign?"picker-items-col-"+e.textAlign:"")+" "+(e.cssClass||"")+'"><div class="picker-items-col-wrapper">'+a+"</div></div>"}return t?a:n},s.layout=function(){var e,t="",a="";s.cols=[];var n="";for(e=0;e<s.params.cols.length;e++){var i=s.params.cols[e];n+=s.columnHTML(s.params.cols[e]),s.cols.push(i)}a="picker-modal picker-columns "+(s.params.cssClass||"")+(s.params.rotateEffect?" picker-3d":""),t='<div class="'+a+'">'+(s.params.toolbar?s.params.toolbarTemplate.replace(/{{closeText}}/g,s.params.toolbarCloseText):"")+'<div class="picker-modal-inner picker-items">'+n+'<div class="picker-center-highlight"></div></div></div>',s.pickerHTML=t},s.params.input&&(s.input=$(s.params.input),s.input.length>0&&(s.params.inputReadOnly&&s.input.prop("readOnly",!0),s.inline||s.input.on("click",a))),s.inline||$("html").on("click",n),s.opened=!1,s.open=function(){s.opened||(s.layout(),s.opened=!0,s.inline?(s.container=$(s.pickerHTML),s.container.addClass("picker-modal-inline"),$(s.params.container).append(s.container)):(s.container=$(o(s.pickerHTML)),$(s.container).on("touchmove",function(e){return!1}),$(s.container).on("close",function(){i()})),s.container[0].f7Picker=s,s.container.find(".picker-items-col").each(function(){var e=!0;(!s.initialized&&s.params.value||s.initialized&&s.value)&&(e=!1),s.initPickerCol(this,e)}),s.initialized?s.value&&s.setValue(s.value,0):s.params.value&&s.setValue(s.params.value,0)),s.initialized=!0,s.params.onOpen&&s.params.onOpen(s)},s.close=function(){s.opened&&!s.inline&&(s.params.updateValue||s.updateValue(),(0,r.closeModal)(s.container))},s.destroy=function(){s.close(),s.params.input&&s.input.length>0&&s.input.off("click",a),$("html").off("click",n),$(window).off("resize",t)},s.inline&&s.open(),$(document).on("click",".close-picker",function(){s.close()}),s};$.fn.picker=function(e){var t=arguments;return this.each(function(){if(this){var a=$(this),n=a.data("picker");if(!n){var r=$.extend({input:this,value:a.val()?a.val().split(" "):""},e);n=new s(r),a.data("picker",n)}(void 0===e?"undefined":i(e))===i("a")&&"function"==typeof n[e]&&n[e].apply(n,Array.prototype.slice.call(t,1))}})},t.default=function(e,t){var a=n,r=$(e);if(r)return r.each(function(){var e=r.data("picker");if(!e){var n=$.extend({input:this,value:r.val()?r.val().split(" "):""},t);e=new s(n),r.data("picker",e)}(void 0===t?"undefined":i(t))===i("a")&&e[t].apply(e,Array.prototype.slice.call(a,1))})}}},[223])});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():e.fastman=t()}(this,function(){return webpackJsonpfastman([21],{222:function(e,t,a){e.exports=a(30)},30:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=arguments,i="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},r=a(10),o=function(e,t){if(void 0===t&&(t=!0),"string"==typeof e&&e.indexOf("<")>=0){if(e=$(e),!(e.length>0))return!1;t&&e.addClass("remove-on-close"),$(r.defaults.modalContainer).append(e[0])}return e=$(e),0!==e.length&&(e.show(),(0,r.openModal)(e),e[0])},s=function(e){function t(){if(s.opened)for(var e=0;e<s.cols.length;e++)s.cols[e].divider||(s.cols[e].calcSize(),s.cols[e].setValue(s.cols[e].value,0,!1))}function a(e){if(e.preventDefault(),$.device.isWeixin&&$.device.android&&s.params.inputReadOnly&&(this.focus(),this.blur()),!s.opened){if((0,r.closeModal)($(".picker-modal")),s.open(),s.params.scrollToInput){var t=s.input.parents(".content");if(0===t.length)return;var a,n=parseInt(t.css("padding-top"),10),i=parseInt(t.css("padding-bottom"),10),o=t[0].offsetHeight-n-s.container.height(),l=t[0].scrollHeight-n-s.container.height(),c=s.input.offset().top-n+s.input[0].offsetHeight;if(c>o){var p=t.scrollTop()+c-o;p+o>l&&(a=p+o-l+i,o===l&&(a=s.container.height()),t.css({"padding-bottom":a+"px"})),t.scrollTop(p,300)}}e.stopPropagation()}}function n(e){s.opened&&(s.closeFromOverlay=!1,s.input&&s.input.length>0?e.target!==s.input[0]&&0===$(e.target).parents(".picker-modal").length&&(s.closeFromOverlay=!0,(0,r.closeModal)(s.container)):0===$(e.target).parents(".picker-modal").length&&(s.closeFromOverlay=!0,(0,r.closeModal)(s.container)))}function i(){s.opened=!1,s.input&&s.input.length>0&&s.input.parents(".content").css({"padding-bottom":""}),s.params.onClose&&s.params.onClose(s),s.container.find(".picker-items-col").each(function(){s.destroyPickerCol(this)})}var s=this,l={updateValuesOnMomentum:!1,updateValuesOnTouchmove:!0,rotateEffect:!1,momentumRatio:7,freeMode:!1,scrollToInput:!0,inputReadOnly:!0,toolbar:!0,toolbarCloseText:"确定",toolbarTemplate:'<header class="bar bar-nav"> <button class="button button-link pull-right close-picker">确定</button> <h1 class="title">请选择</h1> </header>',updateValue:!0};e=e||{};for(var c in l)void 0===e[c]&&(e[c]=l[c]);s.params=e,s.cols=[],s.initialized=!1,s.inline=!!s.params.container;var p=$.device.ios||navigator.userAgent.toLowerCase().indexOf("safari")>=0&&navigator.userAgent.toLowerCase().indexOf("chrome")<0&&!$.device.android;return s.setValue=function(e,t){for(var a=0,n=0;n<s.cols.length;n++)s.cols[n]&&!s.cols[n].divider&&(s.cols[n].setValue(e[a],t),a++)},s.updateValue=function(){for(var e=[],t=[],a=0;a<s.cols.length;a++)s.cols[a].divider||(e.push(s.cols[a].value),t.push(s.cols[a].displayValue));e.indexOf(void 0)>=0||(s.value=e,s.displayValue=t,s.params.onChange&&s.params.onChange(s,s.value,s.displayValue),s.input&&s.input.length>0&&($(s.input).val(s.params.formatValue?s.params.formatValue(s,s.value,s.displayValue):s.value.join(" ")),$(s.input).trigger("change")))},s.initPickerCol=function(e,t){function a(){g=$.requestAnimationFrame(function(){u.updateItems(void 0,void 0,0),a()})}function n(e){w||y||(e.preventDefault(),y=!0,x=b="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY,V=(new Date).getTime(),H=!0,k=C=O=$.getTranslate(u.wrapper[0],"y"))}function i(e){if(y){e.preventDefault(),H=!1,b="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,w||($.cancelAnimationFrame(g),w=!0,C=O=$.getTranslate(u.wrapper[0],"y"),u.wrapper.transition(0)),e.preventDefault();O=C+(b-x),T=void 0,O<v&&(O=v-Math.pow(v-O,.8),T="min"),O>h&&(O=h+Math.pow(O-h,.8),T="max"),u.wrapper.transform("translate3d(0,"+O+"px,0)"),u.updateItems(void 0,O,0,s.params.updateValuesOnTouchmove),I=O-E||O,A=(new Date).getTime(),E=O}}function r(e){if(!y||!w)return void(y=w=!1);y=w=!1,u.wrapper.transition(""),T&&("min"===T?u.wrapper.transform("translate3d(0,"+v+"px,0)"):u.wrapper.transform("translate3d(0,"+h+"px,0)")),M=(new Date).getTime();var t;M-V>300?t=O:(Math.abs(I/(M-A)),t=O+I*s.params.momentumRatio),t=Math.max(Math.min(t,h),v);var n,i=(t-h)%f;n=k>t&&Math.abs(i+f)<f/2||k<t&&Math.abs(i+f)<f/2?-Math.floor((t-h)/f):-Math.ceil((t-h)/f),s.params.freeMode||(t=-n*f+h),u.wrapper.transform("translate3d(0,"+parseInt(t,10)+"px,0)"),u.updateItems(n,t,"",!0),s.params.updateValuesOnMomentum&&(a(),u.wrapper.transitionEnd(function(){$.cancelAnimationFrame(g)})),setTimeout(function(){H=!0},100)}function o(e){if(H){$.cancelAnimationFrame(g);var t=$(this).attr("data-picker-value");u.setValue(t)}}var l=$(e),c=l.index(),u=s.cols[c];if(!u.divider){u.container=l,u.wrapper=u.container.find(".picker-items-col-wrapper"),u.items=u.wrapper.find(".picker-item");var d,f,m,v,h;u.replaceValues=function(e,t){u.destroyEvents(),u.values=e,u.displayValues=t;var a=s.columnHTML(u,!0);u.wrapper.html(a),u.items=u.wrapper.find(".picker-item"),u.calcSize(),u.setValue(u.values[0],0,!0),u.initEvents()},u.calcSize=function(){s.params.rotateEffect&&(u.container.removeClass("picker-items-col-absolute"),u.width||u.container.css({width:""}));var e,t;e=0,t=u.container[0].offsetHeight,d=u.wrapper[0].offsetHeight,f=u.items[0].offsetHeight,m=f*u.items.length,v=t/2-m+f/2,h=t/2-f/2,u.width&&(e=u.width,parseInt(e,10)===e&&(e+="px"),u.container.css({width:e})),s.params.rotateEffect&&(u.width||(u.items.each(function(){var t=$(this);t.css({width:"auto"}),e=Math.max(e,t[0].offsetWidth),t.css({width:""})}),u.container.css({width:e+2+"px"})),u.container.addClass("picker-items-col-absolute"))},u.calcSize(),u.wrapper.transform("translate3d(0,"+h+"px,0)").transition(0);var g;u.setValue=function(e,t,n){void 0===t&&(t="");var i=u.wrapper.find('.picker-item[data-picker-value="'+e+'"]').index();if(void 0!==i&&-1!==i){var r=-i*f+h;u.wrapper.transition(t),u.wrapper.transform("translate3d(0,"+r+"px,0)"),s.params.updateValuesOnMomentum&&u.activeIndex&&u.activeIndex!==i&&($.cancelAnimationFrame(g),u.wrapper.transitionEnd(function(){$.cancelAnimationFrame(g)}),a()),u.updateItems(i,r,t,n)}},u.updateItems=function(e,t,a,n){void 0===t&&(t=$.getTranslate(u.wrapper[0],"y")),void 0===e&&(e=-Math.round((t-h)/f)),e<0&&(e=0),e>=u.items.length&&(e=u.items.length-1);var i=u.activeIndex;u.activeIndex=e,u.wrapper.find(".picker-selected").removeClass("picker-selected"),s.params.rotateEffect&&u.items.transition(a);var r=u.items.eq(e).addClass("picker-selected").transform("");if((n||void 0===n)&&(u.value=r.attr("data-picker-value"),u.displayValue=u.displayValues?u.displayValues[e]:u.value,i!==e&&(u.onChange&&u.onChange(s,u.value,u.displayValue),s.params.updateValue&&s.updateValue())),s.params.rotateEffect){Math.floor((t-h)/f);u.items.each(function(){var e=$(this),a=e.index()*f,n=h-t,i=a-n,r=i/f,o=Math.ceil(u.height/f/2)+1,s=-18*r;s>180&&(s=180),s<-180&&(s=-180),Math.abs(r)>o?e.addClass("picker-item-far"):e.removeClass("picker-item-far"),e.transform("translate3d(0, "+(-t+h)+"px, "+(p?-110:0)+"px) rotateX("+s+"deg)")})}},t&&u.updateItems(0,h,0);var k,y,w,x,b,V,M,C,T,O,E,I,A,H=!0;u.initEvents=function(e){var t=e?"off":"on";u.container[t]($.touchEvents.start,n),u.container[t]($.touchEvents.move,i),u.container[t]($.touchEvents.end,r),u.items[t]("click",o)},u.destroyEvents=function(){u.initEvents(!0)},u.container[0].f7DestroyPickerCol=function(){u.destroyEvents()},u.initEvents()}},s.destroyPickerCol=function(e){e=$(e),"f7DestroyPickerCol"in e[0]&&e[0].f7DestroyPickerCol()},$(window).on("resize",t),s.columnHTML=function(e,t){var a="",n="";if(e.divider)n+='<div class="picker-items-col picker-items-col-divider '+(e.textAlign?"picker-items-col-"+e.textAlign:"")+" "+(e.cssClass||"")+'">'+e.content+"</div>";else{for(var i=0;i<e.values.length;i++)a+='<div class="picker-item" data-picker-value="'+e.values[i]+'">'+(e.displayValues?e.displayValues[i]:e.values[i])+"</div>";n+='<div class="picker-items-col '+(e.textAlign?"picker-items-col-"+e.textAlign:"")+" "+(e.cssClass||"")+'"><div class="picker-items-col-wrapper">'+a+"</div></div>"}return t?a:n},s.layout=function(){var e,t="",a="";s.cols=[];var n="";for(e=0;e<s.params.cols.length;e++){var i=s.params.cols[e];n+=s.columnHTML(s.params.cols[e]),s.cols.push(i)}a="picker-modal picker-columns "+(s.params.cssClass||"")+(s.params.rotateEffect?" picker-3d":""),t='<div class="'+a+'">'+(s.params.toolbar?s.params.toolbarTemplate.replace(/{{closeText}}/g,s.params.toolbarCloseText):"")+'<div class="picker-modal-inner picker-items">'+n+'<div class="picker-center-highlight"></div></div></div>',s.pickerHTML=t},s.params.input&&(s.input=$(s.params.input),s.input.length>0&&(s.params.inputReadOnly&&s.input.prop("readOnly",!0),s.inline||s.input.on("click",a))),s.inline||$("html").on("click",n),s.opened=!1,s.open=function(){s.opened||(s.layout(),s.opened=!0,s.inline?(s.container=$(s.pickerHTML),s.container.addClass("picker-modal-inline"),$(s.params.container).append(s.container)):(s.container=$(o(s.pickerHTML)),$(s.container).on("touchmove",function(e){return!1}),$(s.container).on("close",function(){i()})),s.container[0].f7Picker=s,s.container.find(".picker-items-col").each(function(){var e=!0;(!s.initialized&&s.params.value||s.initialized&&s.value)&&(e=!1),s.initPickerCol(this,e)}),s.initialized?s.value&&s.setValue(s.value,0):s.params.value&&s.setValue(s.params.value,0)),s.initialized=!0,s.params.onOpen&&s.params.onOpen(s)},s.close=function(){s.opened&&!s.inline&&(s.params.updateValue||s.updateValue(),(0,r.closeModal)(s.container))},s.destroy=function(){s.close(),s.params.input&&s.input.length>0&&s.input.off("click",a),$("html").off("click",n),$(window).off("resize",t)},s.inline&&s.open(),$(document).on("click",".close-picker",function(){s.close()}),s};$.fn.picker=function(e){var t=arguments;return this.each(function(){if(this){var a=$(this),n=a.data("picker");if(!n){var r=$.extend({input:this,value:a.val()?a.val().split(" "):""},e);n=new s(r),a.data("picker",n)}(void 0===e?"undefined":i(e))===i("a")&&"function"==typeof n[e]&&n[e].apply(n,Array.prototype.slice.call(t,1))}})},t.default=function(e,t){var a=n,r=$(e);if(r)return r.each(function(){var e=r.data("picker");if(!e){var n=$.extend({input:this,value:r.val()?r.val().split(" "):""},t);e=new s(n),r.data("picker",e)}(void 0===t?"undefined":i(t))===i("a")&&e[t].apply(e,Array.prototype.slice.call(a,1))})}}},[222])});
|
package/popupman.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():e.fastman=t()}(this,function(){return webpackJsonpfastman([20],{
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():e.fastman=t()}(this,function(){return webpackJsonpfastman([20],{223:function(e,t,n){e.exports=n(89)},89:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(10);t.default=function(e,t){if(void 0===t&&(t=!0),"string"==typeof e&&e.indexOf("<")>=0){var n=document.createElement("div");if(n.innerHTML=e.trim(),!(n.childNodes.length>0))return!1;e=n.childNodes[0],t&&e.classList.add("remove-on-close"),$(o.defaults.modalContainer).append(e)}return e=$(e),0!==e.length&&(e.show(),e.find(".content").scroller("refresh"),e.find("."+o.defaults.viewClass).length>0&&$.sizeNavbars(e.find("."+o.defaults.viewClass)[0]),(0,o.openModal)(e),e[0])}}},[223])});
|
package/postman.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.fastman=e():t.fastman=e()}(this,function(){return webpackJsonpfastman([3],{11:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){return function(t,e){return e&&(t.skip=function(){return e}),t.addInterceptor=function(e,n){return e(t,n)},t}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},147:function(t,e,n){"use strict";var r;!function(o,i){void 0!==(r=function(t){function e(t){var e={};return t?(t.trim().split(s).forEach(function(t){var n,r,o;n=t.indexOf(":"),r=u(t.substring(0,n).trim()),o=t.substring(n+1).trim(),e[r]?Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]:e[r]=o}),e):e}function r(t,e){return Object.keys(e||{}).forEach(function(n){if(e.hasOwnProperty(n)&&n in t)try{t[n]=e[n]}catch(t){}}),t}var o,u,c,a,s;return n(6),a=n(11),o=n(148),u=n(25),c=n(18),s=/[\r|\n]+/,a(function(t){return c.promise(function(n,u){var c,a,s,f,l,p,d,m;if(t="string"==typeof t?{path:t}:t||{},d={request:t},t.canceled)return d.error="precanceled",void u(d);if(!(m=t.engine||i.XMLHttpRequest))return void u({request:t,error:"xhr-not-available"});l=t.entity,t.method=t.method||(l?"POST":"GET"),a=t.method,s=new o(t.path||"",t.params).build();try{if("withCredentials"in(c=new m)){if(d.raw=c,r(c,t.mixin),c.open(a,s,!0),r(c,t.mixin),t.xhrFields&&t.xhrFields.withCredentials){var h=t.xhrFields.withCredentials;"string"==typeof h&&"true"===h.toLowerCase()?c.withCredentials=!0:"boolean"==typeof h&&h&&(c.withCredentials=!0)}f=t.headers;for(p in f)"Content-Type"===p&&"multipart/form-data"===f[p]||c.setRequestHeader(p,f[p]);t.canceled=!1,t.cancel=function(){t.canceled=!0,c.abort()},c.onreadystatechange=function(){t.canceled||c.readyState===(m.DONE||4)&&(d.status={code:c.status,text:c.statusText},d.headers=e(c.getAllResponseHeaders()),d.entity=c.responseText,d.status.code>0?n(d):setTimeout(function(){n(d)},0))};try{c.onerror=function(t){d.error="loaderror",u(d)}}catch(t){}c.send(l)}else if("undefined"!=typeof XDomainRequest){var y=l;y instanceof Object&&(y=JSON.stringify(y));var v=new XDomainRequest;v.open(t.method,s),v.timeout=4e4,v.onload=function(){try{var e={request:t,status:{code:200,text:"OK"},headers:{"Content-Type":v.contentType||"application/json"},entity:v.responseText};n(e)}catch(t){var e={errpr:"loaderror"};u(e)}},v.onprogress=function(){},v.ontimeout=function(){u({errpr:"biztimeouterror"})},v.onerror=function(){u({errpr:"loaderror"})},setTimeout(function(){v.send(y)},0)}else{var d={errpr:"nocors"};u(d)}}catch(t){d.error="loaderror",u(d)}})})}.call(e,n,e,t))&&(t.exports=r)}(n(0),"undefined"!=typeof window?window:void 0)},148:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t,e){var n,r,o,i;if(n=t,o={},e){for(r in e)i=new RegExp("\\{"+r+"\\}"),i.test(n)?n=n.replace(i,encodeURIComponent(e[r]),"g"):o[r]=e[r];for(r in o)n+=-1===n.indexOf("?")?"?":"&",n+=encodeURIComponent(r),null!==o[r]&&void 0!==o[r]&&(n+="=",n+=encodeURIComponent(o[r]))}return n}function r(t,e){return 0===t.indexOf(e)}function o(t,e){if(!(this instanceof o))return new o(t,e);t instanceof o?(this._template=t.template,this._params=i({},this._params,e)):(this._template=(t||"").toString(),this._params=e||{})}var i,u,c,a,s;return i=n(24),c=/([a-z][a-z0-9\+\-\.]*:)\/\/([^@]+@)?(([^:\/]+)(:([0-9]+))?)?(\/[^?#]*)?(\?[^#]*)?(#\S*)?/i,a=/^([a-z][a-z0-9\-\+\.]*:\/\/|\/)/i,s=/([a-z][a-z0-9\+\-\.]*:)\/\/([^@]+@)?(([^:\/]+)(:([0-9]+))?)?\//i,o.prototype={append:function(t,e){return new o(this._template+t,i({},this._params,e))},fullyQualify:function(){if(!location)return this;if(this.isFullyQualified())return this;var t=this._template;return r(t,"//")?t=u.protocol+t:r(t,"/")?t=u.origin+t:this.isAbsolute()||(t=u.origin+u.pathname.substring(0,u.pathname.lastIndexOf("/")+1)),-1===t.indexOf("/",8)&&(t+="/"),new o(t,this._params)},isAbsolute:function(){return a.test(this.build())},isFullyQualified:function(){return s.test(this.build())},isCrossOrigin:function(){if(!u)return!0;var t=this.parts();return t.protocol!==u.protocol||t.hostname!==u.hostname||t.port!==u.port},parts:function(){var t,e;return t=this.fullyQualify().build().match(c),e={href:t[0],protocol:t[1],host:t[3]||"",hostname:t[4]||"",port:t[6],pathname:t[7]||"",search:t[8]||"",hash:t[9]||""},e.origin=e.protocol+"//"+e.host,e.port=e.port||("https:"===e.protocol?"443":"http:"===e.protocol?"80":""),e},build:function(t){return e(this._template,i({},this._params,t))},toString:function(){return this.build()}},u=location?new o(location.href).parts():void 0,o}.call(e,n,e,t))&&(t.exports=r)}(n(0))},17:function(t,e,n){"use strict";var r;!function(o){var i;void 0!==(r=function(t){function e(t){var e,n;return e=t.split(";"),n=e[0].trim().split("+"),{raw:t,type:n[0],suffix:n[1]?"+"+n[1]:"",params:e.slice(1).reduce(function(t,e){return e=e.split("="),t[e[0].trim()]=e[1]?e[1].trim():i,t},{})}}return{parse:e}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},18:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t,e){return t.then(function(t){return t&&t[e]},function(t){return f.reject(t&&t[e])})}function r(){return e(this,"entity")}function o(){return e(e(this,"status"),"code")}function i(){return e(this,"headers")}function u(t){return t=l(t),e(this.headers(),t)}function c(t){return t=[].concat(t),a(f.reduce(t,function(t,e){if("string"==typeof e&&(e={rel:e}),"function"!=typeof t.entity.clientFor)throw new Error("Hypermedia response expected");return t.entity.clientFor(e.rel)({params:e.params})},this))}function a(t){return t.status=o,t.headers=i,t.header=u,t.entity=r,t.follow=c,t}function s(){var t=arguments;return f.promise(function(e,n){try{e(t[0])}catch(t){n(t)}}).then(t[1]).otherwise(t[2])}var f=n(6),l=n(25);return s.make=a,s.reject=function(t){return a(f.reject(t))},s.promise=function(t){return a(f.promise(t))},s}.call(e,n,e,t))&&(t.exports=r)}(n(0))},23:function(t,e,n){"use strict";var r;!function(o){var i;void 0!==(r=function(t){function e(){return o.apply(i,arguments)}var r,o,u;return r=n(11),e.setDefaultClient=function(t){o=t},e.getDefaultClient=function(){return o},e.resetDefaultClient=function(){o=u},e.setPlatformDefaultClient=function(t){if(u)throw new Error("Unable to redefine platformDefaultClient");o=u=t},r(e)}.call(e,n,e,t))&&(t.exports=r)}(n(0))},231:function(t,e,n){t.exports=n(95)},24:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){var e,r,o,i;for(t||(t={}),e=1,r=arguments.length;e<r;e+=1){o=arguments[e];for(i in o)i in t&&(t[i]===o[i]||i in n&&n[i]===o[i])||(t[i]=o[i])}return t}var n={};return e}.call(e,n,e,t))&&(t.exports=r)}(n(0))},25:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){return t.toLowerCase().split("-").map(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}).join("-")}return e}.call(e,n,e,t))&&(t.exports=r)}(n(0))},34:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){var e,r;return e=n(9),r=n(6),e({init:function(t){return t.code=t.code||400,t},response:function(t,e){return t.status&&t.status.code>=e.code?r.reject({response:t,error:"httperror"}):t}})}.call(e,n,e,t))&&(t.exports=r)}(n(0))},35:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){var e,r,o,i,u;return e=n(9),r=n(17),o=n(37),u=n(6),i={read:function(t){return t},write:function(t){return t}},e({init:function(t){return t.registry=t.registry||o,t},request:function(t,e){var n,o;return o=t.headers||(t.headers={}),n=r.parse(o["Content-Type"]=o["Content-Type"]||e.mime||"text/plain"),o.Accept=o.Accept||e.accept||n.raw+", application/json;q=0.8, text/plain;q=0.5, */*;q=0.2","entity"in t?e.registry.lookup(n).otherwise(function(){if(e.permissive)return i;throw"mime-unknown"}).then(function(r){var o=e.client||t.originator;return u.attempt(r.write,t.entity,{client:o,request:t,mime:n,registry:e.registry}).otherwise(function(){throw"mime-serialization"}).then(function(e){return t.entity=e,t})}):t},response:function(t,e){if(!(t.headers&&t.headers["Content-Type"]&&t.entity))return t;var n=r.parse(t.headers["Content-Type"]);return e.registry.lookup(n).otherwise(function(){return i}).then(function(r){var o=e.client||t.request&&t.request.originator;return u.attempt(r.read,t.entity,{client:o,response:t,mime:n,registry:e.registry}).otherwise(function(e){throw t.error="mime-deserialization",t.cause=e,t}).then(function(e){return t.entity=e,t})})}})}.call(e,n,e,t))&&(t.exports=r)}(n(0))},36:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){var e=n(9),r=n(6);return e({init:function(t){return t.timeout=t.timeout||0,t.transient=!!t.transient,t},request:function(t,n){var o,i,u;if(o="timeout"in t?t.timeout:n.timeout,u="transient"in t?t.transient:n.transient,o<=0)return t;var c=this;return i=r.promise(function(e,n){c.timeout=setTimeout(function(){n({request:t,error:"timeout"}),t.cancel?(t.cancel(),u&&(t.canceled=!1)):u||(t.canceled=!0)},o)}),new e.ComplexRequest({request:t,abort:i})},response:function(t){return this.timeout&&(clearTimeout(this.timeout),delete this.timeout),t}})}.call(e,n,e,t))&&(t.exports=r)}(n(0))},37:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){this.lookup=function(e){var n;return n="string"==typeof e?r.parse(e):e,t[n.raw]?t[n.raw]:t[n.type+n.suffix]?t[n.type+n.suffix]:t[n.type]?t[n.type]:t[n.suffix]?t[n.suffix]:o.reject(new Error('Unable to locate converter for mime "'+n.raw+'"'))},this.register=function(e,n){return t[e]=o.resolve(n),t[e]}}var r,o,i;return r=n(17),o=n(6),i=new e({}),i.register("application/json",n(38)),i.register("application/x-www-form-urlencoded",n(39)),i.register("multipart/form-data",n(40)),i}.call(e,n,e,t))&&(t.exports=r)}(n(0))},38:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t,n){return{read:function(e){return JSON.parse(e,t)},write:function(t){return JSON.stringify(t,n)},extend:e}}return e()}.call(e,n,e,t))&&(t.exports=r)}(n(0))},39:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){return t=encodeURIComponent(t),t.replace(o,"+")}function n(t){return t=t.replace(i," "),decodeURIComponent(t)}function r(t,n,o){return Array.isArray(o)?o.forEach(function(e){t=r(t,n,e)}):(t.length>0&&(t+="&"),t+=e(n),void 0!==o&&null!==o&&(t+="="+e(o))),t}var o,i;return o=/%20/g,i=/\+/g,{read:function(t){var e={};return t.split("&").forEach(function(t){var r,o,i;r=t.split("="),o=n(r[0]),i=2===r.length?n(r[1]):null,o in e?(Array.isArray(e[o])||(e[o]=[e[o]]),e[o].push(i)):e[o]=i}),e},write:function(t){var e="";return Object.keys(t).forEach(function(n){e=r(e,n,t[n])}),e}}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},40:function(t,e,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(i){void 0!==(r=function(t){function e(t){return t&&1===t.nodeType&&"FORM"===t.tagName}function n(t){var e,n=new FormData;for(var r in t)t.hasOwnProperty(r)&&(e=t[r],e instanceof File?n.append(r,e,e.name):e instanceof Blob?n.append(r,e):n.append(r,String(e)));return n}return{write:function(t){if("undefined"==typeof FormData)throw new Error("The multipart/form-data mime serializer requires FormData support");if(t instanceof FormData)return t;if(e(t))return new FormData(t);if("object"===(void 0===t?"undefined":o(t))&&null!==t)return n(t);throw new Error("Unable to create FormData from object "+t)}}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},9:function(t,e,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(i){void 0!==(r=function(t){function e(t){return t}function r(t){return t}function i(t){return t}function u(t){if(!(this instanceof u))return new u(t);p(this,t)}function c(t){var n,c,p,d;return t=t||{},n=t.init||e,c=t.request||r,p=t.success||t.response||i,d=t.error||function(){return l.reject((t.response||i).apply(this,arguments))},function(e,r){function i(t){var n,o;return n={},o={arguments:Array.prototype.slice.call(arguments),client:i},t="string"==typeof t?{path:t}:t||{},t.originator=t.originator||i,s(c.call(n,t,r,o),function(t){var i,c,a;return a=e,t instanceof u&&(c=t.abort,a=t.client||a,i=t.response,t=t.request),i=i||l.resolve(t).then(function(t){return l.resolve(a(t)).then(function(t){return p.call(n,t,r,o)},function(t){return d.call(n,t,r,o)})}),c?l.race([i,c]):i},function(t){return l.reject(t)})}return"object"===(void 0===e?"undefined":o(e))&&(r=e),"function"!=typeof e&&(e=t.client||a),r=n(r||{}),f(i,e)}}var a,s,f,l,p;return a=n(23),s=n(18),f=n(11),l=n(6),p=n(24),c.ComplexRequest=u,c.check=function(t){if(t.error)return l.reject(t)},c}.call(e,n,e,t))&&(t.exports=r)}(n(0))},95:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.interceptor=e.timeoutHandler=e.errorcodeHandler=e.mimeHandler=e.httpClient=void 0;var o=n(23),i=r(o),u=n(147),c=r(u),a=n(35),s=n(34),f=n(36),l=n(9),p=function(t){return i.default.setPlatformDefaultClient(c.default),i.default};e.httpClient=p,e.mimeHandler=a,e.errorcodeHandler=s,e.timeoutHandler=f,e.interceptor=l}},[231])});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.fastman=e():t.fastman=e()}(this,function(){return webpackJsonpfastman([3],{11:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){return function(t,e){return e&&(t.skip=function(){return e}),t.addInterceptor=function(e,n){return e(t,n)},t}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},147:function(t,e,n){"use strict";var r;!function(o,i){void 0!==(r=function(t){function e(t){var e={};return t?(t.trim().split(s).forEach(function(t){var n,r,o;n=t.indexOf(":"),r=u(t.substring(0,n).trim()),o=t.substring(n+1).trim(),e[r]?Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]:e[r]=o}),e):e}function r(t,e){return Object.keys(e||{}).forEach(function(n){if(e.hasOwnProperty(n)&&n in t)try{t[n]=e[n]}catch(t){}}),t}var o,u,c,a,s;return n(6),a=n(11),o=n(148),u=n(25),c=n(18),s=/[\r|\n]+/,a(function(t){return c.promise(function(n,u){var c,a,s,f,l,p,d,m;if(t="string"==typeof t?{path:t}:t||{},d={request:t},t.canceled)return d.error="precanceled",void u(d);if(!(m=t.engine||i.XMLHttpRequest))return void u({request:t,error:"xhr-not-available"});l=t.entity,t.method=t.method||(l?"POST":"GET"),a=t.method,s=new o(t.path||"",t.params).build();try{if("withCredentials"in(c=new m)){if(d.raw=c,r(c,t.mixin),c.open(a,s,!0),r(c,t.mixin),t.xhrFields&&t.xhrFields.withCredentials){var h=t.xhrFields.withCredentials;"string"==typeof h&&"true"===h.toLowerCase()?c.withCredentials=!0:"boolean"==typeof h&&h&&(c.withCredentials=!0)}f=t.headers;for(p in f)"Content-Type"===p&&"multipart/form-data"===f[p]||c.setRequestHeader(p,f[p]);t.canceled=!1,t.cancel=function(){t.canceled=!0,c.abort()},c.onreadystatechange=function(){t.canceled||c.readyState===(m.DONE||4)&&(d.status={code:c.status,text:c.statusText},d.headers=e(c.getAllResponseHeaders()),d.entity=c.responseText,d.status.code>0?n(d):setTimeout(function(){n(d)},0))};try{c.onerror=function(t){d.error="loaderror",u(d)}}catch(t){}c.send(l)}else if("undefined"!=typeof XDomainRequest){var y=l;y instanceof Object&&(y=JSON.stringify(y));var v=new XDomainRequest;v.open(t.method,s),v.timeout=4e4,v.onload=function(){try{var e={request:t,status:{code:200,text:"OK"},headers:{"Content-Type":v.contentType||"application/json"},entity:v.responseText};n(e)}catch(t){var e={errpr:"loaderror"};u(e)}},v.onprogress=function(){},v.ontimeout=function(){u({errpr:"biztimeouterror"})},v.onerror=function(){u({errpr:"loaderror"})},setTimeout(function(){v.send(y)},0)}else{var d={errpr:"nocors"};u(d)}}catch(t){d.error="loaderror",u(d)}})})}.call(e,n,e,t))&&(t.exports=r)}(n(0),"undefined"!=typeof window?window:void 0)},148:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t,e){var n,r,o,i;if(n=t,o={},e){for(r in e)i=new RegExp("\\{"+r+"\\}"),i.test(n)?n=n.replace(i,encodeURIComponent(e[r]),"g"):o[r]=e[r];for(r in o)n+=-1===n.indexOf("?")?"?":"&",n+=encodeURIComponent(r),null!==o[r]&&void 0!==o[r]&&(n+="=",n+=encodeURIComponent(o[r]))}return n}function r(t,e){return 0===t.indexOf(e)}function o(t,e){if(!(this instanceof o))return new o(t,e);t instanceof o?(this._template=t.template,this._params=i({},this._params,e)):(this._template=(t||"").toString(),this._params=e||{})}var i,u,c,a,s;return i=n(24),c=/([a-z][a-z0-9\+\-\.]*:)\/\/([^@]+@)?(([^:\/]+)(:([0-9]+))?)?(\/[^?#]*)?(\?[^#]*)?(#\S*)?/i,a=/^([a-z][a-z0-9\-\+\.]*:\/\/|\/)/i,s=/([a-z][a-z0-9\+\-\.]*:)\/\/([^@]+@)?(([^:\/]+)(:([0-9]+))?)?\//i,o.prototype={append:function(t,e){return new o(this._template+t,i({},this._params,e))},fullyQualify:function(){if(!location)return this;if(this.isFullyQualified())return this;var t=this._template;return r(t,"//")?t=u.protocol+t:r(t,"/")?t=u.origin+t:this.isAbsolute()||(t=u.origin+u.pathname.substring(0,u.pathname.lastIndexOf("/")+1)),-1===t.indexOf("/",8)&&(t+="/"),new o(t,this._params)},isAbsolute:function(){return a.test(this.build())},isFullyQualified:function(){return s.test(this.build())},isCrossOrigin:function(){if(!u)return!0;var t=this.parts();return t.protocol!==u.protocol||t.hostname!==u.hostname||t.port!==u.port},parts:function(){var t,e;return t=this.fullyQualify().build().match(c),e={href:t[0],protocol:t[1],host:t[3]||"",hostname:t[4]||"",port:t[6],pathname:t[7]||"",search:t[8]||"",hash:t[9]||""},e.origin=e.protocol+"//"+e.host,e.port=e.port||("https:"===e.protocol?"443":"http:"===e.protocol?"80":""),e},build:function(t){return e(this._template,i({},this._params,t))},toString:function(){return this.build()}},u=location?new o(location.href).parts():void 0,o}.call(e,n,e,t))&&(t.exports=r)}(n(0))},17:function(t,e,n){"use strict";var r;!function(o){var i;void 0!==(r=function(t){function e(t){var e,n;return e=t.split(";"),n=e[0].trim().split("+"),{raw:t,type:n[0],suffix:n[1]?"+"+n[1]:"",params:e.slice(1).reduce(function(t,e){return e=e.split("="),t[e[0].trim()]=e[1]?e[1].trim():i,t},{})}}return{parse:e}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},18:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t,e){return t.then(function(t){return t&&t[e]},function(t){return f.reject(t&&t[e])})}function r(){return e(this,"entity")}function o(){return e(e(this,"status"),"code")}function i(){return e(this,"headers")}function u(t){return t=l(t),e(this.headers(),t)}function c(t){return t=[].concat(t),a(f.reduce(t,function(t,e){if("string"==typeof e&&(e={rel:e}),"function"!=typeof t.entity.clientFor)throw new Error("Hypermedia response expected");return t.entity.clientFor(e.rel)({params:e.params})},this))}function a(t){return t.status=o,t.headers=i,t.header=u,t.entity=r,t.follow=c,t}function s(){var t=arguments;return f.promise(function(e,n){try{e(t[0])}catch(t){n(t)}}).then(t[1]).otherwise(t[2])}var f=n(6),l=n(25);return s.make=a,s.reject=function(t){return a(f.reject(t))},s.promise=function(t){return a(f.promise(t))},s}.call(e,n,e,t))&&(t.exports=r)}(n(0))},23:function(t,e,n){"use strict";var r;!function(o){var i;void 0!==(r=function(t){function e(){return o.apply(i,arguments)}var r,o,u;return r=n(11),e.setDefaultClient=function(t){o=t},e.getDefaultClient=function(){return o},e.resetDefaultClient=function(){o=u},e.setPlatformDefaultClient=function(t){if(u)throw new Error("Unable to redefine platformDefaultClient");o=u=t},r(e)}.call(e,n,e,t))&&(t.exports=r)}(n(0))},230:function(t,e,n){t.exports=n(95)},24:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){var e,r,o,i;for(t||(t={}),e=1,r=arguments.length;e<r;e+=1){o=arguments[e];for(i in o)i in t&&(t[i]===o[i]||i in n&&n[i]===o[i])||(t[i]=o[i])}return t}var n={};return e}.call(e,n,e,t))&&(t.exports=r)}(n(0))},25:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){return t.toLowerCase().split("-").map(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}).join("-")}return e}.call(e,n,e,t))&&(t.exports=r)}(n(0))},34:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){var e,r;return e=n(9),r=n(6),e({init:function(t){return t.code=t.code||400,t},response:function(t,e){return t.status&&t.status.code>=e.code?r.reject({response:t,error:"httperror"}):t}})}.call(e,n,e,t))&&(t.exports=r)}(n(0))},35:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){var e,r,o,i,u;return e=n(9),r=n(17),o=n(37),u=n(6),i={read:function(t){return t},write:function(t){return t}},e({init:function(t){return t.registry=t.registry||o,t},request:function(t,e){var n,o;return o=t.headers||(t.headers={}),n=r.parse(o["Content-Type"]=o["Content-Type"]||e.mime||"text/plain"),o.Accept=o.Accept||e.accept||n.raw+", application/json;q=0.8, text/plain;q=0.5, */*;q=0.2","entity"in t?e.registry.lookup(n).otherwise(function(){if(e.permissive)return i;throw"mime-unknown"}).then(function(r){var o=e.client||t.originator;return u.attempt(r.write,t.entity,{client:o,request:t,mime:n,registry:e.registry}).otherwise(function(){throw"mime-serialization"}).then(function(e){return t.entity=e,t})}):t},response:function(t,e){if(!(t.headers&&t.headers["Content-Type"]&&t.entity))return t;var n=r.parse(t.headers["Content-Type"]);return e.registry.lookup(n).otherwise(function(){return i}).then(function(r){var o=e.client||t.request&&t.request.originator;return u.attempt(r.read,t.entity,{client:o,response:t,mime:n,registry:e.registry}).otherwise(function(e){throw t.error="mime-deserialization",t.cause=e,t}).then(function(e){return t.entity=e,t})})}})}.call(e,n,e,t))&&(t.exports=r)}(n(0))},36:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){var e=n(9),r=n(6);return e({init:function(t){return t.timeout=t.timeout||0,t.transient=!!t.transient,t},request:function(t,n){var o,i,u;if(o="timeout"in t?t.timeout:n.timeout,u="transient"in t?t.transient:n.transient,o<=0)return t;var c=this;return i=r.promise(function(e,n){c.timeout=setTimeout(function(){n({request:t,error:"timeout"}),t.cancel?(t.cancel(),u&&(t.canceled=!1)):u||(t.canceled=!0)},o)}),new e.ComplexRequest({request:t,abort:i})},response:function(t){return this.timeout&&(clearTimeout(this.timeout),delete this.timeout),t}})}.call(e,n,e,t))&&(t.exports=r)}(n(0))},37:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){this.lookup=function(e){var n;return n="string"==typeof e?r.parse(e):e,t[n.raw]?t[n.raw]:t[n.type+n.suffix]?t[n.type+n.suffix]:t[n.type]?t[n.type]:t[n.suffix]?t[n.suffix]:o.reject(new Error('Unable to locate converter for mime "'+n.raw+'"'))},this.register=function(e,n){return t[e]=o.resolve(n),t[e]}}var r,o,i;return r=n(17),o=n(6),i=new e({}),i.register("application/json",n(38)),i.register("application/x-www-form-urlencoded",n(39)),i.register("multipart/form-data",n(40)),i}.call(e,n,e,t))&&(t.exports=r)}(n(0))},38:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t,n){return{read:function(e){return JSON.parse(e,t)},write:function(t){return JSON.stringify(t,n)},extend:e}}return e()}.call(e,n,e,t))&&(t.exports=r)}(n(0))},39:function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){return t=encodeURIComponent(t),t.replace(o,"+")}function n(t){return t=t.replace(i," "),decodeURIComponent(t)}function r(t,n,o){return Array.isArray(o)?o.forEach(function(e){t=r(t,n,e)}):(t.length>0&&(t+="&"),t+=e(n),void 0!==o&&null!==o&&(t+="="+e(o))),t}var o,i;return o=/%20/g,i=/\+/g,{read:function(t){var e={};return t.split("&").forEach(function(t){var r,o,i;r=t.split("="),o=n(r[0]),i=2===r.length?n(r[1]):null,o in e?(Array.isArray(e[o])||(e[o]=[e[o]]),e[o].push(i)):e[o]=i}),e},write:function(t){var e="";return Object.keys(t).forEach(function(n){e=r(e,n,t[n])}),e}}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},40:function(t,e,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(i){void 0!==(r=function(t){function e(t){return t&&1===t.nodeType&&"FORM"===t.tagName}function n(t){var e,n=new FormData;for(var r in t)t.hasOwnProperty(r)&&(e=t[r],e instanceof File?n.append(r,e,e.name):e instanceof Blob?n.append(r,e):n.append(r,String(e)));return n}return{write:function(t){if("undefined"==typeof FormData)throw new Error("The multipart/form-data mime serializer requires FormData support");if(t instanceof FormData)return t;if(e(t))return new FormData(t);if("object"===(void 0===t?"undefined":o(t))&&null!==t)return n(t);throw new Error("Unable to create FormData from object "+t)}}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},9:function(t,e,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(i){void 0!==(r=function(t){function e(t){return t}function r(t){return t}function i(t){return t}function u(t){if(!(this instanceof u))return new u(t);p(this,t)}function c(t){var n,c,p,d;return t=t||{},n=t.init||e,c=t.request||r,p=t.success||t.response||i,d=t.error||function(){return l.reject((t.response||i).apply(this,arguments))},function(e,r){function i(t){var n,o;return n={},o={arguments:Array.prototype.slice.call(arguments),client:i},t="string"==typeof t?{path:t}:t||{},t.originator=t.originator||i,s(c.call(n,t,r,o),function(t){var i,c,a;return a=e,t instanceof u&&(c=t.abort,a=t.client||a,i=t.response,t=t.request),i=i||l.resolve(t).then(function(t){return l.resolve(a(t)).then(function(t){return p.call(n,t,r,o)},function(t){return d.call(n,t,r,o)})}),c?l.race([i,c]):i},function(t){return l.reject(t)})}return"object"===(void 0===e?"undefined":o(e))&&(r=e),"function"!=typeof e&&(e=t.client||a),r=n(r||{}),f(i,e)}}var a,s,f,l,p;return a=n(23),s=n(18),f=n(11),l=n(6),p=n(24),c.ComplexRequest=u,c.check=function(t){if(t.error)return l.reject(t)},c}.call(e,n,e,t))&&(t.exports=r)}(n(0))},95:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.interceptor=e.timeoutHandler=e.errorcodeHandler=e.mimeHandler=e.httpClient=void 0;var o=n(23),i=r(o),u=n(147),c=r(u),a=n(35),s=n(34),f=n(36),l=n(9),p=function(t){return i.default.setPlatformDefaultClient(c.default),i.default};e.httpClient=p,e.mimeHandler=a,e.errorcodeHandler=s,e.timeoutHandler=f,e.interceptor=l}},[230])});
|
package/resultpageman.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():e.fastman=t()}(this,function(){return webpackJsonpfastman([11],{
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():e.fastman=t()}(this,function(){return webpackJsonpfastman([11],{212:function(e,t,n){e.exports=n(81)},33:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,s;for(o=[],u=arguments.length;u-- >2;)i.push(arguments[u]);for(;i.length;)if(Array.isArray(r=i.pop()))for(u=r.length;u--;)i.push(r[u]);else null!=r&&!0!==r&&!1!==r&&("number"==typeof r&&(r+=""),n="string"==typeof r,n&&s?o[o.length-1]+=r:(o.push(r),s=n));if("function"==typeof e){return new e(t,o).render?new e(t,o).render():e(t,o)}return{tag:e,data:t||{},children:o}};var u,r,o,i=[]},81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResultPage=void 0;var u=n(33),r=function(e){return e&&e.__esModule?e:{default:e}}(u),o=function(e){var t=e.text,n=void 0===t?"暂无信息":t,u=e.subtext,o=e.imgurl,i=e.buttons,s="[object Array]"==Object.prototype.toString.call(i)&&i.length>0;return(0,r.default)("div",{class:"ui-result-page"},o?(0,r.default)("img",{src:o,class:"ui-result-page-img"}):void 0,(0,r.default)("div",{class:"text"},n),u?(0,r.default)("div",{class:"subtext"},u):void 0,s?(0,r.default)("div",{class:"ui-btn-wrap"},i.map(function(e,t){return(0,r.default)("button",{class:e.type?"ui-btn "+e.type:"ui-btn",onclick:e.handler},e.text||"确定")})):void 0)};t.ResultPage=o}},[212])});
|