(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1e08b3de"],{"0277":function(A,t,e){"use strict";var n=e("efbb"),i=e.n(n);i.a},"02a4":function(A,t,e){"use strict";e.r(t);var n=function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"slider-box"},[e("div",{staticClass:"c_row-item"},[A.configData.title?e("Col",{staticClass:"label",attrs:{span:"4"}},[A._v("\n "+A._s(A.configData.title)+"\n ")]):A._e(),e("Col",{staticClass:"slider-box",attrs:{span:"19"}},[e("Select",{on:{"on-change":A.sliderChange},model:{value:A.configData.activeValue,callback:function(t){A.$set(A.configData,"activeValue",t)},expression:"configData.activeValue"}},A._l(A.configData.list,(function(t,n){return e("Option",{key:n,attrs:{value:t.activeValue}},[A._v(A._s(t.title))])})),1)],1)],1)])},i=[],o={name:"c_select",props:{configObj:{type:Object},configNme:{type:String},number:{type:null}},data:function(){return{defaults:{},configData:{},timeStamp:""}},mounted:function(){var A=this;this.$nextTick((function(){A.defaults=A.configObj,A.configData=A.configObj[A.configNme]}))},watch:{configObj:{handler:function(A,t){this.defaults=A,this.configData=A[this.configNme]},deep:!0},number:function(A){this.timeStamp=A}},methods:{sliderChange:function(A){var t=window.localStorage;this.configData.activeValue=A||t.getItem(this.timeStamp),this.$emit("getConfig",{name:"select",values:A})}}},r=o,a=(e("7116"),e("2877")),s=Object(a["a"])(r,n,i,!1,null,"589cdd82",null);t["default"]=s.exports},"035d":function(A,t,e){"use strict";e.r(t);var n=function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"mobile-config"},[e("Form",{ref:"formInline"},[A._l(A.rCom,(function(t,n){return e("div",{key:n},[e(t.components.name,{key:n,ref:"childData",refInFor:!0,tag:"component",attrs:{configObj:A.configObj,configNme:t.configNme,index:A.activeIndex,num:t.num},on:{getConfig:A.getConfig}})],1)})),e("rightBtn",{attrs:{activeIndex:A.activeIndex,configObj:A.configObj}})],2)],1)},i=[],o=(e("8e6e"),e("ac6a"),e("456d"),e("bd86")),r=e("ab01"),a=e("befa");function s(A,t){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(A,t).enumerable}))),e.push.apply(e,n)}return e}function c(A){for(var t=1;t0?e("div",{staticClass:"mobile-page paddingBox"},[e("div",{staticClass:"home-hot",style:{marginTop:A.slider+"px",background:A.boxColor}},[e("div",{staticClass:"hd"},[e("p",{staticClass:"txt",style:{color:A.txtColor}},[A._v(A._s(A.titleTxt))]),e("p",{staticClass:"color-txt",style:"background: linear-gradient(90deg,"+A.bgColor[0].item+","+A.bgColor[1].item+");"},[A._v(A._s(A.msgTxt))])]),e("div",{staticClass:"bd"},A._l(A.hotList,(function(t,n){return e("div",{key:n,staticClass:"item"},[e("div",{staticClass:"left"},[e("div",{staticClass:"title"},[A._v(A._s(t.info[0].value))]),e("div",{staticClass:"des"},[A._v(A._s(t.info[1].value))]),e("div",{staticClass:"link"},[A._v("GO!")])]),e("div",{staticClass:"img-box"},[t.img?e("img",{attrs:{src:t.img,alt:""}}):e("div",{staticClass:"empty-box on"},[e("span",{staticClass:"iconfont-diy icontupian"})])])])})),0)])]):A._e()},i=[],o=(e("8e6e"),e("ac6a"),e("456d"),e("bd86")),r=e("2f62");function a(A,t){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(A,t).enumerable}))),e.push.apply(e,n)}return e}function s(A){for(var t=1;t"+i+""};A.exports=function(A,t){var e={};e[A]=t(a),n(n.P+n.F*i((function(){var t=""[A]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",e)}},"387fa":function(A,t,e){"use strict";var n=e("d099"),i=e.n(n);i.a},"3aaf":function(A,t,e){"use strict";var n=e("deb2"),i=e.n(n);i.a},"3b2b":function(A,t,e){var n=e("7726"),i=e("5dbc"),o=e("86cc").f,r=e("9093").f,a=e("aae3"),s=e("0bfb"),c=n.RegExp,l=c,u=c.prototype,f=/a/g,g=/a/g,d=new c(f)!==f;if(e("9e1e")&&(!d||e("79e5")((function(){return g[e("2b4c")("match")]=!1,c(f)!=f||c(g)==g||"/a/i"!=c(f,"i")})))){c=function(A,t){var e=this instanceof c,n=a(A),o=void 0===t;return!e&&n&&A.constructor===c&&o?A:i(d?new l(n&&!o?A.source:A,t):l((n=A instanceof c)?A.source:A,n&&o?s.call(A):t),e?this:u,c)};for(var p=function(A){A in c||o(c,A,{configurable:!0,get:function(){return l[A]},set:function(t){l[A]=t}})},m=r(l),B=0;m.length>B;)p(m[B++]);u.constructor=c,c.prototype=u,e("2aba")(n,"RegExp",c)}e("7a56")("RegExp")},"3bab":function(A,t,e){"use strict";var n=e("1234"),i=e.n(n);i.a},"3cbf":function(A,t,e){"use strict";var n=e("41e0"),i=e.n(n);i.a},"3fc7":function(A,t,e){"use strict";e.r(t);var n=function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div")},i=[],o={name:"c_hot_box"},r=o,a=e("2877"),s=Object(a["a"])(r,n,i,!1,null,"1c9d329e",null);t["default"]=s.exports},"404f":function(A,t,e){"use strict";e.r(t);var n=function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"mobile-config"},[A._l(A.rCom,(function(t,n){return e("div",{key:n},[e(t.components.name,{key:n,ref:"childData",refInFor:!0,tag:"component",attrs:{configObj:A.configObj,configNme:t.configNme,index:A.activeIndex,num:t.num},on:{getConfig:A.getConfig}})],1)})),e("rightBtn",{attrs:{activeIndex:A.activeIndex,configObj:A.configObj}})],2)},i=[],o=(e("8e6e"),e("ac6a"),e("456d"),e("bd86")),r=e("ab01"),a=e("befa");function s(A,t){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(A,t).enumerable}))),e.push.apply(e,n)}return e}function c(A){for(var t=1;t0?e("div",{staticClass:"coupon",class:0===A.bgStyle?"":"couponOn",style:{background:A.bgColor[0].item,marginTop:A.mTOP+"px"}},[e("div",{staticClass:"item",style:{background:A.themeColor[0].item}},[A._m(0),A._m(1),e("div",{staticClass:"roll up-roll",style:{background:A.bgColor[0].item}}),e("div",{staticClass:"roll down-roll",style:{background:A.bgColor[0].item}})]),e("div",{staticClass:"item gary"},[A._m(2),A._m(3),e("div",{staticClass:"roll up-roll",style:{background:A.bgColor[0].item}}),e("div",{staticClass:"roll down-roll",style:{background:A.bgColor[0].item}})]),e("div",{staticClass:"item",style:{background:A.themeColor[0].item}},[A._m(4),A._m(5),e("div",{staticClass:"roll up-roll",style:{background:A.bgColor[0].item}}),e("div",{staticClass:"roll down-roll",style:{background:A.bgColor[0].item}})])]):A._e()]):A._e()},i=[function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"left"},[e("div",{staticClass:"num"},[e("span",[A._v("¥")]),A._v("50")]),e("div",{staticClass:"txt"},[A._v("满100元可用")])])},function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"right"},[A._v("立"),e("br"),A._v("即"),e("br"),A._v("领"),e("br"),A._v("取")])},function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"left"},[e("div",{staticClass:"num"},[e("span",[A._v("¥")]),A._v("50")]),e("div",{staticClass:"txt"},[A._v("满100元可用")])])},function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"right"},[A._v("立"),e("br"),A._v("即"),e("br"),A._v("领"),e("br"),A._v("取")])},function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"left"},[e("div",{staticClass:"num"},[e("span",[A._v("¥")]),A._v("50")]),e("div",{staticClass:"txt"},[A._v("满100元可用")])])},function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"right"},[A._v("立"),e("br"),A._v("即"),e("br"),A._v("领"),e("br"),A._v("取")])}],o=(e("8e6e"),e("ac6a"),e("456d"),e("bd86")),r=e("2f62");function a(A,t){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(A,t).enumerable}))),e.push.apply(e,n)}return e}function s(A){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return o({required:!0,message:A,type:"string"},t)}function u(A){return f.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,A)}c(l,"请输入%s"),c(u,"%s格式不正确");var f=Object.keys(s).reduce((function(A,t){return A[t]=function(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="range"===t?{min:A[0],max:A[1]}:Object(n["a"])({},t,A);return o(o({message:e.replace(":".concat(t),"range"===t?"".concat(A[0],"-").concat(A[1]):A),type:"string"},r),i)},c(A[t],s[t]),A}),{})},"61f8":function(A,t,e){},"626ab":function(A,t,e){"use strict";e.r(t);var n=function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"mobile-config"},[A._l(A.rCom,(function(t,n){return e("div",{key:n},[e(t.components.name,{key:n,ref:"childData",refInFor:!0,tag:"component",attrs:{configObj:A.configObj,configNme:t.configNme},on:{getConfig:A.getConfig}})],1)})),e("rightBtn",{attrs:{activeIndex:A.activeIndex,configObj:A.configObj}})],2)},i=[],o=(e("8e6e"),e("ac6a"),e("456d"),e("bd86")),r=e("ab01"),a=e("befa"),s=e("2f62");function c(A,t){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(A,t).enumerable}))),e.push.apply(e,n)}return e}function l(A){for(var t=1;t0?e("div",{staticClass:"menus",style:{background:"linear-gradient(90deg,"+A.bgColor[0].item+" 0%,"+A.bgColor[1].item+" 100%)",marginTop:A.cSlider+"px"}},A._l(A.list,(function(t,n){return e("div",{staticClass:"item",class:{on:A.curIndex==n},style:{color:A.txtColor}},[A._v("\n "+A._s(t.name)+" "),e("span",{style:{background:A.txtColor}})])})),0):A._e()])},i=[],o=(e("8e6e"),e("ac6a"),e("456d"),e("bd86")),r=e("2f62");function a(A,t){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(A,t).enumerable}))),e.push.apply(e,n)}return e}function s(A){for(var t=1;t二级分类"},{type:1,value:"",label:"自定义链接"}]}};this.defaults.menu.push(A)},modalPicTap:function(A,t){this.activeIndex=t,this.modalPic=!0},addCustomDialog:function(A){window.UE.registerUI("test-dialog",(function(A,t){var e=new window.UE.ui.Dialog({iframeUrl:"/admin/widget.images/index.html?fodder=dialog",editor:A,name:t,title:"上传图片",cssRules:"width:1200px;height:500px;padding:20px;"});this.dialog=e;var n=new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){e.render(),e.open()}});return n}),37)},getPic:function(A){this.defaults.menu[this.activeIndex].img=A.att_dir,this.modalPic=!1}}}),u=l,f=(e("dbc7"),e("2877")),g=Object(f["a"])(u,n,i,!1,null,"88847d14",null);t["default"]=g.exports},8679:function(A,t,e){},"86f6":function(A,t,e){"use strict";var n=e("21eb"),i=e.n(n);i.a},8831:function(A,t,e){"use strict";e.r(t);var n=function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{style:{padding:"0 "+A.prConfig+"px"}},[e("div",{staticClass:"mobile-page paddingBox",class:0===A.bgStyle?"":"pageOn",style:{marginTop:A.slider+"px",background:A.activeColor}},[e("div",{staticClass:"home_product"},[0==A.itemStyle?[A.list.length>0?e("div",{staticClass:"list-wrapper itemA"},A._l(A.list,(function(t,n){return e("div",{staticClass:"item",class:A.conStyle?"":"itemOn",attrs:{index:n}},[e("div",{staticClass:"img-box"},[t.image?e("img",{attrs:{src:t.image,alt:""}}):e("div",{staticClass:"empty-box"},[e("span",{staticClass:"iconfont-diy icontupian"})]),0==n?e("div",{staticClass:"label",style:{background:A.labelColor}},[A._v("标签")]):A._e()]),e("div",{staticClass:"info"},[e("div",{staticClass:"hd"},[A.titleShow?e("div",{staticClass:"title line2"},[A._v(A._s(t.store_name))]):A._e(),A.opriceShow?e("div",{staticClass:"old-price"},[A._v("¥"+A._s(t.ot_price))]):A._e()]),e("div",{staticClass:"price",style:{color:A.fontColor}},[A.priceShow?e("div",{staticClass:"num"},[A._v("\n ¥"+A._s(t.price)+"\n ")]):A._e(),t.couponId.length&&A.couponShow?e("div",{staticClass:"label",class:A.priceShow?"":"on",style:"border:1px solid "+A.labelColor+";color:"+A.labelColor},[A._v("券")]):A._e()])])])})),0):e("div",{staticClass:"list-wrapper itemA"},[e("div",{staticClass:"item",class:A.conStyle?"":"itemOn"},[e("div",{staticClass:"img-box"},[A._m(0),e("div",{staticClass:"label",style:{background:A.labelColor}},[A._v("砍价")])]),e("div",{staticClass:"info"},[e("div",{staticClass:"hd"},[A.titleShow?e("div",{staticClass:"title line2"},[A._v("商品名称")]):A._e(),A.opriceShow?e("div",{staticClass:"old-price"},[A._v("¥99.99")]):A._e()]),e("div",{staticClass:"price",style:{color:A.fontColor}},[A.priceShow?e("div",{staticClass:"num"},[A._v("\n ¥66.66\n ")]):A._e(),A.couponShow?e("div",{staticClass:"label",class:A.priceShow?"":"on",style:"border:1px solid "+A.labelColor+";color:"+A.labelColor},[A._v("券")]):A._e()])])])])]:A._e(),1==A.itemStyle?[A.list.length>0?e("div",{staticClass:"list-wrapper itemC"},A._l(A.list,(function(t,n){return e("div",{staticClass:"item",class:A.conStyle?"":"itemOn",attrs:{index:n}},[e("div",{staticClass:"img-box"},[t.image?e("img",{attrs:{src:t.image,alt:""}}):e("div",{staticClass:"empty-box"},[e("span",{staticClass:"iconfont-diy icontupian"})]),0==n?e("div",{staticClass:"label",style:{background:A.labelColor}},[A._v("标签")]):A._e()]),e("div",{staticClass:"info"},[e("div",{staticClass:"hd"},[A.titleShow?e("div",{staticClass:"title line1"},[A._v(A._s(t.store_name))]):A._e(),A.opriceShow?e("div",{staticClass:"old-price"},[A._v("¥"+A._s(t.ot_price))]):A._e()]),e("div",{staticClass:"price",style:{color:A.fontColor}},[A.priceShow?e("div",{staticClass:"num"},[A._v("\n ¥"+A._s(t.price)+"\n ")]):A._e(),t.couponId.length&&A.couponShow?e("div",{staticClass:"label",class:A.priceShow?"":"on",style:"border:1px solid "+A.labelColor+";color:"+A.labelColor},[A._v("券")]):A._e()])])])})),0):e("div",{staticClass:"list-wrapper"},[e("div",{staticClass:"item",class:A.conStyle?"":"itemOn"},[e("div",{staticClass:"img-box"},[A._m(1),e("div",{staticClass:"label",style:{background:A.labelColor}},[A._v("砍价")])]),e("div",{staticClass:"info"},[e("div",{staticClass:"hd"},[A.titleShow?e("div",{staticClass:"title line2"},[A._v("商品名称")]):A._e(),A.opriceShow?e("div",{staticClass:"old-price"},[A._v("¥99.99")]):A._e()]),e("div",{staticClass:"price",style:{color:A.fontColor}},[A.priceShow?e("div",{staticClass:"num"},[A._v("\n ¥66.66\n ")]):A._e(),A.couponShow?e("div",{staticClass:"label",class:A.priceShow?"":"on",style:"border:1px solid "+A.labelColor+";color:"+A.labelColor},[A._v("券")]):A._e()])])])])]:A._e(),2==A.itemStyle?[A.list.length>0?e("div",{staticClass:"list-wrapper itemB"},A._l(A.list,(function(t,n){return e("div",{staticClass:"item",class:A.conStyle?"":"itemOn",attrs:{index:n}},[e("div",{staticClass:"img-box"},[t.image?e("img",{attrs:{src:t.image,alt:""}}):e("div",{staticClass:"empty-box"},[e("span",{staticClass:"iconfont-diy icontupian"})]),0==n?e("div",{staticClass:"label",style:{background:A.labelColor}},[A._v("标签")]):A._e()]),e("div",{staticClass:"info"},[e("div",{staticClass:"hd"},[A.titleShow?e("div",{staticClass:"title line1"},[A._v(A._s(t.store_name))]):A._e(),A.opriceShow?e("div",{staticClass:"old-price"},[A._v("¥"+A._s(t.ot_price))]):A._e()]),e("div",{staticClass:"price",style:{color:A.fontColor}},[A.priceShow?e("div",{staticClass:"num"},[A._v("\n ¥"+A._s(t.price)+"\n ")]):A._e(),t.couponId.length&&A.couponShow?e("div",{staticClass:"label",class:A.priceShow?"":"on",style:"border:1px solid "+A.labelColor+";color:"+A.labelColor},[A._v("券")]):A._e()])])])})),0):e("div",{staticClass:"list-wrapper itemB"},[e("div",{staticClass:"item",class:A.conStyle?"":"itemOn"},[e("div",{staticClass:"img-box"},[A._m(2),e("div",{staticClass:"label",style:{background:A.labelColor}},[A._v("砍价")])]),e("div",{staticClass:"info"},[e("div",{staticClass:"hd"},[A.titleShow?e("div",{staticClass:"title line2"},[A._v("商品名称")]):A._e(),A.opriceShow?e("div",{staticClass:"old-price"},[A._v("¥99.99")]):A._e()]),e("div",{staticClass:"price",style:{color:A.fontColor}},[A.priceShow?e("div",{staticClass:"num"},[A._v("\n ¥66.66\n ")]):A._e(),A.couponShow?e("div",{staticClass:"label",class:A.priceShow?"":"on",style:"border:1px solid "+A.labelColor+";color:"+A.labelColor},[A._v("券")]):A._e()])])])])]:A._e(),3==A.itemStyle?[A.list.length>0?e("div",{staticClass:"listBig"},A._l(A.list,(function(t,n){return e("div",{key:n,staticClass:"itemBig",class:A.conStyle?"":"itemOn"},[e("div",{staticClass:"img-box"},[t.image?e("img",{attrs:{src:t.image,alt:""}}):e("div",{staticClass:"empty-box"},[e("span",{staticClass:"iconfont-diy icontupian"})]),0==n?e("div",{staticClass:"label",style:{background:A.labelColor}},[A._v("标签")]):A._e()]),e("div",{staticClass:"name line2"},[t.couponId.length&&A.couponShow?e("span",{staticClass:"coupon",style:"border:1px solid "+A.labelColor+";color:"+A.labelColor},[A._v("券")]):A._e(),A.titleShow?e("span",[A._v(A._s(t.store_name))]):A._e()]),e("div",{staticClass:"price",style:{color:A.fontColor}},[A.priceShow?e("span",[A._v("¥"),e("span",{staticClass:"num"},[A._v(A._s(t.price))])]):A._e(),A.opriceShow?e("span",{staticClass:"old-price"},[A._v("¥"+A._s(t.ot_price))]):A._e()])])})),0):e("div",{staticClass:"listBig"},[e("div",{staticClass:"itemBig",class:A.conStyle?"":"itemOn"},[e("div",{staticClass:"img-box"},[A._m(3),e("div",{staticClass:"label",style:{background:A.labelColor}},[A._v("砍价")])]),e("div",{staticClass:"name line2"},[A.couponShow?e("span",{staticClass:"coupon",style:"border:1px solid "+A.labelColor+";color:"+A.labelColor},[A._v("券")]):A._e(),A.titleShow?e("span",[A._v("商品名称")]):A._e()]),e("div",{staticClass:"price",style:{color:A.fontColor}},[A.priceShow?e("span",[A._v("¥"),e("span",{staticClass:"num"},[A._v("66.66")])]):A._e(),A.opriceShow?e("span",{staticClass:"old-price"},[A._v("¥99.99")]):A._e()])])])]:A._e()],2)])])},i=[function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"empty-box"},[e("span",{staticClass:"iconfont-diy icontupian"})])},function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"empty-box"},[e("span",{staticClass:"iconfont-diy icontupian"})])},function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"empty-box"},[e("span",{staticClass:"iconfont-diy icontupian"})])},function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"empty-box"},[e("span",{staticClass:"iconfont-diy icontupian"})])}],o=(e("8e6e"),e("ac6a"),e("456d"),e("bd86")),r=e("2f62");function a(A,t){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(A,t).enumerable}))),e.push.apply(e,n)}return e}function s(A){for(var t=1;t0?e("div",{staticClass:"search-box",style:{background:"linear-gradient(90deg,"+A.bgColor[0].item+" 0%,"+A.bgColor[1].item+" 100%)",marginTop:A.slider+"px",paddingLeft:A.prConfig+"px"}},[A.logoUrl?e("img",{attrs:{src:A.logoUrl,alt:""}}):A._e(),e("div",{staticClass:"box",class:{on:A.rollStyle,center:A.txtPosition}},[A._v("搜索商品")])]):A._e()},i=[],o=(e("8e6e"),e("ac6a"),e("456d"),e("bd86")),r=e("2f62");function a(A,t){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(A,t).enumerable}))),e.push.apply(e,n)}return e}function s(A){for(var t=1;t0?e("div",{staticClass:"home_bargain",class:0===A.bgStyle?"bargainOn":"",style:{background:"linear-gradient(180deg,"+A.bgColor[0].item+" 0%,"+A.bgColor[1].item+" 100%)",marginTop:A.mTop+"px"}},[e("div",{staticClass:"title-bar",style:{color:A.titleColor}},[A._v("砍价专区·BARGAINING")]),e("div",{staticClass:"list-wrapper"},A._l(A.list,(function(t,n){return e("div",{key:n,staticClass:"item",style:{marginRight:A.listRight+"px"}},[e("div",{staticClass:"img-box"},[t.img?e("img",{attrs:{src:t.img,alt:""}}):e("div",{staticClass:"empty-box on"},[e("span",{staticClass:"iconfont-diy icontupian"})])]),A.bntShow||A.priceShow?e("div",{staticClass:"con-box"},[A.priceShow?e("div",{staticClass:"price"},[e("span",{style:{color:A.txtColor}},[A._v("¥")]),e("p",{style:{color:A.txtColor}},[A._v(A._s(t.price))])]):A._e(),A.bntShow?e("div",{staticClass:"btn",style:{background:A.txtColor}},[A._v("立即砍价")]):A._e()]):A._e()])})),0),A._m(0)]):A._e()])},i=[function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"doc"},[e("span",{staticClass:"active"}),e("span"),e("span")])}],o=(e("8e6e"),e("ac6a"),e("456d"),e("bd86")),r=e("2f62");function a(A,t){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(A,t).enumerable}))),e.push.apply(e,n)}return e}function s(A){for(var t=1;t0&&A.isShow?e("div",{staticClass:"bg",style:{background:"linear-gradient(90deg,"+A.bgColor[0].item+" 0%,"+A.bgColor[1].item+" 100%)"}}):A._e(),A.isShow?A._e():e("div",{staticClass:"bgset"}),e("div",{staticClass:"banner",style:{paddingLeft:A.edge+"px",paddingRight:A.edge+"px"}},[A.imgSrc?e("img",{class:{doc:A.imgStyle},attrs:{src:A.imgSrc,alt:""}}):e("div",{staticClass:"empty-box",class:{on:A.imgStyle}},[e("span",{staticClass:"iconfont-diy icontupian"})])]),e("div",[0==A.docStyle?e("div",{staticClass:"dot",style:{paddingLeft:A.edge+10+"px",paddingRight:A.edge+10+"px",justifyContent:1===A.dotPosition?"center":2===A.dotPosition?"flex-end":"flex-start"}},[e("div",{staticClass:"dot-item",style:{background:""+A.dotColor}}),e("div",{staticClass:"dot-item"}),e("div",{staticClass:"dot-item"})]):A._e(),1==A.docStyle?e("div",{staticClass:"dot line-dot",style:{paddingLeft:A.edge+10+"px",paddingRight:A.edge+10+"px",justifyContent:1===A.dotPosition?"center":2===A.dotPosition?"flex-end":"flex-start"}},[e("div",{staticClass:"line_dot-item",style:{background:""+A.dotColor}}),e("div",{staticClass:"line_dot-item"}),e("div",{staticClass:"line_dot-item"})]):A._e(),2==A.docStyle?e("div",{staticClass:"dot number",style:{paddingLeft:A.edge+10+"px",paddingRight:A.edge+10+"px",justifyContent:1===A.dotPosition?"center":2===A.dotPosition?"flex-end":"flex-start"}},[e("div",{staticClass:"num"},[A._v("1/3")])]):A._e()])])},i=[],o=(e("8e6e"),e("ac6a"),e("456d"),e("bd86")),r=e("2f62");function a(A,t){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(A,t).enumerable}))),e.push.apply(e,n)}return e}function s(A){for(var t=1;t0?A._l(t.goods,(function(t,n){return e("div",{key:n,staticClass:"goods-item"},[e("img",{attrs:{src:t.img,alt:""}}),e("span",[A._v("¥"+A._s(t.price))])])})):[e("div",{staticClass:"empty-goods"},[A._v("\n 暂无商品\n ")])]],2)])])})),0):A._e(),1==A.listStyle?e("div",{staticClass:"live-wrapper-b"},A._l(A.live,(function(t,n){return e("div",{key:n,staticClass:"live-item-b",style:[{"box-shadow":"0px 1px 6px "+A.boxShadow}]},[e("div",{staticClass:"img-box"},[A._m(3,!0),1==t.type?e("div",{staticClass:"label bgblue"},[e("span",{staticClass:"txt"},[A._v("预告")]),e("span",{staticClass:"msg"},[A._v("7/29 10:00")])]):A._e(),0==t.type?e("div",{staticClass:"label bggary"},[e("span",{staticClass:"iconfont-diy iconyijieshu",staticStyle:{"margin-right":"5px"}}),A._v("回放\n ")]):A._e(),2==t.type?e("div",{staticClass:"label bgred"},[e("span",{staticClass:"iconfont-diy iconzhibozhong",staticStyle:{"margin-right":"5px"}}),A._v("直播中\n ")]):A._e()]),A._m(4,!0)])})),0):A._e(),2==A.listStyle?e("div",{staticClass:"live-wrapper-a live-wrapper-c"},A._l(A.live,(function(t,n){return e("div",{key:n,staticClass:"live-item-a",style:[{"box-shadow":"0px 1px 6px "+A.boxShadow}]},[e("div",{staticClass:"img-box"},[A._m(5,!0),1==t.type?e("div",{staticClass:"label bgblue"},[e("span",{staticClass:"txt"},[A._v("预告")]),e("span",{staticClass:"msg"},[A._v("7/29 10:00")])]):A._e(),0==t.type?e("div",{staticClass:"label bggary"},[e("span",{staticClass:"iconfont-diy iconyijieshu",staticStyle:{"margin-right":"5px"}}),A._v("回放\n ")]):A._e(),2==t.type?e("div",{staticClass:"label bgred"},[e("span",{staticClass:"iconfont-diy iconzhibozhong",staticStyle:{"margin-right":"5px"}}),A._v("直播中\n ")]):A._e()]),e("div",{staticClass:"info"},[A._m(6,!0),e("div",{staticClass:"goods-wrapper"},[t.goods.length>0?A._l(t.goods,(function(t,n){return n<2?e("div",{key:n,staticClass:"goods-item"},[e("img",{attrs:{src:t.img,alt:""}}),e("span",[A._v("¥"+A._s(t.price))])]):A._e()})):[e("div",{staticClass:"empty-goods"},[A._v("\n 暂无商品\n ")])]],2)])])})),0):A._e()])},i=[function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"title-box"},[e("span",[A._v("直播间")]),e("span",[A._v("更多")])])},function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"empty-box on"},[e("span",{staticClass:"iconfont-diy icontupian"})])},function(){var A=this,t=A.$createElement,n=A._self._c||t;return n("div",{staticClass:"people"},[n("img",{attrs:{src:e("c7de"),alt:""}}),n("span",[A._v("樱桃小丸子")])])},function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"empty-box on"},[e("span",{staticClass:"iconfont-diy icontupian"})])},function(){var A=this,t=A.$createElement,n=A._self._c||t;return n("div",{staticClass:"info"},[n("div",{staticClass:"title"},[A._v("直播标题直播标题直播标 题直播标题")]),n("div",{staticClass:"people"},[n("img",{attrs:{src:e("c7de"),alt:""}}),n("span",[A._v("樱桃小丸子")])])])},function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"empty-box on"},[e("span",{staticClass:"iconfont-diy icontupian"})])},function(){var A=this,t=A.$createElement,n=A._self._c||t;return n("div",{staticClass:"left"},[n("div",{staticClass:"title line1"},[A._v("直播标题直播标题直播标 题直播标题")]),n("div",{staticClass:"people"},[n("img",{attrs:{src:e("c7de"),alt:""}}),n("span",[A._v("樱桃小丸子")])])])}],o=(e("8e6e"),e("ac6a"),e("456d"),e("bd86")),r=e("2f62");function a(A,t){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(A,t).enumerable}))),e.push.apply(e,n)}return e}function s(A){for(var t=1;t * Copyright (c) 2019 Niklas von Hertzen * Released under MIT License */ (function(t,e){A.exports=e()})(0,(function(){"use strict"; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */var A=function(t,e){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,t){A.__proto__=t}||function(A,t){for(var e in t)t.hasOwnProperty(e)&&(A[e]=t[e])},A(t,e)};function t(t,e){function n(){this.constructor=t}A(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var e=function(){return e=Object.assign||function(A){for(var t,e=1,n=arguments.length;e0&&i[i.length-1])&&(6===o[0]||2===o[0])){r=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=55296&&i<=56319&&e>10),r%1024+56320)),(i+1===e||n.length>16384)&&(o+=String.fromCharCode.apply(String,n),n.length=0)}return o},l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="undefined"===typeof Uint8Array?[]:new Uint8Array(256),f=0;f>4,l[s++]=(15&n)<<4|i>>2,l[s++]=(3&i)<<6|63&o;return c},p=function(A){for(var t=A.length,e=[],n=0;n>B,v=1<>B,E=w+U,y=E,O=32,F=y+O,_=65536>>h,N=1<=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>B],t=(t<>B)],t=(t<>h),t=this.index[t],t+=A>>B&H,t=this.index[t],t=(t<T?(i.push(!0),r-=T):i.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(A))return n.push(o),e.push(q);if(r===L||r===X){if(0===o)return n.push(o),e.push(fA);var a=e[o-1];return-1===DA.indexOf(a)?(n.push(n[o-1]),e.push(a)):(n.push(o),e.push(fA))}return n.push(o),r===gA?e.push("strict"===t?nA:CA):r===UA||r===uA?e.push(fA):r===EA?A>=131072&&A<=196605||A>=196608&&A<=262141?e.push(CA):e.push(fA):void e.push(r)})),[n,e,i]},PA=function(A,t,e,n){var i=n[e];if(Array.isArray(A)?-1!==A.indexOf(i):A===i){var o=e;while(o<=n.length){o++;var r=n[o];if(r===t)return!0;if(r!==J)break}}if(i===J){o=e;while(o>0){o--;var a=n[o];if(Array.isArray(A)?-1!==A.indexOf(a):A===a){var s=e;while(s<=n.length){s++;r=n[s];if(r===t)return!0;if(r!==J)break}}if(a!==J)break}}return!1},jA=function(A,t){var e=A;while(e>=0){var n=t[e];if(n!==J)return n;e--}return 0},RA=function(A,t,e,n,i){if(0===e[n])return OA;var o=n-1;if(Array.isArray(i)&&!0===i[o])return OA;var r=o-1,a=o+1,s=t[o],c=r>=0?t[r]:0,l=t[a];if(s===j&&l===R)return OA;if(-1!==HA.indexOf(s))return yA;if(-1!==HA.indexOf(l))return OA;if(-1!==xA.indexOf(l))return OA;if(jA(o,t)===V)return FA;if(_A.get(A[o])===X&&(l===CA||l===dA||l===pA))return OA;if(s===M||l===M)return OA;if(s===z)return OA;if(-1===[J,$,Y].indexOf(s)&&l===z)return OA;if(-1!==[Z,AA,tA,rA,lA].indexOf(l))return OA;if(jA(o,t)===iA)return OA;if(PA(oA,iA,o,t))return OA;if(PA([Z,AA],nA,o,t))return OA;if(PA(G,G,o,t))return OA;if(s===J)return FA;if(s===oA||l===oA)return OA;if(l===q||s===q)return FA;if(-1!==[$,Y,nA].indexOf(l)||s===W)return OA;if(c===hA&&-1!==KA.indexOf(s))return OA;if(s===lA&&l===hA)return OA;if(l===eA&&-1!==NA.concat(eA,tA,aA,CA,dA,pA).indexOf(s))return OA;if(-1!==NA.indexOf(l)&&s===aA||-1!==NA.indexOf(s)&&l===aA)return OA;if(s===cA&&-1!==[CA,dA,pA].indexOf(l)||-1!==[CA,dA,pA].indexOf(s)&&l===sA)return OA;if(-1!==NA.indexOf(s)&&-1!==SA.indexOf(l)||-1!==SA.indexOf(s)&&-1!==NA.indexOf(l))return OA;if(-1!==[cA,sA].indexOf(s)&&(l===aA||-1!==[iA,Y].indexOf(l)&&t[a+1]===aA)||-1!==[iA,Y].indexOf(s)&&l===aA||s===aA&&-1!==[aA,lA,rA].indexOf(l))return OA;if(-1!==[aA,lA,rA,Z,AA].indexOf(l)){var u=o;while(u>=0){var f=t[u];if(f===aA)return OA;if(-1===[lA,rA].indexOf(f))break;u--}}if(-1!==[cA,sA].indexOf(l)){u=-1!==[Z,AA].indexOf(s)?r:o;while(u>=0){f=t[u];if(f===aA)return OA;if(-1===[lA,rA].indexOf(f))break;u--}}if(bA===s&&-1!==[bA,wA,mA,BA].indexOf(l)||-1!==[wA,mA].indexOf(s)&&-1!==[wA,vA].indexOf(l)||-1!==[vA,BA].indexOf(s)&&l===vA)return OA;if(-1!==IA.indexOf(s)&&-1!==[eA,sA].indexOf(l)||-1!==IA.indexOf(l)&&s===cA)return OA;if(-1!==NA.indexOf(s)&&-1!==NA.indexOf(l))return OA;if(s===rA&&-1!==NA.indexOf(l))return OA;if(-1!==NA.concat(aA).indexOf(s)&&l===iA||-1!==NA.concat(aA).indexOf(l)&&s===AA)return OA;if(s===QA&&l===QA){var g=e[o],d=1;while(g>0){if(g--,t[g]!==QA)break;d++}if(d%2!==0)return OA}return s===dA&&l===pA?OA:FA},LA=function(A,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var e=TA(A,t.lineBreak),n=e[0],i=e[1],o=e[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(i=i.map((function(A){return-1!==[aA,fA,UA].indexOf(A)?CA:A})));var r="keep-all"===t.wordBreak?o.map((function(t,e){return t&&A[e]>=19968&&A[e]<=40959})):void 0;return[n,i,r]},kA=function(){function A(A,t,e,n){this.codePoints=A,this.required=t===yA,this.start=e,this.end=n}return A.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),MA=function(A,t){var e=s(A),n=LA(e,t),i=n[0],o=n[1],r=n[2],a=e.length,c=0,l=0;return{next:function(){if(l>=a)return{done:!0,value:null};var A=OA;while(l=Kt&&A<=57},Gt=function(A){return A>=55296&&A<=57343},$t=function(A){return Xt(A)||A>=kt&&A<=Vt||A>=Tt&&A<=jt},Wt=function(A){return A>=Tt&&A<=Lt},Yt=function(A){return A>=kt&&A<=Jt},qt=function(A){return Wt(A)||Yt(A)},Zt=function(A){return A>=wt},Ae=function(A){return A===GA||A===YA||A===qA},te=function(A){return qt(A)||Zt(A)||A===at},ee=function(A){return te(A)||Xt(A)||A===st},ne=function(A){return A>=_t&&A<=Nt||A===Ht||A>=xt&&A<=St||A===Dt},ie=function(A,t){return A===WA&&t!==GA},oe=function(A,t,e){return A===st?te(t)||ie(t,e):!!te(A)||!(A!==WA||!ie(A,t))},re=function(A,t,e){return A===Ut||A===st?!!Xt(t)||t===Ft&&Xt(e):Xt(A===Ft?t:A)},ae=function(A){var t=0,e=1;A[t]!==Ut&&A[t]!==st||(A[t]===st&&(e=-1),t++);var n=[];while(Xt(A[t]))n.push(A[t++]);var i=n.length?parseInt(c.apply(void 0,n),10):0;A[t]===Ft&&t++;var o=[];while(Xt(A[t]))o.push(A[t++]);var r=o.length,a=r?parseInt(c.apply(void 0,o),10):0;A[t]!==Mt&&A[t]!==Pt||t++;var s=1;A[t]!==Ut&&A[t]!==st||(A[t]===st&&(s=-1),t++);var l=[];while(Xt(A[t]))l.push(A[t++]);var u=l.length?parseInt(c.apply(void 0,l),10):0;return e*(i+a*Math.pow(10,-r))*Math.pow(10,s*u)},se={type:g.LEFT_PARENTHESIS_TOKEN},ce={type:g.RIGHT_PARENTHESIS_TOKEN},le={type:g.COMMA_TOKEN},ue={type:g.SUFFIX_MATCH_TOKEN},fe={type:g.PREFIX_MATCH_TOKEN},ge={type:g.COLUMN_TOKEN},de={type:g.DASH_MATCH_TOKEN},pe={type:g.INCLUDE_MATCH_TOKEN},me={type:g.LEFT_CURLY_BRACKET_TOKEN},Be={type:g.RIGHT_CURLY_BRACKET_TOKEN},he={type:g.SUBSTRING_MATCH_TOKEN},Ce={type:g.BAD_URL_TOKEN},be={type:g.BAD_STRING_TOKEN},we={type:g.CDO_TOKEN},ve={type:g.CDC_TOKEN},Qe={type:g.COLON_TOKEN},Ue={type:g.SEMICOLON_TOKEN},Ee={type:g.LEFT_SQUARE_BRACKET_TOKEN},ye={type:g.RIGHT_SQUARE_BRACKET_TOKEN},Oe={type:g.WHITESPACE_TOKEN},Fe={type:g.EOF_TOKEN},_e=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(s(A))},A.prototype.read=function(){var A=[],t=this.consumeToken();while(t!==Fe)A.push(t),t=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case ZA:return this.consumeStringToken(ZA);case tt:var t=this.peekCodePoint(0),e=this.peekCodePoint(1),n=this.peekCodePoint(2);if(ee(t)||ie(e,n)){var i=oe(t,e,n)?zA:VA,o=this.consumeName();return{type:g.HASH_TOKEN,value:o,flags:i}}break;case et:if(this.peekCodePoint(0)===At)return this.consumeCodePoint(),ue;break;case it:return this.consumeStringToken(it);case ot:return se;case rt:return ce;case Qt:if(this.peekCodePoint(0)===At)return this.consumeCodePoint(),he;break;case Ut:if(re(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Et:return le;case st:var r=A,a=this.peekCodePoint(0),s=this.peekCodePoint(1);if(re(r,a,s))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(oe(r,a,s))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(a===st&&s===ut)return this.consumeCodePoint(),this.consumeCodePoint(),ve;break;case Ft:if(re(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case $A:if(this.peekCodePoint(0)===Qt){this.consumeCodePoint();while(1){var l=this.consumeCodePoint();if(l===Qt&&(l=this.consumeCodePoint(),l===$A))return this.consumeToken();if(l===It)return this.consumeToken()}}break;case yt:return Qe;case Ot:return Ue;case lt:if(this.peekCodePoint(0)===ct&&this.peekCodePoint(1)===st&&this.peekCodePoint(2)===st)return this.consumeCodePoint(),this.consumeCodePoint(),we;break;case ft:var u=this.peekCodePoint(0),f=this.peekCodePoint(1),d=this.peekCodePoint(2);if(oe(u,f,d)){o=this.consumeName();return{type:g.AT_KEYWORD_TOKEN,value:o}}break;case gt:return Ee;case WA:if(ie(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case dt:return ye;case pt:if(this.peekCodePoint(0)===At)return this.consumeCodePoint(),fe;break;case mt:return me;case ht:return Be;case Rt:case zt:var p=this.peekCodePoint(0),m=this.peekCodePoint(1);return p!==Ut||!$t(m)&&m!==Bt||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Ct:if(this.peekCodePoint(0)===At)return this.consumeCodePoint(),de;if(this.peekCodePoint(0)===Ct)return this.consumeCodePoint(),ge;break;case bt:if(this.peekCodePoint(0)===At)return this.consumeCodePoint(),pe;break;case It:return Fe}return Ae(A)?(this.consumeWhiteSpace(),Oe):Xt(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):te(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:g.DELIM_TOKEN,value:c(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return"undefined"===typeof A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){var A=[],t=this.consumeCodePoint();while($t(t)&&A.length<6)A.push(t),t=this.consumeCodePoint();var e=!1;while(t===Bt&&A.length<6)A.push(t),t=this.consumeCodePoint(),e=!0;if(e){var n=parseInt(c.apply(void 0,A.map((function(A){return A===Bt?Kt:A}))),16),i=parseInt(c.apply(void 0,A.map((function(A){return A===Bt?Vt:A}))),16);return{type:g.UNICODE_RANGE_TOKEN,start:n,end:i}}var o=parseInt(c.apply(void 0,A),16);if(this.peekCodePoint(0)===st&&$t(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();var r=[];while($t(t)&&r.length<6)r.push(t),t=this.consumeCodePoint();i=parseInt(c.apply(void 0,r),16);return{type:g.UNICODE_RANGE_TOKEN,start:o,end:i}}return{type:g.UNICODE_RANGE_TOKEN,start:o,end:o}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&this.peekCodePoint(0)===ot?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ot?(this.consumeCodePoint(),{type:g.FUNCTION_TOKEN,value:A}):{type:g.IDENT_TOKEN,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===It)return{type:g.URL_TOKEN,value:""};var t=this.peekCodePoint(0);if(t===it||t===ZA){var e=this.consumeStringToken(this.consumeCodePoint());return e.type===g.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===It||this.peekCodePoint(0)===rt)?(this.consumeCodePoint(),{type:g.URL_TOKEN,value:e.value}):(this.consumeBadUrlRemnants(),Ce)}while(1){var n=this.consumeCodePoint();if(n===It||n===rt)return{type:g.URL_TOKEN,value:c.apply(void 0,A)};if(Ae(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===It||this.peekCodePoint(0)===rt?(this.consumeCodePoint(),{type:g.URL_TOKEN,value:c.apply(void 0,A)}):(this.consumeBadUrlRemnants(),Ce);if(n===ZA||n===it||n===ot||ne(n))return this.consumeBadUrlRemnants(),Ce;if(n===WA){if(!ie(n,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Ce;A.push(this.consumeEscapedCodePoint())}else A.push(n)}},A.prototype.consumeWhiteSpace=function(){while(Ae(this.peekCodePoint(0)))this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){while(1){var A=this.consumeCodePoint();if(A===rt||A===It)return;ie(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){var t=6e4,e="";while(A>0){var n=Math.min(t,A);e+=c.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){var t="",e=0;do{var n=this._value[e];if(n===It||void 0===n||n===A)return t+=this.consumeStringSlice(e),{type:g.STRING_TOKEN,value:t};if(n===GA)return this._value.splice(0,e),be;if(n===WA){var i=this._value[e+1];i!==It&&void 0!==i&&(i===GA?(t+=this.consumeStringSlice(e),e=-1,this._value.shift()):ie(n,i)&&(t+=this.consumeStringSlice(e),t+=c(this.consumeEscapedCodePoint()),e=-1))}e++}while(1)},A.prototype.consumeNumber=function(){var A=[],t=JA,e=this.peekCodePoint(0);e!==Ut&&e!==st||A.push(this.consumeCodePoint());while(Xt(this.peekCodePoint(0)))A.push(this.consumeCodePoint());e=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(e===Ft&&Xt(n)){A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=XA;while(Xt(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}e=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((e===Mt||e===Pt)&&((n===Ut||n===st)&&Xt(i)||Xt(n))){A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=XA;while(Xt(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}return[ae(A),t]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),t=A[0],e=A[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);if(oe(n,i,o)){var r=this.consumeName();return{type:g.DIMENSION_TOKEN,number:t,flags:e,unit:r}}return n===nt?(this.consumeCodePoint(),{type:g.PERCENTAGE_TOKEN,number:t,flags:e}):{type:g.NUMBER_TOKEN,number:t,flags:e}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if($t(A)){var t=c(A);while($t(this.peekCodePoint(0))&&t.length<6)t+=c(this.consumeCodePoint());Ae(this.peekCodePoint(0))&&this.consumeCodePoint();var e=parseInt(t,16);return 0===e||Gt(e)||e>1114111?vt:e}return A===It?vt:A},A.prototype.consumeName=function(){var A="";while(1){var t=this.consumeCodePoint();if(ee(t))A+=c(t);else{if(!ie(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),A;A+=c(this.consumeEscapedCodePoint())}}},A}(),Ne=function(){function A(A){this._tokens=A}return A.create=function(t){var e=new _e;return e.write(t),new A(e.read())},A.parseValue=function(t){return A.create(t).parseComponentValue()},A.parseValues=function(t){return A.create(t).parseComponentValues()},A.prototype.parseComponentValue=function(){var A=this.consumeToken();while(A.type===g.WHITESPACE_TOKEN)A=this.consumeToken();if(A.type===g.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var t=this.consumeComponentValue();do{A=this.consumeToken()}while(A.type===g.WHITESPACE_TOKEN);if(A.type===g.EOF_TOKEN)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){var A=[];while(1){var t=this.consumeComponentValue();if(t.type===g.EOF_TOKEN)return A;A.push(t),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case g.LEFT_CURLY_BRACKET_TOKEN:case g.LEFT_SQUARE_BRACKET_TOKEN:case g.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(A.type);case g.FUNCTION_TOKEN:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){var t={type:A,values:[]},e=this.consumeToken();while(1){if(e.type===g.EOF_TOKEN||je(e,A))return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue()),e=this.consumeToken()}},A.prototype.consumeFunction=function(A){var t={name:A.value,values:[],type:g.FUNCTION};while(1){var e=this.consumeToken();if(e.type===g.EOF_TOKEN||e.type===g.RIGHT_PARENTHESIS_TOKEN)return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return"undefined"===typeof A?Fe:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),He=function(A){return A.type===g.DIMENSION_TOKEN},xe=function(A){return A.type===g.NUMBER_TOKEN},Se=function(A){return A.type===g.IDENT_TOKEN},De=function(A){return A.type===g.STRING_TOKEN},Ie=function(A,t){return Se(A)&&A.value===t},Ke=function(A){return A.type!==g.WHITESPACE_TOKEN},Te=function(A){return A.type!==g.WHITESPACE_TOKEN&&A.type!==g.COMMA_TOKEN},Pe=function(A){var t=[],e=[];return A.forEach((function(A){if(A.type===g.COMMA_TOKEN){if(0===e.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(e),void(e=[])}A.type!==g.WHITESPACE_TOKEN&&e.push(A)})),e.length&&t.push(e),t},je=function(A,t){return t===g.LEFT_CURLY_BRACKET_TOKEN&&A.type===g.RIGHT_CURLY_BRACKET_TOKEN||(t===g.LEFT_SQUARE_BRACKET_TOKEN&&A.type===g.RIGHT_SQUARE_BRACKET_TOKEN||t===g.LEFT_PARENTHESIS_TOKEN&&A.type===g.RIGHT_PARENTHESIS_TOKEN)},Re=function(A){return A.type===g.NUMBER_TOKEN||A.type===g.DIMENSION_TOKEN},Le=function(A){return A.type===g.PERCENTAGE_TOKEN||Re(A)},ke=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Me={type:g.NUMBER_TOKEN,number:0,flags:JA},Ve={type:g.PERCENTAGE_TOKEN,number:50,flags:JA},ze={type:g.PERCENTAGE_TOKEN,number:100,flags:JA},Je=function(A,t,e){var n=A[0],i=A[1];return[Xe(n,t),Xe("undefined"!==typeof i?i:n,e)]},Xe=function(A,t){if(A.type===g.PERCENTAGE_TOKEN)return A.number/100*t;if(He(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},Ge="deg",$e="grad",We="rad",Ye="turn",qe={name:"angle",parse:function(A){if(A.type===g.DIMENSION_TOKEN)switch(A.unit){case Ge:return Math.PI*A.number/180;case $e:return Math.PI/200*A.number;case We:return A.number;case Ye:return 2*Math.PI*A.number}throw new Error("Unsupported angle type")}},Ze=function(A){return A.type===g.DIMENSION_TOKEN&&(A.unit===Ge||A.unit===$e||A.unit===We||A.unit===Ye)},An=function(A){var t=A.filter(Se).map((function(A){return A.value})).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Me,Me];case"to top":case"bottom":return tn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Me,ze];case"to right":case"left":return tn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ze,ze];case"to bottom":case"top":return tn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ze,Me];case"to left":case"right":return tn(270)}return 0},tn=function(A){return Math.PI*A/180},en={name:"color",parse:function(A){if(A.type===g.FUNCTION){var t=gn[A.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return t(A.values)}if(A.type===g.HASH_TOKEN){if(3===A.value.length){var e=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3);return rn(parseInt(e+e,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(4===A.value.length){e=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3);var o=A.value.substring(3,4);return rn(parseInt(e+e,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(o+o,16)/255)}if(6===A.value.length){e=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6);return rn(parseInt(e,16),parseInt(n,16),parseInt(i,16),1)}if(8===A.value.length){e=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6),o=A.value.substring(6,8);return rn(parseInt(e,16),parseInt(n,16),parseInt(i,16),parseInt(o,16)/255)}}if(A.type===g.IDENT_TOKEN){var r=dn[A.value.toUpperCase()];if("undefined"!==typeof r)return r}return dn.TRANSPARENT}},nn=function(A){return 0===(255&A)},on=function(A){var t=255&A,e=255&A>>8,n=255&A>>16,i=255&A>>24;return t<255?"rgba("+i+","+n+","+e+","+t/255+")":"rgb("+i+","+n+","+e+")"},rn=function(A,t,e,n){return(A<<24|t<<16|e<<8|Math.round(255*n)<<0)>>>0},an=function(A,t){if(A.type===g.NUMBER_TOKEN)return A.number;if(A.type===g.PERCENTAGE_TOKEN){var e=3===t?1:255;return 3===t?A.number/100*e:Math.round(A.number/100*e)}return 0},sn=function(A){var t=A.filter(Te);if(3===t.length){var e=t.map(an),n=e[0],i=e[1],o=e[2];return rn(n,i,o,1)}if(4===t.length){var r=t.map(an),a=(n=r[0],i=r[1],o=r[2],r[3]);return rn(n,i,o,a)}return 0};function cn(A,t,e){return e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(t-A)*e*6+A:e<.5?t:e<2/3?6*(t-A)*(2/3-e)+A:A}var ln,un,fn=function(A){var t=A.filter(Te),e=t[0],n=t[1],i=t[2],o=t[3],r=(e.type===g.NUMBER_TOKEN?tn(e.number):qe.parse(e))/(2*Math.PI),a=Le(n)?n.number/100:0,s=Le(i)?i.number/100:0,c="undefined"!==typeof o&&Le(o)?Xe(o,1):1;if(0===a)return rn(255*s,255*s,255*s,1);var l=s<=.5?s*(a+1):s+a-s*a,u=2*s-l,f=cn(u,l,r+1/3),d=cn(u,l,r),p=cn(u,l,r-1/3);return rn(255*f,255*d,255*p,c)},gn={hsl:fn,hsla:fn,rgb:sn,rgba:sn},dn={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199};(function(A){A[A["VALUE"]=0]="VALUE",A[A["LIST"]=1]="LIST",A[A["IDENT_VALUE"]=2]="IDENT_VALUE",A[A["TYPE_VALUE"]=3]="TYPE_VALUE",A[A["TOKEN_VALUE"]=4]="TOKEN_VALUE"})(ln||(ln={})),function(A){A[A["BORDER_BOX"]=0]="BORDER_BOX",A[A["PADDING_BOX"]=1]="PADDING_BOX",A[A["CONTENT_BOX"]=2]="CONTENT_BOX"}(un||(un={}));var pn,mn={name:"background-clip",initialValue:"border-box",prefix:!1,type:ln.LIST,parse:function(A){return A.map((function(A){if(Se(A))switch(A.value){case"padding-box":return un.PADDING_BOX;case"content-box":return un.CONTENT_BOX}return un.BORDER_BOX}))}},Bn={name:"background-color",initialValue:"transparent",prefix:!1,type:ln.TYPE_VALUE,format:"color"},hn=function(A){var t=en.parse(A[0]),e=A[1];return e&&Le(e)?{color:t,stop:e}:{color:t,stop:null}},Cn=function(A,t){var e=A[0],n=A[A.length-1];null===e.stop&&(e.stop=Me),null===n.stop&&(n.stop=ze);for(var i=[],o=0,r=0;ro?i.push(s):i.push(o),o=s}else i.push(null)}var c=null;for(r=0;rA.optimumDistance)?{optimumCorner:t,optimumDistance:a}:A}),{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},Un=function(A,t,e,n,i){var o=0,r=0;switch(A.size){case oi.CLOSEST_SIDE:A.shape===ii.CIRCLE?o=r=Math.min(Math.abs(t),Math.abs(t-n),Math.abs(e),Math.abs(e-i)):A.shape===ii.ELLIPSE&&(o=Math.min(Math.abs(t),Math.abs(t-n)),r=Math.min(Math.abs(e),Math.abs(e-i)));break;case oi.CLOSEST_CORNER:if(A.shape===ii.CIRCLE)o=r=Math.min(vn(t,e),vn(t,e-i),vn(t-n,e),vn(t-n,e-i));else if(A.shape===ii.ELLIPSE){var a=Math.min(Math.abs(e),Math.abs(e-i))/Math.min(Math.abs(t),Math.abs(t-n)),s=Qn(n,i,t,e,!0),c=s[0],l=s[1];o=vn(c-t,(l-e)/a),r=a*o}break;case oi.FARTHEST_SIDE:A.shape===ii.CIRCLE?o=r=Math.max(Math.abs(t),Math.abs(t-n),Math.abs(e),Math.abs(e-i)):A.shape===ii.ELLIPSE&&(o=Math.max(Math.abs(t),Math.abs(t-n)),r=Math.max(Math.abs(e),Math.abs(e-i)));break;case oi.FARTHEST_CORNER:if(A.shape===ii.CIRCLE)o=r=Math.max(vn(t,e),vn(t,e-i),vn(t-n,e),vn(t-n,e-i));else if(A.shape===ii.ELLIPSE){a=Math.max(Math.abs(e),Math.abs(e-i))/Math.max(Math.abs(t),Math.abs(t-n));var u=Qn(n,i,t,e,!1);c=u[0],l=u[1];o=vn(c-t,(l-e)/a),r=a*o}break}return Array.isArray(A.size)&&(o=Xe(A.size[0],n),r=2===A.size.length?Xe(A.size[1],i):o),[o,r]},En=function(A){var t=tn(180),e=[];return Pe(A).forEach((function(A,n){if(0===n){var i=A[0];if(i.type===g.IDENT_TOKEN&&"to"===i.value)return void(t=An(A));if(Ze(i))return void(t=qe.parse(i))}var o=hn(A);e.push(o)})),{angle:t,stops:e,type:pn.LINEAR_GRADIENT}},yn=function(A){var t=tn(180),e=[];return Pe(A).forEach((function(A,n){if(0===n){var i=A[0];if(i.type===g.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(t=An(A));if(Ze(i))return void(t=(qe.parse(i)+tn(270))%tn(360))}var o=hn(A);e.push(o)})),{angle:t,stops:e,type:pn.LINEAR_GRADIENT}},On=function(A){var t=123;if(A.createRange){var e=A.createRange();if(e.getBoundingClientRect){var n=A.createElement("boundtest");n.style.height=t+"px",n.style.display="block",A.body.appendChild(n),e.selectNode(n);var i=e.getBoundingClientRect(),o=Math.round(i.height);if(A.body.removeChild(n),o===t)return!0}}return!1},Fn=function(){return"undefined"!==typeof(new Image).crossOrigin},_n=function(){return"string"===typeof(new XMLHttpRequest).responseType},Nn=function(A){var t=new Image,e=A.createElement("canvas"),n=e.getContext("2d");if(!n)return!1;t.src="data:image/svg+xml,";try{n.drawImage(t,0,0),e.toDataURL()}catch(Pt){return!1}return!0},Hn=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},xn=function(A){var t=A.createElement("canvas"),e=100;t.width=e,t.height=e;var n=t.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,e,e);var i=new Image,o=t.toDataURL();i.src=o;var r=Sn(e,e,0,0,i);return n.fillStyle="red",n.fillRect(0,0,e,e),Dn(r).then((function(t){n.drawImage(t,0,0);var i=n.getImageData(0,0,e,e).data;n.fillStyle="red",n.fillRect(0,0,e,e);var r=A.createElement("div");return r.style.backgroundImage="url("+o+")",r.style.height=e+"px",Hn(i)?Dn(Sn(e,e,0,0,r)):Promise.reject(!1)})).then((function(A){return n.drawImage(A,0,0),Hn(n.getImageData(0,0,e,e).data)})).catch((function(){return!1}))},Sn=function(A,t,e,n,i){var o="http://www.w3.org/2000/svg",r=document.createElementNS(o,"svg"),a=document.createElementNS(o,"foreignObject");return r.setAttributeNS(null,"width",A.toString()),r.setAttributeNS(null,"height",t.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",e.toString()),a.setAttributeNS(null,"y",n.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),r.appendChild(a),a.appendChild(i),r},Dn=function(A){return new Promise((function(t,e){var n=new Image;n.onload=function(){return t(n)},n.onerror=e,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},In={get SUPPORT_RANGE_BOUNDS(){var A=On(document);return Object.defineProperty(In,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=Nn(document);return Object.defineProperty(In,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"===typeof Array.from&&"function"===typeof window.fetch?xn(document):Promise.resolve(!1);return Object.defineProperty(In,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=Fn();return Object.defineProperty(In,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=_n();return Object.defineProperty(In,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(In,"SUPPORT_CORS_XHR",{value:A}),A}},Kn=function(){function A(A){var t=A.id,e=A.enabled;this.id=t,this.enabled=e,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],t=0;t0&&setTimeout((function(){return t("Timed out ("+r._options.imageTimeout+"ms) loading image")}),r._options.imageTimeout)}))];case 3:return[2,i.sent()]}}))}))},A.prototype.has=function(A){return"undefined"!==typeof this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var t=this,e=this._options.proxy;if(!e)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise((function(i,o){var r=In.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;if(a.onload=function(){if(200===a.status)if("text"===r)i(a.response);else{var A=new FileReader;A.addEventListener("load",(function(){return i(A.result)}),!1),A.addEventListener("error",(function(A){return o(A)}),!1),A.readAsDataURL(a.response)}else o("Failed to proxy resource "+n+" with status code "+a.status)},a.onerror=o,a.open("GET",e+"?url="+encodeURIComponent(A)+"&responseType="+r),"text"!==r&&a instanceof XMLHttpRequest&&(a.responseType=r),t._options.imageTimeout){var s=t._options.imageTimeout;a.timeout=s,a.ontimeout=function(){return o("Timed out ("+s+"ms) proxying "+n)}}a.send()}))},A}(),jn=/^data:image\/svg\+xml/i,Rn=/^data:image\/.*;base64,/i,Ln=/^data:image\/.*/i,kn=function(A){return In.SUPPORT_SVG_DRAWING||!Jn(A)},Mn=function(A){return Ln.test(A)},Vn=function(A){return Rn.test(A)},zn=function(A){return"blob"===A.substr(0,4)},Jn=function(A){return"svg"===A.substr(-3).toLowerCase()||jn.test(A)},Xn=function(A){var t=tn(180),e=[],n=pn.LINEAR_GRADIENT,i=ii.CIRCLE,o=oi.FARTHEST_CORNER,r=[];return Pe(A).forEach((function(A,t){var i=A[0];if(0===t){if(Se(i)&&"linear"===i.value)return void(n=pn.LINEAR_GRADIENT);if(Se(i)&&"radial"===i.value)return void(n=pn.RADIAL_GRADIENT)}if(i.type===g.FUNCTION)if("from"===i.name){var o=en.parse(i.values[0]);e.push({stop:Me,color:o})}else if("to"===i.name){o=en.parse(i.values[0]);e.push({stop:ze,color:o})}else if("color-stop"===i.name){var r=i.values.filter(Te);if(2===r.length){o=en.parse(r[1]);var a=r[0];xe(a)&&e.push({stop:{type:g.PERCENTAGE_TOKEN,number:100*a.number,flags:a.flags},color:o})}}})),n===pn.LINEAR_GRADIENT?{angle:(t+tn(180))%tn(360),stops:e,type:n}:{size:o,shape:i,stops:e,position:r,type:n}},Gn="closest-side",$n="farthest-side",Wn="closest-corner",Yn="farthest-corner",qn="circle",Zn="ellipse",Ai="cover",ti="contain",ei=function(A){var t=ii.CIRCLE,e=oi.FARTHEST_CORNER,n=[],i=[];return Pe(A).forEach((function(A,o){var r=!0;if(0===o){var a=!1;r=A.reduce((function(A,n){if(a)if(Se(n))switch(n.value){case"center":return i.push(Ve),A;case"top":case"left":return i.push(Me),A;case"right":case"bottom":return i.push(ze),A}else(Le(n)||Re(n))&&i.push(n);else if(Se(n))switch(n.value){case qn:return t=ii.CIRCLE,!1;case Zn:return t=ii.ELLIPSE,!1;case"at":return a=!0,!1;case Gn:return e=oi.CLOSEST_SIDE,!1;case Ai:case $n:return e=oi.FARTHEST_SIDE,!1;case ti:case Wn:return e=oi.CLOSEST_CORNER,!1;case Yn:return e=oi.FARTHEST_CORNER,!1}else if(Re(n)||Le(n))return Array.isArray(e)||(e=[]),e.push(n),!1;return A}),r)}if(r){var s=hn(A);n.push(s)}})),{size:e,shape:t,stops:n,position:i,type:pn.RADIAL_GRADIENT}},ni=function(A){var t=ii.CIRCLE,e=oi.FARTHEST_CORNER,n=[],i=[];return Pe(A).forEach((function(A,o){var r=!0;if(0===o?r=A.reduce((function(A,t){if(Se(t))switch(t.value){case"center":return i.push(Ve),!1;case"top":case"left":return i.push(Me),!1;case"right":case"bottom":return i.push(ze),!1}else if(Le(t)||Re(t))return i.push(t),!1;return A}),r):1===o&&(r=A.reduce((function(A,n){if(Se(n))switch(n.value){case qn:return t=ii.CIRCLE,!1;case Zn:return t=ii.ELLIPSE,!1;case ti:case Gn:return e=oi.CLOSEST_SIDE,!1;case $n:return e=oi.FARTHEST_SIDE,!1;case Wn:return e=oi.CLOSEST_CORNER,!1;case Ai:case Yn:return e=oi.FARTHEST_CORNER,!1}else if(Re(n)||Le(n))return Array.isArray(e)||(e=[]),e.push(n),!1;return A}),r)),r){var a=hn(A);n.push(a)}})),{size:e,shape:t,stops:n,position:i,type:pn.RADIAL_GRADIENT}};(function(A){A[A["URL"]=0]="URL",A[A["LINEAR_GRADIENT"]=1]="LINEAR_GRADIENT",A[A["RADIAL_GRADIENT"]=2]="RADIAL_GRADIENT"})(pn||(pn={}));var ii,oi,ri=function(A){return A.type===pn.LINEAR_GRADIENT},ai=function(A){return A.type===pn.RADIAL_GRADIENT};(function(A){A[A["CIRCLE"]=0]="CIRCLE",A[A["ELLIPSE"]=1]="ELLIPSE"})(ii||(ii={})),function(A){A[A["CLOSEST_SIDE"]=0]="CLOSEST_SIDE",A[A["FARTHEST_SIDE"]=1]="FARTHEST_SIDE",A[A["CLOSEST_CORNER"]=2]="CLOSEST_CORNER",A[A["FARTHEST_CORNER"]=3]="FARTHEST_CORNER"}(oi||(oi={}));var si={name:"image",parse:function(A){if(A.type===g.URL_TOKEN){var t={url:A.value,type:pn.URL};return Tn.getInstance().addImage(A.value),t}if(A.type===g.FUNCTION){var e=ui[A.name];if("undefined"===typeof e)throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return e(A.values)}throw new Error("Unsupported image type")}};function ci(A){return A.type!==g.FUNCTION||ui[A.name]}var li,ui={"linear-gradient":En,"-moz-linear-gradient":yn,"-ms-linear-gradient":yn,"-o-linear-gradient":yn,"-webkit-linear-gradient":yn,"radial-gradient":ei,"-moz-radial-gradient":ni,"-ms-radial-gradient":ni,"-o-radial-gradient":ni,"-webkit-radial-gradient":ni,"-webkit-gradient":Xn},fi={name:"background-image",initialValue:"none",type:ln.LIST,prefix:!1,parse:function(A){if(0===A.length)return[];var t=A[0];return t.type===g.IDENT_TOKEN&&"none"===t.value?[]:A.filter((function(A){return Te(A)&&ci(A)})).map(si.parse)}},gi={name:"background-origin",initialValue:"border-box",prefix:!1,type:ln.LIST,parse:function(A){return A.map((function(A){if(Se(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},di={name:"background-position",initialValue:"0% 0%",type:ln.LIST,prefix:!1,parse:function(A){return Pe(A).map((function(A){return A.filter(Le)})).map(ke)}};(function(A){A[A["REPEAT"]=0]="REPEAT",A[A["NO_REPEAT"]=1]="NO_REPEAT",A[A["REPEAT_X"]=2]="REPEAT_X",A[A["REPEAT_Y"]=3]="REPEAT_Y"})(li||(li={}));var pi,mi={name:"background-repeat",initialValue:"repeat",prefix:!1,type:ln.LIST,parse:function(A){return Pe(A).map((function(A){return A.filter(Se).map((function(A){return A.value})).join(" ")})).map(Bi)}},Bi=function(A){switch(A){case"no-repeat":return li.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return li.REPEAT_X;case"repeat-y":case"no-repeat repeat":return li.REPEAT_Y;case"repeat":default:return li.REPEAT}};(function(A){A["AUTO"]="auto",A["CONTAIN"]="contain",A["COVER"]="cover"})(pi||(pi={}));var hi,Ci={name:"background-size",initialValue:"0",prefix:!1,type:ln.LIST,parse:function(A){return Pe(A).map((function(A){return A.filter(bi)}))}},bi=function(A){return Se(A)||Le(A)},wi=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:ln.TYPE_VALUE,format:"color"}},vi=wi("top"),Qi=wi("right"),Ui=wi("bottom"),Ei=wi("left"),yi=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:ln.LIST,parse:function(A){return ke(A.filter(Le))}}},Oi=yi("top-left"),Fi=yi("top-right"),_i=yi("bottom-right"),Ni=yi("bottom-left");(function(A){A[A["NONE"]=0]="NONE",A[A["SOLID"]=1]="SOLID"})(hi||(hi={}));var Hi,xi=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:ln.IDENT_VALUE,parse:function(A){switch(A){case"none":return hi.NONE}return hi.SOLID}}},Si=xi("top"),Di=xi("right"),Ii=xi("bottom"),Ki=xi("left"),Ti=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:ln.VALUE,prefix:!1,parse:function(A){return He(A)?A.number:0}}},Pi=Ti("top"),ji=Ti("right"),Ri=Ti("bottom"),Li=Ti("left"),ki={name:"color",initialValue:"transparent",prefix:!1,type:ln.TYPE_VALUE,format:"color"},Mi={name:"display",initialValue:"inline-block",prefix:!1,type:ln.LIST,parse:function(A){return A.filter(Se).reduce((function(A,t){return A|Vi(t.value)}),0)}},Vi=function(A){switch(A){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0};(function(A){A[A["NONE"]=0]="NONE",A[A["LEFT"]=1]="LEFT",A[A["RIGHT"]=2]="RIGHT",A[A["INLINE_START"]=3]="INLINE_START",A[A["INLINE_END"]=4]="INLINE_END"})(Hi||(Hi={}));var zi,Ji={name:"float",initialValue:"none",prefix:!1,type:ln.IDENT_VALUE,parse:function(A){switch(A){case"left":return Hi.LEFT;case"right":return Hi.RIGHT;case"inline-start":return Hi.INLINE_START;case"inline-end":return Hi.INLINE_END}return Hi.NONE}},Xi={name:"letter-spacing",initialValue:"0",prefix:!1,type:ln.VALUE,parse:function(A){return A.type===g.IDENT_TOKEN&&"normal"===A.value?0:A.type===g.NUMBER_TOKEN||A.type===g.DIMENSION_TOKEN?A.number:0}};(function(A){A["NORMAL"]="normal",A["STRICT"]="strict"})(zi||(zi={}));var Gi,$i={name:"line-break",initialValue:"normal",prefix:!1,type:ln.IDENT_VALUE,parse:function(A){switch(A){case"strict":return zi.STRICT;case"normal":default:return zi.NORMAL}}},Wi={name:"line-height",initialValue:"normal",prefix:!1,type:ln.TOKEN_VALUE},Yi=function(A,t){return Se(A)&&"normal"===A.value?1.2*t:A.type===g.NUMBER_TOKEN?t*A.number:Le(A)?Xe(A,t):t},qi={name:"list-style-image",initialValue:"none",type:ln.VALUE,prefix:!1,parse:function(A){return A.type===g.IDENT_TOKEN&&"none"===A.value?null:si.parse(A)}};(function(A){A[A["INSIDE"]=0]="INSIDE",A[A["OUTSIDE"]=1]="OUTSIDE"})(Gi||(Gi={}));var Zi,Ao={name:"list-style-position",initialValue:"outside",prefix:!1,type:ln.IDENT_VALUE,parse:function(A){switch(A){case"inside":return Gi.INSIDE;case"outside":default:return Gi.OUTSIDE}}};(function(A){A[A["NONE"]=-1]="NONE",A[A["DISC"]=0]="DISC",A[A["CIRCLE"]=1]="CIRCLE",A[A["SQUARE"]=2]="SQUARE",A[A["DECIMAL"]=3]="DECIMAL",A[A["CJK_DECIMAL"]=4]="CJK_DECIMAL",A[A["DECIMAL_LEADING_ZERO"]=5]="DECIMAL_LEADING_ZERO",A[A["LOWER_ROMAN"]=6]="LOWER_ROMAN",A[A["UPPER_ROMAN"]=7]="UPPER_ROMAN",A[A["LOWER_GREEK"]=8]="LOWER_GREEK",A[A["LOWER_ALPHA"]=9]="LOWER_ALPHA",A[A["UPPER_ALPHA"]=10]="UPPER_ALPHA",A[A["ARABIC_INDIC"]=11]="ARABIC_INDIC",A[A["ARMENIAN"]=12]="ARMENIAN",A[A["BENGALI"]=13]="BENGALI",A[A["CAMBODIAN"]=14]="CAMBODIAN",A[A["CJK_EARTHLY_BRANCH"]=15]="CJK_EARTHLY_BRANCH",A[A["CJK_HEAVENLY_STEM"]=16]="CJK_HEAVENLY_STEM",A[A["CJK_IDEOGRAPHIC"]=17]="CJK_IDEOGRAPHIC",A[A["DEVANAGARI"]=18]="DEVANAGARI",A[A["ETHIOPIC_NUMERIC"]=19]="ETHIOPIC_NUMERIC",A[A["GEORGIAN"]=20]="GEORGIAN",A[A["GUJARATI"]=21]="GUJARATI",A[A["GURMUKHI"]=22]="GURMUKHI",A[A["HEBREW"]=22]="HEBREW",A[A["HIRAGANA"]=23]="HIRAGANA",A[A["HIRAGANA_IROHA"]=24]="HIRAGANA_IROHA",A[A["JAPANESE_FORMAL"]=25]="JAPANESE_FORMAL",A[A["JAPANESE_INFORMAL"]=26]="JAPANESE_INFORMAL",A[A["KANNADA"]=27]="KANNADA",A[A["KATAKANA"]=28]="KATAKANA",A[A["KATAKANA_IROHA"]=29]="KATAKANA_IROHA",A[A["KHMER"]=30]="KHMER",A[A["KOREAN_HANGUL_FORMAL"]=31]="KOREAN_HANGUL_FORMAL",A[A["KOREAN_HANJA_FORMAL"]=32]="KOREAN_HANJA_FORMAL",A[A["KOREAN_HANJA_INFORMAL"]=33]="KOREAN_HANJA_INFORMAL",A[A["LAO"]=34]="LAO",A[A["LOWER_ARMENIAN"]=35]="LOWER_ARMENIAN",A[A["MALAYALAM"]=36]="MALAYALAM",A[A["MONGOLIAN"]=37]="MONGOLIAN",A[A["MYANMAR"]=38]="MYANMAR",A[A["ORIYA"]=39]="ORIYA",A[A["PERSIAN"]=40]="PERSIAN",A[A["SIMP_CHINESE_FORMAL"]=41]="SIMP_CHINESE_FORMAL",A[A["SIMP_CHINESE_INFORMAL"]=42]="SIMP_CHINESE_INFORMAL",A[A["TAMIL"]=43]="TAMIL",A[A["TELUGU"]=44]="TELUGU",A[A["THAI"]=45]="THAI",A[A["TIBETAN"]=46]="TIBETAN",A[A["TRAD_CHINESE_FORMAL"]=47]="TRAD_CHINESE_FORMAL",A[A["TRAD_CHINESE_INFORMAL"]=48]="TRAD_CHINESE_INFORMAL",A[A["UPPER_ARMENIAN"]=49]="UPPER_ARMENIAN",A[A["DISCLOSURE_OPEN"]=50]="DISCLOSURE_OPEN",A[A["DISCLOSURE_CLOSED"]=51]="DISCLOSURE_CLOSED"})(Zi||(Zi={}));var to,eo={name:"list-style-type",initialValue:"none",prefix:!1,type:ln.IDENT_VALUE,parse:function(A){switch(A){case"disc":return Zi.DISC;case"circle":return Zi.CIRCLE;case"square":return Zi.SQUARE;case"decimal":return Zi.DECIMAL;case"cjk-decimal":return Zi.CJK_DECIMAL;case"decimal-leading-zero":return Zi.DECIMAL_LEADING_ZERO;case"lower-roman":return Zi.LOWER_ROMAN;case"upper-roman":return Zi.UPPER_ROMAN;case"lower-greek":return Zi.LOWER_GREEK;case"lower-alpha":return Zi.LOWER_ALPHA;case"upper-alpha":return Zi.UPPER_ALPHA;case"arabic-indic":return Zi.ARABIC_INDIC;case"armenian":return Zi.ARMENIAN;case"bengali":return Zi.BENGALI;case"cambodian":return Zi.CAMBODIAN;case"cjk-earthly-branch":return Zi.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return Zi.CJK_HEAVENLY_STEM;case"cjk-ideographic":return Zi.CJK_IDEOGRAPHIC;case"devanagari":return Zi.DEVANAGARI;case"ethiopic-numeric":return Zi.ETHIOPIC_NUMERIC;case"georgian":return Zi.GEORGIAN;case"gujarati":return Zi.GUJARATI;case"gurmukhi":return Zi.GURMUKHI;case"hebrew":return Zi.HEBREW;case"hiragana":return Zi.HIRAGANA;case"hiragana-iroha":return Zi.HIRAGANA_IROHA;case"japanese-formal":return Zi.JAPANESE_FORMAL;case"japanese-informal":return Zi.JAPANESE_INFORMAL;case"kannada":return Zi.KANNADA;case"katakana":return Zi.KATAKANA;case"katakana-iroha":return Zi.KATAKANA_IROHA;case"khmer":return Zi.KHMER;case"korean-hangul-formal":return Zi.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return Zi.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return Zi.KOREAN_HANJA_INFORMAL;case"lao":return Zi.LAO;case"lower-armenian":return Zi.LOWER_ARMENIAN;case"malayalam":return Zi.MALAYALAM;case"mongolian":return Zi.MONGOLIAN;case"myanmar":return Zi.MYANMAR;case"oriya":return Zi.ORIYA;case"persian":return Zi.PERSIAN;case"simp-chinese-formal":return Zi.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return Zi.SIMP_CHINESE_INFORMAL;case"tamil":return Zi.TAMIL;case"telugu":return Zi.TELUGU;case"thai":return Zi.THAI;case"tibetan":return Zi.TIBETAN;case"trad-chinese-formal":return Zi.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return Zi.TRAD_CHINESE_INFORMAL;case"upper-armenian":return Zi.UPPER_ARMENIAN;case"disclosure-open":return Zi.DISCLOSURE_OPEN;case"disclosure-closed":return Zi.DISCLOSURE_CLOSED;case"none":default:return Zi.NONE}}},no=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:ln.TOKEN_VALUE}},io=no("top"),oo=no("right"),ro=no("bottom"),ao=no("left");(function(A){A[A["VISIBLE"]=0]="VISIBLE",A[A["HIDDEN"]=1]="HIDDEN",A[A["SCROLL"]=2]="SCROLL",A[A["AUTO"]=3]="AUTO"})(to||(to={}));var so,co={name:"overflow",initialValue:"visible",prefix:!1,type:ln.LIST,parse:function(A){return A.filter(Se).map((function(A){switch(A.value){case"hidden":return to.HIDDEN;case"scroll":return to.SCROLL;case"auto":return to.AUTO;case"visible":default:return to.VISIBLE}}))}};(function(A){A["NORMAL"]="normal",A["BREAK_WORD"]="break-word"})(so||(so={}));var lo,uo={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:ln.IDENT_VALUE,parse:function(A){switch(A){case"break-word":return so.BREAK_WORD;case"normal":default:return so.NORMAL}}},fo=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:ln.TYPE_VALUE,format:"length-percentage"}},go=fo("top"),po=fo("right"),mo=fo("bottom"),Bo=fo("left");(function(A){A[A["LEFT"]=0]="LEFT",A[A["CENTER"]=1]="CENTER",A[A["RIGHT"]=2]="RIGHT"})(lo||(lo={}));var ho,Co={name:"text-align",initialValue:"left",prefix:!1,type:ln.IDENT_VALUE,parse:function(A){switch(A){case"right":return lo.RIGHT;case"center":case"justify":return lo.CENTER;case"left":default:return lo.LEFT}}};(function(A){A[A["STATIC"]=0]="STATIC",A[A["RELATIVE"]=1]="RELATIVE",A[A["ABSOLUTE"]=2]="ABSOLUTE",A[A["FIXED"]=3]="FIXED",A[A["STICKY"]=4]="STICKY"})(ho||(ho={}));var bo,wo={name:"position",initialValue:"static",prefix:!1,type:ln.IDENT_VALUE,parse:function(A){switch(A){case"relative":return ho.RELATIVE;case"absolute":return ho.ABSOLUTE;case"fixed":return ho.FIXED;case"sticky":return ho.STICKY}return ho.STATIC}},vo={name:"text-shadow",initialValue:"none",type:ln.LIST,prefix:!1,parse:function(A){return 1===A.length&&Ie(A[0],"none")?[]:Pe(A).map((function(A){for(var t={color:dn.TRANSPARENT,offsetX:Me,offsetY:Me,blur:Me},e=0,n=0;n1?1:0],this.overflowWrap=nr(uo,A.overflowWrap),this.paddingTop=nr(go,A.paddingTop),this.paddingRight=nr(po,A.paddingRight),this.paddingBottom=nr(mo,A.paddingBottom),this.paddingLeft=nr(Bo,A.paddingLeft),this.position=nr(wo,A.position),this.textAlign=nr(Co,A.textAlign),this.textDecorationColor=nr(Po,A.textDecorationColor||A.color),this.textDecorationLine=nr(jo,A.textDecorationLine),this.textShadow=nr(vo,A.textShadow),this.textTransform=nr(Uo,A.textTransform),this.transform=nr(Eo,A.transform),this.transformOrigin=nr(Ho,A.transformOrigin),this.visibility=nr(So,A.visibility),this.wordBreak=nr(Io,A.wordBreak),this.zIndex=nr(Ko,A.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===Qo.VISIBLE},A.prototype.isTransparent=function(){return nn(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return this.position!==ho.STATIC},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==Hi.NONE},A.prototype.isInlineLevel=function(){return Xo(this.display,4)||Xo(this.display,33554432)||Xo(this.display,268435456)||Xo(this.display,536870912)||Xo(this.display,67108864)||Xo(this.display,134217728)},A}(),tr=function(){function A(A){this.content=nr(Go,A.content),this.quotes=nr(Yo,A.quotes)}return A}(),er=function(){function A(A){this.counterIncrement=nr($o,A.counterIncrement),this.counterReset=nr(Wo,A.counterReset)}return A}(),nr=function(A,t){var e=new _e,n=null!==t&&"undefined"!==typeof t?t.toString():A.initialValue;e.write(n);var i=new Ne(e.read());switch(A.type){case ln.IDENT_VALUE:var o=i.parseComponentValue();return A.parse(Se(o)?o.value:A.initialValue);case ln.VALUE:return A.parse(i.parseComponentValue());case ln.LIST:return A.parse(i.parseComponentValues());case ln.TOKEN_VALUE:return i.parseComponentValue();case ln.TYPE_VALUE:switch(A.format){case"angle":return qe.parse(i.parseComponentValue());case"color":return en.parse(i.parseComponentValue());case"image":return si.parse(i.parseComponentValue());case"length":var r=i.parseComponentValue();return Re(r)?r:Me;case"length-percentage":var a=i.parseComponentValue();return Le(a)?a:Me}}throw new Error("Attempting to parse unsupported css format type "+A.format)},ir=function(){function A(A){this.styles=new Ar(window.getComputedStyle(A,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&Lr(A)&&(A.style.transform="none"),this.bounds=r(A),this.flags=0}return A}(),or=function(){function A(A,t){this.text=A,this.bounds=t}return A}(),rr=function(A,t,e){var n=cr(A,t),i=[],o=0;return n.forEach((function(A){if(t.textDecorationLine.length||A.trim().length>0)if(In.SUPPORT_RANGE_BOUNDS)i.push(new or(A,sr(e,o,A.length)));else{var n=e.splitText(A.length);i.push(new or(A,ar(e))),e=n}else In.SUPPORT_RANGE_BOUNDS||(e=e.splitText(A.length));o+=A.length})),i},ar=function(A){var t=A.ownerDocument;if(t){var e=t.createElement("html2canvaswrapper");e.appendChild(A.cloneNode(!0));var n=A.parentNode;if(n){n.replaceChild(e,A);var i=r(e);return e.firstChild&&n.replaceChild(e.firstChild,e),i}}return new o(0,0,0,0)},sr=function(A,t,e){var n=A.ownerDocument;if(!n)throw new Error("Node has no owner document");var i=n.createRange();return i.setStart(A,t),i.setEnd(A,t+e),o.fromClientRect(i.getBoundingClientRect())},cr=function(A,t){return 0!==t.letterSpacing?s(A).map((function(A){return c(A)})):lr(A,t)},lr=function(A,t){var e,n=MA(A,{lineBreak:t.lineBreak,wordBreak:t.overflowWrap===so.BREAK_WORD?"break-word":t.wordBreak}),i=[];while(!(e=n.next()).done)e.value&&i.push(e.value.slice());return i},ur=function(){function A(A,t){this.text=fr(A.data,t.textTransform),this.textBounds=rr(this.text,t,A)}return A}(),fr=function(A,t){switch(t){case bo.LOWERCASE:return A.toLowerCase();case bo.CAPITALIZE:return A.replace(gr,dr);case bo.UPPERCASE:return A.toUpperCase();default:return A}},gr=/(^|\s|:|-|\(|\))([a-z])/g,dr=function(A,t,e){return A.length>0?t+e.toUpperCase():A},pr=function(A){function e(t){var e=A.call(this,t)||this;return e.src=t.currentSrc||t.src,e.intrinsicWidth=t.naturalWidth,e.intrinsicHeight=t.naturalHeight,Tn.getInstance().addImage(e.src),e}return t(e,A),e}(ir),mr=function(A){function e(t){var e=A.call(this,t)||this;return e.canvas=t,e.intrinsicWidth=t.width,e.intrinsicHeight=t.height,e}return t(e,A),e}(ir),Br=function(A){function e(t){var e=A.call(this,t)||this,n=new XMLSerializer;return e.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(t)),e.intrinsicWidth=t.width.baseVal.value,e.intrinsicHeight=t.height.baseVal.value,Tn.getInstance().addImage(e.svg),e}return t(e,A),e}(ir),hr=function(A){function e(t){var e=A.call(this,t)||this;return e.value=t.value,e}return t(e,A),e}(ir),Cr=function(A){function e(t){var e=A.call(this,t)||this;return e.start=t.start,e.reversed="boolean"===typeof t.reversed&&!0===t.reversed,e}return t(e,A),e}(ir),br=[{type:g.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],wr=[{type:g.PERCENTAGE_TOKEN,flags:0,number:50}],vr=function(A){return A.width>A.height?new o(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)t.textNodes.push(new ur(n,t.styles));else if(Rr(n)){var o=Ir(n);o.styles.isVisible()&&(Tr(n,o,e)?o.flags|=4:Pr(o.styles)&&(o.flags|=2),-1!==Sr.indexOf(n.tagName)&&(o.flags|=8),t.elements.push(o),Zr(n)||Jr(n)||Aa(n)||Dr(n,o,e))}},Ir=function(A){return $r(A)?new pr(A):Gr(A)?new mr(A):Jr(A)?new Br(A):kr(A)?new hr(A):Mr(A)?new Cr(A):Vr(A)?new Fr(A):Aa(A)?new _r(A):Zr(A)?new Nr(A):Wr(A)?new xr(A):new ir(A)},Kr=function(A){var t=Ir(A);return t.flags|=4,Dr(A,t,t),t},Tr=function(A,t,e){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||Xr(A)&&e.styles.isTransparent()},Pr=function(A){return A.isPositioned()||A.isFloating()},jr=function(A){return A.nodeType===Node.TEXT_NODE},Rr=function(A){return A.nodeType===Node.ELEMENT_NODE},Lr=function(A){return"undefined"!==typeof A.style},kr=function(A){return"LI"===A.tagName},Mr=function(A){return"OL"===A.tagName},Vr=function(A){return"INPUT"===A.tagName},zr=function(A){return"HTML"===A.tagName},Jr=function(A){return"svg"===A.tagName},Xr=function(A){return"BODY"===A.tagName},Gr=function(A){return"CANVAS"===A.tagName},$r=function(A){return"IMG"===A.tagName},Wr=function(A){return"IFRAME"===A.tagName},Yr=function(A){return"STYLE"===A.tagName},qr=function(A){return"SCRIPT"===A.tagName},Zr=function(A){return"TEXTAREA"===A.tagName},Aa=function(A){return"SELECT"===A.tagName},ta=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var t=this.counters[A];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(A){var t=this.counters[A];return t||[]},A.prototype.pop=function(A){var t=this;A.forEach((function(A){return t.counters[A].pop()}))},A.prototype.parse=function(A){var t=this,e=A.counterIncrement,n=A.counterReset,i=!0;null!==e&&e.forEach((function(A){var e=t.counters[A.counter];e&&0!==A.increment&&(i=!1,e[Math.max(0,e.length-1)]+=A.increment)}));var o=[];return i&&n.forEach((function(A){var e=t.counters[A.counter];o.push(A.counter),e||(e=t.counters[A.counter]=[]),e.push(A.reset)})),o},A}(),ea={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},na={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},ia={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},oa={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ra=function(A,t,e,n,i,o){return Ae?Ca(A,i,o.length>0):n.integers.reduce((function(t,e,i){while(A>=e)A-=e,t+=n.values[i];return t}),"")+o},aa=function(A,t,e,n){var i="";do{e||A--,i=n(A)+i,A/=t}while(A*t>=t);return i},sa=function(A,t,e,n,i){var o=e-t+1;return(A<0?"-":"")+(aa(Math.abs(A),o,n,(function(A){return c(Math.floor(A%o)+t)}))+i)},ca=function(A,t,e){void 0===e&&(e=". ");var n=t.length;return aa(Math.abs(A),n,!1,(function(A){return t[Math.floor(A%n)]}))+e},la=1,ua=2,fa=4,ga=8,da=function(A,t,e,n,i,o){if(A<-9999||A>9999)return Ca(A,Zi.CJK_DECIMAL,i.length>0);var r=Math.abs(A),a=i;if(0===r)return t[0]+a;for(var s=0;r>0&&s<=4;s++){var c=r%10;0===c&&Xo(o,la)&&""!==a?a=t[c]+a:c>1||1===c&&0===s||1===c&&1===s&&Xo(o,ua)||1===c&&1===s&&Xo(o,fa)&&A>100||1===c&&s>1&&Xo(o,ga)?a=t[c]+(s>0?e[s-1]:"")+a:1===c&&s>0&&(a=e[s-1]+a),r=Math.floor(r/10)}return(A<0?n:"")+a},pa="十百千萬",ma="拾佰仟萬",Ba="マイナス",ha="마이너스",Ca=function(A,t,e){var n=e?". ":"",i=e?"、":"",o=e?", ":"",r=e?" ":"";switch(t){case Zi.DISC:return"•"+r;case Zi.CIRCLE:return"◦"+r;case Zi.SQUARE:return"◾"+r;case Zi.DECIMAL_LEADING_ZERO:var a=sa(A,48,57,!0,n);return a.length<4?"0"+a:a;case Zi.CJK_DECIMAL:return ca(A,"〇一二三四五六七八九",i);case Zi.LOWER_ROMAN:return ra(A,1,3999,ea,Zi.DECIMAL,n).toLowerCase();case Zi.UPPER_ROMAN:return ra(A,1,3999,ea,Zi.DECIMAL,n);case Zi.LOWER_GREEK:return sa(A,945,969,!1,n);case Zi.LOWER_ALPHA:return sa(A,97,122,!1,n);case Zi.UPPER_ALPHA:return sa(A,65,90,!1,n);case Zi.ARABIC_INDIC:return sa(A,1632,1641,!0,n);case Zi.ARMENIAN:case Zi.UPPER_ARMENIAN:return ra(A,1,9999,na,Zi.DECIMAL,n);case Zi.LOWER_ARMENIAN:return ra(A,1,9999,na,Zi.DECIMAL,n).toLowerCase();case Zi.BENGALI:return sa(A,2534,2543,!0,n);case Zi.CAMBODIAN:case Zi.KHMER:return sa(A,6112,6121,!0,n);case Zi.CJK_EARTHLY_BRANCH:return ca(A,"子丑寅卯辰巳午未申酉戌亥",i);case Zi.CJK_HEAVENLY_STEM:return ca(A,"甲乙丙丁戊己庚辛壬癸",i);case Zi.CJK_IDEOGRAPHIC:case Zi.TRAD_CHINESE_INFORMAL:return da(A,"零一二三四五六七八九",pa,"負",i,ua|fa|ga);case Zi.TRAD_CHINESE_FORMAL:return da(A,"零壹貳參肆伍陸柒捌玖",ma,"負",i,la|ua|fa|ga);case Zi.SIMP_CHINESE_INFORMAL:return da(A,"零一二三四五六七八九",pa,"负",i,ua|fa|ga);case Zi.SIMP_CHINESE_FORMAL:return da(A,"零壹贰叁肆伍陆柒捌玖",ma,"负",i,la|ua|fa|ga);case Zi.JAPANESE_INFORMAL:return da(A,"〇一二三四五六七八九","十百千万",Ba,i,0);case Zi.JAPANESE_FORMAL:return da(A,"零壱弐参四伍六七八九","拾百千万",Ba,i,la|ua|fa);case Zi.KOREAN_HANGUL_FORMAL:return da(A,"영일이삼사오육칠팔구","십백천만",ha,o,la|ua|fa);case Zi.KOREAN_HANJA_INFORMAL:return da(A,"零一二三四五六七八九","十百千萬",ha,o,0);case Zi.KOREAN_HANJA_FORMAL:return da(A,"零壹貳參四五六七八九","拾百千",ha,o,la|ua|fa);case Zi.DEVANAGARI:return sa(A,2406,2415,!0,n);case Zi.GEORGIAN:return ra(A,1,19999,oa,Zi.DECIMAL,n);case Zi.GUJARATI:return sa(A,2790,2799,!0,n);case Zi.GURMUKHI:return sa(A,2662,2671,!0,n);case Zi.HEBREW:return ra(A,1,10999,ia,Zi.DECIMAL,n);case Zi.HIRAGANA:return ca(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case Zi.HIRAGANA_IROHA:return ca(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case Zi.KANNADA:return sa(A,3302,3311,!0,n);case Zi.KATAKANA:return ca(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case Zi.KATAKANA_IROHA:return ca(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case Zi.LAO:return sa(A,3792,3801,!0,n);case Zi.MONGOLIAN:return sa(A,6160,6169,!0,n);case Zi.MYANMAR:return sa(A,4160,4169,!0,n);case Zi.ORIYA:return sa(A,2918,2927,!0,n);case Zi.PERSIAN:return sa(A,1776,1785,!0,n);case Zi.TAMIL:return sa(A,3046,3055,!0,n);case Zi.TELUGU:return sa(A,3174,3183,!0,n);case Zi.THAI:return sa(A,3664,3673,!0,n);case Zi.TIBETAN:return sa(A,3872,3881,!0,n);case Zi.DECIMAL:default:return sa(A,48,57,!0,n)}},ba="data-html2canvas-ignore",wa=function(){function A(A,t){if(this.options=t,this.scrolledElements=[],this.referenceElement=A,this.counters=new ta,this.quoteDepth=0,!A.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(A.ownerDocument.documentElement)}return A.prototype.toIFrame=function(A,t){var e=this,o=Qa(A,t);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var r=A.defaultView.pageXOffset,a=A.defaultView.pageYOffset,s=o.contentWindow,c=s.document,l=Ua(o).then((function(){return n(e,void 0,void 0,(function(){var A;return i(this,(function(e){switch(e.label){case 0:return this.scrolledElements.forEach(Fa),s&&(s.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===t.top&&s.scrollX===t.left||(c.documentElement.style.top=-t.top+"px",c.documentElement.style.left=-t.left+"px",c.documentElement.style.position="absolute")),A=this.options.onclone,"undefined"===typeof this.clonedReferenceElement?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:e.sent(),e.label=2;case 2:return"function"===typeof A?[2,Promise.resolve().then((function(){return A(c)})).then((function(){return o}))]:[2,o]}}))}))}));return c.open(),c.write(ya(document.doctype)+""),Oa(this.referenceElement.ownerDocument,r,a),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),l},A.prototype.createElementClone=function(A){return Gr(A)?this.createCanvasClone(A):Yr(A)?this.createStyleClone(A):A.cloneNode(!1)},A.prototype.createStyleClone=function(A){try{var t=A.sheet;if(t&&t.cssRules){var e=[].slice.call(t.cssRules,0).reduce((function(A,t){return t&&"string"===typeof t.cssText?A+t.cssText:A}),""),n=A.cloneNode(!1);return n.textContent=e,n}}catch(Pt){if(Kn.getInstance(this.options.id).error("Unable to access cssRules property",Pt),"SecurityError"!==Pt.name)throw Pt}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch(Pt){Kn.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var e=A.cloneNode(!1);try{e.width=A.width,e.height=A.height;var n=A.getContext("2d"),i=e.getContext("2d");return i&&(n?i.putImageData(n.getImageData(0,0,A.width,A.height),0,0):i.drawImage(A,0,0)),e}catch(Pt){}return e},A.prototype.cloneNode=function(A){if(jr(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(Lr(A)&&t){var e=this.createElementClone(A),n=t.getComputedStyle(A),i=t.getComputedStyle(A,":before"),o=t.getComputedStyle(A,":after");this.referenceElement===A&&(this.clonedReferenceElement=e),Xr(e)&&Da(e);for(var r=this.counters.parse(new er(n)),a=this.resolvePseudoContent(A,e,i,zo.BEFORE),s=A.firstChild;s;s=s.nextSibling)Rr(s)&&(qr(s)||s.hasAttribute(ba)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(s))||this.options.copyStyles&&Rr(s)&&Yr(s)||e.appendChild(this.cloneNode(s));a&&e.insertBefore(a,e.firstChild);var c=this.resolvePseudoContent(A,e,o,zo.AFTER);return c&&e.appendChild(c),this.counters.pop(r),n&&this.options.copyStyles&&!Wr(A)&&Ea(n,e),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([e,A.scrollLeft,A.scrollTop]),(Zr(A)||Aa(A))&&(Zr(e)||Aa(e))&&(e.value=A.value),e}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,t,e,n){var i=this;if(e){var o=e.content,r=t.ownerDocument;if(r&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==e.display){this.counters.parse(new er(e));var a=new tr(e),s=r.createElement("html2canvaspseudoelement");return Ea(e,s),a.content.forEach((function(t){if(t.type===g.STRING_TOKEN)s.appendChild(r.createTextNode(t.value));else if(t.type===g.URL_TOKEN){var e=r.createElement("img");e.src=t.value,e.style.opacity="1",s.appendChild(e)}else if(t.type===g.FUNCTION){if("attr"===t.name){var n=t.values.filter(Se);n.length&&s.appendChild(r.createTextNode(A.getAttribute(n[0].value)||""))}else if("counter"===t.name){var o=t.values.filter(Te),c=o[0],l=o[1];if(c&&Se(c)){var u=i.counters.getCounterValue(c.value),f=l&&Se(l)?eo.parse(l.value):Zi.DECIMAL;s.appendChild(r.createTextNode(Ca(u,f,!1)))}}else if("counters"===t.name){var d=t.values.filter(Te),p=(c=d[0],d[1]);l=d[2];if(c&&Se(c)){var m=i.counters.getCounterValues(c.value),B=l&&Se(l)?eo.parse(l.value):Zi.DECIMAL,h=p&&p.type===g.STRING_TOKEN?p.value:"",C=m.map((function(A){return Ca(A,B,!1)})).join(h);s.appendChild(r.createTextNode(C))}}}else if(t.type===g.IDENT_TOKEN)switch(t.value){case"open-quote":s.appendChild(r.createTextNode(qo(a.quotes,i.quoteDepth++,!0)));break;case"close-quote":s.appendChild(r.createTextNode(qo(a.quotes,--i.quoteDepth,!1)));break;default:s.appendChild(r.createTextNode(t.value))}})),s.className=Ha+" "+xa,t.className+=n===zo.BEFORE?" "+Ha:" "+xa,s}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}();(function(A){A[A["BEFORE"]=0]="BEFORE",A[A["AFTER"]=1]="AFTER"})(zo||(zo={}));var va,Qa=function(A,t){var e=A.createElement("iframe");return e.className="html2canvas-container",e.style.visibility="hidden",e.style.position="fixed",e.style.left="-10000px",e.style.top="0px",e.style.border="0",e.width=t.width.toString(),e.height=t.height.toString(),e.scrolling="no",e.setAttribute(ba,"true"),A.body.appendChild(e),e},Ua=function(A){return new Promise((function(t,e){var n=A.contentWindow;if(!n)return e("No window assigned for iframe");var i=n.document;n.onload=A.onload=i.onreadystatechange=function(){n.onload=A.onload=i.onreadystatechange=null;var e=setInterval((function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(e),t(A))}),50)}}))},Ea=function(A,t){for(var e=A.length-1;e>=0;e--){var n=A.item(e);"content"!==n&&t.style.setProperty(n,A.getPropertyValue(n))}return t},ya=function(A){var t="";return A&&(t+=""),t},Oa=function(A,t,e){A&&A.defaultView&&(t!==A.defaultView.pageXOffset||e!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(t,e)},Fa=function(A){var t=A[0],e=A[1],n=A[2];t.scrollLeft=e,t.scrollTop=n},_a=":before",Na=":after",Ha="___html2canvas___pseudoelement_before",xa="___html2canvas___pseudoelement_after",Sa='{\n content: "" !important;\n display: none !important;\n}',Da=function(A){Ia(A,"."+Ha+_a+Sa+"\n ."+xa+Na+Sa)},Ia=function(A,t){var e=A.ownerDocument;if(e){var n=e.createElement("style");n.textContent=t,A.appendChild(n)}};(function(A){A[A["VECTOR"]=0]="VECTOR",A[A["BEZIER_CURVE"]=1]="BEZIER_CURVE"})(va||(va={}));var Ka,Ta=function(A,t){return A.length===t.length&&A.some((function(A,e){return A===t[e]}))},Pa=function(A,t,e,n,i){return A.map((function(A,o){switch(o){case 0:return A.add(t,e);case 1:return A.add(t+n,e);case 2:return A.add(t+n,e+i);case 3:return A.add(t,e+i)}return A}))},ja=function(){function A(A,t){this.type=va.VECTOR,this.x=A,this.y=t}return A.prototype.add=function(t,e){return new A(this.x+t,this.y+e)},A}(),Ra=function(A,t,e){return new ja(A.x+(t.x-A.x)*e,A.y+(t.y-A.y)*e)},La=function(){function A(A,t,e,n){this.type=va.BEZIER_CURVE,this.start=A,this.startControl=t,this.endControl=e,this.end=n}return A.prototype.subdivide=function(t,e){var n=Ra(this.start,this.startControl,t),i=Ra(this.startControl,this.endControl,t),o=Ra(this.endControl,this.end,t),r=Ra(n,i,t),a=Ra(i,o,t),s=Ra(r,a,t);return e?new A(this.start,n,r,s):new A(s,a,o,this.end)},A.prototype.add=function(t,e){return new A(this.start.add(t,e),this.startControl.add(t,e),this.endControl.add(t,e),this.end.add(t,e))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),ka=function(A){return A.type===va.BEZIER_CURVE},Ma=function(){function A(A){var t=A.styles,e=A.bounds,n=Je(t.borderTopLeftRadius,e.width,e.height),i=n[0],o=n[1],r=Je(t.borderTopRightRadius,e.width,e.height),a=r[0],s=r[1],c=Je(t.borderBottomRightRadius,e.width,e.height),l=c[0],u=c[1],f=Je(t.borderBottomLeftRadius,e.width,e.height),g=f[0],d=f[1],p=[];p.push((i+a)/e.width),p.push((g+l)/e.width),p.push((o+d)/e.height),p.push((s+u)/e.height);var m=Math.max.apply(Math,p);m>1&&(i/=m,o/=m,a/=m,s/=m,l/=m,u/=m,g/=m,d/=m);var B=e.width-a,h=e.height-u,C=e.width-l,b=e.height-d,w=t.borderTopWidth,v=t.borderRightWidth,Q=t.borderBottomWidth,U=t.borderLeftWidth,E=Xe(t.paddingTop,A.bounds.width),y=Xe(t.paddingRight,A.bounds.width),O=Xe(t.paddingBottom,A.bounds.width),F=Xe(t.paddingLeft,A.bounds.width);this.topLeftBorderBox=i>0||o>0?Va(e.left,e.top,i,o,Ka.TOP_LEFT):new ja(e.left,e.top),this.topRightBorderBox=a>0||s>0?Va(e.left+B,e.top,a,s,Ka.TOP_RIGHT):new ja(e.left+e.width,e.top),this.bottomRightBorderBox=l>0||u>0?Va(e.left+C,e.top+h,l,u,Ka.BOTTOM_RIGHT):new ja(e.left+e.width,e.top+e.height),this.bottomLeftBorderBox=g>0||d>0?Va(e.left,e.top+b,g,d,Ka.BOTTOM_LEFT):new ja(e.left,e.top+e.height),this.topLeftPaddingBox=i>0||o>0?Va(e.left+U,e.top+w,Math.max(0,i-U),Math.max(0,o-w),Ka.TOP_LEFT):new ja(e.left+U,e.top+w),this.topRightPaddingBox=a>0||s>0?Va(e.left+Math.min(B,e.width+U),e.top+w,B>e.width+U?0:a-U,s-w,Ka.TOP_RIGHT):new ja(e.left+e.width-v,e.top+w),this.bottomRightPaddingBox=l>0||u>0?Va(e.left+Math.min(C,e.width-U),e.top+Math.min(h,e.height+w),Math.max(0,l-v),u-Q,Ka.BOTTOM_RIGHT):new ja(e.left+e.width-v,e.top+e.height-Q),this.bottomLeftPaddingBox=g>0||d>0?Va(e.left+U,e.top+b,Math.max(0,g-U),d-Q,Ka.BOTTOM_LEFT):new ja(e.left+U,e.top+e.height-Q),this.topLeftContentBox=i>0||o>0?Va(e.left+U+F,e.top+w+E,Math.max(0,i-(U+F)),Math.max(0,o-(w+E)),Ka.TOP_LEFT):new ja(e.left+U+F,e.top+w+E),this.topRightContentBox=a>0||s>0?Va(e.left+Math.min(B,e.width+U+F),e.top+w+E,B>e.width+U+F?0:a-U+F,s-(w+E),Ka.TOP_RIGHT):new ja(e.left+e.width-(v+y),e.top+w+E),this.bottomRightContentBox=l>0||u>0?Va(e.left+Math.min(C,e.width-(U+F)),e.top+Math.min(h,e.height+w+E),Math.max(0,l-(v+y)),u-(Q+O),Ka.BOTTOM_RIGHT):new ja(e.left+e.width-(v+y),e.top+e.height-(Q+O)),this.bottomLeftContentBox=g>0||d>0?Va(e.left+U+F,e.top+b,Math.max(0,g-(U+F)),d-(Q+O),Ka.BOTTOM_LEFT):new ja(e.left+U+F,e.top+e.height-(Q+O))}return A}();(function(A){A[A["TOP_LEFT"]=0]="TOP_LEFT",A[A["TOP_RIGHT"]=1]="TOP_RIGHT",A[A["BOTTOM_RIGHT"]=2]="BOTTOM_RIGHT",A[A["BOTTOM_LEFT"]=3]="BOTTOM_LEFT"})(Ka||(Ka={}));var Va=function(A,t,e,n,i){var o=(Math.sqrt(2)-1)/3*4,r=e*o,a=n*o,s=A+e,c=t+n;switch(i){case Ka.TOP_LEFT:return new La(new ja(A,c),new ja(A,c-a),new ja(s-r,t),new ja(s,t));case Ka.TOP_RIGHT:return new La(new ja(A,t),new ja(A+r,t),new ja(s,c-a),new ja(s,c));case Ka.BOTTOM_RIGHT:return new La(new ja(s,t),new ja(s,t+a),new ja(A+r,c),new ja(A,c));case Ka.BOTTOM_LEFT:default:return new La(new ja(s,c),new ja(s-r,c),new ja(A,t+a),new ja(A,t))}},za=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},Ja=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},Xa=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},Ga=function(){function A(A,t,e){this.type=0,this.offsetX=A,this.offsetY=t,this.matrix=e,this.target=6}return A}(),$a=function(){function A(A,t){this.type=1,this.target=t,this.path=A}return A}(),Wa=function(A){return 0===A.type},Ya=function(A){return 1===A.type},qa=function(){function A(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),Za=function(){function A(A,t){if(this.container=A,this.effects=t.slice(0),this.curves=new Ma(A),null!==A.styles.transform){var e=A.bounds.left+A.styles.transformOrigin[0].number,n=A.bounds.top+A.styles.transformOrigin[1].number,i=A.styles.transform;this.effects.push(new Ga(e,n,i))}if(A.styles.overflowX!==to.VISIBLE){var o=za(this.curves),r=Xa(this.curves);Ta(o,r)?this.effects.push(new $a(o,6)):(this.effects.push(new $a(o,2)),this.effects.push(new $a(r,4)))}}return A.prototype.getParentEffects=function(){var A=this.effects.slice(0);if(this.container.styles.overflowX!==to.VISIBLE){var t=za(this.curves),e=Xa(this.curves);Ta(t,e)||A.push(new $a(e,6))}return A},A}(),As=function(A,t,e,n){A.container.elements.forEach((function(i){var o=Xo(i.flags,4),r=Xo(i.flags,2),a=new Za(i,A.getParentEffects());Xo(i.styles.display,2048)&&n.push(a);var s=Xo(i.flags,8)?[]:n;if(o||r){var c=o||i.styles.isPositioned()?e:t,l=new qa(a);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var u=i.styles.zIndex.order;if(u<0){var f=0;c.negativeZIndex.some((function(A,t){return u>A.element.container.styles.zIndex.order?(f=t,!1):f>0})),c.negativeZIndex.splice(f,0,l)}else if(u>0){var g=0;c.positiveZIndex.some((function(A,t){return u>A.element.container.styles.zIndex.order?(g=t+1,!1):g>0})),c.positiveZIndex.splice(g,0,l)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else i.styles.isFloating()?c.nonPositionedFloats.push(l):c.nonPositionedInlineLevel.push(l);As(a,l,o?l:e,s)}else i.styles.isInlineLevel()?t.inlineLevel.push(a):t.nonInlineLevel.push(a),As(a,t,e,s);Xo(i.flags,8)&&ts(i,s)}))},ts=function(A,t){for(var e=A instanceof Cr?A.start:1,n=A instanceof Cr&&A.reversed,i=0;i0&&A.intrinsicHeight>0){var n=rs(A),i=Xa(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(e,0,0,A.intrinsicWidth,A.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(t){return n(this,void 0,void 0,(function(){var e,n,r,a,s,c,l,u,f,g,d,p,m,B,h;return i(this,(function(i){switch(i.label){case 0:this.applyEffects(t.effects,4),e=t.container,n=t.curves,r=e.styles,a=0,s=e.textNodes,i.label=1;case 1:return a0&&U>0&&(h=n.ctx.createPattern(p,"repeat"),n.renderRepeat(b,h,y,O))):ai(e)&&(C=cs(A,t,[null,null,null]),b=C[0],w=C[1],v=C[2],Q=C[3],U=C[4],E=0===e.position.length?[Ve]:e.position,y=Xe(E[0],Q),O=Xe(E[E.length-1],U),F=Un(e,y,O,Q,U),_=F[0],N=F[1],_>0&&_>0&&(H=n.ctx.createRadialGradient(w+y,v+O,0,w+y,v+O,_),Cn(e.stops,2*_).forEach((function(A){return H.addColorStop(A.stop,on(A.color))})),n.path(b),n.ctx.fillStyle=H,_!==N?(x=A.bounds.left+.5*A.bounds.width,S=A.bounds.top+.5*A.bounds.height,D=N/_,I=1/D,n.ctx.save(),n.ctx.translate(x,S),n.ctx.transform(1,0,0,D,0,0),n.ctx.translate(-x,-S),n.ctx.fillRect(w,I*(v-S)+S,Q,U*I),n.ctx.restore()):n.ctx.fill())),i.label=6;case 6:return t--,[2]}}))},n=this,o=0,r=A.styles.backgroundImage.slice(0).reverse(),s.label=1;case 1:return o650?650:e;var n=A;window.onresize=function(){n.clientHeight="".concat(document.documentElement.clientHeight)-65.81;var A="".concat(document.documentElement.clientHeight)-180;n.rollHeight=A>650?650:A}}))},methods:{leftRemove:function(A){A.to,A.from;var t=A.item,e=(A.clone,A.oldIndex,A.newIndex);this.isSearch&&0==e&&("z_wechat_attention"==t._underlying_vm_.name?this.isFllow=!0:(this.$store.commit("mobildConfig/ARRAYREAST",this.mConfig[0].num),this.mConfig.splice(0,1))),(this.isFllow=e>=1)&&this.$store.commit("mobildConfig/ARRAYREAST",this.mConfig[0].num)},onMove:function(A){return"search_box"!=A.relatedContext.element.name&&"nav_bar"!=A.relatedContext.element.name},onCopy:function(){this.$Message.success("复制成功")},onError:function(){this.$Message.error("复制失败")},setmoren:function(){var A=this;this.$Modal.confirm({title:"保存为默认数据",content:"您确定将当前设计设为默认数据吗?",onOk:function(){Object(r["u"])(A.pageId).then((function(t){A.$Message.success(t.msg)})).catch((function(t){A.$Message.error(t.msg)}))},onCancel:function(){}})},getmoren:function(){var A=this;this.$Modal.confirm({title:"恢复默认数据",content:"您确定恢复为之前保存的默认数据吗?",onOk:function(){Object(r["s"])(A.pageId).then((function(t){A.$Message.success(t.msg),A.reload()})).catch((function(t){A.$Message.error(t.msg)}))},onCancel:function(){}})},getUrlList:function(){var A=this;Object(r["o"])().then((function(t){A.urlList=t.data.url}))},bindTab:function(A){this.tabCur=A},showTitle:function(){this.activeIndex=-100;var A={};for(var t in m)"pageTitle"==t&&(A=m[t],A.configName=m[t].name,A.cname="页面设置");this.rConfig=[],this.rConfig[0]=JSON.parse(JSON.stringify(A))},showFoot:function(){this.activeIndex=-101;var A={};for(var t in m)"pageFoot"==t&&(A=m[t],A.configName=m[t].name,A.cname="底部菜单");this.rConfig=[],this.rConfig[0]=JSON.parse(JSON.stringify(A))},objToArr:function(A){var t=Object.keys(A),e=t.map((function(t){return A[t]}));return e},log:function(A){if(A.moved){if("search_box"==A.moved.element.name)return this.$Message.warning("该组件禁止拖拽");A.moved.oldNum=this.mConfig[A.moved.oldIndex].num,A.moved.newNum=this.mConfig[A.moved.newIndex].num,A.moved.status=A.moved.oldIndex>A.moved.newIndex,this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t})),A.moved.list=this.mConfig,this.rConfig=[];var t=A.moved.element,e=JSON.parse(JSON.stringify(t));this.rConfig.push(e),this.activeIndex=A.moved.newIndex,this.$store.commit("mobildConfig/SETCONFIGNAME",t.name),this.$store.commit("mobildConfig/defaultArraySort",A.moved)}if(A.added){var n=A.added.element,i=1e3*(new Date).getTime();n.num=i,this.activeConfigName=n.name;var o=JSON.parse(JSON.stringify(n));o.id="id"+o.num,this.mConfig[A.added.newIndex]=o,this.rConfig=[],this.rConfig.push(o),this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t})),A.added.list=this.mConfig,this.activeIndex=A.added.newIndex,this.$store.commit("mobildConfig/SETCONFIGNAME",n.name),this.$store.commit("mobildConfig/defaultArraySort",A.added)}},cloneDog:function(A){return N({},A)},swapArray:function(A,t,e){return A[t]=A.splice(e,1,A[t])[0],A},movePage:function(A,t,e){if(e){if(0==t)return}else if(t==this.mConfig.length-1)return;if("search_box"==A.name)return this.$Message.warning("该组件禁止移动");if(e){if("search_box"==this.mConfig[t-1].name)return this.$Message.warning("搜索框必须为顶部");this.swapArray(this.mConfig,t-1,t)}else this.swapArray(this.mConfig,t,t+1);var n={};this.rConfig=[],n.oldIndex=t,n.newIndex=e?t-1:t+1,this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t}));var i=JSON.parse(JSON.stringify(A));this.rConfig.push(i),n.element=A,n.list=this.mConfig,this.activeIndex=e?t-1:t+1,this.$store.commit("mobildConfig/SETCONFIGNAME",A.name),this.$store.commit("mobildConfig/defaultArraySort",n)},addDomCon:function(A,t,e){if("search_box"==A.name){if(this.isSearch)return this.$Message.error("该组件只能添加一次");this.isSearch=!0}if("nav_bar"==A.name){if(this.isTab)return this.$Message.error("该组件只能添加一次");this.isTab=!0}1;var n={},i=1e3*(new Date).getTime();A.num="".concat(i),A.id="id".concat(i),this.activeConfigName=A.name;var o=JSON.parse(JSON.stringify(A));"search_box"==A.name?(this.rConfig=[],this.mConfig.unshift(o),this.activeIndex=0,this.rConfig.push(o)):"nav_bar"==A.name?(this.rConfig=[],this.mConfig[0]&&"search_box"===this.mConfig[0].name?(this.mConfig.splice(1,0,o),this.activeIndex=1):(this.mConfig.splice(0,0,o),this.activeIndex=0),this.rConfig.push(o)):t?(this.rConfig=[],this.mConfig.push(o),this.activeIndex=this.mConfig.length-1,this.rConfig.push(o)):(this.mConfig.splice(e+1,0,o),this.activeIndex=e),this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t})),n.element=A,n.list=this.mConfig,this.$store.commit("mobildConfig/SETCONFIGNAME",A.name),this.$store.commit("mobildConfig/defaultArraySort",n)},bindAddDom:function(A,t,e){var n=A;this.lConfig.forEach((function(t){A.name==t.name&&(n=t)})),this.addDomCon(n,t,e)},addDom:function(A,t){this.addDomCon(A,t)},bindconfig:function(A,t){this.rConfig=[];var e=JSON.parse(JSON.stringify(A));this.rConfig.push(e),this.activeIndex=t,this.$store.commit("mobildConfig/SETCONFIGNAME",A.name)},bindDelete:function(A,t){"search_box"==A.name&&(this.isSearch=!1),"nav_bar"==A.name&&(this.isTab=!1),this.mConfig.splice(t,1),this.rConfig.splice(0,1),this.mConfig.length!=t?this.rConfig.push(this.mConfig[t]):this.mConfig.length?(this.activeIndex=t-1,this.rConfig.push(this.mConfig[t-1])):this.showTitle(),this.$store.commit("mobildConfig/DELETEARRAY",A)},config:function(A){var t=this.propsObj;t.data=A,t.name=this.activeConfigName},addSort:function(A,t,e){return A[t]=A.splice(e,1,A[t])[0],A},arraySort:function(){var A=[],t={title:"基础组件",list:[],isOpen:!0},e={title:"营销组件",list:[],isOpen:!0},n={title:"工具组件",list:[],isOpen:!0};this.lConfig.map((function(A,i){0==A.type&&t.list.push(A),1==A.type&&e.list.push(A),2==A.type&&n.list.push(A)})),A.push(t,e,n),this.leftMenu=A},diySaveDate:function(A){var t=this;Object(r["t"])(this.pageId,{type:this.pageType,value:A,title:this.titleTxt,name:this.nameTxt,is_show:this.showTxt?1:0,is_bg_color:this.colorTxt?1:0,color_picker:this.colorPickerTxt,bg_pic:this.picUrlTxt,bg_tab_val:this.tabValTxt,is_bg_pic:this.picTxt?1:0}).then((function(A){t.loading=!1,t.pageId=A.data.id,t.$Message.success(A.msg)})).catch((function(A){t.loading=!1,t.$Message.error(A.msg)}))},saveConfig:function(){if(0==this.mConfig.length)return this.$Message.error("暂未添加任何组件,保存失败!");this.loading=!0;var A=this.$store.state.mobildConfig.defaultArray;if(!this.footActive){var t=1e3*(new Date).getTime();A[t]=this.$store.state.mobildConfig.pageFooter,this.footActive=!0}this.$nextTick((function(){this.diySaveDate(A)}))},getDefaultConfig:function(){var A=this;Object(r["i"])(this.pageId).then((function(t){var e=t.data,n={},i=[];A.$store.commit("mobildConfig/titleUpdata",e.info.title),A.$store.commit("mobildConfig/nameUpdata",e.info.name),A.$store.commit("mobildConfig/showUpdata",e.info.is_show),A.$store.commit("mobildConfig/colorUpdata",e.info.is_bg_color||0),A.$store.commit("mobildConfig/picUpdata",e.info.is_bg_pic||0),A.$store.commit("mobildConfig/pickerUpdata",e.info.color_picker||"#f5f5f5"),A.$store.commit("mobildConfig/radioUpdata",e.info.bg_tab_val||0),A.$store.commit("mobildConfig/picurlUpdata",e.info.bg_pic||"");var o=A.objToArr(e.info.value);function r(A,t){return A.timestamp-t.timestamp}o.sort(r),o.map((function(t,e){if("headerSerch"==t.name&&(A.isSearch=!0),"tabNav"==t.name&&(A.isTab=!0),"goodList"==t.name){var o=window.localStorage;o.setItem(t.timestamp,t.selectConfig.activeValue)}t.id="id"+t.timestamp,A.lConfig.map((function(e,o){if(t.name==e.defaultName){e.num=t.timestamp,e.id="id"+t.timestamp;var r=JSON.parse(JSON.stringify(e));i.push(r),n[t.timestamp]=t,A.mConfig.push(r),A.$store.commit("mobildConfig/ADDARRAY",{num:t.timestamp,val:t})}}))}));var a=o[o.length-1];"pageFoot"==a.name&&A.$store.commit("mobildConfig/footPageUpdata",a),A.showTitle()}))},categoryList:function(){var A=this;Object(r["a"])((function(t){A.category=t.data}))},reast:function(){var A=this;0==this.pageId?this.$Message.error("新增页面,无法重置"):this.$Modal.confirm({title:"提示",content:"

是否重置当前页面数据

",onOk:function(){A.mConfig=[],A.rConfig=[],A.activeIndex=-99,A.getDefaultConfig()},onCancel:function(){}})}},beforeDestroy:function(){this.$store.commit("mobildConfig/titleUpdata",""),this.$store.commit("mobildConfig/nameUpdata",""),this.$store.commit("mobildConfig/showUpdata",1),this.$store.commit("mobildConfig/colorUpdata",0),this.$store.commit("mobildConfig/picUpdata",0),this.$store.commit("mobildConfig/pickerUpdata","#f5f5f5"),this.$store.commit("mobildConfig/radioUpdata",0),this.$store.commit("mobildConfig/picurlUpdata",""),this.$store.commit("mobildConfig/SETEMPTY")},destroyed:function(){this.$store.commit("mobildConfig/titleUpdata",""),this.$store.commit("mobildConfig/nameUpdata",""),this.$store.commit("mobildConfig/showUpdata",1),this.$store.commit("mobildConfig/colorUpdata",0),this.$store.commit("mobildConfig/picUpdata",0),this.$store.commit("mobildConfig/pickerUpdata","#f5f5f5"),this.$store.commit("mobildConfig/radioUpdata",0),this.$store.commit("mobildConfig/picurlUpdata",""),this.$store.commit("mobildConfig/SETEMPTY")}},x=H,S=(e("7a8a"),Object(U["a"])(x,n,i,!1,null,"411b1672",null));t["default"]=S.exports},d8b9:function(A,t,e){"use strict";e.r(t);var n=function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"mobile-page"},[e("div",{staticClass:"box",style:{background:A.bgColor,marginLeft:A.edge+"px",marginRight:A.edge+"px",marginTop:A.udEdge+"px"},domProps:{innerHTML:A._s(A.richText)}})])},i=[],o=(e("8e6e"),e("ac6a"),e("456d"),e("bd86")),r=e("2f62");function a(A,t){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(A,t).enumerable}))),e.push.apply(e,n)}return e}function s(A){for(var t=1;t