pages-index-index.3260bb3b.js
124.1 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"004a":function(t,e,a){"use strict";a.r(e);var n=a("388c"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"01cf":function(t,e,a){"use strict";a.r(e);var n=a("e0e2"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},1477:function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"skeletons_box"},[a("v-uni-image",{staticClass:"img",attrs:{src:t.skeletonsDot[t.type],mode:"widthFix"}}),a("v-uni-image",{staticClass:"loading",attrs:{src:"/static/imgs/logo/logo.gif",mode:""}})],1)},o=[]},"2ab7":function(t,e,a){var n=a("9702");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("5be72af6",n,!0,{sourceMap:!1,shadowMode:!1})},"388c":function(t,e,a){"use strict";var n=a("4ea4");a("d3b7"),a("3ca3"),a("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("5530")),o=n(a("2d40")),r=n(a("46c1")),d=n(a("d88c")),s=n(a("c48f")),l=n(a("fdef")),c=n(a("2d31")),p=n(a("9207")),f=n(a("b2eb")),g=n(a("9e75")),u=n(a("320a")),b=n(a("d72c")),h=n(a("bc83")),m=n(a("37dd")),v=n(a("bc7d")),x=n(a("d43f")),y=n(a("0d61")),w=n(a("f5d3")),k=a("2f62"),E=n(a("ac75")),C=(document.body,{components:{shSearch:o.default,shBanner:r.default,shUserinfo:b.default,shHotGoods:d.default,shTitleCard:m.default,shOrder:v.default,shWallet:x.default,shMenu:s.default,shAdv:l.default,shGrid:h.default,shCoupon:c.default,shSeckill:p.default,shGroupon:f.default,shRichtext:g.default,shNav:u.default,shoproNoticeModal:y.default,shoproSkeletons:w.default},data:function(){return{bgcolor:"",mode:"",showPrivacy:!1,showNoticeModal:!0,triggered:!1,_freshing:!1,emptyData:{img:"/static/imgs/empty/template_empty.png",tip:"暂未找到模板,赶快去装修吧~"}}},computed:(0,i.default)((0,i.default)({},(0,k.mapState)({initData:function(t){return t.init.initData},template:function(t){var e;return null===(e=t.init.templateData)||void 0===e?void 0:e.home},hasTemplate:function(t){return t.init.hasTemplate},cartNum:function(t){return t.cart.cartNum},forceOauth:function(t){return t.user.forceOauth}})),{},{popupIndex:function(){if(this.initData.popup)return this.initData.popup.content.index},info:function(){if(this.initData.info)return this.initData.info}}),onPullDownRefresh:function(){this.init()},onLoad:function(t){},mounted:function(){uni.getStorageSync("screenShot")&&this.screenShotPreviewImage()},onShow:function(){this.$store.commit("CART_NUM",this.cartNum),this.info&&this.info.name&&uni.setNavigationBarTitle({title:this.info.name})},methods:(0,i.default)((0,i.default)((0,i.default)({},(0,k.mapMutations)(["CART_NUM"])),(0,k.mapActions)(["getAppInit","getTemplate"])),{},{init:function(){return Promise.all([this.getAppInit(),this.getTemplate()]).then((function(){uni.stopPullDownRefresh()}))},getbgcolor:function(t){this.bgcolor=t},jump:function(t,e){this.$Router.push({path:t,query:e})},screenShotPreviewImage:function(){var t=this,e=window.window.document.getElementsByClassName("page_box");(0,E.default)(e[0],{x:0,y:0,scrollX:0,scrollY:0,backgroundColor:"#ffffff",foreignObjectRendering:!0,allowTaint:!1,taintTest:!0,scale:1,width:e[0].offsetWidth,height:e[0].offsetHeight,useCORS:!0}).then((function(e){var a=e.toDataURL();t.$api("uploadBase64",{content:a}).then((function(e){1===e.code&&(t.$api("dev.asyncDecorateScreenShot",{shop_id:uni.getStorageSync("shop_id"),image:e.data.url}),uni.removeStorageSync("screenShot"),uni.removeStorageSync("shop_id"))}))}))}})});e.default=C},4036:function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"y-f",class:{"shopro-empty":t.isFixed}},[a("v-uni-image",{staticClass:"empty-img",attrs:{src:t.emptyData.img,mode:"aspectFill"}}),a("v-uni-view",{staticClass:"empty-text"},[t._v(t._s(t.emptyData.tip))]),t.emptyData.path?a("v-uni-view",{staticClass:"btn-box"},[a("v-uni-button",{staticClass:"cu-btn empty-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tools.routerTo(t.emptyData.path)}}},[t._v(t._s(t.emptyData.pathText))])],1):t._e()],1)},o=[]},"52fa":function(t,e,a){var n=a("d9c9");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("0defec73",n,!0,{sourceMap:!1,shadowMode:!1})},"606e":function(t,e,a){"use strict";var n=a("4ea4");a("99af"),a("d81d"),a("d3b7"),a("ac1f"),a("3ca3"),a("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("b85c"));a("96cf");var o=n(a("1da1")),r={name:"shoproSkeleton",data:function(){return{skeletonWidth:375,skeletonHeight:800,skeletonElements:[]}},props:{showSkeleton:{type:Boolean,default:!1},selector:{type:String,default:"shopro-selector"},skeletonBgColor:{type:String,default:"#fff"},elementBgColor:{type:String,default:"#F3F3F1"},skeletonType:{type:Array,default:function(){return["rect","circular","fillet"]}},borderRadius:{type:String,default:"16rpx"}},created:function(){var t=uni.getSystemInfoSync();this.skeletonWidth=t.windowWidth+"px",this.skeletonHeight=t.windowHeight+"px"},mounted:function(){var t=this;setTimeout((function(){t.selectorQuery()}),500)},methods:{getRadius:function(t,e){var a="0";return"circular"==t?a="50%":"fillet"==t&&(a=e),a},selectorQuery:function(){var t=this;return(0,o.default)(regeneratorRuntime.mark((function e(){var a,n,o,r,d;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:a=t.skeletonType||[],n=[],o=(0,i.default)(a),e.prev=3,d=regeneratorRuntime.mark((function e(){var a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=r.value,i=".".concat(a),~"rect_circular_fillet".indexOf(a)&&(i=".".concat(t.selector,"-").concat(a)),e.next=5,t.nodesRef(i).then((function(t){t.map((function(t){t.skeletonType=a})),n=n.concat(t)}));case 5:case"end":return e.stop()}}),e)})),o.s();case 6:if((r=o.n()).done){e.next=10;break}return e.delegateYield(d(),"t0",8);case 8:e.next=6;break;case 10:e.next=15;break;case 12:e.prev=12,e.t1=e["catch"](3),o.e(e.t1);case 15:return e.prev=15,o.f(),e.finish(15);case 18:t.skeletonElements=n;case 19:case"end":return e.stop()}}),e,null,[[3,12,15,18]])})))()},nodesRef:function(t){var e=this;return(0,o.default)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return e,a.next=3,new Promise((function(e,a){uni.createSelectorQuery().selectAll(t).boundingClientRect((function(t){t?e(t):a(t)})).exec()}));case 3:return a.abrupt("return",a.sent);case 4:case"end":return a.stop()}}),a)})))()}}};e.default=r},6277:function(t,e,a){"use strict";var n=a("adb3"),i=a.n(n);i.a},"6f96":function(t,e,a){"use strict";a.r(e);var n=a("8ed3"),i=a("f231");for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("ef82");var r,d=a("f0c5"),s=Object(d["a"])(i["default"],n["b"],n["c"],!1,null,"70457773",null,!1,n["a"],r);e["default"]=s.exports},"6fe4":function(t,e,a){"use strict";var n=a("52fa"),i=a.n(n);i.a},"70e6":function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/* ==================\r\n uni-app的变量\r\n防止插件市场用到这些,就保留了\r\n ==================== */\r\n/* 页面左右间距 */\r\n/* 文字尺寸 */\r\n/*文字颜色*/\r\n/* 边框颜色 */\r\n/* 图片加载中颜色 */\r\n/* 行为相关颜色 */\r\n/* ==================\r\n theme \r\n ==================== */\r\n/*主题色*/\r\n/*文字色*/\r\n/*背景色*/\r\n/* ==================\r\n 自定义变量 \r\n ==================== */\r\n/*utils 工具*/\r\n/* 颜色 */.bg-red[data-v-70457773]{background-color:#f33!important}.bg-purple[data-v-70457773]{background-color:#ff33a9!important}.bg-orange[data-v-70457773]{background-color:#f83!important}.bg-blue[data-v-70457773]{background-color:#37f!important}.color-red[data-v-70457773]{color:#f33!important}.color-purple[data-v-70457773]{color:#ff33a9!important}.color-orange[data-v-70457773]{color:#f83!important}.color-blue[data-v-70457773]{color:#37f!important}.text-black[data-v-70457773]{color:#000}.text-dark[data-v-70457773]{color:#333}.text-deep[data-v-70457773]{color:#555}.text-weak[data-v-70457773]{color:#b3b3b3}.text-white[data-v-70457773]{color:#fff}\r\n/*字体*/.f10[data-v-70457773]{font-size:10px}.f12[data-v-70457773]{font-size:12px}.f14[data-v-70457773]{font-size:14px}.f15[data-v-70457773]{font-size:15px}.f17[data-v-70457773]{font-size:17px}.f20[data-v-70457773]{font-size:20px}.f24[data-v-70457773]{font-size:24px}\r\n/* 文字对齐*/.tl[data-v-70457773]{text-align:left}.tc[data-v-70457773]{text-align:center}.tr[data-v-70457773]{text-align:right}\r\n/*浮动与清除浮动*/.fl[data-v-70457773]{float:left}.fr[data-v-70457773]{float:right}\n.fix[data-v-70457773]{zoom:1}.fix[data-v-70457773]:after{display:table;content:"";clear:both}\r\n\r\n/*显示*/.dn[data-v-70457773]{display:none}.di[data-v-70457773]{display:inline}.db[data-v-70457773]{display:block}.dib[data-v-70457773]{display:inline-block}.dt[data-v-70457773]{display:table}\ndiv.dib[data-v-70457773]{display:inline;zoom:1}\n.vm[data-v-70457773]{vertical-align:middle}.vib[data-v-70457773]{display:inline-block;vertical-align:middle}\r\n/*定位*/.pr[data-v-70457773]{position:relative}.pa[data-v-70457773]{position:absolute}.pf[data-v-70457773]{position:fixed}\r\n/*盒子模型*/.mt2[data-v-70457773]{margin-top:%?2?%}.mr2[data-v-70457773]{margin-right:%?2?%}.mb2[data-v-70457773]{margin-bottom:%?2?%}.ml2[data-v-70457773]{margin-left:%?2?%}.mx2[data-v-70457773]{margin-left:%?2?%;margin-right:%?2?%}.my2[data-v-70457773]{margin-top:%?2?%;margin-bottom:%?2?%}.ma2[data-v-70457773]{margin:%?2?%}.mt4[data-v-70457773]{margin-top:%?4?%}.mr4[data-v-70457773]{margin-right:%?4?%}.mb4[data-v-70457773]{margin-bottom:%?4?%}.ml4[data-v-70457773]{margin-left:%?4?%}.mx4[data-v-70457773]{margin-left:%?4?%;margin-right:%?4?%}.my4[data-v-70457773]{margin-top:%?4?%;margin-bottom:%?4?%}.ma4[data-v-70457773]{margin:%?4?%}.mt8[data-v-70457773]{margin-top:%?8?%}.mr8[data-v-70457773]{margin-right:%?8?%}.mb8[data-v-70457773]{margin-bottom:%?8?%}.ml8[data-v-70457773]{margin-left:%?8?%}.mx8[data-v-70457773]{margin-left:%?8?%;margin-right:%?8?%}.my8[data-v-70457773]{margin-top:%?8?%;margin-bottom:%?8?%}.ma8[data-v-70457773]{margin:%?8?%}.mt10[data-v-70457773]{margin-top:%?10?%}.mr10[data-v-70457773]{margin-right:%?10?%}.mb10[data-v-70457773]{margin-bottom:%?10?%}.ml10[data-v-70457773]{margin-left:%?10?%}.mx10[data-v-70457773]{margin-left:%?10?%;margin-right:%?10?%}.my10[data-v-70457773]{margin-top:%?10?%;margin-bottom:%?10?%}.ma10[data-v-70457773]{margin:%?10?%}.mt15[data-v-70457773]{margin-top:%?15?%}.mr15[data-v-70457773]{margin-right:%?15?%}.mb15[data-v-70457773]{margin-bottom:%?15?%}.ml15[data-v-70457773]{margin-left:%?15?%}.mx15[data-v-70457773]{margin-left:%?15?%;margin-right:%?15?%}.my15[data-v-70457773]{margin-top:%?15?%;margin-bottom:%?15?%}.ma15[data-v-70457773]{margin:%?15?%}.mt20[data-v-70457773]{margin-top:%?20?%}.mr20[data-v-70457773]{margin-right:%?20?%}.mb20[data-v-70457773]{margin-bottom:%?20?%}.ml20[data-v-70457773]{margin-left:%?20?%}.mx20[data-v-70457773]{margin-left:%?20?%;margin-right:%?20?%}.my20[data-v-70457773]{margin-top:%?20?%;margin-bottom:%?20?%}.ma20[data-v-70457773]{margin:%?20?%}.mt24[data-v-70457773]{margin-top:%?24?%}.mr24[data-v-70457773]{margin-right:%?24?%}.mb24[data-v-70457773]{margin-bottom:%?24?%}.ml24[data-v-70457773]{margin-left:%?24?%}.mx24[data-v-70457773]{margin-left:%?24?%;margin-right:%?24?%}.my24[data-v-70457773]{margin-top:%?24?%;margin-bottom:%?24?%}.ma24[data-v-70457773]{margin:%?24?%}.mt30[data-v-70457773]{margin-top:%?30?%}.mr30[data-v-70457773]{margin-right:%?30?%}.mb30[data-v-70457773]{margin-bottom:%?30?%}.ml30[data-v-70457773]{margin-left:%?30?%}.mx30[data-v-70457773]{margin-left:%?30?%;margin-right:%?30?%}.my30[data-v-70457773]{margin-top:%?30?%;margin-bottom:%?30?%}.ma30[data-v-70457773]{margin:%?30?%}.pt2[data-v-70457773]{padding-top:%?2?%}.pr2[data-v-70457773]{padding-right:%?2?%}.pb2[data-v-70457773]{padding-bottom:%?2?%}.pl2[data-v-70457773]{padding-left:%?2?%}.px2[data-v-70457773]{padding-left:%?2?%;padding-right:%?2?%}.py2[data-v-70457773]{padding-top:%?2?%;padding-bottom:%?2?%}.pa2[data-v-70457773]{padding:%?2?%}.pt4[data-v-70457773]{padding-top:%?4?%}.pr4[data-v-70457773]{padding-right:%?4?%}.pb4[data-v-70457773]{padding-bottom:%?4?%}.pl4[data-v-70457773]{padding-left:%?4?%}.px4[data-v-70457773]{padding-left:%?4?%;padding-right:%?4?%}.py4[data-v-70457773]{padding-top:%?4?%;padding-bottom:%?4?%}.pa4[data-v-70457773]{padding:%?4?%}.pt8[data-v-70457773]{padding-top:%?8?%}.pr8[data-v-70457773]{padding-right:%?8?%}.pb8[data-v-70457773]{padding-bottom:%?8?%}.pl8[data-v-70457773]{padding-left:%?8?%}.px8[data-v-70457773]{padding-left:%?8?%;padding-right:%?8?%}.py8[data-v-70457773]{padding-top:%?8?%;padding-bottom:%?8?%}.pa8[data-v-70457773]{padding:%?8?%}.pt10[data-v-70457773]{padding-top:%?10?%}.pr10[data-v-70457773]{padding-right:%?10?%}.pb10[data-v-70457773]{padding-bottom:%?10?%}.pl10[data-v-70457773]{padding-left:%?10?%}.px10[data-v-70457773]{padding-left:%?10?%;padding-right:%?10?%}.py10[data-v-70457773]{padding-top:%?10?%;padding-bottom:%?10?%}.pa10[data-v-70457773]{padding:%?10?%}.pt15[data-v-70457773]{padding-top:%?15?%}.pr15[data-v-70457773]{padding-right:%?15?%}.pb15[data-v-70457773]{padding-bottom:%?15?%}.pl15[data-v-70457773]{padding-left:%?15?%}.px15[data-v-70457773]{padding-left:%?15?%;padding-right:%?15?%}.py15[data-v-70457773]{padding-top:%?15?%;padding-bottom:%?15?%}.pa15[data-v-70457773]{padding:%?15?%}.pt20[data-v-70457773]{padding-top:%?20?%}.pr20[data-v-70457773]{padding-right:%?20?%}.pb20[data-v-70457773]{padding-bottom:%?20?%}.pl20[data-v-70457773]{padding-left:%?20?%}.px20[data-v-70457773]{padding-left:%?20?%;padding-right:%?20?%}.py20[data-v-70457773]{padding-top:%?20?%;padding-bottom:%?20?%}.pa20[data-v-70457773]{padding:%?20?%}.pt24[data-v-70457773]{padding-top:%?24?%}.pr24[data-v-70457773]{padding-right:%?24?%}.pb24[data-v-70457773]{padding-bottom:%?24?%}.pl24[data-v-70457773]{padding-left:%?24?%}.px24[data-v-70457773]{padding-left:%?24?%;padding-right:%?24?%}.py24[data-v-70457773]{padding-top:%?24?%;padding-bottom:%?24?%}.pa24[data-v-70457773]{padding:%?24?%}.pt30[data-v-70457773]{padding-top:%?30?%}.pr30[data-v-70457773]{padding-right:%?30?%}.pb30[data-v-70457773]{padding-bottom:%?30?%}.pl30[data-v-70457773]{padding-left:%?30?%}.px30[data-v-70457773]{padding-left:%?30?%;padding-right:%?30?%}.py30[data-v-70457773]{padding-top:%?30?%;padding-bottom:%?30?%}.pa30[data-v-70457773]{padding:%?30?%}\r\n/*按钮禁用*/.disabled[data-v-70457773]{outline:0 none;cursor:default!important;opacity:.4;filter:alpha(opacity=40);-ms-pointer-events:none;pointer-events:none}\r\n/**\r\n * \r\n * 自定义class工具\r\n * \r\n*/.pad[data-v-70457773]{padding:0 %?30?%}.page_box[data-v-70457773]{height:100%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;overflow-x:hidden;background:#fff}.scroll-box[data-v-70457773]{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;position:relative}.content_box[data-v-70457773]{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow-y:auto}\r\n/*单行文本溢出省略号*/.one-t[data-v-70457773]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/*多行文本溢出省略号*/.more-t[data-v-70457773]{overflow:hidden;text-overflow:ellipsis;word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/* ==================\r\n flex布局(colorui里面也有相关基础样式)\r\n ==================== */\r\n/* x水平排列*/.x-f[data-v-70457773]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x两端且水平居中*/.x-bc[data-v-70457773]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x平分且水平居中*/.x-ac[data-v-70457773]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x水平靠上对齐*/.x-start[data-v-70457773]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*x水平靠下对齐*/.x-end[data-v-70457773]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*上下左右居中*/.x-c[data-v-70457773]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*y竖直靠左*/.y-start[data-v-70457773]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*y竖直靠右*/.y-end[data-v-70457773]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*y竖直居中*/.y-f[data-v-70457773]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.y-b[data-v-70457773]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/*y竖直两端居中*/.y-bc[data-v-70457773]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/* ==================\r\n flex布局 \r\n ==================== */\r\n/* ==================\r\n 渐变色 \r\n ==================== */\r\n/**\r\n* 溢出省略号\r\n* @param {Number} 行数\r\n*/\r\n/* shopro主题颜色 */\r\n/* 深黑 */#dark-theme[data-v-70457773]{background:#000}#dark-theme .bColor[data-v-70457773]{background:#fff;color:#999}#dark-theme .borderColor[data-v-70457773]{border-color:#fff}\r\n/* 粉红 */#red-theme[data-v-70457773]{background:#f9e5ee}#red-theme .bColor[data-v-70457773]{background:#f9e5ee;color:#8e5a54}#red-theme .borderColor[data-v-70457773]{border-color:#8e5a54}\r\n/* 橘黄 */#yellow-theme[data-v-70457773]{background:#f6e1c9}#yellow-theme .bColor[data-v-70457773]{background:#f6e1c9;color:#8c6031}#yellow-theme .borderColor[data-v-70457773]{border-color:#8c6031}.shopro-skeleton-box[data-v-70457773]{position:fixed;z-index:99999;overflow:hidden;left:0;top:0}.shopro-skeleton-box .shopro-skeleton__type[data-v-70457773]{position:absolute}',""]),t.exports=e},7238:function(t,e,a){"use strict";a.r(e);var n=a("a8d1"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"85ec":function(t,e,a){var n=a("70e6");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("2a92d456",n,!0,{sourceMap:!1,shadowMode:!1})},"8ed3":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showSkeleton?a("v-uni-view",{staticClass:"shopro-skeleton-box",style:{width:t.skeletonWidth,height:t.skeletonHeight,backgroundColor:t.skeletonBgColor}},t._l(t.skeletonElements,(function(e,n){return a("v-uni-view",{key:n,staticClass:"shopro-skeleton__type",style:{width:e.width+"px",height:e.height+"px",left:e.left+"px",top:e.top+"px",backgroundColor:t.elementBgColor,borderRadius:t.getRadius(e.skeletonType,t.borderRadius)}})})),1):t._e()},o=[]},9702:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/* ==================\r\n uni-app的变量\r\n防止插件市场用到这些,就保留了\r\n ==================== */\r\n/* 页面左右间距 */\r\n/* 文字尺寸 */\r\n/*文字颜色*/\r\n/* 边框颜色 */\r\n/* 图片加载中颜色 */\r\n/* 行为相关颜色 */\r\n/* ==================\r\n theme \r\n ==================== */\r\n/*主题色*/\r\n/*文字色*/\r\n/*背景色*/\r\n/* ==================\r\n 自定义变量 \r\n ==================== */\r\n/*utils 工具*/\r\n/* 颜色 */.bg-red[data-v-48ce5c18]{background-color:#f33!important}.bg-purple[data-v-48ce5c18]{background-color:#ff33a9!important}.bg-orange[data-v-48ce5c18]{background-color:#f83!important}.bg-blue[data-v-48ce5c18]{background-color:#37f!important}.color-red[data-v-48ce5c18]{color:#f33!important}.color-purple[data-v-48ce5c18]{color:#ff33a9!important}.color-orange[data-v-48ce5c18]{color:#f83!important}.color-blue[data-v-48ce5c18]{color:#37f!important}.text-black[data-v-48ce5c18]{color:#000}.text-dark[data-v-48ce5c18]{color:#333}.text-deep[data-v-48ce5c18]{color:#555}.text-weak[data-v-48ce5c18]{color:#b3b3b3}.text-white[data-v-48ce5c18]{color:#fff}\r\n/*字体*/.f10[data-v-48ce5c18]{font-size:10px}.f12[data-v-48ce5c18]{font-size:12px}.f14[data-v-48ce5c18]{font-size:14px}.f15[data-v-48ce5c18]{font-size:15px}.f17[data-v-48ce5c18]{font-size:17px}.f20[data-v-48ce5c18]{font-size:20px}.f24[data-v-48ce5c18]{font-size:24px}\r\n/* 文字对齐*/.tl[data-v-48ce5c18]{text-align:left}.tc[data-v-48ce5c18]{text-align:center}.tr[data-v-48ce5c18]{text-align:right}\r\n/*浮动与清除浮动*/.fl[data-v-48ce5c18]{float:left}.fr[data-v-48ce5c18]{float:right}\n.fix[data-v-48ce5c18]{zoom:1}.fix[data-v-48ce5c18]:after{display:table;content:"";clear:both}\r\n\r\n/*显示*/.dn[data-v-48ce5c18]{display:none}.di[data-v-48ce5c18]{display:inline}.db[data-v-48ce5c18]{display:block}.dib[data-v-48ce5c18]{display:inline-block}.dt[data-v-48ce5c18]{display:table}\ndiv.dib[data-v-48ce5c18]{display:inline;zoom:1}\n.vm[data-v-48ce5c18]{vertical-align:middle}.vib[data-v-48ce5c18]{display:inline-block;vertical-align:middle}\r\n/*定位*/.pr[data-v-48ce5c18]{position:relative}.pa[data-v-48ce5c18]{position:absolute}.pf[data-v-48ce5c18]{position:fixed}\r\n/*盒子模型*/.mt2[data-v-48ce5c18]{margin-top:%?2?%}.mr2[data-v-48ce5c18]{margin-right:%?2?%}.mb2[data-v-48ce5c18]{margin-bottom:%?2?%}.ml2[data-v-48ce5c18]{margin-left:%?2?%}.mx2[data-v-48ce5c18]{margin-left:%?2?%;margin-right:%?2?%}.my2[data-v-48ce5c18]{margin-top:%?2?%;margin-bottom:%?2?%}.ma2[data-v-48ce5c18]{margin:%?2?%}.mt4[data-v-48ce5c18]{margin-top:%?4?%}.mr4[data-v-48ce5c18]{margin-right:%?4?%}.mb4[data-v-48ce5c18]{margin-bottom:%?4?%}.ml4[data-v-48ce5c18]{margin-left:%?4?%}.mx4[data-v-48ce5c18]{margin-left:%?4?%;margin-right:%?4?%}.my4[data-v-48ce5c18]{margin-top:%?4?%;margin-bottom:%?4?%}.ma4[data-v-48ce5c18]{margin:%?4?%}.mt8[data-v-48ce5c18]{margin-top:%?8?%}.mr8[data-v-48ce5c18]{margin-right:%?8?%}.mb8[data-v-48ce5c18]{margin-bottom:%?8?%}.ml8[data-v-48ce5c18]{margin-left:%?8?%}.mx8[data-v-48ce5c18]{margin-left:%?8?%;margin-right:%?8?%}.my8[data-v-48ce5c18]{margin-top:%?8?%;margin-bottom:%?8?%}.ma8[data-v-48ce5c18]{margin:%?8?%}.mt10[data-v-48ce5c18]{margin-top:%?10?%}.mr10[data-v-48ce5c18]{margin-right:%?10?%}.mb10[data-v-48ce5c18]{margin-bottom:%?10?%}.ml10[data-v-48ce5c18]{margin-left:%?10?%}.mx10[data-v-48ce5c18]{margin-left:%?10?%;margin-right:%?10?%}.my10[data-v-48ce5c18]{margin-top:%?10?%;margin-bottom:%?10?%}.ma10[data-v-48ce5c18]{margin:%?10?%}.mt15[data-v-48ce5c18]{margin-top:%?15?%}.mr15[data-v-48ce5c18]{margin-right:%?15?%}.mb15[data-v-48ce5c18]{margin-bottom:%?15?%}.ml15[data-v-48ce5c18]{margin-left:%?15?%}.mx15[data-v-48ce5c18]{margin-left:%?15?%;margin-right:%?15?%}.my15[data-v-48ce5c18]{margin-top:%?15?%;margin-bottom:%?15?%}.ma15[data-v-48ce5c18]{margin:%?15?%}.mt20[data-v-48ce5c18]{margin-top:%?20?%}.mr20[data-v-48ce5c18]{margin-right:%?20?%}.mb20[data-v-48ce5c18]{margin-bottom:%?20?%}.ml20[data-v-48ce5c18]{margin-left:%?20?%}.mx20[data-v-48ce5c18]{margin-left:%?20?%;margin-right:%?20?%}.my20[data-v-48ce5c18]{margin-top:%?20?%;margin-bottom:%?20?%}.ma20[data-v-48ce5c18]{margin:%?20?%}.mt24[data-v-48ce5c18]{margin-top:%?24?%}.mr24[data-v-48ce5c18]{margin-right:%?24?%}.mb24[data-v-48ce5c18]{margin-bottom:%?24?%}.ml24[data-v-48ce5c18]{margin-left:%?24?%}.mx24[data-v-48ce5c18]{margin-left:%?24?%;margin-right:%?24?%}.my24[data-v-48ce5c18]{margin-top:%?24?%;margin-bottom:%?24?%}.ma24[data-v-48ce5c18]{margin:%?24?%}.mt30[data-v-48ce5c18]{margin-top:%?30?%}.mr30[data-v-48ce5c18]{margin-right:%?30?%}.mb30[data-v-48ce5c18]{margin-bottom:%?30?%}.ml30[data-v-48ce5c18]{margin-left:%?30?%}.mx30[data-v-48ce5c18]{margin-left:%?30?%;margin-right:%?30?%}.my30[data-v-48ce5c18]{margin-top:%?30?%;margin-bottom:%?30?%}.ma30[data-v-48ce5c18]{margin:%?30?%}.pt2[data-v-48ce5c18]{padding-top:%?2?%}.pr2[data-v-48ce5c18]{padding-right:%?2?%}.pb2[data-v-48ce5c18]{padding-bottom:%?2?%}.pl2[data-v-48ce5c18]{padding-left:%?2?%}.px2[data-v-48ce5c18]{padding-left:%?2?%;padding-right:%?2?%}.py2[data-v-48ce5c18]{padding-top:%?2?%;padding-bottom:%?2?%}.pa2[data-v-48ce5c18]{padding:%?2?%}.pt4[data-v-48ce5c18]{padding-top:%?4?%}.pr4[data-v-48ce5c18]{padding-right:%?4?%}.pb4[data-v-48ce5c18]{padding-bottom:%?4?%}.pl4[data-v-48ce5c18]{padding-left:%?4?%}.px4[data-v-48ce5c18]{padding-left:%?4?%;padding-right:%?4?%}.py4[data-v-48ce5c18]{padding-top:%?4?%;padding-bottom:%?4?%}.pa4[data-v-48ce5c18]{padding:%?4?%}.pt8[data-v-48ce5c18]{padding-top:%?8?%}.pr8[data-v-48ce5c18]{padding-right:%?8?%}.pb8[data-v-48ce5c18]{padding-bottom:%?8?%}.pl8[data-v-48ce5c18]{padding-left:%?8?%}.px8[data-v-48ce5c18]{padding-left:%?8?%;padding-right:%?8?%}.py8[data-v-48ce5c18]{padding-top:%?8?%;padding-bottom:%?8?%}.pa8[data-v-48ce5c18]{padding:%?8?%}.pt10[data-v-48ce5c18]{padding-top:%?10?%}.pr10[data-v-48ce5c18]{padding-right:%?10?%}.pb10[data-v-48ce5c18]{padding-bottom:%?10?%}.pl10[data-v-48ce5c18]{padding-left:%?10?%}.px10[data-v-48ce5c18]{padding-left:%?10?%;padding-right:%?10?%}.py10[data-v-48ce5c18]{padding-top:%?10?%;padding-bottom:%?10?%}.pa10[data-v-48ce5c18]{padding:%?10?%}.pt15[data-v-48ce5c18]{padding-top:%?15?%}.pr15[data-v-48ce5c18]{padding-right:%?15?%}.pb15[data-v-48ce5c18]{padding-bottom:%?15?%}.pl15[data-v-48ce5c18]{padding-left:%?15?%}.px15[data-v-48ce5c18]{padding-left:%?15?%;padding-right:%?15?%}.py15[data-v-48ce5c18]{padding-top:%?15?%;padding-bottom:%?15?%}.pa15[data-v-48ce5c18]{padding:%?15?%}.pt20[data-v-48ce5c18]{padding-top:%?20?%}.pr20[data-v-48ce5c18]{padding-right:%?20?%}.pb20[data-v-48ce5c18]{padding-bottom:%?20?%}.pl20[data-v-48ce5c18]{padding-left:%?20?%}.px20[data-v-48ce5c18]{padding-left:%?20?%;padding-right:%?20?%}.py20[data-v-48ce5c18]{padding-top:%?20?%;padding-bottom:%?20?%}.pa20[data-v-48ce5c18]{padding:%?20?%}.pt24[data-v-48ce5c18]{padding-top:%?24?%}.pr24[data-v-48ce5c18]{padding-right:%?24?%}.pb24[data-v-48ce5c18]{padding-bottom:%?24?%}.pl24[data-v-48ce5c18]{padding-left:%?24?%}.px24[data-v-48ce5c18]{padding-left:%?24?%;padding-right:%?24?%}.py24[data-v-48ce5c18]{padding-top:%?24?%;padding-bottom:%?24?%}.pa24[data-v-48ce5c18]{padding:%?24?%}.pt30[data-v-48ce5c18]{padding-top:%?30?%}.pr30[data-v-48ce5c18]{padding-right:%?30?%}.pb30[data-v-48ce5c18]{padding-bottom:%?30?%}.pl30[data-v-48ce5c18]{padding-left:%?30?%}.px30[data-v-48ce5c18]{padding-left:%?30?%;padding-right:%?30?%}.py30[data-v-48ce5c18]{padding-top:%?30?%;padding-bottom:%?30?%}.pa30[data-v-48ce5c18]{padding:%?30?%}\r\n/*按钮禁用*/.disabled[data-v-48ce5c18]{outline:0 none;cursor:default!important;opacity:.4;filter:alpha(opacity=40);-ms-pointer-events:none;pointer-events:none}\r\n/**\r\n * \r\n * 自定义class工具\r\n * \r\n*/.pad[data-v-48ce5c18]{padding:0 %?30?%}.page_box[data-v-48ce5c18]{height:100%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;overflow-x:hidden;background:#fff}.scroll-box[data-v-48ce5c18]{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;position:relative}.content_box[data-v-48ce5c18]{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow-y:auto}\r\n/*单行文本溢出省略号*/.one-t[data-v-48ce5c18]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/*多行文本溢出省略号*/.more-t[data-v-48ce5c18]{overflow:hidden;text-overflow:ellipsis;word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/* ==================\r\n flex布局(colorui里面也有相关基础样式)\r\n ==================== */\r\n/* x水平排列*/.x-f[data-v-48ce5c18]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x两端且水平居中*/.x-bc[data-v-48ce5c18]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x平分且水平居中*/.x-ac[data-v-48ce5c18]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x水平靠上对齐*/.x-start[data-v-48ce5c18]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*x水平靠下对齐*/.x-end[data-v-48ce5c18]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*上下左右居中*/.x-c[data-v-48ce5c18]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*y竖直靠左*/.y-start[data-v-48ce5c18]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*y竖直靠右*/.y-end[data-v-48ce5c18]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*y竖直居中*/.y-f[data-v-48ce5c18]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.y-b[data-v-48ce5c18]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/*y竖直两端居中*/.y-bc[data-v-48ce5c18]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/* ==================\r\n flex布局 \r\n ==================== */\r\n/* ==================\r\n 渐变色 \r\n ==================== */\r\n/**\r\n* 溢出省略号\r\n* @param {Number} 行数\r\n*/\r\n/* shopro主题颜色 */\r\n/* 深黑 */#dark-theme[data-v-48ce5c18]{background:#000}#dark-theme .bColor[data-v-48ce5c18]{background:#fff;color:#999}#dark-theme .borderColor[data-v-48ce5c18]{border-color:#fff}\r\n/* 粉红 */#red-theme[data-v-48ce5c18]{background:#f9e5ee}#red-theme .bColor[data-v-48ce5c18]{background:#f9e5ee;color:#8e5a54}#red-theme .borderColor[data-v-48ce5c18]{border-color:#8e5a54}\r\n/* 橘黄 */#yellow-theme[data-v-48ce5c18]{background:#f6e1c9}#yellow-theme .bColor[data-v-48ce5c18]{background:#f6e1c9;color:#8c6031}#yellow-theme .borderColor[data-v-48ce5c18]{border-color:#8c6031}.active[data-v-48ce5c18]{-webkit-transition:all linear .5s;transition:all linear .5s}.modal-wrap[data-v-48ce5c18] .cu-modal{z-index:99999}.service-contract-wrap[data-v-48ce5c18]{background-color:#fff;position:relative;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:%?610?%;min-height:%?850?%;border-radius:%?20?%}.service-contract-wrap .service-title[data-v-48ce5c18]{font-size:%?35?%;font-family:PingFang SC;font-weight:700;color:#fff;line-height:%?42?%;background:-webkit-linear-gradient(top,#3e3019,#6d5028);background:linear-gradient(180deg,#3e3019,#6d5028);-webkit-background-clip:text;-webkit-text-fill-color:transparent;margin-bottom:%?30?%}.service-contract-wrap .service-content[data-v-48ce5c18]{text-align:left;font-size:%?26?%;font-family:PingFang SC;font-weight:500;color:#666;line-height:%?50?%;padding:0 %?40?%}.service-contract-wrap .service-tip[data-v-48ce5c18]{text-align:left;font-size:%?26?%;font-family:PingFang SC;font-weight:500;color:#9a9a9a;line-height:%?50?%;padding:0 %?40?%}.service-contract-wrap .btn-box[data-v-48ce5c18]{padding:%?40?%}.service-contract-wrap .btn-box .cancel-btn[data-v-48ce5c18]{width:%?248?%;height:%?70?%;border:%?1?% solid #eab663;border-radius:%?35?%;font-size:%?28?%;font-family:PingFang SC;font-weight:500;color:#eab663;background-color:#fff}.service-contract-wrap .btn-box .agree-btn[data-v-48ce5c18]{width:%?300?%;height:%?70?%;background:-webkit-linear-gradient(left,#e9b561,#eecc8a);background:linear-gradient(90deg,#e9b561,#eecc8a);border-radius:%?35?%;font-size:%?28?%;font-family:PingFang SC;font-weight:500;color:#fff}.service-contract-wrap .ic-hide[data-v-48ce5c18]{position:absolute;font-size:%?50?%;bottom:%?-100?%;z-index:11;color:#fff;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.head_box[data-v-48ce5c18]{width:%?750?%;-webkit-transition:all linear .3s;transition:all linear .3s}.head_box[data-v-48ce5c18] .cuIcon-back{display:none}.head_box .nav-title[data-v-48ce5c18]{font-size:%?38?%;font-family:PingFang SC;font-weight:500;color:#fff}',""]),t.exports=e},a8d1:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"shoproEmpty",components:{},data:function(){return{tools:this.$tools}},props:{emptyData:{},isFixed:{type:Boolean,default:!0}},computed:{},methods:{}};e.default=n},aaad:function(t,e,a){"use strict";a.r(e);var n=a("c3c4"),i=a("004a");for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("ff1d");var r,d=a("f0c5"),s=Object(d["a"])(i["default"],n["b"],n["c"],!1,null,"48ce5c18",null,!1,n["a"],r);e["default"]=s.exports},ac75:function(t,e,a){(function(e){var n;a("99af"),a("cb29"),a("4de4"),a("4160"),a("c975"),a("a15b"),a("baa5"),a("d81d"),a("13d5"),a("26e9"),a("fb6a"),a("45fc"),a("4e82"),a("a434"),a("a9e3"),a("d3b7"),a("acd8"),a("e25e"),a("ac1f"),a("25f0"),a("3ca3"),a("466d"),a("5319"),a("1276"),a("498a"),a("159b"),a("ddb0"),function(e){t.exports=e()}((function(){var t;return function t(e,a,i){function o(d,s){if(!a[d]){if(!e[d]){var l="function"==typeof n&&n;if(!s&&l)return n(d,!0);if(r)return r(d,!0);var c=new Error("Cannot find module '"+d+"'");throw c.code="MODULE_NOT_FOUND",c}var p=a[d]={exports:{}};e[d][0].call(p.exports,(function(t){var a=e[d][1][t];return o(a||t)}),p,p.exports,t,e,a,i)}return a[d].exports}for(var r="function"==typeof n&&n,d=0;d<i.length;d++)o(i[d]);return o}({1:[function(a,n,i){(function(e){!function(a){function o(t){throw RangeError(N[t])}function r(t,e){for(var a=t.length;a--;)t[a]=e(t[a]);return t}function d(t,e){return r(t.split(D),e).join(".")}function s(t){for(var e,a,n=[],i=0,o=t.length;o>i;)e=t.charCodeAt(i++),e>=55296&&56319>=e&&o>i?(a=t.charCodeAt(i++),56320==(64512&a)?n.push(((1023&e)<<10)+(1023&a)+65536):(n.push(e),i--)):n.push(e);return n}function l(t){return r(t,(function(t){var e="";return t>65535&&(t-=65536,e+=B(t>>>10&1023|55296),t=56320|1023&t),e+B(t)})).join("")}function c(t){return 10>t-48?t-22:26>t-65?t-65:26>t-97?t-97:E}function p(t,e){return t+22+75*(26>t)-((0!=e)<<5)}function f(t,e,a){var n=0;for(t=a?A(t/I):t>>1,t+=A(t/e);t>j*T>>1;n+=E)t=A(t/j);return A(n+(j+1)*t/(t+S))}function g(t){var e,a,n,i,r,d,s,p,g,u,b=[],h=t.length,m=0,v=R,x=_;for(a=t.lastIndexOf(O),0>a&&(a=0),n=0;a>n;++n)t.charCodeAt(n)>=128&&o("not-basic"),b.push(t.charCodeAt(n));for(i=a>0?a+1:0;h>i;){for(r=m,d=1,s=E;i>=h&&o("invalid-input"),p=c(t.charCodeAt(i++)),(p>=E||p>A((k-m)/d))&&o("overflow"),m+=p*d,g=x>=s?C:s>=x+T?T:s-x,!(g>p);s+=E)u=E-g,d>A(k/u)&&o("overflow"),d*=u;e=b.length+1,x=f(m-r,e,0==r),A(m/e)>k-v&&o("overflow"),v+=A(m/e),m%=e,b.splice(m++,0,v)}return l(b)}function u(t){var e,a,n,i,r,d,l,c,g,u,b,h,m,v,x,y=[];for(t=s(t),h=t.length,e=R,a=0,r=_,d=0;h>d;++d)b=t[d],128>b&&y.push(B(b));for(n=i=y.length,i&&y.push(O);h>n;){for(l=k,d=0;h>d;++d)b=t[d],b>=e&&l>b&&(l=b);for(m=n+1,l-e>A((k-a)/m)&&o("overflow"),a+=(l-e)*m,e=l,d=0;h>d;++d)if(b=t[d],e>b&&++a>k&&o("overflow"),b==e){for(c=a,g=E;u=r>=g?C:g>=r+T?T:g-r,!(u>c);g+=E)x=c-u,v=E-u,y.push(B(p(u+x%v,0))),c=A(x/v);y.push(B(p(c,0))),r=f(a,m,n==i),a=0,++n}++a,++e}return y.join("")}function b(t){return d(t,(function(t){return M.test(t)?g(t.slice(4).toLowerCase()):t}))}function h(t){return d(t,(function(t){return P.test(t)?"xn--"+u(t):t}))}var m="object"==typeof i&&i,v="object"==typeof n&&n&&n.exports==m&&n,x="object"==typeof e&&e;(x.global===x||x.window===x)&&(a=x);var y,w,k=2147483647,E=36,C=1,T=26,S=38,I=700,_=72,R=128,O="-",M=/^xn--/,P=/[^ -~]/,D=/\x2E|\u3002|\uFF0E|\uFF61/g,N={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=E-C,A=Math.floor,B=String.fromCharCode;if(y={version:"1.2.4",ucs2:{decode:s,encode:l},decode:g,encode:u,toASCII:h,toUnicode:b},"function"==typeof t&&"object"==typeof t.amd&&t.amd)t("punycode",(function(){return y}));else if(m&&!m.nodeType)if(v)v.exports=y;else for(w in y)y.hasOwnProperty(w)&&(m[w]=y[w]);else a.punycode=y}(this)}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,e){function a(t,e,a){!t.defaultView||e===t.defaultView.pageXOffset&&a===t.defaultView.pageYOffset||t.defaultView.scrollTo(e,a)}function n(t,e){try{e&&(e.width=t.width,e.height=t.height,e.getContext("2d").putImageData(t.getContext("2d").getImageData(0,0,t.width,t.height),0,0))}catch(a){r("Unable to copy canvas content from",t,a)}}function i(t,e){for(var a=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),o=t.firstChild;o;)(!0===e||1!==o.nodeType||"SCRIPT"!==o.nodeName)&&a.appendChild(i(o,e)),o=o.nextSibling;return 1===t.nodeType&&(a._scrollTop=t.scrollTop,a._scrollLeft=t.scrollLeft,"CANVAS"===t.nodeName?n(t,a):("TEXTAREA"===t.nodeName||"SELECT"===t.nodeName)&&(a.value=t.value)),a}function o(t){if(1===t.nodeType){t.scrollTop=t._scrollTop,t.scrollLeft=t._scrollLeft;for(var e=t.firstChild;e;)o(e),e=e.nextSibling}}var r=t("./log");e.exports=function(t,e,n,r,d,s,l){var c=i(t.documentElement,d.javascriptEnabled),p=e.createElement("iframe");return p.className="html2canvas-container",p.style.visibility="hidden",p.style.position="fixed",p.style.left="-10000px",p.style.top="0px",p.style.border="0",p.width=n,p.height=r,p.scrolling="no",e.body.appendChild(p),new Promise((function(e){var n=p.contentWindow.document;p.contentWindow.onload=p.onload=function(){var t=setInterval((function(){n.body.childNodes.length>0&&(o(n.documentElement),clearInterval(t),"view"===d.type&&(p.contentWindow.scrollTo(s,l),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||p.contentWindow.scrollY===l&&p.contentWindow.scrollX===s||(n.documentElement.style.top=-l+"px",n.documentElement.style.left=-s+"px",n.documentElement.style.position="absolute")),e(p))}),50)},n.open(),n.write("<!DOCTYPE html><html></html>"),a(t,s,l),n.replaceChild(n.adoptNode(c),n.documentElement),n.close()}))}},{"./log":13}],3:[function(t,e){function a(t){this.r=0,this.g=0,this.b=0,this.a=null,this.fromArray(t)||this.namedColor(t)||this.rgb(t)||this.rgba(t)||this.hex6(t)||this.hex3(t)}a.prototype.darken=function(t){var e=1-t;return new a([Math.round(this.r*e),Math.round(this.g*e),Math.round(this.b*e),this.a])},a.prototype.isTransparent=function(){return 0===this.a},a.prototype.isBlack=function(){return 0===this.r&&0===this.g&&0===this.b},a.prototype.fromArray=function(t){return Array.isArray(t)&&(this.r=Math.min(t[0],255),this.g=Math.min(t[1],255),this.b=Math.min(t[2],255),t.length>3&&(this.a=t[3])),Array.isArray(t)};var n=/^#([a-f0-9]{3})$/i;a.prototype.hex3=function(t){var e=null;return null!==(e=t.match(n))&&(this.r=parseInt(e[1][0]+e[1][0],16),this.g=parseInt(e[1][1]+e[1][1],16),this.b=parseInt(e[1][2]+e[1][2],16)),null!==e};var i=/^#([a-f0-9]{6})$/i;a.prototype.hex6=function(t){var e=null;return null!==(e=t.match(i))&&(this.r=parseInt(e[1].substring(0,2),16),this.g=parseInt(e[1].substring(2,4),16),this.b=parseInt(e[1].substring(4,6),16)),null!==e};var o=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/;a.prototype.rgb=function(t){var e=null;return null!==(e=t.match(o))&&(this.r=Number(e[1]),this.g=Number(e[2]),this.b=Number(e[3])),null!==e};var r=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?\.?\d+)\s*\)$/;a.prototype.rgba=function(t){var e=null;return null!==(e=t.match(r))&&(this.r=Number(e[1]),this.g=Number(e[2]),this.b=Number(e[3]),this.a=Number(e[4])),null!==e},a.prototype.toString=function(){return null!==this.a&&1!==this.a?"rgba("+[this.r,this.g,this.b,this.a].join(",")+")":"rgb("+[this.r,this.g,this.b].join(",")+")"},a.prototype.namedColor=function(t){t=t.toLowerCase();var e=d[t];if(e)this.r=e[0],this.g=e[1],this.b=e[2];else if("transparent"===t)return this.r=this.g=this.b=this.a=0,!0;return!!e},a.prototype.isColor=!0;var d={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};e.exports=a},{}],4:[function(e,a){function n(t,e){var a=k++;if(e=e||{},e.logging&&(h.options.logging=!0,h.options.start=Date.now()),e.async="undefined"==typeof e.async||e.async,e.allowTaint="undefined"!=typeof e.allowTaint&&e.allowTaint,e.removeContainer="undefined"==typeof e.removeContainer||e.removeContainer,e.javascriptEnabled="undefined"!=typeof e.javascriptEnabled&&e.javascriptEnabled,e.imageTimeout="undefined"==typeof e.imageTimeout?1e4:e.imageTimeout,e.renderer="function"==typeof e.renderer?e.renderer:f,e.strict=!!e.strict,"string"==typeof t){if("string"!=typeof e.proxy)return Promise.reject("Proxy must be used when rendering url");var n=null!=e.width?e.width:window.innerWidth,r=null!=e.height?e.height:window.innerHeight;return x(c(t),e.proxy,document,n,r,e).then((function(t){return o(t.contentWindow.document.documentElement,t,e,n,r)}))}var d=(void 0===t?[document.documentElement]:t.length?t:[t])[0];return d.setAttribute(w+a,a),i(d.ownerDocument,e,d.ownerDocument.defaultView.innerWidth,d.ownerDocument.defaultView.innerHeight,a).then((function(t){return"function"==typeof e.onrendered&&(h("options.onrendered is deprecated, html2canvas returns a Promise containing the canvas"),e.onrendered(t)),t}))}function i(t,e,a,n,i){return v(t,t,a,n,e,t.defaultView.pageXOffset,t.defaultView.pageYOffset).then((function(r){h("Document cloned");var d=w+i,s="["+d+"='"+i+"']";t.querySelector(s).removeAttribute(d);var l=r.contentWindow,c=l.document.querySelector(s),p=Promise.resolve("function"!=typeof e.onclone||e.onclone(l.document));return p.then((function(){return o(c,r,e,a,n)}))}))}function o(t,e,a,n,i){var o=e.contentWindow,c=new p(o.document),f=new g(a,c),b=y(t),m="view"===a.type?n:s(o.document),v="view"===a.type?i:l(o.document),x=new a.renderer(m,v,f,a,document),w=new u(t,x,c,f,a);return w.ready.then((function(){var n;return h("Finished rendering"),n="view"===a.type?d(x.canvas,{width:x.canvas.width,height:x.canvas.height,top:0,left:0,x:0,y:0}):t===o.document.body||t===o.document.documentElement||null!=a.canvas?x.canvas:d(x.canvas,{width:null!=a.width?a.width:b.width,height:null!=a.height?a.height:b.height,top:b.top,left:b.left,x:0,y:0}),r(e,a),n}))}function r(t,e){e.removeContainer&&(t.parentNode.removeChild(t),h("Cleaned up container"))}function d(t,e){var a=document.createElement("canvas"),n=Math.min(t.width-1,Math.max(0,e.left)),i=Math.min(t.width,Math.max(1,e.left+e.width)),o=Math.min(t.height-1,Math.max(0,e.top)),r=Math.min(t.height,Math.max(1,e.top+e.height));a.width=e.width,a.height=e.height;var d=i-n,s=r-o;return h("Cropping canvas at:","left:",e.left,"top:",e.top,"width:",d,"height:",s),h("Resulting crop with width",e.width,"and height",e.height,"with x",n,"and y",o),a.getContext("2d").drawImage(t,n,o,d,s,e.x,e.y,d,s),a}function s(t){return Math.max(Math.max(t.body.scrollWidth,t.documentElement.scrollWidth),Math.max(t.body.offsetWidth,t.documentElement.offsetWidth),Math.max(t.body.clientWidth,t.documentElement.clientWidth))}function l(t){return Math.max(Math.max(t.body.scrollHeight,t.documentElement.scrollHeight),Math.max(t.body.offsetHeight,t.documentElement.offsetHeight),Math.max(t.body.clientHeight,t.documentElement.clientHeight))}function c(t){var e=document.createElement("a");return e.href=t,e.href=e.href,e}var p=e("./support"),f=e("./renderers/canvas"),g=e("./imageloader"),u=e("./nodeparser"),b=e("./nodecontainer"),h=e("./log"),m=e("./utils"),v=e("./clone"),x=e("./proxy").loadUrlDocument,y=m.getBounds,w="data-html2canvas-node",k=0;n.CanvasRenderer=f,n.NodeContainer=b,n.log=h,n.utils=m;var E="undefined"==typeof document||"function"!=typeof Object.create||"function"!=typeof document.createElement("canvas").getContext?function(){return Promise.reject("No canvas support")}:n;a.exports=E,"function"==typeof t&&t.amd&&t("html2canvas",[],(function(){return E}))},{"./clone":2,"./imageloader":11,"./log":13,"./nodecontainer":14,"./nodeparser":15,"./proxy":16,"./renderers/canvas":20,"./support":22,"./utils":26}],5:[function(t,e){function a(t){if(this.src=t,n("DummyImageContainer for",t),!this.promise||!this.image){n("Initiating DummyImageContainer"),a.prototype.image=new Image;var e=this.image;a.prototype.promise=new Promise((function(t,a){e.onload=t,e.onerror=a,e.src=i(),!0===e.complete&&t(e)}))}}var n=t("./log"),i=t("./utils").smallImage;e.exports=a},{"./log":13,"./utils":26}],6:[function(t,e){function a(t,e){var a,i,o=document.createElement("div"),r=document.createElement("img"),d=document.createElement("span"),s="Hidden Text";o.style.visibility="hidden",o.style.fontFamily=t,o.style.fontSize=e,o.style.margin=0,o.style.padding=0,document.body.appendChild(o),r.src=n(),r.width=1,r.height=1,r.style.margin=0,r.style.padding=0,r.style.verticalAlign="baseline",d.style.fontFamily=t,d.style.fontSize=e,d.style.margin=0,d.style.padding=0,d.appendChild(document.createTextNode(s)),o.appendChild(d),o.appendChild(r),a=r.offsetTop-d.offsetTop+1,o.removeChild(d),o.appendChild(document.createTextNode(s)),o.style.lineHeight="normal",r.style.verticalAlign="super",i=r.offsetTop-o.offsetTop+1,document.body.removeChild(o),this.baseline=a,this.lineWidth=1,this.middle=i}var n=t("./utils").smallImage;e.exports=a},{"./utils":26}],7:[function(t,e){function a(){this.data={}}var n=t("./font");a.prototype.getMetrics=function(t,e){return void 0===this.data[t+"-"+e]&&(this.data[t+"-"+e]=new n(t,e)),this.data[t+"-"+e]},e.exports=a},{"./font":6}],8:[function(t,e){function a(e,a,n){this.image=null,this.src=e;var o=this,r=i(e);this.promise=(a?new Promise((function(t){"about:blank"===e.contentWindow.document.URL||null==e.contentWindow.document.documentElement?e.contentWindow.onload=e.onload=function(){t(e)}:t(e)})):this.proxyLoad(n.proxy,r,n)).then((function(e){var a=t("./core");return a(e.contentWindow.document.documentElement,{type:"view",width:e.width,height:e.height,proxy:n.proxy,javascriptEnabled:n.javascriptEnabled,removeContainer:n.removeContainer,allowTaint:n.allowTaint,imageTimeout:n.imageTimeout/2})})).then((function(t){return o.image=t}))}var n=t("./utils"),i=n.getBounds,o=t("./proxy").loadUrlDocument;a.prototype.proxyLoad=function(t,e,a){var n=this.src;return o(n.src,t,n.ownerDocument,e.width,e.height,a)},e.exports=a},{"./core":4,"./proxy":16,"./utils":26}],9:[function(t,e){function a(t){this.src=t.value,this.colorStops=[],this.type=null,this.x0=.5,this.y0=.5,this.x1=.5,this.y1=.5,this.promise=Promise.resolve(!0)}a.TYPES={LINEAR:1,RADIAL:2},a.REGEXP_COLORSTOP=/^\s*(rgba?\(\s*\d{1,3},\s*\d{1,3},\s*\d{1,3}(?:,\s*[0-9\.]+)?\s*\)|[a-z]{3,20}|#[a-f0-9]{3,6})(?:\s+(\d{1,3}(?:\.\d+)?)(%|px)?)?(?:\s|$)/i,e.exports=a},{}],10:[function(t,e){function a(t,e){this.src=t,this.image=new Image;var a=this;this.tainted=null,this.promise=new Promise((function(n,i){a.image.onload=n,a.image.onerror=i,e&&(a.image.crossOrigin="anonymous"),a.image.src=t,!0===a.image.complete&&n(a.image)}))}e.exports=a},{}],11:[function(t,e){function a(t,e){this.link=null,this.options=t,this.support=e,this.origin=this.getOrigin(window.location.href)}var n=t("./log"),i=t("./imagecontainer"),o=t("./dummyimagecontainer"),r=t("./proxyimagecontainer"),d=t("./framecontainer"),s=t("./svgcontainer"),l=t("./svgnodecontainer"),c=t("./lineargradientcontainer"),p=t("./webkitgradientcontainer"),f=t("./utils").bind;a.prototype.findImages=function(t){var e=[];return t.reduce((function(t,e){switch(e.node.nodeName){case"IMG":return t.concat([{args:[e.node.src],method:"url"}]);case"svg":case"IFRAME":return t.concat([{args:[e.node],method:e.node.nodeName}])}return t}),[]).forEach(this.addImage(e,this.loadImage),this),e},a.prototype.findBackgroundImage=function(t,e){return e.parseBackgroundImages().filter(this.hasImageBackground).forEach(this.addImage(t,this.loadImage),this),t},a.prototype.addImage=function(t,e){return function(a){a.args.forEach((function(i){this.imageExists(t,i)||(t.splice(0,0,e.call(this,a)),n("Added image #"+t.length,"string"==typeof i?i.substring(0,100):i))}),this)}},a.prototype.hasImageBackground=function(t){return"none"!==t.method},a.prototype.loadImage=function(t){if("url"===t.method){var e=t.args[0];return!this.isSVG(e)||this.support.svg||this.options.allowTaint?e.match(/data:image\/.*;base64,/i)?new i(e.replace(/url\(['"]{0,}|['"]{0,}\)$/gi,""),!1):this.isSameOrigin(e)||!0===this.options.allowTaint||this.isSVG(e)?new i(e,!1):this.support.cors&&!this.options.allowTaint&&this.options.useCORS?new i(e,!0):this.options.proxy?new r(e,this.options.proxy):new o(e):new s(e)}return"linear-gradient"===t.method?new c(t):"gradient"===t.method?new p(t):"svg"===t.method?new l(t.args[0],this.support.svg):"IFRAME"===t.method?new d(t.args[0],this.isSameOrigin(t.args[0].src),this.options):new o(t)},a.prototype.isSVG=function(t){return"svg"===t.substring(t.length-3).toLowerCase()||s.prototype.isInline(t)},a.prototype.imageExists=function(t,e){return t.some((function(t){return t.src===e}))},a.prototype.isSameOrigin=function(t){return this.getOrigin(t)===this.origin},a.prototype.getOrigin=function(t){var e=this.link||(this.link=document.createElement("a"));return e.href=t,e.href=e.href,e.protocol+e.hostname+e.port},a.prototype.getPromise=function(t){return this.timeout(t,this.options.imageTimeout)["catch"]((function(){var e=new o(t.src);return e.promise.then((function(e){t.image=e}))}))},a.prototype.get=function(t){var e=null;return this.images.some((function(a){return(e=a).src===t}))?e:null},a.prototype.fetch=function(t){return this.images=t.reduce(f(this.findBackgroundImage,this),this.findImages(t)),this.images.forEach((function(t,e){t.promise.then((function(){n("Succesfully loaded image #"+(e+1),t)}),(function(a){n("Failed loading image #"+(e+1),t,a)}))})),this.ready=Promise.all(this.images.map(this.getPromise,this)),n("Finished searching images"),this},a.prototype.timeout=function(t,e){var a,i=Promise.race([t.promise,new Promise((function(i,o){a=setTimeout((function(){n("Timed out loading image",t),o(t)}),e)}))]).then((function(t){return clearTimeout(a),t}));return i["catch"]((function(){clearTimeout(a)})),i},e.exports=a},{"./dummyimagecontainer":5,"./framecontainer":8,"./imagecontainer":10,"./lineargradientcontainer":12,"./log":13,"./proxyimagecontainer":17,"./svgcontainer":23,"./svgnodecontainer":24,"./utils":26,"./webkitgradientcontainer":27}],12:[function(t,e){function a(t){n.apply(this,arguments),this.type=n.TYPES.LINEAR;var e=a.REGEXP_DIRECTION.test(t.args[0])||!n.REGEXP_COLORSTOP.test(t.args[0]);e?t.args[0].split(/\s+/).reverse().forEach((function(t,e){switch(t){case"left":this.x0=0,this.x1=1;break;case"top":this.y0=0,this.y1=1;break;case"right":this.x0=1,this.x1=0;break;case"bottom":this.y0=1,this.y1=0;break;case"to":var a=this.y0,n=this.x0;this.y0=this.y1,this.x0=this.x1,this.x1=n,this.y1=a;break;case"center":break;default:var i=.01*parseFloat(t,10);if(isNaN(i))break;0===e?(this.y0=i,this.y1=1-this.y0):(this.x0=i,this.x1=1-this.x0)}}),this):(this.y0=0,this.y1=1),this.colorStops=t.args.slice(e?1:0).map((function(t){var e=t.match(n.REGEXP_COLORSTOP),a=+e[2],o=0===a?"%":e[3];return{color:new i(e[1]),stop:"%"===o?a/100:null}})),null===this.colorStops[0].stop&&(this.colorStops[0].stop=0),null===this.colorStops[this.colorStops.length-1].stop&&(this.colorStops[this.colorStops.length-1].stop=1),this.colorStops.forEach((function(t,e){null===t.stop&&this.colorStops.slice(e).some((function(a,n){return null!==a.stop&&(t.stop=(a.stop-this.colorStops[e-1].stop)/(n+1)+this.colorStops[e-1].stop,!0)}),this)}),this)}var n=t("./gradientcontainer"),i=t("./color");a.prototype=Object.create(n.prototype),a.REGEXP_DIRECTION=/^\s*(?:to|left|right|top|bottom|center|\d{1,3}(?:\.\d+)?%?)(?:\s|$)/i,e.exports=a},{"./color":3,"./gradientcontainer":9}],13:[function(t,e){var a=function t(){t.options.logging&&window.console&&window.console.log&&Function.prototype.bind.call(window.console.log,window.console).apply(window.console,[Date.now()-t.options.start+"ms","html2canvas:"].concat([].slice.call(arguments,0)))};a.options={logging:!1},e.exports=a},{}],14:[function(t,e){function a(t,e){this.node=t,this.parent=e,this.stack=null,this.bounds=null,this.borders=null,this.clip=[],this.backgroundClip=[],this.offsetBounds=null,this.visible=null,this.computedStyles=null,this.colors={},this.styles={},this.backgroundImages=null,this.transformData=null,this.transformMatrix=null,this.isPseudoElement=!1,this.opacity=null}function n(t){var e=t.options[t.selectedIndex||0];return e&&e.text||""}function i(t){if(t&&"matrix"===t[1])return t[2].split(",").map((function(t){return parseFloat(t.trim())}));if(t&&"matrix3d"===t[1]){var e=t[2].split(",").map((function(t){return parseFloat(t.trim())}));return[e[0],e[1],e[4],e[5],e[12],e[13]]}}function o(t){return-1!==t.toString().indexOf("%")}function r(t){return t.replace("px","")}function d(t){return parseFloat(t)}var s=t("./color"),l=t("./utils"),c=l.getBounds,p=l.parseBackgrounds,f=l.offsetBounds;a.prototype.cloneTo=function(t){t.visible=this.visible,t.borders=this.borders,t.bounds=this.bounds,t.clip=this.clip,t.backgroundClip=this.backgroundClip,t.computedStyles=this.computedStyles,t.styles=this.styles,t.backgroundImages=this.backgroundImages,t.opacity=this.opacity},a.prototype.getOpacity=function(){return null===this.opacity?this.opacity=this.cssFloat("opacity"):this.opacity},a.prototype.assignStack=function(t){this.stack=t,t.children.push(this)},a.prototype.isElementVisible=function(){return this.node.nodeType===Node.TEXT_NODE?this.parent.visible:"none"!==this.css("display")&&"hidden"!==this.css("visibility")&&!this.node.hasAttribute("data-html2canvas-ignore")&&("INPUT"!==this.node.nodeName||"hidden"!==this.node.getAttribute("type"))},a.prototype.css=function(t){return this.computedStyles||(this.computedStyles=this.isPseudoElement?this.parent.computedStyle(this.before?":before":":after"):this.computedStyle(null)),this.styles[t]||(this.styles[t]=this.computedStyles[t])},a.prototype.prefixedCss=function(t){var e=["webkit","moz","ms","o"],a=this.css(t);return void 0===a&&e.some((function(e){return a=this.css(e+t.substr(0,1).toUpperCase()+t.substr(1)),void 0!==a}),this),void 0===a?null:a},a.prototype.computedStyle=function(t){return this.node.ownerDocument.defaultView.getComputedStyle(this.node,t)},a.prototype.cssInt=function(t){var e=parseInt(this.css(t),10);return isNaN(e)?0:e},a.prototype.color=function(t){return this.colors[t]||(this.colors[t]=new s(this.css(t)))},a.prototype.cssFloat=function(t){var e=parseFloat(this.css(t));return isNaN(e)?0:e},a.prototype.fontWeight=function(){var t=this.css("fontWeight");switch(parseInt(t,10)){case 401:t="bold";break;case 400:t="normal"}return t},a.prototype.parseClip=function(){var t=this.css("clip").match(this.CLIP);return t?{top:parseInt(t[1],10),right:parseInt(t[2],10),bottom:parseInt(t[3],10),left:parseInt(t[4],10)}:null},a.prototype.parseBackgroundImages=function(){return this.backgroundImages||(this.backgroundImages=p(this.css("backgroundImage")))},a.prototype.cssList=function(t,e){var a=(this.css(t)||"").split(",");return a=a[e||0]||a[0]||"auto",a=a.trim().split(" "),1===a.length&&(a=[a[0],o(a[0])?"auto":a[0]]),a},a.prototype.parseBackgroundSize=function(t,e,a){var n,i,r=this.cssList("backgroundSize",a);if(o(r[0]))n=t.width*parseFloat(r[0])/100;else{if(/contain|cover/.test(r[0])){var d=t.width/t.height,s=e.width/e.height;return s>d^"contain"===r[0]?{width:t.height*s,height:t.height}:{width:t.width,height:t.width/s}}n=parseInt(r[0],10)}return i="auto"===r[0]&&"auto"===r[1]?e.height:"auto"===r[1]?n/e.width*e.height:o(r[1])?t.height*parseFloat(r[1])/100:parseInt(r[1],10),"auto"===r[0]&&(n=i/e.height*e.width),{width:n,height:i}},a.prototype.parseBackgroundPosition=function(t,e,a,n){var i,r,d=this.cssList("backgroundPosition",a);return i=o(d[0])?(t.width-(n||e).width)*(parseFloat(d[0])/100):parseInt(d[0],10),r="auto"===d[1]?i/e.width*e.height:o(d[1])?(t.height-(n||e).height)*parseFloat(d[1])/100:parseInt(d[1],10),"auto"===d[0]&&(i=r/e.height*e.width),{left:i,top:r}},a.prototype.parseBackgroundRepeat=function(t){return this.cssList("backgroundRepeat",t)[0]},a.prototype.parseTextShadows=function(){var t=this.css("textShadow"),e=[];if(t&&"none"!==t)for(var a=t.match(this.TEXT_SHADOW_PROPERTY),n=0;a&&n<a.length;n++){var i=a[n].match(this.TEXT_SHADOW_VALUES);e.push({color:new s(i[0]),offsetX:i[1]?parseFloat(i[1].replace("px","")):0,offsetY:i[2]?parseFloat(i[2].replace("px","")):0,blur:i[3]?i[3].replace("px",""):0})}return e},a.prototype.parseTransform=function(){if(!this.transformData)if(this.hasTransform()){var t=this.parseBounds(),e=this.prefixedCss("transformOrigin").split(" ").map(r).map(d);e[0]+=t.left,e[1]+=t.top,this.transformData={origin:e,matrix:this.parseTransformMatrix()}}else this.transformData={origin:[0,0],matrix:[1,0,0,1,0,0]};return this.transformData},a.prototype.parseTransformMatrix=function(){if(!this.transformMatrix){var t=this.prefixedCss("transform"),e=t?i(t.match(this.MATRIX_PROPERTY)):null;this.transformMatrix=e||[1,0,0,1,0,0]}return this.transformMatrix},a.prototype.parseBounds=function(){return this.bounds||(this.bounds=this.hasTransform()?f(this.node):c(this.node))},a.prototype.hasTransform=function(){return"1,0,0,1,0,0"!==this.parseTransformMatrix().join(",")||this.parent&&this.parent.hasTransform()},a.prototype.getValue=function(){var t=this.node.value||"";return"SELECT"===this.node.tagName?t=n(this.node):"password"===this.node.type&&(t=Array(t.length+1).join("•")),0===t.length?this.node.placeholder||"":t},a.prototype.MATRIX_PROPERTY=/(matrix|matrix3d)\((.+)\)/,a.prototype.TEXT_SHADOW_PROPERTY=/((rgba|rgb)\([^\)]+\)(\s-?\d+px){0,})/g,a.prototype.TEXT_SHADOW_VALUES=/(-?\d+px)|(#.+)|(rgb\(.+\))|(rgba\(.+\))/g,a.prototype.CLIP=/^rect\((\d+)px,? (\d+)px,? (\d+)px,? (\d+)px\)$/,e.exports=a},{"./color":3,"./utils":26}],15:[function(t,e){function a(t,e,a,n,i){z("Starting NodeParser"),this.renderer=e,this.options=i,this.range=null,this.support=a,this.renderQueue=[],this.stack=new G(!0,1,t.ownerDocument,null);var o=new W(t,null);if(i.background&&e.rectangle(0,0,e.width,e.height,new X(i.background)),t===t.ownerDocument.documentElement){var r=new W(o.color("backgroundColor").isTransparent()?t.ownerDocument.body:t.ownerDocument.documentElement,null);e.rectangle(0,0,e.width,e.height,r.color("backgroundColor"))}o.visibile=o.isElementVisible(),this.createPseudoHideStyles(t.ownerDocument),this.disableAnimations(t.ownerDocument),this.nodes=N([o].concat(this.getChildren(o)).filter((function(t){return t.visible=t.isElementVisible()})).map(this.getPseudoElements,this)),this.fontMetrics=new V,z("Fetched nodes, total:",this.nodes.length),z("Calculate overflow clips"),this.calculateOverflowClips(),z("Start fetching images"),this.images=n.fetch(this.nodes.filter(S)),this.ready=this.images.ready.then(Y((function(){return z("Images loaded, starting parsing"),z("Creating stacking contexts"),this.createStackingContexts(),z("Sorting stacking contexts"),this.sortStackingContexts(this.stack),this.parse(this.stack),z("Render queue created with "+this.renderQueue.length+" items"),new Promise(Y((function(t){i.async?"function"==typeof i.async?i.async.call(this,this.renderQueue,t):this.renderQueue.length>0?(this.renderIndex=0,this.asyncRenderer(this.renderQueue,t)):t():(this.renderQueue.forEach(this.paint,this),t())}),this))}),this))}function n(t){return t.parent&&t.parent.clip.length}function i(t){return t.replace(/(\-[a-z])/g,(function(t){return t.toUpperCase().replace("-","")}))}function o(){}function r(t,e,a,n){return t.map((function(i,o){if(i.width>0){var r=e.left,d=e.top,s=e.width,l=e.height-t[2].width;switch(o){case 0:l=t[0].width,i.args=c({c1:[r,d],c2:[r+s,d],c3:[r+s-t[1].width,d+l],c4:[r+t[3].width,d+l]},n[0],n[1],a.topLeftOuter,a.topLeftInner,a.topRightOuter,a.topRightInner);break;case 1:r=e.left+e.width-t[1].width,s=t[1].width,i.args=c({c1:[r+s,d],c2:[r+s,d+l+t[2].width],c3:[r,d+l],c4:[r,d+t[0].width]},n[1],n[2],a.topRightOuter,a.topRightInner,a.bottomRightOuter,a.bottomRightInner);break;case 2:d=d+e.height-t[2].width,l=t[2].width,i.args=c({c1:[r+s,d+l],c2:[r,d+l],c3:[r+t[3].width,d],c4:[r+s-t[3].width,d]},n[2],n[3],a.bottomRightOuter,a.bottomRightInner,a.bottomLeftOuter,a.bottomLeftInner);break;case 3:s=t[3].width,i.args=c({c1:[r,d+l+t[2].width],c2:[r,d],c3:[r+s,d+t[0].width],c4:[r+s,d+l]},n[3],n[0],a.bottomLeftOuter,a.bottomLeftInner,a.topLeftOuter,a.topLeftInner)}}return i}))}function d(t,e,a,n){var i=(Math.sqrt(2)-1)/3*4,o=a*i,r=n*i,d=t+a,s=e+n;return{topLeft:l({x:t,y:s},{x:t,y:s-r},{x:d-o,y:e},{x:d,y:e}),topRight:l({x:t,y:e},{x:t+o,y:e},{x:d,y:s-r},{x:d,y:s}),bottomRight:l({x:d,y:e},{x:d,y:e+r},{x:t+o,y:s},{x:t,y:s}),bottomLeft:l({x:d,y:s},{x:d-o,y:s},{x:t,y:e+r},{x:t,y:e})}}function s(t,e,a){var n=t.left,i=t.top,o=t.width,r=t.height,s=e[0][0]<o/2?e[0][0]:o/2,l=e[0][1]<r/2?e[0][1]:r/2,c=e[1][0]<o/2?e[1][0]:o/2,p=e[1][1]<r/2?e[1][1]:r/2,f=e[2][0]<o/2?e[2][0]:o/2,g=e[2][1]<r/2?e[2][1]:r/2,u=e[3][0]<o/2?e[3][0]:o/2,b=e[3][1]<r/2?e[3][1]:r/2,h=o-c,m=r-g,v=o-f,x=r-b;return{topLeftOuter:d(n,i,s,l).topLeft.subdivide(.5),topLeftInner:d(n+a[3].width,i+a[0].width,Math.max(0,s-a[3].width),Math.max(0,l-a[0].width)).topLeft.subdivide(.5),topRightOuter:d(n+h,i,c,p).topRight.subdivide(.5),topRightInner:d(n+Math.min(h,o+a[3].width),i+a[0].width,h>o+a[3].width?0:c-a[3].width,p-a[0].width).topRight.subdivide(.5),bottomRightOuter:d(n+v,i+m,f,g).bottomRight.subdivide(.5),bottomRightInner:d(n+Math.min(v,o-a[3].width),i+Math.min(m,r+a[0].width),Math.max(0,f-a[1].width),g-a[2].width).bottomRight.subdivide(.5),bottomLeftOuter:d(n,i+x,u,b).bottomLeft.subdivide(.5),bottomLeftInner:d(n+a[3].width,i+x,Math.max(0,u-a[3].width),b-a[2].width).bottomLeft.subdivide(.5)}}function l(t,e,a,n){var i=function(t,e,a){return{x:t.x+(e.x-t.x)*a,y:t.y+(e.y-t.y)*a}};return{start:t,startControl:e,endControl:a,end:n,subdivide:function(o){var r=i(t,e,o),d=i(e,a,o),s=i(a,n,o),c=i(r,d,o),p=i(d,s,o),f=i(c,p,o);return[l(t,r,c,f),l(f,p,s,n)]},curveTo:function(t){t.push(["bezierCurve",e.x,e.y,a.x,a.y,n.x,n.y])},curveToReversed:function(n){n.push(["bezierCurve",a.x,a.y,e.x,e.y,t.x,t.y])}}}function c(t,e,a,n,i,o,r){var d=[];return e[0]>0||e[1]>0?(d.push(["line",n[1].start.x,n[1].start.y]),n[1].curveTo(d)):d.push(["line",t.c1[0],t.c1[1]]),a[0]>0||a[1]>0?(d.push(["line",o[0].start.x,o[0].start.y]),o[0].curveTo(d),d.push(["line",r[0].end.x,r[0].end.y]),r[0].curveToReversed(d)):(d.push(["line",t.c2[0],t.c2[1]]),d.push(["line",t.c3[0],t.c3[1]])),e[0]>0||e[1]>0?(d.push(["line",i[1].end.x,i[1].end.y]),i[1].curveToReversed(d)):d.push(["line",t.c4[0],t.c4[1]]),d}function p(t,e,a,n,i,o,r){e[0]>0||e[1]>0?(t.push(["line",n[0].start.x,n[0].start.y]),n[0].curveTo(t),n[1].curveTo(t)):t.push(["line",o,r]),(a[0]>0||a[1]>0)&&t.push(["line",i[0].start.x,i[0].start.y])}function f(t){return t.cssInt("zIndex")<0}function g(t){return t.cssInt("zIndex")>0}function u(t){return 0===t.cssInt("zIndex")}function b(t){return-1!==["inline","inline-block","inline-table"].indexOf(t.css("display"))}function h(t){return t instanceof G}function m(t){return t.node.data.trim().length>0}function v(t){return/^(normal|none|0px)$/.test(t.parent.css("letterSpacing"))}function x(t){return["TopLeft","TopRight","BottomRight","BottomLeft"].map((function(e){var a=t.css("border"+e+"Radius"),n=a.split(" ");return n.length<=1&&(n[1]=n[0]),n.map(M)}))}function y(t){return t.nodeType===Node.TEXT_NODE||t.nodeType===Node.ELEMENT_NODE}function w(t){var e=t.css("position"),a=-1!==["absolute","relative","fixed"].indexOf(e)?t.css("zIndex"):"auto";return"auto"!==a}function k(t){return"static"!==t.css("position")}function E(t){return"none"!==t.css("float")}function C(t){return-1!==["inline-block","inline-table"].indexOf(t.css("display"))}function T(t){var e=this;return function(){return!t.apply(e,arguments)}}function S(t){return t.node.nodeType===Node.ELEMENT_NODE}function I(t){return!0===t.isPseudoElement}function _(t){return t.node.nodeType===Node.TEXT_NODE}function R(t){return function(e,a){return e.cssInt("zIndex")+t.indexOf(e)/t.length-(a.cssInt("zIndex")+t.indexOf(a)/t.length)}}function O(t){return t.getOpacity()<1}function M(t){return parseInt(t,10)}function P(t){return t.width}function D(t){return t.node.nodeType!==Node.ELEMENT_NODE||-1===["SCRIPT","HEAD","TITLE","OBJECT","BR","OPTION"].indexOf(t.node.nodeName)}function N(t){return[].concat.apply([],t)}function j(t){var e=t.substr(0,1);return e===t.substr(t.length-1)&&e.match(/'|"/)?t.substr(1,t.length-2):t}function A(t){for(var e,a=[],n=0,i=!1;t.length;)B(t[n])===i?(e=t.splice(0,n),e.length&&a.push(F.ucs2.encode(e)),i=!i,n=0):n++,n>=t.length&&(e=t.splice(0,n),e.length&&a.push(F.ucs2.encode(e)));return a}function B(t){return-1!==[32,13,10,9,45].indexOf(t)}function L(t){return/[^\u0000-\u00ff]/.test(t)}var z=t("./log"),F=t("punycode"),W=t("./nodecontainer"),H=t("./textcontainer"),U=t("./pseudoelementcontainer"),V=t("./fontmetrics"),X=t("./color"),G=t("./stackingcontext"),$=t("./utils"),Y=$.bind,q=$.getBounds,Q=$.parseBackgrounds,J=$.offsetBounds;a.prototype.calculateOverflowClips=function(){this.nodes.forEach((function(t){if(S(t)){I(t)&&t.appendToDOM(),t.borders=this.parseBorders(t);var e="hidden"===t.css("overflow")?[t.borders.clip]:[],a=t.parseClip();a&&-1!==["absolute","fixed"].indexOf(t.css("position"))&&e.push([["rect",t.bounds.left+a.left,t.bounds.top+a.top,a.right-a.left,a.bottom-a.top]]),t.clip=n(t)?t.parent.clip.concat(e):e,t.backgroundClip="hidden"!==t.css("overflow")?t.clip.concat([t.borders.clip]):t.clip,I(t)&&t.cleanDOM()}else _(t)&&(t.clip=n(t)?t.parent.clip:[]);I(t)||(t.bounds=null)}),this)},a.prototype.asyncRenderer=function(t,e,a){a=a||Date.now(),this.paint(t[this.renderIndex++]),t.length===this.renderIndex?e():a+20>Date.now()?this.asyncRenderer(t,e,a):setTimeout(Y((function(){this.asyncRenderer(t,e)}),this),0)},a.prototype.createPseudoHideStyles=function(t){this.createStyles(t,"."+U.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+':before { content: "" !important; display: none !important; }.'+U.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER+':after { content: "" !important; display: none !important; }')},a.prototype.disableAnimations=function(t){this.createStyles(t,"* { -webkit-animation: none !important; -moz-animation: none !important; -o-animation: none !important; animation: none !important; -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; transition: none !important;}")},a.prototype.createStyles=function(t,e){var a=t.createElement("style");a.innerHTML=e,t.body.appendChild(a)},a.prototype.getPseudoElements=function(t){var e=[[t]];if(t.node.nodeType===Node.ELEMENT_NODE){var a=this.getPseudoElement(t,":before"),n=this.getPseudoElement(t,":after");a&&e.push(a),n&&e.push(n)}return N(e)},a.prototype.getPseudoElement=function(t,e){var a=t.computedStyle(e);if(!a||!a.content||"none"===a.content||"-moz-alt-content"===a.content||"none"===a.display)return null;for(var n=j(a.content),o="url"===n.substr(0,3),r=document.createElement(o?"img":"html2canvaspseudoelement"),d=new U(r,t,e),s=a.length-1;s>=0;s--){var l=i(a.item(s));r.style[l]=a[l]}if(r.className=U.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+" "+U.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER,o)return r.src=Q(n)[0].args[0],[d];var c=document.createTextNode(n);return r.appendChild(c),[d,new H(c,d)]},a.prototype.getChildren=function(t){return N([].filter.call(t.node.childNodes,y).map((function(e){var a=[e.nodeType===Node.TEXT_NODE?new H(e,t):new W(e,t)].filter(D);return e.nodeType===Node.ELEMENT_NODE&&a.length&&"TEXTAREA"!==e.tagName?a[0].isElementVisible()?a.concat(this.getChildren(a[0])):[]:a}),this))},a.prototype.newStackingContext=function(t,e){var a=new G(e,t.getOpacity(),t.node,t.parent);t.cloneTo(a);var n=e?a.getParentStack(this):a.parent.stack;n.contexts.push(a),t.stack=a},a.prototype.createStackingContexts=function(){this.nodes.forEach((function(t){S(t)&&(this.isRootElement(t)||O(t)||w(t)||this.isBodyWithTransparentRoot(t)||t.hasTransform())?this.newStackingContext(t,!0):S(t)&&(k(t)&&u(t)||C(t)||E(t))?this.newStackingContext(t,!1):t.assignStack(t.parent.stack)}),this)},a.prototype.isBodyWithTransparentRoot=function(t){return"BODY"===t.node.nodeName&&t.parent.color("backgroundColor").isTransparent()},a.prototype.isRootElement=function(t){return null===t.parent},a.prototype.sortStackingContexts=function(t){t.contexts.sort(R(t.contexts.slice(0))),t.contexts.forEach(this.sortStackingContexts,this)},a.prototype.parseTextBounds=function(t){return function(e,a,n){if("none"!==t.parent.css("textDecoration").substr(0,4)||0!==e.trim().length){if(this.support.rangeBounds&&!t.parent.hasTransform()){var i=n.slice(0,a).join("").length;return this.getRangeBounds(t.node,i,e.length)}if(t.node&&"string"==typeof t.node.data){var o=t.node.splitText(e.length),r=this.getWrapperBounds(t.node,t.parent.hasTransform());return t.node=o,r}}else(!this.support.rangeBounds||t.parent.hasTransform())&&(t.node=t.node.splitText(e.length));return{}}},a.prototype.getWrapperBounds=function(t,e){var a=t.ownerDocument.createElement("html2canvaswrapper"),n=t.parentNode,i=t.cloneNode(!0);a.appendChild(t.cloneNode(!0)),n.replaceChild(a,t);var o=e?J(a):q(a);return n.replaceChild(i,a),o},a.prototype.getRangeBounds=function(t,e,a){var n=this.range||(this.range=t.ownerDocument.createRange());return n.setStart(t,e),n.setEnd(t,e+a),n.getBoundingClientRect()},a.prototype.parse=function(t){var e=t.contexts.filter(f),a=t.children.filter(S),n=a.filter(T(E)),i=n.filter(T(k)).filter(T(b)),r=a.filter(T(k)).filter(E),d=n.filter(T(k)).filter(b),s=t.contexts.concat(n.filter(k)).filter(u),l=t.children.filter(_).filter(m),c=t.contexts.filter(g);e.concat(i).concat(r).concat(d).concat(s).concat(l).concat(c).forEach((function(t){this.renderQueue.push(t),h(t)&&(this.parse(t),this.renderQueue.push(new o))}),this)},a.prototype.paint=function(t){try{t instanceof o?this.renderer.ctx.restore():_(t)?(I(t.parent)&&t.parent.appendToDOM(),this.paintText(t),I(t.parent)&&t.parent.cleanDOM()):this.paintNode(t)}catch(e){if(z(e),this.options.strict)throw e}},a.prototype.paintNode=function(t){h(t)&&(this.renderer.setOpacity(t.opacity),this.renderer.ctx.save(),t.hasTransform()&&this.renderer.setTransform(t.parseTransform())),"INPUT"===t.node.nodeName&&"checkbox"===t.node.type?this.paintCheckbox(t):"INPUT"===t.node.nodeName&&"radio"===t.node.type?this.paintRadio(t):this.paintElement(t)},a.prototype.paintElement=function(t){var e=t.parseBounds();this.renderer.clip(t.backgroundClip,(function(){this.renderer.renderBackground(t,e,t.borders.borders.map(P))}),this),this.renderer.clip(t.clip,(function(){this.renderer.renderBorders(t.borders.borders)}),this),this.renderer.clip(t.backgroundClip,(function(){switch(t.node.nodeName){case"svg":case"IFRAME":var a=this.images.get(t.node);a?this.renderer.renderImage(t,e,t.borders,a):z("Error loading <"+t.node.nodeName+">",t.node);break;case"IMG":var n=this.images.get(t.node.src);n?this.renderer.renderImage(t,e,t.borders,n):z("Error loading <img>",t.node.src);break;case"CANVAS":this.renderer.renderImage(t,e,t.borders,{image:t.node});break;case"SELECT":case"INPUT":case"TEXTAREA":this.paintFormValue(t)}}),this)},a.prototype.paintCheckbox=function(t){var e=t.parseBounds(),a=Math.min(e.width,e.height),n={width:a-1,height:a-1,top:e.top,left:e.left},i=[3,3],o=[i,i,i,i],d=[1,1,1,1].map((function(t){return{color:new X("#A5A5A5"),width:t}})),l=s(n,o,d);this.renderer.clip(t.backgroundClip,(function(){this.renderer.rectangle(n.left+1,n.top+1,n.width-2,n.height-2,new X("#DEDEDE")),this.renderer.renderBorders(r(d,n,l,o)),t.node.checked&&(this.renderer.font(new X("#424242"),"normal","normal","bold",a-3+"px","arial"),this.renderer.text("✔",n.left+a/6,n.top+a-1))}),this)},a.prototype.paintRadio=function(t){var e=t.parseBounds(),a=Math.min(e.width,e.height)-2;this.renderer.clip(t.backgroundClip,(function(){this.renderer.circleStroke(e.left+1,e.top+1,a,new X("#DEDEDE"),1,new X("#A5A5A5")),t.node.checked&&this.renderer.circle(Math.ceil(e.left+a/4)+1,Math.ceil(e.top+a/4)+1,Math.floor(a/2),new X("#424242"))}),this)},a.prototype.paintFormValue=function(t){var e=t.getValue();if(e.length>0){var a=t.node.ownerDocument,n=a.createElement("html2canvaswrapper"),i=["lineHeight","textAlign","fontFamily","fontWeight","fontSize","color","paddingLeft","paddingTop","paddingRight","paddingBottom","width","height","borderLeftStyle","borderTopStyle","borderLeftWidth","borderTopWidth","boxSizing","whiteSpace","wordWrap"];i.forEach((function(e){try{n.style[e]=t.css(e)}catch(a){z("html2canvas: Parse: Exception caught in renderFormValue: "+a.message)}}));var o=t.parseBounds();n.style.position="fixed",n.style.left=o.left+"px",n.style.top=o.top+"px",n.textContent=e,a.body.appendChild(n),this.paintText(new H(n.firstChild,t)),a.body.removeChild(n)}},a.prototype.paintText=function(t){t.applyTextTransform();var e=F.ucs2.decode(t.node.data),a=this.options.letterRendering&&!v(t)||L(t.node.data)?e.map((function(t){return F.ucs2.encode([t])})):A(e),n=t.parent.fontWeight(),i=t.parent.css("fontSize"),o=t.parent.css("fontFamily"),r=t.parent.parseTextShadows();this.renderer.font(t.parent.color("color"),t.parent.css("fontStyle"),t.parent.css("fontVariant"),n,i,o),r.length?this.renderer.fontShadow(r[0].color,r[0].offsetX,r[0].offsetY,r[0].blur):this.renderer.clearShadow(),this.renderer.clip(t.parent.clip,(function(){a.map(this.parseTextBounds(t),this).forEach((function(e,n){e&&(this.renderer.text(a[n],e.left,e.bottom),this.renderTextDecoration(t.parent,e,this.fontMetrics.getMetrics(o,i)))}),this)}),this)},a.prototype.renderTextDecoration=function(t,e,a){switch(t.css("textDecoration").split(" ")[0]){case"underline":this.renderer.rectangle(e.left,Math.round(e.top+a.baseline+a.lineWidth),e.width,1,t.color("color"));break;case"overline":this.renderer.rectangle(e.left,Math.round(e.top),e.width,1,t.color("color"));break;case"line-through":this.renderer.rectangle(e.left,Math.ceil(e.top+a.middle+a.lineWidth),e.width,1,t.color("color"))}};var K={inset:[["darken",.6],["darken",.1],["darken",.1],["darken",.6]]};a.prototype.parseBorders=function(t){var e=t.parseBounds(),a=x(t),n=["Top","Right","Bottom","Left"].map((function(e,a){var n=t.css("border"+e+"Style"),i=t.color("border"+e+"Color");"inset"===n&&i.isBlack()&&(i=new X([255,255,255,i.a]));var o=K[n]?K[n][a]:null;return{width:t.cssInt("border"+e+"Width"),color:o?i[o[0]](o[1]):i,args:null}})),i=s(e,a,n);return{clip:this.parseBackgroundClip(t,i,n,a,e),borders:r(n,e,i,a)}},a.prototype.parseBackgroundClip=function(t,e,a,n,i){var o=t.css("backgroundClip"),r=[];switch(o){case"content-box":case"padding-box":p(r,n[0],n[1],e.topLeftInner,e.topRightInner,i.left+a[3].width,i.top+a[0].width),p(r,n[1],n[2],e.topRightInner,e.bottomRightInner,i.left+i.width-a[1].width,i.top+a[0].width),p(r,n[2],n[3],e.bottomRightInner,e.bottomLeftInner,i.left+i.width-a[1].width,i.top+i.height-a[2].width),p(r,n[3],n[0],e.bottomLeftInner,e.topLeftInner,i.left+a[3].width,i.top+i.height-a[2].width);break;default:p(r,n[0],n[1],e.topLeftOuter,e.topRightOuter,i.left,i.top),p(r,n[1],n[2],e.topRightOuter,e.bottomRightOuter,i.left+i.width,i.top),p(r,n[2],n[3],e.bottomRightOuter,e.bottomLeftOuter,i.left+i.width,i.top+i.height),p(r,n[3],n[0],e.bottomLeftOuter,e.topLeftOuter,i.left,i.top+i.height)}return r},e.exports=a},{"./color":3,"./fontmetrics":7,"./log":13,"./nodecontainer":14,"./pseudoelementcontainer":18,"./stackingcontext":21,"./textcontainer":25,"./utils":26,punycode:1}],16:[function(t,e,a){function n(t,e,a){var n="withCredentials"in new XMLHttpRequest;if(!e)return Promise.reject("No proxy configured");var i=r(n),s=d(e,t,i);return n?c(s):o(a,s,i).then((function(t){return u(t.content)}))}function i(t,e,a){var n="crossOrigin"in new Image,i=r(n),s=d(e,t,i);return n?Promise.resolve(s):o(a,s,i).then((function(t){return"data:"+t.type+";base64,"+t.content}))}function o(t,e,a){return new Promise((function(n,i){var o=t.createElement("script"),r=function(){delete window.html2canvas.proxy[a],t.body.removeChild(o)};window.html2canvas.proxy[a]=function(t){r(),n(t)},o.src=e,o.onerror=function(t){r(),i(t)},t.body.appendChild(o)}))}function r(t){return t?"":"html2canvas_"+Date.now()+"_"+ ++b+"_"+Math.round(1e5*Math.random())}function d(t,e,a){return t+"?url="+encodeURIComponent(e)+(a.length?"&callback=html2canvas.proxy."+a:"")}function s(t){return function(e){var a,n=new DOMParser;try{a=n.parseFromString(e,"text/html")}catch(i){f("DOMParser not supported, falling back to createHTMLDocument"),a=document.implementation.createHTMLDocument("");try{a.open(),a.write(e),a.close()}catch(o){f("createHTMLDocument write not supported, falling back to document.body.innerHTML"),a.body.innerHTML=e}}var r=a.querySelector("base");if(!r||!r.href.host){var d=a.createElement("base");d.href=t,a.head.insertBefore(d,a.head.firstChild)}return a}}function l(t,e,a,i,o,r){return new n(t,e,window.document).then(s(t)).then((function(t){return g(t,a,i,o,r,0,0)}))}var c=t("./xhr"),p=t("./utils"),f=t("./log"),g=t("./clone"),u=p.decode64,b=0;a.Proxy=n,a.ProxyURL=i,a.loadUrlDocument=l},{"./clone":2,"./log":13,"./utils":26,"./xhr":28}],17:[function(t,e){function a(t,e){var a=document.createElement("a");a.href=t,t=a.href,this.src=t,this.image=new Image;var i=this;this.promise=new Promise((function(a,o){i.image.crossOrigin="Anonymous",i.image.onload=a,i.image.onerror=o,new n(t,e,document).then((function(t){i.image.src=t}))["catch"](o)}))}var n=t("./proxy").ProxyURL;e.exports=a},{"./proxy":16}],18:[function(t,e){function a(t,e,a){n.call(this,t,e),this.isPseudoElement=!0,this.before=":before"===a}var n=t("./nodecontainer");a.prototype.cloneTo=function(t){a.prototype.cloneTo.call(this,t),t.isPseudoElement=!0,t.before=this.before},a.prototype=Object.create(n.prototype),a.prototype.appendToDOM=function(){this.before?this.parent.node.insertBefore(this.node,this.parent.node.firstChild):this.parent.node.appendChild(this.node),this.parent.node.className+=" "+this.getHideClass()},a.prototype.cleanDOM=function(){this.node.parentNode.removeChild(this.node),this.parent.node.className=this.parent.node.className.replace(this.getHideClass(),"")},a.prototype.getHideClass=function(){return this["PSEUDO_HIDE_ELEMENT_CLASS_"+(this.before?"BEFORE":"AFTER")]},a.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE="___html2canvas___pseudoelement_before",a.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER="___html2canvas___pseudoelement_after",e.exports=a},{"./nodecontainer":14}],19:[function(t,e){function a(t,e,a,n,i){this.width=t,this.height=e,this.images=a,this.options=n,this.document=i}var n=t("./log");a.prototype.renderImage=function(t,e,a,n){var i=t.cssInt("paddingLeft"),o=t.cssInt("paddingTop"),r=t.cssInt("paddingRight"),d=t.cssInt("paddingBottom"),s=a.borders,l=e.width-(s[1].width+s[3].width+i+r),c=e.height-(s[0].width+s[2].width+o+d);this.drawImage(n,0,0,n.image.width||l,n.image.height||c,e.left+i+s[3].width,e.top+o+s[0].width,l,c)},a.prototype.renderBackground=function(t,e,a){e.height>0&&e.width>0&&(this.renderBackgroundColor(t,e),this.renderBackgroundImage(t,e,a))},a.prototype.renderBackgroundColor=function(t,e){var a=t.color("backgroundColor");a.isTransparent()||this.rectangle(e.left,e.top,e.width,e.height,a)},a.prototype.renderBorders=function(t){t.forEach(this.renderBorder,this)},a.prototype.renderBorder=function(t){t.color.isTransparent()||null===t.args||this.drawShape(t.args,t.color)},a.prototype.renderBackgroundImage=function(t,e,a){var i=t.parseBackgroundImages();i.reverse().forEach((function(i,o,r){switch(i.method){case"url":var d=this.images.get(i.args[0]);d?this.renderBackgroundRepeating(t,e,d,r.length-(o+1),a):n("Error loading background-image",i.args[0]);break;case"linear-gradient":case"gradient":var s=this.images.get(i.value);s?this.renderBackgroundGradient(s,e,a):n("Error loading background-image",i.args[0]);break;case"none":break;default:n("Unknown background-image type",i.args[0])}}),this)},a.prototype.renderBackgroundRepeating=function(t,e,a,n,i){var o=t.parseBackgroundSize(e,a.image,n),r=t.parseBackgroundPosition(e,a.image,n,o),d=t.parseBackgroundRepeat(n);switch(d){case"repeat-x":case"repeat no-repeat":this.backgroundRepeatShape(a,r,o,e,e.left+i[3],e.top+r.top+i[0],99999,o.height,i);break;case"repeat-y":case"no-repeat repeat":this.backgroundRepeatShape(a,r,o,e,e.left+r.left+i[3],e.top+i[0],o.width,99999,i);break;case"no-repeat":this.backgroundRepeatShape(a,r,o,e,e.left+r.left+i[3],e.top+r.top+i[0],o.width,o.height,i);break;default:this.renderBackgroundRepeat(a,r,o,{top:e.top,left:e.left},i[3],i[0])}},e.exports=a},{"./log":13}],20:[function(t,e){function a(t,e){i.apply(this,arguments),this.canvas=this.options.canvas||this.document.createElement("canvas"),this.options.canvas||(this.canvas.width=t,this.canvas.height=e),this.ctx=this.canvas.getContext("2d"),this.taintCtx=this.document.createElement("canvas").getContext("2d"),this.ctx.textBaseline="bottom",this.variables={},r("Initialized CanvasRenderer with size",t,"x",e)}function n(t){return t.length>0}var i=t("../renderer"),o=t("../lineargradientcontainer"),r=t("../log");a.prototype=Object.create(i.prototype),a.prototype.setFillStyle=function(t){return this.ctx.fillStyle="object"==typeof t&&t.isColor?t.toString():t,this.ctx},a.prototype.rectangle=function(t,e,a,n,i){this.setFillStyle(i).fillRect(t,e,a,n)},a.prototype.circle=function(t,e,a,n){this.setFillStyle(n),this.ctx.beginPath(),this.ctx.arc(t+a/2,e+a/2,a/2,0,2*Math.PI,!0),this.ctx.closePath(),this.ctx.fill()},a.prototype.circleStroke=function(t,e,a,n,i,o){this.circle(t,e,a,n),this.ctx.strokeStyle=o.toString(),this.ctx.stroke()},a.prototype.drawShape=function(t,e){this.shape(t),this.setFillStyle(e).fill()},a.prototype.taints=function(t){if(null===t.tainted){this.taintCtx.drawImage(t.image,0,0);try{this.taintCtx.getImageData(0,0,1,1),t.tainted=!1}catch(e){this.taintCtx=document.createElement("canvas").getContext("2d"),t.tainted=!0}}return t.tainted},a.prototype.drawImage=function(t,e,a,n,i,o,r,d,s){(!this.taints(t)||this.options.allowTaint)&&this.ctx.drawImage(t.image,e,a,n,i,o,r,d,s)},a.prototype.clip=function(t,e,a){this.ctx.save(),t.filter(n).forEach((function(t){this.shape(t).clip()}),this),e.call(a),this.ctx.restore()},a.prototype.shape=function(t){return this.ctx.beginPath(),t.forEach((function(t,e){"rect"===t[0]?this.ctx.rect.apply(this.ctx,t.slice(1)):this.ctx[0===e?"moveTo":t[0]+"To"].apply(this.ctx,t.slice(1))}),this),this.ctx.closePath(),this.ctx},a.prototype.font=function(t,e,a,n,i,o){this.setFillStyle(t).font=[e,a,n,i,o].join(" ").split(",")[0]},a.prototype.fontShadow=function(t,e,a,n){this.setVariable("shadowColor",t.toString()).setVariable("shadowOffsetY",e).setVariable("shadowOffsetX",a).setVariable("shadowBlur",n)},a.prototype.clearShadow=function(){this.setVariable("shadowColor","rgba(0,0,0,0)")},a.prototype.setOpacity=function(t){this.ctx.globalAlpha=t},a.prototype.setTransform=function(t){this.ctx.translate(t.origin[0],t.origin[1]),this.ctx.transform.apply(this.ctx,t.matrix),this.ctx.translate(-t.origin[0],-t.origin[1])},a.prototype.setVariable=function(t,e){return this.variables[t]!==e&&(this.variables[t]=this.ctx[t]=e),this},a.prototype.text=function(t,e,a){this.ctx.fillText(t,e,a)},a.prototype.backgroundRepeatShape=function(t,e,a,n,i,o,r,d,s){var l=[["line",Math.round(i),Math.round(o)],["line",Math.round(i+r),Math.round(o)],["line",Math.round(i+r),Math.round(d+o)],["line",Math.round(i),Math.round(d+o)]];this.clip([l],(function(){this.renderBackgroundRepeat(t,e,a,n,s[3],s[0])}),this)},a.prototype.renderBackgroundRepeat=function(t,e,a,n,i,o){var r=Math.round(n.left+e.left+i),d=Math.round(n.top+e.top+o);this.setFillStyle(this.ctx.createPattern(this.resizeImage(t,a),"repeat")),this.ctx.translate(r,d),this.ctx.fill(),this.ctx.translate(-r,-d)},a.prototype.renderBackgroundGradient=function(t,e){if(t instanceof o){var a=this.ctx.createLinearGradient(e.left+e.width*t.x0,e.top+e.height*t.y0,e.left+e.width*t.x1,e.top+e.height*t.y1);t.colorStops.forEach((function(t){a.addColorStop(t.stop,t.color.toString())})),this.rectangle(e.left,e.top,e.width,e.height,a)}},a.prototype.resizeImage=function(t,e){var a=t.image;if(a.width===e.width&&a.height===e.height)return a;var n,i=document.createElement("canvas");return i.width=e.width,i.height=e.height,n=i.getContext("2d"),n.drawImage(a,0,0,a.width,a.height,0,0,e.width,e.height),i},e.exports=a},{"../lineargradientcontainer":12,"../log":13,"../renderer":19}],21:[function(t,e){function a(t,e,a,i){n.call(this,a,i),this.ownStacking=t,this.contexts=[],this.children=[],this.opacity=(this.parent?this.parent.stack.opacity:1)*e}var n=t("./nodecontainer");a.prototype=Object.create(n.prototype),a.prototype.getParentStack=function(t){var e=this.parent?this.parent.stack:null;return e?e.ownStacking?e:e.getParentStack(t):t.stack},e.exports=a},{"./nodecontainer":14}],22:[function(t,e){function a(t){this.rangeBounds=this.testRangeBounds(t),this.cors=this.testCORS(),this.svg=this.testSVG()}a.prototype.testRangeBounds=function(t){var e,a,n,i,o=!1;return t.createRange&&(e=t.createRange(),e.getBoundingClientRect&&(a=t.createElement("boundtest"),a.style.height="123px",a.style.display="block",t.body.appendChild(a),e.selectNode(a),n=e.getBoundingClientRect(),i=n.height,123===i&&(o=!0),t.body.removeChild(a))),o},a.prototype.testCORS=function(){return"undefined"!=typeof(new Image).crossOrigin},a.prototype.testSVG=function(){var t=new Image,e=document.createElement("canvas"),a=e.getContext("2d");t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{a.drawImage(t,0,0),e.toDataURL()}catch(n){return!1}return!0},e.exports=a},{}],23:[function(t,e){function a(t){this.src=t,this.image=null;var e=this;this.promise=this.hasFabric().then((function(){return e.isInline(t)?Promise.resolve(e.inlineFormatting(t)):n(t)})).then((function(t){return new Promise((function(a){window.html2canvas.svg.fabric.loadSVGFromString(t,e.createCanvas.call(e,a))}))}))}var n=t("./xhr"),i=t("./utils").decode64;a.prototype.hasFabric=function(){return window.html2canvas.svg&&window.html2canvas.svg.fabric?Promise.resolve():Promise.reject(new Error("html2canvas.svg.js is not loaded, cannot render svg"))},a.prototype.inlineFormatting=function(t){return/^data:image\/svg\+xml;base64,/.test(t)?this.decode64(this.removeContentType(t)):this.removeContentType(t)},a.prototype.removeContentType=function(t){return t.replace(/^data:image\/svg\+xml(;base64)?,/,"")},a.prototype.isInline=function(t){return/^data:image\/svg\+xml/i.test(t)},a.prototype.createCanvas=function(t){var e=this;return function(a,n){var i=new window.html2canvas.svg.fabric.StaticCanvas("c");e.image=i.lowerCanvasEl,i.setWidth(n.width).setHeight(n.height).add(window.html2canvas.svg.fabric.util.groupSVGElements(a,n)).renderAll(),t(i.lowerCanvasEl)}},a.prototype.decode64=function(t){return"function"==typeof window.atob?window.atob(t):i(t)},e.exports=a},{"./utils":26,"./xhr":28}],24:[function(t,e){function a(t,e){this.src=t,this.image=null;var a=this;this.promise=e?new Promise((function(e,n){a.image=new Image,a.image.onload=e,a.image.onerror=n,a.image.src="data:image/svg+xml,"+(new XMLSerializer).serializeToString(t),!0===a.image.complete&&e(a.image)})):this.hasFabric().then((function(){return new Promise((function(e){window.html2canvas.svg.fabric.parseSVGDocument(t,a.createCanvas.call(a,e))}))}))}var n=t("./svgcontainer");a.prototype=Object.create(n.prototype),e.exports=a},{"./svgcontainer":23}],25:[function(t,e){function a(t,e){i.call(this,t,e)}function n(t,e,a){return t.length>0?e+a.toUpperCase():void 0}var i=t("./nodecontainer");a.prototype=Object.create(i.prototype),a.prototype.applyTextTransform=function(){this.node.data=this.transform(this.parent.css("textTransform"))},a.prototype.transform=function(t){var e=this.node.data;switch(t){case"lowercase":return e.toLowerCase();case"capitalize":return e.replace(/(^|\s|:|-|\(|\))([a-z])/g,n);case"uppercase":return e.toUpperCase();default:return e}},e.exports=a},{"./nodecontainer":14}],26:[function(t,e,a){a.smallImage=function(){return"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},a.bind=function(t,e){return function(){return t.apply(e,arguments)}},a.decode64=function(t){var e,a,n,i,o,r,d,s,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=t.length,p="";for(e=0;c>e;e+=4)a=l.indexOf(t[e]),n=l.indexOf(t[e+1]),i=l.indexOf(t[e+2]),o=l.indexOf(t[e+3]),r=a<<2|n>>4,d=(15&n)<<4|i>>2,s=(3&i)<<6|o,p+=64===i?String.fromCharCode(r):64===o||-1===o?String.fromCharCode(r,d):String.fromCharCode(r,d,s);return p},a.getBounds=function(t){if(t.getBoundingClientRect){var e=t.getBoundingClientRect(),a=null==t.offsetWidth?e.width:t.offsetWidth;return{top:e.top,bottom:e.bottom||e.top+e.height,right:e.left+a,left:e.left,width:a,height:null==t.offsetHeight?e.height:t.offsetHeight}}return{}},a.offsetBounds=function(t){var e=t.offsetParent?a.offsetBounds(t.offsetParent):{top:0,left:0};return{top:t.offsetTop+e.top,bottom:t.offsetTop+t.offsetHeight+e.top,right:t.offsetLeft+e.left+t.offsetWidth,left:t.offsetLeft+e.left,width:t.offsetWidth,height:t.offsetHeight}},a.parseBackgrounds=function(t){var e,a,n,i,o,r,d,s=" \r\n\t",l=[],c=0,p=0,f=function(){e&&('"'===a.substr(0,1)&&(a=a.substr(1,a.length-2)),a&&d.push(a),"-"===e.substr(0,1)&&(i=e.indexOf("-",1)+1)>0&&(n=e.substr(0,i),e=e.substr(i)),l.push({prefix:n,method:e.toLowerCase(),value:o,args:d,image:null})),d=[],e=n=a=o=""};return d=[],e=n=a=o="",t.split("").forEach((function(t){if(!(0===c&&s.indexOf(t)>-1)){switch(t){case'"':r?r===t&&(r=null):r=t;break;case"(":if(r)break;if(0===c)return c=1,void(o+=t);p++;break;case")":if(r)break;if(1===c){if(0===p)return c=0,o+=t,void f();p--}break;case",":if(r)break;if(0===c)return void f();if(1===c&&0===p&&!e.match(/^url$/i))return d.push(a),a="",void(o+=t)}o+=t,0===c?e+=t:a+=t}})),f(),l}},{}],27:[function(t,e){function a(t){n.apply(this,arguments),this.type="linear"===t.args[0]?n.TYPES.LINEAR:n.TYPES.RADIAL}var n=t("./gradientcontainer");a.prototype=Object.create(n.prototype),e.exports=a},{"./gradientcontainer":9}],28:[function(t,e){function a(t){return new Promise((function(e,a){var n=new XMLHttpRequest;n.open("GET",t),n.onload=function(){200===n.status?e(n.responseText):a(new Error(n.statusText))},n.onerror=function(){a(new Error("Network Error"))},n.send()}))}e.exports=a},{}]},{},[4])(4)}))}).call(this,a("c8ba"))},adb3:function(t,e,a){var n=a("dace");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("08944786",n,!0,{sourceMap:!1,shadowMode:!1})},c3c4:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var n={shoproEmpty:a("da02").default,shoproSkeleton:a("6f96").default,shoproLoginModal:a("4061").default,shoproTabbar:a("a787").default,shoproNoticeModal:a("0d61").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"page_box"},[t.hasTemplate?a("v-uni-view",{staticClass:"page_box shopro-selector"},[a("v-uni-view",{staticClass:"content_box",staticStyle:{"margin-top":"-4rpx",overflow:"hidden"}},[a("v-uni-scroll-view",{staticClass:"scroll-box",attrs:{"scroll-y":!0,"scroll-with-animation":!0,"enable-back-to-top":!0}},[t._l(t.template,(function(e,n){return t.template?["banner"===e.type?a("sh-banner",{key:n+"_0",attrs:{detail:e.content},on:{getbgcolor:function(e){arguments[0]=e=t.$handleEvent(e),t.getbgcolor.apply(void 0,arguments)}}}):t._e(),"menu"===e.type?a("sh-menu",{key:n+"_1",attrs:{detail:e.content,menu:e.content.style,imgW:94}}):t._e(),"seckill"===e.type?a("sh-seckill",{key:n+"_2",attrs:{detail:e.content}}):t._e(),"groupon"===e.type?a("sh-groupon",{key:n+"_3",attrs:{detail:e.content}}):t._e(),"rich-text"===e.type?a("sh-richtext",{key:n+"_4",attrs:{detail:e.content}}):t._e(),"nav-list"===e.type?a("sh-nav",{key:n+"_5",attrs:{detail:e.content}}):t._e(),"grid-list"===e.type?a("sh-grid",{key:n+"_6",attrs:{detail:e.content}}):t._e(),"title-block"===e.type?a("sh-title-card",{key:n+"_7",attrs:{detail:e.content}}):t._e(),"goods-list"===e.type||"goods-group"===e.type?a("sh-hot-goods",{key:n+"_8",attrs:{detail:e.content}}):t._e(),"user"===e.type?a("sh-userinfo",{key:n+"_9",attrs:{detail:e.content}}):t._e(),"wallet-card"===e.type?a("sh-wallet",{key:n+"_10",attrs:{detail:e.content}}):t._e(),"order-card"===e.type?a("sh-order",{key:n+"_11",attrs:{detail:e.content}}):t._e()]:t._e()}))],2)],1),a("v-uni-view",{staticClass:"foot_box"}),a("shopro-skeleton",{attrs:{showSkeleton:!t.template}}),a("shopro-login-modal"),a("shopro-tabbar"),!t.showPrivacy&&t.showNoticeModal?a("shopro-notice-modal"):t._e()],1):a("shopro-empty",{attrs:{emptyData:t.emptyData}})],1)},o=[]},cb29:function(t,e,a){var n=a("23e7"),i=a("81d5"),o=a("44d2");n({target:"Array",proto:!0},{fill:i}),o("fill")},d9c9:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/* ==================\r\n uni-app的变量\r\n防止插件市场用到这些,就保留了\r\n ==================== */\r\n/* 页面左右间距 */\r\n/* 文字尺寸 */\r\n/*文字颜色*/\r\n/* 边框颜色 */\r\n/* 图片加载中颜色 */\r\n/* 行为相关颜色 */\r\n/* ==================\r\n theme \r\n ==================== */\r\n/*主题色*/\r\n/*文字色*/\r\n/*背景色*/\r\n/* ==================\r\n 自定义变量 \r\n ==================== */\r\n/*utils 工具*/\r\n/* 颜色 */.bg-red[data-v-7aeeffa6]{background-color:#f33!important}.bg-purple[data-v-7aeeffa6]{background-color:#ff33a9!important}.bg-orange[data-v-7aeeffa6]{background-color:#f83!important}.bg-blue[data-v-7aeeffa6]{background-color:#37f!important}.color-red[data-v-7aeeffa6]{color:#f33!important}.color-purple[data-v-7aeeffa6]{color:#ff33a9!important}.color-orange[data-v-7aeeffa6]{color:#f83!important}.color-blue[data-v-7aeeffa6]{color:#37f!important}.text-black[data-v-7aeeffa6]{color:#000}.text-dark[data-v-7aeeffa6]{color:#333}.text-deep[data-v-7aeeffa6]{color:#555}.text-weak[data-v-7aeeffa6]{color:#b3b3b3}.text-white[data-v-7aeeffa6]{color:#fff}\r\n/*字体*/.f10[data-v-7aeeffa6]{font-size:10px}.f12[data-v-7aeeffa6]{font-size:12px}.f14[data-v-7aeeffa6]{font-size:14px}.f15[data-v-7aeeffa6]{font-size:15px}.f17[data-v-7aeeffa6]{font-size:17px}.f20[data-v-7aeeffa6]{font-size:20px}.f24[data-v-7aeeffa6]{font-size:24px}\r\n/* 文字对齐*/.tl[data-v-7aeeffa6]{text-align:left}.tc[data-v-7aeeffa6]{text-align:center}.tr[data-v-7aeeffa6]{text-align:right}\r\n/*浮动与清除浮动*/.fl[data-v-7aeeffa6]{float:left}.fr[data-v-7aeeffa6]{float:right}\n.fix[data-v-7aeeffa6]{zoom:1}.fix[data-v-7aeeffa6]:after{display:table;content:"";clear:both}\r\n\r\n/*显示*/.dn[data-v-7aeeffa6]{display:none}.di[data-v-7aeeffa6]{display:inline}.db[data-v-7aeeffa6]{display:block}.dib[data-v-7aeeffa6]{display:inline-block}.dt[data-v-7aeeffa6]{display:table}\ndiv.dib[data-v-7aeeffa6]{display:inline;zoom:1}\n.vm[data-v-7aeeffa6]{vertical-align:middle}.vib[data-v-7aeeffa6]{display:inline-block;vertical-align:middle}\r\n/*定位*/.pr[data-v-7aeeffa6]{position:relative}.pa[data-v-7aeeffa6]{position:absolute}.pf[data-v-7aeeffa6]{position:fixed}\r\n/*盒子模型*/.mt2[data-v-7aeeffa6]{margin-top:%?2?%}.mr2[data-v-7aeeffa6]{margin-right:%?2?%}.mb2[data-v-7aeeffa6]{margin-bottom:%?2?%}.ml2[data-v-7aeeffa6]{margin-left:%?2?%}.mx2[data-v-7aeeffa6]{margin-left:%?2?%;margin-right:%?2?%}.my2[data-v-7aeeffa6]{margin-top:%?2?%;margin-bottom:%?2?%}.ma2[data-v-7aeeffa6]{margin:%?2?%}.mt4[data-v-7aeeffa6]{margin-top:%?4?%}.mr4[data-v-7aeeffa6]{margin-right:%?4?%}.mb4[data-v-7aeeffa6]{margin-bottom:%?4?%}.ml4[data-v-7aeeffa6]{margin-left:%?4?%}.mx4[data-v-7aeeffa6]{margin-left:%?4?%;margin-right:%?4?%}.my4[data-v-7aeeffa6]{margin-top:%?4?%;margin-bottom:%?4?%}.ma4[data-v-7aeeffa6]{margin:%?4?%}.mt8[data-v-7aeeffa6]{margin-top:%?8?%}.mr8[data-v-7aeeffa6]{margin-right:%?8?%}.mb8[data-v-7aeeffa6]{margin-bottom:%?8?%}.ml8[data-v-7aeeffa6]{margin-left:%?8?%}.mx8[data-v-7aeeffa6]{margin-left:%?8?%;margin-right:%?8?%}.my8[data-v-7aeeffa6]{margin-top:%?8?%;margin-bottom:%?8?%}.ma8[data-v-7aeeffa6]{margin:%?8?%}.mt10[data-v-7aeeffa6]{margin-top:%?10?%}.mr10[data-v-7aeeffa6]{margin-right:%?10?%}.mb10[data-v-7aeeffa6]{margin-bottom:%?10?%}.ml10[data-v-7aeeffa6]{margin-left:%?10?%}.mx10[data-v-7aeeffa6]{margin-left:%?10?%;margin-right:%?10?%}.my10[data-v-7aeeffa6]{margin-top:%?10?%;margin-bottom:%?10?%}.ma10[data-v-7aeeffa6]{margin:%?10?%}.mt15[data-v-7aeeffa6]{margin-top:%?15?%}.mr15[data-v-7aeeffa6]{margin-right:%?15?%}.mb15[data-v-7aeeffa6]{margin-bottom:%?15?%}.ml15[data-v-7aeeffa6]{margin-left:%?15?%}.mx15[data-v-7aeeffa6]{margin-left:%?15?%;margin-right:%?15?%}.my15[data-v-7aeeffa6]{margin-top:%?15?%;margin-bottom:%?15?%}.ma15[data-v-7aeeffa6]{margin:%?15?%}.mt20[data-v-7aeeffa6]{margin-top:%?20?%}.mr20[data-v-7aeeffa6]{margin-right:%?20?%}.mb20[data-v-7aeeffa6]{margin-bottom:%?20?%}.ml20[data-v-7aeeffa6]{margin-left:%?20?%}.mx20[data-v-7aeeffa6]{margin-left:%?20?%;margin-right:%?20?%}.my20[data-v-7aeeffa6]{margin-top:%?20?%;margin-bottom:%?20?%}.ma20[data-v-7aeeffa6]{margin:%?20?%}.mt24[data-v-7aeeffa6]{margin-top:%?24?%}.mr24[data-v-7aeeffa6]{margin-right:%?24?%}.mb24[data-v-7aeeffa6]{margin-bottom:%?24?%}.ml24[data-v-7aeeffa6]{margin-left:%?24?%}.mx24[data-v-7aeeffa6]{margin-left:%?24?%;margin-right:%?24?%}.my24[data-v-7aeeffa6]{margin-top:%?24?%;margin-bottom:%?24?%}.ma24[data-v-7aeeffa6]{margin:%?24?%}.mt30[data-v-7aeeffa6]{margin-top:%?30?%}.mr30[data-v-7aeeffa6]{margin-right:%?30?%}.mb30[data-v-7aeeffa6]{margin-bottom:%?30?%}.ml30[data-v-7aeeffa6]{margin-left:%?30?%}.mx30[data-v-7aeeffa6]{margin-left:%?30?%;margin-right:%?30?%}.my30[data-v-7aeeffa6]{margin-top:%?30?%;margin-bottom:%?30?%}.ma30[data-v-7aeeffa6]{margin:%?30?%}.pt2[data-v-7aeeffa6]{padding-top:%?2?%}.pr2[data-v-7aeeffa6]{padding-right:%?2?%}.pb2[data-v-7aeeffa6]{padding-bottom:%?2?%}.pl2[data-v-7aeeffa6]{padding-left:%?2?%}.px2[data-v-7aeeffa6]{padding-left:%?2?%;padding-right:%?2?%}.py2[data-v-7aeeffa6]{padding-top:%?2?%;padding-bottom:%?2?%}.pa2[data-v-7aeeffa6]{padding:%?2?%}.pt4[data-v-7aeeffa6]{padding-top:%?4?%}.pr4[data-v-7aeeffa6]{padding-right:%?4?%}.pb4[data-v-7aeeffa6]{padding-bottom:%?4?%}.pl4[data-v-7aeeffa6]{padding-left:%?4?%}.px4[data-v-7aeeffa6]{padding-left:%?4?%;padding-right:%?4?%}.py4[data-v-7aeeffa6]{padding-top:%?4?%;padding-bottom:%?4?%}.pa4[data-v-7aeeffa6]{padding:%?4?%}.pt8[data-v-7aeeffa6]{padding-top:%?8?%}.pr8[data-v-7aeeffa6]{padding-right:%?8?%}.pb8[data-v-7aeeffa6]{padding-bottom:%?8?%}.pl8[data-v-7aeeffa6]{padding-left:%?8?%}.px8[data-v-7aeeffa6]{padding-left:%?8?%;padding-right:%?8?%}.py8[data-v-7aeeffa6]{padding-top:%?8?%;padding-bottom:%?8?%}.pa8[data-v-7aeeffa6]{padding:%?8?%}.pt10[data-v-7aeeffa6]{padding-top:%?10?%}.pr10[data-v-7aeeffa6]{padding-right:%?10?%}.pb10[data-v-7aeeffa6]{padding-bottom:%?10?%}.pl10[data-v-7aeeffa6]{padding-left:%?10?%}.px10[data-v-7aeeffa6]{padding-left:%?10?%;padding-right:%?10?%}.py10[data-v-7aeeffa6]{padding-top:%?10?%;padding-bottom:%?10?%}.pa10[data-v-7aeeffa6]{padding:%?10?%}.pt15[data-v-7aeeffa6]{padding-top:%?15?%}.pr15[data-v-7aeeffa6]{padding-right:%?15?%}.pb15[data-v-7aeeffa6]{padding-bottom:%?15?%}.pl15[data-v-7aeeffa6]{padding-left:%?15?%}.px15[data-v-7aeeffa6]{padding-left:%?15?%;padding-right:%?15?%}.py15[data-v-7aeeffa6]{padding-top:%?15?%;padding-bottom:%?15?%}.pa15[data-v-7aeeffa6]{padding:%?15?%}.pt20[data-v-7aeeffa6]{padding-top:%?20?%}.pr20[data-v-7aeeffa6]{padding-right:%?20?%}.pb20[data-v-7aeeffa6]{padding-bottom:%?20?%}.pl20[data-v-7aeeffa6]{padding-left:%?20?%}.px20[data-v-7aeeffa6]{padding-left:%?20?%;padding-right:%?20?%}.py20[data-v-7aeeffa6]{padding-top:%?20?%;padding-bottom:%?20?%}.pa20[data-v-7aeeffa6]{padding:%?20?%}.pt24[data-v-7aeeffa6]{padding-top:%?24?%}.pr24[data-v-7aeeffa6]{padding-right:%?24?%}.pb24[data-v-7aeeffa6]{padding-bottom:%?24?%}.pl24[data-v-7aeeffa6]{padding-left:%?24?%}.px24[data-v-7aeeffa6]{padding-left:%?24?%;padding-right:%?24?%}.py24[data-v-7aeeffa6]{padding-top:%?24?%;padding-bottom:%?24?%}.pa24[data-v-7aeeffa6]{padding:%?24?%}.pt30[data-v-7aeeffa6]{padding-top:%?30?%}.pr30[data-v-7aeeffa6]{padding-right:%?30?%}.pb30[data-v-7aeeffa6]{padding-bottom:%?30?%}.pl30[data-v-7aeeffa6]{padding-left:%?30?%}.px30[data-v-7aeeffa6]{padding-left:%?30?%;padding-right:%?30?%}.py30[data-v-7aeeffa6]{padding-top:%?30?%;padding-bottom:%?30?%}.pa30[data-v-7aeeffa6]{padding:%?30?%}\r\n/*按钮禁用*/.disabled[data-v-7aeeffa6]{outline:0 none;cursor:default!important;opacity:.4;filter:alpha(opacity=40);-ms-pointer-events:none;pointer-events:none}\r\n/**\r\n * \r\n * 自定义class工具\r\n * \r\n*/.pad[data-v-7aeeffa6]{padding:0 %?30?%}.page_box[data-v-7aeeffa6]{height:100%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;overflow-x:hidden;background:#fff}.scroll-box[data-v-7aeeffa6]{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;position:relative}.content_box[data-v-7aeeffa6]{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow-y:auto}\r\n/*单行文本溢出省略号*/.one-t[data-v-7aeeffa6]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/*多行文本溢出省略号*/.more-t[data-v-7aeeffa6]{overflow:hidden;text-overflow:ellipsis;word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/* ==================\r\n flex布局(colorui里面也有相关基础样式)\r\n ==================== */\r\n/* x水平排列*/.x-f[data-v-7aeeffa6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x两端且水平居中*/.x-bc[data-v-7aeeffa6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x平分且水平居中*/.x-ac[data-v-7aeeffa6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x水平靠上对齐*/.x-start[data-v-7aeeffa6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*x水平靠下对齐*/.x-end[data-v-7aeeffa6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*上下左右居中*/.x-c[data-v-7aeeffa6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*y竖直靠左*/.y-start[data-v-7aeeffa6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*y竖直靠右*/.y-end[data-v-7aeeffa6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*y竖直居中*/.y-f[data-v-7aeeffa6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.y-b[data-v-7aeeffa6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/*y竖直两端居中*/.y-bc[data-v-7aeeffa6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/* ==================\r\n flex布局 \r\n ==================== */\r\n/* ==================\r\n 渐变色 \r\n ==================== */\r\n/**\r\n* 溢出省略号\r\n* @param {Number} 行数\r\n*/\r\n/* shopro主题颜色 */\r\n/* 深黑 */#dark-theme[data-v-7aeeffa6]{background:#000}#dark-theme .bColor[data-v-7aeeffa6]{background:#fff;color:#999}#dark-theme .borderColor[data-v-7aeeffa6]{border-color:#fff}\r\n/* 粉红 */#red-theme[data-v-7aeeffa6]{background:#f9e5ee}#red-theme .bColor[data-v-7aeeffa6]{background:#f9e5ee;color:#8e5a54}#red-theme .borderColor[data-v-7aeeffa6]{border-color:#8e5a54}\r\n/* 橘黄 */#yellow-theme[data-v-7aeeffa6]{background:#f6e1c9}#yellow-theme .bColor[data-v-7aeeffa6]{background:#f6e1c9;color:#8c6031}#yellow-theme .borderColor[data-v-7aeeffa6]{border-color:#8c6031}.skeletons_box[data-v-7aeeffa6]{width:%?750?%;overflow:hidden;height:100%;position:fixed;z-index:99999}.skeletons_box .img[data-v-7aeeffa6]{width:100%}.skeletons_box .loading[data-v-7aeeffa6]{width:%?140?%;height:%?140?%;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:999}.skeletons_box .loading[data-v-7aeeffa6]::after{content:""!important}.skeletons_box .loading[data-v-7aeeffa6]::before{background-color:initial}',""]),t.exports=e},da02:function(t,e,a){"use strict";a.r(e);var n=a("4036"),i=a("7238");for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("6277");var r,d=a("f0c5"),s=Object(d["a"])(i["default"],n["b"],n["c"],!1,null,"eb86e4b4",null,!1,n["a"],r);e["default"]=s.exports},dace:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/* ==================\r\n uni-app的变量\r\n防止插件市场用到这些,就保留了\r\n ==================== */\r\n/* 页面左右间距 */\r\n/* 文字尺寸 */\r\n/*文字颜色*/\r\n/* 边框颜色 */\r\n/* 图片加载中颜色 */\r\n/* 行为相关颜色 */\r\n/* ==================\r\n theme \r\n ==================== */\r\n/*主题色*/\r\n/*文字色*/\r\n/*背景色*/\r\n/* ==================\r\n 自定义变量 \r\n ==================== */\r\n/*utils 工具*/\r\n/* 颜色 */.bg-red[data-v-eb86e4b4]{background-color:#f33!important}.bg-purple[data-v-eb86e4b4]{background-color:#ff33a9!important}.bg-orange[data-v-eb86e4b4]{background-color:#f83!important}.bg-blue[data-v-eb86e4b4]{background-color:#37f!important}.color-red[data-v-eb86e4b4]{color:#f33!important}.color-purple[data-v-eb86e4b4]{color:#ff33a9!important}.color-orange[data-v-eb86e4b4]{color:#f83!important}.color-blue[data-v-eb86e4b4]{color:#37f!important}.text-black[data-v-eb86e4b4]{color:#000}.text-dark[data-v-eb86e4b4]{color:#333}.text-deep[data-v-eb86e4b4]{color:#555}.text-weak[data-v-eb86e4b4]{color:#b3b3b3}.text-white[data-v-eb86e4b4]{color:#fff}\r\n/*字体*/.f10[data-v-eb86e4b4]{font-size:10px}.f12[data-v-eb86e4b4]{font-size:12px}.f14[data-v-eb86e4b4]{font-size:14px}.f15[data-v-eb86e4b4]{font-size:15px}.f17[data-v-eb86e4b4]{font-size:17px}.f20[data-v-eb86e4b4]{font-size:20px}.f24[data-v-eb86e4b4]{font-size:24px}\r\n/* 文字对齐*/.tl[data-v-eb86e4b4]{text-align:left}.tc[data-v-eb86e4b4]{text-align:center}.tr[data-v-eb86e4b4]{text-align:right}\r\n/*浮动与清除浮动*/.fl[data-v-eb86e4b4]{float:left}.fr[data-v-eb86e4b4]{float:right}\n.fix[data-v-eb86e4b4]{zoom:1}.fix[data-v-eb86e4b4]:after{display:table;content:"";clear:both}\r\n\r\n/*显示*/.dn[data-v-eb86e4b4]{display:none}.di[data-v-eb86e4b4]{display:inline}.db[data-v-eb86e4b4]{display:block}.dib[data-v-eb86e4b4]{display:inline-block}.dt[data-v-eb86e4b4]{display:table}\ndiv.dib[data-v-eb86e4b4]{display:inline;zoom:1}\n.vm[data-v-eb86e4b4]{vertical-align:middle}.vib[data-v-eb86e4b4]{display:inline-block;vertical-align:middle}\r\n/*定位*/.pr[data-v-eb86e4b4]{position:relative}.pa[data-v-eb86e4b4]{position:absolute}.pf[data-v-eb86e4b4]{position:fixed}\r\n/*盒子模型*/.mt2[data-v-eb86e4b4]{margin-top:%?2?%}.mr2[data-v-eb86e4b4]{margin-right:%?2?%}.mb2[data-v-eb86e4b4]{margin-bottom:%?2?%}.ml2[data-v-eb86e4b4]{margin-left:%?2?%}.mx2[data-v-eb86e4b4]{margin-left:%?2?%;margin-right:%?2?%}.my2[data-v-eb86e4b4]{margin-top:%?2?%;margin-bottom:%?2?%}.ma2[data-v-eb86e4b4]{margin:%?2?%}.mt4[data-v-eb86e4b4]{margin-top:%?4?%}.mr4[data-v-eb86e4b4]{margin-right:%?4?%}.mb4[data-v-eb86e4b4]{margin-bottom:%?4?%}.ml4[data-v-eb86e4b4]{margin-left:%?4?%}.mx4[data-v-eb86e4b4]{margin-left:%?4?%;margin-right:%?4?%}.my4[data-v-eb86e4b4]{margin-top:%?4?%;margin-bottom:%?4?%}.ma4[data-v-eb86e4b4]{margin:%?4?%}.mt8[data-v-eb86e4b4]{margin-top:%?8?%}.mr8[data-v-eb86e4b4]{margin-right:%?8?%}.mb8[data-v-eb86e4b4]{margin-bottom:%?8?%}.ml8[data-v-eb86e4b4]{margin-left:%?8?%}.mx8[data-v-eb86e4b4]{margin-left:%?8?%;margin-right:%?8?%}.my8[data-v-eb86e4b4]{margin-top:%?8?%;margin-bottom:%?8?%}.ma8[data-v-eb86e4b4]{margin:%?8?%}.mt10[data-v-eb86e4b4]{margin-top:%?10?%}.mr10[data-v-eb86e4b4]{margin-right:%?10?%}.mb10[data-v-eb86e4b4]{margin-bottom:%?10?%}.ml10[data-v-eb86e4b4]{margin-left:%?10?%}.mx10[data-v-eb86e4b4]{margin-left:%?10?%;margin-right:%?10?%}.my10[data-v-eb86e4b4]{margin-top:%?10?%;margin-bottom:%?10?%}.ma10[data-v-eb86e4b4]{margin:%?10?%}.mt15[data-v-eb86e4b4]{margin-top:%?15?%}.mr15[data-v-eb86e4b4]{margin-right:%?15?%}.mb15[data-v-eb86e4b4]{margin-bottom:%?15?%}.ml15[data-v-eb86e4b4]{margin-left:%?15?%}.mx15[data-v-eb86e4b4]{margin-left:%?15?%;margin-right:%?15?%}.my15[data-v-eb86e4b4]{margin-top:%?15?%;margin-bottom:%?15?%}.ma15[data-v-eb86e4b4]{margin:%?15?%}.mt20[data-v-eb86e4b4]{margin-top:%?20?%}.mr20[data-v-eb86e4b4]{margin-right:%?20?%}.mb20[data-v-eb86e4b4]{margin-bottom:%?20?%}.ml20[data-v-eb86e4b4]{margin-left:%?20?%}.mx20[data-v-eb86e4b4]{margin-left:%?20?%;margin-right:%?20?%}.my20[data-v-eb86e4b4]{margin-top:%?20?%;margin-bottom:%?20?%}.ma20[data-v-eb86e4b4]{margin:%?20?%}.mt24[data-v-eb86e4b4]{margin-top:%?24?%}.mr24[data-v-eb86e4b4]{margin-right:%?24?%}.mb24[data-v-eb86e4b4]{margin-bottom:%?24?%}.ml24[data-v-eb86e4b4]{margin-left:%?24?%}.mx24[data-v-eb86e4b4]{margin-left:%?24?%;margin-right:%?24?%}.my24[data-v-eb86e4b4]{margin-top:%?24?%;margin-bottom:%?24?%}.ma24[data-v-eb86e4b4]{margin:%?24?%}.mt30[data-v-eb86e4b4]{margin-top:%?30?%}.mr30[data-v-eb86e4b4]{margin-right:%?30?%}.mb30[data-v-eb86e4b4]{margin-bottom:%?30?%}.ml30[data-v-eb86e4b4]{margin-left:%?30?%}.mx30[data-v-eb86e4b4]{margin-left:%?30?%;margin-right:%?30?%}.my30[data-v-eb86e4b4]{margin-top:%?30?%;margin-bottom:%?30?%}.ma30[data-v-eb86e4b4]{margin:%?30?%}.pt2[data-v-eb86e4b4]{padding-top:%?2?%}.pr2[data-v-eb86e4b4]{padding-right:%?2?%}.pb2[data-v-eb86e4b4]{padding-bottom:%?2?%}.pl2[data-v-eb86e4b4]{padding-left:%?2?%}.px2[data-v-eb86e4b4]{padding-left:%?2?%;padding-right:%?2?%}.py2[data-v-eb86e4b4]{padding-top:%?2?%;padding-bottom:%?2?%}.pa2[data-v-eb86e4b4]{padding:%?2?%}.pt4[data-v-eb86e4b4]{padding-top:%?4?%}.pr4[data-v-eb86e4b4]{padding-right:%?4?%}.pb4[data-v-eb86e4b4]{padding-bottom:%?4?%}.pl4[data-v-eb86e4b4]{padding-left:%?4?%}.px4[data-v-eb86e4b4]{padding-left:%?4?%;padding-right:%?4?%}.py4[data-v-eb86e4b4]{padding-top:%?4?%;padding-bottom:%?4?%}.pa4[data-v-eb86e4b4]{padding:%?4?%}.pt8[data-v-eb86e4b4]{padding-top:%?8?%}.pr8[data-v-eb86e4b4]{padding-right:%?8?%}.pb8[data-v-eb86e4b4]{padding-bottom:%?8?%}.pl8[data-v-eb86e4b4]{padding-left:%?8?%}.px8[data-v-eb86e4b4]{padding-left:%?8?%;padding-right:%?8?%}.py8[data-v-eb86e4b4]{padding-top:%?8?%;padding-bottom:%?8?%}.pa8[data-v-eb86e4b4]{padding:%?8?%}.pt10[data-v-eb86e4b4]{padding-top:%?10?%}.pr10[data-v-eb86e4b4]{padding-right:%?10?%}.pb10[data-v-eb86e4b4]{padding-bottom:%?10?%}.pl10[data-v-eb86e4b4]{padding-left:%?10?%}.px10[data-v-eb86e4b4]{padding-left:%?10?%;padding-right:%?10?%}.py10[data-v-eb86e4b4]{padding-top:%?10?%;padding-bottom:%?10?%}.pa10[data-v-eb86e4b4]{padding:%?10?%}.pt15[data-v-eb86e4b4]{padding-top:%?15?%}.pr15[data-v-eb86e4b4]{padding-right:%?15?%}.pb15[data-v-eb86e4b4]{padding-bottom:%?15?%}.pl15[data-v-eb86e4b4]{padding-left:%?15?%}.px15[data-v-eb86e4b4]{padding-left:%?15?%;padding-right:%?15?%}.py15[data-v-eb86e4b4]{padding-top:%?15?%;padding-bottom:%?15?%}.pa15[data-v-eb86e4b4]{padding:%?15?%}.pt20[data-v-eb86e4b4]{padding-top:%?20?%}.pr20[data-v-eb86e4b4]{padding-right:%?20?%}.pb20[data-v-eb86e4b4]{padding-bottom:%?20?%}.pl20[data-v-eb86e4b4]{padding-left:%?20?%}.px20[data-v-eb86e4b4]{padding-left:%?20?%;padding-right:%?20?%}.py20[data-v-eb86e4b4]{padding-top:%?20?%;padding-bottom:%?20?%}.pa20[data-v-eb86e4b4]{padding:%?20?%}.pt24[data-v-eb86e4b4]{padding-top:%?24?%}.pr24[data-v-eb86e4b4]{padding-right:%?24?%}.pb24[data-v-eb86e4b4]{padding-bottom:%?24?%}.pl24[data-v-eb86e4b4]{padding-left:%?24?%}.px24[data-v-eb86e4b4]{padding-left:%?24?%;padding-right:%?24?%}.py24[data-v-eb86e4b4]{padding-top:%?24?%;padding-bottom:%?24?%}.pa24[data-v-eb86e4b4]{padding:%?24?%}.pt30[data-v-eb86e4b4]{padding-top:%?30?%}.pr30[data-v-eb86e4b4]{padding-right:%?30?%}.pb30[data-v-eb86e4b4]{padding-bottom:%?30?%}.pl30[data-v-eb86e4b4]{padding-left:%?30?%}.px30[data-v-eb86e4b4]{padding-left:%?30?%;padding-right:%?30?%}.py30[data-v-eb86e4b4]{padding-top:%?30?%;padding-bottom:%?30?%}.pa30[data-v-eb86e4b4]{padding:%?30?%}\r\n/*按钮禁用*/.disabled[data-v-eb86e4b4]{outline:0 none;cursor:default!important;opacity:.4;filter:alpha(opacity=40);-ms-pointer-events:none;pointer-events:none}\r\n/**\r\n * \r\n * 自定义class工具\r\n * \r\n*/.pad[data-v-eb86e4b4]{padding:0 %?30?%}.page_box[data-v-eb86e4b4]{height:100%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;overflow-x:hidden;background:#fff}.scroll-box[data-v-eb86e4b4]{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;position:relative}.content_box[data-v-eb86e4b4]{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow-y:auto}\r\n/*单行文本溢出省略号*/.one-t[data-v-eb86e4b4]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/*多行文本溢出省略号*/.more-t[data-v-eb86e4b4]{overflow:hidden;text-overflow:ellipsis;word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/* ==================\r\n flex布局(colorui里面也有相关基础样式)\r\n ==================== */\r\n/* x水平排列*/.x-f[data-v-eb86e4b4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x两端且水平居中*/.x-bc[data-v-eb86e4b4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x平分且水平居中*/.x-ac[data-v-eb86e4b4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x水平靠上对齐*/.x-start[data-v-eb86e4b4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*x水平靠下对齐*/.x-end[data-v-eb86e4b4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*上下左右居中*/.x-c[data-v-eb86e4b4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*y竖直靠左*/.y-start[data-v-eb86e4b4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*y竖直靠右*/.y-end[data-v-eb86e4b4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*y竖直居中*/.y-f[data-v-eb86e4b4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.y-b[data-v-eb86e4b4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/*y竖直两端居中*/.y-bc[data-v-eb86e4b4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/* ==================\r\n flex布局 \r\n ==================== */\r\n/* ==================\r\n 渐变色 \r\n ==================== */\r\n/**\r\n* 溢出省略号\r\n* @param {Number} 行数\r\n*/\r\n/* shopro主题颜色 */\r\n/* 深黑 */#dark-theme[data-v-eb86e4b4]{background:#000}#dark-theme .bColor[data-v-eb86e4b4]{background:#fff;color:#999}#dark-theme .borderColor[data-v-eb86e4b4]{border-color:#fff}\r\n/* 粉红 */#red-theme[data-v-eb86e4b4]{background:#f9e5ee}#red-theme .bColor[data-v-eb86e4b4]{background:#f9e5ee;color:#8e5a54}#red-theme .borderColor[data-v-eb86e4b4]{border-color:#8e5a54}\r\n/* 橘黄 */#yellow-theme[data-v-eb86e4b4]{background:#f6e1c9}#yellow-theme .bColor[data-v-eb86e4b4]{background:#f6e1c9;color:#8c6031}#yellow-theme .borderColor[data-v-eb86e4b4]{border-color:#8c6031}.shopro-empty[data-v-eb86e4b4]{position:fixed;z-index:11;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.empty-img[data-v-eb86e4b4]{width:%?540?%;height:%?290?%}.empty-text[data-v-eb86e4b4]{font-size:%?26?%;color:#999}.btn-box[data-v-eb86e4b4]{margin-top:%?100?%}.btn-box .empty-btn[data-v-eb86e4b4]{width:%?320?%;height:%?70?%;background:-webkit-linear-gradient(left,#e9b461,#eecc89);background:linear-gradient(90deg,#e9b461,#eecc89);border-radius:%?35?%;font-size:%?28?%;color:hsla(0,0%,100%,.9)}',""]),t.exports=e},e0e2:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"shoproSkeletons",components:{},data:function(){return{skeletonsDot:{index:"/static/imgs/skeleton_screen/index.jpg",detail:"/static/imgs/skeleton_screen/detail.jpg",goodsList:"/static/imgs/skeleton_screen/list.jpg"}}},props:{type:String},computed:{},methods:{}};e.default=n},ef82:function(t,e,a){"use strict";var n=a("85ec"),i=a.n(n);i.a},f231:function(t,e,a){"use strict";a.r(e);var n=a("606e"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},f5d3:function(t,e,a){"use strict";a.r(e);var n=a("1477"),i=a("01cf");for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("6fe4");var r,d=a("f0c5"),s=Object(d["a"])(i["default"],n["b"],n["c"],!1,null,"7aeeffa6",null,!1,n["a"],r);e["default"]=s.exports},ff1d:function(t,e,a){"use strict";var n=a("2ab7"),i=a.n(n);i.a}}]);