forked from MuYunyun/MuYunyun.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
slider.096dc6.js
14 lines (14 loc) · 52.1 KB
/
slider.096dc6.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
!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"/"+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){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(188),c=i(u),f=n(128),l=i(f),h=n(187),p=i(h),d=n(383),v=r(d),y=n(387),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={}},5: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)},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},9:function(t,e,n){var r=n(94),i=n(33);t.exports=function(t){return r(i(t))}},12:function(t,e,n){t.exports=!n(18)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},13:function(t,e,n){var r=n(14),i=n(22);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(20),i=n(58),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(40)("wks"),i=n(23),o=n(5).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){try{return!!t()}catch(t){return!0}}},19:function(t,e,n){var r=n(63),i=n(34);t.exports=Object.keys||function(t){return r(t,i)}},20:function(t,e,n){var r=n(21);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},21:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},22:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},23:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},25:function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},33:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},34:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},35:function(t,e){t.exports={}},36:function(t,e){t.exports=!0},37:function(t,e){e.f={}.propertyIsEnumerable},38:function(t,e,n){var r=n(14).f,i=n(8),o=n(15)("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(23);t.exports=function(t){return r[t]||(r[t]=i(t))}},40:function(t,e,n){var r=n(5),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},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(21);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(5),i=n(25),o=n(36),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(15)},51:function(t,e,n){var r=n(5),i=n(25),o=n(91),s=n(13),a="prototype",u=function(t,e,n){var c,f,l,h=t&u.F,p=t&u.G,d=t&u.S,v=t&u.P,y=t&u.B,m=t&u.W,g=p?i:i[e]||(i[e]={}),w=g[a],b=p?r:d?r[e]:(r[e]||{})[a];p&&(n=e);for(c in n)f=!h&&b&&void 0!==b[c],f&&c in g||(l=f?b[c]:n[c],g[c]=p&&"function"!=typeof b[c]?n[c]:y&&f?o(l,r):m&&b[c]==l?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[a]=t[a],e}(l):v&&"function"==typeof l?o(Function.call,l):l,v&&((g.virtual||(g.virtual={}))[c]=l,t&u.R&&w&&!w[c]&&s(w,c,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},56:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},57:function(t,e,n){var r=n(21),i=n(5).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},58:function(t,e,n){t.exports=!n(12)&&!n(18)(function(){return 7!=Object.defineProperty(n(57)("div"),"a",{get:function(){return 7}}).a})},59:function(t,e,n){"use strict";var r=n(36),i=n(51),o=n(64),s=n(13),a=n(8),u=n(35),c=n(96),f=n(38),l=n(103),h=n(15)("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",v="keys",y="values",m=function(){return this};t.exports=function(t,e,n,g,w,b,_){c(n,e,g);var x,O,S,$=function(t){if(!p&&t in j)return j[t];switch(t){case v:return function(){return new n(this,t)};case y:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",T=w==y,k=!1,j=t.prototype,A=j[h]||j[d]||w&&j[w],P=A||$(w),C=w?T?$("entries"):P:void 0,M="Array"==e?j.entries||A:A;if(M&&(S=l(M.call(new t)),S!==Object.prototype&&(f(S,E,!0),r||a(S,h)||s(S,h,m))),T&&A&&A.name!==y&&(k=!0,P=function(){return A.call(this)}),r&&!_||!p&&!k&&j[h]||s(j,h,P),u[e]=P,u[E]=m,w)if(x={values:T?P:$(y),keys:b?P:$(v),entries:C},_)for(O in x)O in j||o(j,O,x[O]);else i(i.P+i.F*(p||k),e,x);return x}},60:function(t,e,n){var r=n(20),i=n(100),o=n(34),s=n(39)("IE_PROTO"),a=function(){},u="prototype",c=function(){var t,e=n(57)("iframe"),r=o.length,i="<",s=">";for(e.style.display="none",n(93).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)}},61:function(t,e,n){var r=n(63),i=n(34).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},62:function(t,e){e.f=Object.getOwnPropertySymbols},63:function(t,e,n){var r=n(8),i=n(9),o=n(90)(!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}},64:function(t,e,n){t.exports=n(13)},77:function(t,e,n){var r=n(33);t.exports=function(t){return Object(r(t))}},83:function(t,e,n){t.exports={default:n(86),__esModule:!0}},84:function(t,e,n){t.exports={default:n(87),__esModule:!0}},85:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(84),o=r(i),s=n(83),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)}},86:function(t,e,n){n(110),n(108),n(111),n(112),t.exports=n(25).Symbol},87:function(t,e,n){n(109),n(113),t.exports=n(44).f("iterator")},88:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},89:function(t,e){t.exports=function(){}},90:function(t,e,n){var r=n(9),i=n(106),o=n(105);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}}},91:function(t,e,n){var r=n(88);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)}}},92:function(t,e,n){var r=n(19),i=n(62),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}},93:function(t,e,n){t.exports=n(5).document&&document.documentElement},94:function(t,e,n){var r=n(56);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},95:function(t,e,n){var r=n(56);t.exports=Array.isArray||function(t){return"Array"==r(t)}},96:function(t,e,n){"use strict";var r=n(60),i=n(22),o=n(38),s={};n(13)(s,n(15)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},97:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},98:function(t,e,n){var r=n(19),i=n(9);t.exports=function(t,e){for(var n,o=i(t),s=r(o),a=s.length,u=0;a>u;)if(o[n=s[u++]]===e)return n}},99:function(t,e,n){var r=n(23)("meta"),i=n(21),o=n(8),s=n(14).f,a=0,u=Object.isExtensible||function(){return!0},c=!n(18)(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}},100:function(t,e,n){var r=n(14),i=n(20),o=n(19);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}},101:function(t,e,n){var r=n(37),i=n(22),o=n(9),s=n(42),a=n(8),u=n(58),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])}},102:function(t,e,n){var r=n(9),i=n(61).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))}},103:function(t,e,n){var r=n(8),i=n(77),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}},104:function(t,e,n){var r=n(41),i=n(33);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)}}},105: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)}},106:function(t,e,n){var r=n(41),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},107:function(t,e,n){"use strict";var r=n(89),i=n(97),o=n(35),s=n(9);t.exports=n(59)(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")},108:function(t,e){},109:function(t,e,n){"use strict";var r=n(104)(!0);n(59)(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})})},110:function(t,e,n){"use strict";var r=n(5),i=n(8),o=n(12),s=n(51),a=n(64),u=n(99).KEY,c=n(18),f=n(40),l=n(38),h=n(23),p=n(15),d=n(44),v=n(43),y=n(98),m=n(92),g=n(95),w=n(20),b=n(9),_=n(42),x=n(22),O=n(60),S=n(102),$=n(101),E=n(14),T=n(19),k=$.f,j=E.f,A=S.f,P=r.Symbol,C=r.JSON,M=C&&C.stringify,F="prototype",N=p("_hidden"),L=p("toPrimitive"),D={}.propertyIsEnumerable,I=f("symbol-registry"),B=f("symbols"),R=f("op-symbols"),q=Object[F],H="function"==typeof P,U=r.QObject,W=!U||!U[F]||!U[F].findChild,z=o&&c(function(){return 7!=O(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=k(q,e);r&&delete q[e],j(t,e,n),r&&t!==q&&j(q,e,r)}:j,G=function(t){var e=B[t]=O(P[F]);return e._k=t,e},K=H&&"symbol"==typeof P.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof P},Y=function(t,e,n){return t===q&&Y(R,e,n),w(t),e=_(e,!0),w(n),i(B,e)?(n.enumerable?(i(t,N)&&t[N][e]&&(t[N][e]=!1),n=O(n,{enumerable:x(0,!1)})):(i(t,N)||j(t,N,x(1,{})),t[N][e]=!0),z(t,e,n)):j(t,e,n)},J=function(t,e){w(t);for(var n,r=m(e=b(e)),i=0,o=r.length;o>i;)Y(t,n=r[i++],e[n]);return t},Q=function(t,e){return void 0===e?O(t):J(O(t),e)},X=function(t){var e=D.call(this,t=_(t,!0));return!(this===q&&i(B,t)&&!i(R,t))&&(!(e||!i(this,t)||!i(B,t)||i(this,N)&&this[N][t])||e)},V=function(t,e){if(t=b(t),e=_(e,!0),t!==q||!i(B,e)||i(R,e)){var n=k(t,e);return!n||!i(B,e)||i(t,N)&&t[N][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=A(b(t)),r=[],o=0;n.length>o;)i(B,e=n[o++])||e==N||e==u||r.push(e);return r},tt=function(t){for(var e,n=t===q,r=A(n?R:b(t)),o=[],s=0;r.length>s;)!i(B,e=r[s++])||n&&!i(q,e)||o.push(B[e]);return o};H||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===q&&e.call(R,n),i(this,N)&&i(this[N],t)&&(this[N][t]=!1),z(this,t,x(1,n))};return o&&W&&z(q,t,{configurable:!0,set:e}),G(t)},a(P[F],"toString",function(){return this._k}),$.f=V,E.f=Y,n(61).f=S.f=Z,n(37).f=X,n(62).f=tt,o&&!n(36)&&a(q,"propertyIsEnumerable",X,!0),d.f=function(t){return G(p(t))}),s(s.G+s.W+s.F*!H,{Symbol:P});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)p(et[nt++]);for(var et=T(p.store),nt=0;et.length>nt;)v(et[nt++]);s(s.S+s.F*!H,"Symbol",{for:function(t){return i(I,t+="")?I[t]:I[t]=P(t)},keyFor:function(t){if(K(t))return y(I,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){W=!0},useSimple:function(){W=!1}}),s(s.S+s.F*!H,"Object",{create:Q,defineProperty:Y,defineProperties:J,getOwnPropertyDescriptor:V,getOwnPropertyNames:Z,getOwnPropertySymbols:tt}),C&&s(s.S+s.F*(!H||c(function(){var t=P();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!K(t)){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);return e=r[1],"function"==typeof e&&(n=e),!n&&g(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!K(e))return e}),r[1]=e,M.apply(C,r)}}}),P[F][L]||n(13)(P[F],L,P[F].valueOf),l(P,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},111:function(t,e,n){n(43)("asyncIterator")},112:function(t,e,n){n(43)("observable")},113:function(t,e,n){n(107);for(var r=n(5),i=n(13),o=n(35),s=n(15)("toStringTag"),a=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],u=0;u<5;u++){var c=a[u],f=r[c],l=f&&f.prototype;l&&!l[s]&&i(l,s,c),o[c]=o.Array}},128: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},158: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}},187: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(196),u=s(a),c=n(85),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(392)(t))},188: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}},196:function(t,e,n){t.exports={default:n(199),__esModule:!0}},199:function(t,e,n){n(201),t.exports=n(25).Object.keys},200:function(t,e,n){var r=n(51),i=n(25),o=n(18);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)}},201:function(t,e,n){var r=n(77),i=n(19);n(200)("keys",function(){return function(t){return i(r(t))}})},383:function(t,e,n){(function(e,r){/*!
* @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 4.1.0
*/
!function(e,n){t.exports=n()}(this,function(){"use strict";function t(t){return"function"==typeof t||"object"==typeof t&&null!==t}function i(t){return"function"==typeof t}function o(t){J=t}function s(t){Q=t}function a(){return function(){return e.nextTick(h)}}function u(){return"undefined"!=typeof Y?function(){Y(h)}:l()}function c(){var t=0,e=new Z(h),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function f(){var t=new MessageChannel;return t.port1.onmessage=h,function(){return t.port2.postMessage(0)}}function l(){var t=setTimeout;return function(){return t(h,1)}}function h(){for(var t=0;t<K;t+=2){var e=nt[t],n=nt[t+1];e(n),nt[t]=void 0,nt[t+1]=void 0}K=0}function p(){try{var t=n(393);return Y=t.runOnLoop||t.runOnContext,u()}catch(t){return l()}}function d(t,e){var n=arguments,r=this,i=new this.constructor(y);void 0===i[it]&&N(i);var o=r._state;return o?!function(){var t=n[o-1];Q(function(){return C(o,i,t,r._result)})}():k(r,i,t,e),i}function v(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(y);return S(n,t),n}function y(){}function m(){return new TypeError("You cannot resolve a promise with itself")}function g(){return new TypeError("A promises callback cannot return that same promise.")}function w(t){try{return t.then}catch(t){return ut.error=t,ut}}function b(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}function _(t,e,n){Q(function(t){var r=!1,i=b(n,e,function(n){r||(r=!0,e!==n?S(t,n):E(t,n))},function(e){r||(r=!0,T(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&i&&(r=!0,T(t,i))},t)}function x(t,e){e._state===st?E(t,e._result):e._state===at?T(t,e._result):k(e,void 0,function(e){return S(t,e)},function(e){return T(t,e)})}function O(t,e,n){e.constructor===t.constructor&&n===d&&e.constructor.resolve===v?x(t,e):n===ut?(T(t,ut.error),ut.error=null):void 0===n?E(t,e):i(n)?_(t,e,n):E(t,e)}function S(e,n){e===n?T(e,m()):t(n)?O(e,n,w(n)):E(e,n)}function $(t){t._onerror&&t._onerror(t._result),j(t)}function E(t,e){t._state===ot&&(t._result=e,t._state=st,0!==t._subscribers.length&&Q(j,t))}function T(t,e){t._state===ot&&(t._state=at,t._result=e,Q($,t))}function k(t,e,n,r){var i=t._subscribers,o=i.length;t._onerror=null,i[o]=e,i[o+st]=n,i[o+at]=r,0===o&&t._state&&Q(j,t)}function j(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?C(n,r,i,o):i(o);t._subscribers.length=0}}function A(){this.error=null}function P(t,e){try{return t(e)}catch(t){return ct.error=t,ct}}function C(t,e,n,r){var o=i(n),s=void 0,a=void 0,u=void 0,c=void 0;if(o){if(s=P(n,r),s===ct?(c=!0,a=s.error,s.error=null):u=!0,e===s)return void T(e,g())}else s=r,u=!0;e._state!==ot||(o&&u?S(e,s):c?T(e,a):t===st?E(e,s):t===at&&T(e,s))}function M(t,e){try{e(function(e){S(t,e)},function(e){T(t,e)})}catch(e){T(t,e)}}function F(){return ft++}function N(t){t[it]=ft++,t._state=void 0,t._result=void 0,t._subscribers=[]}function L(t,e){this._instanceConstructor=t,this.promise=new t(y),this.promise[it]||N(this.promise),G(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?E(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&E(this.promise,this._result))):T(this.promise,D())}function D(){return new Error("Array Methods must be provided an Array")}function I(t){return new L(this,t).promise}function B(t){var e=this;return new e(G(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 R(t){var e=this,n=new e(y);return T(n,t),n}function q(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function H(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function U(t){this[it]=F(),this._result=this._state=void 0,this._subscribers=[],y!==t&&("function"!=typeof t&&q(),this instanceof U?M(this,t):H())}function W(){var t=void 0;if("undefined"!=typeof r)t=r;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 n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=U}var z=void 0;z=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var G=z,K=0,Y=void 0,J=void 0,Q=function(t,e){nt[K]=t,nt[K+1]=e,K+=2,2===K&&(J?J(h):rt())},X="undefined"!=typeof window?window:void 0,V=X||{},Z=V.MutationObserver||V.WebKitMutationObserver,tt="undefined"==typeof self&&"undefined"!=typeof e&&"[object process]"==={}.toString.call(e),et="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,nt=new Array(1e3),rt=void 0;rt=tt?a():Z?c():et?f():void 0===X?p():l();var it=Math.random().toString(36).substring(16),ot=void 0,st=1,at=2,ut=new A,ct=new A,ft=0;return L.prototype._enumerate=function(){for(var t=this.length,e=this._input,n=0;this._state===ot&&n<t;n++)this._eachEntry(e[n],n)},L.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===v){var i=w(t);if(i===d&&t._state!==ot)this._settledAt(t._state,e,t._result);else if("function"!=typeof i)this._remaining--,this._result[e]=t;else if(n===U){var o=new n(y);O(o,t,i),this._willSettleAt(o,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(r(t),e)},L.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===ot&&(this._remaining--,t===at?T(r,n):this._result[e]=n),0===this._remaining&&E(r,this._result)},L.prototype._willSettleAt=function(t,e){var n=this;k(t,void 0,function(t){return n._settledAt(st,e,t)},function(t){return n._settledAt(at,e,t)})},U.all=I,U.race=B,U.resolve=v,U.reject=R,U._setScheduler=o,U._setAsap=s,U._asap=Q,U.prototype={constructor:U,then:d,catch:function(t){return this.then(null,t)}},U.polyfill=W,U.Promise=U,U})}).call(e,n(158),function(){return this}())},387: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)},392:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},393:function(t,e){}});