加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
slider.b6a41a.js 52.83 KB
一键复制 编辑 原始数据 按行查看 历史
ProudRabbit 提交于 2020-08-02 19:41 . Site updated: 2020-08-02 19:40:50
!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="./",e(0)}({0:function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function i(t){return t&&t.__esModule?t:{default:t}}function o(t){return t+="",1===t.length?"0"+t:t}function s(){var t=document.querySelectorAll(".tools-section");t.forEach(function(t){t.scrollTop=0})}function a(){function t(t){t=(t||"").toLowerCase();var n="title";0===t.indexOf("#")&&(t=t.substr(1,t.length),n="tag");var r=e.items;r.forEach(function(e){var r=!1;e.title.toLowerCase().indexOf(t)>-1&&(r=!0);var i=!1;e.tags.forEach(function(e){e.name.toLowerCase().indexOf(t)>-1&&(i=!0)}),"title"===n&&r||"tag"===n&&i?e.isShow=!0:e.isShow=!1}),e.$set("items",r)}var e=new p.default({el:"#container",data:{isCtnShow:!1,isShow:0,innerArchive:!1,friends:!1,aboutme:!1,items:[],jsonFail:!1,showTags:!1,search:""},methods:{stop:function(t){t.stopPropagation()},choseTag:function(t,n){e.$set("search","#"+(n?n:t.target.innerHTML))},clearChose:function(t){e.$set("search","")},toggleTag:function(t){e.$set("showTags",!e.showTags),window.localStorage&&window.localStorage.setItem(g,e.showTags)},openSlider:function(t,n){t.stopPropagation(),n||(n="innerArchive"),e.$set("innerArchive",!1),e.$set("friends",!1),e.$set("aboutme",!1),e.$set(n,!0),e.$set("isShow",!0),e.$set("isCtnShow",!0),s()}},filters:{isFalse:function(t){return t===!1},isEmptyStr:function(t){return""===t},isNotEmptyStr:function(t){return""!==t},urlformat:function(t){return window.yiliaConfig&&window.yiliaConfig.root?window.yiliaConfig.root+t:"/"+t},tagformat:function(t){return"#"+t},dateformat:function(t){var e=new Date(t);return e.getFullYear()+"-"+o(e.getMonth()+1)+"-"+o(e.getDate())}},ready:function(){}});e.$watch("search",function(e,n){window.localStorage&&window.localStorage.setItem(w,e),t(e)}),window.fetch(window.yiliaConfig.root+"content.json?t="+ +new Date,{method:"get"}).then(function(t){return t.json()}).then(function(n){n.forEach(function(t){t.isShow=!0}),e.$set("items",n);var r=window.localStorage&&window.localStorage.getItem(w)||"";e.$set("search",r),""!==r&&t(r)}).catch(function(t){console.warn(t),e.$set("jsonFail",!0)}),document.querySelector("#container").onclick=function(t){e.isShow&&(e.$set("isShow",!1),setTimeout(function(){e.$set("isCtnShow",!1)},300))};var n=!1;window.localStorage&&(n=window.localStorage.getItem(g));var r="false";r=null===n?window.yiliaConfig&&window.yiliaConfig.showTags?"true":"false":window.localStorage&&window.localStorage.getItem(g)||"false",e.$set("showTags",JSON.parse(r));for(var i=document.querySelectorAll(".tagcloud a.js-tag"),a=function(){var t=i[u];t.setAttribute("href","javascript:void(0)"),t.onclick=function(n){return n.stopPropagation(),e.$set("innerArchive",!0),e.$set("friends",!1),e.$set("aboutme",!1),e.$set("isShow",!0),e.$set("isCtnShow",!0),e.$set("search","#"+t.innerHTML),s(),!1}},u=0,c=i.length;u<c;u++)a()}var u=n(202),c=i(u),f=n(134),l=i(f),h=n(201),p=i(h),d=n(415),v=r(d),y=n(419),m=r(y);window.Promise=window.Promise||v.Promise,window.fetch=window.fetch||m;var g="yilia-tag",w="yilia-search",b=l.default.versions.mobile&&window.screen.width<800;a(),b||c.default.init(),t.exports={}},6:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},9:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},12:function(t,e,n){t.exports=!n(20)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},13:function(t,e,n){var r=n(14),i=n(24);t.exports=n(12)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},14:function(t,e,n){var r=n(22),i=n(60),o=n(42),s=Object.defineProperty;e.f=n(12)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},15:function(t,e,n){var r=n(96),i=n(34);t.exports=function(t){return r(i(t))}},16:function(t,e,n){var r=n(40)("wks"),i=n(25),o=n(6).Symbol,s="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))};a.store=r},18:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},19:function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},22:function(t,e,n){var r=n(18);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},23:function(t,e){t.exports=!0},24:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},25:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},29:function(t,e,n){var r=n(65),i=n(35);t.exports=Object.keys||function(t){return r(t,i)}},34:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},35:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},36:function(t,e){t.exports={}},37:function(t,e){e.f={}.propertyIsEnumerable},38:function(t,e,n){var r=n(14).f,i=n(9),o=n(16)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},39:function(t,e,n){var r=n(40)("keys"),i=n(25);t.exports=function(t){return r[t]||(r[t]=i(t))}},40:function(t,e,n){var r=n(19),i=n(6),o="__core-js_shared__",s=i[o]||(i[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(23)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},41:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},42:function(t,e,n){var r=n(18);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},43:function(t,e,n){var r=n(6),i=n(19),o=n(23),s=n(44),a=n(14).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},44:function(t,e,n){e.f=n(16)},54:function(t,e,n){var r=n(6),i=n(19),o=n(93),s=n(13),a=n(9),u="prototype",c=function(t,e,n){var f,l,h,p=t&c.F,d=t&c.G,v=t&c.S,y=t&c.P,m=t&c.B,g=t&c.W,w=d?i:i[e]||(i[e]={}),b=w[u],_=d?r:v?r[e]:(r[e]||{})[u];d&&(n=e);for(f in n)l=!p&&_&&void 0!==_[f],l&&a(w,f)||(h=l?_[f]:n[f],w[f]=d&&"function"!=typeof _[f]?n[f]:m&&l?o(h,r):g&&_[f]==h?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[u]=t[u],e}(h):y&&"function"==typeof h?o(Function.call,h):h,y&&((w.virtual||(w.virtual={}))[f]=h,t&c.R&&b&&!b[f]&&s(b,f,h)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},55:function(t,e,n){var r=n(34);t.exports=function(t){return Object(r(t))}},58:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},59:function(t,e,n){var r=n(18),i=n(6).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},60:function(t,e,n){t.exports=!n(12)&&!n(20)(function(){return 7!=Object.defineProperty(n(59)("div"),"a",{get:function(){return 7}}).a})},61:function(t,e,n){"use strict";var r=n(23),i=n(54),o=n(66),s=n(13),a=n(36),u=n(98),c=n(38),f=n(104),l=n(16)("iterator"),h=!([].keys&&"next"in[].keys()),p="@@iterator",d="keys",v="values",y=function(){return this};t.exports=function(t,e,n,m,g,w,b){u(n,e,m);var _,x,O,S=function(t){if(!h&&t in k)return k[t];switch(t){case d:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},$=e+" Iterator",E=g==v,T=!1,k=t.prototype,A=k[l]||k[p]||g&&k[g],j=A||S(g),P=g?E?S("entries"):j:void 0,C="Array"==e?k.entries||A:A;if(C&&(O=f(C.call(new t)),O!==Object.prototype&&O.next&&(c(O,$,!0),r||"function"==typeof O[l]||s(O,l,y))),E&&A&&A.name!==v&&(T=!0,j=function(){return A.call(this)}),r&&!b||!h&&!T&&k[l]||s(k,l,j),a[e]=j,a[$]=y,g)if(_={values:E?j:S(v),keys:w?j:S(d),entries:P},b)for(x in _)x in k||o(k,x,_[x]);else i(i.P+i.F*(h||T),e,_);return _}},62:function(t,e,n){var r=n(22),i=n(101),o=n(35),s=n(39)("IE_PROTO"),a=function(){},u="prototype",c=function(){var t,e=n(59)("iframe"),r=o.length,i="<",s=">";for(e.style.display="none",n(95).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),c=t.F;r--;)delete c[u][o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[u]=r(t),n=new a,a[u]=null,n[s]=t):n=c(),void 0===e?n:i(n,e)}},63:function(t,e,n){var r=n(65),i=n(35).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},64:function(t,e){e.f=Object.getOwnPropertySymbols},65:function(t,e,n){var r=n(9),i=n(15),o=n(92)(!1),s=n(39)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),u=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~o(c,n)||c.push(n));return c}},66:function(t,e,n){t.exports=n(13)},85:function(t,e,n){t.exports={default:n(88),__esModule:!0}},86:function(t,e,n){t.exports={default:n(89),__esModule:!0}},87:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(86),o=r(i),s=n(85),a=r(s),u="function"==typeof a.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};e.default="function"==typeof a.default&&"symbol"===u(o.default)?function(t){return"undefined"==typeof t?"undefined":u(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"==typeof t?"undefined":u(t)}},88:function(t,e,n){n(111),n(109),n(112),n(113),t.exports=n(19).Symbol},89:function(t,e,n){n(110),n(114),t.exports=n(44).f("iterator")},90:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},91:function(t,e){t.exports=function(){}},92:function(t,e,n){var r=n(15),i=n(107),o=n(106);t.exports=function(t){return function(e,n,s){var a,u=r(e),c=i(u.length),f=o(s,c);if(t&&n!=n){for(;c>f;)if(a=u[f++],a!=a)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},93:function(t,e,n){var r=n(90);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},94:function(t,e,n){var r=n(29),i=n(64),o=n(37);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var s,a=n(t),u=o.f,c=0;a.length>c;)u.call(t,s=a[c++])&&e.push(s);return e}},95:function(t,e,n){var r=n(6).document;t.exports=r&&r.documentElement},96:function(t,e,n){var r=n(58);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},97:function(t,e,n){var r=n(58);t.exports=Array.isArray||function(t){return"Array"==r(t)}},98:function(t,e,n){"use strict";var r=n(62),i=n(24),o=n(38),s={};n(13)(s,n(16)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},99:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},100:function(t,e,n){var r=n(25)("meta"),i=n(18),o=n(9),s=n(14).f,a=0,u=Object.isExtensible||function(){return!0},c=!n(20)(function(){return u(Object.preventExtensions({}))}),f=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[r].w},p=function(t){return c&&d.NEED&&u(t)&&!o(t,r)&&f(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:h,onFreeze:p}},101:function(t,e,n){var r=n(14),i=n(22),o=n(29);t.exports=n(12)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,u=0;a>u;)r.f(t,n=s[u++],e[n]);return t}},102:function(t,e,n){var r=n(37),i=n(24),o=n(15),s=n(42),a=n(9),u=n(60),c=Object.getOwnPropertyDescriptor;e.f=n(12)?c:function(t,e){if(t=o(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},103:function(t,e,n){var r=n(15),i=n(63).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},104:function(t,e,n){var r=n(9),i=n(55),o=n(39)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},105:function(t,e,n){var r=n(41),i=n(34);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),u=r(n),c=a.length;return u<0||u>=c?t?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):o:t?a.slice(u,u+2):(o-55296<<10)+(s-56320)+65536)}}},106:function(t,e,n){var r=n(41),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},107:function(t,e,n){var r=n(41),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},108:function(t,e,n){"use strict";var r=n(91),i=n(99),o=n(36),s=n(15);t.exports=n(61)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},109:function(t,e){},110:function(t,e,n){"use strict";var r=n(105)(!0);n(61)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},111:function(t,e,n){"use strict";var r=n(6),i=n(9),o=n(12),s=n(54),a=n(66),u=n(100).KEY,c=n(20),f=n(40),l=n(38),h=n(25),p=n(16),d=n(44),v=n(43),y=n(94),m=n(97),g=n(22),w=n(18),b=n(55),_=n(15),x=n(42),O=n(24),S=n(62),$=n(103),E=n(102),T=n(64),k=n(14),A=n(29),j=E.f,P=k.f,C=$.f,L=r.Symbol,M=r.JSON,F=M&&M.stringify,D="prototype",N=p("_hidden"),I=p("toPrimitive"),R={}.propertyIsEnumerable,B=f("symbol-registry"),q=f("symbols"),H=f("op-symbols"),U=Object[D],G="function"==typeof L&&!!T.f,W=r.QObject,V=!W||!W[D]||!W[D].findChild,z=o&&c(function(){return 7!=S(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=j(U,e);r&&delete U[e],P(t,e,n),r&&t!==U&&P(U,e,r)}:P,K=function(t){var e=q[t]=S(L[D]);return e._k=t,e},Y=G&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},J=function(t,e,n){return t===U&&J(H,e,n),g(t),e=x(e,!0),g(n),i(q,e)?(n.enumerable?(i(t,N)&&t[N][e]&&(t[N][e]=!1),n=S(n,{enumerable:O(0,!1)})):(i(t,N)||P(t,N,O(1,{})),t[N][e]=!0),z(t,e,n)):P(t,e,n)},Q=function(t,e){g(t);for(var n,r=y(e=_(e)),i=0,o=r.length;o>i;)J(t,n=r[i++],e[n]);return t},X=function(t,e){return void 0===e?S(t):Q(S(t),e)},Z=function(t){var e=R.call(this,t=x(t,!0));return!(this===U&&i(q,t)&&!i(H,t))&&(!(e||!i(this,t)||!i(q,t)||i(this,N)&&this[N][t])||e)},tt=function(t,e){if(t=_(t),e=x(e,!0),t!==U||!i(q,e)||i(H,e)){var n=j(t,e);return!n||!i(q,e)||i(t,N)&&t[N][e]||(n.enumerable=!0),n}},et=function(t){for(var e,n=C(_(t)),r=[],o=0;n.length>o;)i(q,e=n[o++])||e==N||e==u||r.push(e);return r},nt=function(t){for(var e,n=t===U,r=C(n?H:_(t)),o=[],s=0;r.length>s;)!i(q,e=r[s++])||n&&!i(U,e)||o.push(q[e]);return o};G||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===U&&e.call(H,n),i(this,N)&&i(this[N],t)&&(this[N][t]=!1),z(this,t,O(1,n))};return o&&V&&z(U,t,{configurable:!0,set:e}),K(t)},a(L[D],"toString",function(){return this._k}),E.f=tt,k.f=J,n(63).f=$.f=et,n(37).f=Z,T.f=nt,o&&!n(23)&&a(U,"propertyIsEnumerable",Z,!0),d.f=function(t){return K(p(t))}),s(s.G+s.W+s.F*!G,{Symbol:L});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)p(rt[it++]);for(var ot=A(p.store),st=0;ot.length>st;)v(ot[st++]);s(s.S+s.F*!G,"Symbol",{for:function(t){return i(B,t+="")?B[t]:B[t]=L(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),s(s.S+s.F*!G,"Object",{create:X,defineProperty:J,defineProperties:Q,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=c(function(){T.f(1)});s(s.S+s.F*at,"Object",{getOwnPropertySymbols:function(t){return T.f(b(t))}}),M&&s(s.S+s.F*(!G||c(function(){var t=L();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(w(e)||void 0!==t)&&!Y(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Y(e))return e}),r[1]=e,F.apply(M,r)}}),L[D][I]||n(13)(L[D],I,L[D].valueOf),l(L,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},112:function(t,e,n){n(43)("asyncIterator")},113:function(t,e,n){n(43)("observable")},114:function(t,e,n){n(108);for(var r=n(6),i=n(13),o=n(36),s=n(16)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<a.length;u++){var c=a[u],f=r[c],l=f&&f.prototype;l&&!l[s]&&i(l,s,c),o[c]=o.Array}},134:function(t,e){"use strict";var n={versions:function(){var t=window.navigator.userAgent;return{trident:t.indexOf("Trident")>-1,presto:t.indexOf("Presto")>-1,webKit:t.indexOf("AppleWebKit")>-1,gecko:t.indexOf("Gecko")>-1&&t.indexOf("KHTML")==-1,mobile:!!t.match(/AppleWebKit.*Mobile.*/),ios:!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:t.indexOf("Android")>-1||t.indexOf("Linux")>-1,iPhone:t.indexOf("iPhone")>-1||t.indexOf("Mac")>-1,iPad:t.indexOf("iPad")>-1,webApp:t.indexOf("Safari")==-1,weixin:t.indexOf("MicroMessenger")==-1}}()};t.exports=n},201:function(t,e,n){var r,i,o;(function(t){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}var a=n(210),u=s(a),c=n(87),f=s(c);/*!
* Q.js v1.0.12
* Inspired from vue.js
* (c) 2016 Daniel Yang
* Released under the MIT License.
*/
!function(n,s){"object"===(0,f.default)(e)&&"object"===(0,f.default)(t)?t.exports=s():(i=[],r=s,o="function"==typeof r?r.apply(e,i):r,!(void 0!==o&&(t.exports=o)))}(void 0,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){var r=n(1),i=n(3),o=n(4);i.extend(r,i),t.exports=o(r)},function(t,e,n){function r(t,e,n){for(var r,i,o=0,s=a.length;o<s;o++)if(r="q-"+a[o],i=t.getAttribute(r))return e.push({name:r,value:i}),t.removeAttribute(r),!0}function i(t,e,n){n=n||{};var o,s,a,u,c,f;for(o=0;u=t[o++];){if(1===u.nodeType){if(c=u.attributes,f=[],!r(u,f,n))for(s=0,a=c.length;s<a;s++)0===c[s].name.indexOf("q-")&&f.push({name:c[s].name,value:c[s].value});f.length>0&&e(u,f,n)}u.childNodes.length&&!n.stop&&i(l.call(u.childNodes,0),e,n),n.stop=!1}}var o=function(){},s=window.requestAnimationFrame||window.webkitRequestAnimationFrame||setTimeout,a=(new(n(2))(1e3),["vm","repeat","if"]),u=[].slice,c=document.getElementsByTagName("html")[0],l=function(){try{return u.call(document.body.childNodes),u}catch(t){return function(t){t=t||0;for(var e=[],n=this.length;t<n;t++)e.push(this[t]);return e}}}();c&&(c=c.getAttribute("alpaca")),t.exports={slice:l,noop:o,addClass:function(t,e){if(t.classList)t.classList.add(e);else{var n=" "+(t.className||"")+" ";n.indexOf(" "+e+" ")<0&&(t.className=(n+e).trim())}},removeClass:function(t,e){if(t.classList)t.classList.remove(e);else{for(var n=" "+(t.className||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.className=n.trim()}},noexist:function(t,e){throw this.warn(t),new Error("Filter "+e+" hasn't implemented.")},warn:function(){return window.console&&console.error?function(){console.error.apply(console,arguments)}:o}(),isObject:function(t){return"object"===("undefined"==typeof t?"undefined":(0,f.default)(t))},nextTick:function(t,e){return e?s(function(){t.call(e)},0):s(t,0)},get:function(t,e){var n=[];return t&&n.push(t),e&&n.push(e),n.join(".").replace(/^(.+\.)?\$top\./,"")},walk:i,alpaca:!!c}},function(t,e){function n(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap={}}var r=n.prototype;r.put=function(t,e){var n={key:t,value:e};return this._keymap[t]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size===this.limit?this.shift():void this.size++},r.shift=function(){var t=this.head;return t&&(this.head=this.head.newer,this.head.older=void 0,t.newer=t.older=void 0,this._keymap[t.key]=void 0),t},r.get=function(t,e){var n=this._keymap[t];if(void 0!==n)return n===this.tail?e?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,e?n:n.value)},t.exports=n},function(t,e){function n(t,e){return t!==e&&t.contains(e)}function r(t,e,n){var r=t[u]=t[u]||++c,i=f[r]=f[r]||{};return void 0===n?i[e]:i[e]=n}function i(t,e,n){e.split(" ").forEach(function(e){t.addEventListener(e,n,!1)})}var o="__cbs__",s={mouseover:!0,change:!0,input:!0,porpertychange:!0},a=function(t,e){e=[].splice.call(arguments,1);for(var n,r,i=0,o=e.length;i<o;i++){n=e[i];for(r in n)t[r]=n[r]}return t},u="QDataUid",c=0,f={};t.exports={find:function(t){return this.slice.call(document.querySelectorAll(t),0)},contains:n,data:r,cleanData:function(t){t.forEach(function(t){var e=t[u];e&&e in f&&delete f[e]})},add:function(t,e,a,u){if(!u||s[e])i(t,e,a);else{var c=u.$el,f=r(c,o);f||(f=[],r(c,o,f),i(c,e,function(t){var e=t.target;f.forEach(function(r){var i=r.fn,o=r.el;n(o,e)&&i.call(o,t)})})),f.push({el:t,fn:a})}},remove:function(t,e,n){t.removeEventListener(e,n,!1)},clone:function(t){return t.cloneNode(!0)},extend:function(t){return 1===arguments.length?a(this,t):a.apply(this,arguments)}}},function(t,e,n){t.exports=function(t){function e(e){return t.contains(u.documentElement,e)}function r(t){this._init(t)}var i=n(5),o=n(6),s=n(7).mergeOptions,a=n(8),u=document;return r._=t,r.options={directives:n(9),filters:{}},r.get=function(e){var n=t.find(e)[0];return n?t.data(n,"QI"):new this({el:e})},r.all=function(e){var n=this;return t.find(e.el).map(function(r){return new n(t.extend(e,{el:r}))})},t.extend(r,a),t.extend(r.prototype,{_init:function(e){e=e||{},this.$el=e.el&&"string"==typeof e.el?t.find(e.el)[0]:e.el,this.$$={},this.$parent=e._parent,e=this.$options=s(this.constructor.options,e,this),this._isCompiled=!1,this._isAttached=!1,this._isReady=!1,this._events={},this._watchers={},this._children=[],this.$={},i.call(this,e),this._initScope(),this._callHook("created"),this.$el&&(t.data(this.$el,"QI",this),this.$mount(this.$el))},$on:function(t,e){return(this._events[t]||(this._events[t]=[])).push(e),this},$once:function(t,e){function n(){r.$off(t,n),e.apply(this,arguments)}var r=this;return n.fn=e,this.$on(t,n),this},$off:function(t,e){var n,r,i;if(!arguments.length)return this._events={},this;if(n=this._events[t],!n)return this;if(1===arguments.length)return this._events[t]=null,this;for(i=n.length;i--;)if(r=n[i],r===e||r.fn===e){n.splice(i,1);break}return this},$watch:function(t,e,n,r){var i=n?t+"**deep**":t;return(this._watchers[i]||(this._watchers[i]=[])).push(e),r&&e(this.data(t)),this},$emit:function(e){var n=t.slice.call(arguments,1);return o.emit.call(this,e,t.slice.call(n,0)),e.indexOf("data:")||(e=e.substring(5),o.callChange.call(this,e,t.slice.call(n,0))),e.indexOf("deep:")||(e=e.substring(5),o.callDeep.call(this,e,t.slice.call(n,0)),n.unshift(e),o.emit.call(this,"datachange",n)),this},_initScope:function(){this._initMethods()},_initMethods:function(){var t,e=this.$options.methods;if(e)for(t in e)this[t]=e[t].bind(this)},$mount:function(n){return this._isCompiled?t.warn("$mount() should be called only once"):(this._compile(n),this._isCompiled=!0,this._callHook("compiled"),void(e(this.$el)?(this._callHook("attached"),this._ready()):this.$once("hook:attached",this._ready)))},_ready:function(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")},_compile:function(t){this.transclue(t,this.$options)},transclue:function(t,e){this._templateBind(t,e)},_templateBind:n(11),_callHook:function(t){var e=this.$options[t];if(e)for(var n=0,r=e.length;n<r;n++)e[n].call(this);this.$emit("hook:"+t)},_makeReadFilters:function(e,n){if(!e.length)return[];var r=this.$options.filters,i=this;return e.map(function(e){e=t.slice.call(e,0);var o=e.shift(),s=r[o]?r[o].read||r[o]:t.noexist(i,o);return function(t,r){var o=[t].concat(e||[]),a=o.indexOf("$this");return o.push(r),~a&&(o[a]=n),e?s.apply(i,o):s.call(i,t,r)}})},applyFilters:function(t,e,n){if(!e||!e.length)return t;for(var r=0,i=e.length;r<i;r++)t=e[r].call(this,t,n);return t}}),t.extend(r.prototype,i.prototype),r}},function(t,e,n){function r(t,e,n,r){var o=t._top,u=i(n),c={data:n,up:t,top:o,namespace:e+"",trigger:!u&&r},l=o.data?o.data(t.$namespace(e)):void 0;"object"===("undefined"==typeof n?"undefined":(0,f.default)(n))&&null!==n?(t[e]=u?new a(c):new s(c),r&&t.$change(t.$namespace(e),t[e],l)):l!==n&&(t[e]=n,r&&t.$change(t.$namespace(e),n,l)),~t._keys.indexOf(e)||t._keys.push(e)}function i(t){return Array.isArray(t)||t instanceof a}function o(t){return t.filter(function(t){return"number"==typeof t}).length}function s(t){var e=t.data,n=(0,u.default)(t.data||{}).filter(function(t){return 0!==t.indexOf("_")}).map(function(t){return+t+""===t?+t:t}),s=this;l.extend(this,e),this._keys=n,this._up=t.up,this._top=t.top||this,this._namespace=t.namespace||"",n.forEach(function(n){r(s,n,e[n],t.trigger)}),i(e)&&(this.length=o(n))}function a(t){s.call(this,t)}function c(t){s.call(this,t)}var l=n(1);l.extend(s.prototype,{$namespace:function(t){for(var e=[],n=this;void 0!=n;n=n._up)n._namespace&&e.unshift(n._namespace);return t&&e.push(t),e.join(".")},$key:function(){var t=this._namespace;return+t+""===t?+t:t},$up:function(t){t=t||1;for(var e=this;t--;)e=e._up;return e},$set:function(t,e){if("object"===("undefined"==typeof t?"undefined":(0,f.default)(t))){var n=this;(0,u.default)(t).filter(function(t){return 0!==t.indexOf("_")}).forEach(function(e){r(n,e,t[e],!0)}),this.$change(this.$namespace(t),this,void 0,1)}else{var i=this[t];r(this,t,e,!0),this.$change(this.$namespace(t),this[t],i,void 0,-1)}return this},$get:function(){var t,e=this._keys,n=this;return t=this instanceof s?{}:[],e.forEach(function(e){t[e]=null==n[e]?n[e]:n[e].$get?n[e].$get():n[e]}),t},$change:function(t,e,n,r,i){i=i||0;var o=this._top;o.$emit&&(~i&&this._top.$emit("data:"+t,e,n,r),i&&this._top.$emit("deep:"+t,e,n,r))}}),l.extend(a.prototype,s.prototype,{push:function(t){t=l.slice.call(arguments,0);for(var e=[],n=0,i=t.length;n<i;n++)r(this,this.length,t[n]),this._keys.push(this.length),e.push(this[this.length]),this.length++;return this.$change(this.$namespace(),this,null,{method:"push",res:e,args:t},1),this},pop:function(){var t=this[--this.length];return delete this[this.length],this._keys.pop(),this.$change(this.$namespace(),this,null,void 0,1),t},unshift:function(t){this._keys.push(this.length),this.length++;for(var e=this.length;e--;)this[e]=this[e-1],"object"===(0,f.default)(this[e])&&(this[e]._namespace=e+"");return r(this,0,t),this.$change(this.$namespace(),this,null,void 0,1),this},shift:function(){this.length--;for(var t=this[0],e=0,n=this.length;e<n;e++)this[e]=this[e+1],"object"===(0,f.default)(this[e])&&(this[e]._namespace=e+"");return this._keys.pop(),delete this[this.length],this.$change(this.$namespace(),this,null,void 0,1),t},touch:function(t){this.$change(this.$namespace(t),this,null,void 0,1)},indexOf:function(t){if(t._up===this){var e=+t._namespace;if(this[e]===t)return e}else if("object"!==("undefined"==typeof t?"undefined":(0,f.default)(t)))for(var e=0,n=this.length;e<n;e++)if(this[e]===t)return e;return-1},splice:function(t,e){for(var n={method:"splice",args:[t,e]},r=0,i=e+t,o=this.length-e;t<o;t++,r++)this[t]=this[i+r],"object"===(0,f.default)(this[t])&&(this[t]._namespace=t+"");for(;t<this.length;t++)this[t]=null,delete this[t];this.length-=e,this._keys.splice(this.length,e),this.$change(this.$namespace(),this,null,n,1)},forEach:function(t){for(var e=0,n=this.length;e<n;e++)t(this[e],e)},filter:function(t){var e=[];return this.forEach(function(n,r){t(n)&&e.push(n)}),e}}),l.extend(c,{Data:s,DataArray:a}),l.extend(c.prototype,s.prototype,{data:function t(e,n){if(void 0===e)return this;var i,o,s=0,t=this;if(~e.indexOf(".")){var a=e.split(".");for(i=a.length;s<i-1;s++)if(e=a[s],+e+""===e&&(e=+e),e in t&&null!=t[e])t=t[e];else{if(void 0===n)return;o=a[s+1],+o+""==o?r(t,e,[],!0):r(t,e,{},!0)}}return i&&(e=a[s]),void 0===n?t&&e?t[e]:t:(t.$set(e,n),t[e])}}),t.exports=c},function(t,e,n){function r(t,e,n){n=n||this;var i=this._events[t];if(i){var o=0;i=i.length>1?s.slice.call(i,0):i;for(var a=i.length;o<a;o++)i[o].apply(n,e)}t.indexOf("data:")&&t.indexOf("hook:")&&t.indexOf("deep:")&&this.$parent&&r.call(this.$parent,t,e,n)}function i(t,e){var n={_events:this._watchers};r.call(n,t,e),r.call(n,t+"**deep**",e)}function o(t,e){var n,i=t.split("."),o={_events:this._watchers};for(i.pop();i.length>0;i.pop())t=i.join("."),n=t+"**deep**",r.call(o,n,[this.data(t)]);r.call(o,"**deep**",[this])}var s=(n(5),n(1));t.exports={emit:r,callChange:i,callDeep:o}},function(t,e,n){function r(t,e,n){function r(r){var i=o[r]||s;a[r]=i(t[r],e[r],n,r)}var i,a={};for(i in t)r(i);for(i in e)t.hasOwnProperty(i)||r(i);return a}var i=n(1),o={};o.created=o.ready=o.attached=o.detached=o.compiled=o.beforeDestroy=o.destroyed=o.paramAttributes=function(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t},o.data=o.filters=o.methods=o.directives=function(t,e){return e?t?i.extend({},t,e):e:t};var s=function(t,e){return void 0===e?t:e};t.exports={strats:o,mergeOptions:r}},function(t,e,n){function r(t,e){if(u[t])return!1;var n=u[t]=this.extend(e||{});return n}function i(t,e){return u[t]||this}function o(t){function e(){}return e.prototype=t,new e}function s(t){t=t||{};var e=this,n=a(t.name||"QComponent");return n.prototype=o(e.prototype),n.prototype.constructor=n,n.options=c(e.options,t),n.super=e,["extend","get","all","require","define"].forEach(function(t){n[t]=e[t]}),n}function a(t){return new Function("return function "+t+" (options) { this._init(options) }")()}var u={},c=n(7).mergeOptions;t.exports={define:r,require:i,extend:s}},function(t,e,n){var r=n(1);n(7);t.exports={cloak:{bind:function(){var t=this.vm,e=this.el;t.$once("hook:ready",function(){t.$once("datachange",function(){e.removeAttribute("q-cloak")})})}},show:function(t){var e=this.el;if(t){e.style.display="";var n=e.currentStyle?e.currentStyle.display:getComputedStyle(e,null).display;"none"===n&&(e.style.display="block")}else e.style.display="none"},class:function(t){var e=this.el,n=this.arg;n?t?r.addClass(e,n):r.removeClass(e,n):(this.lastVal&&r.removeClass(e,this.lastVal),t&&(r.addClass(e,t),this.lastVal=t))},value:function(t){var e=this.el;"checkbox"===e.type?e.checked=t:e.value=t},attr:function(t){if(void 0!==t){var e=this.arg,n=this.el;if("style"===e)if("object"===("undefined"==typeof t?"undefined":(0,f.default)(t)))for(var r in t)t.hasOwnProperty(r)&&(n.style[r]=t[r]);else n.setAttribute(e,t);else e in n?n[e]=t:n.setAttribute(e,t)}},text:function t(e){var t;void 0!==e&&(t="string"==typeof this.el.textContent?"textContent":"innerText")&&(this.el[t]=null==e?"":e.toString())},html:function(t){this.el.innerHTML=t&&t.toString()||""},on:{bind:function(){var t=this,e=this.target,n=this.param,i=this.filters,o=this.vm,s=o.applyFilters(this.vm[e],i),a=n&&~n.indexOf("this")&&t.data();r.add(this.el,this.arg,function(i){if(!s||"function"!=typeof s)return r.warn("You need implement the "+e+" method.");var u=[];n?n.forEach(function(e){"e"===e?u.push(i):"this"===e?u.push(a):"true"===e?u.push(!0):"false"===e?u.push(!1):+e+""===e?u.push(+e):e.match(/^(['"]).*\1$/)?u.push(e.slice(1,-1)):u.push(t.data(e))}):u.push(i),s.apply(o,u)})}},model:{bind:function(){var t=((this.namespace?this.namespace+".":"")+this.target).split("."),e=t.pop(),n=t.join("."),i=this.el,o=this.vm,s=o.data(n),a=!1;r.add(i,"input propertychange change keypress keyup",function(t){a||s.$set(e,i.value)}),r.add(i,"compositionstart",function(t){a=!0}),r.add(i,"compositionend",function(t){a=!1})},update:function(t){this.el.value!==t&&(this.el.value=t)}},vm:{bind:function(){this.setting.stop=!0;var t,e,n=this.target,r=this.vm,i=this.el,o=i.getAttribute("q-ref")||!1,s=r.constructor.require(n),a=s.options.data;t={el:i,data:a,_parent:r},e=new s(t),r._children.push(e),o&&!function(){var t=r.$[o];t?t.length?t.push(e):r.$[o]=[t,e]:r.$[o]=e}()}},if:{bind:function(){function t(t){!o&&s&&t&&(o=!0,p._templateBind(e,{data:h,namespace:u,immediate:!0}))}if(this.el.parentNode){var e=this.el,n=e.parentNode,i=document.createComment("q-if"),o=!1,s=!0,a=this.target,u=this.namespace,c=r.get(u,a),l=this.filters,h=this.data(),p=this.vm;this.setting.stop=!0,p.$watch(c,function(r,o){r=p.applyFilters(r,l,o),t(r),r!==s&&(r===!0?(n.replaceChild(e,i),s=r):r===!1&&(n.replaceChild(i,e),s=r),t(r))},"object"===(0,f.default)(this.data(a)),!0)}}},el:{bind:function(){this.vm.$$[this.target]=this.el}},repeat:n(10)}},function(t,e,n){function r(t,e,n,r){var i,o,s,a,c=e.length;(0,u.default)(t).forEach(function(u){~u.indexOf(e)&&(i=u.substring(c+1),o=i.split("."),o.length&&(s=+o.shift(),(s-=r)>=n&&(o.unshift(s),o.unshift(e),a=o.join("."),t[a]=t[u],delete t[u])))})}var i=n(1),o={default:{clean:function(t,e){e.length&&(e.forEach(function(e){e.parentNode===t&&t.removeChild(e)}),i.cleanData(e),e.length=0)},insert:function(t,e,n){t.insertBefore(e,n)}},push:{insert:function(t,e,n){t.insertBefore(e,n)},dp:function(t,e){return e.res}},splice:{clean:function(t,e,n,i){var o=n[0],s=n[1],a=n[2].$namespace(),u=e.splice(o,s);return u.forEach(function(e){t.removeChild(e)}),n.done||(r(i,a,o,s),n.done=!0),!0},dp:function(t,e){return e.args.push(t),e.args}}};e.bind=function(){var t,e,n,r,s,a,u,c=this.el,f=this.setting,l=c.parentNode;l&&!f.stop&&(f.stop=!0,t=this.target,e=this.namespace,n=i.get(e,t),r=this.filters,s=[],a=document.createComment("q-repeat"),u=this.vm,l.replaceChild(a,c),u.$watch(n,function(t,e,f){if(t=u.applyFilters(t,r),null!=t){var h=!r.length&&f?f.method:"default",p=(o[h]||{}).dp,d=(o[h]||{}).clean,v=(o[h]||{}).insert;if(p&&(t=p(t,f)),!d||d(l,s,t,u._watchers,n)!==!0){var y,m=document.createDocumentFragment();t.forEach(function(t,e){y=i.clone(c),u._templateBind(y,{data:t,namespace:t.$namespace(),immediate:!0}),s.push(y),m.appendChild(y)}),v&&v(l,m,a),u.$emit("repeat-render")}}},!1,!0))}},function(t,e,n){var r=n(12),i=n(1);t.exports=function(t,e){e=e||{};var n=this,o=n.$options.directives,s=(e.index,e.data||n,e.namespace);i.walk([t],function(t,a,u){a.forEach(function(a){var c=a.name.substring(2),l=o[c],h=r(a.value);l&&h.forEach(function(r){var o=n._makeReadFilters(r.filters,n.data(s)),a=r.target,c=i.get(s,a),h=i.isObject(l)?l.update:l,p=i.extend({el:t,vm:n,data:function(t){return n.data(i.get(s,t))},namespace:s,setting:u},r,{filters:o}),d=p.data(a);h&&n.$watch(c,function(t,e){t=n.applyFilters(t,o,e),h.call(p,t,e)},"object"===("undefined"==typeof d?"undefined":(0,f.default)(d)),!i.alpaca&&("boolean"==typeof e.immediate?e.immediate:void 0!==d)),i.isObject(l)&&l.bind&&l.bind.call(p)})})})}},function(t,e,n){function r(t){var e=t,n=o.get(e);if(n)return n;for(var r,u,c,f=[],l=s.length,h=!1,p={filter:!1,token:{filters:[]}};t.length;){for(u=0;u<l;u++)if(r=s[u][0].exec(t)){var h=!0,c=s[u][1];c&&c(r,p,f),t=t.replace(s[u][0],""),p.filter&&(r=a.exec(t),i(r[0].trim(),p.token),t=t.replace(a,""),p.filter=!1);break}if(!h)throw new Error("Syntax error at: "+t);h=!1}return f.push(p.token),o.put(e,f),f}function i(t,e){for(var n,r=u.length,i=!1;t.length;){for(n=0;n<r;n++){var o=u[n][0].exec(t);if(o){var i=!0,s=u[n][1];s&&s(o,e.filters),t=t.replace(u[n][0],"");break}}if(!i)throw new Error("Syntax error at: "+t);i=!1}}var o=new(n(2))(1e3),s=[[/^ +/],[/^([\w\-]+):/,function(t,e){e.token.arg=t[1]}],[/^([\w]+)\((.+?)\)/,function(t,e){e.token.target=t[1],e.token.param=t[2].split(/ *, */)}],[/^([\w\-\.\$]+)/,function(t,e){e.token.target=t[1]}],[/^(?=\|)/,function(t,e){e.filter=!0}],[/^,/,function(t,e,n){n.push(e.token),e.token={filters:[]}}]],a=/^(.+?)(?=,|$)/,u=[[/^ +/],[/^\| *([\w\-\!]+)/,function(t,e){e.push([t[1]])}],[/^(['"])(((\\['"])?([^\1])*)+)\1/,function(t,e){e[e.length-1].push(t[3])}],[/^([\w\-\$]+)/,function(t,e){e[e.length-1].push(t[1])}]];t.exports=r}])})}).call(e,n(423)(t))},202:function(t,e){"use strict";function n(){function t(){s=window.innerWidth,a=window.innerHeight,h={x:0,y:a},u=document.getElementById("container"),u.style.height=a+"px",c=document.getElementById("anm-canvas"),c.width=s,c.height=a,f=c.getContext("2d"),l=[];for(var t=0;t<.5*s;t++){var e=new o;l.push(e)}i()}function e(){window.addEventListener("scroll",n),window.addEventListener("resize",r)}function n(){p=!(document.body.scrollTop>a)}function r(){s=window.innerWidth,a=window.innerHeight,u.style.height=a+"px",c.width=s,c.height=a}function i(){if(p){f.clearRect(0,0,s,a);for(var t in l)l[t].draw()}requestAnimationFrame(i)}function o(){function t(){e.pos.x=Math.random()*s,e.pos.y=a+100*Math.random(),e.alpha=.1+.3*Math.random(),e.scale=.1+.3*Math.random(),e.velocity=Math.random()}var e=this;!function(){e.pos={},t()}(),this.draw=function(){e.alpha<=0&&t(),e.pos.y-=e.velocity,e.alpha-=5e-4,f.beginPath(),f.arc(e.pos.x,e.pos.y,10*e.scale,0,2*Math.PI,!1),f.fillStyle="rgba(255,255,255,"+e.alpha+")",f.fill()}}var s,a,u,c,f,l,h,p=!0;t(),e()}t.exports={init:n}},210:function(t,e,n){t.exports={default:n(212),__esModule:!0}},212:function(t,e,n){n(214),t.exports=n(19).Object.keys},213:function(t,e,n){var r=n(54),i=n(19),o=n(20);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},214:function(t,e,n){var r=n(55),i=n(29);n(213)("keys",function(){return function(t){return i(r(t))}})},415:function(t,e,n){(function(e,n){/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.8+1e68dce6
*/
!function(e,n){t.exports=n()}(this,function(){"use strict";function t(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)}function r(t){return"function"==typeof t}function i(t){U=t}function o(t){G=t}function s(){return function(){return e.nextTick(l)}}function a(){return"undefined"!=typeof H?function(){H(l)}:f()}function u(){var t=0,e=new z(l),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function c(){var t=new MessageChannel;return t.port1.onmessage=l,function(){return t.port2.postMessage(0)}}function f(){var t=setTimeout;return function(){return t(l,1)}}function l(){for(var t=0;t<q;t+=2){var e=J[t],n=J[t+1];e(n),J[t]=void 0,J[t+1]=void 0}q=0}function h(){try{var t=Function("return this")().require("vertx");return H=t.runOnLoop||t.runOnContext,a()}catch(t){return f()}}function p(t,e){var n=this,r=new this.constructor(v);void 0===r[X]&&P(r);var i=n._state;if(i){var o=arguments[i-1];G(function(){return k(i,r,o,n._result)})}else E(n,r,t,e);return r}function d(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(v);return x(n,t),n}function v(){}function y(){return new TypeError("You cannot resolve a promise with itself")}function m(){return new TypeError("A promises callback cannot return that same promise.")}function g(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}function w(t,e,n){G(function(t){var r=!1,i=g(n,e,function(n){r||(r=!0,e!==n?x(t,n):S(t,n))},function(e){r||(r=!0,$(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&i&&(r=!0,$(t,i))},t)}function b(t,e){e._state===tt?S(t,e._result):e._state===et?$(t,e._result):E(e,void 0,function(e){return x(t,e)},function(e){return $(t,e)})}function _(t,e,n){e.constructor===t.constructor&&n===p&&e.constructor.resolve===d?b(t,e):void 0===n?S(t,e):r(n)?w(t,e,n):S(t,e)}function x(e,n){if(e===n)$(e,y());else if(t(n)){var r=void 0;try{r=n.then}catch(t){return void $(e,t)}_(e,n,r)}else S(e,n)}function O(t){t._onerror&&t._onerror(t._result),T(t)}function S(t,e){t._state===Z&&(t._result=e,t._state=tt,0!==t._subscribers.length&&G(T,t))}function $(t,e){t._state===Z&&(t._state=et,t._result=e,G(O,t))}function E(t,e,n,r){var i=t._subscribers,o=i.length;t._onerror=null,i[o]=e,i[o+tt]=n,i[o+et]=r,0===o&&t._state&&G(T,t)}function T(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r=void 0,i=void 0,o=t._result,s=0;s<e.length;s+=3)r=e[s],i=e[s+n],r?k(n,r,i,o):i(o);t._subscribers.length=0}}function k(t,e,n,i){var o=r(n),s=void 0,a=void 0,u=!0;if(o){try{s=n(i)}catch(t){u=!1,a=t}if(e===s)return void $(e,m())}else s=i;e._state!==Z||(o&&u?x(e,s):u===!1?$(e,a):t===tt?S(e,s):t===et&&$(e,s))}function A(t,e){try{e(function(e){x(t,e)},function(e){$(t,e)})}catch(e){$(t,e)}}function j(){return nt++}function P(t){t[X]=nt++,t._state=void 0,t._result=void 0,t._subscribers=[]}function C(){return new Error("Array Methods must be provided an Array")}function L(t){return new rt(this,t).promise}function M(t){var e=this;return new e(B(t)?function(n,r){for(var i=t.length,o=0;o<i;o++)e.resolve(t[o]).then(n,r)}:function(t,e){return e(new TypeError("You must pass an array to race."))})}function F(t){var e=this,n=new e(v);return $(n,t),n}function D(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function N(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function I(){var t=void 0;if("undefined"!=typeof n)t=n;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var r=null;try{r=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===r&&!e.cast)return}t.Promise=it}var R=void 0;R=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var B=R,q=0,H=void 0,U=void 0,G=function(t,e){J[q]=t,J[q+1]=e,q+=2,2===q&&(U?U(l):Q())},W="undefined"!=typeof window?window:void 0,V=W||{},z=V.MutationObserver||V.WebKitMutationObserver,K="undefined"==typeof self&&"undefined"!=typeof e&&"[object process]"==={}.toString.call(e),Y="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,J=new Array(1e3),Q=void 0;Q=K?s():z?u():Y?c():void 0===W?h():f();var X=Math.random().toString(36).substring(2),Z=void 0,tt=1,et=2,nt=0,rt=function(){function t(t,e){this._instanceConstructor=t,this.promise=new t(v),this.promise[X]||P(this.promise),B(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?S(this.promise,this._result):(this.length=this.length||0,this._enumerate(e),0===this._remaining&&S(this.promise,this._result))):$(this.promise,C())}return t.prototype._enumerate=function(t){for(var e=0;this._state===Z&&e<t.length;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===d){var i=void 0,o=void 0,s=!1;try{i=t.then}catch(t){s=!0,o=t}if(i===p&&t._state!==Z)this._settledAt(t._state,e,t._result);else if("function"!=typeof i)this._remaining--,this._result[e]=t;else if(n===it){var a=new n(v);s?$(a,o):_(a,t,i),this._willSettleAt(a,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(r(t),e)},t.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===Z&&(this._remaining--,t===et?$(r,n):this._result[e]=n),0===this._remaining&&S(r,this._result)},t.prototype._willSettleAt=function(t,e){var n=this;E(t,void 0,function(t){return n._settledAt(tt,e,t)},function(t){return n._settledAt(et,e,t)})},t}(),it=function(){function t(e){this[X]=j(),this._result=this._state=void 0,this._subscribers=[],v!==e&&("function"!=typeof e&&D(),this instanceof t?A(this,e):N())}return t.prototype.catch=function(t){return this.then(null,t)},t.prototype.finally=function(t){var e=this,n=e.constructor;return r(t)?e.then(function(e){return n.resolve(t()).then(function(){return e})},function(e){return n.resolve(t()).then(function(){throw e})}):e.then(t,t)},t}();return it.prototype.then=p,it.all=L,it.race=M,it.resolve=d,it.reject=F,it._setScheduler=i,it._setAsap=o,it._asap=G,it.polyfill=I,it.Promise=it,it})}).call(e,n(422),function(){return this}())},419:function(t,e){!function(e){"use strict";function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function r(t){return"string"!=typeof t&&(t=String(t)),t}function i(t){this.map={},t instanceof i?t.forEach(function(t,e){this.append(e,t)},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function o(t){return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function s(t){return new Promise(function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}})}function a(t){var e=new FileReader;return e.readAsArrayBuffer(t),s(e)}function u(t,e){var n=new FileReader,r=e.headers.map["content-type"]?e.headers.map["content-type"].toString():"",i=/charset\=[0-9a-zA-Z\-\_]*;?/,o=t.type.match(i)||r.match(i),a=[t];return o&&a.push(o[0].replace(/^charset\=/,"").replace(/;$/,"")),n.readAsText.apply(n,a),s(n)}function c(){return this.bodyUsed=!1,this._initBody=function(t,e){if(this._bodyInit=t,"string"==typeof t)this._bodyText=t;else if(v.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t,this._options=e;else if(v.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(t){if(!v.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t))throw new Error("unsupported BodyInit type")}else this._bodyText=""},v.blob?(this.blob=function(){var t=o(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(a)},this.text=function(){var t=o(this);if(t)return t;if(this._bodyBlob)return u(this._bodyBlob,this._options);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var t=o(this);return t?t:Promise.resolve(this._bodyText)},v.formData&&(this.formData=function(){return this.text().then(h)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(t){var e=t.toUpperCase();return y.indexOf(e)>-1?e:t}function l(t,e){e=e||{};var n=e.body;if(l.prototype.isPrototypeOf(t)){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new i(t.headers)),this.method=t.method,this.mode=t.mode,n||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=t;if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new i(e.headers)),this.method=f(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n,e)}function h(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}}),e}function p(t){var e=new i,n=t.getAllResponseHeaders().trim().split("\n");return n.forEach(function(t){var n=t.trim().split(":"),r=n.shift().trim(),i=n.join(":").trim();e.append(r,i)}),e}function d(t,e){e||(e={}),this._initBody(t,e),this.type="default",this.status=e.status,this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText,this.headers=e.headers instanceof i?e.headers:new i(e.headers),this.url=e.url||""}if(e.__disableNativeFetch||!e.fetch){i.prototype.append=function(t,e){t=n(t),e=r(e);var i=this.map[t];i||(i=[],this.map[t]=i),i.push(e)},i.prototype.delete=function(t){delete this.map[n(t)]},i.prototype.get=function(t){var e=this.map[n(t)];return e?e[0]:null},i.prototype.getAll=function(t){return this.map[n(t)]||[]},i.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},i.prototype.set=function(t,e){this.map[n(t)]=[r(e)]},i.prototype.forEach=function(t,e){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(r){t.call(e,r,n,this)},this)},this)};var v={blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e},y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];l.prototype.clone=function(){return new l(this)},c.call(l.prototype),c.call(d.prototype),d.prototype.clone=function(){return new d(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},d.error=function(){var t=new d(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];d.redirect=function(t,e){if(m.indexOf(e)===-1)throw new RangeError("Invalid status code");return new d(null,{status:e,headers:{location:t}})},e.Headers=i,e.Request=l,e.Response=d,e.fetch=function(t,e){return new Promise(function(n,r){function i(){return"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0}function o(){if(4===a.readyState){var t=1223===a.status?204:a.status;if(t<100||t>599){if(u)return;return u=!0,void r(new TypeError("Network request failed"))}var e={status:t,statusText:a.statusText,headers:p(a),url:i()},o="response"in a?a.response:a.responseText;u||(u=!0,n(new d(o,e)))}}var s;s=l.prototype.isPrototypeOf(t)&&!e?t:new l(t,e);var a=new XMLHttpRequest,u=!1;a.onreadystatechange=o,a.onload=o,a.onerror=function(){u||(u=!0,r(new TypeError("Network request failed")))},a.open(s.method,s.url,!0);try{"include"===s.credentials&&("withCredentials"in a?a.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(t){console&&console.warn&&console.warn("set withCredentials error:"+t)}"responseType"in a&&v.blob&&(a.responseType="blob"),s.headers.forEach(function(t,e){a.setRequestHeader(e,t)}),a.send("undefined"==typeof s._bodyInit?null:s._bodyInit)})},e.fetch.polyfill=!0,"undefined"!=typeof t&&t.exports&&(t.exports=e.fetch)}}("undefined"!=typeof self?self:this)},422:function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function o(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function s(){v&&p&&(v=!1,p.length?d=p.concat(d):y=-1,d.length&&a())}function a(){if(!v){var t=i(s);v=!0;for(var e=d.length;e;){for(p=d,d=[];++y<e;)p&&p[y].run();y=-1,e=d.length}p=null,v=!1,o(t)}}function u(t,e){this.fun=t,this.array=e}function c(){}var f,l,h=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(t){f=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(t){l=r}}();var p,d=[],v=!1,y=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new u(t,e)),1!==d.length||v||i(a)},u.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=c,h.addListener=c,h.once=c,h.off=c,h.removeListener=c,h.removeAllListeners=c,h.emit=c,h.prependListener=c,h.prependOnceListener=c,h.listeners=function(t){return[]},h.binding=function(t){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(t){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},423:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}}});
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化