(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-id-pages/components/uni-id-pages-agreements/uni-id-pages-agreements"],{"202c":function(e,n,t){"use strict";t.r(n);var u=t("c875"),i=t("d5bd");for(var r in i)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(r);t("2da0");var o=t("f0c5"),a=Object(o["a"])(i["default"],u["b"],u["c"],!1,null,"e57cad6a",null,!1,u["a"],void 0);n["default"]=a.exports},"2da0":function(e,n,t){"use strict";var u=t("2de9"),i=t.n(u);i.a},"2de9":function(e,n,t){},c875:function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){return u}));var u={uniPopup:function(){return t.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(t.bind(null,"9fe8"))},uniPopupDialog:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog")]).then(t.bind(null,"05f2"))}},i=function(){var e=this,n=e.$createElement,t=(e._self._c,e.agreements.length),u=t&&e.needAgreements?e.__map(e.agreements,(function(n,t){var u=e.__get_orig(n),i=e.hasAnd(e.agreements,t);return{$orig:u,m0:i}})):null,i=t&&(e.needAgreements||e.needPopupAgreements)?e.__map(e.agreements,(function(n,t){var u=e.__get_orig(n),i=e.hasAnd(e.agreements,t);return{$orig:u,m1:i}})):null;e.$mp.data=Object.assign({},{$root:{g0:t,l0:u,l1:i}})},r=[]},d5bd:function(e,n,t){"use strict";t.r(n);var u=t("fd3f"),i=t.n(u);for(var r in u)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(r);n["default"]=i.a},fd3f:function(e,n,t){"use strict";(function(e){var u=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=u(t("ed74")),r={name:"uni-agreements",computed:{agreements:function(){if(!i.default.agreements)return[];var e=i.default.agreements.serviceUrl;return[{url:e,title:"用户使用协议"}]}},props:{scope:{type:String,default:function(){return"register"}}},methods:{popupConfirm:function(){this.isAgree=!0},popup:function(e){var n=this;this.needPopupAgreements=!0,this.$nextTick((function(){e&&e,n.$refs.popupAgreement.open()}))},navigateTo:function(n){var t=n.url;n.title;e.navigateTo({url:t,success:function(e){},fail:function(){},complete:function(){}})},hasAnd:function(e,n){return e.length-1>n},setAgree:function(e){this.isAgree=!this.isAgree,this.$emit("setAgree",this.isAgree)},getAgree:function(){return this.isAgree}},created:function(){var e;this.needAgreements=((null===i.default||void 0===i.default||null===(e=i.default.agreements)||void 0===e?void 0:e.scope)||[]).includes(this.scope)},data:function(){return{isAgree:!1,needAgreements:!1,needPopupAgreements:!1}}};n.default=r}).call(this,t("543d")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'uni_modules/uni-id-pages/components/uni-id-pages-agreements/uni-id-pages-agreements-create-component',
    {
        'uni_modules/uni-id-pages/components/uni-id-pages-agreements/uni-id-pages-agreements-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("202c"))
        })
    },
    [['uni_modules/uni-id-pages/components/uni-id-pages-agreements/uni-id-pages-agreements-create-component']]
]);
