!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("$GP")):"function"==typeof define&&define.amd?define(["$GP"],t):"object"==typeof exports?exports["prod/compLottery@1.2.19index"]=t(require("$GP")):e["prod/compLottery@1.2.19index"]=t(e.$GP)}(window,(function(e){return r={},t.m=n=[function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(17))},function(e,t,n){var r=n(0),o=n(73),i=n(10),a=n(75),s=n(81),c=n(115),u=o("wks"),l=r.Symbol,f=c?l:l&&l.withoutSetter||a;e.exports=function(e){return i(u,e)||(s&&i(l,e)?u[e]=l[e]:u[e]=f("Symbol."+e)),u[e]}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(5);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var c=typeof(e=e||{}).default;"object"!=c&&"function"!=c||(e=e.default);var u,l,f,d="function"==typeof e?e.options:e;return t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),r&&(d.functional=!0),i&&(d._scopeId=i),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=u):o&&(u=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u&&(d.functional?(d._injectStyles=u,l=d.render,d.render=function(e,t){return u.call(t),l(e,t)}):(f=d.beforeCreate,d.beforeCreate=f?[].concat(f,u):[u])),{exports:e,options:d}}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){function n(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r),i=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}));return[n].concat(i).concat([o]).join("\n")}return[n].join("\n")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o")})),l="$0"==="a".replace(/./,"$0"),f=i("replace"),d=!!/./[f]&&""===/./[f]("a","$0"),p=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var m,h,v,g,y=i(e),_=!o((function(){var t={};return t[y]=function(){return 7},7!=""[e](t)})),b=_&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={constructor:{}}).constructor[c]=function(){return n},n.flags="",n[y]=/./[y]),n.exec=function(){return t=!0,null},n[y](""),!t}));_&&b&&("replace"!==e||u&&l&&!d)&&("split"!==e||p)||(m=/./[y],v=(h=n(y,""[e],(function(e,t,n,r,o){return t.exec===a?_&&!o?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}))[0],g=h[1],r(String.prototype,e,v),r(RegExp.prototype,y,2==t?function(e,t){return g.call(e,this,t)}:function(e){return g.call(e,this)})),f&&s(RegExp.prototype[y],"sham",!0)}},function(e,t,n){var r=n(9),o=n(28);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){"use strict";var r=n(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(38));n(39);var i=r(n(40)),a=n(107),s=n(41),c=n(92),u=r(n(139)),l=r(n(177)),f={mixins:[a.VueExtend.mixin],name:"comp-lottery",label:"抽奖转盘",style:{width:"auto",height:"auto",margin:"0 0.3rem 25px 0.3rem"},stack:null,childLimit:9999,leaf:!0,pcStyle:{"max-width":"1200px",margin:"0 auto 25px auto"},mobileStyle:{margin:"0 0.3rem 25px 0.3rem"},props:{hashId:{type:String,default:"",editor:{ignore:!0}},backgroundURL:{type:String,default:"https://dev02-res.smzdm.com/ztht/ymm_1599718221375.png",editor:{ignore:!0}},foregroundURL:{type:String,default:"https://dev02-res.smzdm.com/ztht/ymm_1599718249922.png",editor:{ignore:!0}},startBtnURL:{type:String,default:"https://dev02-res.smzdm.com/ztht/ymm_1599724613101.png",editor:{ignore:!0}},carouselBgURL:{type:String,default:"https://dev02-res.smzdm.com/ztht/ymm_1599718341033.png",editor:{ignore:!0}},rulesText:{type:String,default:"",editor:{ignore:!0}},lotteryNumTextColor:{type:String,default:"#fff",editor:{ignore:!0}},ruleTextColor:{type:String,default:"#fff",editor:{ignore:!0}},lotteryNumTextNumberColor:{type:String,default:"#cad5ff",editor:{ignore:!0}},backgroundColor:{type:String,default:"#3b3687",editor:{ignore:!0}},legalTipColor:{type:String,default:"rgba(255,255,255,.5)",editor:{ignore:!0}},radius:{type:String,default:"5",editor:{ignore:!0}}},data:function(){return{platform:""}},components:{m:u.default,pc:l.default},computed:{isSaaS:function(){var e=!!window&&window.navigator.userAgent.toLowerCase();return(0,c.getUrlQuery)("isMinApp")||e&&/smzdm_saas/.test(e)}},mounted:function(){this.platform=window.platform||"m",this.reload()},methods:{reload:function(){var e=this;window.lottery_client_back_callback=function(){e.updateNumber()}},updateNumber:function(){var e=this;return(0,i.default)(o.default.mark((function t(){var n,r;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.isSaaS?"https://saas-zhiyou.m.smzdm.com/user/lottery/jsonp_get_current":"https://zhiyou.smzdm.com/user/lottery/jsonp_get_current",t.next=3,(0,s.request)(n,{active_id:e.hashId});case 3:r=t.sent,"m"===e.platform?e.$refs.mlottery.lotteryNum=r.remain_free_lottery_count+r.remain_charging_lottery_count:e.$refs.pclottery.lotteryNum=r.remain_free_lottery_count+r.remain_charging_lottery_count;case 5:case"end":return t.stop()}}),t)})))()}}};t.default=f},function(e,t,n){"use strict";var r=n(16);n(42),n(144),n(95),n(96),n(97),n(148),n(24),n(56),n(27),n(150),n(61),n(152),n(154),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(38));n(39);var i=r(n(40)),a=r(n(156)),s=n(41),c=n(92),u=r(n(160)),l={leaf:!0,data:function(){return{isLotterying:null,isLogin:!1,giftList:[],recordsListStyle:{},showLegalTip:!1,giftNum:6,rotating:!1,lotteryNum:0,turntableAngle:0,showWinnerListPopup:!1,showRulesPopup:!1,showResultPopup:!1,resutText:"",records:null,tips:"",isGiftBtn:!1,giftredirectData:{}}},props:["hashId","carouselBgURL","backgroundURL","foregroundURL","startBtnURL","rulesText","lotteryNumTextColor","lotteryNumTextNumberColor","backgroundColor","legalTipColor","radius"],computed:{lotteryStyle:function(){return{backgroundColor:this.backgroundColor,borderRadius:this.radius+"px"}},winnerListText:function(){if(this.records)return this.records.map((function(e){return"恭喜".concat(e.nickname,"获得").concat(e.gift_name)})).join("\n")},turnTableBgStyle:function(){if(this.records)return{transform:"translate(-50%,-50%) rotate(".concat(this.turntableAngle,"deg)")}},rulesHTML:function(){return this.rulesText.replace(/\n/g,"
")},isSaaS:function(){var e=!!window&&window.navigator.userAgent.toLowerCase();return(0,c.getUrlQuery)("isMinApp")||e&&/smzdm_saas/.test(e)}},components:{WinnerPop:a.default,Cover:u.default},methods:{Toast:function(e){window.Toast?window.Toast(e):alert(e)},sendSensors:function(e){window.sensors&&window.sensors.track("ListModelClick",{business:"公共",sub_business:"专题",model_name:"转盘抽奖",$url:location.href,$title:document.title,button_name:e})},getQuery:function(e){var t=location.search.slice(1).split("&").map((function(e){var t=e.split("=");return{key:t[0],value:t[1]}})).find((function(t){return t.key===e}));if(t)return t.value},handleStartBtnClick:function(e){var t=this;return(0,i.default)(o.default.mark((function n(){var r,i,a,u,l,f,d,p,m,h,v,g;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e.preventDefault(),t.rotating)return n.abrupt("return");n.next=3;break;case 3:if(t.rotating=!0,t.sendSensors("抽奖"),r=t.getQuery("app_key"),i=/smzdmapp/i.test(navigator.userAgent),a=/micromessenger|miniProgram/i.test(navigator.userAgent),u=r&&a,i||t.isSaaS){n.next=20;break}return l={url:location.href,channel_name:"zhuanti",article_id:"0000",linkVal:location.href,frompage:"wap",targetpage:"zhuanti",roll_type:"1",download:"0",open_from:"wap",open_target:"zhuanti"},f=document.createElement("a"),d="https://app.smzdm.com/xiazai/?json="+encodeURIComponent(JSON.stringify(l)),f.setAttribute("href",d),f.setAttribute("target","_blank"),f.setAttribute("id","camnpr"),document.body.appendChild(f),f.click(),t.rotating=!1,n.abrupt("return");case 20:return n.prev=20,"",p=t.isSaaS?"https://saas-zhiyou.m.smzdm.com/user/lottery/jsonp_get_current":"https://zhiyou.smzdm.com/user/lottery/jsonp_get_current",n.next=25,(0,s.request)(p,{active_id:t.hashId});case 25:if(0!==(m=n.sent).smzdm_id){n.next=37;break}if(t.isLogin=!1,localStorage.setItem("scrollTo_"+location.pathname,JSON.stringify({top:document.documentElement.scrollTop||document.body.scrollTop,height:document.body.clientHeight})),u)return h="/pages/user/redirect?type=webview_login&url=".concat(encodeURIComponent(location.origin+location.pathname)),n.abrupt("return",wx.miniProgram.navigateTo({url:h}));n.next=34;break;case 34:(0,c.loginApp)();case 35:n.next=71;break;case 37:if(t.isLogin=!0,t.lotteryNum=m.remain_free_lottery_count+m.remain_charging_lottery_count,0!==t.isLotterying){n.next=43;break}t.Toast("您好,抽奖暂未开启,敬请关注。"),n.next=71;break;case 43:if(1!==t.isLotterying){n.next=70;break}if(m.can_draw)return"",v=t.isSaaS?"https://saas-zhiyou.m.smzdm.com/user/lottery/jsonp_draw":"https://zhiyou.smzdm.com/user/lottery/jsonp_draw",n.next=49,(0,s.request)(v,{active_id:t.hashId});n.next=67;break;case 49:if(0!==(m=n.sent).error_code){n.next=64;break}if(t.lotteryNum=m.data.remain_free_lottery_count+m.data.remain_charging_lottery_count,g=t.giftList.findIndex((function(e){return e.gift_id===m.data.gift_id})),t.turntableAngle=t.turntableAngle-(t.giftList.length-g-1)*(360/t.giftList.length)-360/t.giftList.length/2-720-(360+t.turntableAngle%360),t.foregroundURL)return n.next=57,new Promise((function(e){setTimeout(e,5e3)}));n.next=57;break;case 57:t.resutText=m.error_msg,t.tips=m.data.pop_tips,t.isGiftBtn=!1,t.showResultPopup=!0,m.data.gift_type&&"13"===m.data.gift_type&&(t.isGiftBtn=!0,t.giftredirectData=m.data.gift_redirect_data),n.next=65;break;case 64:11===m.error_code?t.Toast("抽奖失败,您并不满足参与条件。"):(21===m.error_code||m.error_code,t.Toast(m.error_msg));case 65:n.next=68;break;case 67:t.lotteryNum<=0?t.Toast("您今天抽奖机会已用完"):t.Toast("网络有些问题,请稍后再试");case 68:n.next=71;break;case 70:t.Toast("抽奖活动已结束");case 71:n.next=76;break;case 73:n.prev=73,n.t0=n.catch(20);case 76:return n.prev=76,t.rotating=!1,n.finish(76);case 79:case"end":return n.stop()}}),n,null,[[20,73,76,79]])})))()},closePopup:function(e){this.callNativeData(e),this.showResultPopup=!1},callNativeData:function(e){var t=e?"关闭":this.isGiftBtn?"去使用":"我知道了",n={business:"公共",sub_business:"专题",model_name:"转盘抽奖",button_name:"奖励弹窗_".concat(t),track_no:"10010079302512320"};window.sensors&&window.sensors.track("ListModelClick",n,(function(){})),!e&&this.isGiftBtn&&(0,c.callNative)({module:"module_detail_common",action:"default_click",map:{redirect_data:this.giftredirectData}})}},watch:{showResultPopup:function(e){e&&this.$nextTick((function(){var e=document.getElementById("popInfo").getElementsByTagName("a");0=n.height?(document.documentElement.scrollTop=n.top,document.body.scrollTop=n.top,clearInterval(a)):60<++r&&clearInterval(a)}),500)),c=!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),u="EDITOR"===window.EDIT_TYPE,e.showLegalTip=c||u,l="",l=e.isSaaS?"https://saas-zhiyou.m.smzdm.com/user/lottery/jsonp_records":"https://zhiyou.smzdm.com/user/lottery/jsonp_records",t.next=9,(0,s.request)(l,{active_id:e.hashId});case 9:return 0===(f=t.sent).error_code&&(e.records=f.data.list,0")}},components:{WinnerPopPc:a.default},methods:{Toast:function(e){window.Toast?window.Toast(e):alert(e)},sendSensors:function(e){window.sensors&&window.sensors.track("ListModelClick",{business:"公共",sub_business:"专题",model_name:"转盘抽奖",$url:location.href,$title:document.title,button_name:e})},handleStartBtnClick:function(){var e=this;return(0,i.default)(o.default.mark((function t(){var n,r;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.rotating)return t.abrupt("return");t.next=2;break;case 2:return e.rotating=!0,e.sendSensors("抽奖"),t.prev=4,t.next=7,(0,s.request)("https://zhiyou.smzdm.com/user/lottery/jsonp_get_current",{active_id:e.hashId});case 7:if(0!==(n=t.sent).smzdm_id){t.next=13;break}e.isLogin=!1,$(".J_login_trigger").click(),t.next=42;break;case 13:if(e.isLogin=!0,e.lotteryNum=n.remain_free_lottery_count+n.remain_charging_lottery_count,0!==e.isLotterying){t.next=19;break}e.Toast("您好,抽奖暂未开启,敬请关注。"),t.next=42;break;case 19:if(1!==e.isLotterying){t.next=41;break}if(n.can_draw)return t.next=23,(0,s.request)("https://zhiyou.smzdm.com/user/lottery/jsonp_draw",{active_id:e.hashId});t.next=38;break;case 23:if(0!==(n=t.sent).error_code){t.next=35;break}if(e.lotteryNum=n.data.remain_free_lottery_count+n.data.remain_charging_lottery_count,r=e.giftList.findIndex((function(e){return e.gift_id===n.data.gift_id})),e.turntableAngle=e.turntableAngle-(e.giftList.length-r-1)*(360/e.giftList.length)-360/e.giftList.length/2-720-(360+e.turntableAngle%360),e.foregroundURL)return t.next=31,new Promise((function(e){setTimeout(e,5e3)}));t.next=31;break;case 31:e.resutText=n.error_msg,e.showResultPopup=!0,t.next=36;break;case 35:11===n.error_code?e.Toast("抽奖失败,您并不满足参与条件。"):(21===n.error_code||n.error_code,e.Toast(n.error_msg));case 36:t.next=39;break;case 38:e.lotteryNum<=0?e.Toast("您今天抽奖机会已用完"):e.Toast("网络有些问题,请稍后再试");case 39:t.next=42;break;case 41:e.Toast("抽奖活动已结束");case 42:t.next=47;break;case 44:t.prev=44,t.t0=t.catch(4);case 47:return t.prev=47,e.rotating=!1,t.finish(47);case 50:case"end":return t.stop()}}),t,null,[[4,44,47,50]])})))()}},mounted:function(){var e=this;return(0,i.default)(o.default.mark((function t(){var n;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,s.request)("https://zhiyou.smzdm.com/user/lottery/jsonp_records",{active_id:e.hashId});case 2:return 0===(n=t.sent).error_code&&(e.records=n.data.list,0a;){var s,c,u,l=r[a++],f=i?l.ok:l.fail,d=l.resolve,p=l.reject,m=l.domain;try{f?(i||(2===t.rejection&&ne(e,t),t.rejection=1),!0===f?s=o:(m&&m.enter(),s=f(o),m&&(m.exit(),u=!0)),s===l.promise?p(U("Promise-chain cycle")):(c=J(s))?c.call(s,d,p):d(s)):p(o)}catch(o){m&&!u&&m.exit(),p(o)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&ee(e,t)})))},Z=function(e,t,n){var r,o;G?((r=z.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},(o=u["on"+e])?o(r):e===H&&O("Unhandled promise rejection",n)},ee=function(e,t){C.call(u,(function(){var n,r=t.value;if(te(t)&&(n=E((function(){Y?F.emit("unhandledRejection",r,e):Z(H,e,r)})),t.rejection=Y||te(t)?2:1,n.error))throw n.value}))},te=function(e){return 1!==e.rejection&&!e.parent},ne=function(e,t){C.call(u,(function(){Y?F.emit("rejectionHandled",e):Z("rejectionhandled",e,t.value)}))},re=function(e,t,n,r){return function(o){e(t,n,o,r)}},oe=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,K(e,t,!0))},ie=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw U("Promise can't be resolved itself");var o=J(n);o?k((function(){var r={done:!1};try{o.call(n,re(ie,e,r,t),re(oe,e,r,t))}catch(n){oe(e,r,n,t)}})):(t.value=n,t.state=1,K(e,t,!1))}catch(n){oe(e,{done:!1},n,t)}}};Q&&($=function e(t){y(this,$,N),g(t),r.call(this);var n=D(this);try{t(re(ie,this,n),re(oe,this,n))}catch(e){oe(this,n,e)}},(r=function(e){M(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p($.prototype,{then:function(e,t){var n=R(this),r=V(x(this,$));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=Y?F.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&K(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=D(e);this.promise=e,this.resolve=re(ie,e,t),this.reject=re(oe,e,t)},B.f=V=function(e){return e===$||e===i?new o(e):q(e)},c||"function"!=typeof f||(a=f.prototype.then,d(f.prototype,"then",(function(e,t){var n=this;return new $((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof W&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return S($,W.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:Q},{Promise:$}),m($,N,!1,!0),h(N),i=l(N),s({target:N,stat:!0,forced:Q},{reject:function(e){var t=V(this);return t.reject.call(void 0,e),t.promise}}),s({target:N,stat:!0,forced:c||Q},{resolve:function(e){return S(c&&this===i?$:this,e)}}),s({target:N,stat:!0,forced:X},{all:function(e){var t=this,n=V(t),r=n.resolve,o=n.reject,i=E((function(){var n=g(t.resolve),i=[],a=0,s=1;A(e,(function(e){var c=a++,u=!1;i.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,i[c]=e,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=V(t),r=n.reject,o=E((function(){var o=g(t.resolve);A(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t,n){var r=n(25);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&p())}function p(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(c=u,u=[];++f]*>)/g,h=/\$([$&'`]|\d\d?)/g,v=function(e){return void 0===e?e:String(e)};r("replace",2,(function(e,t,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,_=g?"$":"$0";return[function(n,r){var o=c(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!g&&y||"string"==typeof r&&-1===r.indexOf(_)){var i=n(t,e,this,r);if(i.done)return i.value}var c=o(e),p=String(this),m="function"==typeof r;m||(r=String(r));var h,A=c.global;A&&(h=c.unicode,c.lastIndex=0);for(var w=[];;){var x=l(c,p);if(null===x)break;if(w.push(x),!A)break;""===String(x[0])&&(c.lastIndex=u(p,a(c.lastIndex),h))}for(var C="",k=0,S=0;Sc;)r(s,n=t[c++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var r=n(23),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){"use strict";var r=n(22),o=n(13),i=n(43);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var r=n(5),o=n(51),i=n(1)("species");e.exports=function(e,t){var n;return o(e)&&("function"==typeof(n=e.constructor)&&(n===Array||o(n.prototype))||r(n)&&null===(n=n[i]))&&(n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){var r=n(2);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r=n(20);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(55),o=n(9),i=n(1)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t){e.exports={}},function(e,t,n){var r=n(3),o=n(25),i=n(1)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r,o,i,a=n(0),s=n(2),c=n(9),u=n(57),l=n(87),f=n(45),d=n(88),p=a.location,m=a.setImmediate,h=a.clearImmediate,v=a.process,g=a.MessageChannel,y=a.Dispatch,_=0,b={},A="onreadystatechange",w=function(e){var t;b.hasOwnProperty(e)&&(t=b[e],delete b[e],t())},x=function(e){return function(){w(e)}},C=function(e){w(e.data)},k=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};m&&h||(m=function(e){for(var t=[],n=1;n>6]+o[128|63&i]:i<55296||57344<=i?n+=o[224|i>>12]+o[128|i>>6&63]+o[128|63&i]:(r+=1,i=65536+((1023&i)<<10|1023&t.charCodeAt(r)),n+=o[240|i>>18]+o[128|i>>12&63]+o[128|i>>6&63]+o[128|63&i])}return n},t.compact=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r=Number(u))return!(Number(a)===Number(u)&&Number(s)=Number(i)&&!(Number(n)===Number(i)&&Number(r)o;)kt(r,n=t[o++])&&(~gn(i,n)||i.push(n));return i}(e,yn)}},bn={f:Object.getOwnPropertySymbols},An=function(e,t){return arguments.length<2?sn(an[e])||sn(ut[e]):an[e]&&an[e][t]||ut[e]&&ut[e][t]}("Reflect","ownKeys")||function(e){var t=_n.f(jt(e)),n=bn.f;return n?t.concat(n(e)):t},wn=function(e,t){for(var n=An(t),r=Lt.f,o=Tt.f,i=0;i")}))),mr="$0"==="a".replace(/./,"$0"),hr=dr("replace"),vr=!!/./[hr]&&""===/./[hr]("a","$0"),gr=(lt((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),function(e){return function(t,n){var r,o,i=String(bt(t)),a=ln(n),s=i.length;return a<0||s<=a?e?"":void 0:(r=i.charCodeAt(a))<55296||56319]*>)/g,kr=/\$([$&'`]|\d\d?)/g;Zn=function(e,t,n,r){var o=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,a=o?"$":"$0";return[function(n,r){var o=bt(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!o&&i||"string"==typeof r&&-1===r.indexOf(a)){var c=n(t,e,this,r);if(c.done)return c.value}var u=jt(e),l=String(this),f="function"==typeof r;f||(r=String(r));var d,p=u.global;p&&(d=u.unicode,u.lastIndex=0);for(var m=[];;){var h=br(u,l);if(null===h)break;if(m.push(h),!p)break;""===String(h[0])&&(u.lastIndex=_r(l,dn(u.lastIndex),d))}for(var v,g="",y=0,_=0;_";if(a"+e+""},v=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}v=r?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):function(){var e,t=u("iframe");return t.style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F}();for(var e=a.length;e--;)delete v[f][a[e]];return v()};s[p]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(m[f]=o(e),n=new m,m[f]=null,n[p]=e):n=v(),void 0===t?n:i(n,t)}},function(e,t,n){"use strict";var r=n(8),o=n(59).findIndex,i=n(93),a=n(26),s="findIndex",c=!0,u=a(s);s in[]&&Array(1)[s]((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!u},{findIndex:function(e,t){return o(this,e,1.top{width:285px;min-height:152px;margin:0 0 25px;padding:18px 15px 15px;border-radius:12px;background-color:#fff\n}\n.pop-box>.top>.pop-title-text{font-size:16px;font-weight:bold;line-height:1.75;text-align:center;color:#333\n}\n.pop-box>.top>.pop-content{min-height:54px;font-size:15px;line-height:1.8;color:#333;margin-top:12px\n}\n.pop-box>.top>.pop-tips{font-size:12px;line-height:1.5;color:#999;margin-top:12px\n}\n.pop-box>.top>.btn{width:100%;height:40px;margin:18px 0 0;border-radius:6px;background-image:-o-linear-gradient(351deg, #ff724b, #e62828);background-image:linear-gradient(99deg, #ff724b, #e62828);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:15px;font-weight:bold;color:#fff\n}\n.pop-box>.close{width:30px;height:30px;margin:0 auto;background-size:100% 100%;background-image:url("https://res.smzdm.com/zhuanti/year-end-2019/img/btn-close.png")\n}\n',"",{version:3,sources:["/home/gitlab-runner/comp/comp_lottery_master/src/m.vue"],names:[],mappings:";AACA,0BAA0B,uEAAuE,sGAAsG,oEAAoE;CAC1Q;AACD,yBAAyB,YAAY;CACpC;AACD,0BAA0B,mBAAmB,eAAe;CAC3D;AACD;AACA,GAAG,iCAAiC,wBAAwB;CAC3D;AACD,KAAK,oCAAoC,2BAA2B;CACnE;CACA;AACD;AACA,GAAG,iCAAiC,wBAAwB;CAC3D;AACD,KAAK,oCAAoC,2BAA2B;CACnE;CACA;AACD,SAAS,eAAe,SAAS,QAAQ,wCAAwC,oCAAoC,+BAA+B;CACnJ;AACD,cAAc,YAAY,iBAAiB,gBAAgB,uBAAuB,mBAAmB,qBAAqB;CACzH;AACD,8BAA8B,eAAe,iBAAiB,iBAAiB,kBAAkB,UAAU;CAC1G;AACD,2BAA2B,gBAAgB,eAAe,gBAAgB,WAAW,eAAe;CACnG;AACD,wBAAwB,eAAe,gBAAgB,WAAW,eAAe;CAChF;AACD,mBAAmB,WAAW,YAAY,gBAAgB,kBAAkB,8DAA8D,0DAA0D,oBAAoB,oBAAoB,aAAa,wBAAwB,qBAAqB,uBAAuB,yBAAyB,sBAAsB,mBAAmB,eAAe,iBAAiB,UAAU;CACxa;AACD,gBAAgB,WAAW,YAAY,cAAc,0BAA0B,qFAAqF;CACnK",file:"m.vue",sourcesContent:['\n.v-pop .v-button-gradient{background-image:-o-linear-gradient(left, #ff5a3c, #e62828) !important;background-image:-webkit-gradient(linear, left top, right top, from(#ff5a3c), to(#e62828)) !important;background-image:linear-gradient(90deg, #ff5a3c, #e62828) !important\n}\n.result-pop .v-pop-title{display:none\n}\n.result-pop .content-wrap{white-space:normal;text-align:left\n}\n@-webkit-keyframes carousel-scroll{\n0%{-webkit-transform:translateY(2%);transform:translateY(2%)\n}\n100%{-webkit-transform:translateY(-102%);transform:translateY(-102%)\n}\n}\n@keyframes carousel-scroll{\n0%{-webkit-transform:translateY(2%);transform:translateY(2%)\n}\n100%{-webkit-transform:translateY(-102%);transform:translateY(-102%)\n}\n}\n.pop-box{position:fixed;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%)\n}\n.pop-box>.top{width:285px;min-height:152px;margin:0 0 25px;padding:18px 15px 15px;border-radius:12px;background-color:#fff\n}\n.pop-box>.top>.pop-title-text{font-size:16px;font-weight:bold;line-height:1.75;text-align:center;color:#333\n}\n.pop-box>.top>.pop-content{min-height:54px;font-size:15px;line-height:1.8;color:#333;margin-top:12px\n}\n.pop-box>.top>.pop-tips{font-size:12px;line-height:1.5;color:#999;margin-top:12px\n}\n.pop-box>.top>.btn{width:100%;height:40px;margin:18px 0 0;border-radius:6px;background-image:-o-linear-gradient(351deg, #ff724b, #e62828);background-image:linear-gradient(99deg, #ff724b, #e62828);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:15px;font-weight:bold;color:#fff\n}\n.pop-box>.close{width:30px;height:30px;margin:0 auto;background-size:100% 100%;background-image:url("https://res.smzdm.com/zhuanti/year-end-2019/img/btn-close.png")\n}\n'],sourceRoot:""}])},function(e,t,n){"use strict";var r=n(8),o=n(59).find,i=n(93),a=n(26),s="find",c=!0,u=a(s);s in[]&&Array(1).find((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!u},{find:function(e,t){return o(this,e,1>>0;if(0==i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var s,c,u,l=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,v=new RegExp(e.source,d+"g");(s=f.call(v,r))&&!(m<(c=v.lastIndex)&&(l.push(r.slice(m,s.index)),1=i));)v.lastIndex===s.index&&v.lastIndex++;return m===r.length?!u&&v.test("")||l.push(""):l.push(r.slice(m)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t;return[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var f=i(e),d=String(this),p=s(f,RegExp),g=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g"),_=new p(v?f:"^(?:"+f.source+")",y),b=void 0===o?h:o>>>0;if(0==b)return[];if(0===d.length)return null===l(_,d)?[d]:[];for(var A=0,w=0,x=[];wk;k++)s(y,w=C[k])&&!s(x,w)&&h(x,w,m(y,w));(x.prototype=_).constructor=x,a(o,g,x)}},function(e,t,n){var r=n(5),o=n(165);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},function(e,t,n){var r=n(3),o=n(166);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(n){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){var r=n(5);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){var r=n(8),o=n(168);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(e,t,n){var r=n(0),o=n(100).trim,i=n(101),a=r.parseInt,s=/^[+-]?0[Xx]/,c=8!==a(i+"08")||22!==a(i+"0x16");e.exports=c?function(e,t){var n=o(String(e));return a(n,t>>>0||(s.test(n)?16:10))}:a},function(e,t,n){"use strict";var r=n(16);n(24),n(27),n(170),n(61),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a,s,c,u,l,f,d,p,m,h,v,g,y={};r(n(171)).default.prototype.$isServer||(o=document.documentElement.style,a=!1,window.opera&&"[object Opera]"===Object.prototype.toString.call(window.opera)?i="presto":"MozAppearance"in o?i="gecko":"WebkitAppearance"in o?i="webkit":"string"==typeof navigator.cpuClass&&(i="trident"),s={trident:"-ms-",gecko:"-moz-",webkit:"-webkit-",presto:"-o-"}[i],c={trident:"ms",gecko:"Moz",webkit:"Webkit",presto:"O"}[i],u=document.createElement("div"),l=c+"Perspective",f=c+"Transform",d=s+"transform",p=c+"Transition",m=s+"transition",h=c.toLowerCase()+"TransitionEnd",void 0!==u.style[l]&&(a=!0),v=function(e){var t={left:0,top:0};if(null===e||null===e.style)return t;var n=e.style[f],r=/translate\(\s*(-?\d+(\.?\d+?)?)px,\s*(-?\d+(\.\d+)?)px\)\s*translateZ\(0px\)/gi.exec(n);return r&&(t.left=+r[1],t.top=+r[3]),t},y={transformProperty:f,transformStyleName:d,transitionProperty:p,transitionStyleName:m,transitionEndProperty:h,translateElement:function(e,t,n){var r;null===t&&null===n||null!=e&&null!==e.style&&(!e.style[f]&&0===t&&0===n||(null!==t&&null!==n||(r=v(e),null===t&&(t=r.left),null===n&&(n=r.top)),g(e),e.style[f]+=a?" translate("+(t?t+"px":"0px")+","+(n?n+"px":"0px")+") translateZ(0px)":" translate("+(t?t+"px":"0px")+","+(n?n+"px":"0px")+")"))},cancelTranslateElement:g=function(e){var t;null===e||null===e.style||(t=e.style[f])&&(t=t.replace(/translate\(\s*(-?\d+(\.?\d+?)?)px,\s*(-?\d+(\.\d+)?)px\)\s*translateZ\(0px\)/g,""),e.style[f]=t)}}),t.default=y},function(e,t,n){"use strict";var r=n(15),o=n(3),i=n(2),a=n(98),s="toString",c=RegExp.prototype,u=c[s],l=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),f=u.name!=s;(l||f)&&r(RegExp.prototype,s,(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in c)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){"use strict";n.r(t),function(e,n){ /*! * Vue.js v2.6.11 * (c) 2014-2019 Evan You * Released under the MIT License. */ var r=Object.freeze({});function o(e){return null==e}function i(e){return null!=e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function c(e){return null!==e&&"object"==typeof e}var u=Object.prototype.toString;function l(e){return"[object Object]"===u.call(e)}function f(e){return"[object RegExp]"===u.call(e)}function d(e){var t=parseFloat(String(e));return 0<=t&&Math.floor(t)===t&&isFinite(e)}function p(e){return i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function m(e){return null==e?"":Array.isArray(e)||l(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function h(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),r=e.split(","),o=0;odocument.createEvent("Event").timeStamp&&(dn=function(){return ln.now()});var mn=0,hn=function(e,t,n,r,o){this.vm=e,o&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++mn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ue,this.newDepIds=new ue,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!V.test(e)){var t=e.split(".");return function(e){for(var n=0;ne.id;)n--;rn.splice(n+1,0,e)}else rn.push(e);sn||(sn=!0,rt(pn))}}(this)},hn.prototype.run=function e(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var n=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,n)}catch(e){Ve(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,n)}}},hn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},hn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},hn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var vn={enumerable:!0,configurable:!0,get:j,set:j};function gn(e,t,n){vn.get=function(){return this[t][n]},vn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,vn)}function yn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[];e.$parent&&ke(!1);var i=function(i){o.push(i);var a=Ue(i,t,n,e);Be(r,i,a),i in e||gn(e,"_props",i)};for(var a in t)i(a);ke(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?j:O(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;l(t=e._data="function"==typeof t?function(e,t){me();try{return e.call(t,t)}catch(e){return Ve(e,t,"data()"),{}}finally{he()}}(t,e):t||{})||(t={});for(var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);o--;){var i=n[o];r&&b(r,i)||F(i)||gn(e,"_data",i)}Oe(t,!0)}(e):Oe(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ie();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;r||(n[o]=new hn(e,a||j,j,_n)),o in e||bn(e,o,i)}}(e,t.computed),t.watch&&t.watch!==ne&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;oparseInt(this.max)&&jn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};(function(e){var t={get:function(){return U}};Object.defineProperty(e,"config",t),e.util={warn:le,extend:E,mergeOptions:Re,defineReactive:Be},e.set=Ee,e.delete=Te,e.nextTick=rt,e.observable=function(e){return Oe(e),e},e.options=Object.create(null),R.forEach((function(t){e.options[t+"s"]=Object.create(null)})),E((e.options._base=e).options.components,Ln),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(-1=o||e.timeStamp<=0||e.target.ownerDocument!==document)return i.apply(this,arguments)}),yr.addEventListener(e,t,re?{capture:n,passive:r}:n)}function xr(e,t,n,r){(r||yr).removeEventListener(e,t._wrapper||t,n)}function Cr(e,t){var n,r;o(e.data.on)&&o(t.data.on)||(n=t.data.on||{},r=e.data.on||{},yr=t.elm,function(e){var t;i(e.__r)&&(e[t=J?"change":"input"]=[].concat(e.__r,e[t]||[]),delete e.__r),i(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),ct(n,r,wr,xr,br,t.context),yr=void 0)}var kr,Sr={create:Cr,update:Cr};function Or(e,t){if(!o(e.data.domProps)||!o(t.data.domProps)){var n,r,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in i(c.__ob__)&&(c=t.data.domProps=E({},c)),s)n in c||(a[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){var u=o(a._value=r)?"":String(r);Br(a,u)&&(a.value=u)}else if("innerHTML"===n&&Qn(a.tagName)&&o(a.innerHTML)){(kr=kr||document.createElement("div")).innerHTML=""+r+"";for(var l=kr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(r!==s[n])try{a[n]=r}catch(e){}}}}function Br(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return h(n)!==h(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Er={create:Or,update:Or},Tr=A((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){var r;!e||1<(r=e.split(n)).length&&(t[r[0].trim()]=r[1].trim())})),t}));function jr(e){var t=Ir(e.style);return e.staticStyle?E(e.staticStyle,t):t}function Ir(e){return Array.isArray(e)?T(e):"string"==typeof e?Tr(e):e}var Lr,Pr=/^--/,Nr=/\s*!important$/,Dr=function(e,t,n){if(Pr.test(t))e.style.setProperty(t,n);else if(Nr.test(n))e.style.setProperty(S(t),n.replace(Nr,""),"important");else{var r=Rr(t);if(Array.isArray(n))for(var o=0,i=n.length;o=a&&u()};setTimeout((function(){c