UNPKG

antelope-ui

Version:
1 lines 81.9 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.antelope=e():t.antelope=e()}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=169)}([function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,c){var s,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=s):o&&(s=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o),s)if(u.functional){u._injectStyles=s;var f=u.render;u.render=function(t,e){return s.call(e),f(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,s):[s]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";e.a={props:{disabled:{type:Boolean,default:!1}}}},function(t,e,n){"use strict";var r=n(11),o=n.n(r),i=n(1),a=n.n(i),c=n(20),s=n.n(c),u=n(6),f=n(7),l=n(9),p=n(17);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function v(t){t.mBoxBackgroundImage.loadPromiseReject&&(t.mBoxBackgroundImage.loadPromiseReject(),t.mBoxBackgroundImage.loadPromiseReject=null);var e=function(t,e){return{name:e,file:s()(t,"$route.meta.".concat(Object(u.a)("assetsProperty")),{})[e]||e}}(t,Object(f.a)(t,"backgroundImage")).file,n=Promise.resolve({src:"",width:0,height:0});e&&(__BACKGROUND_LOAD_PROMISE.has(e)||__BACKGROUND_LOAD_PROMISE.set(e,new Promise((function(t){var n=new Image;n.src=e,n.onload=function(){return t(n)}}))),n=__BACKGROUND_LOAD_PROMISE.get(e)),new Promise((function(e,r){t.mBoxBackgroundImage.loadPromiseReject=r,n.then(e)})).then((function(e){t.mBoxBackgroundImage.src!==e.src&&Object.assign(t.mBoxBackgroundImage,{src:e.src,width:e.width,height:e.height})})).catch((function(){}))}function h(){var t=Object(f.a)(this,["width","height","widthHeight","backgroundColor","backgroundImage","backgroundSize"]);if(void 0!==t.widthHeight){var e=String(t.widthHeight).trim().split(" "),n=o()(e,2),r=n[0],i=n[1],a=void 0===i?r:i;t.width=r||0,t.height=a||0,Reflect.deleteProperty(t,"widthHeight")}return t.width=Object(l.a)(t.width),t.height=Object(l.a)(t.height),t}function b(){var t=Object(f.a)(this,["font","fontSize","fontColor","fontWeight","lineHeight"]);if(void 0!==t.font){var e=t.font.trim().split(" "),n=o()(e,3),r=n[0],i=void 0===r?t.fontSize:r,a=n[1],c=void 0===a?t.fontColor:a,s=n[2],u=void 0===s?t.fontWeight:s;t.fontSize=Object(l.a)(i),t.fontColor=c,t.fontWeight=u,Reflect.deleteProperty(t,"font")}return void 0!==t.fontSize&&(t.fontSize=Object(l.a)(t.fontSize)),void 0!==t.lineHeight&&(t.lineHeight=Object(l.a)(t.lineHeight)),void 0!==t.fontColor&&(t.color=t.fontColor,Reflect.deleteProperty(t,"fontColor")),t}window.__BACKGROUND_LOAD_PROMISE=new Map,e.a={props:Object(p.a)({width:{type:[String,Number]},height:{type:[String,Number]},widthHeight:{type:[String,Number]},font:{type:String},fontSize:{type:[String,Number]},fontColor:{type:String},fontWeight:{type:[String,Number]},backgroundColor:{type:[String,Number]},backgroundImage:{type:[String,Number]},backgroundSize:{type:[String,Number]},lineHeight:{type:[String,Number]}}),data:function(){return{mBoxBackgroundImage:{loadPromiseReject:null,src:"",width:0,height:0}}},computed:{mBoxStyle:function(){var t=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){a()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({position:"relative"},h.call(this),{},b.call(this));if(this.mBoxBackgroundImage.src&&(t.backgroundImage="url(".concat(this.mBoxBackgroundImage.src,")"),t.backgroundSize=t.backgroundSize||"cover",t.backgroundPosition="center",Object(u.a)("imageSizeAutoLoader"))){var e=Object(u.a)(),n=e.imageTimes,r=e.imageSizeUnit,o=this.mBoxBackgroundImage,i=o.width,c=o.height;t.width||(t.width=(i*n).toFixed(2)+r),t.height||(t.height=(c*n).toFixed(2)+r)}return t}},watch:{backgroundImage:function(){v(this)},bgI:function(){v(this)}},mounted:function(){v(this)}}},function(t,e,n){"use strict";var r=n(11),o=n.n(r),i=n(1),a=n.n(i),c=n(7),s=n(9),u=n(17);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){a()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}e.a={props:Object(u.a)({position:{type:String},zIndex:{type:[String,Number]},positionSet:{type:[String,Number]},top:{type:[String,Number]},bottom:{type:[String,Number]},left:{type:[String,Number]},right:{type:[String,Number]},center:{type:String}}),computed:{mPositionStyle:function(){var t=l({},this.mBoxStyle,{},Object(c.a)(this,["zIndex"])),e=Object(c.a)(this,"position"),n=Object(c.a)(this,["positionSet","top","bottom","left","right","center"]);if(void 0!==e||"{}"!==JSON.stringify(n)){if(n.positionSet){var r=n.positionSet.trim().split(" "),i=o()(r,4),a=i[0],u=i[1],f=void 0===u?a:u,p=i[2],d=void 0===p?a:p,v=i[3],h=void 0===v?f:v;n.top=a||0,n.right=f||0,n.bottom=d||0,n.left=h||0}["top","right","bottom","left"].forEach((function(t){n[t]&&(n[t]=Object(s.a)(n[t]))})),void 0!==(t=l({},t,{position:e||"absolute"},n)).top&&void 0!==t.bottom&&delete t.height,void 0!==t.left&&void 0!==t.right&&delete t.width,void 0!==t.center&&("x"===t.center?(t.left=t.left||"50%",t.transform="translateX(-50%)"):"y"===t.center?(t.top=t.top||"50%",t.transform="translateY(-50%)"):(t.left=t.left||"50%",t.top=t.top||"50%",t.transform="translate(-50%, -50%)"),delete t.center)}return t}}}},function(t,e,n){"use strict";var r=n(7),o=navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i),i=o?"touchstart":"mousedown",a=o?"touchmove":"mousemove",c=o?"touchend":"mouseup";e.a={data:function(){return{mEventTouchstart:function(){},mEventTouchmove:function(){},mEventTouchend:function(){},mEventIsTouch:!1,mEventIsTap:!1}},mounted:function(){var t=this;this.mEventTouchstart=function(){t.mEventIsTouch=t.mEventIsTap=!0,t.$el.classList.add("on-touch"),t.$emit("a-touchstart")},this.mEventTouchmove=function(){t.mEventIsTap=!1},this.mEventTouchend=function(){t.mEventIsTap&&!Object(r.a)(t,"disabled")&&t.$emit("a-tap"),t.mEventIsTouch=t.mEventIsTap=!1,t.$el.classList.remove("on-touch"),t.$emit("a-touchend")},this.$el.addEventListener(i,this.mEventTouchstart),this.$el.addEventListener(a,this.mEventTouchmove),this.$el.addEventListener(c,this.mEventTouchend)},destroyed:function(){this.$el.removeEventListener(i,this.mEventTouchstart),this.$el.removeEventListener(a,this.mEventTouchmove),this.$el.removeEventListener(c,this.mEventTouchend)}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r={componentPrefix:"A",imageSizeAutoLoader:!1,imageTimes:1,imageSizeUnit:"px",boxUnit:"rem",assetsProperty:"assets",dialogProperty:"$dialogs",buttonImgSpace:-1,avatarOnTap:function(){}};function o(t){return Object.keys(t).forEach((function(e){r.hasOwnProperty(e)&&(r[e]=t[e])})),r}function i(t){return t?r.hasOwnProperty(t)?r[t]:null:r}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(17);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[].concat(e).reduce((function(e,n){var o=r.b[n]||"";return void 0!==t[o]?e[n]=t[o]:void 0!==t[n]&&(e[n]=t[n]),e}),{});return"string"==typeof e?n[e]:n}},function(t,e,n){var r=n(46),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(6);function o(t){return Number.isNaN(Number(t))||(t+=Object(r.a)("boxUnit")),t}},function(t,e,n){var r=n(83),o=n(86);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},function(t,e,n){var r=n(105),o=n(106),i=n(51),a=n(107);t.exports=function(t,e){return r(t)||o(t,e)||i(t,e)||a()}},function(t,e,n){t.exports=n(70)},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=(a=r,c=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(s," */")),i=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(i).concat([o]).join("\n")}var a,c,s;return[n].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var c=0;c<t.length;c++){var s=[].concat(t[c]);r&&o[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),e.push(s))}},e}},function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=i[0],c={id:t+":"+o,css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(c):n.push(r[a]={id:a,parts:[c]})}return n}n.r(e),n.d(e,"default",(function(){return d}));var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),c=null,s=0,u=!1,f=function(){},l=null,p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function d(t,e,n,o){u=n,l=o||{};var a=r(t,e);return v(a),function(e){for(var n=[],o=0;o<a.length;o++){var c=a[o];(s=i[c.id]).refs--,n.push(s)}e?v(a=r(t,e)):a=[];for(o=0;o<n.length;o++){var s;if(0===(s=n[o]).refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete i[s.id]}}}}function v(t){for(var e=0;e<t.length;e++){var n=t[e],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(b(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(b(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:a}}}}function h(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function b(t){var e,n,r=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(r){if(u)return f;r.parentNode.removeChild(r)}if(p){var o=s++;r=c||(c=h()),e=g.bind(null,r,o,!1),n=g.bind(null,r,o,!0)}else r=h(),e=O.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var m,y=(m=[],function(t,e){return m[t]=e,m.filter(Boolean).join("\n")});function g(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function O(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),l.ssrId&&t.setAttribute("data-vue-ssr-id",e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return u}));var r=n(1),o=n.n(r),i=n(68),a=n.n(i);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var s=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){o()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},{width:"w",height:"h",widthHeight:"wh",font:"f",fontSize:"fs",fontColor:"fc",fontWeight:"fw",backgroundColor:"bgC",backgroundImage:"bgI",backgroundSize:"bgS",lineHeight:"lh"},{},{position:"p",zIndex:"pz",positionSet:"ps",top:"pt",bottom:"pb",left:"pl",right:"pr",center:"pc"});function u(t){return Object.keys(t).forEach((function(e){s[e]&&(t[s[e]]=a()(t[e]))})),t}},function(t,e,n){var r=n(21),o=n(75),i=n(76),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var r=n(71);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},function(t,e,n){var r=n(8).Symbol;t.exports=r},function(t,e,n){var r=n(10)(Object,"create");t.exports=r},function(t,e,n){var r=n(91),o=n(92),i=n(93),a=n(94),c=n(95);function s(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=c,t.exports=s},function(t,e,n){var r=n(50);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},function(t,e,n){var r=n(97);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},function(t,e,n){var r=n(53),o=n(54);t.exports=function(t,e,n,i){var a=!n;n||(n={});for(var c=-1,s=e.length;++c<s;){var u=e[c],f=i?i(n[u],t[u],u,n,t):void 0;void 0===f&&(f=t[u]),a?o(n,u,f):r(n,u,f)}return n}},function(t,e,n){var r=n(155);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(16).default)("b03abb9a",r,!1,{})},function(t,e,n){var r=n(157);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(16).default)("0d87946f",r,!1,{})},function(t,e,n){var r=n(159);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(16).default)("212acac9",r,!1,{})},function(t,e,n){var r=n(161);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(16).default)("180a7948",r,!1,{})},function(t,e,n){var r=n(166);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(16).default)("9cf0da8c",r,!1,{})},function(t,e,n){var r=n(168);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(16).default)("c2fcf1b2",r,!1,{})},function(t,e,n){var r=n(162),o=n(163),i=n(51),a=n(164);t.exports=function(t){return r(t)||o(t)||i(t)||a()}},function(t,e){function n(t,e,n,r,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void n(t)}c.done?e(s):Promise.resolve(s).then(r,o)}t.exports=function(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,s,"next",t)}function s(t){n(a,o,i,c,s,"throw",t)}c(void 0)}))}}},function(t,e,n){var r=n(18),o=n(14);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},function(t,e,n){var r=n(10)(n(8),"Map");t.exports=r},function(t,e,n){var r=n(55),o=n(125),i=n(59);t.exports=function(t){return i(t)?r(t):o(t)}},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,n){(function(t){var r=n(46),o=e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,c=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c}).call(this,n(38)(t))},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e,n){var r=n(133),o=n(61),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return i.call(t,e)})))}:o;t.exports=c},function(t,e,n){var r=n(137),o=n(36),i=n(138),a=n(139),c=n(140),s=n(18),u=n(49),f=u(r),l=u(o),p=u(i),d=u(a),v=u(c),h=s;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=h(new o)||i&&"[object Promise]"!=h(i.resolve())||a&&"[object Set]"!=h(new a)||c&&"[object WeakMap]"!=h(new c))&&(h=function(t){var e=s(t),n="[object Object]"==e?t.constructor:void 0,r=n?u(n):"";if(r)switch(r){case f:return"[object DataView]";case l:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case v:return"[object WeakMap]"}return e}),t.exports=h},function(t,e,n){var r=n(143);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},function(t,e,n){"use strict";n.r(e),n.d(e,"Section",(function(){return l})),n.d(e,"Sections",(function(){return h})),n.d(e,"Position",(function(){return g})),n.d(e,"List",(function(){return P})),n.d(e,"Fps9",(function(){return $})),n.d(e,"Sprite",(function(){return N})),n.d(e,"Button",(function(){return X})),n.d(e,"Avatar",(function(){return q})),n.d(e,"Popup",(function(){return et})),n.d(e,"Dialog",(function(){return ct})),n.d(e,"Bullet",(function(){return yt})),n.d(e,"Timer",(function(){return xt})),n.d(e,"Roulette",(function(){return Et})),n.d(e,"Tabs",(function(){return $t})),n.d(e,"Slider",(function(){return zt})),n.d(e,"Popover",(function(){return Ft}));var r=function(){var t=this.$createElement;return(this._self._c||t)("div",{style:this.mPositionStyle},[this._t("default")],2)};r._withStripped=!0;var o=n(2),i=n(3),a=n(4),c=n(5),s={mixins:[o.a,i.a,a.a,c.a]},u=n(0),f=Object(u.a)(s,r,[],!1,null,null,null);f.options.__file="src/components/basic/Section.vue";var l=f.exports,p=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"a-sections",style:this.mPositionStyle},[this._t("default")],2)};p._withStripped=!0;var d={mixins:[o.a,i.a,a.a,c.a]},v=(n(154),Object(u.a)(d,p,[],!1,null,null,null));v.options.__file="src/components/basic/Sections.vue";var h=v.exports,b=function(){var t=this.$createElement;return(this._self._c||t)("div",{style:this.mPositionStyle},[this._t("default")],2)};b._withStripped=!0;var m={mixins:[o.a,i.a,a.a,c.a],props:{position:{type:String,default:"absolute"}}},y=Object(u.a)(m,b,[],!1,null,null,null);y.options.__file="src/components/basic/Position.vue";var g=y.exports,O=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"a-list",style:this.listStyle},[e("div",{ref:"scroll",staticClass:"content",style:this.contentStyle},[this._t("default")],2)])};O._withStripped=!0;var j=n(1),x=n.n(j);function w(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var S={mixins:[o.a,i.a,a.a,c.a],props:{direction:{type:String,default:"y"},nested:{type:Boolean,default:!1}},data:function(){return{preventDefault:!0,lastPosition:{x:0,y:0}}},computed:{listStyle:function(){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?w(Object(n),!0).forEach((function(e){x()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({overflow:"hidden"},this.mPositionStyle)},contentStyle:function(){var t;return t={width:"100%",height:"100%",boxSizing:"content-box"},x()(t,"x"===this.direction?"overflowX":"overflowY","auto"),x()(t,"padding-".concat("y"===this.direction?"right":"bottom"),"20px"),t},$scroll:function(){return this.$refs.scroll}},mounted:function(){this.nested&&this.initScroll()},destroyed:function(){this.nested&&this.removeScroll()},methods:{initScroll:function(){this.$scroll.addEventListener("scroll",this.onScroll),this.$scroll.addEventListener("touchstart",this.onTouchstart),this.$scroll.addEventListener("touchmove",this.onTouchmove)},removeScroll:function(){this.$scroll.removeEventListener("scroll",this.onScroll),this.$scroll.removeEventListener("touchstart",this.onTouchstart),this.$scroll.removeEventListener("touchmove",this.onTouchmove)},onScroll:function(t){if("x"===this.direction){var e=t.target,n=e.scrollLeft,r=e.scrollWidth,o=e.offsetWidth;(n<1||n+o===r)&&(this.preventDefault=!1)}else{var i=t.target,a=i.scrollTop,c=i.scrollHeight,s=i.offsetHeight;(a<1||a+s===c)&&(this.preventDefault=!1)}},onTouchstart:function(t){this.lastPosition.x=t.touches[0].clientX,this.lastPosition.y=t.touches[0].clientY,this.preventDefault||this.$scroll.addEventListener("touchmove",this.onOnceTouchmove,{once:!0})},onTouchmove:function(t){if(this.preventDefault){t.preventDefault();var e,n={x:t.touches[0].clientX,y:t.touches[0].clientY};e="x"===this.direction?n.x-this.lastPosition.x:n.y-this.lastPosition.y,this.$scroll.scrollTop-=e,this.lastPosition.x=n.x,this.lastPosition.y=n.y}},onOnceTouchmove:function(t){var e=this,n=t.touches[0].clientX,r=t.touches[0].clientY;("x"===this.direction?this.lastPosition.x>n:this.lastPosition.y>r)&&this.$scroll.addEventListener("touchend",(function(){e.preventDefault=!0}),{once:!0})}}},_=Object(u.a)(S,O,[],!1,null,null,null);_.options.__file="src/components/basic/List.vue";var P=_.exports,k=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"a-fps9",style:this.fps9Style})};k._withStripped=!0;var E=n(6);function T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var I={mixins:[o.a,i.a,a.a,c.a],computed:{fps9Style:function(){var t=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?T(Object(n),!0).forEach((function(e){x()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},this.mPositionStyle);if(delete t.backgroundPosition,t.backgroundImage){if(!t.width&&!t.height){var e=Object(E.a)(),n=e.imageTimes,r=e.imageSizeUnit,o=function(t){return(t*n).toFixed(2)+r};t.width=o(this.mBoxBackgroundImage.width/3),t.height=o(this.mBoxBackgroundImage.height/3)}t.backgroundSize="300% 300%"}return t}}},A=(n(156),Object(u.a)(I,k,[],!1,null,"52d76b61",null));A.options.__file="src/components/basic/Fps9.vue";var $=A.exports,D=function(){var t=this.$createElement;return(this._self._c||t)("div",{style:this.spriteStyle},[this._t("default")],2)};D._withStripped=!0;var B=n(7);function L(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var z={mixins:[o.a,i.a,a.a,c.a],props:{x:{type:String,default:""},y:{type:String,default:""}},computed:{spriteStyle:function(){var t=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?L(Object(n),!0).forEach((function(e){x()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},this.mPositionStyle);if(delete t.backgroundPosition,t.backgroundImage){var e=Object(E.a)(),n=e.imageTimes,r=e.imageSizeUnit,o=this.mBoxBackgroundImage,i=o.width,a=o.height;t.backgroundSize=[(i*n).toFixed(2)+r,(a*n).toFixed(2)+r].join(" ");var c=Object(B.a)(this,["x","y"]),s=c.x,u=c.y;s&&(t.backgroundPositionX=s),u&&(t.backgroundPositionY=u)}return t}}},C=Object(u.a)(z,D,[],!1,null,null,null);C.options.__file="src/components/basic/Sprite.vue";var N=C.exports,M=function(){var t=this.$createElement;return(this._self._c||t)("div",{style:this.buttonStyle},[this._t("default")],2)};function R(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}M._withStripped=!0;var F={mixins:[o.a,i.a,a.a,c.a],props:{moveX:{type:String},moveY:{type:String},direction:{type:String,default:"x"},space:{type:[String,Number],default:6}},computed:{buttonStyle:function(){var t=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?R(Object(n),!0).forEach((function(e){x()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},this.mPositionStyle);if(delete t.backgroundPosition,t.backgroundImage){var e=Object(B.a)(this,["moveX","moveY","direction","space","disabled"]),n=e.moveX,r=e.moveY,o=e.direction,i=e.space,a=e.disabled,c=this.mEventIsTouch&&!a;if(n||r)n?t.backgroundSize="auto "+t.height:r&&(t.backgroundSize=t.width+" auto"),c&&(n?t.backgroundPositionX=n:t.backgroundPositionY=r);else{var s=Object(E.a)(),u=s.buttonImgSpace,f=s.imageTimes,l=s.imageSizeUnit,p=this.mBoxBackgroundImage,d=p.width,v=p.height;i=Number(-1===u?i:u);var h=function(t){return(t*f).toFixed(2)+l},b=function(t){return a?t:(t-i)/2};"x"===o?(t.width=h(b(d)),t.height=h(v),t.backgroundSize="auto "+t.height):(t.width=h(d),t.height=h(b(v)),t.backgroundSize=t.width+" auto"),c&&("x"===o?t.backgroundPositionX="-"+h(b(d)+i):t.backgroundPositionY="-"+h(b(v)+i))}}return t}}},U=Object(u.a)(F,M,[],!1,null,null,null);U.options.__file="src/components/basic/Button.vue";var X=U.exports,Y=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a-section",t._b({staticStyle:{"border-radius":"50%"},on:{"a-tap":function(e){return t.tapAvatar()}}},"a-section",t.$attrs,!1),[t.avatarFrame?n(t.aFrameComponent.is,t._b({tag:"component"},"component",t.aFrameComponent.attrs,!1)):t._e(),t._v(" "),t._t("default")],2)};function W(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function G(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?W(Object(n),!0).forEach((function(e){x()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}Y._withStripped=!0;var H={components:{ASection:l},props:{frame:{type:String,default:""},frameAttrs:{type:Object,default:function(){return{}}}},computed:{avatarFrame:function(){return this.frame.replace(/^http*.\:\/\//g,"//")},aFrameComponent:function(){var t=this.avatarFrame,e=t.indexOf(".svga")>-1;return{is:e?"a-svga":"a-position",attrs:G(x()({pc:"",pz:"10",w:"135%",h:"135%"},e?"url":"bgI",t),this.frameAttrs)}}},methods:{tapAvatar:function(){var t=Object(E.a)().avatarOnTap,e=this.$listeners["a-tap"]||this.$listeners.aTap;e?e(this.$attrs,t):t(this.$attrs)}}},V=Object(u.a)(H,Y,[],!1,null,null,null);V.options.__file="src/components/basic/Avatar.vue";var q=V.exports,J=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a-position",{staticClass:"popup",class:{active:t.active,visible:t.visible},attrs:{position:"fixed","z-index":"1000",top:"0",bottom:"0",left:"0",right:"0"}},t._l(t.iSlots,(function(e){return n("a-position",{key:"popup-item-"+e.name,staticClass:"popup-item",class:{active:e.active},attrs:{"z-index":e.activeIndex,top:"0",bottom:"0",left:"0",right:"0"}},[n("a-position",{attrs:{"z-index":"1",top:"0",bottom:"0",left:"0",right:"0","background-color":"rgba(0,0,0,0.7)"},on:{"a-tap":function(n){e.options.bgClose&&t.close(e.name)}}}),t._v(" "),n("a-position",t._b({attrs:{"z-index":"2"}},"a-position",e.position,!1),[t._t(e.name,null,{active:e.active,data:e.data})],2)],1)})),1)};function K(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?K(Object(n),!0).forEach((function(e){x()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}J._withStripped=!0;var Z={components:{APosition:g},props:{items:{type:Array,default:function(){return[]}},options:{type:Object,default:function(){return{}}}},data:function(){return{active:!1,visible:!1,defaultOptions:{bgClose:!1,zIndex:1,top:"50%",left:"50%",center:"x+y"},activeSlots:[]}},computed:{iSlots:function(){var t=this;return this.items.reduce((function(e,n){var r=t.activeSlots.findIndex((function(t){return t.name===n})),o=t.activeSlots[r],i=Q({},t.defaultOptions,{},o?o.options:{});return e.push({activeIndex:r,active:!!o&&o.active,name:n,options:i,position:Q({top:"0",left:"150%"},o?Object(B.a)(i,["top","left","center"]):{}),data:o?o.data:void 0}),e}),[])}},mounted:function(){Object.assign(this.defaultOptions,Object(B.a)(this,"options"))},methods:{open:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"string"==typeof e&&(e={name:e});var n=e,r=n.name,o=n.options,i=void 0===o?{}:o,a=n.data,c=n.onclose;if(!(-1===this.items.indexOf(r)||this.activeSlots.findIndex((function(t){return t.name===r}))>-1))return new Promise((function(e){t.active=t.visible=!0,t.activeSlots.push({active:!0,name:r,options:i,data:a,onclose:c}),setTimeout((function(){e()}),300)}))},close:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(e=[].concat(e).filter((function(e){return t.items.indexOf(e)>-1&&t.activeSlots.findIndex((function(t){return t.name===e}))>-1}))).length||(e=this.activeSlots.map((function(t){return t.name}))),new Promise((function(n){t.activeSlots.length===e.length?(t.active=!1,setTimeout((function(){t.visible=!1;var e=t.activeSlots.map((function(t){return t.onclose}));t.$set(t,"activeSlots",[]),n(e)}),300)):(e.forEach((function(e){var n=t.activeSlots.findIndex((function(t){return t.name===e}));n>-1&&(t.activeSlots[n].active=!1)})),setTimeout((function(){var r=[];t.$set(t,"activeSlots",t.activeSlots.filter((function(t){var n=t.name,o=t.onclose,i=e.find((function(t){return t!==n}));return i||r.push(o),i}))),n(r)}),300))})).then((function(t){return t.filter(Boolean).reduce((function(t,e){return t.then((function(){return e()}))}),Promise.resolve())}))}}},tt=(n(158),Object(u.a)(Z,J,[],!1,null,"fcb087fa",null));tt.options.__file="src/components/interact/Popup.vue";var et=tt.exports,nt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a-position",{staticClass:"dialog",class:{active:t.active,visible:t.visible},attrs:{position:"fixed","z-index":t.zIndex,"position-set":"0"}},[n("a-position",{attrs:{"z-index":"1","position-set":"0","background-color":"rgba(0,0,0,0.7)",disabled:!t.options.bgClose},on:{"a-tap":function(e){return t.close()}}}),t._v(" "),n("a-position",t._b({attrs:{"z-index":"2"}},"a-position",Object.assign({},{center:"x+y"},t.$attrs,t.attrs),!1),[t._t("default",null,{data:t.data})],2)],1)};function rt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ot(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?rt(Object(n),!0).forEach((function(e){x()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):rt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}nt._withStripped=!0;var it={components:{APosition:g},props:{name:{type:String,default:""},cache:{type:Boolean,default:!1}},data:function(){return{active:!1,visible:!1,zIndex:0,data:null,attrs:{},options:{bgClose:!1},onclose:function(){}}},created:function(){this[Object(E.a)().dialogProperty][this.name]=this},methods:{open:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.data,r=void 0===n?{}:n,o=e.attrs,i=void 0===o?{}:o,a=e.options,c=void 0===a?{}:a,s=e.onclose,u=void 0===s?function(){}:s,f=Object(E.a)(),l=f.dialogProperty;return this.zIndex=Object.keys(this[l]).reduce((function(e,n){return t[l][n].active&&(e+=100),e}),5e3),this.$set(this,"data",r),this.$set(this,"attrs",i),this.$set(this,"options",ot({bgClose:!1},c)),this.$set(this,"onclose",u),new Promise((function(e){t.active=t.visible=!0,0==t[l].$active++&&(document.body.style.overflow="hidden"),setTimeout((function(){e()}),300)}))},close:function(t){var e=this,n=Object(E.a)().dialogProperty;if(t){var r=t.all,o=void 0!==r&&r,i=t.other,a=void 0===i?[]:i;(o?Object.keys(this[n]).filter((function(t){return e[n][t].active})):[].concat(a)).forEach((function(t){return e[n][t].close()}))}var c=this.onclose,s=this.data;return new Promise((function(t){e.active=!1,setTimeout((function(){e.visible=!1,1==e[n].$active--&&(document.body.style.overflow=null),e.cache||e.$set(e,"data",null),e.$set(e,"attrs",{}),e.$set(e,"options",{bgClose:!1}),e.$set(e,"onclose",(function(){})),t()}),300)})).then((function(){return c({name:e.name,data:s})}))},update:function(t){this.$set(this,"data",t)}}},at=(n(160),Object(u.a)(it,nt,[],!1,null,"557055fe",null));at.options.__file="src/components/interact/Dialog.vue";var ct=at.exports,st=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:t.bulletStyle},t._l(t.bullets,(function(e,r){return n("div",{key:r,ref:"bullet",refInFor:!0,staticClass:"bullet",class:t.direction,style:{animationDuration:t.duration+"s",animationPlayState:t.paused?"paused":"running"}},["text"===t.mode?n("div",{staticClass:"bullet-item",domProps:{innerHTML:t._s(e)}}):"slot"===t.mode?n("div",{staticClass:"bullet-item"},[t._t("default",null,{index:r,data:e})],2):t._e()])})),0)};st._withStripped=!0;var ut=n(11),ft=n.n(ut),lt=n(33),pt=n.n(lt),dt=setTimeout,vt=clearTimeout;function ht(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var bt={mixins:[o.a,i.a,a.a,c.a],props:{direction:{type:String,default:"rtl"},items:{type:Array,default:function(){return[]}},mode:{validator:function(t){return-1!==["text","slot"].indexOf(t)},default:"text"},duration:{type:[Number,String],default:"20"},between:{type:[Number,String],default:"50"}},computed:{bulletStyle:function(){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ht(Object(n),!0).forEach((function(e){x()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ht(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({overflow:"hidden"},this.mPositionStyle)}},data:function(){return{bullets:[].concat(this.items),paused:!1,beginPaused:0,lastBeginIndex:0,lastBeginTime:0,nextBeginIndex:0,nextBeginTimer:0,moveTimer:{},beginDelayTimer:0}},watch:{items:function(t,e){var n=this;t.length&&!e.length?(this.bullets=[].concat(t),this.$nextTick((function(){n.beginAnimation()}))):t.length&&e.length?this.bullets.splice.apply(this.bullets,[this.nextBeginIndex,this.bullets.length-this.nextBeginIndex].concat(pt()(t))):this.endAnimation()}},mounted:function(){this.bullets.length&&this.beginAnimation()},destroyed:function(){this.endAnimation()},methods:{beginAnimation:function(){var t=this,e=1e3*Number(this.duration),n=this.nextBeginIndex,r=this.$refs.bullet[n],o=this.lastBeginIndex,i=this.$refs.bullet[o],a=0;if(i&&new Set(i.classList).has("move")){var c=this.moveTimer[o].residue;if(c!==e){var s=this.getBulletMoveTime(i),u=e-c;u<s&&(a=s-u)}}this.beginDelayTimer=dt((function(){var o=Date.now(),i=t.getBulletMoveTime(r);t.lastBeginIndex=n,t.lastBeginTime=o,r.classList.add("move"),t.moveTimer[n]={ref:r,residue:e,begin:o,timer:dt((function(){r.classList.remove("move"),delete t.moveTimer[n]}),e)};var a=n;t.nextBeginIndex=t.bullets.length-1===a?0:a+1,t.nextBeginTimer=dt(t.beginAnimation,i)}),a)},endAnimation:function(){vt(this.nextBeginTimer),this.nextBeginTimer=0},playAnimation:function(){var t=this;this.paused=!1,Object.keys(this.moveTimer).forEach((function(e){var n=t.moveTimer[e],r=n.ref,o=n.residue;t.moveTimer[e].begin=Date.now(),t.moveTimer[e].timer=dt((function(){r.classList.remove("move"),delete t.moveTimer[e]}),o)})),this.beginAnimation()},pauseAnimation:function(){var t=this;this.paused=!0,this.beginPaused=Date.now(),this.endAnimation(),Object.keys(this.moveTimer).forEach((function(e){var n=t.moveTimer[e],r=n.residue,o=n.begin,i=n.timer;vt(i),t.moveTimer[e].residue=r-(t.beginPaused-o)})),this.beginDelayTimer&&(vt(this.beginDelayTimer),this.beginDelayTimer=0)},getBulletMoveTime:function(t){var e=2.5*t.offsetWidth/Number(this.duration),n=t.firstChild.offsetWidth,r=this.between.split("-").map((function(t){return Number(t)})),o=ft()(r,2),i=o[0],a=o[1];return i&&(n+=i),a&&(n+=(a-i)*Math.random()),Math.floor(n/e*1e3)}}},mt=(n(165),Object(u.a)(bt,st,[],!1,null,"463dcfbb",null));mt.options.__file="src/components/interact/Bullet.vue";var yt=mt.exports,gt=function(){var t=this.$createElement;return(this._self._c||t)("div",{style:this.mPositionStyle},[this.timer.sec>0?this._t("wait",null,{data:this.timeData}):this._t("arrival")],2)};gt._withStripped=!0;var Ot={mixins:[o.a,i.a,a.a,c.a],props:{start:{type:[String,Number,Date],default:""},end:{type:[String,Number,Date],default:""},sec:{type:[String,Number],default:""},manual:{type:[Boolean,Number,String]}},data:function(){return{timer:{id:0,sec:0,over:!1}}},computed:{timeData:function(){var t=this.timer.sec/1e3,e=Math.floor(t/3600),n=e>23?Math.floor(e/24):0,r=e>23?e%24:e,o=Math.floor(t/60)-60*e,i=Math.ceil(t-3600*e-60*o);return{all:String(t),dd:n<10?"0".concat(n):String(n),HH:e<10?"0".concat(e):String(e),hh:r<10?"0".concat(r):String(r),mm:o<10?"0".concat(o):String(o),ss:i<10?"0".concat(i):String(i),d:String(n),H:String(e),h:String(r),m:String(o),s:String(i)}}},watch:{start:function(){this.initTimer()},end:function(){this.initTimer()},sec:function(){this.initTimer()}},mounted:function(){this.initTimer()},methods:{initTimer:function(){if(this.start&&this.end){var t=new Date(this.start).getTime(),e=new Date(this.end).getTime();this.timer.sec=e-t}else{if(!this.sec)return;this.timer.sec=Number(this.sec)}this.timer.sec>0?(this.timer.id&&clearInterval(this.timer.id),this.timer.id=0,this.timer.over=!1,this.manual||this.countdownStart()):(this.timer.over||this.$emit("countdown-over"),this.timer.over=!0)},countdownStart:function(){var t=this;this.timer.sec>0&&(this.timer.sec-=1e3),this.timer.id=setInterval((function(){t.timer.sec-=1e3,t.$emit("timer-reduce",t.timer.sec),t.timer.sec<=0&&(t.timer.id&&clearInterval(t.timer.id),t.timer.id=0,t.$emit("countdown-over"))}),1e3)}}},jt=Object(u.a)(Ot,gt,[],!1,null,null,null);jt.options.__file="src/components/interact/Timer.vue";var xt=jt.exports,wt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:t.mPositionStyle},t._l(t.iItems,(function(e,r){return n("a-position",t._b({key:r},"a-position",e.style,!1),[t._t("default",null,{index:e.index,active:e.active,data:e.data})],2)})),1)};function St(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _t(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?St(Object(n),!0).forEach((function(e){x()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}wt._withStripped=!0;var Pt={components:{APosition:g},mixins:[o.a,i.a,a.a,c.a],props:{items:{type:Array,default:function(){return[]}},options:{type:Object,default:function(){return{}}}},computed:{iItems:function(){var t=this;return this.items.map((function(e,n){return{index:n,active:n===t.activeIndex,style:_t({},t.options,{},e.position),data:e.data||{}}}))},iOptions:function(){var t=_t({},this.defaultOptions,{},this.activeOptions),e=t.maxSpeed,n=t.minSpeed,r=t.toMaxStep;return t.acceleration=(n-e)/r,t}},data:function(){return{activeIndex:-1,defaultOptions:{func:"ease-in-out",maxSpeed:30,minSpeed:960,toMaxStep:4},activeOptions:{}}},methods:{run:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.steps,n=void 0===e?this.items.length:e,r=t.result,o=void 0===r?-1:r,i=t.options,a=void 0===i?{}:i;return this.$set(this,"activeOptions",Object(B.a)(a,["func","maxSpeed","minSpeed","toMaxStep"])),this.jumpMain(this.getTotalSteps({steps:n,result:o}))},init:function(){this.activeIndex=-1,this.$set(this,"activeOptions",{})},jumpMain:function(t){var e=this;return pt()(Array(t)).reduce((function(n,r,o){return n.then((function(){return new Promise((function(n){setTimeout((function(){e.activeIndex=e.getNextActive({index:o,total:t}),n()}),o?e.getSpeed({index:o,total:t}):0)}))}))}),Promise.resolve())},getTotalSteps:function(t){var e=t.steps,n=t.result;if(-1!==n){var r=(e-(n+1))%this.items.length;this.activeIndex=this.items.length-r-1}return e},getSpeed:function(t){var e=t.index,n=t.total,r=this.iOptions,o=r.func,i=r.maxSpeed,a=r.minSpeed,c=r.toMaxStep,s=r.acceleration;return e>c&&e<n-c-1?i:e<=c?"ease-out"===o?i:a-s*(e-1):e>=n-c-1?"ease-in"===o?i:i+(e-(n-c-2))*s:void 0},getNextActive:function(){var t=this.activeIndex+1;return t===this.items.length?0:t}}},kt=Object(u.a)(Pt,wt,[],!1,null,null,null);kt.options.__file="src/components/interact/Roulette.vue";var Et=kt.exports,Tt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:t.mPositionStyle},t._l(t.items,(function(e){return n("a-section",t._b({key:e},"a-section",t.active===e?{}:t.positionParams,!1),[t._t(e)],2)})),1)};Tt._withStripped=!0;var It={components:{ASection:l},mixins:[o.a,i.a,a.a,c.a],props:{active:{type:String,default:""},items:{type:Array,default:function(){return[]}}},data:function(){return{positionParams:{position:"",top:"0",left:"150%",zIndex:"1",style:{pointerEvents:"none",opacity:"0"}}}}},At=Object(u.a)(It,Tt,[],!1,null,null,null);At.options.__file="src/components/interact/Tabs.vue";var $t=At.exports,Dt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"a-slider",style:t.mPositionStyle},["text"===t.mode?t._l(2,(function(e){return n("div",{key:e,staticClass:"slider-item",class:{"slider-in":t.values[e-1],"slider-out":t.values[e-1]&&t.animation&&t.current===e-1},style:{"animation-duration":t.duration/1e3+"s"}},[t._v(t._s(t.values[e-1]))])})):"slot"===t.mode?t._l(t.items,(function(e,r){return n("div",{key:r,staticClass:"slider-item",class:{"slider-in":t.isIn(e),"slider-out":t.isOut(e)},style:{"animation-duration":t.duration/1e3+"s"}},[t._t(e)],2)})):t._e()],2)};Dt._withStripped=!0;var Bt={mixins:[o.a,i.a,a.a,c.a],props:{value:{type:[String,Number],default:""},duration:{type:Number,default:500},items:{type:Array,default:function(){return[]}},mode:{validator:function(t){return-1!==["text","slot"].indexOf(t)},default:"text"}},data:function(){return{timer:0,current:-1,values:{0:void 0,1:void 0}}},computed:{animation:function(){return void 0!==this.values[0]&&void 0!==this.values[1]}},watch:{value:function(t){this.next(t)}},mounted:function(){this.next(this.value)},methods:{next:function(t){var e=this;vt(this.timer),0===this.current?this.values[1]=t:this.values[0]=t,this.timer=dt((function(){0===e.current?(e.current=1,e.values[0]=void 0):(e.current=0,e.values[1]=void 0)}),this.duration)},isIn:function(t){var e=-1;return this.values[0]===t?e=0:this.values[1]===t&&(e=1),e>-1},isOut:function(t){var e=-1;return this.values[0]===t?e=0:this.values[1]===t&&(e=1),-1!==e&&(this.animation&&this.current===e)}}},Lt=(n(167),Object(u.a)(Bt,Dt,[],!1,null,"69c4dc1a",null));Lt.options.__file="src/components/interact/Slider.vue";var zt=Lt.exports,Ct=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:t.mPositionStyle},[n("a-section",t._b({on:{"a-tap":t.togglePopoverVisible}},"a-section",t.contentAttr,!1),[t._t("content")],2),t._v(" "),n("a-section",t._b({directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}]},"a-section",t.popoverAttr,!1),[t._t("popover")],2)],1)};Ct._withStripped=!0;var Nt=navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)?"touchstart":"mousedown",Mt={mixins:[o.a,i.a,a.a,c.a],props:{contentAttr:{type:Object,default:function(){return{}}},popoverAttr:{type:Object,default:function(){return{}}}},data:function(){return{visible:!1}},mounted:function(){var t=this;this.$el.addEventListener(Nt,(function(e){return t.visible&&e.stopPropagation()}))},methods:{togglePopoverVisible:function(){var t=this;this.disabled||(this.visible?this.visible=!1:(this.visible=!0,window.addEventListener(Nt,(function(){t.visible=!1}),{once:!0})))}}},Rt=Object(u.a)(Mt,Ct,[],!1,null,null,null);Rt.options.__file="src/components/interact/Popover.vue";var Ft=Rt.exports;e.default={}},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(74))},function(t,e,n){var r=n(80),o=n(96),i=n(98),a=n(99),c=n(100);function s(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=c,t.exports=s},function(t,e,n){var r=n(18),o=n(19);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,n){var r=n(52);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}},function(t,e,n){var r=n(54),o=n(50),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},function(t,e,n){var r=n(116);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var r=n(118),o=n(119),i=n(13),a=n(56),c=n(122),s=n(123),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=i(t),f=!n&&o(t),l=!n&&!f&&a(t),p=!n&&!f&&!l&&s(t),d=n||f||l||p,v=d?r(t.length,String):[],h=v.length;for(var b in t)!e&&!u.call(t,b)||d&&("length"==b||l&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||c(b,h))||v.push(b);return v}},function(t