"use strict";const e=require("../../../common/vendor.js"),r=require("../../../sheep/index.js"),s=require("../../../sheep/api/trade/brokerage.js");if(require("../../../sheep/url/index.js"),require("../../../sheep/store/index.js"),require("../../../sheep/store/app.js"),require("../../../sheep/api/promotion/diy.js"),require("../../../sheep/request/index.js"),require("../../../sheep/config/index.js"),require("../../../sheep/platform/index.js"),require("../../../sheep/platform/provider/wechat/index.js"),require("../../../sheep/platform/provider/wechat/miniProgram.js"),require("../../../sheep/api/member/auth.js"),require("../../../sheep/api/member/social.js"),require("../../../sheep/api/member/user.js"),require("../../../sheep/platform/provider/apple/index.js"),require("../../../sheep/platform/share.js"),require("../../../sheep/router/index.js"),require("../../../sheep/hooks/useModal.js"),require("../../../sheep/helper/index.js"),require("../../../sheep/helper/test.js"),require("../../../sheep/helper/digit.js"),require("../../../sheep/api/member/signin.js"),require("../../../sheep/helper/throttle.js"),require("../../../sheep/platform/pay.js"),require("../../../sheep/api/pay/order.js"),require("../../../sheep/store/user.js"),require("../../../sheep/store/cart.js"),require("../../../sheep/api/trade/cart.js"),require("../../../sheep/api/pay/wallet.js"),require("../../../sheep/api/trade/order.js"),require("../../../sheep/api/promotion/coupon.js"),require("../../../sheep/store/sys.js"),require("../../../sheep/store/modal.js"),require("../../../sheep/config/zIndex.js"),!Array){e.resolveComponent("su-popup")()}Math;const i={__name:"commission-auth",setup(i){const p=e.reactive({show:!1});return e.onShow((async()=>{const{code:e,data:r}=await s.BrokerageApi.getBrokerageUser();0!==e||(null==r?void 0:r.brokerageEnabled)||(p.show=!0)})),(s,i)=>({a:e.unref(r.sheep).$url.static("/static/images/forbidden.png"),b:e.o((s=>e.unref(r.sheep).$router.back())),c:e.o((s=>e.unref(r.sheep).$router.back())),d:e.o((e=>p.show=!1)),e:e.p({show:p.show,type:"center",round:"10",isMaskClick:!1,maskBackgroundColor:"rgba(0, 0, 0, 0.7)"})})}},p=e._export_sfc(i,[["__scopeId","data-v-17a387fe"]]);wx.createComponent(p);
