(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uview-ui/components/u-switch/u-switch"],{"5bec":function(t,e,i){"use strict";i.r(e);var n=i("a294"),a=i.n(n);for(var u in n)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(u);e["default"]=a.a},6537:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return u})),i.d(e,"a",(function(){return n}));var n={uLoading:function(){return i.e("uview-ui/components/u-loading/u-loading").then(i.bind(null,"95f5"))}},a=function(){var t=this.$createElement,e=(this._self._c,this.__get_style([this.switchStyle])),i=this.$u.addUnit(this.size),n=this.$u.addUnit(this.size);this.$mp.data=Object.assign({},{$root:{s0:e,g0:i,g1:n}})},u=[]},"81a3":function(t,e,i){"use strict";var n=i("b37c"),a=i.n(n);a.a},"8f5d":function(t,e,i){"use strict";i.r(e);var n=i("6537"),a=i("5bec");for(var u in a)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(u);i("81a3");var o=i("f0c5"),l=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"c54dc83c",null,!1,n["a"],void 0);e["default"]=l.exports},a294:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"u-switch",props:{loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:[Number,String],default:50},activeColor:{type:String,default:"#2979ff"},inactiveColor:{type:String,default:"#ffffff"},value:{type:Boolean,default:!1},vibrateShort:{type:Boolean,default:!1},activeValue:{type:[Number,String,Boolean],default:!0},inactiveValue:{type:[Number,String,Boolean],default:!1}},data:function(){return{}},computed:{switchStyle:function(){var t={};return t.fontSize=this.size+"rpx",t.backgroundColor=this.value?this.activeColor:this.inactiveColor,t},loadingColor:function(){return this.value?this.activeColor:null}},methods:{onClick:function(){var e=this;this.disabled||this.loading||(this.vibrateShort&&t.vibrateShort(),this.$emit("input",!this.value),this.$nextTick((function(){e.$emit("change",e.value?e.activeValue:e.inactiveValue)})))}}};e.default=i}).call(this,i("543d")["default"])},b37c:function(t,e,i){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'uview-ui/components/u-switch/u-switch-create-component',
    {
        'uview-ui/components/u-switch/u-switch-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("8f5d"))
        })
    },
    [['uview-ui/components/u-switch/u-switch-create-component']]
]);
