fastman2 3.0.0-alpha.6 → 3.0.1

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/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=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)}})});
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)}({107: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},109: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)},110: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)},111: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)},112: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(112),n(111),n(98),n(110),n(109),n(107),n(81),t.exports=n(80)},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}},80: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)},81: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("&")}},98: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 +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],{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])});
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(99)},99: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])});
@@ -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],{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])});
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(96)},96: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,4 +1,4 @@
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(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},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(e.s=20)}({1:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){var e=document.createElement("a");e.setAttribute("href",t);var n=e.href;return e=null,n},i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},a=function(t){return!(null!=t&&(t.length||t.length>0))},r=function(t){if(t){if(1==t.length)return t;var e=t.substring(t.length-1,t.length);return(t.length>=3?"**":"*")+e}return t};e.getAbsoluteUrl=o,e._extends=i,e.isEmpty=a,e.maskName=r},10:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(t,e){for(var n=t.split(".").length;n<e;)t+=".0",n++;return t},i=function(t){var e=navigator.userAgent.toLowerCase().match(/DFYJ\/([\d.]+)/i);return e?e[1]:void 0},a=function(t,e){var n=t.split("."),i=e.split("."),a=Math.max(n.length,i.length);t=o(t,a),e=o(e,a);var r=t.split("."),s=e.split(".");if(t===e)return 0;for(var f=0;f<r.length;f++){var c=parseInt(r[f]);if(!s[f])return 1;var p=parseInt(s[f]);if(c<p)return-1;if(c>p)return 1}return-1},r=function(t){var e=i();return e?a(e,t):1};e.getVersion=i,e.compareVersion=r,e._compareVersion=a},17:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"DEFAULT_OPTIONS",function(){return f}),n.d(e,"Notyf",function(){return p}),n.d(e,"NotyfArray",function(){return s}),n.d(e,"NotyfArrayEvent",function(){return o}),n.d(e,"NotyfEvent",function(){return r}),n.d(e,"NotyfNotification",function(){return a}),n.d(e,"NotyfView",function(){return c});/*! *****************************************************************************
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(o[n])return o[n].exports;var i=o[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var o={};return e.m=t,e.c=o,e.i=function(t){return t},e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=20)}({1:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){var e=document.createElement("a");e.setAttribute("href",t);var o=e.href;return e=null,o},i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])}return t},r=function(t){return!(null!=t&&(t.length||t.length>0))},a=function(t){if(t){if(1==t.length)return t;var e=t.substring(t.length-1,t.length);return(t.length>=3?"**":"*")+e}return t};e.getAbsoluteUrl=n,e._extends=i,e.isEmpty=r,e.maskName=a},10:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t,e){for(var o=t.split(".").length;o<e;)t+=".0",o++;return t},i=function(t){var e=navigator.userAgent.toLowerCase().match(/DFYJ\/([\d.]+)/i);return e?e[1]:void 0},r=function(t,e){var o=t.split("."),i=e.split("."),r=Math.max(o.length,i.length);t=n(t,r),e=n(e,r);var a=t.split("."),s=e.split(".");if(t===e)return 0;for(var f=0;f<a.length;f++){var c=parseInt(a[f]);if(!s[f])return 1;var l=parseInt(s[f]);if(c<l)return-1;if(c>l)return 1}return-1},a=function(t){var e=i();return e?r(e,t):1};e.getVersion=i,e.compareVersion=a,e._compareVersion=r},17:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o.d(e,"DEFAULT_OPTIONS",function(){return f}),o.d(e,"Notyf",function(){return l}),o.d(e,"NotyfArray",function(){return s}),o.d(e,"NotyfArrayEvent",function(){return n}),o.d(e,"NotyfEvent",function(){return a}),o.d(e,"NotyfNotification",function(){return r}),o.d(e,"NotyfView",function(){return c});/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -12,4 +12,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
12
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
13
  PERFORMANCE OF THIS SOFTWARE.
14
14
  ***************************************************************************** */
15
- var o,i=function(){return i=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++){e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},i.apply(this,arguments)},a=function(){function t(t){this.options=t,this.listeners={}}return t.prototype.on=function(t,e){var n=this.listeners[t]||[];this.listeners[t]=n.concat([e])},t.prototype.triggerEvent=function(t,e){var n=this;(this.listeners[t]||[]).forEach(function(t){return t({target:n,event:e})})},t}();!function(t){t[t.Add=0]="Add",t[t.Remove=1]="Remove"}(o||(o={}));var r,s=function(){function t(){this.notifications=[]}return t.prototype.push=function(t){this.notifications.push(t),this.updateFn(t,o.Add,this.notifications)},t.prototype.splice=function(t,e){var n=this.notifications.splice(t,e)[0];return this.updateFn(n,o.Remove,this.notifications),n},t.prototype.indexOf=function(t){return this.notifications.indexOf(t)},t.prototype.onUpdate=function(t){this.updateFn=t},t}();!function(t){t.Dismiss="dismiss",t.Click="click"}(r||(r={}));var f={types:[{type:"success",className:"notyf__toast--success",backgroundColor:"#3dc763",icon:{className:"notyf__icon--success",tagName:"i"}},{type:"error",className:"notyf__toast--error",backgroundColor:"#ed3d3d",icon:{className:"notyf__icon--error",tagName:"i"}}],duration:2e3,ripple:!0,position:{x:"right",y:"bottom"},dismissible:!1},c=function(){function t(){this.notifications=[],this.events={},this.X_POSITION_FLEX_MAP={left:"flex-start",center:"center",right:"flex-end"},this.Y_POSITION_FLEX_MAP={top:"flex-start",center:"center",bottom:"flex-end"};var t=document.createDocumentFragment(),e=this._createHTMLElement({tagName:"div",className:"notyf"});t.appendChild(e),document.body.appendChild(t),this.container=e,this.animationEndEventName=this._getAnimationEndEventName(),this._createA11yContainer()}return t.prototype.on=function(t,e){var n;this.events=i(i({},this.events),(n={},n[t]=e,n))},t.prototype.update=function(t,e){e===o.Add?this.addNotification(t):e===o.Remove&&this.removeNotification(t)},t.prototype.removeNotification=function(t){var e,n=this,o=this._popRenderedNotification(t);if(o){e=o.node,e.classList.add("notyf__toast--disappear");var i;e.addEventListener(this.animationEndEventName,i=function(t){t.target===e&&(e.removeEventListener(n.animationEndEventName,i),n.container.removeChild(e))})}},t.prototype.addNotification=function(t){var e=this._renderNotification(t);this.notifications.push({notification:t,node:e}),this._announce(t.options.message||"Notification")},t.prototype._renderNotification=function(t){var e,n=this._buildNotificationCard(t),o=t.options.className;return o&&(e=n.classList).add.apply(e,o.split(" ")),this.container.appendChild(n),n},t.prototype._popRenderedNotification=function(t){for(var e=-1,n=0;n<this.notifications.length&&e<0;n++)this.notifications[n].notification===t&&(e=n);if(-1!==e)return this.notifications.splice(e,1)[0]},t.prototype.getXPosition=function(t){var e;return(null===(e=null===t||void 0===t?void 0:t.position)||void 0===e?void 0:e.x)||"right"},t.prototype.getYPosition=function(t){var e;return(null===(e=null===t||void 0===t?void 0:t.position)||void 0===e?void 0:e.y)||"bottom"},t.prototype.adjustContainerAlignment=function(t){var e=this.X_POSITION_FLEX_MAP[this.getXPosition(t)],n=this.Y_POSITION_FLEX_MAP[this.getYPosition(t)],o=this.container.style;o.setProperty("justify-content",n),o.setProperty("align-items",e)},t.prototype._buildNotificationCard=function(t){var e=this,n=t.options,o=n.icon;this.adjustContainerAlignment(n);var i=this._createHTMLElement({tagName:"div",className:"notyf__toast"}),a=this._createHTMLElement({tagName:"div",className:"notyf__ripple"}),s=this._createHTMLElement({tagName:"div",className:"notyf__wrapper"}),f=this._createHTMLElement({tagName:"div",className:"notyf__message"});f.innerHTML=n.message||"";var c=n.background||n.backgroundColor;if(o){var p=this._createHTMLElement({tagName:"div",className:"notyf__icon"});if(("string"==typeof o||o instanceof String)&&(p.innerHTML=new String(o).valueOf()),"object"==typeof o){var l=o.tagName,d=void 0===l?"i":l,u=o.className,y=o.text,g=o.color,m=void 0===g?c:g,h=this._createHTMLElement({tagName:d,className:u,text:y});m&&(h.style.color=m),p.appendChild(h)}s.appendChild(p)}if(s.appendChild(f),i.appendChild(s),c&&(n.ripple?(a.style.background=c,i.appendChild(a)):i.style.background=c),n.dismissible){var v=this._createHTMLElement({tagName:"div",className:"notyf__dismiss"}),_=this._createHTMLElement({tagName:"button",className:"notyf__dismiss-btn"});v.appendChild(_),s.appendChild(v),i.classList.add("notyf__toast--dismissible"),_.addEventListener("click",function(n){var o,i;null===(i=(o=e.events)[r.Dismiss])||void 0===i||i.call(o,{target:t,event:n}),n.stopPropagation()})}i.addEventListener("click",function(n){var o,i;return null===(i=(o=e.events)[r.Click])||void 0===i?void 0:i.call(o,{target:t,event:n})});var b="top"===this.getYPosition(n)?"upper":"lower";return i.classList.add("notyf__toast--"+b),i},t.prototype._createHTMLElement=function(t){var e=t.tagName,n=t.className,o=t.text,i=document.createElement(e);return n&&(i.className=n),i.textContent=o||null,i},t.prototype._createA11yContainer=function(){var t=this._createHTMLElement({tagName:"div",className:"notyf-announcer"});t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite"),t.style.border="0",t.style.clip="rect(0 0 0 0)",t.style.height="1px",t.style.margin="-1px",t.style.overflow="hidden",t.style.padding="0",t.style.position="absolute",t.style.width="1px",t.style.outline="0",document.body.appendChild(t),this.a11yContainer=t},t.prototype._announce=function(t){var e=this;this.a11yContainer.textContent="",setTimeout(function(){e.a11yContainer.textContent=t},100)},t.prototype._getAnimationEndEventName=function(){var t,e=document.createElement("_fake"),n={MozTransition:"animationend",OTransition:"oAnimationEnd",WebkitTransition:"webkitAnimationEnd",transition:"animationend"};for(t in n)if(void 0!==e.style[t])return n[t];return"animationend"},t}(),p=function(){function t(t){var e=this;this.dismiss=this._removeNotification,this.notifications=new s,this.view=new c;var n=this.registerTypes(t);this.options=i(i({},f),t),this.options.types=n,this.notifications.onUpdate(function(t,n){return e.view.update(t,n)}),this.view.on(r.Dismiss,function(t){var n=t.target,o=t.event;e._removeNotification(n),n.triggerEvent(r.Dismiss,o)}),this.view.on(r.Click,function(t){var e=t.target,n=t.event;return e.triggerEvent(r.Click,n)})}return t.prototype.error=function(t){var e=this.normalizeOptions("error",t);return this.open(e)},t.prototype.success=function(t){var e=this.normalizeOptions("success",t);return this.open(e)},t.prototype.open=function(t){var e=this.options.types.find(function(e){return e.type===t.type})||{},n=i(i({},e),t);this.assignProps(["ripple","position","dismissible"],n);var o=new a(n);return this._pushNotification(o),o},t.prototype.dismissAll=function(){for(;this.notifications.splice(0,1););},t.prototype.assignProps=function(t,e){var n=this;t.forEach(function(t){e[t]=null==e[t]?n.options[t]:e[t]})},t.prototype._pushNotification=function(t){var e=this;this.notifications.push(t);var n=void 0!==t.options.duration?t.options.duration:this.options.duration;n&&setTimeout(function(){return e._removeNotification(t)},n)},t.prototype._removeNotification=function(t){var e=this.notifications.indexOf(t);-1!==e&&this.notifications.splice(e,1)},t.prototype.normalizeOptions=function(t,e){var n={type:t};return"string"==typeof e?n.message=e:"object"==typeof e&&(n=i(i({},n),e)),n},t.prototype.registerTypes=function(t){var e=(t&&t.types||[]).slice();return f.types.map(function(t){var n=-1;e.forEach(function(e,o){e.type===t.type&&(n=o)});var o=-1!==n?e.splice(n,1)[0]:{};return i(i({},t),o)}).concat(e)},t}()},20:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.onApiRequest=e.pageWillAppear=e.onRequest=e.onDynamicLink=e.subscribeNotify=e.onNotify=e.onPushView=e.onNavigationBar=e.onRefresh=e.onBack=e.ready=e.wrapNotOkPayload=e.wrapOkPayload=void 0;var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},i=n(1),a=n(9),r=n(10),s=n(17);!function(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}}('@-webkit-keyframes notyf-fadeinup{0%{opacity:0;transform:translateY(25%)}to{opacity:1;transform:translateY(0)}}@keyframes notyf-fadeinup{0%{opacity:0;transform:translateY(25%)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes notyf-fadeinleft{0%{opacity:0;transform:translateX(25%)}to{opacity:1;transform:translateX(0)}}@keyframes notyf-fadeinleft{0%{opacity:0;transform:translateX(25%)}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes notyf-fadeoutright{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(25%)}}@keyframes notyf-fadeoutright{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(25%)}}@-webkit-keyframes notyf-fadeoutdown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(25%)}}@keyframes notyf-fadeoutdown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(25%)}}@-webkit-keyframes ripple{0%{transform:scale(0) translateY(-45%) translateX(13%)}to{transform:scale(1) translateY(-45%) translateX(13%)}}@keyframes ripple{0%{transform:scale(0) translateY(-45%) translateX(13%)}to{transform:scale(1) translateY(-45%) translateX(13%)}}.notyf{position:fixed;top:0;left:0;height:100%;width:100%;color:#fff;z-index:9999;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;pointer-events:none;box-sizing:border-box;padding:20px}.notyf__icon--error,.notyf__icon--success{height:21px;width:21px;background:#fff;border-radius:50%;display:block;margin:0 auto;position:relative}.notyf__icon--error:after,.notyf__icon--error:before{content:"";background:currentColor;display:block;position:absolute;width:3px;border-radius:3px;left:9px;height:12px;top:5px}.notyf__icon--error:after{transform:rotate(-45deg)}.notyf__icon--error:before{transform:rotate(45deg)}.notyf__icon--success:after,.notyf__icon--success:before{content:"";background:currentColor;display:block;position:absolute;width:3px;border-radius:3px}.notyf__icon--success:after{height:6px;transform:rotate(-45deg);top:9px;left:6px}.notyf__icon--success:before{height:11px;transform:rotate(45deg);top:5px;left:10px}.notyf__toast{display:block;overflow:hidden;pointer-events:auto;-webkit-animation:notyf-fadeinup .3s ease-in forwards;animation:notyf-fadeinup .3s ease-in forwards;box-shadow:0 3px 7px 0 rgba(0,0,0,.25);position:relative;padding:0 15px;border-radius:2px;max-width:300px;transform:translateY(25%);box-sizing:border-box;flex-shrink:0}.notyf__toast--disappear{transform:translateY(0);-webkit-animation:notyf-fadeoutdown .3s forwards;animation:notyf-fadeoutdown .3s forwards;-webkit-animation-delay:.25s;animation-delay:.25s}.notyf__toast--disappear .notyf__icon,.notyf__toast--disappear .notyf__message{-webkit-animation:notyf-fadeoutdown .3s forwards;animation:notyf-fadeoutdown .3s forwards;opacity:1;transform:translateY(0)}.notyf__toast--disappear .notyf__dismiss{-webkit-animation:notyf-fadeoutright .3s forwards;animation:notyf-fadeoutright .3s forwards;opacity:1;transform:translateX(0)}.notyf__toast--disappear .notyf__message{-webkit-animation-delay:.05s;animation-delay:.05s}.notyf__toast--upper{margin-bottom:20px}.notyf__toast--lower{margin-top:20px}.notyf__toast--dismissible .notyf__wrapper{padding-right:30px}.notyf__ripple{height:400px;width:400px;position:absolute;transform-origin:bottom right;right:0;top:0;border-radius:50%;transform:scale(0) translateY(-51%) translateX(13%);z-index:5;-webkit-animation:ripple .4s ease-out forwards;animation:ripple .4s ease-out forwards}.notyf__wrapper{font-size:18px;display:flex;align-items:center;padding-top:17px;padding-bottom:17px;padding-right:15px;border-radius:3px;position:relative;z-index:10}.notyf__icon{width:22px;text-align:center;font-size:1.0em;opacity:0;-webkit-animation:notyf-fadeinup .3s forwards;animation:notyf-fadeinup .3s forwards;-webkit-animation-delay:.3s;animation-delay:.3s;margin-right:13px}.notyf__dismiss{position:absolute;top:0;right:0;height:100%;width:26px;margin-right:-15px;-webkit-animation:notyf-fadeinleft .3s forwards;animation:notyf-fadeinleft .3s forwards;-webkit-animation-delay:.35s;animation-delay:.35s;opacity:0}.notyf__dismiss-btn{background-color:rgba(0,0,0,.25);border:none;cursor:pointer;transition:opacity .2s ease,background-color .2s ease;outline:none;opacity:.35;height:100%;width:100%}.notyf__dismiss-btn:after,.notyf__dismiss-btn:before{content:"";background:#fff;height:12px;width:2px;border-radius:3px;position:absolute;left:calc(50% - 1px);top:calc(50% - 5px)}.notyf__dismiss-btn:after{transform:rotate(-45deg)}.notyf__dismiss-btn:before{transform:rotate(45deg)}.notyf__dismiss-btn:hover{opacity:.7;background-color:rgba(0,0,0,.15)}.notyf__dismiss-btn:active{opacity:.8}.notyf__message{vertical-align:middle;position:relative;opacity:0;-webkit-animation:notyf-fadeinup .3s forwards;animation:notyf-fadeinup .3s forwards;-webkit-animation-delay:.25s;animation-delay:.25s;line-height:1.5em}@media only screen and (max-width:480px){.notyf{padding:0}.notyf__ripple{height:600px;width:600px;-webkit-animation-duration:.5s;animation-duration:.5s}.notyf__toast{max-width:none;border-radius:0;box-shadow:0 -2px 7px 0 rgba(0,0,0,.13);width:100%}.notyf__dismiss{width:56px}}');var f=navigator.userAgent,c=f.match(/(Android);?[\s\/]+([\d.]+)?/),p=f.match(/(iPad).*OS\s([\d_]+)/),l=f.match(/(iPod)(.*OS\s([\d_]+))?/),d=!p&&f.match(/(iPhone\sOS)\s([\d_]+)/),u=!!f.toLowerCase().match(/DFYJ/i),y=!!f.toLowerCase().match(/ArkWeb/i),g=function(t){return t.init(function(t,e){e&&e(data)}),t},m=function(t){var e=function(e){(0,a.log)("[ready] <-"),t(e)};if((0,a.log)("[ready] ->"),u)if(p||d||l){if(window.WebViewJavascriptBridge)return e(WebViewJavascriptBridge);if(window.WVJBCallbacks)return window.WVJBCallbacks.push(e);window.WVJBCallbacks=[e];var n=document.createElement("iframe");n.style.display="none",n.src="https://__bridge_loaded__",document.documentElement.appendChild(n),setTimeout(function(){document.documentElement.removeChild(n)},0)}else c?window.WebViewJavascriptBridge?e(g(WebViewJavascriptBridge)):document.addEventListener("WebViewJavascriptBridgeReady",function(){e(g(WebViewJavascriptBridge))},!1):e();else e()},h=function(){},v=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},_=function(){return{code:arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,info:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"error"}},b=function(t){var e={complete:h};e=(0,i._extends)({},e,t),(0,a.log)("onBack->"+JSON.stringify(e)),y?window.LightSDK.native.back({number:e.step},function(t){(0,a.log)("onBack <- "+JSON.stringify(t))}):WebViewJavascriptBridge.callHandler("back",e,function(t){(0,a.log)("onBack <-"+JSON.stringify(t)),e.complete(t)})},w=function(t){var e={complete:h};e=(0,i._extends)({},e,t),(0,a.log)("onRefresh->"+JSON.stringify(e)),y?location.reload():WebViewJavascriptBridge.callHandler("refresh",e,function(t){(0,a.log)("onRefresh<-"+JSON.stringify(t)),e.complete(t)})},N=function(t){var e={complete:h};e=(0,i._extends)({},e,t),(0,a.log)("onBasicNavigationBar->"+JSON.stringify(e)),y?(window.LightSDK.native.setTitle&&e.title&&((0,a.log)("[Harmony setTitle] -> "+JSON.stringify(e)),window.LightSDK.native.setTitle({title:e.title},function(t){(0,a.log)("[Harmony setTitle] <- "+JSON.stringify(t))})),window.LightSDK.native.removeButton&&((0,a.log)("[Harmony removeButton] -> "),window.LightSDK.native.removeButton({position:"right"},function(t){(0,a.log)("[Harmony removeButton] <- "+JSON.stringify(t))})),window.LightSDK.native.addButton&&(e.rightButtonTitle||e.rightButtonIcon)&&((0,a.log)("[Harmony addButton] -> "),e.rightButtonIcon&&(e.rightButtonIcon="base64://"+e.rightButtonIcon,e.rightButtonTitle=""),e.rightButtonTitle&&(e.rightButtonIcon=""),window.LightSDK.native.addButton({title:e.rightButtonTitle,icon:e.rightButtonIcon,position:"right",action:e.onRightButtonPress},function(t){(0,a.log)("[Harmony addButton] <- "+JSON.stringify(t))}))):WebViewJavascriptBridge.callHandler("navigationBar",e,function(t){(0,a.log)("onBasicNavigationBar <-"+JSON.stringify(t)),e.complete(t)})},k=function(t){var e={title:"",isFullScreen:!1,isStatusBarLight:!0,ver:"v1"};e=(0,i._extends)({},e,t),1==e.isFullScreen&&(e.ver="v2"),e.uri&&(-1!=e.uri.indexOf("http")||-1!=e.uri.indexOf("https")||(e.uri=(0,i.getAbsoluteUrl)(e.uri))),y?(e.url=e.uri,(0,a.log)("onPushView->"+JSON.stringify(e)),window.LightSDK.native.callNative("winner_base.router",e,function(t){(0,a.log)("onPushView <-"+JSON.stringify(t))})):((0,a.log)("onPushView->"+JSON.stringify(e)),WebViewJavascriptBridge.callHandler("pushView",e,function(t){(0,a.log)("onPushView <-"+JSON.stringify(t))}))},x=function(t){"function"==typeof t&&(y?window.LightSDK.event.on("viewappear",function(){(0,a.log)("pageWillAppear 被回调"),"function"==typeof t&&t()}):WebViewJavascriptBridge.registerHandler("pageWillAppear",t))},O=function(t){var e={type:"javascriptNotify"};e=(0,i._extends)({},e,t),(0,a.log)("onNotify->"+JSON.stringify(e)),y||WebViewJavascriptBridge.callHandler("notify",e,function(t){(0,a.log)("onNotify<-"+JSON.stringify(t))})},S={},L=function(t,e){if("function"==typeof e){var n=t;"sae_video"!=n&&"result_video"!=n||(n="notify"),S[n]=e,(0,a.log)("subscribeNotify->"+t),y||WebViewJavascriptBridge.registerHandler(n,function(e){if((0,a.log)("subscribeNotify<-"+JSON.stringify(e)),Object.prototype.toString.call(e).toLocaleLowerCase()=="[object String]".toLocaleLowerCase()&&(e=JSON.parse(e)),"result_video"==t&&e.payload){Object.prototype.toString.call(e.payload).toLocaleLowerCase()=="[object String]".toLocaleLowerCase()&&(e.payload=JSON.parse(e.payload)),(p||d||l)&&(e.payload=o({},e.payload.params));var i=[];if(e.payload.result&&e.payload.result.length){e.payload.result.forEach(function(t){t.reasons&&"[object Array]"==Object.prototype.toString.call(t.reasons)&&(i=i.concat(t.reasons))})}e.payload.reject_reasons=i.reduce(function(t,e){return t.concat(e.split(";"))},[])}S[n]&&(c?"sae_video"==e.type||"result_video"==e.type?((0,a.log)("安卓notify被调用."),S.notify(e)):e.type==n&&((0,a.log)("安卓"+e.type+"被调用!"),S[n](e)):((0,a.log)("iOS notify被调用;"),S[n](e)))})}},J=function(t){var e={url:""};if(e=(0,i._extends)({},e,t),(0,a.log)("onDynamicLink->"+JSON.stringify(e)),y)0==e.url.indexOf("https")||0==e.url.indexOf("http")?window.LightSDK.native.openURL({url:e.url},function(){}):location.href=e.url;else{if((0,r.compareVersion)("5.22.2")<0&&-1!=e.url.indexOf("dl/videoreview"))return void alert("您当前的APP版本过低,请升级至V5.22.2以上版本后,再进行使用");WebViewJavascriptBridge.callHandler("dynamicLink",e,function(t){(0,a.log)("onDynamicLink<-"+JSON.stringify(t))})}},B={},E=!1,C=function(t,e){switch(arguments.length){case 1:return parseInt(Math.random()*t+1,10);case 2:return parseInt(Math.random()*(e-t+1)+t,10);default:return 0}},A=[],P=function t(){var e=C(1e3,9999);return-1!==A.indexOf(e)?t(e):(A.push(e),e)},T=function(t,e,n,o){var i={type:t||"1",payload:e||{},callbackId:P()};if(B[t+"-ok"]="function"==typeof n?n:h,B[t+"-notok"]="function"==typeof o?o:h,B[t+"_"+i.callbackId+"-ok"]="function"==typeof n?n:h,B[t+"_"+i.callbackId+"-notok"]="function"==typeof o?o:h,y){var r=void 0;if(r||(r=new s.Notyf({duration:2e3})),window.LightSDK)if("1"==i.type||"2"==i.type)window.LightSDK.native.callNative("dfyj.longLogin",i,function(t){"0"==t.info.error_code?(t=t.data,(0,a.log)("[Harmony onLogin] <- "+JSON.stringify(t)),B[i.type+"-ok"](v(t))):((0,a.errorlog)("[Harmony onLogin] <- "+JSON.stringify(t.info)),B[i.type+"-notok"](_(-1,t.info.error_message)))});else if("4"==i.type){r.error({message:"该功能在鸿蒙系统中,暂不支持",dismissible:!0})}else if("5"==i.type){r.error({message:"该功能在鸿蒙系统中,暂不支持",dismissible:!0})}else if("9"==i.type){r.error({message:"该功能在鸿蒙系统中,暂不支持",dismissible:!0})}else if("10"==i.type){r.error({message:"该功能在鸿蒙系统中,暂不支持",dismissible:!0})}else if("14"==i.type)window.LightSDK.native.callNative("dfyj.queryAgeAppropriateMode",i,function(t){"0"==t.info.error_code?(t=t.data,(0,a.log)("[Harmony onQueryAgeAppropriateMode] <- "+JSON.stringify(t)),B[i.type+"-ok"](v(t))):((0,a.errorlog)("[Harmony onQueryAgeAppropriateMode] <- "+JSON.stringify(t.info)),B[i.type+"-notok"](_(-1,t.info.error_message)))});else{r.error({message:"该功能在鸿蒙系统中,暂不支持",dismissible:!0})}}else WebViewJavascriptBridge.callHandler("request",i,function(t){"string"==typeof t&&(t=JSON.parse(t)),t.error||"true"===t.error?t.callbackId&&"function"==typeof B[t.type+"_"+t.callbackId+"-notok"]?B[t.type+"_"+t.callbackId+"-notok"](_(-1,t.info)):"function"==typeof B[t.type+"-notok"]&&B[t.type+"-notok"](_(-1,t.info)):t.callbackId&&"function"==typeof B[t.type+"_"+t.callbackId+"-ok"]?(p||d||l||t.payload)&&B[t.type+"_"+t.callbackId+"-ok"](v(t.payload)):"function"==typeof B[t.type+"-ok"]&&(p||d||l||t.payload)&&B[t.type+"-ok"](v(t.payload))}),E||(WebViewJavascriptBridge.registerHandler("request",function(t){"string"==typeof t&&(t=JSON.parse(t)),t.error||"true"===t.error?t.callbackId&&"function"==typeof B[t.type+"_"+t.callbackId+"-notok"]?B[t.type+"_"+t.callbackId+"-notok"](_(-1,t.info)):"function"==typeof B[t.type+"-notok"]&&B[t.type+"-notok"](_(-1,t.info)):t.callbackId&&"function"==typeof B[t.type+"_"+t.callbackId+"-ok"]?B[t.type+"_"+t.callbackId+"-ok"](v(t.payload)):"function"==typeof B[t.type+"-ok"]&&B[t.type+"-ok"](v(t.payload))}),E=!0)},H=function(t,e,n,o){if((0,i.isEmpty)(t))throw new Error("functionNo is required ...");var r={funcId:t,payload:e||{}};(0,a.log)("onApiRequest->"+JSON.stringify(r)),y||WebViewJavascriptBridge.callHandler("apiRequest",r,function(t){if((0,a.log)("onApiRequest<-"+JSON.stringify(t)),"string"==typeof t&&(t=JSON.parse(t)),p||d||l){if(t.error||"true"===t.error)t.payload?"function"==typeof o&&o(_(t.payload.code,t.payload.info)):"function"==typeof o&&o(_(-1,t.info));else if("function"==typeof n){var e={};t.payload&&(e="string"==typeof t.payload.data?JSON.parse(t.payload.data):t.payload.data),n(v(e))}}else if(t.error||"true"===t.error)"function"==typeof o&&o(_(-1,t.info));else{var i={};i="string"==typeof t.payload.data?JSON.parse(t.payload.data):t.payload.data?t.payload.data:{},"0"!=t.payload.code?"function"==typeof o&&o(_(t.payload.code,t.payload.info)):"function"==typeof n&&n(v(i))}})};e.wrapOkPayload=v,e.wrapNotOkPayload=_,e.ready=m,e.onBack=b,e.onRefresh=w,e.onNavigationBar=N,e.onPushView=k,e.onNotify=O,e.subscribeNotify=L,e.onDynamicLink=J,e.onRequest=T,e.pageWillAppear=x,e.onApiRequest=H},9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){var t=new Date;t.getDate();return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())+"."+t.getMilliseconds()},i=function(t){t&&(t=o()+"[赢家]: "+t)},a=function(t){t&&(t=o()+"[赢家]: "+t)};e.log=i,e.errorlog=a}})});
15
+ var n,i=function(){return i=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++){e=arguments[o];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},i.apply(this,arguments)},r=function(){function t(t){this.options=t,this.listeners={}}return t.prototype.on=function(t,e){var o=this.listeners[t]||[];this.listeners[t]=o.concat([e])},t.prototype.triggerEvent=function(t,e){var o=this;(this.listeners[t]||[]).forEach(function(t){return t({target:o,event:e})})},t}();!function(t){t[t.Add=0]="Add",t[t.Remove=1]="Remove"}(n||(n={}));var a,s=function(){function t(){this.notifications=[]}return t.prototype.push=function(t){this.notifications.push(t),this.updateFn(t,n.Add,this.notifications)},t.prototype.splice=function(t,e){var o=this.notifications.splice(t,e)[0];return this.updateFn(o,n.Remove,this.notifications),o},t.prototype.indexOf=function(t){return this.notifications.indexOf(t)},t.prototype.onUpdate=function(t){this.updateFn=t},t}();!function(t){t.Dismiss="dismiss",t.Click="click"}(a||(a={}));var f={types:[{type:"success",className:"notyf__toast--success",backgroundColor:"#3dc763",icon:{className:"notyf__icon--success",tagName:"i"}},{type:"error",className:"notyf__toast--error",backgroundColor:"#ed3d3d",icon:{className:"notyf__icon--error",tagName:"i"}}],duration:2e3,ripple:!0,position:{x:"right",y:"bottom"},dismissible:!1},c=function(){function t(){this.notifications=[],this.events={},this.X_POSITION_FLEX_MAP={left:"flex-start",center:"center",right:"flex-end"},this.Y_POSITION_FLEX_MAP={top:"flex-start",center:"center",bottom:"flex-end"};var t=document.createDocumentFragment(),e=this._createHTMLElement({tagName:"div",className:"notyf"});t.appendChild(e),document.body.appendChild(t),this.container=e,this.animationEndEventName=this._getAnimationEndEventName(),this._createA11yContainer()}return t.prototype.on=function(t,e){var o;this.events=i(i({},this.events),(o={},o[t]=e,o))},t.prototype.update=function(t,e){e===n.Add?this.addNotification(t):e===n.Remove&&this.removeNotification(t)},t.prototype.removeNotification=function(t){var e,o=this,n=this._popRenderedNotification(t);if(n){e=n.node,e.classList.add("notyf__toast--disappear");var i;e.addEventListener(this.animationEndEventName,i=function(t){t.target===e&&(e.removeEventListener(o.animationEndEventName,i),o.container.removeChild(e))})}},t.prototype.addNotification=function(t){var e=this._renderNotification(t);this.notifications.push({notification:t,node:e}),this._announce(t.options.message||"Notification")},t.prototype._renderNotification=function(t){var e,o=this._buildNotificationCard(t),n=t.options.className;return n&&(e=o.classList).add.apply(e,n.split(" ")),this.container.appendChild(o),o},t.prototype._popRenderedNotification=function(t){for(var e=-1,o=0;o<this.notifications.length&&e<0;o++)this.notifications[o].notification===t&&(e=o);if(-1!==e)return this.notifications.splice(e,1)[0]},t.prototype.getXPosition=function(t){var e;return(null===(e=null===t||void 0===t?void 0:t.position)||void 0===e?void 0:e.x)||"right"},t.prototype.getYPosition=function(t){var e;return(null===(e=null===t||void 0===t?void 0:t.position)||void 0===e?void 0:e.y)||"bottom"},t.prototype.adjustContainerAlignment=function(t){var e=this.X_POSITION_FLEX_MAP[this.getXPosition(t)],o=this.Y_POSITION_FLEX_MAP[this.getYPosition(t)],n=this.container.style;n.setProperty("justify-content",o),n.setProperty("align-items",e)},t.prototype._buildNotificationCard=function(t){var e=this,o=t.options,n=o.icon;this.adjustContainerAlignment(o);var i=this._createHTMLElement({tagName:"div",className:"notyf__toast"}),r=this._createHTMLElement({tagName:"div",className:"notyf__ripple"}),s=this._createHTMLElement({tagName:"div",className:"notyf__wrapper"}),f=this._createHTMLElement({tagName:"div",className:"notyf__message"});f.innerHTML=o.message||"";var c=o.background||o.backgroundColor;if(n){var l=this._createHTMLElement({tagName:"div",className:"notyf__icon"});if(("string"==typeof n||n instanceof String)&&(l.innerHTML=new String(n).valueOf()),"object"==typeof n){var d=n.tagName,p=void 0===d?"i":d,y=n.className,u=n.text,g=n.color,m=void 0===g?c:g,h=this._createHTMLElement({tagName:p,className:y,text:u});m&&(h.style.color=m),l.appendChild(h)}s.appendChild(l)}if(s.appendChild(f),i.appendChild(s),c&&(o.ripple?(r.style.background=c,i.appendChild(r)):i.style.background=c),o.dismissible){var v=this._createHTMLElement({tagName:"div",className:"notyf__dismiss"}),_=this._createHTMLElement({tagName:"button",className:"notyf__dismiss-btn"});v.appendChild(_),s.appendChild(v),i.classList.add("notyf__toast--dismissible"),_.addEventListener("click",function(o){var n,i;null===(i=(n=e.events)[a.Dismiss])||void 0===i||i.call(n,{target:t,event:o}),o.stopPropagation()})}i.addEventListener("click",function(o){var n,i;return null===(i=(n=e.events)[a.Click])||void 0===i?void 0:i.call(n,{target:t,event:o})});var w="top"===this.getYPosition(o)?"upper":"lower";return i.classList.add("notyf__toast--"+w),i},t.prototype._createHTMLElement=function(t){var e=t.tagName,o=t.className,n=t.text,i=document.createElement(e);return o&&(i.className=o),i.textContent=n||null,i},t.prototype._createA11yContainer=function(){var t=this._createHTMLElement({tagName:"div",className:"notyf-announcer"});t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite"),t.style.border="0",t.style.clip="rect(0 0 0 0)",t.style.height="1px",t.style.margin="-1px",t.style.overflow="hidden",t.style.padding="0",t.style.position="absolute",t.style.width="1px",t.style.outline="0",document.body.appendChild(t),this.a11yContainer=t},t.prototype._announce=function(t){var e=this;this.a11yContainer.textContent="",setTimeout(function(){e.a11yContainer.textContent=t},100)},t.prototype._getAnimationEndEventName=function(){var t,e=document.createElement("_fake"),o={MozTransition:"animationend",OTransition:"oAnimationEnd",WebkitTransition:"webkitAnimationEnd",transition:"animationend"};for(t in o)if(void 0!==e.style[t])return o[t];return"animationend"},t}(),l=function(){function t(t){var e=this;this.dismiss=this._removeNotification,this.notifications=new s,this.view=new c;var o=this.registerTypes(t);this.options=i(i({},f),t),this.options.types=o,this.notifications.onUpdate(function(t,o){return e.view.update(t,o)}),this.view.on(a.Dismiss,function(t){var o=t.target,n=t.event;e._removeNotification(o),o.triggerEvent(a.Dismiss,n)}),this.view.on(a.Click,function(t){var e=t.target,o=t.event;return e.triggerEvent(a.Click,o)})}return t.prototype.error=function(t){var e=this.normalizeOptions("error",t);return this.open(e)},t.prototype.success=function(t){var e=this.normalizeOptions("success",t);return this.open(e)},t.prototype.open=function(t){var e=this.options.types.find(function(e){return e.type===t.type})||{},o=i(i({},e),t);this.assignProps(["ripple","position","dismissible"],o);var n=new r(o);return this._pushNotification(n),n},t.prototype.dismissAll=function(){for(;this.notifications.splice(0,1););},t.prototype.assignProps=function(t,e){var o=this;t.forEach(function(t){e[t]=null==e[t]?o.options[t]:e[t]})},t.prototype._pushNotification=function(t){var e=this;this.notifications.push(t);var o=void 0!==t.options.duration?t.options.duration:this.options.duration;o&&setTimeout(function(){return e._removeNotification(t)},o)},t.prototype._removeNotification=function(t){var e=this.notifications.indexOf(t);-1!==e&&this.notifications.splice(e,1)},t.prototype.normalizeOptions=function(t,e){var o={type:t};return"string"==typeof e?o.message=e:"object"==typeof e&&(o=i(i({},o),e)),o},t.prototype.registerTypes=function(t){var e=(t&&t.types||[]).slice();return f.types.map(function(t){var o=-1;e.forEach(function(e,n){e.type===t.type&&(o=n)});var n=-1!==o?e.splice(o,1)[0]:{};return i(i({},t),n)}).concat(e)},t}()},20:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.onApiRequest=e.pageWillAppear=e.onRequest=e.onDynamicLink=e.subscribeNotify=e.onNotify=e.onPushView=e.onNavigationBar=e.onRefresh=e.onBack=e.ready=e.wrapNotOkPayload=e.wrapOkPayload=void 0;var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])}return t},i=o(1),r=o(9),a=o(10),s=o(17);!function(t,e){void 0===e&&(e={});var o=e.insertAt;if(t&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===o&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}}('@-webkit-keyframes notyf-fadeinup{0%{opacity:0;transform:translateY(25%)}to{opacity:1;transform:translateY(0)}}@keyframes notyf-fadeinup{0%{opacity:0;transform:translateY(25%)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes notyf-fadeinleft{0%{opacity:0;transform:translateX(25%)}to{opacity:1;transform:translateX(0)}}@keyframes notyf-fadeinleft{0%{opacity:0;transform:translateX(25%)}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes notyf-fadeoutright{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(25%)}}@keyframes notyf-fadeoutright{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(25%)}}@-webkit-keyframes notyf-fadeoutdown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(25%)}}@keyframes notyf-fadeoutdown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(25%)}}@-webkit-keyframes ripple{0%{transform:scale(0) translateY(-45%) translateX(13%)}to{transform:scale(1) translateY(-45%) translateX(13%)}}@keyframes ripple{0%{transform:scale(0) translateY(-45%) translateX(13%)}to{transform:scale(1) translateY(-45%) translateX(13%)}}.notyf{position:fixed;top:0;left:0;height:100%;width:100%;color:#fff;z-index:9999;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;pointer-events:none;box-sizing:border-box;padding:20px}.notyf__icon--error,.notyf__icon--success{height:21px;width:21px;background:#fff;border-radius:50%;display:block;margin:0 auto;position:relative}.notyf__icon--error:after,.notyf__icon--error:before{content:"";background:currentColor;display:block;position:absolute;width:3px;border-radius:3px;left:9px;height:12px;top:5px}.notyf__icon--error:after{transform:rotate(-45deg)}.notyf__icon--error:before{transform:rotate(45deg)}.notyf__icon--success:after,.notyf__icon--success:before{content:"";background:currentColor;display:block;position:absolute;width:3px;border-radius:3px}.notyf__icon--success:after{height:6px;transform:rotate(-45deg);top:9px;left:6px}.notyf__icon--success:before{height:11px;transform:rotate(45deg);top:5px;left:10px}.notyf__toast{display:block;overflow:hidden;pointer-events:auto;-webkit-animation:notyf-fadeinup .3s ease-in forwards;animation:notyf-fadeinup .3s ease-in forwards;box-shadow:0 3px 7px 0 rgba(0,0,0,.25);position:relative;padding:0 15px;border-radius:2px;max-width:300px;transform:translateY(25%);box-sizing:border-box;flex-shrink:0}.notyf__toast--disappear{transform:translateY(0);-webkit-animation:notyf-fadeoutdown .3s forwards;animation:notyf-fadeoutdown .3s forwards;-webkit-animation-delay:.25s;animation-delay:.25s}.notyf__toast--disappear .notyf__icon,.notyf__toast--disappear .notyf__message{-webkit-animation:notyf-fadeoutdown .3s forwards;animation:notyf-fadeoutdown .3s forwards;opacity:1;transform:translateY(0)}.notyf__toast--disappear .notyf__dismiss{-webkit-animation:notyf-fadeoutright .3s forwards;animation:notyf-fadeoutright .3s forwards;opacity:1;transform:translateX(0)}.notyf__toast--disappear .notyf__message{-webkit-animation-delay:.05s;animation-delay:.05s}.notyf__toast--upper{margin-bottom:20px}.notyf__toast--lower{margin-top:20px}.notyf__toast--dismissible .notyf__wrapper{padding-right:30px}.notyf__ripple{height:400px;width:400px;position:absolute;transform-origin:bottom right;right:0;top:0;border-radius:50%;transform:scale(0) translateY(-51%) translateX(13%);z-index:5;-webkit-animation:ripple .4s ease-out forwards;animation:ripple .4s ease-out forwards}.notyf__wrapper{font-size:18px;display:flex;align-items:center;padding-top:17px;padding-bottom:17px;padding-right:15px;border-radius:3px;position:relative;z-index:10}.notyf__icon{width:22px;text-align:center;font-size:1.0em;opacity:0;-webkit-animation:notyf-fadeinup .3s forwards;animation:notyf-fadeinup .3s forwards;-webkit-animation-delay:.3s;animation-delay:.3s;margin-right:13px}.notyf__dismiss{position:absolute;top:0;right:0;height:100%;width:26px;margin-right:-15px;-webkit-animation:notyf-fadeinleft .3s forwards;animation:notyf-fadeinleft .3s forwards;-webkit-animation-delay:.35s;animation-delay:.35s;opacity:0}.notyf__dismiss-btn{background-color:rgba(0,0,0,.25);border:none;cursor:pointer;transition:opacity .2s ease,background-color .2s ease;outline:none;opacity:.35;height:100%;width:100%}.notyf__dismiss-btn:after,.notyf__dismiss-btn:before{content:"";background:#fff;height:12px;width:2px;border-radius:3px;position:absolute;left:calc(50% - 1px);top:calc(50% - 5px)}.notyf__dismiss-btn:after{transform:rotate(-45deg)}.notyf__dismiss-btn:before{transform:rotate(45deg)}.notyf__dismiss-btn:hover{opacity:.7;background-color:rgba(0,0,0,.15)}.notyf__dismiss-btn:active{opacity:.8}.notyf__message{vertical-align:middle;position:relative;opacity:0;-webkit-animation:notyf-fadeinup .3s forwards;animation:notyf-fadeinup .3s forwards;-webkit-animation-delay:.25s;animation-delay:.25s;line-height:1.5em}@media only screen and (max-width:480px){.notyf{padding:0}.notyf__ripple{height:600px;width:600px;-webkit-animation-duration:.5s;animation-duration:.5s}.notyf__toast{max-width:none;border-radius:0;box-shadow:0 -2px 7px 0 rgba(0,0,0,.13);width:100%}.notyf__dismiss{width:56px}}');var f=navigator.userAgent,c=f.match(/(Android);?[\s\/]+([\d.]+)?/),l=f.match(/(iPad).*OS\s([\d_]+)/),d=f.match(/(iPod)(.*OS\s([\d_]+))?/),p=!l&&f.match(/(iPhone\sOS)\s([\d_]+)/),y=!!f.toLowerCase().match(/DFYJ/i),u=!!f.toLowerCase().match(/ArkWeb/i),g=function(t){return t.init(function(t,e){e&&e(data)}),t},m=function(t){var e=function(e){(0,r.log)("[ready] <-"),t(e)};if((0,r.log)("[ready] ->"),y)if(l||p||d){if(window.WebViewJavascriptBridge)return e(WebViewJavascriptBridge);if(window.WVJBCallbacks)return window.WVJBCallbacks.push(e);window.WVJBCallbacks=[e];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?e(g(WebViewJavascriptBridge)):document.addEventListener("WebViewJavascriptBridgeReady",function(){e(g(WebViewJavascriptBridge))},!1):e();else e()},h=function(){},v=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},_=function(){return{code:arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,info:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"error"}},w=function(t){var e={complete:h};e=(0,i._extends)({},e,t),(0,r.log)("onBack->"+JSON.stringify(e)),u?window.LightSDK.native.close(null,function(t){(0,r.log)("onBack <- "+JSON.stringify(t))}):WebViewJavascriptBridge.callHandler("back",e,function(t){(0,r.log)("onBack <-"+JSON.stringify(t)),e.complete(t)})},b=function(t){var e={complete:h};e=(0,i._extends)({},e,t),(0,r.log)("onRefresh->"+JSON.stringify(e)),u?location.reload():WebViewJavascriptBridge.callHandler("refresh",e,function(t){(0,r.log)("onRefresh<-"+JSON.stringify(t)),e.complete(t)})},N=function(t){var e={complete:h};e=(0,i._extends)({},e,t),(0,r.log)("onBasicNavigationBar->"+JSON.stringify(e)),u?(window.LightSDK.native.setTitle&&e.title&&((0,r.log)("[Harmony setTitle] -> "+JSON.stringify(e)),window.LightSDK.native.setTitle({title:e.title},function(t){(0,r.log)("[Harmony setTitle] <- "+JSON.stringify(t))})),window.LightSDK.native.removeButton&&((0,r.log)("[Harmony removeButton] -> "),window.LightSDK.native.removeButton({position:"right"},function(t){(0,r.log)("[Harmony removeButton] <- "+JSON.stringify(t))})),window.LightSDK.native.addButton&&(e.rightButtonTitle||e.rightButtonIcon)&&((0,r.log)("[Harmony addButton] -> "),e.rightButtonIcon&&(e.rightButtonIcon="base64://"+e.rightButtonIcon,e.rightButtonTitle=""),e.rightButtonTitle&&(e.rightButtonIcon=""),window.LightSDK.native.addButton({title:e.rightButtonTitle,icon:e.rightButtonIcon,position:"right",action:e.onRightButtonPress},function(t){(0,r.log)("[Harmony addButton] <- "+JSON.stringify(t))}))):WebViewJavascriptBridge.callHandler("navigationBar",e,function(t){(0,r.log)("onBasicNavigationBar <-"+JSON.stringify(t)),e.complete(t)})},k=function(t){var e={title:"",isFullScreen:!1,isStatusBarLight:!0,ver:"v1"};e=(0,i._extends)({},e,t),1==e.isFullScreen&&(e.ver="v2"),e.uri&&(-1!=e.uri.indexOf("http")||-1!=e.uri.indexOf("https")||(e.uri=(0,i.getAbsoluteUrl)(e.uri))),u?(e.url=e.uri,(0,r.log)("onPushView->"+JSON.stringify(e)),window.LightSDK.native.callNative("winner_base.router",e,function(t){(0,r.log)("onPushView <-"+JSON.stringify(t))})):((0,r.log)("onPushView->"+JSON.stringify(e)),WebViewJavascriptBridge.callHandler("pushView",e,function(t){(0,r.log)("onPushView <-"+JSON.stringify(t))}))},S=function(t){"function"==typeof t&&(u?window.LightSDK.event.on("viewappear",function(){(0,r.log)("pageWillAppear 被回调"),"function"==typeof t&&t()}):WebViewJavascriptBridge.registerHandler("pageWillAppear",t))},O=function(t){var e={type:"javascriptNotify"};e=(0,i._extends)({},e,t),(0,r.log)("onNotify->"+JSON.stringify(e)),u||WebViewJavascriptBridge.callHandler("notify",e,function(t){(0,r.log)("onNotify<-"+JSON.stringify(t))})},x={},J=function(t,e){if("function"==typeof e){var o=t;"sae_video"!=o&&"result_video"!=o||(o="notify"),x[o]=e,(0,r.log)("subscribeNotify->"+t),u?window.LightSDK.event.on(o,function(e){(0,r.log)("[harmony]subscribeNotify<-"+JSON.stringify(e)),Object.prototype.toString.call(e).toLocaleLowerCase()=="[object String]".toLocaleLowerCase()&&(e=JSON.parse(e));var n={};if(n.type=t,n.payload=e,"result_video"==t&&e){(0,r.log)("[harmony]subscribeNotify detail<-"+JSON.stringify(n));var i=[];if(n.payload.result&&n.payload.result.length){n.payload.result.forEach(function(t){t.reasons&&"[object Array]"==Object.prototype.toString.call(t.reasons)&&(i=i.concat(t.reasons))})}n.payload.reject_reasons=i.reduce(function(t,e){return t.concat(e.split(";"))},[])}x[o]&&((0,r.log)("[harmony]subscribeNotify final<-"+JSON.stringify(n)),x[o](n))}):WebViewJavascriptBridge.registerHandler(o,function(e){if((0,r.log)("subscribeNotify<-"+JSON.stringify(e)),Object.prototype.toString.call(e).toLocaleLowerCase()=="[object String]".toLocaleLowerCase()&&(e=JSON.parse(e)),"result_video"==t&&e.payload){Object.prototype.toString.call(e.payload).toLocaleLowerCase()=="[object String]".toLocaleLowerCase()&&(e.payload=JSON.parse(e.payload)),(l||p||d)&&(e.payload=n({},e.payload.params));var i=[];if(e.payload.result&&e.payload.result.length){e.payload.result.forEach(function(t){t.reasons&&"[object Array]"==Object.prototype.toString.call(t.reasons)&&(i=i.concat(t.reasons))})}e.payload.reject_reasons=i.reduce(function(t,e){return t.concat(e.split(";"))},[])}x[o]&&(c?"sae_video"==e.type||"result_video"==e.type?((0,r.log)("安卓notify被调用."),x.notify(e)):e.type==o&&((0,r.log)("安卓"+e.type+"被调用!"),x[o](e)):((0,r.log)("iOS notify被调用;"),x[o](e)))})}},L=function(t){var e={url:""};if(e=(0,i._extends)({},e,t),(0,r.log)("onDynamicLink->"+JSON.stringify(e)),u)0==e.url.indexOf("https")||0==e.url.indexOf("http")?window.LightSDK.native.openURL({url:e.url},function(){}):location.href=e.url;else{if((0,a.compareVersion)("5.22.2")<0&&-1!=e.url.indexOf("dl/videoreview"))return void alert("您当前的APP版本过低,请升级至V5.22.2以上版本后,再进行使用");WebViewJavascriptBridge.callHandler("dynamicLink",e,function(t){(0,r.log)("onDynamicLink<-"+JSON.stringify(t))})}},H={},C=!1,j=function(t,e){switch(arguments.length){case 1:return parseInt(Math.random()*t+1,10);case 2:return parseInt(Math.random()*(e-t+1)+t,10);default:return 0}},A=[],B=function t(){var e=j(1e3,9999);return-1!==A.indexOf(e)?t(e):(A.push(e),e)},E=function(t,e,o,n){var i={type:t||"1",payload:e||{},callbackId:B()};if(H[t+"-ok"]="function"==typeof o?o:h,H[t+"-notok"]="function"==typeof n?n:h,H[t+"_"+i.callbackId+"-ok"]="function"==typeof o?o:h,H[t+"_"+i.callbackId+"-notok"]="function"==typeof n?n:h,u){var a=void 0;if(a||(a=new s.Notyf({duration:2e3})),window.LightSDK)if("1"==i.type||"2"==i.type)window.LightSDK.native.callNative("dfyj.longLogin",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony onLogin] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony onLogin] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("4"==i.type)window.LightSDK.native.callNative("dfyj.share",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony onShare] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony onShare] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("5"==i.type)window.LightSDK.native.callNative("dfyj.wxPay",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony onWxPay] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony onWxPay] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("9"==i.type)window.LightSDK.native.callNative("dfyj.ocrIdCard",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony dfyj.ocrIdCard] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony dfyj.ocrIdCard] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("10"==i.type)window.LightSDK.native.callNative("dfyj.faceRecognition",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony onFaceRecognition] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony onFaceRecognition] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("11"==i.type)window.LightSDK.native.callNative("dfyj.checkAppNotification",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony onCheckAppNotification] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony onCheckAppNotification] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("14"==i.type)window.LightSDK.native.callNative("dfyj.queryAgeAppropriateMode",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony onQueryAgeAppropriateMode] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony onQueryAgeAppropriateMode] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("20"==i.type)window.LightSDK.native.callNative("dfyj.imageShare",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony imageShare] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony imageShare] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("24"==i.type)window.LightSDK.native.callNative("dfyj.onWxLogin",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony onWxLogin] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony onWxLogin] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("25"==i.type)window.LightSDK.native.callNative("dfyj.onWifiConnect",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony onWifiConnect] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony onWifiConnect] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("26"==i.type)window.LightSDK.native.callNative("dfyj.recorderRecognizerStart",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony recorderRecognizerStart] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony recorderRecognizerStart] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("27"==i.type)window.LightSDK.native.callNative("dfyj.recorderRecognizerCancel",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony recorderRecognizerCancel] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony recorderRecognizerCancel] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("28"==i.type)window.LightSDK.native.callNative("dfyj.recorderRecognizerStop",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony recorderRecognizerStop] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony recorderRecognizerStop] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("29"==i.type)window.LightSDK.native.callNative("dfyj.audioPlay",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony audioPlay] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony audioPlay] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("30"==i.type)window.LightSDK.native.callNative("dfyj.audioPause",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony audioPause] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony audioPause] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("31"==i.type)window.LightSDK.native.callNative("dfyj.permissionApply",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony permissionApply] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony permissionApply] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("34"==i.type)window.LightSDK.native.callNative("dfyj.oneClickActivation",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony oneClickActivation] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony oneClickActivation] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("35"==i.type)window.LightSDK.native.callNative("dfyj.permissionCheck",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony permissionCheck] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony permissionCheck] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else if("36"==i.type)window.LightSDK.native.callNative("dfyj.requestNps",i,function(t){"0"==t.info.error_code?(t=t.data,(0,r.log)("[Harmony requestNps] <- "+JSON.stringify(t)),H[i.type+"-ok"](v(t))):((0,r.errorlog)("[Harmony requestNps] <- "+JSON.stringify(t.info)),H[i.type+"-notok"](_(-1,t.info.error_message)))});else{a.error({message:"该功能在鸿蒙系统中,暂不支持",dismissible:!0})}}else WebViewJavascriptBridge.callHandler("request",i,function(t){"string"==typeof t&&(t=JSON.parse(t)),t.error||"true"===t.error?t.callbackId&&"function"==typeof H[t.type+"_"+t.callbackId+"-notok"]?H[t.type+"_"+t.callbackId+"-notok"](_(-1,t.info)):"function"==typeof H[t.type+"-notok"]&&H[t.type+"-notok"](_(-1,t.info)):t.callbackId&&"function"==typeof H[t.type+"_"+t.callbackId+"-ok"]?(l||p||d||t.payload)&&H[t.type+"_"+t.callbackId+"-ok"](v(t.payload)):"function"==typeof H[t.type+"-ok"]&&(l||p||d||t.payload)&&H[t.type+"-ok"](v(t.payload))}),C||(WebViewJavascriptBridge.registerHandler("request",function(t){"string"==typeof t&&(t=JSON.parse(t)),t.error||"true"===t.error?t.callbackId&&"function"==typeof H[t.type+"_"+t.callbackId+"-notok"]?H[t.type+"_"+t.callbackId+"-notok"](_(-1,t.info)):"function"==typeof H[t.type+"-notok"]&&H[t.type+"-notok"](_(-1,t.info)):t.callbackId&&"function"==typeof H[t.type+"_"+t.callbackId+"-ok"]?H[t.type+"_"+t.callbackId+"-ok"](v(t.payload)):"function"==typeof H[t.type+"-ok"]&&H[t.type+"-ok"](v(t.payload))}),C=!0)},P=function(t,e,o,n){if((0,i.isEmpty)(t))throw new Error("functionNo is required ...");var a={funcId:t,payload:e||{}};(0,r.log)("onApiRequest->"+JSON.stringify(a)),u||WebViewJavascriptBridge.callHandler("apiRequest",a,function(t){if((0,r.log)("onApiRequest<-"+JSON.stringify(t)),"string"==typeof t&&(t=JSON.parse(t)),l||p||d){if(t.error||"true"===t.error)t.payload?"function"==typeof n&&n(_(t.payload.code,t.payload.info)):"function"==typeof n&&n(_(-1,t.info));else if("function"==typeof o){var e={};t.payload&&(e="string"==typeof t.payload.data?JSON.parse(t.payload.data):t.payload.data),o(v(e))}}else if(t.error||"true"===t.error)"function"==typeof n&&n(_(-1,t.info));else{var i={};i="string"==typeof t.payload.data?JSON.parse(t.payload.data):t.payload.data?t.payload.data:{},"0"!=t.payload.code?"function"==typeof n&&n(_(t.payload.code,t.payload.info)):"function"==typeof o&&o(v(i))}})};e.wrapOkPayload=v,e.wrapNotOkPayload=_,e.ready=m,e.onBack=w,e.onRefresh=b,e.onNavigationBar=N,e.onPushView=k,e.onNotify=O,e.subscribeNotify=J,e.onDynamicLink=L,e.onRequest=E,e.pageWillAppear=S,e.onApiRequest=P},9:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){var t=new Date;t.getDate();return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())+"."+t.getMilliseconds()},i=function(t){t&&(t=n()+"[赢家]: "+t)},r=function(t){t&&(t=n()+"[赢家]: "+t)};e.log=i,e.errorlog=r}})});
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],{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])});
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],{100: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:function(a,t,o){a.exports=o(100)}},[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],{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])});
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(90)},90: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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastman2",
3
- "version": "3.0.0-alpha.6",
3
+ "version": "3.0.1",
4
4
  "description": "a hybird app framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
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],{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])});
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],{101: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:function(e,t,n){e.exports=n(101)}},[234])});
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],{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])});
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(91)},91: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))},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])});
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))},149: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(150),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)},150: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(97)},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))},97: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(149),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],{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])});
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(83)},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=[]},83: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])});