UNPKG

@xysfe/actui

Version:

A fantastic mobile ui lib implement by Vue

1 lines 139 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.PosterLayer=e():t.PosterLayer=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../lib",e(e.s=1854)}({0:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},1:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId=i);var l;if(a?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):o&&(l=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}e.a=r},10:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},100:function(t,e,n){t.exports={default:n(101),__esModule:!0}},101:function(t,e,n){n(55),t.exports=n(0).Object.getOwnPropertySymbols},102:function(t,e,n){"use strict";function r(t){var e={},n={},r={};for(var c in t)if(t.hasOwnProperty(c))if(-1!==s.indexOf(c))e[c]=t[c];else if(a.test(c)){var u=a.exec(c)[1];u=Object(i.a)(u),r[u]=t[c]}else n[c]=t[c];return e.on=Object(o.a)(r,e.on),e.props=Object(o.a)(n,e.props),e}e.a=r;var o=n(62),i=n(103),a=new RegExp(/^on(.+)/),s=["class","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"]},103:function(t,e,n){"use strict";function r(t,e){var n=c(t,e);return n.charAt(0).toLowerCase()+n.slice(1)}e.a=r;var o=n(28),i=n.n(o),a=n(4),s=function(t){for(var e=!1,n=!1,r=!1,o=0;o<t.length;o++){var i=t[o];e&&/[a-zA-Z]/.test(i)&&i.toUpperCase()===i?(t=t.slice(0,o)+"-"+t.slice(o),e=!1,r=n,n=!0,o++):n&&r&&/[a-zA-Z]/.test(i)&&i.toLowerCase()===i?(t=t.slice(0,o-1)+"-"+t.slice(o-1),r=n,n=!1,e=!0):(e=i.toLowerCase()===i&&i.toUpperCase()!==i,r=n,n=i.toUpperCase()===i&&i.toLowerCase()!==i)}return t},c=function(t,e){if("string"!=typeof t&&!Object(a.p)(t))throw new TypeError("Expected the input to be `string | string[]`");e=i()({pascalCase:!1},e);return t=Array.isArray(t)?t.map(function(t){return t.trim()}).filter(function(t){return t.length}).join("-"):t.trim(),0===t.length?"":1===t.length?e.pascalCase?t.toUpperCase():t.toLowerCase():(t!==t.toLowerCase()&&(t=s(t)),t=t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,e){return e.toUpperCase()}).replace(/\d+(\w|$)/g,function(t){return t.toUpperCase()}),function(t){return e.pascalCase?t.charAt(0).toUpperCase()+t.slice(1):t}(t))}},104:function(t,e,n){"use strict";function r(t,e,n,r){var i=void 0,a=void 0,s=new t({render:function(t){var n=a&&a(t);return n&&!Object(o.p)(n)&&(n=[n]),t(e,i,n||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}});return s.updateRenderData=function(t,e){i=t,a=e},s.updateRenderData(n,r),s.$mount(),s.init(),s.$children[0]}e.a=r;var o=n(4)},105:function(t,e,n){"use strict";var r=n(20),o=n(64);e.a={name:"ActPopup",mixins:[r.a,o.a],props:{type:{type:String,default:""},mask:{type:Boolean,default:!0},content:{type:String,default:""},center:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.7},pointerEvent:{type:String,default:""},zIndex:{type:[String,Number],default:"999"},topBorderRadius:{type:Boolean,default:!1}},computed:{typeClass:function(){return this.type?"act-"+this.type:""},maskBgColor:function(){return"rgba(0, 0, 0, "+this.opacity+")"}},methods:{maskClick:function(t){this.$emit("mask-click",t)}}}},1062:function(t,e,n){"use strict";var r,o=n(52),i=n.n(o);!function(){function t(t){this.mode=l.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,n=this.data.length;e<n;e++){var r=[],o=this.data.charCodeAt(e);o>65536?(r[0]=240|(1835008&o)>>>18,r[1]=128|(258048&o)>>>12,r[2]=128|(4032&o)>>>6,r[3]=128|63&o):o>2048?(r[0]=224|(61440&o)>>>12,r[1]=128|(4032&o)>>>6,r[2]=128|63&o):o>128?(r[0]=192|(1984&o)>>>6,r[1]=128|63&o):r[0]=o,this.parsedData.push(r)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function e(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function n(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);for(var n=0;n<t.length&&0==t[n];)n++;this.num=new Array(t.length-n+e);for(var r=0;r<t.length-n;r++)this.num[r]=t[r+n]}function o(t,e){this.totalCount=t,this.dataCount=e}function a(){this.buffer=[],this.length=0}function s(){var t=!1,e=navigator.userAgent;if(/android/i.test(e)){t=!0;var n=e.toString().match(/android\s*([0-9\.]*)/i);n&&n[1]&&(t=parseFloat(n[1]))}return t}function c(t,e){for(var n=1,r=u(t),o=0,i=v.length;o<=i;o++){var a=0;switch(e){case f.L:a=v[o][0];break;case f.M:a=v[o][1];break;case f.Q:a=v[o][2];break;case f.H:a=v[o][3]}if(r<=a)break;n++}if(n>v.length)throw new Error("Too long data");return n}function u(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}t.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,n=this.parsedData.length;e<n;e++)t.put(this.parsedData[e],8)}},e.prototype={addData:function(e){var n=new t(e);this.dataList.push(n),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,n){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var o=0;o<this.moduleCount;o++)this.modules[r][o]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,n),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=e.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,n)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var r=-1;r<=7;r++)e+r<=-1||this.moduleCount<=e+r||(this.modules[t+n][e+r]=n>=0&&n<=6&&(0==r||6==r)||r>=0&&r<=6&&(0==n||6==n)||n>=2&&n<=4&&r>=2&&r<=4)},getBestMaskPattern:function(){for(var t=0,e=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=h.getLostPoint(this);(0==n||t>r)&&(t=r,e=n)}return e},createMovieClip:function(t,e,n){var r=t.createEmptyMovieClip(e,n);this.make();for(var o=0;o<this.modules.length;o++)for(var i=1*o,a=0;a<this.modules[o].length;a++){var s=1*a,c=this.modules[o][a];c&&(r.beginFill(0,100),r.moveTo(s,i),r.lineTo(s+1,i),r.lineTo(s+1,i+1),r.lineTo(s,i+1),r.endFill())}return r},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=h.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var n=0;n<t.length;n++){var r=t[e],o=t[n];if(null==this.modules[r][o])for(var i=-2;i<=2;i++)for(var a=-2;a<=2;a++)this.modules[r+i][o+a]=-2==i||2==i||-2==a||2==a||0==i&&0==a}},setupTypeNumber:function(t){for(var e=h.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!t&&1==(e>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(var n=0;n<18;n++){var r=!t&&1==(e>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},setupTypeInfo:function(t,e){for(var n=this.errorCorrectLevel<<3|e,r=h.getBCHTypeInfo(n),o=0;o<15;o++){var i=!t&&1==(r>>o&1);o<6?this.modules[o][8]=i:o<8?this.modules[o+1][8]=i:this.modules[this.moduleCount-15+o][8]=i}for(var o=0;o<15;o++){var i=!t&&1==(r>>o&1);o<8?this.modules[8][this.moduleCount-o-1]=i:o<9?this.modules[8][15-o-1+1]=i:this.modules[8][15-o-1]=i}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var n=-1,r=this.moduleCount-1,o=7,i=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[r][a-s]){var c=!1;i<t.length&&(c=1==(t[i]>>>o&1));var u=h.getMask(e,r,a-s);u&&(c=!c),this.modules[r][a-s]=c,o--,-1==o&&(i++,o=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}}},e.PAD0=236,e.PAD1=17,e.createData=function(t,n,r){for(var i=o.getRSBlocks(t,n),s=new a,c=0;c<r.length;c++){var u=r[c];s.put(u.mode,4),s.put(u.getLength(),h.getLengthInBits(u.mode,t)),u.write(s)}for(var l=0,c=0;c<i.length;c++)l+=i[c].dataCount;if(s.getLengthInBits()>8*l)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*l+")");for(s.getLengthInBits()+4<=8*l&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;;){if(s.getLengthInBits()>=8*l)break;if(s.put(e.PAD0,8),s.getLengthInBits()>=8*l)break;s.put(e.PAD1,8)}return e.createBytes(s,i)},e.createBytes=function(t,e){for(var r=0,o=0,i=0,a=new Array(e.length),s=new Array(e.length),c=0;c<e.length;c++){var u=e[c].dataCount,l=e[c].totalCount-u;o=Math.max(o,u),i=Math.max(i,l),a[c]=new Array(u);for(var f=0;f<a[c].length;f++)a[c][f]=255&t.buffer[f+r];r+=u;var d=h.getErrorCorrectPolynomial(l),p=new n(a[c],d.getLength()-1),g=p.mod(d);s[c]=new Array(d.getLength()-1);for(var f=0;f<s[c].length;f++){var v=f+g.getLength()-s[c].length;s[c][f]=v>=0?g.get(v):0}}for(var m=0,f=0;f<e.length;f++)m+=e[f].totalCount;for(var y=new Array(m),w=0,f=0;f<o;f++)for(var c=0;c<e.length;c++)f<a[c].length&&(y[w++]=a[c][f]);for(var f=0;f<i;f++)for(var c=0;c<e.length;c++)f<s[c].length&&(y[w++]=s[c][f]);return y};for(var l={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},f={L:1,M:0,Q:3,H:2},d={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},h={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;h.getBCHDigit(e)-h.getBCHDigit(h.G15)>=0;)e^=h.G15<<h.getBCHDigit(e)-h.getBCHDigit(h.G15);return(t<<10|e)^h.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;h.getBCHDigit(e)-h.getBCHDigit(h.G18)>=0;)e^=h.G18<<h.getBCHDigit(e)-h.getBCHDigit(h.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return h.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case d.PATTERN000:return(e+n)%2==0;case d.PATTERN001:return e%2==0;case d.PATTERN010:return n%3==0;case d.PATTERN011:return(e+n)%3==0;case d.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case d.PATTERN101:return e*n%2+e*n%3==0;case d.PATTERN110:return(e*n%2+e*n%3)%2==0;case d.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new n([1],0),r=0;r<t;r++)e=e.multiply(new n([1,p.gexp(r)],0));return e},getLengthInBits:function(t,e){if(e>=1&&e<10)switch(t){case l.MODE_NUMBER:return 10;case l.MODE_ALPHA_NUM:return 9;case l.MODE_8BIT_BYTE:case l.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case l.MODE_NUMBER:return 12;case l.MODE_ALPHA_NUM:return 11;case l.MODE_8BIT_BYTE:return 16;case l.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case l.MODE_NUMBER:return 14;case l.MODE_ALPHA_NUM:return 13;case l.MODE_8BIT_BYTE:return 16;case l.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),n=0,r=0;r<e;r++)for(var o=0;o<e;o++){for(var i=0,a=t.isDark(r,o),s=-1;s<=1;s++)if(!(r+s<0||e<=r+s))for(var c=-1;c<=1;c++)o+c<0||e<=o+c||0==s&&0==c||a==t.isDark(r+s,o+c)&&i++;i>5&&(n+=3+i-5)}for(var r=0;r<e-1;r++)for(var o=0;o<e-1;o++){var u=0;t.isDark(r,o)&&u++,t.isDark(r+1,o)&&u++,t.isDark(r,o+1)&&u++,t.isDark(r+1,o+1)&&u++,0!=u&&4!=u||(n+=3)}for(var r=0;r<e;r++)for(var o=0;o<e-6;o++)t.isDark(r,o)&&!t.isDark(r,o+1)&&t.isDark(r,o+2)&&t.isDark(r,o+3)&&t.isDark(r,o+4)&&!t.isDark(r,o+5)&&t.isDark(r,o+6)&&(n+=40);for(var o=0;o<e;o++)for(var r=0;r<e-6;r++)t.isDark(r,o)&&!t.isDark(r+1,o)&&t.isDark(r+2,o)&&t.isDark(r+3,o)&&t.isDark(r+4,o)&&!t.isDark(r+5,o)&&t.isDark(r+6,o)&&(n+=40);for(var l=0,o=0;o<e;o++)for(var r=0;r<e;r++)t.isDark(r,o)&&l++;return n+=Math.abs(100*l/e/e-50)/5*10}},p={glog:function(t){if(t<1)throw new Error("glog("+t+")");return p.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return p.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},g=0;g<8;g++)p.EXP_TABLE[g]=1<<g;for(var g=8;g<256;g++)p.EXP_TABLE[g]=p.EXP_TABLE[g-4]^p.EXP_TABLE[g-5]^p.EXP_TABLE[g-6]^p.EXP_TABLE[g-8];for(var g=0;g<255;g++)p.LOG_TABLE[p.EXP_TABLE[g]]=g;n.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),r=0;r<this.getLength();r++)for(var o=0;o<t.getLength();o++)e[r+o]^=p.gexp(p.glog(this.get(r))+p.glog(t.get(o)));return new n(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=p.glog(this.get(0))-p.glog(t.get(0)),r=new Array(this.getLength()),o=0;o<this.getLength();o++)r[o]=this.get(o);for(var o=0;o<t.getLength();o++)r[o]^=p.gexp(p.glog(t.get(o))+e);return new n(r,0).mod(t)}},o.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],o.getRSBlocks=function(t,e){var n=o.getRsBlockTable(t,e);if(void 0==n)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var r=n.length/3,i=[],a=0;a<r;a++)for(var s=n[3*a+0],c=n[3*a+1],u=n[3*a+2],l=0;l<s;l++)i.push(new o(c,u));return i},o.getRsBlockTable=function(t,e){switch(e){case f.L:return o.RS_BLOCK_TABLE[4*(t-1)+0];case f.M:return o.RS_BLOCK_TABLE[4*(t-1)+1];case f.Q:return o.RS_BLOCK_TABLE[4*(t-1)+2];case f.H:return o.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},a.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var n=0;n<e;n++)this.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var v=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]],m=function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){function e(t,e){var n=document.createElementNS("http://www.w3.org/2000/svg",t);for(var r in e)e.hasOwnProperty(r)&&n.setAttribute(r,e[r]);return n}var n=this._htOption,r=this._el,o=t.getModuleCount();Math.floor(n.width/o),Math.floor(n.height/o);this.clear();var i=e("svg",{viewBox:"0 0 "+String(o)+" "+String(o),width:"100%",height:"100%",fill:n.colorLight});i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),r.appendChild(i),i.appendChild(e("rect",{fill:n.colorLight,width:"100%",height:"100%"})),i.appendChild(e("rect",{fill:n.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;a<o;a++)for(var s=0;s<o;s++)if(t.isDark(a,s)){var c=e("use",{x:String(s),y:String(a)});c.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),i.appendChild(c)}},t.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},t}(),y="svg"===document.documentElement.tagName.toLowerCase(),w=y?m:function(){return"undefined"!=typeof CanvasRenderingContext2D}()?function(){function t(){try{var t=this._elCanvas.toDataURL("image/png");return i.a.resolve(t)}catch(t){return i.a.reject("toDataURL failed")}}function e(t,e){var n=this;return n._fFail=e,n._fSuccess=t,null===n._bSupportDataURI?new i.a(function(t,e){var r=document.createElement("img"),o=function(){n._bSupportDataURI=!1,n._fFail&&(n._fFail.call(n),e("Browser doesn't supports Data URI"))},i=function(){n._bSupportDataURI=!0,n._fSuccess&&t(n._fSuccess.call(n))};r.onabort=o,r.onerror=o,r.onload=i,r.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="}):!0===n._bSupportDataURI&&n._fSuccess?n._fSuccess.call(n):!1===n._bSupportDataURI&&n._fFail?(n._fFail.call(n),i.a.reject("Browser doesn't supports Data URI")):void 0}var n=s();if(n&&n<=2.1){var r=1/window.devicePixelRatio,o=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(t,e,n,i,a,s,c,u,l){if("nodeName"in t&&/img/i.test(t.nodeName))for(var f=arguments.length-1;f>=1;f--)arguments[f]=arguments[f]*r;else void 0===u&&(arguments[1]*=r,arguments[2]*=r,arguments[3]*=r,arguments[4]*=r);o.apply(this,arguments)}}var a=function(t,e){this._bIsPainted=!1,this._android=s(),this._htOption=e,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=e.width,this._elCanvas.height=e.height,this._elCanvas.style.display="none",this._el=t,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage="",this._bSupportDataURI=null};return a.prototype.draw=function(t){var e=(this._elImage,this._oContext),n=this._htOption,r=t.getModuleCount(),o=n.width/r,i=n.height/r,a=Math.round(o),s=Math.round(i);this.clear();for(var c=0;c<r;c++)for(var u=0;u<r;u++){var l=t.isDark(c,u),f=u*o,d=c*i;e.strokeStyle=l?n.colorDark:n.colorLight,e.lineWidth=1,e.fillStyle=l?n.colorDark:n.colorLight,e.fillRect(f,d,o,i),e.strokeRect(Math.floor(f)+.5,Math.floor(d)+.5,a,s),e.strokeRect(Math.ceil(f)-.5,Math.ceil(d)-.5,a,s)}this._bIsPainted=!0},a.prototype.makeImage=function(){if(this._bIsPainted)return e.call(this,t)},a.prototype.isPainted=function(){return this._bIsPainted},a.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},a.prototype.round=function(t){return t?Math.floor(1e3*t)/1e3:t},a}():function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){for(var e=this._htOption,n=this._el,r=t.getModuleCount(),o=Math.floor(e.width/r),i=Math.floor(e.height/r),a=['<table style="border:0;border-collapse:collapse;">'],s=0;s<r;s++){a.push("<tr>");for(var c=0;c<r;c++)a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+o+"px;height:"+i+"px;background-color:"+(t.isDark(s,c)?e.colorDark:e.colorLight)+';"></td>');a.push("</tr>")}a.push("</table>"),n.innerHTML=a.join("");var u=n.childNodes[0],l=(e.width-u.offsetWidth)/2,f=(e.height-u.offsetHeight)/2;l>0&&f>0&&(u.style.margin=f+"px "+l+"px")},t.prototype.clear=function(){this._el.innerHTML=""},t}();r=function(t,e){if(this.reset(),"string"==typeof t&&(t={text:t}),t)for(var n in t)this._htOption[n]=t[n];this._htOption.useSVG&&(w=m),this._android=s(),this._el=e,this._oQRCode=null,this._oDrawing=new w(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},r.prototype.reset=function(){this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:f.H}},r.prototype.makeCode=function(t){return this._oQRCode=new e(c(t,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(t),this._oQRCode.make(),this._oDrawing.draw(this._oQRCode),this.makeImage()},r.prototype.makeImage=function(){if("function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3))return this._oDrawing.makeImage()},r.prototype.clear=function(){this.reset(),this._oDrawing.clear()},r.CorrectLevel=f}(),e.a=r},107:function(t,e,n){var r=n(26),o=n(3)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:i?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},108:function(t,e,n){"use strict";function r(t){s||n(120)}var o=n(105),i=n(121),a=n(1),s=!1,c=r,u=Object(a.a)(o.a,i.a,i.b,!1,c,null,null);u.options.__file="src\\components\\common\\popup.vue",e.a=u.exports},11:function(t,e,n){var r=n(47),o=n(29);t.exports=function(t){return r(o(t))}},110:function(t,e,n){var r=n(9),o=n(40),i=n(3)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[i])?e:o(n)}},111:function(t,e,n){var r,o,i,a=n(38),s=n(146),c=n(60),u=n(41),l=n(2),f=l.process,d=l.setImmediate,h=l.clearImmediate,p=l.MessageChannel,g=l.Dispatch,v=0,m={},y=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},w=function(t){y.call(t.data)};d&&h||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++v]=function(){s("function"==typeof t?t:Function(t),e)},r(v),v},h=function(t){delete m[t]},"process"==n(26)(f)?r=function(t){f.nextTick(a(y,t,1))}:g&&g.now?r=function(t){g.now(a(y,t,1))}:p?(o=new p,i=o.port2,o.port1.onmessage=w,r=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",w,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:d,clear:h}},112:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},113:function(t,e,n){var r=n(9),o=n(10),i=n(68);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},115:function(t,e,n){var r=n(107),o=n(3)("iterator"),i=n(18);t.exports=n(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},116:function(t,e,n){"use strict";function r(t){t.preventDefault()}var o={watch:{isVisible:function(t){t?document.body.addEventListener("touchmove",r,{passive:!1}):document.body.removeEventListener("touchmove",r,{passive:!1})}},beforeDestroy:function(){document.body.removeEventListener("touchmove",r,{passive:!1})}};e.a=o},117:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},120:function(t,e){},121:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-popup",class:t.typeClass,style:{pointerEvents:t.pointerEvent,zIndex:t.zIndex}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.mask,expression:"mask"}],staticClass:"act-popup-mask act-row act-middle",style:{backgroundColor:t.maskBgColor},on:{click:t.maskClick}},[t._t("mask")],2),t._v(" "),n("div",{staticClass:"act-popup-container",class:{"act-popup-center":t.center}},[t.$slots.default?n("div",{class:{"act-popup-content":!0,"act-popup-top-radius":t.topBorderRadius}},[t._t("default")],2):n("div",{class:{"act-popup-content":!0,"act-popup-top-radius":t.topBorderRadius},domProps:{innerHTML:t._s(t.content)}})])])},o=[];r._withStripped=!0},123:function(t,e,n){var r=n(38),o=n(136),i=n(137),a=n(9),s=n(59),c=n(115),u={},l={},e=t.exports=function(t,e,n,f,d){var h,p,g,v,m=d?function(){return t}:c(t),y=r(n,f,e?2:1),w=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(h=s(t.length);h>w;w++)if((v=e?y(a(p=t[w])[0],p[1]):y(t[w]))===u||v===l)return v}else for(g=m.call(t);!(p=g.next()).done;)if((v=o(g,y,p.value,e))===u||v===l)return v};e.BREAK=u,e.RETURN=l},1231:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(52),o=n.n(r),i=n(1062);e.default=function(t){return new o.a(function(e,n){var r=t.text;r||n(new Error("qrcode options need text field")),new i.a(t).makeCode(r).then(function(t){e(t)}).catch(function(t){console.error(t),n(t)})})}},124:function(t,e,n){t.exports={default:n(186),__esModule:!0}},13:function(t,e,n){var r=n(2),o=n(0),i=n(38),a=n(7),s=n(6),c=function(t,e,n){var u,l,f,d=t&c.F,h=t&c.G,p=t&c.S,g=t&c.P,v=t&c.B,m=t&c.W,y=h?o:o[e]||(o[e]={}),w=y.prototype,A=h?r:p?r[e]:(r[e]||{}).prototype;h&&(n=e);for(u in n)(l=!d&&A&&void 0!==A[u])&&s(y,u)||(f=l?A[u]:n[u],y[u]=h&&"function"!=typeof A[u]?n[u]:v&&l?i(f,r):m&&A[u]==f?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.prototype=t.prototype,e}(f):g&&"function"==typeof f?i(Function.call,f):f,g&&((y.virtual||(y.virtual={}))[u]=f,t&c.R&&w&&!w[u]&&a(w,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},1353:function(t,e,n){"use strict";function r(){}function o(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;s&&s.invoke({path:"/weixin/share",data:{scene:t,type:e.type,title:"timeline"===t?e.timeline:e.title,description:e.desc,thumb:e.thumb,url:"webpage"===e.type?e.url:e.imgData},unsupport:function(){e.unsupport&&(n?e.unsupport.call(n):e.unsupport())},success:function(t){e.succ&&(n?e.succ.call(n):e.succ())},fail:function(t){e.fail&&(n?e.fail.call(n):e.fail())}})}function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;s&&s.invoke({path:"/image/storage",data:{src:t},success:e})}e.b=o,e.a=i;var a=n(4),s=null;a.K.isKcbApp?s=window.kcbJs:a.K.isXysApp&&(s=window.xysJs)},1356:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(52),o=n.n(r),i=n(207),a=n.n(i),s=n(208),c=n.n(s),u=n(58),l=n.n(u),f=n(214),d=n.n(f),h=n(1231),p=n(62),g={},v=function(){function t(){d()(this,t)}return t.prototype.setOptions=function(t){this.options=t,this.type=t.type?t.type:"jpeg",this.q=t.q?t.q:1,this.bg=null},t.prototype.getOptionsKey=function(){var t=l()(this.options);return this.options.drawText&&(t+=this.options.drawText.toString()),t},t.prototype.getQrCode=function(){function t(t){return e.apply(this,arguments)}var e=c()(a.a.mark(function t(e){var n;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(h.default)(e);case 2:return n=t.sent,e.url=n,t.abrupt("return",this.setImgAttr(e));case 5:case"end":return t.stop()}},t,this)}));return t}(),t.prototype.getBg=function(){function t(t){return e.apply(this,arguments)}var e=c()(a.a.mark(function t(e){var n;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.setImgAttr(e);case 2:return n=t.sent,n.width=n.img.naturalWidth?n.img.naturalWidth:n.img.width,n.height=n.img.naturalHeight?n.img.naturalHeight:n.img.height,t.abrupt("return",n);case 6:case"end":return t.stop()}},t,this)}));return t}(),t.prototype.setImgAttr=function(t){return new o.a(function(e,n){var r=new Image;r.onload=r.oncomplete=function(){t.img=r,e(t)},r.onabort=r.onerror=function(){n(new Error(r.src+" load failed"))},t.url.match(/^data:image/)||(r.crossOrigin="Anonymous"),r.src=t.url})},t.prototype.loadSource=function(t){return t.bg?this.getBg(t):t.qrcode?this.getQrCode(t):this.setImgAttr(t)},t.prototype.loadImg=function(){var t=this;return new o.a(function(e,n){for(var r=[],i=0;i<t.options.imgs.length;++i){var a=t.options.imgs[i],s=Object(p.a)({},a);s.bg&&(t.bg=s),r.push(t.loadSource(s))}t.bg?o.a.all(r).then(function(t){e(t)}).catch(function(t){n(t)}):n(new Error('imgs property must have one item which has "bg" property'))})},t.prototype.drawCircleImage=function(t,e,n,r,o){t.save();var i=2*o,a=n+o,s=r+o;t.arc(a,s,o,0,2*Math.PI),t.clip(),t.drawImage(e,n,r,i,i),t.restore()},t.prototype.draw=function(t){try{var e=document.createElement("canvas");e.width=this.bg.width,e.height=this.bg.height;var n=e.getContext("2d");this.options.setContext?this.options.setContext(n,e.width,e.height):(n.fillStyle="#fff",n.fillRect(0,0,e.width,e.height)),n.drawImage(this.bg.img,0,0,this.bg.width,this.bg.height);for(var r=0;r<t.length;++r){var o=t[r];o.img!==this.bg.img&&(o.circle?this.drawCircleImage(n,o.img,o.x,o.y,o.width/2):n.drawImage(o.img,o.x,o.y,o.width,o.height))}this.options.drawText&&(n.save(),this.options.drawText(n,e.width,e.height),n.restore());return{data:e.toDataURL("image/"+this.type,this.q),width:e.width,height:e.height}}catch(t){return console.error(t),""}},t}(),m=function(t){return new o.a(function(e,n){var r=new v;r.setOptions(t);var o=r.getOptionsKey();t.useCache&&g[o]?e(g[o]):r.loadImg().then(function(t){var i=r.draw(t);i?(setTimeout(function(){g[o]=i},0),e(i)):n(new Error("get base64 error"))}).catch(function(t){n(t)})})};e.default=m},136:function(t,e,n){var r=n(9);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},137:function(t,e,n){var r=n(18),o=n(3)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},139:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},14:function(t,e,n){"use strict";function r(t,e){return function(n,r){var a=this,s=Object(o.a)(n),c=Object(i.a)(e,t,s,r),u=c.$parent,l=c.remove,f=c.show,d=c.hide;return c.remove=function(){c.$removed=!0,l&&l.call(this),u.destroy()},c.show=function(){return f&&f.call.apply(f,[this].concat(Array.prototype.slice.call(arguments))),this},c.hide=function(){return d&&d.call.apply(d,[this].concat(Array.prototype.slice.call(arguments))),this},a&&a._isVue&&a.$once("hook:beforeDestroy",function(){c.$removed||c.remove()}),c}}e.a=r;var o=n(102),i=n(104)},140:function(t,e,n){var r=n(7);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},141:function(t,e,n){var r=n(3)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},142:function(t,e,n){"use strict";var r=n(2),o=n(0),i=n(8),a=n(5),s=n(3)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];a&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},144:function(t,e,n){n(61),n(53),n(56),n(145),n(149),n(150),t.exports=n(0).Promise},145:function(t,e,n){"use strict";var r,o,i,a,s=n(16),c=n(2),u=n(38),l=n(107),f=n(13),d=n(10),h=n(40),p=n(139),g=n(123),v=n(110),m=n(111).set,y=n(147)(),w=n(68),A=n(112),b=n(148),x=n(113),_=c.TypeError,C=c.process,O=C&&C.versions,E=O&&O.v8||"",k=c.Promise,S="process"==l(C),L=function(){},M=o=w.f,j=!!function(){try{var t=k.resolve(1),e=(t.constructor={})[n(3)("species")]=function(t){t(L,L)};return(S||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof e&&0!==E.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),T=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},B=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!function(e){var n,i,a,s=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(o||(2==t._h&&N(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(_("Promise-chain cycle")):(i=T(n))?i.call(n,c,u):c(n)):u(r)}catch(t){l&&!a&&l.exit(),u(t)}}(n[i++]);t._c=[],t._n=!1,e&&!t._h&&P(t)})}},P=function(t){m.call(c,function(){var e,n,r,o=t._v,i=I(t);if(i&&(e=A(function(){S?C.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=S||I(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},I=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){m.call(c,function(){var e;S?C.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},D=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),B(e,!0))},R=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw _("Promise can't be resolved itself");(e=T(t))?y(function(){var r={_w:n,_d:!1};try{e.call(t,u(R,r,1),u(D,r,1))}catch(t){D.call(r,t)}}):(n._v=t,n._s=1,B(n,!1))}catch(t){D.call({_w:n,_d:!1},t)}}};j||(k=function(t){p(this,k,"Promise","_h"),h(t),r.call(this);try{t(u(R,this,1),u(D,this,1))}catch(t){D.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(140)(k.prototype,{then:function(t,e){var n=M(v(this,k));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=S?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&B(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=u(R,t,1),this.reject=u(D,t,1)},w.f=M=function(t){return t===k||t===a?new i(t):o(t)}),f(f.G+f.W+f.F*!j,{Promise:k}),n(27)(k,"Promise"),n(142)("Promise"),a=n(0).Promise,f(f.S+f.F*!j,"Promise",{reject:function(t){var e=M(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!j),"Promise",{resolve:function(t){return x(s&&this===a?k:this,t)}}),f(f.S+f.F*!(j&&n(141)(function(t){k.all(t).catch(L)})),"Promise",{all:function(t){var e=this,n=M(e),r=n.resolve,o=n.reject,i=A(function(){var n=[],i=0,a=1;g(t,!1,function(t){var s=i++,c=!1;n.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,n[s]=t,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=M(e),r=n.reject,o=A(function(){g(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},146:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},147:function(t,e,n){var r=n(2),o=n(111).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(26)(a);t.exports=function(){var t,e,n,u=function(){var r,o;for(c&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){o.call(r,u)};else{var f=!0,d=document.createTextNode("");new i(u).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},148:function(t,e,n){var r=n(2),o=r.navigator;t.exports=o&&o.userAgent||""},149:function(t,e,n){"use strict";var r=n(13),o=n(0),i=n(2),a=n(110),s=n(113);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},15:function(t,e,n){var r=n(50),o=n(33);t.exports=Object.keys||function(t){return r(t,o)}},150:function(t,e,n){"use strict";var r=n(13),o=n(68),i=n(112);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},1523:function(t,e,n){"use strict";var r=n(108),o=n(20),i=n(116),a=n(339),s=n(1857),c=n(1356),u=n(253),l=n(96),f=n(4),d=n(1353);e.a={name:"ActPosterLayer",mixins:[o.a,i.a,s.a,a.a],data:function(){return{shareIcon:"arrow-share",showLoading:!1,longPressId:"",isApp:!!f.K.isApp}},computed:{shareIconId:function(){return"icon-"+this.shareIcon},_showDesc:function(){return this.showDesc?!(!f.K.isWx&&!f.K.isApp):this.showDesc}},watch:{isVisible:function(t){var e=this;t&&(this._showArrow&&this.$nextTick(function(){e.changeIconColor(e._title.color?e._title.color:e.themeColor)}),this.showLoading=!0,Object(c.default)(this._options).then(function(t){e.showLoading=!1,e.imgData=t.data,e.$emit("done",e.imgData)}).catch(function(t){console.log(t)}))}},methods:{changeIconColor:function(t){document.getElementById("icon-arrow-share").querySelector("path").setAttribute("fill",t)},oneBtnClick:function(t){this._btn[0].handle(this,t)},twoBtnClick:function(t,e){this._btn[t].handle(this,e)},appLongPressStart:function(){var t=this;t.longPressId=setTimeout(function(){t.handleLongPress()},1e3)},appLongPressEnd:function(){clearTimeout(this.longPressId)},handleLongPress:function(){var t=this;Object(d.a)(this.imgData,function(){t.$emit("longpress")})},clickMask:function(t){this.hide()}},components:{ActPopup:r.a,svgIcon:l.a,ActLoading:u.default}}},16:function(t,e){t.exports=!0},163:function(t,e,n){"use strict";var r=n(219);!function(t){t.keys().map(t)}(r),e.a={name:"SvgIcon",props:{iconClass:{type:String,required:!0,default:""},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}},mounted:function(){}}},18:function(t,e){t.exports={}},1854:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),o=n(1855);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createPosterLayer=Object(r.a)(o.a,t)},e.default=o.a},1855:function(t,e,n){"use strict";function r(t){s||n(1856)}var o=n(1523),i=n(1858),a=n(1),s=!1,c=r,u=Object(a.a)(o.a,i.a,i.b,!1,c,"data-v-4c6a07bc",null);u.options.__file="src\\components\\PosterLayer\\src\\index.vue",e.a=u.exports},1856:function(t,e){},1857:function(t,e,n){"use strict";var r=n(124),o=n.n(r),i=n(4),a=n(62),s=n(1353);e.a={data:function(){return{imgData:""}},props:{title:{type:[String,Object],default:""},desc:{type:[String,Object],default:""},showDesc:{type:Boolean,default:!0},options:{type:Object,required:!0,default:function(){return{}}},showArrow:{type:[String,Boolean],default:""},shareInfo:{type:Object,default:function(){return{}}},leftbtn:{type:[Object,String],default:""},rightbtn:{type:[Object,String],default:""},ignoreAppBtn:{type:Boolean,default:!1},loading:{type:Object,default:function(){return{}}},opacity:{type:[String,Number],default:.7},themeColor:{type:String,default:"#ffe96f"},zIndex:{type:[String,Number],default:999}},computed:{_title:function(){return Object(i.D)(this.title)?{txt:this.title||"点击右上角分享链接",color:this.themeColor}:this.title},_desc:function(){return Object(i.D)(this.desc)?{txt:this.desc||"也可长按图片,保存分享",color:"#ffffff"}:this.desc},_options:function(){return this.options},_shareInfo:function(){for(var t=this,e=Object(a.a)({},this.shareInfo),n=["succ","fail","unsupport"],r=n,i=Array.isArray(r),s=0,r=i?r:o()(r);;){var c;if(i){if(s>=r.length)break;c=r[s++]}else{if(s=r.next(),s.done)break;c=s.value}var u=c;e[u]=function(e){return function(){t.hide(),e&&e(t)}}(e[u])}return e.type||(e.type="webpage"),e.imgData=this.imgData,e.url||(e.url=location.href),e},_btn:function(){var t=this,e=void 0,n={txt:"返回",color:"#fff",bgcolor:"",handle:function(e){t.hide()}},r={txt:"分享好友",color:"#000",bgcolor:"#fff",handle:function(e){Object(s.b)("friend",t._shareInfo)}},o={txt:"分享朋友圈",color:"#000",bgcolor:"#fff",handle:function(e){Object(s.b)("timeline",t._shareInfo)}};return i.K.isApp&&!0!==this.ignoreAppBtn?(r=Object(a.a)(r,this.leftbtn||{}),o=Object(a.a)(o,this.rightbtn||{}),e=[r,o]):(n=Object(a.a)(n,this.rightbtn||this.leftbtn||{}),e=[n]),e},_loading:function(){var t={type:"",size:40,color:this.themeColor};return Object(a.a)(t,this.loading)},_showArrow:function(){return Object(i.D)(this.showArrow)?!(!i.K.isWx&&!i.K.isApp):this.showArrow}}}},1858:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("act-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{zIndex:t.zIndex,opacity:t.opacity},nativeOn:{click:function(e){return t.clickMask.apply(null,arguments)}},scopedSlots:t._u([{key:"mask",fn:function(){return[n("div",{staticClass:"act-posterlayer",style:{"font-size":t._fontSize}},[n("div",{staticClass:"poster-header"},[n("div",{staticClass:"title",style:{color:t._title.color}},[t._v("\n "+t._s(t._title.txt)+"\n ")]),t._v(" "),t.showDesc?n("div",{staticClass:"desc",style:{color:t._desc.color}},[t._v("\n "+t._s(t._desc.txt)+"\n ")]):t._e(),t._v(" "),t._showArrow?n("div",{staticClass:"arrow",style:{bottom:t.showDesc?"0.5em":"-1.4em"}},[n("svg-icon",{attrs:{iconClass:t.shareIcon}})],1):t._e()]),t._v(" "),n("div",{staticClass:"poster-img act-row act-middle"},[t.showLoading?n("act-loading",{directives:[{name:"show",rawName:"v-show",value:t.showLoading,expression:"showLoading"}],attrs:{type:t._loading.type,size:t._loading.size,color:t._loading.color}}):t.imgData&&t.isApp?n("img",{staticClass:"poster",attrs:{src:t.imgData},on:{touchstart:function(e){return e.preventDefault(),t.appLongPressStart.apply(null,arguments)},touchend:t.appLongPressEnd}}):t.imgData?n("img",{staticClass:"poster",attrs:{src:t.imgData},on:{touchend:function(t){t.preventDefault()}}}):t._e()],1),t._v(" "),n("div",{staticClass:"poster-btn"},[1===t._btn.length?n("div",{staticClass:"one-btn",style:{color:t._btn[0].color,border:"1px solid "+t._btn[0].color,"background-color":t._btn[0].bgcolor},on:{click:function(e){return e.stopPropagation(),t.oneBtnClick.apply(null,arguments)}}},[n("span",[t._v(t._s(t._btn[0].txt))])]):2===t._btn.length?n("div",{staticClass:"two-btn"},t._l(t._btn,function(e,r){return n("div",{key:r,style:{"background-color":e.bgcolor},on:{click:function(e){for(var n=arguments.length,o=Array(n);n--;)o[n]=arguments[n];return e.stopPropagation(),t.twoBtnClick.apply(void 0,[r].concat(o))}}},[n("span",{style:{color:e.color}},[t._v(t._s(e.txt))])])}),0):t._e()])])]},proxy:!0}])})},o=[];r._withStripped=!0},186:function(t,e,n){n(56),n(53),t.exports=n(187)},187:function(t,e,n){var r=n(9),o=n(115);t.exports=n(0).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},19:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},191:function(t,e,n){"use strict";var r=n(270),o={};r.keys().forEach(function(t){var e=r(t);e=e.default||e;var n=e.name;n&&(o[n.toLowerCase()]=e)}),e.a={name:"ActLoading",functional:!0,props:{type:{type:String,default:"default"}},render:function(t,e){var n=e.props.type;return!n&&(n="default"),t(o[n.toLowerCase()],e.data,e.children)}}},192:function(t,e,n){"use strict";var r=n(20);e.a={name:"Cir1",mixins:[r.a],props:{size:{type:Number,default:40},thick:{type:Number,default:.4},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{localThick:function(){return this.thick/2},loadingWidth:function(){return Math.floor(this.size*(1-2*this.localThick))},loadingHeight:function(){return this.loadingWidth},borderWidth:function(){return Math.floor(this.size*this.localThick)<=0?1:Math.floor(this.size*this.localThick)},styleObj:function(){return{width:this.loadingWidth+"px",height:this.loadingHeight+"px",borderWidth:this.borderWidth+"px",borderStyle:"solid",borderColor:"transparent currentColor transparent currentColor"}}}}},193:function(t,e,n){"use strict";var r=n(20);e.a={name:"Cir2",mixins:[r.a],props:{size:{type:Number,default:40},thick:{type:Number,default:.4},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{localThick:function(){return this.thick/2},loadingWidth:function(){return Math.floor(this.size*(1-2*this.localThick))},loadingHeight:function(){return this.loadingWidth},borderWidth:function(){return Math.floor(this.size*this.localThick)<=0?1:Math.floor(this.size*this.localThick)},styleObj:function(){return{width:this.loadingWidth+"px",height:this.loadingHeight+"px",borderWidth:this.borderWidth+"px",borderStyle:"solid",borderColor:"transparent currentColor currentColor currentColor"}}}}},194:function(t,e,n){"use strict";var r=n(20);e.a={name:"Cir3",mixins:[r.a],props:{size:{type:Number,default:40},thick:{type:Number,default:.4},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{localThick:function(){return this.thick/2},loadingWidth:function(){return Math.floor(this.size*(1-2*this.localThick))},loadingHeight:function(){return this.loadingWidth},borderWidth:function(){return Math.floor(this.size*this.localThick)<=0?1:Math.floor(this.size*this.localThick)},styleObj:function(){return{width:this.loadingWidth+"px",height:this.loadingHeight+"px",borderWidth:this.borderWidth+"px",borderStyle:"solid",borderColor:"currentColor transparent transparent transparent"}},maskStyle:function(){return{top:"-"+this.borderWidth+"px",right:"-"+this.borderWidth+"px",bottom:"-"+this.borderWidth+"px",left:"-"+this.borderWidth+"px",border:this.borderWidth+"px solid currentcolor"}}}}},195:function(t,e,n){"use strict";var r=n(20);e.a={name:"Cir4",mixins:[r.a],props:{size:{type:Number,default:40},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{loadingWidth:function(){retu